/* ====================================================
   style.css — 上原隼人 Official Website
   BG #DEEAEE / Card #F2F2F2 / Placeholder #828282
   ==================================================== */

:root {
  --font-gothic: 'Zen Old Mincho', 'Hiragino Mincho ProN', 'YuMincho', 'Yu Mincho', serif;
  --font-latin: 'Playfair Display', 'Reckless Standard XL', 'Iowan Old Style', 'Times New Roman', serif;
  --brand-blue: #026cff;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background-color: #d8e7ee;
  background-image: url('img/karada-intro-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #000;
  font-family: var(--font-gothic);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
body.is-intro-active {
  overflow: hidden;
}


/* ====================================================
   TOP BRAND LOGO — ファーストビュー後に左上固定
   ==================================================== */
.top-brand {
  position: fixed;
  top: 28px;
  left: 32px;
  z-index: 100;
  display: inline-block;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.top-brand.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.top-brand-img {
  display: block;
  width: 132px;
  height: auto;
  transition: opacity 0.3s ease;
}
.top-brand:hover .top-brand-img {
  opacity: 0.78;
}

@media (max-width: 768px) {
  .top-brand { top: 14px; left: 14px; }
  .top-brand-img { width: 90px; }
}

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

/* 改行禁止ユーティリティ — 日本語の不自然な行末を防ぐ */
.nobr { white-space: nowrap; display: inline-block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Visibility helpers ---- */
.pc-only { display: block; }
.sp-only { display: none; }

/* ---- Section wrapper ---- */
.section-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 112px;
}

/* ---- Section heading (shared) ---- */
.section-heading {
  font-family: var(--font-latin);
  font-size: 94.466px;
  font-weight: 500;
  line-height: 96.565px;
  font-feature-settings: 'dlig' 1;
  white-space: nowrap;
  overflow: visible;
}
.section-heading.is-glitch-ready {
  opacity: 1;
  transform: none;
}
.section-heading .heading-char {
  display: inline-block;
  will-change: transform, filter, opacity;
}
.section-heading .heading-space {
  width: 0.18em;
}

/* ====================================================
   INTRO OVERLAY — 元素材を活かしたリッチ演出
   水彩背景 + Ken Burns + 筆文字のフェードイン
   ==================================================== */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-color: #d8e7ee;
  background-image: url('img/karada-intro-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  visibility: hidden;
  overflow: hidden;
}
.intro-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}
.intro-overlay.is-exiting { opacity: 0; }

/* 上下のヴェール（紙陰影） */
.intro-overlay::before,
.intro-overlay::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 22vh;
  pointer-events: none;
  z-index: 3;
}
.intro-overlay::before {
  top: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.45), transparent);
}
.intro-overlay::after {
  bottom: 0;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.35), transparent);
}

.intro-stage {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0s linear 0.5s;
  z-index: 1;
}
.intro-stage.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0s linear 0s;
}

.intro-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.intro-frame {
  position: absolute;
  inset: 0;
}

/* 写真：画面全幅でフルブリード、四方マスクで背景に完全に溶かす */
.intro-layer--base {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, black 35%, rgba(0,0,0,0.6) 60%, rgba(0,0,0,0.2) 80%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, black 35%, rgba(0,0,0,0.6) 60%, rgba(0,0,0,0.2) 80%, transparent 100%);
  transform: scale(1);
  opacity: 0.85;
}
/* 筆文字テキストレイヤー：写真より下、画面中央寄りに配置 */
.intro-layer--text {
  position: absolute;
  left: 50%;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 6px 18px rgba(40, 70, 110, 0.14));
  z-index: 2;
}
.intro-stage.is-active .intro-layer--text {
  animation: intro-text-in 1.4s cubic-bezier(0.22, 0.61, 0.36, 1) 0.6s forwards;
}

