/*
Theme Name: urihotel2026
Theme URI: https://www.urihotel.jp/
Description: 全国売ホテル・旅館ナビ（株式会社ホテル旅館経営研究所）のテーマ
Author: SYNC
Author URI: https://www.sync-g.com/
Version: 1.0
*/

/* =========================================================
   1. 変数・ベース
   ======================================================= */

:root {
	--red: #d8232a;
	--red-dark: #ab171d;
	--red-pale: #fdeced;
	--text: #333130;
	--muted: #7b7772;
	--line: #e4e0d9;
	--bg: #f4f2ee;
	--panel: #fff;
	--radius: 10px;
	--shadow: 0 1px 3px rgba(0, 0, 0, .06);
	--sidebar-w: 240px;
	--gap: 20px;
	--max: 1280px;
}

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

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", "Noto Sans JP", Meiryo, sans-serif;
	font-size: 15px;
	line-height: 1.7;
	-webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dl, dd { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.icon { width: 1em; height: 1em; flex: none; }

.u-visually-hidden {
	position: absolute;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}


/* =========================================================
   2. ヘッダー
   ======================================================= */

.site-header {
	background: var(--panel);
	border-bottom: 1px solid var(--line);
	position: sticky;
	top: 0;
	z-index: 50;
	/* 下を流れるコンテンツとの境目をはっきりさせる */
	box-shadow: 0 2px 6px rgba(0, 0, 0, .06);
}

.site-header__inner {
	max-width: calc(var(--max) + 32px);
	margin: 0 auto;
	padding: 12px 16px;
	display: flex;
	align-items: center;
	gap: 20px;
}

.site-logo { flex: none; margin-right: 15px; }
.site-logo img { width: 265px; }

.site-search {
	flex: 1;
	max-width: 360px;
	display: flex;
	align-items: center;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
	overflow: hidden;
	padding-left: 14px;
}

.site-search__icon { width: 18px; height: 18px; color: var(--muted); }

.site-search input {
	flex: 1;
	min-width: 0;
	border: 0;
	padding: 9px 10px;
	font-size: 14px;
	background: none;
}
.site-search input:focus { outline: none; }

.site-search__submit {
	background: var(--red);
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	padding: 9px 22px;
	border-radius: 999px;
}
.site-search__submit:hover { background: var(--red-dark); }

.site-actions {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 10px;
	flex: none;
}

.site-contact {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--red);
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	padding: 10px 20px;
	border-radius: 6px;
	transition: background .15s ease;
}
.site-contact:hover { background: var(--red-dark); }
.site-contact .icon { width: 18px; height: 18px; }

/* 関連サイト（ホテル旅館経営研究所）へのリンク。お問い合わせより一段弱く見せる */
.site-hrcc {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 9px 16px;
	border: 1px solid var(--line);
	border-radius: 6px;
	font-size: 13px;
	font-weight: 700;
	color: var(--text);
	white-space: nowrap;
	transition: border-color .15s ease, color .15s ease;
}
.site-hrcc:hover { border-color: var(--red); color: var(--red); }
.site-hrcc .icon { width: 14px; height: 14px; color: var(--muted); }
.site-hrcc:hover .icon { color: var(--red); }

.nav-toggle { display: none; color: var(--red); }
.nav-toggle .icon { width: 28px; height: 28px; stroke-width: 2; }
.nav-toggle__close { display: none; }


/* =========================================================
   3. レイアウト
   ======================================================= */

/* --max はコンテンツ幅（240 + 20 + 1020 = 1280）。左右の余白は外側に足す */
.layout {
	max-width: calc(var(--max) + 32px);
	margin: 0 auto;
	padding: 20px 16px 60px;
	display: grid;
	grid-template-columns: var(--sidebar-w) minmax(0, 1fr);
	gap: var(--gap);
	align-items: start;
}

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


/* =========================================================
   4. サイドナビ
   ======================================================= */

.site-sidebar { display: flex; flex-direction: column; gap: 14px; }

.side-block {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 12px;
	box-shadow: var(--shadow);
}

.side-block__title {
	font-size: 15px;
	font-weight: 700;
	color: var(--red);
	padding: 0 2px 8px;
	margin-bottom: 6px;
	border-bottom: 1px solid var(--line);
}

/* 物件の種類 */
.side-types li + li { border-top: 1px solid var(--line); }
.side-types a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 4px;
	font-size: 15px;
	font-weight: 700;
}
.side-types a:hover { color: var(--red); }
.side-types__icon { width: 26px; height: 26px; flex: none; }
.side-types__name { flex: 1; }
.side-types__arrow { width: 14px; height: 14px; color: #c3bfb8; }

/* 目的・特集 */
.side-purpose li + li { margin-top: 2px; }
.side-purpose a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 4px;
	font-size: 15px;
	line-height: 1.45;
	font-weight: 700;
}
.side-purpose a:hover { color: var(--red); }
.side-purpose__icon {
	width: 34px; height: 34px;
	flex: none;
	display: grid;
	place-items: center;
	background: var(--red-pale);
	border-radius: 50%;
	color: var(--red);
}
.side-purpose__icon .icon { width: 18px; height: 18px; }

/* 目的から探す のイラスト。線のアイコンより大きく見せる */
.side-purpose__img {
	width: 46px;
	height: 46px;
	flex: none;
	object-fit: contain;
}

/* 一覧リンク */
.side-list li + li { margin-top: 6px; }
.side-list a {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 9px 10px;
	font-size: 15px;
	font-weight: 700;
	border: 1px solid var(--line);
	border-radius: 6px;
}
.side-list a:hover { border-color: var(--red); color: var(--red); }
.side-list__mark { width: 12px; height: 12px; color: var(--red); }

/* テキストリンク */
.side-text li { font-size: 15px; }
.side-text a { display: block; padding: 4px 2px; }
.side-text a::before { content: "▶"; color: var(--red); font-size: 9px; margin-right: 6px; }
.side-text a:hover { color: var(--red); }

