@charset "UTF-8";
/**
 * コラム機能 専用スタイル
 * すべて .oaride-col 配下に限定し、既存サイト（Astra + Elementor）へ干渉しない。
 * Figmaデザインを忠実に再現（Figmaに無い装飾は追加しない）。
 * ------------------------------------------------------------------ */

.oaride-col {
	--col-navy: #233a66;
	--col-gold: #d4b45d;
	--col-gray: #d9d9d9;
	--col-box:  #fafafa;
	--col-line: #dddddd;
	--col-ink:  #000000;
	--col-inner: 1160px;

	font-family: "Noto Sans JP", "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--col-ink);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;

	/* 右の固定追従バー（Elementor, 幅120px/80px）分の余白。各セクションで個別に確保する */
	--col-rail: 120px;
}

/* 既存テーマ（Astra）の上部パンくずはコラム用の独自パンくずと重複するため非表示（column系ページのみ読込のCSSなので他ページに影響なし） */
.ast-header-breadcrumb,
.ast-breadcrumbs-wrapper {
	display: none !important;
}

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

.oaride-col img {
	max-width: 100%;
	height: auto;
	display: block;
}

.oaride-col a {
	color: inherit;
	text-decoration: none;
}

/* 共通インナー */
.oaride-col__inner {
	width: min(var(--col-inner), 100% - 40px);
	margin-inline: auto;
}

/* ============================================================
   ページヘッダー: COLUMN / コラム（白背景・上）＋ KV画像（下）
   ※ 既存サイト（/service/ 等）と同じ「タイトルは白地の上、その下にKV画像」構成
   ============================================================ */
.oaride-col__pagehead {
	background: transparent;
	padding-block: clamp(32px, 4vw, 56px) clamp(20px, 3vw, 32px);
}

.oaride-col__pagehead-title {
	margin: 0;
	line-height: 1;
}

.oaride-col__pagehead-en {
	display: block;
	font-size: clamp(40px, 6vw, 72px);
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--col-ink);
}

.oaride-col__pagehead-ja {
	display: block;
	margin-top: 14px;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0.2em;
	color: var(--col-ink);
}

/* KV画像・パンくずバーは box コンテナ(1240px)の外までビューポート全幅で表示 */
.oaride-col__kv,
.oaride-col__breadcrumb-bar {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.oaride-col__kv {
	height: clamp(220px, 34vw, 500px);
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

/* パンくずバー（ネイビー帯・右寄せ白文字）。バーは全幅、文字は固定バーに隠れないよう右余白を確保 */
.oaride-col__breadcrumb-bar {
	background: var(--col-navy);
}

.oaride-col__breadcrumb-bar > .oaride-col__inner {
	padding-right: var(--col-rail);
}

.oaride-col__breadcrumb {
	min-height: 50px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.oaride-col__breadcrumb ol {
	list-style: none;
	margin: 0;
	padding: 8px 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 0;
	font-size: 14px;
	color: #fff;
}

.oaride-col__breadcrumb li {
	display: inline-flex;
	align-items: center;
}

.oaride-col__breadcrumb li:not(:first-child)::before {
	content: ">";
	margin: 0 0.6em;
	color: rgba(255, 255, 255, 0.7);
}

.oaride-col__breadcrumb a:hover {
	text-decoration: underline;
}

/* ============================================================
   2カラムレイアウト
   ============================================================ */
.oaride-col__layout {
	display: flex;
	align-items: flex-start;
	gap: 50px;
	padding-block: 60px 100px;
	/* カード等が右の固定バーに隠れないように */
	padding-right: var(--col-rail);
}

/* ---- サイドバー ---- */
.oaride-col__sidebar {
	flex: 0 0 270px;
	max-width: 270px;
}

.oaride-col__side-title {
	margin: 0;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--col-navy);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
}

.oaride-col__side-list {
	list-style: none;
	margin: 0;
	padding: 0 16px;
	background: var(--col-box);
}

.oaride-col__side-list li {
	border-bottom: 1px solid var(--col-line);
}

.oaride-col__side-list li:last-child {
	border-bottom: none;
}

.oaride-col__side-list a,
.oaride-col__side-list span {
	display: block;
	padding: 14px 2px;
	font-size: 16px;
	font-weight: 500;
	color: var(--col-ink);
}

.oaride-col__side-list a:hover,
.oaride-col__side-list li.is-current a {
	color: var(--col-navy);
	font-weight: 700;
}

/* ---- メインコンテンツ ---- */
.oaride-col__content {
	flex: 1 1 auto;
	min-width: 0;
}

/* セクション見出し（コラム一覧 / 関連記事）+ ゴールド三角アイコン */
.oaride-col__heading {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0 0 32px;
	font-size: clamp(26px, 3vw, 38px);
	font-weight: 700;
	color: var(--col-ink);
}

.oaride-col__heading-icon {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	background: var(--col-gold);
	/* Figmaの三角形（左上）: M50 0 H0 V50 L50 0 Z */
	clip-path: polygon(0 0, 100% 0, 0 100%);
}

/* ============================================================
   カードグリッド（一覧・関連記事 共通）
   ============================================================ */
.oaride-col__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 50px 60px;
}

.oaride-col__card {
	background: transparent;
}

.oaride-col__card-link {
	display: block;
}

.oaride-col__card-thumb {
	position: relative;
	aspect-ratio: 3 / 2;
	background: var(--col-gray);
	overflow: hidden;
}

.oaride-col__card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.oaride-col__card-link:hover .oaride-col__card-thumb img {
	transform: scale(1.05);
}

.oaride-col__card-noimg {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--col-gray);
}

