/* LUBITA WORKS 会社サイト — 最終版CSS（実験室の検証結果。実装の出発点）
   ライト標準・ダークはOS設定（prefers-color-scheme）で自動切替。手動の切替ボタンは作らない。
   フォントは自前配信（/assets/fonts/*.woff2。tools/build.py がサブセット化して出力する）。外部CDNは読まない。
   詳細は 会社サイト_デザイン仕様書.md を参照。 */
@font-face { font-family: 'Archivo Black'; src: url("/assets/fonts/ArchivoBlack.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: 'DotGothic16'; src: url("/assets/fonts/DotGothic16.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Zen Kaku Gothic New'; src: url("/assets/fonts/ZenKakuGothicNew-500.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: 'Zen Kaku Gothic New'; src: url("/assets/fonts/ZenKakuGothicNew-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Zen Kaku Gothic New'; src: url("/assets/fonts/ZenKakuGothicNew-900.woff2") format("woff2"); font-weight: 900; font-display: swap; }

/* ============ 1. 配色トークン ============ */
:root {
  color-scheme: light dark;
  --bg: #f5f6f1;      /* 背景（paper） */
  --tx: #1c2422;      /* 本文（ink） */
  --hd: #1c2422;      /* 見出し */
  --pn: #ffffff;      /* パネル・カードの地 */
  --ac: #0e7c74;      /* アクセント（teal） */
  --ach: #0a5a54;     /* アクセントのhover（リンク） */
  --onac: #ffffff;    /* teal面の上の文字 */
  --ln: #d3d8cf;      /* 区切り線（装飾。情報を載せない） */
  --sh: #3cc7b7;      /* 窓の影（明るいteal。文字には使わない） */
  --mu: #4a5753;      /* 補助文字 */
  --am: #8a5f14;      /* アンバー（小さい文字用） */
  --amf: #b9822b;     /* アンバー（面・枠・大きい要素用。文字に使わない） */
  --onam: #1c2422;    /* アンバー面の上の文字 */
  --hb: #0e7c74;      /* 窓・カードの見出し帯 */
  --hbt: #ffffff;     /* 見出し帯の文字 */
  --grid: rgba(14, 124, 116, .07);   /* 背景のドット格子 */
  --ds: #8f9a93;      /* 未解放の枠（非文字） */
  --lk: #55645e;      /* 未解放の文字 */
  --sd: 6px;          /* 影の大きさ（全部これ。スマホは4px） */
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1413; --tx: #d6ece6; --hd: #e9fbf7; --pn: #111c1a;
    --ac: #3cc7b7; --ach: #7fe0d3; --onac: #0d1413;
    --ln: #1f3a35; --sh: #1f6f66;
    --mu: #9fc2ba; --am: #e0a84a; --amf: #e0a84a; --onam: #0d1413;
    --hb: #17302c; --hbt: #e9fbf7; --grid: rgba(60, 199, 183, .06);
    --ds: #4a6b64; --lk: #8fb0a8;
  }
}