@keyframes intro-text-in {
  0%   { opacity: 0; transform: translate(-50%, calc(-50% + 8px)) scale(0.96); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* 「痛みからの解放」 — 大きく中央に */
.intro-layer--text-pain {
  top: 50%;
  width: min(620px, 72vw);
  transform: translate(-50%, -50%);
}
/* 「カラダ整頓」 — メインメッセージとして大きく配置 */
.intro-layer--text-karada {
  top: 76%;
  width: min(900px, 86vw);
  transform: translate(-50%, -50%);
}

/* SP 調整 */
@media (max-width: 768px) {
  .intro-layer--base {
    -webkit-mask-image: radial-gradient(ellipse 80% 75% at 50% 50%, black 30%, rgba(0,0,0,0.5) 60%, transparent 95%);
    mask-image: radial-gradient(ellipse 80% 75% at 50% 50%, black 30%, rgba(0,0,0,0.5) 60%, transparent 95%);
  }
  .intro-layer--text-pain { width: 78vw; }
  .intro-layer--text-karada { width: 92vw; top: 78%; }
}
.intro-end-label {
  position: absolute;
  left: 0;
  top: -28px;
  font-size: 16px;
  line-height: 1;
}
.intro-skip {
  position: absolute;
  right: 24px;
  top: 24px;
  border: 1px solid rgba(0, 0, 0, 0.22);
  background: rgba(255, 255, 255, 0.74);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.12em;
  cursor: pointer;
}

/* ====================================================
   NAVIGATION
   ==================================================== */
.global-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(222, 234, 238, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.35s ease, background 0.3s ease;
}
.global-nav.is-hidden {
  transform: translateY(-100%);
}
.nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 112px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
}

.nav-logo img {
  display: block;
  width: auto;
  height: 28px;
}
.nav-links {
  display: flex;
  gap: 40px;
}
.nav-links a {
  font-family: var(--font-latin);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #000;
  transition: width 0.3s ease;
}
.nav-links a:hover::after {
  width: 100%;
}

/* Hamburger (SP) */
.nav-hamburger {
  width: 32px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 910;
}
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: #000;
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}
.nav-hamburger span:nth-child(1) { top: 0; }
.nav-hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-hamburger span:nth-child(3) { bottom: 0; }
.nav-hamburger.is-open span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* SP Menu */
.nav-sp-menu {
  display: none;
  background: rgba(222, 234, 238, 0.97);
  backdrop-filter: blur(16px);
  padding: 24px 35px 40px;
}
.nav-sp-menu.is-open {
  display: block;
}
.nav-sp-menu ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.nav-sp-menu a {
  font-family: var(--font-latin);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

/* ====================================================
   HERO
   ==================================================== */
.hero {
  width: 100%;
}

/* Hero stage — single photo + overlaid logo */
.hero-stage {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  background: transparent;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.08);
  opacity: 0;
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 62%, rgba(0, 0, 0, 0.55) 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 0%, black 62%, rgba(0, 0, 0, 0.55) 88%, transparent 100%);
}
.hero-photo-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 18% 50%, rgba(255, 255, 255, 0.35) 0%, transparent 65%),
    linear-gradient(105deg, rgba(220, 235, 244, 0.45) 0%, rgba(220, 235, 244, 0) 48%);
  pointer-events: none;
  opacity: 0;
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 62%, rgba(0, 0, 0, 0.55) 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 0%, black 62%, rgba(0, 0, 0, 0.55) 88%, transparent 100%);
}
.hero-logo-wrap {
  position: absolute;
  top: 50%;
  left: clamp(40px, 7vw, 130px);
  transform: translate(-24px, -50%);
  width: clamp(260px, 38vw, 640px);
  z-index: 2;
  opacity: 0;
}
.hero-logo {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 14px 30px rgba(40, 90, 130, 0.18));
}

/* イントロ終了後に演出を発火 */
body:not(.is-intro-active) .hero-photo {
  animation: hero-photo-in 1.8s cubic-bezier(0.22, 0.61, 0.36, 1) 0.1s forwards;
}
body:not(.is-intro-active) .hero-photo-veil {
  animation: hero-veil-in 2.2s ease-out 0.6s forwards;
}
body:not(.is-intro-active) .hero-logo-wrap {
  animation: hero-logo-in 1.4s cubic-bezier(0.22, 0.61, 0.36, 1) 1s forwards;
}
body:not(.is-intro-active) .hero-logo {
  animation: hero-logo-float 6s ease-in-out 2.4s infinite alternate;
}

