@charset "UTF-8";
/* ==================================================================== *
 * 格安SIM比較WEB — スタイル
 *
 * テーマ情報（Theme Name など）は theme直下の style.css にあります。
 * 見た目の調整はこのファイルで行ってください。
 *
 *  1. デザイントークン
 *  2. 基本・レイアウト・共通部品
 *  3. ヘッダー／ナビ／パンくず／フッター
 *  4. ウィジェット
 *  5. ファーストビュー
 *  6. かんたん診断
 *  7. 比較表
 *  8. 結論ブロック（迷ったらこの3社）
 *  9. 目的別早見表
 * 10. ランキング
 * 11. 各社カード
 * 12. 利用者の声
 * 13. ロゴ
 * 14. よくある質問
 * 15. トップページのその他の部品
 * 16. 404
 * 17. 投稿・固定ページ・検索・コメント
 * ==================================================================== */

/* ---------------------------------------------------------------- *
 * 1. デザイントークン
 * 白基調／ネイビーの文字／ブルー・ティール系のアクセント／十分な余白
 * ---------------------------------------------------------------- */

:root {
	/* 色 */
	--navy-900: #0d2440;
	--navy-800: #123458;
	--navy-700: #1b4571;
	--navy-600: #2b5a89;
	--navy-400: #5c7c9e;
	--navy-300: #8ba4bd;

	--teal-700: #0a7186;
	--teal-600: #0c8aa3;
	--teal-500: #14a2bd;
	--teal-100: #d7f0f6;
	--teal-50: #eef9fc;

	--blue-600: #1f6fd0;
	--blue-50: #eef5fd;

	--accent-yellow: #ffd45e;

	--ink: var(--navy-900);
	--ink-muted: #48627e;
	--ink-subtle: #6b8299;

	--bg: #ffffff;
	--bg-soft: #f6f9fc;
	--bg-hero: linear-gradient(180deg, #eaf5fb 0%, #f4fafd 55%, #ffffff 100%);

	--line: #dfe8f0;
	--line-strong: #c6d5e3;

	--ok: #0f7a52;
	--warn-bg: #fff8e8;
	--warn-line: #f0d9a6;
	--warn-ink: #7a5a11;

	/* 形 */
	--radius-sm: 8px;
	--radius: 14px;
	--radius-lg: 20px;

	--shadow-sm: 0 1px 2px rgba(13, 36, 64, 0.05);
	--shadow: 0 2px 10px rgba(13, 36, 64, 0.06);
	--shadow-lg: 0 8px 28px rgba(13, 36, 64, 0.08);

	/* 余白 */
	--gutter: 16px;
	--section-gap: 56px;
	--max: 1080px;

	/* 文字 */
	--font: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Noto Sans JP', Meiryo, system-ui, -apple-system,
		'Segoe UI', sans-serif;
}

@media (min-width: 768px) {
	:root {
		--gutter: 24px;
		--section-gap: 80px;
	}
}

/* ---------------------------------------------------------------- *
 * 2. 基本・レイアウト・共通部品
 * ---------------------------------------------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	/* ヘッダーが position:sticky のため、アンカー移動先が隠れないように余白を取る */
	scroll-padding-top: 76px;
}

@media (min-width: 768px) {
	html {
		scroll-padding-top: 84px;
	}
}

/* 管理バーが出ているときは、その分だけ余白を増やす */
body.admin-bar {
	--admin-bar: 46px;
}

@media (min-width: 783px) {
	body.admin-bar {
		--admin-bar: 32px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.85;
	color: var(--ink);
	background: var(--bg);
	text-rendering: optimizeLegibility;
	/* 日本語は自然に折り返るため anywhere は使わない（狭いセルで1文字ずつ改行されるのを防ぐ） */
	overflow-wrap: break-word;
	word-break: normal;
	line-break: strict;
}

/*
 * hidden属性を常に優先する。
 * .foo { display: flex } のような作者スタイルはブラウザ標準の [hidden] { display: none }
 * より優先されるため、JSで hidden を立てても消えない事故を防ぐ。
 */
[hidden] {
	display: none !important;
}

img,
svg {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--teal-700);
	text-underline-offset: 0.2em;
}

a:hover {
	color: var(--teal-600);
}

:focus-visible {
	outline: 3px solid var(--teal-500);
	outline-offset: 2px;
	border-radius: 4px;
}

/* ---------- レイアウト ---------- */

.container {
	width: 100%;
	max-width: var(--max);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.container--narrow {
	max-width: 760px;
}

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

.section--soft {
	background: var(--bg-soft);
}

.page-head {
	background: var(--bg-hero);
	padding-block: 32px 36px;
}

.page-head h1 {
	margin-bottom: 10px;
}

.page-head .lead {
	margin: 0;
}

/* 本文＋サイドバー */
.content-area {
	display: grid;
	gap: 40px;
}

@media (min-width: 1000px) {
	.content-area.has-sidebar {
		grid-template-columns: minmax(0, 1fr) 300px;
		gap: 48px;
	}
}

.content-main {
	min-width: 0;
}

/*
 * サイドバーが無いときは、本文を読みやすい幅（.container--narrow と同じ760px）に収める。
 * ページ見出し（.page-head）が760px幅なので、本文だけ広がると左端がそろわない。
 */
.content-area:not(.has-sidebar) .entry,
.content-area:not(.has-sidebar) .post-nav,
.content-area:not(.has-sidebar) .comments {
	max-width: 760px;
	margin-inline: auto;
}

/* ---------- 見出し ---------- */

h1,
h2,
h3,
h4 {
	line-height: 1.45;
	font-weight: 700;
	color: var(--navy-900);
	margin: 0;
	letter-spacing: 0.01em;
}

h1 {
	font-size: clamp(1.6rem, 5.2vw, 2.45rem);
	line-height: 1.35;
}

h2 {
	font-size: clamp(1.3rem, 3.6vw, 1.75rem);
	margin-block: 0 1rem;
}

h3 {
	font-size: clamp(1.08rem, 2.6vw, 1.25rem);
	margin-block: 0 0.6rem;
}

h4 {
	font-size: 1rem;
	margin-block: 0 0.4rem;
}

p {
	margin: 0 0 1em;
}

p:last-child {
	margin-bottom: 0;
}

.lead {
	font-size: clamp(1rem, 2.4vw, 1.08rem);
	color: var(--ink-muted);
}

.section-head {
	margin-bottom: 28px;
}

.section-head p {
	color: var(--ink-muted);
	margin: 0 0 0.6em;
}

.section-head p:last-child {
	margin-bottom: 0;
}

.eyebrow {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--teal-700);
	margin-bottom: 8px;
}

/* ---------- 部品 ---------- */

.card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	padding: 20px;
}

@media (min-width: 768px) {
	.card {
		padding: 24px;
	}
}

.card--flat {
	box-shadow: none;
}

.grid {
	display: grid;
	gap: 16px;
}

@media (min-width: 640px) {
	.grid--2 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 900px) {
	.grid--3 {
		grid-template-columns: repeat(3, 1fr);
	}
	.grid--2-lg {
		grid-template-columns: repeat(2, 1fr);
	}
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 26px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 1rem;
	font-weight: 700;
	font-family: inherit;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--primary {
	background: var(--teal-600);
	color: #fff;
}

.btn--primary:hover:not(:disabled) {
	background: var(--teal-700);
	color: #fff;
}

.btn--primary:disabled {
	background: var(--navy-300);
	cursor: not-allowed;
}

.btn--ghost {
	background: #fff;
	border-color: var(--line-strong);
	color: var(--teal-700);
}

.btn--ghost:hover {
	border-color: var(--teal-500);
	background: var(--teal-50);
}

.btn--sm {
	min-height: 40px;
	padding: 8px 18px;
	font-size: 0.9rem;
}

.btn--block {
	width: 100%;
}

.tag {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.6;
	background: var(--teal-50);
	color: var(--teal-700);
	border: 1px solid var(--teal-100);
	white-space: nowrap;
}

.tag--navy {
	background: var(--blue-50);
	color: var(--navy-700);
	border-color: #d5e4f6;
}

.tag--warn {
	background: var(--warn-bg);
	color: var(--warn-ink);
	border-color: var(--warn-line);
}

.note {
	font-size: 0.86rem;
	color: var(--ink-subtle);
	line-height: 1.75;
}

.callout {
	border: 1px solid var(--line);
	border-left: 4px solid var(--teal-500);
	background: var(--teal-50);
	border-radius: var(--radius-sm);
	padding: 14px 16px;
	font-size: 0.94rem;
}

.callout--warn {
	background: var(--warn-bg);
	border-color: var(--warn-line);
	border-left-color: #e0ab3a;
	color: var(--warn-ink);
}

.callout p:last-child {
	margin-bottom: 0;
}

/* ---------- 箇条書き ---------- */

.list-check,
.list-caution,
.list-plain {
	list-style: none;
	margin: 0;
	padding: 0;
}

.list-check li,
.list-caution li,
.list-plain li {
	position: relative;
	padding-left: 1.6em;
	margin-bottom: 0.6em;
}

.list-check li::before {
	content: '';
	position: absolute;
	left: 0.15em;
	top: 0.62em;
	width: 0.5em;
	height: 0.28em;
	border-left: 2.5px solid var(--ok);
	border-bottom: 2.5px solid var(--ok);
	transform: rotate(-45deg);
}

.list-caution li::before {
	content: '！';
	position: absolute;
	left: 0;
	top: 0;
	font-size: 0.82em;
	font-weight: 700;
	color: #c07a10;
}

.list-plain li::before {
	content: '';
	position: absolute;
	left: 0.35em;
	top: 0.78em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--navy-300);
}

