/* ふきだし英語教室（架空）— Web工房Pono 自主制作。テーマ：ふきだしと、太い線のステッカー
   色はすべて :root にまとめる（メイン・アクセント・背景・文字・線）。テンプレートの色替えはここだけ触ればよい */
:root {
  /* メイン：すみれ */
  --main: #4636C8; --main-d: #2E2393; --main-l: #ECEAFB;
  /* アクセント：コーラル */
  --accent: #FF7A59; --accent-d: #D9481F; --accent-l: #FFE6DD;
  /* 差し色：ライム・空色 */
  --pop: #D9F26A; --pop-l: #F2FAD0; --sky: #9FD3F2; --sky-l: #E4F3FC;
  /* 背景 */
  --bg: #FFF9F0; --paper: #F7EEDF; --white: #FFFFFF;
  /* 文字 */
  --ink: #1F1B33; --sub: #57536B; --mute: #8E8AA1;
  /* 線 */
  --line: rgba(31,27,51,.14); --edge: #1F1B33;
  --ok: #2F9E6B; --err: #D23C2A;
  /* 書体 */
  --en: "Bricolage Grotesque", "Zen Kaku Gothic Antique", sans-serif; --jp: "Zen Kaku Gothic Antique", "Hiragino Sans", sans-serif; --hand: "Caveat", cursive;
  --r: 22px; --sh: 4px 4px 0 var(--edge); --ease: cubic-bezier(.22,.7,.2,1); --hh: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 130px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--jp); font-size: 16px; line-height: 1.9; letter-spacing: .03em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 900; line-height: 1.45; letter-spacing: .02em; word-break: auto-phrase; text-wrap: balance; }
p { margin: 0; } ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; list-style: none; border: 0; }
legend { padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; } button { cursor: pointer; }
svg { display: block; }
:focus-visible { outline: 3px solid var(--main); outline-offset: 3px; }
.wrap { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.narrow { max-width: 860px; }
.center { text-align: center; margin-top: 36px; }
.sp { display: none; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hand { font-family: var(--hand); font-weight: 700; color: var(--accent-d); font-size: 26px; line-height: 1.1; letter-spacing: 0; }
.demo-bar { background: var(--ink); color: rgba(255,255,255,.84); font-size: 12px; text-align: center; padding: 7px 14px; line-height: 1.6; position: relative; z-index: 70; }
.demo-bar a { text-decoration: underline; margin-left: 6px; }

/* ボタン */
.btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 0 28px; border-radius: 999px; border: 2px solid var(--edge); background: var(--white); font-weight: 700; font-size: 15.5px; letter-spacing: .04em; box-shadow: var(--sh); transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s; text-align: center; line-height: 1.4; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--edge); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--edge); }
.btn .ar { width: 20px; height: 20px; flex: none; transition: transform .25s var(--ease); } .btn:hover .ar { transform: translateX(3px); }
.btn svg:not(.ar) { width: 20px; height: 20px; }
.btn--main { background: var(--main); color: #fff; }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--line { background: var(--white); }
.btn--ghost { background: transparent; color: #fff; border-color: #fff; box-shadow: 4px 4px 0 rgba(255,255,255,.35); }
.btn--s { min-height: 48px; padding: 0 20px; font-size: 14.5px; }
.btn--full { width: 100%; }
.btn:disabled { opacity: .4; cursor: default; transform: none; box-shadow: var(--sh); }
.more { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; border-bottom: 2px solid var(--edge); padding-bottom: 4px; }
.more .ar { width: 30px; height: 30px; padding: 5px; border-radius: 50%; background: var(--pop); border: 2px solid var(--edge); transition: transform .25s var(--ease); }
.more:hover .ar { transform: translateX(4px) rotate(-8deg); }

/* ヘッダー */
.hd { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; gap: 24px; height: var(--hh); padding: 0 28px; background: rgba(255,249,240,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 2px solid transparent; transition: border-color .3s; }
.hd.is-solid { border-color: var(--edge); }
.lg { display: flex; align-items: center; gap: 10px; flex: none; }
.lg__m { width: 46px; height: 42px; flex: none; }
.lg b { display: block; font-weight: 900; font-size: 19px; letter-spacing: .08em; line-height: 1.2; }
.lg small { display: block; font-family: var(--en); font-weight: 600; font-size: 11px; letter-spacing: .08em; color: var(--sub); line-height: 1.3; }
.hd__nav { display: flex; gap: 4px; margin-left: auto; font-size: 14.5px; font-weight: 700; }
.hd__nav a { padding: 8px 14px; border-radius: 999px; white-space: nowrap; transition: background .25s; }
.hd__nav a:hover { background: var(--main-l); }
.hd__nav a.is-cur { background: var(--pop); box-shadow: inset 0 0 0 2px var(--edge); }
.hd__cta { display: inline-flex; align-items: center; height: 48px; padding: 0 22px; border-radius: 999px; background: var(--accent); border: 2px solid var(--edge); box-shadow: 3px 3px 0 var(--edge); font-weight: 700; font-size: 14.5px; white-space: nowrap; transition: .25s var(--ease); }
.hd__cta:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--edge); }
.mb { display: none; width: 50px; height: 50px; margin-left: auto; border-radius: 16px; border: 2px solid var(--edge); background: var(--pop); position: relative; box-shadow: 3px 3px 0 var(--edge); }
.mb i { position: absolute; left: 13px; right: 13px; height: 2.5px; border-radius: 2px; background: var(--ink); transition: .3s var(--ease); }
.mb i:nth-child(1) { top: 15px; } .mb i:nth-child(2) { top: 22px; } .mb i:nth-child(3) { top: 29px; }
.is-open .mb i:nth-child(1) { top: 22px; transform: rotate(45deg); } .is-open .mb i:nth-child(2) { opacity: 0; } .is-open .mb i:nth-child(3) { top: 22px; transform: rotate(-45deg); }
.dr { position: fixed; left: 0; right: 0; bottom: 0; top: var(--hb, 110px); z-index: 55; background: var(--bg); padding: 18px 24px 40px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .35s var(--ease); }
.is-open .dr { opacity: 1; visibility: visible; transform: none; }
.dr nav a { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 4px; border-bottom: 2px dashed var(--line); font-weight: 900; font-size: 19px; }
.dr nav small { font-family: var(--en); font-weight: 600; font-size: 13px; color: var(--main); }
.dr .btn { margin-top: 24px; }
.dr__i { margin-top: 16px; font-size: 13px; color: var(--sub); text-align: center; }

/* 見出し */
.sec { padding: 104px 0; position: relative; }
.sec--t { padding-top: 56px; }
.sec--paper { background: var(--paper); }
.st { margin-bottom: 44px; }
.st__en { font-family: var(--en); font-weight: 700; font-size: 15px; letter-spacing: .02em; margin-bottom: 10px; }
.st__en span { display: inline-block; padding: 2px 14px; border-radius: 999px; background: var(--pop); border: 2px solid var(--edge); transform: rotate(-2deg); }
.st h2 { font-size: clamp(26px, 3.4vw, 38px); }
.st__l { margin-top: 14px; color: var(--sub); max-width: 680px; }
.center .st__l, .st.center .st__l { margin-left: auto; margin-right: auto; }

/* 下層の見出し */
.ph { position: relative; overflow: hidden; padding: 48px 0 56px; background: var(--paper); border-bottom: 2px solid var(--edge); }
.ph .wrap { position: relative; z-index: 1; }
.ph h1 { font-size: clamp(32px, 5vw, 52px); margin-top: 6px; }
.ph__l { margin-top: 14px; max-width: 640px; color: var(--sub); }
.ph__deco { position: absolute; right: -30px; bottom: -40px; width: 340px; height: auto; fill: var(--main-l); stroke: var(--edge); stroke-width: 2; transform: rotate(-8deg); }
.crumb { font-size: 13px; color: var(--sub); margin-bottom: 18px; display: flex; gap: 8px; }
.crumb a { text-decoration: underline; }

/* ヒーロー */
.hero { padding: 48px 0 72px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: var(--main-l); right: -140px; top: -180px; z-index: -1; }
.hero__in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.hero__en { font-size: 30px; transform: rotate(-3deg); transform-origin: left; margin-bottom: 14px; }
.hero__t { font-size: clamp(32px, 3.7vw, 50px); line-height: 1.38; letter-spacing: .01em; }
.hero__t span { display: block; }
.hero__t span:last-child { width: fit-content; background: linear-gradient(transparent 62%, var(--pop) 62%, var(--pop) 92%, transparent 92%); }
.hero__d { margin-top: 22px; color: var(--sub); max-width: 520px; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; font-size: 13.5px; font-weight: 700; }
.hero__tags li { padding: 4px 14px; border-radius: 999px; border: 2px solid var(--edge); background: var(--white); }
.hero__v { position: relative; padding: 24px 10px 30px 0; }
.hero__img { border: 2.5px solid var(--edge); border-radius: 32px; overflow: hidden; box-shadow: 10px 10px 0 var(--main); aspect-ratio: 16 / 11; background: var(--paper); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.bub { position: absolute; z-index: 2; padding: 10px 20px; border-radius: 22px; border: 2px solid var(--edge); background: var(--white); font-family: var(--en); font-weight: 700; font-size: 19px; line-height: 1.3; box-shadow: 3px 3px 0 var(--edge); animation: bob 4.5s ease-in-out infinite; white-space: nowrap; }
.bub::after { content: ""; position: absolute; width: 16px; height: 16px; background: inherit; border: 2px solid var(--edge); border-top: 0; border-left: 0; bottom: -9px; left: 26px; transform: rotate(45deg); }
.bub--1 { top: 0; left: -24px; background: var(--pop); }
.bub--2 { top: 38%; right: -18px; background: var(--white); animation-delay: -1.5s; }
.bub--2::after { left: auto; right: 30px; }
.bub--3 { bottom: 4px; left: 16%; background: var(--accent); animation-delay: -3s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-8px) rotate(1deg); } }

