@charset "UTF-8";
/*
 * デザイン v2 — 固定ページ「メディア掲載実績」（tmp/caco-media-v2.php）専用の CSS。
 * inc/design-v2.php がこのページのテンプレートがあるときだけ読み込む（caco-v2-page の下）。
 * 色・書体の変数は design-v2.css（.caco-v2 の下）のものを使う。front-v2.css は読み込まない・編集しないので、
 * 必要な部品はここに v2-m- で始まるクラス名で用意する。区切りは SWELL と同じ 960px（PC）/ 600px。
 */

/* ─── 器: このページは #content の幅の制限を外し、節ごとに .v2-m-wrap で幅を持つ（TOP と同じ考え方） ─── */

.caco-v2-page #content.l-content {
	max-width: none;
	padding: 0;
	margin: 0;
}

.caco-v2-page .l-mainContent.v2-main {
	width: 100%;
	max-width: none;
	color: var(--v2-text);
}

:where(.v2-page--media) :is(p, figure) {
	margin: 0;
}

/* ページ内リンクの飛び先が固定ヘッダーに隠れないように */
.v2-page--media [id] {
	scroll-margin-top: 96px;
}

.v2-page--media ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.v2-page--media img {
	display: block;
	max-width: 100%;
	height: auto;
}

.v2-m-wrap {
	max-width: var(--v2-wrap);
	margin: 0 auto;
	padding: 0 var(--v2-gutter);
}

.v2-m-sec {
	padding: clamp(40px, 6vw, 80px) 0;
}

.v2-m-sec + .v2-m-sec {
	border-top: 1px solid var(--v2-rule);
}

/* ─── 見出し行・リンク・ボタン ─── */

.v2-m-head {
	margin-bottom: 24px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--v2-ink);
}

.v2-m-head__ttl {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	font-family: var(--v2-mincho);
	font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
	font-weight: 800;
	line-height: 1.4;
	letter-spacing: 0.05em;
	color: var(--v2-ink);
}

.v2-m-head__ttl::before,
.v2-m-head__ttl::after {
	content: none;
}

.v2-m-more {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	padding: 8px 0;
	font-size: 14px;
	font-weight: 700;
	color: var(--v2-ink);
	text-decoration: none;
}

.v2-m-more::after {
	content: "";
	width: 0.45em;
	height: 0.45em;
	border-top: 2px solid var(--v2-shu);
	border-right: 2px solid var(--v2-shu);
	transform: rotate(45deg);
}

.v2-m-more:hover {
	color: var(--v2-shu);
}

.v2-m-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.8em;
	min-height: 52px;
	padding: 0 2em;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s;
}

.v2-m-btn::after {
	content: "";
	width: 0.5em;
	height: 0.5em;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: rotate(45deg);
}

.v2-m-btn--shu {
	background: var(--v2-shu);
	color: #fff;
}

.v2-m-btn--shu:hover {
	background: var(--v2-shu-deep);
	color: #fff;
}

/* ─── 題の帯 ─── */

.v2-m-hero {
	padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 5vw, 56px);
	background: var(--v2-wash);
	border-bottom: 1px solid var(--v2-rule);
}

.v2-m-hero__ttl {
	margin: 0 0 16px;
	font-family: var(--v2-mincho);
	font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem);
	font-weight: 800;
	line-height: 1.4;
	letter-spacing: 0.06em;
	color: var(--v2-ink);
}

.v2-m-hero__lead {
	max-width: 42em;
	font-size: 15px;
	line-height: 1.9;
	color: var(--v2-text);
}

.v2-m-hero__action {
	margin-top: 24px;
}

/* ─── 掲載メディアのロゴの壁 ─── */

.v2-m-logos {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 10px;
}

.v2-m-logo {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 84px;
	padding: 14px 10px;
	border: 1px solid var(--v2-rule);
	border-radius: 4px;
	background: #fff;
	text-align: center;
}

.v2-m-logo__mark {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 32px;
}

.v2-m-logo__mark img {
	width: auto;
	max-width: 100%;
	height: 32px;
	object-fit: contain;
}

/* TBS・フジテレビのロゴは縦長で小さく見えるので、TOP と同じく少し大きく */
.v2-m-logo[data-logo="tbs"] .v2-m-logo__mark img,
.v2-m-logo[data-logo="fujitv"] .v2-m-logo__mark img {
	height: 44px;
}

.v2-m-logo.is-dark {
	border-color: var(--v2-ink);
	background: var(--v2-ink);
}

.v2-m-logo.is-dark .v2-m-logo__sub {
	color: rgba(255, 255, 255, 0.82);
}

.v2-m-logo__name {
	font-family: var(--v2-mincho);
	font-size: 15px;
	font-weight: 800;
	line-height: 1.35;
	color: var(--v2-ink);
}

.v2-m-logo__sub {
	font-size: 12px;
	line-height: 1.5;
	color: var(--v2-sub);
}

.v2-m-logos__etc {
	margin-top: 10px;
	font-family: var(--v2-mincho);
	font-size: 14px;
	font-weight: 700;
	text-align: right;
	color: var(--v2-ink);
}

.v2-m-note {
	margin-top: 6px;
	font-size: 12px;
	color: var(--v2-sub);
}

/* ─── 掲載先の記事の表（PC は表、スマホはカード） ─── */

.v2-m-articles__lead {
	margin-bottom: 20px;
	font-size: 14px;
	line-height: 1.9;
	color: var(--v2-sub);
}