.list-num {
	margin: 0;
	padding-left: 1.4em;
}

.list-num li {
	margin-bottom: 0.6em;
	padding-left: 0.2em;
}

/* ---------- 表（比較表以外の汎用） ---------- */

.table-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	position: relative;
}

.entry-content table,
.table-scroll table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.92rem;
	line-height: 1.7;
}

.entry-content th,
.entry-content td,
.table-scroll th,
.table-scroll td {
	padding: 12px 14px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid var(--line);
}

.entry-content thead th,
.table-scroll thead th {
	background: var(--bg-soft);
	color: var(--navy-700);
	font-weight: 700;
	font-size: 0.85rem;
	white-space: nowrap;
}

.table-spec th {
	width: 36%;
	background: var(--bg-soft);
	font-weight: 700;
	color: var(--navy-700);
	white-space: normal;
}

/* ---------- 価格の表示 ---------- */

.price {
	font-weight: 700;
	color: var(--navy-900);
	white-space: nowrap;
}

.price__num {
	font-size: 1.5rem;
	letter-spacing: -0.01em;
}

.price__unit {
	font-size: 0.85rem;
	font-weight: 700;
	margin-left: 2px;
}

.price-sub {
	font-size: 0.82rem;
	color: var(--ink-subtle);
	font-weight: 400;
	white-space: normal;
}

/* ---------- アクセシビリティ ---------- */

.visually-hidden,
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: 8px;
	top: -60px;
	z-index: 100;
	background: var(--navy-900);
	color: #fff;
	padding: 10px 16px;
	border-radius: 0 0 var(--radius-sm) var(--radius-sm);
	text-decoration: none;
	transition: top 0.15s ease;
}

.skip-link:focus {
	top: 0;
	color: #fff;
}

/* ---------- 記事本文 ---------- */

.prose h2 {
	margin-top: 2.2em;
	padding-bottom: 0.4em;
	border-bottom: 2px solid var(--teal-100);
}

.prose h2:first-child {
	margin-top: 0;
}

.prose h3 {
	margin-top: 1.8em;
}

.prose ul,
.prose ol {
	margin-block: 0 1em;
}

.prose dl {
	margin: 0;
}

.prose dt {
	font-weight: 700;
	color: var(--navy-800);
	margin-top: 1.1em;
}

.prose dd {
	margin: 0.2em 0 0;
	color: var(--ink-muted);
}

/* ---------------------------------------------------------------- *
 * 3. ヘッダー／ナビ／パンくず／フッター
 * ---------------------------------------------------------------- */

.site-header {
	position: sticky;
	top: var(--admin-bar, 0px);
	z-index: 20;
	background: #ffffff;
	border-bottom: 1px solid var(--line);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 60px;
	flex-wrap: wrap;
	padding-block: 8px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	color: var(--navy-900);
	font-weight: 700;
	font-size: 1.05rem;
	letter-spacing: 0.01em;
	white-space: nowrap;
}

@media (min-width: 768px) {
	.brand {
		font-size: 1.15rem;
	}
}

.brand__mark {
	color: var(--teal-600);
	display: inline-flex;
}

.brand--image img,
.custom-logo {
	max-height: 40px;
	width: auto;
}

/* ハンバーガー（狭い画面のみ） */
.nav-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-sm);
	background: #fff;
	color: var(--navy-700);
	cursor: pointer;
}

.nav-toggle__bars {
	display: grid;
	gap: 4px;
	width: 20px;
}

.nav-toggle__bars span {
	display: block;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
}

.site-nav {
	display: none;
	width: 100%;
}

.site-nav.is-open {
	display: block;
	padding-bottom: 10px;
}

.site-nav__list {
	display: flex;
	flex-direction: column;
	gap: 2px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-nav__list a {
	display: block;
	padding: 10px 12px;
	border-radius: var(--radius-sm);
	color: var(--navy-700);
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 700;
}

.site-nav__list a:hover {
	background: var(--teal-50);
	color: var(--teal-700);
}

.site-nav__list .current-menu-item > a,
.site-nav__list .current_page_item > a,
.site-nav__list .current-menu-ancestor > a {
	background: var(--blue-50);
	color: var(--navy-800);
}

/* 下層メニューは、狭い画面では字下げして並べる */
.site-nav__list .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0 0 0 14px;
}

@media (min-width: 768px) {
	.site-header__inner {
		min-height: 68px;
		flex-wrap: nowrap;
	}

	.nav-toggle {
		display: none;
	}

	.site-nav {
		display: block;
		width: auto;
	}

	.site-nav__list {
		flex-direction: row;
		align-items: center;
		gap: 4px;
	}

	.site-nav__list > li {
		position: relative;
	}

	.site-nav__list a {
		padding: 8px 16px;
		border-radius: 999px;
		font-size: 0.95rem;
	}

	/* 下層メニューはホバー・フォーカスで開く */
	.site-nav__list .sub-menu {
		position: absolute;
		left: 0;
		top: 100%;
		z-index: 30;
		min-width: 220px;
		padding: 6px;
		background: #fff;
		border: 1px solid var(--line);
		border-radius: var(--radius-sm);
		box-shadow: var(--shadow-lg);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.12s ease;
	}

	.site-nav__list > li:hover > .sub-menu,
	.site-nav__list > li:focus-within > .sub-menu {
		opacity: 1;
		visibility: visible;
	}

	.site-nav__list .sub-menu a {
		border-radius: var(--radius-sm);
		white-space: nowrap;
	}
}

/* ---------- パンくず ---------- */

.breadcrumbs {
	border-bottom: 1px solid var(--line);
	background: #fff;
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 0;
	list-style: none;
	margin: 0;
	padding-block: 10px;
	font-size: 0.8rem;
	color: var(--ink-subtle);
	line-height: 1.6;
}

.breadcrumbs li + li::before {
	content: '';
	display: inline-block;
	width: 5px;
	height: 5px;
	margin: 0 8px;
	border-top: 1.5px solid var(--navy-300);
	border-right: 1.5px solid var(--navy-300);
	transform: rotate(45deg) translateY(-1px);
}

.breadcrumbs a {
	color: var(--navy-600);
	text-decoration: none;
}

.breadcrumbs a:hover {
	color: var(--teal-700);
	text-decoration: underline;
}

.breadcrumbs [aria-current='page'] {
	color: var(--ink-subtle);
}

/* ---------- フッター ---------- */

.site-footer {
	margin-top: var(--section-gap);
	padding-block: 48px 32px;
	background: var(--bg-soft);
	border-top: 1px solid var(--line);
}

.footer-grid {
	display: grid;
	gap: 32px;
}

@media (min-width: 768px) {
	.footer-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 40px;
	}
}

.footer-bottom {
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid var(--line-strong);
}

.footer-note .widget + .widget {
	margin-top: 8px;
}

.footer-note p {
	font-size: 0.86rem;
	color: var(--ink-subtle);
	line-height: 1.75;
}

.footer-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	list-style: none;
	margin: 16px 0 0;
	padding: 0;
}

.footer-nav__list a {
	color: var(--navy-700);
	text-decoration: none;
	font-size: 0.88rem;
}

.footer-nav__list a:hover {
	color: var(--teal-700);
	text-decoration: underline;
}

.footer-copy {
	margin: 20px 0 0;
	font-size: 0.82rem;
	color: var(--ink-subtle);
}

/* ---------------------------------------------------------------- *
 * 4. ウィジェット
 * ---------------------------------------------------------------- */

.widget + .widget {
	margin-top: 28px;
}

.widget-title {
	font-size: 0.92rem;
	font-weight: 700;
	color: var(--navy-800);
	margin: 0 0 12px;
}

.widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.widget li + li {
	margin-top: 6px;
}

.widget a {
	color: var(--navy-700);
	text-decoration: none;
	font-size: 0.9rem;
}

.widget a:hover {
	color: var(--teal-700);
	text-decoration: underline;
}

.widget .sub-menu,
.widget .children {
	padding-left: 14px;
	margin-top: 6px;
}

.content-side .widget {
	padding: 20px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
}

.content-side .widget + .widget {
	margin-top: 20px;
}

/* ---------------------------------------------------------------- *
 * 5. ファーストビュー
 * ---------------------------------------------------------------- */

.hero {
	position: relative;
	background: var(--bg-hero);
	padding-block: 40px 56px;
	overflow: hidden;
}

@media (min-width: 768px) {
	.hero {
		padding-block: 56px 72px;
	}
}

.hero__bg {
	position: absolute;
	inset: auto 0 0 0;
	height: 220px;
	opacity: 0.55;
	pointer-events: none;
}

.hero__bg svg {
	width: 100%;
	height: 100%;
}

.hero__inner {
	position: relative;
}

/* h1 は狙うキーワードを主体にする。見出しとしての大きさは控えめにし、
   視覚的な主役はキャッチコピー（.hero__catch）が担う。 */
