@charset "UTF-8";
/*
 * デザイン v3 — サイト全体（色・書体・ヘッダー・ナビ・本文・カード・相談の帯・フッター）
 * inc/design-v3.php が v3 のリクエストだけ読み込む（SWELL の CSS は読まない）。
 * 参考画像: 白・黄・朱・青、太いゴシックの見出し、黄色の蛍光ペン、角丸のカード、丸いボタン。
 * 区切り: 600px（スマホ）・960px（タブレット）・1180px（PC でナビを1段に並べる幅）。
 */

/* ─── 色・書体の変数 ─── */

:root {
	--v3-ink: #161616;
	--v3-text: #262626;
	--v3-sub: #565656;          /* 白地 7.3:1 */
	--v3-faint: #686868;        /* 白地 5.6:1（日付・注記） */
	--v3-bg: #f7f6f2;           /* ページの地（紙の白） */
	--v3-paper: #ffffff;
	--v3-wash: #f1efe9;
	--v3-rule: #e3e0d8;
	--v3-yellow: #ffe23d;
	--v3-yellow-soft: #fff4b8;
	--v3-orange: #d63c12;       /* 朱。白い字の地・白地の字（白に対し 4.65:1） */
	--v3-orange-deep: #b3310c;
	--v3-orange-bright: #f0582b; /* 飾りの形だけ（字には使わない） */
	--v3-blue: #2443c4;         /* 白い字の地（白に対し 7.8:1）・本文のリンク */
	--v3-blue-deep: #1a3199;
	--v3-blue-soft: #eef1fc;
	--v3-radius: 16px;
	--v3-radius-sm: 10px;
	--v3-shadow: 0 12px 32px -20px rgba(22, 22, 22, 0.35);
	--v3-shadow-sm: 0 4px 14px -8px rgba(22, 22, 22, 0.25);
	--v3-gothic: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo, sans-serif;
	--v3-body: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", "Yu Gothic", YuGothic, Meiryo, sans-serif;
	--v3-hand: "Yomogi", "Hiragino Maru Gothic ProN", var(--v3-gothic);
	--v3-wrap: 1200px;
	--v3-gutter: clamp(16px, 4vw, 40px);
	--v3-header-h: 64px;

	/* 子テーマの部品（[caco_*]・フッター直前・著者の箱など）の色を v3 に寄せる */
	--caco-primary: var(--v3-orange);
	--caco-primary-dark: var(--v3-orange-deep);
	--caco-primary-rgb: 214, 60, 18;
	--caco-shadow-gold: 0 10px 22px rgba(214, 60, 18, 0.16);
	--caco-text: var(--v3-text);
	--caco-text-muted: var(--v3-sub);
	--caco-text-faint: var(--v3-faint);
	--caco-bg-soft: #faf9f5;
	--caco-bg-section: var(--v3-wash);
	--caco-border: var(--v3-rule);
	--caco-radius-md: 12px;
	--caco-radius-lg: var(--v3-radius);

	/* SWELL の色の変数（SWELL の動的 CSS〔swell_custom〕は SWELL のマークアップ向けの規則も持つので読まず、変数だけを v3 の色で持つ）。
	 * 本文の色付き文字・背景色（WP の global-styles の has-swl-*）と、SWELL のブロックの CSS（swell_blocks）が参照する */
	--color_main: var(--v3-ink);
	--color_text: var(--v3-text);
	--color_link: var(--v3-blue);
	--color_htag: var(--v3-ink);
	--color_bg: var(--v3-paper);
	--color_main_thin: rgba(22, 22, 22, 0.05);
	--color_main_dark: #000;
	--color_gray: #dcd9d1;
	--color_border: var(--v3-rule);
	--color_border--table: var(--v3-rule);
	--color_list_check: var(--v3-orange);
	--color_list_num: var(--v3-blue);
	--color_faq_q: var(--v3-orange);
	--color_faq_a: var(--v3-blue);
	--color_deep01: var(--v3-orange);
	--color_deep02: var(--v3-blue);
	--color_deep03: #22814b;
	--color_deep04: #b75a00;
	--color_pale01: #fdeee9;
	--color_pale02: var(--v3-blue-soft);
	--color_pale03: #ebf6ee;
	--color_pale04: var(--v3-yellow-soft);
	--color_mark_blue: rgba(36, 67, 196, 0.18);
	--color_mark_green: rgba(46, 160, 90, 0.22);
	--color_mark_yellow: rgba(255, 226, 61, 0.85);
	--color_mark_orange: rgba(240, 88, 43, 0.3);
	--color_gradient1: var(--v3-yellow);
	--color_gradient2: var(--v3-orange-bright);
	--swl-font_weight: 500;

	/* v2 で作り直した固定ページ（/media/・/guide/）の CSS が使う変数 */
	--v2-ink: var(--v3-ink);
	--v2-text: var(--v3-text);
	--v2-sub: var(--v3-sub);
	--v2-shu: var(--v3-orange);
	--v2-shu-deep: var(--v3-orange-deep);
	--v2-shu-bright: var(--v3-yellow);
	--v2-paper: var(--v3-paper);
	--v2-wash: var(--v3-wash);
	--v2-rule: var(--v3-rule);
	--v2-mincho: var(--v3-gothic);
	--v2-hand: var(--v3-gothic);
	--v2-wrap: var(--v3-wrap);
	--v2-gutter: var(--v3-gutter);
}

@media (min-width: 960px) {
	:root {
		--v3-header-h: 80px;
	}
}

/* ─── 土台 ─── */

html {
	background: var(--v3-bg);
	scroll-padding-top: calc(var(--v3-header-h) + 16px);
}

body {
	margin: 0;
	background: var(--v3-bg);
	color: var(--v3-text);
	font-family: var(--v3-body);
	font-size: 16px;
	line-height: 1.8;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	overflow-wrap: anywhere;
	word-break: normal;
	line-break: strict;
}

#body_wrap {
	min-height: 100vh;
	overflow-x: clip;
	background: var(--v3-bg);
}

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

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

a {
	color: var(--v3-blue);
	text-underline-offset: 0.2em;
}

a:hover {
	color: var(--v3-blue-deep);
}

:where(h1, h2, h3, h4, h5, h6) {
	margin: 0;
	color: var(--v3-ink);
	font-family: var(--v3-gothic);
	line-height: 1.45;
	text-wrap: balance;
	word-break: auto-phrase;
}

:where(p, ul, ol, dl, figure) {
	margin-top: 0;
}

:focus-visible {
	outline: 3px solid var(--v3-blue);
	outline-offset: 2px;
}

.v3-vh,
.v2-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* 本文へ移動（v2 が wp_body_open で出す。キーボードで最初に届く） */
.v2-skip {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 1000;
	padding: 10px 16px;
	border-radius: 999px;
	background: var(--v3-ink);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	transform: translateY(-200%);
}

.v2-skip:focus {
	transform: none;
	color: #fff;
}

.v3-icon {
	flex: none;
	width: 1.2em;
	height: 1.2em;
}

