/* ============================================================
   スタディリンク つなぎLP — モダンゴシック版
   フォント: Noto Sans JP / 配色: ロイヤルブルー #093ea2
   アクセント: イエロー #ffdf1d / LINE: #0dd865
   ============================================================ */

:root {
  --blue: #093ea2;
  --blue-dark: #072e78;
  --navy: #0a1f4d;
  --yellow: #ffdf1d;
  --line-green: #0dd865;
  --line-green-dark: #0bbd58;
  --ink: #1a2333;
  --ink-soft: #4b5670;
  --bg-tint: #f2f6fd;
  --border: #dde5f2;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(9, 62, 162, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 16px;
  line-height: 2;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin: 0 0 18px;
}

p {
  margin: 0 0 16px;
}

/* ---------- 共通パーツ ---------- */

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--blue);
  background: rgba(9, 62, 162, 0.08);
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.pivot .eyebrow,
.teacher .eyebrow,
.cta-section .eyebrow {
  color: var(--yellow);
  background: rgba(255, 255, 255, 0.12);
}

.section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 88px clamp(20px, 4vw, 48px);
}

.section-head {
  margin-bottom: 44px;
}

.section-head h2,
.split-text h2 {
  font-size: clamp(26px, 3.4vw, 38px);
}

.note {
  font-size: 13px;
  color: var(--ink-soft);
}

.button {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-line {
  background: var(--line-green);
  color: #fff;
  box-shadow: 0 8px 20px rgba(13, 216, 101, 0.35);
}

.button-line:hover {
  background: var(--line-green-dark);
}

.button-ghost {
  border: 2px solid var(--blue);
  color: var(--blue);
}

.panel-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin: 0 0 16px;
}

.panel-foot {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 16px 0 0;
}

/* ---------- ヘッダー ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px clamp(20px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  margin-right: auto;
}

.brand-name {
  font-weight: 900;
  font-size: 19px;
  color: var(--blue);
  letter-spacing: 0.04em;
}

.brand-sub {
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
}

.header-nav {
  display: flex;
  gap: 22px;
}

.header-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}

.header-nav a:hover {
  color: var(--blue);
}

.header-cta {
  background: var(--line-green);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
}

.header-cta:hover {
  background: var(--line-green-dark);
}

.nav-toggle {
  display: none;
}

/* ---------- ヒーロー ---------- */

.hero {
  background: linear-gradient(160deg, var(--bg-tint) 0%, #e8f0fd 60%, #fdf9e3 100%);
}

.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 72px clamp(20px, 4vw, 48px) 88px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero h1 {
  font-size: clamp(30px, 4.2vw, 44px);
  line-height: 1.55;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(transparent 62%, var(--yellow) 62%);
}

.hero-subcopy {
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 700;
  color: var(--blue);
  line-height: 2;
}

.lead {
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 26px 0 14px;
}

.hero-visual {
  display: grid;
  gap: 0;
}

.hero-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-photo img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.hero-panel {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 26px 28px;
  margin: -36px 20px 0;
  position: relative;
}

.rhythm {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.rhythm li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  border-bottom: 1px dashed var(--border);
  padding-bottom: 10px;
}

.rhythm li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.r-time {
  font-weight: 900;
  color: var(--blue);
  font-size: 15px;
  min-width: 64px;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.r-label {
  font-size: 14px;
}

/* ---------- 悩み ---------- */

.problem-head {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  margin-bottom: 44px;
}

.problem-head .section-head {
  margin-bottom: 0;
}

.problem-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-tint);
  box-shadow: var(--shadow);
}

.problem-photo img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: top;
}

.problem-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.problem-list li {
  background: var(--bg-tint);
  border-radius: var(--radius);
  padding: 18px 22px 18px 52px;
  font-size: 15px;
  position: relative;
}

.problem-list li::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 26px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--blue);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center / contain no-repeat;
}

/* ---------- 転換 ---------- */

