/* ==========================================================================
   style.css ── 青藍 透 Voice Actor サイト 共通スタイル
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS カスタムプロパティ（変数）
   -------------------------------------------------------------------------- */
:root {
	/* ===== カラー ===== */
	/* キーカラー定義 */
	--ink:  #1a1a2e;   /* 深いネイビー（背景・ベース） */
	--mist: #e8e4dc;   /* オフホワイト（メインテキスト） */
	--gold: #c9a96e;   /* ゴールド（アクセント） */

	/* 背景：ここを変更するだけでサイト全体の背景が変わります */
	--color-bg-left:  #1b2535;   /* 左側背景色：深めネイビー（全年齢） */
	--color-bg-right: #0f0f1e;   /* 右側背景色：深夜色（R18） */

	/* ブランドカラー */
	--color-primary:      var(--gold);       /* ゴールドをメインに */
	--color-primary-dark: #a8883a;           /* ゴールド濃い */
	--color-accent:       #d4b97e;           /* ゴールド明るめ */

	/* テキスト */
	--color-text:            var(--mist);    /* オフホワイト */
	--color-text-light:      rgba(232, 228, 220, 0.6);  /* 薄めオフホワイト */
	--color-text-on-primary: var(--ink);    /* ゴールドボタン上のテキスト */

	/* UI パネル・カード共通（ここを変えれば全パネルに反映） */
	--color-panel-bg:     rgba(26, 26, 42, 0.92);       /* ダーク半透明パネル ← MVと同系統 */
	--color-panel-border: rgba(201, 169, 110, 0.28);    /* ゴールドボーダー */
	--color-card-bg:      rgba(26, 26, 42, 0.80);       /* カード背景 ← パネルと同系統に統一 */
	--color-card-border:  rgba(201, 169, 110, 0.22);    /* カードボーダー */

	--color-header-bg: linear-gradient(to right, rgba(13,26,38,0.97), rgba(42,64,96,0.97) 50%, rgba(30,30,58,0.97) 50%, rgba(20,20,40,0.97));
	--color-footer-bg:   #111122;
	--color-footer-text: rgba(232, 228, 220, 0.7);
	--color-overlay:     rgba(10, 10, 20, 0.65);

	/* 後方互換（既存の var(--color-border) 参照箇所用） */
	--color-border: var(--color-card-border);

	/* ===== タイポグラフィ ===== */
	--font-main:    'Zen Kaku Gothic New', 'Noto Sans JP', 'Hiragino Sans', sans-serif;   /* 本文・ナビ */
	--font-serif:   'Shippori Mincho', 'Noto Serif JP', 'Hiragino Mincho ProN', serif;   /* 見出し・名前 */
	--font-display: 'Cormorant Garamond', 'Times New Roman', serif;                       /* 英語サブテキスト */

	/* ===== レイアウト ===== */
	--container-max: 1100px;
	--container-pad: clamp(1.25rem, 5vw, 3rem);
	--header-h:      80px;
	--section-gap:   clamp(3rem, 6vw, 5rem);

	/* ===== トランジション ===== */
	--ease:       cubic-bezier(0.25, 0.46, 0.45, 0.94);
	--transition: 0.3s var(--ease);

	/* ===== 影 ===== */
	--shadow-sm: 0 2px 8px  rgba(0, 0, 0, 0.35);
	--shadow-md: 0 6px 24px rgba(0, 0, 0, 0.45);
	--shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.55);
	--shadow-panel: 0 4px 32px rgba(0, 0, 0, 0.5); /* パネル共通影 */

	/* ===== 角丸 ===== */
	--radius-sm: 6px;
	--radius-md: 12px;
	--radius-lg: 20px;
}

/* --------------------------------------------------------------------------
   2. ベースリセット
   -------------------------------------------------------------------------- */
