/* ==========================================================
   KamiEna Portfolio
   テーマ：少年っぽい元気なポップ（青・ピンク・黄・オレンジ）
   ========================================================== */

:root {
  --ink: #1d2045;
  --paper: #fff9ec;
  --white: #ffffff;

  --sky: #38b6f5;
  --sky-soft: #dcf2ff;
  --blue: #2b63f0;
  --pink: #ff5b9f;
  --pink-soft: #ffe3ef;
  --yellow: #ffd83d;
  --yellow-soft: #fff4c2;
  --orange: #ff8a1a;
  --orange-soft: #ffe9d2;
  --lime: #a9ec5c;
  --lime-soft: #edfbdc;
  --purple: #a88bff;
  --purple-soft: #efe9ff;

  --bd: 3px solid var(--ink);
  --bd-thin: 2.5px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
  --shadow-lg: 10px 10px 0 var(--ink);

  /* ロゴ・英字見出しは常に Dela Gothic One。本文と和文見出しは言語ごとに切り替える */
  --font-brand: "Dela Gothic One", "M PLUS Rounded 1c", sans-serif;
  --font-display: "Dela Gothic One", "M PLUS Rounded 1c", sans-serif;
  --font-body: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", system-ui, sans-serif;
  --display-weight: 400;

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1180px;

  color-scheme: light;
}

html:lang(zh-Hans) {
  --font-display: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --display-weight: 900;
}
html:lang(zh-Hant) {
  --font-display: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --font-body: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --display-weight: 900;
}
html:lang(ko) {
  --font-display: "Black Han Sans", "Noto Sans KR", sans-serif;
  --font-body: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}
/* 欧文の言語：「…」「—」「–」だけ Nunito（main.js でその3文字のサブセットを読み込む） */
html:is(:lang(en), :lang(fr), :lang(de), :lang(es), :lang(it)) {
  --font-body: "Nunito", "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", system-ui, sans-serif;
}

/* 訳文の読み込み中は一瞬だけ隠す（日本語→他言語のチラつき防止） */
.i18n-pending body { visibility: hidden; }

/* ---------- base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
html:has(dialog[open]) { overflow: hidden; }

body {
  margin: 0;
  overflow-x: clip;
  background-color: var(--paper);
  background-image: radial-gradient(rgba(29, 32, 69, 0.07) 1.6px, transparent 1.8px);
  background-size: 22px 22px;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.85;
  letter-spacing: 0.02em;
  overflow-wrap: break-word;
}
html:lang(ko) body { word-break: keep-all; }
html:is(:lang(de), :lang(fr), :lang(it), :lang(es)) body { hyphens: auto; }

img { max-width: 100%; height: auto; display: block; }
/* 日本語は文節の切れ目（main.js が <wbr> を入れた位置）でだけ改行する。
   iPhone の Safari は word-break: auto-phrase に対応していないため、BudouX で区切りを入れて keep-all で守る。
   収まらない長い言葉だけは、はみ出さないようにどこでも折り返す（overflow-wrap: anywhere） */
html:lang(ja) body { word-break: keep-all; overflow-wrap: anywhere; line-break: strict; }
html:lang(ko) body { word-break: keep-all; overflow-wrap: anywhere; }   /* 韓国語は単語（空白）で改行 */
.sec-title, .hero-title, .hero-en, .wm-kicker, .stat-num, .act-mark, .act-kicker { overflow-wrap: normal; }
/* 見出しや短いタイトルは行の長さをそろえ、1〜2文字だけが次の行に落ちないように。文章は最後の行が短くなりすぎないように */
:is(h1, h2, h3, h4, .hero-bubble, .work-catch, .wm-catch, .wm-award, .tl-title, .act-title, .contact-msg, .about-hello, .profile-role, .sec-lead, .tv-title, .stat-label, .mascot b, .press a > span > span:last-child, .media-cloud b, .yt-item figcaption, .link-title) { text-wrap: balance; }
:is(p, li, dd, figcaption, .tl-text, .act-text, .tv-text) { text-wrap: pretty; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.container { width: min(var(--max), 100% - var(--gutter) * 2); margin-inline: auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--yellow); border: var(--bd); border-radius: 12px; padding: 8px 14px; font-weight: 900;
}
.skip-link:focus { top: 12px; }

.icon { width: 1em; height: 1em; flex: none; fill: currentColor; }
.bolt { fill: var(--yellow); stroke: var(--ink); stroke-width: 2.2; stroke-linejoin: round; }

/* ---------- buttons & chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px;
  background: var(--yellow);
  border: var(--bd); border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-weight: 900; font-size: 16px; line-height: 1.3; text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn .icon { font-size: 1.15em; }
.btn--white { background: var(--white); }
.btn--pink { background: var(--pink); color: var(--white); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--sm { padding: 8px 16px; font-size: 14px; box-shadow: 3px 3px 0 var(--ink); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 12px;
  background: var(--c, var(--white));
  border: var(--bd-thin); border-radius: 999px;
  font-size: 14px; font-weight: 800; line-height: 1.6;
}

/* ---------- header ---------- */
.site-header { position: fixed; inset: 12px 0 auto; z-index: 50; pointer-events: none; }
.nav {
  position: relative; pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 6px 8px 6px 6px;
  background: var(--white);
  border: var(--bd); border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-brand); font-size: 20px; line-height: 1; }
.brand img { width: 42px; height: 42px; border-radius: 50%; border: var(--bd-thin); background: var(--sky); }
.brand small { display: block; font-family: var(--font-body); font-weight: 800; font-size: 10px; letter-spacing: 0.14em; opacity: 0.7; margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; padding: 0; margin: 0 0 0 auto; }
.nav-links a {
  display: block; padding: 8px 13px; border-radius: 999px;
  font-weight: 900; font-size: 14px; letter-spacing: 0.08em; text-decoration: none;
  transition: background-color 0.15s ease;
}
.nav-links a:hover { background: var(--yellow); }
.nav-links .nav-cta { background: var(--pink); color: var(--white); border: var(--bd-thin); margin-left: 6px; }
.nav-links .nav-cta:hover { background: var(--orange); }

.nav-tools { display: flex; align-items: center; gap: 8px; }

/* 言語切り替え */
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 44px; padding: 0 12px;
  background: var(--sky-soft);
  border: var(--bd-thin); border-radius: 999px;
  font-weight: 900; font-size: 14px; cursor: pointer;
  transition: background-color 0.15s ease;
}
.lang-btn:hover, .lang-btn[aria-expanded="true"] { background: var(--yellow); }
.lang-btn .icon { font-size: 18px; }
.lang-btn .lang-caret { font-size: 14px; transition: transform 0.2s ease; }
.lang-btn[aria-expanded="true"] .lang-caret { transform: rotate(180deg); }
.lang-code { display: none; font-family: var(--font-brand); font-weight: 400; letter-spacing: 0.04em; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 60;
  min-width: 180px; margin: 0; padding: 8px; list-style: none;
  background: var(--white);
  border: var(--bd); border-radius: 18px;
  box-shadow: var(--shadow-sm);
}
.lang-menu[hidden] { display: none; }
.lang-menu button {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; padding: 8px 12px;
  background: none; border: 0; border-radius: 10px;
  font-weight: 800; font-size: 15px; text-align: left; cursor: pointer;
}
.lang-menu button:hover, .lang-menu button:focus-visible { background: var(--yellow-soft); }
.lang-menu button[aria-checked="true"] { background: var(--ink); color: var(--yellow); }
.lang-menu button[aria-checked="true"]::after { content: "✓"; }

.nav-toggle {
  display: none; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--yellow); border: var(--bd-thin); cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 3px; border-radius: 3px; background: var(--ink); position: relative; transition: transform 0.2s ease;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav.is-open .nav-toggle span { background: transparent; }
.nav.is-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 420px) {
  .brand small { display: none; }
}
@media (max-width: 1060px) {
  .nav-toggle { display: grid; }
  .lang-name { display: none; }
  .lang-code { display: inline; }
  .nav-links {
    display: none;
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    margin: 0; padding: 12px;
    background: var(--white); border: var(--bd); border-radius: 22px; box-shadow: var(--shadow-sm);
  }
  .nav.is-open .nav-links { display: flex; }
  .nav-links a { padding: 12px 16px; font-size: 16px; }
  .nav-links .nav-cta { margin: 4px 0 0; text-align: center; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 132px 0 150px;
  background: var(--sky);
  overflow: hidden;
  isolation: isolate;
}
.hero-rays {
  position: absolute; z-index: -1;
  left: 72%; top: 48%;
  width: 260vmax; height: 260vmax;
  translate: -50% -50%;
  background: repeating-conic-gradient(rgba(255, 255, 255, 0.17) 0deg 6deg, transparent 6deg 12deg);
  animation: spin 160s linear infinite;
}
.hero-dots {
  position: absolute; inset: auto 0 0 0; height: 55%; z-index: -1;
  background-image: radial-gradient(rgba(29, 32, 69, 0.18) 2.2px, transparent 2.6px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(transparent, #000);
  mask-image: linear-gradient(transparent, #000);
}
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 40px; display: block; }
.hero-wave .fill { fill: var(--paper); }
.hero-wave .line { fill: none; stroke: var(--ink); stroke-width: 3; vector-effect: non-scaling-stroke; }

.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }

.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0;
  padding: 6px 14px;
  background: var(--ink); color: var(--yellow);
  border-radius: 10px;
  font-family: var(--font-brand); font-size: 14px; letter-spacing: 0.14em;
  rotate: -3deg;
}
.hero-title {
  display: flex; flex-wrap: nowrap;
  margin: 18px 0 0;
  font-family: var(--font-brand); font-weight: 400;
  font-size: clamp(64px, 9.4vw, 140px); line-height: 1.05; letter-spacing: 0.01em;
}
.hero-title .ch {
  --o: 0.045em;
  display: inline-block;
  color: var(--c);
  text-shadow:
    var(--o) 0 0 var(--ink), calc(var(--o) * -1) 0 0 var(--ink),
    0 var(--o) 0 var(--ink), 0 calc(var(--o) * -1) 0 var(--ink),
    var(--o) var(--o) 0 var(--ink), calc(var(--o) * -1) calc(var(--o) * -1) 0 var(--ink),
    var(--o) calc(var(--o) * -1) 0 var(--ink), calc(var(--o) * -1) var(--o) 0 var(--ink),
    0.09em 0.09em 0 var(--ink);
  animation: hop 3.6s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.14s);
}
.hero-en {
  margin: 4px 0 0;
  font-family: var(--font-brand); font-size: clamp(26px, 4vw, 40px); line-height: 1.2; letter-spacing: 0.06em;
  color: var(--white);
  text-shadow: 2px 0 0 var(--ink), -2px 0 0 var(--ink), 0 2px 0 var(--ink), 0 -2px 0 var(--ink), 2px 2px 0 var(--ink), -2px -2px 0 var(--ink), 2px -2px 0 var(--ink), -2px 2px 0 var(--ink), 5px 5px 0 var(--ink);
}
.hero-bubble {
  position: relative;
  margin: 34px 0 0; max-width: 560px;
  padding: 16px 22px;
  background: var(--white);
  border: var(--bd); border-radius: 22px;
  box-shadow: var(--shadow);
  font-size: clamp(16px, 1.9vw, 19px); font-weight: 800; line-height: 1.75;
}
.hero-bubble p { margin: 0; }
.bubble-tail { position: absolute; left: 30px; top: -27px; width: 40px; height: 30px; overflow: visible; }
.bubble-tail-fill { fill: var(--white); }
.bubble-tail-line { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.hero-bubble mark { background: linear-gradient(transparent 58%, var(--yellow) 58%); color: inherit; padding: 0 2px; }
.hero-roles { margin-top: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* アイコン（顔）にカードが重ならないよう、カードは四隅に配置する */
.hero-visual { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; margin-inline: auto; }
.hero-burst { position: absolute; inset: 2%; width: 96%; height: 96%; animation: spin 40s linear infinite; }
.hero-burst polygon { fill: var(--yellow); stroke: var(--ink); stroke-width: 1.2; stroke-linejoin: round; }
.hero-icon {
  position: absolute; inset: 17%;
  border-radius: 50%; border: 6px solid var(--ink);
  background: var(--sky);
  box-shadow: 10px 10px 0 var(--ink);
  overflow: hidden;
  animation: bob 4.2s ease-in-out infinite;
}
.hero-icon img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); }
.hero-card {
  position: absolute; width: 42%;
  background: var(--white);
  border: var(--bd); border-radius: 14px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}
