/* ============================================================
   出直し看護塾 — Shared Design System
   ============================================================ */

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

:root {
  --navy:        #0a1628;
  --navy-mid:    #132035;
  --navy-light:  #1a2f4a;
  --teal:        #00d4aa;
  --teal-dark:   #00b894;
  --teal-pale:   #e8faf6;
  --white:       #ffffff;
  --gray-50:     #f8fafc;
  --gray-100:    #f1f5f9;
  --gray-200:    #e2e8f0;
  --gray-400:    #94a3b8;
  --gray-600:    #475569;
  --gray-900:    #0f172a;
  --text:        #1e2d3d;
  --text-muted:  #64748b;
  --red:         #ef4444;
  --green:       #10b981;
  --amber:       #f59e0b;
  --shadow-sm:   0 1px 4px rgba(0,0,0,.06);
  --shadow:      0 4px 20px rgba(0,0,0,.1);
  --shadow-lg:   0 20px 60px rgba(0,0,0,.15);
  --r:           16px;
  --r-lg:        24px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* ── UTILITY ───────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }

.pill {
  display: inline-block;
  font-size: .7rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--teal);
  background: rgba(0,212,170,.1);
  border: 1px solid rgba(0,212,170,.2);
  padding: .3rem .9rem; border-radius: 100px;
  margin-bottom: .9rem;
}

.sec-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700; color: var(--navy);
  line-height: 1.25; margin-bottom: .6rem;
}
.sec-sub { font-size: 1rem; color: var(--text-muted); }

/* ── BUTTONS ───────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .8rem 1.9rem; border-radius: 100px;
  font-size: .9375rem; font-weight: 600;
  cursor: pointer; border: none;
  transition: all .2s ease;
  text-decoration: none; font-family: inherit;
}
.btn-teal {
  background: var(--teal); color: var(--navy);
  box-shadow: 0 4px 18px rgba(0,212,170,.35);
}
.btn-teal:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 8px 26px rgba(0,212,170,.45); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-light); transform: translateY(-2px); }
.btn-ghost {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,.4);
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.1); }
.btn-sm { padding: .55rem 1.3rem; font-size: .875rem; }
.btn-outline {
  background: transparent; color: var(--teal);
  border: 1.5px solid var(--teal);
}
.btn-outline:hover { background: var(--teal); color: var(--navy); }

/* ── SCROLL FADE ───────────────────── */
.fade { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.fade.in { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; } .d4 { transition-delay: .4s; }

/* ════════════════════════════════════
   NAVBAR
════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  padding: 1.1rem 2rem;
  transition: all .35s ease;
}
.navbar.stuck {
  background: rgba(10,22,40,.96);
  backdrop-filter: blur(20px);
  padding: .75rem 2rem;
  box-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.navbar-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.logo { display: flex; flex-direction: column; }
.logo-main { font-size: 1.2rem; font-weight: 900; color: var(--white); letter-spacing: -.01em; }
.logo-sub  { font-size: .6rem; font-weight: 500; color: var(--teal); letter-spacing: .1em; }

.nav-links { display: flex; align-items: center; gap: .1rem; }
.nav-links a {
  color: rgba(255,255,255,.75);
  font-size: .8125rem; font-weight: 500;
  padding: .45rem .7rem; border-radius: 8px;
  transition: all .18s;
}
.nav-links a:hover { color: var(--teal); background: rgba(0,212,170,.08); }

/* ── Navbar (light bg variant) ── */
.navbar-light { background: rgba(255,255,255,.92); backdrop-filter: blur(12px); box-shadow: 0 1px 12px rgba(0,0,0,.06); }
.navbar-light .logo-main { color: var(--navy); }
.navbar-light .nav-links a { color: var(--text); }
.navbar-light .nav-links a:hover { color: var(--teal); }

/* ════════════════════════════════════
   PAGE HERO (subpages)
════════════════════════════════════ */
.page-hero {
  background: var(--navy);
  padding: 8rem 0 5rem;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(0,180,130,.2) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 75% 20%, rgba(8,130,180,.15) 0%, transparent 55%);
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-inner {
  position: relative; z-index: 1;
  max-width: 1160px; margin: 0 auto; padding: 0 2rem;
}
.page-hero .breadcrumb {
  display: flex; align-items: center; gap: .5rem;
  font-size: .775rem; color: rgba(255,255,255,.45);
  margin-bottom: 1.4rem;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,.45); }
