@charset "UTF-8";

/* ==========================================================================
   srmvr.com リニューアル版 スタイルシート v2
   - top_new.css の 2026-05-13 時点のスナップショットから派生
   - 今後の改修はこのファイルで行う（top_new.css は凍結）
   ========================================================================== */

/* -------------------------------------------------------------------------
   ページ全体: アンカーリンクのスムーススクロール (旧 smoothScroll.js の代替)
   2026-05-19: jQuery 撤廃に伴い CSS ネイティブに移行
   ------------------------------------------------------------------------- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}

/* -------------------------------------------------------------------------
   Master.css 上書き（必須）
   ------------------------------------------------------------------------- */
main.visible-area { padding: 0 !important; }
main.visible-area .inner {
	width: auto !important;
	padding: 0 20px !important;
}
main.visible-area section .inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 20px !important;
}

/* h2 / h3 ベース（個別のセクションで色を上書き） */
section h2 {
	color: inherit;
	font-family: "Noto Serif JP", serif;
	font-size: 2.2rem;
	text-align: center;
	margin: 0 0 0.3em;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1.3;
	border-bottom: none;
}
section h3 {
	color: inherit;
	font-family: "Noto Serif JP", serif;
	font-size: 1.2rem;
	text-align: center;
	margin: 1.5em 0 0.75em;
	font-weight: 500;
	letter-spacing: 0.05em;
	border-bottom: none;
}
section .sub {
	text-align: center;
	font-size: 0.85rem;
	letter-spacing: 0.1em;
	margin: 0 0 2em 0;
	color: inherit;
	opacity: 1;
}
/* サブ見出しの読みやすさを上げるため、セクション別のグレーを濃めに */
#news .sub,
#about .sub, #system .sub,
#movie .sub,
#videos .sub,
#product .sub { color: #666 !important; opacity: 1 !important; }

/* dl/dt/dd リセット（master.css の黄色背景を打ち消す） */
section dl,
section dt,
section dd {
	background: none;
	border-radius: 0;
	padding: 0;
	margin: 0;
	display: block;
}

/* table リセット */
section table {
	border-collapse: collapse;
	margin: 0;
}
section th, section td {
	border: none;
	background: none;
	padding: 0;
}

/* -------------------------------------------------------------------------
   Base
   ------------------------------------------------------------------------- */
body {
	font-family: "Noto Serif JP", "ヒラギノ明朝 ProN", serif;
	color: #333;
	/* 背景:
	   - bg_02.webp (約17KB, 2000x1395) を fixed attachment でビューポート固定
	   - サンプル準拠: background-size:150% / center / no-repeat / fixed
	   - 4色の水彩ブロブが4キャラのパーソナルカラーと一致 (緑/橙/青/黄)
	   - スクロールに追従しない (パララックス風)
	   - WebP 非対応ブラウザは背景色のみ */
	background-color: #f8fbff;
	background-image: url(../img/bg_02.webp);
	background-position: center;
	background-size: 150%;
	background-repeat: no-repeat;
	background-attachment: fixed;
	margin: 0;
	padding: 0;
	line-height: 1.7;
}

main.visible-area { width: 100%; overflow-x: hidden; }

section {
	padding: 70px 0;
	position: relative;
	margin: 0;
}

/* -------------------------------------------------------------------------
   Header (Global Navigation)
   ------------------------------------------------------------------------- */
#gheader {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.82);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border-bottom: 1px solid rgba(255,255,255,0.6);
	box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

#gheader .inner {
	max-width: 1200px;
	width: auto !important;
	margin: 0 auto;
	padding: 10px 20px !important;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.gheader-logo { margin: 0; width: auto; padding: 0; }

.gheader-logo a { display: inline-block; }

#gheader img,
.gheader-logo img {
	display: inline-block !important;
	height: 40px !important;
	width: auto !important;
	max-width: none !important;
	vertical-align: middle;
}

/* テキストロゴ（旧バージョン、互換スタイル） */
.gheader-logo-text a {
	color: #2a5c6e !important;
	font-family: "Noto Serif JP", serif !important;
	font-size: 1.05rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.08em;
	text-decoration: none !important;
	line-height: 1.4 !important;
	white-space: nowrap;
}
.gheader-logo-text a:hover { color: #46baa1 !important; opacity: 1; }

/* 画像ロゴ (mv-logo.png をコンパクトサイズで表示) */
.gheader-logo-img {
	line-height: 0;
}
.gheader-logo-img a {
	display: inline-block;
	line-height: 0;
	transition: opacity 0.2s;
}
.gheader-logo-img a:hover { opacity: 0.85; }
.gheader-logo-img img {
	display: block !important;
	height: 42px !important;
	width: auto !important;
	max-width: none !important;
}

/* ヘッダーロゴを視覚的に隠す (スクリーンリーダー / SEOには表示) */
.gheader-logo-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* master.css の header nav / li / a を明示的にリセット */
#gheader nav,
#gheader nav ul,
#gheader nav li,
#gheader nav a {
	background: transparent !important;
	background-color: transparent !important;
}

#gheader nav {
	padding: 0 !important;
	position: static !important;
	background: transparent !important;
	flex: 0 1 auto;
}

#gnav ul {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex !important;
	gap: 1.8em !important;
	align-items: center;
	justify-content: flex-end;
	background: transparent !important;
}

#gnav li {
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.5 !important;
	border: none !important;
	flex: 0 0 auto !important;
	background: transparent !important;
}

#gnav a {
	color: #2a5c6e !important;
	text-decoration: none !important;
	font-size: 0.92rem !important;
	letter-spacing: 0.05em;
	transition: color 0.2s;
	font-weight: 600;
	padding: 8px 4px !important;
	display: inline-block !important;
	height: auto !important;
	text-align: left !important;
	line-height: 1.4 !important;
	background: transparent !important;
}

#gnav a:hover { color: #46baa1 !important; opacity: 1; }

#hmb_check, #hmb_btn { display: none; }

