/* ============================
   CSS Variables & Reset
   ============================ */
:root {
  --navy:       #0C2D48;
  --navy-light: #14466B;
  --navy-pale:  #1B5F8C;
  --teal:       #2E8B8B;
  --teal-light: #3AAFA9;
  --warm:       #E8985E;
  --warm-light: #F2B880;
  --cream:      #FAF7F2;
  --cream-dark: #F0EBE3;
  --white:      #FFFFFF;
  --gray-50:    #F8F9FA;
  --gray-100:   #F1F3F5;
  --gray-200:   #E9ECEF;
  --gray-400:   #ADB5BD;
  --gray-500:   #868E96;
  --gray-600:   #6C757D;
  --gray-700:   #495057;
  --gray-800:   #343A40;
  --gray-900:   #212529;
  --font-head:  'Outfit', 'Noto Sans JP', sans-serif;
  --font-body:  'Noto Sans JP', sans-serif;
  --max-width:  1080px;
  --section-py: 5rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--navy-light);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--teal);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.sp-only { display: none; }

/* ============================
   Header
   ============================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow 0.3s;
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--navy);
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--white);
}

.logo-text {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.global-nav a {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  text-decoration: none;
  letter-spacing: 0.03em;
  position: relative;
}

.global-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width 0.3s;
}

.global-nav a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  font-size: 0.85rem !important;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: var(--navy-light);
  color: var(--white) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-800);
  transition: all 0.3s;
}

/* ============================
   Hero
   ============================ */
.hero {
  position: relative;
  padding: 10rem 1.5rem 6rem;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(160deg, var(--cream) 0%, var(--white) 50%, var(--cream-dark) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--gray-600);
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 0.4rem 1.2rem;
  border-radius: 100px;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
}

.hero-title {
  font-family: var(--font-body);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.hero-accent {
  color: var(--teal);
  position: relative;
}

.hero-accent::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(46,139,139,0.15);
  z-index: -1;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--gray-700);
  margin-bottom: 1rem;
  line-height: 1.9;
}

.hero-sub2 {
  font-size: 0.95rem;
  color: var(--gray-600);
  margin-bottom: 2.5rem;
  line-height: 1.9;
}

.hero-bg-accent {
  position: absolute;
  top: -100px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(46,139,139,0.06) 0%, transparent 70%);
  z-index: 1;
}

/* ============================
   Buttons
   ============================ */
.btn {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.25s;
  letter-spacing: 0.03em;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(12,45,72,0.2);
}

.btn-primary:hover {
  background: var(--navy-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(12,45,72,0.25);
}

.btn-lg {
  padding: 1.1rem 3rem;
  font-size: 1.1rem;
}

/* ============================
   Section common
   ============================ */
.section {
  padding: var(--section-py) 0;
}

.section:nth-child(even) {
  background: var(--gray-50);
}

.section-title {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 600;
  text-align: center;
  color: var(--navy);
  margin-bottom: 3rem;
  letter-spacing: 0.05em;
}

/* ============================
   Pain Points
   ============================ */
.pain-points {
  background: var(--white);
}

.pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.pain-card {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--gray-50);
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pain-card:hover {
  border-color: var(--teal-light);
  box-shadow: 0 4px 12px rgba(46,139,139,0.08);
}

.pain-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pain-q {
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.pain-a {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.pain-summary-wrap {
  display: flex;
  justify-content: center;
}

.pain-summary {
  text-align: center;
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.9;
  padding: 2rem;
  background: var(--cream);
  border-radius: 12px;
  border-left: 4px solid var(--teal);
  max-width: 680px;
}

/* ============================
   Services
   ============================ */
.services {
  background: var(--gray-50);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid var(--gray-200);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.service-num {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--teal-light);
  opacity: 0.3;
  line-height: 1;
  display: block;
  margin-bottom: 0.8rem;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.8rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.8;
}

.service-case {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--cream);
  border-radius: 8px;
}

.case-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--warm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.4rem;
}

.service-case p {
  font-size: 0.85rem;
}

.services-note {
  text-align: center;
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.8;
}

/* ============================
   Works
   ============================ */
.works-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.work-card {
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: transform 0.2s, box-shadow 0.2s;
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.work-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: top left;
}

.work-desc {
  padding: 1rem 1.2rem;
  font-size: 0.9rem;
  color: var(--gray-700);
}

.works-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 1rem;
}

/* ============================
   Proof
   ============================ */
.proof {
  background: var(--gray-50);
  color: var(--gray-800);
}

.proof .section-title {
  color: var(--navy);
}

