/* 日本語フォントとInterを読み込み */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Noto+Sans+JP:wght@300;400;700&display=swap');

:root {
  --primary-color: #0f172a; /* Slate 900 */
  --accent-color: #2563eb;  /* Blue 600 */
  --bg-color: #f8fafc;      /* Slate 50 */
  --text-muted: #64748b;    /* Slate 500 */
  --white: #ffffff;
  --border-color: #e2e8f0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  background-color: var(--bg-color);
  color: var(--primary-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Layout Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Nav */
header {
  height: 120px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.nav-sns {
  margin-left: 30px;
}
.nav-sns img {
  max-width: 50px;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 30px;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.logo h1 {
  line-height: 1;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--accent-color);
}

.btn-cta {
  background-color: var(--primary-color);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 100px;
  transition: background-color 0.3s;
}

.btn-cta:hover {
  background-color: var(--accent-color);
}

/* Hero Section Center-Aligned */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 200px;
  padding-bottom: 100px;
  text-align: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
}

.hero-text {
  width: 100%;
}

.badge {
  display: inline-block;
  background-color: #eff6ff;
  color: var(--accent-color);
  padding: 4px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h2 {
  font-size: 4.0rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 32px;
  letter-spacing: -0.04em;
}

.hero h2 span {
  color: var(--accent-color);
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 48px auto;
}

.stats {
  display: flex;
  justify-content: center;
  gap: 48px;
}

.stat-item h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

.stat-item p {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0;
}

/* Services */
.services {
  padding: 120px 0;
  background: var(--white);
}

.section-head {
  margin-bottom: 64px;
}

.section-head label {
  color: var(--accent-color);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-head h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-top: 16px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 32px;
  border: 1px solid var(--border-color);
  position: relative;
  text-align: left;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-color);
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 40px 80px rgba(15, 23, 42, 0.08);
  border-color: transparent;
}

.service-card:hover::before {
  opacity: 1;
}

.card-step {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-color);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  opacity: 0.5;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.service-card p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* LINE Contact Section */
.line-contact {
  padding: 120px 0;
}

.line-box {
  background: var(--white);
  border-radius: 32px;
  border: 1px solid var(--border-color);
  padding: 64px;
  display: flex;
  align-items: center;
  gap: 64px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.05);
}

.line-content {
  flex: 1;
}

.line-content h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.2;
}

.line-content p {
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 1.125rem;
}

.line-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: #06c755;
  color: #fff;
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 100px;
  font-weight: 700;
  transition: transform 0.3s, background-color 0.3s;
}

.line-btn:hover {
  background-color: #05b34c;
  transform: translateY(-4px);
}

.line-qr {
  width: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.qr-placeholder {
  background: var(--bg-color);
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  text-align: center;
}

.qr-placeholder img {
  width: 100%;
  height: auto;
  margin-bottom: 12px;
}

.qr-placeholder span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .line-box {
    flex-direction: column;
    padding: 40px;
    text-align: center;
  }
}

/* Footer */
footer {
  padding: 80px 0 48px;
  border-top: 1px solid var(--border-color);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-align: center;
}

.footer-top {
  display: flex;
  justify-content: center;
  margin-bottom: 64px;
}

.back-to-top {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: color 0.3s;
}

.back-to-top::before {
  content: '↑';
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.back-to-top:hover {
  color: var(--accent-color);
}

.back-to-top:hover::before {
  transform: translateY(-8px);
}


@media (max-width: 768px) {
  .logo { margin-right: 0;}
  .logo img {width: 75px;}
  .nav-links { display: none; }
  .hero h2 { font-size: 2.5rem;}
  .hero p { font-size: 1rem;
            text-align: left;}
  .pc-only {display: none;}
  .section-head h2 {
    font-size: 1.4em;
  }
  .service-card h3 {
    font-size: 1.2rem;
  }
  .service-card {
    padding: 20px;
    border-top: 5px solid #2563eb;
  }
  .container {
    padding: 0 15px;
  }
  .line-content h2 {
    font-size: 1.5rem;
  }
  .line-content p {
    font-size: 1rem;
  }
  .services {
    padding-bottom: 0px;
  }
  .back-to-top {
    font-size: 1rem;
  }
  .hero { padding-top: 150px;}
  header {
    height: 90px;
  }
}