/* バナー */
.side-banner { display: flex; flex-direction: column; gap: 8px; }
/* 元画像の幅がまちまちなので、枠に合わせて揃える */
.side-banner img { width: 100%; }


/* =========================================================
   5. メインビジュアル（エリアから探す）
   ======================================================= */

.hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 50%;
	gap: 16px;
	min-height: 470px;
	padding: 36px 40px;
	margin-bottom: 20px;
	border-radius: var(--radius);
	overflow: hidden;
	background: #24303c url("images/topmain-back.png") center / cover no-repeat;
	color: #fff;
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(0, 0, 0, .72) 26%, rgba(0, 0, 0, .28) 62%, rgba(0, 0, 0, .1));
}

.hero__body { position: relative; align-self: start; }

.hero__title {
	font-size: 40px;
	font-weight: 800;
	line-height: 1.32;
	letter-spacing: .03em;
	text-shadow: 0 2px 12px rgba(0, 0, 0, .55);
}

.hero__lead {
	margin-top: 12px;
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	text-shadow: 0 1px 8px rgba(0, 0, 0, .7);
}

.hero__areas {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 24px;
	max-width: 440px;
}
.hero__areas a {
	display: block;
	min-width: 96px;
	text-align: center;
	padding: 9px 16px;
	background: rgba(255, 255, 255, .94);
	color: var(--text);
	border-radius: 4px;
	font-size: 15px;
	font-weight: 700;
	transition: background .15s ease, color .15s ease;
}
.hero__areas a:hover { background: var(--red); color: #fff; }

/* 特集への導線。エリアのボタンとは別のものだと分かる見た目にする */
.hero__features {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 18px;
	max-width: 440px;
}
.hero__features li { flex: 1 1 200px; }
.hero__features a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 9px 10px;
	background: rgba(20, 18, 16, .72);
	border: 1px solid rgba(255, 255, 255, .9);
	border-radius: 6px;
	transition: background .15s ease, border-color .15s ease;
}
.hero__features a:hover { background: var(--red); border-color: #fff; }
.hero__features-icon {
	flex: none;
	width: 28px; height: 28px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, .92);
	color: var(--red);
}
.hero__features a:hover .hero__features-icon { background: #fff; color: var(--red); }
.hero__features-icon .icon { width: 16px; height: 16px; }
.hero__features-text {
	flex: 1;
	min-width: 0;
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
}
.hero__features-arrow { width: 12px; height: 12px; color: #fff; flex: none; }
.hero__features a:hover .hero__features-arrow { color: #fff; }

/* 地図
   余白の分だけ外へはみ出させて、ヒーローの高さいっぱいまで大きく見せる */
.hero__map {
	position: relative;
	min-height: 400px;
	margin: -36px -24px -36px 0;
}
.hero__map-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	opacity: .95;
	filter: drop-shadow(0 3px 10px rgba(0, 0, 0, .45));
}

.hero__pin {
	position: absolute;
	transform: translate(-50%, -50%);
	white-space: nowrap;
	padding: 6px 14px;
	background: rgba(255, 255, 255, .96);
	color: var(--text);
	border-radius: 4px;
	font-size: 14px;
	font-weight: 700;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .4);
	transition: background .15s ease, color .15s ease;
}
.hero__pin:hover { background: var(--red); color: #fff; z-index: 2; }


/* =========================================================
   6. パネル（セクション共通）
   ======================================================= */

.panel {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 20px;
	margin-bottom: 20px;
	box-shadow: var(--shadow);
}

.panel__title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 19px;
	font-weight: 700;
	padding-bottom: 14px;
	margin-bottom: 16px;
	border-bottom: 1px solid var(--line);
}
.panel__icon { width: 22px; height: 22px; color: var(--red); }

.panel__more {
	margin-left: auto;
	font-size: 12px;
	font-weight: 700;
	padding: 5px 16px;
	border: 1px solid var(--line);
	border-radius: 999px;
}
.panel__more:hover { border-color: var(--red); color: var(--red); }

.panel__foot { margin-top: 18px; text-align: center; }
.panel__empty { color: var(--muted); }

.btn-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 11px 46px;
	border: 1px solid var(--line);
	border-radius: 6px;
	font-size: 14px;
	font-weight: 700;
}
.btn-more:hover { border-color: var(--red); color: var(--red); }
.btn-more .icon { width: 14px; height: 14px; }

/* 物件の種類グリッド（SP用） */
.panel--types { display: none; }
.type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.type-grid a {
	display: grid;
	place-items: center;
	gap: 6px;
	padding: 14px 6px;
	border: 1px solid var(--line);
	border-radius: 8px;
	font-size: 13px;
	font-weight: 700;
	text-align: center;
}
.type-grid img { width: 34px; height: 34px; }


/* =========================================================
   7. 物件リスト
   ======================================================= */

.bukken-list { display: flex; flex-direction: column; gap: 14px; }

.bukken {
	display: grid;
	grid-template-columns: 190px minmax(0, 1fr) 300px;
	gap: 16px;
	padding: 12px;
	border: 1px solid var(--line);
	border-radius: 8px;
}
.bukken:hover { border-color: #cfc9c0; }

.bukken__thumb { position: relative; }
.bukken__thumb img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 6px;
}
.bukken__badge {
	position: absolute;
	top: 6px; left: 6px;
	background: var(--red);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	padding: 2px 10px;
	border-radius: 3px;
}

.bukken__title { font-size: 17px; font-weight: 700; line-height: 1.5; }
.bukken__title a:hover { color: var(--red); }

.bukken__tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.bukken__tags li {
	font-size: 11px;
	padding: 2px 10px;
	border: 1px solid var(--line);
	border-radius: 3px;
	color: var(--muted);
}