.proof-intro {
  text-align: center;
  font-size: 1rem;
  color: var(--gray-700);
  margin-bottom: 1rem;
  line-height: 1.9;
}

.proof-why {
  text-align: center;
  font-size: 1.05rem;
  color: var(--gray-800);
  margin-bottom: 2.5rem;
  line-height: 1.9;
}

.proof-why strong {
  color: var(--teal);
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.proof-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 1.5rem;
}

.proof-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.proof-sub {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 0.8rem;
}

.proof-card ul {
  list-style: none;
  padding: 0;
}

.proof-card li {
  font-size: 0.85rem;
  color: var(--gray-700);
  padding: 0.3rem 0;
  line-height: 1.6;
}

.proof-card li::before {
  content: '▸ ';
  color: var(--teal);
}

.proof-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* ============================
   Track Record
   ============================ */
.track-content {
  max-width: 720px;
  margin: 0 auto;
}

.track-summary {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.track-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--teal-light);
  display: inline-block;
}

.track-content p {
  font-size: 0.95rem;
  color: var(--gray-700);
  margin-bottom: 1rem;
  line-height: 1.9;
}

/* ============================
   Qualifications
   ============================ */
.qualifications {
  background: var(--cream);
}

.qual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

.qual-item {
  background: var(--white);
  border-radius: 10px;
  padding: 1.2rem;
  text-align: center;
  border: 1px solid var(--gray-200);
}

.qual-cat {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--teal);
  background: rgba(46,139,139,0.08);
  padding: 0.2rem 0.8rem;
  border-radius: 100px;
  margin-bottom: 0.6rem;
  letter-spacing: 0.08em;
}

.qual-item p {
  font-size: 0.85rem;
  color: var(--gray-700);
  line-height: 1.6;
}

.qual-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-600);
}

/* ============================
   FAQ
   ============================ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

.faq-item summary {
  padding: 1.2rem 0;
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.faq-item summary::before {
  content: 'Q.';
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--teal);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.faq-item summary::after {
  content: '+';
  margin-left: auto;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--gray-400);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 0 1.2rem 2rem;
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.8;
}

.faq-item p::before {
  content: 'A. ';
  font-weight: 700;
  color: var(--warm);
}

/* ============================
   Profile
   ============================ */
.profile-card {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  max-width: 800px;
  margin: 0 auto;
  padding: 2.5rem;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--gray-200);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.profile-avatar {
  flex-shrink: 0;
}

.avatar-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gray-200);
  background: var(--white);
}

.profile-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.profile-role {
  font-size: 0.9rem;
  color: var(--teal);
  font-weight: 500;
  margin-bottom: 1rem;
}

.profile-bio {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.9;
  margin-bottom: 1.2rem;
}

.profile-career {
  margin-bottom: 1.2rem;
  padding: 1.2rem;
  background: var(--gray-50);
  border-radius: 10px;
  border-left: 3px solid var(--teal-light);
}

.profile-career h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.profile-career ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}

.profile-career ul li {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.8;
  padding-left: 1.2rem;
  position: relative;
}

.profile-career ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--teal);
}

.profile-career p {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 0.6rem;
}

.profile-career p:last-child {
  margin-bottom: 0;
}

.profile-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.profile-links a {
  font-size: 0.9rem;
  color: var(--navy-light);
  font-weight: 500;
}

.profile-links a:hover {
  color: var(--teal);
}

/* ============================
   CTA
   ============================ */
.cta {
  background: linear-gradient(160deg, var(--cream) 0%, var(--cream-dark) 100%);
  text-align: center;
  padding: 5rem 0;
}

.cta-lead {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.cta-sub {
  font-size: 1.05rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
}

.cta-note {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 1.5rem;
}

/* ============================
   Footer
   ============================ */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 2.5rem 0;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* ============================
   Animations
   ============================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================
   Responsive
   ============================ */
@media (max-width: 768px) {
  :root {
    --section-py: 3.5rem;
  }

  .sp-only { display: inline; }

  /* Header */
  .global-nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  }

  .global-nav.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Hero */
  .hero {
    padding: 8rem 1.5rem 4rem;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .hero-sub {
    font-size: 0.95rem;
  }

  /* Pain */
  .pain-grid {
    grid-template-columns: 1fr;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Works */
  .works-grid {
    grid-template-columns: 1fr;
  }

  /* Proof */
  .proof-grid {
    grid-template-columns: 1fr;
  }

  /* Qualifications */
  .qual-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Profile */
  .profile-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
  }

  .profile-links {
    align-items: center;
  }

  /* CTA */
  .cta-lead {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.35rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .qual-grid {
    grid-template-columns: 1fr;
  }

  .btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
}