@keyframes hero-photo-in {
  0%   { opacity: 0; transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes hero-veil-in {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes hero-logo-in {
  0%   { opacity: 0; transform: translate(-24px, -50%); }
  100% { opacity: 1; transform: translate(0, -50%); }
}
@keyframes hero-logo-float {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-photo,
  .hero-photo-veil,
  .hero-logo-wrap,
  .hero-logo {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .hero-logo-wrap { transform: translateY(-50%); }
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-top: 58px;
  padding-bottom: 100px;
}

.hero-tagline {
  font-family: var(--font-gothic);
  font-size: 14px;
  letter-spacing: 0.18em;
  color: rgba(0, 0, 0, 0.5);
  text-align: center;
}

/* ====================================================
   KARADA INTRO — カラダ整頓 タイトル + 手書きコピー
   ==================================================== */
.karada-intro {
  position: relative;
  background: transparent;
  padding: 120px 24px 100px;
}

.karada-intro-inner {
  width: min(1100px, 94vw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
}

.karada-intro-title {
  width: 100%;
  display: flex;
  justify-content: center;
}

.karada-intro-title-img {
  width: min(820px, 92%);
  height: auto;
  display: block;
}

.karada-intro-message {
  width: 100%;
  display: flex;
  justify-content: center;
}

.karada-intro-message-img {
  width: min(560px, 88%);
  height: auto;
  display: block;
}

/* ====================================================
   PROFILE
   ==================================================== */
.profile {
  padding-top: 24px;
  padding-bottom: 100px;
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: 0 72px;
  align-items: start;
}

.profile-left {
  padding-top: 12px;
}

.profile .section-heading {
  font-size: clamp(68px, 7vw, 86px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.profile-name {
  margin-top: 28px;
  max-width: 280px;
}
.name-ja {
  font-family: 'Zen Old Mincho', serif;
  font-size: 56px;
  line-height: 1.12;
  font-feature-settings: 'dlig' 1;
}
.name-en {
  font-family: var(--font-latin);
  font-size: 16px;
  line-height: 32px;
  font-feature-settings: 'dlig' 1;
  letter-spacing: 0.12em;
  color: #444;
}

.profile-right {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.profile-photo-wrap {
  width: 100%;
  aspect-ratio: 719 / 480;
  overflow: hidden;
  background: #b8cdd2;
  border-radius: 14px;
}
.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.profile-bio {
  font-size: 18px;
  line-height: 38px;
  max-width: 760px;
}

/* ====================================================
   LICENSE — 目次風（上下ヘアライン＋ナンバリング）
   ==================================================== */
.profile-license {
  max-width: 760px;
  border-top: 1px solid rgba(0, 0, 0, 0.18);
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
  padding: 26px 4px 22px;
}

.license-label {
  font-family: 'Zen Old Mincho', serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.28em;
  color: rgba(0, 0, 0, 0.55);
  margin-bottom: 18px;
}

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

.license-list li {
  counter-increment: license;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 12px 0;
  font-family: 'Zen Old Mincho', serif;
  font-size: 17px;
  line-height: 1.6;
  color: #1a1a1a;
  border-top: 1px dotted rgba(0, 0, 0, 0.18);
}

.license-list li:first-child {
  border-top: none;
}

.license-list li::before {
  content: counter(license, decimal-leading-zero);
  font-family: var(--font-latin);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(0, 0, 0, 0.4);
}

/* ====================================================
   SECTION PHOTO (between sections)
   ==================================================== */
.section-photo {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.section-photo-inner {
  width: 100%;
  max-height: 270px;
  overflow: hidden;
}
.section-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.section-photo-img--seminar {
  object-position: center 72%;
}
.section-photo-img--footer {
  object-position: center 30%;
}

/* ====================================================
   LESSONS — 1カラムで丁寧に展開、左右交互
   ==================================================== */
.lessons {
  padding-top: 100px;
  padding-bottom: 140px;
}
.lessons .section-heading { margin-bottom: 12px; }

.lessons-lead {
  font-family: 'Zen Old Mincho', serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.9;
  color: rgba(0, 0, 0, 0.6);
  margin-bottom: 80px;
  letter-spacing: 0.04em;
}

.lesson-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.lesson-row {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}
.lesson-row:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}
.lesson-row--reverse {
  grid-template-columns: 1fr 1.05fr;
}
.lesson-row--reverse .lesson-media { order: 2; }
.lesson-row--reverse .lesson-content { order: 1; }

/* メディア（写真） */
.lesson-media {
  position: relative;
}
.lesson-media-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.lesson-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  -webkit-mask-image: radial-gradient(ellipse 110% 110% at 50% 50%, black 60%, rgba(0, 0, 0, 0.55) 85%, transparent 100%);
  mask-image: radial-gradient(ellipse 110% 110% at 50% 50%, black 60%, rgba(0, 0, 0, 0.55) 85%, transparent 100%);
  transition: transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.lesson-row:hover .lesson-media-img {
  transform: scale(1.03);
}

/* コンテンツ側 */
.lesson-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lesson-no {
  font-family: var(--font-latin);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--brand-blue);
  line-height: 1;
  margin-bottom: 4px;
}
.lesson-tag {
  font-family: var(--font-latin);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: rgba(0, 0, 0, 0.5);
}
.lesson-title {
  font-family: 'Zen Old Mincho', serif;
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: #1a1a1a;
  margin-top: 4px;
}
.lesson-lead {
  font-family: 'Zen Old Mincho', serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.95;
  color: #1a1a1a;
  margin-top: 6px;
}
.lesson-lead em {
  font-style: normal;
  color: var(--brand-blue);
}
.lesson-desc {
  font-family: 'Zen Old Mincho', serif;
  font-size: 15px;
  line-height: 2;
  color: rgba(0, 0, 0, 0.72);
}

/* 特徴リスト（key/val のペア） */
.lesson-features {
  list-style: none;
  margin: 18px 0 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}
.lesson-features li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px dotted rgba(0, 0, 0, 0.16);
  align-items: baseline;
}
.lesson-feat-key {
  font-family: var(--font-latin);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: rgba(0, 0, 0, 0.45);
}
.lesson-feat-val {
  font-family: 'Zen Old Mincho', serif;
  font-size: 14px;
  line-height: 1.7;
  color: #1a1a1a;
}

/* CTA リンク（控えめ・矢印が伸びる） */
.lesson-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  margin-top: 12px;
  font-family: var(--font-gothic);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--brand-blue);
  border-bottom: 1px solid var(--brand-blue);
  align-self: flex-start;
  transition: gap 0.35s ease, color 0.3s ease;
}
.lesson-cta:hover {
  gap: 22px;
  color: #0058d6;
}
.lesson-cta-arrow {
  font-family: var(--font-latin);
  font-size: 18px;
  line-height: 1;
  transition: transform 0.35s ease;
}
.lesson-cta:hover .lesson-cta-arrow {
  transform: translateX(4px);
}

/* ====================================================
   NOTES
   ==================================================== */
.notes {
  padding-top: 100px;
  padding-bottom: 100px;
}
.notes .section-heading { margin-bottom: 40px; }

.notes-grid {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.note-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s ease;
}
.note-card:hover {
  transform: translateY(-4px);
}

.note-thumb {
  width: 100%;
  aspect-ratio: 1280 / 670;
  overflow: hidden;
  background: #f2f2f2;
  border-radius: 12px 12px 0 0;
  position: relative;
}
.note-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: grayscale(100%);
  transition: filter 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.note-card:hover .note-thumb-img {
  filter: grayscale(0);
}

.note-body {
  background: #F2F2F2;
  border-radius: 0 0 12px 12px;
  padding: 24px 30px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 16px;
  min-height: 180px;
}
.note-title {
  font-family: var(--font-gothic);
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: 0.01em;
  color: #1a1a1a;
  transition: color 0.3s ease;
}
.note-card:hover .note-title {
  color: var(--brand-blue);
}
.note-date {
  font-family: var(--font-latin);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #888;
  margin-top: auto;
}

.notes-more {
  text-align: center;
  margin-top: 48px;
}
.notes-more-btn {
  display: inline-block;
  font-family: var(--font-gothic);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 14px 56px;
  border: 1px solid var(--brand-blue);
  border-radius: 999px;
  background: transparent;
  color: var(--brand-blue);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.25s ease;
}
.notes-more-btn:hover {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
  transform: translateY(-1px);
}

/* ====================================================
   CONTACT — 透明感の世界観で再構築
   ==================================================== */
.contact { padding-bottom: 120px; }

.contact-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 56px;
}
.contact-left {
  display: flex;
  flex-direction: column;
  max-width: 720px;
}
.contact-sub {
  font-family: var(--font-gothic);
  font-weight: 500;
  font-size: 20px;
  line-height: 32px;
  margin-top: 22px;
  color: #1a1a1a;
}
.contact-body {
  font-family: var(--font-gothic);
  font-size: 16px;
  line-height: 32px;
  margin-top: 14px;
  color: #2a2a2a;
}

.contact-right {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-actions {
  width: min(560px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-bottom: 36px;
}

.contact-btn {
  display: block;
  width: 100%;
  font-family: var(--font-gothic);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.4;
  padding: 18px 24px;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.65);
  background: transparent;
  color: #111;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.25s ease;
}
.contact-btn:hover {
  transform: translateY(-1px);
  background: #111;
  color: #fff;
  border-color: #111;
}

/* LINEだけはブランドカラーをそのまま尊重 */
.contact-btn--line {
  background: #06c755;
  border-color: #06c755;
  color: #fff;
}
.contact-btn--line:hover {
  background: #05b64d;
  border-color: #05b64d;
  color: #fff;
}

.contact-or {
  font-family: var(--font-latin);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.28em;
  color: rgba(0, 0, 0, 0.42);
  text-transform: lowercase;
}

/* フォーム本体：箱を消して、線と余白だけで構成 */
.contact-form {
  width: min(720px, 100%);
  padding: 0;
  background: transparent;
  border: none;
}
.contact-form-hidden {
  display: none;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 36px;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}

.contact-label {
  font-family: var(--font-gothic);
  font-weight: 500;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.22em;
  color: rgba(0, 0, 0, 0.55);
}

/* インプット：透明背景＋下線だけ */
.contact-input {
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.22);
  background: transparent;
  padding: 12px 2px;
  font-family: var(--font-gothic);
  font-size: 16px;
  line-height: 1.7;
  color: #111;
  border-radius: 0;
  transition: border-color 0.3s ease;
}
.contact-input::placeholder {
  color: rgba(0, 0, 0, 0.32);
}
.contact-input:focus {
  outline: none;
  border-bottom-color: var(--brand-blue);
}

.contact-select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, rgba(0,0,0,0.55) 50%),
                    linear-gradient(135deg, rgba(0,0,0,0.55) 50%, transparent 50%);
  background-position:
    calc(100% - 14px) 50%,
    calc(100% - 8px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 28px;
}

.contact-textarea {
  resize: vertical;
  min-height: 160px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px) saturate(110%);
  -webkit-backdrop-filter: blur(8px) saturate(110%);
}
.contact-textarea:focus {
  border-color: var(--brand-blue);
  border-bottom-color: var(--brand-blue);
}

/* 送信ボタン：ブランドブルーのアクセント */
.contact-btn--submit {
  margin-top: 28px;
  background: transparent;
  border: 1px solid var(--brand-blue);
  color: var(--brand-blue);
  font-weight: 500;
  letter-spacing: 0.08em;
}
.contact-btn--submit:hover {
  background: var(--brand-blue);
  color: #fff;
  border-color: var(--brand-blue);
}

/* ====================================================
   KARADA CLOSING — コンタクト末尾の結び
   ==================================================== */
.karada-closing {
  margin-top: 120px;
  display: flex;
  justify-content: center;
}
.karada-closing-img {
  width: min(820px, 80%);
  height: auto;
  display: block;
}

/* ====================================================
   FOOTER
   ==================================================== */
.footer {
  background: transparent;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-latin);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(0, 0, 0, 0.5);
}