.pivot {
  background:
    linear-gradient(rgba(10, 31, 77, 0.88), rgba(9, 62, 162, 0.86)),
    url("./assets/img/books-study.jpg") center / cover no-repeat;
  color: #fff;
  text-align: center;
}

.pivot-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 96px clamp(20px, 4vw, 48px);
}

.pivot .eyebrow {
  color: var(--yellow);
}

.pivot h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  margin-bottom: 28px;
}

.pivot p {
  color: rgba(255, 255, 255, 0.92);
}

/* ---------- 2カラム ---------- */

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.split.reverse {
  direction: rtl;
}

.split.reverse > * {
  direction: ltr;
}

/* ---------- 比較カード ---------- */

.compare-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.compare-row {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.compare-row:last-of-type {
  border-bottom: 0;
}

.compare-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
}

.is-studylink .compare-name {
  color: var(--blue);
}

.week {
  list-style: none;
  margin: 10px 0;
  padding: 0;
  display: flex;
  gap: 6px;
}

.week li {
  flex: 1;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 0;
  border-radius: 8px;
  background: var(--bg-tint);
  color: #aab4cc;
}

.week li.on {
  background: var(--blue);
  color: #fff;
}

.is-studylink .week li.on {
  background: var(--blue);
  box-shadow: inset 0 -3px 0 var(--yellow);
}

.compare-count {
  font-size: 14px;
  font-weight: 900;
  color: var(--ink);
}

.is-studylink .compare-count {
  color: var(--blue);
  font-size: 16px;
}

/* ---------- 一晩の流れ ---------- */

.night {
  background: var(--bg-tint);
  max-width: none;
}

.night > * {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

.night-photo {
  margin: 0 auto 44px;
  max-width: 820px;
}

.night-photo img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.night-photo figcaption {
  font-size: 13px;
  color: var(--ink-soft);
  text-align: center;
  margin-top: 12px;
}

.night-rows {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 820px;
  position: relative;
}

.night-rows::before {
  content: "";
  position: absolute;
  left: 47px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(var(--blue), var(--yellow));
  opacity: 0.35;
}

.night-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 22px;
  padding: 22px 0;
  position: relative;
}

.night-time {
  font-weight: 900;
  color: #fff;
  background: var(--blue);
  font-size: 13px;
  border-radius: 999px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  box-shadow: 0 4px 12px rgba(9, 62, 162, 0.3);
  font-variant-numeric: tabular-nums;
  z-index: 1;
}

.night-row > div {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
}

.night-row h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.night-row p {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0;
}

.report-photo {
  margin: 18px 0 0;
}

.report-photo img {
  width: 100%;
  max-width: 380px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.report-photo figcaption {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 8px;
}

.graph-note {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 34px;
  max-width: 820px;
  margin-top: 36px;
}

.graph-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 110px;
}

.graph-bars span {
  flex: 1;
  background: linear-gradient(to top, var(--blue), #4a7be0);
  border-radius: 6px 6px 0 0;
}

.graph-bars span:nth-child(1) { height: 30%; }
.graph-bars span:nth-child(2) { height: 42%; }
.graph-bars span:nth-child(3) { height: 38%; }
.graph-bars span:nth-child(4) { height: 56%; }
.graph-bars span:nth-child(5) { height: 64%; }
.graph-bars span:nth-child(6) { height: 78%; }
.graph-bars span:nth-child(7) { height: 95%; background: linear-gradient(to top, #e3b800, var(--yellow)); }

.graph-note h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.graph-note p {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0;
}

.materials-note {
  grid-template-columns: 96px 1fr;
}

.materials-icon {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--bg-tint);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.materials-icon svg {
  width: 44px;
  height: 44px;
}

.manabo-card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 4px solid var(--blue);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 34px;
  max-width: 820px;
  margin-top: 36px;
}

.manabo-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.manabo-top {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: center;
  margin-bottom: 24px;
}

.manabo-visual {
  margin: 0;
}

.manabo-visual img {
  width: 100%;
}

.manabo-lead {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 0;
}

.manabo-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.manabo-points > div {
  background: var(--bg-tint);
  border-radius: var(--radius);
  padding: 20px 22px;
}

.manabo-num {
  font-size: 16px;
  font-weight: 900;
  color: var(--blue);
  margin-bottom: 8px;
}

.manabo-points p:last-child {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0;
}

.manabo-note {
  font-size: 12px;
  color: var(--ink-soft);
  margin: 20px 0 0;
}

/* ---------- 考え方 ---------- */

.why-visual {
  display: grid;
  gap: 0;
}

.why-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.why-photo img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.steps-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 28px;
  margin: -30px 20px 0;
  position: relative;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.steps li {
  display: grid;
  grid-template-columns: 64px 130px 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  position: relative;
}

.steps li + li {
  border-top: 1px dashed var(--border);
}

.steps li + li::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 24px;
  width: 12px;
  height: 12px;
  background: var(--blue);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.step-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--blue);
}

