/* =========================================================
   Claude Codeの教科書 - 会員サイト 共通スタイル
   ========================================================= */

:root {
  /* Color tokens */
  --navy: #1a2e4a;
  --navy-deep: #142340;
  --navy-soft: #2a3e5a;
  --orange: #e85a1f;
  --orange-deep: #c84a15;
  --orange-soft: #fff1e8;
  --orange-line: #f0d7c4;

  --cream: #faf6ec;
  --paper: #f4ecd8;
  --paper-warm: #fdf5e6;
  --bg: #f8f4e9;

  --ink: #1a1a1a;
  --ink-2: #3a3a3a;
  --ink-3: #6a6a6a;
  --mute: #9a9a9a;

  --line: #e8e0cc;
  --line-2: #ddd3bd;
  --card: #ffffff;

  --shadow-sm: 0 1px 2px rgba(20, 30, 60, 0.04), 0 2px 6px rgba(20, 30, 60, 0.04);
  --shadow-md: 0 4px 16px rgba(20, 30, 60, 0.06), 0 1px 3px rgba(20, 30, 60, 0.04);

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;

  --font-serif: "Noto Serif JP", "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;

  --container: 1120px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }

body::before {
  content: "";
  position: fixed; inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(232, 90, 31, 0.025), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(26, 46, 74, 0.02), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* =================== Layout ====================== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* =================== Header / Hero ============== */
.site-hero {
  position: relative;
  background: var(--cream);
  overflow: hidden;
  padding: 0;
  margin: 0;
}

.hero-image {
  width: 100%;
  max-width: none;
  height: auto;
  display: block;
  margin: 0;
}

/* =================== Hero CTA（直下） =============== */
.hero-cta {
  background: var(--cream);
  padding: 24px 0 36px;
}
.hero-cta__card {
  display: block;
  background: #fff;
  border: 2px solid var(--orange);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.18s, box-shadow 0.18s;
  color: inherit;
}
.hero-cta__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(20,30,60,0.12);
}
.hero-cta__banner {
  width: 100%;
  height: auto;
  display: block;
}
.hero-cta__body {
  padding: 24px 28px 26px;
  text-align: center;
}
.hero-cta__limit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange-soft);
  color: var(--orange-deep);
  border: 1px solid var(--orange-line);
  border-radius: 999px;
  padding: 6px 16px 6px 8px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.hero-cta__limit-pill {
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 700;
}
.hero-cta__limit-text strong {
  color: var(--orange);
  font-size: 17px;
  margin: 0 3px;
  font-family: var(--font-serif);
}
.hero-cta__title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--ink);
  letter-spacing: 0.03em;
}
.hero-cta__desc {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.75;
  margin: 0 0 18px;
}
.hero-cta__btn {
  display: inline-flex;
  min-width: 240px;
  justify-content: center;
}

/* Feature stripe */
.feature-stripe {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.feature-stripe__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.fs-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 22px 16px;
  position: relative;
}
.fs-item + .fs-item::before {
  content: "";
  position: absolute;
  left: 0; top: 22%; bottom: 22%;
  width: 1px;
  background: var(--line);
}
.fs-item__icon {
  color: var(--navy);
  width: 36px; height: 36px;
  display: grid; place-items: center;
}
.fs-item__text { display: flex; flex-direction: column; }
.fs-item__title {
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  line-height: 1.2;
}
.fs-item__desc {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 2px;
}

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  border: 1.5px solid transparent;
  transition: all 0.18s ease;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.btn--navy {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn--navy:hover { background: var(--navy-deep); transform: translateY(-1px); }
.btn--orange {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.btn--orange:hover { background: var(--orange-deep); transform: translateY(-1px); }
.btn--outline {
  background: #fff;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--lg { padding: 16px 36px; font-size: 16px; }
.btn--block { width: 100%; }
.btn .arr { font-size: 16px; }

/* ==================== Cards ====================== */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.card__pad { padding: 22px; }

.section-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 14px;
  letter-spacing: 0.04em;
}
.section-title small {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3);
  margin-left: 6px;
  letter-spacing: 0;
}

/* ==================== Status pills ============= */
.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  min-width: 70px;
  border: 1.5px solid transparent;
  font-family: var(--font-sans);
}
.status--done {
  background: #fff;
  color: var(--navy);
  border-color: var(--navy);
}
.status--watching {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.status--new {
  background: #fff;
  color: var(--mute);
  border-color: var(--line-2);
}

/* ==================== Footer =================== */
.site-footer {
  background: var(--cream);
  border-top: 1px solid var(--line);
  padding: 40px 0 32px;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-logo__title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}
.footer-logo__sub {
  display: inline-block;
  margin-top: 4px;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.3em;
  padding: 3px 12px;
  border-radius: 2px;
}
.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-2);
}
.footer-links a:hover { color: var(--orange); }
.footer-meta {
  font-size: 12px;
  color: var(--ink-3);
  text-align: right;
  line-height: 1.8;
}