*, ::before, ::after {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
	font-family: var(--font-main);
	color: var(--color-text);
	line-height: 1.8;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img {
	vertical-align: bottom;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
	transition: opacity var(--transition);
}
a:hover {
	opacity: 0.75;
}

ul, ol {
	list-style: none;
}

/* --------------------------------------------------------------------------
   3. 左右2色背景の指定
   -------------------------------------------------------------------------- */

/*  ヘッダーを除いたメインコンテンツ全体に影響。*/
.split-bg-wrapper {
	position: relative;
}

/* 背景専用レイヤー：2色グリッド */
.split-bg {
	position: fixed;
	inset: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	z-index: -1;
	pointer-events: none;
	background: linear-gradient(to right, #0d1a26, #2a4060 50%, #1e1e3a 50%, #141428);
}

.split-bg__left  { 
  position: relative; overflow: hidden; 
}
.split-bg__right { 
  position: relative; overflow: hidden; 
}

/*  背景キャライラスト	*/
.split-bg__chara {
	position: absolute;
	bottom: 0;
	width: auto;
	height: clamp(300px, 75vh, 900px);
	display: flex;
	align-items: flex-end;
	pointer-events: none;
}
.split-bg__chara img {
	height: 100%;
	width: auto;
	max-width: none;
	object-fit: contain;
	object-position: bottom;
	opacity: 0.9;
	-webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 95%);
	mask-image: linear-gradient(to bottom, black 40%, transparent 95%);
}

/* 左キャラ：右端（中央寄り）に配置 */
.split-bg__chara--left {
	right: 0;
	transform: translateX(0%); 
}

/* 右キャラ：左端（中央寄り）に配置 */
.split-bg__chara--right {
	left: 0;
	transform: translateX(0%); 
}

/* --------------------------------------------------------------------------
   4. ヘッダー
   -------------------------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	height: var(--header-h);
	background: var(--color-header-bg);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--color-border);
	transition: box-shadow var(--transition);
}
.site-header.is-scrolled {
	box-shadow: var(--shadow-md);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
	max-width: var(--container-max);
	margin-inline: auto;
	padding-inline: var(--container-pad);
	gap: 1.5rem;
}

/* ロゴ */
.site-logo {
	flex-shrink: 0;
	line-height: 1;
}
.site-logo a {
	font-family: 'Shippori Mincho', serif;
	font-size: 1.2rem;
	font-weight: 400;
	letter-spacing: 0.3em;
	color: var(--gold) !important;
	text-decoration: none;
	white-space: nowrap;
	opacity: 1;
}
.site-logo a:hover {
	opacity: 0.8;
}
.site-logo img {
	width: clamp(90px, 12vw, 125px);
}

/* グローバルナビ */
.global-nav {
	margin-inline-start: auto;
}

.nav-list {
	display: flex;
	align-items: center;
	gap: 2.5rem;
	font-size: 0.8rem;
	font-weight: 400;
	letter-spacing: 0.2em;
	font-family: var(--font-main);
}

.nav-list a {
	position: relative;
	padding-block: 0.25rem;
	color: #e8e4dc;
	opacity: 0.9;
	transition: opacity 0.3s, color 0.3s;
}
.nav-list a::after {
	content: '';
	position: absolute;
	bottom: 0; left: 0;
	width: 0;
	height: 1px;
	background: var(--gold);
	transition: width var(--transition);
}
.nav-list a:hover {
	opacity: 1;
	color: var(--gold);
}
.nav-list a:hover::after { width: 100%; }

/* お問い合わせリンクボタン */
.nav-contact a {
	background: var(--color-primary);
	color: var(--color-text-on-primary) !important;
	padding: 0.45rem 1.1rem;
	border-radius: 2em;
	transition: var(--transition), transform var(--transition);
}
.nav-contact a::after { display: none; }
.nav-contact a:hover {
	background: var(--color-primary-dark);
	opacity: 1;
	transform: translateY(-1px);
}

/* ハンバーガーボタン */
.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	padding: 8px;
	background: none;
	border: none;
	cursor: pointer;
	flex-shrink: 0;
	position: relative;
	z-index: 100; /* ドロワー(z-index:95)・オーバーレイ(z-index:90)より前面に */
}
.nav-toggle span {
	display: block;
	width: 100%;
	height: 2px;
	background: var(--color-primary);
	border-radius: 2px;
	transition: transform var(--transition), opacity var(--transition);
	transform-origin: center;
}
/* 開いた状態のアニメーション */
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* オーバーレイ */
.nav-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: var(--color-overlay);
	z-index: 90;
	opacity: 0;
	transition: opacity var(--transition);
}
.nav-overlay.is-visible {
	opacity: 1;
}

/* --------------------------------------------------------------------------
   5. コンテナ / セクション共通
   -------------------------------------------------------------------------- */
.container {
	max-width: var(--container-max);
	margin-inline: auto;
	padding-inline: var(--container-pad);
}

.section {
	padding-block: var(--section-gap);
}