.v3-wrap {
	width: 100%;
	max-width: calc(var(--v3-wrap) + var(--v3-gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--v3-gutter);
}

.v3-content {
	display: block;
}

/* ─── 部品: ボタン・文字のリンク・ラベル・見出し ─── */

.v3-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6em;
	min-height: 48px;
	padding: 0.7em 1.6em;
	border: 2px solid transparent;
	border-radius: 999px;
	font-family: var(--v3-gothic);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0.04em;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.v3-btn .v3-icon--arrow {
	transition: transform 0.2s;
}

.v3-btn:hover .v3-icon--arrow {
	transform: translateX(3px);
}

.v3-btn--cta,
.v3-btn--cta:visited {
	background: var(--v3-orange);
	color: #fff;
	box-shadow: 0 8px 18px -10px rgba(214, 60, 18, 0.9);
}

.v3-btn--cta:hover,
.v3-btn--cta:focus-visible {
	background: var(--v3-orange-deep);
	color: #fff;
}

.v3-btn--line,
.v3-btn--line:visited {
	border-color: var(--v3-ink);
	background: var(--v3-paper);
	color: var(--v3-ink);
}

.v3-btn--line:hover {
	background: var(--v3-ink);
	color: #fff;
}

.v3-btn--white,
.v3-btn--white:visited {
	border-color: #fff;
	background: transparent;
	color: #fff;
}

.v3-btn--white:hover {
	background: #fff;
	color: var(--v3-blue);
}

.v3-btn--lg {
	min-height: 60px;
	padding: 0.8em 2em;
	font-size: 18px;
}

.v3-btn--block {
	display: flex;
	width: 100%;
}

.v3-textLink,
.v3-textLink:visited {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	padding: 6px 2px;
	border-bottom: 2px solid var(--v3-ink);
	color: var(--v3-ink);
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
}

.v3-textLink:hover {
	color: var(--v3-orange);
	border-color: var(--v3-orange);
}

.v3-textLink:hover .v3-icon {
	transform: translateX(3px);
}

.v3-textLink .v3-icon {
	transition: transform 0.2s;
}

.v3-tag {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 6px;
	font-family: var(--v3-gothic);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.04em;
}

.v3-tag--yellow {
	background: var(--v3-yellow);
	color: var(--v3-ink);
}

.v3-tag--blue {
	background: var(--v3-blue);
	color: #fff;
}

/* 英語の小見出し（朱）と、左の朱の線 */
.v3-eyebrow {
	margin: 0 0 4px;
	color: var(--v3-orange);
	font-family: var(--v3-gothic);
	font-size: 13px;
	font-weight: 900;
	line-height: 1.4;
	letter-spacing: 0.14em;
}

.v3-eyebrow--white {
	color: #fff;
}

.v3-label {
	display: inline-block;
	margin: 0 0 10px;
	padding: 2px 10px;
	border-radius: 4px;
	background: var(--v3-yellow);
	color: var(--v3-ink);
	font-family: var(--v3-gothic);
	font-size: 14px;
	font-weight: 900;
	letter-spacing: 0.1em;
}

.v3-h2 {
	font-size: clamp(28px, 3.4vw, 40px);
	font-weight: 900;
	line-height: 1.3;
	letter-spacing: 0.04em;
}

.v3-h2--sm {
	font-size: clamp(24px, 2.6vw, 32px);
}

/* 黄色の蛍光ペン（下半分） */
.v3-mark {
	background: linear-gradient(transparent 62%, var(--v3-yellow) 62%, var(--v3-yellow) 92%, transparent 92%);
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

/* チェックの箇条書き */
.v3-checks {
	margin: 0;
	padding: 0;
	list-style: none;
}

.v3-checks li {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 0.6em;
	padding: 4px 0;
}

.v3-checks .v3-icon {
	margin-top: 0.3em;
	padding: 3px;
	border-radius: 50%;
	background: var(--v3-yellow);
	color: var(--v3-ink);
	stroke-width: 3;
}

/* ─── ヘッダー ─── */

.v3-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 1px 0 var(--v3-rule);
	-webkit-backdrop-filter: saturate(1.4) blur(8px);
	backdrop-filter: saturate(1.4) blur(8px);
}

.admin-bar .v3-header {
	top: 46px;
}

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

@media (max-width: 600px) {
	.admin-bar .v3-header {
		top: 0;
	}
}

.v3-header__inner {
	display: flex;
	align-items: center;
	gap: 16px;
	max-width: 1360px;
	height: var(--v3-header-h);
	margin: 0 auto;
	padding: 0 var(--v3-gutter);
}

/* ロゴ: 「CA COMPANY」を大きく、左に。サイト名の残り（本文・補足）は区切り線の右に2行 */
.v3-logo {
	flex: none;
	margin: 0;
	font-size: inherit;
	line-height: 1;
}

.v3-logo__link {
	display: grid;
	grid-template-columns: auto auto;
	grid-template-areas: "brand main" "brand sub";
	align-items: center;
	column-gap: 12px;
	color: var(--v3-ink);
	text-decoration: none;
}

.v3-logo__link:hover {
	color: var(--v3-ink);
}

.v3-logo__brand {
	grid-area: brand;
	padding-right: 12px;
	border-right: 1px solid #c9c5bb;
	font-family: var(--v3-gothic);
	font-size: 22px;
	font-weight: 900;
	line-height: 1.1;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.v3-logo__main,
.v3-logo__sub {
	font-family: var(--v3-gothic);
	font-weight: 700;
	line-height: 1.45;
	white-space: nowrap;
}

.v3-logo__main {
	grid-area: main;
	align-self: end;
	font-size: 12px;
}

.v3-logo__sub {
	grid-area: sub;
	align-self: start;
	color: var(--v3-sub);
	font-size: 11px;
}

.v3-logo__link.is-plain {
	display: block;
}

.v3-logo__link.is-plain .v3-logo__brand {
	border: 0;
	white-space: normal;
}

/* スマホ: 「CA COMPANY」の下に本文の1行。補足の行は隠す（読み上げ・検索には残す） */
@media (max-width: 599px) {
	.v3-logo__link {
		grid-template-columns: auto;
		grid-template-areas: "brand" "main";
		row-gap: 3px;
	}

	.v3-logo__brand {
		padding-right: 0;
		border-right: 0;
		font-size: 20px;
	}

	.v3-logo__main {
		font-size: 10px;
		line-height: 1.2;
	}

	.v3-logo__sub {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}
}

@media (min-width: 960px) {
	.v3-logo__brand {
		font-size: 26px;
	}
}

/* グローバルナビ（PC） */
.v3-gnav {
	display: none;
}

.v3-header__actions {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-left: auto;
}

.v3-header__tel {
	display: none;
	align-items: center;
	gap: 6px;
	color: var(--v3-ink);
	font-family: var(--v3-gothic);
	font-size: 17px;
	font-weight: 900;
	letter-spacing: 0.02em;
	text-decoration: none;
	white-space: nowrap;
}

.v3-header__tel:hover {
	color: var(--v3-orange);
}

.v3-header__cta {
	display: none;
	min-height: 46px;
	padding: 0.5em 1.4em;
	font-size: 15px;
	white-space: nowrap;
}

.v3-menuBtn {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	width: 52px;
	height: 52px;
	margin-right: -8px;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: var(--v3-ink);
	font: inherit;
	cursor: pointer;
}

.v3-menuBtn .v3-icon {
	width: 26px;
	height: 26px;
}

.v3-menuBtn__label {
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
}

@media (min-width: 600px) {
	.v3-header__cta {
		display: inline-flex;
	}
}

@media (min-width: 1100px) {
	.v3-menuBtn {
		display: none;
	}

	.v3-gnav {
		display: block;
		margin-left: auto;
	}

	.v3-header__actions {
		margin-left: 8px;
	}

	.v3-gnav__list {
		display: flex;
		align-items: center;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.v3-gnav__item {
		position: relative;
	}

	.v3-gnav__link {
		position: relative;
		display: flex;
		align-items: center;
		height: var(--v3-header-h);
		padding: 0 10px;
		color: var(--v3-ink);
		font-family: var(--v3-gothic);
		font-size: 14px;
		font-weight: 700;
		letter-spacing: 0.04em;
		text-decoration: none;
		white-space: nowrap;
	}

	.v3-gnav__link::after {
		content: "";
		position: absolute;
		right: 10px;
		bottom: calc(50% - 16px);
		left: 10px;
		height: 6px;
		border-radius: 3px;
		background: var(--v3-yellow);
		transform: scaleX(0);
		transform-origin: left;
		transition: transform 0.2s;
		z-index: -1;
	}

	.v3-gnav__link:hover,
	.v3-gnav__item.is-current > .v3-gnav__link {
		color: var(--v3-ink);
	}

	.v3-gnav__link:hover::after,
	.v3-gnav__item.is-current > .v3-gnav__link::after,
	.v3-gnav__item:focus-within > .v3-gnav__link::after {
		transform: scaleX(1);
	}

	.v3-gnav__item.has-sub > .v3-gnav__link {
		padding-right: 22px;
	}

	.v3-gnav__item.has-sub > .v3-gnav__link::before {
		content: "";
		position: absolute;
		top: calc(50% - 4px);
		right: 9px;
		width: 6px;
		height: 6px;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		opacity: 0.55;
		transform: rotate(45deg);
	}

	.v3-gnav__sub {
		position: absolute;
		top: calc(100% - 8px);
		left: 50%;
		min-width: 17em;
		margin: 0;
		padding: 8px;
		border-top: 3px solid var(--v3-orange);
		border-radius: 0 0 14px 14px;
		background: #fff;
		box-shadow: 0 24px 40px -20px rgba(22, 22, 22, 0.4);
		list-style: none;
		opacity: 0;
		visibility: hidden;
		transform: translate(-50%, 8px);
		transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
	}

	.v3-gnav__item:hover > .v3-gnav__sub,
	.v3-gnav__item:focus-within > .v3-gnav__sub {
		opacity: 1;
		visibility: visible;
		transform: translate(-50%, 0);
	}

	.v3-gnav__sub a {
		display: flex;
		align-items: center;
		gap: 0.7em;
		padding: 11px 14px;
		border-radius: 8px;
		color: var(--v3-ink);
		font-size: 14px;
		font-weight: 700;
		text-decoration: none;
		white-space: nowrap;
	}

	.v3-gnav__sub a::before {
		content: "";
		flex: none;
		width: 6px;
		height: 6px;
		border-top: 2px solid var(--v3-orange);
		border-right: 2px solid var(--v3-orange);
		transform: rotate(45deg);
	}

	.v3-gnav__sub a:hover,
	.v3-gnav__sub a[aria-current] {
		background: var(--v3-yellow-soft);
	}
}

@media (min-width: 1100px) and (prefers-reduced-motion: reduce) {
	.v3-gnav__sub {
		transform: translateX(-50%);
		transition: none;
	}
}

/* PC の幅ごと: 1100〜1239px はロゴの補足の2行を隠し（読み上げ・検索には残す）、1240px からロゴを全部・1440px から電話も出す */
@media (min-width: 1100px) {
	.v3-header__inner {
		gap: 12px;
		padding: 0 20px;
	}
}

@media (min-width: 1100px) and (max-width: 1239px) {
	.v3-logo__main,
	.v3-logo__sub {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}

	.v3-logo__brand {
		padding-right: 0;
		border-right: 0;
	}
}

@media (min-width: 1240px) {
	.v3-logo__main {
		font-size: 11px;
	}

	.v3-logo__sub {
		font-size: 10.5px;
	}
}

@media (min-width: 1360px) {
	.v3-header__inner {
		padding: 0 32px;
	}

	.v3-gnav__link {
		padding: 0 13px;
		font-size: 15px;
	}

	.v3-gnav__link::after {
		right: 13px;
		left: 13px;
	}

	.v3-gnav__item.has-sub > .v3-gnav__link {
		padding-right: 26px;
	}
}

@media (min-width: 1500px) {
	.v3-header__tel {
		display: inline-flex;
	}

	.v3-logo__main {
		font-size: 12px;
	}

	.v3-logo__sub {
		font-size: 11px;
	}
}

/* ─── スマホ・タブレットのメニューの引き出し ─── */

.v3-drawer[hidden] {
	display: none;
}

.v3-drawer {
	position: fixed;
	inset: 0;
	z-index: 1000;
}

.v3-drawer__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(22, 22, 22, 0.5);
}

.v3-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: min(400px, 88vw);
	padding: 16px 20px calc(24px + env(safe-area-inset-bottom));
	overflow-y: auto;
	background: var(--v3-paper);
	box-shadow: -20px 0 40px -24px rgba(0, 0, 0, 0.5);
	animation: v3-drawer-in 0.25s ease-out;
}

/* 中身が多いときは縮めずに引き出しの中を送る */
.v3-drawer__panel > * {
	flex: none;
}

@keyframes v3-drawer-in {
	from {
		transform: translateX(24px);
		opacity: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.v3-drawer__panel {
		animation: none;
	}
}

.v3-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.v3-drawer__ttl {
	margin: 0;
	color: var(--v3-orange);
	font-family: var(--v3-gothic);
	font-size: 14px;
	font-weight: 900;
	letter-spacing: 0.16em;
}

.v3-drawer__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-right: -8px;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: var(--v3-ink);
	cursor: pointer;
}

.v3-drawer__close .v3-icon {
	width: 26px;
	height: 26px;
}

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

.v3-drawer__nav > ul > li {
	border-bottom: 1px solid var(--v3-rule);
}

.v3-drawer__nav a {
	display: flex;
	align-items: center;
	min-height: 52px;
	padding: 8px 4px;
	color: var(--v3-ink);
	font-family: var(--v3-gothic);
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
}

.v3-drawer__nav a::after {
	content: "";
	flex: none;
	width: 7px;
	height: 7px;
	margin-left: auto;
	border-top: 2px solid var(--v3-orange);
	border-right: 2px solid var(--v3-orange);
	transform: rotate(45deg);
}

.v3-drawer__nav a[aria-current] {
	color: var(--v3-orange);
}

.v3-drawer__nav ul ul {
	margin: -4px 0 8px;
	padding-left: 14px;
	border-left: 3px solid var(--v3-yellow);
}

.v3-drawer__nav ul ul a {
	min-height: 44px;
	font-size: 14px;
}

.v3-drawer__actions {
	display: grid;
	gap: 10px;
}

.v3-search {
	display: flex;
	border: 2px solid var(--v3-ink);
	border-radius: 999px;
	overflow: hidden;
	background: #fff;
}

.v3-search input {
	flex: 1;
	min-width: 0;
	height: 46px;
	padding: 0 18px;
	border: 0;
	background: transparent;
	font: inherit;
	font-size: 16px;
}

.v3-search input:focus {
	outline: none;
}

.v3-search:focus-within {
	outline: 3px solid var(--v3-blue);
	outline-offset: 2px;
}

.v3-search button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	border: 0;
	background: var(--v3-ink);
	color: #fff;
	cursor: pointer;
}