.page-hero .breadcrumb a:hover { color: var(--teal); }
.page-hero .breadcrumb span { color: rgba(255,255,255,.25); }
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900; color: var(--white);
  line-height: 1.2; margin-bottom: .75rem;
}
.page-hero h1 em { font-style: normal; color: var(--teal); }
.page-hero .hero-lead {
  font-size: 1.05rem; color: rgba(255,255,255,.65);
  max-width: 560px; line-height: 1.85;
}

/* ════════════════════════════════════
   SECTION HELPERS
════════════════════════════════════ */
.section { padding: 7rem 0; }
.section-sm { padding: 5rem 0; }
.section-navy { background: var(--navy); }
.section-navy .sec-title { color: var(--white); }
.section-navy .sec-sub { color: rgba(255,255,255,.45); }
.section-navy .pill { background: rgba(0,212,170,.12); }
.section-gray { background: var(--gray-50); }
.section-mid { background: var(--navy-mid); }

.sec-header { text-align: center; margin-bottom: 3.5rem; }

/* ── Tag variants ── */
.tag {
  display: inline-block;
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: .28rem .85rem; border-radius: 100px;
}
.tag-teal  { background: rgba(0,212,170,.12); color: var(--teal); border: 1px solid rgba(0,212,170,.2); }
.tag-red   { background: #fee2e2; color: #dc2626; }
.tag-green { background: #d1fae5; color: #059669; }
.tag-amber { background: #fef3c7; color: #92400e; }
.tag-blue  { background: #dbeafe; color: #1d4ed8; }

/* ── Card base ── */
.card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: all .3s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card-p { padding: 1.9rem; }

.card-dark {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r-lg);
  transition: all .3s;
}
.card-dark:hover {
  background: rgba(0,212,170,.06);
  border-color: rgba(0,212,170,.25);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,.3);
}

/* ── Divider ── */
.divider { height: 1px; background: var(--gray-100); margin: 2rem 0; }

/* ── Check list ── */
.check-list { display: flex; flex-direction: column; gap: .7rem; }
.check-list li {
  display: flex; align-items: flex-start; gap: .65rem;
  font-size: .925rem; line-height: 1.65;
}
.check-list .ck {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%;
  background: var(--teal); display: flex; align-items: center; justify-content: center; margin-top: .1rem;
}
.check-list .ck svg { width: 11px; height: 11px; }

/* ── Number list ── */
.num-list { display: flex; flex-direction: column; gap: 1.2rem; counter-reset: nl; }
.num-list li {
  display: flex; align-items: flex-start; gap: 1rem;
  counter-increment: nl;
}
.num-list li::before {
  content: counter(nl);
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  background: var(--teal); color: var(--navy);
  font-weight: 800; font-size: .85rem;
  display: flex; align-items: center; justify-content: center;
}

/* ── Two-column grid ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.four-col  { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ── Highlight box ── */
.highlight-box {
  background: linear-gradient(135deg, var(--navy) 0%, #1b3a5e 100%);
  border-radius: var(--r); padding: 1.4rem 1.75rem;
}
.highlight-box p { color: var(--teal); font-weight: 600; line-height: 1.75; }

/* ── Table ── */
.tbl { width: 100%; border-collapse: collapse; }
.tbl th, .tbl td {
  padding: .85rem 1.1rem;
  border: 1px solid var(--gray-200);
  font-size: .9rem;
}
.tbl thead th {
  background: var(--navy);
  color: var(--white); font-weight: 700;
  text-align: left;
}
.tbl tbody tr:nth-child(even) { background: var(--gray-50); }
.tbl .tbl-hl { background: rgba(0,212,170,.08); font-weight: 600; color: var(--teal-dark); }
.tbl-wrap { overflow-x: auto; border-radius: var(--r); box-shadow: var(--shadow-sm); }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: .7rem; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item.open { border-color: var(--teal); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.2rem 1.5rem; cursor: pointer;
  font-weight: 600; font-size: .95rem;
  background: none; border: none; width: 100%; text-align: left;
  font-family: inherit; color: var(--text);
}
.faq-icon {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--gray-100); border: none;
  display: flex; align-items: center; justify-content: center;
  transition: all .25s;
}
.faq-item.open .faq-icon { background: var(--teal); transform: rotate(45deg); }
.faq-icon svg { width: 14px; height: 14px; color: var(--text); }
.faq-item.open .faq-icon svg { color: var(--navy); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-body-inner {
  padding: 0 1.5rem 1.4rem;
  color: var(--text-muted); font-size: .9rem; line-height: 1.85;
}

/* ── Testimonial card ── */
.test-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 1.9rem;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: all .3s;
}
.test-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.test-stars { color: var(--amber); font-size: 1rem; margin-bottom: .8rem; }
.test-quote { font-size: .95rem; line-height: 1.8; margin-bottom: 1.2rem; }
.test-author { display: flex; align-items: center; gap: .75rem; }
.test-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal) 0%, #0077a8 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 800; font-size: .85rem; flex-shrink: 0;
}
.test-name { font-size: .85rem; font-weight: 700; }
.test-role { font-size: .75rem; color: var(--text-muted); }

