/* ============================================
   SNS・AI・キャリア 個別相談会 LP
   White + Navy + minimal Red
   ============================================ */

:root {
  --navy: #0f2748;
  --navy-2: #16315a;
  --navy-soft: #1f3a6b;
  --red: #c8102e;
  --ink: #1a1f2e;
  --ink-2: #4a5468;
  --ink-3: #7a8497;
  --line: #d8dde6;
  --line-2: #e7eaf0;
  --bg: #ffffff;
  --bg-soft: #f6f7fa;
  --grid: rgba(15, 39, 72, 0.06);
  --photo-bg: #c9ccd2;
  --photo-fg: #ffffff;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Sans JP", "游ゴシック", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
}

/* Subtle grid background */
.page {
  position: relative;
  background-color: #ffffff;
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: -1px -1px;
}

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Headings — Noto Serif JP bold mincho */
.serif {
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "游明朝", "Yu Mincho", serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

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

/* ============================================
   FV / Hero
   ============================================ */
.fv {
  padding: 28px 0 40px;
}
.fv-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.fv-eyebrow {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--navy);
  font-weight: 500;
  margin: 0 0 10px;
}

.fv-title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: clamp(30px, 8.4vw, 56px);
  line-height: 1.18;
  color: var(--navy);
  letter-spacing: 0.005em;
  margin: 0 0 14px;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.fv-tagline {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 4.6vw, 24px);
  color: var(--navy);
  margin: 0 0 6px;
  line-height: 1.5;
  letter-spacing: 0.04em;
}
.fv-tagline strong { color: var(--red); font-weight: 900; }

.fv-record {
  margin: 14px 0 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: var(--navy);
  letter-spacing: 0.08em;
}

.fv-lead {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 600;
  font-size: clamp(16px, 4.2vw, 20px);
  color: var(--ink);
  margin: 0 0 16px;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.fv-period {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--navy);
  border-left: 4px solid var(--red);
  background: #fff;
  padding: 10px 14px;
  margin: 0 0 18px;
  font-family: "Noto Sans JP", sans-serif;
}
.fv-period-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--red);
  flex: 0 0 auto;
  border-right: 1px solid var(--line);
  padding-right: 12px;
  line-height: 1.3;
}
.fv-period-body {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.fv-period-body small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-2);
  margin-top: 2px;
  letter-spacing: 0.04em;
}

.fv-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}
.fv-badge {
  border: 1.5px solid var(--navy);
  color: var(--navy);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 8px 18px;
  border-radius: 999px;
  background: #fff;
}

.fv-desc {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.85;
  margin: 0 0 22px;
}

.fv-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--photo-bg);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border: 1px solid var(--line);
}
.fv-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}
.fv-photo-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--navy);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 6px 12px;
  z-index: 2;
}
.fv-photo-quote {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 20px 18px 22px;
  width: 100%;
  background: linear-gradient(to top, rgba(15,39,72,0.78) 30%, rgba(15,39,72,0));
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: clamp(16px, 4.2vw, 22px);
  line-height: 1.55;
  text-align: center;
  letter-spacing: 0.04em;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 16px 22px;
  min-height: 56px;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}
.btn-primary {
  background: var(--navy);
  color: #fff;
  width: 100%;
}
.btn-primary:hover { background: var(--navy-2); }
.btn-primary .btn-icon { color: #fff; }
.btn-primary .btn-arrow { margin-left: auto; }

.btn-cta-red {
  background: var(--red);
  color: #fff;
}
.btn-cta-red:hover { background: #a30c25; }

.btn-outline {
  background: #fff;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.btn-icon {
  width: 22px; height: 22px;
  flex: 0 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-arrow {
  width: 18px; height: 18px;
  flex: 0 0 18px;
}

/* ============================================
   Section base
   ============================================ */
.section {
  padding: 56px 0 12px;
}

.point-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 28px;
}

.point-badge {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  background: var(--navy);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 6px 10px;
  position: relative;
  font-family: "Noto Serif JP", serif;
}
.point-badge::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 14px 14px 0;
  border-color: transparent var(--red) transparent transparent;
}
.point-badge .pt-label {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  margin-bottom: 2px;
}
.point-badge .pt-num {
  font-family: "Noto Serif JP", serif;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
}

.section-title {
  flex: 1 1 auto;
  min-width: 0;
  font-family: "Noto Serif JP", serif;
  font-weight: 900;
  font-size: clamp(20px, 5.4vw, 30px);
  color: var(--navy);
  margin: 0;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  overflow: hidden;
}
.section-title-text {
  flex: 0 1 auto;
  white-space: nowrap;
}
.section-title::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--navy);
  min-width: 16px;
}
.section-title .accent { color: var(--red); font-size: 1.2em; padding: 0 0.06em; }