/* ─── 下層ページの題・ぱんくず ─── */

.v3-pageHead {
	position: relative;
	padding: clamp(28px, 5vw, 56px) 0 clamp(28px, 4vw, 44px);
	overflow: hidden;
}

.v3-pageHead::before {
	content: "";
	position: absolute;
	top: -60px;
	right: -40px;
	width: clamp(140px, 22vw, 280px);
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--v3-yellow);
	opacity: 0.55;
}

.v3-pageHead::after {
	content: "";
	position: absolute;
	right: clamp(90px, 18vw, 260px);
	bottom: -30px;
	width: clamp(60px, 9vw, 110px);
	aspect-ratio: 1;
	background: var(--v3-blue);
	clip-path: polygon(0 100%, 100% 0, 100% 100%);
	opacity: 0.9;
}

.v3-pageHead .v3-wrap {
	position: relative;
	z-index: 1;
}

.v3-pageHead__ttl {
	display: inline;
	font-size: clamp(28px, 4.2vw, 48px);
	font-weight: 900;
	line-height: 1.35;
	letter-spacing: 0.04em;
	background: linear-gradient(transparent 64%, var(--v3-yellow) 64%, var(--v3-yellow) 92%, transparent 92%);
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

.v3-pageHead__lead {
	max-width: 46em;
	margin: 18px 0 0;
	color: var(--v3-sub);
	font-size: 15px;
}

.v3-crumbs {
	margin-bottom: 14px;
	font-size: 12px;
}

.v3-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.v3-crumbs li {
	display: inline-flex;
	align-items: center;
	color: var(--v3-faint);
}

.v3-crumbs li + li::before {
	content: "";
	width: 5px;
	height: 5px;
	margin: 0 10px;
	border-top: 1.5px solid currentColor;
	border-right: 1.5px solid currentColor;
	transform: rotate(45deg);
}

.v3-crumbs a {
	color: var(--v3-sub);
	text-decoration: none;
}

.v3-crumbs a:hover {
	color: var(--v3-orange);
	text-decoration: underline;
}

.v3-crumbs span[aria-current] {
	display: -webkit-box;
	max-width: 30em;
	overflow: hidden;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
}

/* ─── 固定ページ・記事の器 ─── */

.v3-main {
	display: block;
}

.v3-article {
	padding-bottom: clamp(48px, 7vw, 96px);
}

.v3-article__sheet {
	max-width: 960px;
	margin: 0 auto;
	padding: clamp(24px, 5vw, 64px) clamp(16px, 5vw, 72px);
	border-radius: var(--v3-radius);
	background: var(--v3-paper);
	box-shadow: var(--v3-shadow);
}

@media (max-width: 599px) {
	.v3-article > .v3-wrap {
		padding: 0;
	}

	.v3-article__sheet {
		border-radius: 0;
		box-shadow: none;
	}
}

/* 記事の題まわり */
.v3-postHead {
	padding: clamp(24px, 4vw, 48px) 0 clamp(20px, 3vw, 32px);
}

.v3-postHead__inner {
	max-width: 960px;
	margin: 0 auto;
}

.v3-postHead__terms {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 12px;
}

.v3-postHead__terms a {
	text-decoration: none;
}

.v3-postHead__ttl {
	font-size: clamp(24px, 3.4vw, 36px);
	font-weight: 900;
	line-height: 1.45;
	letter-spacing: 0.03em;
}

.v3-postHead__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 18px;
	margin: 14px 0 0;
	color: var(--v3-faint);
	font-size: 13px;
}