.hero__title {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: center;
	gap: 4px 10px;
	font-size: 1rem;
	line-height: 1.6;
	margin-bottom: 14px;
}

.hero__title-key {
	font-size: clamp(1.02rem, 2.4vw, 1.18rem);
	font-weight: 700;
	color: var(--navy-900);
	padding-bottom: 2px;
	border-bottom: 2px solid var(--teal-500);
}

.hero__title-sub {
	font-size: clamp(0.82rem, 2vw, 0.92rem);
	font-weight: 700;
	color: var(--navy-600);
}

.hero__catch {
	text-align: center;
	margin: 0 0 10px;
	font-size: clamp(1.6rem, 5.2vw, 2.45rem);
	line-height: 1.35;
	font-weight: 700;
	color: var(--navy-900);
	letter-spacing: 0.01em;
}

.hero__mark {
	color: var(--navy-900);
	white-space: nowrap;
	/* 数字の下にだけ色を敷く。背景グラデーションなので重なり順の影響を受けない */
	background-image: linear-gradient(
		to bottom,
		transparent 0 82%,
		var(--accent-yellow) 82% 94%,
		transparent 94% 100%
	);
	padding-inline: 2px;
}

.hero__sub {
	text-align: center;
	margin: 0;
	color: var(--ink-muted);
	font-size: clamp(0.95rem, 2.6vw, 1.08rem);
}

.hero__note {
	display: none;
}

@media (min-width: 1240px) {
	.hero__note {
		display: block;
		position: absolute;
		top: 24px;
		margin: 0;
		font-size: 0.86rem;
		line-height: 2;
		color: var(--navy-400);
		letter-spacing: 0.06em;
	}

	.hero__note--left {
		left: -40px;
	}

	.hero__note--right {
		right: -40px;
		text-align: right;
	}
}

.hero__points {
	display: grid;
	gap: 16px;
	margin-top: 32px;
}

@media (min-width: 768px) {
	.hero__points {
		grid-template-columns: repeat(3, 1fr);
		gap: 24px;
		margin-top: 40px;
	}
}

.hero__point {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.hero__icon {
	flex: none;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	background: #fff;
	color: var(--teal-600);
	border: 1px solid var(--teal-100);
	box-shadow: var(--shadow-sm);
}

.hero__point h2 {
	font-size: 0.95rem;
	margin: 2px 0 2px;
}

.hero__point p {
	margin: 0;
	font-size: 0.85rem;
	line-height: 1.7;
	color: var(--ink-muted);
}

/* ---------------------------------------------------------------- *
 * 6. かんたん診断
 * ---------------------------------------------------------------- */

.dx {
	margin-top: 28px;
}

.dx__card {
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	border-color: #e7eff6;
	padding: 24px 18px 22px;
}

@media (min-width: 768px) {
	.dx__card {
		padding: 32px 36px 28px;
	}
}

.dx__progress {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-bottom: 20px;
}

.dx__step {
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--navy-600);
	white-space: nowrap;
}

.dx__bar {
	width: min(200px, 45vw);
	height: 6px;
	border-radius: 999px;
	background: #e3edf4;
	overflow: hidden;
}

.dx__bar > span {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: var(--teal-500);
	transition: width 0.25s ease;
}

.dx__step-panel {
	border: 0;
	margin: 0;
	padding: 0;
	min-inline-size: 0;
}

.dx__q {
	display: block;
	width: 100%;
	text-align: center;
	font-size: clamp(1.15rem, 3.6vw, 1.45rem);
	font-weight: 700;
	color: var(--navy-900);
	padding: 0;
	margin-bottom: 18px;
}

.dx__q:focus {
	outline: none;
}

.dx__q-sub {
	text-align: center;
	margin-top: -10px;
	margin-bottom: 18px;
	font-size: 0.88rem;
	color: var(--ink-subtle);
}

.dx__options {
	display: grid;
	gap: 10px;
}

@media (min-width: 560px) {
	.dx__options {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}
}

@media (min-width: 900px) {
	.dx__options {
		grid-template-columns: repeat(4, 1fr);
	}
	/* 3択のときは3列 */
	.dx__options:has(> :nth-child(3):last-child) {
		grid-template-columns: repeat(3, 1fr);
	}
}

.dx__option {
	position: relative;
	display: block;
	cursor: pointer;
}

.dx__option input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.dx__option-body {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	min-height: 88px;
	padding: 14px 12px;
	border: 1.5px solid var(--line-strong);
	border-radius: var(--radius);
	background: #fff;
	text-align: center;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.dx__option-body::before {
	content: '';
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 1.5px solid var(--navy-300);
	margin-bottom: 6px;
	flex: none;
}

.dx__option:hover .dx__option-body {
	border-color: var(--teal-500);
	background: var(--teal-50);
}

.dx__option input:focus-visible + .dx__option-body {
	outline: 3px solid var(--teal-500);
	outline-offset: 2px;
}

.dx__option input:checked + .dx__option-body {
	border-color: var(--teal-600);
	background: var(--teal-50);
	box-shadow: inset 0 0 0 1px var(--teal-600);
}

.dx__option input:checked + .dx__option-body::before {
	border-color: var(--teal-600);
	background: var(--teal-600);
	box-shadow: inset 0 0 0 3px #fff;
}

.dx__option-label {
	font-weight: 700;
	font-size: 1.02rem;
	color: var(--navy-900);
	line-height: 1.45;
}

.dx__option-hint {
	font-size: 0.78rem;
	color: var(--ink-subtle);
	line-height: 1.5;
}

.dx__actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 20px;
	/* 戻るボタンの表示・非表示でカードの高さが変わらないようにする */
	min-height: 44px;
}

.dx__back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: none;
	border: 0;
	padding: 10px 14px;
	font-family: inherit;
	font-size: 0.9rem;
	color: var(--ink-subtle);
	cursor: pointer;
	border-radius: 999px;
}

.dx__back:hover {
	color: var(--navy-700);
	background: var(--bg-soft);
}

.dx__meta {
	text-align: center;
	margin: 4px 0 0;
	font-size: 0.8rem;
	color: var(--ink-subtle);
}

.dx__result:focus {
	outline: none;
}

.dx__result-head {
	text-align: center;
	margin-bottom: 18px;
}

.dx__result-title {
	font-size: clamp(1.15rem, 3.4vw, 1.4rem);
	margin-bottom: 6px;
}

.dx__conditions {
	margin: 0;
	font-size: 0.86rem;
	color: var(--ink-subtle);
}

.dx__relax {
	margin-bottom: 18px;
}

.dx__cards {
	display: grid;
	gap: 16px;
}

@media (min-width: 900px) {
	.dx__cards {
		grid-template-columns: repeat(3, 1fr);
		align-items: start;
	}
}

.dx__disclaimer {
	margin-top: 18px;
}

.dx__actions--result {
	flex-wrap: wrap;
	margin-top: 18px;
}

/* ---------- 診断の結果カード（JSで生成する） ---------- */

.rc {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	padding: 18px;
	box-shadow: var(--shadow-sm);
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.rc__head {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.rc__rank {
	flex: none;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--teal-600);
	color: #fff;
	font-size: 0.85rem;
	font-weight: 700;
	display: grid;
	place-items: center;
	margin-top: 2px;
}

.rc__title {
	min-width: 0;
}

/* ロゴは横長のため、社名の上に置いて横幅いっぱいに見せる */
.rc__logo {
	display: block;
	margin-bottom: 9px;
}

.rc__logo img {
	display: block;
	width: 100%;
	height: auto;
}

.rc__name {
	font-size: 1.12rem;
	margin: 0 0 4px;
}

.rc__spec {
	margin: 0;
	border-top: 1px solid var(--line);
}

.rc__row {
	display: grid;
	grid-template-columns: 6.5em 1fr;
	gap: 10px;
	padding: 9px 0;
	border-bottom: 1px solid var(--line);
	font-size: 0.9rem;
}

.rc__row dt {
	color: var(--ink-subtle);
	font-size: 0.82rem;
	line-height: 1.7;
}

.rc__row dd {
	margin: 0;
	line-height: 1.7;
}

.rc__price {
	font-size: 1.25rem;
	color: var(--navy-900);
}

.rc__cond {
	display: block;
	font-size: 0.76rem;
	color: var(--ink-subtle);
	font-weight: 400;
	line-height: 1.6;
}

.rc__block h5 {
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--navy-700);
	margin: 0 0 6px;
}

.rc__block ul {
	font-size: 0.86rem;
	line-height: 1.75;
}

.rc__block li {
	margin-bottom: 0.4em;
}

.rc__block--warn {
	background: var(--warn-bg);
	border: 1px solid var(--warn-line);
	border-radius: var(--radius-sm);
	padding: 12px 14px;
}

.rc__block--warn h5 {
	color: var(--warn-ink);
}

.rc__foot {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: auto;
}

.rc__foot .btn {
	flex: 1 1 auto;
}

/* ---------------------------------------------------------------- *
 * 7. 比較表
 * 画面幅にかかわらず表のまま表示する。狭い画面では横スクロールし、
 * 左端の「携帯会社」列だけを固定して、どの社の行かを見失わないようにする。
 * ---------------------------------------------------------------- */

/* ---------- 絞り込み ---------- */