/* 言語切替 (ヘッダー右端) - ドロップダウン版 (5言語対応) */
.lang-switch {
	position: relative;
	display: inline-flex;
	align-items: center;
	margin-left: 1.4em;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	flex-shrink: 0;
}
.lang-switch .lang-current {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 12px;
	border: 1px solid rgba(70, 186, 161, 0.35);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.55);
	color: #46baa1;
	font: inherit;
	font-weight: 600;
	letter-spacing: inherit;
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s;
}
.lang-switch .lang-current:hover,
.lang-switch .lang-current[aria-expanded="true"] {
	background: rgba(255, 255, 255, 0.85);
	border-color: rgba(70, 186, 161, 0.7);
}
.lang-switch .lang-caret {
	font-size: 0.7em;
	line-height: 1;
	transition: transform 0.2s;
}
.lang-switch .lang-current[aria-expanded="true"] .lang-caret {
	transform: rotate(180deg);
}
.lang-switch .lang-list {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	min-width: 110px;
	margin: 0;
	padding: 6px 0;
	list-style: none;
	background: #fff;
	border: 1px solid rgba(70, 186, 161, 0.35);
	border-radius: 10px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
	z-index: 1000;
}
.lang-switch.is-open .lang-list {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.lang-switch .lang-item {
	padding: 0;
	margin: 0;
}
.lang-switch .lang-item a,
.lang-switch .lang-item span {
	display: block;
	padding: 7px 14px;
	color: #555;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.15s, color 0.15s;
}
.lang-switch .lang-item a:hover {
	background: rgba(70, 186, 161, 0.1);
	color: #2a5c6e;
}
.lang-switch .lang-item.is-current span {
	color: #46baa1;
	font-weight: 700;
	background: rgba(70, 186, 161, 0.06);
	cursor: default;
}

@media (max-width: 768px) {
	.lang-switch {
		margin-left: auto;
		font-size: 0.75rem;
	}
	.lang-switch .lang-current {
		padding: 3px 10px;
	}
	.lang-switch .lang-list {
		font-size: 0.75rem;
	}
}

/* -------------------------------------------------------------------------
   英語ロケール専用調整
   - 【】ブラケットを em-dash に
   - スペック表のラベル幅を拡張
   - キャラ表示上のラテンを含む文の記号間隔調整
   ------------------------------------------------------------------------- */
body.lang-en .system-subhead::before,
body.lang-en .system-subhead::after {
	content: "—";
	margin: 0 0.5em;
}
body.lang-en .product-spec {
	grid-template-columns: 220px 1fr;
}
body.lang-en .character-spec {
	grid-template-columns: 160px 1fr;
	font-size: 1.05rem;
}
body.lang-en .character-card h3 {
	font-size: 2.6rem;  /* ローマ字名は長いため少し縮める */
}
body.lang-en .character-catch {
	font-size: 1.45rem;
}

@media (max-width: 768px) {
	body.lang-en .product-spec {
		grid-template-columns: 1fr;
	}
}

/* -------------------------------------------------------------------------
   言語誘導バナー (JA ページで非日本語ブラウザに表示)
   ------------------------------------------------------------------------- */
.lang-banner {
	position: sticky;
	top: 0;
	z-index: 200;  /* gheader よりも上 */
	background: linear-gradient(135deg, #2a5c6e, #46baa1);
	color: #fff;
	font-size: 0.88rem;
	letter-spacing: 0.03em;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	transform: translateY(-100%);
	opacity: 0;
	transition: transform 0.3s ease-out, opacity 0.3s;
}
.lang-banner.is-shown {
	transform: translateY(0);
	opacity: 1;
}
.lang-banner.is-closing {
	transform: translateY(-100%);
	opacity: 0;
}
.lang-banner-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 10px 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.5em;
	position: relative;
}
.lang-banner-msg {
	font-weight: 500;
}
.lang-banner-cta {
	color: #fff !important;
	background: rgba(255, 255, 255, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.5);
	padding: 4px 16px;
	border-radius: 16px;
	text-decoration: none !important;
	font-weight: 600;
	transition: background 0.2s;
}
.lang-banner-cta:hover {
	background: rgba(255, 255, 255, 0.32);
	opacity: 1;
}
.lang-banner-close {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	width: 28px;
	height: 28px;
	border: none;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	border-radius: 50%;
	cursor: pointer;
	font-size: 1.2rem;
	line-height: 1;
	padding: 0;
	transition: background 0.2s, transform 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
}
.lang-banner-close:hover {
	background: rgba(255, 255, 255, 0.25);
	transform: translateY(-50%) scale(1.08);
}

@media (max-width: 600px) {
	.lang-banner-inner { gap: 0.8em; padding: 9px 44px 9px 14px; font-size: 0.82rem; }
	.lang-banner-cta { padding: 3px 12px; font-size: 0.82rem; }
	.lang-banner-close { right: 8px; width: 24px; height: 24px; font-size: 1rem; }
}

/* -------------------------------------------------------------------------
   1. MV (Main Visual)
   ------------------------------------------------------------------------- */
#mv {
	padding: 0;
	position: relative;
	width: 100%;
	overflow: hidden;
	min-width: auto !important;
	margin: 0 !important;
}

.mv-bg { width: 100%; line-height: 0; }
.mv-image { width: 100%; height: auto; display: block; }

.mv-overlay {
	position: absolute !important;
	right: 4% !important;
	top: 5% !important;
	bottom: 7% !important;
	left: auto !important;
	width: 31vw !important;          /* 25vw → 31vw (1.25倍) */
	min-width: 175px !important;     /* 140px → 175px (1.25倍) */
	max-width: 525px !important;     /* 420px → 525px (1.25倍) */
	text-align: center;
	display: flex !important;
	flex-direction: column;
	justify-content: space-between;
	align-items: stretch;
}

.mv-logo {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	margin: 0 auto;
	flex: 0 0 auto;
	min-width: 0;   /* flex item が img の本来サイズでオーバーフローしないよう保険 */
}

.mv-overlay .mv-steam-btn {
	min-width: 0;
	margin-top: auto;
	width: 100%;
	box-sizing: border-box;
}

.mv-steam-btn {
	display: block;
	background: rgba(255, 255, 255, 0.95);
	color: #333 !important;
	padding: clamp(10px, 1.5vw, 20px) clamp(12px, 2.5vw, 35px);  /* 1.25倍 */
	border-radius: 10px;
	text-decoration: none;
	text-align: center;
	transition: all 0.2s;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
	max-width: 360px;        /* ボタンだけサイズキャップ (ロゴはもっと広くよい) */
	margin-left: auto !important;
	margin-right: auto !important;
	width: 100%;
	box-sizing: border-box;
}
.mv-steam-btn:hover {
	opacity: 1;
	transform: translateY(-2px);
	box-shadow: 0 10px 28px rgba(0,0,0,0.3);
	background: #fff;
}
.mv-steam-btn h5 {
	color: #333 !important;
	margin: 0 0 clamp(6px, 1vw, 13px) 0;                /* 1.25倍 */
	font-size: clamp(0.8rem, 1.1vw, 1.25rem);            /* 1.25倍 */
	font-weight: 700;
	letter-spacing: 0.03em;
	line-height: 1.25;
	white-space: nowrap;   /* 1行を保証 (テキストは画面幅で切り替え) */
}
/* 画面幅でテキストを切り替え: デフォルトはフル版、狭い画面では短縮版
   768px 以下 (タブレット・スマホサイズ) だけ短縮版に切り替わり、それ以上は常にフル版を表示 */
.mv-steam-btn .steam-btn-short { display: none; }
.mv-steam-btn .steam-btn-full  { display: inline; }
@media (max-width: 768px) {
	.mv-steam-btn .steam-btn-full  { display: none; }
	.mv-steam-btn .steam-btn-short { display: inline; }
}
.mv-steam-btn img {
	width: auto !important;
	max-width: 100%;
	height: clamp(25px, 3vw, 38px);                      /* 1.25倍 */
	vertical-align: middle;
	display: inline-block;
}

/* MV 左下キャッチコピー (ブロックは左側アンカー、テキストは内部で中央揃え) */
.mv-catch {
	position: absolute !important;
	left: 4%;
	bottom: 7%;
	margin: 0;
	color: #fff;
	font-family: "Noto Serif JP", serif;
	font-size: clamp(1rem, 2.2vw, 2.4rem);
	font-weight: 500;
	line-height: 1.9;
	letter-spacing: 0.06em;
	text-align: center;
	text-shadow: 0 2px 10px rgba(0,0,0,0.55), 0 0 24px rgba(0,0,0,0.35);
	z-index: 2;
	pointer-events: none;
}
.mv-catch span {
	display: inline-block;
	border-bottom: 1px solid rgba(255,255,255,0.55);
	padding: 0 0.4em 0.15em 0;
}

/* MV 縦書きキャッチ画像 (JA のみ、左側に縦長に配置) */
.mv-vertical-catch {
	position: absolute !important;
	left: 2%;
	top: 5%;
	bottom: 5%;
	height: 90%;
	width: auto;
	max-width: 18%;
	object-fit: contain;
	object-position: top left;
	z-index: 2;
	pointer-events: none;
	opacity: 0;
	animation: mv-vertical-catch-fade-in 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.55s forwards;
}
@keyframes mv-vertical-catch-fade-in {
	from { opacity: 0; transform: translateX(-30px); }
	to   { opacity: 1; transform: translateX(0); }
}