/* ==================== Page nav (between pages) === */
.crumbs {
  font-size: 13px;
  color: var(--ink-3);
  padding: 18px 0 6px;
}
.crumbs a:hover { color: var(--orange); }
.crumbs .sep { margin: 0 8px; opacity: 0.5; }

/* =========================================================
   Home-specific layout
   ========================================================= */
.home-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 12px 0 40px;
  align-items: start;
}

/* Now-watching slim bar (between hero image and hero CTA) */
.now-watching {
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.now-watching__link {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 0;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.03em;
  transition: opacity 0.15s;
}
.now-watching__link:hover { opacity: 0.85; }
.now-watching__icon {
  display: grid; place-items: center;
  width: 24px; height: 24px;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(232,90,31,0.4);
}
.now-watching__label {
  font-family: var(--font-serif);
  font-weight: 700;
  opacity: 0.85;
  flex-shrink: 0;
}
.now-watching__title {
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.now-watching__arrow {
  margin-left: auto;
  opacity: 0.6;
  font-family: var(--font-serif);
  flex-shrink: 0;
}

/* Free / Locked badges (replace status pills) */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  min-width: 78px;
  border: 1.5px solid transparent;
  font-family: var(--font-sans);
}
.badge--free {
  background: #fff;
  color: var(--orange);
  border-color: var(--orange);
}
.badge--locked {
  background: var(--paper-warm);
  color: var(--ink-3);
  border-color: var(--line-2);
}

/* Currently-playing row highlight */
.lecture-row.is-current {
  background: linear-gradient(90deg, rgba(232,90,31,0.10), rgba(232,90,31,0));
  position: relative;
}
.lecture-row.is-current::before {
  content: "";
  position: absolute; left: 0; top: 8px; bottom: 8px;
  width: 3px;
  background: var(--orange);
  border-radius: 2px;
}
.lecture-row.is-current .lecture-row__vol { color: var(--orange); }
.lecture-row.is-current .lecture-row__title { font-weight: 700; }

/* Coming-soon placeholder (Vol.2+) */
.video-shell--coming {
  background: linear-gradient(135deg, #1a2e4a 0%, #2a3f5f 100%);
  color: #fff;
}
.video-shell__coming {
  text-align: center;
  padding: 20px 24px;
}
.video-shell__coming-pill {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.video-shell__coming-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 10px;
  color: #fff;
}
.video-shell__coming-sub {
  font-size: 13px;
  opacity: 0.7;
  letter-spacing: 0.04em;
}

/* Sidebar (left) */
.side {
  display: flex; flex-direction: column; gap: 16px;
}
.side-user {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 18px 18px;
  display: flex; align-items: center; gap: 12px;
}
.side-user__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700; font-size: 14px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.side-user__name { font-size: 14px; font-weight: 700; line-height: 1.4; }
.side-user__sub { font-size: 11px; opacity: 0.75; letter-spacing: 0.08em; margin-top: 2px; }

.side-nav {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 8px 0;
  overflow: hidden;
}
.side-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s;
  border-left: 3px solid transparent;
}
.side-nav a svg { width: 18px; height: 18px; opacity: 0.9; flex-shrink: 0; }
.side-nav a:hover { background: var(--navy-soft); }
.side-nav a.active {
  background: var(--navy-deep);
  border-left-color: var(--orange);
  font-weight: 700;
}

/* Steps card */
.steps-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.steps-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: 15px; font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.08em;
  padding-left: 10px;
  border-left: 4px solid var(--navy);
}
.step {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}
.step:last-child { border-bottom: 0; }
.step__num {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--orange);
  color: var(--orange);
  font-weight: 700;
  font-size: 12px;
  display: grid; place-items: center;
  margin-top: 2px;
}
.step__title { font-weight: 700; font-size: 13px; color: var(--ink); line-height: 1.4; }
.step__desc { font-size: 11px; color: var(--ink-3); margin-top: 2px; line-height: 1.5; }