.bukken__facilities { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; }
.bukken__facilities li {
	display: grid;
	justify-items: center;
	gap: 2px;
	font-size: 10px;
	color: var(--muted);
	min-width: 40px;
}
.bukken__facilities .icon { width: 22px; height: 22px; color: var(--text); }

.bukken__spec { display: flex; flex-direction: column; gap: 10px; }
.bukken__spec dl {
	display: grid;
	grid-template-columns: 66px minmax(0, 1fr);
	border: 1px solid var(--line);
	border-radius: 4px;
	overflow: hidden;
	font-size: 12px;
}
.bukken__spec dt {
	background: #faf9f7;
	padding: 7px 8px;
	font-weight: 700;
	border-bottom: 1px solid var(--line);
}
.bukken__spec dd {
	padding: 7px 10px;
	border-bottom: 1px solid var(--line);
	overflow-wrap: anywhere;
}
.bukken__spec dt:nth-last-of-type(1), .bukken__spec dd:nth-last-of-type(1) { border-bottom: 0; }

.btn-detail {
	align-self: flex-end;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 34px;
	border: 1px solid var(--red);
	border-radius: 5px;
	color: var(--red);
	font-size: 13px;
	font-weight: 700;
}
.btn-detail:hover { background: var(--red); color: #fff; }
.btn-detail .icon { width: 13px; height: 13px; }


/* =========================================================
   8. コラム・新着情報
   ======================================================= */

.column-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.column-card__thumb img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 6px;
}
.column-card__title { font-size: 15px; font-weight: 700; margin-top: 10px; }
.column-card__text {
	font-size: 13px;
	color: var(--muted);
	margin-top: 6px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.column-card__more {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 8px;
	font-size: 12px;
	font-weight: 700;
	color: var(--red);
}
.column-card__more .icon { width: 12px; height: 12px; }
.column-card a:hover .column-card__title { color: var(--red); }

.news-list li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 4px;
	font-size: 14px;
	border-bottom: 1px dashed var(--line);
}
.news-list li:last-child { border-bottom: 0; }
.news-list__badge {
	background: var(--red);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	padding: 2px 9px;
	border-radius: 3px;
	flex: none;
}
.news-list time { color: var(--muted); font-size: 13px; flex: none; }
.news-list a:hover { color: var(--red); text-decoration: underline; }


/* =========================================================
   9. フッター
   ======================================================= */

.site-footer { background: var(--panel); border-top: 1px solid var(--line); }

.footer-links {
	max-width: calc(var(--max) + 32px);
	margin: 0 auto;
	padding: 22px 16px;
	border-bottom: 1px solid var(--line);
}
.footer-links ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px 44px;
}
.footer-links a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
}
.footer-links a:hover { color: var(--red); }
.footer-links .icon { width: 20px; height: 20px; color: var(--muted); }

.footer-bottom {
	max-width: calc(var(--max) + 32px);
	margin: 0 auto;
	padding: 24px 16px;
	display: flex;
	justify-content: center;
}
.footer-logo img { width: 230px; }
.footer-logo { opacity: .95; transition: opacity .15s ease; }
.footer-logo:hover { opacity: 1; }

.footer-copy {
	text-align: center;
	font-size: 12px;
	color: var(--muted);
	padding: 0 16px 26px;
}


/* =========================================================
   10. レスポンシブ
   ======================================================= */

@media (max-width: 1023px) {

	.site-header__inner { gap: 12px; flex-wrap: wrap; }
	.site-logo img { width: 210px; }
	.site-search { order: 3; flex-basis: 100%; max-width: none; }
	.site-search input { padding: 5px 10px; }
	.site-search__submit { padding: 5px 20px; }
	.site-contact { padding: 9px 14px; }
	.site-contact span { display: none; }
	.nav-toggle { display: block; flex: none; }

	/* ホテル旅館経営研究所へのリンクはドロワーとフッターにもあるため、
	   狭い幅ではヘッダーから外して1行に収める */
	.site-hrcc { display: none; }

	/* サイドナビをドロワーに */
	.layout { grid-template-columns: minmax(0, 1fr); padding-top: 14px; }

	.site-sidebar {
		position: fixed;
		top: 0; right: 0; bottom: 0;
		width: min(320px, 86vw);
		z-index: 100;
		padding: 16px;
		background: var(--bg);
		overflow-y: auto;
		transform: translateX(100%);
		transition: transform .25s ease;
	}
	.site-sidebar.is-open { transform: none; }

	.nav-overlay {
		position: fixed;
		inset: 0;
		z-index: 99;
		background: rgba(0, 0, 0, .45);
	}

	body.nav-open { overflow: hidden; }
	body.nav-open .nav-toggle__open { display: none; }
	body.nav-open .nav-toggle__close { display: block; }

	/* SPは種類グリッドをコンテンツ側に出す */
	.panel--types { display: block; }

	/* メインビジュアル */
	.hero {
		grid-template-columns: minmax(0, 1fr);
		min-height: 0;
		/* 地図を出さないので、下端はボタンで終わる。余白を確保する */
		padding: 28px 20px;
	}
	.hero::before { background: linear-gradient(180deg, rgba(0, 0, 0, .55) 40%, rgba(0, 0, 0, .1)); }
	.hero__title { font-size: 30px; }
	/* flexだと最後の1つが余った幅まで伸びるので、3列のグリッドで揃える */
	.hero__areas {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		max-width: none;
		margin-top: 20px;
	}
	.hero__areas a { min-width: 0; }
	/* 地図は添え物になるので小さく。PCで付けた食い込みも戻す */
	/* 地図はピンが押せず添え物にしかならないので出さない */
	.hero__map { display: none; }

	.hero__features { max-width: none; margin-top: 14px; }
	.hero__features li { flex: 1 1 100%; }

	/* 物件カード */
	.bukken { grid-template-columns: 130px minmax(0, 1fr); }
	.bukken__spec { grid-column: 1 / -1; }
	.bukken__facilities { gap: 10px; }

	.column-list { grid-template-columns: minmax(0, 1fr); }

	.footer-links ul { gap: 10px 20px; }
	.footer-links a { font-size: 12px; }
	.footer-logo img { width: 200px; }
}

