/*
 * page-single.css - ドラマ詳細ページ専用スタイル
 *
 * 対象: is_singular('drama') のときのみ読み込む
 * テンプレート: single-drama.php
 *
 * @package swell-child
 */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   キャッチフレーズ（Zen Kurenaido フォント）
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.catchphrase-zen {
	font-family: "Zen Kurenaido", sans-serif;
	font-weight: 400;
	font-size: 1.1rem;
	letter-spacing: 0.04em;
	margin-bottom: 0.5em;
	text-align: center;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ドラマタイトル
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.drama-title {
	font-size: 2.4rem;
	letter-spacing: -1px;
	font-weight: 800;
	text-align: center;
	margin-bottom: 1.5rem;
	line-height: 1.4;
	color: #b39460;
	font-family: "Noto Serif JP", serif !important;
}
@media (max-width: 640px) {
	.drama-title {
		font-size: 2.0rem;
		margin-bottom: 1rem;
	}
}
.article-pr-notice {
    margin-top: 10px;
    margin-bottom: 20px;
	text-align: center;
}

.article-pr-notice .pr-text {
    font-size: 0.8em;
    color: #666; /* 本文より少し薄いグレー */
}
/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   post_content 内 h2 グラデーション見出し
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.post_content h2:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title)) {
	background: linear-gradient(to bottom, #8c2624, #c62220);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	display: block;
	font-size: 2.6rem;
	font-style: italic;
	margin-bottom: 1.0em;
	margin-left: 0;
	border-bottom: 1px solid var(--color_main);
	padding-bottom: 0.5em;
}

.post_content h2 {
	margin-top: 2em;
	font-weight: 500;
}

@media (max-width: 640px) {
	.post_content h2:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title)) {
		font-size: 2.2rem;
	}
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ヒーロー動画枠 (.drama-hero)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* PC: 親枠の余白を打ち消す */
.drama-hero {
	margin-top: -32px;
	margin-left: -32px;
	margin-right: -32px;
	margin-bottom: 2rem;
}
.drama-hero-image {
	margin-top: -32px;
	margin-left: -32px;
	margin-right: -32px;
	margin-bottom: 1.5rem;	
}
/* 16:9 比率の動画枠 */
.drama-hero__video {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
	background: #000;
	margin-bottom: 1.25rem;
	border-radius: var(--swl-radius--4, 8px) var(--swl-radius--4, 8px) 0 0;
	overflow: hidden;
}
.drama-hero-image img {
	border-radius: var(--swl-radius--4, 8px) var(--swl-radius--4, 8px) 0 0;	
}

/* iframe を枠いっぱいに広げる */
.drama-hero__video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* スマホ: SWELL の padding に合わせて打ち消す */
@media screen and (max-width: 599px) {
	.drama-hero, .drama-hero-image {
		margin-top: -6vw;
		margin-left: -4vw;
		margin-right: -4vw;
	}
}

.drama-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
}

