@charset "UTF-8";
/* =========================================================
   refine.css ── デザイン洗練レイヤー（上品な微調整）
   既存CSSの後に読み込み、ブランドの青は維持したまま
   タイポグラフィ・余白・ボタン・カード・FAQ/関連リンクの質感を底上げする。
   既存レイアウトを壊さないよう、影響範囲を限定して上書きする。
   ========================================================= */

:root {
	--oz-navy: #0a335f;
	--oz-blue: #0651b6;
	--oz-blue-bright: #3c98ff;
	--oz-ink: #2b3440;
	--oz-muted: #5b6573;
	--oz-line: #e7ecf3;
	--oz-bg-soft: #f6f9fc;
	--oz-radius: 12px;
	--oz-shadow: 0 8px 30px rgba(10, 51, 95, .08);
	--oz-shadow-sm: 0 2px 10px rgba(10, 51, 95, .06);
}

/* ---------- 1. ベースのタイポグラフィ（全体の質感） ---------- */
body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	color: var(--oz-ink);
	text-rendering: optimizeLegibility;
	font-feature-settings: "palt"; /* 日本語の詰め組みで上品に */
}

/* 本文の可読性（コンテンツ領域に限定） */
.entry p,
.acf_block p,
.section p,
.blog-content p,
.column-content p {
	line-height: 1.95;
	letter-spacing: .02em;
	color: #38424f;
}

/* ---------- 2. 見出しのリズム（コンテンツ内） ---------- */
.entry h2,
.acf_block h2,
.column-content h2 {
	line-height: 1.5;
	letter-spacing: .02em;
	font-weight: 700;
}
.entry h3,
.acf_block h3,
.section h4,
.column-content h3 {
	line-height: 1.55;
	letter-spacing: .02em;
}

/* ---------- 3. リンク・フォーカス（アクセシビリティ） ---------- */
.entry a,
.column-content a {
	transition: color .2s ease, opacity .2s ease;
}
a:focus-visible,
button:focus-visible {
	outline: 2px solid var(--oz-blue-bright);
	outline-offset: 2px;
	border-radius: 3px;
}
html { scroll-behavior: smooth; }

/* ---------- 4. ボタンの洗練（色は維持し、動き・影・角を上品に） ---------- */
.btn,
.btncol .btn,
.btn-group .btn {
	border-radius: 8px;
	transition: transform .22s ease, box-shadow .22s ease, opacity .22s ease;
	will-change: transform;
}
.btn:hover,
.btncol .btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(6, 81, 182, .22);
}

/* ---------- 5. コンテンツ画像の質感 ---------- */
.entry img,
.column-content .thumbwrap img,
.acf_block figure img {
	border-radius: var(--oz-radius);
}
.column-content .thumbwrap img { box-shadow: var(--oz-shadow-sm); }

/* ---------- 6. よくあるご質問（FAQ）をカード型アコーディオン風に ---------- */
.seo-faq { margin: 3em 0; }
.seo-faq-ttl {
	font-size: 1.5em;
	font-weight: 700;
	color: var(--oz-navy);
	margin: 0 0 1em;
	padding: 0;
	border: 0;
	text-align: center;
	letter-spacing: .04em;
}
.seo-faq-ttl:after {
	content: "";
	display: block;
	width: 48px;
	height: 3px;
	margin: .5em auto 0;
	background: var(--oz-blue-bright);
	border-radius: 2px;
}
.seo-faq-list { display: grid; gap: 14px; }
.seo-faq-list dt {
	position: relative;
	margin: 0;
	padding: 18px 20px 18px 56px;
	background: #fff;
	border: 1px solid var(--oz-line);
	border-radius: var(--oz-radius);
	box-shadow: var(--oz-shadow-sm);
	font-weight: 700;
	color: var(--oz-navy);
	line-height: 1.6;
}
.seo-faq-list dt:before {
	content: "Q";
	position: absolute;
	left: 16px;
	top: 16px;
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--oz-blue);
	color: #fff;
	border-radius: 50%;
	font-size: .9em;
	font-weight: 700;
}
.seo-faq-list dd {
	position: relative;
	margin: -6px 0 4px;
	padding: 18px 20px 18px 56px;
	background: var(--oz-bg-soft);
	border: 1px solid var(--oz-line);
	border-top: 0;
	border-radius: 0 0 var(--oz-radius) var(--oz-radius);
	line-height: 1.9;
	color: #38424f;
}
.seo-faq-list dd:before {
	content: "A";
	position: absolute;
	left: 16px;
	top: 16px;
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #c8d3e2;
	color: #fff;
	border-radius: 50%;
	font-size: .9em;
	font-weight: 700;
}