/* ============ 2. 土台 ============ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background-color: var(--bg);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--tx); font-family: 'Zen Kaku Gothic New', 'Yu Gothic', sans-serif;
  font-size: 16px; font-weight: 500; line-height: 1.75; overflow-wrap: anywhere;
}
a { color: var(--ac); }
a:hover { color: var(--ach); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--amf); outline-offset: 3px; }
img { max-width: 100%; }
.dot { font-family: 'DotGothic16', 'Zen Kaku Gothic New', sans-serif; }
.muted { color: var(--mu); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.tag { font-family: 'DotGothic16', sans-serif; font-size: 13px; letter-spacing: .02em; color: var(--am); }
h2.hh { margin: 0; font-size: 22px; font-weight: 900; color: var(--hd); display: flex; gap: .6em; align-items: center; }
h2.hh::before { content: ">"; font-family: 'DotGothic16', sans-serif; color: var(--ac); }
section.blk { padding: 16px 0 56px; display: flex; flex-direction: column; gap: 16px; }

/* ============ 3. ヘッダー・フッター ============ */
header.site { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding: 20px 0; border-bottom: 1px solid var(--ln); }
.logo { font-family: 'Archivo Black', sans-serif; font-size: 22px; letter-spacing: .04em; color: var(--hd); text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; }
.logo .cur { color: var(--amf); animation: blink 1.1s steps(1) infinite; }   /* 末尾の _ はアンバーで点滅 */
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .logo .cur { animation: none; } }
nav.site { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 16px; font-family: 'DotGothic16', sans-serif; }
nav.site a { text-decoration: none; padding: 10px; min-height: 44px; display: inline-flex; align-items: center; }
nav.site a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
footer.site { border-top: 1px solid var(--ln); padding: 24px 0 48px; display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; color: var(--mu); font-size: 14px; }
footer.site a { display: inline-flex; align-items: center; min-height: 44px; }
.fl { display: flex; flex-wrap: wrap; gap: 0 20px; }
.about { background: var(--pn); border: 1px solid var(--ln); padding: 8px 26px 22px; max-width: 760px; }
.about h3 { margin: 22px 0 6px; font-size: 17px; font-weight: 900; color: var(--hd); }
.about h3::before { content: ">"; font-family: 'DotGothic16', sans-serif; color: var(--ac); margin-right: .5em; }
.about ul { margin: 0; padding-left: 1.3em; font-size: 15px; }
.about li { margin: 4px 0; }
.about li a { display: inline-block; padding: 2px 0; }
/* 特商法の表（行ごとに見出し＋内容。スマホは縦積み） */
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0 16px; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 12px 8px; border-bottom: 1px solid var(--ln); }
.tbl th { width: 11em; color: var(--hd); font-weight: 900; white-space: nowrap; }
@media (max-width: 640px) { .tbl th, .tbl td { display: block; width: auto; padding: 4px 0; border: 0; } .tbl th { padding-top: 14px; } .tbl td { border-bottom: 1px solid var(--ln); padding-bottom: 12px; } }
/* プライバシーポリシー（本文HTMLは原文のまま。枠と文字の装飾だけ） */
.policy { background: var(--pn); border: 1px solid var(--ln); padding: 12px 26px 28px; max-width: 760px; font-size: 15px; }
.policy h1 { margin: 16px 0 6px; font-size: clamp(22px, 6vw, 30px); font-weight: 900; line-height: 1.4; color: var(--hd); }
.policy .meta { margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 0 20px; font-family: 'DotGothic16', sans-serif; font-size: 13px; color: var(--mu); }
.policy h2 { margin: 26px 0 6px; font-size: 18px; font-weight: 900; color: var(--hd); }
.policy h2::before { content: ">"; font-family: 'DotGothic16', sans-serif; color: var(--ac); margin-right: .5em; }
.policy h3 { margin: 18px 0 4px; font-size: 16px; font-weight: 900; color: var(--hd); }
.policy p { margin: 8px 0; }
.policy ul, .policy ol { margin: 8px 0; padding-left: 1.4em; }
.policy li { margin: 4px 0; }
.policy hr { border: 0; border-top: 1px solid var(--ln); margin: 22px 0; }
.policy a { display: inline-block; padding: 2px 0; }
.legal { margin: 0; padding: 0 0 40px; color: var(--mu); font-size: 12px; line-height: 1.7; }   /* 商標の但し書き（フッター下） */
.motif { display: block; width: 100%; height: auto; opacity: .55; image-rendering: pixelated; margin-bottom: 8px; }   /* 桜島モチーフ */

/* ============ 4. 部品: ターミナル窓・ボタン・ルビタ ============ */
.win { background: var(--pn); border: 2px solid var(--ac); box-shadow: var(--sd) var(--sd) 0 var(--sh); }
.win-bar { display: flex; gap: 8px; align-items: center; padding: 8px 16px; background: var(--hb); color: var(--hbt); font-size: 14px; }
.win-bar i { width: 10px; height: 10px; display: inline-block; background: var(--hbt); opacity: .9; }
.win-bar i:nth-child(1) { background: var(--amf); opacity: 1; }
.win-bar span { margin-left: 8px; }
.win-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.win-body h1 { margin: 0; font-size: clamp(18px, 3vw, 34px); line-height: 1.45; font-weight: 400; color: var(--hd); text-wrap: balance; }
.win-body h1 .ph { display: inline-block; }