/* 流れる英語 */
.mq { overflow: hidden; background: var(--pop); border-top: 2px solid var(--edge); border-bottom: 2px solid var(--edge); padding: 14px 0; }
.mq__t { display: flex; width: max-content; gap: 26px; align-items: center; animation: mq 48s linear infinite; font-family: var(--en); font-weight: 700; font-size: 26px; white-space: nowrap; }
.mq__t i { font-style: normal; color: var(--main); font-size: 20px; }
@keyframes mq { to { transform: translateX(-50%); } }

/* 年齢のカード */
.whos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.who { position: relative; display: flex; flex-direction: column; padding: 26px 24px 22px; border: 2px solid var(--edge); border-radius: var(--r); background: var(--white); box-shadow: var(--sh); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.who:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--edge); }
.who__i { width: 56px; height: 56px; margin-bottom: 12px; }
.who__i svg { width: 100%; height: 100%; }
.who__age { font-size: 13px; font-weight: 700; color: var(--main); }
.who b { font-size: 22px; font-weight: 900; line-height: 1.4; }
.who small { font-family: var(--en); font-weight: 600; color: var(--sub); font-size: 13px; }
.who__p { margin-top: 14px; padding-top: 12px; border-top: 2px dashed var(--line); font-size: 14px; }
.who__p em { font-family: var(--en); font-style: normal; font-weight: 800; font-size: 24px; margin: 0 2px; }
.who .ar { position: absolute; right: 18px; top: 22px; width: 34px; height: 34px; padding: 6px; border-radius: 50%; border: 2px solid var(--edge); background: var(--pop); }
.who:nth-child(2) .ar, .who:nth-child(5) .ar { background: var(--accent-l); }
.who:nth-child(3) .ar, .who:nth-child(6) .ar { background: var(--sky-l); }

/* 診断のパネル */
.qpanel { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 52px 56px; border-radius: 36px; border: 2.5px solid var(--edge); background: var(--main); color: #fff; box-shadow: 10px 10px 0 var(--edge); position: relative; }
.qpanel::after { content: ""; position: absolute; left: 90px; bottom: -26px; width: 40px; height: 40px; background: var(--main); border-right: 2.5px solid var(--edge); border-bottom: 2.5px solid var(--edge); transform: skewX(-25deg) rotate(45deg); }
.qpanel h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 14px; }
.qpanel__h p:last-child { opacity: .86; }
.qpanel__q { background: var(--white); color: var(--ink); border-radius: 26px; border: 2px solid var(--edge); padding: 28px; }
.qpanel__n { font-family: var(--en); font-weight: 700; color: var(--main); font-size: 14px; }
.qpanel__t { font-weight: 900; font-size: 20px; margin: 4px 0 16px; word-break: auto-phrase; }
.qas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qa { display: flex; align-items: center; justify-content: center; min-height: 58px; padding: 8px 12px; border-radius: 16px; border: 2px solid var(--edge); background: var(--bg); font-weight: 700; text-align: center; line-height: 1.4; transition: .2s; }
.qa:hover { background: var(--pop); transform: translateY(-2px); }

/* 大切にしていること */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feat { border: 2px solid var(--edge); border-radius: var(--r); background: var(--white); overflow: hidden; box-shadow: var(--sh); }
.feat__img { aspect-ratio: 3 / 2; border-bottom: 2px solid var(--edge); overflow: hidden; background: var(--paper); }
.feat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.feat:hover .feat__img img { transform: scale(1.04); }
.feat__t { padding: 24px 26px 30px; position: relative; }
.feat__n { position: absolute; top: -26px; right: 20px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--edge); background: var(--accent); font-family: var(--en); font-weight: 800; font-size: 19px; }
.feat:nth-child(2) .feat__n { background: var(--pop); } .feat:nth-child(3) .feat__n { background: var(--sky); }
.feat h3 { font-size: 20px; margin-bottom: 10px; padding-right: 40px; }
.feat p { color: var(--sub); font-size: 15px; }

/* 今日のひとこと */
.phr { display: grid; grid-template-columns: auto 1fr auto; gap: 36px; align-items: center; padding: 40px 48px; border: 2.5px solid var(--edge); border-radius: 40px; background: var(--white); box-shadow: 8px 8px 0 var(--accent); position: relative; }
.phr::after { content: ""; position: absolute; right: 80px; bottom: -22px; width: 34px; height: 34px; background: var(--white); border-right: 2.5px solid var(--edge); border-bottom: 2.5px solid var(--edge); transform: rotate(45deg) skew(10deg, 10deg); }
.phr__h .hand { font-size: 34px; transform: rotate(-4deg); }
.phr__s { font-weight: 700; font-size: 13px; color: var(--sub); margin-top: 4px; }
.phr__en { font-family: var(--en); font-weight: 800; font-size: clamp(24px, 3vw, 36px); line-height: 1.25; letter-spacing: -.01em; transition: opacity .3s; }
.phr__ja { margin-top: 8px; color: var(--sub); }
.phr__btns { display: flex; flex-direction: column; gap: 12px; }
.phr__btns .btn { min-height: 50px; }
.phr__note { grid-column: 1 / -1; font-size: 13px; color: var(--sub); }
.phr.is-swap .phr__en, .phr.is-swap .phr__ja { opacity: 0; }