/* ---------- 7. 関連リンク（ハブ&スポーク）の洗練 ---------- */
.seo-related-areas,
.seo-related-columns {
	margin: 2.6em 0;
	padding: 1.6em 1.8em;
	background: var(--oz-bg-soft);
	border: 1px solid var(--oz-line);
	border-radius: var(--oz-radius);
	box-shadow: var(--oz-shadow-sm);
}
.seo-related-ttl {
	font-weight: 700;
	color: var(--oz-navy);
	margin: 0 0 .9em;
	font-size: 1.08em;
	letter-spacing: .02em;
}
.seo-related-areas ul,
.seo-related-columns ul { list-style: none; margin: 0; padding: 0; }
.seo-related-areas li,
.seo-related-columns li {
	position: relative;
	margin: 0;
	border-top: 1px solid var(--oz-line);
}
.seo-related-areas li:first-child,
.seo-related-columns li:first-child { border-top: 0; }
.seo-related-areas li:before,
.seo-related-columns li:before {
	content: "›";
	position: absolute;
	left: 2px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--oz-blue-bright);
	font-size: 1.2em;
	font-weight: 700;
}
.seo-related-areas a,
.seo-related-columns a {
	display: block;
	padding: 13px 8px 13px 22px;
	text-decoration: none;
	color: var(--oz-ink);
	transition: color .2s ease, padding .2s ease;
}
.seo-related-areas a:hover,
.seo-related-columns a:hover {
	color: var(--oz-blue);
	padding-left: 28px;
	text-decoration: none;
}

/* ---------- 8. 選択範囲の色 ---------- */
::selection { background: rgba(60, 152, 255, .22); }

/* =========================================================
   Part 2 ── 各要素への展開（ヘッダー/フッター/CTA/本文要素）
   既存レイアウトは変えず、色・動き・余白の質感のみ底上げ。
   ========================================================= */

/* ---------- ヘッダーナビ：ホバーの動き ---------- */
.pc_navi a,
.main-menu-link,
.group_header_contact a {
	transition: color .2s ease, opacity .2s ease, transform .2s ease;
}
.pc_navi .main-menu-link:hover { opacity: .68; }
.group_header_contact a:hover { opacity: .9; }

/* ---------- パンくず：上品に ---------- */
.topic_path {
	letter-spacing: .02em;
}
.topic_path a {
	text-decoration: none;
	transition: color .2s ease;
}
.topic_path a:hover { color: var(--oz-blue-bright); }

/* ---------- フッター：リンクのホバー ---------- */
footer a { transition: opacity .2s ease, color .2s ease; }
footer .ft_link a:hover,
footer .fblock a:hover { opacity: .72; }

/* ---------- 記事内CTA：ボタンの折返し防止＋動き ---------- */
.column-cta .btn,
.cta-button,
.cta-button-tel,
.cta-button-contact {
	white-space: nowrap;
	transition: transform .22s ease, box-shadow .22s ease, opacity .22s ease;
}
.cta-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(6, 81, 182, .22);
}

