/*
 * No.05 合金戦隊 アマルガム：戦隊番組のタイトル × 夜のスナックのネオン。
 * 看板は5色の放射線と、銀の合金の題字。見出しは斜めの色札（章ごとに5人の色）。
 * 問いかけの帯は、秘密基地「スナック藤乃」のネオン看板。敵の帝国だけ、冷たい白にハンコ。
 */
.theme-amalgam {
	--bg: #140d1d; --bg-2: #1d1428; --card: #1f1629;
	--line: #352a48; --text: #f3eef9; --text-dim: #ab9dbe;
	--accent-1: #c9a8f0; --accent-2: #eb5a2a; --gold: #c9a8f0;
	--font-tv: "RocknRoll One", "Zen Kaku Gothic New", sans-serif;
	--shu: #eb5a2a; --mizu: #5cc6e0; --karashi: #d4a017; --maccha: #7fb046; --fuji: #b294dd;
}
.theme-amalgam .logo__mark { border-color: var(--accent-1); color: var(--accent-1); }

/* ---- 看板：5色の放射線 ---- */
.theme-amalgam .work-hero { min-height: 620px; display: flex; align-items: center; background: radial-gradient(circle at 78% 50%, #3a2752, transparent 60%); }
.theme-amalgam .work-hero::before { content: none; }
.burst {
	position: absolute; right: -10%; top: 50%; width: 1100px; aspect-ratio: 1; translate: 0 -50%; z-index: -1;
	background: repeating-conic-gradient(from 0deg,
		rgb(235 90 42 / 0.22) 0 6deg, transparent 6deg 12deg,
		rgb(92 198 224 / 0.22) 12deg 18deg, transparent 18deg 24deg,
		rgb(212 160 23 / 0.22) 24deg 30deg, transparent 30deg 36deg,
		rgb(127 176 70 / 0.22) 36deg 42deg, transparent 42deg 48deg,
		rgb(178 148 221 / 0.22) 48deg 54deg, transparent 54deg 60deg);
	-webkit-mask: radial-gradient(circle, #000 10%, transparent 62%);
	mask: radial-gradient(circle, #000 10%, transparent 62%);
	animation: burst-spin 60s linear infinite;
}
@keyframes burst-spin { to { rotate: 360deg; } }
.theme-amalgam .work-hero__inner { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.theme-amalgam .work-hero__emblem {
	width: 300px; height: auto; filter: drop-shadow(0 0 40px rgb(178 148 221 / 0.5));
	animation: emblem-pop 0.9s cubic-bezier(.3, 1.6, .5, 1) both 0.2s;
}
@keyframes emblem-pop { from { transform: scale(0.4) rotate(-40deg); opacity: 0; } to { transform: none; opacity: 1; } }
.amalgam-kicker {
	display: inline-block; margin-top: 14px; padding: 4px 18px;
	font-family: var(--font-tv); font-size: clamp(18px, 2.6vw, 26px); letter-spacing: 0.3em; color: #ffffff;
	background: var(--shu); transform: skewX(-12deg); box-shadow: 5px 5px 0 #000;
}
.theme-amalgam .work-hero__title {
	margin-top: 8px; font-family: var(--font-tv); font-weight: 400; font-size: clamp(64px, 11vw, 132px);
	background: linear-gradient(180deg, #ffffff 0%, #d7dbe4 40%, #858d9c 52%, #f2f4f8 70%, #aab1bf 100%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
	-webkit-text-stroke: 2px #2a1d3b;
	filter: drop-shadow(0 6px 0 #000) drop-shadow(0 0 24px rgb(178 148 221 / 0.4));
	transform: skewX(-8deg); transform-origin: left bottom;
}
.theme-amalgam .work-hero__en { font-family: var(--font-tv); color: var(--accent-1); }
.theme-amalgam .work-hero__type { border-radius: 0; transform: skewX(-12deg); }
.theme-amalgam .work-hero__catch { font-family: var(--font-tv); font-weight: 400; font-size: clamp(22px, 3.2vw, 32px); }
.five-stripe { height: 14px; background: linear-gradient(90deg, var(--shu) 0 20%, var(--mizu) 20% 40%, var(--karashi) 40% 60%, var(--maccha) 60% 80%, var(--fuji) 80% 100%); }

/* ---- 問いかけ：スナック藤乃のネオン ---- */
.theme-amalgam .work-question {
	border: 0; padding: 90px 0 110px;
	background-color: #120b19;
	background-image:
		linear-gradient(rgb(255 255 255 / 0.035) 2px, transparent 2px),
		linear-gradient(90deg, rgb(255 255 255 / 0.035) 2px, transparent 2px);
	background-size: 64px 32px, 64px 64px;
}
.neon {
	display: inline-flex; flex-direction: column; align-items: center; margin-bottom: 36px; padding: 14px 34px 10px;
	border: 3px solid #ffb6f0; border-radius: 16px;
	font-family: var(--font-tv); font-size: clamp(40px, 6vw, 64px); line-height: 1.1; color: #fff0fb;
	text-shadow: 0 0 6px #ff7ae0, 0 0 18px #e04bd0, 0 0 40px #b026ff;
	box-shadow: 0 0 10px #ff7ae0, 0 0 30px rgb(176 38 255 / 0.6), inset 0 0 14px rgb(255 122 224 / 0.6);
	animation: neon-flicker 6s infinite;
}
.neon small { font-size: 0.3em; letter-spacing: 0.6em; color: #c9f4ff; text-shadow: 0 0 6px #5cc6e0, 0 0 16px #5cc6e0; }
@keyframes neon-flicker {
	0%, 18%, 22%, 60%, 64%, 100% { opacity: 1; }
	20%, 62% { opacity: 0.35; }
}
.theme-amalgam .work-question p { display: block; font-family: var(--font-tv); font-weight: 400; }
.theme-amalgam .work-question p::before, .theme-amalgam .work-question p::after { content: none; }

/* ---- 章の見出し：斜めの色札。章ごとに5人の色が順番に入る ---- */
.theme-amalgam .work-section__en {
	display: inline-block; padding: 6px 20px 4px;
	font-size: clamp(26px, 3.4vw, 40px); line-height: 1; letter-spacing: 0.08em;
	color: #ffffff; -webkit-text-stroke: 0; background: var(--sec, var(--fuji));
	transform: skewX(-12deg); box-shadow: 6px 6px 0 #000;
}
.theme-amalgam .work-section__title { font-family: var(--font-tv); font-weight: 400; margin-top: 18px; }
.theme-amalgam .work-section__title::before { background: var(--sec, var(--fuji)); height: 4px; }
main > .work-section:nth-of-type(3) { --sec: var(--shu); }
main > .work-section:nth-of-type(4) { --sec: var(--mizu); }
main > .work-section:nth-of-type(5) { --sec: var(--karashi); }
main > .work-section:nth-of-type(6) { --sec: var(--maccha); }
main > .work-section:nth-of-type(7) { --sec: var(--fuji); }
.theme-amalgam .work-section + .work-section { border-top: 0; }

.theme-amalgam .work-term, .theme-amalgam .work-media__item { border-radius: 4px; border-left: 6px solid var(--sec, var(--fuji)); }
.theme-amalgam .work-term__name, .theme-amalgam .work-media__title { font-family: var(--font-tv); font-weight: 400; }

/* 敵：完全無欠帝国だけ、冷たい白い紙にハンコ */
.theme-amalgam .work-cast__item {
	position: relative; padding: 34px 36px; border: 0; border-radius: 0;
	background: #eef0f4; color: #1d2230;
	box-shadow: 10px 10px 0 #000;
	font-family: "Zen Kaku Gothic New", sans-serif;
}
.theme-amalgam .work-cast__name { font-size: 26px; letter-spacing: 0.3em; }
.theme-amalgam .work-cast__role { color: #5a6275; }
.theme-amalgam .work-cast__text { color: #3a4152; font-size: 15px; }
.theme-amalgam .work-cast__item::after {
	content: "完全無欠"; position: absolute; right: 28px; top: 50%; translate: 0 -50%; rotate: -12deg;
	padding: 10px 12px; border: 4px double #d32f2f; border-radius: 8px;
	color: #d32f2f; font-family: var(--font-tv); font-size: 22px; letter-spacing: 0.15em; opacity: 0.8;
}
.theme-amalgam .work-cast__item:hover { transform: none; box-shadow: 10px 10px 0 #000; }
.theme-amalgam .work-cast { grid-template-columns: 1fr; }
.theme-amalgam .work-cast__text { max-width: 70%; }

.theme-amalgam .buy:not(.buy--soon) { color: #140d1d; }
.theme-amalgam .member__name { font-family: var(--font-tv); font-weight: 400; }

@media (max-width: 760px) {
	.theme-amalgam .work-hero__inner { grid-template-columns: 1fr; }
	.theme-amalgam .work-hero__emblem { width: 150px; order: -1; }
	.burst { width: 700px; right: -50%; top: 30%; }
	.theme-amalgam .work-cast__item::after { position: static; display: inline-block; translate: none; margin-top: 16px; font-size: 18px; }
	.theme-amalgam .work-cast__text { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
	.burst, .neon, .theme-amalgam .work-hero__emblem { animation: none; }
}

/* 5人のメンバー */
.members { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.member { position: relative; padding: 22px 20px 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.member::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--c); }
.member__color { margin: 0; color: var(--c); font-size: 13px; font-weight: 700; letter-spacing: 0.15em; }
.member__name { margin: 4px 0 0; font-size: 18px; font-weight: 700; }
.member__age { color: var(--text-dim); font-size: 13px; font-weight: 400; margin-left: 4px; }
.member__text { margin: 10px 0 0; color: var(--text-dim); font-size: 13px; line-height: 1.8; }
.member__lack { margin: 12px 0 0; font-size: 13px; }
.member__lack b { color: var(--c); }
.member__quote { margin: 12px 0 0; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 14px; font-weight: 700; }

@media (max-width: 760px) {
	.theme-amalgam .work-hero__inner { grid-template-columns: 1fr; }
	.theme-amalgam .work-hero__emblem { width: 140px; order: -1; }
}

/* メンバーの挿絵（正方形）。藤乃は挿絵ができるまで仮の枠 */
.member__img {
	display: block; width: calc(100% + 40px); height: auto; aspect-ratio: 1 / 1; object-fit: cover;
	margin: -22px -20px 16px; background: var(--c);
}
.member__img--soon { display: grid; place-items: center; background: linear-gradient(160deg, #3a2c52, #241a33); }
.member__img--soon span { font-size: 64px; font-weight: 700; color: var(--c); opacity: 0.5; }
.member::before { z-index: 1; } /* 上の色の線を挿絵の上に出す */


/* 5人の並び：広い画面は5人を1列、中くらいは3人＋2人、スマホは2人ずつ。端数の段は真ん中に寄せる（2026-10-28） */
.members { display: flex; flex-wrap: wrap; justify-content: center; }
.member { flex: 0 0 calc((100% - 14px * 4) / 5); }
@media (max-width: 960px) { .member { flex-basis: calc((100% - 14px * 2) / 3); } }
@media (max-width: 560px) { .member { flex-basis: calc((100% - 14px) / 2); } }
.member__lack b { white-space: nowrap; }