/* レッスンの帯 */
.tbar { display: flex; border: 2.5px solid var(--edge); border-radius: 24px; overflow: hidden; box-shadow: var(--sh); background: var(--white); }
.tseg { width: var(--w); display: flex; flex-direction: column; justify-content: center; padding: 22px 14px; min-height: 120px; border-right: 2px solid var(--edge); min-width: 0; }
.tseg:last-child { border-right: 0; }
.tseg b { font-family: var(--en); font-weight: 800; font-size: 17px; line-height: 1.25; overflow-wrap: anywhere; }
.tseg small { font-weight: 700; font-size: 13px; margin-top: 6px; }
.tseg--0, .seg-l--0 { --sc: var(--pop); } .tseg--1, .seg-l--1 { --sc: var(--sky); } .tseg--2, .seg-l--2 { --sc: var(--accent); } .tseg--3, .seg-l--3 { --sc: #C9C2F6; } .tseg--4, .seg-l--4 { --sc: var(--paper); }
.tseg { background: var(--sc); }

/* 講師（小） */
.tminis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.tmini { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 28px 18px 24px; border: 2px solid var(--edge); border-radius: var(--r); background: var(--white); box-shadow: var(--sh); transition: .25s var(--ease); }
.tmini:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--edge); }
.tmini .av { margin-bottom: 12px; }
.tmini b { font-family: var(--en); font-weight: 800; font-size: 22px; line-height: 1.3; }
.tmini small { font-size: 13px; color: var(--sub); }
.tmini__c { margin-top: 10px; font-size: 12.5px; font-weight: 700; padding: 2px 12px; border-radius: 12px; background: var(--main-l); }
.av { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; border: 2.5px solid var(--edge); flex: none; position: relative; }
.av b { font-family: var(--en); font-weight: 800; font-size: 38px; line-height: 1; }
.av::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--edge); background: var(--white); right: -2px; bottom: 4px; }
.av--coral { background: var(--accent); } .av--lime { background: var(--pop); } .av--violet { background: var(--main); color: #fff; } .av--sky { background: var(--sky); }
.av--l { width: 108px; height: 108px; } .av--l b { font-size: 48px; }
.av--s { width: 26px; height: 26px; border-width: 1.5px; } .av--s b { font-size: 13px; } .av--s::after { display: none; }

/* よくある質問 */
.faq { border: 2px solid var(--edge); border-radius: 18px; background: var(--white); margin-bottom: 14px; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; display: flex; gap: 14px; align-items: center; padding: 18px 60px 18px 22px; font-weight: 700; position: relative; line-height: 1.6; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--main); color: #fff; font-family: var(--en); font-weight: 800; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 14px; height: 14px; margin-top: -10px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg); transition: .3s; }
.faq[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq p { padding: 0 22px 20px 70px; color: var(--sub); }

/* ふきだしのしっぽ（::after）が中のボタンにかぶらないように */
.qpanel > *, .phr > *, .fcta__b > * { position: relative; z-index: 1; }

/* 下のCTA */
.fcta { padding: 40px 0 110px; }
.fcta__b { position: relative; padding: 56px 60px; border-radius: 40px; border: 2.5px solid var(--edge); background: var(--main); color: #fff; box-shadow: 10px 10px 0 var(--accent); }
.fcta__b::after { content: ""; position: absolute; right: 120px; bottom: -28px; width: 44px; height: 44px; background: var(--main); border-right: 2.5px solid var(--edge); border-bottom: 2.5px solid var(--edge); transform: rotate(45deg) skew(12deg, 12deg); }
.fcta .hand { color: var(--pop); font-size: 36px; transform: rotate(-3deg); transform-origin: left; }
.fcta h2 { font-size: clamp(26px, 3.6vw, 40px); margin: 8px 0 14px; }
.fcta p { max-width: 640px; opacity: .92; }
.fcta b { color: var(--pop); }

/* フッター */
.ft { background: var(--ink); color: rgba(255,255,255,.86); padding: 64px 0 120px; }
.ft__in { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.ft .lg small { color: rgba(255,255,255,.6); }
.ft .lg__m path:last-of-type { stroke: var(--ink); }
.ft__ad { margin-top: 18px; font-size: 14px; line-height: 2; color: rgba(255,255,255,.7); }
.ft__nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 28px; font-weight: 700; font-size: 14.5px; align-content: start; }
.ft__nav a { padding: 8px 0; border-bottom: 1px dashed rgba(255,255,255,.18); }
.ft__nav a:hover { color: var(--pop); }
.ft__bt { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); font-size: 12.5px; color: rgba(255,255,255,.6); }
.ft__bt a { text-decoration: underline; }
.spb { display: none; }

/* モーダル */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(31,27,51,.55); }
.modal[hidden] { display: none; }
.modal__b { width: min(460px, 100%); padding: 36px 30px 30px; text-align: center; border-radius: 30px; border: 2.5px solid var(--edge); background: var(--white); box-shadow: 8px 8px 0 var(--main); }
.modal__h { font-size: 40px; }
.modal__t { font-weight: 900; font-size: 19px; margin: 8px 0 10px; }
.modal__d { color: var(--sub); font-size: 14.5px; margin-bottom: 22px; }

/* ====== コース ====== */
.anc { position: sticky; top: var(--hh); z-index: 40; display: flex; gap: 8px; padding: 12px 24px; overflow-x: auto; background: rgba(255,249,240,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 2px solid var(--edge); scrollbar-width: none; justify-content: center; }
.anc::-webkit-scrollbar { display: none; }
.anc a { flex: none; padding: 6px 16px; border-radius: 999px; border: 2px solid var(--edge); background: var(--white); font-weight: 700; font-size: 14px; white-space: nowrap; }
.anc a:hover { background: var(--pop); }
.anc a.is-calc { background: var(--accent); }
.ccs { display: grid; gap: 48px; }
.cc { display: grid; grid-template-columns: 1fr 1.1fr; border: 2.5px solid var(--edge); border-radius: 32px; background: var(--white); overflow: hidden; box-shadow: 8px 8px 0 var(--edge); scroll-margin-top: 150px; }
.cc--r .cc__img { order: 2; border-right: 0; border-left: 2.5px solid var(--edge); }
.cc__img { position: relative; border-right: 2.5px solid var(--edge); min-height: 100%; background: var(--paper); }
.cc__img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.cc__en { position: absolute; left: 20px; top: 20px; padding: 4px 18px; border-radius: 999px; border: 2px solid var(--edge); background: var(--pop); font-family: var(--en); font-weight: 800; font-size: 18px; }
.cc__b { padding: 38px 40px 40px; }
.cc__age { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--main); }
.cc__ic { width: 40px; height: 40px; } .cc__ic svg { width: 100%; height: 100%; }
.cc h2 { font-size: 30px; margin: 6px 0 10px; }
.cc__l { color: var(--sub); }
.cc__pts { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.cc__pts li { font-size: 13.5px; font-weight: 700; padding: 3px 12px; border-radius: 10px; background: var(--main-l); }
.cc__spec { display: flex; gap: 24px; font-size: 14px; margin-bottom: 14px; }
.cc__spec div { display: flex; gap: 8px; } .cc__spec dt { color: var(--sub); } .cc__spec dd { font-weight: 700; }
.cc__plans { display: flex; flex-wrap: wrap; gap: 12px; }
.cc__plans li { flex: 1 1 160px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 12px 18px; border-radius: 16px; border: 2px solid var(--edge); background: var(--bg); }
.cc__plans span { font-weight: 700; }
.cc__plans b { font-family: var(--en); font-weight: 800; font-size: 26px; }
.cc__plans small { font-family: var(--jp); font-size: 12.5px; font-weight: 500; margin-left: 2px; }
.cc__x { margin-top: 12px; font-size: 13px; color: var(--sub); }
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; border: 2px solid var(--edge); border-radius: 20px; overflow: hidden; background: var(--white); }
.tbl th, .tbl td { padding: 16px 22px; text-align: left; vertical-align: top; border-bottom: 1.5px dashed var(--line); }
.tbl tr:last-child th, .tbl tr:last-child td { border-bottom: 0; }
.tbl th { width: 32%; font-weight: 700; background: var(--main-l); }
.tbl td { font-weight: 700; }
.tbl td small { display: block; font-weight: 400; font-size: 13.5px; color: var(--sub); margin-top: 2px; }
.short { margin-top: 32px; padding: 28px 30px; border-radius: 24px; border: 2px solid var(--edge); background: var(--white); box-shadow: var(--sh); }
.tag { display: inline-block; padding: 2px 12px; border-radius: 999px; background: var(--accent); border: 2px solid var(--edge); font-size: 12.5px; font-weight: 700; }
.short h3 { font-size: 21px; margin: 10px 0 6px; }
.short p { color: var(--sub); }
.short__law { margin-top: 12px; padding: 12px 16px; border-radius: 14px; background: var(--accent-l); font-size: 14px; color: var(--ink) !important; }
.short__law a, .law a { text-decoration: underline; font-weight: 700; }

/* 月謝の計算 */
.calc { display: grid; grid-template-columns: 1.25fr .9fr; gap: 32px; align-items: start; }
.calc__ps { display: grid; gap: 18px; }
.per { padding: 22px 24px 24px; border: 2px solid var(--edge); border-radius: 24px; background: var(--white); box-shadow: var(--sh); animation: pop .35s var(--ease); }
@keyframes pop { from { transform: scale(.97); opacity: 0; } }
.per__h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.per__h b { font-weight: 900; font-size: 17px; display: flex; align-items: center; gap: 10px; }
.per__h b i { font-style: normal; font-family: var(--en); font-weight: 800; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--pop); border: 2px solid var(--edge); font-size: 15px; }
.per__x { border: 2px solid var(--edge); border-radius: 999px; background: var(--bg); padding: 4px 14px; font-size: 13px; font-weight: 700; }
.per__sib { font-size: 12.5px; font-weight: 700; padding: 2px 10px; border-radius: 8px; background: var(--accent-l); margin-left: 4px; }
.sel { display: block; position: relative; }
.sel select, .fg select { appearance: none; -webkit-appearance: none; width: 100%; min-height: 54px; padding: 0 44px 0 16px; border: 2px solid var(--edge); border-radius: 14px; background: var(--bg); font-weight: 700; }
.sel::after, .fg label:has(select)::after { content: ""; position: absolute; right: 18px; bottom: 22px; width: 9px; height: 9px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg); pointer-events: none; }
.per .seg-r { margin-top: 12px; }
.seg-r, .seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg-r label, .seg label { flex: 1 1 0; min-width: 0; position: relative; }
.seg-r input, .seg input, .cpk input, .chk input { position: absolute; opacity: 0; pointer-events: none; }
.seg-r span, .seg span { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 52px; padding: 6px 10px; border-radius: 14px; border: 2px solid var(--edge); background: var(--white); font-weight: 700; text-align: center; line-height: 1.35; cursor: pointer; transition: .2s; }
.seg-r small, .seg small { font-size: 12px; font-weight: 500; }
.seg-r input:checked + span, .seg input:checked + span { background: var(--main); color: #fff; box-shadow: 3px 3px 0 var(--edge); }
.seg-r input:focus-visible + span, .seg input:focus-visible + span, .cpk input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.addp { width: 100%; margin-top: 18px; min-height: 58px; border: 2px dashed var(--edge); border-radius: 20px; background: transparent; font-weight: 700; transition: .2s; }
.addp:hover { background: var(--pop-l); }
.addp[hidden] { display: none; }
.calc__pay { margin-top: 24px; padding: 20px 22px; border-radius: 22px; background: var(--paper); border: 2px solid var(--edge); }
.calc__pay legend { float: left; width: 100%; font-weight: 900; margin-bottom: 10px; }
.calc__pay .seg { clear: both; }
.calc__r { position: sticky; top: calc(var(--hh) + 74px); padding: 28px 28px 24px; border: 2.5px solid var(--edge); border-radius: 30px; background: var(--white); box-shadow: 8px 8px 0 var(--main); }
.calc__rt { font-weight: 900; } .calc__rt small { font-weight: 500; color: var(--sub); font-size: 13px; margin-left: 4px; }
.calc__big { display: flex; align-items: baseline; gap: 4px; padding-bottom: 14px; border-bottom: 2px solid var(--edge); }
.calc__big b { font-family: var(--en); font-weight: 800; font-size: 56px; line-height: 1.1; letter-spacing: -.02em; }
.calc__big em { font-style: normal; font-weight: 700; }
.calc__rows { margin: 12px 0; font-size: 14px; }
.calc__rows li { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; }
.calc__rows li span { color: var(--sub); }
.calc__rows li.is-off b { color: var(--accent-d); }
.calc__dl { border-top: 2px dashed var(--line); padding-top: 12px; }
.calc__dl div { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 6px 0; }
.calc__dl dt { font-weight: 700; font-size: 14.5px; line-height: 1.4; } .calc__dl dt small { display: block; font-weight: 400; font-size: 12px; color: var(--sub); }
.calc__dl dd b { font-family: var(--en); font-weight: 800; font-size: 24px; }
.calc__tax { font-size: 12.5px; color: var(--sub); text-align: right; }
.law { margin-top: 14px; padding: 14px 16px; border-radius: 16px; border: 2px solid var(--accent-d); background: var(--accent-l); font-size: 13.5px; line-height: 1.75; }
.law b { display: block; color: var(--accent-d); margin-bottom: 4px; }
.law[hidden] { display: none; }
.calc__note { margin: 14px 0; font-size: 13px; color: var(--sub); }
.calc__demo { margin-top: 10px; font-size: 12px; color: var(--mute); text-align: center; }

/* ====== レベル診断 ====== */
.qz { padding: 34px 36px 40px; border: 2.5px solid var(--edge); border-radius: 32px; background: var(--white); box-shadow: 8px 8px 0 var(--main); }
.qz[hidden], .res[hidden] { display: none; }
.qz__top { display: flex; justify-content: space-between; align-items: center; min-height: 36px; }
.qz__back { border: 0; background: none; font-weight: 700; color: var(--main); padding: 4px 0; }
.qz__back[hidden] { display: none; }
.qz__n { margin-left: auto; font-family: var(--en); font-weight: 700; } .qz__n b { font-size: 22px; }
.qz__bar { height: 12px; border-radius: 99px; border: 2px solid var(--edge); background: var(--bg); overflow: hidden; margin: 10px 0 30px; }
.qz__bar i { display: block; height: 100%; width: 16%; background: var(--pop); border-right: 2px solid var(--edge); transition: width .45s var(--ease); }
.qz__card { animation: qin .4s var(--ease); }
@keyframes qin { from { opacity: 0; transform: translateX(16px); } }
.qz__q { word-break: auto-phrase; font-weight: 900; font-size: clamp(21px, 2.6vw, 27px); line-height: 1.5; }
.qz__h { margin-top: 6px; color: var(--sub); font-size: 14.5px; }
.qz__as { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.qz__a { display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 12px 18px; text-align: left; border: 2px solid var(--edge); border-radius: 18px; background: var(--bg); font-weight: 700; line-height: 1.45; transition: .2s; }
.qz__a i { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--edge); background: var(--white); font-style: normal; font-family: var(--en); font-weight: 800; font-size: 14px; }
.qz__a:hover, .qz__a.is-on { background: var(--pop); transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--edge); }
.qz__a small { display: block; font-weight: 500; font-size: 12.5px; color: var(--sub); }
.res { position: relative; padding: 44px 40px 36px; border: 2.5px solid var(--edge); border-radius: 32px; background: var(--white); box-shadow: 8px 8px 0 var(--accent); animation: pop .45s var(--ease); }
.res__stamp { position: absolute; right: 28px; top: -30px; display: grid; place-items: center; width: 104px; height: 104px; border-radius: 50%; border: 3px solid var(--accent-d); color: var(--accent-d); background: var(--white); transform: rotate(12deg); font-family: var(--en); font-weight: 800; font-size: 17px; line-height: 1.1; text-align: center; text-transform: uppercase; box-shadow: inset 0 0 0 5px var(--white), inset 0 0 0 7px var(--accent-d); }
.res__hi { font-size: 32px; transform: rotate(-3deg); transform-origin: left; }
.res__k { margin-top: 10px; font-weight: 700; color: var(--sub); }
.res__t { font-size: clamp(30px, 4.4vw, 44px); line-height: 1.3; }
.res__t em { font-style: normal; display: inline-block; margin-left: 12px; padding: 0 14px; border-radius: 12px; background: var(--pop); border: 2px solid var(--edge); font-size: .55em; vertical-align: middle; }
.res__t em:empty { display: none; }
.res__d { margin-top: 14px; color: var(--sub); }
.res__dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.res__dl div { padding: 14px 16px; border-radius: 16px; background: var(--main-l); }
.res__dl dt { font-size: 12.5px; color: var(--sub); } .res__dl dd { font-weight: 900; font-size: 17px; }
.res__also { margin-top: 16px; padding: 12px 16px; border-radius: 14px; border: 2px dashed var(--line); font-size: 14.5px; }
.res__also:empty { display: none; }
.re { margin-top: 22px; border: 0; background: none; text-decoration: underline; font-weight: 700; color: var(--sub); }
.res__note { margin-top: 12px; font-size: 13px; color: var(--mute); }