/* MV 3 要素のスライドインアニメ 読み込み後、順番に登場 */
@keyframes mv-slide-from-top {
	from { opacity: 0; transform: translate3d(0, -48px, 0); }
	to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes mv-slide-from-left {
	from { opacity: 0; transform: translate3d(-60px, 0, 0); }
	to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes mv-slide-from-bottom {
	from { opacity: 0; transform: translate3d(0, 48px, 0); }
	to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

.mv-logo,
.mv-overlay .mv-steam-btn,
.mv-catch {
	opacity: 0;
	will-change: transform, opacity;
}

.mv-logo {
	animation: mv-slide-from-top 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
}
.mv-catch {
	animation: mv-slide-from-left 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.75s forwards;
}
.mv-overlay .mv-steam-btn {
	animation: mv-slide-from-bottom 0.95s cubic-bezier(0.16, 1, 0.3, 1) 1.15s forwards;
}

/* アクセシビリティ 「動きを減らす」設定の端末では即時表示 */
@media (prefers-reduced-motion: reduce) {
	.mv-logo,
	.mv-overlay .mv-steam-btn,
	.mv-vertical-catch {
		animation: none;
		opacity: 1;
		transform: none;
	}
	.mv-catch {
		animation: none;
		opacity: 1;
		transform: none;
	}
}

/* -------------------------------------------------------------------------
   MV セクション モバイル微調整
   - clamp() でサイズは自動スケールされるため、
     モバイルサイズでは余白と行間だけ調整
   ------------------------------------------------------------------------- */
@media (max-width: 768px) {
	.mv-overlay {
		right: 3%;
		top: 4%;
		bottom: 6%;
	}
	.mv-catch {
		line-height: 1.65;
		left: 4%;
		bottom: 6%;
	}
	/* スマホでは縦書きキャッチ画像を少し小さめに */
	.mv-vertical-catch {
		max-width: 22%;
	}
}

/* -------------------------------------------------------------------------
   スマホ/タブレットヘッダー: ハンバーガー + ドロップダウンナビ
   ブレークポイント 980px: 中間幅 (~800-960px) でロゴとナビが重なるのを防ぐ
   ------------------------------------------------------------------------- */
@media (max-width: 980px) {
	.gheader-logo-text a { font-size: 0.92rem !important; }
	.gheader-logo-img img { height: 34px !important; }
	#gheader .inner { padding: 8px 14px !important; flex-wrap: nowrap !important; }

	/* ヘッダー順番: ロゴ / 言語切替 / ハンバーガー */
	.gheader-logo { order: 1 !important; }
	.lang-switch { order: 2 !important; margin-left: auto !important; }
	#hmb_btn { order: 3 !important; }

	/* ハンバーガーボタンを表示 (垂直中央を明示的に) */
	#hmb_check { display: none !important; }
	#gheader #hmb_btn,
	#hmb_btn {
		display: block !important;
		width: 30px !important;
		height: 30px !important;
		min-width: 0 !important;
		cursor: pointer;
		position: relative !important;
		margin: 0 0 0 8px !important;
		padding: 0 !important;
		flex-shrink: 0 !important;
		align-self: center !important;
		z-index: 110;
		background: none !important;
		border: none !important;
		border-radius: 0 !important;
		top: auto !important;
		left: auto !important;
		right: auto !important;
		bottom: auto !important;
	}
	#hmb_btn::before, #hmb_btn::after {
		content: "";
		position: absolute;
		left: 5px;
		width: 20px;
		height: 2px;
		background: #2a5c6e;
		border-radius: 1px;
		transition: transform 0.25s ease, top 0.25s ease;
	}
	#hmb_btn::before { top: 9px; }
	#hmb_btn::after { top: 19px; }

	/* チェック時: X アイコンに */
	#hmb_check:checked + #hmb_btn::before {
		top: 14px;
		transform: rotate(45deg);
	}
	#hmb_check:checked + #hmb_btn::after {
		top: 14px;
		transform: rotate(-45deg);
	}

	/* ナビ: デフォルト非表示、チェック時にハンバーガーの下にコンパクトドロップダウン
	   セレクタを #gheader #gnav として上位の #gheader nav ルールより高い特定性にする */
	#gheader #gnav {
		display: none !important;
		position: fixed !important;
		top: 50px !important;
		right: 8px !important;
		left: auto !important;
		width: 220px !important;
		max-width: calc(100vw - 16px) !important;
		max-height: calc(100vh - 60px) !important;
		overflow-y: auto !important;
		background: rgba(255, 255, 255, 0.92) !important;
		backdrop-filter: blur(10px);
		-webkit-backdrop-filter: blur(10px);
		box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(70,186,161,0.12);
		z-index: 105;
		padding: 6px 0 !important;
		margin: 0 !important;
		border-top: none !important;
		border-radius: 10px !important;
		animation: gnav-fade-in 0.18s ease-out;
	}
	#hmb_check:checked ~ #gnav,
	#hmb_check:checked ~ #gheader #gnav { display: block !important; }
	@keyframes gnav-fade-in {
		from { opacity: 0; transform: translateY(-6px); }
		to   { opacity: 1; transform: translateY(0); }
	}

	/* ドロップダウン内のリスト */
	#gnav ul {
		display: flex !important;
		flex-direction: column !important;
		padding: 0 !important;
		gap: 0 !important;
		margin: 0 !important;
	}
	#gnav li {
		width: 100% !important;
		border-bottom: 1px solid rgba(70, 186, 161, 0.1) !important;
	}
	#gnav li:last-child { border-bottom: none !important; }
	#gnav a {
		display: block !important;
		padding: 0.7em 1.2em !important;
		font-size: 0.92rem !important;
		text-align: left !important;
		width: 100% !important;
		box-sizing: border-box;
	}
	#gnav a:hover {
		background: rgba(70, 186, 161, 0.08) !important;
		color: #46baa1 !important;
	}
}

/* -------------------------------------------------------------------------
   2. News
   ------------------------------------------------------------------------- */
#news {
	background: transparent;
	padding: 70px 0 30px;  /* About との間を詰める */
}
#news h2 { color: #2a5c6e; }
#news .sub { color: #999; }

.news-list {
	list-style: none;
	margin: 0 auto;
	padding: 0;
	max-width: 820px;
}
.news-list li {
	padding: 0;
	margin: 0;
	border-bottom: 1px solid rgba(180, 200, 195, 0.5);
	font-size: 0.95rem;
	line-height: 1.5;
}
.news-list li a {
	display: flex;
	gap: 1.5em;
	padding: 1em 0.5em;
	align-items: center;
	text-decoration: none !important;
	color: inherit !important;
	transition: background 0.2s, color 0.2s;
}
.news-list li a:hover {
	background: rgba(255, 255, 255, 0.5);
	opacity: 1;
}
.news-list li a:hover .title { color: #46baa1; }
.news-list .date {
	flex-shrink: 0;
	color: #888;
	width: 110px;
	font-family: 'Roboto', sans-serif;
	font-size: 0.9rem;
}
.news-list .title {
	color: #333;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	flex: 1;
	transition: color 0.2s;
}
.news-list .news-empty .title { color: #aaa; font-style: italic; }

/* -------------------------------------------------------------------------
   3. Movie
   ------------------------------------------------------------------------- */
#movie { background: rgba(255, 252, 246, 0.78); }
#movie h2 { color: #2a5c6e; }
#movie h3 { color: #888; }
#movie .sub { color: #999; }

#movie .swiper {
	max-width: 1100px;
	margin: 0 auto 3em;
	padding: 0 50px;
}
#movie .swiper-slide img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.12);
	display: block;
}

.youtube_wrap {
	max-width: 900px;
	margin: 1em auto 0;
	position: relative;
	padding-top: 56.25%;
	background: #000;
	border-radius: 8px;
	overflow: hidden;
}
.youtube_wrap iframe {
	position: absolute;
	top: 0; left: 0;
	width: 100%;
	height: 100%;
	border: none;
}

/* -------------------------------------------------------------------------
   4. Character
   - JSから --char-color / --char-color-dark をセットして
     パーソナルカラー連動させる
   - 背景は擬似要素に分け、上下は mask で透明フェードさせる
   ------------------------------------------------------------------------- */
#character {
	--char-color: #50CFAF;
	--char-color-dark: #2a8d76;
	position: relative;
	background: transparent;
	color: #fff;
	min-height: 720px;
	padding: 110px 0 90px;
	isolation: isolate;
	overflow: visible;   /* キャラ画像が下にもみ出し、Movie セクションにかかる */
}

/* 背景レイヤー（上下 130px で透明にフェード） */
#character::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--char-color);
	-webkit-mask-image: linear-gradient(
		to bottom,
		transparent 0,
		#000 130px,
		#000 calc(100% - 130px),
		transparent 100%
	);
	mask-image: linear-gradient(
		to bottom,
		transparent 0,
		#000 130px,
		#000 calc(100% - 130px),
		transparent 100%
	);
	z-index: -2;
	transition: background 0.6s ease;
}