/* セクションタイトル */
.section-title {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
	margin: 0 calc(var(--container-pad) * -1) clamp(2rem, 4vw, 3.5rem);
	text-align: left;
	padding: 1.5rem var(--container-pad) 1rem;
	line-height: 1.2;
	position: relative;
	z-index: 0;
}
.section-title::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, transparent 0%, transparent 40%, rgba(10, 10, 20, 0.65) 100%);
	mask-image: linear-gradient(to right, transparent, black 12%, black 55%, transparent 70%);
	-webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 55%, transparent 70%);
	z-index: -1;
}
.section-title::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
	mask-image: linear-gradient(to right, transparent, black 12%, black 55%, transparent 70%);
	-webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 55%, transparent 70%);
	z-index: -1;
}
.section-title__border {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(to right, transparent, rgba(201, 169, 110, 0.25) 12%, rgba(201, 169, 110, 0.25) 55%, transparent 70%);
}
.section-title__en {
	display: block;
	font-family: var(--font-display);
	font-size: 0.75rem;
	font-weight: 300;
	font-style: italic;
	letter-spacing: 0.5em;
	color: var(--color-primary);
	opacity: 1.0;
	margin-bottom: 0.5rem;
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8), 0 0 16px rgba(0, 0, 0, 0.5);
}
.section-title__ja {
	font-family: var(--font-serif);
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: 500;
	letter-spacing: 0.1em;
	color: var(--mist);
	text-shadow:
		0 2px 12px rgba(0, 0, 0, 0.95),
		0 0 40px rgba(0, 0, 0, 0.85);
}


.section-more {
	display: flex;
	justify-content: center;
	margin-top: 2.5rem;
}
/* 「もっと見る」ボタン */
.section-more .btn--outline {
	padding: 0.85rem 2.5rem;
	font-size: 0.95rem;
	border-width: 2px;
	letter-spacing: 0.12em;
}

/* --------------------------------------------------------------------------
   5b. 英語サブテキスト共通（Cormorant Garamond Italic）
   -------------------------------------------------------------------------- */
/* section-title__en, .page-hero__title .section-title__en はfont-serifで管理 */
/* 英語インラインテキスト用ユーティリティ */
.text-en {
	font-family: var(--font-display);
	font-style: italic;
	letter-spacing: 0.08em;
}

/* --------------------------------------------------------------------------
   6. ボタン
   -------------------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	padding: 0.7rem 1.8rem;
	border-radius: 2em;
	font-size: 0.9rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	cursor: pointer;
	transition: var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
	border: 2px solid transparent;
	text-decoration: none;
	white-space: nowrap;
}
.btn:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
	opacity: 1;
}

.btn--primary {
	background: var(--color-primary);
	color: var(--ink);
	border-color: var(--color-primary);
	font-weight: 700;
	text-shadow: 0 1px 2px rgba(0,0,0,0.25);
	box-shadow: 0 2px 12px rgba(201, 169, 110, 0.35);
}
.btn--primary:hover {
	background: var(--color-primary-dark);
	border-color: var(--color-primary-dark);
	box-shadow: 0 4px 20px rgba(201, 169, 110, 0.5);
}

.btn--outline {
	background: rgba(10, 10, 20, 0.7);
	color: var(--color-primary);
	border-color: var(--color-primary);
	text-shadow: 0 1px 6px rgba(0,0,0,0.8);
}
.btn--outline:hover {
	background: var(--color-primary);
	color: var(--ink);
	font-weight: 700;
	text-shadow: none;
	box-shadow: 0 4px 20px rgba(201, 169, 110, 0.45);
}

.btn--lg {
	padding: 0.9rem 2.4rem;
	font-size: 1rem;
}

/* --------------------------------------------------------------------------
   7. MV（メインビジュアル）
   -------------------------------------------------------------------------- */
.mv {
	min-height: calc(100svh - var(--header-h));
	display: flex;
	align-items: center;
	justify-content: center;
	padding-block: clamp(3rem, 6vw, 5rem);
}

.mv-inner {
	max-width: var(--container-max);
	margin-inline: auto;
	padding-inline: var(--container-pad);
	width: 100%;
	display: flex;
	justify-content: center;
}

/* 半透明フレーム：キャラ＋テキストをまとめて囲む */
.mv-panel {
	display: flex;
	align-items: stretch;
	gap: clamp(1rem, 3vw, 2.5rem);
	width: 100%; /* コンテナ幅いっぱいに広げて他セクションと揃える */
	background: var(--color-panel-bg);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid var(--color-panel-border);
	border-radius: var(--radius-lg);
	padding: clamp(1.5rem, 3vw, 2.5rem);
	box-shadow: var(--shadow-panel);
}

/* キャラ画像 */
.mv-chara {
	flex-shrink: 0;
	width: clamp(160px, 28vw, 380px);
	align-self: flex-end;
	margin-bottom: -2.5rem;
}
.mv-chara img {
	display: block;
	width: 100%;
	height: auto;
}

/* テキストブロック */
.mv-text {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	max-width: 380px;
	justify-content: space-between;
	align-self: stretch;
}

.mv-logo img {
	width: clamp(180px, 28vw, 320px);
	height: auto;
}

