/* レイアウト。色・フォント・角丸は tokens.css で変える */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: .02em;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-heading); color: var(--color-navy); font-weight: 600; line-height: 1.45; margin: 0; }
p { margin: 0; }

/* ボタン */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--button-height); padding: 0 32px;
  border: 0; border-radius: var(--radius-button);
  font: 700 16px/1.3 var(--font-body); letter-spacing: .04em;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, transform .1s;
}
.btn--primary { background: var(--color-accent); color: var(--color-accent-text); box-shadow: var(--shadow-button); }
.btn--primary:hover { background: var(--color-accent-hover); }
.btn--primary:active { transform: translateY(1px); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; }
:focus-visible { outline: 3px solid var(--color-navy); outline-offset: 3px; }

/* 1. 最初の画面（スマホ：縦長ビジュアルをそのまま見せ、下側の霞んだ部分から文字を重ねる） */
.hero { position: relative; color: var(--color-text); }
.hero__bg { display: block; position: relative; }
.hero__bg img { width: 100%; height: auto; aspect-ratio: 780 / 1156; object-fit: cover; object-position: var(--hero-focus-mobile); }
.hero::after { /* 画像の下端を地の色へなじませる */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: calc(100vw * 1156 / 780);
  background: linear-gradient(to bottom, rgba(var(--hero-fade),0) 62%, rgba(var(--hero-fade),.75) 85%, var(--color-bg) 100%);
  pointer-events: none;
}
.hero__body { position: relative; z-index: 1; width: 100%; margin-top: -42vw; padding: 0 var(--gutter) 24px; text-align: center; }
.hero__logo { font-family: var(--font-heading); font-size: 15px; letter-spacing: .2em; color: var(--color-navy); margin-bottom: 8px; }
.hero__title { font-size: var(--fs-hero); margin-bottom: 14px; }
@media (min-width: 900px) { .hero__title { font-size: 48px; } }
.hero__lead { font-size: 15px; margin: 0 auto 24px; max-width: 26em; }
.hero__note { font-size: 13px; color: var(--color-text-sub); margin-top: 12px; }

/* PC：16:9のまま、左の余白に文字 */
@media (min-width: 900px) {
  .hero { display: flex; align-items: center; aspect-ratio: 16 / 9; max-height: 100vh; overflow: hidden; }
  .hero__bg { position: absolute; inset: 0; }
  .hero__bg img { height: 100%; aspect-ratio: auto; object-position: center; }
  .hero::after { height: auto; bottom: 0; background: linear-gradient(to right, rgba(var(--hero-fade),.55) 0%, rgba(var(--hero-fade),0) 50%); }
  .hero__body { max-width: 50%; margin-top: 0; padding: 0 0 0 6vw; text-align: left; }
  .hero__lead { margin-left: 0; }
}

/* セクション共通 */
main { overflow: hidden; }
.section { max-width: var(--content-max); margin: 0 auto; padding: var(--section-gap) var(--gutter) 0; }
.section__title { font-size: var(--fs-section); text-align: center; margin-bottom: 28px; }
.section__title::after { content: ""; display: block; width: 32px; height: 2px; margin: 14px auto 0; background: var(--color-accent); }

/* 2. 彼の一言 */
.intro { display: grid; gap: 8px; }
.intro__heading { grid-column: 1 / -1; }
.intro__figure { max-width: 340px; margin: 0 auto; }
.intro__quote {
  margin: 0 0 20px; padding: 20px 22px;
  background: var(--color-surface); border-radius: var(--radius-card); box-shadow: var(--shadow-card);
  font-family: var(--font-heading); font-weight: 400; font-size: 18px; line-height: 1.9; color: var(--color-navy);
}
.intro__name { font-size: 22px; }
.intro__name span { display: block; font-family: var(--font-body); font-size: 12px; font-weight: 400; letter-spacing: .15em; color: var(--color-text-sub); }
.intro__profile { margin-top: 8px; font-size: 15px; }
@media (min-width: 720px) {
  .intro { grid-template-columns: 1fr 1.2fr; align-items: center; gap: 24px; }
}

/* 3. こんな人に */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li {
  position: relative; padding: 16px 18px 16px 50px;
  background: var(--color-surface); border-radius: var(--radius-card);
}
.checklist li::before {
  content: ""; position: absolute; left: 18px; top: 22px; width: 18px; height: 18px;
  border-radius: 50%; border: 2px solid var(--color-accent);
  background: radial-gradient(circle, var(--color-accent) 0 3px, transparent 4px);
}

/* 4. 1日の流れ（2×2のカード。PCは横4列） */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.timeline__item {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
  padding: 20px 14px; background: var(--color-surface); border-radius: var(--radius-card); box-shadow: var(--shadow-card);
}
.timeline__item p { font-size: 14px; line-height: 1.7; }
.timeline__time { font-family: var(--font-heading); font-weight: 600; font-size: 17px; color: var(--color-navy); }
.icon { width: var(--icon-size); height: var(--icon-size); }
@media (min-width: 720px) { .timeline { grid-template-columns: repeat(4, 1fr); } }