/* ---------- 本文の表：罫線と見出し行を整理 ---------- */
.column-content .entry table,
.column-content table,
.entry table {
	border-collapse: collapse;
	width: 100%;
	margin: 1.8em 0;
	font-size: .96em;
	border: 1px solid var(--oz-line);
	border-radius: var(--oz-radius);
	overflow: hidden;
	box-shadow: var(--oz-shadow-sm);
}
.column-content th,
.column-content td,
.entry th,
.entry td {
	border: 1px solid var(--oz-line);
	padding: 12px 14px;
	line-height: 1.7;
	text-align: left;
}
.column-content th,
.entry th {
	background: var(--oz-bg-soft);
	color: var(--oz-navy);
	font-weight: 700;
}
.column-content tbody tr:nth-child(even) td,
.entry tbody tr:nth-child(even) td { background: #fbfcfe; }

/* ---------- 本文の引用 ---------- */
.column-content blockquote,
.entry blockquote {
	margin: 1.8em 0;
	padding: 1em 1.4em;
	border-left: 4px solid var(--oz-blue-bright);
	background: var(--oz-bg-soft);
	border-radius: 0 8px 8px 0;
	color: #455064;
}

/* ---------- 著者枠：写真の縁取り ---------- */
.author-box .profimage {
	border: 3px solid #fff;
	box-shadow: var(--oz-shadow-sm);
}

/* ---------- 共通サービステンプレートの導入セクション ---------- */
.service-page .svc-intro { text-align: center; }
.service-page .svc-lead {
	max-width: 880px;
	margin: 0 auto 2em;
	line-height: 2;
	letter-spacing: .02em;
	color: #38424f;
	font-size: 1.02em;
	text-align: left;
}
.service-page .svc-intro-photos {
	display: flex;
	gap: 20px;
	justify-content: center;
	flex-wrap: wrap;
}
.service-page .svc-intro-photos figure {
	margin: 0;
	flex: 1 1 320px;
	max-width: 420px;
}
.service-page .svc-intro-photos img {
	width: 100%;
	height: auto;
	border-radius: var(--oz-radius);
	box-shadow: var(--oz-shadow);
	display: block;
}
@media only screen and (max-width: 768px) {
	.service-page .svc-lead { margin-bottom: 1.4em; font-size: .98em; }
	.service-page .svc-intro-photos { gap: 14px; }
}

/* ---------- ファーストビュー直下CTAの間隔 ---------- */
.service-page .svc-fv-cta { margin-top: 0; margin-bottom: 2.4em; }

/* ---------- デスクトップ追従CTAバー ---------- */
.fixed_banner_pc { display: none; }
@media only screen and (min-width: 769px) {
	.fixed_banner_pc {
		display: block;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 9000;
		background: var(--oz-navy);
		box-shadow: 0 -6px 24px rgba(10, 51, 95, .18);
	}
	.fixed_banner_pc .fb-pc-inner {
		max-width: 1000px;
		margin: 0 auto;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 24px;
		padding: 12px 20px;
	}
	.fixed_banner_pc .fb-pc-label {
		color: #fff;
		font-weight: 700;
		letter-spacing: .06em;
		font-size: 1.02em;
		position: relative;
		padding-left: 26px;
	}
	.fixed_banner_pc .fb-pc-label:before {
		content: "✓";
		position: absolute;
		left: 0;
		color: var(--oz-blue-bright);
		font-weight: 700;
	}
	.fixed_banner_pc .fb-pc-tel {
		color: #fff;
		font-weight: 700;
		font-size: 1.7em;
		line-height: 1.1;
		letter-spacing: .02em;
		text-decoration: none;
		display: flex;
		flex-direction: column;
		font-family: "Josefin Sans", sans-serif;
	}
	.fixed_banner_pc .fb-pc-tel small {
		font-size: .42em;
		font-weight: 400;
		letter-spacing: .04em;
		opacity: .85;
		font-family: inherit;
	}
	.fixed_banner_pc .fb-pc-btn {
		background: var(--oz-blue-bright);
		color: #fff;
		font-weight: 700;
		text-decoration: none;
		padding: 14px 34px;
		border-radius: 8px;
		letter-spacing: .04em;
		transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
		white-space: nowrap;
	}
	.fixed_banner_pc .fb-pc-btn:hover {
		transform: translateY(-2px);
		box-shadow: 0 10px 22px rgba(60, 152, 255, .4);
		background: #2f8af2;
	}
	/* 追従バーが下層ページのコンテンツ最下部を隠さないように余白 */
	body.under { padding-bottom: 76px; }
}
@media only screen and (max-width: 768px) {
	.fixed_banner_pc { display: none !important; }
}

/* =========================================================
   Part 3 ── サービスページ(.svc-page / .service-page)の最適化
   ① ヒーロー高さを抑制（ファーストビュー離脱対策）
   ② 本文の文字サイズを読みやすく拡大
   ③ 導入後CTAの圧を緩和
   既存の他ページ・交通事故ページには影響させない限定スコープ。
   ========================================================= */

/* ① ヒーロー（上部キービジュアル）を低めに */
@media only screen and (min-width: 769px) {
	.svc-page .key,
	.svc-page .key .inner {
		height: 300px !important;
		min-height: 300px !important;
	}
}
@media only screen and (max-width: 768px) {
	.svc-page .key,
	.svc-page .key .inner {
		height: 190px !important;
		min-height: 190px !important;
	}
}

/* ② 本文の可読性（文字を大きく・行間広め）
   ※ style.css の「.under .inner p {font-size:14px}」(詳細度0,0,2,1)に勝つため !important で確実に上書き */
.service-page .svc-lead { font-size: 16px !important; line-height: 2.05 !important; }
.service-page .ta-trouble-title { font-size: 18px !important; line-height: 1.5; }
.service-page .ta-trouble-desc { font-size: 15.5px !important; line-height: 1.85 !important; }
.service-page .ta-reason-content h3 { font-size: 20px !important; line-height: 1.5; }
.service-page .ta-reason-card p { font-size: 16px !important; line-height: 1.9 !important; }
.service-page .ta-flow-step-content h3 { font-size: 19px !important; line-height: 1.5; }
.service-page .ta-flow-step-content p { font-size: 16px !important; line-height: 1.85 !important; }
.service-page .ta-service-item h3 { font-size: 18px !important; line-height: 1.5; }
.service-page .ta-service-item p { font-size: 16px !important; line-height: 1.8 !important; }
.service-page .ta-lawyer-profile p { font-size: 16px !important; line-height: 1.95 !important; }
@media only screen and (max-width: 768px) {
	.service-page .ta-trouble-desc,
	.service-page .ta-reason-card p,
	.service-page .ta-flow-step-content p,
	.service-page .ta-service-item p,
	.service-page .ta-lawyer-profile p,
	.service-page .svc-lead { font-size: 15px !important; }
}

/* ③ 導入後CTAの圧を緩和（パディング・サイズを少し抑える） */
.service-page .svc-fv-cta { padding: 28px 24px; margin: 1.6em 0 2.6em; }
.service-page .svc-fv-cta .ta-inline-cta-text { font-size: 17px; }

/* ④ ヒーロー見出しの洗練リビール演出（読み込み時に1回）
   スクリムで奥行き → 英字トラッキングイン → 日本語ワイプアップ → アクセント下線。 */

/* スクリム（テキストの視認性＋上質な奥行き） */
.svc-page .key { position: relative; }
.svc-page .key::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(105deg, rgba(7, 26, 54, .58) 0%, rgba(7, 26, 54, .26) 50%, rgba(7, 26, 54, 0) 100%);
}
.svc-page .key .inner,
.svc-page .key .key_text { position: relative; z-index: 2; }

/* 英字ラベル：トラッキングイン（字間が締まりながらフェード） */
.svc-page .key .key_text p.f-en {
	opacity: 0;
	animation: ozFenIn 0.9s cubic-bezier(.16, 1, .3, 1) 0.25s forwards;
}
@keyframes ozFenIn {
	0%   { opacity: 0; letter-spacing: .7em; transform: translateY(6px); }
	100% { opacity: 1; letter-spacing: .14em; transform: translateY(0); }
}