.hero-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hero-card span { display: block; padding: 3px 10px; background: var(--c); border-top: var(--bd-thin); font-size: 12px; font-weight: 900; line-height: 1.6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-card--1 { top: -3%; left: -9%; rotate: -8deg; }
.hero-card--2 { bottom: -2%; left: -12%; rotate: 6deg; animation-delay: -2s; }
.hero-card--3 { bottom: -7%; right: -11%; rotate: -6deg; animation-delay: -4s; }
@media (max-width: 480px) {
  /* スマホでは英語名（Full Swing Hero など）が切れないよう少し小さく */
  .hero-card span { padding: 2px 6px; font-size: 10px; letter-spacing: 0; }
}
.hero-prize {
  position: absolute; right: -2%; top: 2%;
  width: 26%; aspect-ratio: 1;
  display: grid; place-items: center; text-align: center;
  background: var(--orange); color: var(--white);
  border: var(--bd); border-radius: 50%;
  box-shadow: var(--shadow-sm);
  font-family: var(--font-brand); font-size: clamp(11px, 1.6vw, 15px); line-height: 1.25;
  rotate: 12deg;
  animation: wobble 3s ease-in-out infinite;
}
.hero-prize b { display: block; font-size: 1.5em; color: var(--yellow); text-shadow: 2px 2px 0 var(--ink); }
/* トップの絵は押せる（作品の詳細・プロフィールへ） */
.hero-card, .hero-prize { padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.hero-prize { font-family: var(--font-brand); font-size: clamp(11px, 1.6vw, 15px); line-height: 1.25; color: var(--white); text-align: center; overflow-wrap: normal; }
.hero-card { display: block; }
.hero-icon { display: block; }
.hero-card, .hero-icon, .hero-prize { transition: scale 0.2s ease, box-shadow 0.2s ease; }
.hero-card:hover, .hero-card:focus-visible { z-index: 3; scale: 1.07; box-shadow: 6px 6px 0 var(--ink); }
.hero-icon:hover, .hero-icon:focus-visible { scale: 1.03; }
.hero-prize:hover, .hero-prize:focus-visible { z-index: 3; scale: 1.1; }
.hero-card:focus-visible, .hero-icon:focus-visible, .hero-prize:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.hero-bolt { position: absolute; width: 13%; animation: flicker 2.4s steps(1) infinite; }
.hero-bolt--1 { left: 3%; top: 34%; rotate: -14deg; }
.hero-bolt--2 { right: -2%; top: 40%; width: 14%; rotate: 16deg; animation-delay: -1.2s; }
.hero-bolt--3 { left: 40%; top: -4%; width: 10%; rotate: 8deg; animation-delay: -0.6s; }

@media (max-width: 900px) {
  .hero { padding-top: 116px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-title { font-size: clamp(56px, 19vw, 150px); }
  .hero-rays { left: 50%; top: 70%; }
  .hero-visual { max-width: 400px; width: 82%; }
}

/* ---------- stats ---------- */
.stats { position: relative; z-index: 2; margin-top: -84px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 0; }
.stat {
  padding: 16px 14px 14px;
  background: var(--c);
  border: var(--bd); border-radius: 20px;
  box-shadow: var(--shadow);
  text-align: center;
  rotate: var(--r, 0deg);
}
.stat-num { display: block; font-family: var(--font-brand); font-size: clamp(26px, 3.4vw, 44px); line-height: 1.15; }
.stat-num > span, .stat-num small { white-space: nowrap; }
.stat-link { display: block; margin: -16px -14px -14px; padding: 16px 14px 14px; color: inherit; text-decoration: none; border-radius: 17px; }
.stat-link:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.stat { transition: translate 0.2s ease, box-shadow 0.2s ease; }
.stat:has(.stat-link:hover) { translate: 0 -4px; box-shadow: 8px 10px 0 var(--ink); }
.stat-num small { font-size: 0.5em; margin-left: 2px; }
.stat-label { display: block; font-weight: 900; font-size: 14px; line-height: 1.5; }
@media (max-width: 760px) {
  .stats { margin-top: -64px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}
/* スマホでは、ダウンロード数（6桁）の2つは1段ずつ使う */
@media (max-width: 540px) { .stat--wide { grid-column: 1 / -1; } }

/* ---------- marquee ---------- */
.marquee-wrap { overflow: hidden; padding: 44px 0 36px; }
.marquee {
  width: calc(100% + 40px); margin-left: -20px;
  background: var(--yellow);
  border-block: var(--bd);
  rotate: -2deg;
  overflow: hidden;
}
.marquee + .marquee { background: var(--pink); color: var(--white); rotate: 1.5deg; margin-top: -8px; }
.marquee-track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.marquee + .marquee .marquee-track { animation-direction: reverse; animation-duration: 44s; }
.marquee-track > span {
  display: inline-flex; align-items: center; gap: 18px;
  padding: 8px 18px 8px 0;
  font-family: var(--font-brand); font-size: clamp(18px, 2.6vw, 28px); letter-spacing: 0.06em; white-space: nowrap;
}
.marquee-track > span > span { font-family: var(--font-display); font-weight: var(--display-weight); }
.marquee-track .bolt { width: 1.1em; height: 1.1em; }
.marquee + .marquee .marquee-track .bolt { fill: var(--yellow); }

/* ---------- sections ---------- */
.sec { position: relative; padding: 96px 0; }
.sec--line { border-top: var(--bd); }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 18px; margin-bottom: 40px; }
.sec-title {
  --o: 3px;
  margin: 0;
  font-family: var(--font-brand); font-weight: 400;
  font-size: clamp(52px, 9vw, 104px); line-height: 1; letter-spacing: 0.03em;
  color: var(--c, var(--pink));
  text-shadow:
    var(--o) 0 0 var(--ink), calc(var(--o) * -1) 0 0 var(--ink),
    0 var(--o) 0 var(--ink), 0 calc(var(--o) * -1) 0 var(--ink),
    var(--o) var(--o) 0 var(--ink), calc(var(--o) * -1) calc(var(--o) * -1) 0 var(--ink),
    var(--o) calc(var(--o) * -1) 0 var(--ink), calc(var(--o) * -1) var(--o) 0 var(--ink),
    7px 7px 0 var(--ink);
}
/* 幅の狭いスマホでは見出しも少し小さく（ACTIVITY などがはみ出さないように） */
@media (max-width: 430px) { .sec-title { font-size: min(52px, 12.4vw); } .contact-box .sec-title { font-size: min(52px, 10.4vw); } }
.sec-sub {
  display: inline-flex; align-items: center; gap: 6px;
  margin: 0 0 10px;
  padding: 3px 14px;
  background: var(--white);
  border: var(--bd-thin); border-radius: 999px;
  font-weight: 900; font-size: 15px;
}
.sec-sub .bolt { width: 18px; height: 18px; }
.sec-lead { flex-basis: 100%; margin: 6px 0 0; font-weight: 500; font-size: 16px; }

/* ---------- works ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: -12px 0 30px; }
.filter {
  padding: 7px 18px;
  background: var(--white);
  border: var(--bd-thin); border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
  font-weight: 900; font-size: 14px; letter-spacing: 0.04em; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.filter:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--yellow); }

.works-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px; }
.work-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--white);
  border: var(--bd); border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.work-card[hidden] { display: none; }
.work-media {
  position: relative; overflow: hidden;
  background-color: var(--accent);
  background-image: radial-gradient(rgba(255, 255, 255, 0.4) 2.5px, transparent 3px);
  background-size: 18px 18px;
  border-bottom: var(--bd);
}
.work-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.4s ease; }
/* 画像の上下に余白ができるときは、画像の上端・下端の色で埋める（ちんあなご：上は海の青、下は砂） */
.work-media--sea { background: linear-gradient(#5497ff 50%, #f0edde 50%); }
.work-media--cream { background: #feebc4; }   /* ビリリスイッチ：背景のクリーム色 */
/* 正方形に近い画像は切らずに全体を表示し、左右は画像の背景と同じ色で埋める（02 Kagane） */
.work-media--dark { background: #202020; }
.work-media--dark img { object-fit: contain; }

/* 年・バッジのシールは、キービジュアル（ロゴや顔）に重ならないよう画像の下に置く */
.work-stickers { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 2px; }
.work-year {
  padding: 1px 12px;
  background: var(--accent);
  border: var(--bd-thin); border-radius: 10px;
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--font-brand); font-size: 16px; line-height: 1.6;
  rotate: -4deg;
}
.work-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 12px;
  background: var(--yellow);
  border: var(--bd-thin); border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
  font-weight: 900; font-size: 13px; line-height: 1.5;
  rotate: 3deg;
}
.t-yellow .work-badge { background: var(--white); }
.work-badge .icon { color: var(--orange); font-size: 1.15em; }
.work-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 20px 24px 24px; background: var(--accent-soft); }
.work-type { margin: 0; font-weight: 900; font-size: 13px; letter-spacing: 0.06em; }
.work-title { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(24px, 3vw, 32px); line-height: 1.25; }
.work-title small { display: block; margin-top: 4px; font-family: var(--font-body); font-weight: 800; font-size: 13px; letter-spacing: 0.1em; opacity: 0.65; }
.work-catch { margin: 0; font-weight: 500; font-size: 15.5px; line-height: 1.8; }
.work-card .chip { font-size: 12px; padding: 1px 10px; background: var(--white); }
.work-open { align-self: flex-start; margin-top: auto; }
.work-card:has(.work-open) { cursor: pointer; }

.work-card.is-featured { grid-column: 1 / -1; flex-direction: row; }
.work-card.is-featured .work-media { flex: 1.35; display: flex; align-items: center; border-bottom: 0; border-right: var(--bd); }
.work-card.is-featured.is-reverse { flex-direction: row-reverse; }
.work-card.is-featured.is-reverse .work-media { border-right: 0; border-left: var(--bd); }
.work-card.is-featured .work-body { flex: 1; justify-content: center; padding: 30px; }
/* 横長カードは、キービジュアルを枠いっぱいに（文章の方が高いとき上下に背景色が見えないよう、少しだけ左右を切る） */
.work-card.is-featured .work-media--fill { align-items: stretch; }
.work-card.is-featured .work-media--fill img { height: 100%; aspect-ratio: auto; object-fit: cover; }
/* 中くらいの幅では、横長カードも普通のカードと同じ形に（横に並べると絵を大きく切ることになるため） */
@media (max-width: 1179px) and (min-width: 861px) {
  .work-card.is-featured { grid-column: auto; }
  .work-card.is-featured, .work-card.is-featured.is-reverse { flex-direction: column; }
  .work-card.is-featured .work-media, .work-card.is-featured.is-reverse .work-media { flex: none; display: block; border-right: 0; border-left: 0; border-bottom: var(--bd); }
  .work-card.is-featured .work-media--fill img { height: auto; aspect-ratio: 16 / 9; }
  .work-card.is-featured .work-body { justify-content: flex-start; padding: 20px 24px 24px; }
}

@media (max-width: 860px) {
  .works-grid { grid-template-columns: 1fr; gap: 26px; }
  .work-card.is-featured, .work-card.is-featured.is-reverse { flex-direction: column; }
  .work-card.is-featured .work-media, .work-card.is-featured.is-reverse .work-media { flex: none; display: block; border-right: 0; border-left: 0; border-bottom: var(--bd); }
  .work-card.is-featured .work-media--fill img { height: auto; aspect-ratio: 16 / 9; }
  .work-card.is-featured .work-body { padding: 20px 22px 24px; }
}

.t-lime { --accent: var(--lime); --accent-soft: var(--lime-soft); }
.t-purple { --accent: var(--purple); --accent-soft: var(--purple-soft); }
.t-orange { --accent: var(--orange); --accent-soft: var(--orange-soft); }
.t-pink { --accent: var(--pink); --accent-soft: var(--pink-soft); }
.t-sky { --accent: var(--sky); --accent-soft: var(--sky-soft); }
.t-yellow { --accent: var(--yellow); --accent-soft: var(--yellow-soft); }

/* ---------- work modal ---------- */
.work-modal {
  width: min(1080px, 100% - 24px);
  max-width: none; max-height: calc(100dvh - 32px);
  padding: 0;
  background: var(--white); color: var(--ink);
  border: var(--bd); border-radius: 28px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.work-modal[open] { display: flex; flex-direction: column; animation: pop 0.35s cubic-bezier(0.2, 1.4, 0.4, 1); }
.work-modal::backdrop { background: rgba(29, 32, 69, 0.72); backdrop-filter: blur(3px); }
.wm-scroll { overflow-y: auto; overscroll-behavior: contain; max-height: calc(100dvh - 38px); }
.wm-scroll:focus { outline: none; }
.wm-close {
  position: absolute; top: 12px; right: 12px; z-index: 5;
  display: grid; place-items: center;
  width: 46px; height: 46px;
  background: var(--yellow);
  border: var(--bd); border-radius: 50%;
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 26px; font-weight: 900; line-height: 1; cursor: pointer;
}
.wm-close:hover { background: var(--pink); color: var(--white); }

.wm-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; padding: 28px; background: var(--accent-soft); border-bottom: var(--bd); }

/* 画像は切り抜かずに全体を見せる（16:9 以外は、ぼかした同じ画像を背景に敷く） */
.wm-stage {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--white);
  border: var(--bd); border-radius: 16px;
}
.wm-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(18px) saturate(1.2); transform: scale(1.2); opacity: 0.85; }
.wm-main { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.wm-thumbs { display: flex; gap: 8px; margin-top: 12px; padding: 2px 2px 8px; overflow-x: auto; }
.wm-thumb {
  flex: 0 0 86px; padding: 0;
  background: var(--accent-soft);
  border: var(--bd-thin); border-radius: 10px;
  overflow: hidden; cursor: pointer; opacity: 0.55;
  transition: opacity 0.15s ease;
}
.wm-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; }
.wm-thumb:hover { opacity: 0.9; }
.wm-thumb[aria-current="true"] { opacity: 1; box-shadow: 3px 3px 0 var(--ink); }

.wm-head { display: flex; flex-direction: column; gap: 12px; padding-top: 6px; padding-right: 36px; }
.wm-kicker { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; }
.wm-year { padding: 0 10px; background: var(--accent); border: var(--bd-thin); border-radius: 8px; font-family: var(--font-brand); font-size: 15px; }
.wm-type { font-weight: 900; font-size: 13px; letter-spacing: 0.06em; }
.wm-title { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(26px, 3.2vw, 38px); line-height: 1.2; }
.wm-title small { display: block; margin-top: 4px; font-family: var(--font-body); font-weight: 800; font-size: 14px; letter-spacing: 0.1em; opacity: 0.65; }
.wm-catch { margin: 0; font-weight: 900; font-size: 17px; line-height: 1.7; }
.wm-award {
  display: flex; align-items: center; gap: 10px;
  margin: 0; padding: 10px 14px;
  background: var(--yellow);
  border: var(--bd-thin); border-radius: 14px;
  box-shadow: 3px 3px 0 var(--ink);
  font-weight: 900; font-size: 14px; line-height: 1.5;
}
.t-yellow .wm-award { background: var(--white); }
.wm-award .icon { font-size: 26px; color: var(--orange); }
.wm-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.wm-head .chip { background: var(--white); font-size: 12px; padding: 1px 10px; }

.wm-body { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 28px 32px; padding: 28px; }
.wm-block { min-width: 0; }
.wm-block--full { grid-column: 1 / -1; }
.wm-h {
  display: flex; align-items: center; gap: 8px;
  margin: 0 0 12px;
  font-family: var(--font-display); font-weight: var(--display-weight); font-size: 20px; line-height: 1.4;
}
.wm-h .bolt { width: 22px; height: 22px; flex: none; }
.wm-block p { margin: 0 0 1em; font-weight: 500; font-size: 16px; line-height: 1.85; }
.wm-block p:last-child { margin-bottom: 0; }
:is(.wm-block, .work-catch, .about-text, .act-text, .tl-text, .tv-text, .trip-lead) strong { font-weight: 800; }
.wm-story {
  margin-top: 16px; padding: 14px 18px;
  background: var(--accent-soft);
  border: var(--bd-thin); border-radius: 16px;
  font-weight: 500;
}
.wm-list { margin: 0; padding-left: 1.3em; font-weight: 500; font-size: 15.5px; line-height: 1.8; }
.wm-list li { margin: 0.2em 0; }
.wm-list li::marker { color: var(--accent); content: "▶ "; font-size: 0.8em; }

.wm-data { margin: 0; border: var(--bd); border-radius: 18px; overflow: hidden; background: var(--white); }
.wm-data > div { display: grid; grid-template-columns: 8.6em minmax(0, 1fr); border-bottom: 2px dashed rgba(29, 32, 69, 0.3); }
.wm-data > div:last-child { border-bottom: 0; }
.wm-data dt { padding: 9px 12px; background: var(--accent-soft); font-weight: 900; font-size: 13px; line-height: 1.6; }
.wm-data dd { margin: 0; padding: 9px 12px; font-weight: 500; font-size: 14.5px; line-height: 1.65; }
.wm-data--wide > div { grid-template-columns: minmax(0, 1fr); }
.wm-data--wide dt { padding-bottom: 2px; background: none; color: var(--ink); opacity: 0.7; font-size: 12px; }
.wm-data--wide dd { padding-top: 0; }

/* 年表（モーダル内） */
.wm-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.wm-steps li { display: grid; grid-template-columns: 6.6em minmax(0, 1fr); gap: 10px; align-items: baseline; font-weight: 500; font-size: 14.5px; line-height: 1.65; }
.wm-steps time { padding: 0 8px; background: var(--accent); border: 2px solid var(--ink); border-radius: 8px; font-family: var(--font-brand); font-size: 12px; text-align: center; white-space: nowrap; }
.wm-block:not(.wm-block--full) .wm-steps li { grid-template-columns: 1fr; gap: 2px; }
.wm-block:not(.wm-block--full) .wm-steps time { justify-self: start; }
.wm-ladder { list-style: none; margin: 0 0 1em; padding: 0; display: grid; gap: 6px; counter-reset: lv; }
.wm-ladder li { counter-increment: lv; display: flex; align-items: baseline; gap: 8px; font-weight: 500; font-size: 14.5px; line-height: 1.65; }
.wm-ladder li::before { content: "LV." counter(lv); flex: none; padding: 0 6px; background: var(--accent); border: 2px solid var(--ink); border-radius: 8px; font-family: var(--font-brand); font-size: 11px; white-space: nowrap; }
.wm-ladder li:nth-child(2) { margin-left: 10px; }
.wm-ladder li:nth-child(3) { margin-left: 20px; }
.wm-ladder li:nth-child(4) { margin-left: 30px; }
.wm-ladder li:nth-child(5) { margin-left: 40px; }

/* ガーデンハントのキャラクター紹介 */
.wm-chars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.wm-char { padding: 14px 16px 16px; background: var(--white); border: var(--bd); border-radius: 18px; box-shadow: var(--shadow-sm); }
.wm-char-img {
  display: grid; place-items: center; height: 220px; margin-bottom: 12px;
  background-color: var(--c);
  background-image: radial-gradient(rgba(255, 255, 255, 0.7) 3px, transparent 3.5px);
  background-size: 18px 18px;
  border: var(--bd-thin); border-radius: 14px;
}
/* 画像は切り抜かずに全体を表示 */
.wm-char-img { position: relative; }
.wm-char-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.wm-char-role { display: inline-block; margin: 0 0 4px !important; padding: 0 10px; background: var(--accent); border: 2px solid var(--ink); border-radius: 999px; font-size: 12px; font-weight: 900 !important; }
.wm-char-name { margin: 0 0 6px; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 22px; line-height: 1.3; }
.wm-char p:last-child { font-size: 13.5px; line-height: 1.75; }
.wm-note { margin: 10px 0 0 !important; font-size: 12.5px !important; font-weight: 500 !important; opacity: 0.75; }
/* キャラクターが1人だけのときは横並び */
.wm-chars--solo { grid-template-columns: minmax(0, 1fr); }
.wm-chars--solo .wm-char { display: grid; grid-template-columns: 240px minmax(0, 1fr); grid-template-rows: 1fr auto auto auto 1fr; column-gap: 22px; }
.wm-chars--solo .wm-char > * { grid-column: 2; }
.wm-chars--solo .wm-char-img { grid-column: 1; grid-row: 1 / -1; height: 240px; margin: 0; }
.wm-chars--solo .wm-char-role { grid-row: 2; justify-self: start; }
.wm-chars--solo .wm-char-name { grid-row: 3; }
.wm-chars--solo .wm-char p:last-child { grid-row: 4; font-size: 14.5px; }
/* トラップスのカード */
.wm-block > p + .wm-cards { margin-top: 4px; }
.wm-cards { list-style: none; margin: 0; padding: 4px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 14px; }
.wm-cards li { flex: 0 1 calc((100% - 4 * 14px) / 5); min-width: 0; }
.wm-cards figure { margin: 0; text-align: center; }
.wm-cards img { display: block; width: 100%; height: auto; border: var(--bd); border-radius: 14px; box-shadow: var(--shadow-sm); rotate: -2deg; transition: rotate 0.2s ease, transform 0.2s ease; }
.wm-cards li:nth-child(even) img { rotate: 2deg; }
.wm-cards li:hover img { rotate: 0deg; transform: translateY(-4px); }
.wm-cards figcaption { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px 6px; margin-top: 10px; font-weight: 900; font-size: 13px; line-height: 1.4; }
.wm-card-val { padding: 0 7px; background: var(--accent); border: 2px solid var(--ink); border-radius: 8px; font-family: var(--font-brand); font-size: 12px; }
@media (prefers-reduced-motion: reduce) { .wm-cards img { transition: none; } }
@media (max-width: 560px) {
  .wm-cards li { flex-basis: calc((100% - 2 * 14px) / 3); }
}
@media (max-width: 820px) {
  .wm-chars { grid-template-columns: minmax(0, 1fr); }
  .wm-char { display: grid; grid-template-columns: 120px minmax(0, 1fr); column-gap: 14px; align-items: start; }
  .wm-char-img { grid-row: span 3; height: 140px; margin: 0; }
  .wm-chars--solo .wm-char { grid-template-columns: 120px minmax(0, 1fr); column-gap: 14px; }
  .wm-chars--solo .wm-char-img { height: 160px; }
  .wm-chars--solo .wm-char p:last-child { font-size: 13.5px; }
}

/* ビリリスイッチ：2つのライトの比較 */
.wm-block > p + .wm-lights { margin-top: 4px; }
.wm-lights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.wm-light { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px; border: var(--bd); border-radius: 18px; box-shadow: var(--shadow-sm); }
.wm-light img { display: block; width: 100%; height: auto; border: var(--bd-thin); border-radius: 10px; }
.wm-light h4 { margin: 0 0 8px; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 20px; line-height: 1.3; }
.wm-light .wm-list { font-size: 14px; line-height: 1.7; }
.wm-light--bulb { background: var(--yellow-soft); }
.wm-light--black { background: #0b0c38; color: var(--white); }
.wm-light--black h4 { text-shadow: 0 0 10px rgba(120, 150, 255, 0.9); }
.wm-light--black img { border-color: var(--white); }
@media (max-width: 820px) { .wm-lights { grid-template-columns: minmax(0, 1fr); } }
/* 縦長のスクリーンショットを並べる（fily） */
.wm-block > p + .wm-shots { margin-top: 4px; }
.wm-shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.wm-shots figure { margin: 0; }
.wm-shots img { display: block; width: 100%; height: auto; border: var(--bd-thin); border-radius: 12px; box-shadow: var(--shadow-sm); }
.wm-shots figcaption { margin-top: 8px; font-weight: 800; font-size: 12.5px; line-height: 1.5; text-align: center; }
@media (max-width: 560px) { .wm-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (max-width: 400px) { .wm-light { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 12px; } }

/* 同じシリーズのもう1作へのリンク（PRJ CÔGEIMU） */
.wm-next { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 18px; align-items: center; width: 100%; padding: 12px 20px 12px 12px; background: var(--c); border: var(--bd); border-radius: 18px; box-shadow: var(--shadow-sm); font: inherit; color: inherit; text-align: left; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.wm-next:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.wm-next:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.wm-next img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: var(--bd-thin); border-radius: 12px; background: #202020; }
.wm-next-body { display: grid; gap: 2px; min-width: 0; }
.wm-next-body small { font-weight: 900; font-size: 12px; letter-spacing: 0.08em; opacity: 0.75; }
.wm-next-body b { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 26px; line-height: 1.2; }
.wm-next-body span { font-weight: 800; font-size: 14px; }
.wm-next > .icon { font-size: 22px; }
@media (max-width: 560px) { .wm-next { grid-template-columns: 96px minmax(0, 1fr) auto; gap: 12px; } .wm-next-body b { font-size: 21px; } }

/* ちんあなご：はじまりの思い出（写真＋文章） */
.wm-origin { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 22px; align-items: center; }
.wm-origin-photo { margin: 0; }
.wm-origin-photo img { display: block; width: 100%; height: auto; border: var(--bd); border-radius: 16px; box-shadow: var(--shadow-sm); }
.wm-origin-photo figcaption { margin-top: 8px; font-size: 12.5px; font-weight: 800; line-height: 1.6; opacity: 0.8; }
.wm-origin-text { padding: 16px 20px; background: var(--accent-soft); border: var(--bd-thin); border-radius: 16px; }
.wm-origin-text p { font-size: 15px; line-height: 1.85; }
@media (max-width: 820px) { .wm-origin { grid-template-columns: minmax(0, 1fr); } }


.yt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.yt-item { margin: 0; }
.yt {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0;
  background: var(--ink);
  border: var(--bd); border-radius: 14px;
  overflow: hidden; cursor: pointer;
}
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; transition: transform 0.3s ease, opacity 0.2s ease; }
.yt:hover img { transform: scale(1.04); opacity: 1; }
/* ショート動画（縦長）のサムネイルは切り抜かずに全体を表示 */
.yt--short .yt-bg { position: absolute; inset: 0; filter: blur(14px) saturate(1.2); transform: scale(1.25); opacity: 0.85; }
.yt--short .yt-img { position: absolute; inset: 0; object-fit: contain; opacity: 1; }
.yt--short:hover .yt-img { transform: none; }
.yt-play {
  position: absolute; inset: 0; margin: auto;
  display: grid; place-items: center;
  width: 62px; height: 44px;
  background: #ff3b3b; color: var(--white);
  border: var(--bd); border-radius: 12px;
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 24px;
}
.yt-frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: var(--bd); border-radius: 14px; background: var(--ink); }
.yt-item figcaption { margin-top: 6px; font-size: 13px; font-weight: 800; line-height: 1.55; }

.press-note { margin: -4px 0 12px !important; font-size: 12.5px !important; font-weight: 500 !important; opacity: 0.75; }
html:lang(ja) .press-note { display: none; }
.press { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; list-style: none; padding: 0; margin: 0; }   /* 1件ずつ横長の行で */
.press a {
  display: flex; align-items: flex-start; gap: 10px; height: 100%;
  padding: 10px 14px;
  background: var(--white);
  border: var(--bd-thin); border-radius: 14px;
  box-shadow: 3px 3px 0 var(--ink);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.press a:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); background: var(--accent-soft); }
.press a { align-items: center; padding: 9px 14px; }
.press b { flex: none; width: 12.5em; max-width: 36%; padding: 0 8px; background: var(--accent); border: 2px solid var(--ink); border-radius: 8px; font-size: 12px; line-height: 1.7; text-align: center; }
.press a > span { display: flex; align-items: baseline; gap: 14px; min-width: 0; font-size: 14px; font-weight: 500; line-height: 1.65; }
.press time { flex: none; width: 6.4em; font-family: var(--font-brand); font-size: 11px; letter-spacing: 0.04em; opacity: 0.65; }
@media (max-width: 600px) {
  /* スマホは媒体名を上に、日付とタイトルをその下に横幅いっぱいで */
  .press a { flex-direction: column; align-items: flex-start; gap: 6px; }
  .press b { width: auto; max-width: 100%; }
  .press a > span { flex-direction: column; gap: 0; }
  .press time { width: auto; }
}

@media (max-width: 820px) {
  .wm-top, .wm-body { grid-template-columns: minmax(0, 1fr); padding: 18px; gap: 22px; }
  .wm-head { padding-right: 0; }
  .wm-top { padding-top: 66px; }
  .press { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .wm-steps li { grid-template-columns: 1fr; gap: 2px; }
  .wm-steps time { justify-self: start; }
}

/* ---------- about ---------- */
.about { background: var(--sky-soft); background-image: repeating-linear-gradient(-45deg, rgba(56, 182, 245, 0.12) 0 14px, transparent 14px 28px); }
.about-grid { display: grid; grid-template-columns: 360px 1fr; gap: 44px; align-items: start; }
.profile-card {
  position: sticky; top: 100px;
  padding: 30px 26px 26px;
  background: var(--white);
  border: var(--bd); border-radius: 28px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
/* 全身のちびキャラ：カードにのせて、ホバー（スマホはタップ）で口をあけた表情に切り替え */
.profile-chibi {
  position: relative;
  margin: -6px auto 0; width: 100%; height: 270px;
  background-color: var(--sky);
  background-image: radial-gradient(rgba(255, 255, 255, 0.45) 3px, transparent 3.5px);
  background-size: 18px 18px;
  border: var(--bd); border-radius: 22px;
  box-shadow: 6px 6px 0 var(--pink);
  overflow: hidden;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.profile-chibi img {
  position: absolute; left: 50%; bottom: 6px;
  width: auto; height: 250px;   /* 頭からつま先まで全身がパネルに収まる大きさ */
  transform: translateX(-50%);
  transform-origin: 50% 100%;
  transition: opacity 0.12s ease, transform 0.25s cubic-bezier(.3, 1.6, .5, 1);
}
.profile-chibi .chibi-b { opacity: 0; }
.profile-chibi.is-on .chibi-a { opacity: 0; }
.profile-chibi.is-on .chibi-b { opacity: 1; }
.profile-chibi.is-on img { transform: translateX(-50%) translateY(-6px) scale(1.03); }
/* マウスがある端末だけホバーで切り替え（スマホはタップ時のホバーが残るため除外） */
@media (hover: hover) {
  .profile-card:hover .chibi-a { opacity: 0; }
  .profile-card:hover .chibi-b { opacity: 1; }
  .profile-card:hover .profile-chibi img { transform: translateX(-50%) translateY(-6px) scale(1.03); }
}
@media (prefers-reduced-motion: reduce) { .profile-chibi img { transition: opacity 0.12s ease; } .profile-chibi.is-on img, .profile-card:hover .profile-chibi img { transform: translateX(-50%); } }
.profile-name { margin: 18px 0 0; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 40px; line-height: 1.1; }
.profile-en { margin: 4px 0 0; font-weight: 900; letter-spacing: 0.16em; opacity: 0.65; }
.profile-role { margin: 14px 0 0; font-weight: 800; font-size: 15px; line-height: 1.7; }
.profile-card .chips { justify-content: center; margin-top: 14px; }
.profile-card .chip { font-size: 12px; }
.profile-sns { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
.sns-btn {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  background: var(--c, var(--white));
  border: var(--bd-thin); border-radius: 50%;
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 20px; text-decoration: none;
  transition: transform 0.15s ease;
}
.sns-btn:hover { transform: translateY(-3px) rotate(-6deg); }

.about-text { font-size: 16.5px; }
.about-text > p { margin: 0 0 1.1em; font-weight: 500; line-height: 1.95; }
.about-text strong { background: linear-gradient(transparent 58%, var(--yellow) 58%); font-weight: 900; }
.about-hello { margin: 0 0 14px; font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(26px, 3.6vw, 38px); line-height: 1.35; }
.about-hello span { color: var(--pink); }
/* 日本語は Dela Gothic One だと太すぎて漢字がつぶれるので、丸ゴシックの極太＋影で目立たせる */
html:lang(ja) .about-hello { font-family: "M PLUS Rounded 1c", sans-serif; font-weight: 900; font-size: clamp(19px, 5.4vw, 40px); letter-spacing: 0.02em; }
html:lang(ja) .about-hello span { display: inline-block; margin-top: 2px; font-size: 1.22em; text-shadow: 3px 3px 0 var(--ink); }

.skills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; padding: 0; margin: 30px 0 0; }
.skill {
  position: relative;
  padding: 16px 16px 40px; /* 右下の大きな番号の分だけ下をあける（長い言語でも文字が重ならない） */
  background: var(--c);
  border: var(--bd); border-radius: 18px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.skill-no { position: absolute; right: 10px; bottom: -10px; font-family: var(--font-brand); font-size: 48px; line-height: 1; color: rgba(255, 255, 255, 0.55); -webkit-text-stroke: 1.5px var(--ink); }
.skill-en { display: block; font-family: var(--font-brand); font-size: 12px; letter-spacing: 0.1em; opacity: 0.8; }
.skill-ja { display: block; margin-top: 2px; font-weight: 900; font-size: 17px; line-height: 1.4; }
.skill p { position: relative; margin: 8px 0 0; font-weight: 500; font-size: 13.5px; line-height: 1.7; }

.clan-card {
  display: grid; grid-template-columns: 200px 1fr; gap: 22px; align-items: center;
  margin-top: 30px; padding: 22px;
  background: var(--white);
  border: var(--bd); border-radius: 22px;
  box-shadow: var(--shadow);
}
.clan-card > img { width: 100%; }
.clan-card h3 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 22px; }
.clan-card p { margin: 8px 0 12px; font-weight: 500; font-size: 15px; line-height: 1.8; }
/* クレアクランの看板娘（押すと作品の詳細が開く） */
.clan-mascots { grid-column: 1 / -1; padding-top: 16px; border-top: 2px dashed rgba(29, 32, 69, 0.3); }
.clan-card .clan-mascots-label { margin: 0 0 12px; font-weight: 900; font-size: 14px; }
.clan-mascots-label::before { content: "♥ "; color: var(--pink); }
.mascots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mascot {
  display: flex; flex-direction: column; align-items: center; width: 100%; padding: 8px 6px 10px;
  background-color: var(--c);
  background-image: radial-gradient(rgba(255, 255, 255, 0.7) 3px, transparent 3.5px);
  background-size: 16px 16px;
  border: var(--bd-thin); border-radius: 16px; box-shadow: var(--shadow-sm);
  font: inherit; color: inherit; text-align: center; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.mascot:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.mascot:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.mascot:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.mascot-img { position: relative; display: block; width: 100%; height: 118px; }
.mascot-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform 0.2s ease; }
.mascot:hover .mascot-img img { transform: rotate(-4deg) scale(1.06); }
.mascot b { margin-top: 4px; font-family: var(--font-display); font-weight: var(--display-weight); font-size: 17px; line-height: 1.3; }
.mascot small { display: inline-flex; align-items: center; gap: 3px; font-weight: 800; font-size: 11.5px; line-height: 1.4; opacity: 0.85; }
.mascot small .icon { flex: none; width: 11px; height: 11px; }
@media (prefers-reduced-motion: reduce) { .mascot, .mascot-img img { transition: none; } .mascot:hover .mascot-img img { transform: none; } }

.likes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; }
.likes-label { font-family: var(--font-brand); font-size: 14px; padding: 2px 12px; background: var(--ink); color: var(--yellow); border-radius: 8px; rotate: -3deg; }

@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; }
  .profile-card { position: static; max-width: 440px; margin-inline: auto; width: 100%; }
  .skills { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .skills { grid-template-columns: 1fr; }
  .clan-card { grid-template-columns: 1fr; text-align: center; }
  .clan-card > img { max-width: 220px; margin-inline: auto; }
  .mascots { gap: 8px; }
  .mascot { padding: 6px 4px 8px; }
  .mascot-img { height: 96px; }
  .mascot b { font-size: 15px; }
  .mascot small { font-size: 10.5px; }
  .mascot small .icon { display: none; }
}

/* ---------- history ---------- */
.tl-year { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 24px; margin-bottom: 40px; }
.tl-year:last-child { margin-bottom: 0; }
.tl-y {
  --o: 3px;
  position: sticky; top: 104px; align-self: start;
  margin: 0;
  font-family: var(--font-brand); font-weight: 400; font-size: 50px; line-height: 1; white-space: nowrap;
  color: var(--y);
  text-shadow:
    var(--o) 0 0 var(--ink), calc(var(--o) * -1) 0 0 var(--ink),
    0 var(--o) 0 var(--ink), 0 calc(var(--o) * -1) 0 var(--ink),
    var(--o) var(--o) 0 var(--ink), calc(var(--o) * -1) calc(var(--o) * -1) 0 var(--ink),
    var(--o) calc(var(--o) * -1) 0 var(--ink), calc(var(--o) * -1) var(--o) 0 var(--ink),
    5px 5px 0 var(--ink);
}
.tl-list { list-style: none; margin: 0; padding: 0 0 0 26px; border-left: 4px dashed var(--ink); display: grid; gap: 12px; }
.tl-item {
  position: relative;
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: start;
  padding: 12px 16px;
  background: var(--white);
  border: var(--bd); border-radius: 16px;
  box-shadow: var(--shadow-sm);
}
.tl-item::before {
  content: ""; position: absolute; left: -43px; top: 14px;
  width: 26px; height: 26px;
  background: var(--c); border: var(--bd); border-radius: 50%;
}
.tl-date {
  padding: 1px 10px;
  background: var(--c);
  border: var(--bd-thin); border-radius: 8px;
  font-family: var(--font-brand); font-size: 14px; line-height: 1.6; white-space: nowrap;
}
.tl-title { margin: 0; font-weight: 900; font-size: 16px; line-height: 1.6; }
.tl-text { margin: 2px 0 0; font-weight: 500; font-size: 14.5px; line-height: 1.75; }
/* 絞り込み（件数つき）と「もっと見る」 */
.filter { display: inline-flex; align-items: center; gap: 6px; }
.filter-n { min-width: 22px; padding: 0 6px; background: var(--yellow); color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; font-family: var(--font-brand); font-size: 11px; line-height: 1.5; text-align: center; }
.filter-n:empty { display: none; }
.tl-filters { margin: -8px 0 30px; }
.tl-year[hidden], .tl-item[hidden], .tl-more[hidden] { display: none; }
.tl-more { display: flex; justify-content: center; margin-top: 34px; }
.tl-more-btn .icon { transition: rotate 0.3s var(--spring); }
.tl-more-btn[aria-expanded="true"] .icon { rotate: 180deg; }
.tl-item.tl-pop { animation: pop 0.4s var(--spring) both; }
@media (max-width: 760px) {
  .tl-year { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .tl-y { position: static; font-size: 44px; }
  .tl-list { padding-left: 22px; }
  .tl-item { grid-template-columns: minmax(0, 1fr); }
  .tl-item::before { left: -39px; }
  .tl-date { justify-self: start; }
}

/* ---------- activity ---------- */
.activity { background: var(--yellow-soft); }
.act-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.act-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: var(--bd); border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden; text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.act-visual {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--c, var(--ink));
  border-bottom: var(--bd);
  overflow: hidden;
}
/* ロゴや文字が切れないよう、画像は全体を表示（余白はぼかした同じ画像で埋める） */
.act-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(16px) saturate(1.2); transform: scale(1.2); opacity: 0.9; }
.act-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.act-visual--pattern { display: grid; place-items: center; background-image: radial-gradient(rgba(255, 255, 255, 0.45) 3px, transparent 3.5px); background-size: 20px 20px; }
.act-mark { font-family: var(--font-brand); font-size: clamp(38px, 5vw, 56px); line-height: 1.1; color: var(--white); text-align: center; text-shadow: 3px 0 0 var(--ink), -3px 0 0 var(--ink), 0 3px 0 var(--ink), 0 -3px 0 var(--ink), 3px 3px 0 var(--ink), -3px -3px 0 var(--ink), 3px -3px 0 var(--ink), -3px 3px 0 var(--ink), 6px 6px 0 var(--ink); }
.act-mark small { display: block; font-size: 0.34em; letter-spacing: 0.12em; }
.act-badge { position: absolute; z-index: 2; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; background: var(--yellow); border: var(--bd-thin); border-radius: 999px; box-shadow: 3px 3px 0 var(--ink); font-weight: 900; font-size: 14px; line-height: 1.4; rotate: -4deg; }
.act-badge .icon { color: var(--orange); font-size: 1.15em; }
/* 旅行記：3つの旅行の写真を並べる（並べ方だけ CSS で） */
.act-visual--trip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); place-items: stretch; }
/* 写真を並べるカード（旅行記・フォトアート）：1枚ずつ枠に入れて、ホバーで寄っても境目の線が消えないように */
.act-ph { display: block; overflow: hidden; }
.act-ph + .act-ph { border-left: var(--bd-thin); }
.act-ph img { width: 100%; height: 100%; object-fit: cover; }
.act-visual--photo { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); place-items: stretch; }
@media (min-width: 601px) {
  .act-card--wide { grid-column: 1 / -1; flex-direction: row; }
  .act-card--wide .act-visual { flex: 1.6 1 0; aspect-ratio: auto; min-height: 270px; border-bottom: 0; border-right: var(--bd); }
  .act-card--wide .act-body { flex: 1 1 0; justify-content: center; padding: 24px 26px; }
  .act-card--wide .act-more { margin-top: 6px; }
}
@media (max-width: 960px) { .act-visual--photo { grid-template-columns: repeat(3, minmax(0, 1fr)); } .act-ph--extra { display: none; } }
.act-visual--trip .act-mark { position: absolute; inset: 0; display: grid; place-content: center; background: rgba(29, 32, 69, 0.18); }
.act-body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 18px 20px 20px; }
.act-kicker { margin: 0; font-family: var(--font-brand); font-size: 13px; letter-spacing: 0.1em; color: var(--blue); }
.act-title { margin: 0; font-weight: 900; font-size: 19px; line-height: 1.45; }
.act-text { margin: 0; font-weight: 500; font-size: 14.5px; line-height: 1.8; }
.act-more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-weight: 900; font-size: 14px; color: var(--pink); }
@media (max-width: 960px) { .act-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .act-grid { grid-template-columns: 1fr; } }