/* ============================================
   01 こんな方へ
   ============================================ */
.checklist {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.55;
}
.check-icon {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: var(--navy);
}

.photo-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 8px;
}
@media (min-width: 480px) {
  .photo-pair { grid-template-columns: 1fr 1fr; gap: 12px; }
}
.photo-card {
  position: relative;
  background: var(--photo-bg);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.photo-card .photo-area {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--photo-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
  overflow: hidden;
}
.photo-card .photo-area.has-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--navy);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 5px 9px;
  z-index: 2;
  max-width: calc(100% - 16px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}
.photo-placeholder-icon {
  width: 36%;
  max-width: 70px;
  opacity: 0.85;
}
.photo-placeholder-text {
  position: absolute;
  bottom: 12%;
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
}
.photo-card .photo-caption {
  background: #fff;
  padding: 12px 12px 14px;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--navy);
  line-height: 1.5;
  border-top: 1px solid var(--line);
}

/* ============================================
   02 3つのこと
   ============================================ */
.three-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 16px;
  position: relative;
}
.three-card {
  border: 1px solid var(--line);
  background: #fff;
  padding: 22px 18px 24px;
  text-align: center;
  position: relative;
}
.three-num {
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 12px;
  color: var(--navy);
  letter-spacing: 0.16em;
  border: 1px solid var(--navy);
  padding: 3px 10px;
  display: inline-block;
  margin-bottom: 16px;
}
.three-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  color: var(--navy);
}
.three-icon svg { width: 100%; height: 100%; }
.three-title {
  font-family: "Noto Serif JP", serif;
  font-weight: 900;
  color: var(--navy);
  font-size: 18px;
  margin: 0 0 10px;
}
.three-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-2);
}

.lecture-card {
  margin-top: 14px;
  position: relative;
  background: var(--photo-bg);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  overflow: hidden;
}
@media (min-width: 720px) {
  .lecture-card { aspect-ratio: 16 / 9; }
}
.lecture-card.has-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lecture-card.has-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,39,72,0.55) 0%, rgba(15,39,72,0.05) 50%);
  z-index: 1;
}
.lecture-card .lecture-text {
  position: absolute;
  bottom: 14px;
  left: 16px;
  right: 16px;
  z-index: 2;
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.lecture-card .photo-tag { z-index: 3; }

/* ============================================
   03 Profile
   ============================================ */
.profile {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.profile-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 320px;
  background: var(--photo-bg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.profile-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 22%;
}
.profile-photo .photo-tag { z-index: 2; }

.profile-name {
  font-family: "Noto Serif JP", serif;
  font-weight: 900;
  color: var(--navy);
  font-size: clamp(28px, 7vw, 36px);
  margin: 4px 0 16px;
  letter-spacing: 0.06em;
}
.profile-name .role {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: 0.08em;
  display: block;
  margin-top: 6px;
}

.profile-bullets {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.profile-bullets li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.profile-bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 10px; height: 10px;
  background: var(--navy);
}

.profile-desc {
  font-size: 13px;
  line-height: 1.85;
  color: var(--ink-2);
  margin: 0 0 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.profile-feats {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feat-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: flex-start;
}
.feat-icon {
  width: 56px; height: 56px;
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}
.feat-icon svg { width: 32px; height: 32px; }
.feat-title {
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  margin: 4px 0 4px;
}
.feat-desc {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.7;
}

/* ============================================
   04 当日の流れ
   ============================================ */
.flow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
  position: relative;
}
.flow-card {
  border: 1px solid var(--line);
  background: #fff;
  padding: 18px 14px 18px;
  text-align: center;
  position: relative;
}
.flow-step {
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 11px;
  color: var(--navy);
  letter-spacing: 0.16em;
  margin-bottom: 12px;
}
.flow-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 10px;
  color: var(--navy);
}
.flow-icon svg { width: 100%; height: 100%; }
.flow-title {
  font-family: "Noto Serif JP", serif;
  font-weight: 900;
  color: var(--navy);
  font-size: 14px;
  margin: 0 0 8px;
}
.flow-desc {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}

/* ============================================
   05 開催概要
   ============================================ */
.summary-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  background: #fff;
  margin-bottom: 18px;
  font-size: 13.5px;
}
.summary-table th, .summary-table td {
  padding: 14px 14px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--line);
}
.summary-table tr:last-child th,
.summary-table tr:last-child td { border-bottom: none; }
.summary-table th {
  width: 92px;
  background: var(--bg-soft);
  font-weight: 700;
  color: var(--navy);
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.04em;
  border-right: 1px solid var(--line);
}
.summary-table td .free { color: var(--red); font-weight: 700; }