.step-name {
  font-weight: 900;
  font-size: 16px;
}

.step-desc {
  font-size: 13px;
  color: var(--ink-soft);
}

/* ---------- 心も育てる ---------- */

.features {
  background: #fff;
}

.feature-rows {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 22px;
}

.feature-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--bg-tint);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-row h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.feature-row p {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0;
}

.heart-photo {
  margin: 0;
}

.heart-photo img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.heart-photo figcaption {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 12px;
  text-align: center;
}

/* ---------- 保護者 ---------- */

.parents-visual {
  display: grid;
  gap: 20px;
}

.parents-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.parents-photo img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.quote-box {
  margin: 0;
  background: var(--bg-tint);
  border-left: 6px solid var(--blue);
  border-radius: var(--radius);
  padding: 40px 36px;
}

.quote-box blockquote {
  margin: 0 0 14px;
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 900;
  line-height: 1.8;
  color: var(--blue);
}

.quote-box figcaption {
  font-size: 14px;
  color: var(--ink-soft);
}

/* ---------- 創太先生 ---------- */

.teacher {
  background: linear-gradient(150deg, var(--navy), var(--blue-dark));
  color: #fff;
}

.teacher-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 96px clamp(20px, 4vw, 48px);
}

.teacher .eyebrow {
  color: var(--yellow);
}

.teacher-quote {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.8;
  margin: 0 0 40px;
}

.teacher-text h2 {
  font-size: 20px;
  color: var(--yellow);
}

.teacher-text p {
  color: rgba(255, 255, 255, 0.88);
}

.teacher-story {
  margin-top: 44px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 32px 34px;
}

.story-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--yellow);
  margin-bottom: 14px;
}

.story-body {
  color: rgba(255, 255, 255, 0.88);
}

.story-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.story-list li {
  padding: 18px 0;
}

.story-list li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.story-list h3 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 8px;
}

.story-list h3::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--yellow);
  border-radius: 2px;
  margin-right: 10px;
}

.story-list p {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

.teacher-story .story-quote {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
}

.teacher-belief {
  margin-top: 44px;
}

.teacher-belief p {
  color: rgba(255, 255, 255, 0.88);
}

.belief-close {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 900;
  color: var(--yellow);
  margin-top: 24px;
}

.story-quote {
  font-weight: 900;
  font-size: 17px;
  line-height: 2.1;
  margin: 18px 0 0;
}

/* ---------- 料金 ---------- */

.price {
  background: var(--bg-tint);
  max-width: none;
}

.price > * {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

.plan-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.plan-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 34px;
  position: relative;
}

.plan-card-full {
  border: 2px solid var(--blue);
}

.plan-badge {
  position: absolute;
  top: -16px;
  left: 28px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  padding: 6px 16px;
  border-radius: 999px;
  margin: 0;
}

.plan-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin: 0 0 6px;
}

.plan-price {
  font-size: 40px;
  font-weight: 900;
  color: var(--ink);
  margin: 0 0 18px;
  font-variant-numeric: tabular-nums;
}