/* ---------- media ---------- */
.media-h {
  display: flex; align-items: center; gap: 10px;
  margin: 44px 0 18px;
  font-family: var(--font-display); font-weight: var(--display-weight); font-size: 24px; line-height: 1.3;
}
.sec-head + .media-h { margin-top: 0; }
.media-h .icon { width: 34px; height: 34px; padding: 6px; background: var(--yellow); border: var(--bd-thin); border-radius: 10px; box-shadow: 3px 3px 0 var(--ink); }

.tv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.tv-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: var(--bd); border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden; text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
@media (min-width: 821px) {
  .tv-card--feature { grid-column: span 2; grid-row: span 2; }
  .tv-card--feature .tv-title { font-size: 20px; }
  .tv-card--feature .tv-text { font-size: 15px; }
}
.tv-thumb { position: relative; aspect-ratio: 16 / 9; background: var(--ink); border-bottom: var(--bd); overflow: hidden; }
.tv-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tv-thumb .tv-img--left { object-position: 0 50%; }   /* 横長の放送画面：左の番組ロゴから見せる */
.tv-thumb--pattern { display: grid; place-items: center; background-color: var(--sky); background-image: radial-gradient(rgba(255, 255, 255, 0.45) 3px, transparent 3.5px); background-size: 20px 20px; }
.tv-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; }
.tv-ch { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; font-weight: 900; font-size: 13px; }
.tv-ch > span:first-child, .tv-ch { letter-spacing: 0.04em; }
.tv-ch time, .tv-tag { padding: 0 8px; background: var(--yellow); border: 2px solid var(--ink); border-radius: 8px; font-family: var(--font-brand); font-size: 11px; }
.tv-tag { font-family: var(--font-body); font-weight: 900; line-height: 1.6; white-space: nowrap; }
/* 縦長のショート動画は切り抜かずに全体を表示（余白はぼかした同じ画像） */
.tv-thumb--short .tv-bg { position: absolute; inset: 0; filter: blur(14px) saturate(1.2); transform: scale(1.25); opacity: 0.85; }
.tv-thumb--short .tv-img { position: absolute; inset: 0; object-fit: contain; }
.tv-title { margin: 0; font-weight: 900; font-size: 16px; line-height: 1.5; }
.tv-text { margin: 0; font-weight: 500; font-size: 14px; line-height: 1.75; }
.tv-quote { position: relative; margin: 14px 0 0; padding: 12px 16px 12px 44px; background: var(--pink-soft); border: var(--bd-thin); border-radius: 14px; font-weight: 700; font-size: 14.5px; line-height: 1.75; }
.tv-quote::before { content: "♥"; position: absolute; left: 16px; top: 11px; color: var(--pink); font-size: 18px; }