.ct__filters {
	margin-bottom: 16px;
	padding: 16px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
}

.ct__filters-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.ct__filters-title {
	margin: 0;
	font-size: 0.92rem;
	font-weight: 700;
	color: var(--navy-800);
}

.ct__reset {
	border: 1px solid var(--line-strong);
	background: #fff;
	border-radius: 999px;
	padding: 6px 14px;
	font-size: 0.8rem;
	font-weight: 700;
	font-family: inherit;
	color: var(--navy-700);
	cursor: pointer;
	min-height: 34px;
}

.ct__reset:hover {
	border-color: var(--teal-500);
	color: var(--teal-700);
	background: var(--teal-50);
}

.ct__filter-groups {
	display: grid;
	gap: 14px;
}

@media (min-width: 900px) {
	.ct__filter-groups {
		grid-template-columns: repeat(3, 1fr);
		gap: 18px;
	}
}

.ct__group {
	border: 0;
	margin: 0;
	padding: 0;
	min-width: 0;
}

.ct__group legend {
	padding: 0;
	margin-bottom: 7px;
	font-size: 0.76rem;
	font-weight: 700;
	color: var(--ink-subtle);
}

.ct__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.ct__chip {
	position: relative;
}

.ct__chip input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.ct__chip span {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 6px 14px;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	background: #fff;
	color: var(--navy-700);
	font-size: 0.84rem;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
}

.ct__chip span:hover {
	border-color: var(--teal-500);
	background: var(--teal-50);
	color: var(--teal-700);
}

.ct__chip input:checked + span {
	background: var(--teal-600);
	border-color: var(--teal-600);
	color: #fff;
}

.ct__chip input:focus-visible + span {
	outline: 2px solid var(--teal-600);
	outline-offset: 2px;
}

.ct__count {
	margin: 14px 0 0;
	font-size: 0.88rem;
	font-weight: 700;
	color: var(--navy-800);
}

.ct__filter-note {
	margin-top: 4px;
}

.ct__empty {
	margin: 16px 0 0;
	padding: 20px;
	border: 1px dashed var(--line-strong);
	border-radius: var(--radius);
	text-align: center;
	color: var(--ink-muted);
	font-size: 0.92rem;
}

.ct.is-empty .ct__scroll {
	display: none;
}

/* ---------- 共通の部品 ---------- */

.ct__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 12px;
}

.ct__hint {
	margin: 0;
}

.ct__foot {
	margin-top: 12px;
}

.pill {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.6;
	white-space: nowrap;
	border: 1px solid transparent;
}

.pill--best {
	background: #fff4e0;
	color: #8a5300;
	border-color: #f3ddb4;
	font-size: 0.7rem;
	padding: 2px 8px;
}

.pill--data {
	background: var(--blue-50);
	color: var(--navy-800);
	border-color: #d5e4f6;
	font-size: 0.88rem;
	padding: 5px 10px;
	/* 「動画以外無制限」など長いラベルは折り返して収める */
	white-space: normal;
	text-align: center;
}

.pill--unlimited {
	background: #e7f6ec;
	color: #12683f;
	border-color: #bfe3cd;
}

.pill__mark {
	font-size: 1.05rem;
	line-height: 1;
}

.pill--free {
	background: var(--teal-50);
	color: var(--teal-700);
	border-color: var(--teal-100);
	font-size: 0.72rem;
	padding: 2px 8px;
	white-space: normal;
}

/* 回線ごとに色を変えて、見分けやすくする */
.pill--net {
	font-size: 0.75rem;
	padding: 3px 9px;
}

.pill--net-docomo {
	background: #fdeaec;
	color: #b3001b;
	border-color: #f6ccd2;
}

.pill--net-au {
	background: #fff0e2;
	color: #a8500a;
	border-color: #f6d9bd;
}

.pill--net-softbank {
	background: #eef1f4;
	color: #4a5b68;
	border-color: #d9e0e6;
}

.pill--net-rakuten {
	background: #fdeaf3;
	color: #a8005f;
	border-color: #f6c9de;
}

/* ---------- 表 ---------- */

.ct__scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	/*
	 * 表の中にある読み上げ専用テキスト（.visually-hidden）は position:absolute のため、
	 * 位置の基準になる祖先がないと文書全体に対して配置され、
	 * 横スクロールする表の右端の位置がページ全体の幅を広げてしまう。
	 * ここを基準にしておくと、はみ出しはこの枠の中で処理される。
	 */
	position: relative;
}

.ct table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	/* 指定した列幅どおりに配置する（内容の長さで列が広がらないようにする） */
	table-layout: fixed;
	min-width: 950px;
	font-size: 16px;
}

.ct thead th {
	position: sticky;
	top: 0;
	z-index: 2;
	background: var(--bg-soft);
	color: var(--navy-700);
	font-size: 0.76rem;
	font-weight: 700;
	text-align: left;
	white-space: nowrap;
	padding: 9px 10px;
	border-bottom: 1px solid var(--line-strong);
}

/* 左端の列は横スクロールしても残す */
.ct thead th.ct__c-brand {
	left: 0;
	z-index: 3;
}

.ct tbody th.ct__c-brand {
	position: sticky;
	left: 0;
	z-index: 1;
	border-right: 1px solid var(--line);
}

.ct__sub {
	display: block;
	font-size: 0.68rem;
	font-weight: 400;
	color: var(--ink-subtle);
}

.ct tbody td,
.ct tbody th {
	padding: 16px 10px;
	vertical-align: middle;
	border-bottom: 1px solid var(--line);
	background: #fff;
	text-align: left;
	font-weight: 400;
}

.ct tbody tr:hover td,
.ct tbody tr:hover th {
	background: #fbfdff;
}

.ct tbody tr:last-child td,
.ct tbody tr:last-child th {
	border-bottom: none;
}

/* 列幅。合計950pxに収めて、1024px幅の画面でも横スクロールが出ないようにする */
.ct__c-brand { width: 176px; }
.ct__c-price { width: 110px; }
.ct__c-data { width: 106px; }
.ct__c-net { width: 100px; }
.ct__c-call { width: 102px; }
.ct__c-speed { width: 92px; }
.ct__c-tags { width: 146px; }
.ct__c-link { width: 118px; }
.ct__c-fee { width: 170px; }
.ct__c-pay { width: 200px; }
.ct__c-esim { width: 110px; }
.ct__c-teth { width: 160px; }
.ct__c-shop { width: 110px; }

/* 会社名。ロゴは横長のため、社名の上に積む */
.ct__brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
}

.ct__brand-text {
	min-width: 0;
}

.ct__name {
	display: block;
	font-size: 1rem;
	font-weight: 700;
	color: var(--navy-900);
	text-decoration: none;
	line-height: 1.45;
}

.ct__name:hover {
	color: var(--teal-700);
	text-decoration: underline;
}

.ct__plan {
	display: block;
	font-size: 0.76rem;
	color: var(--ink-subtle);
	line-height: 1.5;
}

.ct__type {
	display: inline-block;
	margin-top: 2px;
	font-size: 0.68rem;
	color: var(--navy-400);
}

/* 料金 */
.ct__best:not([hidden]) {
	display: block;
}

.ct__price {
	display: block;
	color: var(--navy-900);
	font-weight: 700;
	letter-spacing: -0.01em;
	white-space: nowrap;
}

.ct__price-num {
	font-size: 1.5rem;
}

.ct__price-unit {
	font-size: 0.86rem;
	margin-left: 1px;
}

.ct__price-sub {
	display: block;
	font-size: 0.72rem;
	color: var(--ink-subtle);
	line-height: 1.5;
}

.ct__best:not([hidden]) + .ct__price {
	margin-top: 3px;
}

