/* ミュゼダイナミックシャワールーム(SHA ROOM)モック
   トンマナ: fba.tokyo の淡い水色の大理石・細い金の線・明朝の見出し
   角の丸み: カード・サムネイル 14px / ボタン・チップ 999px / 入力欄 10px
   重なり順: 背景 -1 / ヘッダー・下のタブ 30 / モックの帯 31 / ダイアログ 50 / 通知 60 */
@font-face { font-family: "Shippori Mincho SR"; src: url(fonts/shippori-500.woff2) format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "Shippori Mincho SR"; src: url(fonts/shippori-600.woff2) format("woff2"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "Cormorant SR"; src: url(fonts/cormorant.woff2) format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  --bg: #EEF4F4;
  --marble: url(../img/marble-light.webp);
  --wash: linear-gradient(180deg, rgba(240,246,246,.30), rgba(240,246,246,.62));
  --paper: rgba(255,255,255,.80);
  --paper-solid: #FBFDFD;
  --paper-2: rgba(255,255,255,.55);
  --ink: #223838;
  --ink-2: #4A6467;
  --muted: #5B7376;
  --line: rgba(34,56,56,.11);
  --line-2: rgba(34,56,56,.2);
  --accent: #3D7A86;
  --accent-hover: #336A75;
  --accent-ink: #FFFFFF;
  --accent-soft: rgba(61,122,134,.10);
  --gold: #B8975A;
  --gold-ink: #85692F;
  --ok: #2F7A5F;
  --wait: #8A6A2A;
  --player: #0B1415;
  --shadow: 0 1px 2px rgba(34,72,76,.05), 0 14px 34px -14px rgba(34,72,76,.22);
  --shadow-lg: 0 2px 6px rgba(34,72,76,.06), 0 28px 60px -24px rgba(34,72,76,.32);
  --r-card: 14px;
  --r-input: 10px;
  --serif: "Shippori Mincho SR", "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  --latin: "Cormorant SR", "Cormorant Garamond", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", Meiryo, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --hd-h: 68px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E1819;
    --marble: url(../img/marble-dark.webp);
    --wash: linear-gradient(180deg, rgba(10,20,21,.15), rgba(10,20,21,.45));
    --paper: rgba(19,34,36,.84);
    --paper-solid: #132325;
    --paper-2: rgba(19,34,36,.6);
    --ink: #E3EEEE;
    --ink-2: #BACCCD;
    --muted: #93ABAD;
    --line: rgba(227,238,238,.10);
    --line-2: rgba(227,238,238,.18);
    --accent: #8EC5CF;
    --accent-hover: #A6D3DB;
    --accent-ink: #0B1617;
    --accent-soft: rgba(142,197,207,.13);
    --gold: #CDB27A;
    --gold-ink: #D8C08C;
    --ok: #8FD0B3;
    --wait: #E0C27E;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 16px 40px -18px rgba(0,0,0,.65);
    --shadow-lg: 0 2px 6px rgba(0,0,0,.3), 0 30px 70px -26px rgba(0,0,0,.75);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hd-h) + 16px); }
body { margin: 0; min-height: 100dvh; font-family: var(--sans); font-size: 15px; line-height: 1.8; color: var(--ink); background: var(--bg); letter-spacing: .02em; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; background: var(--wash), var(--marble) center / cover no-repeat, var(--bg); pointer-events: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 600; letter-spacing: .06em; line-height: 1.5; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.nb { display: inline-block; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 70; background: var(--paper-solid); padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow); }
.skip:focus { top: 12px; }
.ph-light { line-height: 1; }
.num { font-variant-numeric: lining-nums tabular-nums; }
.date-block .md, .sess-date .md, .timeline .md, .plan .price, .stat .v, .chaps .t, .memos .t { font-variant-numeric: lining-nums tabular-nums; font-feature-settings: "lnum" 1, "tnum" 1; }