.btn { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 22px; text-decoration: none; border: 2px solid var(--ac); background: var(--ac); color: var(--onac); }
.btn:hover { color: var(--onac); filter: brightness(1.12); }
.btn.line { background: transparent; color: var(--am); border-color: var(--amf); }
.btn.line:hover { color: var(--am); background: color-mix(in srgb, var(--amf) 14%, transparent); }
.btn.am { background: var(--amf); border-color: var(--amf); color: var(--onam); }
.btn.am:hover { color: var(--onam); }

/* ルビタの枠は2サイズだけ: L（トップのヒーロー 240px）／ S（それ以外 104px。スマホは72px）。枠線・影は共通 */
.rubita-frame { width: 240px; height: 240px; max-width: 100%; background: var(--pn); border: 3px solid var(--ac); box-shadow: var(--sd) var(--sd) 0 var(--sh); padding: 10px; }
.rubita-frame img { width: 100%; height: 100%; image-rendering: pixelated; display: block; }
.rubita-frame.s { width: 104px; height: 104px; padding: 8px; box-shadow: 4px 4px 0 var(--sh); flex: none; }
.bubble { position: relative; background: var(--pn); border: 2px solid var(--ac); box-shadow: 4px 4px 0 var(--sh); padding: 12px 18px; font-weight: 700; max-width: 340px; text-wrap: balance; }
.bubble::after { content: ""; position: absolute; left: 36px; bottom: -14px; width: 12px; height: 12px; background: var(--pn); border-right: 2px solid var(--ac); border-bottom: 2px solid var(--ac); transform: translateY(-1px); }

/* ============ 5. トップ: ヒーロー ============ */
.hero-top { padding: 48px 0; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.hero-top .win { flex: 1 1 480px; }
.hero-top .rubita-wrap { flex: 1 1 240px; display: flex; justify-content: center; }
.say { display: block; }
.say-r { display: none; }   /* 小ルビタは、スマホでヒーロー内にだけ出す */

/* ============ 6. アプリ一覧 ============ */
.list { display: flex; flex-direction: column; border: 1px solid var(--ln); background: var(--pn); }
.row { display: grid; grid-template-columns: 36px 48px 1fr auto auto; gap: 12px 20px; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--ln); text-decoration: none; color: var(--tx); }
.row:last-child { border-bottom: 0; }
.row:hover { background: color-mix(in srgb, var(--ac) 8%, var(--pn)); }
.row .no { color: var(--am); font-size: 18px; }
.row .ic { width: 48px; height: 48px; border-radius: 11px; border: 1px solid var(--ln); }
.row .txt b { display: block; font-size: 18px; color: var(--hd); line-height: 1.4; }
.row .txt small { display: block; font-size: 14px; color: var(--mu); }
.row .pf { font-size: 14px; color: var(--mu); }
.row .go { color: var(--ac); }

