/* mana&suica 夜更けのショーケース
   方向: 深夜のブティック。黒葡萄のベルベット、真鍮の細罫と値札、明朝の見出し、アールデコの扇。
   スマホ幅375pxを先に組み、900px以上で2段組みにする。 */

:root {
  --ink: #100a0d;
  --ink-2: #170e13;
  --panel: #1c1117;
  --velvet: #2b0f1b;
  --wine: #5a1428;
  --rouge: #9e2c46;
  --rouge-2: #b8405b;
  --moss: #0e2622;
  --moss-2: #1d4a40;
  --navy: #11152d;
  --navy-2: #263163;
  --brass: #c9a35f;
  --brass-2: #e6cb93;
  --brass-a: rgba(201, 163, 95, .32);
  --brass-b: rgba(201, 163, 95, .14);
  --cream: #f2e7d9;
  --muted: #c2b0a2;
  --dim: #9c897d;
  --f-display: "Cormorant Garamond", "Shippori Mincho B1", "Yu Mincho", serif;
  --f-mincho: "Shippori Mincho B1", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --f-body: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", "YuGothic", "Meiryo", sans-serif;
  --wrap: 1180px;
  --gutter: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--ink);
  background-image:
    radial-gradient(ellipse 90% 520px at 50% -120px, rgba(158, 44, 70, .30), transparent 72%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .014) 0 1px, transparent 1px 4px);
  color: var(--cream);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: .03em;
  overflow-x: hidden;
  font-feature-settings: "palt" 0;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 60;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .9 0 0 0 0 .8 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--brass-2); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: var(--cream); }
:focus-visible { outline: 2px solid var(--brass-2); outline-offset: 3px; }
::selection { background: var(--rouge); color: var(--cream); }
h1, h2, h3 { font-family: var(--f-mincho); font-weight: 600; letter-spacing: .06em; line-height: 1.5; text-wrap: balance; word-break: auto-phrase; }
.frame-head, .tile h3, .photo-card h3, .inline-work h3 { text-wrap: balance; word-break: auto-phrase; }
p { margin: 0 0 1.1em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 8px; top: -60px; z-index: 90; background: var(--brass); color: #1a1008; padding: 8px 14px; }
.skip:focus { top: 8px; }

/* ---------- 年齢確認 ---------- */
.age-gate {
  position: fixed; inset: 0; z-index: 80;
  display: grid; place-items: center;
  padding: 24px var(--gutter);
  background:
    radial-gradient(ellipse 70% 60% at 50% 30%, rgba(158, 44, 70, .45), transparent 70%),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .18) 0 2px, transparent 2px 6px),
    linear-gradient(180deg, #2a0d18, #12080d 70%);
  overflow-y: auto;
}
.gate-open .age-gate { display: none; }
.gate-closed .site { display: none; }
.gate-card {
  position: relative;
  width: min(100%, 520px);
  padding: 44px 26px 30px;
  text-align: center;
  border: 1px solid var(--brass-a);
  background: rgba(16, 10, 13, .82);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), inset 0 0 0 6px rgba(16, 10, 13, .9), inset 0 0 0 7px var(--brass-b);
  animation: gateIn 1.1s var(--ease) both;
}
.gate-fan { width: 120px; height: 60px; color: var(--brass); margin: 0 auto 6px; }
.gate-card .gate-mark { font-family: var(--f-display); font-style: italic; font-size: 30px; line-height: 1.2; margin: 0; color: var(--cream); }
.gate-mark .amp { color: var(--brass); }
.gate-card h2 { font-size: 24px; margin: 14px 0 12px; letter-spacing: .14em; }
.gate-card p { color: var(--muted); font-size: 15px; line-height: 1.85; }
.gate-q { color: var(--cream) !important; font-family: var(--f-mincho); font-size: 18px !important; margin: 18px 0 16px; }
.gate-buttons { display: grid; gap: 12px; margin: 0 0 18px; }
.gate-buttons button {
  min-height: 52px; padding: 10px 18px; font: inherit; font-size: 16px; letter-spacing: .12em; cursor: pointer;
  color: var(--cream); background: transparent; border: 1px solid var(--brass-a); transition: background .3s, border-color .3s;
}
.gate-buttons button[data-age="yes"] { background: var(--rouge); border-color: var(--rouge-2); }
.gate-buttons button[data-age="yes"]:hover { background: var(--rouge-2); }
.gate-buttons button[data-age="no"]:hover { border-color: var(--brass); }
.gate-note { font-size: 13px !important; color: var(--dim) !important; margin: 0; }
.noscript { position: fixed; inset: auto 0 0 0; z-index: 85; background: var(--wine); color: var(--cream); padding: 14px var(--gutter); text-align: center; font-size: 15px; }
@keyframes gateIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- ヘッダー ---------- */
.masthead { border-bottom: 1px solid var(--brass-a); }
.masthead-inner { max-width: var(--wrap); margin: 0 auto; padding: 18px var(--gutter) 10px; }
.logo { display: inline-block; text-decoration: none; color: var(--cream); line-height: 1; }
.logo-word { font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: 34px; letter-spacing: .01em; }
.logo-word .amp { color: var(--brass); font-size: 1.12em; padding: 0 .03em; }
.logo-sub { display: block; margin-top: 6px; font-family: var(--f-mincho); font-size: 12px; letter-spacing: .32em; color: var(--brass); }
.logo:hover .logo-word { color: var(--brass-2); }
.primary-nav { margin-top: 12px; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 18px; }
.primary-nav a { display: inline-block; padding: 6px 0; font-size: 15px; letter-spacing: .14em; color: var(--muted); text-decoration: none; border-bottom: 1px solid transparent; }
.primary-nav a:hover { color: var(--cream); }
.primary-nav a[aria-current="page"] { color: var(--brass-2); border-bottom-color: var(--brass); }
@media (min-width: 900px) {
  .masthead-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 22px 24px 14px; }
  .primary-nav { margin: 0; }
  .logo-word { font-size: 40px; }
}