/* ====== レッスン ====== */
.ftabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.ftabs button { display: flex; align-items: center; gap: 6px; min-height: 52px; padding: 0 22px; border-radius: 999px; border: 2px solid var(--edge); background: var(--white); font-weight: 700; transition: .2s; }
.ftabs button small { font-family: var(--en); font-weight: 600; color: var(--sub); }
.ftabs button[aria-selected="true"] { background: var(--main); color: #fff; box-shadow: 3px 3px 0 var(--edge); } .ftabs button[aria-selected="true"] small { color: rgba(255,255,255,.75); }
.fpane { display: none; } .fpane.is-on { display: block; animation: qin .35s var(--ease); }
.tl { margin-top: 32px; display: grid; gap: 14px; }
.tl li { display: grid; grid-template-columns: 110px 220px 1fr; gap: 18px; align-items: center; padding: 16px 22px; border-radius: 18px; border: 2px solid var(--edge); background: var(--white); border-left: 14px solid var(--sc); }
.tl__t { font-family: var(--en); font-weight: 700; font-size: 14px; color: var(--sub); }
.tl b { font-family: var(--en); font-weight: 800; font-size: 19px; }
.tl p { color: var(--sub); font-size: 15px; }
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.split--r { grid-template-columns: 1.2fr .8fr; }
.split__img { border: 2.5px solid var(--edge); border-radius: 30px; overflow: hidden; box-shadow: 8px 8px 0 var(--pop); aspect-ratio: 2 / 3; max-height: 640px; background: var(--paper); }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
.dots { display: grid; gap: 18px; }
.dots li { position: relative; padding-left: 34px; color: var(--sub); }
.dots li::before { content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--edge); background: var(--accent); }
.dots b { display: block; color: var(--ink); font-size: 17px; }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 44px; }
.s3 { padding: 26px 26px 28px; border-radius: 24px; border: 2px solid var(--edge); background: var(--white); box-shadow: var(--sh); }
.s3 b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--edge); background: var(--sky); font-family: var(--en); font-weight: 800; font-size: 19px; margin-bottom: 12px; }
.s3 h3 { font-size: 19px; margin-bottom: 6px; } .s3 p { color: var(--sub); font-size: 15px; }
.oc { display: grid; grid-template-columns: 1fr 1fr; border: 2.5px solid var(--edge); border-radius: 32px; overflow: hidden; background: var(--white); box-shadow: 8px 8px 0 var(--edge); }
.oc__img { border-right: 2.5px solid var(--edge); background: var(--paper); }
.oc__img img { width: 100%; height: 100%; object-fit: cover; }
.oc__b { padding: 34px 36px 36px; }
.oc__b h3 { font-size: 23px; } .oc__s { color: var(--sub); margin-bottom: 16px; }
.ckl { display: grid; gap: 8px; }
.ckl label { display: flex; gap: 12px; align-items: flex-start; padding: 10px 14px; border-radius: 14px; background: var(--bg); cursor: pointer; transition: .2s; position: relative; }
.ckl input { appearance: none; -webkit-appearance: none; flex: none; width: 26px; height: 26px; margin: 2px 0 0; border: 2px solid var(--edge); border-radius: 8px; background: var(--white); display: grid; place-items: center; cursor: pointer; }
.ckl input:checked { background: var(--main); }
.ckl input:checked::after { content: ""; width: 7px; height: 12px; border-right: 3px solid #fff; border-bottom: 3px solid #fff; transform: translateY(-2px) rotate(45deg); }
.ckl label:has(input:checked) { background: var(--main-l); }
.ckl b { display: block; font-size: 15px; line-height: 1.5; } .ckl small { font-size: 12.5px; color: var(--sub); line-height: 1.5; display: block; }
.ckm { display: flex; align-items: center; gap: 14px; margin: 18px 0; }
.ckm__bar { flex: 1; height: 12px; border-radius: 99px; border: 2px solid var(--edge); overflow: hidden; background: var(--bg); }
.ckm__bar i { display: block; height: 100%; width: 0; background: var(--pop); transition: width .35s var(--ease); }
.ckm p { font-weight: 700; font-size: 14.5px; white-space: nowrap; }
.ckm p.is-ok { color: var(--ok); }

/* ====== 講師・時間割 ====== */
.tcs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.tc { padding: 30px 32px 30px; border: 2px solid var(--edge); border-radius: 28px; background: var(--white); box-shadow: var(--sh); scroll-margin-top: 110px; }
.tc__h { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 14px; }
.tc__bub { position: relative; margin-top: 8px; padding: 8px 18px; border-radius: 18px; border: 2px solid var(--edge); background: var(--bg); font-family: var(--en); font-weight: 700; font-size: 18px; }
.tc__bub::before { content: ""; position: absolute; left: -9px; top: 16px; width: 14px; height: 14px; background: var(--bg); border-left: 2px solid var(--edge); border-bottom: 2px solid var(--edge); transform: rotate(45deg); }
.tc h3 { font-family: var(--en); font-weight: 800; font-size: 28px; line-height: 1.3; } .tc h3 small { font-family: var(--jp); font-size: 14px; font-weight: 700; color: var(--sub); margin-left: 10px; }
.tc__from { font-size: 13.5px; font-weight: 700; color: var(--main); margin-bottom: 10px; }
.tc__n { color: var(--sub); }
.tc__like { margin-top: 12px; font-size: 14px; } .tc__like span { display: inline-block; padding: 0 10px; margin-right: 8px; border-radius: 8px; background: var(--pop); font-weight: 700; font-size: 12.5px; }
.tc__cs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tc__cs li { padding: 2px 12px; border-radius: 999px; border: 2px solid var(--edge); font-size: 13px; font-weight: 700; }
.ttf { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--edge); background: var(--white); font-weight: 700; font-size: 14.5px; transition: .2s; display: inline-flex; align-items: center; gap: 8px; }
.chips button.is-on { background: var(--ink); color: #fff; }
.ttf .sel { min-width: 260px; } .ttf .sel select { background: var(--white); min-height: 48px; } .ttf .sel::after { bottom: 19px; }
.ttn { font-size: 14px; color: var(--sub); margin-bottom: 14px; } .ttn b { font-family: var(--en); font-size: 20px; color: var(--ink); }
.tt { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.ttd { border: 2px solid var(--edge); border-radius: 20px; background: var(--white); padding: 0 8px 10px; overflow: hidden; }
.ttd__h { margin: 0 -8px 10px; padding: 10px; text-align: center; font-weight: 900; font-size: 18px; border-bottom: 2px solid var(--edge); background: var(--main-l); }
.ttd__h small { display: block; font-family: var(--en); font-weight: 600; font-size: 11px; color: var(--sub); line-height: 1; }
.ttd__l { display: grid; gap: 8px; }
.ttd__e { font-size: 12.5px; color: var(--mute); text-align: center; padding: 10px 0; }
.ttc { display: block; padding: 8px 10px 9px; border-radius: 12px; border: 2px solid var(--edge); background: var(--cc); font-size: 13px; line-height: 1.4; transition: transform .2s, box-shadow .2s; }
.ttc:hover { transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--edge); }
.ttc[hidden] { display: none; }
.ttc__time { font-family: var(--en); font-weight: 800; font-size: 15px; display: block; }
.ttc b { display: block; font-weight: 900; font-size: 13.5px; } .ttc b small { display: inline-block; white-space: nowrap; font-weight: 700; font-size: 11.5px; }
.ttc__t { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-family: var(--en); font-weight: 600; font-size: 12.5px; }
.ttc--kids, .cpk--kids { --cc: var(--accent-l); } .ttc--junior { --cc: var(--pop-l); } .ttc--teens { --cc: var(--sky-l); } .ttc--adult { --cc: var(--main-l); } .ttc--private { --cc: #FFF1C9; } .ttc--online { --cc: #DDF5EA; }

/* ====== 無料体験 ====== */
.trw { display: grid; grid-template-columns: 1.5fr .8fr; gap: 36px; align-items: start; }
.tr { padding: 30px 32px 34px; border: 2.5px solid var(--edge); border-radius: 30px; background: var(--white); box-shadow: 8px 8px 0 var(--main); min-width: 0; }
.tr__prog { display: flex; gap: 6px; margin-bottom: 26px; counter-reset: s; }
.tr__prog li { flex: 1; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 14px; background: var(--bg); font-weight: 700; font-size: 13.5px; color: var(--mute); line-height: 1.3; }
.tr__prog b { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 2px solid currentColor; font-family: var(--en); }
.tr__prog li.is-on { background: var(--pop); color: var(--ink); box-shadow: inset 0 0 0 2px var(--edge); }
.tr__prog li.is-done { color: var(--ink); }
.tr__p { display: none; } .tr__p.is-on { display: block; animation: qin .35s var(--ease); }
.lbl { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 17px; margin: 26px 0 12px; }
.lbl:first-child { margin-top: 0; }
.lbl { flex-wrap: wrap; }
.lbl small { font-weight: 500; font-size: 13px; color: var(--sub); }
.num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--en); font-weight: 800; font-size: 14px; flex: none; }
.cpks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cpk { position: relative; }
.cpk span { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 14px 8px 12px; border-radius: 18px; border: 2px solid var(--edge); background: var(--bg); cursor: pointer; transition: .2s; line-height: 1.4; height: 100%; }
.cpk i { width: 40px; height: 40px; margin-bottom: 4px; } .cpk i svg { width: 100%; height: 100%; }
.cpk b { font-weight: 900; } .cpk small { font-size: 12px; color: var(--sub); }
.cpk input:checked + span { background: var(--pop); box-shadow: 4px 4px 0 var(--edge); transform: translate(-2px, -2px); }
.chips--t button .av--s { margin-left: -8px; }
.days { display: flex; gap: 8px; overflow-x: auto; padding: 4px 4px 12px; margin: 0 -4px; scrollbar-width: thin; }
.day { flex: none; width: 76px; padding: 8px 4px 10px; border-radius: 16px; border: 2px solid var(--edge); background: var(--white); text-align: center; line-height: 1.3; transition: .2s; }
.day small { display: block; font-size: 12px; font-weight: 700; color: var(--sub); }
.day b { display: block; font-family: var(--en); font-weight: 800; font-size: 22px; }
.day em { display: block; font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--main); }
.day.is-sat small { color: #2F6FD1; }
.day:disabled { opacity: .38; cursor: default; } .day:disabled em { color: var(--mute); }
.day.is-on { background: var(--main); color: #fff; box-shadow: 3px 3px 0 var(--edge); } .day.is-on small, .day.is-on em { color: rgba(255,255,255,.85); }
.slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.slot { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto auto; column-gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; border: 2px solid var(--edge); background: var(--white); text-align: left; line-height: 1.35; transition: .2s; position: relative; }
.slot .av { grid-row: 1 / 4; width: 44px; height: 44px; } .slot .av b { font-size: 20px; } .slot .av::after { display: none; }
.slot__t { font-family: var(--en); font-weight: 800; font-size: 19px; }
.slot__d { font-size: 12.5px; color: var(--sub); }
.slot__s { position: absolute; right: 12px; top: 10px; font-size: 11.5px; font-weight: 700; padding: 0 8px; border-radius: 6px; background: var(--pop-l); }
.slot__s.is-few { background: var(--accent-l); color: var(--accent-d); }
.slot__rec { grid-column: 2; justify-self: start; margin-top: 4px; padding: 0 8px; border-radius: 6px; background: var(--main-l); font-size: 11.5px; font-weight: 700; color: var(--main); }
.slot:hover:not(:disabled) { background: var(--main-l); }
.slot.is-on { background: var(--main); color: #fff; box-shadow: 3px 3px 0 var(--edge); } .slot.is-on .slot__d { color: rgba(255,255,255,.85); } .slot.is-on .slot__s, .slot.is-on .slot__rec { color: var(--ink); background: var(--pop); }
.slot:disabled { opacity: .45; cursor: default; background: var(--bg); }
.slots__e { grid-column: 1 / -1; padding: 18px; border-radius: 16px; background: var(--bg); color: var(--sub); text-align: center; font-size: 14.5px; }
.lv-note { margin-top: 12px; font-size: 13.5px; padding: 10px 14px; border-radius: 12px; background: var(--main-l); }
.lv-note[hidden] { display: none; }
.tr__pick { margin: 22px 0 16px; padding: 14px 18px; border-radius: 16px; border: 2px dashed var(--main); background: var(--main-l); font-weight: 700; line-height: 1.6; }
.tr__pick:empty, .tr__pick[hidden] { display: none; }
.tr__pick small { display: block; font-weight: 500; font-size: 12.5px; color: var(--sub); }
.fg { margin-bottom: 16px; position: relative; }
.fg label, .fg legend { display: block; font-weight: 700; font-size: 15px; margin-bottom: 0; }
.fg legend { margin-bottom: 8px; }
.fg label { position: relative; }
.fg em { font-style: normal; font-size: 11.5px; color: #fff; background: var(--accent-d); border-radius: 6px; padding: 1px 7px; margin-left: 8px; vertical-align: 2px; }
.fg small { font-weight: 400; color: var(--sub); font-size: 13px; }
.fg input, .fg textarea, .fg select { display: block; width: 100%; margin-top: 6px; min-height: 54px; padding: 12px 16px; border: 2px solid var(--edge); border-radius: 14px; background: var(--bg); font-size: 16px; font-weight: 500; }
.fg select { padding-right: 44px; font-weight: 700; }
.fg textarea { resize: vertical; line-height: 1.7; }
.fg input:focus, .fg textarea:focus, .fg select:focus { outline: 0; border-color: var(--main); box-shadow: 0 0 0 3px var(--main-l); background: var(--white); }
.fg .is-bad { border-color: var(--err); background: #FFF3F1; }
.fg[hidden] { display: none; }
.fg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.seg--w label { flex: 1 1 0; }
.err { color: var(--err); font-size: 13px; font-weight: 700; margin-top: 4px; }
.err[hidden] { display: none; }
.agree { display: flex; gap: 10px; align-items: flex-start; margin-top: 8px; font-size: 14px; cursor: pointer; }
.agree input { flex: none; width: 22px; height: 22px; margin-top: 3px; accent-color: var(--main); }
.tr__nav { display: flex; gap: 12px; margin-top: 26px; } .tr__nav .btn { flex: 1; padding: 0 16px; }
.tr__ct { font-weight: 900; font-size: 18px; margin-bottom: 14px; }
.conf { border: 2px solid var(--edge); border-radius: 18px; overflow: hidden; }
.conf div { display: grid; grid-template-columns: 34% 1fr; border-bottom: 1.5px dashed var(--line); }
.conf div:last-child { border-bottom: 0; }
.conf dt { padding: 12px 16px; background: var(--main-l); font-weight: 700; font-size: 14px; }
.conf dd { padding: 12px 16px; font-size: 15px; overflow-wrap: anywhere; white-space: pre-wrap; }
.tr__cn { margin-top: 14px; font-size: 14px; color: var(--sub); }
.tra { display: grid; gap: 18px; position: sticky; top: calc(var(--hh) + 20px); }
.tra__b { padding: 22px 24px; border: 2px solid var(--edge); border-radius: 22px; background: var(--white); }
.tra__b--y { background: var(--pop-l); }
.tra h2 { font-size: 17px; margin-bottom: 8px; }
.tra p { font-size: 14.5px; color: var(--sub); } .tra a { text-decoration: underline; color: var(--ink); font-weight: 700; }
.tra__l { display: grid; gap: 10px; counter-reset: t; }
.tra__l li { font-size: 14px; color: var(--sub); padding-left: 32px; position: relative; counter-increment: t; }
.tra__l li::before { content: counter(t); position: absolute; left: 0; top: 2px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); border: 1.5px solid var(--edge); color: var(--ink); font-family: var(--en); font-weight: 800; font-size: 12px; }
.tra__l b { display: block; color: var(--ink); }

/* ====== 教室について ====== */
.prose p { margin-bottom: 16px; color: var(--sub); }
.sign { text-align: right; font-weight: 700; color: var(--ink) !important; }
.gal { display: grid; grid-template-columns: .7fr 1fr 1fr; gap: 22px; align-items: start; margin-bottom: 40px; }
.gal img { width: 100%; border: 2px solid var(--edge); border-radius: 22px; box-shadow: var(--sh); object-fit: cover; }
.gal figure:first-child img { aspect-ratio: 2 / 3; } .gal figure img { aspect-ratio: 3 / 2; }
.gal figcaption { font-size: 13.5px; color: var(--sub); margin-top: 12px; }
.info { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--edge); border-radius: 22px; overflow: hidden; background: var(--white); }
.info div { display: grid; grid-template-columns: 7.5em 1fr; border-bottom: 1.5px dashed var(--line); }
.info div:nth-child(odd) { border-right: 1.5px dashed var(--line); }
.info dt { padding: 14px 16px; font-weight: 700; font-size: 14px; background: var(--main-l); }
.info dd { padding: 14px 16px; font-size: 14.5px; }
.info--s { grid-template-columns: 1fr; margin-top: 18px; } .info--s div:nth-child(odd) { border-right: 0; }
.law-box { padding: 34px 36px; border: 2.5px solid var(--edge); border-radius: 28px; background: var(--white); box-shadow: 8px 8px 0 var(--accent); }
.law-box h3 { font-size: 19px; margin: 26px 0 8px; padding-left: 14px; border-left: 6px solid var(--accent); line-height: 1.4; }
.law-box h3:first-child { margin-top: 0; }
.law-box p { color: var(--sub); } .law-box p b { color: var(--ink); background: linear-gradient(transparent 60%, var(--pop) 60%); }
.tbl--law { margin: 14px 0 10px; } .tbl--law thead th { background: var(--ink); color: #fff; font-size: 14px; }
.tbl--law td { font-weight: 500; font-size: 15px; }
.law-s { font-size: 13.5px; }

/* 出現 */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; } .rv-d3 { transition-delay: .24s; }
.is-shot .rv { opacity: 1; transform: none; transition: none; }
.is-shot .bub, .is-shot .mq__t { animation: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } .bub, .mq__t { animation: none; } html { scroll-behavior: auto; } }

/* ====== タブレット ====== */
@media (max-width: 1080px) {
  .hd__nav { display: none; }
  .mb { display: block; margin-left: 0; }
  .hd__cta { margin-left: auto; }
  .tt { grid-template-columns: repeat(3, 1fr); }
  .tminis { grid-template-columns: repeat(2, 1fr); }
  .phr { grid-template-columns: 1fr; gap: 18px; }
  .phr__btns { flex-direction: row; flex-wrap: wrap; }
  .trw { grid-template-columns: 1fr; } .tra { position: static; grid-template-columns: repeat(3, 1fr); }
  .tl li { grid-template-columns: 100px 180px 1fr; }
}
@media (max-width: 860px) {
  .hero__in, .qpanel, .calc, .split, .split--r, .oc, .cc { grid-template-columns: 1fr; }
  .split__img { max-width: 420px; }
  .cc--r .cc__img { order: 0; border-left: 0; }
  .cc__img { border-right: 0; border-bottom: 2.5px solid var(--edge); }
  .oc__img { border-right: 0; border-bottom: 2.5px solid var(--edge); aspect-ratio: 3 / 2; }
  .whos, .feats { grid-template-columns: 1fr 1fr; }
  .feats .feat:last-child { grid-column: 1 / -1; }
  .steps3, .tra { grid-template-columns: 1fr; }
  .calc__r { position: static; }
  .gal { grid-template-columns: 1fr 1fr; } .gal figure:first-child { grid-row: span 2; }
  .tl li { grid-template-columns: 90px 1fr; } .tl li p { grid-column: 1 / -1; }
}

/* ====== スマホ ====== */
@media (max-width: 640px) {
  :root { --hh: 64px; }
  body { font-size: 15.5px; }
  .wrap { width: calc(100% - 36px); }
  .sp { display: inline; }
  .sec { padding: 72px 0; } .sec--t { padding-top: 40px; }
  .st { margin-bottom: 30px; }
  .hd { padding: 0 14px 0 16px; gap: 10px; }
  .hd__cta { display: none; } .mb { margin-left: auto; width: 46px; height: 46px; } .mb i { left: 12px; right: 12px; } .mb i:nth-child(1) { top: 13px; } .mb i:nth-child(2) { top: 20px; } .mb i:nth-child(3) { top: 27px; }
  .is-open .mb i:nth-child(1), .is-open .mb i:nth-child(3) { top: 20px; }
  .lg__m { width: 40px; height: 37px; } .lg b { font-size: 16.5px; } .lg small { font-size: 10px; }
  .btns { flex-direction: column; } .btns .btn { width: 100%; }
  .hero { padding: 28px 0 56px; }
  .hero__in { gap: 28px; }
  .hero__v { order: -1; padding: 18px 8px 22px 0; }
  .hero__img { border-radius: 24px; box-shadow: 7px 7px 0 var(--main); }
  .bub { font-size: 15px; padding: 7px 14px; }
  .bub--1 { left: -4px; } .bub--2 { right: -2px; top: 42%; } .bub--3 { left: 10%; }
  .hero__en { font-size: 25px; }
  .hero__t { font-size: 32px; }
  .mq__t { font-size: 21px; }
  .whos { gap: 12px; }
  .who { padding: 18px 14px 16px; }
  .who__i { width: 44px; height: 44px; }
  .who b { font-size: 18px; }
  .who small { font-size: 12px; }
  .who__p { font-size: 12.5px; } .who__p em { font-size: 19px; }
  .who .ar { width: 28px; height: 28px; right: 10px; top: 14px; padding: 4px; }
  .qpanel { padding: 32px 20px 24px; border-radius: 28px; gap: 22px; box-shadow: 6px 6px 0 var(--edge); }
  .qpanel::after { left: 50px; }
  .qpanel__q { padding: 20px 16px; }
  .qas { gap: 8px; } .qa { font-size: 14.5px; min-height: 56px; }
  .feats { grid-template-columns: 1fr; gap: 34px; } .feats .feat:last-child { grid-column: auto; }
  .phr { padding: 28px 22px; border-radius: 30px; box-shadow: 6px 6px 0 var(--accent); }
  .phr__btns .btn { flex: 1 1 100%; }
  .tbar { flex-direction: column; border-radius: 20px; }
  .tseg { width: 100%; flex-direction: row; justify-content: space-between; align-items: center; min-height: calc(var(--m, 10) * 3.4px + 22px); padding: 10px 16px; border-right: 0; border-bottom: 2px solid var(--edge); }
  .tseg:last-child { border-bottom: 0; }
  .tseg small { margin-top: 0; }
  .tminis { gap: 12px; } .tmini { padding: 20px 10px 18px; } .tmini .av { width: 66px; height: 66px; } .tmini .av b { font-size: 30px; } .tmini b { font-size: 19px; } .tmini small { font-size: 12px; } .tmini__c { font-size: 11.5px; padding: 2px 8px; }
  .faq summary { padding: 16px 48px 16px 16px; font-size: 15px; } .faq summary::after { right: 18px; } .faq p { padding: 0 18px 18px 18px; }
  .fcta { padding: 20px 0 80px; }
  .fcta__b { padding: 36px 22px 30px; border-radius: 30px; box-shadow: 6px 6px 0 var(--accent); } .fcta__b::after { right: 60px; }
  .fcta .btn--ghost { box-shadow: none; }
  .ft { padding: 48px 0 calc(110px + env(safe-area-inset-bottom)); } .ft__in { grid-template-columns: 1fr; }
  .spb { display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 2px solid var(--edge); }
  .spb a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 52px; border-radius: 14px; border: 2px solid var(--edge); background: var(--white); font-weight: 700; font-size: 12px; line-height: 1.3; }
  .spb svg { width: 20px; height: 20px; }
  .spb a.is-main { background: var(--accent); font-size: 15px; box-shadow: 3px 3px 0 var(--edge); }
  .ph { padding: 28px 0 40px; } .ph h1 { font-size: 32px; } .ph__deco { width: 150px; right: -50px; bottom: -56px; }
  .crumb { margin-bottom: 12px; }
  .anc { justify-content: flex-start; padding: 10px 18px; }
  .cc { border-radius: 26px; box-shadow: 6px 6px 0 var(--edge); }
  .cc__b { padding: 26px 20px 26px; }
  .cc h2 { font-size: 26px; }
  .cc__plans b { font-size: 23px; }
  .ccs { gap: 36px; }
  .tbl th, .tbl td { display: block; width: 100%; padding: 12px 16px; }
  .tbl th { border-bottom: 0; }
  .tbl--law thead { display: none; }
  .short { padding: 22px 18px; }
  .per { padding: 18px 16px 18px; }
  .calc__pay { padding: 16px 14px; }
  .calc__r { padding: 24px 18px 20px; box-shadow: 6px 6px 0 var(--main); }
  .calc__big b { font-size: 46px; }
  .qz { padding: 22px 18px 26px; border-radius: 26px; box-shadow: 6px 6px 0 var(--main); }
  .qz__as { grid-template-columns: 1fr; gap: 10px; }
  .qz__a { min-height: 60px; }
  .res { padding: 40px 20px 28px; border-radius: 26px; box-shadow: 6px 6px 0 var(--accent); }
  .res__stamp { width: 84px; height: 84px; font-size: 14px; right: 14px; top: -26px; }
  .res__t em { display: block; width: fit-content; margin: 6px 0 0; }
  .res__dl { grid-template-columns: 1fr; gap: 8px; } .res__dl div { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; }
  .ftabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .ftabs button { padding: 0 12px; justify-content: center; }
  .tl li { grid-template-columns: 1fr; gap: 2px; padding: 14px 16px; border-left-width: 10px; }
  .split { gap: 32px; } .split__img { box-shadow: 6px 6px 0 var(--pop); aspect-ratio: 4 / 3; max-width: none; }
  .oc { border-radius: 26px; box-shadow: 6px 6px 0 var(--edge); } .oc__b { padding: 24px 18px 26px; }
  .tcs { grid-template-columns: 1fr; gap: 20px; }
  .tc { padding: 24px 20px; }
  .tc h3 { font-size: 24px; } .tc h3 small { display: block; margin-left: 0; }
  .av--l { width: 86px; height: 86px; } .av--l b { font-size: 38px; }
  .ttf { flex-direction: column; flex-wrap: nowrap; align-items: stretch; } .ttf .sel { min-width: 0; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -18px; padding: 2px 18px 8px; scrollbar-width: none; } .chips::-webkit-scrollbar { display: none; }
  .chips button { flex: none; }
  .tt { grid-template-columns: 1fr; gap: 12px; }
  .ttd { display: grid; grid-template-columns: 58px 1fr; padding: 0; }
  .ttd__h { margin: 0; border-bottom: 0; border-right: 2px solid var(--edge); display: flex; flex-direction: column; justify-content: center; }
  .ttd__l { grid-template-columns: 1fr 1fr; padding: 10px; }
  .ttd__e { padding: 14px; text-align: left; }
  .ttd:has(.ttd__e:not([hidden])) { display: none; }
  .tr { padding: 22px 16px 26px; border-radius: 26px; box-shadow: 6px 6px 0 var(--main); }
  .tr__prog { gap: 4px; } .tr__prog li { flex-direction: column; gap: 2px; padding: 8px 4px; font-size: 11.5px; text-align: center; }
  .cpks { grid-template-columns: 1fr 1fr; }
  .slots { grid-template-columns: 1fr; }
  .lbl small { flex-basis: 100%; padding-left: 40px; margin-top: -8px; }
  .fg2 { grid-template-columns: 1fr; }
  .conf div { grid-template-columns: 1fr; } .conf dt { padding: 8px 14px; } .conf dd { padding: 10px 14px; }
  .gal { grid-template-columns: 1fr 1fr; gap: 14px; } .gal figure:first-child { grid-row: auto; grid-column: 1 / -1; } .gal figure:first-child img { aspect-ratio: 3 / 2; }
  .info { grid-template-columns: 1fr; } .info div:nth-child(odd) { border-right: 0; } .info div { grid-template-columns: 6.5em 1fr; }
  .law-box { padding: 26px 18px; box-shadow: 6px 6px 0 var(--accent); }
  .modal__b { padding: 30px 20px 24px; }
}