.media-cloud { display: flex; flex-wrap: wrap; gap: 14px 12px; list-style: none; padding: 0; margin: 0; }
.media-cloud a {
  display: inline-flex; flex-direction: column; align-items: center;
  padding: 7px 18px 8px;
  background: var(--c, var(--white));
  border: var(--bd); border-radius: 999px;
  box-shadow: var(--shadow-sm);
  text-decoration: none; text-align: center;
  rotate: var(--r, 0deg);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.media-cloud a:hover { transform: translate(-2px, -3px) rotate(0deg); box-shadow: 6px 7px 0 var(--ink); }
.media-cloud b { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(15px, 1.8vw, 19px); line-height: 1.35; }
.media-cloud small { font-weight: 800; font-size: 11px; line-height: 1.4; opacity: 0.75; }
@media (max-width: 900px) { .tv-grid { grid-template-columns: minmax(0, 1fr); } .tv-card { flex-direction: row; } .tv-thumb { flex: 0 0 42%; border-bottom: 0; border-right: var(--bd); } }
@media (max-width: 560px) { .tv-card { flex-direction: column; } .tv-thumb { flex: none; border-right: 0; border-bottom: var(--bd); } }

/* ---------- contact ---------- */
.contact { background: var(--pink); border-top: var(--bd); overflow: hidden; isolation: isolate; }
.contact-rays {
  position: absolute; z-index: -1; left: 50%; top: 50%;
  width: 260vmax; height: 260vmax; translate: -50% -50%;
  background: repeating-conic-gradient(rgba(255, 255, 255, 0.16) 0deg 6deg, transparent 6deg 12deg);
  animation: spin 200s linear infinite reverse;
}
.contact-box {
  max-width: 900px; margin-inline: auto;
  padding: clamp(28px, 5vw, 56px) clamp(20px, 5vw, 56px);
  background: var(--white);
  border: var(--bd); border-radius: 32px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.contact-box .sec-head { justify-content: center; margin-bottom: 18px; }
.contact-box .sec-title { --c: var(--yellow); }
.contact-msg { margin: 0 auto; max-width: 600px; font-weight: 800; font-size: clamp(16px, 2vw, 18px); line-height: 1.85; }
.contact-ways { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; max-width: 540px; margin: 28px auto 0; text-align: left; }
.contact-way {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  background: var(--ink); color: var(--white);
  border: var(--bd); border-radius: 22px;
  box-shadow: 5px 5px 0 var(--yellow);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.contact-way:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--yellow); }
.contact-way--mail { background: var(--yellow); color: var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.contact-way--mail:hover { box-shadow: 8px 8px 0 var(--ink); }
.cw-icon { display: grid; place-items: center; flex: none; width: 52px; height: 52px; background: var(--white); color: var(--ink); border: var(--bd); border-radius: 50%; font-size: 24px; }
.cw-text { display: flex; flex-direction: column; min-width: 0; }
.cw-label { font-weight: 900; font-size: 13px; letter-spacing: 0.04em; opacity: 0.85; }
.cw-value { font-family: var(--font-brand); font-size: clamp(14px, 4.2vw, 20px); line-height: 1.3; overflow-wrap: anywhere; word-break: normal; }   /* メールアドレスは @ の前で改行 */

/* ---------- links ---------- */
.links-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
.links-grid a {
  display: flex; align-items: center; gap: 12px; height: 100%;
  padding: 14px 16px;
  background: var(--c, var(--white));
  border: var(--bd); border-radius: 18px;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.links-grid a:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.links-grid .icon { font-size: 26px; }
.links-grid span { display: flex; flex-direction: column; min-width: 0; }
.links-grid b { font-size: 15px; line-height: 1.4; }
.links-grid small { font-size: 12.5px; font-weight: 500; opacity: 0.75; line-height: 1.5; }
@media (max-width: 900px) { .links-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .links-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- footer ---------- */
.site-footer { position: relative; padding: 36px 0 30px; background: var(--ink); color: var(--white); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer-brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-brand); font-size: 20px; }
.footer-brand img { width: 44px; height: 44px; border-radius: 50%; border: 2.5px solid var(--white); background: var(--sky); }
.footer-note { margin: 0; font-size: 12.5px; font-weight: 500; opacity: 0.8; line-height: 1.7; }
.footer-langs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.footer-langs-label { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-brand); font-size: 13px; color: var(--yellow); }
.footer-langs ul { display: flex; flex-wrap: wrap; gap: 6px 14px; list-style: none; margin: 0; padding: 0; }
.footer-langs a { font-size: 13px; font-weight: 700; opacity: 0.8; text-decoration: none; }
.footer-langs a:hover { opacity: 1; text-decoration: underline; }
.footer-langs a[aria-current="true"] { opacity: 1; color: var(--yellow); text-decoration: underline; }
.to-top {
  position: absolute; right: var(--gutter); top: -30px;
  display: grid; place-items: center;
  width: 60px; height: 60px;
  background: var(--yellow);
  border: var(--bd); border-radius: 50%;
  box-shadow: 4px 4px 0 var(--pink);
  text-decoration: none;
  transition: transform 0.2s ease;
}
.to-top:hover { transform: translateY(-4px) rotate(-8deg); }
.to-top svg { width: 30px; height: 30px; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 1.2, 0.4, 1); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- カーソルを当てたときの動き ----------
   カードは「スクロールで出てくる演出（reveal）」が transform を使うので、ホバーは translate / scale / rotate で動かす
   （transform 同士だと reveal 側に打ち消されて、影しか変わらなかった） */
:root { --spring: cubic-bezier(0.34, 1.65, 0.5, 1); }
:is(.work-card, .act-card, .tv-card, .tl-item),
.js .reveal:is(.work-card, .act-card, .tv-card, .tl-item) {
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 1.2, 0.4, 1),
    translate 0.32s var(--spring), scale 0.32s var(--spring), rotate 0.32s var(--spring),
    box-shadow 0.25s ease, background-color 0.25s ease;
  transition-delay: var(--d, 0s), var(--d, 0s), 0s, 0s, 0s, 0s, 0s;
}
.act-card, .tv-card { position: relative; }
.work-card:hover, .work-card:focus-within { z-index: 2; translate: -6px -7px; rotate: -0.6deg; box-shadow: 12px 13px 0 var(--ink); }
.work-card:hover .work-media img { transform: scale(1.06); }

/* ACTIVITY：カードが手前に飛び出し、写真が寄って、バッジが揺れる */
a.act-card:hover, a.act-card:focus-visible { z-index: 2; translate: -7px -9px; scale: 1.035; rotate: -1deg; box-shadow: 13px 15px 0 var(--ink); }
.act-img, .act-bg, .act-ph img { transition: scale 0.5s cubic-bezier(0.2, 0.9, 0.3, 1); }
.act-ph img { transition-delay: calc(var(--i, 0) * 0.04s); }   /* 写真が1枚ずつ順番に寄る */
.act-mark { transition: scale 0.35s var(--spring), rotate 0.35s var(--spring); }
.act-more .icon { transition: translate 0.3s var(--spring); }
a.act-card:hover .act-img { scale: 1.08; }
a.act-card:hover .act-bg { scale: 1.1; }
a.act-card:hover .act-ph img { scale: 1.12; }
a.act-card--wide:hover, a.act-card--wide:focus-visible { scale: 1.015; rotate: -0.5deg; }
a.act-card:hover .act-mark, .tv-card:hover .act-mark { scale: 1.12; rotate: -4deg; }
a.act-card:hover .act-badge { animation: wiggle 0.6s ease; }
a.act-card:hover .act-more .icon { translate: 6px 0; }

/* MEDIA：カードが飛び出し、サムネイルが寄って、再生ボタンがぴょこっと大きくなる */
.tv-card:hover, .tv-card:focus-visible { z-index: 2; translate: -7px -9px; scale: 1.03; rotate: -0.8deg; box-shadow: 13px 15px 0 var(--ink); }
.tv-card--feature:hover, .tv-card--feature:focus-visible { scale: 1.012; rotate: -0.4deg; }
.tv-thumb img { transition: scale 0.5s cubic-bezier(0.2, 0.9, 0.3, 1); }
.yt-play { transition: scale 0.3s var(--spring), rotate 0.3s var(--spring), background-color 0.2s ease; }
.tv-card:hover .tv-thumb img { scale: 1.08; }
.tv-card--feature:hover .tv-thumb img { scale: 1.05; }
.tv-card:hover .yt-play, .yt:hover .yt-play { scale: 1.22; rotate: -6deg; background-color: #ff1f1f; }

/* HISTORY：カーソルが当たったできごとが、ギュッと手前に押し出される（スマホは画面の真ん中に来たもの） */
.tl-item { transform-origin: 0 50%; }
.tl-item::before { transition: scale 0.35s var(--spring), translate 0.35s var(--spring); }
.tl-date { transition: rotate 0.35s var(--spring), scale 0.35s var(--spring); }
.tl-item:hover, .tl-item.is-hot { z-index: 2; translate: -5px -5px; scale: 1.035; box-shadow: 9px 9px 0 var(--ink); background-color: color-mix(in srgb, var(--c) 16%, var(--white)); }
.tl-item:hover::before, .tl-item.is-hot::before { translate: 5px 5px; scale: 1.4; }
.tl-item:hover .tl-date, .tl-item.is-hot .tl-date { rotate: -5deg; scale: 1.08; }

/* ---------- keyframes ---------- */
@keyframes wiggle { 0%, 100% { rotate: -4deg; } 25% { rotate: -12deg; } 50% { rotate: 3deg; } 75% { rotate: -8deg; } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes hop { 0%, 70%, 100% { transform: translateY(0); } 78% { transform: translateY(-0.1em) rotate(-4deg); } 86% { transform: translateY(0) rotate(0); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes wobble { 0%, 100% { rotate: 12deg; } 50% { rotate: 4deg; } }
@keyframes flicker { 0%, 100% { opacity: 1; } 46% { opacity: 1; } 48% { opacity: 0.2; } 52% { opacity: 1; } 55% { opacity: 0.3; } 58% { opacity: 1; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pop { from { opacity: 0; transform: scale(0.92) translateY(16px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* マウスのあとを追いかけるキラキラ（main.js が描く） */
.sparkle-layer { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 9999; }

/* ---------- 旅行記（X の「#ゲームクリエイターの〇〇旅行」をまとめた詳細ウィンドウ） ---------- */
.trip-head { display: flex; flex-direction: column; gap: 10px; padding: 28px 64px 22px 28px; background: var(--accent-soft); border-bottom: var(--bd); }
.trip-lead { margin: 0; font-weight: 500; line-height: 1.85; }
.trip-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.trip-jump { background: var(--c); font: inherit; font-weight: 900; font-size: 13px; cursor: pointer; }
.trip-jump:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ink); }
.trip-body { display: grid; gap: 34px; padding: 28px; }
.trip { scroll-margin-top: 12px; }
.trip-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: -2px 0 14px; font-weight: 800; font-size: 13px; }
.trip-meta time { padding: 0 10px; background: var(--c); border: 2px solid var(--ink); border-radius: 8px; font-family: var(--font-brand); font-size: 12px; }
.trip-meta a { color: inherit; text-underline-offset: 3px; overflow-wrap: anywhere; }
.trip-posts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.trip-post a { display: flex; flex-direction: column; height: 100%; background: var(--white); border: var(--bd-thin); border-radius: 16px; box-shadow: var(--shadow-sm); overflow: hidden; color: inherit; text-decoration: none; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.trip-post a:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.trip-post a:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.trip-photo { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--c); border-bottom: var(--bd-thin); overflow: hidden; }
.trip-photo img { width: 100%; height: 100%; object-fit: cover; }
.trip-count { position: absolute; right: 8px; bottom: 8px; padding: 0 8px; background: rgba(29, 32, 69, 0.82); color: var(--white); border-radius: 999px; font-weight: 900; font-size: 12px; line-height: 1.7; }
.trip-play { position: absolute; inset: 0; display: grid; place-items: center; }
.trip-play .icon { width: 44px; height: 44px; padding: 11px; background: rgba(29, 32, 69, 0.72); color: var(--white); border-radius: 50%; }
.trip-text { display: grid; gap: 4px; padding: 10px 12px 2px; font-weight: 500; font-size: 13.5px; line-height: 1.7; }
.trip-text time { font-family: var(--font-brand); font-size: 12px; }
.trip-text > span { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.trip-more { display: flex; align-items: center; gap: 4px; margin-top: auto; padding: 6px 12px 10px; font-weight: 900; font-size: 12px; }
.trip-more .icon { width: 0.9em; height: 0.9em; }
/* フォトアート：写真の形（構図）を切らずに、そのままの比率で並べる */
.photo-body { padding: 28px; }
.photo-grid { list-style: none; margin: 0; padding: 0; columns: 3 220px; column-gap: 14px; }
.photo-grid li { break-inside: avoid; margin-bottom: 14px; }
.photo-item { display: block; width: 100%; padding: 0; background: var(--ink); border: var(--bd-thin); border-radius: 14px; box-shadow: var(--shadow-sm); overflow: hidden; cursor: zoom-in; transition: translate 0.3s var(--spring), rotate 0.3s var(--spring), box-shadow 0.25s ease; }
.photo-item img { display: block; width: 100%; height: auto; transition: scale 0.5s cubic-bezier(0.2, 0.9, 0.3, 1); }
.photo-item:hover, .photo-item:focus-visible { translate: -3px -4px; rotate: -0.8deg; box-shadow: 7px 8px 0 var(--ink); }
.photo-item:hover img { scale: 1.05; }
.photo-item:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
/* 写真を大きく見るビューア */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(16, 18, 40, 0.94); color: var(--white); overflow: hidden; }
.lightbox[open] { display: grid; place-items: center; animation: fade 0.2s ease; }
.lightbox::backdrop { background: transparent; }
.lb-img { max-width: calc(100vw - 150px); max-height: calc(100dvh - 110px); object-fit: contain; border: 3px solid var(--white); border-radius: 12px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); }
.lb-btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; background: var(--white); color: var(--ink); border: var(--bd); border-radius: 50%; box-shadow: var(--shadow-sm); font-size: 24px; font-weight: 900; line-height: 1; cursor: pointer; transition: scale 0.2s var(--spring); }
.lb-btn:hover { scale: 1.12; }
.lb-btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.lb-prev { left: 18px; top: 50%; translate: 0 -50%; }
.lb-prev .icon { rotate: 180deg; }
.lb-next { right: 18px; top: 50%; translate: 0 -50%; }
.lb-close { right: 18px; top: 18px; background: var(--yellow); }
.lb-count { position: absolute; left: 50%; bottom: 16px; translate: -50% 0; margin: 0; font-family: var(--font-brand); font-size: 14px; letter-spacing: 0.1em; }
@keyframes fade { from { opacity: 0; } }
@media (max-width: 600px) {
  .photo-body { padding: 18px; }
  .photo-grid { columns: 2; column-gap: 10px; }
  .photo-grid li { margin-bottom: 10px; }
  .lb-img { max-width: calc(100vw - 24px); max-height: calc(100dvh - 170px); }
  .lb-prev, .lb-next { top: auto; bottom: 16px; translate: none; }
  .lb-count { bottom: 32px; }
}
@media (max-width: 820px) {
  .trip-head { padding: 66px 18px 18px; }
  .trip-body { padding: 18px; gap: 28px; }
  .trip-posts { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
}


/* ---------- スマホ（iPhone など）での見え方の調整 ---------- */
@media (max-width: 900px) {
  /* スクロールする前に絵が見えるよう、アイコンと作品の絵を名前より上に */
  .hero { padding-top: 112px; }
  .hero-grid { gap: 34px; }
  .hero-visual { order: -1; width: 76%; max-width: 380px; }
}
@media (max-width: 600px) {
  .hero { padding-top: 104px; }
  .hero-grid { gap: 26px; }
  .hero-title { margin-top: 12px; }
  /* セクションどうしの間が空きすぎないように */
  .sec { padding: 64px 0; }
  .sec-head { margin-bottom: 28px; }
  /* 数字のカード：となりに高さを合わせず、中身の大きさのまま */
  .stats-grid { align-items: center; gap: 14px 12px; }
  .stat { padding: 12px 10px 11px; }
  .stat-link { margin: -12px -10px -11px; padding: 12px 10px 11px; }
  .stat-num { white-space: nowrap; font-size: 27px; }
  .stat-label { font-size: 12.5px; line-height: 1.45; }
  /* 看板娘は名前だけ（作品名は押すと開く詳細でわかる） */
  .mascot small { display: none; }
  /* 年表の絞り込みボタンは小さめにして2段に収める */
  .tl-filters { gap: 8px; }
  .tl-filters .filter { padding: 6px 12px; font-size: 13px; letter-spacing: 0.02em; }
  /* 旅行記は1列に。写真を左、文章を右に並べる */
  .trip-posts { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .trip-post a { display: grid; grid-template-columns: 40% minmax(0, 1fr); grid-template-rows: 1fr auto; }
  .trip-photo { grid-row: 1 / 3; aspect-ratio: auto; min-height: 150px; border-bottom: 0; border-right: var(--bd-thin); }
  .trip-text { align-content: start; padding: 10px 12px 2px; }
  .trip-text > span { -webkit-line-clamp: 4; }
  .trip-more { padding: 4px 12px 10px; }
}
/* WEB 記事のチップは真ん中にそろえる（左に寄って右側が空かないように） */
.media-cloud { justify-content: center; }
/* 写真のないポスト（旅行に出る前のお知らせなど）は文章だけ */
@media (max-width: 600px) { .trip-post a:not(:has(.trip-photo)) { grid-template-columns: minmax(0, 1fr); } }
.trip-post a:not(:has(.trip-photo)) .trip-text { padding-top: 14px; }

/* ---------- グッズ制作（作ってきたグッズの一覧） ---------- */
.goods-body { padding: 28px; }
.goods-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.goods-item { display: flex; flex-direction: column; background: var(--white); border: var(--bd-thin); border-radius: 18px; box-shadow: var(--shadow-sm); overflow: hidden; transition: translate 0.3s var(--spring), rotate 0.3s var(--spring), box-shadow 0.25s ease; }
.goods-item:hover { translate: -3px -4px; rotate: -0.6deg; box-shadow: 7px 8px 0 var(--ink); }
.goods-photo { display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 10px; background-color: var(--accent-soft); background-image: radial-gradient(rgba(255, 255, 255, 0.75) 3px, transparent 3.5px); background-size: 18px 18px; border-bottom: var(--bd-thin); overflow: hidden; }
.goods-photo img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; transition: scale 0.4s cubic-bezier(0.2, 0.9, 0.3, 1); }
.goods-item:hover .goods-photo img { scale: 1.06; }
.goods-text { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 12px 14px 14px; }
.goods-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; }
.goods-year { padding: 0 8px; background: var(--ink); color: var(--yellow); border-radius: 8px; font-family: var(--font-brand); font-size: 12px; line-height: 1.7; }
.goods-tag { padding: 0 8px; border: 2px solid var(--ink); border-radius: 999px; font-weight: 900; font-size: 11.5px; line-height: 1.6; background: var(--white); }
.goods-tag--booth { background: var(--yellow); }
.goods-tag--soon { background: var(--pink); color: var(--white); }
.goods-name { margin: 0; font-weight: 900; font-size: 16px; line-height: 1.5; text-wrap: balance; }
.goods-desc { margin: 0; font-weight: 500; font-size: 13.5px; line-height: 1.75; }
.goods-link { display: inline-flex; align-items: center; gap: 4px; margin-top: auto; padding-top: 4px; color: var(--pink); font-weight: 900; font-size: 13px; text-decoration: none; }
.goods-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.goods-shop { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; margin-top: 28px; padding: 20px; background: var(--yellow-soft); border: var(--bd); border-radius: 20px; text-align: center; }
.goods-shop-text { margin: 0; font-weight: 900; font-size: 15px; line-height: 1.6; }
@media (max-width: 600px) {
  .goods-body { padding: 18px; }
  .goods-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .goods-photo { aspect-ratio: 16 / 10; }   /* スマホは写真を大きく（上に写真、下に説明） */
  .goods-name { font-size: 15px; }
  .goods-desc { font-size: 13px; }
}

/* ---------- X をフォローしてもらう導線（冒頭・自己紹介・旅行記） ---------- */
.btn--x { background: var(--ink); color: var(--white); }
.btn--x:hover { box-shadow: 6px 6px 0 var(--yellow); }
.follow-box { display: flex; align-items: center; gap: 14px 18px; margin: 6px 0 30px; padding: 16px 18px; background: var(--white); border: var(--bd); border-radius: 20px; box-shadow: var(--shadow); }
.follow-icon { flex: none; display: grid; place-items: center; width: 54px; height: 54px; background: var(--ink); color: var(--white); border-radius: 50%; font-size: 24px; rotate: -6deg; }
.follow-text { flex: 1; min-width: 0; }
.follow-box .follow-title { margin: 0; font-weight: 900; font-size: 16.5px; line-height: 1.5; }
.follow-box .follow-desc { margin: 2px 0 0; font-weight: 500; font-size: 13.5px; line-height: 1.75; }
.follow-box .btn { flex: none; padding: 11px 18px; font-size: 15px; white-space: nowrap; }
.trip-body > .follow-box { margin: 4px 0 0; background: var(--accent-soft); }
@media (max-width: 760px) {
  .follow-box { flex-wrap: wrap; }
  .follow-box .btn { width: 100%; }
}
@media (max-width: 480px) {
  .follow-box { gap: 12px; padding: 14px; }
  .follow-icon { width: 44px; height: 44px; font-size: 20px; }
  .follow-box .follow-title { font-size: 15.5px; }
  .follow-box .btn { padding: 11px 12px; font-size: 14px; }
}
@media (max-width: 600px) {
  /* 冒頭のボタンは「作品を見る」「プロフィール」を横に、「X でフォロー」はその下に横いっぱい */
  .hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-actions .btn { padding-inline: 12px; }
  .hero-actions .btn--x { grid-column: 1 / -1; }
}

/* お知らせのラベル（02 Kagane のフランス展示決定など） */
.work-badge--news, .t-yellow .work-badge--news { background: var(--pink); color: var(--white); }
.work-badge--news .icon { color: var(--yellow); }
.wm-news { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin: 0; padding: 3px 12px; background: var(--pink); color: var(--white); border: var(--bd-thin); border-radius: 999px; box-shadow: 3px 3px 0 var(--ink); font-weight: 900; font-size: 13.5px; line-height: 1.5; rotate: -1.5deg; }
.wm-news .icon { flex: none; color: var(--yellow); font-size: 1.1em; }
.wm-news-main, .wm-news-sub { display: inline-block; }
.wm-news-sub { font-size: 0.88em; opacity: 0.92; }

/* 冒頭のボタンは青1色にそろえる */
.hero-actions .btn, .hero-actions .btn--white, .hero-actions .btn--x { background: var(--blue); color: var(--white); }
.hero-actions .btn:hover { box-shadow: 6px 6px 0 var(--ink); }

/* PRJ CÔGEIMU：作品名（ARE YOU THERE?／名称未定）を大きく、プロジェクト名は上に小さく */
.work-title--series small, .wm-title--series small { margin: 0 0 4px; letter-spacing: 0.08em; }

/* 界隈ほーるの番組の流れ（文章） */
.tv-story { margin: 10px 0 0; font-weight: 500; font-size: 14px; line-height: 1.85; }
.tv-card--feature .tv-story { font-size: 15px; }

/* クレジット（ぶんまわしヒーロー） */
.wm-credits { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 24px; margin: 0; }
.wm-credits > div { display: grid; gap: 1px; padding: 8px 0; border-bottom: 2px dashed rgba(29, 32, 69, 0.18); }
.wm-credits dt { font-family: var(--font-brand); font-size: 11px; letter-spacing: 0.06em; opacity: 0.7; }
.wm-credits dd { margin: 0; font-weight: 800; font-size: 15px; line-height: 1.5; }

/* 声優さんのチップは目立たせる（作品カード） */
.chip--cv, .work-card .chip--cv { background: var(--ink); color: var(--white); border-color: var(--ink); }