.note-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: var(--ink-2);
  margin: 16px 0 0;
  line-height: 1.7;
}
.note-row .note-mark {
  flex: 0 0 auto;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   06 FAQ
   ============================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.faq-item {
  border: 1px solid var(--line);
  background: #fff;
  padding: 14px 16px;
}
.faq-q {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--navy);
  font-family: "Noto Serif JP", serif;
}
.faq-q .qa-mark {
  flex: 0 0 22px;
  width: 22px; height: 22px;
  border: 1px solid var(--navy);
  color: var(--navy);
  font-family: "Noto Serif JP", serif;
  font-weight: 900;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.faq-a {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.75;
  padding-left: 0;
}
.faq-a .qa-mark {
  flex: 0 0 22px;
  width: 22px; height: 22px;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  font-family: "Noto Serif JP", serif;
}

/* ============================================
   07 Final CTA
   ============================================ */
.final {
  padding: 36px 0 56px;
  text-align: left;
}
.final-title {
  font-family: "Noto Serif JP", serif;
  font-weight: 900;
  font-size: clamp(24px, 6.4vw, 34px);
  color: var(--navy);
  line-height: 1.45;
  margin: 8px 0 12px;
  text-align: center;
}
.final-title .num {
  color: var(--red);
  font-size: 1.25em;
  margin: 0 4px;
}
.final-sub {
  font-size: 13px;
  color: var(--ink-2);
  text-align: center;
  margin: 0 0 28px;
  line-height: 1.8;
}

.benefits-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0 0 22px;
}
.benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 6px;
  border: 1px solid var(--line);
  background: #fff;
  text-align: center;
}
.benefit-icon {
  width: 32px; height: 32px;
  color: var(--navy);
}
.benefit-label {
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 12px;
  color: var(--navy);
  letter-spacing: 0.06em;
}
.benefit-label .red { color: var(--red); }

.final-cta-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.final-note {
  text-align: center;
  font-size: 11px;
  color: var(--ink-3);
  margin: 12px 0 0;
  letter-spacing: 0.04em;
}

.btn-sub {
  background: #fff;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 36px;
  background: var(--bg-soft);
}
.footer-inner {
  font-size: 11px;
  color: var(--ink-3);
  text-align: center;
  letter-spacing: 0.04em;
}
.footer-brand {
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  color: var(--navy);
  font-size: 14px;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

/* ============================================
   Tablet+ responsive
   ============================================ */
@media (min-width: 720px) {
  .container { padding: 0 32px; }
  .section { padding: 72px 0 12px; }

  /* Hero side-by-side */
  .fv-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
  }
  .fv-photo {
    aspect-ratio: 4 / 5;
    height: auto;
    min-height: 0;
    align-self: center;
    width: 100%;
  }
  .fv-text {
    align-self: center;
    min-width: 0;
  }

  /* 02 Three-card grid */
  .three-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
  }
  .three-card { padding: 24px 18px 26px; }
  .three-card:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -14px;
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--navy);
    border-right: 2px solid var(--navy);
    transform: translateY(-50%) rotate(45deg);
    z-index: 2;
    background: transparent;
  }

  /* 03 Profile */
  .profile {
    grid-template-columns: 280px 1fr;
    gap: 28px;
  }
  .profile-photo { max-width: none; }

  /* 04 Flow */
  .flow-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }

  /* 06 FAQ */
  .faq-q { font-size: 14.5px; }
  .faq-a { font-size: 13.5px; }

  /* 07 Final */
  .benefits-row { gap: 14px; }
  .final-cta-stack {
    flex-direction: row;
    justify-content: center;
    gap: 14px;
  }
  .final-cta-stack .btn { width: auto; min-width: 240px; padding: 18px 32px; }

  .footer { padding: 32px 0 48px; }
}