.v3-postHead__thumb {
	max-width: 960px;
	margin: 0 auto clamp(20px, 3vw, 32px);
}

.v3-postHead__thumb img {
	display: block;
	width: 100%;
	max-height: 520px;
	object-fit: cover;
	border-radius: var(--v3-radius);
}

/* 目次（h2 から作る） */
.v3-toc {
	margin: 0 0 2.4em;
	border: 2px solid var(--v3-ink);
	border-radius: var(--v3-radius-sm);
	background: var(--v3-paper);
}

.v3-toc summary {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 18px;
	font-family: var(--v3-gothic);
	font-weight: 900;
	cursor: pointer;
	list-style: none;
}

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

.v3-toc summary::before {
	content: "目次";
	padding: 2px 10px;
	border-radius: 4px;
	background: var(--v3-yellow);
	font-size: 13px;
}

.v3-toc summary::after {
	content: "";
	width: 8px;
	height: 8px;
	margin-left: auto;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.2s;
}

.v3-toc[open] summary::after {
	transform: rotate(-135deg);
}

.v3-toc ol {
	margin: 0;
	padding: 0 18px 16px 18px;
	list-style: none;
	counter-reset: v3toc;
}

.v3-toc li {
	counter-increment: v3toc;
	border-top: 1px dashed var(--v3-rule);
}

.v3-toc a {
	display: flex;
	gap: 10px;
	padding: 10px 0;
	color: var(--v3-text);
	font-size: 15px;
	line-height: 1.6;
	text-decoration: none;
}

.v3-toc a::before {
	content: counter(v3toc, decimal-leading-zero);
	flex: none;
	color: var(--v3-orange);
	font-family: var(--v3-gothic);
	font-weight: 900;
}

.v3-toc a:hover {
	color: var(--v3-orange);
}

/* ─── 本文の組み（固定ページ・記事。モジュールの CSS に合わせて .post_content を使う） ─── */

.v3-main .post_content {
	color: var(--v3-text);
	font-size: 16px;
	line-height: 1.95;
	letter-spacing: 0.02em;
}

@media (min-width: 960px) {
	.v3-main .post_content {
		font-size: 17px;
	}
}

.v3-main .post_content > :first-child {
	margin-top: 0;
}

.v3-main .post_content :where(p) {
	margin: 0 0 1.6em;
	text-wrap: pretty;
}

.v3-main .post_content :where(h2, h3, h4, h5) {
	scroll-margin-top: calc(var(--v3-header-h) + 16px);
}

.v3-main .post_content :where(h2):not([class*="caco-"]):not(.faq_q) {
	position: relative;
	margin: 2.8em 0 1.1em;
	padding: 0.15em 0 0.15em 18px;
	font-size: clamp(22px, 2.4vw, 28px);
	font-weight: 900;
	line-height: 1.5;
	letter-spacing: 0.03em;
}

.v3-main .post_content :where(h2):not([class*="caco-"]):not(.faq_q)::before {
	content: "";
	position: absolute;
	top: 0.25em;
	bottom: 0.25em;
	left: 0;
	width: 6px;
	border-radius: 3px;
	background: var(--v3-orange);
}

.v3-main .post_content :where(h3):not([class*="caco-"]):not(.faq_q) {
	margin: 2.2em 0 0.9em;
	font-size: clamp(19px, 2vw, 22px);
	font-weight: 900;
	line-height: 1.55;
}

.v3-main .post_content :where(h3):not([class*="caco-"]):not(.faq_q)::after {
	content: "";
	display: block;
	width: 48px;
	height: 6px;
	margin-top: 8px;
	border-radius: 3px;
	background: var(--v3-yellow);
}

.v3-main .post_content :where(h4):not([class*="caco-"]) {
	margin: 1.8em 0 0.6em;
	padding-left: 1.1em;
	color: var(--v3-blue-deep);
	font-size: 18px;
	font-weight: 700;
	text-indent: -1.1em;
}

.v3-main .post_content :where(h4):not([class*="caco-"])::before {
	content: "";
	display: inline-block;
	width: 0.55em;
	height: 0.55em;
	margin-right: 0.55em;
	border-radius: 2px;
	background: var(--v3-blue);
	vertical-align: 0.12em;
}

/* 中央寄せの見出し（ブロックの設定） */
.v3-main .post_content :where(h2.has-text-align-center)::before {
	display: none;
}

.v3-main .post_content :where(h2.has-text-align-center) {
	padding-left: 0;
}

.v3-main .post_content strong,
.v3-main .post_content b {
	font-weight: 700;
	background: linear-gradient(transparent 66%, var(--v3-yellow-soft) 66%);
}

.v3-main .post_content :where(a:not([class])) {
	color: var(--v3-blue);
	text-decoration: underline;
	text-decoration-thickness: 1px;
}

.v3-main .post_content :where(a:not([class])):hover {
	color: var(--v3-orange);
}

/* 箇条書き（ブロックのリストと素のリスト。部品のリストは外す） */
.v3-main .post_content :where(ul:not([class*="caco-"]):not(.v3-checks), ol:not([class*="caco-"])) {
	margin: 0 0 1.8em;
	padding: 1.1em 1.4em 1.1em 2.6em;
	border-radius: var(--v3-radius-sm);
	background: var(--v3-wash);
}

.v3-main .post_content :where(ul:not([class*="caco-"]):not(.v3-checks)) > li::marker {
	color: var(--v3-orange);
	font-size: 1.1em;
}

.v3-main .post_content :where(ol:not([class*="caco-"])) > li::marker {
	color: var(--v3-blue);
	font-family: var(--v3-gothic);
	font-weight: 900;
}

.v3-main .post_content :where(li) {
	margin: 0.3em 0;
	line-height: 1.8;
}

.v3-main .post_content :where(li li) {
	font-size: 0.95em;
}

.v3-main .post_content :where(ul ul, ol ol, ul ol, ol ul) {
	margin: 0.4em 0 0;
	padding: 0 0 0 1.4em;
	background: none;
}

/* 引用 */
.v3-main .post_content :where(blockquote) {
	margin: 0 0 1.8em;
	padding: 1.2em 1.4em;
	border-left: 6px solid var(--v3-yellow);
	border-radius: 0 var(--v3-radius-sm) var(--v3-radius-sm) 0;
	background: var(--v3-wash);
}

