/* ============================================================
   soukyu.com「デザイン書道 個別オンラインレッスン」
   このページだけの独立したデザイン（金・波型ディバイダー・
   スクロールで浮かび上がる演出は継承しつつ、見出しラベルや
   アクセントカラーはsoukyu.com共通のトーンに寄せている）。
   サイト共通のヘッダー・フッターは css/common.css をそのまま使用。
   ============================================================ */
:root {
  --gold: #c8a96e;
  --gold-light: #e8d5a8;
  --lesson-cream: #f8f6f2;
  --accent-red: #cf3a2b;
  --accent-red-dark: #a52f22;
  --lesson-text: #333;
  --lesson-text-light: #666;
}

body {
  font-family: 'Noto Serif JP', serif;
  background: #fff;
  color: var(--lesson-text);
  overflow-x: hidden;
}

/* ---------- スクロールで浮かび上がる演出 ---------- */
html.ol-reveal-ready .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal, .reveal.visible, html.ol-reveal-ready .reveal.visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html.ol-reveal-ready .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- セクション共通 ---------- */
.ol-section { padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 24px); }
.ol-section-cream { background: var(--lesson-cream); }
.ol-inner { max-width: 900px; margin: 0 auto; }
.ol-inner-narrow { max-width: 720px; margin: 0 auto; }

.ol-sec-head { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 48px; }
.ol-script {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}
.ol-sec-head h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  line-height: 1.55;
  color: #222;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.ol-gold-line { width: 40px; height: 2px; background: var(--gold); margin: 0 auto 20px; }