/* ヒーローの日本語サブ見出し（装飾）：下からワイプアップ＋フェード */
.svc-page .key .key_text p:not(.f-en) {
	position: relative;
	opacity: 0;
	clip-path: inset(0 0 110% 0);
	animation: ozTitleIn 1s cubic-bezier(.16, 1, .3, 1) 0.6s forwards;
}
@keyframes ozTitleIn {
	0%   { opacity: 0; clip-path: inset(0 0 110% 0); transform: translateY(16px); }
	100% { opacity: 1; clip-path: inset(0 0 -10% 0); transform: translateY(0); }
}

/* アクセント下線が中央から引かれる */
.svc-page .key .key_text p:not(.f-en)::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -14px;
	height: 2px;
	width: 0;
	transform: translateX(-50%);
	background: var(--oz-blue-bright);
	box-shadow: 0 0 12px rgba(60, 152, 255, .8);
	animation: ozUnderline 0.7s cubic-bezier(.16, 1, .3, 1) 1.3s forwards;
}
@keyframes ozUnderline { to { width: 64px; } }

/* 本文の主見出し（H1）：キーワード＋訴求の一文。アクセント下線つき */
.svc-page .svc-body-h1 {
	text-align: center;
	font-size: 28px;
	line-height: 1.65;
	font-weight: 700;
	color: var(--oz-navy);
	letter-spacing: .03em;
	margin: 0 0 1.3em;
	padding-bottom: .65em;
	position: relative;
}
.svc-page .svc-body-h1::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: 60px;
	height: 3px;
	background: var(--oz-blue-bright);
	border-radius: 2px;
}
@media only screen and (max-width: 768px) {
	.svc-page .svc-body-h1 { font-size: 20px; line-height: 1.6; }
}

/* アクセシビリティ：モーション抑制設定では即時表示 */
@media (prefers-reduced-motion: reduce) {
	.svc-page .key .key_text p { opacity: 1 !important; clip-path: none !important; animation: none !important; }
	.svc-page .key .key_text p:not(.f-en)::after { animation: none; width: 64px; }
}

/* =========================================================
   Part 5 ── サービスページの余白・読みやすさ調整
   ========================================================= */

/* コンテンツ幅と左右パディングを対称に（左40/右0の偏りを解消） */
.service-page .inner {
	max-width: 1080px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 40px !important;
	padding-right: 40px !important;
	box-sizing: border-box;
}

/* 本文主見出し：パンくずからの上余白＋下を少しゆとり */
.service-page .svc-body-h1 {
	margin-top: .9em;
	margin-bottom: 1.6em;
}

/* セクション間の縦リズムを均一に・ややゆとり */
.service-page .ta-section { margin-bottom: 88px; }

/* 導入文：行間と前後の余白を読みやすく */
.service-page .svc-intro { margin-bottom: 2.8em; }
.service-page .svc-lead { line-height: 2.1 !important; margin-bottom: 1.8em; }

/* カード内のテキストの行間に余裕（読みやすさ） */
.service-page .ta-reason-content p,
.service-page .ta-flow-step-content p,
.service-page .ta-service-item p { margin-top: .5em; }

/* スマホの余白最適化 */
@media only screen and (max-width: 768px) {
	.service-page .inner { padding-left: 18px !important; padding-right: 18px !important; }
	.service-page .ta-section { margin-bottom: 52px; }
	.service-page .svc-body-h1 { margin-top: .6em; margin-bottom: 1.2em; }
	.service-page .svc-intro { margin-bottom: 2em; }
}

/* =========================================================
   Part 6 ── 見出しの洗練（信頼感のあるネイビー＋上品な英字ケビー）
   ========================================================= */

/* セクション見出し（英字ラベル＋日本語） */
.service-page .ta-section > h2 {
	color: var(--oz-navy) !important;     /* 安心感のあるネイビー */
	font-size: 29px;
	font-weight: 700;
	letter-spacing: .07em;
	line-height: 1.55;
	margin-bottom: 46px;
}
/* 英字ケビー：両側に細いラインを添えた上品なラベル ─── TROUBLES ─── */
.service-page .ta-section > h2 .eng {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .32em;
	color: var(--oz-blue-bright);
	margin-bottom: 16px;
}
.service-page .ta-section > h2 .eng::before,
.service-page .ta-section > h2 .eng::after {
	content: "";
	display: block;
	width: 30px;
	height: 1px;
	background: currentColor;
	opacity: .5;
}

/* カード等の小見出しもネイビーで統一 */
.service-page .ta-reason-content h3,
.service-page .ta-flow-step-content h3,
.service-page .ta-service-item h3 {
	color: var(--oz-navy) !important;
	letter-spacing: .02em;
}

/* 本文の主見出し（H1）：下線をグラデーションにして上質に */
.service-page .svc-body-h1 {
	font-size: 27px;
	letter-spacing: .04em;
	line-height: 1.7;
}
.service-page .svc-body-h1::after {
	width: 72px;
	height: 3px;
	background: linear-gradient(90deg, var(--oz-blue), var(--oz-blue-bright));
	border-radius: 2px;
}

@media only screen and (max-width: 768px) {
	.service-page .ta-section > h2 { font-size: 22px; margin-bottom: 34px; }
	.service-page .ta-section > h2 .eng { font-size: 11px; gap: 10px; }
	.service-page .ta-section > h2 .eng::before,
	.service-page .ta-section > h2 .eng::after { width: 18px; }
	.service-page .svc-body-h1 { font-size: 20px; }
}