.v3-main .post_content :where(blockquote) > :last-child {
	margin-bottom: 0;
}

.v3-main .post_content :where(blockquote cite) {
	display: block;
	margin-top: 0.6em;
	color: var(--v3-faint);
	font-size: 13px;
	font-style: normal;
}

/* 画像 */
.v3-main .post_content :where(figure) {
	margin: 0 0 1.8em;
}

.v3-main .post_content :where(img) {
	border-radius: 12px;
}

.v3-main .post_content :where(figcaption) {
	margin-top: 0.5em;
	color: var(--v3-faint);
	font-size: 13px;
	text-align: center;
}

.v3-main .post_content .caco-pexels-h2-img img {
	width: 100%;
	aspect-ratio: 16 / 7;
	object-fit: cover;
}

/* 表 */
.v3-main .post_content :where(.wp-block-table) {
	margin: 0 0 1.8em;
	overflow-x: auto;
}

.v3-main .post_content :where(table) {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid var(--v3-rule);
	border-radius: var(--v3-radius-sm);
	overflow: hidden;
	font-size: 15px;
	line-height: 1.7;
}

.v3-main .post_content :where(th, td) {
	padding: 12px 14px;
	border: 0;
	border-bottom: 1px solid var(--v3-rule);
	text-align: left;
	vertical-align: top;
}

.v3-main .post_content :where(tr:last-child > th, tr:last-child > td) {
	border-bottom: 0;
}

.v3-main .post_content :where(th, thead td) {
	background: var(--v3-blue-soft);
	color: var(--v3-ink);
	font-weight: 700;
}

.v3-main .post_content :where(td + td, th + td, th + th) {
	border-left: 1px solid var(--v3-rule);
}

/* ブロックのボタン（core） */
.v3-main .post_content .wp-block-button__link {
	border-radius: 999px;
	background: var(--v3-orange);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.v3-main .post_content .wp-block-button__link:hover {
	background: var(--v3-orange-deep);
	color: #fff;
}

/* 区切り線 */
.v3-main .post_content :where(hr) {
	margin: 2.4em 0;
	border: 0;
	border-top: 2px dashed var(--v3-rule);
}

/* ─── 本文に残る SWELL の書式（蛍光ペン・文字の大きさ・色・吹き出し・ブログカード） ─── */

.v3-main .post_content .swl-marker {
	background: none;
}

.v3-main .post_content .mark_yellow {
	background: linear-gradient(transparent 60%, rgba(255, 226, 61, 0.85) 60%);
}

.v3-main .post_content .mark_orange {
	background: linear-gradient(transparent 60%, rgba(240, 88, 43, 0.3) 60%);
}

.v3-main .post_content .mark_blue {
	background: linear-gradient(transparent 60%, rgba(36, 67, 196, 0.18) 60%);
}

.v3-main .post_content .mark_green {
	background: linear-gradient(transparent 60%, rgba(46, 160, 90, 0.22) 60%);
}

.v3-main .post_content :where(.u-fz-xs) { font-size: 0.75em; }
.v3-main .post_content :where(.u-fz-s) { font-size: 0.875em; }
.v3-main .post_content :where(.u-fz-l) { font-size: 1.2em; }
.v3-main .post_content :where(.u-fz-xl) { font-size: 1.5em; }
.v3-main .post_content :where(.u-fz-xxl) { font-size: 2em; }


.v3-main .post_content .c-balloon {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin: 0 0 1.8em;
}

.v3-main .post_content .c-balloon.-bln-right {
	flex-direction: row-reverse;
}

.v3-main .post_content .c-balloon__icon {
	flex: none;
	width: 72px;
	text-align: center;
}

.v3-main .post_content .c-balloon__iconImg {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
}

.v3-main .post_content .c-balloon__iconName {
	display: block;
	color: var(--v3-faint);
	font-size: 12px;
	line-height: 1.4;
}

.v3-main .post_content .c-balloon__body {
	flex: 1;
	min-width: 0;
}

.v3-main .post_content .c-balloon__text {
	position: relative;
	padding: 14px 18px;
	border: 2px solid var(--v3-rule);
	border-radius: 14px;
	background: #fff;
}

.v3-main .post_content .c-balloon__text > :last-child {
	margin-bottom: 0;
}

.v3-main .post_content .p-blogCard {
	margin: 0 0 1.8em;
}

.v3-main .post_content .p-blogCard__inner {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 14px;
	border: 2px solid var(--v3-rule);
	border-radius: var(--v3-radius-sm);
	background: #fff;
	color: var(--v3-text);
	text-decoration: none;
	transition: border-color 0.2s;
}

.v3-main .post_content a.p-blogCard__inner:hover,
.v3-main .post_content .p-blogCard__inner:hover {
	border-color: var(--v3-ink);
}

.v3-main .post_content .p-blogCard__caption {
	display: inline-block;
	margin-bottom: 6px;
	padding: 1px 8px;
	border-radius: 4px;
	background: var(--v3-yellow);
	color: var(--v3-ink);
	font-size: 12px;
	font-weight: 700;
}

.v3-main .post_content .p-blogCard__thumb {
	flex: none;
	width: 120px;
}

.v3-main .post_content .p-blogCard__thumb img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 8px;
}

.v3-main .post_content .p-blogCard__title {
	display: block;
	font-weight: 700;
	line-height: 1.6;
}

.v3-main .post_content .p-blogCard__excerpt {
	display: -webkit-box;
	margin-top: 4px;
	overflow: hidden;
	color: var(--v3-sub);
	font-size: 13px;
	line-height: 1.6;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

/* ─── カード（TOP・一覧・関連記事） ─── */

.v3-cards {
	display: grid;
	gap: clamp(16px, 2vw, 24px);
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 600px) {
	.v3-cards--3,
	.v3-cards--4,
	.v3-cards--grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 960px) {
	.v3-cards--3,
	.v3-cards--grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.v3-cards--4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.v3-card {
	min-width: 0;
}

.v3-card__link,
.v3-case {
	display: flex;
	flex-direction: column;
	height: 100%;
	border-radius: var(--v3-radius);
	background: var(--v3-paper);
	box-shadow: var(--v3-shadow-sm);
	color: var(--v3-text);
	text-decoration: none;
	transition: transform 0.2s, box-shadow 0.2s;
}

.v3-card__link:hover {
	color: var(--v3-text);
	box-shadow: var(--v3-shadow);
	transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
	.v3-card__link:hover {
		transform: none;
	}
}

.v3-card__thumb {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: var(--v3-radius) var(--v3-radius) 0 0;
	background: var(--v3-wash);
}

.v3-card__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s;
}

.v3-card__link:hover .v3-card__thumb img {
	transform: scale(1.04);
}

.v3-card__thumb.is-empty {
	background:
		radial-gradient(circle at 85% 20%, var(--v3-yellow) 0 18%, transparent 18.5%),
		linear-gradient(135deg, transparent 0 62%, rgba(36, 67, 196, 0.85) 62% 70%, transparent 70%),
		var(--v3-wash);
}

.v3-card__thumb .v3-tag {
	position: absolute;
	bottom: 10px;
	left: 10px;
	max-width: calc(100% - 20px);
}

.v3-card__thumb .v3-tag--top {
	top: 10px;
	bottom: auto;
	border-radius: 999px;
	padding: 4px 12px;
}

.v3-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 8px;
	padding: 14px 18px 18px;
}

.v3-card__ttl {
	display: -webkit-box;
	overflow: hidden;
	color: var(--v3-ink);
	font-family: var(--v3-gothic);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.6;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	word-break: auto-phrase;
}

.v3-card__date {
	margin-top: auto;
	color: var(--v3-faint);
	font-size: 13px;
	letter-spacing: 0.04em;
}

/* ─── 一覧のページ ─── */

.v3-archive {
	padding-bottom: clamp(48px, 7vw, 96px);
}

.v3-archive__desc {
	max-width: 46em;
	margin: 0 0 24px;
	color: var(--v3-sub);
}