/* PR表記: 本文と同じ大きさで、ページ上部に置く */
.pr-bar { border-bottom: 1px solid var(--brass-a); background: linear-gradient(90deg, rgba(201, 163, 95, .12), rgba(201, 163, 95, .04)); }
.pr-bar p { max-width: var(--wrap); margin: 0 auto; padding: 10px var(--gutter); font-size: 16px; line-height: 1.75; color: var(--cream); }
.pr-badge, .pr-inline {
  display: inline-block; font-family: var(--f-display); font-weight: 600; font-style: normal; letter-spacing: .16em; line-height: 1.3;
  border: 1px solid var(--brass); color: var(--brass-2); padding: 0 .45em; margin-right: .55em; font-size: 15px;
}

/* パンくず */
.crumbs { max-width: var(--wrap); margin: 0 auto; padding: 14px var(--gutter) 0; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 13px; color: var(--dim); }
.crumbs li + li::before { content: "／"; margin: 0 .5em; color: var(--brass-a); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--cream); }

main { display: block; min-height: 50vh; }

/* ---------- 見出しの型 ---------- */
.sec { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 64px 0 22px; }
.sec-head .sec-title { flex: 1 1 0; min-width: 0; }
@media (max-width: 639px) { .sec-rule { display: none; } .sec-more { flex-basis: 100%; text-align: right; } }
@media (min-width: 640px) { .sec-head .sec-title { flex: 0 1 auto; } }
.sec-no { font-family: var(--f-display); font-style: italic; font-size: 24px; color: var(--brass); min-width: 1.6em; }
.sec-title { margin: 0; font-size: clamp(21px, 5vw, 30px); letter-spacing: .1em; }
.sec-rule { flex: 1; height: 1px; align-self: center; background: linear-gradient(90deg, var(--brass-a), transparent); min-width: 20px; }
.sec-more { font-size: 14px; letter-spacing: .1em; white-space: nowrap; }
.sec-lead { color: var(--muted); max-width: 46em; margin: -8px 0 24px; }

.page-head { max-width: var(--wrap); margin: 0 auto; padding: 34px var(--gutter) 8px; }
.eyebrow { font-family: var(--f-display); font-style: italic; color: var(--brass); font-size: 19px; letter-spacing: .05em; margin: 0 0 4px; }
.eyebrow .jp { font-family: var(--f-mincho); font-style: normal; font-size: 13px; letter-spacing: .3em; margin-left: .7em; }
.page-title { font-size: clamp(26px, 6.4vw, 44px); margin: 0 0 14px; letter-spacing: .08em; }
.page-lead { color: var(--muted); max-width: 44em; white-space: pre-line; }

/* アールデコの区切り */
.deco { display: flex; align-items: center; gap: 14px; max-width: var(--wrap); margin: 56px auto 0; padding: 0 var(--gutter); color: var(--brass); }
.deco::before, .deco::after { content: ""; flex: 1; height: 1px; background: var(--brass-a); }
.deco svg { width: 72px; height: 36px; flex: none; }