.ol-sec-head p { font-family: 'Noto Sans JP', sans-serif; font-size: clamp(16px, 1.35vw, 17.5px); color: #555; line-height: 2; max-width: 640px; margin: 0 auto; }

/* ---------- ヒーロー ---------- */
.ol-hero { background: #fff; padding: 80px clamp(20px, 5vw, 24px) 0; text-align: center; }
.ol-hero-inner { max-width: 760px; margin: 0 auto; }
.ol-hero h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(34px, 4.4vw, 48px);
  font-weight: 700;
  line-height: 1.6;
  color: #222;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}
.ol-mobile-break { display: none; }
.ol-hero-lead {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(16px, 1.35vw, 17.5px);
  line-height: 2.05;
  color: #555;
  max-width: 620px;
  margin: 0 auto 28px;
}
.ol-hero-visual {
  max-width: 640px;
  aspect-ratio: 16 / 9.5;
  margin: 0 auto 8px;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--gold-light);
  background: var(--lesson-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  color: #a89a7a;
  text-align: center;
  box-shadow: 0 8px 28px rgba(200, 169, 110, 0.18);
}
.ol-hero-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- 波型ディバイダー ---------- */
.ol-wave { width: 100%; overflow: hidden; line-height: 0; background: #fff; }
.ol-wave svg { display: block; width: 100%; height: 48px; }
.ol-wave-cream { background: #fff; }
.ol-wave-cream svg path.ol-wave-fill { fill: var(--lesson-cream); }
.ol-wave-white svg path.ol-wave-fill { fill: #fff; }

/* ---------- 悩みリスト ---------- */
.ol-worry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 32px;
  margin-top: 8px;
}
.ol-worry-card {
  display: flex;
  align-items: baseline;
  gap: 12px;
  text-align: left;
  padding: 4px 0;
}
.ol-worry-card::before {
  content: "";
  width: 10px;
  height: 2px;
  background: var(--shu);
  flex-shrink: 0;
  transform: translateY(-6px);
}
.ol-worry-card h3 { font-family: 'Noto Sans JP', sans-serif; font-size: clamp(16px, 1.35vw, 17.5px); font-weight: 500; color: #333; line-height: 1.7; }

/* ---------- 本文 ---------- */
.ol-entry { margin-bottom: 12px; }
.ol-entry p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(16px, 1.35vw, 17.5px);
  line-height: 2.1;
  color: #4a4a46;
  margin-bottom: 16px;
}
.ol-entry p:last-child { margin-bottom: 0; }
.ol-entry a { color: #333; font-weight: 700; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; text-decoration-thickness: 1.5px; transition: color 0.2s, text-decoration-color 0.2s; }
.ol-entry a:hover { color: var(--accent-red); text-decoration-color: var(--accent-red); }

.ol-content-image { margin: 28px 0; }
.ol-content-image img { display: block; max-width: 100%; height: auto; border-radius: 10px; margin: 0 auto; }

/* ---------- チェックリスト（罫線区切りのエディトリアル型） ---------- */
.ol-checklist { list-style: none; margin: 22px 0; }
.ol-checklist li {
  display: flex; align-items: center; gap: 14px;
  font-family: 'Noto Sans JP', sans-serif; font-size: clamp(16px, 1.35vw, 17.5px); font-weight: 500; color: #3a3a3a; line-height: 1.7;
  padding: 15px 2px;
  border-bottom: 1px solid #e9e0cd;
}
.ol-checklist li:last-child { border-bottom: 0; }
.ol-checklist li .chk {
  width: 20px; height: 20px; flex-shrink: 0;
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.ol-checklist li .chk svg { width: 100%; height: 100%; display: block; }
.ol-checklist li strong { color: #222; }

/* ---------- 講師紹介 ---------- */
.ol-teacher-grid { display: grid; grid-template-columns: 260px 1fr; gap: 44px; align-items: start; }
.ol-teacher-photo {
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--gold-light);
  background: var(--lesson-cream);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Noto Sans JP', sans-serif; font-size: 13px; color: #a89a7a; text-align: center;
  box-shadow: 0 8px 24px rgba(200, 169, 110, 0.15);
}
.ol-teacher-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ol-stat-row { display: flex; gap: clamp(24px, 4vw, 48px); margin: 20px 0 22px; }
.ol-stat-num { font-family: 'Noto Serif JP', serif; font-size: clamp(1.9rem, 3vw, 2.4rem); font-weight: 700; color: #222; line-height: 1; }
.ol-stat-num span { font-family: 'Noto Sans JP', sans-serif; font-size: 0.85rem; font-weight: 700; color: var(--lesson-text-light); margin-left: 4px; }
.ol-stat-label { font-family: 'Noto Sans JP', sans-serif; font-size: 0.78rem; color: var(--lesson-text-light); margin-top: 4px; }
.ol-teacher-name { font-family: 'Noto Serif JP', serif; font-size: 1.5rem; font-weight: 700; color: #222; letter-spacing: 0.04em; margin-bottom: 6px; }
.ol-teacher-role { font-family: 'Noto Sans JP', sans-serif; font-size: 0.85rem; color: var(--lesson-text-light); margin-bottom: 18px; }
.ol-teacher-link { font-family: 'Noto Sans JP', sans-serif; font-size: 0.88rem; color: var(--gold); text-decoration: none; font-weight: 700; }
.ol-teacher-link:hover { color: var(--accent-red); }

/* ---------- 必要なもの（番号つき準備リスト） ---------- */
.ol-items-list { counter-reset: item; margin: 24px 0; }
.ol-items-list dt {
  counter-increment: item;
  position: relative;
  padding: 20px 0 0 48px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #222;
  line-height: 1.6;
}
.ol-items-list dt::before {
  content: counter(item, decimal-leading-zero);
  position: absolute;
  left: 2px;
  top: 19px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.ol-items-list dd {
  margin: 6px 0 0;
  padding: 0 0 20px 48px;
  border-bottom: 1px solid #e9e0cd;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(16px, 1.35vw, 17px);
  color: #666;
  line-height: 1.9;
}
.ol-items-list dd:last-of-type { border-bottom: 0; padding-bottom: 0; }

.ol-points-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 16px 0; }
.ol-points-list li { font-family: 'Noto Sans JP', sans-serif; font-size: clamp(16px, 1.35vw, 17.5px); font-weight: 500; color: #3a3a3a; display: flex; align-items: center; gap: 6px; }
.ol-points-list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* ---------- レッスンの進め方（丸番号ステップ） ---------- */
.ol-flow { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 8px; }
.ol-flow-step { text-align: center; padding: 30px 20px; background: #fff; border: 1px solid #e8e0d0; border-radius: 14px; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.ol-flow-num {
  width: 46px; height: 46px; border: 2px solid var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Noto Serif JP', serif; font-weight: 700; color: var(--gold);
  margin: 0 auto 14px; font-size: 1.15rem;
}
.ol-flow-step h3 { font-family: 'Noto Serif JP', serif; font-size: clamp(20px, 2vw, 23px); font-weight: 700; line-height: 1.55; color: #222; margin-bottom: 12px; }
.ol-flow-step p { font-family: 'Noto Sans JP', sans-serif; font-size: clamp(16px, 1.35vw, 17.5px); color: #666; line-height: 2; }

/* ---------- FAQ ---------- */
.ol-faq-wrap { max-width: 760px; margin: 0 auto; }
.ol-faq-item { border: 1px solid #e8e0d0; border-radius: 10px; margin-bottom: 12px; overflow: hidden; background: #fff; }
.ol-faq-q { padding: 18px 20px; display: flex; align-items: flex-start; gap: 14px; cursor: pointer; transition: background 0.2s; }
.ol-faq-q:hover { background: var(--lesson-cream); }
.ol-faq-q:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.ol-faq-q-mark {
  font-family: 'Noto Serif JP', serif; font-size: 1.1rem; font-weight: 700; color: var(--gold);
  flex-shrink: 0; line-height: 1.4; border-right: 1.5px solid var(--gold-light); padding-right: 14px;
}
.ol-faq-q-text { font-family: 'Noto Sans JP', sans-serif; font-size: clamp(16px, 1.35vw, 17.5px); font-weight: 500; color: #333; flex: 1; line-height: 1.7; }
.ol-faq-arrow { flex-shrink: 0; color: var(--gold); font-size: 0.8rem; margin-top: 3px; transition: transform 0.3s; }
.ol-faq-item.open .ol-faq-arrow { transform: rotate(180deg); }
.ol-faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}
.ol-faq-item.open .ol-faq-a {
  grid-template-rows: 1fr;
}
.ol-faq-a-in {
  overflow: hidden;
  min-height: 0;
  padding: 0 22px 0 48px;
  background: var(--lesson-cream);
  border-top: 0 solid #e8e0d0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(16px, 1.35vw, 17.5px);
  color: #555;
  line-height: 2;
  transition: padding 0.35s ease, border-top-width 0.35s ease;
}
.ol-faq-item.open .ol-faq-a-in {
  padding-top: 18px;
  padding-bottom: 20px;
  border-top-width: 1px;
}

/* ---------- 料金 ---------- */
.ol-price-box {
  background: #fff; border: 2px solid var(--gold-light); border-radius: 16px;
  padding: 36px; max-width: 560px; margin: 0 auto 32px; text-align: center;
  box-shadow: 0 6px 24px rgba(200, 169, 110, 0.15);
}
.ol-price-num { font-family: 'Noto Serif JP', serif; font-size: 2.6rem; font-weight: 700; color: #222; line-height: 1; }
.ol-price-num span { font-family: 'Noto Sans JP', sans-serif; font-size: 0.95rem; font-weight: 700; color: #444; margin-left: 6px; }
.ol-price-unit { font-family: 'Noto Sans JP', sans-serif; font-size: 0.85rem; color: #666; margin-top: 8px; }
.ol-price-detail { font-family: 'Noto Sans JP', sans-serif; font-size: clamp(16px, 1.35vw, 17.5px); color: #777; line-height: 2; margin-top: 18px; padding-top: 18px; border-top: 1px solid #e8e0d0; text-align: left; }
.ol-price-detail p { margin-bottom: 8px; }
.ol-price-detail p:last-child { margin-bottom: 0; }

/* ---------- CTA ---------- */
.ol-cta-wrap { text-align: center; }
.ol-cta-lead { font-family: 'Noto Sans JP', sans-serif; font-size: clamp(16px, 1.35vw, 17.5px); color: #555; line-height: 2.05; margin-bottom: 28px; }
.ol-btn-primary {
  display: inline-block;
  background: var(--accent-red);
  color: #fff;
  font-family: 'Noto Serif JP', serif;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 16px 48px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(207, 58, 43, 0.3);
  text-decoration: none;
  transition: all 0.2s;
}
.ol-btn-primary:hover { background: var(--accent-red-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(207, 58, 43, 0.4); }
.ol-btn-primary.is-disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
.ol-cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }

@media (max-width: 760px) {
  .ol-hero { padding-top: 48px; }
  .ol-worry-grid { grid-template-columns: repeat(2, 1fr); }
  .ol-teacher-grid { grid-template-columns: 1fr; }
  .ol-teacher-photo { max-width: 260px; margin: 0 auto; }
  .ol-flow { grid-template-columns: 1fr; }
}
@media (max-width: 500px) {
  .ol-mobile-break { display: inline; }
  .ol-desktop-break { display: none; }
  .ol-worry-grid { grid-template-columns: 1fr; }
  .ol-cta-buttons { flex-direction: column; align-items: stretch; }
}