/* 背景パターン: JS で生成される .char-bg-scatter コンテナに
   pattern01-03 をランダムに散らばる。
   ::after は使わない（以前のタイル背景路線は廃止） */

.char-bg-scatter {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	overflow: hidden;
	/* 上下 130px をフェードさせてセクション境界を柔らかく見せる */
	-webkit-mask-image: linear-gradient(
		to bottom,
		transparent 0,
		#000 130px,
		#000 calc(100% - 130px),
		transparent 100%
	);
	mask-image: linear-gradient(
		to bottom,
		transparent 0,
		#000 130px,
		#000 calc(100% - 130px),
		transparent 100%
	);
}
.char-bg-scatter-item {
	position: absolute;
	display: block;
	pointer-events: none;
	user-select: none;
	will-change: transform, opacity;
	opacity: 0;   /* アニメ内でフェードさせるため初期は隠す */
	animation: char-bg-flow var(--dur, 14s) linear infinite;
	animation-delay: var(--delay, 0s);
}
/* 内側の img は独立して回転する　(外側の translate と競合しない) */
.char-bg-scatter-mark {
	display: block;
	width: 100%;
	height: auto;
	will-change: transform;
	animation: char-bg-spin 40s linear infinite;
}
@keyframes char-bg-spin {
	from { transform: rotate(0deg); }
	to   { transform: rotate(360deg); }
}
/* ウマ娘公式サイトと同じ挙動：
   ・左端から出現 (画面外 -100px からスタート)
   ・途中では消えず、不透明度はエッジだけでフェード
   ・右端まで斜め上に転送して画面外へ抜ける
   背景の不透明度は --max-op、継続時間は --dur、開始オフセットは --delay (いずれも JS 側で設定) */
@keyframes char-bg-flow {
	0%   { transform: translate(-100px, 80px);  opacity: 0; }
	6%   { opacity: var(--max-op, 0.4); }
	94%  { opacity: var(--max-op, 0.4); }
	100% { transform: translate(100vw, -850px); opacity: 0; }
}

/* 「動きを減らす」設定の端末ではアニメ停止 */
@media (prefers-reduced-motion: reduce) {
	#character::after { animation: none; }
}
#character h2 { color: #fff; }
#character .sub { color: rgba(255,255,255,0.9); }

.character-display {
	display: flex;
	align-items: stretch;
	justify-content: center;
	gap: 0;
	margin: 30px auto;
	max-width: 1000px;
	position: relative;
}

.character-portrait {
	flex-shrink: 0;
	width: 38%;
	max-width: 380px;
	position: relative;          /* img の absolute の基準 */
	overflow: visible;
	z-index: 5;                  /* カード (z-index: 2) より前面に */
	/* display: flex を削除 — img は absolute で配置するため */
	/* isolation: isolate を削除 — 親コンテクストでカードより前面に表示するため */
}
.character-portrait img {
	/* 画像をレイアウトから切り離し、セクションをいっぱい使う
	   top: 0 で上端をカード上端に揃え、下はセクション下部まで伸ばし、足元を見せる
	   --portrait-shift-left でキャラごとに左シフト量を設定可 (カードと被るキャラ用) */
	position: absolute !important;
	top: 0;
	bottom: auto !important;
	left: 40%;
	transform: translateX(calc(-50% - var(--portrait-shift-left, 0px)));
	width: auto;
	height: 1100px;              /* 足元まで見えるようにさらに高を伸ばす */
	max-height: 1100px;
	max-width: 200%;
	object-fit: contain;
	object-position: top center;
	z-index: 5;
	transition: opacity 0.35s ease;
	pointer-events: none;        /* タブやボタンのクリックをブロックしない */
}

/* カードの高さを portrait から独立させるため、align-items: flex-end で上に伸びないように */
.character-display {
	align-items: stretch;        /* portraitも伸びるが img は absolute で独立 */
}
/* portrait は img が absolute なので、 min-height で床面を保証 */
.character-portrait { min-height: 520px; }