/* 回線 */
.ct__nets {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

/* 通話 */
.ct__call {
	display: block;
	font-size: 1.02rem;
	font-weight: 700;
	color: var(--navy-900);
	white-space: nowrap;
}

.ct__call--low {
	color: #b3004b;
}

.ct__call-unit {
	font-size: 0.74rem;
	font-weight: 700;
}

.ct__note-sub {
	display: block;
	font-size: 0.7rem;
	color: var(--ink-subtle);
	line-height: 1.5;
}

.ct__included:not(:empty) {
	display: block;
	margin-top: 4px;
}

/* 容量超過後 */
.ct__speed {
	font-size: 0.88rem;
	color: var(--ink-muted);
}

/* こんな人向け */
.ct__tags {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 5px;
}

.ct__tags li {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	font-size: 0.82rem;
	line-height: 1.55;
	color: var(--navy-800);
}

.ct__tag-mark {
	flex: none;
	width: 14px;
	height: 14px;
	margin-top: 3px;
	border-radius: 50%;
	background: var(--teal-50);
	border: 1px solid var(--teal-100);
	position: relative;
}

.ct__tag-mark::after {
	content: '';
	position: absolute;
	left: 3px;
	top: 4px;
	width: 5px;
	height: 2.5px;
	border-left: 1.6px solid var(--teal-600);
	border-bottom: 1.6px solid var(--teal-600);
	transform: rotate(-45deg);
}

/* 詳細ボタン */
.ct__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 3px;
	min-height: 40px;
	padding: 8px 10px;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	background: #fff;
	color: var(--teal-700);
	font-size: 0.8rem;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.ct__btn:hover {
	border-color: var(--teal-500);
	background: var(--teal-50);
	color: var(--teal-700);
}

/* 詳細列 */
.ct .col-detail {
	display: none;
	font-size: 0.84rem;
	color: var(--ink-muted);
}

.ct.is-detailed .col-detail {
	display: table-cell;
}

.ct.is-detailed table {
	min-width: 1700px;
}

/* ---------- 狭い画面：表のまま、余白と文字を詰める ---------- */

@media (max-width: 899px) {
	.ct table {
		min-width: 820px;
	}

	.ct.is-detailed table {
		min-width: 1550px;
	}

	.ct tbody td,
	.ct tbody th {
		padding: 12px 8px;
	}

	.ct thead th {
		padding: 8px;
	}

	.ct__c-brand { width: 140px; }
	.ct__c-price { width: 96px; }
	.ct__c-data { width: 104px; }
	.ct__c-net { width: 88px; }
	.ct__c-call { width: 90px; }
	.ct__c-speed { width: 84px; }
	.ct__c-tags { width: 122px; }
	.ct__c-link { width: 96px; }

	.ct__brand {
		gap: 6px;
	}

	.ct__name {
		font-size: 0.92rem;
	}

	.ct__plan {
		font-size: 0.72rem;
	}

	.ct__price-num {
		font-size: 1.3rem;
	}

	.ct__call {
		font-size: 0.94rem;
	}

	.ct__tags li {
		font-size: 0.78rem;
	}

	.pill--data {
		font-size: 0.82rem;
		padding: 4px 8px;
	}

	.ct__btn {
		font-size: 0.75rem;
		padding: 8px 6px;
	}

	/* 固定した左列と、スクロールしてくる列の境目をはっきりさせる */
	.ct tbody th.ct__c-brand,
	.ct thead th.ct__c-brand {
		box-shadow: 4px 0 8px -6px rgba(16, 38, 63, 0.35);
	}
}

/* ---------------------------------------------------------------- *
 * 8. 結論ブロック（迷ったらこの3社）
 * ---------------------------------------------------------------- */

.tp__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 16px;
}

@media (min-width: 720px) {
	.tp__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1040px) {
	.tp__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.tp__card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	height: 100%;
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow-sm);
}

.tp__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	align-self: flex-start;
	margin: 0;
	padding: 6px 14px 6px 6px;
	border-radius: 999px;
	background: var(--teal-50);
	border: 1px solid var(--teal-100);
	color: var(--teal-700);
	font-size: 0.82rem;
	font-weight: 700;
}

.tp__badge-no {
	display: grid;
	place-items: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--teal-600);
	color: #fff;
	font-size: 0.78rem;
}

.tp__head .logo {
	margin-bottom: 10px;
}

.tp__name {
	font-size: 1.3rem;
	margin: 0 0 6px;
}

.tp__name a {
	color: var(--navy-900);
	text-decoration: none;
}

.tp__name a:hover {
	color: var(--teal-700);
	text-decoration: underline;
}

.tp__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
}

.tp__price {
	padding: 14px 16px;
	border-radius: var(--radius-sm);
	background: var(--bg-soft);
}

.tp__price-label {
	margin: 0;
	font-size: 0.76rem;
	font-weight: 700;
	color: var(--ink-subtle);
}

.tp__price-main {
	margin: 2px 0 0;
	color: var(--navy-900);
	font-weight: 700;
	letter-spacing: -0.01em;
	white-space: nowrap;
}

.tp__price-num {
	font-size: 2rem;
}

.tp__price-unit {
	font-size: 0.95rem;
	margin-left: 2px;
}

.tp__price-sub {
	margin: 4px 0 0;
	font-size: 0.76rem;
	line-height: 1.6;
	color: var(--ink-subtle);
}

.tp__block h4 {
	font-size: 0.8rem;
	color: var(--navy-700);
	margin: 0 0 5px;
}

.tp__block p {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.75;
	color: var(--ink-muted);
}

.tp__strengths {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 6px;
}

.tp__strengths li {
	position: relative;
	padding-left: 20px;
	font-size: 0.9rem;
	line-height: 1.7;
	color: var(--ink-muted);
}

.tp__strengths li::before {
	content: '';
	position: absolute;
	left: 2px;
	top: 0.62em;
	width: 7px;
	height: 4px;
	border-left: 2px solid var(--teal-600);
	border-bottom: 2px solid var(--teal-600);
	transform: rotate(-45deg);
}

.tp__why {
	font-size: 0.82rem;
	color: var(--ink-subtle);
}

.tp__why summary {
	cursor: pointer;
	font-weight: 700;
	color: var(--navy-700);
}

.tp__why p {
	margin: 8px 0 0;
	line-height: 1.75;
}

.tp__foot {
	margin-top: auto;
	display: grid;
	gap: 8px;
}

.tp__foot .btn {
	width: 100%;
}

.tp__note {
	margin-top: 20px;
}

/* ---------------------------------------------------------------- *
 * 9. 目的別早見表
 * ---------------------------------------------------------------- */

.pt__scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	/* 表の中の読み上げ専用テキスト（position:absolute）がページ幅を広げないようにする */
	position: relative;
}

.pt__table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	table-layout: fixed;
	min-width: 760px;
}

.pt__table thead th {
	background: var(--bg-soft);
	color: var(--navy-700);
	font-size: 0.76rem;
	font-weight: 700;
	text-align: left;
	white-space: nowrap;
	padding: 10px 14px;
	border-bottom: 1px solid var(--line-strong);
}

.pt__c-situation { width: 200px; }
.pt__c-carrier { width: 172px; }
.pt__c-reason { width: 100%; }
.pt__c-price { width: 132px; }

.pt__table tbody th,
.pt__table tbody td {
	padding: 14px;
	vertical-align: middle;
	border-bottom: 1px solid var(--line);
	text-align: left;
	font-weight: 400;
	background: #fff;
}

.pt__table tbody tr:last-child th,
.pt__table tbody tr:last-child td {
	border-bottom: none;
}

.pt__table tbody tr {
	cursor: pointer;
}

.pt__table tbody tr:hover th,
.pt__table tbody tr:hover td {
	background: var(--teal-50);
}

.pt__table tbody tr:focus-within th,
.pt__table tbody tr:focus-within td {
	background: var(--blue-50);
}

.pt__situation {
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--navy-900);
	line-height: 1.6;
}

.pt__carrier {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 7px;
}

.pt__link {
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--teal-700);
	text-decoration: none;
}

.pt__link:hover {
	text-decoration: underline;
}

.pt__c-reason {
	font-size: 0.86rem;
	line-height: 1.75;
	color: var(--ink-muted);
}

.pt__price {
	display: block;
	color: var(--navy-900);
	font-weight: 700;
	white-space: nowrap;
}

.pt__price-num {
	font-size: 1.32rem;
}

.pt__price-unit {
	font-size: 0.82rem;
	margin-left: 1px;
}

.pt__plan {
	display: block;
	margin-top: 2px;
	font-size: 0.74rem;
	color: var(--ink-subtle);
	line-height: 1.5;
}

.pt__foot {
	margin-top: 12px;
}

/* ---------------------------------------------------------------- *
 * 10. ランキング
 * ---------------------------------------------------------------- */

.rank {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 20px;
}

.rank__card {
	display: grid;
	gap: 18px;
}

.rank__head {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.rank__badge {
	flex: none;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1;
	background: var(--blue-50);
	color: var(--navy-700);
	border: 1.5px solid #d5e4f6;
}

.rank__badge-unit {
	font-size: 0.62rem;
	margin-left: 1px;
}

.rank__badge--1 {
	background: #fff6dd;
	border-color: #f0dca5;
	color: #8a6a12;
}

.rank__badge--2 {
	background: #f2f5f8;
	border-color: #d6dfe7;
	color: #56656f;
}

.rank__badge--3 {
	background: #fbf0e6;
	border-color: #ebd4bd;
	color: #8a5f38;
}

.rank__logo {
	display: block;
	margin-bottom: 10px;
}

.rank__title h3 {
	font-size: 1.22rem;
	margin: 0 0 4px;
}

.rank__title h3 a {
	color: var(--navy-900);
	text-decoration: none;
}

.rank__title h3 a:hover {
	color: var(--teal-700);
	text-decoration: underline;
}

.rank__summary {
	margin: 0 0 8px;
	font-size: 0.92rem;
	color: var(--ink-muted);
}

.rank__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.rank__price {
	display: grid;
	gap: 14px;
	padding: 16px;
	background: var(--bg-soft);
	border-radius: var(--radius);
}

@media (min-width: 700px) {
	.rank__price {
		grid-template-columns: 1fr 1fr;
		gap: 20px;
	}
}

.rank__price-label {
	display: block;
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--ink-subtle);
	margin-bottom: 2px;
}

.rank__plan {
	display: block;
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--navy-800);
	margin-bottom: 2px;
}

.rank__discount {
	padding-left: 16px;
	border-left: 3px solid var(--line-strong);
}

.rank__discount strong {
	display: block;
	font-size: 1.1rem;
	color: var(--navy-800);
}

.rank__discount--none strong {
	font-size: 0.98rem;
	color: var(--ink-muted);
}