/* ====================================================
   MODAL
   ==================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(222, 234, 238, 0.85);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.modal-panel {
  background: #F2F2F2;
  width: min(1279px, 90vw);
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 64px 80px 72px;
  transform: translateY(20px);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.modal-overlay.is-open .modal-panel {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 32px;
  right: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  line-height: 0;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.modal-close:hover { opacity: 1; }

.modal-title {
  font-family: 'Zen Old Mincho', serif;
  font-size: 32px;
  font-weight: 900;
  line-height: 39px;
  font-feature-settings: 'dlig' 1;
  margin-bottom: 40px;
  padding-right: 60px;
}
.modal-lead {
  font-size: 19px;
  line-height: 1.9;
  margin-bottom: 32px;
  padding: 22px 24px;
  background: rgba(222, 234, 238, 0.72);
  border-left: 4px solid #000;
}
.modal-intro {
  margin-bottom: 40px;
  padding: 0 2px;
}
.modal-copy {
  font-size: 18px;
  line-height: 1.95;
  margin-bottom: 14px;
  color: #222;
}
.modal-section-ttl {
  font-size: 22px;
  line-height: 1.6;
  margin-bottom: 18px;
  font-weight: 700;
}
.modal-process {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.modal-block {
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.64);
  padding: 24px 28px 26px;
}
.modal-block-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.modal-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #deeaee;
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.14em;
  font-weight: 700;
}
.modal-list {
  list-style: none;
  margin-left: 0;
  display: grid;
  gap: 12px;
  margin-top: 4px;
}
.modal-list li {
  font-size: 17px;
  line-height: 1.8;
  padding: 14px 16px 14px 46px;
  background: #fff;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.modal-list li::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 24px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #000;
}
.modal-link-wrap {
  margin-top: 18px;
}
.modal-link {
  display: inline-block;
  border: 1px solid #000;
  border-radius: 999px;
  padding: 12px 28px;
  font-size: 16px;
  line-height: 1.4;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.modal-link:hover {
  background: #000;
  color: #DEEAEE;
  transform: translateY(-1px);
}

/* ====================================================
   LESSON DETAIL PAGE
   ==================================================== */