/* 幅を狭くしたヒーローの見出し位置をやや下げる（PCで上寄りに見えるのを補正） */
.svc-page .key .key_text,
.page-contact .key .key_text,
.page-recruit .key .key_text,
.page-consultantflow .key .key_text { transform: translateY(34px); }
.page-column .key .key_text { transform: translateY(20px); }
@media only screen and (max-width: 768px) {
	.svc-page .key .key_text,
	.page-contact .key .key_text,
	.page-recruit .key .key_text,
	.page-consultantflow .key .key_text { transform: translateY(16px); }
	.page-column .key .key_text { transform: translateY(10px); }
}

/* =========================================================
   Part 7 ── 本文主見出し（H1）＋サブ文の構成
   ========================================================= */
.service-page .svc-body-head {
	text-align: center;
	position: relative;
	margin: .9em 0 2em;
	padding-bottom: 1em;
}
.service-page .svc-body-head::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: 72px;
	height: 3px;
	background: linear-gradient(90deg, var(--oz-blue), var(--oz-blue-bright));
	border-radius: 2px;
}
.service-page .svc-body-h1 {
	font-size: 31px;
	line-height: 1.5;
	letter-spacing: .04em;
	margin: 0 0 .5em;
	padding: 0;
}
.service-page .svc-body-h1::after { display: none; }  /* 旧・H1直下の下線を解除 */
.service-page .svc-body-sub {
	font-size: 15px;
	line-height: 1.75;
	letter-spacing: .04em;
	color: var(--oz-muted);
	margin: 0;
	font-weight: 500;
}
@media only screen and (max-width: 768px) {
	.service-page .svc-body-h1 { font-size: 21px; }
	.service-page .svc-body-sub { font-size: 13.5px; }
}

/* =========================================================
   Part 8 ── コラム記事のファーストビュー短縮（離脱対策）
   巨大なヒーロー＋アイキャッチで本文が画面外になるのを防ぐ。
   ========================================================= */
@media only screen and (min-width: 769px) {
	.page-column .key,
	.page-column .key .inner {
		height: 230px !important;
		min-height: 230px !important;
	}
}
@media only screen and (max-width: 768px) {
	.page-column .key,
	.page-column .key .inner {
		height: 150px !important;
		min-height: 150px !important;
	}
}
/* アイキャッチは切らずに全体を表示（画像内のテキストが切れないように） */
.column-content .thumbwrap { margin: 1.4em 0 1.8em; text-align: center; }
.column-content .thumbwrap img {
	width: 100%;
	height: auto;
	object-fit: contain;
	display: block;
}

/* コラムのヒーロー文字を小さく（コンパクトな帯に合わせる） */
.page-column .key .key_text p.f-en { font-size: 34px !important; }
.page-column .key .key_text p:not(.f-en) { font-size: 17px !important; line-height: 1.5 !important; }
@media only screen and (max-width: 768px) {
	.page-column .key .key_text p.f-en { font-size: 24px !important; }
	.page-column .key .key_text p:not(.f-en) { font-size: 14px !important; }
}

/* 記事本文の読みやすさ */
.column-content p { line-height: 2.0; letter-spacing: .03em; }
.column-content li { font-size: 16px; line-height: 1.95; }
.column-content h2 { margin-top: 2.2em; }
.column-content h3 { margin-top: 1.8em; }
.column-content h4 { margin-top: 1.5em; }

/* =========================================================
   Part 9 ── 記事ページ(コラム)の洗練：目次・見出し・著者ボックス
   ネイビー基調＋細いアクセントで読みやすく上質に。
   ========================================================= */

/* ---- 目次(TOC) ---- */
.column-content .toc {
	background: #fff !important;
	border: 1px solid var(--oz-line) !important;
	border-left: 4px solid var(--oz-blue-bright) !important;
	border-radius: 10px !important;
	box-shadow: var(--oz-shadow-sm);
	padding: 24px 30px !important;
}
.column-content .toc .toc-title {
	color: var(--oz-navy) !important;
	border-bottom-color: var(--oz-line) !important;
	letter-spacing: .06em;
}
.column-content .toc ul li a {
	transition: color .2s ease, padding-left .2s ease;
}
.column-content .toc ul li a:hover { color: var(--oz-blue) !important; padding-left: 24px !important; }
.column-content .toc ul li a::before { color: var(--oz-blue-bright) !important; }

/* ---- 見出し h2（ネイビー＋グラデーション左アクセントの箱） ---- */
.column-content h2 {
	color: var(--oz-navy) !important;
	background: var(--oz-bg-soft) !important;
	border-radius: 8px !important;
	padding: 16px 22px 16px 28px !important;
	letter-spacing: .02em;
}
.column-content h2::before {
	background: linear-gradient(180deg, var(--oz-blue), var(--oz-blue-bright)) !important;
	width: 5px !important;
	border-radius: 8px 0 0 8px !important;
}
.column-content h2::after { display: none !important; }  /* 箱内の薄い線は省きすっきり */

/* ---- 見出し h3（ネイビー＋下線＋短いアクセント） ---- */
.column-content h3 {
	color: var(--oz-navy) !important;
	font-weight: 700;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--oz-line);
	letter-spacing: .02em;
}
.column-content h3::after {
	background: var(--oz-blue-bright) !important;
	height: 2px !important;
	width: 52px !important;
	bottom: -1px !important;
}