/* ════════════════════════════════════
   PRICING CARD
════════════════════════════════════ */
.price-card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 2px solid var(--gray-100);
  padding: 1.9rem 1.6rem;
  display: flex; flex-direction: column;
  transition: all .3s;
}
.price-card:hover { border-color: var(--teal); box-shadow: 0 12px 40px rgba(0,212,170,.15); transform: translateY(-4px); }
.price-card.featured {
  background: var(--navy);
  border-color: var(--teal);
  box-shadow: 0 16px 48px rgba(0,212,170,.25);
}
.price-card.featured:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,212,170,.35); }
.price-badge {
  display: inline-block; font-size: .65rem; font-weight: 800; letter-spacing: .15em;
  background: var(--teal); color: var(--navy);
  padding: .25rem .75rem; border-radius: 100px;
  margin-bottom: .75rem;
}
.price-name { font-size: .85rem; font-weight: 700; color: var(--text-muted); margin-bottom: .35rem; }
.price-card.featured .price-name { color: rgba(255,255,255,.55); }
.price-amount {
  font-size: 1.9rem; font-weight: 900; line-height: 1; margin-bottom: .2rem;
  color: var(--navy);
}
.price-card.featured .price-amount { color: var(--teal); }
.price-period { font-size: .78rem; color: var(--text-muted); margin-bottom: 1.4rem; }
.price-card.featured .price-period { color: rgba(255,255,255,.45); }
.price-features { flex: 1; display: flex; flex-direction: column; gap: .55rem; margin-bottom: 1.5rem; }
.price-features li {
  font-size: .84rem; line-height: 1.6;
  display: flex; align-items: flex-start; gap: .55rem;
}
.price-card.featured .price-features li { color: rgba(255,255,255,.75); }

/* ════════════════════════════════════
   CTA BAND
════════════════════════════════════ */
.cta-band {
  background: var(--navy);
  padding: 6rem 0;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 0% 50%, rgba(0,180,130,.18) 0%, transparent 55%),
    radial-gradient(ellipse 40% 60% at 100% 50%, rgba(8,130,180,.14) 0%, transparent 50%);
}
.cta-inner { position: relative; z-index: 1; text-align: center; }
.cta-band h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900; color: var(--white);
  line-height: 1.25; margin-bottom: .75rem;
}
.cta-band h2 em { font-style: normal; color: var(--teal); }
.cta-band p { color: rgba(255,255,255,.55); font-size: 1rem; margin-bottom: 2.25rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ════════════════════════════════════
   FOOTER
════════════════════════════════════ */
.footer {
  background: var(--gray-900);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .logo-main { color: var(--white); }
.footer-brand .logo-sub  { color: var(--teal); }
.footer-desc {
  font-size: .85rem; color: rgba(255,255,255,.4);
  line-height: 1.9; margin-top: 1rem;
}
.footer-col h4 {
  font-size: .8rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 1.1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col a {
  font-size: .875rem; color: rgba(255,255,255,.55);
  transition: color .18s;
}
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.07);
  font-size: .78rem; color: rgba(255,255,255,.3);
  flex-wrap: wrap; gap: .75rem;
}
.footer-bottom a { color: rgba(255,255,255,.3); }
.footer-bottom a:hover { color: var(--teal); }

/* ════════════════════════════════════
   SCROLL FADE OBSERVER JS helper
════════════════════════════════════ */
/* (see shared-js snippet in each page) */