/* drama-hero__text-meta 内の Font Awesome アイコン色 */
.drama-hero__text-meta i.fa-solid {
	color: var(--color_main);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   タグ直後の h2 マージン調整
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.drama-tags + h2 {
	margin-top: 0;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   関連タグドラマ一覧 (.drama-related-tags)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.drama-related-tags {
	margin-bottom: 2.5rem;
}

.drama-related-tags__heading {
	font-size: 1.1rem;
	font-weight: 700;
	margin-bottom: 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid #f97316;
}

.drama-related-tags__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 1rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.drama-related-tags__item a {
	display: block;
	text-decoration: none;
	color: inherit;
}

.drama-related-tags__item .card-thumb,
.drama-card__thumb {
	width: 100%;
	aspect-ratio: 2/3;
	object-fit: cover;
	border-radius: 6px;
	margin-bottom: 0.4rem;
	background: #e5e7eb;
	display: block;
}

.drama-related-tags__item .card-title,
.drama-card__title {
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.4;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   関連国ドラマ一覧 (.drama-related-country)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.drama-related-country {
	margin-bottom: 2.5rem;
}

.drama-related-country__heading {
	font-size: 1.1rem;
	font-weight: 700;
	margin-bottom: 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid #e5e7eb;
}

.drama-related-country__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 1rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.drama-card a {
	display: block;
	text-decoration: none;
	color: inherit;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   番号付きリスト override (is-style-num_circle)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
ul.is-style-num_circle.wp-block-list li {
	padding: 16px 0 16px 48px !important;
	margin: 0 !important;
	position: relative;
	border-bottom: 1px solid #e0e0e0 !important;
	background: transparent !important;
	border-radius: 0 !important;
	line-height: 1.75 !important;
	color: #333 !important;
}

ul.is-style-num_circle.wp-block-list li br {
	display: none !important;
}

ul.is-style-num_circle.wp-block-list li::before {
	left: 0 !important;
	top: 18px !important;
	transform: none !important;
	width: 28px !important;
	height: 28px !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	line-height: 28px !important;
}

ul.is-style-num_circle.wp-block-list li strong {
	font-family: "Playfair Display", "Noto Serif JP", serif;
	display: block !important;
	font-size: 20px !important;
	color: var(--color_main) !important;
	margin-bottom: 10px !important;
	line-height: 1.5 !important;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   レビュー用見出し
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
h3.review-title-good,
h3.review-title-bad {
	padding: 16px 24px;
	border-radius: 4px;
	font-size: 20px;
	font-weight: 600;
	letter-spacing: 0.1em;
	color: #4a4a4a;
	margin-top: 60px;
	margin-bottom: 40px;
}

h3.review-title-good {
	background-color: #e2eedc;
	border-bottom: 1px solid #b8cbb0;
	color: #687a5f;
}

h3.review-title-bad {
	background-color: #e4e4e4;
	border-bottom: 1px solid #bcbcbc;
	color: #5a5757;
}

@media (max-width: 768px) {
	h3.review-title-good,
	h3.review-title-bad {
		font-size: 18px;
		padding: 14px 20px;
		margin-top: 40px;
		margin-bottom: 30px;
	}
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   レビュー用吹き出しリスト (.review-cards)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
ul.review-cards {
	list-style: none;
	padding: 0;
	margin: 0 0 2em 0;
}

ul.review-cards li {
	position: relative;
	margin-left: 210px;
	margin-bottom: 40px;
	min-height: 150px;
	padding: 24px 30px;
	border-radius: 12px;
	line-height: 1.7;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
}

ul.review-cards li:last-child {
	margin-bottom: 0;
}

/* 顔イラスト（共通） */
ul.review-cards li::before {
	content: "";
	position: absolute;
	left: -210px;
	top: 50%;
	transform: translateY(-50%);
	width: 180px;
	height: 180px;
	border-radius: 50%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

/* 吹き出しのしっぽ（共通） */
ul.review-cards li::after {
	content: "";
	position: absolute;
	left: -16px;
	top: 50%;
	transform: translateY(-50%);
	border-width: 12px 16px 12px 0;
	border-style: solid;
	border-color: transparent;
}

/* 良い口コミ */
.review-good li {
	background-color: #e2eedc;
	color: #333;
}

.review-good li::after {
	border-right-color: #e2eedc !important;
}

.review-good li:nth-child(5n+1)::before { background-image: url('https://a-dra.com/wp-content/uploads/2026/04/good_01.png'); }
.review-good li:nth-child(5n+2)::before { background-image: url('https://a-dra.com/wp-content/uploads/2026/04/good_02.png'); }
.review-good li:nth-child(5n+3)::before { background-image: url('https://a-dra.com/wp-content/uploads/2026/04/good_03.png'); }
.review-good li:nth-child(5n+4)::before { background-image: url('https://a-dra.com/wp-content/uploads/2026/04/good_04.png'); }
.review-good li:nth-child(5n+5)::before { background-image: url('https://a-dra.com/wp-content/uploads/2026/04/good_05.png'); }

/* 悪い口コミ */
.review-bad li {
	background-color: #e4e4e4;
	color: #333;
}

.review-bad li::after {
	border-right-color: #e4e4e4 !important;
}

.review-bad li:nth-child(5n+1)::before { background-image: url('https://a-dra.com/wp-content/uploads/2026/04/bad_01.png'); }
.review-bad li:nth-child(5n+2)::before { background-image: url('https://a-dra.com/wp-content/uploads/2026/04/bad_02.png'); }
.review-bad li:nth-child(5n+3)::before { background-image: url('https://a-dra.com/wp-content/uploads/2026/04/bad_03.png'); }
.review-bad li:nth-child(5n+4)::before { background-image: url('https://a-dra.com/wp-content/uploads/2026/04/bad_04.png'); }
.review-bad li:nth-child(5n+5)::before { background-image: url('https://a-dra.com/wp-content/uploads/2026/04/bad_05.png'); }

@media (max-width: 768px) {
	ul.review-cards li {
		margin-left: 100px;
		margin-bottom: 24px;
		min-height: 80px;
		padding: 16px 20px;
	}

	ul.review-cards li::before {
		width: 80px;
		height: 80px;
		left: -100px;
	}

	ul.review-cards li::after {
		left: -14px;
		border-width: 10px 14px 10px 0;
	}
}