/* ---- 見出し h4（ネイビー＋細いアクセント下線） ---- */
.column-content h4 {
	color: var(--oz-navy) !important;
	border-bottom: 1px solid var(--oz-line) !important;
	padding-bottom: 8px !important;
	position: relative;
}
.column-content h4::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 40px;
	height: 2px;
	background: var(--oz-blue-bright);
}

/* ---- 著者ボックス（監修弁護士）を上質なカードに ---- */
.author-box {
	background: #fff !important;
	border: 1px solid var(--oz-line);
	border-radius: 12px !important;
	box-shadow: var(--oz-shadow-sm);
	padding: 30px 32px !important;
	align-items: center;
}
.author-box .proftitle {
	background-color: var(--oz-navy) !important;
	border-radius: 100px;
	letter-spacing: .06em;
	padding: 3px 16px !important;
}
.author-box .profname { color: var(--oz-navy) !important; }
.author-box .profdesc { font-size: 15px !important; color: #4a5568 !important; line-height: 1.9 !important; }

@media only screen and (max-width: 768px) {
	.column-content .toc { padding: 18px 18px !important; }
	.column-content h2 { padding: 14px 16px 14px 22px !important; }
	.author-box { padding: 22px 20px !important; }
}

/* =========================================================
   Part 10 ── お問い合わせページ：ヒーロー縮小＋EFO最適化フォーム
   ========================================================= */

/* ヒーローをサービスページ同様にコンパクトに */
@media only screen and (min-width: 769px) {
	.page-contact .key,
	.page-contact .key .inner { height: 300px !important; min-height: 300px !important; }
}
@media only screen and (max-width: 768px) {
	.page-contact .key,
	.page-contact .key .inner { height: 180px !important; min-height: 180px !important; }
}
.page-contact .key .key_text p.f-en { font-size: 40px !important; }
.page-contact .key .key_text p:not(.f-en) { font-size: 18px !important; }

/* ---- EFO最適化フォーム ---- */
.contact-table { max-width: 720px; margin: 0 auto; }
.contact-table dl {
	display: block !important;
	margin: 0 0 22px !important;
	border: none !important;
	background: none !important;
	padding: 0 !important;
}
.contact-table dt {
	display: block !important;
	width: auto !important;
	background: none !important;
	border: none !important;
	font-weight: 700;
	color: var(--oz-navy);
	font-size: 15px;
	margin: 0 0 8px !important;
	padding: 0 !important;
}
.contact-table dt span { /* 必須バッジ */
	display: inline-block;
	background: #e8533a;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	border-radius: 4px;
	padding: 2px 9px;
	margin-left: 8px;
	vertical-align: middle;
	letter-spacing: .06em;
}
.contact-table dd { display: block !important; width: auto !important; padding: 0 !important; margin: 0 !important; }
.contact-table input[type="text"],
.contact-table input[type="email"],
.contact-table input[type="tel"],
.contact-table textarea {
	width: 100%;
	box-sizing: border-box;
	font-size: 16px;
	padding: 14px 16px;
	border: 1.5px solid #d4dce6;
	border-radius: 8px;
	background: #fff;
	transition: border-color .2s ease, box-shadow .2s ease;
	-webkit-appearance: none;
	appearance: none;
}
.contact-table textarea { min-height: 170px; line-height: 1.8; resize: vertical; }
.contact-table input:focus,
.contact-table textarea:focus {
	border-color: var(--oz-blue-bright);
	box-shadow: 0 0 0 3px rgba(60, 152, 255, .18);
	outline: none;
}
.contact-table input::placeholder,
.contact-table textarea::placeholder { color: #9aa6b4; }

/* 同意チェック */
.contact-agree { text-align: center; margin: 6px 0 2px; font-size: 15px; }
.contact-agree a { color: var(--oz-blue); text-decoration: underline; }
.contact-agree input[type="checkbox"] { width: 18px; height: 18px; vertical-align: -3px; margin-right: 6px; accent-color: var(--oz-blue); }

/* 安心訴求 */
.contact-reassure { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin: 18px 0 6px; }
.contact-reassure .cr-item { position: relative; padding-left: 22px; color: var(--oz-navy); font-weight: 700; font-size: 14px; }
.contact-reassure .cr-item::before { content: "✓"; position: absolute; left: 0; color: var(--oz-blue-bright); }

/* 送信ボタン */
.input_btn { text-align: center; margin: 26px 0 0; }
.input_btn input[type="submit"],
.input_btn .wpcf7-submit {
	background: linear-gradient(135deg, var(--oz-blue), var(--oz-blue-bright));
	color: #fff;
	font-weight: 700;
	font-size: 17px;
	letter-spacing: .08em;
	border: none;
	border-radius: 10px;
	padding: 16px 52px;
	cursor: pointer;
	box-shadow: 0 8px 22px rgba(6, 81, 182, .28);
	transition: transform .2s ease, box-shadow .2s ease;
	-webkit-appearance: none;
}
.input_btn input[type="submit"]:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(6, 81, 182, .36); }
.input_btn .wpcf7-previous { background: #eef2f7 !important; color: var(--oz-navy) !important; box-shadow: none !important; margin-left: 12px; }

/* エラー表示 */
.contact-table .wpcf7-not-valid { border-color: #e8533a !important; background: #fff7f6 !important; }
.wpcf7-not-valid-tip { color: #e8533a; font-size: 13px; margin-top: 6px; display: block; }
.wpcf7-response-output { border-radius: 8px; }

/* 確認画面の値表示 */
.confirm-table dd { font-size: 16px; padding: 6px 0 !important; color: var(--oz-ink); }

/* フォーム各行の旧テーブル罫線を完全に除去 */
.contact-table dl,
.contact-table dt,
.contact-table dd { border: 0 !important; }

/* フォームコンテナの旧枠を除去（個別の入力枠のみ見せる） */
.contact-table { border: 0 !important; }

/* =========================================================
   Part 11 ── 採用ページ
   ========================================================= */
@media only screen and (min-width: 769px) {
	.page-recruit .key,
	.page-recruit .key .inner { height: 300px !important; min-height: 300px !important; }
}
@media only screen and (max-width: 768px) {
	.page-recruit .key,
	.page-recruit .key .inner { height: 180px !important; min-height: 180px !important; }
}
.page-recruit .key .key_text p.f-en { font-size: 40px !important; }
.page-recruit .key .key_text p:not(.f-en) { font-size: 18px !important; }

/* 募集要項テーブル */
.recruit-table {
	width: 100%;
	max-width: 820px;
	margin: 0 auto;
	border-collapse: collapse;
	border: 1px solid var(--oz-line);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: var(--oz-shadow-sm);
}
.recruit-table th,
.recruit-table td {
	text-align: left;
	padding: 16px 22px;
	border-bottom: 1px solid var(--oz-line);
	font-size: 15.5px;
	line-height: 1.85;
	vertical-align: top;
}
.recruit-table th {
	width: 28%;
	background: var(--oz-bg-soft);
	color: var(--oz-navy);
	font-weight: 700;
	white-space: nowrap;
}
.recruit-table tr:last-child th,
.recruit-table tr:last-child td { border-bottom: 0; }
@media only screen and (max-width: 768px) {
	.recruit-table th, .recruit-table td { display: block; width: auto; }
	.recruit-table th { border-bottom: 0; padding-bottom: 4px; }
}

/* メッセージ・注記 */
.recruit-message .svc-lead { text-align: left; }
.recruit-sign { display: block; text-align: right; margin-top: 1.2em; font-weight: 700; color: var(--oz-navy); }
.recruit-note { text-align: center; color: var(--oz-muted); font-size: 13px; margin-top: 14px; }
.recruit-entry-lead { text-align: center; margin-bottom: 1.8em; color: #4a5568; }

/* 任意バッジ・ファイル入力 */
.contact-table dt span.any { background: #8a97a6 !important; }
.contact-table input[type="file"] {
	width: 100%;
	box-sizing: border-box;
	font-size: 15px;
	padding: 12px 14px;
	border: 1.5px dashed #c2cdda;
	border-radius: 8px;
	background: #fbfcfe;
	cursor: pointer;
}
.contact-table .file-note { display: block; margin-top: 6px; font-size: 13px; color: var(--oz-muted); }

/* フッターの採用情報リンク（動線） */
.ft_recruit { margin-top: 16px; }
.ft_recruit a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #fff;
	text-decoration: none;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: .04em;
	border: 1px solid rgba(255, 255, 255, .55);
	border-radius: 100px;
	padding: 9px 24px;
	transition: background .2s ease, border-color .2s ease, opacity .2s ease;
}
.ft_recruit a .en {
	font-family: "Josefin Sans", sans-serif;
	letter-spacing: .12em;
	font-size: 12px;
	opacity: .9;
}
.ft_recruit a:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }

/* =========================================================
   Part 12 ── ご相談の流れ（/consultantflow/）の洗練
   ========================================================= */

/* ヒーロー縮小 */
@media only screen and (min-width: 769px) {
	.page-consultantflow .key,
	.page-consultantflow .key .inner { height: 300px !important; min-height: 300px !important; }
}
@media only screen and (max-width: 768px) {
	.page-consultantflow .key,
	.page-consultantflow .key .inner { height: 180px !important; min-height: 180px !important; }
}
.page-consultantflow .key .key_text p.f-en { font-size: 38px !important; }
.page-consultantflow .key .key_text p:not(.f-en) { font-size: 18px !important; }

/* ステップ：青バー → ネイビーのカード型に */
.under .step-frame-1 {
	border: 1px solid var(--oz-line) !important;
	border-radius: 12px;
	box-shadow: var(--oz-shadow-sm);
	overflow: hidden;
	background: #fff;
}
.under .step-frame-1:not(:last-child) { margin-bottom: 58px; }
/* ステップ間の矢印（ネイビー系のシェブロン色に） */
.under .step-frame-1:not(:last-child):before {
	border-width: 16px 22px 0 !important;
	border-color: var(--oz-blue-bright) transparent transparent !important;
	bottom: -34px !important;
}
/* タイトルバー */
.under .step-frame-1 dt {
	background: var(--oz-navy) !important;
	padding: 15px 24px !important;
	align-items: center;
}
.under .step-frame-1 dt .p_title { font-size: 18px; gap: 16px; }
.under .step-frame-1 dt .number {
	width: 40px !important;
	height: 40px !important;
	background: var(--oz-blue-bright) !important;
	border: none !important;
	font-family: "Josefin Sans", sans-serif;
	font-weight: 700;
	font-size: 17px;
}
.under .step-frame-1 .ttl_txt { font-size: 18px; font-weight: 700; letter-spacing: .02em; }
/* 本文 */
.under .step-frame-1 dd { padding: 22px 26px !important; }
.under .step-frame-1 dd p { line-height: 2.0; }
.under .step-frame-1 .box_h5 {
	background: var(--oz-bg-soft);
	border: 1px solid var(--oz-line);
	border-radius: 8px;
	padding: 16px 20px;
	margin-top: 18px !important;
}
.under .step-frame-1 .box_h5 h5 { color: var(--oz-navy); margin: 0 0 8px; font-weight: 700; }
.under .step-frame-1 .box_h5 .ud_tl { color: var(--oz-navy); font-weight: 600; }

/* ステップのタイトルバー内テキストを白に（.section p の継承で黒くなる問題を修正） */
.under .step-frame-1 dt,
.under .step-frame-1 dt .p_title,
.under .step-frame-1 dt .ttl_txt,
.under .step-frame-1 dt .title,
.under .step-frame-1 dt span { color: #fff !important; }

/* ご相談の流れ：サービスページ同様の見出し＋ヒーロースクリム */
.page-consultantflow .key { position: relative; }
.page-consultantflow .key::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(105deg, rgba(7, 26, 54, .58) 0%, rgba(7, 26, 54, .26) 50%, rgba(7, 26, 54, 0) 100%);
}
.page-consultantflow .key .inner,
.page-consultantflow .key .key_text { position: relative; z-index: 2; }

/* ※ 見出し・横幅・余白は専用テンプレ consultantflow-page.php（.service-page）の共通スタイルで対応 */

/* =========================================================
   取扱分野ナビ（回遊強化）
   ========================================================= */
.svc-nav-groups {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
	max-width: 980px;
	margin: 0 auto;
	text-align: left;
}
.svc-nav-gtitle {
	font-weight: 700;
	color: var(--oz-navy);
	font-size: 15px;
	letter-spacing: .04em;
	padding-bottom: 10px;
	margin: 0 0 6px;
	border-bottom: 2px solid var(--oz-blue-bright);
}
.svc-nav-group ul { list-style: none; margin: 0; padding: 0; }
.svc-nav-group a {
	display: block;
	position: relative;
	padding: 11px 0 11px 16px;
	color: var(--oz-ink);
	text-decoration: none;
	border-bottom: 1px solid var(--oz-line);
	font-size: 14.5px;
	transition: color .2s ease, padding-left .2s ease;
}
.svc-nav-group li:last-child a { border-bottom: 0; }
.svc-nav-group a::before {
	content: "›";
	position: absolute;
	left: 2px;
	color: var(--oz-blue-bright);
	font-weight: 700;
}
.svc-nav-group a:hover { color: var(--oz-blue); padding-left: 22px; }
@media only screen and (max-width: 768px) {
	.svc-nav-groups { grid-template-columns: repeat(2, 1fr); gap: 14px 22px; }
}

/* 取扱分野ナビの見出しを自己完結スタイルに（コラム等.ta-*未読込ページでも崩れない） */
.svc-nav { margin: 3.2em 0; }
.svc-nav > h2 {
	text-align: center;
	color: var(--oz-navy);
	font-size: 26px;
	font-weight: 700;
	letter-spacing: .06em;
	line-height: 1.5;
	margin: 0 0 1.8em;
	padding: 0;
	border: 0;
	background: none;
}
.svc-nav > h2 .eng {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	font-family: "Josefin Sans", sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .3em;
	color: var(--oz-blue-bright);
	margin-bottom: 12px;
}
.svc-nav > h2 .eng::before,
.svc-nav > h2 .eng::after {
	content: "";
	width: 28px;
	height: 1px;
	background: currentColor;
	opacity: .5;
}
@media only screen and (max-width: 768px) {
	.svc-nav > h2 { font-size: 21px; }
}

/* 取扱分野ナビ見出し：コラムの記事h2の箱スタイルを拾わないよう解除 */
.svc-nav > h2 {
	background: none !important;
	padding: 0 !important;
	border-radius: 0 !important;
}
.svc-nav > h2::before,
.svc-nav > h2::after { display: none !important; }

/* コラムの目次：シンプルに（淡い背景・左寄せ・チェブロン無し・番号のみ） */
.column-content .toc {
	background: var(--oz-bg-soft) !important;
	border: 1px solid var(--oz-line) !important;
	border-radius: 8px !important;
	box-shadow: none !important;
	padding: 20px 24px !important;
}
.column-content .toc .toc-title {
	text-align: left !important;
	border-bottom: 0 !important;
	padding-bottom: 0 !important;
	margin-bottom: 10px !important;
	font-size: 15px !important;
	color: var(--oz-navy) !important;
	letter-spacing: .04em;
}
.column-content .toc ul li {
	padding: 5px 0 !important;
	font-size: 14.5px !important;
}
.column-content .toc ul li a {
	padding-left: 0 !important;
	color: var(--oz-ink) !important;
}
.column-content .toc ul li a::before { display: none !important; content: "" !important; }
.column-content .toc ul li a:hover { color: var(--oz-blue) !important; padding-left: 0 !important; }
/* 入れ子（小見出し）は軽くインデント */
.column-content .toc ul ul { padding-left: 18px !important; }