.lesson-detail-page {
  background: #deeaee;
}

.lesson-detail-main {
  min-height: 100vh;
}

.lesson-detail-hero {
  width: 100%;
  aspect-ratio: 1440 / 460;
  overflow: hidden;
}

.lesson-detail-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.lesson-detail-shell {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0 96px;
}

.lesson-detail-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.lesson-detail-kicker {
  font-family: var(--font-latin);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.56);
}

.lesson-detail-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 176px;
  padding: 13px 22px;
  border: 1px solid var(--brand-blue);
  border-radius: 999px;
  background: transparent;
  color: var(--brand-blue);
  font-family: var(--font-gothic);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.25s ease;
}

.lesson-detail-home:hover {
  background: var(--brand-blue);
  color: #fff;
  border-color: var(--brand-blue);
  transform: translateY(-1px);
}

.lesson-detail-home--wide {
  min-width: 220px;
}

.lesson-detail-content {
  background: rgba(246, 244, 239, 0.98);
  padding: 76px 84px 72px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.05);
}

.lesson-detail-title {
  font-family: var(--font-gothic);
  font-size: 34px;
  line-height: 1.7;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 0.01em;
  max-width: none;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.lesson-detail-lead {
  font-size: 20px;
  line-height: 1.95;
  margin-bottom: 38px;
  padding: 24px 28px;
  background: rgba(222, 234, 238, 0.8);
  border-left: 3px solid var(--brand-blue);
}

.lesson-detail-intro {
  margin-bottom: 46px;
  max-width: 920px;
}

.lesson-detail-sections {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.lesson-detail-block {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 34px 36px 36px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.03);
}

.lesson-detail-block-header {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.lesson-detail-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(222, 234, 238, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.68);
}

.lesson-detail-section-title {
  font-size: 28px;
  line-height: 1.6;
  font-weight: 700;
}

.lesson-detail-copy {
  font-size: 17px;
  line-height: 2;
  margin-bottom: 16px;
  color: #222;
  max-width: 54em;
}

.lesson-detail-copy:last-child {
  margin-bottom: 0;
}

.lesson-detail-list {
  list-style: none;
  margin-left: 0;
  display: grid;
  gap: 14px;
  margin-top: 8px;
}

.lesson-detail-list li {
  font-size: 16px;
  line-height: 1.95;
  padding: 16px 18px 16px 50px;
  background: #faf8f4;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.lesson-detail-list li::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 24px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-blue);
}

.lesson-detail-link-wrap {
  margin-top: 18px;
}

.lesson-detail-link {
  display: inline-block;
  border: 1px solid var(--brand-blue);
  border-radius: 999px;
  padding: 13px 32px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--brand-blue);
  background: transparent;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.25s ease;
}