/* Consult card (left) */
.consult-card {
  background: var(--paper-warm);
  border: 1px solid var(--orange-line);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
  position: relative;
}
.consult-card__eyebrow {
  font-size: 11px;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.consult-card__title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 10px;
}
.consult-card__title em {
  font-style: normal;
  background: linear-gradient(transparent 60%, rgba(232, 90, 31, 0.25) 60%);
}
.consult-card__desc {
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.7;
  text-align: left;
  margin: 12px 0;
}
.consult-illust {
  width: 100%;
  height: 110px;
  background: #fff;
  border-radius: 8px;
  margin: 12px 0;
  display: grid; place-items: center;
  color: var(--mute);
  font-size: 11px;
  letter-spacing: 0.15em;
  position: relative;
  overflow: hidden;
}
.consult-illust svg { width: 100%; height: 100%; }
.consult-card .btn { width: 100%; padding: 10px; font-size: 13px; }

/* Main column */
.main-col { display: flex; flex-direction: column; gap: 28px; }

.video-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.video-card__head {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--ink);
  font-size: 16px;
  letter-spacing: 0.06em;
}
.video-shell {
  background: linear-gradient(135deg, #d8dbe2, #c0c4cd);
  aspect-ratio: 16/9;
  position: relative;
  display: grid; place-items: center;
}
.video-shell--embed { background: #000; }
.video-shell__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.video-shell__inner {
  text-align: center;
  color: var(--navy);
}
.video-shell__eyebrow {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--ink-2);
  margin-bottom: 12px;
  letter-spacing: 0.08em;
}
.video-shell__title {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.video-shell__title small {
  color: var(--orange);
}
.video-shell__book {
  width: 44px; height: 44px;
  color: var(--navy);
}
.video-shell__play {
  position: absolute;
  inset: 0;
  display: grid; place-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: background 0.2s;
}
.video-shell__play:hover { background: rgba(255,255,255,0.08); }
.video-shell__play-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(232,90,31,0.45);
  transition: transform 0.18s;
  opacity: 0;
}
.video-shell__play:hover .video-shell__play-icon { opacity: 1; transform: scale(1.06); }
.video-bar {
  background: #1a1a1a;
  color: #fff;
  padding: 8px 14px;
  display: flex; align-items: center; gap: 12px;
  font-size: 12px;
}
.video-bar__play {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  background: transparent; border: 0; color: #fff; padding: 0;
  cursor: pointer;
}
.video-bar__time { font-variant-numeric: tabular-nums; opacity: 0.9; }
.video-bar__track {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.video-bar__fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 0%;
  background: var(--orange);
  border-radius: 2px;
}
.video-bar__icons { display: flex; gap: 10px; opacity: 0.85; }

/* Lecture list */
.lecture-list {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.lecture-list__head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-left: 12px;
  border-left: 4px solid var(--navy);
  margin-bottom: 14px;
}
.lecture-list__head h2 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.06em;
}
.lecture-list__head span {
  font-size: 13px; color: var(--ink-3);
}
.lecture-row {
  display: grid;
  grid-template-columns: 50px 28px 1fr 70px;
  align-items: center;
  gap: 14px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
  transition: background 0.15s;
  cursor: pointer;
  text-decoration: none;
}
.lecture-row:last-child { border-bottom: 0; }
.lecture-row:hover { background: var(--paper-warm); }
.lecture-row__vol {
  color: var(--orange);
  font-weight: 700;
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: 0.04em;
}
.lecture-row__icon {
  color: var(--navy);
  display: grid; place-items: center;
}
.lecture-row__icon svg { width: 22px; height: 22px; }
.lecture-row__title {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
.lecture-row__time {
  font-size: 13px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.lecture-list__cta {
  display: flex; justify-content: center;
  padding-top: 18px;
}

/* Right column */
.right-col { display: flex; flex-direction: column; gap: 16px; }

.progress-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.progress-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  padding-left: 10px;
  border-left: 4px solid var(--navy);
  letter-spacing: 0.06em;
}
.progress-ring {
  width: 140px; height: 140px;
  margin: 8px auto 4px;
  position: relative;
}
.progress-ring svg { transform: rotate(-90deg); }
.progress-ring__pct {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-family: var(--font-serif);
}
.progress-ring__num {
  font-size: 38px; font-weight: 700; color: var(--ink);
  line-height: 1;
}
.progress-ring__num small { font-size: 18px; color: var(--orange); margin-left: 2px; }
.progress-card__caption {
  text-align: center;
  color: var(--ink-3);
  font-size: 13px;
  margin: 6px 0 0;
}

/* Hint card */
.hint-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.hint-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 14px; font-weight: 700;
  padding-left: 10px;
  border-left: 4px solid var(--navy);
  letter-spacing: 0.06em;
}
.hint-card__title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
  margin: 8px 0;
}
.hint-card__title em {
  font-style: normal;
  background: linear-gradient(transparent 65%, rgba(255, 220, 80, 0.6) 65%);
}
.hint-card__desc {
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: 10px;
}
.hint-card__illust {
  height: 90px;
  background: var(--paper-warm);
  border-radius: 8px;
  display: grid; place-items: center;
  color: var(--mute);
  font-size: 10px;
  letter-spacing: 0.15em;
}