.oaride-col__card-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px 12px;
	margin-top: 20px;
}

.oaride-col__card-date {
	flex-shrink: 0;
	font-size: 16px;
	font-weight: 500;
	color: var(--col-ink);
}

.oaride-col__card-title {
	margin: 12px 0 0;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.75;
	color: var(--col-navy);
}

.oaride-col__card-excerpt {
	margin: 12px 0 0;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.875;
	color: var(--col-ink);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* カテゴリバッジ（ネイビー） */
.oaride-col__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 100px;
	max-width: 100%;
	min-height: 30px;
	padding: 4px 10px;
	background: var(--col-navy);
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.35;
	text-align: center;
	/* 長いカテゴリ名でもカード幅を超えてはみ出さない（必要なら折り返す） */
	white-space: normal;
	overflow-wrap: anywhere;
}

/* ============================================================
   ページネーション（数字ボックス 50x60）
   ============================================================ */
.oaride-col__pagination {
	margin-top: 60px;
}

.oaride-col__pagination .nav-links {
	display: flex;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
}

.oaride-col .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 60px;
	background: #fff;
	border: 1px solid var(--col-navy);
	color: var(--col-navy);
	font-size: 18px;
	font-weight: 700;
	transition: background 0.2s ease, color 0.2s ease;
}

.oaride-col .page-numbers:hover,
.oaride-col .page-numbers.current {
	background: var(--col-navy);
	color: #fff;
}

.oaride-col .page-numbers.dots {
	border: none;
	background: transparent;
	color: var(--col-ink);
}

/* ============================================================
   コラム詳細（single）
   ============================================================ */
.oaride-col__single-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 20px;
}

.oaride-col__single-dates {
	font-size: 16px;
	font-weight: 500;
	color: var(--col-ink);
}

.oaride-col__single-title {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin: 0 0 40px;
	font-size: clamp(26px, 3.4vw, 38px);
	font-weight: 700;
	line-height: 1.5;
	color: var(--col-ink);
}

/* タイトル左のゴールド三角マーカー（見出しアイコンと同じ形） */
.oaride-col__single-title::before {
	content: "";
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	margin-top: 0.15em;
	background: var(--col-gold);
	clip-path: polygon(0 0, 100% 0, 0 100%);
}

.oaride-col__single-thumb {
	margin: 0 0 40px;
}

.oaride-col__single-thumb img {
	width: 100%;
	aspect-ratio: 33 / 20;
	object-fit: cover;
	background: var(--col-gray);
}

/* ---- 目次 ---- */
.oaride-col__toc {
	background: var(--col-box);
	border: 1px solid var(--col-line);
	padding: 24px 28px;
	margin: 0 0 40px;
}

.oaride-col__toc-title {
	margin: 0 0 14px;
	text-align: center;
	font-size: 18px;
	font-weight: 700;
	color: var(--col-navy);
}

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

.oaride-col__toc-list li {
	margin: 8px 0;
	font-size: 15px;
	line-height: 1.6;
}

.oaride-col__toc-list li.is-h3 {
	margin-left: 1.2em;
	list-style: circle;
	font-size: 14px;
}

.oaride-col__toc-list a:hover {
	color: var(--col-navy);
	text-decoration: underline;
}

/* ---- 本文 ---- */
.oaride-col__single-body {
	font-size: 16px;
	line-height: 1.875;
	color: var(--col-ink);
}

.oaride-col__single-body > * {
	margin-top: 0;
	margin-bottom: 1.6em;
}

.oaride-col__single-body h2 {
	display: flex;
	align-items: center;
	gap: 20px;
	font-size: 20px;
	font-weight: 700;
	color: var(--col-ink);
	line-height: 1.6;
	margin: 2.4em 0 1em;
}

/* H2左のゴールド短線マーカー */
.oaride-col__single-body h2::before {
	content: "";
	flex: 0 0 48px;
	height: 4px;
	background: var(--col-gold);
}

