/* 原田英語の英熟語・イディオム大全 — 単語カード × 赤シート × 蛍光ペン */
:root {
  --ink: #1d2135; --ink2: #363b55; --sub: #666a80; --mute: #a39e93;
  --paper: #fffaf3; --paper2: #f6efe4; --card: #ffffff; --line: #ece3d4;
  --red: #e5352b; --red2: #c0281f; --rink: #ef4f2c; --hl: #ffe36e; --hl2: #ffd000; --blue: #2459d6; --green: #0d9b6c; --violet: #7a3ff2; --orange: #ff8a1f; --gold: #c8962a;
  --navy: var(--ink); --y: var(--hl); --r: var(--red); --b: var(--blue); --g: var(--green); --p: var(--violet); --bg: var(--paper);
  --disp: "Zen Maru Gothic", "Zen Kaku Gothic New", sans-serif;
  --round: "Zen Maru Gothic", "Zen Kaku Gothic New", sans-serif;
  --serif: "Fraunces", "Times New Roman", serif;
  --en: "Fraunces", "Times New Roman", serif;
  --ja: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --grad: linear-gradient(120deg, #e5352b 0%, #f0532f 42%, #ff9f1c 100%);
  --grad-cool: linear-gradient(120deg, #2459d6 0%, #6a3fe0 100%);
  --shadow: 0 1px 2px rgba(60, 40, 20, .06), 0 8px 24px -8px rgba(60, 40, 20, .18);
  --shadow-lg: 0 2px 4px rgba(60, 40, 20, .06), 0 24px 48px -16px rgba(60, 40, 20, .3);
  --bd: 1px solid var(--line);
  --hard: var(--shadow);
  --sh: var(--shadow);
  --rad: 18px;
  --grain: none;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper) var(--grain); color: var(--ink); font-family: var(--ja); font-weight: 500; line-height: 1.8; font-size: 16px; overflow-x: hidden; }
[lang="en"] { font-family: var(--serif); }
a { color: var(--blue); }
img { max-width: 100%; height: auto; }
button { font: inherit; color: inherit; cursor: pointer; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; z-index: 99; background: #fff; padding: 6px 12px; }
::selection { background: var(--hl); color: var(--ink); }

/* ===== ヘッダー ===== */
.hd { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 8px; padding: 8px 14px; background: var(--ink); color: #fff; border-bottom: 3px solid var(--red); }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; margin-right: auto; line-height: 1.05; min-width: 0; }
.logo img { width: 40px; height: 40px; background: var(--hl); border-radius: 50%; padding: 2px; border: 2px solid #fff; flex: none; }
.logo span { font-family: var(--disp); font-size: 16px; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo small { display: block; font-family: var(--ja); font-weight: 900; font-size: 11px; color: var(--hl); letter-spacing: .14em; margin-bottom: 2px; }
.hd-btn { width: 42px; height: 42px; display: grid; place-items: center; border: 2px solid rgba(255, 255, 255, .25); background: transparent; border-radius: 12px; color: #fff; flex: none; }
.hd-btn:hover { border-color: var(--hl); color: var(--hl); }
.hd-btn svg { width: 22px; height: 22px; }
.lv { display: none; align-items: center; gap: 6px; height: 34px; padding: 0 10px 0 4px; border-radius: 999px; background: var(--hl); color: var(--ink); text-decoration: none; font-weight: 900; font-size: 13px; flex: none; }
.lv.on { display: inline-flex; }
.lv b { display: grid; place-items: center; min-width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--hl); font-family: var(--serif); font-size: 13px; }
.lv i { font-style: normal; }
@media (max-width: 420px) { .lv i { display: none; } .logo span { font-size: 14px; } }
.drawer { position: fixed; inset: 0; z-index: 60; background: rgba(10, 14, 32, .6); backdrop-filter: blur(3px); }
.drawer-in { position: absolute; right: 0; top: 0; bottom: 0; width: min(360px, 90vw); background: var(--paper) var(--grain); overflow-y: auto; padding: 18px 18px 40px; border-left: 1px solid var(--line); animation: slin .25s cubic-bezier(.2, 1.2, .4, 1); }
@keyframes slin { from { transform: translateX(60px); opacity: 0; } }
.drawer-x { position: absolute; right: 12px; top: 12px; background: var(--ink); }
.drawer-home { display: flex; align-items: center; gap: 10px; font-family: var(--disp); font-size: 20px; color: var(--ink); text-decoration: none; margin: 4px 0 8px; }
.drawer-h { margin: 18px 0 6px; font-size: 12px; font-weight: 900; color: var(--red); letter-spacing: .16em; }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer li a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 700; }
.drawer li a:hover { background: var(--hl); }
.crumbs { max-width: 760px; margin: 0 auto; padding: 12px 16px 0; font-size: 12px; color: var(--sub); display: flex; flex-wrap: wrap; gap: 4px; }
.crumbs a { color: var(--sub); }
.crumbs > * + *::before { content: "/"; margin-right: 4px; color: var(--mute); }

/* ===== 共通 ===== */
.wrap { max-width: 760px; margin: 0 auto; padding: 12px 16px 36px; }
.wrap-w { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.h1 { font-family: var(--disp); font-weight: 900; font-size: clamp(26px, 6.4vw, 40px); line-height: 1.3; color: var(--ink); margin: 14px 0 16px; letter-spacing: .01em; }
.h1 small { display: block; font-family: var(--ja); font-weight: 900; font-size: 13px; color: var(--red); letter-spacing: .14em; margin-bottom: 6px; }
.h2 { position: relative; width: fit-content; max-width: 100%; font-family: var(--disp); font-weight: 900; font-size: clamp(21px, 5vw, 27px); line-height: 1.35; color: var(--ink); margin: 44px 0 16px; padding: 0 4px; z-index: 0; }
.h2::after { content: ""; position: absolute; left: -4px; right: -8px; bottom: .02em; height: .5em; background: var(--hl); z-index: -1; transform: skewX(-12deg) rotate(-1deg); border-radius: 3px 8px 4px 10px; transform-origin: 0 50%; }
.h2[data-en]::before { content: attr(data-en); display: block; font-family: var(--ja); font-weight: 900; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 4px; }
.lead { display: flex; align-items: center; gap: 14px; background: var(--card); border: var(--bd); border-radius: var(--rad); padding: 14px 16px; box-shadow: var(--hard); margin-bottom: 18px; }
.lead p { margin: 0; }
.lead-p { color: var(--sub); }
.owl-m { flex: none; width: 84px; height: 84px; }
.count { font-size: 13px; color: var(--sub); margin: 8px 0; }
.rank-sum { font-size: 14px; font-weight: 700; }
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: var(--hl); text-decoration: none; font-weight: 900; padding: 12px 22px; border-radius: 999px; border: var(--bd); box-shadow: var(--shadow); transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn:active { transform: translateY(1px); box-shadow: var(--shadow); }
.btn svg { width: 20px; height: 20px; }
.btn-y { background: var(--hl); color: var(--ink); box-shadow: var(--shadow); }
.btn-y:hover { box-shadow: var(--shadow-lg); }
.btn-r { background: var(--red); color: #fff; box-shadow: var(--shadow); }
.btn-w { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 24px 0 6px; }
.chip { display: inline-block; font-size: 12px; font-weight: 900; color: #fff; background: var(--c); border-radius: 6px; padding: 1px 9px; text-decoration: none; border: 1px solid var(--line); }
.rk { display: inline-grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 7px; font-family: var(--disp); font-size: 15px; color: #fff; border: 1px solid var(--line); transform: rotate(-4deg); box-shadow: var(--shadow); }
.rk-S { background: var(--red); } .rk-A { background: var(--orange); } .rk-B { background: var(--blue); } .rk-C { background: var(--violet); }

/* ===== 一覧（辞書の索引のように） ===== */
.sbox { display: flex; background: #fff; border: var(--bd); border-radius: 999px; padding: 4px; box-shadow: var(--hard); max-width: 560px; }
.sbox input { flex: 1; border: 0; outline: 0; background: none; font: inherit; font-size: 16px; padding: 10px 16px; min-width: 0; color: var(--ink); }
.sbox button { border: 0; background: var(--red); width: 48px; border-radius: 999px; display: grid; place-items: center; }
.sbox button svg { width: 22px; height: 22px; color: #fff; }
.rows { list-style: none; margin: 0; padding: 0; background: var(--card); border: var(--bd); border-radius: var(--rad); box-shadow: var(--hard); overflow: hidden; }
.rows li + li { border-top: 1px dashed var(--line); }
.rows a { display: grid; grid-template-columns: auto auto 1fr; grid-template-areas: "no rk en" "no rk ja"; column-gap: 12px; align-items: center; padding: 11px 16px; text-decoration: none; color: var(--ink); position: relative; }
.rows a:hover { background: #fff6c9; }
.rows .no { grid-area: no; font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 14px; color: var(--mute); min-width: 2.6em; text-align: right; }
.rows .rk { grid-area: rk; width: 24px; height: 24px; font-size: 13px; }
.r-en { grid-area: en; font-weight: 700; font-size: 18.5px; color: var(--ink); line-height: 1.3; letter-spacing: -.005em; }
.r-ja { grid-area: ja; font-size: 14.5px; color: var(--rink); font-weight: 700; line-height: 1.5; }
.rows a.is-done .r-en::after { content: "✓"; color: var(--green); margin-left: 6px; font-family: var(--ja); }
.rows a.is-star .r-en::before { content: "★"; color: var(--hl2); margin-right: 4px; -webkit-text-stroke: 1px var(--ink); }
.tools { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 10px 0 12px; }
.tool { display: inline-flex; align-items: center; gap: 8px; border: var(--bd); background: #fff; color: var(--ink); border-radius: 999px; padding: 6px 16px 6px 8px; font-weight: 900; font-size: 14px; box-shadow: var(--shadow); }
.tool::before { content: ""; width: 30px; height: 20px; border-radius: 4px; background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0 35%, rgba(255, 255, 255, .55) 40%, rgba(255, 255, 255, 0) 46%), linear-gradient(160deg, #ff4a52, #d8141f); border: 1px solid rgba(120, 0, 0, .5); transform: rotate(-6deg); }
.tool svg { display: none; }
.tool[aria-pressed="true"] { background: var(--ink); color: #fff; }
.tool-hint { font-size: 12px; color: var(--sub); display: none; }
body.sheet-on .tool-hint { display: inline; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 22px 0 0; }
.pager a, .pager span { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 10px; border-radius: 10px; background: var(--card); border: var(--bd); box-shadow: var(--shadow); text-decoration: none; font-family: var(--serif); font-weight: 800; color: var(--ink); }
.pager .pg-cur { background: var(--ink); color: var(--hl); }
.pager .pg-gap { background: none; box-shadow: none; border: 0; }

/* ===== 赤シート（本物のように：赤い文字だけ消える透明フィルム） ===== */
.rs { position: fixed; left: 0; right: 0; bottom: 0; top: var(--rs-y, 58vh); z-index: 35; pointer-events: none; display: none; }
body.sheet-on .rs { display: block; animation: rsin .5s cubic-bezier(.2, 1.3, .4, 1); }
@keyframes rsin { from { transform: translateY(40vh); } }
/* 赤いフィルムは .rs の外（body の直下）に置く。.rs は固定位置で重なりの層が切れるため、中に入れると下のページと混ざらず真っ赤になる */
.rs-film { position: fixed; left: 0; right: 0; bottom: 0; top: var(--rs-y, 58vh); z-index: 34; pointer-events: none; display: none; background: rgb(255, 8, 16); mix-blend-mode: multiply; border-radius: 18px 18px 0 0; }
body.sheet-on .rs-film { display: block; animation: rsin .5s cubic-bezier(.2, 1.3, .4, 1); }
.rs-gloss { position: absolute; inset: 0; border-radius: 18px 18px 0 0; border-top: 1.5px solid rgba(255, 255, 255, .75);
  background: linear-gradient(180deg, rgba(255, 255, 255, .45), rgba(255, 255, 255, 0) 10px), linear-gradient(112deg, transparent 0 22%, rgba(255, 255, 255, .06) 22% 27%, transparent 27% 63%, rgba(255, 255, 255, .04) 63% 65%, transparent 65%);
  box-shadow: 0 -10px 24px rgba(80, 0, 0, .18); }
.rs-grip { position: absolute; left: 50%; top: -18px; transform: translateX(-50%); pointer-events: auto; touch-action: none; cursor: grab; display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 999px; background: linear-gradient(160deg, #ff5b62, #d4121c); color: #fff; font-weight: 900; font-size: 13px; border: 1.5px solid rgba(255, 255, 255, .7); box-shadow: 0 4px 14px rgba(120, 0, 0, .35); white-space: nowrap; user-select: none; }
.rs-grip:active { cursor: grabbing; }
.rs-grip i { display: inline-block; width: 18px; height: 10px; border-top: 2px solid #fff; border-bottom: 2px solid #fff; }
.rs-x { position: absolute; right: 12px; top: 10px; pointer-events: auto; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .8); background: rgba(150, 0, 10, .35); color: #fff; font-weight: 900; }
.rs-tip { position: absolute; left: 16px; right: 56px; top: 14px; font-size: 12px; font-weight: 700; color: rgba(255, 255, 255, .9); text-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
body.sheet-on .sheet { color: #ff5a3c; }

/* ===== ホーム：ヒーロー ===== */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--ink); min-height: min(88vh, 740px); display: flex; align-items: flex-end; border-bottom: 1px solid var(--line); }
.hero-art { position: absolute; inset: 0; z-index: 0; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; transform: scale(1.06); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10, 14, 34, .9) 0%, rgba(10, 14, 34, .55) 42%, rgba(10, 14, 34, 0) 72%), linear-gradient(0deg, rgba(10, 14, 34, .9) 0%, rgba(10, 14, 34, 0) 50%); }
@media (max-width: 700px) { .hero::before { background: linear-gradient(0deg, rgba(10, 14, 34, .95) 0%, rgba(10, 14, 34, .6) 45%, rgba(10, 14, 34, .1) 75%); } .hero-art img { object-position: 50% 30%; } }
.hero-in { position: relative; z-index: 2; width: 100%; max-width: 1120px; margin: 0 auto; padding: 120px 16px 40px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0; background: var(--red); color: #fff; font-weight: 900; padding: 4px 14px; font-size: 13px; letter-spacing: .12em; transform: rotate(-2deg); box-shadow: var(--shadow); }
.hero-h1 { font-family: var(--disp); font-weight: 900; font-size: clamp(44px, 10.5vw, 100px); line-height: 1.04; margin: 16px 0 14px; letter-spacing: .01em; text-shadow: 0 4px 0 rgba(0, 0, 0, .35), 0 0 40px rgba(0, 0, 0, .4); }
.hero-h1 small { display: block; font-family: var(--ja); font-weight: 900; font-size: max(15px, .24em); color: var(--hl); letter-spacing: .2em; margin-bottom: .3em; text-shadow: none; }
.hero-sub { margin: 0 0 22px; font-size: 15px; font-weight: 700; max-width: 600px; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.hero-big { display: flex; align-items: flex-end; gap: 22px; flex-wrap: wrap; margin: 0 0 22px; }
.hero-big div { line-height: 1; }
.hero-big b { display: block; font-family: var(--serif); font-weight: 800; font-size: clamp(36px, 8vw, 66px); color: #fff; letter-spacing: -.02em; }
.hero-big span { display: block; font-size: 11.5px; font-weight: 900; color: var(--hl); letter-spacing: .12em; margin-top: 6px; }
.hero-s { max-width: 560px; }
.hero-owl { display: none; }

/* 流れる熟語の帯 */
.ticker { background: transparent; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; white-space: nowrap; padding: 12px 0; margin-bottom: 8px; }
.ticker-in { display: inline-flex; animation: tick 80s linear infinite; }
.ticker a { font-family: var(--serif); font-weight: 700; font-style: italic; font-size: 17px; color: var(--ink); text-decoration: none; padding: 0 18px; }
.ticker a::after { content: "·"; font-style: normal; color: var(--mute); margin-left: 36px; font-size: 18px; vertical-align: -1px; }
.ticker a small { font-family: var(--ja); font-style: normal; font-weight: 500; font-size: 13px; color: var(--sub); margin-left: 8px; }
.ticker:hover .ticker-in { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }

/* 今日の学習（ダッシュボード） */
.dash { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; margin-top: 30px; }
@media (max-width: 760px) { .dash { grid-template-columns: 1fr; } }
.me { background: var(--ink); color: #fff; border: var(--bd); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 18px 18px 16px; position: relative; overflow: hidden; }
.me::after { content: ""; position: absolute; right: -50px; top: -50px; width: 190px; height: 190px; border-radius: 50%; border: 28px solid rgba(255, 226, 74, .08); }
.me-top { display: flex; align-items: center; gap: 14px; position: relative; z-index: 1; }
.me-lv { width: 74px; height: 74px; flex: none; border-radius: 50%; background: var(--hl); color: var(--ink); display: grid; place-content: center; text-align: center; line-height: 1; border: 3px solid #fff; box-shadow: 0 0 0 3px var(--ink), 0 0 24px rgba(255, 226, 74, .5); }
.me-lv small { display: block; font-family: var(--serif); font-weight: 800; font-size: 12px; }
.me-lv b { font-family: var(--serif); font-weight: 800; font-size: 32px; }
.me-t { font-family: var(--disp); font-weight: 900; font-size: 20px; line-height: 1.3; margin: 0; }
.me-t small { display: block; font-family: var(--ja); font-weight: 700; font-size: 12px; color: var(--hl); letter-spacing: .1em; margin-bottom: 2px; }
.me-bar { height: 12px; background: rgba(255, 255, 255, .12); border-radius: 99px; margin: 14px 0 6px; overflow: hidden; border: 1.5px solid rgba(255, 255, 255, .25); }
.me-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--hl), var(--orange), var(--red)); border-radius: 99px; transition: width 1.4s cubic-bezier(.2, 1, .3, 1); }
.me-xp { display: flex; justify-content: space-between; font-size: 12px; color: #c9cde0; font-weight: 700; }
.me-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 12px; }
.me-stats div { background: rgba(255, 255, 255, .07); border-radius: 12px; padding: 8px 6px; text-align: center; }
.me-stats b { display: block; font-family: var(--serif); font-weight: 800; font-size: 26px; line-height: 1.1; color: #fff; }
.me-stats span { font-size: 11px; color: #c9cde0; font-weight: 700; }
.me-stats .fire b { color: var(--hl); }
.me-go { display: flex; gap: 10px; flex-wrap: wrap; }
.me-go .btn { padding: 10px 16px; font-size: 14px; }
.me-week { display: flex; gap: 5px; margin: 0 0 14px; }
.me-week i { flex: 1; height: 26px; border-radius: 6px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; font-style: normal; font-size: 10px; color: #8f95b2; font-weight: 700; }
.me-week i.on { background: var(--hl); color: var(--ink); }
.me-week i.now { outline: 2px solid var(--hl); outline-offset: 1px; }

/* 単語カード（めくれる） */
.today { position: relative; perspective: 1200px; }
.today-h { margin: 0 0 8px; font-weight: 900; font-size: 13px; letter-spacing: .14em; color: var(--red); display: flex; justify-content: space-between; }
.today-h span { color: var(--sub); letter-spacing: 0; font-weight: 700; }
.fc { position: relative; display: block; width: 100%; height: 236px; border: 0; background: none; padding: 0; text-align: left; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.3, 1.4, .4, 1); cursor: pointer; }
.fc.flip { transform: rotateY(180deg); }
.fc-f, .fc-b { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border: var(--bd); border-radius: 16px; box-shadow: var(--hard); padding: 22px 20px 18px 52px; display: flex; flex-direction: column; justify-content: center; overflow: hidden;
  background: repeating-linear-gradient(transparent 0 31px, rgba(36, 89, 214, .13) 31px 32px) 0 14px / 100% 100%, var(--card); }
.fc-f::before, .fc-b::before { content: ""; position: absolute; left: 18px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); box-shadow: inset 2px 2px 3px rgba(0, 0, 0, .2); }
.fc-b { transform: rotateY(180deg); background: var(--ink); color: #fff; }
.fc-b::before { background: var(--ink); border-color: #fff; }
.fc-en { font-family: var(--serif); font-weight: 800; font-size: clamp(28px, 6.5vw, 40px); line-height: 1.15; color: var(--ink); letter-spacing: -.01em; }
.fc-tap { margin-top: 14px; font-size: 12px; font-weight: 900; color: var(--red); letter-spacing: .1em; }
.fc-ja { font-family: var(--disp); font-size: 22px; line-height: 1.4; color: var(--hl); }
.fc-ex { margin-top: 10px; font-family: var(--serif); font-style: italic; font-size: 16px; line-height: 1.5; color: #e9ebf5; }
.fc-ex mark { background: none; color: var(--hl); font-weight: 700; }
.fc-more { margin-top: 10px; font-size: 13px; font-weight: 900; color: var(--hl); text-decoration: none; }
.ring { position: absolute; left: -10px; top: 50%; width: 36px; height: 24px; margin-top: -12px; border-radius: 50%; border: 4px solid; border-color: #e3e6ee #9298ab #6e7488 #c4c9d6; border-left-color: transparent; transform: rotate(-8deg); z-index: 3; pointer-events: none; }

/* 入口（ステージ選択のカード）：絵の上に文字を重ねない */
.entr { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 860px) { .entr { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
@media (max-width: 520px) { .entr { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.entr a { position: relative; display: flex; flex-direction: column; border: var(--bd); border-radius: 16px; overflow: hidden; box-shadow: var(--hard); text-decoration: none; color: var(--ink); background: var(--card); transition: transform .18s cubic-bezier(.2, 1.6, .4, 1), box-shadow .18s; }
.entr a:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.entr-pic { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--c); overflow: hidden; border-bottom: var(--bd); }
.entr-art { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, 1, .3, 1); }
.entr a:hover .entr-art, .entr a:hover .entr-owl { transform: scale(1.08); }
.entr-owl { position: absolute; left: 0; right: 0; bottom: -4%; margin: 0 auto; height: 96%; width: auto; transition: transform .5s cubic-bezier(.2, 1.6, .4, 1); }
.entr-no { position: absolute; left: 8px; top: 8px; z-index: 2; font-family: var(--disp); font-size: 15px; color: var(--ink); background: var(--hl); border: 1px solid var(--line); border-radius: 8px; padding: 0 8px; line-height: 1.6; }
.entr-t { display: block; padding: 10px 12px 12px; }
.entr b { display: block; font-family: var(--disp); font-weight: 900; font-size: clamp(15px, 2.2vw, 18px); line-height: 1.35; color: var(--ink); }
.entr-t span { display: block; font-size: 12.5px; font-weight: 700; color: var(--sub); line-height: 1.5; margin-top: 3px; }

/* 横に流れる棚（下まで長くしない） */
.shelf { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 300px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 20px; margin: 0 -16px; scrollbar-width: thin; }
.shelf > * { scroll-snap-align: start; }
.shelf-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.shelf-h .h2 { margin-bottom: 14px; }
.more { font-weight: 900; font-size: 14px; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--red); margin-bottom: 18px; white-space: nowrap; }

/* 特集の帯（長文コーナーなど） */
.feature { display: grid; grid-template-columns: 1.1fr 1fr; border: var(--bd); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--ink); color: #fff; text-decoration: none; margin-top: 44px; }
@media (max-width: 700px) { .feature { grid-template-columns: 1fr; } }
.feature-art { overflow: hidden; min-height: 220px; }
.feature-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature-tx { padding: 24px 22px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.feature small { font-family: var(--serif); font-style: italic; font-weight: 700; color: var(--hl); font-size: 15px; }
.feature b { font-family: var(--disp); font-weight: 900; font-size: clamp(24px, 4.4vw, 34px); line-height: 1.3; }
.feature p { margin: 0; color: #d4d8ea; font-size: 14px; }
.feature .btn { align-self: flex-start; margin-top: 6px; }

/* TOP の番号つきリスト（雑誌風） */
.top10 { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; counter-reset: t; }
@media (max-width: 640px) { .top10 { grid-template-columns: 1fr; } }
.top10 li { counter-increment: t; border-bottom: 1px solid var(--line); }
.top10 a { display: grid; grid-template-columns: 60px 1fr; align-items: center; padding: 10px 0; text-decoration: none; color: var(--ink); }
.top10 a::before { content: counter(t, decimal-leading-zero); font-family: var(--serif); font-weight: 800; font-style: italic; font-size: 36px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.top10 li:nth-child(-n+3) a::before { color: var(--red); -webkit-text-stroke: 0; }
.top10 b { font-family: var(--serif); font-weight: 700; font-size: 20px; line-height: 1.25; display: block; }
.top10 span { font-size: 13px; color: var(--rink); font-weight: 700; }
.top10 a:hover b { color: var(--red); }

.howuse { padding-left: 0; list-style: none; counter-reset: h; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 14px; }
.howuse li { counter-increment: h; position: relative; padding: 16px 16px 14px; background: var(--card); border: var(--bd); border-radius: var(--rad); box-shadow: var(--hard); }
.howuse li::before { content: counter(h); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--disp); font-size: 18px; border: 1px solid var(--line); margin-bottom: 8px; }
.howuse b { display: block; font-family: var(--disp); font-weight: 900; font-size: 17px; line-height: 1.4; margin-bottom: 4px; }

/* ランクのチケット */
.tiles, .cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.tile { position: relative; display: grid; grid-template-columns: 78px 1fr; text-decoration: none; color: var(--ink); border: var(--bd); border-radius: 12px; box-shadow: var(--hard);
  background: radial-gradient(circle at 78px 0, var(--paper) 9px, var(--ink) 9.5px 11px, transparent 11.5px), radial-gradient(circle at 78px 100%, var(--paper) 9px, var(--ink) 9.5px 11px, transparent 11.5px), repeating-linear-gradient(180deg, var(--ink) 0 5px, transparent 5px 10px) 77px 0 / 2px 100% no-repeat, linear-gradient(90deg, var(--c) 78px, var(--card) 78px); transition: transform .15s, box-shadow .15s; }
.tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.tile-rk { grid-row: 1 / span 4; grid-column: 1; align-self: center; justify-self: center; font-family: var(--disp); font-weight: 900; font-size: 40px; color: #fff; text-shadow: 3px 3px 0 var(--ink); line-height: 1; }
.tile > :not(.tile-rk) { grid-column: 2; padding: 0 14px 0 16px; }
.tile-t { font-family: var(--disp); font-size: 18px; padding-top: 14px !important; line-height: 1.35; }
.tile-d { font-size: 13px; color: var(--sub); line-height: 1.6; }
.tile-n { font-family: var(--serif); font-weight: 800; font-style: italic; color: var(--red); padding-bottom: 12px !important; }
.steps { display: flex; flex-wrap: wrap; gap: 8px; }
.steps a { background: var(--card); border: var(--bd); color: var(--ink); border-radius: 999px; padding: 7px 16px; font-family: var(--serif); font-weight: 800; text-decoration: none; box-shadow: var(--shadow); }
.steps a:hover { background: var(--hl); }
.card { position: relative; background: var(--card); border: var(--bd); border-radius: var(--rad); padding: 14px 16px; text-decoration: none; color: var(--ink); box-shadow: var(--hard); display: flex; flex-direction: column; gap: 4px; transition: transform .15s, box-shadow .15s; overflow: hidden; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.card-owl { width: 56px; height: 56px; }
.card-art { width: calc(100% + 32px); max-width: none; margin: -14px -16px 8px; aspect-ratio: 16 / 10; object-fit: cover; border-bottom: var(--bd); display: block; }
.card b { font-family: var(--disp); font-weight: 900; font-size: 18px; color: var(--ink); line-height: 1.4; }
.card span { font-size: 13px; color: var(--sub); }
.card em { font-style: italic; font-family: var(--serif); font-weight: 800; color: var(--red); }
.pennant { position: relative; padding-top: 18px; }
.pennant::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: repeating-linear-gradient(90deg, var(--c, var(--red)) 0 18px, var(--ink) 18px 20px); }

/* ===== 熟語ページ（単語カード） ===== */
.e-card { position: relative; border: var(--bd); border-radius: 18px; padding: 22px 20px 18px 56px; box-shadow: var(--shadow-lg); margin-top: 10px;
  background: repeating-linear-gradient(transparent 0 33px, rgba(36, 89, 214, .12) 33px 34px) 0 18px / 100% 100%, var(--card); }
.e-card::before { content: ""; position: absolute; left: 19px; top: 28px; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); box-shadow: inset 2px 2px 3px rgba(0, 0, 0, .2); }
.e-card > .ring { top: 37px; left: -14px; width: 42px; height: 28px; border-width: 5px; }
.e-tab { position: absolute; right: -2px; top: 24px; background: var(--c); color: #fff; font-size: 12px; font-weight: 900; padding: 3px 12px 3px 14px; border: var(--bd); border-right: 0; border-radius: 8px 0 0 8px; text-decoration: none; }
.e-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; font-size: 13px; font-weight: 900; padding-right: 96px; }
.e-meta .chip { display: none; }
.e-rank { color: var(--sub); } .e-no { font-family: var(--serif); font-style: italic; font-weight: 800; color: var(--ink); background: var(--hl); border: 1px solid var(--line); border-radius: 6px; padding: 0 8px; }
.e-en { font-family: var(--serif); font-weight: 800; font-size: clamp(34px, 9vw, 56px); line-height: 1.1; margin: 16px 0 10px; color: var(--ink); letter-spacing: -.015em; word-break: break-word; }
.e-ja { margin: 0; display: flex; flex-direction: column; gap: 2px; }
.e-ja span { font-family: var(--disp); font-size: 21px; color: var(--rink); line-height: 1.45; }
.e-ja span + span { font-family: var(--ja); font-size: 16px; font-weight: 700; }
.e-acts { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.act { display: inline-flex; align-items: center; gap: 6px; border: var(--bd); background: #fff; border-radius: 999px; padding: 6px 14px; font-weight: 900; font-size: 14px; color: var(--ink); box-shadow: var(--shadow); text-decoration: none; }
.act svg { width: 18px; height: 18px; }
.act[data-mark="star"][aria-pressed="true"] { background: var(--hl); }
.act[data-mark="done"][aria-pressed="true"] { background: var(--green); color: #fff; }
.e-art { margin: 18px 0 0; border: var(--bd); border-radius: 16px; overflow: hidden; box-shadow: var(--hard); background: var(--ink); }
.e-art img { display: block; width: 100%; }
.e-art figcaption { color: #fff; font-size: 13px; padding: 8px 14px; font-weight: 700; }
.e-art figcaption b { color: var(--hl); font-family: var(--serif); font-style: italic; }
.e-sec { position: relative; background: var(--card); border: var(--bd); border-radius: var(--rad); padding: 16px 18px; box-shadow: var(--hard); margin-top: 18px; }
.e-sec h2 { display: flex; align-items: center; gap: 10px; font-family: var(--disp); font-weight: 900; font-size: 17px; margin: 0 0 10px; color: var(--ink); }
.h-ic { display: inline-grid; place-items: center; min-width: 32px; height: 32px; border-radius: 8px; background: var(--ink); color: var(--hl); font-size: 13px; font-family: var(--serif); font-weight: 800; padding: 0 5px; transform: rotate(-4deg); }
.e-ex { font-family: var(--serif); font-size: 21px; font-weight: 600; margin: 0; line-height: 1.55; color: var(--ink); }
.e-ex mark { background: linear-gradient(transparent 52%, var(--hl) 52% 92%, transparent 92%); color: inherit; padding: 0 2px; font-weight: 800; }
.e-exja { margin: 8px 0 0; color: var(--sub); }
.e-ee p { margin: 0; font-family: var(--serif); font-size: 18px; font-style: italic; line-height: 1.6; }
.e-owl { display: flex; gap: 12px; align-items: flex-start; }
.e-owl p { margin: 0; background: #fff8d6; border: 1px solid var(--line); border-radius: 4px 14px 14px 14px; padding: 10px 14px; position: relative; flex: 1; }
.owl-s { flex: none; width: 64px; height: 64px; }
.e-parts { margin: 12px 0 0; font-size: 14px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.e-parts a { background: var(--card); border: 1px solid var(--line); color: var(--ink); font-family: var(--serif); font-weight: 800; text-decoration: none; padding: 1px 12px; border-radius: 999px; }
.e-parts a:hover { background: var(--hl); }
.e-point { background: #fff1ef; box-shadow: var(--shadow-lg); }
.e-point::before { content: "入試に出る！"; position: absolute; right: 14px; top: -13px; background: var(--red); color: #fff; font-size: 12px; font-weight: 900; padding: 2px 10px; border: var(--bd); transform: rotate(3deg); }
.e-point > p:first-of-type { margin: 0; font-weight: 700; }
.e-syn { margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.e-syn b { font-size: 13px; color: var(--sub); margin-right: 4px; }
.ref { display: inline-block; background: #fff; border: 1px solid var(--line); color: var(--ink); font-family: var(--serif); font-weight: 700; padding: 1px 12px; border-radius: 999px; text-decoration: none; font-size: 15px; }
.ref:hover { background: var(--hl); }
.ref-x { border-style: dashed; color: var(--sub); }
.e-ant .ref { border-color: var(--red); color: var(--red); }
.e-tags { margin: 12px 0 0; display: flex; gap: 6px; flex-wrap: wrap; }
.e-tags span { font-size: 12px; font-weight: 900; background: var(--ink); color: var(--hl); padding: 1px 10px; border-radius: 4px; }
.e-go { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 22px 0 0; }
.e-harada { text-align: center; margin: 16px 0 0; }
.e-harada a { font-weight: 900; color: var(--ink); }
.e-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.e-nav a { background: var(--card); border: var(--bd); border-radius: 12px; padding: 10px 14px; text-decoration: none; box-shadow: var(--hard); display: flex; flex-direction: column; }
.e-nav small { color: var(--red); font-family: var(--serif); font-style: italic; font-weight: 800; }
.e-nav span { font-family: var(--serif); font-weight: 700; color: var(--ink); font-size: 17px; }
.e-next { text-align: right; }
.q-c { text-align: left; border: var(--bd); background: #fff; border-radius: 12px; padding: 10px 14px; font-weight: 700; box-shadow: var(--shadow); }
.q-c.ok { background: #d9f6ea; border-color: var(--green); } .q-c.ng { background: #ffe5e2; border-color: var(--red); }

/* ===== 前置詞のイメージ ===== */
.p-card { display: flex; gap: 16px; align-items: center; background: var(--card); border: var(--bd); border-radius: var(--rad); padding: 16px; box-shadow: var(--hard); }
.p-card .p-svg { width: 170px; flex: none; }
.p-core { font-family: var(--disp); font-size: 22px; color: var(--red); margin: 0 0 4px; line-height: 1.4; }
.p-card p { margin: 0; }
.p-points { background: var(--card); border: var(--bd); border-radius: var(--rad); padding: 12px 16px 12px 34px; box-shadow: var(--hard); }
.p-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.p-tile { background: var(--card); border: var(--bd); border-radius: var(--rad); padding: 12px 10px; text-decoration: none; color: var(--ink); box-shadow: var(--hard); text-align: center; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.p-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); background: var(--hl); }
.p-tile b { font-family: var(--serif); font-size: 30px; font-weight: 800; font-style: italic; color: var(--ink); line-height: 1.15; }
.p-tile span { font-size: 13px; color: var(--sub); }
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.vgrid a { background: var(--card); border: var(--bd); border-radius: 12px; padding: 10px; text-align: center; text-decoration: none; box-shadow: var(--shadow); color: var(--ink); }
.vgrid a:hover { background: var(--hl); }
.vgrid b { display: block; font-family: var(--serif); font-weight: 800; font-size: 22px; color: var(--ink); line-height: 1.2; }
.vgrid small { color: var(--sub); font-weight: 700; }

/* ===== ゲーム一覧 ===== */
.games { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.games.shelf { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(250px, 300px); }
.game { position: relative; overflow: hidden; background: var(--ink); color: #fff; border: var(--bd); border-radius: 16px; padding: 0 16px 16px; text-decoration: none; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 4px; transition: transform .18s cubic-bezier(.2, 1.6, .4, 1), box-shadow .18s; }
.game:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.game-ic { font-size: 40px; line-height: 1; padding-top: 16px; }
.game-img { width: calc(100% + 32px); max-width: none; margin: 0 -16px 10px; aspect-ratio: 3 / 2; object-fit: cover; display: block; border-bottom: var(--bd); transition: transform .5s; }
.game:hover .game-img { transform: scale(1.05); }
.game b { font-family: var(--disp); font-weight: 900; font-size: 20px; line-height: 1.3; }
.game span { font-size: 13px; color: #cfd3e6; }
.game em { font-style: normal; font-size: 12px; font-weight: 900; background: var(--c); color: #fff; align-self: flex-start; padding: 1px 10px; border-radius: 4px; margin-top: 4px; border: 1.5px solid #000; }
.howto li { margin-bottom: 6px; }

/* ===== PDF ===== */
.pdfs { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.pdfs a { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "ic t" "ic s"; column-gap: 14px; background: var(--card); border: var(--bd); border-radius: 12px; padding: 12px 14px; box-shadow: var(--hard); text-decoration: none; color: var(--ink); align-items: center; transition: transform .15s; }
.pdfs a:hover { transform: translateY(-2px); }
.pdf-ic { grid-area: ic; background: var(--red); color: #fff; font-family: var(--disp); font-size: 13px; border-radius: 6px; padding: 10px 9px; border: 1px solid var(--line); transform: rotate(-4deg); }
.pdfs b { grid-area: t; color: var(--ink); } .pdfs small { grid-area: s; color: var(--sub); }

/* ===== 大学別（1 問ずつ） ===== */
.school-hd { position: relative; background: var(--ink); color: #fff; border: var(--bd); border-radius: 20px; padding: 22px 20px; box-shadow: var(--shadow-lg); overflow: hidden; margin-top: 10px; }
.school-hd .h1 { color: #fff; margin: 0 0 8px; position: relative; z-index: 1; padding-right: 96px; }
.school-hd .h1 small { color: var(--hl); }
.school-hd p { margin: 0; color: #d4d8ea; position: relative; z-index: 1; font-size: 14px; padding-right: 96px; }
.school-owl { position: absolute; right: 8px; bottom: 0; width: 120px; height: auto; }
.school-hd p.upd { color: var(--ink); padding: 2px 10px; width: fit-content; font-size: 12.5px; }
.school-hd .upd, .upd { display: inline-block; background: var(--hl); color: var(--ink); font-weight: 900; font-size: 12px; padding: 1px 10px; border-radius: 4px; margin-bottom: 10px; position: relative; z-index: 1; }
.s-nums { display: flex; gap: 18px; margin-top: 14px; position: relative; z-index: 1; }
.s-nums b { display: block; font-family: var(--serif); font-weight: 800; font-size: 30px; line-height: 1; color: var(--hl); }
.s-nums span { font-size: 11px; font-weight: 900; color: #c9cde0; }
.trend { background: var(--card); border: var(--bd); border-radius: var(--rad); box-shadow: var(--hard); margin-top: 18px; }
.trend summary { cursor: pointer; padding: 14px 16px; font-family: var(--disp); font-size: 17px; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.trend summary::-webkit-details-marker { display: none; }
.trend summary::after { content: "＋ 全部読む"; font-family: var(--ja); font-weight: 900; font-size: 13px; color: var(--red); white-space: nowrap; }
.trend[open] summary::after { content: "− 閉じる"; }
.trend-pre { padding: 0 16px 14px; margin: -6px 0 0; color: var(--sub); font-size: 14px; }
.trend[open] .trend-pre { display: none; }
.trend-in { padding: 0 16px 14px; }
.trend-in p { margin: 0 0 10px; }
.trend-in p b { background: var(--ink); color: var(--hl); font-size: 12px; padding: 1px 8px; border-radius: 4px; margin-right: 6px; font-family: var(--serif); white-space: nowrap; }
.srcs { font-size: 12px; color: var(--sub); border-top: 1px dashed var(--line); padding-top: 8px; margin-top: 4px; }
.srcs a { color: var(--sub); }
.sp-h { font-family: var(--disp); font-size: 18px; margin: 26px 0 8px; }
.types { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: thin; }
.types button { flex: none; border: var(--bd); background: var(--card); border-radius: 999px; padding: 6px 14px; font-weight: 800; font-size: 13px; box-shadow: var(--shadow); white-space: nowrap; }
.types button[aria-pressed="true"] { background: var(--ink); color: var(--hl); }
.types button small { font-family: var(--serif); font-weight: 800; margin-left: 4px; color: var(--red); }
.types button[aria-pressed="true"] small { color: #fff; }
.sp { background: var(--card); border: var(--bd); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 16px 18px 18px; }
.sp-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 900; font-size: 13px; color: var(--sub); }
.sp-top b { font-family: var(--serif); font-size: 18px; color: var(--ink); }
.sp-score { font-family: var(--serif); font-weight: 800; color: var(--green); font-size: 15px; }
.sp-bar { height: 8px; background: var(--paper2); border-radius: 99px; overflow: hidden; margin: 8px 0 14px; border: 1px solid var(--line); }
.sp-bar i { display: block; height: 100%; background: var(--red); transition: width .4s; }
.sp-type { display: inline-block; font-size: 12px; font-weight: 900; background: var(--ink); color: var(--hl); padding: 1px 10px; border-radius: 4px; margin-bottom: 10px; }
.sq-pass { background: #fbf7ec; border: 1.5px dashed var(--line); border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; font-family: var(--serif); font-size: 16px; line-height: 1.75; white-space: pre-line; }
.sq-q { font-family: var(--serif); font-size: 19px; font-weight: 600; margin: 0 0 6px; line-height: 1.6; white-space: pre-line; }
.sq-q u, .sq-pass u { text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.sq-qja { color: var(--sub); font-size: 14px; margin: 0 0 8px; }
.blank { display: inline-block; min-width: 4.5em; border-bottom: 2.5px solid var(--red); text-align: center; color: var(--red); font-weight: 900; font-family: var(--ja); }
.sq-ch { display: grid; gap: 8px; margin-top: 10px; }
.sq-c { text-align: left; border: var(--bd); background: #fff; border-radius: 12px; padding: 10px 14px; box-shadow: var(--shadow); font-family: var(--serif); font-size: 17px; font-weight: 600; }
.sq-c:hover { background: #fff8d6; }
.sq-c b { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: var(--paper2); font-family: var(--serif); font-size: 13px; margin-right: 8px; }
.sq-c.ok { background: #d9f6ea; border-color: var(--green); box-shadow: var(--shadow); } .sq-c.ng { background: #ffe5e2; border-color: var(--red); box-shadow: var(--shadow); }
.sq-exp { margin-top: 14px; background: #fff8d6; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.sq-exp p { margin: 0 0 6px; } .sq-a b { color: var(--red); font-size: 18px; } .sq-ja { color: var(--sub); font-size: 14px; }
.sq-exp a { font-weight: 900; color: var(--ink); }
.sp-nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 16px; }
.sp-nav .btn { padding: 10px 18px; }
.sp-dots { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 14px; }
.sp-dots i { width: 10px; height: 10px; border-radius: 3px; background: var(--paper2); border: 1px solid var(--line); }
.sp-dots i.ok { background: var(--green); border-color: var(--green); } .sp-dots i.ng { background: var(--red); border-color: var(--red); } .sp-dots i.cur { outline: 2px solid var(--ink); outline-offset: 1px; }
.sp-res { text-align: center; padding: 10px 0; }
.sp-res b { display: block; font-family: var(--serif); font-weight: 800; font-size: 64px; line-height: 1; color: var(--ink); }
.sp-res p { margin: 6px 0 14px; font-weight: 900; }

/* ===== 検索・マイページ ===== */
#searchApp .sbox { max-width: none; margin-bottom: 10px; }
.my-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.my-stats div { background: var(--card); border: var(--bd); border-radius: 12px; padding: 10px; text-align: center; box-shadow: var(--shadow); }
.my-stats b { display: block; font-family: var(--serif); font-weight: 800; font-size: 28px; color: var(--ink); }
.tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.tabs button { flex: 1; border: var(--bd); background: var(--card); color: var(--ink); border-radius: 999px; padding: 8px; font-weight: 900; box-shadow: var(--shadow); }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--hl); }
.prose ul { padding-left: 1.3em; }
.nf { text-align: center; }

/* ===== フッター・上へ ===== */
.ft { background: var(--ink); color: #c9cde0; text-align: center; padding: 30px 16px 96px; margin-top: 56px; font-size: 13px; border-top: 3px solid var(--red); }
.ft img { width: 72px; height: 72px; background: var(--hl); border-radius: 50%; border: 3px solid #fff; }
.ft-name { color: #fff; font-family: var(--disp); font-size: 18px; margin: 8px 0; }
.ft-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.ft a { color: var(--hl); }
.totop { position: fixed; right: 14px; bottom: 16px; z-index: 36; width: 50px; height: 50px; border-radius: 50%; border: var(--bd); background: var(--hl); color: var(--ink); box-shadow: var(--shadow); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .2s; }
.totop.show { opacity: 1; pointer-events: auto; }
.totop svg { width: 26px; height: 26px; }

/* ===== 練習問題 ===== */
.q-setup, .q-play { background: var(--card); border: var(--bd); border-radius: 18px; padding: 18px; box-shadow: var(--shadow-lg); }
.set-h { font-family: var(--disp); font-weight: 900; color: var(--ink); margin: 16px 0 8px; }
.set-h:first-child { margin-top: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { border: var(--bd); background: #fff; border-radius: 999px; padding: 6px 14px; font-weight: 800; font-size: 14px; box-shadow: var(--shadow); }
.opt[aria-pressed="true"] { background: var(--ink); color: var(--hl); }
.set-go { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.qp-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--serif); font-weight: 800; color: var(--sub); }
.qp-bar { height: 10px; background: var(--paper2); border-radius: 99px; overflow: hidden; margin: 8px 0 14px; border: 1px solid var(--line); }
.qp-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--hl), var(--red)); transition: width .3s; }
.qp-kind { display: inline-block; font-size: 12px; font-weight: 900; background: var(--ink); color: var(--hl); padding: 1px 10px; border-radius: 4px; }
.qp-q { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--ink); margin: 12px 0 4px; line-height: 1.4; word-break: break-word; }
.qp-sub { color: var(--sub); margin: 0 0 12px; }
.qp-ch { display: grid; gap: 8px; }
.qp-c { text-align: left; border: var(--bd); background: #fff; border-radius: 12px; padding: 12px 14px; font-weight: 700; font-size: 16px; box-shadow: var(--shadow); }
.qp-c:hover { background: #fff8d6; }
.qp-c .k { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: var(--paper2); font-family: var(--serif); font-size: 13px; margin-right: 8px; }
.qp-c.ok { background: #d9f6ea; border-color: var(--green); box-shadow: var(--shadow); } .qp-c.ng { background: #ffe5e2; border-color: var(--red); box-shadow: var(--shadow); }
.qp-exp { margin-top: 12px; background: #fff8d6; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.qp-exp p { margin: 0 0 6px; }
.qp-next { margin-top: 12px; display: flex; justify-content: flex-end; }
.res-big { text-align: center; font-family: var(--serif); font-size: 64px; font-weight: 800; color: var(--ink); margin: 0; }
.res-msg { text-align: center; font-weight: 900; }

/* XP の浮き上がり・レベルアップ */
.xp-pop { position: fixed; z-index: 98; pointer-events: none; font-family: var(--serif); font-weight: 800; font-size: 18px; color: var(--ink); background: var(--hl); border: 1px solid var(--line); border-radius: 999px; padding: 0 10px; box-shadow: var(--shadow); animation: xpup 1.1s cubic-bezier(.2, 1.4, .4, 1) forwards; white-space: nowrap; }
@keyframes xpup { 0% { transform: translate(-50%, 0) scale(.4); opacity: 0; } 25% { transform: translate(-50%, -18px) scale(1.1); opacity: 1; } 100% { transform: translate(-50%, -70px) scale(1); opacity: 0; } }
.lvup { position: fixed; inset: 0; z-index: 97; display: grid; place-items: center; pointer-events: none; }
.lvup div { font-family: var(--disp); font-size: clamp(44px, 12vw, 96px); color: var(--hl); -webkit-text-stroke: 3px var(--ink); text-shadow: 6px 6px 0 var(--red); animation: lvup 2s cubic-bezier(.2, 1.6, .4, 1) forwards; text-align: center; line-height: 1.1; }
.lvup small { display: block; font-size: .32em; -webkit-text-stroke: 1.5px var(--ink); margin-top: 8px; }
@keyframes lvup { 0% { transform: scale(0) rotate(-20deg); opacity: 0; } 20% { transform: scale(1.1) rotate(-4deg); opacity: 1; } 80% { transform: scale(1) rotate(-4deg); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }

@media print { .hd, .ft, .totop, .crumbs, .tools, .cta-row, .pager, .readbar, .lv, .rs { display: none !important; } body { background: #fff; } .e-card, .e-sec, .rows { box-shadow: none; } }
@media (max-width: 480px) { .p-card { flex-direction: column; } .lead { align-items: flex-start; } .owl-m { width: 64px; height: 64px; } .e-card { padding-left: 48px; } .e-card::before { left: 15px; } }

/* ===== モーション ===== */
@media (prefers-reduced-motion: no-preference) {
  .mo .mo-wait { opacity: 0; transform: translateY(28px) scale(.97); }
  .mo .mo-in { opacity: 1; transform: none; transition: opacity .6s ease, transform .75s cubic-bezier(.2, 1.35, .4, 1); }
  .mo .rows li.mo-wait { transform: translateX(-18px); }
  .mo .h2.mo-wait { opacity: 0; transform: translateX(-24px); }
  .mo .h2.mo-wait::after { transform: skewX(-12deg) scaleX(0); }
  .h2::after { transition: transform .7s cubic-bezier(.2, 1, .3, 1) .25s; }
  .mo .entr a.mo-wait { transform: translateY(40px) rotate(-3deg) scale(.9); }
  .mo .tile.mo-in, .mo .card.mo-in, .mo .entr a.mo-in, .mo .game.mo-in { transition: opacity .6s ease, transform .75s cubic-bezier(.2, 1.5, .4, 1), box-shadow .18s; }
  .mo-tilt { transition: transform .08s linear !important; }
  .mo-tilt::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(circle at var(--gx) var(--gy), rgba(255, 255, 255, .4), transparent 55%); pointer-events: none; z-index: 3; mix-blend-mode: soft-light; }
  .owl-m, .card-owl { transition: transform .3s cubic-bezier(.2, 1.8, .4, 1); }
  .card:hover .card-owl { transform: rotate(-10deg) scale(1.15); }
  .lead .owl-m { animation: owlfloat 3.2s ease-in-out infinite; }
  @keyframes owlfloat { 50% { transform: translateY(-6px) rotate(3deg); } }
  .e-owl .owl-s { animation: owltilt 2.6s ease-in-out infinite; transform-origin: 50% 90%; }
  @keyframes owltilt { 25% { transform: rotate(-8deg); } 75% { transform: rotate(8deg); } }
  .hero-art img { animation: kenburns 26s ease-in-out infinite alternate; }
  @keyframes kenburns { to { transform: scale(1.15) translate(-1.5%, -1%); } }
  .hero-float { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
  .hero-float span { position: absolute; bottom: -40px; font-family: var(--serif); font-style: italic; font-weight: 700; color: #fff; white-space: nowrap; animation: rise linear infinite; text-shadow: 0 2px 8px rgba(0, 0, 0, .5); }
  @keyframes rise { from { transform: translateY(0) rotate(-4deg); } to { transform: translateY(-800px) rotate(6deg); } }
  .hero-h1 .ch { display: inline-block; animation: chin .8s cubic-bezier(.2, 1.7, .4, 1) both; }
  @keyframes chin { from { opacity: 0; transform: translateY(-70px) rotate(-18deg) scale(.3); filter: blur(6px); } }
  .hero-kicker { animation: kick .8s cubic-bezier(.2, 1.8, .4, 1) .1s both; }
  @keyframes kick { from { transform: scale(0) rotate(-14deg); } }
  .hero-big, .hero-s, .hero-sub { animation: slideup .8s cubic-bezier(.2, 1.2, .4, 1) both; }
  .hero-sub { animation-delay: .7s; } .hero-big { animation-delay: .85s; } .hero-s { animation-delay: 1s; }
  @keyframes slideup { from { opacity: 0; transform: translateY(24px); } }
  .e-en .ch { display: inline-block; animation: drop .6s cubic-bezier(.2, 1.7, .4, 1) both; }
  @keyframes drop { from { opacity: 0; transform: translateY(-40px) scale(1.4); } }
  .e-card { animation: cardin .8s cubic-bezier(.2, 1.4, .4, 1); }
  @keyframes cardin { from { transform: rotate(-3deg) translateY(20px) scale(.94); opacity: 0; } }
  .ring { animation: ring 1.2s cubic-bezier(.2, 1.8, .4, 1) .3s both; }
  @keyframes ring { from { transform: rotate(-70deg); } }
  .e-ex mark { background-size: 0 100%; background-repeat: no-repeat; animation: hl 1s ease-out .9s forwards; }
  @keyframes hl { to { background-size: 100% 100%; } }
  .rk-S { animation: pulseS 2.2s ease-in-out infinite; }
  @keyframes pulseS { 50% { transform: rotate(4deg) scale(1.08); } }
  .rows a { transition: background .2s, padding-left .2s; }
  .rows a:hover { padding-left: 22px; }
  .rows a:hover .r-en { color: var(--red); }
  .me-lv { animation: lvglow 2.6s ease-in-out infinite; }
  @keyframes lvglow { 50% { box-shadow: 0 0 0 3px var(--ink), 0 0 40px rgba(255, 226, 74, .8); } }
  .fc:not(.flip):hover { transform: rotateY(-8deg) rotateX(4deg); }
  .feature-art img { transition: transform .8s cubic-bezier(.2, 1, .3, 1); }
  .feature:hover .feature-art img { transform: scale(1.06); }
}
.rip { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .5); transform: scale(0); animation: rip .6s ease-out forwards; pointer-events: none; mix-blend-mode: overlay; }
@keyframes rip { to { transform: scale(1); opacity: 0; } }
.cf { position: fixed; z-index: 99; pointer-events: none; border-radius: 2px; animation: cf 1.25s cubic-bezier(.2, .7, .4, 1) forwards; }
@keyframes cf { to { transform: translate(var(--dx), calc(var(--dy) + 340px)) rotate(var(--r)); opacity: 0; } }
.mo-pop { animation: mopop .45s cubic-bezier(.2, 2, .4, 1); }
@keyframes mopop { 40% { transform: scale(1.12); } }
.shake { animation: shake .4s; }
@keyframes shake { 20% { transform: translateX(-7px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(4px); } }
.readbar { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 50; background: linear-gradient(90deg, var(--hl), var(--red)); transform-origin: 0 50%; transform: scaleX(0); }

/* ===== コース ===== */
.course { padding-top: 12px; }
.course-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.course-top em { font-size: 11.5px; font-style: normal; font-family: var(--ja); font-weight: 900; color: #fff; background: var(--c); padding: 1px 8px; border-radius: 4px; border: 1px solid var(--line); }
.courses .card { min-height: 170px; }
.course-hd { position: relative; background: var(--c); color: #fff; border: var(--bd); border-radius: 20px; padding: 22px 20px; box-shadow: var(--shadow-lg); overflow: hidden; margin-top: 10px; }
.course-hd .h1 { color: #fff; margin: 0 0 8px; padding-right: 110px; text-shadow: 2px 2px 0 rgba(0, 0, 0, .25); }
.course-hd .h1 small { color: #fff; opacity: .85; }
.course-hd p { margin: 0 0 6px; padding-right: 110px; font-weight: 700; position: relative; z-index: 1; }
.course-who { font-size: 13px; opacity: .9; }
.course-owl { position: absolute; right: 6px; bottom: -6px; width: 130px; }
.route { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 0; position: relative; }
.route li { position: relative; padding-left: 44px; padding-bottom: 16px; }
.route li::before { content: ""; position: absolute; left: 15px; top: 34px; bottom: -4px; width: 4px; background: repeating-linear-gradient(var(--ink) 0 8px, transparent 8px 14px); }
.route li:last-child::before { display: none; }
.route li::after { content: ""; position: absolute; left: 4px; top: 14px; width: 26px; height: 26px; border-radius: 50%; background: var(--hl); border: var(--bd); }
.route a { display: block; background: var(--card); border: var(--bd); border-radius: var(--rad); box-shadow: var(--hard); padding: 12px 16px; text-decoration: none; color: var(--ink); transition: transform .15s; }
.route a:hover { transform: translateY(-2px); }
.route-no { display: inline-block; font-family: var(--serif); font-style: italic; font-weight: 800; color: var(--red); font-size: 14px; }
.route b { display: block; font-family: var(--disp); font-weight: 900; font-size: 18px; line-height: 1.4; }
.route a > span:last-child { display: block; font-size: 14px; color: var(--sub); margin-top: 2px; }

/* ===== 入試ポイントの強化 ===== */
.e-usage { margin: 10px 0 0; padding: 10px 12px; background: #fff; border: 1.5px dashed var(--red); border-radius: 10px; font-size: 15px; }
.vs { display: grid; gap: 12px; }
.vs-row { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; background: #fff; }
.vs-pair { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 6px; }
.vs-pair b { font-family: var(--serif); font-size: 18px; background: var(--hl); padding: 0 8px; border-radius: 4px; }
.vs-pair i { font-family: var(--disp); font-style: normal; color: var(--red); font-size: 15px; }
.vs-row > p:not(.vs-pair) { margin: 0; }
.vs-ex { margin-top: 6px !important; font-family: var(--serif); font-style: italic; color: var(--sub); }
.e-memo { background: #eef6ff; box-shadow: var(--shadow-lg); }
.e-memo p { margin: 0; font-weight: 700; }
.q-exp { margin-top: 12px; background: #fff8d6; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.q-exp p { margin: 0; }
.e-quiz .q-text { font-size: 18px; line-height: 1.6; }

/* ===== ホームの上（大きな見出し・コラージュ・更新情報） ===== */
.hero2 { position: relative; overflow: hidden; background: radial-gradient(circle at 80% 10%, #fff6d0 0, transparent 50%), var(--paper) var(--grain); border-bottom: 1px solid var(--line); }
.hero2-bg { position: absolute; inset: 0 0 0 calc(max(0px, (100vw - 1120px) / 2) + 660px); pointer-events: none; }
.hero2-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--paper) 0%, rgba(255, 250, 243, .55) 22%, rgba(255, 250, 243, 0) 50%); }
.cl { position: absolute; width: 46%; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); }
.cl1 { left: 4%; top: 6%; transform: rotate(-6deg); width: 40%; }
.cl2 { left: 46%; top: 2%; transform: rotate(5deg); }
.cl3 { left: 22%; top: 36%; transform: rotate(3deg); width: 44%; z-index: 1; }
.cl4 { left: 64%; top: 42%; transform: rotate(-4deg); width: 38%; }
.cl5 { left: 2%; top: 66%; transform: rotate(-3deg); width: 34%; }
.cl6 { left: 44%; top: 74%; transform: rotate(6deg); width: 36%; }
.cl7 { left: 80%; top: 14%; transform: rotate(8deg); width: 30%; }
.hero2-in { position: relative; z-index: 2; max-width: 1120px; margin: 0 auto; padding: 34px 16px 34px; }
.kick { display: flex; align-items: center; gap: 3px; margin: 0 0 8px; font-family: var(--ja); font-weight: 900; font-size: 12px; letter-spacing: .18em; color: var(--red); }
.kick i { display: inline-block; width: 4px; background: var(--red); border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.kick i:nth-child(1) { height: 8px; } .kick i:nth-child(2) { height: 13px; animation-delay: .2s; } .kick i:nth-child(3) { height: 10px; animation-delay: .4s; margin-right: 8px; }
@keyframes eq { 50% { transform: scaleY(.4); } }
.hero2-seo { margin: 0 0 6px; font-size: 13px; font-weight: 700; color: var(--sub); max-width: 640px; }
.hero2-h1 { font-family: var(--disp); font-weight: 900; font-size: clamp(30px, 8.4vw, 74px); line-height: 1.08; margin: 6px 0 18px; color: var(--ink); letter-spacing: -.01em; }
.hero2-name { display: block; font-family: var(--ja); font-weight: 900; font-size: max(14px, .2em); letter-spacing: .12em; color: var(--ink); margin-bottom: .35em; }
.hero2-h1 em { font-style: normal; color: var(--red); }
.hero2-p { max-width: 600px; margin: 0 0 20px; font-size: 15.5px; font-weight: 700; color: #353a52; }
.hero2-btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 16px; }
.guide-btn { display: inline-flex; flex-direction: column; border: var(--bd); background: #fff; border-radius: 14px; padding: 8px 18px 8px 44px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); position: relative; line-height: 1.3; }
.guide-btn::before { content: ""; position: absolute; left: 12px; top: 50%; width: 22px; height: 22px; margin-top: -11px; background: linear-gradient(90deg, var(--green) 50%, var(--hl) 50%); border-radius: 4px 4px 11px 11px; border: 1px solid var(--line); }
.guide-btn b { font-weight: 900; font-size: 15px; }
.guide-btn small { font-size: 11.5px; color: var(--sub); font-weight: 700; }
.hero2 .hero-s { margin-bottom: 26px; }
@media (max-width: 980px) {
  .hero2-bg { inset: 0; opacity: .16; }
}
@media (max-width: 760px) {
  .hero2-bg::after { background: linear-gradient(180deg, rgba(255, 250, 243, .2), var(--paper) 85%); }
}
.nums { display: grid; grid-template-columns: repeat(6, 1fr); max-width: 1120px; width: calc(100% - 32px); margin: 28px auto 32px; color: var(--ink); }
@media (max-width: 760px) { .nums { grid-template-columns: repeat(3, 1fr); row-gap: 18px; } .nums div:nth-child(3n) { border-right: 0; } }
.nums div { text-align: center; padding: 6px 6px; border-right: 1px solid var(--line); }
.nums div:last-child { border-right: 0; }
.nums b { display: block; font-family: var(--disp); font-weight: 900; font-size: clamp(24px, 3.6vw, 34px); line-height: 1.1; color: var(--ink); }
.nums span { display: block; font-size: 13px; font-weight: 700; color: var(--ink2); margin-top: 6px; }
.nums span i { display: block; font-style: normal; font-size: 10.5px; letter-spacing: .1em; color: var(--sub); }
@media (prefers-reduced-motion: no-preference) {
  .cl { animation: clf 7s ease-in-out infinite; }
  .cl2 { animation-delay: -2s; } .cl3 { animation-delay: -4s; } .cl4 { animation-delay: -1s; } .cl5 { animation-delay: -3s; } .cl6 { animation-delay: -5s; } .cl7 { animation-delay: -6s; }
  @keyframes clf { 50% { translate: 0 -12px; } }
  .hero2-h1 .ch { display: inline-block; animation: chin .8s cubic-bezier(.2, 1.7, .4, 1) both; }
}

/* 棚：横スクロールにしない。小さめのカードを下へ並べ、多いときは「続きを見る」 */
.shelf { display: grid !important; grid-auto-flow: row !important; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)) !important; gap: 14px; overflow: visible !important; padding: 0 !important; margin: 0 !important; }
@media (max-width: 520px) { .shelf { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; } }
.games.shelf { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important; }
@media (max-width: 520px) { .games.shelf { grid-template-columns: repeat(2, 1fr) !important; } .games.shelf .game span { display: none; } .games.shelf .game b { font-size: 15px; } }
.more-btn { display: flex; justify-content: center; margin: 16px 0 0; }
.more-btn button { border: var(--bd); background: var(--card); border-radius: 999px; padding: 10px 26px; font-weight: 900; box-shadow: var(--shadow); }
.more-btn button:hover { background: var(--hl); }
[data-more] > .is-more { display: none !important; }
.types { flex-wrap: wrap; overflow: visible; }

/* 全部のコーナー・よくある質問・案内のフクロウ */
.lessons { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
@media (max-width: 520px) { .lessons { grid-template-columns: 1fr 1fr; gap: 10px; } }
.lessons a { display: block; background: var(--card); border: var(--bd); border-radius: 12px; padding: 10px 14px 12px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .15s, background .15s; }
.lessons a:hover { transform: translateY(-2px); background: #fff8d6; }
.lessons small { display: block; font-size: 11px; font-weight: 900; letter-spacing: .12em; color: var(--red); }
.lessons b { display: block; font-family: var(--disp); font-weight: 900; font-size: 16px; line-height: 1.4; margin: 2px 0; }
.lessons span { display: block; font-size: 12.5px; color: var(--sub); font-weight: 700; line-height: 1.5; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border: var(--bd); border-radius: 12px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; padding: 12px 16px; font-weight: 900; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: var(--disp); color: var(--red); margin-right: 4px; }
.faq summary::after { content: "＋"; color: var(--red); margin-left: auto; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 0; padding: 0 16px 14px; }
.guide-owl { position: fixed; left: 12px; bottom: 14px; z-index: 34; display: flex; align-items: flex-end; gap: 6px; text-decoration: none; color: var(--ink); }
.guide-owl img { width: 58px; height: 58px; background: var(--hl); border-radius: 50%; border: 1px solid var(--line); box-shadow: var(--shadow); }
.guide-owl span { background: #fff; border: 1px solid var(--line); border-radius: 12px 12px 12px 2px; padding: 6px 10px; font-size: 12px; font-weight: 900; line-height: 1.4; box-shadow: var(--shadow); margin-bottom: 30px; }
.guide-owl.hide { display: none; }
.guide-owl span { transition: opacity .3s, transform .3s; }
.guide-owl.mini span { opacity: 0; transform: translateY(8px); pointer-events: none; }
.guide-owl.mini img { width: 46px; height: 46px; }
@media (prefers-reduced-motion: no-preference) { .guide-owl img { animation: owlfloat 3s ease-in-out infinite; } .guide-owl span { animation: slideup .6s ease-out 2s both; } }

/* 大学別：会話文・形式の一覧 */
.dl-title { font-family: var(--serif); font-size: 22px; margin: 6px 0 2px; }
.dl-scene { margin: 0 0 12px; color: var(--sub); font-size: 14px; }
.dl-lines { background: #fbf7ec; border: 1.5px dashed var(--line); border-radius: 12px; padding: 12px 14px; display: grid; gap: 6px; }
.dl-lines p { margin: 0; display: grid; grid-template-columns: 4.5em 1fr; gap: 8px; font-family: var(--serif); font-size: 16.5px; line-height: 1.65; }
.dl-lines b { font-family: var(--ja); font-weight: 900; font-size: 13px; color: var(--red); padding-top: 3px; }
.dl-qs { display: grid; gap: 14px; margin-top: 16px; }
.dl-qh { margin: 0; font-weight: 900; }
.dl-ja { margin-top: 16px; border: var(--bd); border-radius: 12px; background: #fff; }
.dl-ja summary { cursor: pointer; padding: 10px 14px; font-weight: 900; }
.dl-ja p, .dl-ja ul { margin: 0; padding: 0 16px 12px; }
.type-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.type-list li { display: flex; justify-content: space-between; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-weight: 700; font-size: 14px; }
.type-list b { font-family: var(--serif); color: var(--red); white-space: nowrap; }
.sp-nav .btn[disabled] { opacity: .35; pointer-events: none; }

/* ===== 長文で覚える英熟語 ===== */
.rd-hero { display: grid; grid-template-columns: minmax(0, 260px) 1fr; gap: 26px; align-items: center; background: var(--card); border: var(--bd); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 24px; margin: 12px 0 8px; }
.rd-hero-img, .rd-hero-owl { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); background: var(--hl); }
.rd-h1 { font-family: var(--disp); font-weight: 900; font-size: clamp(34px, 6vw, 60px); line-height: 1.1; margin: 0 0 12px; color: var(--ink); }
.rd-h1 em { font-style: normal; color: var(--red); }
.rd-hero p { font-weight: 700; color: var(--ink2); }
.rd-hero .s-nums { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
.rd-hero .s-nums div { background: var(--ink); color: #fff; border-radius: 12px; padding: 6px 14px; text-align: center; }
.rd-hero .s-nums b { display: block; font-family: var(--disp); font-weight: 900; font-size: 24px; color: var(--hl); line-height: 1.2; }
.rd-hero .s-nums span { font-size: 11px; font-weight: 900; color: #fff; }
@media (max-width: 680px) { .rd-hero { grid-template-columns: 1fr; } .rd-hero-img, .rd-hero-owl { max-width: 200px; } }
.rd-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.rd-filter button { font: inherit; font-size: 13px; font-weight: 900; padding: 5px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.rd-filter button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.rd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 14px; margin: 14px 0 30px; }
.rd-card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px 14px 12px; background: var(--card); border: var(--bd); border-radius: 14px; box-shadow: var(--hard); text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.rd-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.rd-card[hidden] { display: none; }
.rd-no { font-family: var(--disp); font-size: 26px; line-height: 1; color: var(--red); }
.rd-meta { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.rd-meta em { font-style: normal; font-weight: 900; background: var(--hl); color: var(--ink); border-radius: 4px; padding: 0 8px; }
.rd-meta i { font-style: normal; color: #b45309; letter-spacing: .05em; }
.rd-card b { font-family: var(--serif); font-size: 18px; line-height: 1.25; }
.rd-tj { font-size: 13.5px; font-weight: 900; }
.rd-tp { font-size: 12.5px; color: var(--sub); }
.rd-card small { margin-top: auto; padding-top: 6px; border-top: 1px dashed var(--line); font-size: 12px; font-weight: 700; color: var(--sub); }

.rd-hd { position: relative; background: var(--ink); color: #fff; border: var(--bd); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 22px 22px 18px; margin: 10px 0 14px; }
.rd-hd-no { display: inline-block; font-family: var(--disp); font-size: 15px; background: var(--hl); color: var(--ink); border-radius: 6px; padding: 1px 10px; }
.rd-hd-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; margin: 10px 0 4px; font-size: 13px; font-weight: 700; color: #e6e9f5; }
.rd-hd-meta em { font-style: normal; font-weight: 900; color: var(--ink); background: #fff; border-radius: 4px; padding: 0 8px; }
.rd-hd-meta i { font-style: normal; color: var(--hl); }
.rd-hd h1 { font-family: var(--serif); font-size: clamp(28px, 5vw, 44px); line-height: 1.15; margin: 6px 0 4px; color: #fff; }
.rd-hd-ja { margin: 0 0 12px; font-weight: 900; color: #fff; }
.rd-hd-nums { display: flex; flex-wrap: wrap; gap: 8px; }
.rd-hd-nums span { font-size: 13px; font-weight: 700; color: #fff; background: rgba(255, 255, 255, .14); border-radius: 8px; padding: 3px 10px; }
.rd-hd-nums b { font-family: var(--disp); font-weight: 900; font-size: 18px; color: var(--hl); margin-right: 2px; }
.rd-bar { position: sticky; top: 62px; z-index: 20; display: flex; flex-wrap: wrap; gap: 6px; padding: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); margin-bottom: 14px; }
.rd-bar button { font: inherit; font-size: 13px; font-weight: 900; padding: 6px 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.rd-bar button[aria-pressed="true"], .rd-bar button.on { background: var(--red); color: #fff; }
.rd-bar .rd-print { font-size: 13px; font-weight: 900; padding: 6px 12px; border-radius: 10px; border: 1px solid var(--ink); background: var(--ink); color: #fff; text-decoration: none; }
.rd-bar .rd-print:hover { opacity: .88; }
.rd-body { background: var(--card); border: var(--bd); border-radius: var(--rad); box-shadow: var(--hard); padding: 8px 22px; }
.rd-p { padding: 14px 0; }
.rd-p + .rd-p { border-top: 1px dashed var(--line); }
.rd-en { font-family: var(--serif); font-size: 18.5px; line-height: 1.9; margin: 0; color: var(--ink); }
.rd-pn { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 8px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--disp); font-size: 12px; vertical-align: 3px; }
.rd-id { background: linear-gradient(transparent 55%, var(--hl) 55%); color: inherit; font-weight: 700; padding: 0 1px; }
.rd-id::after { content: attr(data-n); font-family: var(--ja); font-size: 10px; font-weight: 900; color: var(--red); vertical-align: super; margin-left: 1px; }
.hide-id .rd-id { color: transparent; background: #ffd6d2; border-radius: 4px; cursor: pointer; }
.hide-id .rd-id.peek { color: var(--ink); background: linear-gradient(transparent 55%, var(--hl) 55%); }
.rd-ja { display: none; margin: 10px 0 0; padding: 10px 14px; background: var(--paper2); border-radius: 10px; font-size: 15px; line-height: 1.85; color: var(--ink); }
.rd-jid { color: var(--rink); }
.rd-sl { display: none; }
[data-view="ja"] .rd-ja { display: block; }
[data-view="sl"] .rd-en { display: none; }
[data-view="sl"] .rd-sl { display: grid; }
.rd-sl p { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 14px; margin: 0; padding: 7px 4px; border-bottom: 1px dotted var(--line); }
.rd-sl p span:first-child { font-family: var(--serif); font-size: 17px; color: var(--ink); }
.rd-sl p span:first-child::after { content: " /"; color: var(--red); font-weight: 700; }
.rd-sl p span:last-child { font-size: 14px; color: var(--ink2); font-weight: 700; }
@media (max-width: 600px) { .rd-sl p { grid-template-columns: 1fr; gap: 2px; } .rd-body { padding: 4px 14px; } .rd-en { font-size: 17px; } .rd-bar { top: 56px; } }
.rd-timer { margin: 10px 0 0; padding: 10px 14px; background: var(--hl); border: 1px solid var(--line); border-radius: 12px; font-weight: 700; color: var(--ink); }
.rd-gloss { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 12px 0 0; padding: 10px 14px; border: 1.5px dashed var(--line); border-radius: 12px; font-size: 13.5px; color: var(--ink); background: #fff; }
.rd-gloss > b { font-weight: 900; }
.rd-gloss i { font-family: var(--serif); font-style: italic; font-weight: 700; }
.rd-ids { list-style: none; counter-reset: rid; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 12px; }
.rd-ids li { counter-increment: rid; position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 12px 46px; box-shadow: var(--shadow); }
.rd-ids li::before { content: counter(rid); position: absolute; left: 10px; top: 12px; width: 26px; height: 26px; display: grid; place-items: center; background: var(--hl); border: 1px solid var(--line); border-radius: 50%; font-family: var(--disp); font-size: 12px; color: var(--ink); }
.rd-ids-h { margin: 0 0 4px; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.rd-ids-h a, .rd-ids-h > span[lang] { font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--ink); }
.rd-ids-h .r-ja { font-size: 14.5px; }
.rd-ids-n { margin: 0 0 6px; font-size: 13.5px; color: var(--ink2); line-height: 1.6; }
.rd-ids-ex { margin: 0; font-family: var(--serif); font-size: 15px; color: var(--ink); }
.rd-ids-exj { margin: 0; font-size: 13px; color: var(--sub); }
.rd-charts { display: grid; gap: 16px; }
.sx { margin: 0; background: var(--card); border: var(--bd); border-radius: var(--rad); box-shadow: var(--hard); padding: 14px 16px; }
.sx figcaption { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 14px; color: var(--ink); margin-bottom: 12px; }
.sx figcaption > b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--ink); color: #fff; font-family: var(--disp); font-weight: 900; }
.sx-play { margin-left: auto; font: inherit; font-size: 12px; font-weight: 900; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 3px 12px; cursor: pointer; }
.sx-row { display: flex; flex-wrap: wrap; gap: 14px 8px; align-items: flex-start; }
.sx-c { position: relative; display: inline-flex; flex-direction: column; align-items: flex-start; }
.sx-c > span { font-family: var(--serif); font-size: 16.5px; line-height: 1.5; color: var(--ink); padding: 4px 8px 5px; border-bottom: 4px solid var(--rc); background: color-mix(in srgb, var(--rc) 10%, #fff); border-radius: 6px 6px 0 0; }
.sx-c > i { font-style: normal; font-family: var(--disp); font-size: 13px; line-height: 1; color: #fff; background: var(--rc); border-radius: 5px; padding: 3px 7px; margin-bottom: 4px; border: 1px solid var(--line); }
.sx-c > i sup { font-size: 10px; }
.sx-S { --rc: #d6261c; } .sx-V { --rc: #1f4fd1; } .sx-O { --rc: #0b7d55; } .sx-C { --rc: #7a32e0; } .sx-M { --rc: #5d6275; }
.sx-ja { margin: 12px 0 6px; font-weight: 900; font-size: 15px; color: var(--ink); }
.sx-pt { margin: 0; font-size: 14px; line-height: 1.75; color: var(--ink2); background: var(--paper2); border-radius: 10px; padding: 10px 12px; }
.sx-key { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--sub); margin: 10px 0 0; }
.sx-key .sx-c > i { margin: 0; }
@media (prefers-reduced-motion: no-preference) {
  .sx.go .sx-c { animation: sxin .55s cubic-bezier(.2, 1.4, .4, 1) var(--d, 0s) both; }
  .sx.go .sx-c > span { animation: sxline .7s ease-out calc(var(--d, 0s) + .2s) both; }
  @keyframes sxin { from { opacity: 0; transform: translateY(14px) scale(.9); } to { opacity: 1; transform: none; } }
  @keyframes sxline { from { border-bottom-color: transparent; } to { border-bottom-color: var(--rc); } }
}
.rd-bg { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; box-shadow: var(--shadow); }
.rd-bg-owl { flex: none; width: 70px; height: 70px; }
.rd-bg p { margin: 0; line-height: 1.85; color: var(--ink); }
.rd-sum { background: var(--hl); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-weight: 700; line-height: 1.8; color: var(--ink); }
.rq { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin-bottom: 12px; box-shadow: var(--shadow); }
.rq-q { margin: 0 0 10px; font-weight: 900; color: var(--ink); }
.rq-q b { display: inline-block; background: var(--ink); color: #fff; border-radius: 6px; padding: 0 8px; margin-right: 8px; }
.rq-ch { display: grid; gap: 8px; }
.rq-c { display: flex; gap: 10px; align-items: flex-start; text-align: left; font: inherit; font-size: 14.5px; font-weight: 700; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; cursor: pointer; }
.rq-c b { flex: none; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--paper2); }
.rq-c.ok { background: #d9f5e6; border-color: #0b7d55; }
.rq-c.ng { background: #ffe1de; border-color: var(--red); }
.rq-exp { margin-top: 10px; padding: 10px 14px; background: var(--paper2); border-radius: 10px; font-size: 14px; line-height: 1.8; color: var(--ink); }
.rq-a b { color: #0b7d55; font-size: 18px; }
.rd-drill { background: var(--card); border: var(--bd); border-radius: var(--rad); box-shadow: var(--hard); padding: 16px; margin-bottom: 20px; }
.dr-s { font-family: var(--serif); font-size: 18px; line-height: 1.8; color: var(--ink); }
@media print {
  .rd-bar, .sx-play, .rd-drill, #rdQs, .no-print, .guide-owl { display: none !important; }
  .rd-ja { display: block !important; }
  .rd-body, .sx, .rd-ids li, .rd-bg { box-shadow: none; }
}
/* 印刷・冊子用 */
.pr-guide { background: var(--card); border: var(--bd); border-radius: var(--rad); padding: 16px; margin: 10px 0 20px; }
.pr-art { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px; margin-bottom: 18px; color: var(--ink); }
.pr-art h2 { font-size: 18px; margin: 0 0 10px; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.pr-art h2 span { font-family: var(--disp); font-weight: 900; color: var(--red); }
.pr-art h2 i { font-family: var(--serif); font-style: normal; }
.pr-art h2 small { display: block; font-size: 12px; color: var(--sub); font-weight: 700; }
.pr-en { font-family: var(--serif); font-size: 15px; line-height: 1.75; margin: 0 0 8px; }
.pr-ids { columns: 2; font-size: 12.5px; margin: 10px 0; background: var(--paper2); padding: 8px 8px 8px 28px; border-radius: 8px; }
.pr-ja p, .pr-qs p { font-size: 13px; line-height: 1.7; margin: 0 0 6px; }
.pr-ans { font-weight: 900; }
@media print {
  @page { size: A5; margin: 11mm 10mm; }
  .pr-art { border: 0; padding: 0; margin: 0; break-before: page; }
  .pr-ja, .pr-qs { break-before: page; }
  .pr-en { font-size: 10.5pt; } .pr-ids, .pr-ja p, .pr-qs p { font-size: 8.5pt; }
}

[hidden] { display: none !important; }
.ul { text-decoration: underline 2.5px var(--ink); text-underline-offset: 4px; font-weight: 700; }
.ul-n { display: inline-block; font-family: var(--ja); font-size: 11px; font-weight: 900; color: #fff; background: var(--ink); border-radius: 4px; padding: 0 5px; margin-right: 3px; vertical-align: 4px; line-height: 1.5; }

/* ===== 構文を解剖する（1 ステップずつ） ===== */
.sx2-lead { margin: -4px 0 14px; font-weight: 700; color: var(--ink2); }
.sx2s { display: grid; gap: 22px; }
.sx2 { --ease: cubic-bezier(.22, .72, .18, 1); margin: 0; background: var(--card); border: var(--bd); border-radius: 18px; box-shadow: var(--hard); padding: 18px 20px 16px; }
.r-S { --rc: #d23a2a; --tint: #ffd5cc; } .r-V { --rc: #1f55d6; --tint: #d3e0ff; } .r-O { --rc: #08805a; --tint: #c6efdc; } .r-C { --rc: #7b3ae6; --tint: #e6d8ff; } .r-M { --rc: #687086; --tint: #e3e5ec; }
.sx2-hd { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 14px; }
.sx2-hd b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--ink); color: #fff; font-family: var(--disp); font-weight: 900; }
.sx2-hd span { font-weight: 900; color: var(--ink); }
.sx2-hd em { margin-left: auto; font-style: normal; font-size: 12.5px; font-weight: 900; color: var(--ink); background: var(--hl); border: 1px solid var(--line); border-radius: 999px; padding: 2px 12px; }
.sx2-sent { margin: 0; padding: 14px 6px 4px; line-height: 1; }
.ck { display: inline-flex; flex-direction: column; align-items: flex-start; vertical-align: top; max-width: 100%; margin: 0 1px 18px; transition: opacity .5s var(--ease), filter .5s var(--ease); }
.ck-tag { display: flex; align-items: center; gap: 5px; height: 22px; margin: 0 0 3px 2px; font-style: normal; white-space: nowrap; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.ck-tag b { font-family: var(--disp); font-weight: 900; font-size: 13px; line-height: 1; color: #fff; background: var(--rc); border-radius: 5px; padding: 4px 7px 3px; }
.ck-tag small { font-size: 11.5px; font-weight: 900; color: var(--rc); }
.ck.sub .ck-tag b { background: #fff; color: var(--rc); box-shadow: inset 0 0 0 1.5px var(--rc); }
.ck-t { position: relative; display: inline; font-family: var(--serif); font-size: 19.5px; line-height: 1.6; color: var(--ink); padding: 0 3px; background-image: linear-gradient(transparent 58%, var(--tint) 58%, var(--tint) 92%, transparent 92%); background-repeat: no-repeat; background-size: 100% 100%; transition: background-size .8s var(--ease), color .4s; }
.ck-t::after { content: ""; position: absolute; left: 1px; right: 1px; bottom: -7px; height: 7px; border: 2.5px solid var(--rc); border-top: 0; border-radius: 0 0 5px 5px; transform-origin: left center; transition: transform .7s .12s var(--ease), border-color .3s; }
.ck-w::before, .ck-w::after { font-weight: 700; color: var(--rc); opacity: 0; transition: opacity .4s; }
.ck-w::before { content: "( "; } .ck-w::after { content: " )"; }
/* JS あり：ステップごとに現れる */
.sx2.js .ck:not(.seen) .ck-tag { opacity: 0; transform: translateY(6px); }
.sx2.js .ck:not(.seen) .ck-t { background-size: 0% 100%; }
.sx2.js .ck:not(.seen) .ck-t::after { transform: scaleX(0); }
.sx2.js.stepping .ck:not(.focus) { opacity: .32; filter: saturate(.4); }
.sx2.js .ck.focus .ck-t { background-image: linear-gradient(transparent 50%, var(--tint) 50%, var(--tint) 96%, transparent 96%); }
.sx2.js .ck.focus .ck-tag b { box-shadow: 0 0 0 3px color-mix(in srgb, var(--rc) 25%, transparent); }
.ck.paren .ck-t { color: #7c8193; background-image: none; }
.ck.paren .ck-t::after { border-style: dashed; }
.ck.paren .ck-w::before, .ck.paren .ck-w::after { opacity: 1; }
/* 骨組み */
.sx2-core { display: none; margin: 6px 0 12px; padding: 12px 14px; background: var(--paper2); border-radius: 14px; border: 1px solid var(--line); }
.sx2-core > p { margin: 0 0 8px; font-size: 12.5px; font-weight: 900; color: var(--ink); letter-spacing: .08em; }
.sx2-core > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.core-t { display: inline-flex; flex-direction: column; gap: 3px; background: #fff; border: 2px solid var(--rc); border-radius: 10px; padding: 6px 12px 8px; max-width: 100%; }
.core-t b { font-family: var(--disp); font-weight: 900; font-size: 15px; color: var(--rc); line-height: 1; }
.core-t span { font-family: var(--serif); font-size: 17px; color: var(--ink); line-height: 1.4; }
.core-plus { font-weight: 900; color: var(--ink2); }
.sx2-ja { display: none; margin-top: 12px; }
.sx2-ja p { margin: 0 0 8px; line-height: 1.85; color: var(--ink); }
.sx2-ja b { display: inline-block; font-size: 12px; font-weight: 900; color: #fff; background: var(--ink); border-radius: 5px; padding: 1px 8px; margin-right: 8px; }
.sx2-jat { font-size: 16px; font-weight: 900; }
.sx2-pt { font-size: 14.5px; background: var(--paper2); border-radius: 12px; padding: 10px 14px; }
.sx2:not(.js) .sx2-core, .sx2:not(.js) .sx2-ja, .sx2.show-core .sx2-core, .sx2.show-ja .sx2-ja { display: block; }
.sx2.js .sx2-core, .sx2.js .sx2-ja { animation: sxfade .6s var(--ease) both; }
.sx2.show-core .core-t, .sx2.show-core .core-plus { animation: sxtile .55s var(--ease) both; animation-delay: calc(var(--i, 0) * .12s); }
@keyframes sxfade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes sxtile { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
/* 先生の吹き出し */
.sx2-say { display: none; align-items: flex-start; gap: 12px; margin: 4px 0 12px; }
.sx2.js .sx2-say { display: flex; }
.sx2-owl { flex: none; width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line); background: var(--hl) url("/eijukugo/assets/img/owl-teach.webp") center / 112% no-repeat; }
.sx2-say p { position: relative; flex: 1; margin: 0; min-height: 54px; background: #fff; border: 1px solid var(--line); border-radius: 4px 14px 14px 14px; padding: 10px 14px; font-size: 15px; line-height: 1.8; color: var(--ink); }
.sx2-say p b { font-weight: 900; }
.sx2-say p i { font-family: var(--serif); font-style: normal; font-weight: 700; background: var(--paper2); border-radius: 4px; padding: 0 4px; }
.sx2-say p.in { animation: sayin .45s var(--ease) both; }
@keyframes sayin { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
.t-S { color: #c0301f; } .t-V { color: #1f55d6; } .t-O { color: #08805a; } .t-C { color: #7b3ae6; } .t-M { color: #4f566b; }
.sx2-ctl { display: none; align-items: center; gap: 8px; flex-wrap: wrap; }
.sx2.js .sx2-ctl { display: flex; }
.sx2-b { font: inherit; font-size: 14px; font-weight: 900; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 7px 14px; cursor: pointer; box-shadow: var(--shadow); transition: transform .12s, box-shadow .12s; }
.sx2-b:active { transform: translateY(1px); box-shadow: none; }
.sx2-b:disabled { opacity: .35; pointer-events: none; }
.sx2-next { background: var(--red); color: #fff; }
.sx2-auto[aria-pressed="true"] { background: var(--ink); color: #fff; }
.sx2-dots { display: flex; gap: 6px; padding: 0 4px; }
.sx2-dots i { width: 10px; height: 10px; border-radius: 50%; background: #d9d5ca; cursor: pointer; transition: background .3s, transform .3s; }
.sx2-dots i.on { background: var(--ink); }
.sx2-dots i.cur { background: var(--red); transform: scale(1.3); }
@media (max-width: 600px) { .sx2 { padding: 14px 12px; } .ck-t { font-size: 17.5px; } .sx2-auto { display: none; } }
@media (prefers-reduced-motion: reduce) { .sx2 *, .sx2 *::after { transition: none !important; animation: none !important; } }
@media print { .sx2-say, .sx2-ctl { display: none !important; } .sx2 .sx2-core, .sx2 .sx2-ja { display: block !important; } .sx2 .ck { opacity: 1 !important; filter: none !important; } .sx2 .ck .ck-tag { opacity: 1 !important; transform: none !important; } .sx2 .ck .ck-t { background-size: 100% 100% !important; } .sx2 .ck .ck-t::after { transform: none !important; } }

/* ===== 特集：ことわざ BEST100 ===== */
.pv-hero { display: grid; grid-template-columns: 170px 1fr; gap: 24px; align-items: center; background: var(--ink); color: #fff; border: var(--bd); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 24px; margin: 12px 0 14px; }
.pv-owl { width: 100%; height: auto; border-radius: 50%; background: var(--hl); border: 3px solid #fff; }
.pv-h1 { font-family: var(--disp); font-weight: 900; font-size: clamp(32px, 5.6vw, 58px); line-height: 1.12; margin: 0 0 12px; color: #fff; }
.pv-h1 em { font-style: normal; color: var(--hl); }
.pv-hero p { color: #eef0f8; font-weight: 700; }
.pv-hero .kick { color: var(--hl); }
.pv-hero b { color: #fff; }
@media (max-width: 640px) { .pv-hero { grid-template-columns: 1fr; } .pv-owl { width: 110px; } }
.pv-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.pv-toc a { font-size: 13.5px; font-weight: 900; color: var(--ink); text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px; box-shadow: var(--shadow); }
.pv-sch { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.pv-s { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow); }
.pv-s h3 { margin: 0 0 8px; font-size: 17px; color: var(--ink); }
.pv-s p { margin: 0 0 6px; font-size: 14px; line-height: 1.75; color: var(--ink); }
.pv-s p b, .pv-lit b, .pv-org b, .pv-rel b, .pv-tip b { display: inline-block; font-size: 11.5px; font-weight: 900; color: #fff; background: var(--ink); border-radius: 4px; padding: 0 7px; margin-right: 7px; }
.pv-src { font-size: 12.5px !important; color: var(--sub) !important; }
.pv-howto { font-weight: 700; color: var(--ink2); margin: -4px 0 12px; }
.pv-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 14px; }
.pv { background: var(--card); border: var(--bd); border-radius: 16px; box-shadow: var(--hard); padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.pv-hd { display: flex; align-items: flex-start; gap: 12px; }
.pv-rk { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--paper2); border: 1px solid var(--line); font-family: var(--disp); font-size: 19px; color: var(--ink); }
.pv-rk.top { background: var(--red); color: #fff; }
.pv-hd h3 { margin: 0; font-family: var(--serif); font-size: 19px; line-height: 1.35; color: var(--ink); }
.pv-ja { margin: 2px 0 0; }
.pv-cnt { margin-left: auto; flex: none; font-size: 11px; font-weight: 900; color: var(--ink); background: var(--hl); border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
.pv-key { color: var(--rink); text-decoration: underline 2px; text-underline-offset: 3px; }
.pv-lit, .pv-org, .pv-mean { margin: 0; font-size: 14px; line-height: 1.75; color: var(--ink); }
.pv-mean { font-weight: 700; }
.pv-ex { margin: 4px 0 0; font-family: var(--serif); font-size: 15.5px; color: var(--ink); background: var(--paper2); border-radius: 8px 8px 0 0; padding: 8px 10px 2px; }
.pv-exj { margin: 0; font-size: 13px; color: var(--ink2); background: var(--paper2); border-radius: 0 0 8px 8px; padding: 0 10px 8px; }
.pv-rel { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; }
.pv-rel span { font-family: var(--serif); background: #fff; border: 1.5px solid var(--line); border-radius: 6px; padding: 1px 8px; color: var(--ink); }
.pv-q { border-top: 1px dashed var(--line); padding-top: 6px; }
.pv-q summary { cursor: pointer; font-weight: 900; font-size: 14px; color: var(--red); }
.pv-qq { font-family: var(--serif); font-size: 16px; color: var(--ink); margin: 8px 0 4px; }
.pv-ch { margin: 0 0 6px; padding-left: 22px; font-family: var(--serif); color: var(--ink); }
.pv-qa { margin: 0; font-size: 13.5px; line-height: 1.7; background: #fff8d6; border-radius: 8px; padding: 8px 10px; color: var(--ink); }
.pv-qa b { color: var(--green); font-size: 16px; }
.pv-more { align-self: flex-end; font-size: 13px; font-weight: 900; color: var(--blue); }
.pv-es { display: grid; gap: 12px; }
.pv-e { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow); }
.pv-e p { margin: 0 0 6px; line-height: 1.75; color: var(--ink); }
.pv-et { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.pv-et b { background: var(--red); color: #fff; border-radius: 6px; padding: 0 8px; font-size: 13px; }
.pv-et span { font-family: var(--serif); font-size: 18px; font-weight: 700; }
.pv-e summary { cursor: pointer; font-weight: 900; color: var(--blue); }
.pv-em { font-family: var(--serif); font-size: 15.5px; background: var(--paper2); border-radius: 8px; padding: 10px 12px; margin-top: 8px !important; }
.pv-emj { font-size: 13.5px; color: var(--ink2) !important; }
.pv-tip { font-size: 13.5px; }
.pv-srcs { font-size: 13.5px; line-height: 1.9; }
.pv-more-list { margin: 22px 0 6px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow); }
.pv-more-list summary { cursor: pointer; font-weight: 900; font-size: 15px; color: var(--ink); }
.pv-more-list .pv-howto { margin: 10px 0 6px; }
.pv-more-list ul { list-style: none; margin: 0; padding: 0; }
.pv-more-list li { display: flex; flex-wrap: wrap; gap: 2px 12px; align-items: baseline; padding: 7px 0; border-top: 1px solid var(--line); }
.pv-more-list li a { font-family: var(--serif); font-size: 15.5px; font-weight: 700; color: var(--blue); }
.pv-more-list li span { font-size: 13.5px; color: var(--ink2); }
.hl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hl-chips a { display: inline-flex; flex-direction: column; gap: 1px; text-decoration: none; color: var(--ink); font-weight: 900; font-size: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 6px 12px; box-shadow: var(--shadow); }
.hl-chips a small { font-size: 11px; font-weight: 900; color: var(--red); }
.hl-chips a:hover { background: var(--hl); }

/* ===== 「全部やらなくていい」帯（ホーム） ===== */
.calm { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px 22px; max-width: 1120px; margin: 28px auto 8px; padding: 18px 24px; background: var(--card); border-radius: 18px; box-shadow: 0 1px 2px rgba(17, 23, 46, .06), 0 8px 24px rgba(17, 23, 46, .07); text-decoration: none; color: var(--ink); width: calc(100% - 32px); }
.calm-q { font-family: var(--disp); font-size: clamp(18px, 2.4vw, 24px); color: var(--ink); white-space: nowrap; }
.calm-a { font-size: 15.5px; font-weight: 500; line-height: 1.7; color: var(--ink2); }
.calm-a b { color: var(--ink); font-weight: 900; }
.calm-go { font-weight: 900; font-size: 14px; color: #fff; background: var(--ink); border-radius: 999px; padding: 10px 18px; white-space: nowrap; }
.calm:hover .calm-go { background: var(--red2); }
@media (max-width: 760px) { .calm { grid-template-columns: 1fr; } .calm-go { justify-self: start; } }

/* ===== まずはこれだけ（start） ===== */
.st-hero { position: relative; background: var(--card); border: var(--bd); border-radius: 24px; box-shadow: var(--shadow-lg); padding: 28px 28px 24px; margin: 12px 0 10px; overflow: hidden; }
.st-h1 { font-family: var(--disp); font-weight: 900; font-size: clamp(34px, 6.4vw, 72px); line-height: 1.12; margin: 0 0 16px; color: var(--ink); position: relative; z-index: 1; }
.st-h1 span { font-size: .62em; color: var(--ink2); }
.st-h1 em { font-style: normal; color: var(--red); background: linear-gradient(transparent 62%, var(--hl) 62%); }
.st-lead { max-width: 640px; font-size: 16px; line-height: 1.9; font-weight: 700; color: var(--ink); position: relative; z-index: 1; }
.st-lead b { color: var(--red); }
.st-hero { display: grid; grid-template-columns: 1fr 180px; column-gap: 20px; align-items: end; }
.st-hero > * { grid-column: 1; }
.st-hero > .st-owl { grid-column: 2; grid-row: 1 / span 4; align-self: end; width: 100%; height: auto; }
.st-hero .cta-row { position: relative; z-index: 1; }
@media (max-width: 760px) { .st-hero { grid-template-columns: 1fr; } .st-hero > .st-owl { grid-column: 1; grid-row: auto; width: 110px; justify-self: end; } }
.st-break { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.sb { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow); border-top-width: 2px; }
.sb b { font-family: var(--disp); font-weight: 900; font-size: 34px; line-height: 1; color: var(--ink); }
.sb > span { display: inline-block; margin-left: 8px; font-weight: 900; font-size: 13px; color: #fff; border-radius: 6px; padding: 2px 8px; vertical-align: 6px; }
.sb-S > span { background: #d23a2a; } .sb-A > span { background: #1f55d6; } .sb-B > span { background: #08805a; } .sb-C > span { background: #687086; }
.sb p { margin: 8px 0 0; font-size: 14px; line-height: 1.7; color: var(--ink); }
.sb strong { color: var(--red); }
.sb-C { opacity: .85; }
.st-cov { background: var(--card); border: var(--bd); border-radius: 18px; box-shadow: var(--hard); padding: 18px 20px; }
.st-cov-h { margin: 0 0 14px; font-weight: 900; color: var(--ink); }
.cv { display: grid; grid-template-columns: 150px 1fr 64px; align-items: center; gap: 12px; margin-bottom: 10px; }
.cv-l { font-weight: 900; font-size: 14px; color: var(--ink); }
.cv-bar { height: 22px; background: var(--paper2); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.cv-bar i { display: block; height: 100%; width: var(--w); background: repeating-linear-gradient(-45deg, var(--red) 0 10px, #f0574a 10px 20px); border-right: 1px solid var(--line); transform-origin: left; animation: cvgrow 1.4s cubic-bezier(.22, .72, .18, 1) both; }
@keyframes cvgrow { from { transform: scaleX(0); } }
.cv-p { font-family: var(--disp); font-weight: 900; font-size: 24px; color: var(--ink); text-align: right; }
.cv-p small { font-size: .55em; }
@media (max-width: 560px) { .cv { grid-template-columns: 1fr 56px; } .cv-l { grid-column: 1 / -1; } }
.st-note { margin: 10px 0 0; font-size: 12.5px; line-height: 1.7; color: var(--sub); }
.st-why { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.st-why > div { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 16px 14px 60px; box-shadow: var(--shadow); }
.st-why > div > b { position: absolute; left: 14px; top: 14px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--disp); font-weight: 900; border: 1px solid var(--line); }
.st-why h3 { margin: 0 0 6px; font-size: 16px; color: var(--ink); line-height: 1.4; }
.st-why p { margin: 0; font-size: 14px; line-height: 1.8; color: var(--ink); }
.st-why p b { background: linear-gradient(transparent 60%, var(--hl) 60%); }
.st-calc { background: var(--ink); color: #fff; border: var(--bd); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 18px 20px; }
.sc-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 12px; }
.sc-l { font-weight: 900; font-size: 14px; color: var(--hl); min-width: 120px; }
.sc-opt { display: flex; flex-wrap: wrap; gap: 6px; }
.sc-opt button { font: inherit; font-size: 14px; font-weight: 900; padding: 6px 14px; border-radius: 999px; border: 2px solid #fff; background: transparent; color: #fff; cursor: pointer; }
.sc-opt button[aria-pressed="true"] { background: var(--hl); color: var(--ink); border-color: var(--hl); }
#scExam { font: inherit; font-weight: 900; padding: 5px 10px; border-radius: 10px; border: 2px solid #fff; background: #fff; color: var(--ink); }
.sc-out { background: #fff; color: var(--ink); border-radius: 14px; padding: 14px 16px; margin-top: 6px; }
.sc-out p { margin: 0 0 6px; line-height: 1.7; }
.sc-big { font-weight: 900; font-size: 16px; }
.sc-big b { font-family: var(--disp); font-weight: 900; font-size: 44px; color: var(--red); margin-right: 4px; }
.sc-v { font-weight: 900; border-radius: 10px; padding: 8px 12px; margin: 8px 0 0 !important; }
.sc-v.ok { background: #d9f5e6; color: #065b40; }
.sc-v.ng { background: #ffe1de; color: #9c1c12; }
.st-calc .st-note { color: #cfd4e6; }
.st-route { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 14px; counter-reset: none; }
.st-route li { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow); }
.st-route li > b { display: inline-block; font-family: var(--disp); font-weight: 900; font-size: 13px; color: #fff; background: var(--ink); border-radius: 6px; padding: 2px 10px; }
.st-route li:first-child > b { background: var(--red); }
.st-route h3 { margin: 8px 0 6px; font-size: 17px; color: var(--ink); }
.st-route p { margin: 0; font-size: 14px; line-height: 1.8; color: var(--ink); }
.st-howto { font-weight: 700; color: var(--ink2); margin: -4px 0 12px; }
.st-days { display: grid; gap: 10px; }
.sd { background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.sd summary { display: flex; align-items: center; gap: 12px; padding: 12px 16px; cursor: pointer; list-style: none; }
.sd summary::-webkit-details-marker { display: none; }
.sd summary b { font-family: var(--disp); font-weight: 900; font-size: 18px; color: var(--ink); }
.sd summary span { font-size: 13px; font-weight: 700; color: var(--sub); }
.sd-p { margin-left: auto; font-style: normal; font-size: 13px; font-weight: 900; color: var(--ink); background: var(--paper2); border-radius: 999px; padding: 2px 12px; }
.sd.clear .sd-p { background: #08805a; color: #fff; }
.sd.clear summary b::after { content: " ✓"; color: #08805a; }
.sd[open] summary { border-bottom: 1px dashed var(--line); }
.sd .rows { margin: 10px 14px; }
.sd-go { margin: 0 14px 14px; }
.pv-pts { margin: 0 0 6px; padding-left: 18px; font-size: 14px; line-height: 1.7; color: var(--ink); }
.pv-pts li + li { margin-top: 4px; }
.pv-s details summary { cursor: pointer; font-weight: 900; font-size: 13.5px; color: var(--blue); margin: 4px 0; }

/* ===== 読み物・コラム ===== */
.ym-hero { display: grid; grid-template-columns: 150px 1fr; gap: 22px; align-items: center; background: #2a1d10; color: #fff; border: var(--bd); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 22px 24px; margin: 12px 0 14px; }
.ym-hero-owl { width: 100%; height: auto; border-radius: 50%; background: #f3d98b; border: 3px solid #fff; }
.ym-h1 { font-family: var(--disp); font-weight: 900; font-size: clamp(32px, 5vw, 52px); line-height: 1.15; margin: 0 0 10px; color: #fff; }
.ym-h1 small { display: block; font-family: var(--ja); font-weight: 900; font-size: .38em; color: #f3d98b; margin-top: 6px; }
.ym-hero p { color: #f4ece0; font-weight: 700; line-height: 1.85; }
.ym-hero .kick { color: #f3d98b; }
.ym-hero b { color: #fff; }
@media (max-width: 640px) { .ym-hero { grid-template-columns: 1fr; } .ym-hero-owl { width: 100px; } }
.ym-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 14px; margin: 14px 0 10px; }
.ym-card { display: flex; flex-direction: column; background: var(--card); border: var(--bd); border-radius: 14px; box-shadow: var(--hard); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.ym-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.ym-card[hidden] { display: none; }
.ym-pic { display: grid; place-items: center; aspect-ratio: 4 / 3; background: #efe4cf; border-bottom: 1px solid var(--line); overflow: hidden; }
.ym-pic img { width: 100%; height: 100%; object-fit: cover; }
.ym-pic .ym-owl { width: 90px; height: 90px; object-fit: contain; }
.ym-t { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px 12px; }
.ym-t small { font-size: 11.5px; font-weight: 900; color: #8a5a12; }
.ym-t b { font-size: 15px; line-height: 1.45; }
.ym-t i { font-family: var(--serif); font-style: normal; font-size: 14px; color: var(--ink2); }
.ym-hd { margin: 12px 0 10px; }
.ym-tags { margin: 0 0 6px; font-size: 12.5px; font-weight: 900; color: #8a5a12; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.ym-tags span { background: #f3e3c0; color: #5b3a08; border-radius: 4px; padding: 0 8px; }
.ym-hd h1 { font-size: clamp(24px, 4vw, 36px); line-height: 1.35; margin: 0 0 8px; color: var(--ink); }
.ym-en { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; margin: 0; }
.ym-en b { font-family: var(--serif); font-size: 22px; color: var(--ink); }
.ym-fig { margin: 10px 0 16px; background: #fff; border: var(--bd); border-radius: 14px; overflow: hidden; box-shadow: var(--hard); }
.ym-fig img { display: block; width: 100%; max-height: 560px; object-fit: contain; background: #efe4cf; }
.ym-fig figcaption { padding: 8px 14px 10px; font-size: 13.5px; font-weight: 700; color: var(--ink); border-top: 1px solid var(--line); }
.ym-fig figcaption small { display: block; font-size: 11.5px; font-weight: 700; color: var(--sub); margin-top: 2px; }
.ym-lead { font-size: 17px; font-weight: 900; line-height: 1.9; color: var(--ink); background: linear-gradient(transparent 70%, #ffe9a8 70%); display: inline; }
.ym-body { margin: 16px 0 6px; }
.ym-body p { font-size: 16px; line-height: 2; color: var(--ink); margin: 0 0 1.1em; }
.ym-src { margin: 20px 0; background: #fbf5e8; border: 2px solid #5b3a08; border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow-lg); }
.ym-src h2 { margin: 0 0 10px; font-size: 15px; color: #3d2706; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ym-src h2 span { font-size: 12px; font-weight: 900; color: #fff; background: #5b3a08; border-radius: 5px; padding: 1px 9px; }
.ym-src blockquote { margin: 0 0 10px; padding: 0 0 0 14px; border-left: 4px solid #c9a35a; font-family: var(--serif); font-size: 16.5px; line-height: 1.85; color: #2b1d08; font-style: italic; }
.ym-src summary { cursor: pointer; font-weight: 900; color: var(--blue); }
.ym-src details p { margin: 8px 0 0; line-height: 1.85; color: var(--ink); }
.ym-cite { margin: 10px 0 0; font-size: 12.5px; color: #5b3a08; }
.ym-dl { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow); }
.ym-dl > p { display: grid; grid-template-columns: 32px 1fr; gap: 8px; margin: 0 0 6px; }
.ym-dl > p b { color: var(--red); }
.ym-dl > p span { font-family: var(--serif); font-size: 16px; color: var(--ink); }
.ym-dl summary { cursor: pointer; font-weight: 900; color: var(--blue); }
.ym-dl details p { margin: 6px 0 0; line-height: 1.8; color: var(--ink); }
.ym-exam { margin: 18px 0; background: var(--hl); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; color: var(--ink); }
.ym-exam b { font-weight: 900; }
.ym-exam p { margin: 4px 0 0; line-height: 1.8; }
article.ym { max-width: 820px; }

/* ===== 文法・語法・語彙（作り直し版） ===== */
.gh, .gu { max-width: 1080px; }
.gbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-size: 16px; font-weight: 900; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 13px 22px; text-decoration: none; cursor: pointer; box-shadow: var(--shadow-lg); transition: transform .12s, box-shadow .12s; }
.gbtn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.gbtn:active { transform: translateY(1px); box-shadow: var(--shadow); }
.gbtn-r { background: var(--red2); color: #fff; }
.gbtn kbd { font: 700 11px/1 var(--ja); border: 1.5px solid currentColor; border-radius: 5px; padding: 3px 5px; opacity: .8; }
.gh-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; }
.k { color: var(--red2); font-weight: 900; background: linear-gradient(transparent 62%, rgba(255, 226, 74, .85) 62%); padding: 0 1px; }
.bl { display: inline-block; min-width: 4.2em; border-bottom: 1px solid var(--line); margin: 0 4px; text-align: center; line-height: 1.2; }
.bl.on { color: #06603f; font-weight: 900; border-color: #0b7d55; background: #dff6ea; border-radius: 6px 6px 0 0; padding: 0 6px; animation: blfill .35s ease both; }
@keyframes blfill { from { background: #a8ecc8; } }

/* --- 一覧のヒーロー --- */
.gh-hero, .gu-hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: 28px; align-items: center; margin: 14px 0 22px; }
.gh-kick, .gu-kick { margin: 0 0 8px; font: 400 13px/1.4 var(--disp); letter-spacing: .08em; color: var(--red2); }
.gh-h1 { font-family: var(--disp); font-weight: 900; font-size: clamp(36px, 5.4vw, 58px); line-height: 1.1; margin: 0 0 18px; color: var(--ink); }
.gh-catch { margin: 0 0 12px; font-size: clamp(24px, 3.2vw, 34px); font-weight: 900; line-height: 1.45; color: var(--ink); }
.gh-catch em { font-style: normal; color: var(--red2); background: linear-gradient(transparent 60%, var(--hl) 60%); }
.gh-sub { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.8; color: var(--ink2); }
.gh-art, .gu-art { margin: 0; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--paper2); aspect-ratio: 3 / 2; }
.gh-art img, .gu-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gh-art .gh-owl, .gu-art .gh-owl { width: 60%; height: auto; margin: 10% auto; display: block; object-fit: contain; }
@media (max-width: 820px) { .gh-hero, .gu-hero { grid-template-columns: 1fr; } .gh-art, .gu-art { order: -1; } }
.gh-feat { list-style: none; padding: 0; margin: 0 0 30px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.gh-feat li { display: flex; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.gh-feat li > b { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--hl); font: 400 20px var(--disp); }
.gh-feat span { font-size: 14.5px; line-height: 1.6; color: var(--ink2); }
.gh-feat strong { display: block; font-size: 17px; color: var(--ink); }

/* --- 弱点診断 --- */
.gh-diag { background: var(--ink); color: #fff; border-radius: 26px; padding: 26px; margin: 0 0 38px; box-shadow: var(--shadow-lg); scroll-margin-top: 80px; }
.gh-diag-hd { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.gh-diag-owl { width: 84px; height: 84px; background: var(--hl); border-radius: 50%; border: 3px solid #fff; object-fit: contain; }
.gh-diag h2 { margin: 0 0 4px; font-family: var(--disp); font-weight: 900; font-size: clamp(24px, 3vw, 32px); color: #fff; }
.gh-diag-hd p { margin: 0; color: #e3e6f2; font-weight: 700; line-height: 1.7; }

/* --- 単元カード --- */
.gh-grp { margin: 0 0 34px; scroll-margin-top: 80px; }
.gh-h2, .gu-h2 { display: flex; align-items: baseline; gap: 12px; margin: 0 0 6px; font-size: clamp(24px, 3vw, 30px); font-weight: 900; color: var(--ink); }
.gh-h2 span, .gu-h2 span { font: 400 13px/1 var(--disp); letter-spacing: .08em; color: #fff; background: var(--ink); border-radius: 6px; padding: 5px 10px; transform: translateY(-4px); }
.gh-grp-d { margin: 0 0 16px; font-size: 15.5px; font-weight: 700; color: var(--ink2); }
.gc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.gc { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-lg); transition: transform .15s, box-shadow .15s; }
.gc:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.gc-art { aspect-ratio: 16 / 9; background: var(--paper2); border-bottom: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; }
.gc-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gc:hover .gc-art img { transform: scale(1.04); }
.gc-owl { width: 90px; height: 90px; object-fit: contain; }
.gc-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.gc-body small { font: 400 12px/1.3 var(--disp); letter-spacing: .06em; color: var(--red2); }
.gc-body > b { font-size: 24px; line-height: 1.3; }
.gc-catch { font-size: 15px; font-weight: 700; line-height: 1.6; color: var(--ink2); }
.gc-q { margin-top: 4px; font-family: var(--serif); font-size: 15px; color: var(--ink); background: var(--paper); border-radius: 10px; padding: 8px 12px; }
.gc-q .bl { min-width: 2.6em; border-bottom-width: 2px; }
.gc-foot { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 10px; }
.gc-bar { flex: 1; height: 10px; background: var(--paper2); border-radius: 999px; overflow: hidden; }
.gc-bar i { display: block; height: 100%; width: 0; background: #0b7d55; border-radius: 999px; transition: width .8s cubic-bezier(.22, .72, .18, 1); }
.gc-st { font-style: normal; font-size: 13.5px; font-weight: 900; color: var(--ink2); white-space: nowrap; }
.gh-how ol { list-style: none; padding: 0; margin: 12px 0 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; counter-reset: s; }
.gh-how li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.gh-how li::before { content: "0" counter(s); display: block; font: 400 26px/1 var(--disp); color: var(--red2); margin-bottom: 8px; }
.gh-how b { display: block; font-size: 18px; color: var(--ink); margin-bottom: 4px; }
.gh-how span { font-size: 14.5px; line-height: 1.6; color: var(--ink2); }

/* --- 単元ページ --- */
.gu-h1 { font-family: var(--disp); font-weight: 900; font-size: clamp(40px, 6.4vw, 72px); line-height: 1.05; margin: 0 0 14px; color: var(--ink); }
.gu-kick span { display: inline-block; font-family: var(--ja); font-weight: 900; letter-spacing: 0; font-size: 13px; color: #fff; background: var(--red2); border-radius: 6px; padding: 2px 9px; margin-right: 8px; }
.gu-catch { margin: 0 0 18px; font-size: clamp(20px, 2.6vw, 27px); font-weight: 900; line-height: 1.5; color: var(--ink); }
.gu-stats { list-style: none; padding: 0; margin: 0 0 16px; display: flex; gap: 10px; }
.gu-stats li { flex: 1; max-width: 120px; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 8px 6px; font-size: 13px; font-weight: 900; color: var(--ink2); }
.gu-stats b { display: block; font: 400 28px/1.1 var(--disp); color: var(--ink); }
.gu-prog { display: flex; align-items: center; gap: 12px; max-width: 420px; }
.gu-prog em { font-style: normal; font-size: 13.5px; font-weight: 900; color: var(--ink2); white-space: nowrap; }
.gu-tabs { position: sticky; top: 62px; z-index: 20; display: flex; gap: 8px; padding: 10px 0; margin: 0 0 8px; background: var(--paper); border-bottom: 2px solid var(--line); }
.gu-tabs a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 16px; font-weight: 900; color: var(--ink); text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 9px 8px; }
.gu-tabs a b { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--hl); font: 400 13px var(--disp); }
.gu-tabs a:hover { background: var(--hl); }
.gu-lead { max-width: 860px; margin: 18px 0 0; font-size: 16px; line-height: 1.95; color: var(--ink2); font-weight: 500; }
.gu-sec { margin: 40px 0 0; scroll-margin-top: 130px; }
.gu-sec > .gu-h2 { margin-bottom: 18px; }

/* まとめ表 */
.gt-wrap { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; }
.gt { width: 100%; border-collapse: collapse; }
.gt th { background: var(--ink); color: #fff; font-size: 14px; font-weight: 900; text-align: left; padding: 12px 16px; }
.gt td { padding: 14px 16px; font-size: 15.5px; line-height: 1.6; color: var(--ink); border-top: 1.5px solid var(--line); vertical-align: top; }
.gt td:first-child { font-weight: 900; white-space: nowrap; background: var(--paper); }
.gt td[lang="en"] { font-family: var(--serif); font-size: 16.5px; }
.gt tbody tr:hover td { background: #fffbe0; }
.gt tbody tr:hover td:first-child { background: #fff3b8; }
@media (max-width: 720px) {
  .gt thead { display: none; }
  .gt, .gt tbody, .gt tr, .gt td { display: block; width: 100%; }
  .gt tr { border-top: 1px solid var(--line); padding: 6px 0; }
  .gt tr:first-child { border-top: 0; }
  .gt td { border: 0; padding: 4px 16px; white-space: normal !important; }
  .gt td:first-child { background: none; font-size: 17px; padding-top: 10px; }
  .gt td:not(:first-child)::before { content: attr(data-h); display: block; font-size: 11.5px; font-weight: 900; color: var(--sub); }
}
.gt-alt { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 8px; }
.gt-alt a { display: flex; gap: 10px; align-items: baseline; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; text-decoration: none; color: var(--ink); font-weight: 900; font-size: 15px; }
.gt-alt a b { font: 400 13px var(--disp); color: var(--red2); }
.gu-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 16px; margin-top: 20px; }
.gu-box { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.gu-box h3 { margin: 0 0 10px; font-size: 18px; color: var(--ink); }
.gu-box ul, .gu-box ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.gu-box li { position: relative; padding-left: 26px; font-size: 15.5px; line-height: 1.65; color: var(--ink); }
.gu-box ul li::before { content: ""; position: absolute; left: 6px; top: .6em; width: 9px; height: 9px; border-radius: 50%; background: var(--red2); }
.gu-steps ol { counter-reset: st; }
.gu-steps li { counter-increment: st; padding-left: 38px; }
.gu-steps li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--hl); font: 400 14px var(--disp); }

/* 要点 */
.gp2-list { display: grid; gap: 18px; max-width: 900px; }
.gp2 { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 20px 22px; box-shadow: var(--shadow-lg); scroll-margin-top: 130px; }
.gp2 header { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.gp2-n { flex: none; font: 400 18px/1 var(--disp); color: #fff; background: var(--red2); border-radius: 10px; padding: 8px 10px; }
.gp2 h3 { margin: 0; font-size: 20px; line-height: 1.4; color: var(--ink); }
.gp2-say { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 14px; }
.gp2-av { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--hl); object-fit: contain; }
.gp2-say span { position: relative; background: var(--paper); border-radius: 14px; padding: 9px 14px; font-size: 16.5px; font-weight: 900; line-height: 1.6; color: var(--ink); }
.gp2-form { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 14px; font-family: var(--serif); }
.gp2-form span, .gp2-form b { font-size: 17px; border-radius: 10px; padding: 6px 12px; line-height: 1.2; }
.gp2-form span { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.gp2-form b { background: var(--red2); border: 2px solid var(--red2); color: #fff; font-weight: 700; }
.gp2-form i { font-style: normal; font-weight: 900; font-size: 20px; color: var(--ink); margin: 0 -2px; }
.gp2-body { margin: 0 0 12px; font-size: 15.5px; line-height: 1.9; color: var(--ink); }
.gp2-ex { border-left: 5px solid var(--hl2); background: #fffbe6; border-radius: 0 12px 12px 0; padding: 10px 16px; margin: 0 0 14px; }
.gp2-ex p { margin: 0; font-family: var(--serif); font-size: 19px; line-height: 1.55; color: var(--ink); }
.gp2-ex small { display: block; margin-top: 4px; font-size: 14px; color: var(--ink2); }
.gp2-ox { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 12px; }
@media (max-width: 640px) { .gp2-ox { grid-template-columns: 1fr; } }
.gp2-ox p { display: flex; gap: 10px; align-items: flex-start; margin: 0; border-radius: 12px; padding: 10px 14px; font-family: var(--serif); font-size: 16.5px; line-height: 1.5; }
.gp2-ox p > b { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; color: #fff; font: 900 15px var(--ja); }
.gp2-ox .ng { background: #fdecea; color: #6d1710; }
.gp2-ox .ng > b { background: #b3261e; }
.gp2-ox .ng .k { color: #b3261e; text-decoration: line-through; text-decoration-thickness: 2px; background: none; }
.gp2-ox .ok { background: #e3f6ec; color: #08452f; }
.gp2-ox .ok > b { background: #0b7d55; }
.gp2-ox .ok .k { color: #06603f; background: linear-gradient(transparent 62%, #b6edd0 62%); }
.gp2-pairs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 8px; margin: 0 0 12px; }
.gp2-pairs div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 9px 14px; }
.gp2-pairs dt { font-family: var(--serif); font-size: 17px; font-weight: 700; color: var(--ink); }
.gp2-pairs dd { margin: 2px 0 0; font-size: 14.5px; color: var(--ink2); }
.gp2-trap { margin: 0 0 6px; font-size: 15px; line-height: 1.7; color: #6d1710; }
.gp2-trap > b { display: inline-block; font-size: 12.5px; color: #fff; background: #b3261e; border-radius: 6px; padding: 1px 8px; margin-right: 8px; }
.gp2-more summary { cursor: pointer; font-size: 14.5px; font-weight: 900; color: var(--blue); padding: 4px 0; }
.gp2-more p { margin: 6px 0 0; font-size: 15px; line-height: 1.9; color: var(--ink); }

/* --- 問題チャレンジ --- */
.gx-app { background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: var(--shadow-lg); scroll-margin-top: 130px; min-height: 200px; }
.gh-diag .gx-app { box-shadow: none; border-color: #fff; }
.gs { display: grid; gap: 14px; }
.gs button { font: inherit; text-align: left; cursor: pointer; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; transition: transform .12s, box-shadow .12s, background .12s; box-shadow: var(--shadow); }
.gs button:hover:not(:disabled) { transform: translateY(-2px); box-shadow: var(--shadow-lg); background: #fffbe0; }
.gs button:disabled { opacity: .45; cursor: default; box-shadow: none; }
.gs strong { display: block; font-size: 18px; font-weight: 900; }
.gs span { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink2); margin-top: 2px; }
.gs-main { display: grid !important; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center; background: var(--hl) !important; padding: 20px 22px !important; box-shadow: var(--shadow-lg) !important; }
.gs-main b { grid-row: 1 / 3; font: 400 15px/1 var(--disp); color: #fff; background: var(--red2); border-radius: 10px; padding: 12px 10px; }
.gs-main strong { font-size: clamp(22px, 3vw, 28px) !important; }
.gs-main span { font-size: 15px !important; color: var(--ink) !important; }
.gs-sub { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 10px; }
.gq-top { display: grid; grid-template-columns: auto 1fr auto; gap: 6px 14px; align-items: center; margin-bottom: 18px; }
.gq-quit { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font: 900 18px/1 var(--ja); color: var(--ink); cursor: pointer; }
.gq-meter { height: 14px; background: var(--paper2); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.gq-meter i { display: block; height: 100%; background: repeating-linear-gradient(-45deg, #0b7d55 0 10px, #10a06d 10px 20px); transition: width .5s cubic-bezier(.22, .72, .18, 1); }
.gq-cnt { margin: 0; font-weight: 900; font-size: 15px; color: var(--ink2); white-space: nowrap; }
.gq-cnt b { font: 400 24px var(--disp); color: var(--ink); }
.gq-combo { grid-column: 1 / -1; margin: 0; height: 0; overflow: visible; text-align: right; font-weight: 900; font-size: 14px; color: var(--red2); opacity: 0; transition: opacity .2s; }
.gq-combo.on { opacity: 1; height: auto; }
.gq-combo b { font: 400 22px var(--disp); }
.gq-combo.pop b { display: inline-block; animation: gpop .45s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes gpop { 0% { transform: scale(.6); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }
.gq2 { animation: gin .3s ease both; }
@keyframes gin { from { opacity: 0; transform: translateY(8px); } }
.gq2-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; }
.gq2-meta .gq-n { font: 400 13px var(--disp); color: #fff; background: var(--ink); border-radius: 6px; padding: 3px 9px; }
.gq-lv { font-size: 12.5px; font-weight: 900; border-radius: 6px; padding: 2px 9px; }
.gq-lv.lv1 { background: #d9f5e6; color: #065b40; } .gq-lv.lv2 { background: #dde7ff; color: #1a3f9e; } .gq-lv.lv3 { background: #ffe1de; color: #9c1c12; }
.gq-tag { font-size: 13px; font-weight: 700; color: var(--sub); }
.gq-hint { margin-left: auto; font: inherit; font-size: 13.5px; font-weight: 900; color: var(--ink); background: var(--hl); border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; cursor: pointer; }
.gq-hint-t { margin: -2px 0 12px; background: #fff8d1; border: 2px dashed var(--hl2); border-radius: 12px; padding: 8px 14px; font-weight: 900; color: var(--ink); }
.gq2-q { margin: 0 0 18px; font-family: var(--serif); font-size: clamp(20px, 2.6vw, 25px); line-height: 1.65; color: var(--ink); }
.gq2-ch { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 640px) { .gq2-ch { grid-template-columns: 1fr; } .gx-app { padding: 16px; } }
.gx-c { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: center; text-align: left; font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 13px 16px; cursor: pointer; box-shadow: var(--shadow); transition: transform .1s, box-shadow .1s, background .2s, opacity .2s; }
.gx-c:hover:not(:disabled) { transform: translateY(-2px); box-shadow: var(--shadow-lg); background: #fffbe0; }
.gx-c kbd { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: var(--paper2); font: 900 14px var(--ja); color: var(--ink); }
.gx-ct { font-family: var(--serif); font-size: 19px; font-weight: 600; }
.gx-why { grid-column: 1 / -1; font-family: var(--ja); font-size: 14px; font-weight: 700; line-height: 1.6; padding-top: 8px; margin-top: 4px; border-top: 1.5px dashed currentColor; }
.gx-why b { margin-right: 6px; }
.gx-c:disabled { cursor: default; }
.gx-c.ok { background: #e3f6ec; border-color: #0b7d55; box-shadow: var(--shadow); color: #08452f; }
.gx-c.ok kbd { background: #0b7d55; color: #fff; }
.gx-c.ng { background: #fdecea; border-color: #b3261e; box-shadow: var(--shadow); color: #6d1710; animation: gshake .35s ease; }
.gx-c.ng kbd { background: #b3261e; color: #fff; }
.gx-c.off { background: #f7f4ec; color: #4a4f63; box-shadow: none; border-color: #b9b19c; }
@keyframes gshake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.gq2-res { margin-top: 18px; display: grid; gap: 12px; }
.gv { display: flex; gap: 14px; align-items: center; border-radius: 16px; padding: 12px 16px; animation: gin .3s ease both; }
.gv img { width: 64px; height: 64px; object-fit: contain; }
.gv b { display: block; font: 400 26px/1.2 var(--disp); }
.gv span { font-weight: 700; font-size: 15.5px; }
.gv strong { font-family: var(--serif); font-size: 18px; }
.gv-ok { background: #e3f6ec; color: #08452f; border: 2px solid #0b7d55; }
.gv-ng { background: #fdecea; color: #6d1710; border: 2px solid #b3261e; }
.gv-ja { margin: 0; font-size: 16px; line-height: 1.7; color: var(--ink); background: var(--paper); border-radius: 12px; padding: 10px 14px; }
.gv-pt { margin: 0; font-size: 16px; font-weight: 900; line-height: 1.6; color: var(--ink); background: #fff3b0; border-radius: 12px; padding: 10px 14px; }
.gv-pt > b { display: inline-block; font-size: 12.5px; color: #fff; background: var(--ink); border-radius: 6px; padding: 1px 8px; margin-right: 8px; }
.gv-e, .gv-more p { margin: 0; font-size: 15px; line-height: 1.85; color: var(--ink); }
.gv-more summary { cursor: pointer; font-weight: 900; color: var(--blue); font-size: 14.5px; }
.gv-more p { margin-top: 6px; }
.gv-next { justify-self: stretch; font-size: 17px; padding: 15px 22px; }
/* 結果 */
.ge { text-align: center; animation: gin .35s ease both; }
.ge-rank { display: inline-flex; gap: 18px; align-items: center; text-align: left; margin-bottom: 8px; }
.ge-rank img { width: 120px; height: 120px; object-fit: contain; }
.ge-r { display: inline-grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; border: 5px solid currentColor; font: 400 60px/1 var(--disp); transform: rotate(-8deg); animation: gstamp .5s cubic-bezier(.3, 1.5, .5, 1) both .1s; }
.rS .ge-r { color: #c8962a; } .rA .ge-r { color: #b3261e; } .rB .ge-r { color: #1a3f9e; } .rC .ge-r { color: #4a4f63; }
@keyframes gstamp { from { transform: rotate(-8deg) scale(2.2); opacity: 0; } }
.ge-s { margin: 6px 0 0; font-weight: 900; font-size: 17px; color: var(--ink); }
.ge-s b { font: 400 42px var(--disp); color: var(--red2); }
.ge-s small { display: block; font-size: 13.5px; color: var(--ink2); }
.ge-msg { max-width: 560px; margin: 8px auto 14px; font-size: 16.5px; font-weight: 700; line-height: 1.7; color: var(--ink); }
.ge-miss { max-width: 560px; margin: 0 auto 16px; text-align: left; background: var(--paper); border-radius: 14px; padding: 12px 16px; }
.ge-miss h3 { margin: 0 0 6px; font-size: 15px; color: var(--ink); }
.ge-miss ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ge-miss li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; font-size: 14px; font-weight: 900; color: var(--ink); }
.ge-miss li b { color: #b3261e; margin-left: 6px; }
.ge-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 6px 0 0; }
.gd-res { list-style: none; padding: 0; margin: 10px auto 16px; max-width: 620px; display: grid; gap: 8px; text-align: left; }
.gd-res a { display: grid; grid-template-columns: 34px 1fr auto auto; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; text-decoration: none; color: var(--ink); font-weight: 900; }
.gd-res a > b { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: #fff; }
.gd-res .ok b { background: #0b7d55; } .gd-res .ng b { background: #b3261e; }
.gd-res em { font-style: normal; color: var(--ink2); }
.gd-res i { font-style: normal; font-size: 13.5px; color: var(--sub); }
.gd-res .ng i { color: #b3261e; }
.gd-res .ng a { background: #fff7f6; }
/* 全問一覧 */
.gl { margin-top: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 18px; }
.gl summary { cursor: pointer; font-weight: 900; color: var(--ink); font-size: 15.5px; }
.gl ol { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 14px; }
.gl li { border-top: 1.5px solid var(--line); padding-top: 12px; }
.gl-q { margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; font-family: var(--serif); font-size: 17px; color: var(--ink); }
.gl-q > b { font: 400 13px var(--disp); color: #fff; background: var(--ink); border-radius: 6px; padding: 2px 8px; }
.gl-c { margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: var(--serif); font-size: 16px; color: var(--ink2); }
.gl-c .ans { color: #06603f; font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; }
.gl-e { margin: 0; font-size: 14.5px; line-height: 1.8; color: var(--ink); }
.gl-e b { color: #06603f; margin-right: 8px; }
.gu-next { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 40px 0 10px; }
.gu-next a { display: block; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; text-decoration: none; color: var(--ink); font-size: 19px; font-weight: 900; box-shadow: var(--shadow-lg); }
.gu-next a.r { text-align: right; }
.gu-next small { display: block; font-size: 13px; color: var(--sub); }
@media print { .gu-tabs, .gx-app, .gh-btns, .gu-next { display: none !important; } .gl[open], .gl { display: block; } }
.gu-h1.long { font-size: clamp(30px, 4.4vw, 50px); line-height: 1.2; }
@media (max-width: 640px) { .gu-tabs a { font-size: 13.5px; gap: 5px; padding: 8px 4px; white-space: nowrap; } .gu-tabs a b { width: 20px; height: 20px; font-size: 11px; } .gu-next { grid-template-columns: 1fr; } .gu-next a { font-size: 17px; } .gu-stats li { max-width: none; } }

/* --- 長くしない：たたむ（要点・まとめ表・リード） --- */
.gp2-tools { display: flex; align-items: center; justify-content: space-between; gap: 10px; max-width: 900px; margin: -8px 0 12px; font-size: 13.5px; font-weight: 700; color: var(--sub); }
.gp2-all { font: inherit; font-size: 13.5px; font-weight: 900; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px; cursor: pointer; }
.gp2-list { gap: 12px; }
.gp2 { padding: 0; }
.gp2 > summary { display: flex; align-items: center; gap: 12px; padding: 14px 18px; cursor: pointer; list-style: none; }
.gp2 > summary::-webkit-details-marker { display: none; }
.gp2-hd { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.gp2-hd h3 { margin: 0; font-size: 18px; line-height: 1.4; color: var(--ink); }
.gp2-say1 { font-size: 14.5px; font-weight: 700; line-height: 1.55; color: var(--ink2); }
.gp2-chev { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--paper2); position: relative; transition: transform .25s ease, background .2s; }
.gp2-chev::before { content: ""; position: absolute; left: 10px; top: 8px; width: 8px; height: 8px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(45deg); }
.gp2[open] .gp2-chev { transform: rotate(180deg); background: var(--hl); }
.gp2 > summary:hover .gp2-chev { background: var(--hl); }
.gp2-in { padding: 4px 18px 18px; border-top: 1.5px dashed var(--line); padding-top: 14px; }
.gp2[open] .gp2-in { animation: gin .25s ease both; }
.gt-more { display: none; }
.gu-box > summary, .gu-lead > summary { list-style: none; cursor: pointer; }
.gu-box > summary::-webkit-details-marker, .gu-lead > summary::-webkit-details-marker { display: none; }
.gu-box > summary h3::after, .gu-lead > summary::after { content: "＋"; margin-left: 8px; color: var(--red2); }
.gu-box[open] > summary h3::after, .gu-lead[open] > summary::after { content: "－"; }
.gu-lead { max-width: 860px; margin: 14px 0 0; }
.gu-lead > summary { font-size: 14.5px; font-weight: 900; color: var(--ink2); }
.gu-lead p { margin: 6px 0 0; font-size: 15.5px; line-height: 1.9; color: var(--ink2); }
@media (max-width: 720px) {
  .gt.fold tbody tr:nth-child(n+5) { display: none; }
  .gt-more { display: block; width: 100%; margin-top: 10px; font: inherit; font-size: 15px; font-weight: 900; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 11px; cursor: pointer; }
  .gt td { padding: 3px 14px; font-size: 15px; }
  .gt td:not(:first-child)::before { display: inline; margin-right: 8px; }
  .gt tr { padding: 4px 0 10px; }
  .gu-sec { margin-top: 30px; }
  .gu-h2 { font-size: 22px; }
  .gp2 > summary { padding: 12px 14px; gap: 10px; }
  .gp2-n { font-size: 15px; padding: 6px 8px; }
  .gp2-hd h3 { font-size: 16.5px; }
  .gp2-say1 { font-size: 13.5px; }
  .gp2-in { padding: 12px 14px 14px; }
  .gp2-ex p { font-size: 17px; }
  .gp2-form span, .gp2-form b { font-size: 15px; padding: 5px 9px; }
  .gu-box { padding: 14px 16px; }
  .gu-hero { gap: 14px; margin-bottom: 10px; }
  .gu-art { aspect-ratio: 16 / 9; box-shadow: var(--shadow-lg); }
  .gu-catch { font-size: 19px; margin-bottom: 12px; }
  .gu-stats b { font-size: 22px; }
  .gh-btns { margin-top: 14px; gap: 10px; }
  .gh-btns .gbtn { flex: 1; padding: 12px 10px; font-size: 15px; }
  /* 一覧：横長の小さなカード */
  .gh-hero { gap: 14px; }
  .gh-art { aspect-ratio: 16 / 9; box-shadow: var(--shadow-lg); }
  .gh-catch { font-size: 22px; }
  .gh-sub { font-size: 15px; }
  .gh-feat { gap: 8px; margin-bottom: 22px; }
  .gh-feat li { padding: 10px 12px; gap: 10px; }
  .gh-feat li > b { width: 32px; height: 32px; font-size: 15px; }
  .gh-feat strong { font-size: 15.5px; }
  .gh-feat span { font-size: 13px; }
  .gh-diag { padding: 16px; border-radius: 20px; margin-bottom: 28px; }
  .gh-diag-owl { width: 60px; height: 60px; }
  .gh-diag h2 { font-size: 22px; }
  .gh-diag-hd p { font-size: 13.5px; }
  .gc-grid { gap: 12px; }
  .gc { flex-direction: row; border-radius: 16px; box-shadow: var(--shadow-lg); }
  .gc-art { flex: none; width: 104px; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--line); }
  .gc-body { padding: 10px 12px; gap: 3px; }
  .gc-body > b { font-size: 18px; }
  .gc-catch { font-size: 13px; line-height: 1.5; }
  .gc-q { display: none; }
  .gc-foot { padding-top: 6px; }
  .gh-how ol { grid-template-columns: 1fr 1fr; gap: 8px; }
  .gh-how li { padding: 10px 12px; }
  .gh-how li::before { font-size: 18px; margin-bottom: 4px; }
  .gh-how b { font-size: 15px; }
  .gh-how span { font-size: 12.5px; }
  /* 読み物の一覧も横長の小さなカード */
  .ym-grid { gap: 10px; }
  .ym-card { flex-direction: row; }
  .ym-pic { flex: none; width: 104px; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--line); }
  .ym-pic .ym-owl { width: 64px; height: 64px; }
  .ym-t { padding: 9px 12px; justify-content: center; }
  .ym-t b { font-size: 14.5px; }
  .ym-hero { padding: 16px; gap: 12px; }
  .ym-hero p:not(.kick) { font-size: 14px; }
}

/* --- 文法の章（折りたたみ） --- */
.gh-ch { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); margin: 0 0 16px; }
.gh-ch > summary { display: flex; align-items: center; gap: 14px; padding: 14px 18px; cursor: pointer; list-style: none; }
.gh-ch > summary::-webkit-details-marker { display: none; }
.gh-ch-n { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--ink); color: var(--hl); font: 400 22px/1 var(--disp); }
.gh-ch-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.gh-ch-t small { font: 400 11.5px/1.2 var(--disp); letter-spacing: .08em; color: var(--red2); }
.gh-ch-t b { font-size: 20px; font-weight: 900; color: var(--ink); line-height: 1.3; }
.gh-ch-t em { font-style: normal; font-size: 13.5px; font-weight: 700; color: var(--ink2); line-height: 1.5; }
.gh-ch-c { flex: none; font-size: 13.5px; font-weight: 900; color: var(--ink); background: var(--paper2); border-radius: 999px; padding: 4px 10px; }
.gh-ch[open] > summary .gp2-chev { transform: rotate(180deg); background: var(--hl); }
.gh-ch > summary:hover .gp2-chev { background: var(--hl); }
.gh-ch > .gc-grid { padding: 4px 18px 20px; border-top: 1.5px dashed var(--line); padding-top: 16px; }
.gh-ch[open] > .gc-grid { animation: gin .25s ease both; }
.gh-grp > .gc-grid + .gh-ch, .gh-ch + .gc-grid { margin-top: 16px; }
.gd-h { margin: 14px auto 0; max-width: 620px; text-align: left; font-size: 16px; font-weight: 900; color: var(--ink); }
.gd-okl { max-width: 620px; margin: 6px auto 16px; display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; text-align: left; font-size: 14px; }
.gd-okl b { width: 100%; font-weight: 900; color: #0b7d55; }
.gd-okl a { color: var(--ink); font-weight: 700; background: #e6f4ee; border-radius: 999px; padding: 3px 10px; text-decoration: none; }
.gd-res a:has(i) { grid-template-columns: 34px 1fr auto; }
@media (max-width: 720px) {
  .gh-ch { border-radius: 16px; box-shadow: var(--shadow-lg); margin-bottom: 12px; }
  .gh-ch > summary { padding: 12px 12px; gap: 10px; }
  .gh-ch-n { width: 36px; height: 36px; font-size: 18px; border-radius: 10px; }
  .gh-ch-t b { font-size: 17px; }
  .gh-ch-t em { font-size: 12.5px; }
  .gh-ch-c { display: none; }
  .gh-ch > .gc-grid { padding: 12px 10px 14px; gap: 10px; }
}

/* --- 問題集（pdf/） --- */
.bk-hero { padding: 18px 0 8px; max-width: 760px; }
.bk-kick { margin: 0; font: 400 13px/1 var(--disp); letter-spacing: .12em; color: var(--red2); }
.bk-h1 { margin: 10px 0 12px; font: 400 clamp(32px, 7vw, 54px)/1.2 var(--disp); color: var(--ink); }
.bk-catch { margin: 0 0 10px; font-size: clamp(19px, 3.6vw, 24px); font-weight: 900; line-height: 1.55; color: var(--ink); }
.bk-sub { margin: 0; font-size: 15.5px; font-weight: 700; color: var(--ink2); }
.bk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 26px 22px; margin: 26px 0 40px; }
.bk-card { display: flex; flex-direction: column; gap: 14px; }
.bk-fig { padding: 6px 18px 10px 4px; }
.bk { position: relative; width: 100%; max-width: 230px; aspect-ratio: 182 / 257; margin: 0 auto; transform: perspective(1100px) rotateY(-16deg); transform-origin: 40% 50%; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.bk img, .bk-ph { position: relative; z-index: 2; display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 2px 6px 6px 2px; box-shadow: 16px 18px 28px rgba(17, 23, 46, .32), 2px 2px 0 rgba(17, 23, 46, .25); }
.bk-ph { display: grid; place-items: center; background: var(--c); color: #fff; font: 400 28px var(--disp); }
.bk::before { content: ""; position: absolute; z-index: 3; left: 0; top: 0; bottom: 0; width: 12px; border-radius: 2px 0 0 2px; background: linear-gradient(90deg, rgba(0, 0, 0, .28), rgba(255, 255, 255, .18) 45%, rgba(0, 0, 0, 0)); pointer-events: none; }
.bk::after { content: ""; position: absolute; z-index: 1; top: 4px; bottom: 4px; right: -11px; width: 14px; border-radius: 0 5px 5px 0; background: repeating-linear-gradient(90deg, #fffdf6 0 1.5px, #e4dfd0 1.5px 3px); box-shadow: 4px 6px 10px rgba(17, 23, 46, .18); }
@media (hover: hover) { .bk-card:hover .bk { transform: perspective(1100px) rotateY(-4deg) translateY(-6px); } }
.bk-body { display: flex; flex-direction: column; gap: 4px; }
.bk-k { margin: 0; font: 400 12.5px/1 var(--disp); letter-spacing: .08em; color: var(--c); }
.bk-body h3 { margin: 0; display: flex; align-items: baseline; gap: 10px; font-size: 24px; font-weight: 900; color: var(--ink); }
.bk-body h3 small { font-size: 13px; font-weight: 900; color: #fff; background: var(--c); border-radius: 6px; padding: 2px 8px; }
.bk-t { margin: 0; font-size: 14.5px; font-weight: 700; color: var(--ink2); }
.bk-spec { list-style: none; padding: 0; margin: 4px 0 6px; display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 13px; font-weight: 700; color: var(--ink2); }
.bk-spec li { white-space: nowrap; }
.bk-spec b { font: 800 21px var(--serif); color: var(--ink); margin-right: 2px; }
.bk-dl { display: block; text-align: center; font-size: 16px; font-weight: 900; color: #fff; background: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 12px; text-decoration: none; box-shadow: var(--shadow-lg); transition: transform .15s, box-shadow .15s; }
.bk-dl:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.bk-soon { margin: 0; text-align: center; font-size: 14.5px; font-weight: 900; color: var(--ink2); background: var(--paper2); border-radius: 12px; padding: 12px; }
.bk-sec { margin: 0 0 40px; }
.bk-smp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 14px; }
.bk-smp figure { margin: 0; }
.bk-smp img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow-lg); background: #fff; }
.bk-smp figcaption { margin-top: 10px; font-size: 14px; font-weight: 900; color: var(--ink); }
.bk-feat { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; counter-reset: f; }
.bk-feat li { counter-increment: f; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.bk-feat li::before { content: counter(f); width: 30px; height: 30px; border-radius: 50%; background: var(--hl); display: grid; place-items: center; font: 400 15px var(--disp); color: var(--ink); }
.bk-feat b { font-size: 16.5px; font-weight: 900; color: var(--ink); }
.bk-feat span { font-size: 14.5px; font-weight: 500; color: var(--ink2); line-height: 1.7; }
.bk-tips { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.bk-tips li { font-size: 15px; line-height: 1.75; color: var(--ink2); background: #fff; border-radius: 12px; padding: 12px 16px; }
.bk-tips b { display: block; font-size: 15.5px; font-weight: 900; color: var(--ink); }
.bk-more { font-size: 15px; font-weight: 700; color: var(--ink2); }
@media (max-width: 720px) {
  .bk-grid { grid-template-columns: 1fr; gap: 14px; margin: 18px 0 30px; }
  .bk-card { flex-direction: row; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 14px 14px 10px; }
  .bk-fig { flex: none; width: 112px; padding: 2px 10px 4px 0; }
  .bk { transform: perspective(700px) rotateY(-14deg); }
  .bk img, .bk-ph { box-shadow: 8px 10px 16px rgba(17, 23, 46, .3); }
  .bk::after { right: -7px; width: 9px; }
  .bk-body { flex: 1; min-width: 0; }
  .bk-body h3 { font-size: 20px; }
  .bk-t { font-size: 13px; line-height: 1.5; }
  .bk-spec { gap: 10px; margin: 2px 0 6px; font-size: 12px; }
  .bk-spec b { font-size: 17px; }
  .bk-dl { font-size: 14.5px; padding: 9px 8px; border-radius: 10px; box-shadow: var(--shadow); }
  .bk-soon { font-size: 13px; padding: 9px; }
  .bk-smp { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .bk-smp img { box-shadow: var(--shadow); border-width: 1.5px; }
  .bk-smp figcaption { font-size: 11.5px; line-height: 1.45; margin-top: 6px; }
  .bk-feat li { padding: 12px 14px; }
  .bk-tips li { font-size: 14px; padding: 10px 14px; }
}

/* --- 問題集の準拠アプリ（book/N/） --- */
.bka { max-width: 820px; }
.bka-hd { display: flex; align-items: center; gap: 20px; margin: 10px 0 16px; }
.bka-cv { flex: none; display: block; width: 104px; transform: perspective(700px) rotateY(-14deg); }
.bka-cv img { display: block; width: 100%; height: auto; border-radius: 2px 5px 5px 2px; box-shadow: 8px 10px 18px rgba(17, 23, 46, .3); }
.bka-ttl { min-width: 0; }
.bka-k { margin: 0; font: 400 12.5px/1.3 var(--disp); letter-spacing: .06em; color: var(--c); }
.bka-h1 { margin: 6px 0 6px; font: 400 clamp(28px, 6vw, 40px)/1.2 var(--disp); color: var(--ink); }
.bka-h1 small { display: block; font-family: var(--ja); font-weight: 900; font-size: 15px; color: var(--ink2); margin-top: 4px; }
.bka-sub { margin: 0; font-size: 14.5px; font-weight: 700; color: var(--ink2); line-height: 1.6; }
.bka-prog { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; margin-bottom: 18px; }
.bka-pbar { height: 12px; border-radius: 99px; background: var(--paper2); overflow: hidden; }
.bka-pbar i { display: block; height: 100%; width: 0; background: var(--c); border-radius: 99px; transition: width .6s cubic-bezier(.2, .7, .2, 1); }
.bka-prog p { margin: 8px 0 0; font-size: 14px; font-weight: 700; color: var(--ink2); }
.bka-prog p b { font: 800 22px var(--serif); color: var(--ink); margin-right: 2px; }
.bka-load { text-align: center; padding: 40px 0; font-weight: 700; color: var(--ink2); }
.bka-numbox { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0 0; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; font-weight: 900; }
.bka-numbox input { width: 5.2em; font: 800 18px var(--serif); padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; margin-left: 4px; color: var(--ink); background: #fff; }
.bka-numbox .gbtn { margin-left: auto; }
.bka-h2 { margin: 26px 0 10px; font-size: 18px; font-weight: 900; color: var(--ink); }
.bka-chs { display: grid; gap: 8px; }
.bka-ch { display: grid; grid-template-columns: 34px 1fr 90px auto; align-items: center; gap: 12px; width: 100%; text-align: left; font: inherit; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; cursor: pointer; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.bka-ch:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.bka-ch > b { width: 32px; height: 32px; border-radius: 9px; background: var(--c); color: #fff; display: grid; place-items: center; font: 400 16px var(--disp); }
.bka-ch strong { display: block; font-size: 15.5px; font-weight: 900; }
.bka-ch em { font-style: normal; font: 600 12.5px var(--serif); color: var(--ink2); }
.bka-chp { height: 8px; border-radius: 99px; background: var(--paper2); overflow: hidden; }
.bka-chp i { display: block; height: 100%; background: var(--c); }
.bka-ch small { font-size: 12.5px; font-weight: 900; color: var(--ink2); white-space: nowrap; }
.bka-map { margin: 22px 0 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 14px; }
.bka-map > summary { cursor: pointer; list-style: none; padding: 12px 0; font-size: 15.5px; font-weight: 900; color: var(--ink); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.bka-map > summary::-webkit-details-marker { display: none; }
.bka-map > summary::after { content: "＋"; margin-left: auto; color: var(--red2); }
.bka-map[open] > summary::after { content: "－"; }
.bka-leg { display: flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--ink2); }
.bka-leg i { width: 12px; height: 12px; border-radius: 3px; background: var(--paper2); margin-left: 6px; }
.bka-cells { display: grid; grid-template-columns: repeat(auto-fill, minmax(15px, 1fr)); gap: 3px; padding-bottom: 6px; }
.bka-cells button { aspect-ratio: 1; border: 0; border-radius: 3px; padding: 0; background: var(--paper2); cursor: pointer; }
.bka-cells button:hover { outline: 2px solid var(--ink); }
.bka-leg i.s1, .bka-cells .s1 { background: color-mix(in srgb, var(--c) 30%, #fff); }
.bka-cells .s2 { background: color-mix(in srgb, var(--c) 60%, #fff); }
.bka-leg i.s3, .bka-cells .s3 { background: var(--c); }
.bka-leg i.sm, .bka-cells .sm { background: #e5352b; }
.bka-maph { margin: 4px 0 12px; font-size: 12.5px; font-weight: 700; color: var(--ink2); }
.bka-no { font-family: var(--serif) !important; background: var(--c) !important; color: #fff !important; }
.bka-ck { display: inline-flex; gap: 3px; margin-left: auto; }
.bka-ck i { width: 14px; height: 14px; border: 2px solid var(--ink2); border-radius: 3px; background: #fff; transition: background .3s; }
.bka-ck i.on { background: var(--c); border-color: var(--c); }
.bka-ans { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 12px 0 6px; padding: 10px 14px; background: #fff7f4; border-radius: 10px; }
.bka-ans b { font: 700 19px var(--serif); color: #c42d0c; }
.bka-ans span { font-size: 15px; font-weight: 900; color: #c42d0c; }
.bka-lb { display: inline-block; font-size: 12px; font-weight: 900; color: #fff; background: var(--ink); border-radius: 5px; padding: 1px 7px; margin-right: 8px; }
.bka-links { margin: 8px 0 12px; font-size: 14px; font-weight: 700; }
.bka-links a { color: var(--blue); }
.bka-wja { margin: 6px 0 8px; font-size: 15px; font-weight: 700; color: var(--ink2); }
.bka-in { font: 700 20px var(--serif); width: auto; min-width: 4.5em; padding: 2px 8px; margin: 0 4px; border: 0; border-bottom: 1px solid var(--line); background: #fffbe0; color: var(--ink); text-align: center; border-radius: 6px 6px 0 0; }
.bka-in:focus { outline: 3px solid var(--hl2); outline-offset: 2px; }
.bka-wh { margin: 10px 0 0; font-size: 14px; font-weight: 700; color: var(--ink2); }
.bka-wbtn { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.bka-okw { background: #dcf3e7 !important; color: #0b6b47 !important; }
.bka-ngw { background: #ffe5df !important; color: #c42d0c !important; }
.bka-your { margin: 0 0 6px; font-size: 14px; font-weight: 700; color: var(--ink2); }
.bka-note { margin: 22px 0 0; font-size: 13.5px; line-height: 1.75; color: var(--ink2); }
.bk-app { display: block; text-align: center; font-size: 15px; font-weight: 900; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; margin-top: 8px; text-decoration: none; transition: transform .15s; }
.bk-app:hover { transform: translateY(-2px); }
@media (max-width: 720px) {
  .bka-hd { gap: 14px; margin-top: 4px; }
  .bka-cv { width: 78px; }
  .bka-sub { font-size: 13px; }
  .bka-ch { grid-template-columns: 30px 1fr auto; gap: 10px; padding: 9px 12px; }
  .bka-ch > b { width: 28px; height: 28px; font-size: 14px; }
  .bka-chp { display: none; }
  .bka-numbox .gbtn { margin-left: 0; width: 100%; }
  .bka-cells { grid-template-columns: repeat(auto-fill, minmax(12px, 1fr)); gap: 2px; }
  .bk-app { font-size: 13.5px; padding: 8px; margin-top: 6px; border-radius: 10px; }
}

@media (max-width: 720px) { .bka .gs-sub { grid-template-columns: 1fr 1fr; gap: 8px; } .bka .gs-sub button { padding: 10px 12px; } .bka .gs-sub strong { font-size: 15px; } .bka .gs-sub span { font-size: 12px; line-height: 1.45; } }

/* --- 音声の再生ボタン --- */
.say { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-left: 8px; vertical-align: middle; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; transition: transform .15s, background .15s; flex: none; }
.say:hover { transform: scale(1.08); }
.say.is-on { background: var(--ink); color: #fff; animation: say-pulse 1s ease-in-out infinite; }
@keyframes say-pulse { 50% { box-shadow: 0 0 0 6px rgba(17, 23, 46, .15); } }
.say-h { width: 46px; height: 46px; position: relative; top: -4px; }
.say-wide { width: auto; height: auto; border-radius: 99px; gap: 6px; grid-auto-flow: column; padding: 7px 16px 7px 12px; margin: 0 0 10px; font: 900 14px var(--ja); }
.ym-dl p .say { width: 34px; height: 34px; margin-left: 6px; }

/* --- このサイトについて（about/） --- */
.ab-hero { background: var(--paper2); border-bottom: 1px solid var(--line); padding: 26px 0 22px; position: relative; overflow: hidden; }
.ab-hero .wrap { position: relative; }
.ab-hero-owl { position: absolute; right: 0; top: -6px; width: 180px; height: auto; }
.ab-k { margin: 0; font: 400 12.5px/1.3 var(--disp); letter-spacing: .08em; color: var(--red2); text-transform: uppercase; }
.ab-h1 { margin: 6px 0 12px; font: 900 clamp(28px, 6vw, 40px)/1.25 var(--ja); color: var(--ink); max-width: calc(100% - 190px); }
.ab-h1 small { display: block; margin-top: 6px; font-size: 15px; font-weight: 700; color: var(--ink2); }
.ab-lead { max-width: 720px; font-size: 16px; line-height: 1.9; color: var(--ink); margin: 0 0 14px; }
.ab-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.ab-chips span { background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 3px 12px; font-size: 13px; font-weight: 900; color: var(--ink); }
.ab-toc { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; font-weight: 700; }
.ab-toc a { color: var(--blue); }
.ab-wrap { padding-top: 6px; padding-bottom: 30px; }
.ab-sec { margin: 34px 0 0; scroll-margin-top: 80px; }
.ab-h2 { margin: 6px 0 12px; font: 900 clamp(21px, 4.6vw, 27px)/1.35 var(--ja); color: var(--ink); }
.ab-sec > p { font-size: 15.5px; line-height: 1.9; color: var(--ink); max-width: 760px; }
.ab-list { margin: 0 0 12px; padding-left: 1.2em; font-size: 15px; line-height: 1.85; }
.ab-list li { margin: 4px 0; }
.ab-note { font-size: 13.5px !important; color: var(--ink2) !important; }
.ab-table { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; margin: 0 0 16px; }
.ab-table a, .ab-table p { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0; padding: 10px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 700; }
.ab-table b { font: 800 20px var(--serif); white-space: nowrap; }
.ab-table b small { font: 700 12px var(--ja); }
.ab-table .ab-sum { background: var(--ink); color: #fff; }
.ab-corners { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.ab-corners a { display: block; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.ab-corners a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.ab-corners b { display: block; font-size: 16px; font-weight: 900; }
.ab-corners span { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.6; color: var(--ink2); font-weight: 700; }
.ab-ranks { display: grid; gap: 8px; margin: 0 0 14px; }
.ab-ranks > div { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.ab-ranks > div > b { flex: none; width: 40px; height: 40px; border-radius: 10px; color: #fff; display: grid; place-items: center; font: 400 20px var(--disp); }
.ab-ranks p { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--ink); }
.ab-ranks strong { display: block; font-size: 15.5px; }
.ab-steps { list-style: none; counter-reset: ab; margin: 0; padding: 0; display: grid; gap: 8px; }
.ab-steps li { counter-increment: ab; position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 12px 56px; }
.ab-steps li::before { content: counter(ab); position: absolute; left: 14px; top: 12px; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 400 15px var(--disp); }
.ab-steps b { display: block; font-size: 16px; font-weight: 900; color: var(--ink); }
.ab-steps span { display: block; margin-top: 3px; font-size: 14.5px; line-height: 1.75; color: var(--ink); }
.ab-maker { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 18px; align-items: start; }
.ab-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; position: relative; }
.ab-card-owl { position: absolute; right: 10px; top: -30px; width: 84px; height: auto; }
.ab-role { margin: 0; padding-right: 86px; font-size: 12.5px; font-weight: 900; color: var(--red2); }
.ab-name { margin: 4px 0 10px; font: 900 28px/1.2 var(--ja); color: var(--ink); }
.ab-name small { margin-left: 10px; font-size: 13px; font-weight: 700; color: var(--ink2); }
.ab-card > p { font-size: 14.5px; line-height: 1.8; color: var(--ink); }
.ab-road { list-style: none; margin: 10px 0; padding: 0 0 0 14px; border-left: 3px solid var(--paper2); }
.ab-road li { position: relative; margin: 6px 0; font-size: 14px; font-weight: 700; color: var(--ink2); }
.ab-road li::before { content: ""; position: absolute; left: -21px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 2.5px solid var(--ink2); }
.ab-road li.now { color: var(--ink); font-weight: 900; }
.ab-road li.now::before { background: var(--red2); border-color: var(--red2); }
.ab-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 10px 0; }
.ab-badges span { background: var(--ink); color: #fff; border-radius: 6px; padding: 3px 10px; font-size: 13px; font-weight: 900; }
.ab-badges em { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--ink2); }
.ab-btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.ab-xbtn { background: #000 !important; color: #fff !important; }
.ab-msg { background: #fff; border-radius: 16px; padding: 18px 20px; }
.ab-msg-h { margin: 6px 0 12px; font: 900 21px/1.5 var(--ja); color: var(--ink); }
.ab-msg p { font-size: 15px; line-height: 1.95; color: var(--ink); margin: 0 0 12px; }
.ab-sign { text-align: right; font-weight: 900; }
.ab-sis { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; margin: 12px 0 4px; }
.ab-sis a { display: block; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; }
.ab-sis b { display: block; font-size: 15.5px; font-weight: 900; }
.ab-sis span { display: block; margin-top: 2px; font-size: 13px; color: var(--ink2); font-weight: 700; }
.ab-dl { margin: 0; display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 10px 14px; font-size: 15px; line-height: 1.8; }
.ab-dl dt { font-weight: 900; color: var(--ink); }
.ab-dl dd { margin: 0; color: var(--ink); }
.ab-copy { margin-top: 18px !important; font-size: 13.5px !important; color: var(--ink2) !important; }
@media (max-width: 720px) {
  .ab-hero-owl { width: 96px; top: 0; }
  .ab-h1 { max-width: calc(100% - 96px); font-size: clamp(20px, 6.4vw, 28px); }
  .ab-lead { font-size: 15px; }
  .ab-maker { grid-template-columns: 1fr; }
  .ab-msg { padding: 16px; }
  .ab-dl { grid-template-columns: 1fr; gap: 2px 0; }
  .ab-dl dd { margin-bottom: 10px; }
}


/* 原田英語のアプリ（ホーム・このサイトについて） */
.apps-lead { margin: -4px 0 14px; color: var(--ink2); font-size: 15px; line-height: 1.7; }
.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin: 0 0 36px; }
.app { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; background: var(--card); border-radius: 16px; box-shadow: 0 1px 2px rgba(17, 23, 46, .06), 0 6px 18px rgba(17, 23, 46, .07); color: var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.app:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(17, 23, 46, .08), 0 12px 28px rgba(17, 23, 46, .12); }
.app small { font-size: 11.5px; font-weight: 900; letter-spacing: .06em; color: var(--red2); }
.app b { font-size: 17px; font-weight: 900; line-height: 1.4; }
.app span { font-size: 13.5px; line-height: 1.6; color: var(--ink2); }
.app em { margin-top: auto; padding-top: 6px; font-style: normal; font-size: 13px; font-weight: 900; color: var(--blue); }
@media (max-width: 760px) { .apps { grid-template-columns: 1fr 1fr; gap: 8px; } .app { padding: 12px 12px; } .app b { font-size: 14.5px; } .app span, .app em { display: none; } }
.ab-h3 { margin: 22px 0 10px; font-size: 18px; font-weight: 900; }
.ft-h { color: #fff; margin: 18px 0 6px; font-size: 13px; font-weight: 900; letter-spacing: .08em; }
.ft-apps { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; max-width: 760px; margin: 0 auto 14px; font-size: 13.5px; }
.ft-apps a { color: inherit; }

/* メニュー（ハンバーガー） */
.drawer-in { width: min(400px, 92vw); border-left: 0; box-shadow: -12px 0 40px rgba(10, 14, 32, .25); padding: 16px 16px 48px; }
.drawer-home { font-size: 18px; gap: 10px; margin: 2px 52px 12px 0; }
.drawer-home span { display: flex; flex-direction: column; line-height: 1.2; }
.drawer-home small { font-family: var(--ja); font-size: 12px; font-weight: 700; color: var(--sub); }
.drawer-s { display: flex; align-items: center; background: var(--card); border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); padding: 2px 4px 2px 14px; margin: 0 0 14px; }
.drawer-s input { flex: 1; min-width: 0; border: 0; background: none; font: 700 15px var(--ja); color: var(--ink); padding: 10px 0; outline: none; }
.drawer-s button { width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.drawer-s svg { width: 18px; height: 18px; }
.drawer-top { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0 0 6px; }
.drawer-top a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 2px 8px; background: var(--card); border-radius: 14px; text-decoration: none; color: var(--ink); font-size: 12px; font-weight: 900; text-align: center; line-height: 1.25; box-shadow: 0 1px 2px rgba(17, 23, 46, .06), 0 4px 12px rgba(17, 23, 46, .06); }
.drawer-top img { width: 52px; height: 52px; object-fit: cover; border-radius: 12px; }
.drawer-top a:hover { transform: translateY(-2px); }
.drawer-h { margin: 20px 0 4px; padding-left: 4px; font-size: 12px; color: var(--red2); letter-spacing: .12em; }
.drawer-l li + li { border-top: 1px solid var(--line); }
.drawer-l li a { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 11px 6px; border-radius: 0; }
.drawer-l li a b { font-size: 15px; font-weight: 900; }
.drawer-l li a small { font-size: 12px; font-weight: 500; color: var(--sub); text-align: right; }
.drawer li a:hover { background: rgba(255, 226, 74, .45); }
.drawer-apps { display: flex; flex-wrap: wrap; gap: 6px; }
.drawer-apps li a { padding: 7px 12px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); font-size: 13px; }
.drawer-he { display: block; margin: 16px 4px 0; font-size: 13.5px; font-weight: 900; color: var(--blue); }

/* 英文 100 本：音声ボタンと、印刷版の QR コード */
.rd-say { margin: 4px 0 12px; }
.pr-qr { float: right; display: flex; flex-direction: column; align-items: center; gap: 2px; width: 24mm; margin: 0 0 2mm 3mm; font-size: 8px; font-weight: 700; line-height: 1.3; text-align: center; color: var(--ink); }
.pr-qr-svg { width: 22mm; height: 22mm; display: block; }
@media screen { .pr-qr { width: 104px; font-size: 11px; } .pr-qr-svg { width: 96px; height: 96px; } }

/* =====================================================================
   新しい見た目（2026-11-18）：多読ベストのように、明るい紙の色・丸ゴシック・ふんわりした影
   ===================================================================== */
body { background: var(--paper); }
/* ヘッダー：白くすける明るい帯 */
.hd { background: color-mix(in srgb, var(--paper) 84%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); color: var(--ink); border-bottom: 1px solid var(--line); padding: 8px 16px; gap: 10px; }
.logo { color: var(--ink); }
.logo img { background: linear-gradient(140deg, #fff3c4, #ffd36e); border: 0; box-shadow: var(--shadow); }
.logo span { font-family: var(--round); font-weight: 900; font-size: 18px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 1px; }
.logo small { font-family: var(--ja); color: var(--sub); font-weight: 700; letter-spacing: .08em; }
.hd-btn { border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 50%; box-shadow: 0 1px 2px rgba(60, 40, 20, .06); }
.hd-btn:hover { border-color: var(--line); color: var(--red); box-shadow: var(--shadow); }
.drawer-x { background: var(--card); }
.hd-guide { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 999px; background: #eefbf3; border: 1px solid #bfe8cf; color: #0b6b48; font-weight: 900; font-size: 13.5px; text-decoration: none; white-space: nowrap; flex: none; }
.hd-guide i { width: 14px; height: 18px; background: linear-gradient(90deg, var(--green) 50%, var(--hl2) 50%); border-radius: 3px 3px 8px 8px; }
.hd-guide:hover { background: #e0f6e9; }
@media (max-width: 560px) { .hd-guide { display: none; } }
.lv { background: #fff4cc; border: 1px solid #f3dc8a; }

/* 見出し：蛍光ペンをやめて、すっきり。上の英語は色のグラデーション */
.h1, .h2 { font-family: var(--round); font-weight: 900; letter-spacing: .01em; }
.h1 small, .h2[data-en]::before { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; }
.h2 { font-size: clamp(22px, 4.4vw, 30px); margin: 56px 0 22px; padding: 0; }
.h2::after { left: 0; right: auto; bottom: -10px; width: 44px; height: 4px; border-radius: 4px; background: var(--grad); transform: none; z-index: 0; }

/* ボタン：丸いピル。大事なボタンはグラデーション */
.btn { background: var(--ink); color: #fff; border: 0; box-shadow: 0 10px 24px -12px rgba(29, 33, 53, .7); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(29, 33, 53, .75); color: #fff; }
.btn:active { transform: translateY(0); }
.btn-r, .btn-y { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -10px rgba(229, 53, 43, .75); }
.btn-r:hover, .btn-y:hover { color: #fff; box-shadow: 0 14px 30px -10px rgba(229, 53, 43, .8); }
.btn-w { background: var(--card); color: var(--ink); border: 1.5px solid var(--line); box-shadow: none; }
.btn-w:hover { color: var(--ink); box-shadow: var(--shadow); }
.more-btn button, .tool, .pager a, .pager span { border: 1px solid var(--line); box-shadow: none; }
.more-btn button:hover { background: var(--paper2); }
.pager .pg-cur { background: var(--grad); color: #fff; border-color: transparent; }
.pager .pg-gap { border: 0; }
.chip { border: 0; border-radius: 999px; padding: 1px 10px; }
.rk { border: 0; transform: none; border-radius: 8px; box-shadow: none; font-family: var(--round); font-weight: 900; }

/* カード類の角を少し丸く */
.rows, .lead, .faq details, .lessons a { border-radius: var(--rad); }
.lessons a:hover { background: var(--card); box-shadow: var(--shadow-lg); }
.lessons small { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; }
.lessons b { font-family: var(--round); font-weight: 900; }
.rows a:hover { background: #fff7e6; }
.faq summary::before { font-family: var(--round); font-weight: 900; }

/* ホームの上：大きな見出しはグラデーションの文字、コラージュは影だけでふんわり */
.hero2 { background: radial-gradient(900px 500px at 85% -10%, #ffe9cf 0, transparent 60%), radial-gradient(700px 420px at -10% 110%, #fff1c9 0, transparent 60%), var(--paper); border-bottom: 0; }
.hero2-in { padding: 44px 16px 48px; }
.kick { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; }
.kick i { background: var(--red); }
.hero2-h1 { font-family: var(--round); font-weight: 900; letter-spacing: 0; line-height: 1.15; }
.hero2-h1 em { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.hero2-h1 em .ch { background: var(--grad); background-size: 700% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero2-name { color: var(--sub); font-weight: 700; }
.hero2-p { color: var(--ink2); font-weight: 500; line-height: 1.9; }
.cl { border: 0; border-radius: 26px; box-shadow: var(--shadow-lg); }
.guide-btn { border: 1px solid #bfe8cf; background: #f2fcf6; border-radius: 999px; padding: 8px 22px 8px 46px; box-shadow: none; }
.guide-btn::before { border: 0; left: 16px; }
.guide-btn:hover { box-shadow: var(--shadow); }
.sbox { border: 1px solid var(--line); box-shadow: var(--shadow); }
.sbox button { background: var(--grad); }
.nums b { font-family: var(--serif); font-weight: 800; letter-spacing: -.01em; }

/* ===== 更新情報（What's New?）：全文を表示。古いものは「もっと見る」で開く ===== */
.news { position: relative; max-width: 640px; background: var(--card); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-lg); padding: 16px 20px 12px; }
.news-h { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; }
.news-badge { font: 900 14px var(--serif); letter-spacing: .02em; color: #fff; background: var(--grad); padding: 3px 14px; border-radius: 999px; white-space: nowrap; }
.news-live { display: inline-flex; align-items: center; gap: 6px; font: 900 13px var(--round); color: var(--red); white-space: nowrap; }
.news-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: newsdot 1.6s ease-out infinite; }
@keyframes newsdot { 0% { box-shadow: 0 0 0 0 rgba(229, 53, 43, .55); } 100% { box-shadow: 0 0 0 9px rgba(229, 53, 43, 0); } }
.news-all { margin-left: auto; font-size: 13px; font-weight: 900; color: var(--blue); white-space: nowrap; text-decoration: none; }
.news-all:hover { text-decoration: underline; }
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li + li { border-top: 1px dashed var(--line); }
.news-list a { display: grid; grid-template-columns: 6.4em minmax(0, 1fr); align-items: baseline; gap: 10px; padding: 9px 8px; margin: 0 -8px; border-radius: 12px; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 700; line-height: 1.65; transition: background .15s; }
.news-list a:hover { background: var(--paper2); }
.news-list a:hover .nt { color: var(--red2); }
.news-list time { font-size: 12.5px; font-weight: 700; color: var(--sub); font-variant-numeric: tabular-nums; white-space: nowrap; }
.news-list .nt { min-width: 0; overflow-wrap: anywhere; }
.news-list em { display: inline-block; font-style: normal; font-size: 11px; font-weight: 900; color: var(--red2); background: #fdecea; border-radius: 999px; padding: 0 8px; margin-right: 6px; line-height: 1.7; vertical-align: 1px; }
.news-list .is-new .nt::after { content: "NEW"; display: inline-block; margin-left: 6px; font: 900 10px var(--serif); letter-spacing: .04em; color: #fff; background: var(--red); border-radius: 999px; padding: 1px 7px; vertical-align: 2px; }
.news [data-old] { display: none; }
.news.open [data-old] { display: list-item; }
.news-more { display: block; width: 100%; margin: 6px 0 2px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font-weight: 900; font-size: 14px; }
.news-more:hover { background: var(--paper2); }
.news-more::after { content: " ▾"; color: var(--red); }
.news.open .news-more::after { content: " ▴"; }
.news-sp-all { display: none; }
@media (max-width: 560px) {
  .news { padding: 14px 14px 10px; border-radius: 20px; }
  /* スマホは 3 件だけ。続きは更新履歴のページへ */
  .news [data-pc], .news [data-old], .news.open [data-old] { display: none; }
  .news-more { display: none; }
  .news-sp-all { display: block; margin: 6px 0 2px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font-weight: 900; font-size: 14px; text-align: center; text-decoration: none; }
  .news-sp-all:hover { background: var(--paper2); }
  .news-live { display: none; }
  .news-list a { grid-template-columns: 1fr; gap: 0; padding: 8px; font-size: 14px; }
}
/* 更新履歴のページ */
.news-lead { color: var(--ink2); }
.news-day { margin: 28px 0 8px; font: 900 16px var(--round); color: var(--ink); }
.news-day time { display: inline-block; background: #fff4cc; border-radius: 999px; padding: 2px 14px; }
.news-page { background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 4px 18px; }
.news-page a { grid-template-columns: 1fr; gap: 0; }
.news-page time { display: none; }

/* 案内のフクロウ */
.guide-owl img { border: 0; box-shadow: var(--shadow); background: linear-gradient(140deg, #fff3c4, #ffd36e); }
.guide-owl span { border: 1px solid var(--line); box-shadow: var(--shadow); }

/* このサイトについて：サイト情報・共通テストで数えた結果 */
.ab-info { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.ab-info > div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.ab-info dt { font-size: 12.5px; font-weight: 900; color: var(--red2); }
.ab-info dd { margin: 2px 0 0; font-size: 15px; line-height: 1.7; font-weight: 700; color: var(--ink); }
.ab-upd { margin: 10px 0 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.ab-upd summary { cursor: pointer; font-weight: 900; color: var(--ink); }
.ab-upd ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.ab-upd li { display: grid; grid-template-columns: 3.4em minmax(0, 1fr); gap: 8px; font-size: 14px; line-height: 1.7; color: var(--ink); }
.ab-upd time { font: 700 13px var(--serif); color: var(--ink2); padding-top: 1px; }
.ab-steps + .ab-h3 { margin-top: 22px; }
.ab-kt { display: grid; gap: 0; margin: 0 0 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.ab-kt p { display: grid; grid-template-columns: 7.5em minmax(0, 1fr) 4.5em; gap: 10px; align-items: center; margin: 0; padding: 9px 14px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink); font-weight: 700; }
.ab-kt p:first-child { border-top: 0; }
.ab-kt small { display: block; font-size: 12px; color: var(--ink2); font-weight: 700; }
.ab-kt b { font: 800 20px var(--serif); text-align: right; color: var(--red2); }
.ab-kt .ab-kt-h { background: var(--ink); color: #fff; font-size: 12.5px; }
.ab-kt .ab-kt-h span:last-child { text-align: right; }
.ab-h4 { margin: 16px 0 8px !important; font-weight: 900; }
.ab-ktop { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px; }
.ab-ktop a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 700; }
.ab-ktop a > span { font-size: 15.5px; }
.ab-ktop small { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink2); white-space: nowrap; }
@media (max-width: 560px) { .ab-kt p { grid-template-columns: 5.6em minmax(0, 1fr) 3.6em; padding: 9px 10px; font-size: 13.5px; } }

/* ホーム：熟語力テストの入口 */
.lvban { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 18px; align-items: center; max-width: 1120px; margin: 18px auto 0; padding: 16px 18px; background: #11172e; color: #fff; border-radius: 20px; text-decoration: none; box-shadow: var(--shadow-lg); width: calc(100% - 32px); }
.lvban-art { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.lvban-art img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 10px; display: block; }
.lvban-tx small { display: block; font: 900 12px var(--ja); letter-spacing: .14em; color: var(--hl); }
.lvban-tx b { display: block; font: 400 clamp(20px, 5vw, 28px)/1.35 var(--disp); color: #fff; margin: 2px 0; }
.lvban-tx > span { display: block; font-size: 14.5px; line-height: 1.7; color: #dfe3f5; font-weight: 700; }
.lvban:hover .lvban-go { transform: translateY(-2px); }
@media (max-width: 640px) { .lvban { grid-template-columns: 1fr; } .lvban-go { justify-self: stretch; justify-content: center; } }

/* ===== 赤シート：どのページでも右下のボタンで出し入れ。一覧の上のボタンも大きく ===== */
.rs-fab { position: fixed; right: 14px; bottom: 16px; z-index: 37; display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 18px 0 12px; border: 0; border-radius: 999px; background: linear-gradient(160deg, #ff4a52, #d4121c); color: #fff; box-shadow: 0 12px 26px -10px rgba(180, 0, 10, .75), inset 0 1px 0 rgba(255, 255, 255, .45); transition: transform .15s, box-shadow .15s; }
.rs-fab[hidden] { display: none; }
.rs-fab:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(180, 0, 10, .8), inset 0 1px 0 rgba(255, 255, 255, .45); }
.rs-fab-film { width: 30px; height: 22px; border-radius: 5px; background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0 35%, rgba(255, 255, 255, .6) 40%, rgba(255, 255, 255, 0) 47%), rgba(255, 255, 255, .28); border: 1.5px solid rgba(255, 255, 255, .85); transform: rotate(-8deg); }
.rs-fab-t { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.rs-fab-t b { font: 900 15px var(--round); }
.rs-fab-t small { font-size: 11px; font-weight: 900; opacity: .92; }
.rs-fab .rs-fab-off, .rs-fab[aria-pressed="true"] .rs-fab-on { display: none; }
.rs-fab[aria-pressed="true"] .rs-fab-off { display: inline; }
.rs-fab[aria-pressed="true"] { background: #fff; color: #c0281f; box-shadow: var(--shadow-lg); }
.rs-fab[aria-pressed="true"] .rs-fab-film { background: linear-gradient(160deg, #ff4a52, #d4121c); border-color: #c0281f; }
/* 赤シートを使えるページでは、上へボタンをその上に */
body.has-sheet .totop { bottom: 84px; }
/* 赤シートをのせている間は、ボタンをフィルムより上の層に（フィルムに混ざって見えなくならないように） */
body.sheet-on .rs-fab { z-index: 38; }
@media print { .rs-fab { display: none !important; } }
@media (max-width: 560px) { .rs-fab { height: 52px; padding: 0 16px 0 10px; right: 12px; bottom: 12px; } body.has-sheet .totop { bottom: 76px; right: 12px; } }

/* 一覧の上の「赤シートをのせる」：大きく、説明つき */
.tool { padding: 10px 20px 10px 14px; gap: 12px; border: 1px solid #f6c9c5; background: #fff5f4; border-radius: 18px; text-align: left; box-shadow: var(--shadow); }
.tool::before { width: 40px; height: 28px; flex: none; }
.tool > span { display: flex; flex-direction: column; line-height: 1.35; }
.tool b { font: 900 16px var(--round); color: #c0281f; }
.tool small { font-size: 12px; font-weight: 700; color: var(--sub); }
.tool:hover { box-shadow: var(--shadow-lg); }
.tool[aria-pressed="true"] { background: #fff; border-color: var(--line); }
.tool[aria-pressed="true"] b::after { content: "（いまのせています・押すと外す）"; font: 700 12px var(--ja); color: var(--sub); margin-left: 4px; }
/* 単語ページの意味・長文の和訳の熟語も、赤シートで消えるように色をそろえる */
body.sheet-on .e-ja .sheet, body.sheet-on .top10 .sheet, body.sheet-on .rd-jid { color: #ff5a3c; }

/* 練習問題：印刷用のワークシート */
.pw { margin-top: 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; box-shadow: var(--shadow); scroll-margin-top: 80px; }
.pw-h { margin: 0; font: 900 20px/1.4 var(--disp); color: var(--ink); }
.pw-lead { margin: 4px 0 0; font-size: 14.5px; line-height: 1.8; color: var(--ink); }
.pw .opts { display: flex; flex-wrap: wrap; gap: 6px; }
.pw-quick .opt { font-size: 15px; padding: 8px 14px; }
.pw-plan { margin: 16px 0 0; background: #fff8d6; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-size: 15px; line-height: 1.8; color: var(--ink); }
.pw-plan.ng { background: #ffe5e2; }
.pw .set-go { margin-top: 12px; }
.pw .btn[disabled] { opacity: .45; pointer-events: none; }
.pw-note { margin: 10px 0 0; font-size: 13px; line-height: 1.7; color: var(--ink2); }

/* マイページ（2026-11-18）：学習の記録・カレンダー・タブ・最高記録 */
.my-h { font-size: 19px; font-weight: 900; margin: 28px 0 10px; color: var(--ink); }
.my-rec { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; box-shadow: var(--shadow); }
.rec-lv { display: flex; gap: 14px; align-items: center; }
.rec-badge { flex: none; width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, var(--red), var(--orange)); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.rec-badge small { font-size: 12px; font-weight: 700; }
.rec-badge b { font-size: 30px; font-weight: 900; }
.rec-lv-t { flex: 1; min-width: 0; }
.rec-lv-t b { display: block; font-size: 18px; font-weight: 900; color: var(--ink); }
.rec-lv-t span { font-size: 13px; color: var(--ink2); }
.rec-bar { height: 10px; border-radius: 999px; background: var(--paper2); margin: 6px 0 4px; overflow: hidden; }
.rec-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--red), var(--orange)); }
.rec-nums { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 14px; }
.rec-nums div { background: var(--paper); border-radius: 12px; padding: 8px 4px; text-align: center; font-size: 13px; color: var(--ink); }
.rec-nums b { font-size: 22px; font-weight: 900; }
.rec-nums span { display: block; font-size: 12px; color: var(--ink2); margin-top: 2px; }
.rec-cal { margin-top: 16px; }
.rec-cal-h { font-size: 14px; font-weight: 900; margin: 0 0 6px; color: var(--ink); }
.cal-wd, .cal { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-wd li { text-align: center; font-size: 12px; color: var(--ink2); font-weight: 700; }
.cal { margin-top: 4px; }
.cal li { aspect-ratio: 1.25; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.15; font-size: 12px; color: var(--ink2); }
.cal li span { font-weight: 700; }
.cal li i { font-style: normal; font-size: 11px; font-weight: 900; }
.cal-0 { background: var(--paper2); }
.cal-1 { background: #ffe8c2; color: var(--ink) !important; }
.cal-2 { background: #ffc078; color: var(--ink) !important; }
.cal-3 { background: #ff9b3d; color: var(--ink) !important; }
.cal-4 { background: var(--red2); color: #fff !important; }
.cal li.is-today { outline: 2.5px solid var(--ink); outline-offset: -2px; }
.cal-key { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 12px; color: var(--ink2); margin: 8px 0 0; }
.cal-key i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.rec-empty { margin: 0; line-height: 1.8; color: var(--ink); }
.my-stats { grid-template-columns: repeat(4, 1fr); }
.my-stats button { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 4px; text-align: center; box-shadow: var(--shadow); font: inherit; font-size: 14px; color: var(--ink); cursor: pointer; }
.my-stats button:hover { background: #fff6c9; }
.my-stats button b { display: block; font-weight: 900; font-size: 26px; color: var(--ink); }
.my-stats button small { color: var(--ink2); }
.my-tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.my-tabs button { padding: 9px 4px; font-size: 15px; white-space: nowrap; }
.my-note { font-size: 13px; color: var(--ink2); margin: 0 0 8px; line-height: 1.7; }
.rows .my-day { padding: 8px 16px; background: var(--paper2); font-size: 13px; font-weight: 900; color: var(--ink); }
.rows .my-empty { padding: 16px; line-height: 1.8; color: var(--ink); }
.rows a.sq-row { display: flex; gap: 10px; align-items: center; }
.sq-w { font-weight: 700; overflow-wrap: anywhere; }
.my-clear { text-align: center; margin: 12px 0 0; }
.my-clear button { background: none; border: 0; color: var(--ink2); text-decoration: underline; font: inherit; font-size: 13px; cursor: pointer; padding: 6px; }
.my-best a { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.bt-n { font-weight: 700; }
.bt-s { font-weight: 900; text-align: right; }
.bt-s small { display: block; font-size: 12px; font-weight: 400; color: var(--ink2); }
.bt-s em { font-style: normal; font-weight: 400; font-size: 13px; color: var(--ink2); }
@media (max-width: 560px) {
  .my-tabs { grid-template-columns: repeat(3, 1fr); }
  .rec-nums { grid-template-columns: repeat(3, 1fr); }
  .my-stats { grid-template-columns: repeat(2, 1fr); }
}
/* 検索ページ：最近の検索 */
.srecent { margin: 4px 0 12px; }
.sr-h { font-size: 13px; font-weight: 900; color: var(--ink2); margin: 0 0 6px; }
.sr-list { display: flex; flex-wrap: wrap; gap: 8px; }
.sr-chip { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 14px; color: var(--ink); cursor: pointer; max-width: 100%; overflow-wrap: anywhere; }
.sr-chip:hover { background: var(--hl); }

/* 大学別：記述式の穴埋め英作文（2026-11-18） */
.sw-ja { font-size: 17px; font-weight: 700; margin: 4px 0 10px; line-height: 1.7; }
.sw-q { line-height: 2.4; }
.sw-wrap { display: inline-flex; align-items: baseline; gap: 2px; white-space: nowrap; }
.sw-n { font-family: var(--ja); font-size: 11px; font-weight: 900; color: var(--red); }
.sw-in { width: 6.2em; font: 600 16px var(--serif); text-align: center; padding: 2px 4px; border: 0; border-bottom: 2.5px solid var(--red); background: #fff7f0; border-radius: 6px 6px 0 0; color: var(--ink); }
.sw-in:focus { outline: 2px solid var(--red); outline-offset: 1px; background: #fff; }
.sw-in::placeholder { color: #9a8f86; }
.sw-in.ok { background: #d9f6ea; border-bottom-color: var(--green); }
.sw-in.ng { background: #ffe5e2; text-decoration: line-through; text-decoration-color: var(--red); }
.sw-fix { font: 900 15px var(--ja); color: #b3261e; margin-left: 4px; }
.sw-tip { color: var(--sub); font-size: 13px; margin: 0 0 10px; }
.sw-act { display: flex; flex-wrap: wrap; gap: 8px; }
.sw-full b { color: #b3261e; }
.sw-alt { font-size: 14px; }

/* ===========================================================
   背景の色（2026-11-18 ユーザー「スマホだと明るすぎてさえない」）
   ほぼ白の紙色＋白いカードで差がなかったので、紙を一段濃い生成り色にし、
   方眼ノートのような点を薄く敷いて、白いカードが浮き上がるようにした。
   =========================================================== */
:root {
  --paper: #f3e8d8; --paper2: #eadcc6; --line: #e3d3bb;
  --dots: radial-gradient(circle, rgba(140, 96, 48, .13) 1.1px, transparent 1.6px) 0 0 / 20px 20px;
  --shadow: 0 1px 2px rgba(80, 50, 20, .08), 0 10px 26px -10px rgba(80, 50, 20, .28);
  --shadow-lg: 0 2px 4px rgba(80, 50, 20, .08), 0 26px 50px -18px rgba(80, 50, 20, .4);
}
body { background: var(--dots), var(--paper); }
.drawer-in { background: var(--dots), var(--paper); }
.hd { background: color-mix(in srgb, var(--paper) 88%, transparent); border-bottom-color: var(--line); }
.hero2 { background: radial-gradient(900px 520px at 90% -10%, #ffd9b0 0, transparent 60%), radial-gradient(700px 420px at -10% 75%, #ffe2a8 0, transparent 60%), var(--dots), var(--paper); }
.hero2-bg::after { background: linear-gradient(90deg, var(--paper) 0%, color-mix(in srgb, var(--paper) 55%, transparent) 22%, transparent 50%); }
@media (max-width: 760px) { .hero2-bg::after { background: linear-gradient(180deg, color-mix(in srgb, var(--paper) 20%, transparent), var(--paper) 85%); } }
.ticker { background: var(--ink); border-color: var(--ink); }
.ticker a { color: #fff; }
.ticker a small { color: #c9cde0; }
.ticker a::after { color: #6b7192; }
.nums { background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 16px 6px; }
.ft { margin-top: 64px; }
@media print { body { background: #fff; } }