/* キャラ登場演出: パーソナルカラーの光輪が一瞬拡散 */
.character-portrait::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 45%;
	width: 130%;
	height: 130%;
	transform: translate(-50%, -50%) scale(0.4);
	background: radial-gradient(
		circle,
		var(--char-color, #50CFAF) 0%,
		var(--char-color, #50CFAF) 12%,
		rgba(255, 255, 255, 0.45) 32%,
		transparent 62%
	);
	opacity: 0;
	pointer-events: none;
	z-index: 0;
	border-radius: 50%;
	filter: blur(18px);
}
.character-portrait.halo-active::before {
	animation: char-halo 1.2s ease-out;
}

@keyframes char-halo {
	0%   { opacity: 0;    transform: translate(-50%, -50%) scale(0.35); }
	22%  { opacity: 0.9;  transform: translate(-50%, -50%) scale(1.0); }
	100% { opacity: 0;    transform: translate(-50%, -50%) scale(1.55); }
}

.character-card {
	flex: 1;
	max-width: 540px;
	min-height: 520px;
	background: #fff;
	border-radius: 28px;
	box-shadow: 0 12px 36px rgba(60,130,110,0.25);
	padding: 50px 60px;
	color: #333;
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin-left: -50px;   /* キャラとの距離を詰める */
	position: relative;
	z-index: 2;
}

/* カード内テキストのスライドアップフェード（入れ替え中は上る～透明） */
.character-card .character-catch,
.character-card h3,
.character-card .character-cv,
.character-card .character-intro,
.character-card .character-spec {
	transition: opacity 0.32s ease, transform 0.32s ease, color 0.4s ease, background 0.4s ease, border-color 0.4s ease;
}
.character-card.swapping .character-catch,
.character-card.swapping h3,
.character-card.swapping .character-cv,
.character-card.swapping .character-intro,
.character-card.swapping .character-spec {
	opacity: 0;
	transform: translateY(10px);
}

.character-catch {
	font-family: "Noto Serif JP", serif;
	font-size: 1.85rem;
	line-height: 1.4;
	color: var(--char-color-dark, #46baa1);
	letter-spacing: 0.03em;
	font-weight: 500;
	margin: 0 0 1.2em 0;
	text-align: left;
	transition: color 0.4s ease;
}

.character-divider {
	border: none;
	height: 14px;
	margin: 0 0 1.6em 0;
	/* SVG をマスクとして使い、塗り色をキャラのパーソナルカラーに連動させる
	   (2026-05-19: 固定色 #b9e0d3 → var(--char-color) ベースに変更) */
	background-color: var(--char-color, #b9e0d3);
	-webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 14' fill='none' stroke='black' stroke-width='1.4'><path d='M0 4 Q 7.5 -1, 15 4 T 30 4 T 45 4 T 60 4'/><path d='M0 9 Q 7.5 4, 15 9 T 30 9 T 45 9 T 60 9'/></svg>");
	        mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 14' fill='none' stroke='black' stroke-width='1.4'><path d='M0 4 Q 7.5 -1, 15 4 T 30 4 T 45 4 T 60 4'/><path d='M0 9 Q 7.5 4, 15 9 T 30 9 T 45 9 T 60 9'/></svg>");
	-webkit-mask-repeat: repeat-x;
	        mask-repeat: repeat-x;
	-webkit-mask-position: 0 50%;
	        mask-position: 0 50%;
	-webkit-mask-size: 60px 14px;
	        mask-size: 60px 14px;
	opacity: 0.7;
	transition: background-color 0.4s ease;
}

.character-card h3 {
	font-family: "Noto Serif JP", serif;
	font-size: 3.4rem;
	color: var(--char-color-dark, #46baa1) !important;
	margin: 0 0 0.4em 0;
	text-align: left;
	letter-spacing: 0.08em;
	font-weight: 500;
	line-height: 1;
	transition: color 0.4s ease;
}

.character-cv {
	margin: 0 0 1.4em 0;
	text-align: left;
	display: flex;
	align-items: center;
	gap: 10px;
}
.character-cv span {
	display: inline-block;
	background: var(--char-color-dark, #46baa1);
	color: #fff;
	font-size: 0.92rem;
	padding: 4px 16px 5px;
	border-radius: 18px;
	letter-spacing: 0.05em;
	transition: background 0.4s ease;
}

/* メディアタブ: 未実装シーン（脱衣シーン2等）のスタイル
   2026-05-21: グレーアウト + 「準備中」リボンで「押せない」と明示 */
.character-media-tabs li.is-disabled {
	position: relative;
	opacity: 0.45;
	cursor: not-allowed;
	pointer-events: auto;
}
.character-media-tabs li.is-disabled:hover,
.character-media-tabs li.is-disabled:active,
.character-media-tabs li.is-disabled.active {
	background: inherit;
	color: inherit;
	transform: none;
	box-shadow: none;
}
.character-media-tabs .coming-soon-ribbon {
	position: absolute;
	top: -10px;
	right: -10px;
	display: inline-block;
	padding: 2px 8px;
	background: linear-gradient(135deg, #c8c8c8, #888);
	color: #fff;
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.3;
	border-radius: 10px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.18);
	transform: rotate(8deg);
	white-space: nowrap;
	pointer-events: none;
	z-index: 2;
}
@media (max-width: 768px) {
	.character-media-tabs .coming-soon-ribbon {
		top: -8px;
		right: -6px;
		font-size: 0.58rem;
		padding: 1px 5px;
	}
}

/* サンプルボイス再生ボタン (CVピルの隣)
   2026-05-19: 通常時のアイコンを CVピル(高さ約32px) と揃えるため拡大。
   - icon 28→34px、button 32→40px、hover scale を 1.12→1.08 に微調整 */
.char-voice-btn {
	background: none;
	border: none;
	padding: 0;
	margin: 0;
	cursor: pointer;
	line-height: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	transition: transform 0.2s ease, background 0.2s ease;
	flex-shrink: 0;
}
.char-voice-btn:hover {
	transform: scale(1.08);
	background: rgba(0, 0, 0, 0.04);
}
.char-voice-btn:active {
	transform: scale(0.95);
}
.char-voice-btn:focus-visible {
	outline: 2px solid var(--char-color-dark, #46baa1);
	outline-offset: 2px;
}
.char-voice-icon {
	width: 34px;
	height: 34px;
	display: block;
	user-select: none;
	-webkit-user-drag: none;
}
/* 再生中はボタンをそのキャラのパーソナルカラーで薄く丸く浮かべる */
.char-voice-btn.is-playing {
	background: rgba(255, 255, 255, 0.6);
	box-shadow: 0 0 0 2px var(--char-color-dark, #46baa1);
}

/* audio エレメントは非表示 */
#char-voice-audio {
	display: none;
}

/* キャラ紹介文（3～4行のナレーティブ） */
.character-intro {
	font-family: "Noto Serif JP", serif;
	font-size: 0.93rem;
	line-height: 1.85;
	color: #4a4a4a;
	margin: 0 0 1.4em 0;
	text-align: left;
	padding-left: 0.6em;
	border-left: 3px solid var(--char-color-dark, #46baa1);
	transition: border-color 0.4s ease, opacity 0.32s ease, transform 0.32s ease;
}

.character-spec {
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 130px 1fr;
	font-size: 1.1rem;
	line-height: 1.6;
}
.character-spec dt,
.character-spec dd {
	padding: 0.65em 0 !important;
	margin: 0 !important;
	border-bottom: 1px solid #c5e5dd;
	color: #333;
	background: transparent !important;
	border-radius: 0 !important;
	display: block !important;
}
.character-spec dt {
	position: relative;
	padding-left: 1.4em !important;
	font-weight: normal;
}
.character-spec dt::before {
	content: "●";
	position: absolute;
	left: 0;
	top: 0.55em;
	color: var(--char-color-dark, #46baa1);
	font-size: 0.85em;
	transition: color 0.4s ease;
}

/* メディアタイプ切替タブ（紹介PV ↔ 脱衣スペシャル）、カード列に揃える (10px 左へ調整) */
.character-media-tabs {
	list-style: none;
	margin: 1.5em 0 0.8em auto;
	padding: 0 !important;
	display: flex;
	justify-content: center;
	gap: 10px;
	max-width: 540px;
	margin-right: max(60px, calc(50% - 430px));  /* 前よりさらに 30px 左へ (計 40px 左) */
	position: relative;
	z-index: 10;
}
.character-media-tabs li {
	padding: 8px 24px;
	background: rgba(255,255,255,0.55);
	border: 2px solid rgba(255,255,255,0.7);
	border-radius: 22px;
	cursor: pointer;
	font-size: 0.92rem;
	color: #fff;
	font-family: "Noto Serif JP", serif;
	letter-spacing: 0.06em;
	transition: all 0.2s ease;
	margin: 0 !important;
	line-height: 1.4;
	list-style: none;
}
.character-media-tabs li:hover {
	background: rgba(255,255,255,0.85);
	color: var(--char-color-dark, #46baa1);
}
.character-media-tabs li.active {
	background: #fff;
	color: var(--char-color-dark, #46baa1);
	font-weight: 600;
	box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

/* キャラ別紹介PV インライン再生エリア、カード列に揃える (計 40px 左へ調整) */
.character-pv {
	max-width: 540px;
	margin: 1em 0 1em auto;
	margin-right: max(60px, calc(50% - 430px));  /* 前よりさらに 30px 左へ */
	position: relative;
	z-index: 10;
	width: 92%;
	aspect-ratio: 16 / 9;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 14px 32px rgba(0,0,0,0.28), 0 0 0 4px rgba(255,255,255,0.4);
	cursor: pointer;
	background: #000;
}
.character-pv-thumb {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}
.character-pv-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}
.character-pv:hover .character-pv-thumb img {
	transform: scale(1.04);
}
.character-pv-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1em;
	background: linear-gradient(rgba(0,0,0,0.05), rgba(0,0,0,0.15));
	transition: background 0.25s ease;
}
.character-pv:hover .character-pv-overlay {
	background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.35));
}
.character-pv-play {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 92px;
	height: 92px;
	border-radius: 50%;
	background: rgba(255,255,255,0.94);
	color: var(--char-color-dark, #46baa1);
	font-size: 2.4rem;
	padding-left: 8px;  /* 三角アイコンの視覚重心補正 */
	box-shadow: 0 10px 26px rgba(0,0,0,0.4);
	transition: transform 0.25s ease, background 0.2s, color 0.4s ease;
}
.character-pv:hover .character-pv-play {
	transform: scale(1.08);
	background: #fff;
}
.character-pv-label {
	color: #fff;
	font-family: "Noto Serif JP", serif;
	font-size: 0.95rem;
	letter-spacing: 0.15em;
	text-shadow: 0 2px 8px rgba(0,0,0,0.7);
	font-weight: 500;
}
.character-pv iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

/* Character tabs (四角ver) - セクション上部に配置、「選ぶ→見る」のスタート地点 */
.character-tabs {
	list-style: none;
	margin: 0.5em auto 3em;
	padding: 0;
	display: flex;
	justify-content: center;
	gap: 14px;
	max-width: 600px;
	position: relative;
	z-index: 10;  /* キャライメージより上、クリック可能に保つ */
}
.character-tabs li {
	width: 90px;
	height: 90px;
	cursor: pointer;
	border-radius: 12px;
	overflow: hidden;
	border: 3px solid #fff;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
	background: #fff;
	opacity: 0.75;
	transition: all 0.25s ease;
	padding: 0;
	margin: 0;
	line-height: 0;
}
.character-tabs li img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 0;
}
.character-tabs li:hover { opacity: 1; transform: scale(1.05); }
.character-tabs li.active {
	border-color: #fff;
	opacity: 1;
	transform: scale(1.08);
	box-shadow: 0 0 0 3px var(--char-color-dark, #46baa1), 0 6px 14px rgba(0,0,0,0.2);
	transition: box-shadow 0.4s ease, transform 0.2s;
}

/* -------------------------------------------------------------------------
   2. About (旧 System) - 見出しなし、MV の下に説明コンテンツを配置
   ------------------------------------------------------------------------- */
#about, #system {
	background: transparent;
	padding: 30px 0 70px;  /* News との間を詰める */
}
#about .sub, #system .sub { color: #999; }

/* ヒーローの大キャッチ */
.system-hero-catch {
	font-family: "Noto Serif JP", serif;
	font-size: 1.7rem;
	font-weight: 500;
	line-height: 1.7;
	color: #2a5c6e;
	text-align: center;
	margin: 1em auto 1.5em;
	max-width: 880px;
	letter-spacing: 0.06em;
}

/* ヒーロービジュアル枠（ティザーPV クリックで音声あり再生） */
.system-hero-visual {
	max-width: 1100px;
	margin: 2em auto 2.5em;
	padding: 0;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 14px 36px rgba(0, 0, 0, 0.14), 0 2px 6px rgba(0, 0, 0, 0.06);
	aspect-ratio: 16 / 9;
	position: relative;
	background: #000;
	cursor: pointer;
}
.system-hero-visual img,
.system-hero-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
	border: 0;
	object-fit: cover;
}

/* ティザーPV サムネ + 再生ボタンオーバーレイ */
.hero-pv-thumb {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}
.hero-pv-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}
.system-hero-visual:hover .hero-pv-thumb img {
	transform: scale(1.03);
}
.hero-pv-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1em;
	background: linear-gradient(rgba(0,0,0,0.08), rgba(0,0,0,0.25));
	transition: background 0.25s ease;
}
.system-hero-visual:hover .hero-pv-overlay {
	background: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.4));
}
.hero-pv-play {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100px;
	height: 100px;
	border-radius: 50%;
	background: rgba(255,255,255,0.95);
	color: #46baa1;
	font-size: 2.6rem;
	padding-left: 9px;  /* 三角アイコンの視覚重心補正 */
	box-shadow: 0 12px 30px rgba(0,0,0,0.4);
	transition: transform 0.25s ease, background 0.2s;
}
.system-hero-visual:hover .hero-pv-play {
	transform: scale(1.08);
	background: #fff;
}
.hero-pv-label {
	color: #fff;
	font-family: "Noto Serif JP", serif;
	font-size: 1rem;
	letter-spacing: 0.15em;
	text-shadow: 0 2px 8px rgba(0,0,0,0.7);
	font-weight: 500;
}

/* 16:9 ゲームシーン動画タイル 　2×2 グリッド */
.system-tiles {
	list-style: none;
	max-width: 1100px;
	margin: 3em auto;
	padding: 0 !important;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 28px;
}
.system-tile {
	background: rgba(255, 255, 255, 0.92);
	border-radius: 12px;
	box-shadow: 0 8px 20px rgba(60, 130, 110, 0.12);
	border: 1px solid rgba(70, 186, 161, 0.18);
	overflow: hidden;
	position: relative;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	margin: 0 !important;
	padding: 0 !important;
}
.system-tile:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 30px rgba(60, 130, 110, 0.22);
}

/* 動画エリア (16:9) */
.tile-video {
	aspect-ratio: 16 / 9;
	background: #1a2530;
	position: relative;
	overflow: hidden;
}
.tile-video video,
.tile-video img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* 動画未到着時のプレースホルダ */
.tile-placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	background:
		radial-gradient(circle at 30% 30%, rgba(70, 186, 161, 0.18), transparent 50%),
		radial-gradient(circle at 70% 70%, rgba(217, 121, 66, 0.13), transparent 55%),
		linear-gradient(135deg, #2a3540 0%, #3a4550 100%);
	color: #b5d6cd;
	font-family: "Noto Serif JP", serif;
}
.tile-pl-icon { font-size: 2.2rem; color: #46baa1; }
.tile-placeholder p { margin: 0; font-size: 0.82rem; letter-spacing: 0.15em; opacity: 0.85; }

/* タイトル + 説明 */
.tile-title {
	padding: 18px 22px 6px;
	margin: 0 !important;
	font-family: "Noto Serif JP", serif;
	font-size: 1.05rem;
	color: #2a5c6e;
	text-align: center;
	letter-spacing: 0.06em;
	font-weight: 600;
	line-height: 1.4;
}
.tile-desc {
	padding: 0 22px 20px;
	margin: 0 !important;
	font-size: 0.86rem;
	color: #555;
	text-align: center;
	line-height: 1.75;
}

/* ヒーロータイル（ゼロ距離システム等、主要セールスポイントを強調） */
.system-tile-hero {
	border-color: rgba(217, 121, 66, 0.4);
	box-shadow: 0 10px 24px rgba(217, 121, 66, 0.15);
}
.system-tile-hero .tile-title { color: #d97942; }

/* 装飾のダイヤ上の一点 */
.system-ornament {
	text-align: center;
	font-size: 0.95rem;
	color: #46baa1;
	margin: 1.5em auto 1em;
	letter-spacing: 0;
	position: relative;
}
.system-ornament::before,
.system-ornament::after {
	content: "";
	display: inline-block;
	width: 80px;
	height: 1px;
	background: #b5d6cd;
	vertical-align: middle;
	margin: 0 1em;
}

/* サブヘッダ */
.system-subhead {
	font-family: "Noto Serif JP", serif !important;
	text-align: center !important;
	font-size: 1.45rem !important;
	color: #2a5c6e !important;
	letter-spacing: 0.08em;
	margin: 0 0 1.5em !important;
	font-weight: 500 !important;
}
.system-subhead::before,
.system-subhead::after { content: "【"; color: #46baa1; margin: 0 0.3em; }
.system-subhead::after { content: "】"; }

/* 本文 */
.system-body {
	max-width: 760px;
	margin: 0 auto 3em;
	text-align: center;
	font-size: 1.02rem;
	line-height: 2.0;
	color: #444;
}
.system-body p { margin: 0 0 1em 0; }

/* 3特徴カードは動画タイルに統合されたため、スタイル削除済み */

/* 締めキャッチ */
.system-final-catch {
	font-family: "Noto Serif JP", serif;
	font-size: 1.65rem;
	font-weight: 500;
	color: #2a5c6e;
	text-align: center;
	margin: 2.5em 0 1.5em;
	letter-spacing: 0.08em;
}

/* CTA ボタン */
.system-cta { text-align: center; margin: 0; }
.system-cta-btn {
	display: inline-block;
	padding: 16px 44px;
	background: linear-gradient(135deg, #46baa1, #2a8d76);
	color: #fff !important;
	border-radius: 32px;
	text-decoration: none;
	font-size: 1.0rem;
	letter-spacing: 0.1em;
	font-weight: 600;
	box-shadow: 0 8px 22px rgba(70, 186, 161, 0.35);
	transition: all 0.2s ease;
}
.system-cta-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 28px rgba(70, 186, 161, 0.5);
	opacity: 1;
	color: #fff !important;
}
.system-cta-btn span { display: inline-block; }

/* -------------------------------------------------------------------------
   5. Videos - YouTube SRM プレイリスト カルーセル
   ------------------------------------------------------------------------- */
#videos { background: transparent; }
#videos h2 { color: #2a5c6e; }
#videos .sub { color: #999; }

/* カルーセル本体 */
.srm-videos-swiper {
	max-width: 1200px;
	margin: 2em auto 1.5em;
	padding: 20px 50px !important;
	position: relative;
}
.srm-video-slide {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 8px 22px rgba(0,0,0,0.18);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	background: #000;
	cursor: pointer;
}
.srm-video-slide:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 30px rgba(0,0,0,0.28);
}
/* サムネ + 再生ボタン */
.srm-video-slide .video-thumb {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	cursor: pointer;
}
.srm-video-slide .video-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}
.srm-video-slide:hover .video-thumb img {
	transform: scale(1.04);
}
.srm-video-slide .video-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(rgba(0,0,0,0.08), rgba(0,0,0,0.25));
	transition: background 0.2s ease;
}
.srm-video-slide:hover .video-overlay {
	background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.4));
}
.srm-video-slide .play-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: rgba(255,255,255,0.92);
	color: #46baa1;
	font-size: 1.5rem;
	padding-left: 5px;
	box-shadow: 0 6px 18px rgba(0,0,0,0.35);
	transition: transform 0.2s ease, background 0.2s;
}
.srm-video-slide:hover .play-icon {
	transform: scale(1.1);
	background: #fff;
}