.v3-pager {
	margin-top: clamp(32px, 4vw, 48px);
}

.v3-pager .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.v3-pager .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 46px;
	height: 46px;
	padding: 0 14px;
	border: 2px solid var(--v3-ink);
	border-radius: 999px;
	background: #fff;
	color: var(--v3-ink);
	font-weight: 700;
	text-decoration: none;
}

.v3-pager .page-numbers.current {
	background: var(--v3-ink);
	color: #fff;
}

.v3-pager .page-numbers.dots {
	border-color: transparent;
	background: transparent;
}

.v3-pager a.page-numbers:hover {
	background: var(--v3-yellow);
}

.v3-empty {
	padding: 40px 0;
	text-align: center;
}

/* コラムの一覧のカテゴリのタブ（column-tabs が出す） */
.v3-main .caco-column-tabs {
	margin-bottom: 24px;
}

/* ─── 記事の後ろ（関連記事・戻るリンク） ─── */

.v3-after {
	max-width: 960px;
	margin: clamp(32px, 5vw, 56px) auto 0;
}

.v3-after__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.v3-after__ttl {
	font-size: clamp(22px, 2.4vw, 28px);
	font-weight: 900;
}

/* ─── 黄色の相談の帯（フッターの前） ─── */

.v3-band {
	position: relative;
	overflow: hidden;
	background: var(--v3-yellow);
	color: var(--v3-ink);
}

.v3-band::before {
	content: "";
	position: absolute;
	top: -40%;
	right: -6%;
	width: clamp(160px, 24vw, 320px);
	aspect-ratio: 1;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.35);
}

.v3-band__inner {
	position: relative;
	display: grid;
	grid-template-columns: 1fr;
	align-items: center;
	gap: 16px 32px;
	max-width: calc(var(--v3-wrap) + var(--v3-gutter) * 2);
	margin: 0 auto;
	padding: clamp(36px, 5vw, 56px) var(--v3-gutter);
}

.v3-band__icon {
	display: none;
	color: var(--v3-ink);
}

.v3-band__icon .v3-icon {
	width: 72px;
	height: 72px;
	stroke-width: 1.6;
	transform: rotate(-12deg);
}

.v3-band__ttl {
	display: flex;
	flex-direction: column;
	font-size: clamp(22px, 2.8vw, 32px);
	font-weight: 900;
	line-height: 1.4;
	letter-spacing: 0.03em;
	transform: skewX(-6deg);
}

.v3-band__text {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.8;
}

.v3-band__action {
	margin: 0;
}

.v3-band .v3-btn--lg {
	width: 100%;
	max-width: 400px;
	box-shadow: 0 10px 20px -12px rgba(120, 30, 0, 0.8);
}

@media (min-width: 960px) {
	.v3-band__inner {
		grid-template-columns: auto auto 1fr auto;
	}

	.v3-band__icon {
		display: block;
	}

	.v3-band__text {
		padding-left: 28px;
		border-left: 2px solid var(--v3-ink);
	}

	.v3-band .v3-btn--lg {
		width: auto;
	}
}

/* ─── フッター（v2 で作り直したメニューと会社の情報を v3 の色で） ─── */

.v3-footer {
	background: var(--v3-ink);
	color: #f2f2f2;
	font-size: 14px;
}

.v3-footer a {
	color: #fff;
}

.v3-footer .v2-foot__inner {
	display: grid;
	gap: 36px;
	max-width: calc(var(--v3-wrap) + var(--v3-gutter) * 2);
	margin: 0 auto;
	padding: clamp(40px, 6vw, 64px) var(--v3-gutter) 32px;
}

@media (min-width: 960px) {
	.v3-footer .v2-foot__inner {
		grid-template-columns: 260px 1fr 260px;
		gap: 48px;
	}
}

.v3-footer .v2-foot__ttl {
	margin: 0 0 6px;
	color: var(--v3-yellow);
	font-family: var(--v3-gothic);
	font-size: 18px;
	font-weight: 900;
}

.v3-footer .v2-foot__lead {
	margin: 0 0 16px;
	color: #d6d6d6;
	font-size: 13px;
	line-height: 1.7;
}

.v3-footer .v2-foot__btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	margin: 0 0 10px;
	padding: 8px 16px;
	border: 2px solid transparent;
	border-radius: 999px;
	font-family: var(--v3-gothic);
	text-align: center;
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s;
}

.v3-footer .v2-foot__btn--shu {
	background: var(--v3-orange);
	color: #fff;
}

.v3-footer .v2-foot__btn--shu:hover {
	background: var(--v3-orange-deep);
	color: #fff;
}

.v3-footer .v2-foot__btn--line {
	border-color: #fff;
	color: #fff;
}

.v3-footer .v2-foot__btn--line:hover {
	background: #fff;
	color: var(--v3-ink);
}

.v3-footer .v2-foot__btnMain {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
}

.v3-footer .v2-foot__btnSub {
	font-size: 12px;
	line-height: 1.4;
	opacity: 0.9;
}

.v3-footer .v2-foot__textLink {
	display: inline-block;
	padding: 6px 0;
	color: #e6e6e6;
	font-size: 13px;
}

.v3-footer .v2-foot__nav {
	display: grid;
	gap: 28px;
}