.mv-catch {
	font-family: var(--font-serif);
	font-size: clamp(0.9rem, 1.8vw, 1.15rem);
	font-weight: 400;
	line-height: 2;
	letter-spacing: 0.12em;
	color: var(--color-text);
}

.mv-btns {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	gap: 1.5rem;
	justify-content: center;
}
.mv-btns .btn {
	display: flex;
	justify-content: center;
	text-align: center;
	flex-basis: 240px;
	flex-shrink: 0;
	box-sizing: border-box;
	padding: 0.7rem 0;
}

/* --------------------------------------------------------------------------
   8. Link セクション（共通）― style.css で一元管理
   -------------------------------------------------------------------------- */
.links-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1rem;
}

.link-card {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	background: var(--color-card-bg);
	backdrop-filter: blur(6px);
	border: 1px solid var(--color-card-border);
	border-radius: var(--radius-md);
	padding: 1.1rem 1.25rem;
	transition: transform var(--transition), box-shadow var(--transition);
	opacity: 1;
}
.link-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-md), 0 0 16px rgba(201, 169, 110, 0.15);
	border-color: rgba(201, 169, 110, 0.4);
	opacity: 1;
}

/* ロゴ領域：56×56px で読みやすく */
.link-card__logo {
	width: 56px;
	height: 56px;
	object-fit: contain;
	flex-shrink: 0;
}

/* ロゴ画像なし：テキストバッジで代替 */
.link-card__logo--text {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--mist);
	flex-shrink: 0;
}

.link-card__info { flex: 1; min-width: 0; }
.link-card__name   { font-size: 0.88rem; font-weight: 700; color: var(--color-text); }
.link-card__handle { font-size: 0.78rem; color: var(--color-text-light); margin-top: 0.2rem; line-height: 1.6; }
.link-card__arrow  { font-size: 1rem; color: var(--color-primary); flex-shrink: 0; transition: transform var(--transition); }
.link-card:hover .link-card__arrow { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   9. Works セクション
   -------------------------------------------------------------------------- */
.works-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.5rem;
}

/* ==========================================================================
   Work Card（共通）― style.css で一元管理
   ========================================================================== */
.work-card {
	border-radius: var(--radius-md);
	overflow: hidden;
	background: var(--color-card-bg);
	backdrop-filter: blur(6px);
	border: 1px solid var(--color-card-border);
	transition: transform var(--transition), box-shadow var(--transition);
	display: flex;
	flex-direction: column;
}
.work-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
}
.work-card__link { flex: 1; display: flex; flex-direction: column; opacity: 1; }
.work-card__link:hover { opacity: 1; }
.work-card a { display: block; opacity: 1; }
.work-card a:hover { opacity: 1; }

/* サムネイル */
.work-card__thumb {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--color-bg-left);
}
.work-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s var(--ease);
}
.work-card:hover .work-card__thumb img {
	transform: scale(1.05);
}
/* 画像全体表示（個別指定） */
.work-card__thumb--contain img {
	object-fit: contain;
	object-position: center;
}

/* カテゴリバッジ（body内・画像に重ならない） */
.work-card__cat {
	display: inline-block;
	font-size: 0.7rem;
	color: var(--color-primary);
	border: 1px solid var(--color-primary);
	border-radius: 2em;
	padding: 0.15em 0.75em;
	letter-spacing: 0.08em;
	margin-bottom: 0.5rem;
	align-self: flex-start;
}

/* カード本文 */
.work-card__body {
	padding: 0.875rem 1rem 0.75rem;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
}
.work-card__title {
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.5;
	color: var(--color-text);
}
.work-card__role {
	font-size: 0.78rem;
	color: var(--gold);
}
.work-card__year {
	font-size: 0.72rem;
	color: var(--color-text-light);
	font-family: var(--font-display);
	letter-spacing: 0.06em;
}

/* フッター（外部リンク） */
.work-card__footer {
	padding: 0.6rem 1rem;
	border-top: 1px solid var(--color-card-border);
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
}
.work-card__ext-link {
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--color-primary);
	letter-spacing: 0.06em;
	transition: opacity var(--transition);
}
.work-card__ext-link:hover { opacity: 0.7; }

/* 動画カード：カテゴリをbody内に表示（worksページ用） */
.work-card--video .work-card__cat {
	position: static;
	background: rgba(64,69,153,0.1);
	color: var(--color-primary);
	margin-bottom: 0.2rem;
}

/* --------------------------------------------------------------------------
   10. Pickup Stream セクション
   -------------------------------------------------------------------------- */
.pickup-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

/* 1件表示：中央寄せで大きく */
.pickup-grid--single {
	grid-template-columns: 1fr;
	max-width: 860px;
	width: 100%;
	margin-inline: auto;
}