/* ============ 7. 敵キャラ図鑑（1ページ＝1階層＝7体。1マス目に階層タイル、2〜8マス目に7体） ============ */
.zhead { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.zhead .t { flex: 1 1 280px; display: flex; flex-direction: column; gap: 8px; }
.zhead p { margin: 0; max-width: 640px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.card { border: 2px solid var(--ac); background: var(--pn); display: flex; flex-direction: column; }
.card .cap { padding: 8px 14px; background: var(--hb); color: var(--hbt); font-size: 14px; display: flex; align-items: center; }
.card .art { aspect-ratio: 1; background: #f5f6f1; }   /* 絵は仕上げ済み（paper背景）を、ライト・ダークとも同じ地に載せる */
.card .art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card .nm { padding: 10px 14px 12px; font-weight: 700; color: var(--hd); }   /* キャラ名: 全角10字以内 */
.new { background: var(--amf); color: var(--onam); padding: 0 6px; margin-left: 8px; font-size: 12px; font-weight: 400; }
.card.lock { border: 2px dashed var(--ds); background: transparent; }
.card.lock .cap { background: transparent; color: var(--lk); border-bottom: 2px dashed var(--ds); }
.card.lock .art { background: transparent; display: flex; align-items: center; justify-content: center; font-family: 'DotGothic16', sans-serif; color: var(--lk); font-size: 18px; }
.card.lock .nm { color: var(--lk); }
.floor-tile { border: 2px solid var(--ac); background: var(--hb); color: var(--hbt); display: flex; flex-direction: column; justify-content: space-between; gap: 10px; padding: 14px; box-shadow: var(--sd) var(--sd) 0 var(--sh); }
.floor-tile .no { font-family: 'DotGothic16', sans-serif; font-size: 13px; opacity: .9; letter-spacing: .04em; }
.floor-tile .fl { font-family: 'DotGothic16', sans-serif; font-size: 34px; line-height: 1.1; }
.floor-tile .sub { font-size: 15px; font-weight: 900; line-height: 1.35; }   /* サブタイトル: 「」を除き全角10字以内 */
.floor-tile .boss { display: flex; flex-direction: column; }
.floor-tile .boss .lb { font-family: 'DotGothic16', sans-serif; font-size: 12px; opacity: .9; }
.floor-tile .boss .bn { font-size: 15px; font-weight: 900; line-height: 1.4; }   /* ボス名: 全角10字以内 */
.floor-tile .files { font-family: 'DotGothic16', sans-serif; font-size: 13px; }
.floor-tile .bar { height: 8px; background: color-mix(in srgb, var(--hbt) 25%, transparent); }
.floor-tile .bar i { display: block; height: 100%; background: var(--amf); }

/* ページ送り（番号＝階層。新しい階層ができるたびに1つ増える。省略ルールは仕様書） */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.pager a, .pager span.cur, .pager span.gap { min-width: 44px; height: 44px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; font-family: 'DotGothic16', sans-serif; font-size: 17px; text-decoration: none; border: 2px solid var(--ac); color: var(--ac); background: var(--pn); }
.pager a:hover { background: color-mix(in srgb, var(--ac) 12%, var(--pn)); }
.pager span.cur { background: var(--ac); color: var(--onac); }
.pager span.gap { border-color: transparent; background: transparent; color: var(--mu); min-width: 24px; padding: 0; }
.pager a.step { border-color: var(--ln); color: var(--mu); }
.pager-note { text-align: center; font-family: 'DotGothic16', sans-serif; font-size: 13px; color: var(--mu); }
.more { align-self: center; }

/* ============ 8. 開発ログ・Xへの誘導 ============ */
.log { background: var(--pn); border: 1px solid var(--ln); padding: 18px 24px; font-size: 15px; display: flex; flex-direction: column; gap: 10px; }
.log div { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.log .d { color: var(--mu); }
.log .t { color: var(--ac); }
.follow { border: 2px solid var(--amf); background: var(--pn); box-shadow: var(--sd) var(--sd) 0 color-mix(in srgb, var(--amf) 45%, transparent); }
.follow .bar { display: flex; gap: 8px; align-items: center; padding: 6px 16px; background: var(--amf); color: var(--onam); font-size: 13px; }
.follow .bar i { width: 8px; height: 8px; background: var(--onam); display: inline-block; opacity: .85; }
.follow .body { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding: 20px 24px; }
.follow .talk { flex: 1 1 320px; display: flex; align-items: center; gap: 18px; }
.follow .msg { display: flex; flex-direction: column; gap: 2px; }
.follow .who { font-size: 22px; font-weight: 700; color: var(--hd); line-height: 1.3; }

/* ============ 9. アプリ詳細 ============ */
.crumb { font-family: 'DotGothic16', sans-serif; font-size: 14px; color: var(--mu); padding-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 0 .5em; }
.crumb a { color: var(--mu); display: inline-flex; align-items: center; min-height: 44px; }
.hero { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding: 24px 0 40px; }
.hero .l { flex: 1 1 480px; display: flex; flex-direction: column; gap: 16px; }
.hero .r { flex: 1 1 260px; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.ident { display: flex; align-items: center; gap: 20px; }
.ident img { width: 96px; height: 96px; border-radius: 22px; border: 1px solid var(--ln); }
.ident h1 { margin: 0; font-size: clamp(26px, 8vw, 40px); font-weight: 900; line-height: 1.3; color: var(--hd); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }   /* 幅が足りなければラベル単位で折り返す（ラベルの途中では折り返さない） */
.chips span { border: 2px solid var(--ac); padding: 0 10px; font-size: 14px; color: var(--ac); white-space: nowrap; }
.lead { font-size: 18px; font-weight: 700; margin: 0; color: var(--hd); }
/* ストアの公式バッジ（Apple/Google）。改変しない: 色・角丸・影・拡縮の歪み・hover拡大なし。周囲の余白は高さの1/4以上（13px）、高さは両社そろえる */
.store { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 13px 0; }
.store a { display: inline-flex; line-height: 0; }
.store img { display: block; height: 52px; width: auto; }
.shots { display: flex; gap: 20px; overflow-x: auto; padding: 4px 4px 16px; scroll-snap-type: x mandatory; }
.shot { flex: 0 0 min(220px, 62vw); aspect-ratio: 9 / 19.5; scroll-snap-align: start; background: var(--pn); border: 2px solid var(--ac); box-shadow: 6px 6px 0 var(--sh); display: flex; flex-direction: column; }
.shot .win-bar { padding: 4px 10px; font-size: 12px; }
.shot .ph { flex: 1; display: flex; align-items: center; justify-content: center; color: var(--mu); font-size: 14px; text-align: center; padding: 8px; }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feat { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.feat > div { background: var(--pn); border: 1px solid var(--ln); padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.feat .n { color: var(--am); font-size: 14px; }
.feat b { font-size: 18px; font-weight: 900; color: var(--hd); }
.feat .s { font-size: 15px; color: var(--mu); }
.support { display: flex; flex-wrap: wrap; gap: 16px 40px; background: var(--pn); border: 1px solid var(--ln); padding: 22px 26px; align-items: center; justify-content: space-between; }
.support a { display: inline-flex; align-items: center; min-height: 44px; }
.others { display: flex; flex-wrap: wrap; gap: 20px; }
.others a { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 104px; text-align: center; font-size: 13px; font-weight: 700; color: var(--hd); text-decoration: none; }
.others img { width: 80px; height: 80px; border-radius: 18px; border: 1px solid var(--ln); }

/* ============ 10. スマホ（幅640px以下）: 各要素を小さく、窓を主役に ============ */
@media (max-width: 640px) {
  :root { --sd: 4px; }
  body { font-size: 15px; line-height: 1.7; }
  .wrap { padding: 0 16px; }
  header.site { padding: 12px 0; gap: 0 16px; }
  .logo { font-size: 18px; }
  nav.site { font-size: 14px; gap: 0; }
  nav.site a { padding: 8px; }
  section.blk { padding: 8px 0 36px; gap: 12px; }
  .tag { font-size: 12px; }
  h2.hh { font-size: 19px; }
  .hero-top { padding: 28px 0 36px; gap: 20px; }
  .hero-top .rubita-wrap { display: none; }                    /* 大ルビタは出さず、窓の中に小ルビタ */
  .say { display: flex; gap: 12px; align-items: center; }
  .say-r { display: block; width: 56px; height: 56px; flex: none; image-rendering: pixelated; border: 2px solid var(--ac); background: var(--pn); padding: 4px; }
  .win-body { padding: 16px 16px 18px; gap: 8px; font-size: 14px; }
  .win-bar { padding: 6px 12px; font-size: 12px; }
  .btn { padding: 6px 16px; font-size: 14px; }
  .rubita-frame.s { width: 72px; height: 72px; padding: 6px; border-width: 2px; box-shadow: 3px 3px 0 var(--sh); }
  .row { grid-template-columns: 48px 1fr auto; grid-template-areas: "ic txt txt" "ic pf go"; padding: 12px 14px; gap: 2px 12px; align-items: center; }
  .row .no { display: none; }
  .row .ic { grid-area: ic; align-self: start; }
  .row .txt { grid-area: txt; }
  .row .pf { grid-area: pf; font-size: 12px; }
  .row .go { grid-area: go; justify-self: end; font-size: 14px; }
  .row .txt b { font-size: 16px; }
  .row .txt small { font-size: 13px; }
  .cards { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .floor-tile { grid-column: 1 / -1; padding: 14px 16px; }     /* 階層タイルは横いっぱいの帯 */
  .floor-tile .fl { font-size: 28px; }
  .card .cap { font-size: 11px; padding: 4px 8px; }
  .card .nm { font-size: 13px; padding: 6px 8px 8px; }
  .pager { gap: 6px; }
  .pager a, .pager span.cur { padding: 0 8px; }
  .log { font-size: 13px; padding: 14px 16px; }
  .follow .body { padding: 14px 16px; gap: 12px; }
  .follow .who { font-size: 18px; }
  .follow .talk { gap: 12px; flex-basis: 100%; }
  .follow .btn { width: 100%; justify-content: center; }
  .hero { padding: 16px 0 28px; gap: 20px; }
  .hero .r { flex-direction: row; gap: 14px; }
  .ident { gap: 14px; }
  .ident img { width: 72px; height: 72px; border-radius: 17px; }
  .ident h1 { font-size: 26px; }
  .lead { font-size: 16px; }
  .bubble { font-size: 14px; padding: 10px 14px; }
  .shot { flex-basis: min(160px, 46vw); }
  .feat > div { padding: 14px 16px; }
  .support { padding: 16px; }
  .others { gap: 14px; }
  .others a { width: 100px; }   /* 「プランツびより」（7字）が1行に収まる幅 */
  .others img { width: 64px; height: 64px; border-radius: 14px; }
  .motif { opacity: .4; }
}

/* LINEスタンプ（/stickers/） */
.stoc { border: 2px solid var(--ac); background: var(--pn); padding: 12px 16px; display: flex; flex-direction: column; gap: 10px; }
.stoc > p { margin: 0; font-size: 13px; }
.stoc .srow { display: grid; grid-template-columns: 11em 1fr; gap: 8px 12px; align-items: start; }
.stoc .lb { font-size: 13px; color: var(--hd); padding-top: 10px; }
.stoc .cs { display: flex; flex-wrap: wrap; gap: 8px; }
.stoc .cs a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 2px solid var(--ac); color: var(--ac); font-size: 14px; text-decoration: none; white-space: nowrap; }
.stoc .cs a:hover { background: var(--ac); color: var(--onac); }
.stoc .cs b { background: var(--ac); color: var(--onac); font-weight: 400; font-size: 12px; padding: 0 5px; }
.stoc .cs a:hover b { background: var(--onac); color: var(--ac); }
.stoc .cs b.new { background: var(--amf); color: var(--onam); margin-left: 0; }
.stoc .cs a:hover b.new { background: var(--amf); color: var(--onam); }
.stk h2 .new { margin-left: 10px; vertical-align: middle; white-space: nowrap; }
@media (max-width: 640px) { .stoc .srow { grid-template-columns: 1fr; } .stoc .lb { padding-top: 0; } }
.stk { scroll-margin-top: 16px; }
.stk { border: 2px solid var(--ac); background: var(--pn); box-shadow: var(--sd) var(--sd) 0 var(--sh); }
.stk .top { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 16px; align-items: start; }
.stk .art { aspect-ratio: 1; background: #f5f6f1; border: 2px solid var(--ac); }
.stk .art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stk .info { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.stk .info h2.hh { font-size: clamp(18px, 4.6vw, 22px); line-height: 1.4; }
.stk .shcap { margin: 0; padding: 8px 16px; font-size: 13px; color: var(--mu); border-top: 2px solid var(--ac); }
.stk summary.shcap { display: flex; align-items: center; min-height: 44px; cursor: pointer; list-style: none; color: var(--ac); }
.stk summary.shcap::-webkit-details-marker { display: none; }
.stk summary.shcap:focus-visible { outline: 3px solid var(--amf); outline-offset: -3px; }
.stk .shbox:not([open]) .o, .stk .shbox[open] .c { display: none; }
.stk .shnote { margin: 0; padding: 0 16px 8px; font-size: 13px; color: var(--mu); }
.stk .sheet { border-top: 2px solid var(--ac); background: #f5f6f1; }
.stk .sheet img { width: 100%; height: auto; display: block; }
@media (max-width: 640px) { .stk .top { grid-template-columns: 1fr; } .stk .art { max-width: 200px; } }