@media (max-width: 599px) {
	.bukken { grid-template-columns: minmax(0, 1fr); }
	.bukken__spec dl { grid-template-columns: 62px minmax(0, 1fr); }
	.btn-detail { align-self: stretch; justify-content: center; }
	.news-list li { flex-wrap: wrap; gap: 6px 10px; }
	.news-list a { flex-basis: 100%; }
	.panel { padding: 16px 14px; }
	.panel__title { font-size: 17px; }
}


/* =========================================================
   11. 固定ページ・検索結果・404
   ======================================================= */

/* 固定ページ本文（the_content） */
.entry-content { font-size: 15px; line-height: 1.9; }
.entry-content p { margin: 0 0 1.4em; }
.entry-content p:last-child { margin-bottom: 0; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin: 1.8em 0 .8em; font-weight: 700; }
.entry-content h2 { font-size: 20px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.entry-content h3 { font-size: 17px; }
.entry-content h4 { font-size: 15px; }
.entry-content ul, .entry-content ol { margin: 0 0 1.4em; padding-left: 1.4em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li + li { margin-top: .4em; }
.entry-content img { border-radius: 6px; }
.entry-content a { color: var(--red); text-decoration: underline; }
.entry-content blockquote {
	margin: 1.4em 0;
	padding: 12px 18px;
	border-left: 3px solid var(--line);
	color: var(--muted);
}

/* ページ分割リンク（wp_link_pages） */
.page-links {
	margin-top: 24px;
	padding-top: 16px;
	border-top: 1px solid var(--line);
	font-size: 13px;
	font-weight: 700;
}
.page-links a {
	display: inline-flex;
	min-width: 28px;
	justify-content: center;
	margin: 0 4px;
	padding: 4px 8px;
	border: 1px solid var(--line);
	border-radius: 4px;
}
.page-links a:hover { border-color: var(--red); color: var(--red); }

/* 404・検索結果0件 */
.empty-state { padding: 10px 0 4px; text-align: center; }
.empty-state p { margin: 0 0 20px; color: var(--muted); }
.empty-state__actions { margin-bottom: 28px; }
.empty-state .site-search { margin: 0 auto; }

/* 検索結果リスト（news-list流用） */
.news-list--search li { display: block; padding: 14px 4px; }
.news-list--search .news-list__row { display: flex; align-items: center; gap: 12px; }
.news-list--search .news-list__excerpt {
	margin-top: 6px;
	font-size: 13px;
	color: var(--muted);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ページネーション（the_posts_pagination） */
.screen-reader-text {
	position: absolute;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.pagination { margin-top: 24px; text-align: center; }
.pagination .nav-links { display: inline-flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	border: 1px solid var(--line);
	border-radius: 6px;
	font-size: 13px;
	font-weight: 700;
}
.pagination .page-numbers:hover { border-color: var(--red); color: var(--red); }
.pagination .page-numbers.current { background: var(--red); border-color: var(--red); color: #fff; }
.pagination .page-numbers.dots { border: 0; }


/* =========================================================
   12. 固定ページ：ステップフロー（sale / buy / ma で使用）
   ======================================================= */

.flow-list { counter-reset: flow-step; margin: 8px 0 4px; }

.flow-list__item {
	position: relative;
	display: flex;
	gap: 16px;
	padding-bottom: 28px;
}
.flow-list__item:last-child { padding-bottom: 0; }

.flow-list__item::before {
	counter-increment: flow-step;
	content: counter(flow-step);
	flex: none;
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--red);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
}
.flow-list__item:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 36px;
	bottom: 0;
	left: 17px;
	width: 2px;
	background: var(--line);
}

.flow-list__body { flex: 1; min-width: 0; padding-top: 6px; }
.flow-list__title { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.flow-list__text { font-size: 14px; color: var(--muted); line-height: 1.85; }
.flow-list__text + .flow-list__text { margin-top: 6px; }

@media (max-width: 599px) {
	.flow-list__item { gap: 12px; }
	.flow-list__item::before { width: 30px; height: 30px; font-size: 13px; }
	.flow-list__item:not(:last-child)::after { left: 14px; top: 30px; }
}


/* =========================================================
   13. 固定ページ追加分（会社概要・お問い合わせ・リンク登録・サイトマップ）
   ======================================================= */

/* 本文の前に置くリード文（page-contactform.php / page-linktouroku.php） */
.lead-text {
	margin: 0 0 20px;
	font-size: 14px;
	color: var(--muted);
	line-height: 1.8;
}

/* 会社概要（page-company.php） */
.company-table { margin: 0; }
.company-table__row {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 10px;
	padding: 14px 4px;
	border-bottom: 1px solid var(--line);
}
.company-table__row:first-child { border-top: 1px solid var(--line); }
.company-table__row dt { font-weight: 700; }
.company-table__row dd { margin: 0; }
.company-table__row dd ul { padding-left: 1.2em; list-style: disc; }
.company-table__row dd li + li { margin-top: .4em; }
.company-table__row a:hover { color: var(--red); }
.company-table__row dd p { margin: 0 0 10px; }

/* グループ会社の免許・営業内容。会社名より一段落として見せる */
.company-group__detail {
	display: block;
	margin-top: 4px;
	font-size: 13px;
	line-height: 1.8;
	color: var(--muted);
}

@media (max-width: 599px) {
	.company-table__row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

/* リンク登録の受付（page-linktouroku.php） */
.linktouroku-notice {
	margin-bottom: 20px;
	padding: 14px 18px;
	background: var(--bg);
	border-radius: 6px;
}
.linktouroku-notice p { margin: 0 0 .8em; font-size: 13px; color: var(--muted); line-height: 1.8; }
.linktouroku-notice p:last-child { margin-bottom: 0; }
.linktouroku-siteinfo {
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--line);
	font-size: 14px;
	line-height: 1.8;
}
.linktouroku-siteinfo a:hover { color: var(--red); }

/* サイトマップ（page-smap.php） */
.sitemap-block { margin-bottom: 24px; }
.sitemap-block:last-child { margin-bottom: 0; }
.sitemap-block__title {
	font-size: 15px;
	font-weight: 700;
	padding-bottom: 8px;
	margin-bottom: 10px;
	border-bottom: 1px solid var(--line);
}
.sitemap-list { display: flex; flex-wrap: wrap; gap: 8px 12px; }
.sitemap-list a {
	display: block;
	padding: 7px 14px;
	font-size: 13px;
	border: 1px solid var(--line);
	border-radius: 4px;
}
.sitemap-list a:hover { border-color: var(--red); color: var(--red); }


/* =========================================================
   14. 固定ページ追加分２（外国人向け・投資ミニ辞典・会員募集・メディア・媒介契約制度）
   ======================================================= */

.u-center { text-align: center; }

/* 画像＋本文の横並び（page-knowledge.php / page-member.php / page-system.php / page-formedia.php） */
.figure-row { display: flex; gap: 24px; align-items: flex-start; margin: 8px 0 20px; }
.figure-row__img { flex: none; width: 220px; }
.figure-row__img img { width: 100%; border-radius: 6px; }
.figure-row__body { flex: 1; min-width: 0; }
.figure-row__body p:last-child { margin-bottom: 0; }

@media (max-width: 599px) {
	.figure-row { flex-direction: column; }
	.figure-row__img { width: 160px; margin: 0 auto; }
}

/* 強調ボックス（page-knowledge.php / page-member.php） */
.info-box { margin: 4px 0 20px; padding: 16px 20px; background: var(--bg); border-radius: 6px; }
.info-box h3 { margin-top: 0; }
.info-box p { margin: 0 0 .6em; }
.info-box p:last-child { margin-bottom: 0; }
.info-box ol, .info-box ul { margin: 0; padding-left: 1.3em; }
.info-box ol { list-style: decimal; }
.info-box ol li + li { margin-top: .4em; }

/* 本文内の比較表（page-system.php） */
.entry-content .table-scroll { overflow-x: auto; margin: 0 0 1.4em; }
.entry-content .table-scroll table { width: 100%; min-width: 480px; margin: 0; border-collapse: collapse; font-size: 14px; }
.entry-content .table-scroll th, .entry-content .table-scroll td { border: 1px solid var(--line); padding: 10px 12px; text-align: center; }
.entry-content .table-scroll th { background: var(--bg); font-weight: 700; white-space: nowrap; }

/* Q&A（page-foreigner.php） */
.qa-list { margin: 8px 0 4px; }
.qa-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.qa-item:first-child { border-top: 1px solid var(--line); }
.qa-item__q {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 15px;
	font-weight: 700;
	margin-bottom: 10px;
}
.qa-item__a { display: flex; gap: 10px; align-items: flex-start; }
.qa-item__mark {
	flex: none;
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--red);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
}
.qa-item__mark--a { background: #fff; color: var(--red); border: 1px solid var(--red); }
.qa-item__a-body { flex: 1; min-width: 0; font-size: 14px; color: var(--muted); line-height: 1.85; }
.qa-item__a-body p { margin: 0 0 .6em; }
.qa-item__a-body p:last-child { margin-bottom: 0; }

/* =========================================================
   15. お問い合わせフォームの文脈表示
   ======================================================= */

.cf7-context {
	background: var(--red-pale);
	border-left: 3px solid var(--red);
	border-radius: 0 4px 4px 0;
	padding: 10px 14px;
	margin-bottom: 10px;
	font-size: 14px;
}
.cf7-context strong { color: var(--red); margin-right: 4px; }
/* 物件番号などの値そのものを目立たせる */
.cf7-context b {
	font-size: 16px;
	font-weight: 700;
	color: #1a1918;
}

/* =========================================================
   16. フッターのサービス一覧（hrcc.jp と共通の内容）
   ======================================================= */

.footer-seo {
	background: #efece6;
	border-top: 1px solid var(--line);
	color: var(--muted);
}

.footer-seo__inner {
	max-width: calc(var(--max) + 32px);
	margin: 0 auto;
	padding: 34px 16px 30px;
	display: grid;
	gap: 26px;
}

.footer-seo__title {
	font-size: 13px;
	font-weight: 700;
	color: var(--text);
	letter-spacing: .06em;
	padding-left: 10px;
	margin-bottom: 9px;
	border-left: 3px solid var(--red);
	line-height: 1.5;
}

/* キーワードの羅列。読み物ではないので一段落とす */
.footer-seo__words {
	font-size: 12px;
	line-height: 2;
	word-break: break-word;
}

/* 温泉地は県名と地名を続けて流し込む。行数を抑えるため段組にはしない */
.footer-onsen {
	font-size: 12px;
	line-height: 2;
	word-break: break-word;
}
.footer-onsen dt,
.footer-onsen dd {
	display: inline;
	margin: 0;
}
.footer-onsen dt {
	color: var(--text);
	white-space: nowrap;
}
.footer-onsen dt::after { content: "："; font-weight: 400; }
/* 県のまとまりの区切り。読点で切れるより間隔で切るほうが追いやすい */
.footer-onsen dd::after { content: "\3000\3000"; }

.footer-about { border-top: 1px dashed #ddd8cf; padding-top: 24px; }
.footer-about__lead { font-size: 13px; line-height: 1.9; margin-bottom: 10px; }
.footer-about__list { font-size: 12px; line-height: 1.9; display: grid; gap: 6px; }
.footer-about__list li { padding-left: 15px; position: relative; }
.footer-about__list li::before {
	content: "";
	position: absolute;
	left: 0; top: .78em;
	width: 6px; height: 6px;
	background: var(--red);
	border-radius: 50%;
}

@media (max-width: 767px) {
	.footer-seo__inner { padding: 26px 16px 24px; gap: 22px; }
	/* 情報量が多いので、SPでは詰めて読ませる */
	.footer-seo__words,
	.footer-onsen,
	.footer-about__lead,
	.footer-about__list {
		font-size: 12px;
		line-height: 1.6;
	}
}

/* =========================================================
   17. 物件詳細
   ======================================================= */

/* ▼ 見出し */
.bk-head { padding: 24px 26px; }
.bk-head__badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }

.bk-badge {
	display: inline-block;
	padding: 3px 12px;
	border-radius: 3px;
	background: #f1eee8;
	color: var(--text);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .02em;
}
.bk-badge--new { background: var(--red); color: #fff; }
.bk-badge--status { background: #1f1d1c; color: #fff; }

.bk-head__title {
	font-size: 26px;
	font-weight: 800;
	line-height: 1.5;
	letter-spacing: .01em;
}
.bk-head__copy {
	margin-top: 12px;
	padding-left: 12px;
	border-left: 3px solid var(--red);
	font-size: 15px;
	font-weight: 700;
	color: #5d5952;
}
.bk-head__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.bk-head__tags li {
	font-size: 12px;
	padding: 3px 12px;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--muted);
}

/* ▼ 写真
   実データは250px前後の小さい画像が多い。引き伸ばすと粗が出るので
   原寸を上限にして中央に置き、余白は落ち着いた地色で埋める。 */
.bk-gallery__stage {
	display: grid;
	place-items: center;
	min-height: 280px;
	padding: 16px;
	background: #26241f;
	border-radius: 6px;
	overflow: hidden;
}
.bk-gallery__main {
	height: auto;
	max-height: 440px;
	object-fit: contain;
	border-radius: 2px;
	transition: opacity .3s ease;
}
/* 差し替え中だけ薄くする */
.bk-gallery__main.is-swapping { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
	.bk-gallery__main { transition: none; }
	.bk-gallery__main.is-swapping { opacity: 1; }
}

.bk-gallery__stage--empty {
	min-height: 180px;
	background: #f6f4f0;
	border: 1px dashed #d9d4ca;
	color: var(--muted);
}
.bk-gallery__stage--empty p {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	font-size: 14px;
}
.bk-gallery__stage--empty .icon { width: 34px; height: 34px; color: #c6c0b5; }

.bk-gallery__thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.bk-gallery__thumb {
	display: block;
	width: 78px;
	height: 62px;
	padding: 0;
	background: #26241f;
	border: 2px solid transparent;
	border-radius: 4px;
	overflow: hidden;
	opacity: .7;
	transition: opacity .15s ease, border-color .15s ease;
}
.bk-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.bk-gallery__thumb:hover { opacity: 1; }
.bk-gallery__thumb.is-current { opacity: 1; border-color: var(--red); }

.bk-gallery__count { margin-top: 10px; font-size: 12px; color: var(--muted); }

/* ▼ 要点 */
.bk-summary dl {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
.bk-summary__item {
	padding: 4px 20px;
	border-left: 1px solid var(--line);
	min-width: 0;
}
.bk-summary__item:first-child { border-left: 0; padding-left: 4px; }
.bk-summary dt {
	font-size: 12px;
	font-weight: 700;
	color: var(--muted);
	letter-spacing: .08em;
	margin-bottom: 4px;
}
.bk-summary dd {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.55;
	overflow-wrap: anywhere;
}
.bk-summary__item--price dd {
	font-size: 25px;
	color: var(--red);
	letter-spacing: -.01em;
	font-variant-numeric: tabular-nums;
	line-height: 1.25;
}

/* ▼ 設備 */
.bk-facilities {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.bk-facilities li {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 9px 16px 9px 12px;
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 700;
	background: #fcfbf9;
}
.bk-facilities .icon { width: 21px; height: 21px; color: var(--red); }

/* ▼ 物件概要 */
.bk-spec {
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr);
	border-top: 1px solid var(--line);
	font-size: 14px;
}
.bk-spec dt,
.bk-spec dd {
	padding: 12px 16px;
	border-bottom: 1px solid var(--line);
}
.bk-spec dt {
	background: #faf9f7;
	font-weight: 700;
	grid-column: 1;
}
.bk-spec dd {
	grid-column: 2;
	overflow-wrap: anywhere;
}

/* ▼ お問い合わせ */
.bk-cta {
	background: var(--red-pale);
	border: 1px solid #f0cdcf;
	border-radius: var(--radius);
	padding: 30px 24px;
	text-align: center;
}
.bk-cta__lead {
	font-size: 19px;
	font-weight: 800;
	letter-spacing: .01em;
}
.bk-cta__text {
	font-size: 13px;
	color: var(--muted);
	line-height: 1.85;
	margin-top: 8px;
}
.bk-cta__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 18px;
	padding: 15px 46px;
	background: var(--red);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	border-radius: 7px;
	box-shadow: 0 3px 0 var(--red-dark);
	transition: transform .12s ease, box-shadow .12s ease, background .15s ease;
}
.bk-cta__btn:hover {
	background: var(--red-dark);
	transform: translateY(2px);
	box-shadow: 0 1px 0 var(--red-dark);
}
.bk-cta__btn .icon { width: 19px; height: 19px; }
.bk-cta__note { font-size: 12px; color: var(--muted); margin-top: 12px; }

@media (max-width: 767px) {
	.bk-head { padding: 18px 16px; }
	.bk-head__title { font-size: 20px; }
	.bk-head__copy { font-size: 14px; }
	.bk-gallery__stage { min-height: 200px; padding: 10px; }
	.bk-gallery__main { max-height: 300px; }
	.bk-gallery__thumb { width: 62px; height: 50px; }

	.bk-summary dl { grid-template-columns: minmax(0, 1fr); }
	.bk-summary__item {
		border-left: 0;
		border-top: 1px solid var(--line);
		padding: 12px 4px;
	}
	.bk-summary__item:first-child { border-top: 0; padding-top: 4px; }
	.bk-summary__item--price dd { font-size: 23px; }

	/* 1カラムにするので、PCで付けた列指定も戻す（暗黙の2列目ができてしまうため） */
	.bk-spec { grid-template-columns: minmax(0, 1fr); border-top: 0; }
	.bk-spec dt {
		grid-column: auto;
		border-bottom: 0;
		padding: 5px 12px 5px;
		font-size: 13px;
		color: var(--muted);
	}
	.bk-spec dd { grid-column: auto; padding: 5px 12px 12px; }

	.bk-cta { padding: 24px 16px; }
	.bk-cta__lead { font-size: 17px; }
	.bk-cta__btn { width: 100%; padding: 15px 20px; font-size: 15px; }
}

/* =========================================================
   18. エリアナビ（下層ページのヘッダー下）
   ======================================================= */

.area-bar {
	background: var(--panel);
	border-bottom: 1px solid var(--line);
}

.area-bar__inner {
	max-width: calc(var(--max) + 32px);
	margin: 0 auto;
	padding: 0 16px;
	display: flex;
	align-items: stretch;
	gap: 4px;
	/* 幅が足りないときは横に流す */
	overflow-x: auto;
	scrollbar-width: none;
}
.area-bar__inner::-webkit-scrollbar { display: none; }

.area-bar__list {
	display: flex;
	align-items: stretch;
	gap: 2px;
}

.area-bar a {
	display: flex;
	align-items: center;
	padding: 13px 15px;
	font-size: 14px;
	font-weight: 700;
	white-space: nowrap;
	border-bottom: 2px solid transparent;
	transition: color .15s ease, border-color .15s ease;
}
.area-bar a:hover { color: var(--red); }
.area-bar a.is-current { color: var(--red); border-bottom-color: var(--red); }

/* 一覧への導線だけ先頭で区切る */
.area-bar__all {
	position: relative;
	margin-right: 10px;
	padding-left: 4px !important;
}
.area-bar__all::before {
	content: "";
	width: 7px; height: 7px;
	margin-right: 8px;
	border-radius: 50%;
	background: var(--red);
	flex: none;
}
.area-bar__all::after {
	content: "";
	position: absolute;
	right: -6px; top: 25%;
	width: 1px; height: 50%;
	background: var(--line);
}

@media (max-width: 1023px) {
	.area-bar__inner { padding: 0 12px; }
	.area-bar a { padding: 11px 12px; font-size: 13px; }
	.area-bar__all { margin-right: 8px; }
}

/* =========================================================
   19. 入力フォーム（Contact Form 7 共通）
   ======================================================= */

.urihotel-form { margin-top: 24px; }

.wpcf7-form p { margin-bottom: 20px; }
.wpcf7-form p:last-child { margin-bottom: 0; }

/* ラベルと入力欄の間に、改行由来の空行が入らないようにflexで組む */
.form-row {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
}
.form-row label {
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 0;
}
.form-row > .wpcf7-form-control-wrap { width: 100%; }
/* CF7が改行から差し込む <br> は、行内では不要 */
.form-row > br, .form-submit > br { display: none; }

.form-req {
	display: inline-block;
	margin-left: 6px;
	padding: 1px 8px;
	background: var(--red);
	color: #fff;
	border-radius: 3px;
	font-size: 11px;
	font-weight: 700;
	vertical-align: 1px;
}

/* 入力欄。横幅いっぱいに広げて角を丸める */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="date"],
.wpcf7-form textarea,
.wpcf7-form select {
	width: 100%;
	/* 1行が長くなりすぎると読みにくいので上限を置く */
	max-width: 620px;
	padding: 7px 8px;
	background: #fcfbf9;
	border: 1px solid #d8d3c9;
	border-radius: 8px;
	font: inherit;
	font-size: 15px;
	color: var(--text);
	transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
	outline: none;
	background: #fff;
	border-color: var(--red);
	box-shadow: 0 0 0 3px rgba(216, 35, 42, .12);
}

.wpcf7-form textarea { min-height: 150px; resize: vertical; line-height: 1.7; }

/* セレクトは矢印を自前で置く */
.wpcf7-form select {
	appearance: none;
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%237b7772' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 15px center;
	background-size: 12px 8px;
}

/* チェックボックスとラジオ */
.wpcf7-checkbox .wpcf7-list-item,
.wpcf7-radio .wpcf7-list-item {
	display: inline-block;
	margin: 0 18px 6px 0;
}
.wpcf7-list-item label { display: inline-flex; align-items: center; gap: 7px; font-weight: 400; cursor: pointer; }
.wpcf7-form input[type="checkbox"],
.wpcf7-form input[type="radio"] { width: 18px; height: 18px; accent-color: var(--red); }

/* 送信ボタン */
.form-submit { margin-top: 28px; text-align: center; }

.wpcf7-form .wpcf7-submit {
	min-width: 300px;
	max-width: 100%;
	padding: 15px 40px;
	background: var(--red);
	color: #fff;
	border: 0;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 3px 0 var(--red-dark);
	transition: background .15s ease, transform .12s ease, box-shadow .12s ease;
}
.wpcf7-form .wpcf7-submit:hover {
	background: var(--red-dark);
	transform: translateY(2px);
	box-shadow: 0 1px 0 var(--red-dark);
}
.wpcf7-form .wpcf7-submit:disabled { opacity: .5; cursor: default; transform: none; }

/* 検証メッセージ */
.wpcf7-not-valid-tip { margin-top: 6px; font-size: 13px; color: var(--red); font-weight: 700; }
.wpcf7-form .wpcf7-not-valid { border-color: var(--red); background: #fffafa; }

.wpcf7-response-output {
	margin: 22px 0 0 !important;
	padding: 14px 18px !important;
	border-width: 1px !important;
	border-radius: 8px;
	font-size: 14px;
}
.wpcf7 form.sent .wpcf7-response-output { border-color: #2f8f4e !important; background: #f1f9f3; color: #1f6b39; }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output { border-color: var(--red) !important; background: var(--red-pale); color: var(--red-dark); }

.wpcf7-spinner { margin: 0 0 0 12px; }

.cf7-missing {
	padding: 16px 18px;
	background: var(--red-pale);
	border-radius: 8px;
	font-size: 14px;
}
.cf7-missing a { color: var(--red); font-weight: 700; text-decoration: underline; }

@media (max-width: 599px) {
	.wpcf7-form input[type="text"],
	.wpcf7-form input[type="email"],
	.wpcf7-form input[type="url"],
	.wpcf7-form input[type="tel"],
	.wpcf7-form textarea,
	.wpcf7-form select { padding: 7px 8px; font-size: 16px; }
	.wpcf7-form .wpcf7-submit { width: 100%; min-width: 0; padding: 15px 20px; }
}


/* =========================================================
   20. 登録会員一覧（category-kaiin.php）
   ======================================================= */

.kaiin-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}

.kaiin-card {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 16px 18px;
}

.kaiin-card__name {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.5;
	padding-bottom: 10px;
	margin-bottom: 10px;
	border-bottom: 1px solid var(--line);
}

.kaiin-card__spec { display: flex; flex-direction: column; gap: 6px; }

.kaiin-card__row {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	gap: 8px;
	font-size: 13px;
	line-height: 1.6;
}
.kaiin-card__row dt { color: var(--muted); font-weight: 700; }
.kaiin-card__row dd { overflow-wrap: anywhere; }
.kaiin-card__row a:hover { color: var(--red); }

@media (max-width: 1023px) {
	.kaiin-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 599px) {
	.kaiin-list { grid-template-columns: minmax(0, 1fr); }
}

/* =========================================================
   21. 固定ページのメインビジュアル
   ======================================================= */

.page-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 230px;
	padding: 36px 40px;
	margin-bottom: 20px;
	border-radius: var(--radius);
	overflow: hidden;
	/* 個別指定できるよう、まとめ書きにせず分けておく */
	background-color: #24303c;
	background-image: url("images/page-hero.jpg");
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	color: #fff;
}

/* 文字を写真の上で読ませるための重ね */
.page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(0, 0, 0, .74) 24%, rgba(0, 0, 0, .34) 58%, rgba(0, 0, 0, .12));
}

.page-hero__body {
	position: relative;
	max-width: 640px;
}

/* ページ名。キャッチより一段小さくして所在を示す */
.page-hero__title {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .16em;
	margin-bottom: 12px;
}
.page-hero__title::before {
	content: "";
	width: 26px;
	height: 2px;
	background: var(--red);
	flex: none;
}

.page-hero__catch {
	font-size: 30px;
	font-weight: 800;
	line-height: 1.42;
	letter-spacing: .02em;
	text-shadow: 0 2px 12px rgba(0, 0, 0, .55);
}

.page-hero__lead {
	margin-top: 12px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.8;
	text-shadow: 0 1px 8px rgba(0, 0, 0, .7);
}

@media (max-width: 767px) {
	.page-hero {
		min-height: 0;
		padding: 26px 20px;
	}
	.page-hero__title { font-size: 12px; margin-bottom: 10px; }
	.page-hero__catch { font-size: 21px; }
	.page-hero__lead { font-size: 14px; margin-top: 10px; }
}

/* =========================================================
   22. フォームの設問行（ラジオ選択）
   ======================================================= */

.form-row--q {
	width: 100%;
	max-width: 620px;
	padding: 14px 16px;
	background: #faf9f7;
	border: 1px solid var(--line);
	border-radius: 8px;
}
.form-row--q > label { line-height: 1.6; }

.form-note {
	display: block;
	margin-top: 3px;
	font-size: 12px;
	font-weight: 400;
	color: var(--muted);
}

/* 選択肢は横並びに */
.form-row--q .wpcf7-radio { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.form-row--q .wpcf7-list-item { margin: 0; }

/* =========================================================
   23. コラムカードの追加要素
   ======================================================= */

/* 画像が無い記事は、伸ばした写真の代わりに記号を置く */
.column-card__noimage {
	display: grid;
	place-items: center;
	width: 100%;
	aspect-ratio: 16 / 10;
	background: #f1eee8;
	border-radius: 6px;
	color: #c6c0b5;
}
.column-card__noimage .icon { width: 40px; height: 40px; }

.column-card__cat {
	display: inline-block;
	margin-top: 10px;
	padding: 2px 10px;
	background: var(--red-pale);
	color: var(--red);
	border-radius: 3px;
	font-size: 11px;
	font-weight: 700;
}
.column-card__cat + .column-card__title { margin-top: 6px; }

.panel__lead { margin-bottom: 18px; color: var(--muted); font-size: 14px; }

/* 一覧では枚数が増えるので、中間幅は2列にする */
@media (max-width: 1023px) and (min-width: 600px) {
	.column-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* =========================================================
   24. 登録会員カードの本文フォールバック
   ======================================================= */

/* 専用フィールドを使っていない旧データ用。住所やTELが本文に入っている */
.kaiin-card__body {
	font-size: 13px;
	line-height: 1.8;
	color: var(--muted);
	overflow-wrap: anywhere;
}

/* 本文にHTMLが直接書かれた旧データ用 */
.kaiin-card__body p { margin: 0 0 6px; }
.kaiin-card__body p:last-child { margin-bottom: 0; }
.kaiin-card__body strong { color: var(--text); font-weight: 700; }
.kaiin-card__body a { color: var(--red); text-decoration: underline; }
.kaiin-card__body a:hover { text-decoration: none; }