/* メイン/サブ区別なし：全アイテム均等 */
.pickup-item--main { grid-column: auto; }
.pickup-sub-list {
	display: contents; /* サブリストを解体してgrid直下に並べる */
}

/* YouTube埋め込み比率を保つ */
.youtube-wrap {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #000;
	border-radius: var(--radius-md);
	overflow: hidden;
}
.youtube-wrap iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: none;
}

.pickup-item__label {
	margin-top: 0.6rem;
	font-size: 0.85rem;
	color: var(--color-text-light);
	font-family: var(--font-main);
	text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

/* --------------------------------------------------------------------------
   11. Request セクション
   -------------------------------------------------------------------------- */
.request-inner {
	display: flex;
	align-items: flex-start;
	gap: clamp(2rem, 5vw, 4rem);
	background: var(--color-panel-bg);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid var(--color-panel-border);
	border-radius: var(--radius-lg);
	padding: clamp(1.5rem, 4vw, 3rem);
	box-shadow: var(--shadow-panel);
}

.request-image {
	flex-shrink: 0;
	text-align: center;
	width: clamp(140px, 22vw, 220px);
}
.request-image img {
	border-radius: 50%;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	box-shadow: var(--shadow-md);
}
.request-name {
	margin-top: 0.75rem;
	font-size: 0.85rem;
	letter-spacing: 0.1em;
	line-height: 1.6;
}
.request-name span {
	font-family: var(--font-serif);
	font-size: 1.1rem;
}

.request-text {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.request-text .btn {
	align-self: center;
}

.request-status {
	font-size: 0.9rem;
	line-height: 1.9;
}
.request-status strong {
	font-size: 1rem;
	color: var(--color-primary);
	display: block;
	margin-bottom: 0.25rem;
}

.request-dl {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.5rem 1.5rem;
	font-size: 0.875rem;
	align-items: baseline;
}
.request-dl dt {
	color: var(--color-primary);
	font-weight: 500;
	white-space: nowrap;
}
.request-dl dt::after { content: '：'; }
.request-dl dd { line-height: 1.7; }

/* ==========================================================================
   Thank You ページ
   ========================================================================== */
.thankyou-panel {
	max-width: 560px;
	margin: 4rem auto;
	background: var(--color-panel-bg);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid var(--color-panel-border);
	border-radius: var(--radius-lg);
	padding: clamp(2.5rem, 6vw, 4rem);
	box-shadow: var(--shadow-panel);
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.25rem;
}
.thankyou-icon {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--color-primary);
	color: #fff;
	font-size: 1.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.thankyou-title {
	font-family: var(--font-display);
	font-size: clamp(1.4rem, 3vw, 1.8rem);
	font-weight: 400;
	letter-spacing: 0.1em;
	color: var(--gold);
}
.thankyou-lead {
	font-size: 0.92rem;
	line-height: 2;
	color: var(--color-text);
}
.thankyou-note {
	font-size: 0.78rem;
	line-height: 1.9;
	color: var(--color-text-light);
	border-top: 1px solid var(--color-card-border);
	padding-top: 1.25rem;
	width: 100%;
	text-align: left;
}

/* --------------------------------------------------------------------------
   12. フッター
   -------------------------------------------------------------------------- */
.site-footer {
	background: var(--color-footer-bg);
	color: var(--color-footer-text);
	padding-block: 3rem 2rem;
}

.footer-inner {
	max-width: var(--container-max);
	margin-inline: auto;
	padding-inline: var(--container-pad);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
}

.footer-logo img {
	opacity: 0.85;
	transition: opacity var(--transition);
}
.footer-logo img:hover { opacity: 1; }

.footer-nav ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.25rem 2rem;
	font-size: 0.85rem;
}
.footer-nav a {
	color: var(--color-footer-text);
	letter-spacing: 0.08em;
}
.footer-nav a:hover { color: #fff; opacity: 1; }

.footer-copy {
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	opacity: 0.5;
}

/* --------------------------------------------------------------------------
   13. TOPへ戻るボタン
   -------------------------------------------------------------------------- */
.back-to-top {
	position: fixed;
	bottom: 1.5rem;
	right: 1.5rem;
	z-index: 80;
	width: 100px;
	height: 100px;
	display: block;
	background: url('../img/btn_top.png') no-repeat center center / contain;
	opacity: 0;
	pointer-events: none;
	transform: translateY(8px);
	transition: opacity var(--transition), transform var(--transition);
}
.back-to-top.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}
.back-to-top:hover {
	background-image: url('../img/btn_top_on.png');
	opacity: 1;
	transform: translateY(-2px);
}

/* ==========================================================================
   14. レスポンシブ
   ブレークポイント定義：
     PC         : 1025px 以上
     タブレット : 768px〜1024px
     スマホ     : 767px 以下
     小スマホ   : 480px 以下
   ========================================================================== */

/* --------------------------------------------------------------------------
   【PC】1025px 以上
   基本スタイルPC向け
   -------------------------------------------------------------------------- */
@media (min-width: 1025px) {

	/* ナビ：ホバーアンダーライン */
	.nav-list a:hover::after { width: 100%; }

	/* Pickup：左メイン大 + 右サブ2件縦並び */
	.pickup-grid {
		grid-template-columns: 3fr 2fr;
		align-items: start;
	}
	.pickup-grid--single {
		grid-template-columns: 1fr;
		max-width: 860px;
		margin-inline: auto;
	}

	/* Link：PC幅では3〜4列 (auto-fit) */
}

/* --------------------------------------------------------------------------
   【タブレット】768px〜1024px
   ナビは横並びを維持しつつコンパクトに。
   グリッドは2列に絞る。
   -------------------------------------------------------------------------- */
@media (min-width: 768px) and (max-width: 1024px) {

	/* ヘッダー */
	:root { --header-h: 60px; }

	/* ナビ：文字を小さくして詰める */
	.nav-list {
		gap: 0.75rem;
		font-size: 0.8rem;
	}
	.nav-contact a {
		padding: 0.4rem 0.85rem;
		font-size: 0.8rem;
	}

	/* MV */
	.mv-inner {
		gap: 2rem;
	}
	.mv-chara {
		width: clamp(180px, 30vw, 320px);
	}
	.mv-text  {
		max-width: 300px;
	}

	/* Link：2列 */
	.links-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	/* Works：2列 */
	.works-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	/* Pickup：左メイン + 右サブ縦並び */
	.pickup-grid {
		grid-template-columns: 3fr 2fr;
		align-items: start;
	}
	.pickup-grid--single {
		grid-template-columns: 1fr;
		max-width: 860px;
		margin-inline: auto;
	}

	/* Request */
	.request-inner {
		gap: 2rem;
	}
	.request-image {
		width: 160px;
	}

	/* フッターナビ：間隔を少し詰める */
	.footer-nav ul {
		gap: 0.25rem 1.25rem;
	}

	/* キャライラスト：タブレットでは少し小さめに */
	.split-bg__chara {
		height: clamp(250px, 65vh, 700px);
	}
}

/* --------------------------------------------------------------------------
   【スマホ】767px 以下
   ハンバーガーメニューへ切替。各セクション1列に。
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {

	/* ===== セクションタイトル帯 ===== */
	.section-title::before,
	.section-title::after {
		mask-image: linear-gradient(to right, transparent, black 12%, black 100%);
		-webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 100%);
	}
	.section-title__border {
		background: linear-gradient(to right, transparent, rgba(201, 169, 110, 0.25) 12%, rgba(201, 169, 110, 0.25) 100%);
	}

	/* ===== ヘッダー ===== */
	:root { --header-h: 56px; }

	/* ハンバーガーボタンを表示 */
	.nav-toggle {
		display: flex;
	}

	/* SPドロワーナビ：右からスライドイン */
	.global-nav {
		position: fixed;
		top: 0;
		right: -100%;
		width: min(300px, 85vw);
		height: 100svh;
		background: rgba(20, 20, 38, 0.98);
		backdrop-filter: blur(16px);
		-webkit-backdrop-filter: blur(16px);
		z-index: 95;
		padding: calc(var(--header-h) + 2rem) 1.5rem 2rem;
		transition: right var(--transition);
		overflow-y: auto;
		box-shadow: var(--shadow-lg);
	}
	.global-nav.is-open {
		right: 0;
	}

	/* ドロワー内ナビリスト */
	.nav-list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		font-size: 1rem;
	}
	.nav-list li {
		border-bottom: 1px solid var(--color-border);
	}
	.nav-list a {
		display: block;
		padding: 1rem 0.5rem;
	}
	/* お問い合わせボタン：ドロワー内では全幅 */
	.nav-contact {
		margin-top: 1.5rem;
		border-bottom: none !important;
	}
	.nav-contact a {
		display: block;
		text-align: center;
		padding: 0.85rem 1rem;
		border-radius: var(--radius-md);
		color: var(--ink) !important;
		font-weight: 700;
	}

	/* オーバーレイ：表示 */
	.nav-overlay {
		display: block;
		pointer-events: none;
	}
	.nav-overlay.is-visible {
		pointer-events: auto;
	}

	/* キャライラスト */
	.split-bg__chara {
		height: clamp(200px, 55vh, 500px);
	}
	.split-bg__chara--left  { transform: translateX(20%); }
	.split-bg__chara--right { transform: translateX(-20%); }

	/* ===== MV ===== */
	.mv {
		min-height: auto;
		padding-block: 2rem 3rem;
	}
	.mv-panel {
		gap: 0.75rem;
		padding: 1rem 1rem 1rem 0.75rem;
		align-items: stretch;
	}
	.mv-chara {
		width: clamp(90px, 28vw, 160px);
		margin-bottom: 0;
		align-self: flex-end;
		display: flex;
		align-items: flex-end;
	}
	.mv-text {
		flex: 1;
		min-width: 0;
		gap: 0.75rem;
	}
	.mv-logo img {
		width: 100%;
		max-width: 180px;
	}
	.mv-catch {
		font-size: 0.75rem;
		line-height: 1.9;
		letter-spacing: 0.06em;
	}
	.mv-btns {
		flex-direction: column;
		gap: 0.4rem;
	}
	.mv-btns .btn {
		width: 100%;
		flex-basis: auto;
		flex-shrink: 1;
		font-size: 0.75rem;
		padding: 0.55rem 0.75rem;
	}

	/* ===== Link：2列 ===== */
	.links-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 0.75rem;
	}
	.link-card {
		padding: 0.875rem 1rem;
		gap: 0.875rem;
	}
	.link-card__logo {
		width: 44px;
		height: 44px;
	}
	.link-card__logo--text {
		width: 44px;
		height: 44px;
	}

	/* ===== Works：1列 ===== */
	.works-grid {
		grid-template-columns: 1fr;
	}

	/* ===== Pickup Stream：SP 2列 ===== */
	.pickup-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1rem;
	}
	.pickup-grid--single {
		grid-template-columns: 1fr;
		max-width: 100%;
		margin-inline: auto;
	}
	.pickup-item--main {
		grid-column: auto;
	}
	.pickup-sub-list {
		display: contents;
	}

	/* ===== Request：縦積み ===== */
	.request-inner {
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding: 1.5rem 1.25rem;
	}
	.request-image {
		width: 140px;
	}
	.request-dl {
		text-align: left;
	}

	/* ===== フッター ===== */
	.site-footer {
		padding-block: 2.5rem 1.5rem;
	}
	.footer-nav ul {
		flex-direction: column;
		align-items: center;
		gap: 0.75rem;
	}

	/* ===== TOPボタン ===== */
	.back-to-top {
		bottom: 1rem;
		right: 1rem;
		width: 80px;
		height: 80px;
	}
}