.plan-unit {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-left: 8px;
}

.plan-base {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.plan-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.plan-list li {
  font-size: 15px;
  padding: 10px 0 10px 28px;
  border-bottom: 1px dashed var(--border);
  position: relative;
}

.plan-list li:last-child {
  border-bottom: 0;
}

.plan-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 18px;
  width: 14px;
  height: 14px;
  background: var(--blue);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center / contain no-repeat;
}

.price .note {
  text-align: center;
  margin-top: 28px;
  font-size: 15px;
  font-weight: 700;
  color: var(--blue);
}

/* ---------- 流れ ---------- */

.flow-lead {
  color: var(--ink-soft);
}

.flow-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.flow-rows li {
  background: var(--bg-tint);
  border-radius: var(--radius);
  padding: 28px 26px;
}

.flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
  margin-bottom: 14px;
}

.flow-rows h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.flow-rows p {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

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

.faq-item summary {
  display: flex;
  align-items: baseline;
  gap: 14px;
  position: relative;
  padding: 22px 48px 22px 4px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--blue);
}

.faq-q {
  flex-shrink: 0;
  font-weight: 900;
  color: var(--blue);
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  color: var(--blue);
  transition: transform 0.2s ease;
}

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

.faq-a {
  padding: 0 48px 24px 33px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.faq-a p {
  margin: 0;
}

/* ---------- CTA ---------- */

.cta-section {
  background: linear-gradient(150deg, var(--blue), var(--navy));
  color: #fff;
  text-align: center;
  padding: 96px clamp(20px, 4vw, 48px);
}

.cta-section .eyebrow {
  color: var(--yellow);
  justify-content: center;
}

.cta-section h2 {
  font-size: clamp(26px, 3.4vw, 38px);
}

.cta-lead {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 32px;
}

.cta-section .button {
  font-size: 17px;
  padding: 18px 44px;
}

.cta-section .note {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 18px;
}

/* ---------- フッター ---------- */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(20px, 4vw, 48px);
  background: var(--navy);
  color: #b9c1d4;
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--yellow);
  text-decoration: none;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal a {
  color: #b9c1d4;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .site-header {
    gap: 14px;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 10px 9px;
    background: none;
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: var(--blue);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 4px 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  body.nav-open .header-nav {
    display: flex;
  }

  .header-nav a {
    padding: 15px clamp(20px, 4vw, 48px);
    font-size: 15px;
    font-weight: 700;
    border-top: 1px solid var(--border);
  }

  .header-nav a:first-child {
    border-top: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 48px;
  }

  .hero-photo img {
    height: 220px;
  }

  .split,
  .split.reverse {
    grid-template-columns: 1fr;
  }

  .problem-head {
    grid-template-columns: 1fr;
  }

  .problem-photo img {
    height: 200px;
  }

  .problem-list {
    grid-template-columns: 1fr;
  }

  .night-rows::before {
    left: 20px;
  }

  .night-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .night-time {
    width: 96px;
  }

  .graph-note {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .manabo-points {
    grid-template-columns: 1fr;
  }

  .manabo-top {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .manabo-visual {
    max-width: 360px;
    margin: 0 auto;
  }

  .graph-bars {
    height: 80px;
  }

  .heart-photo img {
    height: 260px;
  }

  .plan-cards {
    grid-template-columns: 1fr;
  }

  .flow-rows {
    grid-template-columns: 1fr;
  }

  .steps li {
    grid-template-columns: 56px 110px 1fr;
  }
}

@media (max-width: 520px) {
  .header-cta {
    font-size: 12px;
    padding: 8px 14px;
  }

  .nav-toggle {
    width: 36px;
    height: 36px;
    padding: 9px 8px;
  }

  .section {
    padding: 64px 20px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .steps li {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .steps li + li::before {
    left: 12px;
  }

  .faq-item summary {
    font-size: 15px;
    padding-right: 38px;
  }

  .faq-a {
    padding-right: 20px;
  }
}
