/* ==========================================================================
   Lusty — main stylesheet
   1. tokens / base       5. front page       9. materials
   2. layout & parts      6. news / posts     10. products / misc
   3. header              7. entry content    11. responsive
   4. footer              8. characters       12. reduced motion
   ========================================================================== */

/* 1. tokens / base ------------------------------------------------------- */
:root {
	--pink: #ff3d9a;
	--pink-l: #ffc2df;
	--yellow: #ffe14d;
	--mint: #6fe3c8;
	--sky: #8fd0ff;
	--ink: #372c4e;
	--ink-soft: #6f6584;
	--paper: #fff7fb;
	--bd: 3px solid var(--ink);
	--hard: 6px 6px 0 var(--ink);
	--radius: 18px;
	--header-h: 69px;
	--admin-bar: var(--wp-admin--admin-bar--height, 0px);
	--font-ja: 'BIZ UDPGothic', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
	--font-display: 'M PLUS Rounded 1c', var(--font-ja);
	--font-en: 'Fredoka', var(--font-ja);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + var(--admin-bar) + 16px); }
body { margin: 0; font-family: var(--font-ja); font-weight: 400; color: var(--ink); background: var(--paper); line-height: 1.85; -webkit-font-smoothing: antialiased; overflow-wrap: anywhere; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
.icon { width: 1.1em; height: 1.1em; flex: none; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); border: 0; white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; padding: 8px 16px; clip: auto; clip-path: none; background: #fff; border: var(--bd); border-radius: 8px; }

/* 2. layout & parts ------------------------------------------------------ */
.wrap { width: min(1140px, 100% - 40px); margin-inline: auto; }
.wrap--narrow { width: min(860px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.dots { background-image: radial-gradient(color-mix(in srgb, var(--ink) 9%, transparent) 2px, transparent 2.5px); background-size: 18px 18px; }
.center { text-align: center; margin: 44px 0 0; }

/* 大きな文字だけ丸ゴシック。小さい文字（本文・ラベル・ボタンなど）は body の BIZ UDPゴシック */
.heading__ja, .news-head__title, .entry-content h3.news-sub, .ch-info__name, .ch-quote__bubble, .ch-mat__title, .hero__copy span, .stage__name, .chara-card__name, .act__title, .material-group__head, .tl-head__name, .tl-card__name, .sec-title h2, .purpose b, .svc__name--ja, .type-card__title, .hub-chara__name, .entry-content h2, .entry-content h3 { font-family: var(--font-display); }

.heading { text-align: center; margin: 0 0 clamp(36px, 5vw, 56px); }
.heading__en { display: inline-block; font-family: var(--font-en); font-weight: 700; font-size: 14px; letter-spacing: .2em; line-height: 1.6; padding: 2px 14px; border: var(--bd); border-radius: 8px; background: var(--mint); rotate: -3deg; box-shadow: 3px 3px 0 var(--ink); }
.heading__ja { display: block; font-weight: 800; font-size: clamp(28px, 3.6vw, 42px); letter-spacing: .06em; line-height: 1.3; margin: 14px 0 0; }

.card { background: #fff; border: var(--bd); border-radius: var(--radius); box-shadow: var(--hard); }
a.card { display: block; transition: transform .15s, box-shadow .15s; }
a.card:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 34px; font-weight: 800; line-height: 1.4; text-align: center; background: var(--pink); color: #fff; border: var(--bd); border-radius: 999px; box-shadow: 4px 4px 0 var(--ink); cursor: pointer; transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--white { background: #fff; color: var(--ink); }
.btn--small { padding: 8px 24px; font-size: 14px; }

.sticker { display: inline-block; padding: 0 10px; font-size: 12px; font-weight: 800; line-height: 1.8; background: var(--pink); color: #fff; border: 2px solid var(--ink); border-radius: 8px; rotate: -4deg; }
.chip { display: inline-block; padding: 1px 14px; font-size: 13px; font-weight: 800; border: 2px solid var(--ink); border-radius: 99px; background: #fff; }

/* site.js が動いたときだけ（読み込めなかったら最初から見えたまま） */
.has-reveal [data-reveal] { opacity: 0; transform: translateY(30px) scale(.96); transition: opacity .5s var(--delay, 0s), transform .6s cubic-bezier(.3,1.5,.5,1) var(--delay, 0s); }
.has-reveal [data-reveal].is-in { opacity: 1; transform: none; }

.page-head { padding: clamp(48px, 7vw, 88px) 0 clamp(28px, 4vw, 44px); text-align: center; }
.page-head .heading { margin: 0; }
.page-head__lead { max-width: 720px; margin: 22px auto 0; }

/* 3. header -------------------------------------------------------------- */
.site-header { position: sticky; top: var(--admin-bar); z-index: 50; display: flex; align-items: center; gap: 20px; min-height: var(--header-h); padding: 8px max(3vw, 16px); background: #fff; border-bottom: var(--bd); }
.site-header__logo img { width: auto; height: 50px; }
.gnav { margin-left: auto; }
.gnav ul { display: flex; gap: 12px; list-style: none; margin: 0; padding: 0; }
.gnav a { position: relative; display: block; padding: 6px 18px; border: var(--bd); border-radius: 999px; background: #fff; font-weight: 800; font-size: 14px; line-height: 1.6; box-shadow: 3px 3px 0 var(--ink); transition: transform .12s, box-shadow .12s, background .2s; }
.gnav a:hover, .gnav a[aria-current] { background: var(--pink-l); }
.gnav a:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.gnav .badge { position: absolute; top: -12px; right: -14px; padding: 0 7px; font-family: var(--font-en); font-weight: 700; font-size: 11px; line-height: 20px; color: #fff; background: var(--pink); border: 2px solid var(--ink); border-radius: 6px; rotate: 12deg; animation: wob 1.6s infinite; }
@keyframes wob { 50% { rotate: -6deg; } }
.menu-btn { display: none; place-items: center; margin-left: auto; width: 46px; height: 46px; padding: 0; border: var(--bd); border-radius: 12px; background: var(--yellow); box-shadow: 3px 3px 0 var(--ink); cursor: pointer; }
.menu-btn .icon { width: 24px; height: 24px; }
.menu-btn__close, .is-menu-open .menu-btn__open { display: none; }
.is-menu-open .menu-btn__close { display: block; }

/* 4. footer -------------------------------------------------------------- */
.rainbow { display: flex; height: 12px; border-top: var(--bd); }
.rainbow span { flex: 1; }
.site-footer { padding: 70px 0 34px; text-align: center; color: #fff; background-color: var(--ink); background-image: radial-gradient(rgb(255 255 255 / .07) 2px, transparent 2.5px); background-size: 18px 18px; }
.site-footer .btn { box-shadow: 4px 4px 0 color-mix(in srgb, var(--ink) 60%, black); }
.site-footer__sns { display: flex; justify-content: center; gap: 16px; list-style: none; margin: 40px 0; padding: 0; }
.site-footer__sns a { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: #fff; color: var(--ink); border: var(--bd); box-shadow: 4px 4px 0 var(--pink); transition: transform .12s, box-shadow .12s; }
.site-footer__sns a:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--pink); }
.site-footer__sns .icon { width: 22px; height: 22px; }
.site-footer__copy { margin: 0; font-family: var(--font-en); font-size: 14px; color: rgb(255 255 255 / .65); }
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: grid; place-items: center; width: 56px; height: 56px; padding: 0; border-radius: 16px; border: var(--bd); background: var(--yellow); box-shadow: 4px 4px 0 var(--ink); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(20px); transition: opacity .2s, visibility .2s, transform .3s cubic-bezier(.3,1.6,.5,1); }
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.to-top .icon { width: 26px; height: 26px; }

/* 5. front page ---------------------------------------------------------- */
/* loading */
.loader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--yellow); clip-path: inset(0 0 0 0); transition: clip-path .7s cubic-bezier(.7,0,.3,1); }
.no-js .loader { display: none; }
/* front.js が読み込めなかったときの保険（10秒で必ず消える） */
.loader { animation: give-up 0s 10s forwards; }
@keyframes give-up { to { visibility: hidden; opacity: 0; } }
.loader.is-done { clip-path: inset(0 0 0 100%); }
.loader__inner { text-align: center; }
.loader__heart { width: 72px; height: 72px; color: var(--pink); margin: 0 auto 10px; animation: hop .6s infinite alternate cubic-bezier(.3,0,.6,1); filter: drop-shadow(4px 4px 0 var(--ink)); }
@keyframes hop { to { transform: translateY(-16px) scale(1.06); } }
.loader__text { font-family: var(--font-en); font-weight: 700; font-size: 26px; letter-spacing: .08em; margin: 0 0 12px; }
.loader__text span { display: inline-block; animation: wave 1s infinite; }
@keyframes wave { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-8px); } }
.loader__gauge { display: flex; gap: 6px; justify-content: center; }
.loader__gauge i { width: 22px; height: 22px; border: var(--bd); border-radius: 6px; background: #fff; animation: seg .15s calc(.2s + var(--i) * .28s) forwards; }
.is-revisit .loader__gauge i { animation-delay: calc(var(--i) * .04s); }
@keyframes seg { to { background: var(--seg); } }
.loader__sub { font-size: 12px; margin: 14px 0 0; font-weight: 700; }

/* hero */
/* 縁取り文字は paint-order で縁を塗りの下に描く（Fredoka は字形のパーツが重なっていて、上に描くと内側にも線が出るため）。見える太さは線幅の半分 */
.hero { position: relative; height: calc(100svh - var(--header-h) - var(--admin-bar)); min-height: 560px; max-height: 1000px; overflow: hidden; background: #fff; border-bottom: var(--bd); }
.hero__media { position: absolute; inset: 0; opacity: .6; } /* 背景は白。ピンクと重ねると動画の色が変わるので重ねない */
.hero__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; scale: 1.3; } /* 動画と同じ切り抜き。YouTube のサムネイルは左右に黒い帯があり、拡大しないと横長の画面で見える */
.hero__video { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity 1.2s; }
.hero.is-playing .hero__video { opacity: 1; }
.hero__video iframe { position: absolute; top: 50%; left: 50%; width: max(100%, 177.78vh); height: max(100%, 56.25vw); translate: -50% -50%; scale: 1.3; border: 0; pointer-events: none; }
.hero__stripes { position: absolute; inset: 0; background: repeating-linear-gradient(-30deg, rgb(255 255 255 / .5) 0 22px, rgb(255 255 255 / .2) 22px 44px); }
.hero__marquee { position: absolute; left: 0; bottom: 12%; width: 100%; overflow: hidden; rotate: -6deg; scale: 1.1; }
.hero__marquee div { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.hero__marquee span { font-family: var(--font-en); font-weight: 700; font-size: clamp(60px, 11vw, 160px); line-height: 1; white-space: nowrap; color: #fff; -webkit-text-stroke: 6px var(--ink); paint-order: stroke fill; padding-right: .4em; }
@keyframes marquee { to { transform: translateX(-50%); } }
.hero__inner { position: relative; height: 100%; width: min(1240px, 100% - 32px); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-rows: 100%; align-items: center; }
.hero__copy { display: grid; gap: 14px; justify-items: start; margin: 0; }
.hero__copy span { display: inline-block; white-space: nowrap; font-weight: 800; font-size: clamp(28px, 4.4vw, 60px); letter-spacing: .04em; line-height: 1.3; padding: 10px 24px; background: #fff; border: var(--bd); border-radius: 14px; box-shadow: var(--hard); rotate: -3deg; transition: transform .5s cubic-bezier(.3,1.6,.5,1); }
.hero__copy span:nth-child(2) { background: var(--yellow); margin-left: 8%; rotate: 2deg; transition-delay: .15s; }
.hero__copy em { font-style: normal; color: var(--pink); }
.hero__punct { font-style: normal; margin-right: -.45em; } /* 、。は文字の左半分にしかないので、右の空きを詰める */
.js .hero__copy span { transform: scale(0); animation: show-late 0s 10s forwards; }
.js.is-loaded .hero__copy span { transform: none; animation: none; }
@keyframes show-late { to { transform: none; } }
.hero__chara { position: relative; height: 100%; display: flex; justify-content: center; align-items: flex-end; }
.hero__chara::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; top: 12%; border-radius: 50%; background: var(--yellow); border: var(--bd); box-shadow: var(--hard); }
.hero__chara img { position: relative; height: 96%; width: auto; max-width: none; transition: transform .8s .25s cubic-bezier(.3,1.3,.5,1); }
.js .hero__chara img { transform: translateY(110%); animation: show-late 0s 10s forwards; }
.js.is-loaded .hero__chara img { transform: none; animation: bob 2.4s 1.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px) rotate(1.5deg); } }

/* ticker */
.ticker { display: flex; align-items: stretch; background: var(--yellow); border-bottom: var(--bd); font-weight: 800; }
.ticker__label { flex: none; display: grid; place-items: center; padding: 10px 20px; background: var(--ink); color: var(--yellow); font-family: var(--font-en); letter-spacing: .1em; }
.ticker__viewport { flex: 1; overflow: hidden; }
.ticker__track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }
.ticker__group { display: flex; gap: 60px; padding: 10px 60px 10px 0; white-space: nowrap; }
.ticker__group a::before { content: "★"; color: var(--pink); margin-right: 10px; }
.ticker__group a:hover { text-decoration: underline; }
.ticker__group time { font-family: var(--font-en); margin-right: 12px; }

/* intro */
.intro { background: var(--sky); border-bottom: var(--bd); }
.bubble { position: relative; max-width: 880px; margin: 0 auto; padding: 48px clamp(22px, 5vw, 64px) 40px; text-align: center; }
/* 吹き出しのしっぽ：縁（::before）と中身（::after）の三角形を重ねる。中身は本体の下の縁線にかぶせて、付け根を開いて見せる。
   影は親の drop-shadow で三角形の形どおりに付ける（clip-path を当てた要素自身には filter の影が残らないため） */
.bubble__tail { position: absolute; top: 100%; left: 18%; width: 52px; height: 40px; filter: drop-shadow(6px 6px 0 var(--ink)); }
.bubble__tail::before, .bubble__tail::after { content: ""; position: absolute; inset: 0; }
.bubble__tail::before { background: var(--ink); clip-path: polygon(0 0, 52px 0, 6.2px 40px); }
.bubble__tail::after { inset: -2px 0 0; background: #fff; clip-path: polygon(2.7px 0, 49.7px 0, 8.4px 36.2px); } /* 本体の内側へ 2px 食い込ませて継ぎ目を消す */
.bubble__logo { width: min(360px, 80%); margin: 0 auto 20px; }
.bubble__text p { margin: 0 0 1.1em; font-size: 15px; }
.bubble__text b, .bubble__text strong { color: var(--pink); }

/* activities */
.activities { border-top: var(--bd); }
.act-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.act { --h: var(--pink); display: flex !important; flex-direction: column; overflow: hidden; }
.act-grid > :nth-child(2) { --h: var(--yellow); }
.act-grid > :nth-child(3) { --h: var(--mint); }
.act__head { display: block; height: 70px; background-color: var(--h); border-bottom: var(--bd); }
.act img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; border: var(--bd); margin: -55px auto 14px; background: #fff; }
.act__body { display: flex; flex-direction: column; align-items: center; flex: 1; padding: 0 24px 26px; text-align: center; }
.act__title { font-weight: 800; font-size: 22px; margin-bottom: 8px; }
.act__text { flex: 1; margin-bottom: 20px; font-size: 13px; }

/* キャラクター選択 */
.chara-sec { background-color: color-mix(in srgb, var(--sel, #fff) 16%, var(--paper)); transition: background-color .5s; }
.select-title { font-family: var(--font-en); font-weight: 700; text-align: center; letter-spacing: .3em; font-size: 13px; margin: -30px 0 34px; }
.select-title span { animation: blink 1s steps(1) infinite; color: var(--pink); }
@keyframes blink { 50% { opacity: 0; } }
.stage { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 540px; overflow: hidden; }
.stage[hidden] { display: none; }
.stage__art { position: relative; overflow: hidden; border-right: var(--bd); background: radial-gradient(rgb(255 255 255 / .45) 2.5px, transparent 3px) 0 0 / 18px 18px, var(--c); }
.stage__art::before { content: ""; position: absolute; left: 50%; bottom: -30%; width: 120%; aspect-ratio: 1; translate: -50% 0; border-radius: 50%; background: rgb(255 255 255 / .35); }
.stage__en { position: absolute; top: 18px; left: 22px; font-family: var(--font-en); font-weight: 700; font-size: clamp(64px, 9vw, 128px); line-height: .9; color: #fff; -webkit-text-stroke: 6px var(--ink); paint-order: stroke fill; opacity: .9;  letter-spacing: .06em; }
.stage__img { position: absolute; left: 50%; top: 5%; height: 125%; width: auto; max-width: none; translate: -50% 0; filter: drop-shadow(8px 8px 0 rgb(55 44 78 / .25)); }
.stage__credit { position: absolute; right: 14px; bottom: 12px; font-family: var(--font-en); font-weight: 600; font-size: 12px; padding: 0 10px; background: #fff; border: 2px solid var(--ink); border-radius: 99px; }
.stage__info { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; padding: 40px 44px; }
.stage__catch { font-size: 13px; font-weight: 800; padding: 1px 14px; border-radius: 99px; background: color-mix(in srgb, var(--c) 30%, white); border: 2px solid var(--ink); }
.stage__name { font-weight: 800; font-size: clamp(34px, 4vw, 52px); letter-spacing: .04em; line-height: 1.25; margin: 4px 0 0; }
.stage__full { margin: 0; font-size: 14px; color: var(--ink-soft); font-weight: 700; }
.stage__meta { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; margin: 8px 0 14px; font-size: 14px; }
.stage__meta dt { font-weight: 800; }
.stage__meta dd { margin: 0; }
.stage.is-switching .stage__img { animation: slide-in .45s cubic-bezier(.3,1.3,.5,1); }
.stage.is-switching .stage__en { animation: pop-in .35s cubic-bezier(.3,1.6,.5,1); }
.stage.is-switching .stage__info > * { animation: rise-in .35s backwards; }
.stage.is-switching .stage__info > :nth-child(2) { animation-delay: .04s; }
.stage.is-switching .stage__info > :nth-child(3) { animation-delay: .08s; }
.stage.is-switching .stage__info > :nth-child(n+4) { animation-delay: .12s; }
@keyframes slide-in { from { opacity: 0; transform: translateX(-50px); } }
@keyframes pop-in { from { transform: scale(.6); opacity: 0; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(10px); } }

/* 顔アイコンの列（6人でも7人でも同じ作り） */
.roster { display: grid; grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); gap: 14px; list-style: none; margin: 64px 0 0; padding: 0; }
.tile { position: relative; display: block; background: #fff; border: var(--bd); border-radius: 16px; box-shadow: 4px 4px 0 var(--ink); transition: transform .18s cubic-bezier(.3,1.6,.5,1), box-shadow .18s; }
.tile__img { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 13px 13px 0 0; border-bottom: var(--bd); background: radial-gradient(rgb(255 255 255 / .45) 2px, transparent 2.5px) 0 0 / 12px 12px, var(--c); }
.tile__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 6%; transition: transform .25s; }
/* 顔アイコンは縁取りなし。ボタンと同じずらした影で背景から浮かせる */
.tile__img img, .hub-chara__img img, .ch-quote__face img { filter: drop-shadow(3px 3px 0 rgb(55 44 78 / .55)); }
.tile__name { display: block; padding: 6px 4px 7px; text-align: center; font-weight: 800; font-size: 14px; line-height: 1.3; }
.tile:hover { transform: translateY(-4px); }
.tile:hover .tile__img img { transform: scale(1.06); }
.tile.is-selected { transform: translateY(-12px); box-shadow: 6px 12px 0 var(--ink); background: var(--c); }
.tile.is-selected::before { content: ""; position: absolute; left: 50%; top: -40px; width: 32px; height: 30px; margin-left: -16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 30'%3E%3Cpath d='M16 27.5S3 19.6 3 10.4A6.9 6.9 0 0 1 16 7a6.9 6.9 0 0 1 13 3.4c0 9.2-13 17.1-13 17.1z' fill='%23ff3d9a' stroke='%23372c4e' stroke-width='2.6' stroke-linejoin='round'/%3E%3Cpath d='M9 10.5a3 3 0 0 1 3-2.6' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; filter: drop-shadow(2px 2px 0 rgb(55 44 78 / .25)); animation: cursor .6s infinite alternate ease-in-out; } /* 選択中のキャラの上にハート */
@keyframes cursor { to { transform: translateY(-5px); } }

/* 6. news / posts -------------------------------------------------------- */
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.news-grid--list { grid-template-columns: repeat(3, 1fr); gap: 32px 28px; }
.news-grid > div { display: flex; }
.news-card { display: flex !important; flex-direction: column; width: 100%; overflow: hidden; }
.news-card__img { position: relative; aspect-ratio: 16/9; border-bottom: var(--bd); background: #fff; }
.news-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--radius) - 3px) calc(var(--radius) - 3px) 0 0; }
.news-card__img img.is-placeholder { object-fit: contain; padding: 12%; }
.news-card__img .sticker { position: absolute; left: 10px; bottom: -14px; }
.news-card__body { padding: 22px 16px 18px; }
.news-card__date { font-family: var(--font-en); font-weight: 600; font-size: 13px; color: var(--ink-soft); }
.news-card__title { font-size: 14px; font-weight: 800; line-height: 1.6; margin: 4px 0 0; }

.pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; margin: 56px 0 0; padding: 0; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 12px; font-family: var(--font-en); font-weight: 700; background: #fff; border: var(--bd); border-radius: 12px; box-shadow: 3px 3px 0 var(--ink); }
.pagination a.page-numbers:hover { background: var(--pink-l); }
.pagination .current { background: var(--pink); color: #fff; }
.pagination .dots { border: 0; box-shadow: none; background: none; }

.search-form { display: flex; gap: 10px; max-width: 520px; margin: 24px auto 0; }
.search-form label { flex: 1; }
.search-field { width: 100%; padding: 12px 18px; font: inherit; border: var(--bd); border-radius: 999px; background: #fff; }
.search-submit { padding: 12px 24px; font-weight: 800; background: var(--yellow); border: var(--bd); border-radius: 999px; box-shadow: 3px 3px 0 var(--ink); cursor: pointer; }

.entry-body { padding: clamp(24px, 5vw, 56px); } /* 固定ページの本文 */

/* お知らせ：公式サイトらしい1段組みの紙面 */
.news-page { padding-top: 40px; }
.news-paper { padding: clamp(28px, 5vw, 56px) clamp(20px, 6vw, 64px); }
.news-head { padding-bottom: 26px; border-bottom: 3px solid var(--ink); }
.news-head__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.news-head__meta time { font-family: var(--font-en); font-weight: 700; font-size: 16px; letter-spacing: .06em; }
.news-head__cat { padding: 1px 14px; font-weight: 800; font-size: 12px; color: var(--ink); background: color-mix(in srgb, var(--pink) 14%, white); border: 2px solid var(--ink); border-radius: 6px; }
.news-head__title { margin: 16px 0 0; font-weight: 800; font-size: clamp(24px, 3.2vw, 34px); line-height: 1.5; }
.news-head__who { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 12px; font-weight: 700; color: var(--ink-soft); }
.news-head__who a { display: inline-flex; align-items: center; gap: 6px; padding: 2px 12px 2px 2px; font-size: 13px; font-weight: 800; color: var(--ink); border: 2px solid var(--ink); border-radius: 99px; }
.news-head__who img { width: 24px; height: 24px; border-radius: 50%; background: var(--c); object-fit: cover; }
.news-thumb { margin: 32px 0 0; }
.news-thumb img { display: block; width: 100%; border: 2px solid var(--ink); border-radius: 12px; }
.news-body { margin-top: 32px; font-size: 15px; line-height: 2; }
.entry-content h3.news-sub { margin: 2.2em 0 .7em; padding: 0 0 6px 14px; font-weight: 800; font-size: 19px; line-height: 1.5; background: none; border: 0; border-left: 5px solid var(--pink); border-bottom: 1px solid color-mix(in srgb, var(--ink) 20%, transparent); border-radius: 0; }
.entry-content .news-link { display: flex; align-items: center; gap: 14px; margin: 10px 0 20px; padding: 12px 16px; color: var(--ink); text-decoration: none; background: var(--paper); border: 2px solid var(--ink); border-radius: 12px; transition: background .15s; }
.entry-content .news-link:hover { background: var(--yellow); }
.news-link__site { flex: none; display: grid; place-items: center; width: 44px; height: 44px; font-family: var(--font-en); font-weight: 700; font-size: 11px; line-height: 1.2; text-align: center; color: #fff; background: var(--ink); border-radius: 10px; }
.news-link__site--dlsite { background: #0a5fb4; }
.news-link__site--fanza { background: #e2215c; }
.news-link__site--nico { background: #252525; }
.news-link__site--x { background: #000; }
.news-link__site--youtube { background: #e00; }
.news-link__site--cien { background: #1d8fd8; }
.news-link__text { min-width: 0; }
.news-link__text b { display: block; font-size: 14px; line-height: 1.4; }
.news-link__text small { display: block; overflow: hidden; font-size: 11px; line-height: 1.5; color: var(--ink-soft); white-space: nowrap; text-overflow: ellipsis; }
.news-link > .icon { flex: none; margin-left: auto; opacity: .5; }
.news-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin: 40px 0 0; padding: 20px 0 0; border-top: 3px solid var(--ink); }
.news-tags { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 0; padding: 0; list-style: none; }
.news-tags a { font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.news-tags a:hover { color: var(--pink); }
.news-share { display: flex; align-items: center; gap: 8px; }
.news-share > span { font-family: var(--font-en); font-weight: 700; font-size: 12px; letter-spacing: .14em; color: var(--ink-soft); }
.news-share a, .news-share button { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; font: inherit; font-weight: 800; font-size: 12px; color: #fff; background: #000; border: 2px solid var(--ink); border-radius: 99px; cursor: pointer; }
.news-share button { color: var(--ink); background: #fff; }
.news-share button.is-done { background: var(--mint); }
.news-share .icon { width: 14px; height: 14px; }
.news-pn { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 14px; margin: 30px 0 0; }
.news-pn a.card { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 14px 18px; color: var(--ink); }
.news-pn .news-pn__next { text-align: right; }
.news-pn small { font-family: var(--font-en); font-weight: 700; font-size: 11px; letter-spacing: .14em; color: var(--pink); }
.news-pn b { display: -webkit-box; overflow: hidden; font-size: 13px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.news-pn .btn { align-self: center; }

/* 7. entry content（ブロックエディターの本文） ---------------------------- */
.entry-content > :first-child { margin-top: 0; }
.entry-content > :last-child { margin-bottom: 0; }
.entry-content p { margin: 0 0 1.4em; }
.entry-content a { color: var(--pink); text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.entry-content h2, .entry-content h3, .entry-content h4 { font-weight: 800; line-height: 1.5; margin: 2em 0 .8em; }
.entry-content h2 { font-size: 1.5em; padding: 6px 16px; border-left: 8px solid var(--pink); background: var(--paper); border-radius: 0 10px 10px 0; }
.entry-content h3 { font-size: 1.25em; padding-bottom: 6px; border-bottom: 3px dotted var(--pink); }
.entry-content h4 { font-size: 1.1em; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; margin: 0 0 1.4em; }
.entry-content li { margin: .3em 0; }
.entry-content figure { margin: 0 0 1.6em; }
.entry-content .wp-block-image img, .entry-content .wp-block-video video { border-radius: 12px; }
.entry-content .wp-block-image.aligncenter, .entry-content .aligncenter { margin-inline: auto; text-align: center; }
.entry-content figcaption { font-size: 13px; color: var(--ink-soft); text-align: center; margin-top: 8px; }
.entry-content blockquote { margin: 0 0 1.6em; padding: 16px 24px; background: var(--paper); border-left: 6px solid var(--mint); border-radius: 0 12px 12px 0; }
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 14px; }
.entry-content th, .entry-content td { padding: 10px 12px; border: 2px solid var(--ink); }
.entry-content th { background: var(--paper); }
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content .wp-block-embed { margin: 0 0 1.6em; }
.entry-content .wp-block-embed iframe { max-width: 100%; }
.entry-content hr { border: 0; border-top: 3px dotted var(--ink-soft); margin: 2em 0; }
.entry-content .wp-block-gallery { margin-bottom: 1.6em; }
.entry-content .has-text-align-center { text-align: center; }

/* 8. characters ---------------------------------------------------------- */
/* キャラクターの個別ページ */
.ch-hero { position: relative; overflow: hidden; border-bottom: var(--bd); background: radial-gradient(rgb(255 255 255 / .4) 2.5px, transparent 3px) 0 0 / 20px 20px, var(--c); }
.ch-hero::before { content: ""; position: absolute; inset: auto -10% -45% 5%; height: 90%; border-radius: 50%; background: rgb(255 255 255 / .35); }
.ch-hero__band { position: absolute; inset: -20% auto -20% 52%; width: 70px; background: rgb(255 255 255 / .3); rotate: 14deg; }
.ch-hero__inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 24px; width: min(1200px, 100% - 32px); min-height: 640px; margin: 0 auto; padding: 32px 0 0; }
.ch-hero__en { position: absolute; top: 10px; left: -8px; font-family: var(--font-en); font-weight: 700; font-size: clamp(90px, 13vw, 190px); line-height: .9; color: #fff; -webkit-text-stroke: 8px var(--ink); paint-order: stroke fill; opacity: .95; }
.ch-hero__art { position: relative; align-self: end; height: 620px; }
.ch-hero__art figure { position: absolute; inset: 0; margin: 0; }
.ch-hero__art figure[hidden] { display: none; }
.ch-hero__art img { position: absolute; left: 50%; bottom: -80px; width: auto; height: 115%; max-width: none; translate: -50% 0; filter: drop-shadow(10px 10px 0 rgb(55 44 78 / .25)); }
.ch-hero__art figure.is-switching img { animation: slide-in .45s cubic-bezier(.3,1.3,.5,1); }
.ch-info { position: relative; z-index: 1; padding: 32px 36px 30px; } /* 背景の英字より前に出す */
.ch-info__name { margin: 8px 0 0; font-weight: 800; font-size: clamp(38px, 4.4vw, 58px); line-height: 1.2; }
.ch-info__full { margin: 4px 0 0; font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.ch-info__meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 20px 0 0; }
.ch-info__meta div { padding: 10px 14px; background: color-mix(in srgb, var(--c) 18%, white); border: 2px solid var(--ink); border-radius: 12px; }
.ch-info__meta dt { font-family: var(--font-en); font-weight: 700; font-size: 11px; letter-spacing: .12em; color: var(--ink-soft); }
.ch-info__meta dd { margin: 2px 0 0; font-weight: 800; font-size: 16px; }
.ch-illust { margin: 22px 0 0; }
.ch-illust p { margin: 0 0 8px; font-family: var(--font-en); font-weight: 700; font-size: 11px; letter-spacing: .14em; color: var(--ink-soft); }
.ch-illust ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ch-illust button { display: inline-flex; align-items: center; gap: 8px; padding: 3px 14px 3px 3px; font: inherit; font-weight: 800; font-size: 13px; color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 999px; cursor: pointer; transition: transform .12s; }
.ch-illust button:hover { transform: translateY(-2px); }
.ch-illust button.is-icon { padding: 3px; } /* イラストレーター名がないときは顔だけ */
.ch-illust button[aria-pressed="true"] { background: var(--c); box-shadow: 3px 3px 0 var(--ink); }
.ch-illust button { position: relative; overflow: hidden; }
.ch-illust .is-rotating button[aria-pressed="true"]::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--ink); transform-origin: 0 50%; animation: rotate-progress var(--rotate, 5s) linear; opacity: .55; } /* 次の立ち絵までの残り時間 */
.ch-illust .is-paused button[aria-pressed="true"]::after { animation-play-state: paused; }
@keyframes rotate-progress { from { transform: scaleX(0); } }
.ch-illust img { width: 30px; height: 30px; border: 2px solid var(--ink); border-radius: 50%; object-fit: cover; background: #fff; }
.ch-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; }
.ch-quote { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 26px; max-width: 900px; margin: 0 auto 48px; }
.ch-quote__face { width: 150px; height: 150px; overflow: hidden; border: var(--bd); border-radius: 50%; background: var(--c); box-shadow: var(--hard); }
.ch-quote__face img { width: 100%; height: 100%; object-fit: cover; }
.ch-quote__bubble { position: relative; margin: 0; padding: 26px 32px; font-weight: 800; font-size: clamp(18px, 2vw, 24px); line-height: 1.6; background: #fff; border: var(--bd); border-radius: 26px; box-shadow: var(--hard); }
/* しっぽ：濃い色の三角（枠線）の上に白い三角を重ね、白い三角で吹き出しの枠線を少し隠す */
.ch-quote__bubble::before, .ch-quote__bubble::after { content: ""; position: absolute; top: 50%; translate: 0 -50%; clip-path: polygon(100% 0, 0 50%, 100% 100%); }
/* 先端は90度。枠線3px分（斜めなので 3×√2）内側に白い三角を置き、白は吹き出しの枠線の内側まで届かせて根元の線を消す */
.ch-quote__bubble::before { left: -19px; width: 19px; height: 38px; background: var(--ink); }
.ch-quote__bubble::after { left: -14.8px; width: 16.8px; height: 33.6px; background: #fff; } /* 吹き出しの中まで 2px はみ出させ、根元に線が残らないように */
.ch-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.ch-profile { padding: clamp(24px, 4vw, 38px); }
.ch-profile .heading { margin-bottom: 20px; }
.ch-side { display: grid; gap: 18px; }
.ch-voice { padding: 20px 22px; }
.ch-voice h2 { margin: 0 0 12px; font-family: var(--font-en); font-weight: 700; font-size: 13px; letter-spacing: .16em; }
.ch-voice a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; font-weight: 800; color: var(--ink); background: var(--paper); border: 2px solid var(--ink); border-radius: 14px; transition: background .15s; }
.ch-voice a + a { margin-top: 10px; }
.ch-voice a:hover { background: var(--yellow); }
.ch-voice img { width: 40px; height: 40px; border: 2px solid var(--ink); border-radius: 50%; }
.ch-voice small { display: block; font-size: 11px; font-weight: 700; color: var(--ink-soft); }
.ch-voice .icon { margin-left: auto; opacity: .5; }
.ch-cien { display: block; overflow: hidden; }
.ch-cien img { display: block; width: 100%; }
.ch-materials { border-top: var(--bd); }
.ch-mat-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; margin: 0 0 26px; }
.ch-mat-head .heading { margin: 0; text-align: left; }
.ch-mat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ch-mat { display: flex; flex-direction: column; overflow: hidden; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.ch-mat:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.ch-mat__img { display: block; aspect-ratio: 1; border-bottom: var(--bd); background: radial-gradient(rgb(255 255 255 / .5) 2px, transparent 2.5px) 0 0 / 12px 12px, color-mix(in srgb, var(--c) 45%, white); }
.ch-mat__img img { width: 100%; height: 100%; object-fit: cover; }
.ch-mat--voice .ch-mat__img { display: grid; place-items: center; background: color-mix(in srgb, var(--c) 25%, white); }
.ch-mat--voice .ch-mat__img img { height: auto; object-fit: contain; }
.ch-mat__body { display: block; padding: 10px 14px 14px; }
.ch-mat__kind { display: block; font-family: var(--font-en); font-weight: 700; font-size: 11px; letter-spacing: .14em; color: var(--ink-soft); }
.ch-mat__title { display: block; font-weight: 800; font-size: 16px; line-height: 1.35; }
.chara-others { border-top: var(--bd); }
.chara-others .roster { margin-top: 30px; }

/* キャラクター一覧ページのカード（6人は3列、7人は4＋3） */
.chara-list { --cols: 3; --gap: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 32px var(--gap); list-style: none; margin: 0; padding: 0; }
.chara-list[data-n="4"], .chara-list[data-n="7"], .chara-list[data-n="8"] { --cols: 4; }
.chara-list > li { display: flex; width: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); }
.chara-card { display: flex !important; flex-direction: column; width: 100%; overflow: hidden; }
.chara-card__visual { position: relative; aspect-ratio: 5/6; overflow: hidden; border-bottom: var(--bd); background: radial-gradient(rgb(255 255 255 / .45) 2px, transparent 2.5px) 0 0 / 14px 14px, var(--c); }
.chara-card__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform .3s; }
a.chara-card:hover .chara-card__visual img { transform: scale(1.05); }
.chara-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; flex: 1; padding: 18px 20px 22px; }
.chara-card__name { font-weight: 800; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.3; }
.chara-card__full { font-size: 12px; font-weight: 700; color: var(--ink-soft); }
.chara-card__cv { font-size: 13px; }
.chara-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 10px; font-size: 14px; font-weight: 800; color: var(--pink); }

/* 9. materials ----------------------------------------------------------- */
/* 素材配布の入口（/materials） */
.materials-hub { padding-top: 8px; }

.types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.type-card { display: flex !important; flex-direction: column; overflow: hidden; }
.type-card__art { position: relative; display: block; height: 230px; overflow: hidden; border-bottom: var(--bd); background: radial-gradient(rgb(255 255 255 / .5) 2px, transparent 2.5px) 0 0 / 14px 14px, var(--h); }
.type-card__count { position: absolute; right: 12px; top: 12px; z-index: 3; padding: 0 12px; font-family: var(--font-en); font-weight: 700; font-size: 15px; line-height: 1.9; background: #fff; border: 2px solid var(--ink); border-radius: 99px; box-shadow: 2px 2px 0 var(--ink); }
.type-card__count small { margin-left: 2px; font-family: var(--font-ja); font-size: 11px; }
.type-card__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 18px 22px 22px; }
.type-card__title { font-weight: 800; font-size: 24px; line-height: 1.3; letter-spacing: .04em; }
.type-card__text { flex: 1; font-size: 13px; }
.type-card__go { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 14px; color: var(--pink); }
.type-art { position: absolute; inset: 0; }
.type-art img { position: absolute; background: #fff; border: 3px solid var(--ink); transition: transform .3s; }
/* 立ち絵：トランプのように扇形に（角度は --r）。絵は縦いっぱいの大きさのまま置いて、枠（__card）で左右を切る
   （img の幅を見えている絵の大きさに合わせる。sizes="auto" は img の幅で画像を選ぶので、枠の幅にすると小さい画像が選ばれて荒くなる） */
.type-art__card { position: absolute; bottom: -40px; left: 50%; width: 140px; height: 232px; overflow: hidden; background: #fff; border: 3px solid var(--ink); border-radius: 12px; transform-origin: 50% 120%; transform: translateX(-50%) rotate(var(--r, 0deg)); transition: transform .3s; }
.type-card:hover .type-art__card { transform: translateX(-50%) rotate(calc(var(--r, 0deg) * 1.25)); }
.type-art--fan img { top: 0; left: 50%; width: auto; min-width: 100%; max-width: none; height: 100%; object-fit: cover; object-position: 50% 0; border: 0; transform: translateX(-50%); }
/* 追加ボイス：バナーを重ねる */
.type-art--stack { display: grid; place-content: center; }
.type-art--stack img { position: static; grid-area: 1 / 1; width: 300px; max-width: 86%; height: auto; justify-self: center; border-radius: 12px; box-shadow: 4px 4px 0 var(--ink); }
.type-art--stack img:nth-child(1) { transform: translate(-14px, -40px) rotate(-6deg); }
.type-art--stack img:nth-child(2) { transform: translate(10px, -6px) rotate(3deg); }
.type-art--stack img:nth-child(3) { transform: translate(-4px, 32px) rotate(-2deg); }
.type-card:hover .type-art--stack img:nth-child(1) { transform: translate(-20px, -52px) rotate(-8deg); }
.type-card:hover .type-art--stack img:nth-child(3) { transform: translate(-4px, 44px) rotate(-1deg); }
/* その他素材：ステッカー風 */
.type-art--stickers img { height: auto; padding: 6px; object-fit: contain; border-radius: 14px; box-shadow: 3px 3px 0 var(--ink); }
.type-art--stickers img:nth-child(1) { width: 62%; left: 6%; top: 12%; rotate: -5deg; }
.type-art--stickers img:nth-child(2) { width: 46%; right: 5%; top: 44%; rotate: 6deg; }
.type-art--stickers img:nth-child(3) { width: 34%; left: 10%; bottom: -10px; rotate: 3deg; }

.hub-sec { margin-top: clamp(64px, 8vw, 96px); }
.hub-charas { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.hub-chara { display: flex !important; flex-direction: column; align-items: center; height: 100%; overflow: hidden; padding-bottom: 12px; text-align: center; }
.hub-chara__img { display: block; width: 100%; aspect-ratio: 1; overflow: hidden; margin-bottom: 10px; border-bottom: var(--bd); background: radial-gradient(rgb(255 255 255 / .45) 2px, transparent 2.5px) 0 0 / 12px 12px, var(--c); }
.hub-chara__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform .3s; }
.hub-chara:hover .hub-chara__img img { transform: scale(1.06); }
.hub-chara__name { padding-inline: 6px; font-weight: 800; font-size: 15px; line-height: 1.4; }

.news-mini { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.news-mini a { display: grid !important; grid-template-columns: 160px 1fr; height: 100%; overflow: hidden; }
.news-mini__img { display: block; min-height: 100px; border-right: var(--bd); background: var(--pink-l); }
.news-mini__img img { width: 100%; height: 100%; object-fit: cover; }
.news-mini__body { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 12px 16px; }
.news-mini b { font-size: 14px; line-height: 1.5; }
.news-mini time { font-family: var(--font-en); font-size: 12px; color: var(--ink-soft); }

/* 立ち絵・その他・追加ボイスの一覧 */

.chara-index { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; margin: 0 0 48px; padding: 0; }
.chara-index a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; font-weight: 800; font-size: 14px; background: #fff; border: var(--bd); border-radius: 999px; box-shadow: 3px 3px 0 var(--ink); transition: transform .12s, background .2s; }
.chara-index a:hover { transform: translate(-2px, -2px); background: color-mix(in srgb, var(--c, var(--pink-l)) 35%, white); }
.chara-index i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink); background: var(--c, #fff); }
.chara-index a[aria-current="page"] { background: color-mix(in srgb, var(--c, var(--pink-l)) 45%, white); transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.material-group + .material-group { margin-top: 64px; }
/* キャラクターごとの素材：種類へのジャンプ */
.type-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -24px 0 48px; padding: 0; list-style: none; }
.type-jump a { display: inline-flex; align-items: center; gap: 6px; padding: 2px 14px; font-weight: 800; font-size: 13px; border-bottom: 3px solid var(--c, var(--pink)); transition: color .15s; }
.type-jump a:hover { color: var(--pink); }
.type-jump small { font-family: var(--font-en); font-size: 12px; color: var(--ink-soft); }
.chara-materials__notice { margin-top: 24px; }
.chara-materials__tos { margin-top: 56px; font-size: 14px; }
.back-link.chara-materials__back { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 24px; }
.material-group__head { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; font-weight: 800; font-size: 24px; }
.material-group__head i { width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--ink); background: var(--c, #fff); }
.material-group__head small { font-family: var(--font-en); font-size: 14px; padding: 0 10px; border: 2px solid var(--ink); border-radius: 99px; background: #fff; }
/* 立ち絵：キャラごとの帯とカード */
.tl-sec + .tl-sec { margin-top: 64px; }
.tl-head { display: flex; align-items: center; gap: 16px; margin: 0 0 22px; padding: 10px 22px 10px 10px; font-size: inherit; background: color-mix(in srgb, var(--c, var(--pink-l)) 30%, white); border: var(--bd); border-radius: 999px; box-shadow: var(--hard); }
.tl-head__face { flex: none; width: 60px; height: 60px; overflow: hidden; border: 3px solid var(--ink); border-radius: 50%; background: var(--c, var(--pink-l)); }
.tl-head__face img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; scale: 1.25; transform-origin: 50% 0; }
.tl-head__name { font-weight: 800; font-size: 26px; }
.tl-head__count { padding: 0 12px; font-family: var(--font-en); font-weight: 700; font-size: 14px; background: #fff; border: 2px solid var(--ink); border-radius: 99px; }
.tl-head__more { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-weight: 800; font-size: 13px; }
.tl-head__more:hover { color: var(--pink); }
.tl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
.tl-card { position: relative; display: flex; flex-direction: column; overflow: hidden; }
.tl-card__img { position: relative; aspect-ratio: 1; overflow: hidden; border-bottom: var(--bd); background: radial-gradient(rgb(255 255 255 / .5) 2px, transparent 2.5px) 0 0 / 12px 12px, color-mix(in srgb, var(--c, var(--pink-l)) 45%, white); }
.tl-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; } /* 立ち絵はバストアップの正方形（頭の位置・大きさを揃えて作ってある） */
.tl-card:hover .tl-card__img img { transform: scale(1.05); }
.tl-card__kind { position: absolute; top: 10px; left: 10px; padding: 0 10px; font-size: 11px; font-weight: 800; background: #fff; border: 2px solid var(--ink); border-radius: 99px; }
.tl-card__r18 { position: absolute; top: 10px; right: 10px; padding: 0 8px; font-family: var(--font-en); font-size: 12px; font-weight: 700; color: #fff; background: var(--ink); border: 2px solid var(--ink); border-radius: 6px; }
.tl-card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 12px 14px 14px; }
.tl-card__illust { display: block; font-family: var(--font-en); font-weight: 700; font-size: 11px; letter-spacing: .14em; color: var(--ink-soft); }
.tl-card__name { margin: 0; font-weight: 800; font-size: 19px; line-height: 1.3; }
.tl-card__note { margin: 2px 0 0; font-size: 12px; color: var(--ink-soft); }
.tl-card__dl { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 9px; font-weight: 800; font-size: 14px; color: #fff; background: var(--pink); border: 2px solid var(--ink); border-radius: 12px; box-shadow: 3px 3px 0 var(--ink); transition: transform .12s, box-shadow .12s; }
.tl-card__dl:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.tl-card__subs { display: flex; flex-wrap: wrap; gap: 6px; }
.tl-card__sub { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; font-size: 12px; font-weight: 700; color: var(--ink); background: var(--paper); border: 2px solid var(--ink); border-radius: 99px; transition: background .15s; }
.tl-card__sub:hover { background: var(--yellow); }
.tl-card__sub--direct { flex: 1 1 100%; justify-content: center; padding: 4px 10px; font-size: 11px; line-height: 1.35; text-align: center; border-radius: 12px; }
.tl-card__sub--r18 { color: #fff; background: var(--ink); }
.tl-card__sub--r18:hover { background: var(--pink); }
/* パスワード：ボタンは上にそろえ、パスワードだけ一番下に控えめに */
.tl-pw { display: flex; align-items: center; gap: 5px; margin-top: auto; padding-top: 8px; font-size: 11px; color: var(--ink-soft); white-space: nowrap; border-top: 1px dashed color-mix(in srgb, var(--ink) 25%, transparent); }
.tl-pw .icon { width: 13px; height: 13px; }
.tl-pw code { font-family: var(--font-en); font-size: 13px; font-weight: 700; color: var(--ink); }
.tl-pw button { margin-left: auto; padding: 0 8px; font: inherit; font-size: 11px; font-weight: 700; color: var(--ink-soft); background: none; border: 1px solid currentColor; border-radius: 6px; cursor: pointer; }
.tl-pw button:hover { color: var(--ink); }
.tl-pw button.is-done { color: var(--ink); background: var(--mint); border-color: var(--ink); }

/* その他素材：種類で絞り込めるカード */
.ot-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 36px; padding: 0; list-style: none; }
.ot-filter button { padding: 6px 18px; font: inherit; font-weight: 800; font-size: 14px; color: var(--ink); background: #fff; border: var(--bd); border-radius: 999px; box-shadow: 3px 3px 0 var(--ink); cursor: pointer; transition: transform .12s; }
.ot-filter button:hover { transform: translate(-2px, -2px); }
.ot-filter button[aria-pressed="true"] { background: var(--yellow); }
.ot-filter small { margin-left: 4px; font-family: var(--font-en); color: var(--ink-soft); }
.ot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.ot-card { display: flex; flex-direction: column; overflow: hidden; }
.ot-card[hidden] { display: none; }
.ot-card__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: var(--bd); background: radial-gradient(rgb(55 44 78 / .07) 2px, transparent 2.5px) 0 0 / 12px 12px, #f7f5fa; }
.ot-card__img img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.ot-card__img.is-photo img { object-fit: cover; padding: 0; }
.ot-card__kind { position: absolute; left: 10px; bottom: 10px; padding: 0 10px; font-size: 11px; font-weight: 800; background: #fff; border: 2px solid var(--ink); border-radius: 99px; }
.ot-card__from { position: absolute; top: 10px; right: 10px; padding: 0 8px; font-size: 11px; font-weight: 800; color: #fff; background: #252525; border: 2px solid var(--ink); border-radius: 6px; }
.ot-card__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 14px 16px 16px; }
.ot-card__title { min-height: 2.9em; margin: 0; font-weight: 800; font-size: 16px; line-height: 1.45; } /* 2行分を確保してボタンの高さをそろえる */
.ot-card__who { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0; font-size: 12px; font-weight: 700; color: var(--ink-soft); }
.ot-card__who span { display: inline-flex; align-items: center; gap: 5px; }
.ot-card__who i { width: 11px; height: 11px; border: 2px solid var(--ink); border-radius: 50%; background: var(--c); }
.ot-card__note { margin: 0; font-size: 12px; color: var(--ink-soft); }
.ot-card__links { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.ot-card__links a.ot-card__direct { flex: 1 1 100%; justify-content: center; padding: 4px 10px; font-size: 11px; font-weight: 700; line-height: 1.35; text-align: center; border-radius: 12px; }
.ot-card__foot { display: grid; gap: 6px; margin-top: auto; padding-top: 8px; border-top: 1px dashed color-mix(in srgb, var(--ink) 25%, transparent); }
.ot-card__links a { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; font-size: 12px; font-weight: 800; color: var(--ink); background: var(--paper); border: 2px solid var(--ink); border-radius: 99px; transition: background .15s; }
.ot-card__links a:first-child { color: #fff; background: var(--pink); }
.ot-card__links a:hover { color: var(--ink); background: var(--yellow); }
/* 追加ボイス：DLsite の作品ジャケットの一覧 */
.xv-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 36px; padding: 0; list-style: none; }
.xv-filter button { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; font: inherit; font-weight: 800; font-size: 14px; color: var(--ink); background: #fff; border: var(--bd); border-radius: 999px; box-shadow: 3px 3px 0 var(--ink); cursor: pointer; transition: transform .12s, background .2s; }
.xv-filter button:hover { transform: translate(-2px, -2px); }
.xv-filter button[aria-pressed="true"] { background: color-mix(in srgb, var(--c, var(--pink)) 45%, white); }
.xv-filter i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink); background: var(--c, conic-gradient(#ff7b84, #ffa04f, #ffd23c, #5ccf6b, #5cb4ff, #5a5fe0, #b26ae6, #ff7b84)); }
.xv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 28px; }
.xv-card { position: relative; display: flex; flex-direction: column; overflow: hidden; color: inherit; transition: transform .15s, box-shadow .15s; }
a.xv-card:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.xv-card[hidden] { display: none; }
.xv-card__img { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; border-bottom: var(--bd); background: color-mix(in srgb, var(--c, var(--pink-l)) 35%, white); }
.xv-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; } /* 画像は dev/tools/render_exvoice_art.py で作る（16:9） */
.xv-card__new { position: absolute; top: 12px; left: -6px; padding: 2px 14px 2px 18px; font-family: var(--font-en); font-weight: 700; font-size: 14px; color: #fff; background: var(--pink); border: 2px solid var(--ink); border-radius: 0 8px 8px 0; rotate: -4deg; }
.xv-card__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 16px 18px 18px; }
.xv-card__who { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 13px; }
.xv-card__who i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink); background: var(--c); }
.xv-card__vol { margin-left: auto; font-family: var(--font-en); font-weight: 700; font-size: 13px; padding: 0 10px; border: 2px solid var(--ink); border-radius: 99px; background: color-mix(in srgb, var(--c, var(--pink-l)) 40%, white); }
.xv-card__title { font-weight: 800; font-size: 17px; line-height: 1.5; }
.xv-card__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--ink-soft); }
.xv-card__go { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: auto; padding: 8px; font-weight: 800; font-size: 14px; color: var(--ink); border: 2px solid var(--ink); border-radius: 12px; background: var(--paper); transition: background .15s; }
a.xv-card:hover .xv-card__go, .xv-card__gos .xv-card__go:hover { background: var(--yellow); }
.xv-card__gos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.xv-card__go--r18 { color: #fff; background: var(--ink); }
.xv-card__gos .xv-card__go--r18:hover { background: var(--pink); }
.xv-about { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px; max-width: 760px; margin: 56px auto 0; padding: 20px 26px; }
.xv-about > .icon { width: 44px; height: 44px; padding: 8px; color: #fff; background: var(--pink); border: var(--bd); border-radius: 50%; }
.xv-about p { margin: 0; font-size: 14px; }
.xv-series { margin-top: 20px; }
.back-link { margin-top: 56px; text-align: center; }

/* 10. products / misc ---------------------------------------------------- */
/* 活動紹介（/products） */
.activities-page { padding-bottom: clamp(64px, 9vw, 120px); }
.purpose { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 980px; margin: 0 auto; padding: 0; list-style: none; }
.purpose a { display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; padding: 22px 12px 18px; text-align: center; }
.purpose__icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 6px; background: var(--h); border: var(--bd); border-radius: 50%; }
.purpose__icon .icon { width: 30px; height: 30px; }
.purpose b { font-weight: 800; font-size: 19px; line-height: 1.4; }
.purpose small { font-size: 12px; font-weight: 700; color: var(--ink-soft); }

.chapter { padding-top: clamp(56px, 7vw, 88px); }
.chapter, .chapter .card[id] { scroll-margin-top: calc(var(--header-h) + var(--admin-bar) + 16px); }
.sec-title { display: flex; align-items: center; gap: 14px; margin: 0 0 24px; }
.sec-title__no { flex: none; display: grid; place-items: center; width: 52px; height: 52px; font-family: var(--font-en); font-weight: 700; font-size: 20px; background: var(--h); border: var(--bd); border-radius: 14px; box-shadow: 3px 3px 0 var(--ink); rotate: -4deg; }
.sec-title h2 { margin: 0; font-weight: 800; font-size: clamp(24px, 3vw, 32px); line-height: 1.3; letter-spacing: .04em; }
.sec-title p { margin: 2px 0 0; font-size: 14px; font-weight: 700; color: var(--ink-soft); }

.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.svc { display: flex; flex-direction: column; overflow: hidden; }
.svc__art { position: relative; aspect-ratio: 16 / 7; overflow: hidden; border-bottom: var(--bd); background: var(--pink-l); }
.svc__art img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 35%; }
/* 文字入りバナーの代わりに、丸いアイコンと音声波形（CSS）で見せる */
.svc__art--wave { display: grid; place-items: center; background: repeating-linear-gradient(90deg, rgb(255 255 255 / .22) 0 5px, transparent 5px 13px) center / 100% 38% no-repeat, radial-gradient(circle at 50% 50%, #b26ae6, #5b22a8); }
.svc__art--wave img { width: auto; height: 80%; aspect-ratio: 1; border-radius: 50%; border: 5px solid #fff; outline: 3px solid var(--ink); }
.svc__body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; flex: 1; padding: 20px 24px 24px; }
.svc__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.svc__name { margin: 0; font-family: var(--font-en); font-weight: 700; font-size: 26px; line-height: 1.2; letter-spacing: .02em; }
.svc__name.svc__name--ja { font-family: var(--font-display); font-weight: 800; letter-spacing: .04em; }
.svc__tags { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.svc__tags li { padding: 0 10px; font-size: 12px; font-weight: 700; background: #fff; border: 2px solid var(--ink); border-radius: 6px; }
.svc__tags li:first-child { background: var(--yellow); }
.svc__text { margin: 0; font-size: 14px; }
.svc__label { margin: 4px 0 -4px; font-size: 12px; font-weight: 700; color: var(--ink-soft); }
.svc .btn { margin-top: auto; }

/* キャラ名のチップ（色の丸 + フルネーム） */
.voice-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.voice-chips a { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 6px; font-size: 13px; font-weight: 700; line-height: 1.4; background: #fff; border: 2px solid var(--ink); border-radius: 99px; transition: background .15s, transform .12s; }
.voice-chips a:hover { background: color-mix(in srgb, var(--c) 30%, white); transform: translateY(-1px); }
.voice-chips i { width: 16px; height: 16px; border-radius: 50%; background: var(--c); border: 2px solid var(--ink); }
.voice-chips .icon { width: .9em; height: .9em; opacity: .5; }

.works { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); overflow: hidden; }
.works--solo { grid-template-columns: 1fr; }
.works__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 28px; background: color-mix(in srgb, var(--pink-l) 35%, white); }
.works:not(.works--solo) .works__intro { border-right: var(--bd); }
.works__intro .notice { margin: 0; }
.works__list { padding: 20px 24px 24px; }
.works__label { margin: 0 0 10px; font-size: 12px; font-weight: 700; color: var(--ink-soft); }
.works__list ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.works__list a { display: block; }
.works__list figure { margin: 0 0 8px; aspect-ratio: 4 / 3; overflow: hidden; border: 2px solid var(--ink); border-radius: 12px; background: var(--pink-l); }
.works__list img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.works__list a:hover img { transform: scale(1.05); }
.works__list b { display: block; font-size: 13px; line-height: 1.5; }
.works__list time { font-family: var(--font-en); font-size: 12px; color: var(--ink-soft); }

.support { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); overflow: hidden; }
.support__art { position: relative; min-height: 260px; border-right: var(--bd); }
.support__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; } /* 顔（左寄り・やや上）を残す */
.support__body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 26px 28px; }
.support__body .notice { margin: 0; }
.cien-link { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 16px; font-size: 15px; font-weight: 800; background: #fff; border: 2px solid var(--ink); border-radius: 12px; transition: background .15s; }
.cien-link:hover { background: var(--paper); }
.cien-link__dots { display: flex; }
.cien-link__dots i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--ink); background: var(--c); }
.cien-link__dots i + i { margin-left: -6px; }
.cien-link .icon { margin-left: auto; opacity: .5; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 800; color: var(--pink); }

.follow { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.follow a { display: grid !important; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 22px 24px; }
.follow__icon { display: grid; place-items: center; width: 64px; height: 64px; color: #fff; background: #000; border: var(--bd); border-radius: 18px; }
.follow__icon .icon { width: 30px; height: 30px; }
.follow--youtube .follow__icon { background: #ff0033; }
.follow b { display: block; font-family: var(--font-en); font-size: 20px; line-height: 1.3; }
.follow span span { font-size: 13px; }
.follow .btn { padding: 8px 18px; font-size: 13px; }

.notice { display: inline-flex; align-items: center; gap: 8px; margin: 16px 0 0; padding: 6px 16px; font-size: 13px; font-weight: 800; background: var(--yellow); border: 2px solid var(--ink); border-radius: 10px; }

.not-found { text-align: center; padding: clamp(60px, 10vw, 140px) 0; }
.not-found__code { font-family: var(--font-en); font-weight: 700; font-size: clamp(100px, 20vw, 220px); line-height: 1; color: #fff; -webkit-text-stroke: 8px var(--ink); paint-order: stroke fill; text-shadow: 8px 8px 0 var(--pink); margin: 0; }
.not-found__text { margin: 18px 0 32px; font-weight: 700; }
/* 「404」の前にちびキャラが並ぶ（足もとに虹の床） */
.not-found__stage { max-width: 900px; margin: 0 auto 40px; }
.chibi-row { list-style: none; margin: clamp(-90px, -9vw, -40px) 0 0; padding: 0 2%; display: flex; justify-content: center; align-items: flex-end; position: relative; z-index: 1; }
.chibi { flex: 0 1 160px; min-width: 0; }
.chibi__link { display: flex; flex-direction: column; align-items: center; position: relative; }
.chibi__img { width: 100%; height: clamp(84px, 17vw, 150px); object-fit: contain; object-position: 50% 100%; transform-origin: 50% 100%; animation: chibi-hop 2.8s ease-in-out infinite; animation-delay: calc(var(--i) * -.45s); filter: drop-shadow(3px 4px 0 color-mix(in srgb, var(--ink) 22%, transparent)); }
.chibi:nth-child(even) .chibi__img { animation-name: chibi-hop-r; }
.chibi__name { position: absolute; bottom: calc(100% + 4px); left: 50%; translate: -50% 6px; white-space: nowrap; padding: 2px 12px; font-size: 13px; font-weight: 700; background: #fff; border: var(--bd); border-color: var(--c); border-radius: 999px; opacity: 0; pointer-events: none; transition: opacity .15s, translate .15s; }
.chibi__link:hover .chibi__name, .chibi__link:focus-visible .chibi__name { opacity: 1; translate: -50% 0; }
.chibi__link:hover .chibi__img { animation: chibi-jump .5s ease-out; }
.not-found__floor { height: 14px; border: var(--bd); border-radius: 999px; overflow: hidden; margin-top: -10px; box-shadow: 4px 4px 0 var(--ink); position: relative; }
@keyframes chibi-hop { 0%, 100% { transform: rotate(-3deg); } 50% { transform: translateY(-6px) rotate(3deg); } }
@keyframes chibi-hop-r { 0%, 100% { transform: rotate(3deg); } 50% { transform: translateY(-6px) rotate(-3deg); } }
@keyframes chibi-jump { 0% { transform: none; } 40% { transform: translateY(-22px) scale(1.04); } 70% { transform: translateY(0) scale(1.06, .94); } 100% { transform: none; } }
.empty { text-align: center; font-weight: 700; padding: 40px 0; }

/* 11. responsive --------------------------------------------------------- */
@media (max-width: 1000px) {
	.news-grid, .news-grid--list { grid-template-columns: repeat(2, 1fr); }
	.types { gap: 18px; }
	.type-art__card { width: 120px; height: 200px; }
	.act-grid { grid-template-columns: repeat(2, 1fr); }
	.stage__info { padding: 30px; }
	.tile__name { font-size: 12px; }
	.ch-hero__inner { grid-template-columns: 1fr; min-height: 0; }
	.ch-hero__art { height: 480px; }
	.ch-info { margin-bottom: 28px; }
	.ch-body { grid-template-columns: 1fr; }
	.ch-mat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
	.site-header { --header-h: 62px; }
	.site-header__logo img { height: 42px; }
	.menu-btn { display: grid; }
	.gnav { display: none; position: fixed; inset: calc(var(--header-h) + var(--admin-bar)) 0 0; z-index: 49; margin: 0; padding: 32px 24px; overflow-y: auto; background-color: var(--paper); background-image: radial-gradient(color-mix(in srgb, var(--ink) 9%, transparent) 2px, transparent 2.5px); background-size: 18px 18px; border-top: var(--bd); }
	.is-menu-open .gnav { display: block; animation: rise-in .25s; }
	.gnav ul { flex-direction: column; gap: 18px; max-width: 420px; margin: 0 auto; }
	.gnav a { padding: 14px 24px; font-size: 18px; text-align: center; box-shadow: 4px 4px 0 var(--ink); }
	.gnav .badge { top: -10px; right: 10px; }
	html.is-menu-open { overflow: hidden; }
}

@media (max-width: 760px) {
	.hero { height: auto; min-height: 0; max-height: none; }
	.hero__inner { grid-template-columns: 1fr; grid-template-rows: auto; padding-top: 40px; }
	.hero__chara { height: 62vh; }
	.news-grid, .news-grid--list, .act-grid { grid-template-columns: 1fr; }
	.ticker__label { padding: 10px 14px; }
	/* スマホでは顔アイコンの列を上に置き、タップした結果がすぐ下に見えるようにする */
	.select { display: flex; flex-direction: column; }
	.roster { order: -1; display: flex; flex-wrap: wrap; justify-content: center; gap: 44px 10px; margin: 44px 0 30px; }
	.roster > li { width: calc((100% - 20px) / 3); }
	.roster[data-n="7"] > li { width: calc((100% - 30px) / 4); }
	.roster[data-n="7"] .tile__name { font-size: 11px; padding-inline: 2px; } /* 4列でも「アンジーさん」が1行に収まるように */
	.stage { grid-template-columns: 1fr; min-height: 0; }
	.stage__art { height: 380px; border-right: 0; border-bottom: var(--bd); }
	.stage__info { padding: 22px 20px 26px; gap: 8px; }
	.stage__meta { margin: 4px 0 10px; }
	.tile__name { font-size: 12px; }
	.ch-hero__art { height: 420px; }
	.ch-info, .ch-profile { padding: 24px 20px; }
	.ch-quote { grid-template-columns: 1fr; justify-items: center; text-align: center; }
	.ch-quote__face { width: 110px; height: 110px; }
	.ch-quote__bubble::before, .ch-quote__bubble::after { left: 50%; translate: -50% 0; clip-path: polygon(0 100%, 50% 0, 100% 100%); }
	.ch-quote__bubble::before { top: -19px; width: 38px; height: 19px; }
	.ch-quote__bubble::after { top: -14.8px; width: 33.6px; height: 16.8px; }
	.chara-list > li { width: 100%; }
	.chara-card { flex-direction: row; }
	.chara-card__visual { flex: none; width: 40%; aspect-ratio: auto; min-height: 190px; border-bottom: 0; border-right: var(--bd); }
	.chara-card__body { gap: 4px; padding: 14px 14px 16px; }
	.chara-card .stage__catch { font-size: 11px; padding: 0 10px; }
	.purpose { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.purpose a { padding: 16px 8px 14px; }
	.purpose__icon { width: 52px; height: 52px; }
	.purpose b { font-size: 16px; }
	.svc-grid, .follow, .types, .news-mini, 	.works, .support { grid-template-columns: 1fr; }
	.works:not(.works--solo) .works__intro { border-right: 0; border-bottom: var(--bd); }
	.works__list { padding: 18px; }
	.works__list ul { gap: 12px; }
	.support__art { min-height: 180px; border-right: 0; border-bottom: var(--bd); }
	.follow a { grid-template-columns: auto 1fr; }
	.follow .btn { display: none; }
		.type-card__art { height: 200px; }
	.type-art__card { width: 128px; height: 212px; }
	.hub-charas { grid-template-columns: repeat(3, 1fr); gap: 10px; }
	.hub-chara__name { font-size: 12px; }
	.news-mini a { grid-template-columns: 120px 1fr; }
	.tl-head { flex-wrap: wrap; gap: 10px 12px; border-radius: 24px; }
	.tl-head__face { width: 48px; height: 48px; }
	.tl-head__name { font-size: 20px; white-space: nowrap; }
	.tl-head__more { flex-basis: 100%; justify-content: flex-end; margin-left: 0; font-size: 12px; }
	.tl-grid, .ot-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.tl-card__body, .ot-card__body { padding: 10px; }
	.tl-card__name { font-size: 15px; }
	.tl-pw span { display: none; } /* 狭いので「パスワード」の文字は鍵アイコンだけに */
	.tl-pw button { padding: 0 6px; }
	.ot-card__title { font-size: 14px; }
	.xv-grid { gap: 20px; }
	.xv-about { grid-template-columns: 1fr; text-align: center; }
	.xv-about > .icon { margin: 0 auto; }
	.news-pn { grid-template-columns: 1fr 1fr; }
	.news-pn .btn { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
}

/* 12. reduced motion ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.ticker__viewport { overflow-x: auto; }
}