@media (min-width: 960px) {
  .container { max-width: 980px; }
  .fv-title { font-size: 64px; }
  .fv-grid { gap: 56px; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .section-title { font-size: 32px; }
}

/* ============================================
   Calendar (07 CTA)
   ============================================ */
.cta-period {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--navy);
  border-left: 4px solid var(--red);
  background: #fff;
  padding: 14px 18px;
  margin: 0 0 22px;
}
.cta-period-label {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--red);
  border-right: 1px solid var(--line);
  padding-right: 14px;
  line-height: 1.3;
}
.cta-period-body {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}
.cta-period-body small {
  display: block;
  font-weight: 500;
  font-size: 11.5px;
  color: var(--ink-2);
  margin-top: 3px;
}

.calendar {
  border: 1px solid var(--line);
  background: #fff;
  margin-top: 10px;
}
.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.calendar-month {
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  letter-spacing: 0.04em;
}
.calendar-nav {
  display: flex;
  gap: 6px;
}
.calendar-nav button {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-3);
  font-size: 14px;
  cursor: not-allowed;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
.cal-dow {
  text-align: center;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-2);
  padding: 10px 0 8px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.cal-dow.sun { color: var(--red); }
.cal-dow.sat { color: #2a5fa0; }
.cal-day {
  position: relative;
  aspect-ratio: 1 / 1;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  transition: background 0.15s;
  padding: 0;
  font-family: inherit;
  border-top: none;
  border-left: none;
}
.cal-day:nth-child(7n) { border-right: none; }
.cal-day .num {
  font-weight: 600;
  font-size: 15px;
}
.cal-day .mark {
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0;
  line-height: 1;
}
.cal-day.empty {
  background: var(--bg-soft);
  cursor: default;
  color: var(--ink-3);
}
.cal-day.empty .num { color: var(--ink-3); font-weight: 400; opacity: 0.45; }
.cal-day.closed {
  background: var(--bg-soft);
  cursor: not-allowed;
  color: var(--ink-3);
}
.cal-day.closed .num { color: var(--ink-3); text-decoration: line-through; }
.cal-day.closed .mark { color: var(--ink-3); font-weight: 500; font-size: 10px; }
.cal-day.available:hover { background: #eef2f8; }
.cal-day.available .mark { color: var(--navy); }
.cal-day.selected {
  background: var(--navy);
  color: #fff;
}
.cal-day.selected .num,
.cal-day.selected .mark { color: #fff; }

.calendar-foot {
  padding: 18px 16px 20px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.cal-empty-msg {
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-2);
  padding: 12px 0;
  margin: 0;
}
.cal-selected-day {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cal-selected-day .pip {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--red);
}
.slots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.slot {
  border: 1px solid var(--line);
  background: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  padding: 10px 0;
  cursor: pointer;
  text-align: center;
  letter-spacing: 0.02em;
  transition: all 0.12s;
}
.slot:hover { background: var(--bg-soft); border-color: var(--navy); }
.slot.selected {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.cal-confirm {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cal-confirm-summary {
  font-size: 12.5px;
  color: var(--ink-2);
  text-align: center;
  margin: 0;
}
.cal-confirm-summary strong { color: var(--navy); font-weight: 700; }
.btn-book {
  background: var(--red);
  color: #fff;
  width: 100%;
}
.btn-book:disabled,
.btn-book[aria-disabled="true"] {
  background: #c5cad4;
  color: #fff;
  cursor: not-allowed;
}
.btn-book:hover:not([aria-disabled="true"]) { background: #a30c25; }

/* Ended state */
.ended-card {
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  background: #fff;
  padding: 28px 22px;
  text-align: center;
  margin: 22px 0 0;
}
.ended-card .ended-icon {
  width: 44px; height: 44px;
  margin: 0 auto 14px;
  color: var(--navy);
}
.ended-card h3 {
  font-family: "Noto Serif JP", serif;
  font-weight: 900;
  font-size: 20px;
  color: var(--navy);
  margin: 0 0 10px;
}
.ended-card p {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.85;
  margin: 0 0 18px;
}
.ended-card .ended-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  padding: 14px 24px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
}

@media (min-width: 720px) {
  .slots-grid { grid-template-columns: repeat(6, 1fr); }
  .calendar-month { font-size: 18px; }
  .cal-day .num { font-size: 17px; }
}

/* Print */
@media print {
  .page { background: #fff; }
}

/* ================================
   Seats counter (定員 → 残り)
   ================================ */
.seats-counter {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--navy);
  border-left: 4px solid var(--red);
  background: #fff5f5;
  padding: 14px 16px;
  margin: 0 0 18px;
  font-family: "Noto Sans JP", sans-serif;
  flex-wrap: wrap;
}
.seats-counter-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--red);
  flex: 0 0 auto;
  padding-right: 12px;
  border-right: 1px solid var(--line);
  line-height: 1.3;
}
.seats-counter-body {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex: 1 1 auto;
}
.seats-before {
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink-3);
  text-decoration: line-through;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.seats-arrow {
  color: var(--red);
  font-weight: 900;
  font-size: 18px;
  line-height: 1;
}
.seats-after {
  font-family: "Noto Serif JP", serif;
  font-weight: 900;
  color: var(--red);
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  white-space: nowrap;
}
.seats-after-num {
  font-size: 36px;
  line-height: 1;
}
.seats-after-unit {
  font-size: 16px;
  font-weight: 700;
}
.seats-note {
  font-size: 11px;
  color: var(--ink-2);
  margin-left: auto;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .seats-counter { gap: 10px; padding: 12px 14px; }
  .seats-after-num { font-size: 30px; }
  .seats-before { font-size: 16px; }
  .seats-note { margin-left: 0; flex-basis: 100%; }
}

/* 開催概要テーブルの定員ハイライト */
.seats-inline {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.seats-inline-before {
  text-decoration: line-through;
  color: var(--ink-3);
  font-weight: 700;
}
.seats-inline-arrow {
  color: var(--red);
  font-weight: 900;
}
.seats-inline-after {
  color: var(--red);
  font-weight: 900;
}

/* ============================================
   RESULTS - 受講生の実績
   ============================================ */
.results {
  background: var(--bg-soft);
  padding-top: 56px;
  padding-bottom: 64px;
}
.results-container {
  max-width: 1080px;
}
.results-lead {
  margin: 18px 0 28px;
  text-align: center;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.85;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px 14px;
}

.results-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  text-decoration: none;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.results-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 39, 72, 0.10);
  border-color: var(--navy-soft);
}

.results-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  background: #0b1322;
}
.results-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.results-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.62);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  padding-left: 3px;
  pointer-events: none;
  transition: background .18s ease, transform .18s ease;
}
.results-card:hover .results-play {
  background: var(--red);
  transform: translate(-50%, -50%) scale(1.06);
}
.results-duration {
  position: absolute;
  right: 6px;
  bottom: 6px;
  padding: 2px 6px;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.75);
  border-radius: 3px;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.results-title {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  font-weight: 700;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: 0.01em;
}
.results-meta {
  margin: 0;
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}

