/* DL式 相続コンサルタント養成 1DAY — course.dl-consultant.jp */

:root {
  --navy: #1a365d;
  --navy-deep: #0f2744;
  --navy-ink: #0a1a2e;
  --gold: #b8963e;
  --gold-soft: #f0e6d0;
  --accent: #c47a5a;
  --paper: #f7f4ef;
  --soft: #f6eee6;
  --mist: #eef2f6;
  --warm: #f3ebe3;
  --ink: #1a2332;
  --muted: #4a5568;
  --line: rgba(26, 54, 93, 0.14);
  --white: #ffffff;
  --max: 880px;
  /* メインドメイン（dl-consultant.jp）と同じ Noto Sans JP */
  --font-display: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 106.25%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-bottom: 5.75rem;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--ink);
  background: var(--mist);
}

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

a {
  color: var(--navy);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--accent);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--navy-deep);
  color: var(--white);
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* —— Layout —— */

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.1rem, 4vw, 2rem);
}

.band--paper { background: var(--paper); }
.band--soft { background: var(--soft); }
.band--mist { background: var(--mist); }
.band--warm { background: var(--warm); }
.band--navy { background: var(--navy-deep); color: var(--white); }

.section-title {
  margin: 0 0 1.1rem;
  padding-bottom: 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4.2vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.45;
  color: var(--navy);
  border-bottom: 2px solid var(--gold);
}

.section-title--on-dark {
  color: var(--white);
  border-bottom-color: rgba(184, 150, 62, 0.55);
}

/* 黒背景の見出し画像用帯 */
.section-head {
  background: #050505;
  padding: clamp(0.65rem, 2vw, 1rem) clamp(1rem, 4vw, 2rem);
}

.section-head--on-navy {
  background: #050505;
}

.section-title--apply {
  max-width: min(36rem, 100%);
}

.section-title--image {
  margin: 0 auto;
  padding: 0;
  border: 0;
  max-width: min(36rem, 100%);
}

.section-title--image img {
  width: 100%;
  height: auto;
  display: block;
  margin-inline: auto;
}

/* 2行見出し：PC/SP共通で読めるサイズ */
.section-title--method {
  max-width: min(28rem, 100%);
}

.section-lead {
  margin: 0 0 1.75rem;
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.8;
}

.prose {
  margin: 0 0 1.5rem;
}

.prose p {
  margin: 0 0 1em;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose--on-dark {
  color: rgba(255, 255, 255, 0.9);
}

.band__closing {
  margin: 1.75rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 1.02rem;
  line-height: 1.9;
}

.band__closing p {
  margin: 0 0 0.85em;
}

.band__closing p:last-child {
  margin-bottom: 0;
}

.band__cta {
  margin-top: 2rem;
  text-align: center;
}

/* —— Buttons —— */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.975rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  text-align: center;
}

.btn--primary {
  background: var(--gold);
  color: var(--navy-ink);
  border-color: var(--gold);
}

.btn--primary:hover {
  background: #c9a64a;
  color: var(--navy-ink);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.btn--on-dark {
  background: var(--gold);
  color: var(--navy-ink);
}

.btn[aria-disabled="true"] {
  cursor: default;
  opacity: 0.92;
}

.btn-img {
  display: inline-block;
  max-width: min(22rem, 100%);
  line-height: 0;
  transition: transform 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
}

.btn-img img {
  width: 100%;
  height: auto;
  display: block;
}

.btn-img:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.btn-img[aria-disabled="true"] {
  cursor: default;
  opacity: 0.95;
  pointer-events: none;
}

.btn-img[aria-disabled="true"]:hover {
  transform: none;
  filter: none;
}

.btn-img--sticky {
  flex-shrink: 0;
  max-width: 8.5rem;
}

/* —— Hero —— */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2.5rem, 7vw, 5rem) clamp(1.1rem, 4vw, 2rem) clamp(5rem, 9vw, 5.5rem);
  color: var(--white);
  overflow: hidden;
  background: var(--navy-deep);
}