@media (min-width: 600px) {
	.v3-footer .v2-foot__nav {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.v3-footer .v2-foot__head {
	margin: 0 0 10px;
	padding-bottom: 8px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	color: var(--v3-yellow);
	font-family: var(--v3-gothic);
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 0.08em;
}

.v3-footer .v2-foot__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.v3-footer .v2-foot__list a {
	display: block;
	padding: 7px 0;
	color: #f2f2f2;
	line-height: 1.6;
	text-decoration: none;
}

.v3-footer .v2-foot__list a:hover {
	color: var(--v3-yellow);
	text-decoration: underline;
}

.v3-footer .v2-foot__logo {
	width: 56px;
	height: 56px;
	margin-bottom: 10px;
	border-radius: 12px;
	background: #fff;
}

.v3-footer .v2-foot__name {
	margin: 0 0 8px;
	font-family: var(--v3-gothic);
	font-size: 16px;
	font-weight: 900;
}

.v3-footer .v2-foot__addr {
	display: grid;
	gap: 4px;
	color: #d6d6d6;
	font-size: 13px;
	font-style: normal;
	line-height: 1.7;
}

.v3-footer .v2-foot__fb {
	display: inline-block;
	margin-top: 14px;
	font-size: 13px;
}

.v3-footer .v2-foot__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	max-width: calc(var(--v3-wrap) + var(--v3-gutter) * 2);
	margin: 0 auto;
	padding: 20px var(--v3-gutter) 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.v3-footer .v2-foot__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.v3-footer .v2-foot__legal a {
	display: inline-block;
	padding: 6px 0;
	color: #d6d6d6;
	font-size: 12px;
	text-decoration: none;
}

.v3-footer .v2-foot__legal a:hover {
	color: #fff;
	text-decoration: underline;
}

.v3-footer .v2-foot__copy {
	margin: 0;
	color: #bdbdbd;
	font-size: 12px;
}

/* ─── スマホ下部の固定メニュー ─── */

.v3-fixBar {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 90;
	padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
	background: rgba(255, 255, 255, 0.97);
	box-shadow: 0 -6px 18px -12px rgba(0, 0, 0, 0.4);
}

.v3-fixBar ul {
	display: grid;
	grid-auto-columns: 1fr;
	grid-auto-flow: column;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.v3-fixBar__link {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 48px;
	border: 2px solid var(--v3-ink);
	border-radius: 999px;
	background: #fff;
	color: var(--v3-ink);
	font-family: var(--v3-gothic);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.v3-fixBar__link.is-cta {
	border-color: var(--v3-orange);
	background: var(--v3-orange);
	color: #fff;
}

.v3-fixBar__link.is-cta:hover,
.v3-fixBar__link.is-cta:visited {
	color: #fff;
}

@media (max-width: 959px) {
	#body_wrap {
		padding-bottom: calc(68px + env(safe-area-inset-bottom));
	}
}

@media (min-width: 960px) {
	.v3-fixBar {
		display: none;
	}
}

/* ─── 本文の後の案内（footer-content: 最新のコラム・サービスの案内・よくあるご質問） ─── */

.caco-v3 .caco-before-footer {
	margin: 0;
	padding: clamp(48px, 6vw, 80px) var(--v3-gutter);
	background: var(--v3-wash);
	border: 0;
}

.caco-v3 .caco-before-footer > section {
	max-width: var(--v3-wrap);
	margin: 0 auto clamp(40px, 5vw, 64px);
}

.caco-v3 .caco-before-footer > section:last-child {
	margin-bottom: 0;
}

.caco-v3 :is(.caco-footer-columns__head, .caco-footer-faq__head) {
	margin-bottom: 24px;
	text-align: left;
}

.caco-v3 :is(.caco-footer-columns__title, .caco-footer-faq__title) {
	position: relative;
	display: block;
	margin: 0 0 6px;
	padding-left: 18px;
	color: var(--v3-ink);
	font-family: var(--v3-gothic);
	font-size: clamp(24px, 2.6vw, 32px);
	font-weight: 900;
	line-height: 1.35;
	letter-spacing: 0.04em;
}

.caco-v3 :is(.caco-footer-columns__title, .caco-footer-faq__title)::before {
	content: "";
	position: absolute;
	top: 0.2em;
	bottom: 0.2em;
	left: 0;
	width: 6px;
	border-radius: 3px;
	background: var(--v3-orange);
}

.caco-v3 :is(.caco-footer-columns__title, .caco-footer-faq__title)::after {
	display: none;
}

.caco-v3 :is(.caco-footer-columns__lead, .caco-footer-faq__lead) {
	margin: 0;
	padding-left: 18px;
	color: var(--v3-sub);
	font-size: 14px;
}

.caco-v3 .caco-footer-columns__item {
	border: 0;
	border-radius: var(--v3-radius);
	background: var(--v3-paper);
	box-shadow: var(--v3-shadow-sm);
	overflow: hidden;
}

.caco-v3 .caco-footer-columns__thumb {
	aspect-ratio: 16 / 10;
}

.caco-v3 .caco-footer-columns__head-title {
	color: var(--v3-ink);
	font-family: var(--v3-gothic);
	font-weight: 700;
	line-height: 1.6;
}

.caco-v3 .caco-footer-columns__date {
	color: var(--v3-faint);
	font-size: 12px;
}

/* サービスの案内（画像の代わりに黄色の地に名前） */
.caco-v3 .caco-footer-service-guide .caco-footer-columns__thumb--placeholder {
	aspect-ratio: auto;
	min-height: 84px;
	padding: 16px;
	background: var(--v3-yellow);
	color: var(--v3-ink);
	font-family: var(--v3-gothic);
	font-size: 17px;
	font-weight: 900;
	text-align: center;
}

.caco-v3 .caco-footer-service-guide .caco-footer-columns__head-title {
	color: var(--v3-sub);
	font-size: 14px;
	font-weight: 700;
}

.caco-v3 .caco-footer-columns__btn {
	border-radius: 999px;
	background: var(--v3-ink);
	color: #fff;
}

/* よくあるご質問（フッター直前・TOP・[caco_faq]） */
.caco-v3 :is(.caco-footer-faq__list, .caco-faq__list) {
	max-width: 880px;
	margin: 0;
}

.caco-v3 :is(.caco-footer-faq__item, .caco-faq__item) {
	margin: 0 0 12px;
	border: 2px solid transparent;
	border-radius: 14px;
	background: var(--v3-paper);
	box-shadow: var(--v3-shadow-sm);
}

.caco-v3 :is(.caco-footer-faq__item, .caco-faq__item)[open] {
	border-color: var(--v3-ink);
	box-shadow: none;
}

.caco-v3 :is(.caco-footer-faq__q, .caco-faq__q) {
	align-items: center;
	padding: 16px 20px;
	color: var(--v3-ink);
	font-family: var(--v3-gothic);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.6;
}

.caco-v3 :is(.caco-footer-faq__q-icon, .caco-faq__q-icon) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--v3-orange);
	color: #fff;
	font-size: 15px;
	font-weight: 900;
}

.caco-v3 :is(.caco-footer-faq__a, .caco-faq__a) {
	padding: 0 20px 18px;
	color: var(--v3-text);
	font-size: 15px;
	line-height: 1.85;
}

.caco-v3 :is(.caco-footer-faq__a-icon, .caco-faq__a-icon) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--v3-yellow);
	color: var(--v3-ink);
	font-size: 15px;
	font-weight: 900;
}

.caco-v3 :is(.caco-footer-faq__item, .caco-faq__item)[open] :is(.caco-footer-faq__q, .caco-faq__q) {
	background: none;
}

.caco-v3 :is(.caco-footer-faq__item, .caco-faq__item)[open] :is(.caco-footer-faq__q, .caco-faq__q)::after {
	color: var(--v3-orange);
}

.v3-front .caco-footer-faq {
	max-width: calc(var(--v3-wrap) + var(--v3-gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--v3-gutter);
	background: none;
}

.v3-front .caco-footer-faq__inner {
	padding: 0;
}

/* ─── 子テーマの部品（[caco_*]）の見出し・ボタン・書き手の箱・コラムの末尾の案内 ─── */

.caco-v3 :is(.caco-pricing__head, .caco-faq__head) {
	margin-bottom: 24px;
	text-align: left;
}

.caco-v3 :is(.caco-pricing__title, .caco-faq__title) {
	position: relative;
	margin: 0 0 6px;
	padding: 0.1em 0 0.1em 18px;
	color: var(--v3-ink);
	font-family: var(--v3-gothic);
	font-size: clamp(22px, 2.4vw, 28px);
	font-weight: 900;
	line-height: 1.45;
}

.caco-v3 :is(.caco-pricing__title, .caco-faq__title)::before {
	content: "";
	position: absolute;
	top: 0.2em;
	bottom: 0.2em;
	left: 0;
	width: 6px;
	border-radius: 3px;
	background: var(--v3-orange);
}

.caco-v3 :is(.caco-pricing__title, .caco-faq__title)::after {
	display: none;
}

.caco-v3 :is(.caco-pricing__lead, .caco-faq__lead) {
	margin: 0;
	padding-left: 18px;
	max-width: none;
}

.caco-v3 .caco-pricing-cta {
	margin: 2rem 0;
	text-align: center;
}

.caco-v3 .post_content a.caco-pricing-cta__btn,
.caco-v3 a.caco-pricing-cta__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	padding: 0 2.2em;
	border-radius: 999px;
	background: var(--v3-orange);
	color: #fff;
	font-family: var(--v3-gothic);
	font-weight: 700;
	text-decoration: none;
}

.caco-v3 a.caco-pricing-cta__btn:hover {
	background: var(--v3-orange-deep);
	color: #fff;
}

.caco-v3 .caco-proof {
	border-radius: var(--v3-radius);
}

.caco-v3 .caco-proof__num-val {
	color: var(--v3-orange);
	font-family: var(--v3-gothic);
	font-weight: 900;
}

/* LINE の案内（LINE の緑はそのまま） */
.caco-v3 .caco-line-cta__inner {
	border-radius: var(--v3-radius);
}

.caco-v3 .post_content a.caco-line-cta__btn {
	border-radius: 999px;
	text-decoration: none;
}

/* 書き手の箱（article-meta） */
.caco-v3 .post_content .caco-author {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	margin: 3em 0 1.5em;
	padding: 22px 24px;
	border: 2px solid var(--v3-ink);
	border-radius: var(--v3-radius);
	background: var(--v3-paper);
}

.caco-v3 .post_content .caco-author__img {
	flex: none;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	object-fit: cover;
}

.caco-v3 .post_content .caco-author__name {
	margin: 0 0 6px;
	color: var(--v3-ink);
	font-family: var(--v3-gothic);
	font-size: 17px;
	font-weight: 900;
	line-height: 1.5;
}