/* Coming Soon variant — 控えてる次の敵 */
.results-card--coming {
  cursor: default;
  pointer-events: none;
  border-style: dashed;
  border-color: var(--line);
  background: #ffffff;
}
.results-thumb--coming {
  background:
    radial-gradient(circle at 30% 30%, #2a3550 0%, transparent 55%),
    radial-gradient(circle at 70% 70%, #1a2238 0%, transparent 60%),
    linear-gradient(135deg, #0f2748 0%, #1f3a6b 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.coming-mark {
  font-family: "Noto Serif JP", serif;
  font-size: 56px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1;
  animation: comingPulse 2.4s ease-in-out infinite;
}
.coming-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.75);
}
.results-title--coming {
  color: var(--ink-3);
  font-weight: 600;
  font-size: 12.5px;
}
.results-meta--coming {
  color: var(--ink-3);
}

@keyframes comingPulse {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.08); }
}

/* Tablet */
@media (max-width: 1024px) {
  .results-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 14px;
  }
  .results-title {
    font-size: 13px;
  }
}

/* Mobile — 1列で大きく見せる */
@media (max-width: 640px) {
  .results {
    padding-top: 40px;
    padding-bottom: 48px;
  }
  .results-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .results-lead {
    font-size: 14px;
    margin-bottom: 22px;
  }
  .results-card {
    padding: 12px;
    border-radius: 10px;
    gap: 12px;
  }
  .results-title {
    font-size: 14.5px;
    line-height: 1.6;
    -webkit-line-clamp: 3;
  }
  .results-meta {
    font-size: 12px;
  }
  .coming-mark {
    font-size: 72px;
  }
  .coming-label {
    font-size: 11px;
    letter-spacing: 0.22em;
  }
  .results-play {
    width: 56px;
    height: 56px;
    font-size: 20px;
  }
  .results-duration {
    font-size: 12px;
    padding: 3px 7px;
    right: 8px;
    bottom: 8px;
  }
}