.rank__cond {
	margin: 6px 0 0;
	padding-left: 1.1em;
}

.rank__cond li {
	margin-bottom: 2px;
}

.rank__reason {
	border: 1px solid var(--teal-100);
	background: var(--teal-50);
	border-radius: var(--radius-sm);
	padding: 14px 16px;
}

.rank__reason p {
	margin: 0;
	font-size: 0.92rem;
	color: var(--ink-muted);
}

.rank__cols {
	display: grid;
	gap: 18px;
}

@media (min-width: 700px) {
	.rank__cols {
		grid-template-columns: 1fr 1fr;
		gap: 24px;
	}
}

.rank__card h4 {
	font-size: 0.88rem;
	color: var(--navy-700);
	margin-bottom: 8px;
}

.rank__card ul {
	font-size: 0.9rem;
}

.rank__foot {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.ranking-wrap {
	margin-top: 8px;
}

/* ---------------------------------------------------------------- *
 * 11. 各社カード（目的別・容量別ページ）
 * ---------------------------------------------------------------- */

.cc {
	display: flex;
	flex-direction: column;
	gap: 14px;
	height: 100%;
}

.cc__head {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.cc__rank {
	flex: none;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--teal-600);
	color: #fff;
	font-size: 0.85rem;
	font-weight: 700;
	display: grid;
	place-items: center;
	margin-top: 3px;
}

.cc__title {
	min-width: 0;
}

.cc__logo {
	display: block;
	margin-bottom: 9px;
}

.cc__name {
	font-size: 1.1rem;
	margin: 0 0 6px;
}

.cc__name a {
	color: var(--navy-900);
	text-decoration: none;
}

.cc__name a:hover {
	color: var(--teal-700);
	text-decoration: underline;
}

.cc__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.cc__spec {
	margin: 0;
	border-top: 1px solid var(--line);
}

.cc__spec > div {
	display: grid;
	grid-template-columns: 7em 1fr;
	gap: 10px;
	padding: 9px 0;
	border-bottom: 1px solid var(--line);
	font-size: 0.9rem;
}

.cc__spec dt {
	color: var(--ink-subtle);
	font-size: 0.82rem;
	line-height: 1.7;
}

.cc__spec dd {
	margin: 0;
	line-height: 1.7;
}

.cc__none {
	color: var(--ink-muted);
}

.cc__reason h4 {
	font-size: 0.85rem;
	color: var(--navy-700);
	margin-bottom: 4px;
}

.cc__reason p {
	margin: 0;
	font-size: 0.9rem;
	color: var(--ink-muted);
}

.cc__link {
	margin-top: auto;
	align-self: flex-start;
}

/* ---------------------------------------------------------------- *
 * 12. 利用者の声
 * ---------------------------------------------------------------- */

.vb__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 14px;
}

@media (min-width: 680px) {
	.vb__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1020px) {
	.vb__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.vb__card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	height: 100%;
	margin: 0;
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow-sm);
}

.vb__quote {
	margin: 0;
	position: relative;
	padding-top: 22px;
}

.vb__quote::before {
	content: '“';
	position: absolute;
	top: -6px;
	left: -2px;
	font-size: 2.6rem;
	line-height: 1;
	color: var(--teal-100);
	font-weight: 700;
}

.vb__quote p {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.85;
	color: var(--navy-800);
}

.vb__meta {
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid var(--line);
	display: grid;
	gap: 2px;
}

.vb__carrier {
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--navy-900);
}

.vb__cond,
.vb__date {
	font-size: 0.76rem;
	color: var(--ink-subtle);
	line-height: 1.6;
}

.vb__note {
	margin-top: 16px;
}

.vb__empty-lead {
	margin: 0 0 10px;
	font-size: 1.02rem;
	color: var(--navy-900);
}

.vb__empty p {
	line-height: 1.85;
}

.vb__ask {
	margin: 18px 0;
	padding: 16px 18px;
	border-radius: var(--radius-sm);
	background: var(--bg-soft);
}

.vb__ask h3 {
	font-size: 0.9rem;
	margin: 0 0 8px;
	color: var(--navy-800);
}

.vb__ask-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 6px;
}

.vb__ask-list li {
	position: relative;
	padding-left: 20px;
	font-size: 0.9rem;
	line-height: 1.7;
	color: var(--ink-muted);
}

.vb__ask-list li::before {
	content: '';
	position: absolute;
	left: 3px;
	top: 0.72em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--teal-500);
}

.vb__cta {
	margin: 0 0 12px;
}

@media (min-width: 560px) {
	.vb__cta .btn {
		min-width: 300px;
	}
}

/* ---------------------------------------------------------------- *
 * 13. ロゴ
 * 各社のロゴは横長のロゴタイプのため、高さをそろえて横幅は縦横比から決める。
 * ---------------------------------------------------------------- */

.logo {
	flex: none;
	display: grid;
	place-items: center;
	width: var(--logo-w);
	height: var(--logo-h);
	max-width: 100%;
}

.logo img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 100%;
	object-fit: contain;
}

/* ロゴ画像が無い会社は、頭文字を正方形の枠で表示する */
.logo--fallback {
	width: var(--logo-h);
	border: 1px solid var(--line);
	border-radius: 8px;
	background: #fff;
}

.logo__fallback {
	font-size: calc(var(--logo-h) * 0.45);
	font-weight: 700;
	color: var(--navy-400);
	line-height: 1;
}

/* ---------------------------------------------------------------- *
 * 14. よくある質問
 * ---------------------------------------------------------------- */

.faq {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	background: #fff;
}

.faq__item + .faq__item {
	border-top: 1px solid var(--line);
}

.faq summary {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 16px 44px 16px 16px;
	cursor: pointer;
	position: relative;
	font-weight: 700;
	color: var(--navy-800);
	line-height: 1.7;
	list-style: none;
}

.faq summary::-webkit-details-marker {
	display: none;
}

.faq summary:hover {
	background: var(--bg-soft);
}

.faq summary::after {
	content: '';
	position: absolute;
	right: 18px;
	top: 24px;
	width: 9px;
	height: 9px;
	border-right: 2px solid var(--navy-400);
	border-bottom: 2px solid var(--navy-400);
	transform: rotate(45deg);
	transition: transform 0.15s ease;
}

.faq details[open] summary::after {
	transform: rotate(-135deg);
	top: 28px;
}

.faq__q,
.faq__a-mark {
	flex: none;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: 0.75rem;
	font-weight: 700;
	margin-top: 3px;
}

.faq__q {
	background: var(--teal-600);
	color: #fff;
}

.faq__a-mark {
	background: var(--blue-50);
	color: var(--navy-700);
}

.faq__a {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 0 16px 18px 16px;
}

.faq__a p {
	margin: 0;
	color: var(--ink-muted);
	font-size: 0.95rem;
}

/* ---------------------------------------------------------------- *
 * 15. トップページのその他の部品
 * ---------------------------------------------------------------- */

.criteria {
	margin-bottom: 24px;
}

.criteria summary {
	cursor: pointer;
	font-weight: 700;
	color: var(--navy-800);
}

.criteria__body {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid var(--line);
}

.criteria__list {
	margin: 16px 0;
}

.criteria__list > div + div {
	margin-top: 14px;
}

.criteria__list dt {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	font-weight: 700;
	color: var(--navy-800);
	font-size: 0.95rem;
}

.criteria__list dd {
	margin: 2px 0 0;
	font-size: 0.9rem;
	color: var(--ink-muted);
}

.more-link {
	margin-top: 28px;
	text-align: center;
}

.link-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 14px;
}

@media (min-width: 640px) {
	.link-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 960px) {
	.link-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.link-card {
	display: flex;
	flex-direction: column;
	gap: 6px;
	height: 100%;
	padding: 18px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow-sm);
	text-decoration: none;
	color: inherit;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.link-card:hover {
	border-color: var(--teal-500);
	box-shadow: var(--shadow);
	color: inherit;
}

.link-card h3 {
	font-size: 1rem;
	margin: 0;
	color: var(--navy-900);
}

.link-card__names {
	margin: 0;
	font-size: 0.82rem;
	color: var(--ink-subtle);
	line-height: 1.7;
}

.link-card__cta {
	margin-top: auto;
	padding-top: 8px;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--teal-700);
}

.link-card__cta::after {
	content: ' ›';
}

.chip-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.chip {
	display: inline-block;
	padding: 10px 20px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--line-strong);
	color: var(--navy-800);
	text-decoration: none;
	font-weight: 700;
	font-size: 0.93rem;
}

.chip:hover {
	border-color: var(--teal-500);
	background: var(--teal-50);
	color: var(--teal-700);
}

.merit-grid {
	margin-top: 16px;
}

.link-inline {
	list-style: none;
	margin: 0 0 1em;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	font-size: 0.9rem;
}

.steps > li {
	margin-bottom: 1.4em;
}

.steps strong {
	color: var(--navy-800);
}

.steps p {
	margin: 0.3em 0 0;
	color: var(--ink-muted);
	font-size: 0.95rem;
}

/* ---------------------------------------------------------------- *
 * 15b. 各社ページ・目的別・容量別・口コミ
 * ---------------------------------------------------------------- */

/* ---------- 各社ページのファーストビュー ---------- */