/* 再生中の iframe */
.srm-video-iframe {
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 0;
	display: block;
}
.srm-video-slide .video-title {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(transparent, rgba(0,0,0,0.85));
	color: #fff;
	padding: 36px 16px 14px;
	font-size: 0.92rem;
	line-height: 1.4;
	font-family: "Noto Serif JP", serif;
	letter-spacing: 0.02em;
	pointer-events: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ナビゲーションボタン */
.srm-videos-swiper .swiper-button-next,
.srm-videos-swiper .swiper-button-prev {
	color: #fff;
	background: rgba(70, 186, 161, 0.92);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	box-shadow: 0 4px 12px rgba(0,0,0,0.18);
	transition: background 0.2s, transform 0.2s;
}
.srm-videos-swiper .swiper-button-next:hover,
.srm-videos-swiper .swiper-button-prev:hover {
	background: #46baa1;
	transform: scale(1.06);
}
.srm-videos-swiper .swiper-button-next::after,
.srm-videos-swiper .swiper-button-prev::after {
	font-size: 1.1rem;
	font-weight: 700;
}

/* ページネーション */
.srm-videos-swiper .swiper-pagination {
	position: static !important;
	margin-top: 14px;
	text-align: center;
}
.srm-videos-swiper .swiper-pagination-bullet {
	background: #b5d6cd;
	opacity: 0.6;
	width: 8px;
	height: 8px;
	transition: opacity 0.2s, background 0.2s;
}
.srm-videos-swiper .swiper-pagination-bullet-active {
	background: #46baa1;
	opacity: 1;
}

/* -------------------------------------------------------------------------
   動画再生モーダル（Videos カルーセルをクリックした時に表示）
   ------------------------------------------------------------------------- */
.video-modal {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.video-modal.is-open {
	display: flex;
	animation: video-modal-fade 0.25s ease-out;
}
@keyframes video-modal-fade {
	from { opacity: 0; }
	to   { opacity: 1; }
}
.video-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.88);
	cursor: pointer;
}
.video-modal-content {
	position: relative;
	width: 100%;
	max-width: 1100px;
	max-height: 95vh;
	z-index: 1;
}
.video-modal-player {
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #000;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.video-modal-player iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}
.video-modal-title {
	color: #fff;
	text-align: center;
	margin: 16px 0 0;
	font-size: 0.95rem;
	font-family: "Noto Serif JP", serif;
	letter-spacing: 0.05em;
	text-shadow: 0 2px 6px rgba(0,0,0,0.7);
}
.video-modal-close {
	position: absolute;
	top: -52px;
	right: 0;
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.15);
	border: 2px solid rgba(255, 255, 255, 0.5);
	border-radius: 50%;
	color: #fff;
	font-size: 1.4rem;
	cursor: pointer;
	transition: background 0.2s, transform 0.2s, border-color 0.2s;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	font-weight: 300;
}
.video-modal-close:hover {
	background: rgba(255, 255, 255, 0.3);
	border-color: rgba(255, 255, 255, 0.8);
	transform: scale(1.1);
}