/* 5. 3つの特徴 */
.cards { display: grid; gap: 16px; counter-reset: card; }
.card {
  display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; align-items: center;
  padding: 22px 20px; background: var(--color-surface); border-radius: var(--radius-card); box-shadow: var(--shadow-card);
}
.card .icon { grid-row: span 2; width: 56px; height: 56px; }
.card__title { font-size: 18px; margin: 0 0 2px; }
.card p { font-size: 15px; }

/* 6. 試し読み */
.trial { text-align: center; }
.story {
  text-align: left; padding: 28px 24px;
  background: var(--color-surface); border-radius: var(--radius-card);
  font-family: var(--font-heading); font-weight: 400; font-size: 16px; line-height: 2.1;
  display: grid; gap: 1em;
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, rgba(0,0,0,.35));
          mask-image: linear-gradient(to bottom, #000 80%, rgba(0,0,0,.35));
}
.story__line { color: var(--color-navy); }
.trial__more { font-family: var(--font-heading); font-size: 18px; margin: 24px 0 16px; color: var(--color-navy); }

/* 7. FAQ */
.faq__item { background: var(--color-surface); border-radius: var(--radius-card); margin-bottom: 10px; }
.faq__item summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 16px 48px 16px 18px; font-weight: 500; color: var(--color-navy);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--color-accent); border-bottom: 2px solid var(--color-accent);
  transform: rotate(45deg); transition: transform .2s;
}
.faq__item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq__item summary::before { content: "Q."; font-family: var(--font-heading); color: var(--color-accent); margin-right: 8px; }
.faq__item p { padding: 0 18px 18px; font-size: 15px; }

/* 8. 最後の呼びかけ */
.signup { padding-bottom: var(--section-gap); }
.signup__title { font-size: var(--fs-section); text-align: center; margin-bottom: 20px; }
.bonus {
  text-align: center; margin-bottom: 24px; padding: 0 0 20px; overflow: hidden; background: var(--color-surface);
  border: 1px dashed var(--color-accent); border-radius: var(--radius-card);
}
.bonus__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 16px; }
.bonus__text, .bonus__name { padding: 0 20px; }
.bonus__label {
  display: inline-block; padding: 2px 12px; margin-bottom: 6px;
  background: var(--color-accent); color: var(--color-accent-text);
  border-radius: var(--radius-button); font-size: 12px; font-weight: 700; letter-spacing: .1em;
}
.bonus__name { font-family: var(--font-heading); font-size: 18px; color: var(--color-navy); }
.bonus__text { font-size: 14px; color: var(--color-text-sub); margin-top: 4px; }

.form, .done { background: var(--color-surface); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 24px 20px; }
.form__label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.form__input {
  width: 100%; min-height: 52px; padding: 0 14px; margin-bottom: 16px;
  font: 16px var(--font-body); color: var(--color-text);
  background: #fff; border: 1px solid var(--color-line); border-radius: 10px;
}
.form__input:focus { outline: 2px solid var(--color-accent); outline-offset: 0; border-color: transparent; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__error { color: var(--color-error); font-size: 14px; margin-top: 10px; }
.form__note { font-size: 13px; color: var(--color-text-sub); margin-top: 12px; text-align: center; }

.done { text-align: center; }
.done__title { font-family: var(--font-heading); font-size: 20px; color: var(--color-navy); margin-bottom: 6px; }
.done__text { font-size: 15px; }
.survey { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--color-line); }
.survey__q { font-size: 14px; margin-bottom: 12px; }
.survey__options { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chip {
  min-height: 44px; padding: 0 16px; border-radius: var(--radius-button);
  border: 1px solid var(--color-navy); background: transparent; color: var(--color-navy);
  font: 500 14px var(--font-body); cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--color-navy); color: #fff; }
.survey__thanks { font-size: 14px; margin-top: 12px; color: var(--color-text-sub); }

/* フッター */
.footer { background: var(--color-navy); color: #fff; text-align: center; padding: 32px var(--gutter); font-size: 13px; }
.footer__logo { font-family: var(--font-heading); font-size: 16px; letter-spacing: .2em; margin-bottom: 8px; }
.footer__copy { opacity: .7; margin-top: 8px; }

/* プライバシーポリシー */
.doc { max-width: var(--content-max); margin: 0 auto; padding: 48px var(--gutter) 72px; }
.doc h1 { font-size: 24px; margin-bottom: 24px; }
.doc h2 { font-size: 18px; margin: 32px 0 8px; }
.doc p, .doc li { font-size: 15px; }
.doc ul { padding-left: 1.3em; }
.doc__back { display: inline-block; margin-top: 40px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