.v2-m-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
	line-height: 1.7;
}

.v2-m-table th,
.v2-m-table td {
	padding: 12px 14px;
	border: 1px solid var(--v2-rule);
	text-align: left;
	vertical-align: top;
}

.v2-m-table th {
	background: var(--v2-wash);
	font-family: var(--v2-mincho);
	font-weight: 700;
	color: var(--v2-ink);
	white-space: nowrap;
}

.v2-m-table a {
	padding: 0.35em 0;
	color: var(--v2-shu-deep);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

.v2-m-table a:hover {
	color: var(--v2-shu);
}

.v2-m-articles__note {
	margin-top: 18px;
	font-size: 14px;
}

.v2-m-articles__note a {
	color: var(--v2-shu-deep);
	text-decoration: underline;
}

@media (max-width: 599px) {
	.v2-m-table {
		display: block;
	}

	.v2-m-table thead {
		display: none;
	}

	.v2-m-table tbody {
		display: block;
	}

	.v2-m-table tr {
		display: block;
		margin-bottom: 14px;
		padding: 12px;
		border: 1px solid var(--v2-rule);
		border-radius: 6px;
		background: #fff;
	}

	.v2-m-table td {
		display: flex;
		flex-direction: column;
		gap: 4px;
		padding: 8px 0;
		border: 0;
		border-bottom: 1px solid var(--v2-rule);
	}

	.v2-m-table td:last-child {
		border-bottom: 0;
	}

	.v2-m-table td::before {
		content: attr(data-label);
		font-size: 12px;
		font-weight: 700;
		color: var(--v2-sub);
	}
}

/* ─── テレビ／新聞／Webメディアごとの一覧 ─── */

.v2-m-byType {
	margin-bottom: 28px;
}

.v2-m-byType:last-child {
	margin-bottom: 0;
}

.v2-m-byType__ttl {
	margin: 0 0 12px;
	padding-bottom: 6px;
	border-bottom: 2px solid var(--v2-shu);
	display: inline-block;
	font-family: var(--v2-mincho);
	font-size: 1.05rem;
	font-weight: 800;
	color: var(--v2-ink);
}

.v2-m-byType__list li {
	padding: 10px 0;
	border-bottom: 1px solid var(--v2-rule);
	font-size: 14px;
	line-height: 1.9;
}

.v2-m-byType__list li:last-child {
	border-bottom: 0;
}

.v2-m-byType__outlet {
	font-weight: 700;
	color: var(--v2-ink);
}

.v2-m-byType__dash {
	margin: 0 0.5em;
	color: var(--v2-sub);
}

.v2-m-byType__sep {
	color: var(--v2-sub);
}

.v2-m-byType__list a {
	padding: 0.35em 0; /* 文字のまわりの余白で押しやすく（行の組みは変わらない） */
	color: var(--v2-shu-deep);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

.v2-m-byType__list a:hover {
	color: var(--v2-shu);
}

/* ─── 取材事例のカード ─── */

.v2-m-caseGrid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 20px;
}

.v2-m-caseCard__link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.v2-m-caseCard__thumb {
	display: block;
	aspect-ratio: 4 / 3;
	margin-bottom: 10px;
	overflow: hidden;
	border-radius: 4px;
	background: var(--v2-wash);
}

.v2-m-caseCard__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s;
}

.v2-m-caseCard__link:hover .v2-m-caseCard__thumb img {
	transform: scale(1.04);
}

@media (prefers-reduced-motion: reduce) {
	.v2-m-caseCard__thumb img,
	.v2-m-caseCard__link:hover .v2-m-caseCard__thumb img {
		transition: none;
		transform: none;
	}
}

.v2-m-caseCard__body time {
	font-size: 12px;
	color: var(--v2-sub);
}

.v2-m-caseCard__ttl {
	display: block;
	margin-top: 4px;
	font-family: var(--v2-mincho);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.6;
	color: var(--v2-ink);
}

.v2-m-caseCard__link:hover .v2-m-caseCard__ttl {
	color: var(--v2-shu-deep);
}

.v2-m-case__more {
	margin-top: 28px;
	text-align: center;
}

/* ─── 末尾の相談 ─── */

.v2-m-cta {
	padding: clamp(48px, 7vw, 88px) 0;
	background: var(--v2-ink);
	color: #fff;
}

.v2-m-cta__inner {
	text-align: center;
}

.v2-m-cta__ttl {
	margin: 0 0 14px;
	font-family: var(--v2-mincho);
	font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem);
	font-weight: 800;
	line-height: 1.5;
}

.v2-m-cta__text {
	max-width: 36em;
	margin: 0 auto;
	font-size: 14px;
	line-height: 1.9;
	color: rgba(255, 255, 255, 0.86);
}

.v2-m-cta__action {
	margin-top: 24px;
}

.v2-m-cta .v2-m-btn--shu:focus-visible {
	outline-color: #fff;
}

/* ─── PC（960px〜）: ロゴのタイルを少し大きく ─── */

@media (min-width: 960px) {
	.v2-m-logos {
		grid-template-columns: repeat(8, minmax(0, 1fr));
		gap: 12px;
	}

	.v2-m-logo {
		min-height: 96px;
	}

	.v2-m-logo__mark img {
		height: 38px;
	}

	.v2-m-logo[data-logo="tbs"] .v2-m-logo__mark img,
	.v2-m-logo[data-logo="fujitv"] .v2-m-logo__mark img {
		height: 52px;
	}
}
