/* コーチングサイト共通の部品。色・文字・余白は tokens.css の変数だけを使う。 */
html { scroll-padding-top: 96px; }
body { background: var(--surface-page); }
.wrap { width: min(100% - 2 * var(--gutter), var(--container-lg)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--gutter), var(--container-sm)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: var(--surface-card); padding: 8px 12px; }

/* ボタン */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: var(--r-full); background: var(--mn-blue-600); color: var(--text-inverse); font-weight: var(--fw-bold); text-decoration: none; transition: background var(--dur-fast) var(--ease-standard); }
.button:hover { background: var(--mn-blue-700); color: var(--text-inverse); }
.button--small { min-height: 40px; padding: 0 18px; font-size: var(--fs-sm); }
.button--large { min-height: 56px; padding: 0 32px; font-size: var(--fs-md); }
.button--ghost { background: transparent; color: var(--text-primary); border: 1px solid var(--border-strong); }
.button--ghost:hover { background: var(--surface-sunken); color: var(--text-primary); }

/* ヘッダー */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--surface-page) 96%, transparent); border-bottom: 1px solid var(--border-subtle); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text-primary); text-decoration: none; margin-right: auto; }
.brand img { height: 20px; width: auto; }
.brand__name { font-size: var(--fs-sm); font-weight: var(--fw-bold); padding-left: 12px; border-left: 1px solid var(--border-default); }
/* PC はヘッダーに常時表示（.gnav）、スマホは開閉メニュー（.nav）。<details> は閉じていると中身が出ないので分けている */
.gnav { display: flex; gap: 28px; }
.nav { display: none; }
.gnav a, .nav__list a { color: var(--text-primary); text-decoration: none; font-size: var(--fs-sm); font-weight: var(--fw-medium); }
.gnav a:hover { color: var(--text-brand); }
.gnav a[aria-current="page"], .nav__list a[aria-current="page"] { color: var(--text-brand); }
@media (max-width: 860px) {
  .site-header__cta { display: none; }
  .gnav { display: none; }
  .nav { display: block; position: static; }
  .nav__list { display: flex; }
  .nav__toggle { display: block; list-style: none; cursor: pointer; font-size: var(--fs-sm); font-weight: var(--fw-bold); padding: 8px 4px; }
  .nav__toggle::-webkit-details-marker { display: none; }
  .nav:not([open]) .nav__list { display: none; }
  .nav[open] .nav__list { position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; gap: 0; background: var(--surface-card); border-bottom: 1px solid var(--border-subtle); padding: 8px var(--gutter) 16px; }
  .nav[open] .nav__list a { padding: 14px 0; border-bottom: 1px solid var(--border-subtle); }
}

/* 見出しまわり */
.eyebrow { font-size: var(--fs-xs); font-weight: var(--fw-bold); letter-spacing: var(--ls-caps); color: var(--text-brand); text-transform: uppercase; }
.lead { font: var(--type-body-lg); color: var(--text-secondary); max-width: 40em; }
.section { padding: clamp(64px, 9vw, 96px) 0; }
.section--soft { background: var(--surface-brand-soft); }
.section__head { display: flex; flex-direction: column; gap: 12px; margin-bottom: clamp(32px, 5vw, 48px); }
.section__head h2 { font: var(--type-h2); font-size: clamp(24px, 3vw, 32px); }

/* トップのファーストビュー */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); border-bottom: 1px solid var(--border-subtle); }
.hero__body { display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: clamp(48px, 8vw, 112px) clamp(24px, 5vw, 72px) clamp(48px, 8vw, 112px) max(24px, calc((100vw - 1160px) / 2 + 24px)); }
.hero h1 { font-weight: var(--fw-medium); font-size: clamp(28px, 5vw, 60px); line-height: 1.4; letter-spacing: var(--ls-display); word-break: keep-all; white-space: nowrap; }
.hero__img { width: 100%; height: 100%; min-height: clamp(320px, 44vw, 640px); object-fit: cover; background: var(--mn-ink-100); }

/* 下層ページの頭 */
.page-hero { padding: 32px 0 clamp(48px, 7vw, 80px); border-bottom: 1px solid var(--border-subtle); }
.page-hero .wrap { display: flex; flex-direction: column; gap: 16px; }
.page-hero h1 { font: var(--type-h1); font-size: clamp(28px, 4vw, 40px); margin-top: 24px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; font-size: var(--fs-xs); color: var(--text-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; }
.breadcrumb a { color: var(--text-muted); }

/* カード・リスト */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; gap: 12px; padding: 28px; border: 1px solid var(--border-subtle); border-radius: var(--r-lg); background: var(--surface-card); color: inherit; text-decoration: none; }
a.card:hover { border-color: var(--border-brand); }
.card img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-md); }
.card h3 { font: var(--type-h3); font-size: 19px; }
.card p { color: var(--text-secondary); }
.card__more { margin-top: auto; color: var(--text-brand); font-weight: var(--fw-bold); font-size: var(--fs-sm); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { padding: 16px 20px 16px 48px; position: relative; background: var(--surface-card); border-radius: var(--r-md); border: 1px solid var(--border-subtle); }
.checklist li::before { content: ""; position: absolute; left: 20px; top: 1.35em; width: 12px; height: 12px; border-radius: 50%; background: var(--mn-blue-600); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 24px; counter-reset: step; }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 8px; padding-top: 20px; border-top: 2px solid var(--mn-blue-600); }
.steps li::before { content: "STEP " counter(step); font-size: var(--fs-xs); font-weight: var(--fw-bold); letter-spacing: var(--ls-caps); color: var(--text-brand); }
.steps h3 { font: var(--type-h3); font-size: 18px; }