/* モーダル開いてる間の body スクロールロック */
body.video-modal-open {
	overflow: hidden;
}

@media (max-width: 768px) {
	.video-modal-close { top: -44px; width: 36px; height: 36px; font-size: 1.2rem; }
	.video-modal { padding: 12px; }
}

/* RSS取得失敗時のフォールバック iframe 枠 */
.videos-wrap {
	max-width: 960px;
	margin: 2em auto 1.5em;
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 12px 32px rgba(0,0,0,0.18);
	background: #000;
}
.videos-wrap iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.videos-cta {
	text-align: center;
	margin: 1.5em 0 0;
}
.videos-cta a {
	display: inline-block;
	padding: 10px 28px;
	color: #2a5c6e !important;
	text-decoration: none;
	font-size: 0.95rem;
	letter-spacing: 0.06em;
	border: 1px solid rgba(70, 186, 161, 0.4);
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.7);
	transition: all 0.2s ease;
}
.videos-cta a:hover {
	background: #46baa1;
	color: #fff !important;
	border-color: #46baa1;
	opacity: 1;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(70, 186, 161, 0.3);
}

/* -------------------------------------------------------------------------
   6. Product Information
   ------------------------------------------------------------------------- */
#product { background: transparent; }
#product h2 { color: #2a5c6e; }
#product .sub { color: #999; }