/* --------------------------------------------------------------------------
   【小スマホ】480px 以下
   Link を1列に。フォントやパディングをさらに縮小。
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {

	body { font-size: 15px; }

	/* Link：小画面では1列 */
	.links-grid {
		grid-template-columns: 1fr;
	}

	/* Pickup：動画の角丸を小さく */
	.youtube-wrap {
		border-radius: var(--radius-sm);
	}

	/* ボタン：全幅 */
	.section-more .btn,
	.request-text .btn {
		width: 100%;
	}
}

/* --------------------------------------------------------------------------
   YouTube サムネイル＋リンク（共通）
   -------------------------------------------------------------------------- */
.yt-thumb-link { display: block; opacity: 1; }
.yt-thumb-link:hover { opacity: 1; }

.yt-thumb-wrap {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: var(--radius-md);
	background: #111;
}
/* works.htmlカード内用：上の角丸のみ */
.yt-thumb-wrap--card {
	border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.yt-thumb-wrap img {
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}
.yt-thumb-link:hover .yt-thumb-wrap img { transform: scale(1.03); }

/* 再生ボタン */
.yt-thumb-play {
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	width: 56px; height: 56px;
	background: rgba(0, 0, 0, 0.62);
	border-radius: 50%;
	pointer-events: none;
	transition: 0.2s;
	display: flex; align-items: center; justify-content: center;
}
.yt-thumb-play::after {
	content: '';
	display: block;
	width: 0; height: 0;
	border-style: solid;
	border-width: 10px 0 10px 18px;
	border-color: transparent transparent transparent #fff;
	margin-left: 3px;
}
.yt-thumb-link:hover .yt-thumb-play { background: rgba(200, 0, 0, 0.85); }

/* ==========================================================================
   15. 全ページ共通：サブナビ / ページヒーロー / 可読性補助
   （各ページCSSと統合。個別CSSで上書きが必要な場合はそちらで定義）
   ========================================================================== */

/* --------------------------------------------------------------------------
   ページ内サブナビ（共通）
   -------------------------------------------------------------------------- */
.page-subnav {
	position: sticky;
	top: var(--header-h);
	z-index: 90;
	/* ヘッダーに近い色：ダーク半透明 */
	background: rgba(22, 22, 40, 0.97);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(201, 169, 110, 0.18);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.page-subnav__inner {
	max-width: var(--container-max);
	margin-inline: auto;
	padding-inline: var(--container-pad);
	display: flex;
	align-items: center;
	gap: 0;
	overflow-x: auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
}
.page-subnav__inner::-webkit-scrollbar { display: none; }

.page-subnav__link {
	flex-shrink: 0;
	position: relative;
	display: block;
	padding: 0.8rem 1.1rem;
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	color: rgba(232, 228, 220, 0.65);
	white-space: nowrap;
	transition: color var(--transition);
	opacity: 1;
	text-shadow: 0 1px 4px rgba(0,0,0,0.5);
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
}
.page-subnav__link::after {
	content: '';
	position: absolute;
	bottom: 0; left: 0;
	width: 0;
	height: 2px;
	background: var(--color-primary);
	transition: width var(--transition);
}
.page-subnav__link:hover {
	color: var(--mist);
	opacity: 1 !important;
	background: none;
	z-index: 0;
}
.page-subnav__link:hover::before {
	content: '';
	position: absolute;
	inset: 0.25rem 0.2rem;
	background: rgba(42, 64, 96, 0.6);
	border-radius: var(--radius-sm);
	z-index: -1;
}
.page-subnav__link:hover::after {
	width: 0;
}
.page-subnav__link.is-active:hover::after {
	width: 100%;
}

.page-subnav__link.is-active {
	color: var(--gold);
	font-weight: 700;
	opacity: 1;
	text-shadow: 0 0 8px rgba(201, 169, 110, 0.4);
}
.page-subnav__link.is-active::after { width: 100%; }

@media (max-width: 767px) {
	.page-subnav__link {
		padding: 0.7rem 0.875rem;
		font-size: 0.78rem;
	}
}

/* --------------------------------------------------------------------------
   ページヒーロー（共通）
   -------------------------------------------------------------------------- */
.page-hero {
	padding-block: clamp(3rem, 6vw, 5rem) clamp(1rem, 2vw, 2rem);
}

/* split-bg-wrapper内の最後のセクションに下余白を確保 */
.section--first {
	padding-block-start: 0.5rem;
}

.split-bg-wrapper > .section:last-of-type,
.split-bg-wrapper section:last-of-type {
	padding-bottom: calc(var(--section-gap) * 2.5);
}
.page-subnav + * + .section,
.page-subnav + .section {
	padding-block-start: clamp(1rem, 2vw, 1.5rem);
}
.page-hero__title {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.4em;
	text-align: center;
}

/* is-current ナビリンク（共通） */
.nav-list a.is-current {
	color: var(--color-primary);
	font-weight: 700;
}
.nav-list a.is-current::after { width: 100%; }

/* --------------------------------------------------------------------------
   可読性補助：パネル・カード内テキスト
   -------------------------------------------------------------------------- */

/* パネル内の通常テキストに影 */
.req-panel p,
.prof-panel-block p,
.voice-card__desc,
.equip-dl dd,
.timeline__desc,
.recording-card__desc,
.schedule-card__lead,
.schedule-card__desc,
.notes-list li,
.terms-text {
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* DLリスト・テーブルのdt/th */
.prof-dl dt,
.equip-dl dt,
.recording-dl dt,
.notes-dl dt,
.price-table th {
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* カードタイトル類 */
.voice-card__title,
.equip-card__title,
.recording-card__title,
.schedule-card__title,
.notes-block__title,
.req-sub-title,
.sim-section-title,
.work-card__title,
.sample-item__title {
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

/* シミュレーター合計金額 */
.sim-total__amount {
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* pickup-item ラベル */
.pickup-item__label {
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* MVキャッチコピー */
.mv-catch {
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

/* --------------------------------------------------------------------------
   可読性補助：パネル・カードのボーダー強化
   -------------------------------------------------------------------------- */

/* パネル類のbox-shadowを深めに */
.req-panel,
.status-panel,
.price-panel,
.sim-panel,
.delivery-panel,
.terms-panel,
.prof-panel,
.prof-panel-block,
.sample-cta-panel,
.r18-gate__panel {
	box-shadow:
		0 4px 32px rgba(0, 0, 0, 0.5),
		inset 0 1px 0 rgba(201, 169, 110, 0.1);
}

/* カード類 */
.voice-card,
.equip-card,
.recording-card,
.schedule-card,
.notes-block,
.work-card,
.sample-item,
.link-card {
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}