/* 長文（悩み別ページ・コーチ紹介） */
.prose { font: var(--type-body); line-height: 2; color: var(--text-secondary); }
.prose > * + * { margin-top: 1.4em; }
.prose h2 { font: var(--type-h2); font-size: clamp(22px, 2.6vw, 28px); color: var(--text-primary); margin-top: 2.6em; }
.prose h3 { font: var(--type-h3); font-size: 19px; color: var(--text-primary); margin-top: 2em; }
.prose ul { padding-left: 1.2em; }
.prose blockquote { margin-inline: 0; padding: 16px 20px; border-left: 3px solid var(--mn-blue-600); background: var(--surface-brand-soft); color: var(--text-primary); }
.prose > :first-child { margin-top: 0; }
.prose figure { margin-inline: 0; }
.prose img { width: 100%; height: auto; border-radius: var(--r-lg); }
.scenario { margin-top: 2em; padding: 28px; border: 1px solid var(--border-subtle); border-radius: var(--r-lg); }
.scenario__label { font-size: var(--fs-xs); font-weight: var(--fw-bold); color: var(--text-muted); }
.scenario > * + * { margin-top: 12px; }
.scenario h3 { margin-top: 8px; }
.scenario > :last-child.scenario__label { margin-top: 20px; font-weight: var(--fw-regular); }

/* よくある質問 */
.faq details { border-bottom: 1px solid var(--border-subtle); padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: var(--fw-bold); list-style: none; }
.faq summary::before { content: "Q. "; color: var(--text-brand); }
.faq details p { margin-top: 12px; color: var(--text-secondary); }

/* 申し込みの帯 */
.cta-band { background: var(--surface-inverse); color: var(--text-inverse); padding: clamp(56px, 8vw, 88px) 0; }
.cta-band__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.cta-band h2 { font: var(--type-h2); font-size: clamp(24px, 3vw, 32px); }
.cta-band p { color: var(--mn-ink-200); }

/* フォーム */
.contact-form { display: grid; gap: 20px; max-width: 640px; }
.field { display: grid; gap: 8px; }
.field__label { font-weight: var(--fw-bold); font-size: var(--fs-sm); display: flex; gap: 8px; align-items: center; }
.field__tag { font-size: var(--fs-2xs); font-weight: var(--fw-bold); padding: 2px 8px; border-radius: var(--r-full); background: var(--surface-sunken); color: var(--text-secondary); }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--border-default); border-radius: var(--r-md); background: var(--surface-card); }
.field--check { display: flex; gap: 10px; align-items: center; }
.field--check input { width: auto; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.result { padding: clamp(48px, 8vw, 96px) 0; display: grid; gap: 20px; max-width: 720px; }
.result h1 { font: var(--type-h1); font-size: clamp(26px, 3.6vw, 34px); }
.result-errors { color: var(--mn-danger); padding-left: 1.2em; margin: 0; }

/* フッターとスマホの固定申し込み */
.site-footer { background: var(--surface-inverse); color: var(--mn-ink-200); padding: 56px 0 24px; border-top: 1px solid var(--mn-ink-800); }
.site-footer__inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px; }
.site-footer__brand img { height: 20px; width: auto; margin-bottom: 12px; }
.site-footer__nav { display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: var(--mn-ink-200); text-decoration: none; font-size: var(--fs-sm); }
.site-footer a:hover { color: var(--text-inverse); }
.site-footer__copy { margin-top: 40px; font-size: var(--fs-xs); color: var(--mn-ink-400); }
.mobile-cta { display: none; }
@media (max-width: 860px) {
  .mobile-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--surface-page) 96%, transparent); border-top: 1px solid var(--border-subtle); }
  .mobile-cta .button { width: 100%; padding: 0 12px; font-size: 14px; white-space: nowrap; }
  body { padding-bottom: 76px; }
  body.is-contact .mobile-cta { display: none; }
  body.is-contact { padding-bottom: 0; }
}

/* top page additions */
.dot { display: inline-block; width: .24em; height: .24em; margin-left: .08em; border-radius: 50%; background: var(--mn-blue-600); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(24px, 5vw, 56px); align-items: center; }
.split img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-lg); }
.section__more { margin-top: 32px; }
.checklist--spaced { margin-top: 32px; }