/* Steam 公式ウィジェット iframe のラッパー */
.product-steam-widget {
	max-width: 646px;
	margin: 0 auto 2.5em;
	display: flex;
	justify-content: center;
	align-items: center;
}
.product-steam-widget iframe {
	width: 100% !important;
	max-width: 646px;
	height: 190px;
	border: 0;
	display: block;
	border-radius: 6px;
	box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.product-spec {
	max-width: 760px;
	margin: 0 auto !important;
	padding: 0 !important;
	display: grid !important;
	grid-template-columns: 240px 1fr;
	gap: 0;
	font-size: 0.95rem;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.05);
	overflow: hidden;
}
.product-spec dt,
.product-spec dd {
	padding: 1em 1.5em !important;
	margin: 0 !important;
	background: transparent !important;
	border-radius: 0 !important;
	display: block !important;
	border-bottom: 1px solid #f0e6db;
}
.product-spec dt {
	font-weight: 600;
	color: #46baa1;
	background: #faf6f0 !important;
	text-align: right;
	border-right: 1px solid #f0e6db;
	letter-spacing: 0.03em;
	white-space: nowrap;
	word-break: keep-all;
}
.product-spec dd { color: #333; }
.product-spec dt:last-of-type,
.product-spec dd:last-of-type { border-bottom: none; }

.product-attention {
	text-align: center;
	color: #888;
	font-size: 0.85rem;
	margin: 2em 0 0 0;
}

/* 「スーパーリアル麻雀」商標権利表記 (Mighty Craft Co.) */
.trademark-credit {
	max-width: 760px;
	margin: 2.5em auto 0;
	padding: 1.5em 1.8em;
	display: flex;
	align-items: center;
	gap: 1.6em;
	background: rgba(255, 255, 255, 0.55);
	border: 1px solid rgba(70, 186, 161, 0.18);
	border-radius: 8px;
}
.trademark-logo {
	flex-shrink: 0;
	width: auto;
	height: 56px;
	max-width: 140px;
	display: block;
}
.trademark-text {
	flex: 1;
	min-width: 0;
}
.trademark-text p {
	margin: 0;
	font-size: 0.85rem;
	line-height: 1.6;
	color: #555;
	letter-spacing: 0.02em;
}
.trademark-text .trademark-copy {
	margin-top: 0.2em;
	font-size: 0.82rem;
	color: #888;
	font-family: 'Roboto', 'Noto Serif JP', serif;
	letter-spacing: 0.04em;
}

@media (max-width: 600px) {
	.trademark-credit {
		flex-direction: column;
		text-align: center;
		gap: 1em;
		padding: 1.4em 1.2em;
	}
	.trademark-logo { height: 48px; }
	.trademark-text p { font-size: 0.8rem; }
}

/* -------------------------------------------------------------------------
   Footer 上書き（明るいトーン、サイト全体と統一）
   ------------------------------------------------------------------------- */
footer.last {
	background: rgba(247, 245, 238, 0.96) !important;
	color: #333 !important;
	padding: 50px 0 30px !important;
	text-align: center;
	border-top: 1px solid rgba(70, 186, 161, 0.2);
}
footer.last .inner {
	max-width: 1000px !important;
	width: auto !important;
	margin: 0 auto !important;
	padding: 0 20px !important;
	display: block !important;
}
footer .attention { color: #555 !important; margin: 0 0 1.5em 0 !important; font-size: 0.85rem !important; }

/* master.css の footer img { width:100% } を打ち消す（重要） */
footer img {
	width: auto !important;
	max-width: 100% !important;
}

/* master.css の "Share Buttons" 文字を完全に消す */
footer .steam-link::before {
	content: none !important;
	display: none !important;
}

footer .steam-link {
	margin: 0.5em 0 1.5em !important;
	width: 100% !important;
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
}
footer .steam-link a {
	display: inline-block !important;
	line-height: 0 !important;
}
footer .steam-link img {
	width: auto !important;
	max-width: 200px !important;
	height: 44px !important;
	margin: 0 !important;
	opacity: 0.95;
	filter: none;
	transition: opacity 0.2s, transform 0.2s;
}
footer .steam-link a:hover img { opacity: 1; transform: translateY(-1px); }

footer .sns {
	display: flex !important;
	justify-content: center !important;
	gap: 22px !important;
	margin: 1.5em 0 !important;
	padding: 0 0 1.5em !important;
	flex-wrap: wrap !important;
	border-bottom: 1px solid rgba(70, 186, 161, 0.2) !important;
}
footer .sns li {
	position: relative;
	width: auto !important;
	padding: 0 !important;
	border: none !important;
}
footer .sns img {
	width: auto !important;
	height: 30px !important;
	margin: 0 !important;
	transition: opacity 0.2s, transform 0.2s;
	filter: none;
	opacity: 0.85;
}
footer .sns a:hover img { opacity: 1; transform: translateY(-2px); }

/* 公式 / 別館 バッジ */
.sns-official, .sns-bekkan { position: relative; display: inline-block; }
.official-label, .bekkan-label {
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	color: #fff;
	font-size: 0.6rem;
	padding: 2px 6px;
	border-radius: 3px;
	white-space: nowrap;
	line-height: 1;
	font-weight: 600;
	letter-spacing: 0.05em;
}
.official-label { background: #46baa1; }   /* ティール（公式） */
.bekkan-label   { background: #e08850; }   /* オレンジ（別館） */

footer address {
	font-style: normal;
	margin: 2em 0 1.5em;
	width: 100% !important;
	display: flex !important;
	justify-content: center !important;
}
footer address h2 {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 1.8em !important;
	flex-wrap: wrap !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	color: inherit;
	line-height: 1 !important;
}
footer address img {
	height: 36px !important;
	width: auto !important;
	max-width: none !important;
	filter: none;
	vertical-align: middle;
}
footer address h2 span {
	display: inline-flex !important;
	align-items: center !important;
	gap: 0.6em;
	font-size: 0.85rem !important;
	color: #333 !important;
	font-weight: 500 !important;
	font-family: "Noto Serif JP", serif !important;
	line-height: 1 !important;
	margin: 0 !important;
	padding: 0 !important;
}
footer address h2 span a { line-height: 0; display: inline-block; }

/* 協力: UNIMARKET (P’s CLUB 名称使用許諾) */
.footer-cooperation {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin: 1.2em 0 0.6em !important;
	flex-wrap: wrap;
}
.footer-cooperation-label {
	font-size: 0.85rem !important;
	color: #333 !important;
	font-weight: 500 !important;
	font-family: "Noto Serif JP", serif !important;
	line-height: 1 !important;
	letter-spacing: 0 !important;
}
.footer-cooperation a {
	display: inline-block;
	line-height: 0;
	transition: opacity 0.2s, transform 0.2s;
}
.footer-cooperation a:hover { opacity: 0.8; transform: translateY(-1px); }
.footer-cooperation-logo {
	height: 32px !important;
	width: auto !important;
	max-width: 160px !important;
	display: inline-block !important;
	vertical-align: middle;
}

footer nav { width: 100%; margin: 1.5em 0 0; }
footer nav ul {
	list-style: none;
	display: flex;
	justify-content: center;
	gap: 1.2em;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
}
footer nav li {
	width: auto !important;
	padding: 0 1em !important;
	border-right: 1px solid #c5c5b8 !important;
	display: inline-flex !important;
	align-items: center !important;
}
footer nav li:last-child { border-right: none !important; }
footer nav a {
	color: #555 !important;
	text-decoration: none;
	font-size: 0.85rem;
	display: inline-flex !important;
	align-items: center !important;
	gap: 0.5em;
	transition: color 0.2s;
}
footer nav a:hover { color: #46baa1 !important; opacity: 1; }
footer nav img {
	height: 16px !important;
	width: auto !important;
	max-width: none !important;
	filter: none;
	opacity: 0.7;
	vertical-align: middle;
	transition: opacity 0.2s;
}
footer nav a:hover img { opacity: 1; }

footer .copy {
	margin: 1em 0 0 0 !important;
	color: #888 !important;
	font-size: 0.8rem !important;
	width: 100%;
}

/* -------------------------------------------------------------------------
   Responsive (Mobile)
   ------------------------------------------------------------------------- */
@media (max-width: 768px) {
	section { padding: 50px 0; }
	section h2 { font-size: 1.5rem; }

	/* Header: ハンバーガー関連は上の ドロワーナビ セクションに統合済み */

	/* MV: ここのスタイルは上部の .mv-overlay ルールに統合済みのため削除 */

	/* News */
	.news-list li { flex-direction: column; gap: 0.25em; align-items: flex-start; }
	.news-list .date { width: auto; }
	.news-list .title { white-space: normal; }

	/* Movie */
	#movie .swiper { padding: 0 30px; }

	/* Character */
	.character-display {
		flex-direction: column;
		gap: 0;
		align-items: center;
	}
	.character-portrait {
		width: 70%;
		max-width: 280px;
		height: auto;
	}
	.character-portrait img {
		height: auto;
		width: 100%;
		max-height: 480px;
		/* スマホ縦並び時はキャラ別の左シフト (--portrait-shift-left) を無効化し、
		   全キャラ共通で中央寄せ (translateX(-50%) のみ) にする */
		transform: translateX(-50%) !important;
	}
	.character-card {
		margin-left: 0;
		margin-top: -30px;
		width: 92%;
		max-width: none;
		min-height: auto;
		padding: 36px 28px;
		border-radius: 20px;
	}
	.character-catch { font-size: 1.35rem; text-align: center; }
	.character-card h3 { font-size: 2.4rem; text-align: center; }
	.character-cv { text-align: center; }
	.character-spec { grid-template-columns: 110px 1fr; font-size: 1rem; }
	.character-tabs li { width: 64px; height: 64px; border-width: 2px; }
	.character-tabs { gap: 10px; }
	.character-pv { margin: 1.5em auto 1em; width: 100%; border-radius: 10px; }
	.character-pv-play { width: 64px; height: 64px; font-size: 1.6rem; padding-left: 5px; }
	.character-pv-label { font-size: 0.85rem; }
	.character-media-tabs { margin: 2em auto 0.5em; gap: 6px; }
	.character-media-tabs li { padding: 6px 16px; font-size: 0.85rem; }

	/* System */
	.system-hero-catch { font-size: 1.2rem; line-height: 1.6; }
	.system-hero-visual { margin: 1.5em auto 2em; border-radius: 10px; }
	.system-subhead { font-size: 1.15rem !important; }
	.system-body { font-size: 0.95rem; line-height: 1.85; }
	.system-tiles {
		grid-template-columns: 1fr;
		gap: 18px;
		margin: 2em auto;
	}
	.tile-caption { font-size: 0.92rem; padding: 12px 16px 14px; }
	.tile-title { font-size: 0.98rem; padding: 14px 18px 4px; }
	.tile-desc { font-size: 0.82rem; padding: 0 18px 16px; }
	.system-final-catch { font-size: 1.25rem; }
	.system-cta-btn { padding: 14px 32px; font-size: 0.95rem; }
	.system-ornament::before,
	.system-ornament::after { width: 40px; margin: 0 0.5em; }

	/* Product */
	.product-spec { grid-template-columns: 1fr; }
	.product-spec dt {
		border-right: none !important;
		text-align: left;
		background: #faf6f0 !important;
	}

	/* Footer */
	footer.last .inner { padding: 0 1em !important; }
}

/* -------------------------------------------------------------------------
   #videos と #product 間の間延びを詰める
   ------------------------------------------------------------------------- */
#videos { padding-bottom: 30px; }
#product { padding-top: 30px; }

/* -------------------------------------------------------------------------
   Movie カードタイトル: 2行で「...」省略
   ------------------------------------------------------------------------- */
.srm-video-slide .video-title {
	display: -webkit-box !important;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: normal;
	word-break: break-word;
}