.hero__stage {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: hero-stage-in 1.4s ease 0.2s forwards;
}

.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 40%;
  transform: scale(1.04);
  animation: hero-kenburns 18s ease-in-out 1.6s infinite alternate;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 26, 46, 0.72) 0%, rgba(15, 39, 68, 0.78) 45%, rgba(10, 26, 46, 0.88) 100%),
    radial-gradient(ellipse 70% 55% at 70% 25%, rgba(184, 150, 62, 0.18), transparent 55%);
}

/* メインドメイン（TCD）と同様：全面白からコンテンツが浮かび上がる */
.hero__white {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: #fff;
  pointer-events: none;
  /* 白抜き転換（線は転換中も伸び続ける） */
  animation: hero-white-out 1.35s cubic-bezier(0.55, 0.06, 0.68, 0.19) 1.5s forwards;
}

.hero__content {
  position: relative;
  z-index: 4;
  max-width: 40rem;
  text-align: center;
}

.hero__brand {
  margin: 0 auto 0.85rem;
  max-width: min(20rem, 82%);
  opacity: 0;
  /* 白抜き転換が進んでからロゴ */
  animation: hero-rise 1.05s cubic-bezier(0.55, 0.06, 0.68, 0.19) 2.25s forwards;
}

.hero__brand-img {
  width: 100%;
  height: auto;
  margin-inline: auto;
  /* 公式ロゴは濃紺のため、暗いFV上では白く表示 */
  filter: brightness(0) invert(1);
}

/* FVモチーフ：コア家系 → 転換中に世代の枝が広がる */
.hero__motif {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}

.hero__motif-svg {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(98vw, 48rem);
  height: min(88vh, 44rem);
  transform: translate(-50%, -50%);
  overflow: visible;
  animation: motif-hold-fade 0.9s ease 2.5s forwards;
}

.hero__motif-branch {
  fill: none;
  stroke-width: 0.55;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  /* コア家系：白面上でリレー（pathLength=1 で最終まで描画） */
  animation: motif-branch-draw 0.65s cubic-bezier(0.33, 0.1, 0.25, 1)
    calc(
      0.22s
      + (var(--rank) - 1) * 0.38s
      + (var(--hop) - 1) * 0.28s
      + var(--i) * 0.05s
    ) forwards;
}

/* 外側世代：コア先端に続けて途切れずリレー（待ち時間なし） */
.hero__motif-branch--pattern {
  stroke-width: 0.34;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0.88;
  filter: none;
  animation: motif-branch-draw 0.6s cubic-bezier(0.33, 0.1, 0.25, 1)
    calc(1.2s + var(--gen) * 0.32s + var(--i) * 0.04s) forwards;
}

.hero__motif-branch--pattern.hero__motif-branch--r1 {
  stroke: rgba(26, 54, 93, 0.85);
  stroke-width: 0.36;
}

.hero__motif-branch--pattern.hero__motif-branch--r2 {
  stroke: rgba(184, 150, 62, 0.88);
}

.hero__motif-branch--pattern.hero__motif-branch--r3 {
  stroke: rgba(196, 122, 90, 0.85);
  stroke-width: 0.3;
}

.hero__motif-branch--r1 {
  stroke-width: 0.7;
  stroke: rgba(26, 54, 93, 0.92);
}

.hero__motif-branch--r2 {
  stroke-width: 0.55;
  stroke: rgba(184, 150, 62, 0.95);
}

.hero__motif-branch--r3 {
  stroke-width: 0.45;
  stroke: rgba(196, 122, 90, 0.92);
}

.hero__motif-node {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0.2);
  animation: motif-node-in 0.32s cubic-bezier(0.22, 1, 0.36, 1)
    calc(
      0.55s
      + (var(--rank) - 1) * 0.38s
      + (var(--hop) - 1) * 0.28s
      + var(--i) * 0.05s
    ) forwards;
}