/* Templates card */
.tpl-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.tpl-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 14px; font-weight: 700;
  padding-left: 10px;
  border-left: 4px solid var(--navy);
}
.tpl-card__row {
  display: flex; align-items: center; gap: 12px;
  margin: 10px 0 12px;
}
.tpl-card__row svg { width: 36px; height: 36px; color: var(--orange); flex-shrink: 0; }
.tpl-card__title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}
.tpl-card__desc { font-size: 11px; color: var(--ink-3); line-height: 1.5; }
.tpl-card .btn { width: 100%; padding: 8px; font-size: 12px; }

/* News card */
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.news-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: 14px; font-weight: 700;
  padding-left: 10px;
  border-left: 4px solid var(--navy);
}
.news-row { padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 12px; }
.news-row:last-of-type { border-bottom: 0; }
.news-row__date { color: var(--orange); font-weight: 700; font-size: 11px; }
.news-row__title { color: var(--ink-2); margin-top: 2px; }
.news-card .btn { width: 100%; padding: 7px; font-size: 12px; margin-top: 8px; }

/* Can-do section */
.candos {
  padding: 56px 0 32px;
  text-align: center;
}
.candos__title {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 36px;
  letter-spacing: 0.05em;
  position: relative;
  display: inline-block;
}
.candos__title::before, .candos__title::after {
  content: "";
  width: 50px; height: 1px;
  background: var(--ink);
  display: inline-block;
  vertical-align: middle;
  margin: 0 18px;
}
.candos__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 880px;
  margin: 0 auto;
}
.cando {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 18px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cando:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cando__icon {
  width: 48px; height: 48px;
  color: var(--orange);
  margin: 0 auto 12px;
}
.cando__title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 12px;
  color: var(--ink);
}
.cando__desc {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.7;
}

/* CTA band（ボトム） */
.cta-band {
  background: var(--paper-warm);
  border: 1px solid var(--orange-line);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  margin: 24px 0 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  position: relative;
}
.cta-band__copy { display: flex; flex-direction: column; }
.cta-band__pill {
  align-self: flex-start;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.cta-band__title {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--ink);
  letter-spacing: 0.03em;
}
.cta-band__sub {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.8;
  margin: 0 0 14px;
}
.cta-band__limit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--orange-line);
  border-radius: 999px;
  padding: 6px 16px 6px 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
}
.cta-band__limit-pill {
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 3px 10px;
  border-radius: 999px;
}
.cta-band__limit strong {
  color: var(--orange);
  font-family: var(--font-serif);
  font-size: 17px;
  margin: 0 3px;
}
.cta-band__right { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }

/* =================== Final CTA（ボトム・読み込み型） =================== */
.final-cta {
  background: linear-gradient(180deg, var(--paper-warm) 0%, #fff 100%);
  border: 2px solid var(--orange);
  border-radius: var(--radius-lg);
  padding: 44px 44px 40px;
  margin: 32px 0 48px;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: var(--orange);
  opacity: 0.06;
  border-radius: 50%;
}
.final-cta__lead {
  text-align: center;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
.final-cta__eyebrow {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 5px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.final-cta__headline {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
  margin: 0;
  letter-spacing: 0.03em;
}
.final-cta__headline em {
  font-style: normal;
  color: var(--orange);
  position: relative;
  padding: 0 2px;
}
.final-cta__headline em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 4px;
  background: var(--orange);
  opacity: 0.25;
  border-radius: 2px;
}

.final-cta__banner-link {
  display: block;
  max-width: 760px;
  margin: 0 auto 32px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.18s, box-shadow 0.18s;
  position: relative;
  z-index: 1;
}
.final-cta__banner-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(20,30,60,0.14);
}
.final-cta__banner { width: 100%; height: auto; display: block; }

.final-cta__body {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.final-cta__intro {
  font-size: 16px;
  color: var(--ink);
  text-align: center;
  margin: 0 0 18px;
  font-weight: 500;
}
.final-cta__pains {
  list-style: none;
  margin: 0 0 24px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.final-cta__pains li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.75;
}
.final-cta__pains li::before {
  content: "—";
  position: absolute;
  left: 0; top: 0;
  color: var(--orange);
  font-weight: 700;
}
.final-cta__pains li strong {
  color: var(--ink);
  font-weight: 700;
}

.final-cta__bridge {
  font-family: var(--font-serif);
  font-size: 18px;
  text-align: center;
  color: var(--ink);
  line-height: 1.75;
  margin: 0 0 28px;
  letter-spacing: 0.02em;
}
.final-cta__bridge strong { color: var(--orange); font-weight: 700; font-size: 1.12em; }

.final-cta__promise {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}
.final-cta__promise-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.final-cta__check {
  width: 32px; height: 32px;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.final-cta__promise-t {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 4px;
}
.final-cta__promise-t em {
  color: var(--orange);
  font-style: normal;
}
.final-cta__promise-d {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.7;
}

.final-cta__limit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1.5px solid var(--orange);
  border-radius: 999px;
  padding: 8px 18px 8px 6px;
  margin: 0 auto 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.final-cta__limit-pill {
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.14em;
  padding: 4px 12px;
  border-radius: 999px;
}
.final-cta__limit-text strong {
  color: var(--orange);
  font-family: var(--font-serif);
  font-size: 18px;
  margin: 0 3px;
}

.final-cta__btn {
  display: flex;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  justify-content: center;
  font-size: 16px;
  padding: 16px 24px;
}

.final-cta__note {
  font-family: var(--font-serif);
  text-align: center;
  font-size: 13px;
  color: var(--ink-3);
  margin: 16px 0 0;
  letter-spacing: 0.04em;
}
.final-cta__note em { color: var(--orange); font-style: normal; font-weight: 700; }

/* =================== Embedded LP（個別相談予約フォーム） =================== */
.embed-lp {
  margin: 24px 0 48px;
}
.embed-lp__heading {
  text-align: center;
  margin-bottom: 20px;
}
.embed-lp__eyebrow {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 5px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.embed-lp__title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin: 0 0 10px;
}
.embed-lp__title em {
  font-style: normal;
  color: var(--orange);
  position: relative;
  padding: 0 2px;
}
.embed-lp__title em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 4px;
  background: var(--orange);
  opacity: 0.25;
  border-radius: 2px;
}
.embed-lp__sub {
  font-size: 14px;
  color: var(--ink-3);
  margin: 0;
  line-height: 1.7;
}
.embed-lp__frame-wrap {
  background: #fff;
  border: 1px solid var(--orange-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.embed-lp__frame {
  width: 100%;
  height: 1400px;
  border: 0;
  display: block;
  background: #fff;
}
.embed-lp__fallback {
  text-align: center;
  font-size: 12px;
  color: var(--ink-3);
  margin: 14px 0 0;
}
.embed-lp__fallback a {
  color: var(--orange);
  font-weight: 700;
  text-decoration: underline;
}

/* ==================== Responsive ===================== */
@media (max-width: 1100px) {
  .home-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .cta-band { grid-template-columns: 1fr; padding: 28px 22px; text-align: center; }
  .cta-band__right { align-items: center; }
  .cta-band__pill, .cta-band__limit { align-self: center; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
  .footer-meta { text-align: left; }
}
@media (max-width: 760px) {
  .home-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* =============== Mobile (≤ 480px) =============== */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  /* Hero CTA */
  .hero-cta { padding: 16px 0 24px; }
  .hero-cta__body { padding: 18px 18px 20px; }
  .hero-cta__title { font-size: 22px; }
  .hero-cta__desc { font-size: 12px; margin-bottom: 14px; }
  .hero-cta__limit {
    font-size: 12px;
    padding: 5px 12px 5px 5px;
    margin-bottom: 12px;
    flex-wrap: wrap;
    justify-content: center;
    line-height: 1.6;
  }
  .hero-cta__limit-text strong { font-size: 16px; }
  .hero-cta__btn { min-width: 0; width: 100%; }

  /* Feature stripe — 3アイコン横並び維持・内部を縦組 */
  .fs-item {
    flex-direction: column;
    padding: 14px 6px;
    gap: 8px;
    text-align: center;
  }
  .fs-item__icon { width: 28px; height: 28px; }
  .fs-item__icon svg { width: 28px; height: 28px; }
  .fs-item__title { font-size: 12px; line-height: 1.3; }
  .fs-item__desc { font-size: 10px; line-height: 1.45; }

  /* Layout grid */
  .home-grid { gap: 14px; padding-top: 12px; padding-bottom: 16px; }

  /* Card spacing */
  .progress-card { padding: 18px 16px; }

  /* Video card */
  .video-card__head { padding: 12px 16px; font-size: 14px; }
  .video-shell__eyebrow { font-size: 13px; margin-bottom: 8px; }
  .video-shell__title { font-size: 22px; gap: 8px; }
  .video-shell__book { width: 30px; height: 30px; }
  .video-shell__play-icon { width: 52px; height: 52px; opacity: 1; }
  .video-bar { padding: 7px 12px; font-size: 11px; gap: 10px; }

  /* Lecture list */
  .lecture-list { padding: 16px 14px; }
  .lecture-list__head h2 { font-size: 17px; }
  .lecture-row {
    grid-template-columns: 52px 1fr auto;
    grid-template-rows: auto;
    grid-template-areas: "vol title time";
    column-gap: 10px;
    padding: 12px 2px;
  }
  .lecture-row__vol { grid-area: vol; align-self: center; }
  .lecture-row__icon { display: none; }
  .lecture-row__title { grid-area: title; font-size: 14px; line-height: 1.4; }
  .lecture-row__time { grid-area: time; text-align: right; font-size: 12px; }

  .progress-card h3 { font-size: 14px; }

  /* Candos — 2x2 維持で小型化 */
  .candos { padding: 28px 0 20px; }
  .candos__title { font-size: 18px; margin-bottom: 18px; letter-spacing: 0.02em; }
  .candos__title::before, .candos__title::after { width: 16px; margin: 0 8px; }
  .candos__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cando { padding: 16px 10px; }
  .cando__icon { width: 32px; height: 32px; margin-bottom: 8px; }
  .cando__title { font-size: 12px; line-height: 1.4; margin-bottom: 6px; }
  .cando__desc { font-size: 11px; line-height: 1.55; }

  /* Final CTA（ボトム・読み込み型） */
  .final-cta {
    padding: 28px 18px 28px;
    margin: 20px 0 28px;
    border-width: 1.5px;
  }
  .final-cta__lead { margin-bottom: 20px; }
  .final-cta__eyebrow { font-size: 11px; padding: 4px 12px; margin-bottom: 12px; }
  .final-cta__headline { font-size: 22px; line-height: 1.5; }
  .final-cta__banner-link { margin: 0 0 24px; }
  .final-cta__intro { font-size: 14px; margin-bottom: 14px; }
  .final-cta__pains {
    padding: 16px 16px 16px 18px;
    gap: 10px;
    border-left-width: 3px;
    margin-bottom: 20px;
  }
  .final-cta__pains li { font-size: 13px; padding-left: 20px; line-height: 1.7; }
  .final-cta__bridge {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 22px;
  }
  .final-cta__promise { gap: 10px; margin-bottom: 22px; }
  .final-cta__promise-item {
    grid-template-columns: 28px 1fr;
    gap: 10px;
    padding: 12px 14px;
  }
  .final-cta__check { width: 26px; height: 26px; font-size: 13px; }
  .final-cta__promise-t { font-size: 13px; line-height: 1.45; }
  .final-cta__promise-d { font-size: 12px; line-height: 1.65; }
  .final-cta__limit {
    font-size: 12px;
    padding: 5px 12px 5px 5px;
    flex-wrap: wrap;
    justify-content: center;
    line-height: 1.5;
    margin-bottom: 14px;
  }
  .final-cta__limit-text strong { font-size: 16px; }
  .final-cta__btn { font-size: 15px; padding: 14px 20px; max-width: none; }
  .final-cta__note { font-size: 12px; line-height: 1.65; margin-top: 14px; }

  /* Embedded LP（スマホ） */
  .embed-lp { margin: 16px 0 32px; }
  .embed-lp__heading { margin-bottom: 14px; }
  .embed-lp__eyebrow { font-size: 11px; padding: 4px 12px; margin-bottom: 10px; }
  .embed-lp__title { font-size: 20px; }
  .embed-lp__sub { font-size: 12px; }
  .embed-lp__frame-wrap { border-radius: var(--radius); }
  .embed-lp__frame { height: 1700px; }
  .embed-lp__fallback { font-size: 11px; margin-top: 10px; }

  /* Footer */
  .footer-logo__title { font-size: 16px; }
  .footer-links { flex-wrap: wrap; gap: 12px; }
  .footer-meta { font-size: 11px; line-height: 1.6; }
}

/* =========================================================
   VOICE — Discord 実績報告部屋の感想カード
   ========================================================= */
.voice {
  background: var(--paper-warm);
  padding: 64px 0 72px;
  border-top: 1px solid var(--line);
}
.voice__container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
.voice__head {
  text-align: center;
  margin-bottom: 36px;
}
.voice__eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: var(--navy);
  background: var(--paper);
  border: 1px solid var(--line-2);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.voice__title {
  font-size: 28px;
  margin: 0 0 14px;
}
.voice__lead {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.85;
  margin: 0 auto 28px;
  max-width: 640px;
}
.voice__stats {
  display: inline-flex;
  gap: 18px;
  background: #fff;
  padding: 16px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.voice__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 110px;
}
.voice__stat-num {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.voice__stat-label {
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.voice__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.voice-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 22px 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.voice-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-2);
}
.voice-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.voice-card__avatar {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.voice-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.voice-card__avatar-fallback {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
}
.voice-card__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.voice-card__name {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.voice-card__date {
  font-size: 11px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}
.voice-card__body {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-2);
  letter-spacing: 0.01em;
  white-space: normal;
  word-break: break-word;
  position: relative;
  padding-left: 14px;
  border-left: 3px solid var(--paper);
}
.voice-card__empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--ink-3);
  font-size: 13px;
  padding: 24px 0;
}

/* Tablet */
@media (max-width: 900px) {
  .voice {
    padding: 48px 0 56px;
  }
  .voice__title { font-size: 24px; }
  .voice__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .voice {
    padding: 36px 0 44px;
  }
  .voice__eyebrow {
    font-size: 10px;
    letter-spacing: 0.28em;
    padding: 4px 12px;
  }
  .voice__title {
    font-size: 21px;
  }
  .voice__lead {
    font-size: 13px;
    line-height: 1.8;
    padding: 0 4px;
  }
  .voice__stats {
    gap: 12px;
    padding: 12px 16px;
  }
  .voice__stat { min-width: 88px; }
  .voice__stat-num { font-size: 24px; }
  .voice__stat-label { font-size: 10px; }

  .voice-card {
    padding: 16px 18px 18px;
    border-radius: 10px;
    gap: 12px;
  }
  .voice-card__avatar {
    width: 38px;
    height: 38px;
  }
  .voice-card__name { font-size: 13px; }
  .voice-card__date { font-size: 10px; }
  .voice-card__body {
    font-size: 13.5px;
    line-height: 1.85;
    padding-left: 11px;
  }
}