.oaride-col__single-body h3 {
	font-size: 20px;
	font-weight: 700;
	color: var(--col-gold);
	line-height: 1.6;
	margin: 2em 0 1em;
}

.oaride-col__single-body a {
	color: var(--col-navy);
	text-decoration: underline;
}

.oaride-col__single-body img {
	margin-inline: auto;
}

.oaride-col__single-body ul,
.oaride-col__single-body ol {
	padding-left: 1.5em;
}

/* ---- 関連記事 ---- */
.oaride-col__related {
	margin-top: 90px;
}

.oaride-col__empty {
	font-size: 16px;
	padding: 40px 0;
}

/* ============================================================
   共通CONTACTセクション（フッター直前・全コラムページ共通）
   ============================================================ */
/* 既存サイトのCONTACTセクションの実測値に合わせて再現
   （CONTACT 95px/700, お問い合わせ 30px/400, 説明 16px/lh29, セクション余白120px,
     メールlabel 20px/600/ls1.4, 電話番号 38px/700, 時間 12px, アイコン35px, 文字色#000/白） */
.oaride-col__contact {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	padding-block: clamp(64px, 9vw, 120px);
}

.oaride-col__contact-inner {
	/* 中央寄せを保ちつつ、左右に右固定バー分の余白を確保して隠れないように */
	width: min(1040px, calc(100vw - var(--col-rail) - var(--col-rail) - 48px));
	margin-inline: auto;
	text-align: center;
}

.oaride-col__contact-title {
	margin: 0;
	line-height: 1.05;
}

.oaride-col__contact-en {
	display: block;
	font-size: clamp(44px, 6.6vw, 95px);
	font-weight: 700;
	color: #000;
}

.oaride-col__contact-ja {
	display: block;
	margin-top: 4px;
	font-size: clamp(18px, 2.1vw, 30px);
	font-weight: 400;
	color: #000;
}

.oaride-col__contact-lead {
	margin: 24px 0 0;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.8;
	color: #000;
	padding-inline: 30px;
}

.oaride-col__contact-actions {
	display: flex;
	justify-content: center;
	align-items: stretch;
	gap: 20px;
	margin-top: 44px;
}

.oaride-col__contact-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	flex: 1 1 0;
	max-width: 440px;
	min-height: 90px;
	padding: 20px;
	color: #fff;
	transition: background-color 0.2s ease;
}

.oaride-col__contact-btn--mail {
	background: var(--col-gold);
}

.oaride-col__contact-btn--mail:hover {
	background: #e9cf85;
}

.oaride-col__contact-btn--tel {
	background: var(--col-navy);
}

.oaride-col__contact-btn--tel:hover {
	background: #4162a1;
}

.oaride-col__contact-icon {
	width: 35px;
	height: 35px;
	flex: 0 0 auto;
	color: #fff;
}

.oaride-col__contact-btn-label {
	font-size: clamp(17px, 1.6vw, 20px);
	font-weight: 600;
	letter-spacing: 1.4px;
	line-height: 1.4;
}

.oaride-col__contact-btn-main {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	line-height: 1.1;
}

.oaride-col__contact-tel {
	font-size: clamp(28px, 2.9vw, 38px);
	font-weight: 700;
	letter-spacing: 0.01em;
}

.oaride-col__contact-hours {
	font-size: 12px;
	font-weight: 400;
	margin-top: 3px;
}

/* ============================================================
   レスポンシブ
   ============================================================ */
/* 右固定バー幅に合わせた余白（デスクトップ120px / タブレット80px / モバイル0） */
@media (max-width: 1024px) {
	.oaride-col {
		--col-rail: 80px;
	}
}

@media (max-width: 767px) {
	.oaride-col {
		--col-rail: 0px;
	}
}

@media (max-width: 900px) {
	.oaride-col__layout {
		flex-direction: column;
		gap: 40px;
		padding-block: 40px 64px;
	}
	.oaride-col__sidebar {
		flex-basis: auto;
		max-width: none;
		width: 100%;
	}
}

@media (max-width: 600px) {
	.oaride-col__grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}
	.oaride-col__pagehead-en {
		letter-spacing: 0.04em;
	}
	.oaride-col__breadcrumb ol {
		justify-content: flex-start;
	}
	.oaride-col__breadcrumb {
		justify-content: flex-start;
	}
	.oaride-col .page-numbers {
		width: 42px;
		height: 50px;
		font-size: 16px;
	}
	.oaride-col__pagination .nav-links {
		gap: 12px;
	}
	/* CONTACTボタンをSPで縦積み */
	.oaride-col__contact-actions {
		flex-direction: column;
		gap: 16px;
		margin-top: 36px;
	}
	.oaride-col__contact-btn {
		max-width: none;
		width: 100%;
		min-height: 76px;
	}
}