.hero__motif-node--pattern {
  animation: motif-node-in 0.28s cubic-bezier(0.22, 1, 0.36, 1)
    calc(1.45s + var(--gen) * 0.32s + var(--i) * 0.04s) forwards;
}

.hero__motif-node--r0 {
  fill: rgba(15, 39, 68, 0.95);
  animation-delay: 0.16s;
}

.hero__motif-node--r1 {
  fill: rgba(26, 54, 93, 0.95);
}

.hero__motif-node--r2 {
  fill: rgba(184, 150, 62, 0.95);
}

.hero__motif-node--r3 {
  fill: rgba(196, 122, 90, 0.92);
}

.hero__title {
  margin: 0 auto 1.2rem;
  max-width: min(36rem, 94%);
  opacity: 0;
  /* 家系図が薄れてからタイトルを浮かび上がらせる */
  animation: hero-rise 1.2s cubic-bezier(0.55, 0.06, 0.68, 0.19) 2.55s forwards;
}

.hero__title-img {
  width: 100%;
  height: auto;
  margin-inline: auto;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
}

.hero__lead {
  margin: 0 auto 1.25rem;
  max-width: 34rem;
  font-size: 1.02rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.92);
  opacity: 0;
  animation: hero-rise 1.05s cubic-bezier(0.55, 0.06, 0.68, 0.19) 2.85s forwards;
}

.hero__meta {
  margin: 0 auto 1.75rem;
  max-width: 34rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-display);
  opacity: 0;
  animation: hero-rise 1.05s cubic-bezier(0.55, 0.06, 0.68, 0.19) 3s forwards;
}

.hero__meta-date {
  font-size: clamp(1.15rem, 3.6vw, 1.4rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.4;
  color: #fff8e8;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

.hero__meta-place {
  font-size: clamp(0.98rem, 2.8vw, 1.12rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.45;
  color: var(--gold-soft);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.section-intro {
  margin: 0 0 1.35rem;
  font-size: 1.02rem;
  line-height: 1.9;
  color: var(--muted);
}

#pain .section-inner,
#learn .section-inner,
#cases .section-inner,
#method .section-inner,
#apply .section-inner {
  padding-top: clamp(2rem, 5vw, 3rem);
}

@media (max-width: 720px) {
  .section-head {
    padding-block: 0.55rem;
  }

  .section-title--image,
  .section-title--apply {
    max-width: min(22rem, 94%);
  }

  .section-title--method {
    max-width: min(18rem, 88%);
  }
}

.hero__br {
  display: none;
}

@media (min-width: 480px) {
  .hero__br {
    display: inline;
  }
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  opacity: 0;
  animation: hero-rise 1.05s cubic-bezier(0.55, 0.06, 0.68, 0.19) 3.15s forwards;
}

.hero__cta .btn,
.hero__cta .btn-img {
  width: 100%;
  max-width: 22rem;
}

@keyframes hero-white-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes hero-stage-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes motif-hold-fade {
  to {
    opacity: 0;
  }
}

@keyframes motif-branch-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes motif-node-in {
  to {
    opacity: 0.95;
    transform: scale(1);
  }
}

@keyframes hero-kenburns {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}

/* —— Visual strip：講師の活動 —— */

.visual-strip {
  background: var(--navy-deep);
  padding: clamp(2.25rem, 5vw, 3.25rem) clamp(1rem, 3vw, 1.5rem) clamp(2rem, 5vw, 3rem);
}

.visual-strip__head {
  max-width: 1100px;
  margin: 0 auto 1.35rem;
  text-align: center;
  color: var(--white);
}

.visual-strip__title {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-soft);
}

.visual-strip__lead {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.78);
}

.visual-strip__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  max-width: 1100px;
  margin: 0 auto;
}

.visual-strip__item {
  margin: 0;
  position: relative;
  overflow: hidden;
  min-height: 12rem;
}

.visual-strip__item img {
  width: 100%;
  height: 100%;
  min-height: 12rem;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s ease;
}