/* モックの帯 */
.mockbar { position: relative; z-index: 31; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; padding: 4px 24px; background: #1F3536; color: #DCE8E8; font-size: 12px; }
.mockbar-note { opacity: .9; }
.mockbar-ctrl { display: flex; align-items: center; gap: 10px; }
.mockbar-label { opacity: .75; }
.seg { display: inline-flex; padding: 2px; border-radius: 999px; background: rgba(255,255,255,.1); }
.seg button { padding: 2px 12px; border-radius: 999px; color: #DCE8E8; font-size: 12px; transition: background .2s var(--ease); }
.seg button[aria-checked="true"] { background: #DCE8E8; color: #1F3536; }
.mockbar-reset { font-size: 12px; color: #DCE8E8; text-decoration: underline; text-underline-offset: 3px; opacity: .8; }
@media (prefers-color-scheme: dark) { .mockbar { background: #1A2B2D; } }

/* ヘッダー */
.hd { position: sticky; top: 0; z-index: 30; height: var(--hd-h); background: var(--paper); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); }
.hd-in { max-width: 1320px; height: 100%; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; gap: 36px; }
.logo { display: flex; flex-direction: column; justify-content: center; line-height: 1.1; flex-shrink: 0; }
.logo-en { font-family: var(--latin); font-size: 25px; font-weight: 500; letter-spacing: .2em; color: var(--ink); }
.logo-ja { margin-top: 3px; font-family: var(--serif); font-size: 10px; letter-spacing: .14em; color: var(--muted); white-space: nowrap; }
.gnav { display: flex; gap: 6px; }
.gnav a { position: relative; padding: 8px 12px; font-size: 14px; color: var(--ink-2); white-space: nowrap; transition: color .2s; }
.gnav a:hover { color: var(--ink); }
.gnav a[aria-current="page"] { color: var(--ink); }
.gnav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 18px; height: 1px; margin-left: -9px; background: var(--gold); }
.hd-tools { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.search { position: relative; display: flex; align-items: center; }
.search i { position: absolute; left: 13px; font-size: 17px; color: var(--muted); pointer-events: none; }
.search input { width: 240px; height: 38px; padding: 0 14px 0 38px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--paper-2); font-size: 13px; transition: border-color .2s, width .3s var(--ease), background .2s; }
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: none; border-color: var(--accent); background: var(--paper-solid); width: 280px; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; font-size: 20px; color: var(--ink-2); transition: background .2s; }
.icon-btn:hover { background: var(--accent-soft); color: var(--ink); }
.search-open { display: none; }
.me { display: flex; align-items: center; gap: 10px; padding: 3px 12px 3px 3px; border-radius: 999px; transition: background .2s; }
.me:hover, .me[aria-current="page"] { background: var(--accent-soft); }
.me-av { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; background: var(--accent-soft); border: 1px solid var(--line-2); font-family: var(--serif); font-size: 14px; color: var(--ink); }
.me-name { font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.is-guest .me-name { color: var(--accent); }

/* 本文 */
main { display: block; min-height: 60vh; outline: none; }
main:focus, main:focus-visible { outline: none; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 32px; }
.page { padding: 36px 0 96px; animation: pageIn .5s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.sec { margin-top: 64px; }
.sec:first-child { margin-top: 0; }
.sec-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.sec-h h2 { font-size: 22px; }
.sec-h .sub { margin-top: 2px; font-size: 13px; color: var(--muted); }
.more { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--accent); white-space: nowrap; }
.more i { transition: transform .25s var(--ease); }
.more:hover i { transform: translateX(3px); }
.row-nav { display: flex; gap: 6px; }
.row-nav button { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); font-size: 16px; background: var(--paper-2); transition: background .2s, opacity .2s; }
.row-nav button:hover { background: var(--paper-solid); }
.row-nav button:disabled { opacity: .35; cursor: default; }
.page-h { margin-bottom: 28px; }
.page-h h1 { font-size: 30px; }
.page-h p { margin-top: 6px; color: var(--muted); font-size: 14px; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 26px; border-radius: 999px; font-size: 14px; font-weight: 600; letter-spacing: .08em; white-space: nowrap; transition: background .2s, color .2s, border-color .2s, transform .15s var(--ease), box-shadow .2s; }
.btn:active { transform: scale(.98); }
.btn i { font-size: 18px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 20px -10px rgba(61,122,134,.7); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { border: 1px solid var(--line-2); background: var(--paper-2); color: var(--ink); }
.btn-ghost:hover { background: var(--paper-solid); border-color: var(--accent); }
.btn-ghost[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 13px; }
.btn[disabled] { opacity: .5; cursor: default; }
.link { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* 金の細線の枠(fba.tokyo の飾り枠に合わせた角の線) */
.frame { position: relative; }
.frame::before, .frame::after { content: ""; position: absolute; width: 56px; height: 56px; border: 0 solid var(--gold); pointer-events: none; opacity: .85; }
.frame::before { top: -12px; left: -12px; border-width: 1px 0 0 1px; }
.frame::after { right: -12px; bottom: -12px; border-width: 0 1px 1px 0; }
.rule { display: block; width: 40px; height: 1px; background: var(--gold); margin: 14px 0; }

/* パネル */
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
@media (prefers-reduced-transparency: reduce) { .panel, .hd { background: var(--paper-solid); -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* ホームの見出し */
.hero { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: center; gap: 0; }
.hero-media { position: relative; border-radius: var(--r-card); }
.hero-media .img { aspect-ratio: 16 / 9; border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--paper-2); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hero-media:hover img { transform: scale(1.025); }
.play-fab { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 999px; background: rgba(255,255,255,.88); color: #223838; font-size: 30px; box-shadow: 0 10px 30px -8px rgba(0,0,0,.35); transition: transform .3s var(--ease), background .2s; }
.play-fab i { margin-left: 4px; }
.hero-media:hover .play-fab { transform: scale(1.06); background: #fff; }
.hero-text { position: relative; margin-left: -56px; padding: 40px 40px 40px 44px; }
.hero-kicker { font-size: 13px; color: var(--muted); }
.hero-kicker b { font-weight: 400; color: var(--gold-ink); }
.hero-text h1 { margin-top: 10px; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.45; }
.hero-desc { margin-top: 14px; font-size: 14.5px; color: var(--ink-2); max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* 動画のカード */
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 34px 24px; }
.row { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 72px) / 4); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 10px; margin: -4px -2px 0; }
.row::-webkit-scrollbar { display: none; }
.row > * { scroll-snap-align: start; }
.vcard { display: block; min-width: 0; }
.thumb { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-card); overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .3s; }
.vcard:hover .thumb img { transform: scale(1.045); }
.thumb .dur { position: absolute; right: 10px; bottom: 10px; padding: 1px 8px; border-radius: 999px; background: rgba(15,28,29,.72); color: #fff; font-size: 11.5px; letter-spacing: .04em; }
.thumb .hover-play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 999px; background: rgba(255,255,255,.9); color: #223838; font-size: 22px; opacity: 0; transform: scale(.9); transition: opacity .25s, transform .35s var(--ease); }
.thumb .hover-play i { margin-left: 3px; }
.vcard:hover .hover-play, .vcard:focus-visible .hover-play { opacity: 1; transform: none; }
.thumb .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.35); }
.thumb .bar i { display: block; height: 100%; background: var(--gold); }
.thumb .done { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px 2px 6px; border-radius: 999px; background: rgba(255,255,255,.9); color: #2F5E52; font-size: 11.5px; }
.thumb .lock { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(20,36,38,.28); color: #fff; font-size: 26px; }
.is-guest .vcard .thumb img { filter: saturate(.85); }
.vcard-body { padding: 14px 2px 0; }
.vcard-cat { font-size: 11.5px; color: var(--gold-ink); letter-spacing: .08em; }
.vcard h3 { margin-top: 2px; font-size: 16px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vcard-meta { margin-top: 4px; font-size: 12px; color: var(--muted); }

/* 勉強会の帯(ホーム) */
.session-band { display: grid; grid-template-columns: 220px minmax(0, 1fr) 300px; align-items: center; gap: 36px; padding: 30px 34px; }
.date-block { text-align: center; padding-right: 30px; border-right: 1px solid var(--line-2); }
.date-block .md { font-family: var(--latin); font-size: 58px; font-weight: 500; line-height: 1; letter-spacing: .02em; }
.date-block .md span { color: var(--gold); margin: 0 2px; }
.date-block .dw { margin-top: 8px; font-size: 13px; color: var(--ink-2); }
.date-block .tm { font-size: 13px; color: var(--muted); }
.session-band h3 { font-size: 21px; }
.session-band .s-desc { margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.session-band .s-inst { margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.session-band .cta { margin-top: 18px; }
.session-band .s-img { border-radius: var(--r-card); overflow: hidden; aspect-ratio: 16 / 10; }
.session-band .s-img img { width: 100%; height: 100%; object-fit: cover; }
.tag-ok { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 600; }

/* カテゴリ(大 1 + 小 4) */
.cats { display: grid; grid-template-columns: 1.6fr 1fr 1fr; grid-template-rows: repeat(2, 190px); gap: 18px; }
.cat { position: relative; border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow); isolation: isolate; }
.cat:first-child { grid-row: span 2; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.cat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,30,32,0) 35%, rgba(14,30,32,.72)); }
.cat:hover img { transform: scale(1.05); }
.cat-txt { position: absolute; left: 22px; right: 22px; bottom: 18px; color: #fff; }
.cat-txt h3 { font-size: 19px; }
.cat:first-child .cat-txt h3 { font-size: 24px; }
.cat-txt p { font-size: 12.5px; opacity: .92; }

/* コラム(ホーム) */
.col-home { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.col-feat .thumb { aspect-ratio: 16 / 9; }
.col-feat h3 { margin-top: 16px; font-size: 22px; }
.col-feat p.ex { margin-top: 8px; font-size: 14px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.col-meta { margin-top: 6px; font-size: 12px; color: var(--muted); }
.col-list { display: grid; gap: 4px; }
.col-item { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 18px; align-items: center; padding: 12px; border-radius: var(--r-card); transition: background .2s; }
.col-item:hover { background: var(--paper-2); }
.col-item .thumb { box-shadow: none; }
.col-item h3 { font-size: 15.5px; line-height: 1.55; }

/* 質問 BOX の案内(ホーム) */
.ask-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 0; overflow: hidden; }
.ask-band .l { padding: 34px 36px; }
.ask-band .l h2 { font-size: 22px; }
.ask-band .l p { margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.ask-band .r { padding: 28px 32px; background: var(--paper-2); border-left: 1px solid var(--line); }
.qa-mini .q { font-family: var(--serif); font-size: 15.5px; font-weight: 600; }
.qa-mini .a { margin-top: 10px; padding-left: 14px; border-left: 1px solid var(--gold); font-size: 13.5px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.qa-mini .who { margin-top: 8px; font-size: 12px; color: var(--muted); }

/* 入会前 */
.gate-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.gate-hero h1 { margin-top: 10px; font-size: clamp(30px, 3.3vw, 44px); line-height: 1.4; }
.gate-hero .hero-desc { font-size: 15px; }
.gate-hero .img { aspect-ratio: 3 / 2; border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-lg); }
.gate-hero .img img { width: 100%; height: 100%; object-fit: cover; }
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.feature { padding: 26px 26px 28px; border-left: 1px solid var(--line); }
.feature:first-child { border-left: 0; }
.feature i { font-size: 30px; color: var(--accent); }
.feature h3 { margin-top: 12px; font-size: 17px; }
.feature p { margin-top: 6px; font-size: 13px; color: var(--ink-2); }
.plans { display: grid; grid-template-columns: 1fr 1.12fr 1fr; gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 28px 28px; }
.plan.rec { border-color: var(--gold); box-shadow: var(--shadow-lg); padding-top: 38px; }
.plan .rec-tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 2px 14px; border-radius: 999px; background: var(--gold); color: #fff; font-size: 12px; letter-spacing: .1em; white-space: nowrap; }
@media (prefers-color-scheme: dark) { .plan .rec-tag { color: #1A1A12; } }
.plan h3 { font-size: 18px; }
.plan .price { margin-top: 12px; font-family: var(--latin); font-size: 44px; font-weight: 500; line-height: 1; }
.plan .price small { font-family: var(--sans); font-size: 13px; color: var(--muted); margin-left: 4px; }
.plan ul { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; gap: 8px; font-size: 13.5px; color: var(--ink-2); }
.plan li { display: flex; gap: 8px; align-items: baseline; }
.plan li i { color: var(--accent); font-size: 15px; transform: translateY(2px); }
.plan .btn { margin-top: auto; width: 100%; }
.note { margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.gate-box { max-width: 720px; margin: 24px auto 0; padding: 36px 40px; text-align: center; }
.gate-box i.big { font-size: 34px; color: var(--accent); }
.gate-box h2 { margin-top: 8px; font-size: 22px; }
.gate-box p { margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.gate-box .cta { justify-content: center; }

/* 一覧の絞り込み */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--paper-2); font-size: 13px; color: var(--ink-2); white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--accent); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.select { height: 36px; padding: 0 34px 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--paper-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%235B7376' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat right 13px center; font-size: 13px; -webkit-appearance: none; appearance: none; }
.empty { padding: 60px 20px; text-align: center; color: var(--muted); }
.empty i { font-size: 36px; color: var(--accent); }
.empty h3 { margin-top: 10px; font-size: 18px; color: var(--ink); }
.empty p { margin-top: 6px; font-size: 14px; }

/* 再生画面 */
.watch { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.player { position: relative; aspect-ratio: 16 / 9; background: var(--player); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-lg); color: #fff; user-select: none; -webkit-user-select: none; }
.player video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--player); }
.player:fullscreen { border-radius: 0; }
.p-shade { position: absolute; left: 0; right: 0; bottom: 0; height: 46%; background: linear-gradient(180deg, transparent, rgba(5,12,13,.78)); opacity: 0; transition: opacity .3s; pointer-events: none; }
.p-big { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 999px; background: rgba(255,255,255,.9); color: #223838; font-size: 34px; box-shadow: 0 12px 34px -8px rgba(0,0,0,.45); transition: transform .3s var(--ease), opacity .25s; }
.p-big i { margin-left: 5px; }
.p-big:hover { transform: scale(1.06); }
.player.playing .p-big { opacity: 0; pointer-events: none; transform: scale(.85); }
.p-ctrl { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 16px 10px; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease); }
.player.show-ui .p-ctrl, .player:not(.playing) .p-ctrl, .player:focus-within .p-ctrl { opacity: 1; transform: none; }
.player.show-ui .p-shade, .player:not(.playing) .p-shade, .player:focus-within .p-shade { opacity: 1; }
.player.playing:not(.show-ui) { cursor: none; }
.p-seek { position: relative; height: 22px; display: flex; align-items: center; cursor: pointer; touch-action: none; }
.p-track { position: relative; width: 100%; height: 4px; transition: height .15s; }
.p-seek:hover .p-track, .p-seek.drag .p-track { height: 6px; }
.p-seg { position: absolute; top: 0; bottom: 0; background: rgba(255,255,255,.28); border-radius: 2px; overflow: hidden; }
.p-seg .buf { position: absolute; inset: 0 auto 0 0; background: rgba(255,255,255,.28); }
.p-seg .fill { position: absolute; inset: 0 auto 0 0; background: #D9BE84; }
.p-knob { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 999px; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.4); transform: scale(0); transition: transform .15s; }
.p-seek:hover .p-knob, .p-seek.drag .p-knob { transform: scale(1); }
.p-tip { position: absolute; bottom: 26px; padding: 4px 10px; border-radius: 8px; background: rgba(10,20,21,.9); font-size: 12px; white-space: nowrap; transform: translateX(-50%); opacity: 0; transition: opacity .15s; pointer-events: none; }
.p-tip b { font-weight: 400; color: #D9BE84; margin-right: 6px; }
.p-seek:hover .p-tip, .p-seek.drag .p-tip { opacity: 1; }
.p-row { display: flex; align-items: center; gap: 4px; margin-top: 2px; }
.p-btn { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; color: #fff; font-size: 22px; transition: background .2s; }
.p-btn:hover { background: rgba(255,255,255,.14); }
.p-btn .sm { position: absolute; font-size: 8.5px; font-weight: 700; top: 15px; }
.p-time { margin-left: 8px; font-size: 13px; color: rgba(255,255,255,.9); white-space: nowrap; }
.p-chap { margin-left: 12px; font-size: 13px; color: rgba(255,255,255,.75); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.p-sp { margin-left: auto; }
.p-txtbtn { height: 32px; padding: 0 10px; border-radius: 999px; color: #fff; font-size: 12.5px; white-space: nowrap; transition: background .2s; }
.p-txtbtn:hover { background: rgba(255,255,255,.14); }
.p-vol { display: flex; align-items: center; }
.p-vol input { width: 0; opacity: 0; transition: width .25s var(--ease), opacity .2s; accent-color: #D9BE84; }
.p-vol:hover input, .p-vol:focus-within input { width: 76px; opacity: 1; }
.p-menu { position: absolute; right: 16px; bottom: 64px; min-width: 180px; padding: 6px; border-radius: 12px; background: rgba(12,22,23,.94); box-shadow: 0 12px 30px rgba(0,0,0,.4); opacity: 0; transform: translateY(6px) scale(.98); transform-origin: bottom right; pointer-events: none; transition: opacity .18s, transform .22s var(--ease); }
.p-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.p-menu h4 { padding: 6px 10px 4px; font-family: var(--sans); font-size: 11.5px; font-weight: 400; color: rgba(255,255,255,.6); letter-spacing: .04em; }
.p-menu button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 7px 10px; border-radius: 8px; font-size: 13px; color: #fff; text-align: left; }
.p-menu button:hover { background: rgba(255,255,255,.1); }
.p-menu button[aria-checked="true"]::after { content: ""; width: 7px; height: 7px; border-radius: 999px; background: #D9BE84; }
.p-resume { position: absolute; left: 16px; top: 16px; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 14px; border-radius: 999px; background: rgba(10,20,21,.82); font-size: 13px; opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .3s var(--ease); pointer-events: none; }
.p-resume.show { opacity: 1; transform: none; pointer-events: auto; }
.p-resume button { padding: 3px 12px; border-radius: 999px; background: rgba(255,255,255,.16); color: #fff; font-size: 12.5px; }
.p-end { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(8,16,17,.78); opacity: 0; pointer-events: none; transition: opacity .35s; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.p-end.show { opacity: 1; pointer-events: auto; }
.p-end-in { text-align: center; padding: 20px; max-width: 520px; }
.p-end .done-mark { display: inline-flex; align-items: center; gap: 6px; color: #D9BE84; font-size: 14px; }
.p-end h3 { margin-top: 6px; font-size: 20px; color: #fff; }
.p-next { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 16px; align-items: center; margin-top: 18px; padding: 10px; border-radius: 14px; background: rgba(255,255,255,.08); text-align: left; transition: background .2s; }
.p-next:hover { background: rgba(255,255,255,.14); }
.p-next img { border-radius: 10px; aspect-ratio: 16 / 9; object-fit: cover; }
.p-next small { font-size: 11.5px; color: rgba(255,255,255,.65); }
.p-next p { font-family: var(--serif); font-size: 15px; line-height: 1.5; color: #fff; }
.p-end .again { margin-top: 14px; font-size: 13px; color: rgba(255,255,255,.75); text-decoration: underline; text-underline-offset: 3px; }
.p-flash { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 999px; background: rgba(10,20,21,.6); font-size: 13px; opacity: 0; pointer-events: none; }
.p-flash.go { animation: flash .6s var(--ease); }
@keyframes flash { 0% { opacity: 0; transform: scale(.8); } 30% { opacity: 1; transform: none; } 100% { opacity: 0; transform: scale(1.1); } }
.p-locked { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; isolation: isolate; }
.p-locked::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(8,16,17,.45); }
.p-locked img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: blur(3px) saturate(.8); transform: scale(1.04); }
.p-locked .box { padding: 26px 30px; border-radius: 14px; background: rgba(10,20,21,.72); }
.p-locked i { font-size: 30px; color: #D9BE84; }
.p-locked h3 { margin-top: 6px; font-size: 19px; color: #fff; }
.p-locked p { margin-top: 4px; font-size: 13px; color: rgba(255,255,255,.8); }
.p-locked .cta { justify-content: center; margin-top: 16px; }
.p-note { margin-top: 10px; font-size: 12px; color: var(--muted); }

.w-info { margin-top: 22px; }
.w-cat { font-size: 12.5px; color: var(--gold-ink); letter-spacing: .08em; }
.w-info h1 { margin-top: 4px; font-size: 27px; }
.w-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 6px; font-size: 13px; color: var(--muted); }
.w-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.w-desc { margin-top: 18px; font-size: 14.5px; color: var(--ink-2); max-width: 44em; }
.inst-line { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.av { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 999px; background: var(--accent-soft); border: 1px solid var(--line-2); font-family: var(--serif); font-size: 15px; }
.inst-line .n { font-family: var(--serif); font-weight: 600; font-size: 15px; }
.inst-line .r { font-size: 12px; color: var(--muted); }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.tabs button { position: relative; padding: 10px 14px; font-size: 14px; color: var(--muted); }
.tabs button[aria-selected="true"] { color: var(--ink); }
.tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 1px; background: var(--gold); }
.tabs .cnt { margin-left: 4px; font-size: 12px; color: var(--muted); }
.side-box { padding: 6px 18px 18px; }
.chaps { list-style: none; margin: 0; padding: 0; }
.chaps button { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 8px; align-items: baseline; width: 100%; padding: 10px 10px; border-radius: 10px; text-align: left; font-size: 14px; transition: background .2s; }
.chaps button:hover { background: var(--accent-soft); }
.chaps .t { font-family: var(--latin); font-size: 16px; color: var(--gold-ink); }
.chaps li.cur button { background: var(--accent-soft); }
.chaps li.cur .ttl { font-weight: 600; }
.chaps .now { font-size: 11px; color: var(--accent); }
.memo-form { display: grid; gap: 8px; margin: 8px 0 12px; }
.memo-form .row2 { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.memo-form .at { font-size: 12.5px; color: var(--muted); }
.memos { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.memos li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 8px; align-items: baseline; padding: 8px 10px; border-radius: 10px; background: var(--paper-2); font-size: 13.5px; }
.memos .t { font-family: var(--latin); font-size: 16px; color: var(--accent); }
.memos .del { font-size: 15px; color: var(--muted); }
.next-list { display: grid; gap: 6px; margin-top: 26px; }
.next-list h2 { font-size: 17px; margin-bottom: 6px; }
.nitem { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 14px; align-items: center; padding: 8px; border-radius: 12px; transition: background .2s; }
.nitem:hover { background: var(--paper-2); }
.nitem .thumb { box-shadow: none; border-radius: 10px; }
.nitem h3 { font-size: 14.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nitem .vcard-meta { font-size: 11.5px; }

/* フォーム */
.field { display: grid; gap: 6px; }
.field + .field { margin-top: 16px; }
.field label, .field .lbl { font-size: 13px; font-weight: 600; color: var(--ink); }
.field .help { font-size: 12px; color: var(--muted); }
.input, .textarea { width: 100%; padding: 10px 14px; border-radius: var(--r-input); border: 1px solid var(--line-2); background: var(--paper-solid); font-size: 14px; transition: border-color .2s, box-shadow .2s; }
.textarea { min-height: 120px; resize: vertical; line-height: 1.7; }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.input::placeholder, .textarea::placeholder { color: var(--muted); opacity: .85; }
.field .err { font-size: 12px; color: #B04A3A; }
@media (prefers-color-scheme: dark) { .field .err { color: #F0A190; } }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--ink-2); }
.check input { margin-top: 5px; accent-color: var(--accent); }

/* 質問 BOX */
.qa-layout { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 36px; align-items: start; }
.qa-form { padding: 28px 28px 26px; position: sticky; top: calc(var(--hd-h) + 20px); }
.qa-form h2 { font-size: 19px; margin-bottom: 4px; }
.qa-form .lead { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.qa-form .btn { width: 100%; margin-top: 20px; }
.qlist { display: grid; gap: 16px; }
.qitem { padding: 22px 26px; }
.q-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.qitem h3 { font-size: 17px; line-height: 1.55; }
.status { flex-shrink: 0; display: inline-flex; align-items: center; gap: 5px; padding: 1px 10px; border-radius: 999px; font-size: 12px; border: 1px solid currentColor; }
.status.ok { color: var(--ok); }
.status.wait { color: var(--wait); }
.q-body { margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.q-meta { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--muted); }
.q-ref { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); }
.answer { margin-top: 16px; padding: 14px 0 0 18px; border-left: 1px solid var(--gold); }
.answer .who { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.answer .who .av { width: 32px; height: 32px; font-size: 13px; }
.answer .who b { font-family: var(--serif); font-weight: 600; }
.answer .who span { color: var(--muted); font-size: 12px; }
.answer p { margin-top: 8px; font-size: 14px; color: var(--ink); }
.answer.pending p { color: var(--muted); }
.new-in { animation: newIn .6s var(--ease) both; }
@keyframes newIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* コラム */
.col-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.col-index .col-card:first-child { grid-column: span 2; grid-row: span 2; }
.col-card .thumb { aspect-ratio: 16 / 10; }
.col-card:first-child .thumb { aspect-ratio: 16 / 10.4; }
.col-card h3 { margin-top: 14px; font-size: 17px; line-height: 1.55; }
.col-card:first-child h3 { font-size: 24px; }
.col-card .ex { margin-top: 6px; font-size: 13.5px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.col-card:hover .thumb img { transform: scale(1.04); }
.article { max-width: 760px; margin: 0 auto; padding: 44px 56px 48px; }
.article .w-cat { text-align: center; }
.article h1 { margin-top: 8px; font-size: 30px; text-align: center; line-height: 1.5; }
.article .a-meta { margin-top: 10px; text-align: center; font-size: 13px; color: var(--muted); }
.article .rule { margin: 22px auto; }
.article .cover { margin: 28px -20px 32px; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 16 / 9; }
.article .cover img { width: 100%; height: 100%; object-fit: cover; }
.article .body p { font-size: 16px; line-height: 2.05; letter-spacing: .04em; }
.article .body p + p { margin-top: 1.3em; }
.article .fade { position: relative; max-height: 180px; overflow: hidden; }
.article .fade::after { content: ""; position: absolute; inset: auto 0 0 0; height: 120px; background: linear-gradient(180deg, transparent, var(--paper-solid)); }
.a-video { margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line); }
.a-video h2 { font-size: 15px; margin-bottom: 12px; }
.a-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; }
.back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); margin-bottom: 18px; }
.back:hover { color: var(--ink); }

/* 勉強会 */
.sess-main { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 34px; }
.sess-main .img { aspect-ratio: 3 / 2; border-radius: var(--r-card); overflow: hidden; }
.sess-main .img img { width: 100%; height: 100%; object-fit: cover; }
.sess-date { display: flex; align-items: baseline; gap: 14px; }
.sess-date .md { font-family: var(--latin); font-size: 64px; font-weight: 500; line-height: 1; }
.sess-date .md span { color: var(--gold); margin: 0 2px; }
.sess-date .dw { font-size: 14px; color: var(--ink-2); }
.sess-main h2 { margin-top: 14px; font-size: 26px; }
.sess-main .s-desc { margin-top: 10px; font-size: 14.5px; color: var(--ink-2); }
.sess-facts { margin: 18px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-size: 13.5px; }
.sess-facts dt { color: var(--muted); }
.sess-facts dd { margin: 0; }
.join-info { margin-top: 18px; padding: 14px 16px; border-radius: var(--r-input); background: var(--accent-soft); font-size: 13.5px; color: var(--ink-2); }
.join-info b { color: var(--ink); }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 20px 6px; border-top: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline .md { font-family: var(--latin); font-size: 34px; font-weight: 500; line-height: 1; }
.timeline .md small { display: block; margin-top: 6px; font-family: var(--sans); font-size: 12px; color: var(--muted); }
.timeline h3 { font-size: 17px; }
.timeline .sub { font-size: 12.5px; color: var(--muted); }
.soon { font-size: 12.5px; color: var(--muted); white-space: nowrap; }

/* マイページ */
.me-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 28px 32px; }
.me-head .av { width: 68px; height: 68px; font-size: 26px; }
.me-head h1 { font-size: 24px; }
.me-head .plan-line { margin-top: 2px; font-size: 13px; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 20px; }
.stat { padding: 22px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat .k { font-size: 12.5px; color: var(--muted); }
.stat .v { margin-top: 2px; font-family: var(--latin); font-size: 40px; font-weight: 500; line-height: 1.1; }
.stat .v small { font-family: var(--sans); font-size: 13px; color: var(--muted); margin-left: 4px; }
.hist { display: grid; gap: 4px; }
.hist a { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 8px; border-radius: 12px; transition: background .2s; }
.hist a:hover { background: var(--paper-2); }
.hist .thumb { border-radius: 10px; box-shadow: none; }
.hist h3 { font-size: 14.5px; }
.hist .st { font-size: 12px; color: var(--muted); white-space: nowrap; }
.hist .st.ok { color: var(--ok); }
.billing { padding: 26px 30px; }
.billing dl { display: grid; grid-template-columns: 140px 1fr; gap: 10px 20px; margin: 0; font-size: 14px; }
.billing dt { color: var(--muted); }
.billing dd { margin: 0; }
.billing .cta { margin-top: 22px; }
.two { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.allmemos li a { color: var(--accent); font-size: 12px; }

/* 通知・ダイアログ */
.toasts { position: fixed; left: 50%; bottom: 28px; z-index: 60; display: grid; gap: 8px; transform: translateX(-50%); width: max-content; max-width: calc(100vw - 32px); pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 13.5px; box-shadow: var(--shadow-lg); animation: toastIn .4s var(--ease) both; pointer-events: auto; }
.toast i { font-size: 18px; color: var(--gold); }
.toast a { color: inherit; text-decoration: underline; text-underline-offset: 3px; margin-left: 4px; }
.toast.out { animation: toastOut .3s ease both; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(8px); } }
.modal-bg { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; background: rgba(12,24,25,.42); animation: fadeIn .25s ease both; }
.modal { width: min(480px, 100%); padding: 30px 30px 26px; background: var(--paper-solid); border-radius: 18px; box-shadow: var(--shadow-lg); animation: modalIn .35s var(--ease) both; }
.modal h2 { font-size: 20px; }
.modal p { margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.modal .cta { margin-top: 22px; justify-content: flex-end; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(10px) scale(.98); } }

/* フッター・下のタブ */
.ft { border-top: 1px solid var(--line); background: var(--paper-2); }
.ft-in { max-width: 1320px; margin: 0 auto; padding: 34px 32px 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 40px; }
.ft-brand { display: flex; flex-direction: column; line-height: 1.2; }
.ft-brand .logo-en { font-size: 21px; }
.ft-links { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 13px; color: var(--ink-2); }
.ft-links a:hover { color: var(--ink); }
.ft-copy { margin-left: auto; font-size: 12px; color: var(--muted); }
.tabbar { display: none; }

/* 画面幅ごと */
@media (max-width: 1180px) {
  .me-name { display: none; }
  .me { padding: 3px; }
  .search input { width: 200px; }
  .search input:focus { width: 220px; }
  .row { grid-auto-columns: calc((100% - 48px) / 3); }
  .watch { grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; }
  .session-band { grid-template-columns: 190px minmax(0, 1fr); }
  .session-band .s-img { display: none; }
}
@media (max-width: 1023px) {
  .hd-in { gap: 18px; padding: 0 20px; }
  .gnav { display: none; }
  .search { display: none; }
  .search.open { display: flex; position: absolute; left: 12px; right: 12px; top: 14px; z-index: 2; }
  .search.open input { width: 100%; background: var(--paper-solid); }
  .search-open { display: inline-grid; }
  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(5, 1fr); height: calc(62px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: var(--paper); border-top: 1px solid var(--line); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 10.5px; color: var(--muted); }
  .tabbar a i { font-size: 23px; }
  .tabbar a[aria-current="page"] { color: var(--ink); }
  .tabbar a[aria-current="page"] i { color: var(--accent); }
  .ft { padding-bottom: 72px; }
  .toasts { bottom: 84px; }
  .wrap { padding: 0 20px; }
  .hero { grid-template-columns: 1fr; }
  .hero-text { margin: -36px 16px 0; padding: 28px 26px; }
  .watch { grid-template-columns: 1fr; }
  .qa-layout { grid-template-columns: 1fr; }
  .qa-form { position: static; }
  .gate-hero { grid-template-columns: 1fr; gap: 28px; }
  .gate-hero .img { order: -1; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature:nth-child(3) { border-left: 0; }
  .feature:nth-child(n+3) { border-top: 1px solid var(--line); }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; gap: 26px; }
  .sess-main { grid-template-columns: 1fr; gap: 26px; }
  .two { grid-template-columns: 1fr; }
  .col-home { grid-template-columns: 1fr; }
  .ask-band { grid-template-columns: 1fr; }
  .ask-band .r { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 767px) {
  body { font-size: 14.5px; }
  .mockbar { padding: 6px 14px; flex-wrap: wrap; gap: 4px 12px; }
  .mockbar-note { width: 100%; }
  .hd-in { padding: 0 14px; }
  .logo-en { font-size: 21px; }
  .wrap { padding: 0 16px; }
  .page { padding-top: 22px; }
  .sec { margin-top: 48px; }
  .page-h h1 { font-size: 25px; }
  .row { grid-auto-columns: 74%; gap: 16px; }
  .row-nav { display: none; }
  .vgrid { grid-template-columns: 1fr 1fr; gap: 22px 14px; }
  .vcard h3 { font-size: 14px; }
  .vcard-body { padding-top: 10px; }
  .thumb .hover-play { display: none; }
  .hero-text { margin: -28px 10px 0; padding: 24px 20px; }
  .hero-text::before, .hero-text::after { display: none; }
  .play-fab { width: 60px; height: 60px; margin: -30px 0 0 -30px; font-size: 24px; }
  .session-band { grid-template-columns: 1fr; gap: 16px; padding: 24px 22px; }
  .date-block { display: flex; align-items: baseline; gap: 12px; text-align: left; padding: 0 0 14px; border-right: 0; border-bottom: 1px solid var(--line-2); }
  .date-block .md { font-size: 44px; }
  .cats { grid-template-columns: 1fr 1fr; grid-template-rows: 220px repeat(2, 150px); gap: 12px; }
  .cat:first-child { grid-row: auto; grid-column: span 2; }
  .cat-txt { left: 16px; right: 16px; bottom: 12px; }
  .cat-txt h3 { font-size: 16px; }
  .col-item { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 8px 0; }
  .ask-band .l, .ask-band .r { padding: 24px 22px; }
  .features { grid-template-columns: 1fr; }
  .feature { border-left: 0 !important; border-top: 1px solid var(--line); padding: 20px 22px; }
  .feature:first-child { border-top: 0; }
  .toolbar { flex-direction: column; align-items: stretch; gap: 12px; }
  .toolbar .select { align-self: flex-start; }
  .player { border-radius: 0; margin: -22px -16px 0; }
  .p-vol, .p-chap { display: none; }
  .p-btn { width: 36px; height: 36px; font-size: 20px; }
  .p-ctrl { padding: 0 8px 4px; }
  .w-info h1 { font-size: 22px; }
  .nitem { grid-template-columns: 132px minmax(0, 1fr); }
  .col-index { grid-template-columns: 1fr; gap: 30px; }
  .col-index .col-card:first-child { grid-column: auto; grid-row: auto; }
  .col-card:first-child h3 { font-size: 21px; }
  .article { padding: 28px 20px 32px; border-radius: 0; margin: -22px -16px 0; border-left: 0; border-right: 0; }
  .article h1 { font-size: 23px; }
  .article .cover { margin: 22px -20px 24px; border-radius: 0; }
  .article .body p { font-size: 15.5px; }
  .a-foot { flex-direction: column; align-items: stretch; }
  .sess-main { padding: 22px; }
  .sess-date .md { font-size: 48px; }
  .sess-main h2 { font-size: 22px; }
  .timeline li { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; }
  .timeline li .soon { grid-column: 2; }
  .timeline .md { font-size: 28px; }
  .me-head { grid-template-columns: auto minmax(0, 1fr); padding: 22px; }
  .me-head .btn { grid-column: span 2; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat { padding: 16px 14px; }
  .stat .v { font-size: 30px; }
  .hist a { grid-template-columns: 96px minmax(0, 1fr); }
  .hist .st { grid-column: 2; }
  .billing dl { grid-template-columns: 110px 1fr; }
  .qitem { padding: 20px; }
  .qa-form { padding: 22px 20px; }
  .gate-box { padding: 28px 22px; }
  .ft-in { padding: 26px 16px 30px; }
  .ft-copy { margin-left: 0; }
  .p-next { grid-template-columns: 110px minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