.fv {
	background: var(--bg-hero);
	padding-block: 32px 40px;
}

.fv__head {
	margin-bottom: 24px;
}

.fv__title {
	margin-bottom: 10px;
}

.fv__logo {
	display: block;
	margin-bottom: 14px;
}

.fv__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 8px;
}

.fv h1 {
	margin-bottom: 0;
}

.fv__summary {
	margin: 0;
	max-width: 62ch;
}

.fv__body {
	display: grid;
	gap: 16px;
}

@media (min-width: 900px) {
	.fv__body {
		grid-template-columns: 360px 1fr;
		gap: 24px;
		align-items: start;
	}
}

.fv__label {
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--ink-subtle);
	margin: 0 0 2px;
}

.fv__plan-name {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--navy-800);
	margin: 0 0 4px;
}

.fv__price {
	margin: 0;
	color: var(--navy-900);
	font-weight: 700;
}

.fv__price .price__num {
	font-size: 2.2rem;
}

.fv__price-note {
	margin: 0 0 14px;
}

.fv__mini {
	margin: 0 0 16px;
	border-top: 1px solid var(--line);
}

.fv__mini > div {
	display: grid;
	grid-template-columns: 6.5em 1fr;
	gap: 10px;
	padding: 8px 0;
	border-bottom: 1px solid var(--line);
	font-size: 0.88rem;
}

.fv__mini dt {
	color: var(--ink-subtle);
	font-size: 0.82rem;
}

.fv__mini dd {
	margin: 0;
}

.fv__ad-note {
	margin: 8px 0 0;
	text-align: center;
}

.fv__points {
	display: grid;
	gap: 16px;
}

@media (min-width: 640px) {
	.fv__points {
		grid-template-columns: repeat(2, 1fr);
	}
}

.fv__points h2 {
	font-size: 1rem;
	margin-bottom: 10px;
}

.fv__points ul {
	font-size: 0.9rem;
}

/* ---------- 目次 ---------- */

.toc {
	margin-top: 32px;
}

.toc__title {
	font-size: 0.95rem;
	margin-bottom: 10px;
}

.toc ol {
	margin: 0;
	padding-left: 1.3em;
	columns: 2;
	column-gap: 24px;
	font-size: 0.9rem;
}

@media (max-width: 560px) {
	.toc ol {
		columns: 1;
	}
}

.toc li {
	margin-bottom: 4px;
	break-inside: avoid;
}

/* ---------- 料金プラン表 ---------- */

.spec-list li {
	margin-bottom: 0.3em;
}

.plan-note {
	margin-bottom: 16px;
}

.plan-table {
	min-width: 1280px;
}

.plan-table th[scope='row'] {
	min-width: 210px;
	background: var(--bg-soft);
	font-weight: 700;
	color: var(--navy-800);
}

/* 列ごとの最小幅。狭いセルで文字が縦積みになるのを防ぐ */
.plan-table .col-data { min-width: 140px; }
.plan-table .col-price { min-width: 108px; }
.plan-table .col-disc { min-width: 260px; }
.plan-table .col-camp { min-width: 240px; }
.plan-table .col-speed { min-width: 160px; }
.plan-table .col-carry { min-width: 130px; }

.plan-table__fn {
	display: block;
	font-size: 0.72rem;
	font-weight: 400;
	color: var(--ink-subtle);
}

.plan-table__sub {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.88rem;
}

.plan-table__sub > li + li {
	margin-top: 8px;
}

.plan-table__cond {
	margin: 2px 0 0;
	padding-left: 1.1em;
}

.plan-table__none {
	color: var(--ink-subtle);
	font-size: 0.85rem;
}

.point-note {
	margin-top: 16px;
}

/* ---------- 割引・キャンペーン ---------- */

.disc-list {
	list-style: none;
	margin: 0 0 8px;
	padding: 0;
	display: grid;
	gap: 14px;
}

.disc-list h4 {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	font-size: 1rem;
	color: var(--navy-800);
}

.disc-amount {
	font-weight: 700;
	color: var(--teal-700);
	margin: 0 0 8px;
}

.disc-spec {
	margin: 0;
	font-size: 0.9rem;
}

.disc-spec > div {
	display: grid;
	grid-template-columns: 7.5em 1fr;
	gap: 10px;
	padding: 6px 0;
}

@media (max-width: 560px) {
	.disc-spec > div {
		grid-template-columns: 1fr;
		gap: 2px;
	}
}

.disc-spec dt {
	color: var(--ink-subtle);
	font-size: 0.82rem;
}

.disc-spec dd {
	margin: 0;
}

.ended-list {
	opacity: 0.75;
}

.source-list li {
	margin-bottom: 0.5em;
}

.source-list a {
	word-break: break-all;
}

/* ---------- 目的別・容量別ページの各社カード ---------- */

.cc-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 16px;
}

@media (min-width: 700px) {
	.cc-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1040px) {
	.cc-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.related-sub {
	margin: 28px 0 12px;
	font-size: 1rem;
}

/* ---------- 口コミ投稿フォーム ---------- */

.rv-form__grid {
	display: grid;
	gap: 14px 18px;
}

@media (min-width: 640px) {
	.rv-form__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.rv-field {
	margin: 0;
}

.rv-field label {
	display: block;
	margin-bottom: 4px;
	font-size: 0.88rem;
	font-weight: 700;
	color: var(--navy-800);
}

.rv-field input,
.rv-field select,
.rv-field textarea {
	width: 100%;
	min-height: 46px;
	padding: 10px 14px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-sm);
	background: #fff;
	font-family: inherit;
	font-size: 0.95rem;
	color: var(--ink);
}

.rv-field textarea {
	min-height: 120px;
	line-height: 1.8;
}

.rv-field input:focus,
.rv-field select:focus,
.rv-field textarea:focus {
	border-color: var(--teal-500);
}

.rv-field--full {
	margin-top: 16px;
}

.rv-req {
	display: inline-block;
	margin-left: 4px;
	padding: 1px 7px;
	border-radius: 999px;
	background: #fdeaec;
	color: #b3001b;
	border: 1px solid #f6ccd2;
	font-size: 0.68rem;
}

.rv-form .note {
	margin: 16px 0;
}

.rv-form[inert] {
	opacity: 0.6;
}

/* ---------------------------------------------------------------- *
 * 15c. ショートコードで本文に埋め込んだとき
 *
 * 比較表や診断は、もともとページの一区画（.section）として作ってあります。
 * 記事の本文に差し込むときは、外側の余白と背景を外して自然に流し込みます。
 * ---------------------------------------------------------------- */

.simweb-embed {
	margin-block: 2em;
}

.simweb-embed > .section {
	padding-block: 0;
}

.simweb-embed > .section--soft {
	background: none;
}

.simweb-embed > .section > .container,
.simweb-embed > .section > .container--narrow {
	max-width: none;
	padding-inline: 0;
}

/* 見出しは記事側の見出しと重ならないよう、少し控えめにする */
.simweb-embed .section-head {
	margin-bottom: 20px;
}

.simweb-embed .section-head h2 {
	margin-top: 0;
	padding-bottom: 0;
	border-bottom: 0;
}

/* 診断は上の余白が要らない */
.simweb-embed > .dx {
	margin-top: 0;
}

/* 記事の冒頭に置く [simweb_hero]。ページ全幅の背景は付けず、枠で囲う */
.fv--embed {
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--bg-hero);
}

.fv--embed .fv__head {
	margin-bottom: 20px;
}

/*
 * 記事の本文は幅760pxに収まるため、画面幅で切り替わる3カラムだと窮屈になる。
 * 埋め込みのときは、おすすめプランを1段目・メリット／注意点を2段目に積む。
 */
.fv--embed .fv__body {
	grid-template-columns: 1fr;
}

@media (max-width: 640px) {
	.fv--embed {
		padding: 18px;
	}
}

/* カード1枚だけのとき */
.cc-grid--one {
	grid-template-columns: 1fr;
	max-width: 420px;
}

/* ---------------------------------------------------------------- *
 * 15c-2. JSリンクで出した公式サイトへのリンク
 *
 * <span data-id="…"> はaタグではないため、指の形とリンクの色を補います。
 *
 * 【重要】JSリンクプラグインは <head> に次のCSSを差し込みます。
 *
 *     .jump { cursor: pointer; text-decoration: underline; color: #008db7; }
 *
 * テーマのCSSより後に出るうえ、.jump と .btn--primary は詳細度が同じ（0,1,0）なので、
 * そのままだとボタンの文字色が #008db7 に上書きされ、下線も付いてしまいます。
 * （青いボタンに青い文字になり、読めなくなります）
 *
 * そのため、ボタンだけは属性セレクタを足して詳細度を上げ（0,2,0）、
 * 本来のボタンの見た目に戻します。class名は設定で変えられるため、
 * class名ではなく data-id を手がかりにしています。
 * ---------------------------------------------------------------- */

[data-id][role="link"],
.jump {
	cursor: pointer;
}

/* ボタンとして出しているもの：プラグインのCSSを打ち消す */
.btn[data-id] {
	text-decoration: none;
}

.btn--primary[data-id] {
	color: #fff;
}

.btn--ghost[data-id] {
	color: var(--teal-700);
}