.lesson-detail-link:hover {
  background: var(--brand-blue);
  color: #fff;
  border-color: var(--brand-blue);
  transform: translateY(-1px);
}

.lesson-detail-highlight {
  margin-top: 24px;
  padding: 24px 26px 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-left: 3px solid var(--brand-blue);
}

.lesson-detail-highlight-title {
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.56);
  margin-bottom: 14px;
}

.lesson-detail-guide {
  margin-bottom: 40px;
  padding: 28px 30px;
  background: rgba(222, 234, 238, 0.64);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.lesson-detail-guide-label {
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.18em;
  font-weight: 700;
  margin-bottom: 18px;
  color: rgba(0, 0, 0, 0.56);
}

.lesson-detail-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.lesson-detail-guide-item {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 20px 20px 18px;
}

.lesson-detail-guide-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 28px;
  padding: 0 10px;
  margin-bottom: 12px;
  background: rgba(222, 234, 238, 0.7);
  color: rgba(0, 0, 0, 0.68);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.08em;
  font-weight: 700;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.lesson-detail-guide-title {
  font-size: 18px;
  line-height: 1.7;
  font-weight: 700;
  margin-bottom: 10px;
}

.lesson-detail-guide-text {
  font-size: 15px;
  line-height: 1.9;
  color: #333;
}

.lesson-detail-block--soft {
  background: rgba(222, 234, 238, 0.42);
}

.lesson-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.lesson-summary-item {
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.lesson-summary-label {
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.18em;
  font-weight: 700;
  margin-bottom: 10px;
  color: rgba(0, 0, 0, 0.56);
}

.lesson-summary-value {
  font-size: 17px;
  line-height: 1.8;
  font-weight: 500;
}

.group-course-list {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-top: 34px;
}

.group-course {
  padding: 38px 40px 42px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.03);
}

.group-course-head {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  align-items: start;
  margin-bottom: 28px;
}

.group-course-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #deeaee;
  font-family: var(--font-latin);
  font-size: 28px;
  line-height: 1;
}

.group-course-heading {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.group-course-tag {
  font-family: var(--font-latin);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.56);
  margin-bottom: 2px;
}

.group-course-title {
  font-family: var(--font-gothic);
  font-size: 28px;
  line-height: 1.75;
  font-weight: 700;
  max-width: none;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.group-course-panel,
.group-course-view {
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.group-course-panel + .group-course-panel,
.group-course-panel + .group-course-view {
  margin-top: 24px;
}

.group-course-label {
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.56);
  margin-bottom: 14px;
}

.group-course-emphasis {
  font-family: var(--font-latin);
  font-size: 24px;
  line-height: 1.75;
  margin-bottom: 18px;
  max-width: 24em;
}

.group-course-view {
  background: rgba(222, 234, 238, 0.4);
  padding: 26px 26px 14px;
  border-top: none;
  border-left: 3px solid rgba(0, 0, 0, 0.12);
}

.lesson-contact-panel {
  margin-top: 48px;
  padding: 34px 36px 38px;
  background: rgba(222, 234, 238, 0.68);
  color: #111;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.lesson-contact-label {
  font-family: var(--font-latin);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.5);
  margin-bottom: 16px;
}

.lesson-contact-title {
  font-family: var(--font-gothic);
  font-size: 30px;
  line-height: 1.7;
  font-weight: 700;
  margin-bottom: 14px;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.lesson-contact-text {
  font-size: 17px;
  line-height: 1.9;
  color: rgba(0, 0, 0, 0.76);
}

.lesson-contact-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
  padding: 0;
  list-style: none;
}

.lesson-contact-list li {
  min-height: 168px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 24px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.76);
  text-align: center;
}

.lesson-contact-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
  justify-content: center;
}

.lesson-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 14px 24px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: #f7f4ef;
  color: #111;
  font-family: var(--font-gothic);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 700;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.lesson-contact-btn:hover {
  transform: translateY(-1px);
}

.lesson-contact-btn--line {
  background: #06c755;
  border-color: #06c755;
  color: #fff;
}