.caco-v3 .post_content .caco-author__title {
	display: block;
	color: var(--v3-sub);
	font-size: 12px;
	font-weight: 700;
}

.caco-v3 .post_content .caco-author__bio {
	margin: 0 0 8px;
	font-size: 14px;
	line-height: 1.8;
}

.caco-v3 .post_content .caco-author__link {
	margin: 0;
	font-size: 14px;
}

/* コラムの末尾の案内（分類ごとの CTA） */
.caco-v3 .post_content .caco-column-end-cta {
	margin: 1.5em 0 0;
	padding: 24px;
	border-radius: var(--v3-radius);
	background: var(--v3-yellow);
	text-align: center;
}

.caco-v3 .post_content .caco-column-end-cta__lead {
	margin: 0 0 12px;
	color: var(--v3-ink);
	font-family: var(--v3-gothic);
	font-weight: 900;
}

.caco-v3 .post_content a.caco-column-end-cta__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 2em;
	border-radius: 999px;
	background: var(--v3-ink);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.caco-v3 .post_content a.caco-column-end-cta__btn:hover {
	background: var(--v3-orange);
	color: #fff;
}

/* ─── 相談のページ（/contact/）の要約とフォーム ─── */

.v3-main .post_content > .v2-contact-intro {
	margin: 0 0 2em;
	padding: 1.4em 1.6em;
	border-radius: var(--v3-radius);
	background: var(--v3-yellow-soft);
}

.v3-main .v2-contact-intro__ttl {
	margin: 0 0 0.6em;
	color: var(--v3-ink);
	font-family: var(--v3-gothic);
	font-size: 1.25em;
	font-weight: 900;
}

.v3-main .post_content .v2-contact-intro__list {
	margin: 0;
	padding: 0 0 0 1.3em;
	background: none;
}

.v3-main .post_content .v2-contact-intro__list li {
	margin: 0;
	padding: 0.2em 0;
}

.caco-v3 .wpcf7 :is(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], textarea, select) {
	width: 100%;
	padding: 12px 14px;
	border: 2px solid var(--v3-rule);
	border-radius: 10px;
	background: #fff;
	font-size: 16px;
	transition: border-color 0.2s;
}

.caco-v3 .wpcf7 :is(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], textarea, select):focus {
	border-color: var(--v3-ink);
	outline: none;
	box-shadow: 0 0 0 3px rgba(36, 67, 196, 0.25);
}

.caco-v3 .wpcf7 .wpcf7-list-item {
	margin: 0 1.2em 0 0;
}

.caco-v3 .wpcf7 .wpcf7-list-item label {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
	min-height: 44px;
	cursor: pointer;
}

.caco-v3 .wpcf7 :is(input[type="radio"], input[type="checkbox"]) {
	width: 20px;
	height: 20px;
	accent-color: var(--v3-orange);
}

.caco-v3 .wpcf7 .wpcf7-not-valid-tip {
	margin-top: 0.4em;
	color: #a50f19;
	font-size: 14px;
	font-weight: 700;
}

.caco-v3 .caco-cf7-privacy {
	margin: 1.2em 0 0.8em;
	color: var(--v3-sub);
	font-size: 14px;
	text-align: center;
}

.caco-v3 .caco-cf7-actions {
	text-align: center;
}

.caco-v3 .wpcf7 :is(input[type="submit"], .wpcf7-submit, .wpcf7-confirm, input.wpcf7-back) {
	min-width: 260px;
	min-height: 56px;
	padding: 0 2em;
	border: 0;
	border-radius: 999px;
	background: var(--v3-orange);
	color: #fff;
	font-family: var(--v3-gothic);
	font-size: 17px;
	font-weight: 700;
	cursor: pointer;
}

.caco-v3 .wpcf7 :is(input[type="submit"], .wpcf7-submit, .wpcf7-confirm):hover {
	background: var(--v3-orange-deep);
}

.caco-v3 .wpcf7 input.wpcf7-back {
	margin: 1.5rem 0 0;
	border: 2px solid var(--v3-ink);
	background: #fff;
	color: var(--v3-ink);
}

/* ─── 決めるページの末尾の相談の囲み（design-v2 が本文の後ろに足す） ─── */

.v3-main .post_content > .v2-endcta {
	position: relative;
	margin: 3em 0 0;
	padding: 1.8em 1.6em 2em;
	overflow: hidden;
	border-radius: var(--v3-radius);
	background: var(--v3-blue);
	color: #fff;
	text-align: center;
}

.v3-main .post_content > .v2-endcta::before {
	content: "";
	position: absolute;
	top: -40px;
	right: -40px;
	width: 140px;
	height: 140px;
	border-radius: 50%;
	background: var(--v3-yellow);
	opacity: 0.9;
}

.v3-main .v2-endcta > * {
	position: relative;
}

.v3-main .v2-endcta__ttl {
	margin: 0 0 0.5em;
	color: #fff;
	font-family: var(--v3-gothic);
	font-size: 1.35em;
	font-weight: 900;
	word-break: auto-phrase;
	text-wrap: balance;
}

.v3-main .post_content .v2-endcta__text {
	margin: 0 0 1.2em;
	color: rgba(255, 255, 255, 0.92);
	font-size: 15px;
	line-height: 1.8;
}

.v3-main .post_content .v2-endcta__action {
	margin: 0;
}

.v3-main .post_content a.v2-endcta__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 260px;
	min-height: 56px;
	padding: 0 28px;
	border-radius: 999px;
	background: var(--v3-orange);
	color: #fff;
	font-family: var(--v3-gothic);
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 10px 20px -12px rgba(0, 0, 0, 0.6);
}

.v3-main .post_content a.v2-endcta__btn:hover {
	background: var(--v3-orange-deep);
	color: #fff;
}

.v3-main .v2-endcta :focus-visible {
	outline-color: #fff;
}

/* ─── v2 で作り直した固定ページ（/media/・/guide/）の題の帯と部品を、v3 の形に寄せる ─── */

.caco-v3 :is(.v2-m-hero, .v2-g-hero) {
	position: relative;
	overflow: hidden;
	background: transparent;
	border-bottom: 0;
}

.caco-v3 :is(.v2-m-hero, .v2-g-hero)::before {
	content: "";
	position: absolute;
	top: -60px;
	right: -40px;
	width: clamp(140px, 22vw, 280px);
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--v3-yellow);
	opacity: 0.55;
}

.caco-v3 :is(.v2-m-hero, .v2-g-hero) > * {
	position: relative;
}

.caco-v3 :is(.v2-m-hero__ttl, .v2-g-hero__ttl) {
	display: inline;
	font-size: clamp(28px, 4.2vw, 48px);
	font-weight: 900;
	line-height: 1.6;
	background: linear-gradient(transparent 64%, var(--v3-yellow) 64%, var(--v3-yellow) 92%, transparent 92%);
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

.caco-v3 :is(.v2-m-hero__ttl, .v2-g-hero__ttl) + * {
	margin-top: 20px;
}

.caco-v3 .v2-g-toc a {
	border: 0;
	border-left: 0;
	border-radius: 14px;
	box-shadow: var(--v3-shadow-sm);
}

.caco-v3 .v2-g-toc a:hover {
	background: var(--v3-yellow-soft);
}

.caco-v3 :is(.v2-page--media, .v2-page--guide) :is(a.v2-m-btn, a.v2-g-btn, .v2-m-btn, .v2-g-btn) {
	border-radius: 999px;
}

/* ─── 404・検索 ─── */

.v3-notfound {
	padding: clamp(40px, 6vw, 80px) 0;
	text-align: center;
}

.v3-notfound .v3-search {
	max-width: 480px;
	margin: 24px auto;
}

.v3-notfound__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 24px;
}

/* ─── 印刷 ─── */

@media print {
	.v3-header,
	.v3-drawer,
	.v3-fixBar,
	.v3-band {
		display: none !important;
	}
}
