/* CURA — 白×紺の医療系クリーン（構造・数字・信頼感） */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy: #1b3a6b; --navy-d: #122a50; --blue: #2e6fd8; --blue-soft: #e8f0fb;
  --ink: #182335; --muted: #5c6879; --line: #dfe6f0;
  --bg: #ffffff; --bg-soft: #f2f6fb; --white: #ffffff;
  --font: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
  /* 旧変数互換 */
  --brand: #1b3a6b; --brand-d: #122a50; --brand-bg: #e8f0fb; --brand-border: #c8d8ef; --brand-l: #2e6fd8; --brand-ll: #7fb0f0;
}
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--ink); font-size: 16px; line-height: 1.8; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ナビ：紺のトップバー感 */
nav { position: fixed; top: 0; left: 0; right: 0; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; background: rgba(255,255,255,0.97); backdrop-filter: blur(8px); border-bottom: 2px solid var(--navy); z-index: 100; }
.logo { font-size: 19px; font-weight: 800; letter-spacing: 0.22em; color: var(--navy); text-decoration: none; }
.nav-links { display: flex; gap: 1.9rem; align-items: center; }
.nav-link { font-size: 13px; color: var(--muted); text-decoration: none; letter-spacing: 0.05em; font-weight: 600; }
.nav-link:hover, .nav-link.active { color: var(--blue); }
.nav-cta { font-size: 13px; padding: 0.55rem 1.4rem; background: var(--navy); border-radius: 4px; color: #fff !important; text-decoration: none; letter-spacing: 0.05em; font-weight: 700; transition: background 0.15s; }
.nav-cta:hover { background: var(--blue); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0; color: var(--navy); }
.nav-toggle svg { width: 26px; height: 26px; display: block; }
.nav-overlay { display: none; }

/* ヒーロー：左テキスト×右写真の分割 */
.hero { position: relative; min-height: 86vh; display: flex; align-items: center; color: var(--ink); overflow: hidden; background: var(--bg-soft); }
.hero::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 52%; background-image: url('/images/hero.jpg'); background-size: cover; background-position: center; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #f2f6fb 0%, #f2f6fb 48%, rgba(242,246,251,0.85) 58%, rgba(242,246,251,0) 78%); }
.hero-bg { display: none; }
.hero-inner { position: relative; z-index: 1; max-width: 1140px; margin: 0 auto; padding: 8rem 2rem 4rem; width: 100%; }
.hero-eyebrow { display: inline-block; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue); background: var(--blue-soft); border: 1px solid #c8d8ef; padding: 6px 14px; border-radius: 4px; margin-bottom: 1.6rem; font-weight: 700; }
.hero h1 { font-size: clamp(29px, 5vw, 52px); font-weight: 800; line-height: 1.4; letter-spacing: 0.01em; margin-bottom: 1.75rem; color: var(--navy-d); max-width: 640px; }
.hero h1 .accent { color: var(--blue); }
.hero-body { font-size: clamp(14.5px, 1.9vw, 16.5px); color: var(--muted); max-width: 520px; line-height: 2.05; margin-bottom: 2.5rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero .btn-white { background: var(--navy); color: #fff; box-shadow: 0 8px 24px rgba(27,58,107,0.25); }
.hero .btn-white:hover { background: var(--blue); }
.hero .btn-ghost { color: var(--navy); border-color: var(--navy); }
.hero .btn-ghost:hover { background: rgba(27,58,107,0.06); }

/* ボタン */
.btn-rose, .btn-brand { display: inline-flex; align-items: center; gap: 9px; padding: 1rem 2.1rem; background: var(--navy); color: #fff; text-decoration: none; font-size: 14px; font-weight: 700; letter-spacing: 0.04em; border-radius: 6px; transition: background 0.15s; border: none; cursor: pointer; }
.btn-rose:hover, .btn-brand:hover { background: var(--blue); }
.btn-white { display: inline-flex; align-items: center; gap: 9px; padding: 1rem 2.1rem; background: #fff; color: var(--navy); text-decoration: none; font-size: 14px; font-weight: 700; letter-spacing: 0.04em; border-radius: 6px; transition: opacity 0.15s; }
.btn-white:hover { opacity: 0.9; }
.btn-ghost { display: inline-flex; align-items: center; gap: 9px; padding: 1rem 2.1rem; background: transparent; color: #fff; text-decoration: none; font-size: 14px; font-weight: 700; letter-spacing: 0.04em; border-radius: 6px; border: 1.5px solid rgba(255,255,255,0.7); transition: background 0.15s; }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-rose svg, .btn-white svg, .btn-ghost svg, .btn-brand svg { width: 16px; height: 16px; flex-shrink: 0; }

/* セクション */
.section { max-width: 1100px; margin: 0 auto; padding: 6rem 2rem; }
.section.soft, .bg-soft { background: var(--bg-soft); }
.eyebrow { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue); font-weight: 800; margin-bottom: 1rem; }
.eyebrow.center { text-align: center; }
h2 { font-size: clamp(24px, 3.6vw, 36px); font-weight: 800; line-height: 1.4; letter-spacing: 0.01em; margin-bottom: 1.25rem; color: var(--navy-d); }
h2.center { text-align: center; }
.lead { font-size: 15.5px; color: var(--muted); line-height: 2; max-width: 640px; }
.lead.center { margin-left: auto; margin-right: auto; text-align: center; }

/* 訴求バー：紺 */
.stats { background: var(--navy); color: #fff; }
.stats-inner { max-width: 1100px; margin: 0 auto; padding: 4.25rem 2rem; }
.stats-head { font-size: clamp(20px, 3vw, 29px); font-weight: 800; margin-bottom: 0.5rem; }
.stats-sub { color: #a9c0e4; font-size: 13.5px; margin-bottom: 2.5rem; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.stats-grid > div { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: 8px; padding: 1.5rem 1.4rem; }
.stat-num { font-size: 22px; font-weight: 800; line-height: 1.35; margin-bottom: 0.6rem; color: #cfe1fb; }
.stat-desc { font-size: 13px; color: #b9cbe8; line-height: 1.9; }

/* サービス：左紺ボーダーの構造カード */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.4rem; margin-top: 3rem; }
.svc-card { border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: 8px; overflow: hidden; background: #fff; transition: box-shadow 0.15s, border-left-color 0.15s; display: flex; flex-direction: column; }
.svc-card:hover { box-shadow: 0 10px 30px rgba(27,58,107,0.1); transform: none; border-left-color: var(--blue); }
.svc-photo { display: none; }
.svc-icon { position: relative; padding: 1.7rem 1.6rem 0; }
.svc-icon svg { width: 40px; height: 40px; fill: none; stroke: var(--navy); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.15s; position: relative; z-index: 1; }
.svc-card:hover .svc-icon svg { stroke: var(--blue); }
.ghostno { position: absolute; top: 0.7rem; right: 1.3rem; font-size: 44px; font-weight: 800; color: var(--blue-soft); line-height: 1; z-index: 0; }
.svc-body { padding: 1.4rem 1.6rem 1.7rem; flex: 1; }
.svc-no { display: inline-flex; align-items: center; width: auto; background: var(--blue-soft); color: var(--navy); border-radius: 999px; padding: 0.28rem 0.75rem; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; margin-bottom: 0.85rem; }
.svc-card h3 { font-size: 16.5px; font-weight: 800; margin-bottom: 0.6rem; line-height: 1.5; color: var(--navy-d); }
.svc-card p { font-size: 13.5px; color: var(--muted); line-height: 1.9; }

/* 帯 */
.band { position: relative; color: #fff; overflow: hidden; }
.band-bg { position: absolute; inset: 0; background-color: var(--navy-d); background-size: cover; background-position: center; }
.band-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(18,42,80,0.95), rgba(27,58,107,0.82)); }
.band-inner { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; padding: 5.5rem 2rem; }
.band .eyebrow { color: #9fc1f5; }
.band h2 { color: #fff; }
.band .lead { color: #c9d9f2; }

/* 2カラム */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split-img { border-radius: 10px; aspect-ratio: 4/3; background-color: var(--blue-soft); background-image: url('/images/hero.jpg'); background-size: cover; background-position: center; box-shadow: 0 16px 44px rgba(27,58,107,0.16); border: 1px solid var(--line); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.5rem; }
.tag { font-size: 12px; padding: 5px 13px; border: 1px solid #c8d8ef; border-radius: 4px; color: var(--navy); background: var(--blue-soft); font-weight: 700; }

/* プロセス */
.steps { margin-top: 3rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; }
.step { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: 8px; padding: 2rem 1.75rem; }
.step-n { width: 38px; height: 38px; border-radius: 6px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 1rem; }
.step h3 { font-size: 16px; font-weight: 800; margin-bottom: 0.4rem; color: var(--navy-d); }
.step .meta { font-size: 12px; color: var(--blue); font-weight: 800; margin-bottom: 0.5rem; letter-spacing: 0.06em; }
.step p { font-size: 13.5px; color: var(--muted); line-height: 1.85; }

/* 料金 */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.price-card { border: 1px solid var(--line); border-radius: 10px; padding: 2.1rem 1.9rem; background: #fff; }
.price-card.feature { border: 2px solid var(--navy); position: relative; }
.price-badge { position: absolute; top: -13px; left: 1.9rem; background: var(--blue); color: #fff; font-size: 11px; font-weight: 800; padding: 3px 12px; border-radius: 4px; letter-spacing: 0.06em; }
.price-name { font-size: 17px; font-weight: 800; margin-bottom: 0.3rem; color: var(--navy-d); }
.price-val { font-size: 30px; font-weight: 800; color: var(--navy); margin: 0.5rem 0; }
.price-val small { font-size: 14px; color: var(--muted); font-weight: 600; }
.price-card ul { list-style: none; margin-top: 1rem; }
.price-card li { font-size: 13px; color: var(--muted); padding: 0.4rem 0; border-bottom: 1px solid var(--line); }
.price-card li::before { content: "✓ "; color: var(--blue); font-weight: 800; }

/* CTA */
.cta-band { position: relative; color: #fff; text-align: center; overflow: hidden; }
.cta-band-bg { position: absolute; inset: 0; background-color: var(--navy-d); background-size: cover; background-position: center; }
.cta-band-bg::after { content: ""; position: absolute; inset: 0; background: rgba(18,42,80,0.92); }
.cta-band-inner { position: relative; z-index: 1; padding: 6rem 2rem; max-width: 760px; margin: 0 auto; }
.cta-band h2 { color: #fff; }
.cta-band .eyebrow { color: #9fc1f5 !important; }
.cta-band p { color: #c9d9f2; font-size: 15px; margin-bottom: 2.5rem; }
.cta-band .btn-white { background: #fff; color: var(--navy); }
.cta-mail { display: inline-block; margin-top: 1.25rem; color: #9fc1f5; text-decoration: none; font-size: 14px; }

/* 下層ページ見出し */
.page-head { background: linear-gradient(120deg, var(--navy-d), var(--navy)); color: #fff; padding: 8.5rem 2rem 3.5rem; text-align: center; }
.page-head .eyebrow { color: #9fc1f5 !important; }
.page-head h1 { font-size: clamp(28px, 4.5vw, 44px); font-weight: 800; }
.page-head p { color: #c9d9f2; max-width: 580px; margin: 1rem auto 0; }

/* 法務テキスト */
.doc { max-width: 800px; margin: 0 auto; padding: 4rem 2rem 5rem; }
.doc h2 { font-size: 19px; margin: 2.25rem 0 0.75rem; }
.doc p, .doc li { font-size: 14px; color: var(--muted); line-height: 1.95; }
.doc ul, .doc ol { margin: 0.5rem 0 0.5rem 1.4rem; }
.legal { max-width: 860px; margin: 0 auto; padding: 4rem 2rem 5rem; }
.legal dl { display: grid; grid-template-columns: 220px 1fr; border-top: 1px solid var(--line); }
.legal dt { font-weight: 700; font-size: 14px; color: var(--ink); padding: 1.1rem 1rem 1.1rem 0; border-bottom: 1px solid var(--line); }
.legal dd { font-size: 14px; color: var(--muted); padding: 1.1rem 0; border-bottom: 1px solid var(--line); line-height: 1.85; }
.legal dd .ph { background: var(--blue-soft); color: var(--navy); padding: 1px 6px; border-radius: 3px; font-weight: 700; }
@media (max-width:640px){ .legal dl { grid-template-columns: 1fr; } .legal dt { border-bottom: none; padding-bottom: 0.2rem; } }

footer { background: var(--navy-d); color: #93a8c9; padding: 2.5rem 2rem; text-align: center; font-size: 12px; letter-spacing: 0.04em; }
footer a { color: #cfe1fb; text-decoration: none; margin: 0 0.6rem; }

.divider { border: none; border-top: 1px solid var(--line); }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  nav { padding: 0.9rem 1.25rem; }
  .nav-toggle { display: block; }
  .nav-links { position: fixed; top: 0; right: 0; bottom: 0; width: 74%; max-width: 300px; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 1.6rem; padding: 5.5rem 2rem 2rem; background: #fff; border-left: 1px solid var(--line); box-shadow: -8px 0 30px rgba(27,58,107,0.15); transform: translateX(106%); transition: transform 0.28s ease; z-index: 120; }
  .nav-links.open { transform: translateX(0); }
  .nav-link { font-size: 16px; }
  .nav-cta { font-size: 15px; padding: 0.7rem 1.5rem; }
  .nav-overlay.open { display: block; position: fixed; inset: 0; background: rgba(18,42,80,0.4); z-index: 115; }
  .section { padding: 4rem 1.25rem; }
  .hero { min-height: 72vh; }
  .hero::before { width: 100%; opacity: 0.16; }
  .hero::after { background: none; }
  .hero-inner { padding: 7rem 1.25rem 3.5rem; }
  .stats-inner, .band-inner, .cta-band-inner { padding-left: 1.25rem; padding-right: 1.25rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .btn-rose, .btn-white, .btn-ghost, .btn-brand { justify-content: center; }
}
