/* Fujiya Campus 公式サイト
   トンマナ：紋章アイコン（濃紺×金・伝統校の落ち着き）に合わせる。色は CI_FujiyaCampus.md の Navy / Deep Navy / Gold / Cream を土台にする */
:root {
  --navy: #1A3468;      /* CI Campus Navy */
  --deep: #1A2E5A;      /* CI Deep Navy */
  --ink: #14244A;
  --gold: #F5C440;      /* CI Campus Gold（強調の点だけ） */
  --brass: #B8914A;     /* 紋章の金（線・飾り） */
  --brass-dark: #8C6A2E;
  --gold-grad: linear-gradient(135deg, #E9CF8A 0%, #C9A45A 45%, #F3DFA6 60%, #B8914A 100%);
  --cream: #FAFAE3;     /* CI Campus Cream */
  --ivory: #F7F3E6;
  --line: #06C755;
  --muted: #55607a;
  --white: #fff;
  --serif: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", "MS PMincho", serif;
  --sans: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", "Meiryo", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); line-height: 1.85; -webkit-text-size-adjust: 100%; }
a { color: var(--navy); }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
h1, h2, h3, .logo-text b, .footer-logo, .worry-q, .values b, .cta, .q { font-family: var(--serif); }

/* ---------- ヘッダー ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--brass); }
.topbar-inner { display: flex; align-items: center; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); margin-right: auto; }
.logo img { width: 40px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.logo-text b { font-size: 22px; letter-spacing: .04em; font-weight: 600; }
.logo-text small { font-size: 11px; color: var(--muted); }
.tel { display: flex; flex-direction: column; line-height: 1.3; text-align: right; }
.tel-label { font-size: 11px; color: var(--muted); }
.tel-num { font-family: var(--serif); font-size: 23px; font-weight: 700; color: var(--navy); text-decoration: none; letter-spacing: .04em; }
.tel-mail { font-size: 12px; color: var(--navy); text-decoration: none; letter-spacing: .02em; }
.tel-mail:hover { text-decoration: underline; }
.quick { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.q { display: flex; align-items: center; justify-content: center; width: 92px; height: 56px; font-size: 12.5px; font-weight: 700; text-decoration: none; line-height: 1.35; text-align: center; border-radius: 4px; }
.q-gold { background: var(--gold-grad); color: var(--ink); }
.q-line { background: var(--line); color: var(--white); }
.q-navy { background: var(--navy); color: var(--white); }
.menu-btn { display: none; }

.gnav { background: var(--deep); border-top: 2px solid var(--brass); }
.gnav ul { display: flex; list-style: none; margin: 0 auto; }
.gnav li { flex: 1; }
.gnav a { display: block; text-align: center; color: var(--white); text-decoration: none; font-family: var(--serif); font-weight: 600; letter-spacing: .05em; padding: 12px 4px; border-bottom: 3px solid transparent; }
.gnav a:hover { border-bottom-color: var(--brass); color: #F3DFA6; }
@media (min-width: 861px) {
  .gnav a { white-space: nowrap; }
  .gnav li.gnav-top { flex: 0 0 auto; }
  .gnav li.gnav-top a { padding-left: 22px; padding-right: 22px; font-size: 13px; letter-spacing: .12em; }
}

/* ---------- メインビジュアル ---------- */
.hero { position: relative; background: radial-gradient(ellipse at 75% 40%, #24427F 0%, var(--deep) 55%, #0F1D3D 100%); color: var(--white); padding: 56px 0 40px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(201,164,90,.55); pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 32px; }
.hero-kicker { display: inline-block; font-family: var(--serif); color: #F3DFA6; letter-spacing: .15em; font-size: 14px; margin: 0 0 14px; padding-bottom: 6px; border-bottom: 1px solid var(--brass); }
.hero h1 { font-size: clamp(28px, 4.2vw, 44px); line-height: 1.5; margin: 0 0 18px; font-weight: 600; letter-spacing: .03em; }
.hero h1 em { font-style: normal; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { margin: 0 0 16px; color: #DDE3F0; max-width: 34em; }
.hero-who { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px 12px; margin: 0 0 18px; }
.hero-who-h { margin: 6px 0 0; font-family: var(--serif); font-size: 13px; letter-spacing: .2em; color: #F3DFA6; }
.hero-who-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; flex: 1; min-width: 0; }
.hero-who-list a { display: flex; flex-direction: column; padding: 6px 14px 7px; border: 1px solid var(--brass); border-radius: 4px; background: rgba(250,250,227,.06); color: #fff; text-decoration: none; line-height: 1.35; transition: background .2s; }
.hero-who-list a:hover, .hero-who-list a:focus-visible { background: rgba(245,196,64,.18); }
.hero-who-list b { font-size: 15px; letter-spacing: .04em; }
.hero-who-list small { font-size: 11.5px; color: #DDE3F0; }
@media (max-width: 600px) {
  .hero-who-list { display: grid; grid-template-columns: 1fr 1fr; width: 100%; flex: none; }
  .hero-who-list small { font-size: 11px; }
}
.hero-tag { margin: 0; font-family: var(--serif); font-style: italic; color: #C9A45A; letter-spacing: .08em; }
.hero-crest { text-align: center; }
.hero-crest img { width: min(300px, 100%); filter: drop-shadow(0 12px 28px rgba(0,0,0,.45)); }
.banners { position: relative; margin-top: 32px; }
.banner { display: flex; flex-direction: column; gap: 2px; padding: 18px 24px; text-decoration: none; color: var(--ink); background: var(--ivory); border: 1px solid var(--brass); outline: 4px double var(--brass); outline-offset: -9px; }
.banner-badge { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 1px 12px; background: var(--navy); color: #F3DFA6; letter-spacing: .1em; }
.banner-title { font-family: var(--serif); font-size: 21px; font-weight: 700; }
.banner-sub { font-size: 14px; color: var(--muted); }

/* ---------- 見出し・セクション ---------- */
.sec { padding: 64px 0; }
.sec-ivory { background: var(--ivory); }
.sec-navy { background: var(--deep); color: var(--white); }
.sec-title { text-align: center; font-size: clamp(23px, 3vw, 31px); font-weight: 600; letter-spacing: .06em; margin: 0 0 36px; }
.sec-title span { display: block; font-size: 13px; letter-spacing: .3em; color: var(--brass); font-style: italic; text-transform: uppercase; }
.sec-title::after { content: "◆"; display: block; font-size: 10px; color: var(--brass); margin-top: 8px; letter-spacing: 0; background: linear-gradient(var(--brass), var(--brass)) left 50% / 40% 1px no-repeat, linear-gradient(var(--brass), var(--brass)) right 50% / 40% 1px no-repeat; width: 160px; margin-left: auto; margin-right: auto; }
.sec-title-light { color: var(--white); }

/* お悩みカード */
.worry-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.worry { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; height: 100%; padding: 26px 22px 18px; text-decoration: none; color: var(--ink); background: var(--white); border: 1px solid #D9CBA6; border-top: 3px solid var(--navy); transition: box-shadow .2s, transform .2s; }
.worry::before { content: "“"; position: absolute; top: -6px; left: 14px; font-family: var(--serif); font-size: 48px; color: var(--brass); line-height: 1; }
.worry:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(20,36,74,.12); }
.worry-q { font-size: 17.5px; font-weight: 600; line-height: 1.65; }
.worry-a { font-size: 13px; color: var(--muted); border-top: 1px dotted var(--brass); padding-top: 10px; }
.worry-a::after { content: " ›"; color: var(--brass); font-weight: 700; }

/* 私たちの考え */
.intro .lead { font-size: 16.5px; text-align: center; color: #DDE3F0; margin: 0 0 32px; }
.values { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.values li { text-align: center; padding: 22px 16px; border: 1px solid rgba(201,164,90,.6); }
.values b { display: block; font-size: 28px; font-weight: 600; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.values span { font-size: 14px; color: #C9D2E6; }

/* 入会導線 */
.cta3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cta { display: flex; align-items: center; justify-content: center; padding: 18px 12px; font-weight: 700; font-size: 17px; letter-spacing: .05em; text-decoration: none; background: var(--navy); color: var(--white); border: 1px solid var(--deep); }
.cta-gold { background: var(--gold-grad); color: var(--ink); border-color: var(--brass-dark); }
.cta-line { background: var(--line); color: var(--white); border-color: #04913e; }
.cta:hover { filter: brightness(1.06); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.steps li { counter-increment: s; position: relative; background: var(--ivory); padding: 46px 16px 16px; border-left: 2px solid var(--brass); }
.steps li::before { content: "STEP " counter(s); position: absolute; top: 14px; left: 16px; font-family: var(--serif); font-size: 13px; font-weight: 700; letter-spacing: .15em; color: var(--brass-dark); }
.steps b { display: block; font-family: var(--serif); }
.steps span { font-size: 14px; color: var(--muted); }

/* お悩み別のご紹介 */
.course { background: var(--white); margin-bottom: 26px; border: 1px solid #D9CBA6; }
.course-head { display: flex; align-items: center; gap: 18px; padding: 18px 24px; background: var(--deep); color: var(--white); border-bottom: 2px solid var(--brass); }
.course-head-gold { background: var(--navy); }
.course-no { font-family: var(--serif); font-size: 34px; font-weight: 600; line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.course-head h3 { margin: 0; font-size: 21px; font-weight: 600; letter-spacing: .03em; }
.course-for { margin: 0; font-size: 13px; color: #F3DFA6; }
.course-body { padding: 22px 26px 24px; }
.course-catch { font-size: 16.5px; margin: 0 0 12px; }
.check { list-style: none; padding: 0; margin: 0 0 16px; }
.check li { padding-left: 26px; position: relative; margin-bottom: 4px; }
.check li::before { content: "◆"; position: absolute; left: 4px; top: 1px; font-size: 11px; color: var(--brass); }
.course-plan { margin: 0; padding: 10px 16px; background: var(--ivory); border-left: 3px solid var(--navy); font-size: 14.5px; }
.btn { display: inline-block; padding: 11px 28px; font-family: var(--serif); font-weight: 700; letter-spacing: .05em; text-decoration: none; }
.btn-gold { background: var(--gold-grad); color: var(--ink); border: 1px solid var(--brass-dark); }
.btn-navy { background: var(--navy); color: var(--white); }

/* お申し込み */
.apply { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) { .apply { grid-template-columns: repeat(2, 1fr); } }
.apply-card { display: flex; flex-direction: column; align-items: center; padding: 28px 16px; border: 1px solid var(--brass); outline: 3px double #D9CBA6; outline-offset: -8px; text-decoration: none; color: var(--ink); text-align: center; }
.apply-card b { font-family: var(--serif); font-size: 19px; }
.apply-card span { font-size: 14px; color: var(--muted); }
.apply-card:hover { background: var(--ivory); }

/* 教室 */
.access { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.access-card { background: var(--white); padding: 24px; border-top: 3px solid var(--navy); border-bottom: 1px solid var(--brass); }
.access-card h3 { margin: 0 0 8px; font-weight: 600; }

/* 料金 */
.table-wrap { overflow-x: auto; }
.price { width: 100%; border-collapse: collapse; min-width: 560px; }
.price th, .price td { border: 1px solid #D9CBA6; padding: 12px; text-align: left; }
.price thead th { background: var(--deep); color: #F3DFA6; font-family: var(--serif); font-weight: 600; }
.price tbody th { background: var(--ivory); white-space: nowrap; font-family: var(--serif); }
.notes { font-size: 14px; color: var(--muted); padding-left: 20px; }

/* フッター */
.site-footer { background: #0F1D3D; color: #DDE3F0; padding: 44px 0 16px; border-top: 3px solid var(--brass); }
.site-footer a { color: #F3DFA6; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; gap: 16px; align-items: flex-start; }
.footer-brand img { width: 60px; }
.footer-brand p { margin: 0; font-size: 14px; }
.footer-logo { font-size: 22px; color: var(--white); margin-bottom: 4px !important; letter-spacing: .05em; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, auto); gap: 6px 36px; font-size: 14px; }
.footer-links a { text-decoration: none; }
.copy { text-align: center; font-size: 12px; opacity: .6; margin: 28px 0 0; }

/* ---------- スマホ ---------- */
@media (max-width: 860px) {
  .tel, .quick { display: none; }
  .menu-btn { display: block; background: var(--navy); color: var(--white); border: 1px solid var(--brass); padding: 9px 14px; font-weight: 700; font-size: 14px; font-family: var(--serif); }
  html:not(.js) .menu-btn { display: none; }
  .js .gnav { display: none; }
  .js .gnav.is-open { display: block; }
  .gnav ul { flex-direction: column; }
  .gnav a { text-align: left; padding: 12px 16px; border-bottom: 1px solid rgba(201,164,90,.3); }
  .hero { padding-top: 40px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-crest { order: -1; }
  .hero-crest img { width: 150px; }
  .cta3, .apply, .access, .values { grid-template-columns: 1fr; }
  .worry-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  br.pc { display: none; }
}
@media (max-width: 560px) {
  .worry-grid, .steps { grid-template-columns: 1fr; }
  .worry-q br { display: none; }
  .logo-text b { font-size: 19px; }
  .course-head { padding: 14px 16px; gap: 12px; }
  .course-body { padding: 18px 16px 20px; }
}

/* ---------- 写真（v0.3） ---------- */
.hero { background: linear-gradient(100deg, rgba(15,29,61,.94) 0%, rgba(26,46,90,.86) 55%, rgba(26,46,90,.55) 100%), url(../img/photo/room.jpg) center / cover no-repeat; }
.sec-navy { background: linear-gradient(rgba(26,46,90,.9), rgba(15,29,61,.92)), url(../img/photo/room2.jpg) center / cover no-repeat; }
.worry { padding-top: 0; overflow: hidden; }
.worry-img { display: block; max-width: none; width: calc(100% + 44px); margin: 0 -22px 4px; aspect-ratio: 16 / 10; object-fit: cover; border-bottom: 2px solid var(--brass); }
.worry::before { top: auto; bottom: 64px; display: none; }
.course-main { display: grid; grid-template-columns: 340px 1fr; }
.course-photo { margin: 0; position: relative; }
.course-photo img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; display: block; }
.course-photo::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(243,223,166,.75); pointer-events: none; }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery li { position: relative; overflow: hidden; background: var(--deep); }
.gallery li.g-wide { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .4s; }
.gallery li:hover img { transform: scale(1.04); }
.gallery span { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 8px; font-size: 13px; color: var(--white); background: linear-gradient(transparent, rgba(15,29,61,.85)); }
.access-carousel { position: relative; aspect-ratio: 16 / 9; margin-bottom: 12px; overflow: hidden; background: var(--deep); }
.access-carousel .access-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity .8s ease; }
.access-carousel .access-photo.is-active { opacity: 1; }
.ac-prev, .ac-next { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(15,29,61,.55); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.ac-prev { left: 10px; } .ac-next { right: 10px; }
.ac-prev:hover, .ac-next:hover { background: rgba(15,29,61,.8); }
.ac-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 8px; }
.ac-dots button { width: 9px; height: 9px; padding: 0; border: 1px solid #fff; border-radius: 50%; background: transparent; cursor: pointer; }
.ac-dots button.is-active { background: var(--brass, #B8914A); border-color: var(--brass, #B8914A); }
@media (max-width: 860px) {
  .course-main { grid-template-columns: 1fr; }
  .course-photo img { aspect-ratio: 16 / 9; min-height: 0; }
  .gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .gallery li.g-wide { grid-column: span 2; grid-row: auto; }
}

/* ---------- v0.4：4域＋1・五教科・実践の場・Instagram ---------- */
.worry-grid { grid-template-columns: repeat(4, 1fr); }
.worry-q { font-size: 16px; }
.worry-img.worry-illu { object-fit: contain; background: var(--ivory); padding: 10px 0; }
.domains-lead, .practice-lead { text-align: center; margin: -12px 0 32px; }
.practice-lead { color: #DDE3F0; }
.domains { display: grid; grid-template-columns: 1fr auto 300px; align-items: center; gap: 18px; }
.domain-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.domain { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 18px 14px 16px; background: var(--white); border: 1px solid var(--brass); outline: 3px double #D9CBA6; outline-offset: -8px; }
.domain img { width: auto; max-width: 88%; height: 150px; object-fit: contain; margin-bottom: 10px; }
.domain b { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--navy); line-height: 1.3; }
.domain b small { display: block; font-size: 11px; letter-spacing: .25em; color: var(--brass-dark); font-style: italic; }
.domain span { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.domain-soon { justify-content: center; min-height: 150px; background: transparent; border-style: dashed; outline: none; opacity: .75; }
.domain-plus { margin: 0; font-family: var(--serif); font-size: 44px; color: var(--brass); line-height: 1; }
.domain-base { border-top: 3px solid var(--navy); }
.domain-base img { height: 190px; }
.course-illu { background: var(--ivory); display: flex; align-items: center; justify-content: center; }
.course-illu img { object-fit: contain; padding: 18px; }
.course-illu::after { border-color: rgba(184,145,74,.6); }
.check.subjects b { display: inline-block; min-width: 3.2em; font-family: var(--serif); color: var(--navy); }
.practice { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.practice-card { display: flex; flex-direction: column; background: var(--ivory); color: var(--ink); border: 1px solid var(--brass); overflow: hidden; }
.practice-card img, .practice-card svg { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; border-bottom: 2px solid var(--brass); }
.practice-card svg { color: var(--navy); background: linear-gradient(135deg, #F3DFA6 0%, #E9CF8A 100%); padding: 28px 0; box-sizing: border-box; }
.practice-card div { padding: 16px 18px 18px; }
.practice-card b { display: block; font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.practice-card span { font-size: 14px; }
.ig-grid { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ig-grid:empty { display: none; }
.ig-grid a { display: block; position: relative; overflow: hidden; border: 1px solid #D9CBA6; background: var(--deep); }
.ig-grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; transition: transform .4s; }
.ig-grid a:hover img { transform: scale(1.04); }
.ig-grid .ig-date { position: absolute; left: 0; bottom: 0; padding: 2px 8px; font-size: 11.5px; color: var(--white); background: rgba(15,29,61,.8); }
.ig-more { text-align: center; margin: 0; }
@media (max-width: 860px) {
  .worry-grid { grid-template-columns: 1fr 1fr; }
  .domains { grid-template-columns: 1fr; }
  .domain-plus { text-align: center; }
  .practice { grid-template-columns: 1fr 1fr; }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .worry-grid { grid-template-columns: 1fr; }
  .domain-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .domain img { height: 110px; }
  .ig-grid { grid-template-columns: 1fr 1fr; }
  .practice { grid-template-columns: 1fr; }
}
.domain-soon img { height: 110px; opacity: .55; filter: grayscale(.25); }

/* ===== プランの紹介 ===== */
.plans { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.plan-card a { display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid #D9CBA6; border-top: 3px solid var(--navy); color: var(--ink); text-decoration: none; transition: box-shadow .2s, transform .2s; }
.plan-card a:hover { box-shadow: 0 8px 22px rgba(15,29,61,.14); transform: translateY(-2px); }
.plan-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.plan-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.plan-body b { font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--navy); }
.plan-body small { font-size: 12.5px; color: var(--brass-dark); margin-bottom: 10px; }
.plan-price { margin: 0 0 6px; font-weight: 600; font-size: 14.5px; }
.plan-note { margin: 0 0 14px; font-size: 13.5px; flex: 1; }
.plan-more { align-self: flex-start; font-size: 13.5px; color: var(--navy); border-bottom: 1px solid var(--brass); }
.plan-more::after { content: " →"; }

/* ===== お悩み別：一問一答 ===== */
.qa-list { max-width: 880px; margin: 0 auto; display: grid; gap: 12px; }
.qa { background: var(--white); border: 1px solid #D9CBA6; }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 16px 48px 16px 18px; position: relative; font-weight: 600; color: var(--navy); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--brass); transition: transform .2s; }
.qa[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.qa-q, .qa-mark { flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-family: var(--serif); font-size: 15px; }
.qa-q { background: var(--navy); color: #F3DFA6; }
.qa-a { padding: 0 18px 18px 62px; }
.qa-a p:first-child { position: relative; margin-top: 0; }
.qa-mark { position: absolute; left: -44px; top: -3px; background: #F3DFA6; color: var(--navy); }
.qa-plan { background: var(--ivory); border-left: 3px solid var(--navy); padding: 10px 14px; font-size: 14px; }
.qa-link { font-size: 14px; color: var(--navy); border-bottom: 1px solid var(--brass); text-decoration: none; }
.qa-link::after { content: " →"; }

/* ===== 詳細ページ ===== */
.page-hero { background: var(--navy); color: var(--white); padding: 48px 0 44px; border-bottom: 3px solid var(--brass); }
.page-hero.hero-adult { background: linear-gradient(rgba(26,46,90,.86), rgba(15,29,61,.9)), url(../img/photo/cv-coffee.jpg) center 60% / cover no-repeat; }
.page-hero .crumb { margin: 0 0 14px; font-size: 13px; color: #C9D2E6; }
.page-hero .crumb a { color: #F3DFA6; }
.page-hero h1 { margin: 0 0 12px; font-family: var(--serif); font-size: 32px; font-weight: 600; }
.page-hero h1 span { display: block; font-size: 14px; letter-spacing: .2em; font-style: italic; color: var(--brass); margin-bottom: 6px; }
.page-lead { margin: 0; max-width: 760px; color: #DDE3F0; }
.page-more { text-align: right; margin: 12px 0 0; font-size: 14px; }

@media (max-width: 860px) {
  .plans { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .plans { grid-template-columns: 1fr; }
  .qa-a { padding-left: 18px; }
  .qa-a p:first-child { padding-left: 40px; }
  .qa-mark { left: 0; }
  .page-hero h1 { font-size: 26px; }
}
.qa-a { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: start; padding-left: 18px; }
.qa-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border: 1px solid #D9CBA6; }
.qa-a .qa-body p:first-child { position: relative; margin-top: 0; padding-left: 40px; }
.qa-a .qa-body .qa-mark { left: 0; }
@media (max-width: 560px) {
  .qa-a { grid-template-columns: 1fr; gap: 14px; }
}

/* ---------- 詳細ページ：講座の流れ・これまでの講座・スライド見本・復習 ---------- */
.sec-lead { max-width: 760px; margin: -8px auto 28px; text-align: center; color: var(--muted); }
.sec-navy .sec-lead { color: #DDE3F0; }
.lec-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: f; }
.lec-flow li { counter-increment: f; background: var(--white); border: 1px solid #D9CBA6; border-top: 3px solid var(--navy); display: flex; flex-direction: column; }
.lec-flow figure { margin: 0; border-bottom: 1px solid #E6DCC0; background: var(--white); }
.lec-flow figure img { width: 100%; aspect-ratio: 1682 / 1190; object-fit: cover; display: block; }
.lec-flow div { padding: 14px 16px 16px; }
.lec-flow b { display: block; font-family: var(--serif); color: var(--navy); font-size: 17px; margin-bottom: 2px; }
.lec-flow b::before { content: "0" counter(f) " "; color: var(--brass-dark); font-size: 14px; letter-spacing: .1em; }
.lec-flow span { font-size: 14px; color: var(--ink); }
.lec-group { margin: 0 0 30px; }
.lec-group h3 { font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--navy); margin: 0 0 12px; padding-left: 12px; border-left: 3px solid var(--brass); }
.lec-group h3 small { font-family: var(--sans); font-size: 13px; color: var(--muted); font-weight: 400; margin-left: 8px; }
.lec-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.lec-card { margin: 0; background: var(--white); border: 1px solid #D9CBA6; }
.lec-card img { width: 100%; aspect-ratio: 1682 / 1190; object-fit: cover; display: block; border-bottom: 1px solid #E6DCC0; }
.lec-card figcaption { padding: 8px 12px 10px; font-size: 13.5px; line-height: 1.6; }
.lec-card figcaption b { display: block; font-family: var(--serif); font-size: 15px; color: var(--navy); }
.slide-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.slide-pair figure { margin: 0; background: var(--white); border: 1px solid var(--brass); padding: 8px; }
.slide-pair img { width: 100%; display: block; }
.slide-pair figcaption { font-size: 13.5px; color: var(--muted); padding: 8px 4px 2px; }
.note-small { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.sec-navy .note-small { color: #C9D2E6; }
@media (max-width: 860px) {
  .lec-grid { grid-template-columns: repeat(2, 1fr); }
  .lec-flow { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}
@media (max-width: 560px) {
  .slide-pair { grid-template-columns: 1fr; }
  .lec-grid { gap: 10px; }
  .lec-card figcaption { padding: 6px 8px 8px; font-size: 12.5px; }
}

/* アプリ紹介 */
.app-list { display: grid; gap: 30px; }
.app-item { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; }
.app-item:nth-child(even) .app-shot { order: 2; }
.app-shot { margin: 0; background: var(--white); border: 1px solid var(--brass); padding: 8px; box-shadow: 0 6px 18px rgba(20,36,74,.12); }
.app-shot img { width: 100%; height: auto; display: block; }
.app-text h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--navy); margin: 0 0 12px; }
.app-text h3 small { display: block; font-family: var(--sans); font-size: 13px; color: var(--brass-dark); font-weight: 400; letter-spacing: .05em; }
.app-text .check li { margin-bottom: 8px; }
/* 五教科とのつながり */
.subj-feature { margin: 0 auto 28px; max-width: 820px; background: var(--white); border: 1px solid var(--brass); padding: 8px; }
.subj-feature img { width: 100%; display: block; }
.subj-feature figcaption { font-size: 13.5px; color: var(--muted); padding: 8px 4px 2px; }
.subj-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.subj-links > li { display: grid; grid-template-columns: 76px 1fr; gap: 18px; align-items: start; background: var(--ivory); border-left: 3px solid var(--navy); padding: 16px 18px; }
.subj-badge { display: flex; align-items: center; justify-content: center; width: 76px; height: 76px; border-radius: 50%; background: var(--navy); color: #F3DFA6; font-family: var(--serif); font-size: 22px; font-weight: 600; border: 2px solid var(--brass); box-sizing: border-box; }
.subj-text p { margin: 0 0 10px; }
.subj-thumbs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.subj-thumbs li { width: 150px; font-size: 12.5px; line-height: 1.5; }
.subj-thumbs img { width: 100%; aspect-ratio: 1682 / 1190; object-fit: cover; display: block; border: 1px solid #D9CBA6; background: var(--white); margin-bottom: 4px; }
@media (max-width: 860px) {
  .app-item { grid-template-columns: 1fr; }
  .app-item:nth-child(even) .app-shot { order: 0; }
}
@media (max-width: 560px) {
  .subj-links > li { grid-template-columns: 1fr; gap: 10px; }
  .subj-badge { width: 56px; height: 56px; font-size: 18px; }
  .subj-thumbs li { width: calc(50% - 5px); }
}

/* ---------- おすすめプラン診断（仕様書02） ---------- */
.diag-lead { text-align: center; margin: -12px 0 28px; color: var(--muted); }
.diag { max-width: 860px; margin: 0 auto; background: var(--white); border: 1px solid #D9CBA6; border-top: 3px solid var(--navy); padding: 28px 28px 30px; }
.diag-step { font-size: 13px; letter-spacing: .2em; color: var(--brass-dark); margin: 0 0 4px; }
.diag-q { font-family: var(--serif); font-size: clamp(19px, 2.4vw, 23px); margin: 0 0 18px; }
.diag-opts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.diag-opt { width: 100%; height: 100%; text-align: left; font: inherit; font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--cream); border: 1px solid #D9CBA6; padding: 14px 16px; cursor: pointer; display: flex; flex-direction: column; gap: 2px; transition: border-color .15s, background .15s; }
.diag-opt b { font-family: var(--serif); font-size: 17px; }
.diag-opt small { color: var(--muted); font-size: 13px; }
.diag-opt:hover, .diag-opt:focus-visible { border-color: var(--navy); background: #fff; outline: none; box-shadow: 0 0 0 2px var(--gold); }
.diag-back { margin-top: 16px; background: none; border: 0; padding: 4px 0; font: inherit; font-size: 14px; color: var(--navy); text-decoration: underline; cursor: pointer; }
.diag-chosen { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.diag-plan { border: 1px solid var(--brass); outline: 3px double #D9CBA6; outline-offset: -8px; padding: 22px 22px 18px; margin: 0 0 20px; }
.diag-plan .diag-step { margin-bottom: 2px; }
.diag-plan h3 { margin: 0; font-size: clamp(20px, 2.6vw, 25px); color: var(--navy); }
.diag-price { margin: 4px 0 10px; font-weight: 700; }
.diag-plan p { margin: 0 0 6px; }
.diag-fit-h { font-family: var(--serif); font-size: 16px; color: var(--navy); margin: 14px 0 6px !important; padding-top: 12px; border-top: 1px dashed #D9CBA6; }
.diag-fit { margin: 0 0 12px; padding-left: 1.3em; }
.diag-fit li { margin-bottom: 4px; }
.diag-fit li::marker { color: var(--brass); }
.diag-sub { font-size: 14px; color: var(--muted); }
.diag-h4 { font-family: var(--serif); font-size: 17px; margin: 0 0 8px; }
.diag-tips { margin: 0 0 22px; padding-left: 1.4em; }
.diag-tips li { margin-bottom: 4px; }
.diag-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.diag [tabindex="-1"]:focus { outline: none; }
.diag-cta .cta { padding: 14px 10px; font-size: 16px; text-align: center; }
.diag-cta .cta-main { grid-column: 1 / -1; font-size: 18px; padding: 18px 10px; }
.diag-more { display: inline-block; margin-top: 14px; font-size: 14px; }
.diag-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 8px; }
.diag-noscript { margin: 0; }
@media (max-width: 560px) {
  .diag { padding: 22px 16px 24px; }
  .diag-opts, .diag-cta { grid-template-columns: 1fr; }
}
/* 診断：答えた質問は小さく残す（11/13 v2） */
.diag-block + .diag-block, .diag-block + .diag-result { margin-top: 22px; padding-top: 20px; border-top: 1px dashed #D9CBA6; }
.diag-block.is-done .diag-step { font-size: 11px; margin: 0; }
.diag-block.is-done .diag-q { font-size: 15px; margin: 0 0 8px; color: var(--muted); }
.diag-block.is-done .diag-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.diag-block.is-done .diag-opt { padding: 5px 12px; font-size: 13px; border-radius: 999px; background: var(--white); opacity: .55; }
.diag-block.is-done .diag-opt b { font-family: var(--sans); font-size: 13px; font-weight: 500; }
.diag-block.is-done .diag-opt small { display: none; }
.diag-block.is-done .diag-opt:hover { opacity: 1; }
.diag-opt.is-chosen { border-color: var(--navy); background: var(--navy) !important; color: var(--white); opacity: 1 !important; }
.diag-opt.is-chosen b { font-weight: 700 !important; }
.diag-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 8px 0 12px; }
.diag-target { font-weight: 700; color: var(--navy); margin-right: 6px; }
.diag-tag { font-size: 13px; padding: 2px 10px; border: 1px solid var(--brass); background: var(--cream); }
.diag-result > .diag-back, .diag > .diag-back { display: block; margin: 18px 0 0 auto; }

/* ---------- 11/13 v0.6：コース表（アクティブ／非アクティブ）・五角形・カルタ・講座のやり取り ---------- */
.course-table tr.is-on th, .course-table tr.is-on td { background: var(--white); }
.course-table tr.is-on th { border-left: 4px solid var(--gold); }
.course-table tr.is-off th, .course-table tr.is-off td { background: #ECEAE3; color: #8A8F9C; box-shadow: inset 0 3px 6px rgba(20,36,74,.12); }
.course-table tr.is-off a { color: #6E7486; }
.ct-on { display: inline-block; padding: 1px 10px; background: var(--navy); color: #fff; font-size: 13px; font-weight: 700; }
.ct-off { display: inline-block; padding: 1px 10px; border: 1px solid #B9BCC6; color: #8A8F9C; font-size: 13px; }
ruby rt { font-size: .5em; letter-spacing: .05em; }
.penta { max-width: 420px; margin: 0 auto 28px; text-align: center; }
.penta svg { width: 100%; height: auto; }
.penta-outer { fill: var(--ivory); stroke: var(--brass); stroke-width: 2; }
.penta-inner { fill: none; stroke: #D9CBA6; stroke-dasharray: 4 4; }
.penta-ray { stroke: #D9CBA6; stroke-width: 1.5; }
.penta-ray.on { stroke: var(--gold); stroke-width: 4; }
.penta-core { fill: var(--navy); stroke: var(--brass); stroke-width: 3; }
.penta-core-t { fill: #F3DFA6; font-family: var(--serif); font-size: 19px; font-weight: 700; text-anchor: middle; }
.penta-core-s { fill: #fff; font-size: 12px; text-anchor: middle; }
.penta-node circle { fill: #F1EFE8; stroke: #C9C6BC; stroke-width: 2; }
.penta-node text { fill: #A3A6AF; font-family: var(--serif); font-size: 21px; font-weight: 700; text-anchor: middle; }
.penta-node.on circle { fill: var(--navy); stroke: var(--gold); stroke-width: 3; filter: drop-shadow(0 3px 4px rgba(20,36,74,.3)); }
.penta-node.on text { fill: #F3DFA6; }
.penta figcaption { font-size: 13px; color: var(--muted); }
.karuta { margin: 0 0 28px; }
.karuta-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.karuta-grid li { background: #fff; padding: 5px; box-shadow: 0 4px 10px rgba(20,36,74,.18); transition: transform .2s; }
.karuta-grid li:nth-child(odd) { transform: rotate(-1.6deg); }
.karuta-grid li:nth-child(even) { transform: rotate(1.4deg); }
.karuta-grid li:hover { transform: rotate(0) scale(1.04); }
.karuta-grid img { display: block; width: 100%; height: auto; }
.karuta figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); text-align: center; }
.talk-shot img { border: 1px solid #D9CBA6; }
.mini-talk { margin: 10px 0 12px; display: grid; gap: 6px; }
.mini-talk p { margin: 0; padding: 8px 12px; font-size: 14px; line-height: 1.6; border-radius: 12px; max-width: 92%; }
.mini-talk b { font-size: 12px; margin-right: 6px; }
.mt-m { background: #EEF3FA; }
.mt-t { background: #FFF6D9; justify-self: end; }
@media (max-width: 560px) { .karuta-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
/* 五教科のつながり v2：大きな五角形＋頂点の丸に講座内容（11/13） */
.penta2 { position: relative; max-width: 1040px; height: 1010px; margin: 10px auto 0; }
.penta2-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.penta2-bg polygon { fill: var(--ivory); stroke: var(--brass); stroke-width: .35; vector-effect: non-scaling-stroke; }
.penta2-bg line { stroke: #D9CBA6; stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 5 5; }
.penta2-bg line.on { stroke: var(--gold); stroke-width: 4; stroke-dasharray: none; }
.penta2-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 150px; height: 150px; border-radius: 50%; background: var(--navy); border: 4px solid var(--brass); display: flex; flex-direction: column; align-items: center; justify-content: center; color: #F3DFA6; font-family: var(--serif); box-shadow: 0 6px 16px rgba(20,36,74,.3); }
.penta2-core b { font-size: 30px; line-height: 1.2; }
.penta2-core span { font-size: 14px; color: #fff; }
.penta2-node { position: absolute; transform: translate(-50%, -50%); border-radius: 50%; display: flex; align-items: center; justify-content: center; text-align: center; }
.penta2-node.on { width: 340px; height: 340px; background: #fff; border: 3px solid var(--navy); outline: 2px solid var(--brass); outline-offset: 4px; box-shadow: 0 8px 22px rgba(20,36,74,.18); }
.penta2-node.off { width: 130px; height: 130px; background: #F1EFE8; border: 2px dashed #C9C6BC; color: #A3A6AF; }
.p-top { left: 50%; top: 17%; } .p-right { left: 83%; top: 44%; } .p-bright { left: 70%; top: 83%; } .p-bleft { left: 30%; top: 83%; } .p-left { left: 17%; top: 44%; }
.pn-in { width: 76%; }
.pn-name { display: block; font-family: var(--serif); font-size: 26px; color: var(--navy); line-height: 1.3; margin-bottom: 4px; }
.penta2-node.off .pn-name { color: #A3A6AF; font-size: 22px; margin: 0; }
.pn-in p { margin: 0 0 8px; font-size: 13px; line-height: 1.6; text-align: left; }
.pn-in .subj-thumbs { display: flex; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pn-in .subj-thumbs li { width: 72px; font-size: 10.5px; line-height: 1.35; }
.pn-in .subj-thumbs img { width: 72px; height: auto; display: block; margin-bottom: 2px; border: 1px solid #C9D6E6; }
@media (max-width: 1000px) {
  .penta2 { height: auto; display: flex; flex-direction: column; align-items: center; gap: 16px; }
  .penta2-bg { display: none; }
  .penta2-core, .penta2-node { position: static; transform: none; }
  .penta2-core { order: -1; width: 120px; height: 120px; }
  .penta2-node.on { width: min(340px, 100%); height: auto; aspect-ratio: 1; }
  .penta2-node.off { width: auto; height: auto; aspect-ratio: auto; border-radius: 999px; padding: 4px 18px; }
  .penta2-node.off .pn-name { font-size: 15px; }
}
@media (max-width: 380px) { .penta2-node.on { aspect-ratio: auto; border-radius: 28px; padding: 18px 0; } }
/* トップのコース一覧：コース×内容のマトリクス（11/13） */
.matrix-wrap { overflow-x: auto; }
.matrix { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 8px; table-layout: fixed; }
.matrix th, .matrix td { text-align: center; vertical-align: middle; }
.mx-corner { width: 17%; }
.mx-course { padding: 12px 6px; color: #fff; font-family: var(--serif); background: var(--navy); border-bottom: 4px solid var(--gold); }
.mx-course b { display: block; font-size: 21px; letter-spacing: .06em; }
.mx-course small { display: block; font-size: 12px; color: #F3DFA6; font-family: var(--sans); }
.mx-course.c-S { background: var(--deep); border-bottom-color: var(--brass); }
.matrix tbody th { padding: 14px 6px; font-family: var(--serif); font-size: 18px; color: #fff; background: var(--navy); }
.matrix tbody th small { display: block; font-size: 11px; font-family: var(--sans); }
.matrix tr.r-money th { background: #C9A45A; } .matrix tr.r-it th { background: #3D7CB8; } .matrix tr.r-subj th { background: #6F8FB3; } .matrix tr.r-support th { background: var(--deep); }
.matrix tr.soon th { background: #E4E1D6; color: #9A9DA6; }
.matrix td { background: var(--ivory); height: 62px; padding: 6px; }
.matrix tr.soon td { background: #F4F2EC; }
.mx-ck { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 3px solid var(--navy); color: var(--navy); font-weight: 900; font-size: 22px; background: #fff; }
.matrix td small { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.mx-other { margin: 10px 0 0; font-size: 14px; }
.matrix { min-width: 960px; }
.mx-corner { width: 12%; }
.mx-course a { color: inherit; text-decoration: none; }
.mx-course.c-ex { background: #3E5683; border-bottom-color: #C9A45A; }
.mx-tx { display: inline-block; font-size: 12.5px; line-height: 1.5; color: var(--navy); font-weight: 700; }
.matrix td.ex { background: #EEF1F6; }
.matrix tr.soon td.ex { background: #F4F2EC; }
.mx-course b { font-size: 17px; letter-spacing: .02em; white-space: nowrap; }
.mx-course small { font-size: 11px; }
.matrix tbody th { font-size: 16px; white-space: nowrap; }
.mx-course.c-ex b { font-size: 14px; letter-spacing: 0; }
.lec-grid.lec-grid5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 860px) { .lec-grid.lec-grid5 { grid-template-columns: repeat(2, 1fr); } }
.penta2-node.many .pn-in { width: 82%; }
.penta2-node.many .pn-in p { font-size: 12px; line-height: 1.5; }
.penta2-node.many .subj-thumbs li { width: 58px; font-size: 9.5px; }
.penta2-node.many .subj-thumbs img { width: 58px; }

/* 五角形の円の中：カルタの札・雨温図（2026-11-13） */
.penta2-node.media .pn-in p { margin-bottom: 6px; }
.karuta-fan { display: flex; justify-content: center; margin: 2px 0 8px; padding: 0; list-style: none; }
.karuta-fan li { width: 88px; margin: 0 -8px; filter: drop-shadow(0 3px 4px rgba(20,36,74,.28)); }
.karuta-fan li:nth-child(1) { transform: rotate(-8deg) translateY(4px); }
.karuta-fan li:nth-child(2) { transform: translateY(-4px); z-index: 1; position: relative; }
.karuta-fan li:nth-child(3) { transform: rotate(8deg) translateY(4px); }
.karuta-fan img { display: block; width: 100%; height: auto; border-radius: 4px; }
.uonzu-pair { display: flex; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.uonzu-pair li { width: 112px; }
.uonzu-pair img { display: block; width: 100%; height: auto; border: 1px solid #C9D6E6; border-radius: 3px; }

/* コース一覧：結合セル・料金行（2026-11-13） */
.mx-course.c-soon { background: #8A8F9C; border-bottom-color: #C9C6BC; }
.matrix td.mx-merge { vertical-align: middle; padding: 18px 12px; }
.matrix td.soon.mx-merge { background: #F1EFE8; color: #8A8F9C; font-size: 13px; }
.mx-mg p { margin: 0; font-size: 13px; line-height: 1.75; color: var(--navy); text-align: center; }
.mx-mg .mx-mg-price { margin-top: 14px; padding-top: 12px; border-top: 1px solid #C9D3E3; font-family: var(--serif); font-size: 16px; line-height: 1.5; font-weight: 700; color: var(--navy); }
.mx-mg .mx-mg-price small { display: block; font-family: var(--sans); font-size: 11px; font-weight: 400; color: var(--muted); }
.matrix tr.r-price th { background: var(--gold); color: var(--navy); }
.matrix tr.r-price td { background: #FFF8E1; font-family: var(--serif); color: var(--navy); font-size: 14px; }
.matrix tr.r-price td b { font-size: 22px; letter-spacing: .02em; }

/* 五教科とのつながり（図＋カード）2026-11-13：円に文章を詰めず、図はシンプルに・説明はカードへ */
.submap { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 40px; align-items: start; max-width: 1080px; margin: 8px auto 0; }
.sm-fig { position: sticky; top: 96px; }
.sm-svg { width: 100%; height: auto; display: block; overflow: visible; }
.sm-pent { fill: var(--ivory); stroke: var(--brass); stroke-width: 1.2; }
.sm-spoke { stroke: #CFC6AE; stroke-width: 1.5; stroke-dasharray: 4 4; }
.sm-spoke.on { stroke: var(--gold); stroke-width: 4; stroke-dasharray: none; }
.sm-node text, .sm-hub text { text-anchor: middle; font-family: var(--serif); }
.sm-node.on circle { fill: var(--navy); stroke: var(--gold); stroke-width: 3; transition: fill .2s; }
.sm-node.on text { fill: #fff; font-size: 19px; font-weight: 700; }
.sm-node.off circle { fill: #F4F2EC; stroke: #C9C6BC; stroke-width: 1.5; stroke-dasharray: 4 3; }
.sm-node.off text { fill: #9A9DA6; font-size: 14px; }
a:hover .sm-node.on circle, a:focus .sm-node.on circle { fill: #2B4C8C; }
.sm-hub circle { fill: #fff; stroke: var(--navy); stroke-width: 3; }
.sm-hub-b { fill: var(--navy); font-weight: 700; }
.sm-hub .sm-hub-s { fill: var(--muted); font-size: 11px; font-family: var(--sans); }
.sm-legend { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin: 10px 0 0; font-size: 12px; color: var(--muted); }
.sm-legend span { display: inline-block; width: 22px; height: 0; border-top: 4px solid var(--gold); margin-left: 10px; }
.sm-legend .lg-off { border-top: 2px dashed #CFC6AE; }
.sm-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.sm-card { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: center; background: #fff; border: 1px solid #DCD3BC; border-left: 5px solid var(--navy); padding: 20px 22px; box-shadow: 0 2px 10px rgba(20,36,74,.06); scroll-margin-top: 100px; }
.sm-card.has-vis { grid-template-columns: 1fr 260px; }
.sm-card:target { outline: 3px solid var(--gold); outline-offset: 2px; }
.sm-card h3 { margin: 0 0 8px; }
.sm-badge { display: inline-block; font-family: var(--serif); font-size: 20px; color: var(--navy); border-bottom: 3px solid var(--gold); padding-bottom: 2px; letter-spacing: .08em; }
.sm-text p { margin: 0 0 12px; font-size: 15px; line-height: 1.85; }
.sm-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.sm-chips li { font-size: 12px; color: var(--navy); background: #EEF1F6; border: 1px solid #C9D3E3; border-radius: 999px; padding: 3px 11px; }
.sm-chips li::before { content: "講座："; color: var(--muted); }
.sm-vis .karuta-fan { margin: 6px 0; }
.sm-vis .karuta-fan li { width: 100px; margin: 0 -10px; }
.sm-vis .uonzu-pair li { width: 124px; }
.sm-slide { margin: 0; }
.sm-slide img { width: 100%; height: auto; display: block; border: 1px solid #C9D6E6; box-shadow: 0 3px 8px rgba(20,36,74,.12); }
.sm-off { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
@media (max-width: 860px) {
  .submap { grid-template-columns: 1fr; gap: 20px; }
  .sm-fig { position: static; max-width: 300px; margin: 0 auto; }
  .sm-card, .sm-card.has-vis { grid-template-columns: 1fr; padding: 18px 16px; }
  .sm-vis { justify-self: center; }
}

/* 学習サポートの説明（コース一覧の下） */
.mx-define { margin: 18px 0 0; padding: 18px 22px; background: var(--ivory); border-left: 5px solid var(--deep); }
.mx-define b { display: block; font-family: var(--serif); font-size: 18px; color: var(--navy); margin-bottom: 6px; }
.mx-define p { margin: 0; font-size: 14.5px; line-height: 1.85; }

/* 五教科ページ：教科ごとの授業（2026-11-13） */
.sj-list { list-style: none; margin: 8px auto 0; padding: 0; max-width: 880px; display: grid; gap: 28px; }
.sj-row { display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: center; }
.sj-icon { width: 150px; height: 150px; border-radius: 14px; background: var(--navy); color: #F3DFA6; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(20,36,74,.18); border: 2px solid var(--brass); }
.sj-icon svg { width: 96px; height: 96px; }
.sj-body h3 { margin: 0 0 10px; font-family: var(--serif); font-size: 30px; color: var(--navy); line-height: 1.2; }
.sj-body h3 span { display: block; font-size: 12px; letter-spacing: .18em; color: var(--brass); font-style: italic; margin-bottom: 4px; }
.sj-body p { margin: 0; font-size: 16px; line-height: 1.95; }
.sj-pc { max-width: 880px; margin: 36px auto 0; padding: 20px 24px; background: var(--ivory); border: 1px solid var(--brass); border-left: 6px solid var(--gold); }
.sj-pc b { display: block; font-family: var(--serif); font-size: 20px; color: var(--navy); margin-bottom: 4px; }
.sj-pc p { margin: 0; font-size: 15px; }
.sj-text { margin-top: 36px; margin-bottom: -16px; }
.soon-badge { display: inline-block; vertical-align: .15em; margin-right: 8px; padding: 1px 8px; font-family: var(--sans, inherit); font-size: 12px; font-weight: 700; letter-spacing: .08em; line-height: 1.7; color: var(--navy); background: var(--gold); border-radius: 3px; }
.text-peek { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 18px 0 0; }
.text-peek figure { margin: 0; }
.text-peek img { display: block; width: 100%; height: auto; aspect-ratio: 909 / 520; object-fit: cover; object-position: top; background: #fff; border: 1px solid #D9CBA6; box-shadow: 0 6px 16px rgba(26,52,104,.12); -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.text-peek figure:nth-child(1) img { transform: rotate(-1.2deg); }
.text-peek figure:nth-child(2) img { transform: rotate(1deg); }
.text-peek figcaption { margin-top: -6px; font-size: 13px; color: var(--navy); font-weight: 600; text-align: center; }
@media (max-width: 600px) { .text-peek { grid-template-columns: 1fr; } }
.grade-soon { margin: 6px 0 10px; font-size: 14px; color: var(--navy); font-weight: 600; }
.mx-mg .mx-mg-h { display: block; font-family: var(--serif); font-size: 14px; color: var(--navy); margin-bottom: 8px; }
@media (max-width: 600px) {
  .sj-row { grid-template-columns: 88px 1fr; gap: 16px; align-items: start; }
  .sj-icon { width: 88px; height: 88px; border-radius: 10px; }
  .sj-icon svg { width: 58px; height: 58px; }
  .sj-body h3 { font-size: 22px; }
  .sj-body p { font-size: 15px; }
}

/* 学び直しのテーマ：図解・カードの高さをそろえる（2026-11-13） */
.lec-grid > li { display: flex; }
.lec-grid .lec-card { display: flex; flex-direction: column; width: 100%; }
.lec-card .lec-fig, .lec-card img { width: 100%; aspect-ratio: 280 / 198; height: auto; display: block; border-bottom: 1px solid #E6DCC0; object-fit: contain; background: #fff; }
.lec-card figcaption { flex: 1; }
.course-photo.is-slide { background: var(--navy); display: flex; align-items: center; }
.course-photo.is-slide img { object-fit: contain; min-height: 0; height: auto; }
.lec-note { margin: 16px 0 0; font-size: 12.5px; color: var(--muted); text-align: right; }

/* ===== スマホ表示の再構築（2026-11-13） ===== */
.mx-cards { display: none; }
@media (max-width: 760px) {
  /* コース一覧：表をやめてカードに */
  .matrix-wrap { display: none; }
  .mx-cards { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
  .mxc { background: #fff; border: 1px solid #DCD3BC; border-top: 4px solid var(--navy); padding: 14px 16px; }
  .mxc.s { border-top-color: var(--deep); }
  .mxc.ex { border-top-color: #3E5683; background: #F7F9FC; }
  .mxc.soon { border-top-color: #A3A6AF; background: #F4F2EC; color: #8A8F9C; }
  .mxc-h { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
  .mxc-h b { font-family: var(--serif); font-size: 20px; color: var(--navy); }
  .mxc.soon .mxc-h b { color: #8A8F9C; }
  .mxc-h small { font-size: 12px; color: var(--muted); }
  .mxc ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 10px 0; padding: 0; }
  .mxc ul li { font-size: 12.5px; background: var(--ivory); border: 1px solid #E2D8BC; border-radius: 999px; padding: 3px 10px; }
  .mxc-p { margin: 0; text-align: right; font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--navy); }
  .mxc-p small { font-family: var(--sans); font-size: 11px; font-weight: 400; color: var(--muted); margin-left: 4px; }
  .mxc.soon .mxc-p { font-size: 15px; color: #8A8F9C; }
  .mxc.soon .mxc-p small { display: none; }

  /* 各ページのコース表：1行＝1枚のカード */
  .course-table, .course-table tbody, .course-table tr, .course-table th, .course-table td { display: block; width: 100%; }
  .table-wrap { overflow: visible; }
  .course-table { min-width: 0 !important; border: 0; }
  .course-table thead { display: none; }
  .course-table tr { margin: 0 0 10px; border: 1px solid #DCD3BC; background: #fff; padding: 10px 14px; box-sizing: border-box; }
  .course-table tr.is-off { background: #F4F2EC; opacity: .85; }
  .course-table th { border: 0; padding: 0 0 6px; font-size: 17px; text-align: left; background: none; }
  .course-table td { border: 0; padding: 3px 0; display: flex; gap: 10px; font-size: 14px; text-align: left; }
  .course-table td::before { content: attr(data-label); flex: 0 0 6.5em; font-size: 12px; color: var(--muted); }

  /* 文字と余白 */
  .sec-title { font-size: 24px; }
  .sec-lead, .page-lead { font-size: 14.5px; text-align: left; }
  .sm-card.has-vis .sm-vis { width: 100%; max-width: 300px; }
  .lec-note { text-align: left; }
  .steps { grid-template-columns: 1fr !important; }
}

/* ---------- v0.9：受付時間・申込帯・スマホ固定バー・学年・お知らせ・体験・アクセス・オンライン・FAQ ---------- */
.tel-hours { font-size: 11.5px; color: var(--muted); letter-spacing: .04em; }
.sec-line { border-top: 1px solid rgba(184,145,74,.45); }
.cta-band { background: var(--cream); border-top: 1px solid var(--brass); border-bottom: 1px solid var(--brass); padding: 26px 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.cta-band p { margin: 0; font-family: var(--serif); font-size: 19px; font-weight: 700; color: var(--navy); }
.cta-band p small { display: block; font-family: var(--sans); font-size: 13px; font-weight: 400; color: var(--muted); margin-top: 4px; }
.cta-band-btns { display: flex; gap: 10px; flex-shrink: 0; }
.cta-band-btns .cta { padding: 13px 16px; font-size: 15px; }
.grade-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grade-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--brass); border-top: 4px solid var(--navy); padding: 20px 18px; }
.grade-card p { font-size: 14.5px; margin: 0 0 14px; flex: 1; }
.grade-card .grade-name { flex: none; font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.grade-link { display: block; text-align: center; padding: 10px; background: var(--navy); color: var(--white); text-decoration: none; font-weight: 700; font-size: 14px; }
.family, .trial { margin-top: 32px; background: var(--ivory); border-left: 3px solid var(--brass); padding: 20px 24px; }
.trial { margin: 0 0 24px; background: var(--cream); }
.family h3, .trial h3 { margin: 0 0 10px; font-family: var(--serif); color: var(--navy); }
.family ul, .trial ul { margin: 0; padding-left: 20px; }
.family li, .trial li { margin: 6px 0; }
.family li b, .trial li b { display: block; color: var(--ink); }
.trial p { margin: 12px 0 0; font-size: 14.5px; }
.news-list { list-style: none; padding: 0; margin: 0 auto; max-width: 820px; }
.news-list li { display: grid; grid-template-columns: 110px 1fr; gap: 6px 18px; padding: 16px 4px; border-bottom: 1px dotted var(--brass); }
.news-list time { font-family: var(--serif); color: var(--brass-dark); font-weight: 700; }
.news-list b { display: block; color: var(--navy); }
.news-list p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.news-list li.is-future { display: none; }
.access-dl { display: grid; grid-template-columns: 6.5em 1fr; gap: 6px 10px; margin: 0 0 14px; font-size: 14.5px; }
.access-dl dt { font-weight: 700; color: var(--navy); }
.access-dl dd { margin: 0; }
.online-h { margin: 18px 0 6px; font-size: 15px; color: var(--navy); }
.online-list { margin: 0; padding-left: 20px; font-size: 14.5px; }
.online-list li { margin: 4px 0; }
.faq-cat { margin: 40px 0 12px; font-family: var(--serif); font-size: 21px; color: var(--navy); border-bottom: 2px solid var(--brass); padding-bottom: 6px; }
.faq-item { border-bottom: 1px solid rgba(184,145,74,.45); }
.faq-item summary { cursor: pointer; padding: 14px 4px; font-weight: 700; list-style: none; position: relative; padding-right: 32px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "Q."; font-family: var(--serif); color: var(--brass-dark); margin-right: 8px; }
.faq-item summary::after { content: "+"; position: absolute; right: 8px; top: 12px; font-size: 20px; color: var(--brass-dark); }
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-a { padding: 0 4px 16px 30px; margin: 0; font-size: 15px; }
.sp-bar { display: none; }
@media (max-width: 1000px) { .grade-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) {
  .cta-band-inner { flex-direction: column; align-items: stretch; text-align: center; }
  .cta-band-btns { flex-direction: column; }
  .sp-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--white); border-top: 1px solid var(--brass); box-shadow: 0 -2px 10px rgba(20,36,74,.15); padding-bottom: env(safe-area-inset-bottom); }
  .sp-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 8px 4px; min-height: 54px; text-decoration: none; background: var(--navy); color: var(--white); border-right: 1px solid rgba(255,255,255,.25); }
  .sp-bar a.sp-line { background: var(--line); }
  .sp-bar a.sp-gold { background: var(--gold-grad); color: var(--ink); border-right: 0; }
  .sp-bar b { font-size: 15px; }
  .sp-bar small { font-size: 11px; }
  body { padding-bottom: 64px; }
}
@media (max-width: 560px) {
  .grade-grid { grid-template-columns: 1fr; }
  .news-list li { grid-template-columns: 1fr; }
  .access-dl { grid-template-columns: 5.5em 1fr; }
}
.faq-wrap { max-width: 860px; }
.note-legal { text-align: center; font-size: 11px; opacity: .6; margin: 24px 16px 0; }
/* 特商法表記・プライバシーポリシー */
.legal-wrap { max-width: 860px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal-table th, .legal-table td { border-bottom: 1px solid rgba(184,145,74,.45); padding: 14px 8px; text-align: left; vertical-align: top; }
.legal-table th { width: 30%; color: var(--navy); font-weight: 700; }
.legal-h { margin: 36px 0 10px; font-family: var(--serif); font-size: 20px; color: var(--navy); border-bottom: 2px solid var(--brass); padding-bottom: 6px; }
.legal-wrap ul { padding-left: 1.4em; }
.legal-wrap li { margin: 4px 0; }
.legal-date { margin-top: 40px; text-align: right; font-size: 13px; opacity: .7; }
@media (max-width: 640px) {
  .legal-table th, .legal-table td { display: block; width: auto; }
  .legal-table th { border-bottom: none; padding-bottom: 2px; }
}

/* ===== 無料体験・学習相談のお申し込み（trial.html・仕様書03） ===== */
.af-steps { display: flex; justify-content: center; gap: 0; list-style: none; padding: 0; margin: 0 auto 28px; max-width: 520px; }
.af-steps li { flex: 1; text-align: center; padding: 10px 4px; font-size: 14px; color: var(--muted); background: var(--ivory); border: 1px solid #D9CBA6; }
.af-steps li + li { border-left: 0; }
.af-steps li b { display: inline-block; width: 22px; height: 22px; line-height: 22px; margin-right: 6px; border-radius: 50%; background: #D9CBA6; color: var(--white); font-size: 12px; }
.af-steps li.is-now { background: var(--navy); color: var(--white); font-weight: 700; }
.af-steps li.is-now b { background: var(--gold); color: var(--ink); }
.af, .af-done, .af-other { max-width: 760px; margin: 0 auto; }
.af { border: 1px solid #D9CBA6; border-top: 4px solid var(--navy); background: var(--white); padding: 8px 28px 28px; }
.af fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.af-row { padding: 18px 0; border-bottom: 1px dashed #E3D7B8; }
.af-label { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; padding: 0; font-weight: 700; color: var(--navy); font-size: 15.5px; }
.af-req, .af-opt { display: inline-block; padding: 0 7px; font-size: 11.5px; font-weight: 700; line-height: 1.8; border-radius: 3px; }
.af-req { background: #B3261E; color: var(--white); }
.af-opt { background: #E9E4D4; color: var(--muted); }
.af-agree .af-req { margin-left: 8px; }
.af input[type=text], .af input[type=email], .af input[type=tel], .af input[type=date], .af select, .af textarea {
  width: 100%; max-width: 100%; padding: 12px 12px; font: inherit; font-size: 16px; color: var(--ink); background: #FDFCF7; border: 1px solid #C9BB97; border-radius: 4px; }
.af input:focus, .af select:focus, .af textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--navy); }
.af textarea { resize: vertical; min-height: 120px; }
.af-choice { display: flex; flex-wrap: wrap; gap: 10px; }
.af-choice label { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid #C9BB97; border-radius: 4px; background: #FDFCF7; cursor: pointer; }
.af-choice label:has(input:checked) { border-color: var(--navy); background: #EEF1F8; font-weight: 700; }
.af input[type=radio], .af input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--navy); margin: 0; }
.af-wish { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.af-help { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.af-help-wide { padding-top: 10px; }
.af-agree label { display: flex; align-items: center; gap: 10px; font-weight: 700; cursor: pointer; }
.af-agree a { color: var(--navy); }
.af-row.is-bad { background: #FCF1EF; box-shadow: -10px 0 0 #FCF1EF, 10px 0 0 #FCF1EF; }
.af-row.is-bad input, .af-row.is-bad select { border-color: #B3261E; }
.af-error { margin: 18px 0 0; padding: 12px 14px; color: #8A1C15; background: #FCF1EF; border-left: 4px solid #B3261E; font-weight: 700; }
.af-submit, .af-send { width: 100%; margin-top: 22px; border-radius: 0; cursor: pointer; font-family: inherit; }
.af-send[disabled] { opacity: .6; cursor: wait; }
.af-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.af-lead { margin: 18px 0 10px; }
.af-review { display: grid; grid-template-columns: 11em 1fr; margin: 0; border-top: 1px solid #E3D7B8; }
.af-review dt, .af-review dd { margin: 0; padding: 10px 12px; border-bottom: 1px solid #E3D7B8; }
.af-review dt { background: var(--ivory); font-weight: 700; color: var(--navy); font-size: 14px; }
.af-review dd { white-space: pre-wrap; overflow-wrap: anywhere; }
.af-btns { display: grid; grid-template-columns: 1fr 2fr; gap: 12px; margin-top: 22px; }
.af-btns .af-send { margin-top: 0; }
.af-back { padding: 16px 12px; font: inherit; font-weight: 700; color: var(--navy); background: var(--white); border: 1px solid var(--navy); cursor: pointer; }
.af-done { padding: 32px 28px; border: 1px solid var(--brass); outline: 3px double #D9CBA6; outline-offset: -8px; background: var(--white); text-align: center; }
.af-done h2 { font-family: var(--serif); color: var(--navy); margin: 0 0 8px; }
.af-done .af-no { font-weight: 700; color: var(--brass-dark); letter-spacing: .05em; }
.af-done p { text-align: left; }
.af-done p:last-child { text-align: center; }
.af-done .cta { display: inline-flex; padding: 14px 32px; }
.af-other { margin-top: 32px; text-align: center; }
.af-other .cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 10px 0; }
@media (max-width: 600px) {
  .af { padding: 4px 16px 20px; }
  .af-wish, .af-other .cta-row { grid-template-columns: 1fr; }
  .af-review { grid-template-columns: 1fr; }
  .af-review dt { border-bottom: 0; padding-bottom: 4px; }
  .af-btns { grid-template-columns: 1fr; }
  .af-btns .af-back { order: 2; }
}
.trial-btn { margin: 16px 0 0; } .trial-btn .cta { max-width: 520px; margin: 0 auto; }

/* ===== オープンチャット参加窓口 ===== */
.oc-box { max-width: 760px; margin: 32px auto 0; padding: 24px 26px; background: var(--white); border: 1px solid #D9CBA6; border-top: 4px solid var(--line); }
.oc-box h3 { margin: 4px 0 8px; font-family: var(--serif); color: var(--navy); font-size: 21px; }
.oc-box p { margin: 0 0 8px; }
.oc-badge { display: inline-block; margin: 0 !important; padding: 1px 10px; font-size: 12px; font-weight: 700; color: var(--white); background: var(--line); border-radius: 3px; }
.oc-note { padding: 10px 12px; background: var(--ivory); border-left: 4px solid var(--gold); }
.oc-btns { margin: 14px 0 10px; }
.oc-btns .cta { max-width: 420px; }
.oc-ask { font-size: 14px; color: var(--muted); }
.oc-ask a { color: var(--navy); }
.q-oc { background: var(--white); color: #04913e; border: 1px solid var(--line); font-size: 11px; letter-spacing: 0; }
.mr-peek img { aspect-ratio: 16 / 7; object-position: left top; }
.oc-box .text-peek { margin: 12px 0 18px; }
.af-choice-sm label { padding: 8px 12px; }
.af-time { display: flex; align-items: center; gap: 6px; }
.af-time select { width: auto; flex: 1; min-width: 0; padding: 10px 8px; font: inherit; font-size: 16px; color: var(--ink); background: #FDFCF7; border: 1px solid #C9BB97; border-radius: 4px; }
.af-week { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.af-week li { display: grid; grid-template-columns: 7.5em 1fr; align-items: center; gap: 10px; padding: 6px 10px; background: #FDFCF7; border: 1px solid #E3D7B8; border-radius: 4px; }
.af-week li:has(input[type=checkbox]:checked) { border-color: var(--navy); background: #EEF1F8; }
.af-week li:not(:has(input[type=checkbox]:checked)) .af-time { opacity: .45; }
.af-day { display: flex; align-items: center; gap: 8px; font-weight: 700; cursor: pointer; }
@media (max-width: 600px) { .af-week li { grid-template-columns: 1fr; gap: 6px; } }
.oc-name { font-size: 14px; color: var(--muted); } .oc-name b { color: var(--navy); }
.af-sec { margin: 8px 0; padding: 4px 18px 8px; background: #FBF8EE; border: 1px solid #E3D7B8; border-radius: 4px; }
.af-sec-h { margin: 14px 0 0; font-family: var(--serif); font-size: 18px; color: var(--navy); font-weight: 700; }
.af-sec .af-row:last-child { border-bottom: 0; }
.af-adult { margin: 16px 0; padding: 18px; background: var(--ivory); border-left: 4px solid var(--gold); }
.af-adult .cta { max-width: 420px; }
.af-sessions label { min-width: 15em; }
@media (max-width: 600px) { .af-sec { padding: 2px 12px 6px; } .af-sessions label { min-width: 0; width: 100%; } }
.af-choice label.is-off { opacity: .4; cursor: not-allowed; }
.af-other .cta-row { grid-template-columns: repeat(3, 1fr); }
.cta-mail { background: var(--white); color: var(--navy); border-color: var(--navy); }
@media (max-width: 600px) { .af-other .cta-row { grid-template-columns: 1fr; } }
.af-line { margin: 18px 0; padding: 16px 18px; text-align: left; background: #EEFAF2; border: 2px solid var(--line); border-radius: 4px; }
.af-line-h { margin: 0 0 8px !important; font-weight: 700; color: #04713a; font-size: 16.5px; }
.af-line .cta { max-width: 360px; margin: 6px auto 0; }
.af-line-note { margin: 14px 0 0; padding: 10px 12px; background: #EEFAF2; border-left: 4px solid var(--line); font-size: 14.5px; }