/* 本文に差し込んだ（ボタンではない）もの：リンクらしい見た目にする */
[data-id][role="link"]:not(.btn) {
	color: var(--teal-700);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

[data-id][role="link"]:not(.btn):hover {
	color: var(--teal-600);
}

/* ---------------------------------------------------------------- *
 * 15d. トップページを固定ページ＋ショートコードで組み立てたとき
 *
 * 記事の本文に差し込むとき（15c）は余白と背景を外しますが、
 * トップページは各ブロックを画面いっぱいの区画として並べたいので、
 * .simweb-flow の中だけ元の .section の見た目に戻します。
 * 編集者が本文に書いた文章は、読みやすい760pxの列に収めます。
 * ---------------------------------------------------------------- */

/*
 * 編集者が本文に直接書いたブロック（段落・見出し・画像など）。
 * 自前で .section や .container を持つHTMLブロックには触りません。
 */
.simweb-flow > *:not(.simweb-embed):not(.section):not(.container) {
	width: 100%;
	max-width: calc(760px + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.simweb-flow > .simweb-embed {
	margin-block: 0;
}

.simweb-flow > .simweb-embed > .section {
	padding-block: var(--section-gap);
}

.simweb-flow > .simweb-embed > .section--soft {
	background: var(--bg-soft);
}

.simweb-flow > .simweb-embed > .section > .container {
	max-width: var(--max);
	padding-inline: var(--gutter);
}

.simweb-flow > .simweb-embed > .section > .container--narrow {
	max-width: 760px;
}

.simweb-flow > .simweb-embed .section-head {
	margin-bottom: 28px;
}

/* 「掲載情報について」の見出し */
.notice-head {
	font-size: 1.1rem;
}

/* 設定ミスの案内（編集できる人にだけ見えます） */
.simweb-embed__error {
	margin: 1em 0;
	padding: 12px 16px;
	border: 1px solid var(--warn-line);
	border-left: 4px solid #e0ab3a;
	border-radius: var(--radius-sm);
	background: var(--warn-bg);
	color: var(--warn-ink);
	font-size: 0.9rem;
}

/* ---------------------------------------------------------------- *
 * 16. 404
 * ---------------------------------------------------------------- */

.nf {
	text-align: left;
}

.nf__code {
	font-size: 3.4rem;
	font-weight: 700;
	line-height: 1;
	color: var(--teal-100);
	margin: 0 0 4px;
	letter-spacing: 0.02em;
}

.nf h1 {
	margin-bottom: 10px;
}

.nf__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
}

.nf__search {
	margin-top: 24px;
	max-width: 480px;
}

.nf__links {
	display: grid;
	gap: 28px;
	margin-top: 44px;
	padding-top: 28px;
	border-top: 1px solid var(--line);
}

@media (min-width: 700px) {
	.nf__links {
		grid-template-columns: repeat(3, 1fr);
	}
}

.nf__links h2 {
	font-size: 0.92rem;
	margin-bottom: 10px;
}

.nf__links ul {
	font-size: 0.9rem;
}

.nf__links li {
	margin-bottom: 0.4em;
}

/* ---------------------------------------------------------------- *
 * 17. 投稿・固定ページ・検索・コメント
 * ---------------------------------------------------------------- */

.post-list {
	display: grid;
	gap: 18px;
}

@media (min-width: 700px) {
	.post-list {
		grid-template-columns: repeat(2, 1fr);
	}
}

.content-area.has-sidebar .post-list {
	grid-template-columns: 1fr;
}

.entry-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 0;
	overflow: hidden;
}

.entry-card__thumb img {
	width: 100%;
	height: auto;
	object-fit: cover;
}

.entry-card__body {
	padding: 0 20px 20px;
}

.entry-card:not(:has(.entry-card__thumb)) .entry-card__body {
	padding-top: 20px;
}

.entry-card__title {
	font-size: 1.1rem;
	margin: 0 0 6px;
}

.entry-card__title a {
	color: var(--navy-900);
	text-decoration: none;
}

.entry-card__title a:hover {
	color: var(--teal-700);
	text-decoration: underline;
}

.entry-card__excerpt {
	font-size: 0.9rem;
	color: var(--ink-muted);
	margin: 0 0 10px;
}

.entry-card__more {
	font-size: 0.86rem;
	font-weight: 700;
	text-decoration: none;
}

.entry-card__more::after {
	content: ' ›';
}

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	margin: 0 0 10px;
	font-size: 0.8rem;
	color: var(--ink-subtle);
}

.entry-meta a {
	color: var(--navy-600);
	text-decoration: none;
}

.entry-header {
	margin-bottom: 24px;
}

.entry-title {
	margin-bottom: 10px;
}

.entry-thumb {
	margin: 0 0 28px;
}

.entry-thumb img {
	border-radius: var(--radius);
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content img {
	border-radius: var(--radius-sm);
}

.entry-content figure {
	margin: 1.6em 0;
}

.entry-content blockquote {
	margin: 1.6em 0;
	padding: 14px 18px;
	border-left: 4px solid var(--teal-500);
	background: var(--teal-50);
	border-radius: var(--radius-sm);
}

.entry-content pre {
	overflow-x: auto;
	padding: 16px;
	background: var(--bg-soft);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	font-size: 0.88rem;
}

.entry-content code {
	font-size: 0.92em;
}

.entry-footer,
.entry-tags {
	margin-top: 28px;
	font-size: 0.86rem;
}

.entry-tags a {
	display: inline-block;
	margin-right: 8px;
	padding: 3px 12px;
	border-radius: 999px;
	background: var(--teal-50);
	border: 1px solid var(--teal-100);
	text-decoration: none;
}

.page-links {
	margin-top: 24px;
	font-size: 0.9rem;
	font-weight: 700;
}

.post-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 14px;
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
	font-size: 0.9rem;
}

.post-nav a {
	text-decoration: none;
	font-weight: 700;
}

.post-nav a:hover {
	text-decoration: underline;
}

/* ページ送り */
.pagination {
	margin-top: 40px;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-sm);
	background: #fff;
	color: var(--navy-700);
	text-decoration: none;
	font-weight: 700;
	font-size: 0.9rem;
}

.pagination .page-numbers:hover {
	border-color: var(--teal-500);
	background: var(--teal-50);
	color: var(--teal-700);
}

.pagination .page-numbers.current {
	background: var(--teal-600);
	border-color: var(--teal-600);
	color: #fff;
}

.pagination .page-numbers.dots {
	border-color: transparent;
	background: none;
}

/* 検索フォーム */
.search-form {
	display: flex;
	gap: 8px;
}

.search-form__input {
	flex: 1 1 auto;
	min-width: 0;
	min-height: 44px;
	padding: 8px 14px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-sm);
	font-family: inherit;
	font-size: 0.95rem;
	color: var(--ink);
	background: #fff;
}

.search-form__input:focus {
	border-color: var(--teal-500);
}

.search-form__submit {
	flex: none;
	min-height: 44px;
	padding: 8px 20px;
	border: 1px solid var(--teal-600);
	border-radius: var(--radius-sm);
	background: var(--teal-600);
	color: #fff;
	font-family: inherit;
	font-weight: 700;
	font-size: 0.92rem;
	cursor: pointer;
}

.search-form__submit:hover {
	background: var(--teal-700);
	border-color: var(--teal-700);
}

.search-again {
	margin-bottom: 28px;
	max-width: 480px;
}

.no-results h2 {
	font-size: 1.15rem;
}

/* コメント */
.comments {
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid var(--line);
}

.comments__title {
	font-size: 1.15rem;
}

.comment-list {
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
}

.comment-list ol.children {
	list-style: none;
	margin: 0;
	padding-left: 20px;
}

.comment-list .comment-body {
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
	font-size: 0.94rem;
}

.comment-list .comment-author {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.9rem;
	font-weight: 700;
}

.comment-list .comment-author img {
	border-radius: 50%;
}

.comment-list .comment-metadata {
	font-size: 0.78rem;
	color: var(--ink-subtle);
	margin-bottom: 8px;
}

.comment-respond {
	padding: 20px;
	background: var(--bg-soft);
	border-radius: var(--radius);
}

.comment-form label {
	display: block;
	font-size: 0.86rem;
	font-weight: 700;
	margin-bottom: 4px;
}

.comment-form input[type='text'],
.comment-form input[type='email'],
.comment-form input[type='url'],
.comment-form textarea {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-sm);
	font-family: inherit;
	font-size: 0.95rem;
	background: #fff;
}

.comment-form .submit {
	min-height: 48px;
	padding: 12px 26px;
	border: 0;
	border-radius: 999px;
	background: var(--teal-600);
	color: #fff;
	font-family: inherit;
	font-weight: 700;
	cursor: pointer;
}

.comment-form .submit:hover {
	background: var(--teal-700);
}

/* WordPress標準の配置クラス */
.alignleft {
	float: left;
	margin: 0 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0 0 1em 1.5em;
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

.alignwide {
	max-width: min(1200px, 100vw - var(--gutter) * 2);
	margin-inline: auto;
}

.alignfull {
	max-width: none;
}

.wp-caption-text,
.entry-content figcaption {
	font-size: 0.82rem;
	color: var(--ink-subtle);
	margin-top: 6px;
}

.sticky .entry-card__title::before {
	content: '★ ';
	color: var(--accent-yellow);
}