.visual-strip__item:hover img {
  transform: scale(1.04);
}

.visual-strip__item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
  padding: 1.75rem 0.85rem 0.7rem;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: var(--white);
  background: linear-gradient(transparent, rgba(10, 26, 46, 0.85));
}

.visual-strip__caption {
  font-weight: 500;
}

.visual-strip__more {
  color: var(--gold-soft);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.visual-strip__more:hover {
  color: #fff;
}

@media (min-width: 720px) {
  .visual-strip__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.9rem;
  }

  .visual-strip__item,
  .visual-strip__item img {
    min-height: 15.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .visual-strip__item img {
    transition: none;
  }

  .visual-strip__item:hover img {
    transform: none;
  }
}

/* —— Lists —— */

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

.check-list li {
  position: relative;
  margin: 0;
  padding: 0.95rem 0 0.95rem 2.15rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.02rem;
}

.check-list li:first-child {
  border-top: 1px solid var(--line);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 1.2rem;
  height: 1.2rem;
  background: url("../images/ornament-check.png") center / contain no-repeat;
}

.learn-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: learn;
}

.learn-list__item {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 1rem 1.15rem;
  margin: 0;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.learn-list__item:first-child {
  border-top: 1px solid var(--line);
}

.learn-list__num {
  display: block;
  width: 3.25rem;
  flex-shrink: 0;
  padding-top: 0.1rem;
  line-height: 0;
}

.learn-list__num img {
  width: 100%;
  height: auto;
  display: block;
}

.learn-list__body h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.learn-list__body p {
  margin: 0 0 0.65em;
  color: var(--muted);
  font-size: 0.98rem;
}

.learn-list__body p:last-child {
  margin-bottom: 0;
}

.step-list {
  margin: 0 0 0.5rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.step-list li {
  display: grid;
  grid-template-columns: 4.25rem 1fr;
  gap: 0.85rem 1.1rem;
  align-items: center;
  margin: 0;
  padding: 0.95rem 1.1rem;
  font-size: 1.02rem;
  background: #0a0a0a;
  border: 1px solid rgba(184, 150, 62, 0.35);
  border-left: 3px solid var(--gold);
}

.step-list__num {
  display: block;
  width: 4.25rem;
  line-height: 0;
}

.step-list__num img {
  width: 100%;
  height: auto;
  display: block;
}

.step-list__text {
  display: block;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

/* —— Cases —— */

.case-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 1.75rem;
}

.case-item {
  margin: 0;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.case-item:first-child {
  border-top: 1px solid var(--line);
}

.case-item h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.04em;
}

.case-item h3::before {
  content: "";
  display: inline-block;
  width: 1.1rem;
  height: 1.1rem;
  margin-right: 0.5rem;
  background: url("../images/ornament-diamond.png") center / contain no-repeat;
  vertical-align: -0.12em;
}

.case-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

@media (min-width: 720px) {
  .case-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0 2rem;
  }

  .case-item:nth-child(1),
  .case-item:nth-child(2) {
    border-top: 1px solid var(--line);
  }
}

/* —— Program —— */

.program-list {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.program-item {
  display: grid;
  grid-template-columns: 7.25rem 1fr;
  gap: 0.85rem 1.15rem;
  align-items: start;
  margin: 0;
  padding: 1.05rem 1.15rem;
  background: rgba(255, 252, 248, 0.96);
  border: 1px solid rgba(26, 54, 93, 0.1);
  border-left: 3px solid var(--gold);
}

.program-item__time {
  display: block;
  padding: 0.35rem 0.45rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.35;
  color: var(--gold-soft);
  background: var(--navy-deep);
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.program-item__sep {
  display: inline;
  opacity: 0.65;
  font-weight: 500;
}

.program-item__chapter {
  margin: 0 0 0.25rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.program-item__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.03em;
  line-height: 1.55;
}

.program-item__desc {
  margin: 0.45rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
}

.program-item--break {
  grid-template-columns: 7.25rem auto;
  align-items: center;
  padding: 0.65rem 1rem;
  background: rgba(26, 54, 93, 0.04);
  border-left-color: rgba(26, 54, 93, 0.2);
}

.program-item--break .program-item__time {
  background: rgba(26, 54, 93, 0.55);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  padding: 0.25rem 0.4rem;
}

.program-item__title--break {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.08em;
}

/* —— Instructor —— */

.instructor {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.instructor__photo {
  width: min(12rem, 55%);
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--gold-soft);
  border: 3px solid var(--gold);
}

.instructor__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.instructor__name {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.08em;
}

.instructor__role {
  margin: 0 0 1.1rem;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
}

.instructor__link {
  margin: 1.15rem 0 0;
}

.instructor__link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.6rem;
  padding: 0.55rem 0.95rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--navy);
  text-decoration: none;
  background: var(--white);
  border: 1.5px solid var(--navy);
  box-shadow: 0 2px 0 rgba(26, 54, 93, 0.12);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.instructor__link-btn:hover {
  color: var(--navy-ink);
  background: var(--gold-soft);
  border-color: var(--gold);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(26, 54, 93, 0.12);
}

.instructor__note-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.instructor__link-service {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.instructor__link-btn:hover .instructor__link-service {
  color: var(--navy);
}

.instructor__link-external {
  flex-shrink: 0;
  opacity: 0.7;
}

.instructor__message {
  margin: 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
}

.instructor__message-title {
  margin: 0 0 1.35rem;
  padding: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3vw, 1.35rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.18em;
  text-align: center;
  background: url("../images/ornament-line.png") center bottom / min(18rem, 72%) auto no-repeat;
}

.instructor__message p {
  margin: 0 0 0.9em;
  color: var(--ink);
  line-height: 1.95;
}

.instructor__message p:last-child {
  margin-bottom: 0;
}

@media (min-width: 720px) {
  .instructor {
    grid-template-columns: 12rem 1fr;
    gap: 2rem;
    align-items: start;
  }

  .instructor__photo {
    width: 12rem;
  }
}

/* —— Overview / FAQ —— */

.overview {
  margin: 0 0 2.5rem;
}

.overview__row {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 0.75rem 1.25rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
}

.overview__row:first-child {
  border-top: 1px solid var(--line);
}

.overview__row dt {
  margin: 0;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
}

.overview__row dd {
  margin: 0;
  font-size: 1.02rem;
}

.overview__row--emphasis dd {
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.75;
}

.overview__note {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--muted);
}

.overview__venue {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--navy);
}

.overview__address {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.05rem;
}

.overview__minimap {
  margin-top: 0.85rem;
  max-width: 28rem;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgba(15, 39, 68, 0.14);
  border-radius: 4px;
  background: #e8eef4;
}

.overview__minimap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.overview__map {
  display: inline-block;
  margin-top: 0.55rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.overview__perk {
  min-width: 0;
}

.overview__cover {
  margin: 0;
  width: 4.25rem;
  flex-shrink: 0;
}

.overview__cover img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
  box-shadow: 0 6px 18px rgba(10, 26, 46, 0.18);
}

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

.overview__list li {
  position: relative;
  padding-left: 1em;
  margin: 0.2rem 0;
}

.overview__list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.overview__list--numbered {
  display: grid;
  gap: 0.7rem;
}

.overview__list--numbered li {
  display: grid;
  grid-template-columns: 4.25rem 1fr;
  gap: 0.75rem 1rem;
  align-items: center;
  margin: 0;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
}

.overview__list--numbered li::before {
  content: none;
}

.overview__list-item--text {
  /* 画像枠＋文言枠の2列ぶんを文字表示に使う */
  grid-template-columns: 4.25rem 1fr;
  min-height: 6.25rem;
}

.overview__list-item--text .overview__list-main--wide {
  grid-column: 1 / -1;
  align-content: center;
}

.overview__list-main {
  min-width: 0;
  display: grid;
  gap: 0.2rem;
}

.overview__list-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--gold);
  line-height: 1.4;
}