.lesson-detail-actions {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.thank-you-shell {
  padding-top: 88px;
}

.thank-you-card {
  text-align: center;
}

/* SP modal */
@media (max-width: 768px) {
  .modal-panel {
    padding: 48px 28px 56px;
    width: 95vw;
    max-height: 85vh;
  }
  .modal-title { font-size: 22px; line-height: 32px; margin-bottom: 28px; }
  .modal-lead,
  .modal-copy,
  .modal-section-ttl,
  .modal-process,
  .modal-link,
  .modal-list li { font-size: 14px; line-height: 28px; }
  .modal-block { padding: 18px 18px 20px; }
  .modal-block-header { gap: 10px; margin-bottom: 10px; }
  .modal-kicker { min-width: 74px; font-size: 10px; padding: 6px 10px; }
  .modal-list li { padding: 12px 12px 12px 38px; }
  .modal-list li::before { left: 14px; top: 21px; width: 8px; height: 8px; }
  .modal-close { top: 20px; right: 16px; }

  .karada-intro {
    padding: 70px 18px 60px;
  }

  .karada-intro-inner {
    gap: 48px;
  }

  .karada-intro-title-img {
    width: 80%;
  }

  .karada-intro-message-img {
    width: 86%;
  }

  .contact-actions {
    gap: 14px;
    margin-bottom: 28px;
  }

  .contact-form {
    padding: 0;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-input {
    font-size: 14px;
    padding: 11px 2px;
  }

  .contact-textarea {
    padding: 12px 14px;
  }

  .karada-closing {
    margin-top: 80px;
  }
  .karada-closing-img {
    width: 90%;
  }

  .lesson-detail-hero {
    aspect-ratio: 16 / 10;
  }

  .lesson-detail-shell {
    width: min(100% - 28px, 720px);
    padding: 22px 0 56px;
  }

  .lesson-detail-topbar {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 22px;
  }

  .lesson-detail-home,
  .lesson-detail-home--wide {
    min-width: 100%;
  }

  .lesson-detail-content {
    padding: 34px 20px 40px;
  }

  .lesson-detail-title {
    font-size: 24px;
    line-height: 1.7;
    margin-bottom: 22px;
    max-width: none;
  }

  .lesson-detail-lead,
  .lesson-detail-copy,
  .lesson-detail-section-title,
  .lesson-detail-link,
  .lesson-detail-list li {
    font-size: 14px;
    line-height: 1.9;
  }

  .lesson-detail-block {
    padding: 20px 18px 22px;
  }

  .lesson-detail-block-header {
    gap: 10px;
    margin-bottom: 10px;
  }

  .lesson-detail-pill {
    min-width: 74px;
    font-size: 10px;
    padding: 6px 10px;
  }

  .lesson-detail-list li {
    padding: 12px 12px 12px 38px;
  }

  .lesson-detail-list li::before {
    left: 14px;
    top: 21px;
    width: 8px;
    height: 8px;
  }

  .lesson-summary-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .lesson-detail-guide {
    margin-bottom: 22px;
    padding: 18px 16px;
  }

  .lesson-detail-guide-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .lesson-detail-guide-item {
    padding: 16px 14px 14px;
  }

  .lesson-detail-guide-no {
    min-width: 36px;
    height: 24px;
    margin-bottom: 10px;
    font-size: 10px;
  }

  .lesson-detail-guide-title {
    font-size: 15px;
    margin-bottom: 8px;
  }

  .lesson-detail-guide-text {
    font-size: 13px;
    line-height: 1.8;
  }

  .lesson-summary-item {
    padding: 14px 16px;
  }

  .lesson-summary-value {
    font-size: 14px;
    line-height: 1.8;
  }

  .lesson-detail-highlight {
    margin-top: 16px;
    padding: 16px 16px 2px;
  }

  .group-course-list {
    gap: 22px;
    margin-top: 24px;
  }

  .group-course {
    padding: 22px 18px 24px;
  }

  .group-course-head {
    grid-template-columns: 52px 1fr;
    gap: 12px;
    margin-bottom: 18px;
  }

  .group-course-no {
    width: 52px;
    height: 52px;
    font-size: 20px;
  }

  .group-course-title {
    font-size: 20px;
    line-height: 1.75;
    max-width: none;
  }

  .group-course-panel,
  .group-course-view {
    padding-top: 16px;
  }

  .group-course-panel + .group-course-panel,
  .group-course-panel + .group-course-view {
    margin-top: 18px;
  }

  .group-course-emphasis {
    font-size: 18px;
    line-height: 1.75;
    margin-bottom: 12px;
    max-width: none;
  }

  .group-course-view {
    padding: 18px 16px 8px;
  }

  .lesson-contact-panel {
    margin-top: 30px;
    padding: 24px 18px 24px;
  }

  .lesson-contact-title {
    font-size: 22px;
    line-height: 1.7;
  }

  .lesson-contact-text {
    font-size: 14px;
    line-height: 1.9;
  }

  .lesson-contact-list {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 14px;
  }

  .lesson-contact-list li {
    min-height: auto;
    aspect-ratio: auto;
    padding: 14px 18px;
    border-radius: 999px;
    font-size: 13px;
    line-height: 1.8;
  }

  .lesson-contact-actions {
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
  }

  .lesson-contact-btn {
    width: 100%;
    min-width: 0;
    font-size: 14px;
  }

  .lesson-detail-actions {
    margin-top: 28px;
  }
}

/* ====================================================
   ANIMATION BASE STATES
   ==================================================== */
.js-fade,
.js-reveal:not(.section-heading),
.js-card {
  opacity: 0;
  transform: translateY(24px);
  will-change: opacity, transform;
}

/* ====================================================
   RESPONSIVE — SP (≤ 768px)
   ==================================================== */
@media (max-width: 768px) {
  .pc-only { display: none !important; }
  .sp-only { display: block !important; }

  .intro-stage { padding: 24px; }
  .intro-scene--still .intro-image,
  .intro-scene--video,
  .intro-scene--board,
  .intro-scene--album { width: min(92vw, 92vw); height: min(72vh, 62vw); }
  .intro-album {
    width: 100%;
    height: 100%;
  }
  .intro-photo {
    width: 43%;
    padding: 8px;
  }
  .intro-photo--1 { left: 1%; top: 10%; }
  .intro-photo--2 { left: 50%; top: 6%; }
  .intro-photo--3 { right: 2%; top: 46%; }
  .intro-photo--4 { left: 7%; bottom: 2%; }
  .intro-last-mark {
    width: min(46vw, 220px);
    max-width: 62%;
  }
  .intro-copy { font-size: 42px; white-space: normal; width: calc(100% - 40px); }
  .intro-end-label { top: -20px; font-size: 12px; }

  .section-inner { padding: 0 28px; }

  .section-heading { font-size: 45px; line-height: 46px; }

  /* NAV */
  .nav-inner { padding: 0 20px; height: 56px; }
  .nav-logo img { height: 22px; }

  /* HERO */
  .hero { padding-top: 56px; }
  .hero-slideshow { aspect-ratio: 390 / 220; }
  .hero-inner { gap: 20px; padding: 24px 20px 60px; }
  .hero-title-wrap { width: 100%; }
  .hero-tagline { font-size: 11px; letter-spacing: 0.12em; }
  .hero-copy { width: 100%; max-width: 320px; }
  .hero-copy p { font-size: 16px; line-height: 38px; }
  .hero-copy .hero-attr { font-size: 12px; line-height: 38px; }

  /* PROFILE */
  .profile { padding-top: 8px; padding-bottom: 60px; }
  .profile-grid { display: flex; flex-direction: column; gap: 0; }
  .profile-left { padding: 0 0 0 0; }
  .profile .section-heading { font-size: 45px; line-height: 46px; letter-spacing: 0; }
  .profile-right { width: 100%; gap: 28px; }
  .profile-photo-wrap { aspect-ratio: 390 / 280; border-radius: 10px; }
  .profile-name { margin-top: 0; padding: 0; }
  .name-ja { font-size: 40px; line-height: 46px; }
  .name-en { font-size: 10px; line-height: 32px; }
  .profile-bio { font-size: 14px; line-height: 28px; }
  .profile-license { padding: 14px 20px 16px; border-radius: 10px; }
  .license-ttl { font-size: 13px; line-height: 28px; }
  .profile-license ul { margin-left: 20px; }
  .profile-license li { font-size: 13px; line-height: 24px; }

  /* SECTION PHOTO */
  .section-photo-inner { max-height: 150px; }

  /* LESSONS */
  .lessons { padding: 60px 22px 80px; }
  .lessons-lead { font-size: 14px; line-height: 1.9; margin-bottom: 40px; }
  .lesson-row,
  .lesson-row--reverse {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 48px 0;
  }
  .lesson-row--reverse .lesson-media { order: 0; }
  .lesson-row--reverse .lesson-content { order: 0; }
  .lesson-media-frame { aspect-ratio: 4 / 3; }
  .lesson-no { font-size: 24px; }
  .lesson-tag { font-size: 10px; }
  .lesson-title { font-size: 24px; line-height: 1.5; }
  .lesson-lead { font-size: 15px; line-height: 1.9; }
  .lesson-desc { font-size: 14px; line-height: 1.95; }
  .lesson-features li { grid-template-columns: 64px 1fr; gap: 12px; padding: 12px 0; }
  .lesson-feat-key { font-size: 10px; }
  .lesson-feat-val { font-size: 13px; }
  .lesson-cta { font-size: 14px; padding: 12px 0; }

  /* NOTES */
  .notes { padding: 60px 28px 60px; }
  .notes-grid { flex-direction: column; gap: 18px; }
  .note-thumb { aspect-ratio: 1280 / 670; border-radius: 10px 10px 0 0; }
  .note-body { padding: 20px 20px 20px; border-radius: 0 0 10px 10px; min-height: auto; }
  .note-title { font-size: 14px; line-height: 24px; }
  .note-date { font-size: 11px; }
  .notes-more { margin-top: 32px; }
  .notes-more-btn { font-size: 13px; padding: 12px 36px; }

  /* CONTACT */
  .contact { padding: 0 28px 60px; }
  .contact-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .contact-left { max-width: 100%; }
  .contact-sub { font-size: 14px; line-height: 24px; margin-top: 16px; }
  .contact-body { font-size: 14px; line-height: 24px; }
  .contact-right { width: 100%; justify-content: center; }
  .contact-btn { width: 100%; font-size: 13px; line-height: 22px; padding: 12px 16px; border-width: 0.5px; border-radius: 100px; }

  /* FOOTER */
  .footer { font-size: 8px; height: 38px; }
}