/* ---------- ショーウィンドウ（トップ） ---------- */
.window { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 30px var(--gutter) 10px; display: grid; gap: 30px; }
.window::before {
  content: ""; position: absolute; left: 0; right: 0; top: -60px; height: 640px; pointer-events: none;
  background: radial-gradient(ellipse 46% 62% at 68% 0%, rgba(230, 203, 147, .18), transparent 70%);
  animation: lightOn 2.2s var(--ease) both;
}
.window-text { position: relative; animation: rise 1s .25s var(--ease) both; }
.window-label { font-family: var(--f-display); font-style: italic; color: var(--brass); font-size: 21px; margin: 0; }
.window-label .jp { font-family: var(--f-mincho); font-style: normal; font-size: 13px; letter-spacing: .32em; margin-left: .6em; }
.window h1 { font-size: clamp(27px, 7.6vw, 54px); line-height: 1.42; letter-spacing: .07em; margin: 14px 0 18px; }
.window .work-name { font-size: 15px; color: var(--muted); margin-bottom: 18px; }
.window .work-name b { color: var(--cream); font-weight: 700; }
.window-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 22px; }
.window-frame { position: relative; display: block; width: min(100%, 330px); margin: 0 auto; text-decoration: none; animation: rise 1.2s .45s var(--ease) both; }
.inline-work > a, .work-side > .frame, a.window-frame:hover { text-decoration: none; }
@media (min-width: 900px) {
  .window { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 56px; padding: 64px 24px 24px; }
  .window-frame { width: 100%; max-width: 400px; justify-self: end; margin: 0; }
}
@keyframes lightOn { from { opacity: 0; } 40% { opacity: .35; } 55% { opacity: .15; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.oshi {
  position: relative; margin: 0; padding: 4px 0 4px 22px; border-left: 1px solid var(--brass);
  font-family: var(--f-mincho); font-size: 17px; line-height: 2; color: var(--cream);
}
.oshi::before { content: "\201C"; position: absolute; left: -2px; top: -26px; font-family: var(--f-display); font-size: 64px; color: var(--brass); line-height: 1; opacity: .7; }
.oshi-by { display: block; margin-top: 6px; font-family: var(--f-body); font-size: 13px; color: var(--dim); letter-spacing: .1em; }

/* ---------- 額装（作品の顔） ---------- */
.frame {
  --fb1: var(--wine); --fb2: #24060f;
  position: relative; display: block; aspect-ratio: 3 / 4; padding: 11px;
  background: linear-gradient(160deg, #2b1a10, #120a07);
  border: 1px solid var(--brass-a);
  box-shadow: 0 28px 50px -28px rgba(0, 0, 0, .95), inset 0 0 0 1px rgba(230, 203, 147, .12);
}
.frame-inner {
  position: relative; height: 100%; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: safe center; gap: 10px;
  padding: 26px 18px; text-align: center;
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%, rgba(230, 203, 147, .16), transparent 70%),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .16) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, var(--fb1), var(--fb2));
  outline: 1px solid var(--brass-a); outline-offset: -9px;
}
.frame-inner::before, .frame-inner::after {
  content: ""; position: absolute; width: 18px; height: 18px; border: 1px solid var(--brass); pointer-events: none;
}
.frame-inner::before { left: 5px; top: 5px; border-right: 0; border-bottom: 0; }
.frame-inner::after { right: 5px; bottom: 5px; border-left: 0; border-top: 0; }
.frame--comic { --fb1: #5c1529; --fb2: #1f0610; }
.frame--game { --fb1: #154238; --fb2: #07140f; }
.frame--av { --fb1: #232c5c; --fb2: #090b1a; }
.frame-kind { font-size: 11px; letter-spacing: .32em; color: var(--brass-2); padding: 1px 10px; border-top: 1px solid var(--brass-a); border-bottom: 1px solid var(--brass-a); }
.frame-fan { width: 54px; height: 27px; color: var(--brass); opacity: .9; }
.frame-img { width: 100%; height: auto; aspect-ratio: 800 / 538; object-fit: contain; background: #07050a; border: 1px solid var(--brass-b); }
.frame-img + .frame-head { font-size: 13px !important; line-height: 1.55; }
.frame-head { font-family: var(--f-mincho); font-weight: 600; color: var(--cream); font-size: 17px; line-height: 1.6; letter-spacing: .06em; max-width: 100%; overflow-wrap: anywhere; }
.piece .frame-head, .inline-work .frame-head { word-break: normal; }
.frame-foot { font-family: var(--f-display); font-style: italic; color: var(--brass); font-size: 15px; letter-spacing: .06em; max-width: 100%; overflow-wrap: anywhere; }
.frame-foot--meta { font-family: var(--f-body); font-style: normal; font-size: 11.5px; letter-spacing: .12em; color: var(--muted); }
.frame--big .frame-inner { padding: 36px 24px; gap: 16px; }
.frame--big .frame-head { font-size: clamp(20px, 5vw, 24px); writing-mode: vertical-rl; text-orientation: mixed; max-height: 80%; line-height: 1.9; letter-spacing: .12em; }
.frame--big .frame-kind { font-size: 12px; }
.frame--photo { aspect-ratio: auto; }
.frame--photo .frame-inner { padding: 10px; background: #08060a; }
.frame--photo img { width: 100%; height: auto; aspect-ratio: 800 / 538; object-fit: contain; background: #08060a; }

/* ---------- 作品カード ---------- */
.pieces { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 14px; }
@media (min-width: 640px) { .pieces { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 20px; } }
@media (min-width: 1000px) { .pieces { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 26px; } }
.piece { position: relative; }
.piece > a { display: block; text-decoration: none; color: var(--cream); }
.piece .frame { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.piece .frame-head { font-size: 14.5px; }
.piece .frame-kind { white-space: nowrap; letter-spacing: .16em; font-size: 10.5px; padding: 1px 6px; }
@media (min-width: 640px) { .piece .frame-kind { letter-spacing: .28em; font-size: 11px; } }
@media (min-width: 640px) { .piece .frame-head { font-size: 16px; } }
.piece > a:hover .frame, .piece > a:focus-visible .frame { transform: translateY(-4px); box-shadow: 0 36px 60px -26px rgba(0, 0, 0, .95), 0 0 0 1px var(--brass), 0 -30px 60px -40px rgba(230, 203, 147, .5); }
.piece-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 12px; font-size: 13.5px; line-height: 1.7; color: var(--muted); overflow-wrap: anywhere; }
.piece > a:hover .piece-name { color: var(--cream); }
.piece-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 8px; }
.piece-note { margin: 10px 0 0; font-size: 14px; color: var(--muted); line-height: 1.8; }
.piece-rank { position: absolute; left: -6px; top: -14px; z-index: 2; font-family: var(--f-display); font-style: italic; font-size: 34px; line-height: 1; color: var(--brass-2); text-shadow: 0 2px 12px rgba(0, 0, 0, .9); }
.is-lit .frame { animation: spot 1.4s var(--ease) both; }
@keyframes spot { from { filter: brightness(.55); } to { filter: none; } }

/* 横長の写真カード（パッケージ画像のある作品） */
.photos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; }
@media (min-width: 640px) { .photos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .photos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.photo-card > a { display: block; color: var(--cream); text-decoration: none; }
.photo-card .frame { transition: box-shadow .4s var(--ease); }
.photo-card > a:hover .frame { box-shadow: 0 0 0 1px var(--brass), 0 30px 60px -30px rgba(0, 0, 0, .95); }
.photo-card h3 { font-size: 17px; margin: 14px 0 4px; line-height: 1.6; }
.photo-card .piece-name { margin-top: 0; }

/* ---------- 値札と評価 ---------- */
.tag {
  position: relative; display: inline-flex; align-items: baseline; gap: .45em;
  padding: 1px 10px 1px 17px; background: var(--brass); color: #1b1108;
  font-family: var(--f-display); font-weight: 600; font-size: 17px; line-height: 1.5;
  clip-path: polygon(9px 0, 100% 0, 100% 100%, 9px 100%, 0 50%);
}
.tag::before { content: ""; position: absolute; left: 7px; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: var(--ink); }
.tag { white-space: nowrap; }
.tag small { font-family: var(--f-body); font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.checked { font-size: 12px; color: var(--dim); letter-spacing: .06em; white-space: nowrap; }
.tag--off { background: var(--rouge); color: var(--cream); }
.tag--off small { font-size: 12px; }
.tag--off::before { background: var(--cream); }
.stars { font-family: var(--f-display); color: var(--brass-2); font-size: 17px; letter-spacing: .02em; }
.stars small { font-family: var(--f-body); font-size: 12px; color: var(--muted); margin-left: .3em; }
.chip { display: inline-block; padding: 2px 11px; font-size: 13px; line-height: 1.7; letter-spacing: .06em; color: var(--muted); border: 1px solid var(--brass-b); text-decoration: none; }
a.chip:hover { color: var(--cream); border-color: var(--brass); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips--big .chip { font-size: 15px; padding: 6px 16px; }
.chip b { font-family: var(--f-display); font-weight: 600; color: var(--brass-2); margin-left: .4em; }

/* ---------- ボタン ---------- */
.btn {
  white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 48px; padding: 10px 22px;
  font: inherit; font-size: 15px; letter-spacing: .12em; text-decoration: none; cursor: pointer;
  color: var(--cream); background: transparent; border: 1px solid var(--brass); transition: background .3s, color .3s, border-color .3s;
}
.btn:hover { background: var(--brass); color: #1b1108; }
.btn--buy { background: var(--rouge); border-color: var(--rouge-2); }
.btn--buy:hover { background: var(--rouge-2); color: var(--cream); }
.btn--ghost { border-color: var(--brass-a); }
.btn--small { min-height: 40px; padding: 6px 14px; font-size: 14px; }
.btn .pr-inline { margin: 0; font-size: 12px; border-color: currentColor; color: inherit; }
.btn svg { width: 16px; height: 16px; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }

/* ---------- 作品ページ ---------- */
.work { max-width: var(--wrap); margin: 0 auto; padding: 26px var(--gutter) 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; }
@media (min-width: 900px) { .work { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 56px; padding-top: 40px; } .work-side { position: sticky; top: 24px; align-self: start; } }
.work-title { font-size: clamp(24px, 6vw, 38px); margin: 6px 0 10px; line-height: 1.5; overflow-wrap: anywhere; }
.work-sub { font-size: 13.5px; font-weight: 400; line-height: 1.7; color: var(--dim); margin: 0 0 6px; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.work-meta { font-size: 14px; color: var(--muted); margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 2px 14px; }
.meta-item { white-space: nowrap; }
.blurb p { font-size: 16.5px; }
.caution { border: 1px solid rgba(184, 64, 91, .6); background: rgba(158, 44, 70, .12); padding: 10px 14px; font-size: 15px; margin: 0 0 18px; }
.caution b { color: #f08aa0; margin-right: .4em; }
.pricebox { border: 1px solid var(--brass-a); padding: 16px 18px; margin: 24px 0 8px; background: rgba(23, 14, 19, .7); }
.pricebox h2 { font-size: 15px; letter-spacing: .2em; color: var(--brass-2); margin: 0 0 8px; }
.pricebox p { margin: 0 0 6px; font-size: 15px; }
.pricebox .now { color: var(--cream); }
.pricebox small { color: var(--dim); font-size: 13px; }
.factsheet { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0 0; }
.factsheet th, .factsheet td { text-align: left; vertical-align: top; padding: 10px 0; border-bottom: 1px solid var(--brass-b); }
.factsheet th { width: 7.5em; font-weight: 400; color: var(--dim); letter-spacing: .1em; padding-right: 12px; }
.factsheet td { overflow-wrap: anywhere; }
.sample { margin: 18px 0; }
.sample-box { position: relative; aspect-ratio: 720 / 480; background: #05040a; border: 1px solid var(--brass-a); display: grid; place-items: center; text-align: center; padding: 16px; }
.sample-box.is-playing { padding: 0; overflow: hidden; }
.sample-box iframe { position: absolute; left: 0; top: 0; width: 720px; height: 480px; max-width: none; border: 0; transform-origin: 0 0; }
.sample-box p { color: var(--muted); font-size: 14px; margin: 10px 0 0; }

/* ---------- ポスト ---------- */
.xpost { border: 1px solid var(--brass-a); background: linear-gradient(180deg, rgba(43, 15, 27, .55), rgba(16, 10, 13, .7)); padding: 18px 18px 14px; position: relative; }
.xpost-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 13px; color: var(--dim); margin-bottom: 10px; }
.xpost-handle { font-family: var(--f-display); font-style: italic; font-size: 17px; color: var(--brass-2); }
.xpost-body { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 16.5px; line-height: 1.95; margin: 0 0 12px; }
.xpost-media { border: 1px dashed var(--brass-a); padding: 12px 14px; font-size: 14.5px; color: var(--muted); margin: 0 0 12px; }
.xpost-embed:empty { display: none; }
.xpost-embed { margin: 12px 0; min-height: 40px; }
.metrics { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; color: var(--muted); margin: 6px 0 0; padding: 0; list-style: none; }
.metrics b { font-family: var(--f-display); font-weight: 600; font-size: 19px; color: var(--cream); margin-right: .25em; }
.intents { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }

.postlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--brass-b); }
.postlist li { border-bottom: 1px solid var(--brass-b); }
.postlist a { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 14px 4px; text-decoration: none; color: var(--cream); transition: background .25s; }
.postlist a:hover { background: rgba(201, 163, 95, .06); }
.postlist time { font-family: var(--f-display); font-size: 16px; color: var(--brass-2); letter-spacing: .04em; }
.postlist .first { font-size: 15.5px; line-height: 1.75; overflow-wrap: anywhere; }
.postlist .meta { font-size: 12.5px; color: var(--dim); letter-spacing: .06em; }
@media (min-width: 760px) { .postlist a { grid-template-columns: 11em minmax(0, 1fr); column-gap: 20px; } .postlist .meta { grid-column: 2; } }

.pager { display: flex; justify-content: space-between; gap: 12px; margin: 28px 0 0; }
.pager a { flex: 1; border: 1px solid var(--brass-b); padding: 10px 14px; font-size: 14px; text-decoration: none; color: var(--muted); }
.pager a:hover { border-color: var(--brass); color: var(--cream); }
.pager .next { text-align: right; }

/* ---------- 記事（詳しい版） ---------- */
.article { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }
.article-head { padding: 34px 0 10px; }
.article-head .page-title { font-size: clamp(25px, 6.2vw, 40px); }
.article-meta { font-size: 13.5px; color: var(--dim); letter-spacing: .06em; }
.article-body h2 { font-size: clamp(20px, 5vw, 25px); margin: 48px 0 16px; padding-top: 18px; border-top: 1px solid var(--brass-b); position: relative; }
.article-body h2::before { content: ""; position: absolute; left: 0; top: -1px; width: 48px; height: 1px; background: var(--brass); }
.article-body p { font-size: 16.5px; }
.article-body ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.article-body li { margin: 0 0 .4em; }
.article-body li::marker { color: var(--brass); }
.article-body blockquote { margin: 0 0 1.4em; padding: 4px 0 4px 18px; border-left: 2px solid var(--rouge-2); color: var(--muted); white-space: pre-wrap; }
.article-body .embed-work { margin: 26px 0; }
.sources { margin: 40px 0 0; padding: 16px 18px; border: 1px solid var(--brass-b); font-size: 14.5px; }
.sources h2 { font-size: 15px; letter-spacing: .2em; color: var(--brass-2); margin: 0 0 8px; border: 0; padding: 0; }
.sources h2::before { display: none; }
.sources ul { margin: 0; padding-left: 1.2em; }

.inline-work { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: start; padding: 16px; border: 1px solid var(--brass-a); background: rgba(23, 14, 19, .6); }
.inline-work .frame { padding: 6px; }
.inline-work .frame-inner { padding: 10px 6px; gap: 4px; outline-offset: -5px; }
.inline-work .frame-inner::before, .inline-work .frame-inner::after { width: 9px; height: 9px; left: 3px; top: 3px; }
.inline-work .frame-inner::after { left: auto; top: auto; right: 3px; bottom: 3px; }
.inline-work .frame-head { font-size: 10.5px; line-height: 1.5; letter-spacing: .02em; }
.inline-work .frame-kind { font-size: 9px; letter-spacing: .2em; padding: 0 4px; }
.inline-work .frame-fan { display: none; }
.inline-work h3 { font-size: 16.5px; margin: 0 0 4px; line-height: 1.6; }
.inline-work h3 a { color: var(--cream); text-decoration: none; }
.inline-work h3 a:hover { color: var(--brass-2); }
.inline-work p { font-size: 14.5px; color: var(--muted); margin: 0 0 8px; }
.inline-work .actions { margin: 8px 0 0; }

/* タイル（まとめ・特集の一覧） */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1040px) { .tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tile > a { position: relative; display: block; height: 100%; padding: 22px 20px 20px; text-decoration: none; color: var(--cream); border: 1px solid var(--brass-a); background: linear-gradient(170deg, rgba(90, 20, 40, .35), rgba(16, 10, 13, .6) 60%); transition: border-color .3s, transform .4s var(--ease); }
.tile > a:hover { border-color: var(--brass); transform: translateY(-3px); }
.tile .num { font-family: var(--f-display); font-style: italic; color: var(--brass); font-size: 22px; line-height: 1; }
.tile h3 { font-size: 19px; margin: 8px 0 8px; line-height: 1.6; }
.tile p { font-size: 14.5px; color: var(--muted); margin: 0; }
.tile .count { display: block; margin-top: 12px; font-size: 12.5px; color: var(--dim); letter-spacing: .1em; }

/* 一覧の表（Xで紹介した作品・ランキング） */
.ledger { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.ledger caption { text-align: left; color: var(--muted); font-size: 13.5px; padding: 0 0 10px; caption-side: top; }
.ledger th, .ledger td { padding: 12px 8px; border-bottom: 1px solid var(--brass-b); text-align: left; vertical-align: top; }
.ledger thead th { font-weight: 400; color: var(--dim); font-size: 12.5px; letter-spacing: .12em; border-bottom-color: var(--brass-a); }
.ledger td.n { font-family: var(--f-display); font-size: 17px; white-space: nowrap; }
.ledger a { color: var(--cream); }
.ledger .first { color: var(--muted); font-size: 13.5px; display: block; margin-top: 4px; overflow-wrap: anywhere; }
@media (max-width: 699px) {
  .ledger thead { display: none; }
  .ledger, .ledger tbody, .ledger tr, .ledger td { display: block; width: 100%; }
  .ledger caption { display: block; width: 100%; }
  .ledger tr { border-bottom: 1px solid var(--brass-b); padding: 10px 0; }
  .ledger td { border: 0; padding: 2px 0; }
  .ledger td[data-label]::before { content: attr(data-label) "　"; color: var(--dim); font-size: 12px; letter-spacing: .1em; }
}

/* 絞り込み */
.filters { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: end; margin: 8px 0 26px; padding: 14px 16px; border: 1px solid var(--brass-b); background: rgba(23, 14, 19, .6); }
.filters label { display: grid; gap: 4px; font-size: 12.5px; color: var(--dim); letter-spacing: .1em; }
.filters select, .search-box input {
  min-height: 44px; min-width: 9em; padding: 6px 10px; font: inherit; font-size: 15px; color: var(--cream);
  background: var(--ink); border: 1px solid var(--brass-a); border-radius: 0;
}
.filters output { font-size: 14px; color: var(--muted); margin-left: auto; }
.search-box { display: flex; gap: 8px; margin: 8px 0 22px; }
.search-box input { flex: 1; min-width: 0; font-size: 16px; }
.results { list-style: none; margin: 0; padding: 0; }
.results li { border-bottom: 1px solid var(--brass-b); }
.results a { display: block; padding: 12px 2px; text-decoration: none; color: var(--cream); }
.results .k { font-size: 12px; color: var(--brass-2); letter-spacing: .14em; margin-right: .8em; }
.results .s { display: block; font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }

/* 本文の汎用ブロック */
.prose { max-width: 760px; }
.prose h2 { font-size: 21px; margin: 40px 0 12px; }
.prose p, .prose li { font-size: 16px; }
.prose ul { padding-left: 1.2em; }
.note { font-size: 14px; color: var(--muted); }
.empty { color: var(--muted); padding: 20px 0; }
.twocol { display: grid; gap: 30px; }
@media (min-width: 900px) { .twocol { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; } }

/* フッター */
.colophon { margin-top: 90px; border-top: 1px solid var(--brass-a); background: linear-gradient(180deg, rgba(43, 15, 27, .4), transparent); }
.colophon-inner { max-width: var(--wrap); margin: 0 auto; padding: 36px var(--gutter) 40px; display: grid; gap: 26px; }
@media (min-width: 900px) { .colophon-inner { grid-template-columns: 1.1fr 1fr; } }
.colophon .logo-word { font-size: 30px; }
.colophon p { font-size: 14px; color: var(--muted); }
.colophon ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; }
.colophon ul a { color: var(--muted); text-decoration: none; }
.colophon ul a:hover { color: var(--cream); }
.follow { display: inline-flex; align-items: center; gap: .6em; }
.credit { font-size: 12.5px; color: var(--dim); }

/* 404 */
.lost { text-align: center; padding: 60px var(--gutter) 20px; }
.lost .big { font-family: var(--f-display); font-style: italic; font-size: clamp(80px, 26vw, 160px); line-height: 1; color: var(--brass); margin: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .frame, .tile > a, .btn { border: 1px solid CanvasText; }
}
.inline-work .frame-foot { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

/* ---------- 2026-10-17 の見直し ---------- */
[hidden] { display: none !important; }
p, li, .note, .sec-more, .gate-note, .page-lead, .sec-lead { text-wrap: pretty; word-break: auto-phrase; }
.phrase { display: inline-block; }

/* 数字はローマ数字と見分けがつくよう、高さのそろった等幅の数字にする */
.chip b, .ledger td.n, .tag, .stars, .piece-rank, .metrics b, .tile .num, .postlist time, .rank-n, .checked, .frame-stat b, .xpost-head time, .pager small {
  font-variant-numeric: lining-nums tabular-nums;
}

/* スマホでは、ナビを1行の横スクロールにして、ヘッダーを低くする */
@media (max-width: 899px) {
  .masthead-inner { padding: 12px var(--gutter) 0; }
  .logo-word { font-size: 28px; }
  .logo-sub { margin-top: 4px; font-size: 11px; }
  .primary-nav { margin: 6px calc(var(--gutter) * -1) 0; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .primary-nav::-webkit-scrollbar { display: none; }
  .primary-nav ul { flex-wrap: nowrap; gap: 0 4px; padding: 0 var(--gutter); }
  .primary-nav a { white-space: nowrap; padding: 10px 8px; font-size: 14px; letter-spacing: .08em; min-height: 44px; display: inline-flex; align-items: center; }
  .pr-bar p { padding: 8px var(--gutter); font-size: 16px; line-height: 1.6; }
}
.pr-more { margin-left: .6em; font-size: 13px; white-space: nowrap; }

/* パンくずは1行に収め、最後の項目は省略記号で切る */
.crumbs ol { flex-wrap: nowrap; overflow: hidden; }
.crumbs li { white-space: nowrap; flex: none; }
.crumbs li:last-child { flex: 1 1 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; padding: 10px 0; }
.crumbs a { display: inline-block; padding: 10px 0; }

/* タップしやすい大きさ */
.chip { padding: 9px 13px; line-height: 1.5; }
.chips--big .chip { padding: 10px 16px; }
.colophon ul { gap: 2px 8px; }
.colophon ul a { display: inline-block; padding: 10px 6px; }
.colophon .follow { min-height: 44px; }

/* 額装：画像付きのカードは高さを中身に合わせ、種別と出演者名が欠けないようにする */
.frame--hasimg { aspect-ratio: auto; }
.frame--hasimg .frame-inner { padding: 16px 12px 14px; }
.inline-work .frame-inner { padding: 10px 7px; }
/* 種類やジャンルごとに、額の地の模様を変える（作品の顔の代わり） */
.frame--m-nh .frame-inner {
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%, rgba(230, 203, 147, .18), transparent 70%),
    repeating-radial-gradient(circle at 50% 120%, rgba(230, 203, 147, .07) 0 1px, transparent 1px 14px),
    linear-gradient(180deg, var(--fb1), var(--fb2));
}
.frame--m-oto .frame-inner {
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%, rgba(230, 203, 147, .16), transparent 70%),
    repeating-linear-gradient(45deg, rgba(230, 203, 147, .06) 0 1px, transparent 1px 12px),
    repeating-linear-gradient(-45deg, rgba(230, 203, 147, .06) 0 1px, transparent 1px 12px),
    linear-gradient(180deg, var(--fb1), var(--fb2));
}
.frame--m-tf .frame-inner {
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%, rgba(230, 203, 147, .16), transparent 70%),
    repeating-linear-gradient(0deg, rgba(230, 203, 147, .06) 0 1px, transparent 1px 10px),
    linear-gradient(180deg, var(--fb1), var(--fb2));
}
.frame--m-nh.frame--av { --fb1: #3a1c4a; --fb2: #0f0716; }
.frame--m-oto.frame--av { --fb1: #2a2f58; --fb2: #0a0b1c; }

/* トップの今夜の一点の額：見出しをくり返さず、数字とジャンルを載せる */
.frame-card { display: grid; gap: 10px; justify-items: center; margin: 4px 0; }
.frame-stat { display: grid; justify-items: center; font-size: 12px; letter-spacing: .2em; color: var(--muted); }
.frame-stat b { font-family: var(--f-display); font-weight: 600; font-size: 34px; letter-spacing: .02em; color: var(--cream); line-height: 1.1; }
.frame-genres { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.frame-genres span { font-size: 12px; letter-spacing: .14em; color: var(--brass-2); border: 1px solid var(--brass-a); padding: 2px 8px; }
.window .work-name { display: flex; flex-wrap: wrap; gap: 2px 14px; align-items: baseline; }


/* 作品ページ */
@media (min-width: 900px) { .work-end-buy { display: none; } }
.inline-name { font-size: 13px !important; color: var(--dim) !important; }
.annotation { margin: 18px 0 0; padding: 14px 16px; border: 1px solid var(--brass-a); border-left: 3px solid var(--brass); background: rgba(23, 14, 19, .7); }
.annotation h2 { font-size: 15px; letter-spacing: .2em; color: var(--brass-2); margin: 0 0 6px; }
.annotation p { font-size: 15px; margin: 0 0 6px; }
.notice { border: 1px dashed var(--brass-a); padding: 12px 14px; color: var(--muted); font-size: 15px; }
.post-title { font-size: clamp(22px, 5.6vw, 32px); }
.post-lede { color: var(--cream); }
.xpost-reply { margin: 10px 0 0; }
.pieces--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .pieces--compact { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 16px; } }
.person-link { margin: 4px 0 0; }
.person-reads { margin: 0 0 26px; }

/* 前後のポスト */
.pager a { display: grid; gap: 2px; align-content: start; }
.pager-dir { font-size: 12px; color: var(--dim); letter-spacing: .12em; }
.pager-title { color: var(--cream); font-size: 14px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 表 */
.ledger thead th { white-space: nowrap; }
.ledger .na { font-family: var(--f-body); font-size: 12.5px; color: var(--dim); font-weight: 400; }
.rank-head { font-family: var(--f-mincho); font-weight: 600; font-size: 15.5px; line-height: 1.6; display: block; }
.rank-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; font-size: 12.5px; line-height: 1.6; color: var(--dim); }
.sub-n { display: block; font-family: var(--f-body); font-size: 12px; color: var(--muted); }
.postlist--rank li { position: relative; }
.rank-n { font-family: var(--f-display); font-size: 17px; color: var(--brass-2); }
.rank-more { display: inline-block; margin: 0 4px 12px; padding: 6px 0; font-size: 13.5px; }

/* サイトについて：見出しを本文の段にそろえる */
.about { padding-top: 34px; }
.about-head { padding: 0 0 8px; }
.piece .frame-foot, .inline-work .frame-foot { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; }
@media (max-width: 639px) {
  .piece .frame-inner { padding: 18px 9px; gap: 6px; }
  .piece .frame-fan { display: none; }
  .piece .frame-head { font-size: 13.5px; line-height: 1.55; letter-spacing: .03em; }
}
@media (max-width: 899px) {
  .work { gap: 18px; }
  .work-side { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 14px; align-items: end; }
  .work-side > .frame--big { aspect-ratio: 3 / 4; }
  .work-side > .frame--big .frame-inner { padding: 14px 8px; gap: 6px; }
  .work-side > .frame--big .frame-head { font-size: 13px; line-height: 1.6; letter-spacing: .06em; }
  .work-side > .frame--big .frame-fan { width: 36px; height: 18px; }
  .work-side > .frame--big .frame-foot { font-size: 12px; }
  .work-side > .frame--photo { grid-column: 1 / -1; }
  .work-side .actions { margin: 0; }
}
@media (max-width: 899px) {
  .work-side > .note { grid-column: 1 / -1; margin: 0 !important; }
  .work-side > .frame--photo ~ .actions { grid-column: 1 / -1; }
  .work-side .btn--buy { width: 100%; padding: 10px 10px; letter-spacing: .06em; }
}
/* 小さな額は、見出しの代わりに種類と作り手か出演者の名前を載せ、少しずつ重ねる。地の模様は大きな額と同じ */
.minis { display: flex; height: 98px; margin: 0 0 16px; padding: 2px 0 0 2px; }
.mini { --fb1: var(--wine); --fb2: #24060f; flex: none; width: 84px; height: 96px; padding: 4px; border: 1px solid var(--brass-a); background: linear-gradient(160deg, #2b1a10, #120a07); }
.mini + .mini { margin-left: -10px; transform: rotate(3deg) translateY(2px); box-shadow: -8px 8px 16px -8px rgba(0, 0, 0, .9); }
.mini + .mini + .mini { transform: rotate(-2.5deg); }
.mini > span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: 100%; padding: 7px 4px; overflow: hidden; text-align: center;
  outline: 1px solid var(--brass-b); outline-offset: -3px; background: linear-gradient(180deg, var(--fb1), var(--fb2)); }
.mini--comic { --fb1: #5c1529; --fb2: #1f0610; }
.mini--game { --fb1: #154238; --fb2: #07140f; }
.mini--av { --fb1: #232c5c; --fb2: #090b1a; }
.mini--m-nh.mini--av { --fb1: #3a1c4a; --fb2: #0f0716; }
.mini--m-oto.mini--av { --fb1: #2a2f58; --fb2: #0a0b1c; }
.mini--m-nh > span { background: repeating-radial-gradient(circle at 50% 125%, rgba(230, 203, 147, .1) 0 1px, transparent 1px 8px), linear-gradient(180deg, var(--fb1), var(--fb2)); }
.mini--m-oto > span { background: repeating-linear-gradient(45deg, rgba(230, 203, 147, .08) 0 1px, transparent 1px 8px), repeating-linear-gradient(-45deg, rgba(230, 203, 147, .08) 0 1px, transparent 1px 8px), linear-gradient(180deg, var(--fb1), var(--fb2)); }
.mini--m-tf > span { background: repeating-linear-gradient(0deg, rgba(230, 203, 147, .08) 0 1px, transparent 1px 7px), linear-gradient(180deg, var(--fb1), var(--fb2)); }
.mini-kind { font-family: var(--f-body); font-size: 9.5px; letter-spacing: .14em; color: var(--brass-2); white-space: nowrap; padding: 0 2px 2px; border-bottom: 1px solid var(--brass-a); }
.mini-name { font-family: var(--f-mincho); font-weight: 600; font-size: 11px; line-height: 1.4; letter-spacing: 0; color: var(--cream); word-break: auto-phrase; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mini--game .mini-name, .mini--av .mini-name { color: #efe6f4; }

/* 動画作品の額に品番を添える（パッケージ画像が出るまでの作品の名札） */
.frame-code { font-family: var(--f-display); font-variant-numeric: lining-nums; font-size: 12px; letter-spacing: .18em; color: var(--muted); border-top: 1px solid var(--brass-b); padding-top: 3px; }
.inline-work .frame-code { font-size: 9px; letter-spacing: .08em; }

/* スマホのトップでは、特集とまとめを横に流して縦の長さを短くする */
@media (max-width: 699px) {
  .tiles--short { display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 14px; scroll-padding-left: var(--gutter); scrollbar-width: thin; scrollbar-color: var(--brass-a) transparent; }
  .tiles--short > li { flex: 0 0 80%; scroll-snap-align: start; }
  .tiles--short > li:nth-child(n+4) { display: block; }
  .tiles--short .tile > a { padding: 18px 16px 16px; }
  .tiles--short .tile h3 { font-size: 17px; }
  .tiles--short .tile p { font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .tiles--short:focus-visible { outline: 1px solid var(--brass); outline-offset: 2px; }
}

/* 出演者のプロフィール */
.profile { margin: 22px 0 30px; max-width: 820px; }
.profile .factsheet th { width: 9.5em; white-space: nowrap; }
@media (max-width: 639px) { .profile .factsheet th { width: 7.2em; font-size: 13px; letter-spacing: .04em; white-space: normal; } }

/* ポストの補足の出典 */
.annotation .ann-src-h { margin: 10px 0 2px; }
.ann-src { margin: 0 0 8px; padding: 0 0 0 1.2em; font-size: 13.5px; line-height: 1.7; }
.ann-src li { margin: 2px 0; overflow-wrap: anywhere; }
.annotation p.note { font-size: 13.5px; color: var(--muted); }

/* 額の中の並び：種類・名前・品番は縮めず、縮むのは見出しだけにする（名前の行が潰れないように） */
.frame-kind, .frame-foot, .frame-code, .frame-fan { flex-shrink: 0; }
.frame-head { min-height: 0; }
.frame:not(.frame--hasimg):not(.frame--photo) { container-type: inline-size; }
/* 幅200px未満の額（スマホの作品カード、ポストの保管ページの横の作品）は、品番を出さず、見出しと名前に場所を譲る */
@container (max-width: 199px) {
  .frame-code { display: none; }
  .piece .frame-inner { padding: 18px 9px; gap: 6px; }
  .piece .frame-fan { display: none; }
  .piece .frame-head { font-size: 13.5px; line-height: 1.55; letter-spacing: .03em; }
  .piece .frame-kind { letter-spacing: .16em; font-size: 10.5px; }
}
/* 特集・まとめ・ポストの本文中の小さな額は、すぐ横の見出しと同じ文を繰り返さず、種類・名前・品番だけを載せる */
.inline-work .frame-head { display: none; }
.inline-work .frame-inner { gap: 7px; }
.inline-work .frame-foot { white-space: normal; overflow: visible; text-overflow: clip; font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.inline-work .frame-fan { display: block; width: 34px; height: 17px; }
@container (max-width: 199px) {
  .inline-work .frame-code { display: block; }
}
/* 作品ページのスマホの額（幅150px）は、縦書きの見出しを外す。見出しはすぐ横のh1と同じ文 */
@media (max-width: 899px) {
  .work-side > .frame--big .frame-head { display: none; }
  .work-side > .frame--big .frame-inner { gap: 10px; }
  .work-side > .frame--big .frame-foot { font-size: 14px; line-height: 1.5; }
}
/* 作品カードの名前は、ひとりずつの区切り（・）で2行まで折り返す */
.piece .frame-foot { white-space: normal; text-overflow: clip; word-break: keep-all; overflow-wrap: anywhere; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.inline-work .frame-foot { word-break: keep-all; }
@container (max-width: 199px) {
  .piece .frame-inner { padding: 14px 9px; }
  .piece .frame-foot { font-size: 12.5px; }
}
/* 名前は「・」の区切りで折り返す（長い1つの名前だけは途中で折る） */
.frame-foot { word-break: keep-all; overflow-wrap: anywhere; }
/* 作品ページのスマホの額は見出しを外した分、品番も残す */
@container (max-width: 199px) {
  .work-side > .frame--big .frame-code { display: block; font-size: 11px; letter-spacing: .12em; }
}