.overview__list-text {
  min-width: 0;
  font-size: 0.98rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.overview__more {
  display: inline-block;
  margin-top: 0.15rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.overview__more:hover {
  color: var(--gold);
}

@media (min-width: 721px) {
  .overview__cover {
    width: 5rem;
  }

  .overview__list--numbered li,
  .overview__list-item--text {
    grid-template-columns: 5rem 1fr;
  }

  .overview__list-item--text {
    min-height: 7.25rem;
  }
}

@media (max-width: 720px) {
  .overview__cover {
    width: 3.75rem;
  }

  .overview__list--numbered li,
  .overview__list-item--text {
    grid-template-columns: 3.75rem 1fr;
    padding: 0.75rem 0.8rem;
  }

  .overview__list-item--text {
    min-height: 5.5rem;
  }
}

.overview__row--pending dd {
  color: var(--accent);
  font-size: 0.95rem;
}

.faq-heading {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.06em;
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item:first-child {
  border-top: 1px solid var(--line);
}

.faq__item summary {
  cursor: pointer;
  padding: 1.05rem 1.75rem 1.05rem 0;
  font-weight: 700;
  color: var(--navy);
  list-style: none;
  position: relative;
}

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

.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: var(--gold);
  font-weight: 400;
}

.faq__item[open] summary::after {
  content: "−";
}

.faq__a {
  padding: 0 0 1.15rem;
}

.faq__a p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

@media (max-width: 560px) {
  .overview__row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

/* —— Apply —— */

.apply__meta {
  margin: 1.5rem 0 !important;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--gold-soft) !important;
}

.apply__course-name {
  margin: 0 0 0.5rem !important;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.55;
  color: var(--white) !important;
}

.apply__note {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}

.band--navy .band__cta .btn-img {
  animation: cta-pulse 2.8s ease-in-out infinite;
}

.band__cta .btn-img {
  max-width: min(22rem, 100%);
}

@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(184, 150, 62, 0.35); }
  50% { box-shadow: 0 0 0 0.55rem rgba(184, 150, 62, 0); }
}

/* —— Footer / Sticky —— */

.site-footer {
  background: var(--navy-ink);
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
}

.site-footer .section-inner {
  padding-block: 2.25rem;
}

.site-footer__brand {
  margin: 0 auto 0.75rem;
  max-width: 14rem;
}

.site-footer__brand-img {
  width: 100%;
  height: auto;
  margin-inline: auto;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.site-footer__note {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.1rem;
}

.site-footer a {
  color: var(--gold-soft);
  font-size: 0.9rem;
}

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.65rem clamp(0.85rem, 3vw, 1.5rem) 0.75rem;
  background:
    linear-gradient(180deg, rgba(184, 150, 62, 0.22) 0%, transparent 42%),
    rgba(10, 26, 46, 0.97);
  border-top: 1px solid rgba(212, 175, 74, 0.45);
  color: var(--white);
  backdrop-filter: blur(10px);
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.28);
}

.sticky-cta::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 230, 160, 0.85) 35%,
    rgba(212, 175, 74, 0.9) 50%,
    rgba(255, 230, 160, 0.85) 65%,
    transparent
  );
  animation: sticky-shine 3.6s ease-in-out infinite;
}

.sticky-cta__copy {
  margin: 0;
  min-width: 0;
  flex: 1;
  line-height: 0;
}

.sticky-cta__label-img {
  display: block;
  width: auto;
  max-width: min(100%, 26rem);
  max-height: 4.75rem;
  height: auto;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.35));
}

.sticky-cta .btn-img--sticky {
  max-width: 8.5rem;
  animation: sticky-cta-nudge 2.8s ease-in-out 5s infinite;
}

@keyframes sticky-shine {
  0%, 100% { opacity: 0.45; transform: scaleX(0.92); }
  50% { opacity: 1; transform: scaleX(1); }
}

@keyframes sticky-cta-nudge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

/* —— Motion prefs —— */

/* —— Mobile polish —— */

@media (max-width: 720px) {
  html {
    font-size: 100%;
  }

  body {
    padding-bottom: 4.25rem;
  }

  .hero {
    min-height: auto;
    align-items: flex-end;
    padding-top: 3.25rem;
    padding-bottom: 5.25rem;
  }

  .hero__photo {
    object-position: 70% 35%;
  }

  .hero__brand {
    max-width: min(15.5rem, 78%);
    margin-bottom: 0.55rem;
  }

  .hero__title {
    max-width: 100%;
    margin-bottom: 0.95rem;
  }

  .hero__lead {
    font-size: 0.95rem;
    margin-bottom: 0.95rem;
  }

  .hero__meta {
    margin-bottom: 1.35rem;
    gap: 0.28rem;
  }

  .hero__meta-date {
    font-size: 1.08rem;
  }

  .hero__meta-place {
    font-size: 0.92rem;
    letter-spacing: 0.08em;
  }

  .section-intro {
    font-size: 0.95rem;
    margin-bottom: 1.4rem;
  }

  .learn-list__item {
    grid-template-columns: 2.6rem 1fr;
    gap: 0.65rem 0.85rem;
    padding: 1.15rem 0;
  }

  .learn-list__num {
    width: 2.6rem;
  }

  .learn-list__body h3 {
    font-size: 1.05rem;
  }

  .step-list {
    gap: 0.65rem;
  }

  .step-list li {
    grid-template-columns: 3.5rem 1fr;
    gap: 0.65rem 0.85rem;
    padding: 0.8rem 0.85rem;
    font-size: 0.95rem;
  }

  .step-list__num {
    width: 3.5rem;
  }

  .program-item {
    grid-template-columns: 1fr;
    gap: 0.55rem;
    padding: 0.95rem 0.95rem;
  }

  .program-item__time {
    width: fit-content;
    font-size: 0.875rem;
  }

  .program-item--break {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0.85rem;
  }

  .instructor__photo {
    width: 9.5rem;
    margin-inline: auto;
  }

  .instructor {
    text-align: center;
  }

  .instructor__body {
    text-align: left;
  }

  .instructor__name,
  .instructor__role,
  .instructor__link {
    text-align: center;
  }

  .band__cta .btn-img {
    width: 100%;
    max-width: 22rem;
  }

  .sticky-cta {
    padding: 0.55rem 0.75rem;
    gap: 0.55rem;
    padding-bottom: calc(0.55rem + env(safe-area-inset-bottom, 0px));
  }

  .sticky-cta__label-img {
    max-width: min(100%, 18rem);
    max-height: 3.75rem;
  }

  .sticky-cta .btn-img--sticky {
    max-width: 7.25rem;
  }

  .visual-strip__item,
  .visual-strip__item img {
    min-height: 10.5rem;
  }

  .check-list li {
    padding: 0.85rem 0 0.85rem 1.5rem;
    font-size: 0.95rem;
  }

  .faq__item summary {
    font-size: 0.95rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 721px) {
  .hero__cta .btn {
    width: auto;
  }

  .hero__cta .btn-img {
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero__white,
  .hero__stage,
  .hero__brand,
  .hero__title,
  .hero__lead,
  .hero__meta,
  .hero__cta,
  .hero__motif-svg,
  .hero__motif-branch,
  .hero__motif-node,
  .hero__photo,
  .band--navy .band__cta .btn-img,
  .sticky-cta::before,
  .sticky-cta .btn-img--sticky {
    animation: none;
  }

  .hero__white {
    display: none;
  }

  .hero__stage,
  .hero__brand,
  .hero__title,
  .hero__lead,
  .hero__meta,
  .hero__cta {
    opacity: 1;
  }

  .hero__motif {
    display: none;
  }

  .btn-img {
    transition: none;
  }

  .hero__photo {
    transform: none;
  }

  .btn {
    transition: none;
  }
}
