﻿/* =============================================================================
   Rent Theme – main.css
   ============================================================================= */

/* =============================================================================
   カラー変数
   ============================================================================= */

:root {
	/* --- ブランドカラー --- */
	--clr-accent: #17CDDD;
	/* アクセントカラー（水色）          */
	--clr-accent-dark: #6de0dc;
	/* アクセント 濃いめ（ホバー用）    */
	--clr-accent-pale: #e8fffe;
	/* アクセント 薄め（背景用）        */
	--clr-accent-on: #ffffff;
	/* アクセント背景上のテキスト色     */

	--clr-sub: #FEFA85;
	/* サブアクセントカラー（黄）        */
	--clr-sub-dark: #c8c400;
	/* サブアクセント 濃いめ（ホバー用）*/
	--clr-sub-pale: #fefde0;
	/* サブアクセント 薄め（背景用）    */
	--clr-sub-on: #111;
	/* サブアクセント背景上のテキスト色 */

	--clr-line: #4FD86A;
	/* LINEリンクカラー（緑）           */
	--clr-line-dark: #3ab854;
	/* LINE 濃いめ（ホバー用）          */
	--clr-line-pale: #e4faeb;
	/* LINE 薄め（背景用）              */
	--clr-line-on: #fff;
	/* LINE背景上のテキスト色           */

	/* --- テキスト --- */
	--clr-text: #5B5D69;
	--clr-text-dark: #5B5D69;
	--clr-text-mid: #444;
	--clr-text-sub: #555;
	--clr-text-light: #666;
	--clr-text-muted: #888;
	--clr-text-faint: #999;

	/* --- 背景 --- */
	--clr-bg: #fff;
	--clr-bg-light: #f8f9fa;
	--clr-bg-pale: #f5f5f5;
	--clr-bg-faint: #fafafa;

	/* --- ボーダー --- */
	--clr-border: #e0e0e0;
	--clr-border-light: #eee;
	--clr-border-card: #ddd;
	--clr-border-room: #e9ecef;

	/* --- 機能カラー（賃料・ステータス） --- */
	--clr-rent: #e10000;
	/* 賃料強調（赤）                   */
	--clr-occupied-bg: #fce4e4;
	/* 満室背景                         */
	--clr-occupied-text: #c62828;
	/* 満室テキスト                     */

	/* --- お気に入りカラー（赤系） --- */
	--clr-fav: #e53935;
	/* お気に入りメインカラー            */
	--clr-fav-border: #ef9a9a;
	/* 未登録時のボーダー               */
	--clr-fav-pale: #fff5f5;
	/* ホバー時の背景                   */
}

/* =============================================================================
   Reset / Base
   ============================================================================= */

html {
	scroll-behavior: smooth;
}

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

body {
	margin: 0;
	font-family: 'Noto Sans JP', sans-serif;
	color: var(--clr-text);
	background: var(--clr-bg);
	line-height: 1.6;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.site-main {
	flex: 1 0 auto;
}

.site-footer {
	flex-shrink: 0;
}

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

a {
	color: var(--clr-text-dark);
	text-decoration: none;
}

p {
	margin: 0 0 .8rem;
}

h1,
h2,
h3 {
	line-height: 1.3;
}

/* =============================================================================
   Site Header
   ============================================================================= */

.site-header {
	background: var(--clr-bg);
	border-bottom: 1px solid var(--clr-border);
	padding: .8rem 0;
	position: sticky;
	top: 0;
	z-index: 999;
}

.admin-bar .site-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

.site-header__inner {
	margin: 0 auto;
	padding: 0 1rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}

.site-branding__logo {
    display: block;
    height: 50px;
    width: auto;
    object-fit: cover;
}

.site-nav {
	flex: 1;
}

.site-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 1.5rem;
}

.site-nav__list a {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	text-decoration: none;
	font-size: .9rem;
	color: var(--clr-text-dark);
	white-space: nowrap;
}

.site-nav__list a:hover {
	color: var(--clr-text);
}

.site-nav__icon {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: .6rem;
	flex-shrink: 0;
}

.site-header__btn {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	white-space: nowrap;
	font-size: .82rem;
	font-weight: 600;
	text-decoration: none;
	padding: .55rem 1rem;
	border-radius: 999px;
	transition: opacity .15s ease;
	width: 236px;
	justify-content: center;
}

.site-header__btn:hover {
	opacity: .85;
}

.site-header__btn-icon {
	flex-shrink: 0;
	font-size: 1.2rem;
}

.site-header__btn--line {
	background: var(--clr-accent-on);
	color: var(--clr-line);
	border: 2px solid var(--clr-line);
	font-size: 14px;
	transition: all 0.3s;
}

.site-header__btn--line:hover {
	background: var(--clr-line);
	color: var(--clr-bg);
}

.site-header__btn--contact {
	background: var(--clr-accent-on);
	color: var(--clr-accent);
	border: 2px solid var(--clr-accent);
	font-size: 14px;
	transition: all 0.3s;
}

.site-header__btn--contact:hover {
	background: var(--clr-accent);
	color: var(--clr-bg);
}

/* --- ハンバーガーボタン --- */

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

.site-header__toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	flex-shrink: 0;
}

.site-header__toggle-bar {
	display: block;
	width: 22px;
	height: 2px;
	border-radius: 1px;
	background: var(--clr-text-dark);
	transition: transform .2s ease, opacity .2s ease;
}

.site-header__toggle[aria-expanded="true"] .site-header__toggle-bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.site-header__toggle[aria-expanded="true"] .site-header__toggle-bar:nth-child(2) {
	opacity: 0;
}

.site-header__toggle[aria-expanded="true"] .site-header__toggle-bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* --- ドロワー オーバーレイ --- */

.site-drawer-overlay {
	position: fixed;
	inset: 0;
	background: rgba(20, 22, 30, .5);
	opacity: 0;
	visibility: hidden;
	transition: opacity .25s ease, visibility .25s ease;
	z-index: 1000;
}

.site-drawer-overlay.is-open {
	opacity: 1;
	visibility: visible;
}

/* --- ドロワー本体 --- */

.site-drawer {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(100%, 420px);
	background: var(--clr-bg);
	box-shadow: -12px 0 32px rgba(0, 0, 0, .12);
	transform: translateX(100%);
	transition: transform .3s ease;
	z-index: 1003;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
}

.site-drawer.is-open {
	transform: translateX(0);
}

.site-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.5rem 1.25rem 1.25rem;
}

.site-drawer__brand-link {
	display: inline-block;
}

.site-drawer__brand-logo {
	display: block;
	height: 40px;
	width: auto;
}

.site-drawer__brand-tagline {
	margin: .5rem 0 0;
	font-size: .8rem;
	color: var(--clr-text-muted);
}

.site-drawer__close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--clr-text-dark);
	cursor: pointer;
	flex-shrink: 0;
	transition: background .15s ease;
}

.site-drawer__close svg {
	width: 22px;
	height: 22px;
}

.site-drawer__close:hover {
	background: var(--clr-bg-pale);
}

/* --- メインナビゲーション --- */

.site-drawer__nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--clr-border-light);
}

.site-drawer__nav-list li {
	border-bottom: 1px solid var(--clr-border-light);
}

.site-drawer__nav-list a {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.25rem;
	text-decoration: none;
	color: var(--clr-text-dark);
	font-weight: 700;
	font-size: .95rem;
	transition: background .15s ease;
}

.site-drawer__nav-list a:hover {
	background: var(--clr-bg-faint);
}

.site-drawer__nav-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	color: var(--clr-accent);
}

.site-drawer__nav-icon svg {
	width: 24px;
	height: 24px;
}

.site-drawer__nav-icon--line {
	font-size: 1.5rem;
	color: var(--clr-line);
}

.site-drawer__nav-label {
	flex: 1;
}

.site-drawer__nav-chevron {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	color: var(--clr-text-faint);
}

/* --- サブリンク（運営会社・規約 など） --- */

.site-drawer__sub-list {
	list-style: none;
	margin: 0;
	padding: .25rem 0;
}

.site-drawer__sub-list li {
	border-bottom: 1px solid var(--clr-border-light);
}

.site-drawer__sub-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: .85rem 1.25rem;
	text-decoration: none;
	color: var(--clr-text-mid);
	font-size: .85rem;
	transition: background .15s ease;
}

.site-drawer__sub-list a:hover {
	background: var(--clr-bg-faint);
}

.site-drawer__sub-chevron {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	color: var(--clr-text-faint);
}

/* --- 連絡先ボックス --- */

.site-drawer__contact {
	margin-top: auto;
	padding: 1.5rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom));
	background: var(--clr-bg-faint);
	border-top: 1px solid var(--clr-border-light);
}

.site-drawer__contact-item {
	display: flex;
	align-items: flex-start;
	gap: .85rem;
}

.site-drawer__contact-item + .site-drawer__contact-item {
	margin-top: 1.25rem;
}

.site-drawer__contact-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	flex-shrink: 0;
	color: var(--clr-accent);
}

.site-drawer__contact-icon svg {
	width: 20px;
	height: 20px;
}

.site-drawer__contact-label {
	margin: 0 0 .3rem;
	font-size: .8rem;
	font-weight: 700;
	color: var(--clr-text-dark);
}

.site-drawer__contact-phone {
	margin: 0;
	font-size: 1.4rem;
	font-weight: 700;
	line-height: 1.3;
}

.site-drawer__contact-phone a {
	color: var(--clr-text-dark);
	text-decoration: none;
}

.site-drawer__contact-hours {
	margin: .2rem 0 0;
	font-size: .78rem;
	color: var(--clr-text-muted);
}

.site-drawer__contact-text {
	margin: 0;
	font-size: .8rem;
	line-height: 1.7;
	color: var(--clr-text-muted);
}

.site-drawer__contact-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	margin-top: 1.25rem;
	padding: .9rem 1rem;
	border: 2px solid var(--clr-accent);
	border-radius: 999px;
	background: var(--clr-bg);
	color: var(--clr-accent);
	font-weight: 700;
	font-size: .9rem;
	text-decoration: none;
	transition: all .2s ease;
}

.site-drawer__contact-btn svg {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

.site-drawer__contact-btn:hover {
	background: var(--clr-accent);
	color: var(--clr-bg);
}

/* --- メニュー表示中のスクロール固定 --- */

.has-drawer-open {
	overflow: hidden;
}

@media (max-width: 900px) {
	.site-nav,
	.site-header__actions {
		display: none;
	}

	.site-header__toggle {
		display: flex;
	}
}

/* --- 管理バー（WordPress admin bar）の高さ分を調整 --- */

body.admin-bar .site-drawer,
body.admin-bar .site-drawer-overlay {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar .site-drawer,
	body.admin-bar .site-drawer-overlay {
		top: 46px;
	}
}

@media (min-width: 901px) {

	.site-drawer,
	.site-drawer-overlay {
		display: none;
	}
}

/* =============================================================================
   Site Footer
   ============================================================================= */

.site-footer {
	margin-top: 4rem;
	color: var(--clr-text-light);
}

.site-footer__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

/* --- 上段：紹介 + リンク --- */

.site-footer__top {
	border-top: 1px solid var(--clr-border);
	padding: 3.5rem 0;
}

.site-footer__top-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 2.5rem;
}

.site-footer__intro {
	flex: 1 1 260px;
}

.site-footer__logo-link {
	display: inline-block;
	margin-bottom: 1rem;
}

.site-footer__logo {
	height: 48px;
	width: auto;
}

.site-footer__desc {
	font-size: .85rem;
	line-height: 1.9;
	color: var(--clr-text-muted);
	margin: 0;
}

.site-footer__links {
	flex: 2 1 600px;
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
}

.site-footer__link-item {
	flex: 1 1 0;
	min-width: 140px;
	border-left: 1px solid var(--clr-border);
	text-align: center;
}

.site-footer__link-item a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: .4rem;
	height: 100%;
	padding: 0 .75rem;
	text-decoration: none;
	color: var(--clr-text-dark);
}

.site-footer__link-icon {
	font-size: 1.5rem;
	color: var(--clr-accent);
}

.site-footer__link-title {
	font-size: .85rem;
	font-weight: 700;
	color: var(--clr-text-dark);
}

.site-footer__link-desc {
	font-size: .7rem;
	line-height: 1.6;
	color: var(--clr-text-faint);
}

/* --- 中段：会社情報 + SNS --- */

.site-footer__middle {
	border-top: 1px solid var(--clr-border);
	padding: 2rem 0;
}

.site-footer__middle-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}

.site-footer__company-label {
	font-size: .72rem;
	color: var(--clr-text-faint);
	margin: 0 0 .2rem;
}

.site-footer__company-name {
	font-size: 1rem;
	font-weight: 700;
	color: var(--clr-text-dark);
	margin: 0 0 .6rem;
}

.site-footer__company-address {
	font-size: .85rem;
	margin: 0 0 .6rem;
}

.site-footer__company-licenses {
	margin: 0;
}

.site-footer__company-contact {
	font-size: .72rem;
	line-height: 1.6;
	color: var(--clr-text-faint);
	margin: 0;
}

.site-footer__line-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	padding: .9rem 1.8rem;
	border-radius: 6px;
	background: var(--clr-line);
	border: 2px solid var(--clr-line);
	color: var(--clr-line-on);
	font-size: .95rem;
	font-weight: 700;
	text-decoration: none;
	transition: background-color .15s ease, border-color .15s ease;
}

.site-footer__line-btn i {
	font-size: 1.2rem;
}

.site-footer__line-btn:hover {
	background: var(--clr-line-dark);
	border-color: var(--clr-line-dark);
}

/* --- 下段：コピーライト --- */

.site-footer__bottom {
	border-top: 1px solid var(--clr-border);
	padding: 1.2rem 0;
}

.site-footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.site-footer__copy {
	font-size: .8rem;
	color: var(--clr-text-faint);
	margin: 0;
}

.site-footer__copy a {
	color: var(--clr-text-faint);
	text-decoration: none;
}

.site-footer__totop {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	font-size: .8rem;
	color: var(--clr-text-dark);
	text-decoration: none;
}

.site-footer__totop i {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 1.8rem;
	height: 1.8rem;
	border-radius: 50%;
	border: 1px solid var(--clr-border);
	color: var(--clr-accent);
	font-size: .75rem;
}

@media (max-width: 768px) {
	.site-footer__links {
		flex: 1 1 100%;
		flex-direction: column;
	}

	.site-footer__link-item {
		flex: 1 1 auto;
		width: 100%;
		min-width: 0;
		border-left: none;
		border-top: 1px solid var(--clr-border);
		margin-bottom: 0;
	}

	.site-footer__link-item:first-child {
		border-top: none;
	}

	.site-footer__link-item a {
		flex-direction: row;
		justify-content: flex-start;
		padding: .9rem .5rem;
	}

	.site-footer__link-desc {
		display: none;
	}

	.site-footer__middle-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.site-footer__bottom-inner {
		flex-direction: column;
		text-align: center;
	}
}

/* =============================================================================
   建屋一覧（archive-building.php）
   ============================================================================= */

.rent-archive {
	max-width: 960px;
	margin: 2rem auto;
	padding: 0 1rem;
}

.rent-archive__title {
	font-size: 1.6rem;
	font-weight: bold;
	margin-bottom: 2rem;
	padding-bottom: .5rem;
	border-bottom: 3px solid var(--clr-accent);
}

.rent-archive__empty {
	padding: 2rem;
	text-align: center;
	color: var(--clr-text-light);
}

/* ----- 建屋カード ----- */
.building-card {
	border: 1px solid var(--clr-border-card);
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 2.5rem;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
}

.building-card__header {
	display: flex;
	gap: 1.2rem;
	padding: 1.2rem;
	background: var(--clr-bg-light);
	border-bottom: 1px solid var(--clr-border-card);
}

.building-card__image {
	flex: 0 0 160px;
}

.building-card__image img {
	width: 160px;
	height: 120px;
	object-fit: cover;
	border-radius: 4px;
}

.building-card__info {
	flex: 1;
	min-width: 0;
}

.building-card__type {
	display: inline-block;
	background: var(--clr-accent);
	color: var(--clr-accent-on);
	font-size: .72rem;
	padding: 2px 8px;
	border-radius: 3px;
	margin-bottom: .4rem;
}

.building-card__name {
	font-size: 1.25rem;
	font-weight: bold;
	margin: 0 0 .3rem;
	color: var(--clr-text);
}

.building-card__catchcopy {
	font-size: .88rem;
	color: var(--clr-text-mid);
	margin: 0 0 .4rem;
}

.building-card__address {
	font-size: .85rem;
	color: var(--clr-text-sub);
	margin: 0 0 .3rem;
}

.building-card__access {
	font-size: .82rem;
	color: var(--clr-text-sub);
	margin-bottom: .4rem;
}

.building-card__access span {
	display: inline-block;
	margin-right: 1rem;
}

.building-card__specs {
	font-size: .82rem;
	color: var(--clr-text-light);
}

.building-card__specs .spec-item {
	display: inline-block;
	margin-right: .8rem;
}

.building-card__specs .spec-item::before {
	content: '■ ';
	font-size: .7rem;
	color: var(--clr-text-faint);
}

/* =============================================================================
   一覧ページ 新デザイン（arc2）
   ============================================================================= */

/* ---- ページラッパー ---- */
.arc2-wrap {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 1.5rem;
	max-width: 1200px;
	margin: 2rem auto;
	padding: 0 1.2rem;
	align-items: start;
}

/* ---- サイドバー ---- */
.arc2-sidebar {}

/* ---- 絞り込み検索（モバイル用フローティングボタン＆モーダル） ---- */
.arc2-filter-fab {
	display: none;
}

.arc2-filter-overlay {
	display: none;
}

.arc2-sidebar__close {
	display: none;
	flex-shrink: 0;
	background: none;
	border: 1px solid var(--clr-border);
	border-radius: 50%;
	width: 2rem;
	height: 2rem;
	font-size: 1.1rem;
	line-height: 1;
	cursor: pointer;
	color: var(--clr-text-light);
	align-items: center;
	justify-content: center;
}

.arc2-sidebar__card {
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .07);
	padding: 1.2rem;
	position: sticky;
	top: 1.5rem;
}

.arc2-sidebar__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1rem;
	padding-bottom: .7rem;
	border-bottom: 1px solid var(--clr-border-light);
}

.arc2-sidebar__head-title {
	font-size: .95rem;
	font-weight: bold;
	color: var(--clr-text-dark);
}

.arc2-sidebar__clear {
	display: flex;
	align-items: center;
	gap: .25rem;
	font-size: .78rem;
	color: var(--clr-accent);
	text-decoration: none;
}

.arc2-sidebar__clear svg {
	width: 12px;
	height: 12px;
}

.arc2-sidebar__clear:hover {
	opacity: .75;
}

.arc2-sidebar__form {}

.arc2-sidebar__field {
	margin-bottom: .9rem;
}

.arc2-sidebar__label {
	font-size: .75rem;
	font-weight: bold;
	color: var(--clr-text-sub);
	margin: 0 0 .35rem;
}

/* ドロップダウントリガー */
.arc2-dropdown {
	display: flex;
	align-items: center;
	gap: .5rem;
	width: 100%;
	padding: .6rem .75rem;
	background: #fff;
	border: 1.5px solid var(--clr-border);
	border-radius: 7px;
	cursor: pointer;
	font-size: .85rem;
	color: var(--clr-text-sub);
	text-align: left;
	transition: border-color .15s, background .15s;
}

.arc2-dropdown:hover,
.arc2-dropdown.is-selected {
	border-color: var(--clr-accent);
	background: var(--clr-accent-pale);
}

.arc2-dropdown__icon {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	color: var(--clr-accent);
	display: flex;
	align-items: center;
}

.arc2-dropdown__icon svg {
	width: 16px;
	height: 16px;
}

.arc2-dropdown__text {
	flex: 1;
}

.arc2-dropdown__arrow {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	color: var(--clr-text-muted);
	display: flex;
	align-items: center;
}

.arc2-dropdown__arrow svg {
	width: 14px;
	height: 14px;
}

/* 選択タグ */
.arc2-tags {
	display: flex;
	flex-wrap: wrap;
	gap: .25rem;
	margin-top: .35rem;
}

.arc2-tag {
	display: inline-flex;
	align-items: center;
	gap: .2rem;
	padding: .15rem .45rem;
	background: var(--clr-accent);
	color: #fff;
	border-radius: 20px;
	font-size: .75rem;
}

.arc2-tag__remove {
	background: none;
	border: none;
	color: rgba(255, 255, 255, .8);
	cursor: pointer;
	font-size: .8rem;
	padding: 0;
	line-height: 1;
}

.arc2-tag__remove:hover {
	color: #fff;
}

/* レンジ */
.arc2-range {
	display: flex;
	align-items: center;
	gap: .3rem;
}

.arc2-select {
	flex: 1;
	min-width: 0;
	padding: .55rem .5rem;
	border: 1.5px solid var(--clr-border);
	border-radius: 7px;
	font-size: .82rem;
	color: var(--clr-text);
	background: #fff;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right .4rem center;
	background-size: 12px;
	padding-right: 1.6rem;
	cursor: pointer;
}

.arc2-select:focus {
	outline: none;
	border-color: var(--clr-accent);
}

.arc2-select-wrap .arc2-select--full {
	width: 100%;
	flex: none;
}

.arc2-range__sep {
	font-size: .8rem;
	color: var(--clr-text-muted);
	flex-shrink: 0;
}

.arc2-range__unit {
	font-size: .8rem;
	color: var(--clr-text-sub);
	flex-shrink: 0;
}

/* チェックボックス */
.arc2-checkboxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .3rem 0;
}

.arc2-checkboxes--rooms {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: .3rem 0;
}

.arc2-check {
	display: flex;
	align-items: center;
	gap: .3rem;
	font-size: .82rem;
	color: var(--clr-text-dark);
	cursor: pointer;
}

.arc2-check input[type="checkbox"] {
	width: 14px;
	height: 14px;
	cursor: pointer;
}

/* キーワード入力 */
.arc2-keyword-wrap {
	position: relative;
}

.arc2-keyword__icon {
	position: absolute;
	left: .7rem;
	top: 50%;
	transform: translateY(-50%);
	width: 15px;
	height: 15px;
	color: var(--clr-text-muted);
	pointer-events: none;
}

.arc2-keyword__icon svg {
	width: 15px;
	height: 15px;
}

.arc2-keyword {
	width: 100%;
	padding: .55rem .7rem .55rem 2.2rem;
	border: 1.5px solid var(--clr-border);
	border-radius: 7px;
	font-size: .82rem;
	color: var(--clr-text);
	box-sizing: border-box;
}

.arc2-keyword::placeholder {
	color: var(--clr-text-faint);
}

.arc2-keyword:focus {
	outline: none;
	border-color: var(--clr-accent);
}

/* 検索ボタン */
.arc2-submit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .4rem;
	width: 100%;
	margin-top: .5rem;
	padding: .75rem;
	background: var(--clr-accent);
	color: #fff;
	border: none;
	border-radius: 7px;
	font-size: .9rem;
	font-weight: bold;
	cursor: pointer;
	transition: background .15s;
}

.arc2-submit svg {
	width: 16px;
	height: 16px;
}

.arc2-submit:hover {
	background: var(--clr-accent-dark);
}

/* ---- メインエリア ---- */
.arc2-main {}

.arc2-main__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1rem;
}

.arc2-main__count {
	font-size: .95rem;
	color: var(--clr-text-dark);
	margin: 0;
}

.arc2-main__count-num {
	font-size: 1.4rem;
	font-weight: bold;
	color: var(--clr-accent);
	margin: 0 .2rem;
}

.arc2-main__sort-form {}

.arc2-main__sort-label {
	font-size: .82rem;
	color: var(--clr-text-sub);
	display: flex;
	align-items: center;
	gap: .3rem;
}

.arc2-main__sort-select {
	padding: .4rem 1.8rem .4rem .7rem;
	border: 1.5px solid var(--clr-border);
	border-radius: 6px;
	font-size: .82rem;
	color: var(--clr-text);
	background: #fff;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right .4rem center;
	background-size: 12px;
	cursor: pointer;
}

.arc2-main__sort-select:focus {
	outline: none;
	border-color: var(--clr-accent);
}

.arc2-main__empty {
	color: var(--clr-text-muted);
	padding: 2rem 0;
	text-align: center;
}

.arc2-main__pagination {
	margin-top: 2rem;
	display: flex;
	justify-content: center;
	gap: .4rem;
	flex-wrap: wrap;
}

.arc2-main__pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 .5rem;
	border: 1.5px solid var(--clr-border);
	border-radius: 6px;
	font-size: .88rem;
	color: var(--clr-text-dark);
	text-decoration: none;
	transition: border-color .15s, background .15s;
}

.arc2-main__pagination .page-numbers:hover {
	border-color: var(--clr-accent);
	color: var(--clr-accent);
}

.arc2-main__pagination .page-numbers.current {
	background: var(--clr-accent);
	color: #fff;
	border-color: var(--clr-accent);
}

/* ---- 建物カード ---- */
.arc2-bcard {
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .07);
	margin-bottom: 1.2rem;
	overflow: hidden;
}

.arc2-bcard__building {
	display: flex;
	gap: 1.2rem;
	padding: 1.2rem;
}

.arc2-bcard__img-wrap {
	flex-shrink: 0;
	position: relative;
	width: 220px;
}

.arc2-bcard__new {
	position: absolute;
	top: .5rem;
	left: .5rem;
	background: #e10000;
	color: #fff;
	font-size: .72rem;
	font-weight: bold;
	padding: .15rem .5rem;
	border-radius: 3px;
	z-index: 1;
}

.arc2-bcard__img {
	width: 100%;
	height: 160px;
	object-fit: cover;
	border-radius: 7px;
	display: block;
}

/* 画像なしプレースホルダー */
.arc2-img-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--clr-bg-light, #f5f5f5);
	color: var(--clr-text-muted);
	font-size: .8rem;
	letter-spacing: .05em;
	border-radius: 7px;
}
.arc2-img-placeholder--building {
	height: 160px;
}
.arc2-img-placeholder--room {
	width: 80px;
	height: 70px;
	border-radius: 5px;
	font-size: .75rem;
}

.arc2-bcard__info {
	flex: 1;
	min-width: 0;
}

.arc2-bcard__badge {
	display: inline-block;
	background: var(--clr-accent);
	color: #fff;
	font-size: .75rem;
	font-weight: bold;
	padding: .2rem .7rem;
	border-radius: 20px;
	margin-bottom: .5rem;
}

.arc2-bcard__name {
	font-size: 1.25rem;
	font-weight: bold;
	color: var(--clr-text-dark);
	margin: 0 0 .6rem;
}

.arc2-bcard__meta {
	list-style: none;
	margin: 0 0 .6rem;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: .25rem;
}

.arc2-bcard__meta-row {
	display: flex;
	align-items: center;
	gap: .35rem;
	font-size: .85rem;
	color: var(--clr-text-sub);
}

.arc2-bcard__meta-icon {
	flex-shrink: 0;
	width: 15px;
	height: 15px;
	color: var(--clr-accent);
	display: flex;
	align-items: center;
}

.arc2-bcard__meta-icon svg {
	width: 14px;
	height: 14px;
}

.arc2-bcard__specs {
	font-size: .8rem;
	color: var(--clr-text-muted);
	margin: 0;
}

.arc2-bcard__no-rooms {
	padding: .8rem 1.2rem;
	font-size: .85rem;
	color: var(--clr-text-muted);
}

/* ---- 号室行 ---- */
.arc2-bcard__rooms {
	border-top: 1px solid var(--clr-border-light);
}

.arc2-room {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: .85rem 1.2rem;
	border-bottom: 1px solid var(--clr-border-light);
}

.arc2-room:last-child {
	border-bottom: none;
}

.arc2-room__img-wrap {
	flex-shrink: 0;
	width: 140px;
}

.arc2-room__img {
	width: 140px;
	height: 120px;
	object-fit: cover;
	border-radius: 5px;
	display: flex;
}

.arc2-room__body {
	flex: 1;
	min-width: 0;
}

.arc2-room__header {
	display: flex;
	align-items: center;
	gap: .5rem;
	margin-bottom: .5rem;
	flex-wrap: wrap;
}

.arc2-room__badge {
	display: inline-block;
	background: var(--clr-accent);
	color: #fff;
	font-size: .78rem;
	font-weight: bold;
	padding: .2rem .65rem;
	border-radius: 4px;
	text-decoration: none;
}

.arc2-room__badge:hover {
	opacity: .85;
}

.arc2-room__layout {
	font-size: .88rem;
	font-weight: bold;
	color: var(--clr-text-dark);
}

.arc2-room__status {
	font-size: .72rem;
	font-weight: bold;
	padding: .15rem .5rem;
	border-radius: 3px;
}

.arc2-room__status.is-vacant {
	background: #e8f8f0;
	color: #27ae60;
}

.arc2-room__status.is-occupied {
	background: #fef0f0;
	color: #e74c3c;
}

.arc2-room__details {
	display: flex;
	gap: 1.5rem;
	flex-wrap: wrap;
}

.arc2-room__detail {
	display: flex;
	flex-direction: column;
	gap: .1rem;
}

.arc2-room__detail-label {
	font-size: .72rem;
	color: var(--clr-text-muted);
}

.arc2-room__detail-value {
	font-size: .88rem;
	color: var(--clr-text-dark);
	font-weight: 500;
}

.arc2-room__detail-value--rent {
	font-size: .88rem;
	font-weight: 600;
	color: var(--clr-rent);
}

.arc2-room__actions {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	gap: .6rem;
}

.arc2-room__fav {
	display: inline-flex;
	align-items: center;
	gap: .3rem;
	padding: .5rem .9rem;
	border: 1.5px solid var(--clr-border);
	border-radius: 6px;
	background: #fff;
	cursor: pointer;
	font-size: .82rem;
	color: var(--clr-text-muted);
	white-space: nowrap;
	transition: border-color .15s, color .15s;
}

.arc2-room__fav:hover,
.arc2-room__fav[aria-pressed="true"] {
	border-color: #e74c3c;
	color: #e74c3c;
}

.arc2-room__btn {
	display: inline-block;
	padding: .5rem .9rem;
	border: 1.5px solid var(--clr-accent);
	border-radius: 6px;
	color: var(--clr-accent);
	font-size: .85rem;
	text-decoration: none;
	white-space: nowrap;
	transition: background .15s, color .15s;
}

.arc2-room__btn:hover {
	background: var(--clr-accent);
	color: #fff;
}

/* =============================================================================
   一覧ページ 2カラムラッパー（旧・後方互換）
   ============================================================================= */

.rent-archive-wrap {
	max-width: 1200px;
	margin: 2rem auto;
	padding: 0 1rem;
	display: grid;
	grid-template-columns: 240px 1fr;
	gap: 1.8rem;
	align-items: start;
}

/* メインカラム */
.rent-archive {
	min-width: 0;
}

.rent-archive__head {
	display: flex;
	align-items: baseline;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 1.2rem;
}

.rent-archive__title {
	font-size: 1.4rem;
	font-weight: bold;
	padding-bottom: .4rem;
	border-bottom: 3px solid var(--clr-accent);
	margin: 0;
}

.rent-archive__filtered-note {
	font-size: .85rem;
	color: var(--clr-text-light);
	margin: 0;
}

.rent-archive__filtered-note span {
	font-weight: bold;
	color: var(--clr-rent);
}

.rent-archive__clear-link {
	margin-left: .5rem;
	color: var(--clr-text-muted);
	font-size: .8rem;
	text-decoration: underline;
}

.rent-archive__empty {
	padding: 2rem;
	text-align: center;
	color: var(--clr-text-light);
	background: var(--clr-bg-light);
	border-radius: 8px;
}

.rent-archive__pagination {
	margin-top: 1.5rem;
	text-align: center;
}

.rent-archive__pagination .page-numbers {
	display: inline-block;
	padding: .4rem .8rem;
	border: 1px solid var(--clr-border);
	border-radius: 4px;
	margin: 0 .15rem;
	font-size: .85rem;
	color: var(--clr-text-dark);
	text-decoration: none;
	transition: background .15s;
}

.rent-archive__pagination .page-numbers.current,
.rent-archive__pagination .page-numbers:hover {
	background: var(--clr-accent);
	color: var(--clr-accent-on);
	border-color: var(--clr-accent);
}

/* =============================================================================
   左サイドバー：絞り込みフィルター
   ============================================================================= */

.rent-filter {
	position: sticky;
	top: 1rem;
}

.rent-filter__inner {
	background: var(--clr-bg);
	border: 1px solid var(--clr-border-card);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .06);
}

.rent-filter__title {
	font-size: .92rem;
	font-weight: bold;
	background: var(--clr-accent);
	color: var(--clr-accent-on);
	margin: 0;
	padding: .75rem 1rem;
}

.rent-filter__form {
	padding: .8rem;
}

.rent-filter__group {
	padding: .7rem 0;
	border-bottom: 1px solid var(--clr-border-light);
}

.rent-filter__group:last-child {
	border-bottom: none;
}

.rent-filter__group-title {
	font-size: .78rem;
	font-weight: bold;
	color: var(--clr-text-sub);
	margin: 0 0 .5rem;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.rent-filter__check {
	display: flex;
	align-items: center;
	gap: .4rem;
	font-size: .83rem;
	color: var(--clr-text-dark);
	padding: .2rem 0;
	cursor: pointer;
}

.rent-filter__check input {
	accent-color: var(--clr-accent-dark);
	flex-shrink: 0;
}

.rent-filter__check span:first-of-type {
	flex: 1;
}

.rent-filter__count {
	font-size: .72rem;
	color: var(--clr-text-faint);
	background: var(--clr-bg-light);
	border-radius: 20px;
	padding: .05rem .4rem;
}

/* 間取りはタグ型 */
.rent-filter__check-grid {
	display: flex;
	flex-wrap: wrap;
	gap: .3rem;
}

.rent-filter__check--tag {
	display: inline-flex;
	padding: .2rem 0;
}

.rent-filter__check--tag input {
	display: none;
}

.rent-filter__check--tag span {
	display: inline-block;
	padding: .2rem .6rem;
	border: 1px solid var(--clr-border);
	border-radius: 20px;
	font-size: .78rem;
	cursor: pointer;
	transition: background .12s, border-color .12s, color .12s;
	background: var(--clr-bg);
	color: var(--clr-text-sub);
}

.rent-filter__check--tag input:checked+span {
	background: var(--clr-accent);
	border-color: var(--clr-accent-dark);
	color: var(--clr-accent-on);
	font-weight: bold;
}

/* 賃料レンジ */
.rent-filter__range {
	display: flex;
	align-items: center;
	gap: .3rem;
}

.rent-filter__select {
	flex: 1;
	padding: .35rem .4rem;
	border: 1px solid var(--clr-border);
	border-radius: 4px;
	font-size: .78rem;
	background: var(--clr-bg);
	color: var(--clr-text);
	min-width: 0;
}

.rent-filter__sep {
	font-size: .8rem;
	color: var(--clr-text-sub);
	flex-shrink: 0;
}

/* =============================================================================
   エリアモーダル
   ============================================================================= */

/* モーダルトリガーボタン */
.area-modal-trigger {
	display: flex;
	align-items: center;
	gap: .4rem;
	width: 100%;
	padding: .55rem .8rem;
	background: var(--clr-bg);
	border: 1.5px solid var(--clr-border);
	border-radius: 6px;
	font-size: .84rem;
	color: var(--clr-text-dark);
	cursor: pointer;
	transition: border-color .15s, background .15s;
	text-align: left;
}

.area-modal-trigger:hover,
.area-modal-trigger.is-selected {
	border-color: var(--clr-accent-dark);
	background: var(--clr-accent-pale);
}

.area-modal-trigger__icon {
	font-size: .9rem;
}

.area-modal-trigger__text {
	flex: 1;
}

.area-modal-trigger__arrow {
	font-size: 1rem;
	color: var(--clr-text-muted);
}

/* 選択済みタグ */
.area-selected-tags {
	display: flex;
	flex-wrap: wrap;
	gap: .3rem;
	margin-top: .5rem;
}

.area-selected-tag {
	display: inline-flex;
	align-items: center;
	gap: .25rem;
	background: var(--clr-accent);
	color: var(--clr-accent-on);
	font-size: .75rem;
	font-weight: bold;
	padding: .2rem .5rem .2rem .6rem;
	border-radius: 20px;
}

.area-selected-tag__remove {
	background: none;
	border: none;
	color: var(--clr-accent-on);
	cursor: pointer;
	font-size: .85rem;
	padding: 0;
	line-height: 1;
	opacity: .7;
}

.area-selected-tag__remove:hover {
	opacity: 1;
}

/* モーダルオーバーレイ */
.area-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, .5);
	z-index: 1200;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	animation: fadeIn .15s ease;
}

.area-modal-overlay[hidden] {
	display: none;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

/* モーダル本体 */
.area-modal {
	background: var(--clr-bg);
	border-radius: 12px;
	width: 100%;
	max-width: 560px;
	max-height: 85vh;
	display: flex;
	flex-direction: column;
	box-shadow: 0 8px 32px rgba(0, 0, 0, .18);
	animation: slideUp .18s ease;
}

@keyframes slideUp {
	from {
		transform: translateY(20px);
		opacity: 0;
	}

	to {
		transform: translateY(0);
		opacity: 1;
	}
}

/* モーダルヘッダー */
.area-modal__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 1.2rem .8rem;
	border-bottom: 1px solid var(--clr-border);
}

.area-modal__title {
	display: flex;
	align-items: center;
	gap: .45rem;
	font-size: 1rem;
	font-weight: bold;
	margin: 0;
	color: var(--clr-text);
}
.area-modal__title-icon {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	color: var(--clr-accent);
	display: flex;
	align-items: center;
	justify-content: center;
}
.area-modal__title-icon svg { width: 20px; height: 20px; }

.area-modal__close {
	background: none;
	border: 1px solid var(--clr-border);
	border-radius: 50%;
	width: 2rem;
	height: 2rem;
	font-size: 1rem;
	cursor: pointer;
	color: var(--clr-text-light);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .12s;
}

.area-modal__close:hover {
	background: var(--clr-bg-light);
	color: var(--clr-text);
}

/* モーダルボディ */
.area-modal__body {
	overflow-y: auto;
	padding: 1rem 1.2rem;
	flex: 1;
}

.area-modal__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: .5rem;
}

/* エリア選択アイテム */
.area-modal__item {
	display: flex;
	align-items: center;
	gap: .5rem;
	padding: .6rem .8rem;
	border: 1.5px solid var(--clr-border);
	border-radius: 8px;
	cursor: pointer;
	transition: border-color .12s, background .12s;
}

.area-modal__item:hover {
	background: var(--clr-accent-pale);
	border-color: var(--clr-accent-dark);
}

.area-modal__checkbox {
	display: none;
}

.area-modal__item:has(.area-modal__checkbox:checked) {
	background: var(--clr-accent);
	border-color: var(--clr-accent-dark);
}

.area-modal__item:has(.area-modal__checkbox:checked) .area-modal__label {
	color: var(--clr-accent-on);
	font-weight: bold;
}

.area-modal__item:has(.area-modal__checkbox:checked) .area-modal__count {
	color: var(--clr-accent-on);
	opacity: .8;
}

.area-modal__label {
	flex: 1;
	font-size: .88rem;
	color: var(--clr-text-dark);
}

.area-modal__count {
	font-size: .72rem;
	color: var(--clr-text-faint);
	white-space: nowrap;
}

/* モーダルフッター */
.area-modal__footer {
	display: flex;
	align-items: center;
	gap: .8rem;
	padding: .8rem 1.2rem;
	border-top: 1px solid var(--clr-border);
}

.area-modal__clear {
	background: none;
	border: 1px solid var(--clr-border);
	border-radius: 6px;
	padding: .55rem 1.2rem;
	font-size: .85rem;
	color: var(--clr-text-light);
	cursor: pointer;
	transition: background .12s;
}

.area-modal__clear:hover {
	background: var(--clr-bg-light);
}

.area-modal__apply {
	flex: 1;
	padding: .6rem;
	background: var(--clr-accent);
	color: var(--clr-accent-on);
	border: none;
	border-radius: 6px;
	font-size: .9rem;
	font-weight: bold;
	cursor: pointer;
	transition: background .15s;
}

.area-modal__apply:hover {
	background: var(--clr-accent-dark);
}

/* 設備モーダル：横幅を広く */
.area-modal--wide {
	max-width: 720px;
}

.area-modal__note {
	font-size: .78rem;
	color: var(--clr-text-muted);
	margin: 0 0 .8rem;
	padding: .4rem .6rem;
	background: var(--clr-sub-pale);
	border-radius: 4px;
}

/* 設備条件のグループ見出し */
.area-modal__equipment-group {
	margin-top: 1.2rem;
}

.area-modal__equipment-group:first-of-type {
	margin-top: 0;
}

.area-modal__equipment-group-label {
	font-size: .82rem;
	font-weight: bold;
	color: var(--clr-text-light);
	margin: 0 0 .5rem;
	padding-bottom: .3rem;
	border-bottom: 1px solid var(--clr-border);
}

/* 設備はアイテムを小さめに */
.area-modal__grid--equipment {
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.area-modal__grid--equipment .area-modal__item {
	padding: .45rem .7rem;
}

.area-modal__grid--equipment .area-modal__label {
	font-size: .82rem;
}

/* モーダル表示中はbodyスクロール禁止 */
body.modal-open {
	overflow: hidden;
}

/* ボタン */
.rent-filter__actions {
	padding-top: .8rem;
	display: flex;
	flex-direction: column;
	gap: .5rem;
}

.rent-filter__submit {
	width: 100%;
	padding: .6rem;
	background: var(--clr-accent);
	color: var(--clr-accent-on);
	border: none;
	border-radius: 6px;
	font-size: .88rem;
	font-weight: bold;
	cursor: pointer;
	transition: background .15s;
}

.rent-filter__submit:hover {
	background: var(--clr-accent-dark);
}

.rent-filter__reset {
	text-align: center;
	font-size: .78rem;
	color: var(--clr-text-light);
	text-decoration: underline;
}

.rent-filter__reset:hover {
	color: var(--clr-text);
}

/* =============================================================================
   建屋カード 新デザイン（bcard）
   ============================================================================= */

.bcard {
	border: 1px solid var(--clr-border-card);
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 2rem;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .07);
	background: var(--clr-bg);
}

/* ----- ヘッダー ----- */
.bcard__header {
	display: flex;
	gap: 0;
	align-items: stretch;
	border-bottom: 1px solid var(--clr-border);
}

/* 画像 */
.bcard__image {
	flex: 0 0 220px;
	position: relative;
	overflow: hidden;
}

.bcard__image img {
	width: 220px;
	height: 100%;
	min-height: 160px;
	object-fit: cover;
	display: block;
}

.bcard__new-badge {
	position: absolute;
	top: .5rem;
	left: .5rem;
	background: var(--clr-fav);
	color: #fff;
	font-size: .7rem;
	font-weight: bold;
	padding: .2rem .5rem;
	border-radius: 3px;
	z-index: 1;
}

/* 概要 */
.bcard__summary {
	flex: 1;
	min-width: 0;
	padding: 1rem 1.2rem;
}

.bcard__summary-top {
	display: flex;
	align-items: center;
	gap: .5rem;
	flex-wrap: wrap;
	margin-bottom: .3rem;
}

.bcard__type {
	display: inline-block;
	background: var(--clr-accent);
	color: var(--clr-accent-on);
	font-size: .7rem;
	font-weight: bold;
	padding: .15rem .6rem;
	border-radius: 3px;
	white-space: nowrap;
}

.bcard__address {
	font-size: .82rem;
	color: var(--clr-text-sub);
}

.bcard__name {
	font-size: 1.2rem;
	font-weight: bold;
	color: var(--clr-text);
	margin: 0 0 .4rem;
	line-height: 1.3;
}

.bcard__rent-row {
	display: flex;
	align-items: baseline;
	gap: .5rem;
	margin-bottom: .4rem;
}

.bcard__rent {
	font-size: 1.3rem;
	font-weight: bold;
	color: var(--clr-rent);
}

.bcard__rent-label {
	font-size: .78rem;
	color: var(--clr-text-light);
}

.bcard__specs {
	display: flex;
	flex-wrap: wrap;
	gap: .15rem .6rem;
	font-size: .82rem;
	color: var(--clr-text-sub);
	margin-bottom: .5rem;
}

.bcard__spec-item::before {
	content: '/';
	margin-right: .4rem;
	color: var(--clr-text-faint);
}

.bcard__spec-item:first-child::before {
	content: '';
	margin-right: 0;
}

.bcard__access {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: .2rem;
}

.bcard__access li {
	font-size: .82rem;
	color: var(--clr-text-sub);
}

.bcard__access strong {
	color: var(--clr-text);
}

.bcard__access-icon {
	color: var(--clr-accent-dark);
	margin-right: .3rem;
	font-size: .7rem;
}

/* 空室件数バッジ */
.bcard__vacancy {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 1rem 1.2rem;
	border-left: 1px solid var(--clr-border);
	background: var(--clr-bg-light);
	min-width: 70px;
	text-align: center;
}

.bcard__vacancy-count {
	font-size: 2rem;
	font-weight: bold;
	color: var(--clr-accent-dark);
	line-height: 1;
}

.bcard__vacancy-label {
	font-size: .78rem;
	color: var(--clr-text-light);
	margin-top: .2rem;
}

/* ----- スタッフコメント ----- */
.bcard__comment {
	padding: .8rem 1.2rem;
	background: var(--clr-bg-light);
	border-bottom: 1px solid var(--clr-border);
}

.bcard__comment-text {
	font-size: .84rem;
	color: var(--clr-text-sub);
	line-height: 1.7;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ----- 号室テーブル ----- */
.bcard__rooms {
	overflow-x: auto;
}

.bcard__no-rooms {
	padding: 1rem 1.2rem;
	font-size: .88rem;
	color: var(--clr-text-muted);
}

.room-table {
	width: 100%;
	border-collapse: collapse;
	font-size: .85rem;
	min-width: 640px;
}

.room-table thead th {
	background: var(--clr-accent-pale);
	color: var(--clr-text-dark);
	font-weight: bold;
	padding: .55rem .7rem;
	border-bottom: 2px solid var(--clr-accent);
	white-space: nowrap;
	text-align: center;
}

.room-table thead th:first-child {
	text-align: left;
}

.room-table__row {
	border-bottom: 1px solid var(--clr-border-room);
	transition: background .12s;
}

.room-table__row:last-child {
	border-bottom: none;
}

.room-table__row:hover {
	background: var(--clr-bg-light);
}

.room-table td {
	padding: .65rem .7rem;
	vertical-align: middle;
	text-align: center;
	color: var(--clr-text-sub);
}

.room-table__name {
	text-align: left !important;
	font-weight: bold;
	color: var(--clr-text);
}

.room-table__name a {
	color: var(--clr-text);
	text-decoration: none;
}

.room-table__name a:hover {
	text-decoration: underline;
}

.room-table__status {
	display: inline-block;
	font-size: .72rem;
	font-weight: normal;
	padding: .1rem .45rem;
	border-radius: 3px;
	margin-left: .4rem;
	vertical-align: middle;
}

.room-table__status.is-vacant {
	background: var(--clr-line-pale);
	color: var(--clr-line-dark);
}

.room-table__status.is-occupied {
	background: var(--clr-occupied-bg);
	color: var(--clr-occupied-text);
}

.room-table__rent strong {
	font-size: .95rem;
	color: var(--clr-rent);
}

.room-table__detail-btn {
	display: inline-block;
	padding: .35rem .9rem;
	background: var(--clr-accent);
	color: var(--clr-accent-on) !important;
	text-decoration: none;
	border-radius: 4px;
	font-size: .8rem;
	font-weight: bold;
	white-space: nowrap;
	transition: background .15s;
}

.room-table__detail-btn:hover {
	background: var(--clr-accent-dark);
}

/* ----- 号室リスト（建屋カード内 / その他の号室）----- */
.building-card__rooms {
	padding: 1rem 1.2rem;
}

.building-card__rooms-heading {
	font-size: .95rem;
	font-weight: bold;
	color: var(--clr-text-dark);
	margin: 0 0 .8rem;
	padding-left: .5rem;
	border-left: 3px solid var(--clr-accent);
}

.building-card__no-rooms {
	padding: 1rem 1.2rem;
	color: var(--clr-text-faint);
	font-size: .9rem;
}

/* アーカイブの号室リスト: 縦一列 */
.room-list {
	display: flex;
	flex-direction: column;
	gap: .6rem;
}

/* ----- 号室カード（水平レイアウト） ----- */
.room-card {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: .8rem 1rem;
	border: 1px solid var(--clr-border-room);
	border-radius: 6px;
	background: var(--clr-bg);
	transition: box-shadow .15s;
}

.room-card:hover {
	box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
}

.room-card__image {
	flex: 0 0 80px;
}

.room-card__image img {
	width: 80px;
	height: 60px;
	object-fit: cover;
	border-radius: 4px;
}

.room-card__body {
	flex: 1;
	min-width: 0;
}

.room-card__primary {
	display: flex;
	align-items: baseline;
	gap: .8rem;
	margin-bottom: .3rem;
}

.room-card__rooms {
	font-size: 1rem;
	font-weight: bold;
	color: var(--clr-text);
}

.room-card__floor,
.room-card__area {
	font-size: .85rem;
	color: var(--clr-text-sub);
}

.room-card__rent {
	margin-bottom: .25rem;
}

.room-card__rent-amount {
	font-size: 1.1rem;
	font-weight: bold;
	color: var(--clr-rent);
}

.room-card__mgmt-fee {
	font-size: .8rem;
	color: var(--clr-text-light);
}

.room-card__conditions {
	font-size: .8rem;
	color: var(--clr-text-light);
	display: flex;
	gap: .8rem;
	flex-wrap: wrap;
}

.room-card__status {
	background: var(--clr-line-pale);
	color: var(--clr-line-dark);
	padding: 1px 6px;
	border-radius: 3px;
}

.room-card__move-in {
	font-size: .8rem;
	color: var(--clr-text-light);
	margin: .2rem 0 0;
}

.room-card__action {
	flex: 0 0 auto;
}

.room-card__detail-btn {
	display: inline-block;
	padding: .5rem 1.2rem;
	background: var(--clr-accent);
	color: var(--clr-accent-on) !important;
	text-decoration: none;
	border-radius: 4px;
	font-size: .85rem;
	font-weight: bold;
	white-space: nowrap;
	transition: background .15s;
}

.room-card__detail-btn:hover {
	background: var(--clr-accent-dark);
}

/* =============================================================================
   号室詳細（single-property.php）
   ============================================================================= */

.property-detail {
	max-width: 1100px;
	margin: 2rem auto;
	padding: 0 1rem;
}

/* パンくずリスト */
.property-detail__breadcrumb {
	font-size: .82rem;
	color: var(--clr-text-light);
	margin-bottom: 1.2rem;
}

.property-detail__breadcrumb a {
	color: var(--clr-text-dark);
	text-decoration: none;
}

.property-detail__breadcrumb a:hover {
	text-decoration: underline;
}

.property-detail__breadcrumb span {
	margin: 0 .4rem;
}

/* タイトル */
.property-detail__title {
	font-size: 1.5rem;
	font-weight: bold;
	margin: 0 0 .3rem;
}

.property-detail__building-name {
	font-size: .9rem;
	color: var(--clr-text-sub);
	margin: 0 0 1.2rem;
}

/* 画像スライダー */
.pci-slider {
	margin-bottom: 1.5rem;
	user-select: none;
}

/* ステージ（クリッピング領域） */
.pci-slider__stage {
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	background-color: #fafafa;
	aspect-ratio: 16 / 9;
}

/* スライドトラック */
.pci-slider__track {
	display: flex;
	height: 100%;
	transition: transform .35s ease;
	will-change: transform;
}

.pci-slider__slide {
	flex: 0 0 100%;
	height: 100%;
}

.pci-slider__slide img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	border-radius: 0;
}

/* 前後ボタン */
.pci-slider__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0, 0, 0, .45);
	color: #fff;
	border: none;
	width: 2.6rem;
	height: 2.6rem;
	border-radius: 50%;
	font-size: 1.1rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .15s;
	z-index: 2;
	line-height: 1;
}

.pci-slider__arrow:hover {
	background: rgba(0, 0, 0, .7);
}

.pci-slider__arrow--prev {
	left: .6rem;
}

.pci-slider__arrow--next {
	right: .6rem;
}

/* 枚数カウンター */
.pci-slider__counter {
	position: absolute;
	bottom: .6rem;
	right: .8rem;
	background: rgba(0, 0, 0, .5);
	color: #fff;
	font-size: .78rem;
	padding: .2rem .6rem;
	border-radius: 20px;
	z-index: 2;
}

/* サムネイル帯 */
.pci-slider__thumbs {
	display: flex;
	gap: .4rem;
	margin-top: .5rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 2px;
	/* スクロールバー分 */
}

.pci-slider__thumbs::-webkit-scrollbar {
	height: 4px;
}

.pci-slider__thumbs::-webkit-scrollbar-thumb {
	background: var(--clr-border);
	border-radius: 4px;
}

.pci-slider__thumb {
	flex: 0 0 120px;
	height: 100px;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 4px;
	overflow: hidden;
	cursor: pointer;
	background: none;
	scroll-snap-align: start;
	transition: border-color .15s, opacity .15s;
	opacity: .6;
}

.pci-slider__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 0;
}

.pci-slider__thumb:hover,
.pci-slider__thumb.is-active {
	border-color: var(--clr-accent);
	opacity: 1;
}

/* メインカラム（カード形式・縦積み） */
.property-detail__main {
	display: flex;
	flex-direction: column;
}

/* セクション */
.property-detail__section {
	margin-bottom: 1.4rem;
	padding: 1.3rem 1.4rem;
	background: var(--clr-bg);
	border: 1px solid var(--clr-border-light);
	border-radius: 10px;
}

.property-detail__section-title {
	font-size: 1rem;
	font-weight: bold;
	color: var(--clr-accent);
	margin: 0 0 1rem;
	padding-bottom: .6rem;
	border-bottom: 2px solid var(--clr-border-light);
}

/* 基本情報: 号室情報 / 建物情報 の二列構成 */
.pdv2-info-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem 2rem;
}

.pdv2-info-col__title {
	font-size: .82rem;
	font-weight: bold;
	color: var(--clr-text-sub);
	margin: 0 0 .6rem;
}

.pdv2-info-row {
	display: flex;
	gap: 1rem;
	padding: .5rem 0;
	border-bottom: 1px solid var(--clr-border-light);
	font-size: .88rem;
}

.pdv2-info-row:last-child {
	border-bottom: none;
}

.pdv2-info-row__label {
	flex: 0 0 6em;
	color: var(--clr-text-sub);
}

.pdv2-info-row__value {
	flex: 1;
	color: var(--clr-text-dark);
	line-height: 1.6;
}

/* 賃料・費用: 横並びの数値ボックス */
.pdv2-price-grid {
	display: flex;
	flex-wrap: wrap;
}

.pdv2-price-item {
	flex: 1 1 0;
	min-width: 110px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .4rem;
	padding: .8rem .6rem;
	border-right: 1px solid var(--clr-border-light);
	text-align: center;
}

.pdv2-price-item:last-child {
	border-right: none;
}

.pdv2-price-item__label {
	font-size: .78rem;
	color: var(--clr-text-sub);
}

.pdv2-price-item__value {
	font-size: 1rem;
	font-weight: bold;
	color: var(--clr-text-dark);
}

.pdv2-price-item__value--rent {
	font-size: 1.4rem;
	color: var(--clr-rent);
}

/* 入居条件: 横並び */
.pdv2-status-row {
	display: flex;
	flex-wrap: wrap;
	gap: 2.5rem;
}

.pdv2-status-row__item {
	display: flex;
	align-items: center;
	gap: .8rem;
	font-size: .88rem;
}

.pdv2-status-row__label {
	color: var(--clr-text-sub);
}

.pdv2-status-row__value {
	color: var(--clr-text-dark);
	font-weight: bold;
}

.pdv2-status-badge {
	display: inline-block;
	padding: .25rem .8rem;
	border-radius: 3px;
	font-size: .82rem;
	font-weight: bold;
}

.pdv2-status-badge.is-vacant {
	background: var(--clr-line-pale);
	color: var(--clr-line-dark);
}

.pdv2-status-badge.is-occupied {
	background: var(--clr-occupied-bg);
	color: var(--clr-occupied-text);
}

/* 設備・条件 */
.pdv2-equipment-text {
	font-size: .88rem;
	line-height: 1.9;
	color: var(--clr-text-dark);
	margin: 0;
}

/* テーブル（互換用に維持） */
.property-detail__table {
	width: 100%;
	border-collapse: collapse;
	font-size: .9rem;
}

.property-detail__table th,
.property-detail__table td {
	padding: .55rem .7rem;
	border: 1px solid var(--clr-border);
	text-align: left;
	vertical-align: middle;
}

.property-detail__table th {
	background: var(--clr-bg-light);
	color: var(--clr-text-sub);
	font-weight: normal;
	width: 8em;
	white-space: nowrap;
}

.property-detail__rent {
	font-size: 1.2rem;
	font-weight: bold;
	color: var(--clr-rent);
}

/* 備考 */
.property-detail__notes {
	font-size: .88rem;
	line-height: 1.8;
	color: var(--clr-text-dark);
	padding: .9rem 1rem;
	background: var(--clr-bg-faint);
	border: 1px solid var(--clr-border);
	border-radius: 6px;
}

/* お問い合わせ */
.pdv2-contact__lead {
	font-size: .88rem;
	color: var(--clr-text-sub);
	margin: 0 0 1rem;
}


/* 一覧に戻るボタン */
.property-detail__footer {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	text-align: center;
}

.property-detail__back-btn {
	display: inline-block;
	padding: .6rem 1.4rem;
	border: 2px solid var(--clr-accent);
	color: var(--clr-accent-on) !important;
	background: var(--clr-accent);
	text-decoration: none;
	border-radius: 30px;
	font-size: .9rem;
	font-weight: bold;
	transition: background .15s, border-color .15s;
}

.property-detail__back-btn:hover {
	background: var(--clr-accent-dark);
	border-color: var(--clr-accent-dark);
	color: var(--clr-accent-on) !important;
}

/* =============================================================================
   この建屋の他の号室（single-property.php 下部）
   ============================================================================= */

.other-rooms {
	margin: 1.4rem 0 0;
	padding: 1.3rem 1.4rem;
	background: var(--clr-bg);
	border: 1px solid var(--clr-border-light);
	border-radius: 10px;
}

.other-rooms__title {
	font-size: 1rem;
	font-weight: bold;
	color: var(--clr-text);
	margin: 0 0 1rem;
}

/* 他の号室: 表形式レイアウト */
.pdv2-other-table-wrap {
	overflow-x: auto;
}

.pdv2-other-table {
	width: 100%;
	border-collapse: collapse;
	font-size: .85rem;
	text-align: center;
}

.pdv2-other-table th,
.pdv2-other-table td {
	padding: .7rem .6rem;
	border: 1px solid var(--clr-border-light);
	vertical-align: middle;
	white-space: nowrap;
}

.pdv2-other-table thead th {
	background: var(--clr-bg-light);
	color: var(--clr-text-sub);
	font-weight: bold;
	font-size: .8rem;
}

.pdv2-other-table__thumb {
	width: 100px;
}

.pdv2-other-table__thumb img {
	display: block;
	width: 88px;
	height: 70px;
	margin: 0 auto;
	object-fit: cover;
	border-radius: 4px;
	background: var(--clr-bg-light);
}

.pdv2-other-table__rent {
	color: var(--clr-rent);
	font-weight: bold;
	font-size: .95rem;
}

.pdv2-other-table__rooms {
	color: var(--clr-line-dark);
	font-weight: bold;
}


/* =============================================================================
   物件検索ページ リデザイン（search-property.php / .psearch）
   ============================================================================= */

/* ページ全体 */
.psearch {
	max-width: 1200px;
	margin: 2rem auto;
	padding: 0 1.2rem 3rem;
}

/* ヒーローヘッダー */
.psearch__hero {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.psearch__hero-icon {
	flex-shrink: 0;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--clr-accent);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
}

.psearch__hero-icon svg {
	width: 26px;
	height: 26px;
}

.psearch__title {
	font-size: 1.6rem;
	font-weight: bold;
	color: var(--clr-text-dark);
	margin: 0 0 .2rem;
}

.psearch__subtitle {
	font-size: .88rem;
	color: var(--clr-text-muted);
	margin: 0;
}

/* フォームカード */
.psearch__card {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
	padding: 1.8rem 2rem;
}

/* セクション・区切り */
.psearch__section {
	padding: .8rem 0;
}

.psearch__divider {
	border: none;
	border-top: 1px solid var(--clr-border-light);
	margin: 0;
}

/* ラベル */
.psearch__label {
	font-size: .8rem;
	font-weight: bold;
	color: var(--clr-text-sub);
	margin: 0 0 .5rem;
	letter-spacing: .03em;
}

/* グリッドレイアウト */
.psearch__row {
	display: grid;
	gap: 1.2rem;
}

.psearch__row--3col {
	grid-template-columns: repeat(3, 1fr);
}

.psearch__row--2col {
	grid-template-columns: repeat(2, 1fr);
}

/* フィールド */
.psearch__field {
	display: flex;
	flex-direction: column;
}

/* ドロップダウントリガーボタン */
.psearch__dropdown {
	display: flex;
	align-items: center;
	gap: .6rem;
	width: 100%;
	padding: .7rem 1rem;
	background: #fff;
	border: 1.5px solid var(--clr-border);
	border-radius: 8px;
	cursor: pointer;
	font-size: .9rem;
	color: var(--clr-text-sub);
	text-align: left;
	transition: border-color .15s, background .15s;
}

.psearch__dropdown:hover,
.psearch__dropdown.is-selected {
	border-color: var(--clr-accent);
	background: var(--clr-accent-pale);
}

.psearch__dropdown-icon {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	color: var(--clr-accent);
	display: flex;
	align-items: center;
	justify-content: center;
}

.psearch__dropdown-icon svg {
	width: 18px;
	height: 18px;
}

.psearch__dropdown-text {
	flex: 1;
}

.psearch__dropdown-arrow {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	color: var(--clr-text-muted);
	display: flex;
	align-items: center;
}

.psearch__dropdown-arrow svg {
	width: 16px;
	height: 16px;
}

/* 選択タグ */
.psearch__tags {
	display: flex;
	flex-wrap: wrap;
	gap: .3rem;
	margin-top: .4rem;
}

.psearch__tag {
	display: inline-flex;
	align-items: center;
	gap: .25rem;
	padding: .2rem .55rem;
	background: var(--clr-accent);
	color: #fff;
	border-radius: 20px;
	font-size: .78rem;
}

.psearch__tag-remove {
	background: none;
	border: none;
	color: rgba(255, 255, 255, .8);
	cursor: pointer;
	font-size: .85rem;
	padding: 0;
	line-height: 1;
}

.psearch__tag-remove:hover {
	color: #fff;
}

/* 賃料・面積レンジ */
.psearch__range {
	display: flex;
	align-items: center;
	gap: .5rem;
}

.psearch__select {
	flex: 1;
	padding: .65rem .8rem;
	border: 1.5px solid var(--clr-border);
	border-radius: 8px;
	font-size: .88rem;
	color: var(--clr-text);
	background: #fff;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right .6rem center;
	background-size: 14px;
	padding-right: 2rem;
	cursor: pointer;
}

.psearch__select:focus {
	outline: none;
	border-color: var(--clr-accent);
}

.psearch__range-sep {
	font-size: .85rem;
	color: var(--clr-text-muted);
	flex-shrink: 0;
}

.psearch__range-unit {
	font-size: .85rem;
	color: var(--clr-text-sub);
	flex-shrink: 0;
}

/* チェックボックス */
.psearch__checkboxes {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem .8rem;
}

.psearch__checkboxes--equipment {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: .6rem 0;
}

/* 設備条件のグループ見出し */
.psearch__equipment-group {
	margin-top: 1rem;
}

.psearch__equipment-group:first-of-type {
	margin-top: .6rem;
}

.psearch__equipment-group-label {
	font-size: .8rem;
	font-weight: bold;
	color: var(--clr-text-light);
	margin: 0 0 .5rem;
	padding-bottom: .3rem;
	border-bottom: 1px solid var(--clr-border);
}

.psearch__check {
	display: flex;
	align-items: center;
	gap: .35rem;
	font-size: .88rem;
	color: var(--clr-text-dark);
	cursor: pointer;
}

.psearch__check input[type="checkbox"] {
	width: 16px;
	height: 16px;
	cursor: pointer;
}

/* フリーワード */
.psearch__keyword-wrap {
	position: relative;
}

.psearch__keyword-icon {
	position: absolute;
	left: .9rem;
	top: 50%;
	transform: translateY(-50%);
	width: 18px;
	height: 18px;
	color: var(--clr-text-muted);
	pointer-events: none;
}

.psearch__keyword-icon svg {
	width: 18px;
	height: 18px;
}

.psearch__keyword {
	width: 100%;
	padding: .7rem 1rem .7rem 2.6rem;
	border: 1.5px solid var(--clr-border);
	border-radius: 8px;
	font-size: .9rem;
	color: var(--clr-text);
	box-sizing: border-box;
}

.psearch__keyword::placeholder {
	color: var(--clr-text-faint);
}

.psearch__keyword:focus {
	outline: none;
	border-color: var(--clr-accent);
}

/* アクションボタン */
.psearch__actions {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-top: 1.2rem;
}

.psearch__submit {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	padding: .85rem 1rem;
	background: var(--clr-accent);
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: bold;
	cursor: pointer;
	transition: background .15s;
}

.psearch__submit svg {
	width: 18px;
	height: 18px;
}

.psearch__submit:hover {
	background: var(--clr-accent-dark);
}

.psearch__clear {
	display: flex;
	align-items: center;
	gap: .4rem;
	padding: .8rem 1.4rem;
	border: 1.5px solid var(--clr-accent);
	border-radius: 8px;
	color: var(--clr-accent);
	font-size: .88rem;
	white-space: nowrap;
	text-decoration: none;
	transition: background .15s;
}

.psearch__clear svg {
	width: 14px;
	height: 14px;
}

.psearch__clear:hover {
	background: var(--clr-accent-pale);
}

/* =============================================================================
   物件検索ページ（旧スタイル・後方互換）
   ============================================================================= */

.search-page {
	max-width: 960px;
	margin: 2rem auto;
	padding: 0 1rem;
}

.search-page__title {
	font-size: 1.6rem;
	font-weight: bold;
	margin-bottom: 1.5rem;
	padding-bottom: .5rem;
	border-bottom: 3px solid var(--clr-accent);
}

.search-page__intro {
	color: var(--clr-text-light);
	font-size: .9rem;
	margin-top: 1rem;
}

/* ----- 検索フォーム ----- */
.search-form {
	background: var(--clr-accent-pale);
	border: 1px solid var(--clr-accent-dark);
	border-radius: 10px;
	padding: 1.5rem;
	margin-bottom: 2rem;
}

.search-form__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 1.2rem;
}

.search-form__field {
	display: flex;
	flex-direction: column;
	gap: .4rem;
	border: none;
	padding: 0;
	margin: 0;
}

.search-form__label {
	font-size: .82rem;
	font-weight: bold;
	color: var(--clr-text-dark);
}

/* 間取りだけ全幅 */
.search-form__field:first-child {
	grid-column: 1 / -1;
}

.search-form__checkboxes {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem .8rem;
}

.search-form__check-label {
	display: flex;
	align-items: center;
	gap: .3rem;
	font-size: .85rem;
	cursor: pointer;
}

.search-form__check-label input[type="checkbox"] {
	accent-color: var(--clr-accent-dark);
	width: 1rem;
	height: 1rem;
}

.search-form__range {
	display: flex;
	align-items: center;
	gap: .4rem;
}

.search-form__range-sep {
	font-size: .85rem;
	color: var(--clr-text-sub);
	flex-shrink: 0;
}

.search-form__select {
	padding: .4rem .6rem;
	border: 1px solid var(--clr-border);
	border-radius: 4px;
	font-size: .85rem;
	background: var(--clr-bg);
	color: var(--clr-text);
	flex: 1;
}

.search-form__select--full {
	width: 100%;
	flex: none;
}

.search-form__text {
	padding: .4rem .6rem;
	border: 1px solid var(--clr-border);
	border-radius: 4px;
	font-size: .85rem;
	width: 100%;
	background: var(--clr-bg);
	color: var(--clr-text);
}

.search-form__text::placeholder {
	color: var(--clr-text-faint);
}

.search-form__hint {
	font-size: .75rem;
	color: var(--clr-text-muted);
	margin-top: .1rem;
}

/* 全幅フィールド（エリア・間取りなど） */
.search-form__field--full {
	grid-column: 1 / -1;
}

/* ターム件数 */
.search-form__term-count {
	font-size: .75rem;
	color: var(--clr-text-muted);
	font-weight: normal;
}

/* multipleセレクト */
.search-form__select[multiple] {
	height: auto;
	padding: .2rem;
}

.search-form__select[multiple] option {
	padding: .25rem .4rem;
	border-radius: 3px;
}

.search-form__select[multiple] option:checked {
	background: var(--clr-accent);
	color: var(--clr-accent-on);
}

.search-form__actions {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-top: 1.4rem;
	flex-wrap: wrap;
}

.search-form__submit {
	padding: .65rem 2.5rem;
	background: var(--clr-accent);
	color: var(--clr-accent-on);
	border: none;
	border-radius: 4px;
	font-size: 1rem;
	font-weight: bold;
	cursor: pointer;
	transition: background .15s;
}

.search-form__submit:hover {
	background: var(--clr-accent-dark);
}

.search-form__reset {
	font-size: .85rem;
	color: var(--clr-text-light);
	text-decoration: underline;
}

.search-form__reset:hover {
	color: var(--clr-text);
}

/* ----- 検索結果 ----- */
.search-results__count {
	font-size: .9rem;
	color: var(--clr-text-dark);
	margin-bottom: 1rem;
}

.search-results__count strong {
	font-size: 1.1rem;
	color: var(--clr-text);
}

.search-results__page {
	font-size: .8rem;
	color: var(--clr-text-light);
	margin-left: .5rem;
}

.search-results__none {
	padding: 2.5rem;
	text-align: center;
	color: var(--clr-text-muted);
	background: var(--clr-bg-light);
	border-radius: 8px;
	line-height: 1.8;
}

.search-results__list {
	display: flex;
	flex-direction: column;
	gap: .8rem;
}

/* ----- 検索結果カード ----- */
.search-result-card {
	display: flex;
	gap: 1rem;
	padding: 1rem;
	border: 1px solid var(--clr-border-room);
	border-radius: 8px;
	background: var(--clr-bg);
	transition: box-shadow .15s;
}

.search-result-card:hover {
	box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
}

.search-result-card__image {
	flex: 0 0 140px;
}

.search-result-card__image img {
	width: 140px;
	height: 105px;
	object-fit: cover;
	border-radius: 4px;
}

.search-result-card__body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: .5rem;
}

.search-result-card__head {}

.search-result-card__title {
	font-size: 1rem;
	font-weight: bold;
	margin: .2rem 0 0;
}

.search-result-card__title a {
	color: var(--clr-text);
	text-decoration: none;
}

.search-result-card__title a:hover {
	text-decoration: underline;
}

.search-result-card__building {
	font-size: .8rem;
	color: var(--clr-text-light);
	margin: .15rem 0 0;
}

.search-result-card__specs {
	display: flex;
	flex-direction: column;
	gap: .2rem;
	margin: 0;
	font-size: .82rem;
}

.search-result-card__spec-row {
	display: flex;
	align-items: baseline;
	gap: .5rem;
	flex-wrap: wrap;
}

.search-result-card__spec-row dt {
	color: var(--clr-text-muted);
	white-space: nowrap;
	flex-shrink: 0;
}

.search-result-card__spec-row dd {
	margin: 0;
	color: var(--clr-text-sub);
}

.spec-rooms {
	font-weight: bold;
	font-size: .95rem;
	color: var(--clr-text) !important;
}

.spec-floor,
.spec-area {
	color: var(--clr-text-sub) !important;
}

.search-result-card__rent {
	display: flex;
	align-items: baseline;
	gap: .6rem;
	flex-wrap: wrap;
}

.search-result-card__rent-amount {
	font-size: 1.15rem;
	font-weight: bold;
	color: var(--clr-rent);
}

.search-result-card__mgmt {
	font-size: .8rem;
	color: var(--clr-text-light);
}

.search-result-card__deposit {
	font-size: .78rem;
	color: var(--clr-text-light);
}

.search-result-card__action {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: center;
	gap: .5rem;
}

.search-result-card__btn {
	display: inline-block;
	padding: .5rem 1.2rem;
	background: var(--clr-accent);
	color: var(--clr-accent-on) !important;
	text-decoration: none;
	border-radius: 4px;
	font-size: .85rem;
	font-weight: bold;
	white-space: nowrap;
	transition: background .15s;
}

.search-result-card__btn:hover {
	background: var(--clr-accent-dark);
}

/* ----- ページネーション ----- */
.search-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin-top: 2rem;
}

.search-pagination__btn {
	display: inline-block;
	padding: .5rem 1.4rem;
	border: 2px solid var(--clr-accent);
	border-radius: 4px;
	background: var(--clr-accent);
	color: var(--clr-accent-on) !important;
	text-decoration: none;
	font-size: .9rem;
	font-weight: bold;
	transition: background .15s;
}

.search-pagination__btn:hover {
	background: var(--clr-accent-dark);
	border-color: var(--clr-accent-dark);
}

.search-pagination__info {
	font-size: .85rem;
	color: var(--clr-text-light);
}

/* =============================================================================
   お気に入りボタン
   ============================================================================= */

.fav-btn {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
    padding: .5rem .9rem !important;
	border: 1px solid var(--clr-fav-border);
	border-radius: 6px;
	background: var(--clr-bg);
	color: var(--clr-fav);
	font-size: .85rem;
	font-weight: bold;
	cursor: pointer;
	transition: background .15s, color .15s, border-color .15s;
	white-space: nowrap;
}

.fav-btn:hover {
	background: var(--clr-fav-pale);
}

.fav-btn.is-favorited {
	background: var(--clr-fav);
	border-color: var(--clr-fav);
	color: #fff;
}

.fav-btn__icon {
	font-size: 1rem;
}

/* 小さいボタン（一覧ページ用） */
.fav-btn--small {
	padding: .3rem .7rem;
    font-size: .82rem;
	border-width: 1.5px;
}

/* タイトル行レイアウト */
.property-detail__title-row {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: .3rem;
}

.property-detail__title-row .property-detail__title {
	margin: 0;
}

/* =============================================================================
   お気に入り一覧ページ（favorites.php）
   ============================================================================= */

.favorites-page__desc {
	font-size: .88rem;
	color: var(--clr-text-light);
	margin-bottom: 1.5rem;
}

.favorites-page__loading,
.favorites-page__empty {
	padding: 2rem;
	text-align: center;
	color: var(--clr-text-muted);
}

/* ---- ヘッダー（タイトル・操作） ---- */

.fav2-header {
	margin-bottom: 1.4rem;
}

.fav2-header__row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
}

.fav2-header__title {
	font-size: 1.5rem;
	font-weight: bold;
	color: var(--clr-text-dark);
	margin: 0 0 .4rem;
}

.fav2-header__desc {
	font-size: .85rem;
	color: var(--clr-text-light);
	margin: 0;
}

.fav2-header__controls {
	display: flex;
	align-items: center;
	gap: .8rem;
	flex-wrap: wrap;
}

.fav2-bulk-delete {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	padding: .55rem 1.1rem;
	border: 1.5px solid var(--clr-accent);
	border-radius: 6px;
	background: #fff;
	color: var(--clr-accent);
	font-size: .85rem;
	font-weight: 500;
	cursor: pointer;
	white-space: nowrap;
	transition: background .15s, color .15s, opacity .15s;
}

.fav2-bulk-delete__icon svg {
	width: 16px;
	height: 16px;
	display: block;
}

.fav2-bulk-delete:not(:disabled):hover {
	background: var(--clr-accent);
	color: #fff;
}

.fav2-bulk-delete:disabled {
	opacity: .4;
	cursor: not-allowed;
}

.fav2-sort {
	padding: .55rem 1rem;
	border: 1.5px solid var(--clr-border);
	border-radius: 6px;
	background: #fff;
	color: var(--clr-text-dark);
	font-size: .85rem;
	cursor: pointer;
}

/* ---- 一覧 ---- */

.fav2-list {
	display: flex;
	flex-direction: column;
	gap: .9rem;
}

.fav2-count {
	margin: 1.2rem 0 0;
	text-align: center;
	font-size: .82rem;
	color: var(--clr-text-muted);
}

/* ---- カード（物件一覧ページの arc2-bcard / arc2-room デザインを流用） ---- */

.fav2-list .arc2-bcard {
	margin-bottom: 0;
}

.fav2-bcard__date {
	margin: .5rem 0 0;
	font-size: .78rem;
	color: var(--clr-text-muted);
}

.fav2-room-check {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	font-size: .82rem;
	color: var(--clr-text-muted);
	cursor: pointer;
	white-space: nowrap;
}

.fav2-room-check input {
	width: 17px;
	height: 17px;
	cursor: pointer;
}

.arc2-room__fav .fav-btn__icon svg {
	width: 14px;
	height: 14px;
	display: block;
}

@media (max-width: 640px) {
	.fav2-header__row {
		flex-direction: column;
		align-items: stretch;
	}

	.fav2-header__controls {
		flex-direction: column;
		align-items: stretch;
	}

	.fav2-bulk-delete {
		justify-content: center;
	}

	.fav2-sort {
		width: 100%;
	}

	.fav2-room-check {
		order: -1;
		width: 100%;
	}
}

/* ナビのお気に入り件数バッジ */
.fav-nav-count {
	width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    color: #fff;
	background: var(--clr-fav);

}

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

@media (max-width: 700px) {
	.pdv2-info-grid {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.pdv2-price-grid {
		flex-wrap: wrap;
	}

	.pdv2-price-item {
		flex: 1 1 45%;
		border-right: none;
		border-bottom: 1px solid var(--clr-border-light);
	}

	.pdv2-other-table th,
	.pdv2-other-table td {
		padding: .55rem .5rem;
		font-size: .8rem;
	}
}

@media (max-width: 1024px) {
	/* arc2 新デザイン（タブレット） */
	.arc2-wrap {
		grid-template-columns: 1fr;
	}

	.arc2-sidebar__card {
		position: static;
	}

	.arc2-bcard__img-wrap {
		width: 180px;
	}

	.arc2-bcard__img {
		height: 140px;
	}

	.arc2-room__img-wrap {
		width: 110px;
	}

	.arc2-room__img {
		width: 110px;
		height: 95px;
	}

	.arc2-room__details {
		gap: 1rem;
	}

	/* 絞り込み検索：フローティングボタン */
	.arc2-filter-fab {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: .4rem;
		position: fixed;
		left: 50%;
		bottom: 1rem;
		transform: translateX(-50%);
		z-index: 1002;
		padding: .85rem 1.8rem;
		background: var(--clr-accent);
		color: #fff;
		border: none;
		border-radius: 30px;
		font-size: .95rem;
		box-shadow: 0 4px 16px rgba(0, 0, 0, .25);
		cursor: pointer;
	}

	.arc2-filter-fab svg {
		width: 18px;
		height: 18px;
		flex-shrink: 0;
	}

	.arc2-filter-fab__badge {
		width: 9px;
		height: 9px;
		border-radius: 50%;
		background: #e10000;
		border: 1.5px solid #fff;
	}

	/* 絞り込み検索：オーバーレイ */
	.arc2-filter-overlay {
		display: block;
		position: fixed;
		inset: 0;
		background: rgba(0, 0, 0, .5);
		z-index: 1100;
		opacity: 0;
		visibility: hidden;
		transition: opacity .2s ease;
	}

	.arc2-filter-overlay.is-open {
		opacity: 1;
		visibility: visible;
	}

	/* 絞り込み検索：モーダル化したサイドバー */
	.arc2-sidebar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		max-height: 85vh;
		z-index: 1101;
		transform: translateY(100%);
		transition: transform .25s ease;
		overflow-y: auto;
		visibility: hidden;
	}

	.arc2-sidebar.is-open {
		transform: translateY(0);
		visibility: visible;
	}

	.arc2-sidebar__card {
		border-radius: 14px 14px 0 0;
		box-shadow: 0 -4px 24px rgba(0, 0, 0, .18);
	}

	.arc2-sidebar__close {
		display: flex;
	}
}

@media (max-width: 640px) {
	.building-card__header {
		flex-direction: column;
	}

	.building-card__image {
		flex: none;
	}

	.building-card__image img {
		width: 100%;
		height: 180px;
	}

	.room-card {
		flex-wrap: wrap;
	}

	.room-card__action {
		width: 100%;
	}

	.room-card__detail-btn {
		width: 100%;
		text-align: center;
	}

	/* arc2 新デザイン */
	.arc2-wrap {
		grid-template-columns: 1fr;
	}

	.arc2-sidebar__card {
		position: static;
	}

	.arc2-bcard__building {
		flex-wrap: wrap;
	}

	.arc2-bcard__img-wrap {
		width: 100%;
	}

	.arc2-bcard__img {
		height: 200px;
		width: 100%;
	}

	.arc2-room {
		flex-wrap: wrap;
	}

	.arc2-room__img-wrap {
		display: none;
	}

	.arc2-room__details {
		gap: .8rem;
	}

	.arc2-room__actions {
		width: 100%;
		justify-content: flex-end;
	}

	.arc2-room__archive-actions .arc2-room__fav,
	.arc2-room__archive-actions .arc2-room__btn {
		flex: 1 1 50%;
		width: 50%;
		text-align: center;
		justify-content: center;
	}

	.arc2-main__header {
		flex-wrap: wrap;
		gap: .5rem;
	}

	/* 2カラム → 1カラム（旧） */
	.rent-archive-wrap {
		grid-template-columns: 1fr;
	}

	.rent-filter {
		position: static;
	}

	/* 建屋カード新デザイン */
	.bcard__header {
		flex-wrap: wrap;
	}

	.bcard__image {
		flex: 0 0 100%;
	}

	.bcard__image img {
		width: 100%;
		height: 200px;
		min-height: auto;
	}

	.bcard__vacancy {
		flex-direction: row;
		gap: .3rem;
		border-left: none;
		border-top: 1px solid var(--clr-border);
		width: 100%;
		justify-content: flex-start;
		padding: .5rem 1rem;
	}

	.bcard__vacancy-count {
		font-size: 1.1rem;
	}

	/* 検索ページ（旧） */
	.search-form__grid {
		grid-template-columns: 1fr;
	}

	.search-form__field:first-child {
		grid-column: auto;
	}

	.search-result-card {
		flex-wrap: wrap;
	}

	.search-result-card__image {
		flex: 0 0 100%;
	}

	.search-result-card__image img {
		width: 100%;
		height: 180px;
	}

	.search-result-card__action {
		flex-direction: row;
		width: 100%;
		justify-content: flex-start;
	}

	.search-result-card__btn {
		flex: 1;
		text-align: center;
	}

	/* 物件検索ページ リデザイン */
	.psearch__card {
		padding: 1.2rem 1rem;
	}

	.psearch__row--3col {
		grid-template-columns: 1fr;
	}

	.psearch__row--2col {
		grid-template-columns: 1fr;
	}

	.psearch__checkboxes--equipment {
		grid-template-columns: repeat(2, 1fr);
	}

	.psearch__actions {
		flex-direction: column;
	}

	.psearch__submit {
		width: 100%;
	}

	.psearch__clear {
		width: 100%;
		justify-content: center;
	}
}

/* =============================================================================
   404ページ
   ============================================================================= */

.error-404 {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 60vh;
	padding: 4rem 1.5rem;
}

.error-404__inner {
	text-align: center;
	max-width: 480px;
}

.error-404__code {
	font-size: clamp(5rem, 20vw, 8rem);
	font-weight: 700;
	color: var(--clr-accent);
	line-height: 1;
	margin: 0 0 0.5rem;
}

.error-404__title {
	font-size: clamp(1.25rem, 4vw, 1.75rem);
	font-weight: 700;
	color: var(--clr-text);
	margin: 0 0 1rem;
}

.error-404__message {
	font-size: 0.9375rem;
	color: var(--clr-text-muted, #666);
	line-height: 1.8;
	margin: 0 0 2rem;
}

.error-404__actions {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

.error-404__btn {
	display: inline-block;
	padding: 0.75rem 1.75rem;
	border-radius: 9999px;
	font-size: 0.9375rem;
	font-weight: 700;
	text-decoration: none;
	background: var(--clr-accent);
	color: var(--clr-accent-on);
	transition: opacity 0.2s;
}

.error-404__btn:hover {
	opacity: 0.8;
}

.error-404__btn--secondary {
	background: transparent;
	color: var(--clr-accent);
	border: 2px solid var(--clr-accent);
}

/* =============================================================================
   お問い合わせページ
   ============================================================================= */

.contact-page {
	max-width: 1200px;
	margin: 0 auto;
	padding: 3rem 1.5rem 5rem;
}

.contact-page__lead {
	font-size: 0.9375rem;
	color: var(--clr-text-light);
	line-height: 1.8;
	text-align: center;
	margin: 0 0 2rem;
}

.contact-page__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	align-items: start;
	gap: 1.5rem;
}

/* --- フォームカード --- */
.contact-page__body {
	background: var(--clr-bg);
	border: 1px solid var(--clr-border-light);
	border-radius: 12px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
	padding: 2rem;
}

.contact-page__form-title {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--clr-text-dark);
	margin: 0 0 1rem;
}

.contact-page__form-title i {
	color: var(--clr-accent);
	font-size: 1.125rem;
}

.contact-page__form-desc {
	font-size: 0.875rem;
	color: var(--clr-text-light);
	line-height: 1.8;
	margin: 0 0 1.5rem;
}

/* --- サイドバー --- */
.contact-sidebar {
	background: var(--clr-bg);
	border: 1px solid var(--clr-border-light);
	border-radius: 12px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
	padding: 1.75rem;
}

.contact-sidebar__title {
	font-size: 1rem;
	font-weight: 700;
	color: var(--clr-text-dark);
	margin: 0 0 1rem;
	padding-bottom: 0.875rem;
	border-bottom: 2px solid var(--clr-accent);
}

.contact-sidebar__item {
	display: flex;
	gap: 0.75rem;
	padding: 1.25rem 0;
	border-bottom: 1px solid var(--clr-border-light);
}

.contact-sidebar__item:first-of-type {
	padding-top: 0;
}

.contact-sidebar__item:last-of-type {
	padding-bottom: 0;
	border-bottom: none;
}

.contact-sidebar__icon {
	flex: 0 0 auto;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--clr-accent-pale);
	color: var(--clr-accent);
	font-size: 0.9375rem;
}

.contact-sidebar__item--line .contact-sidebar__icon {
	background: var(--clr-line-pale);
	color: var(--clr-line);
}

.contact-sidebar__content {
	flex: 1;
	min-width: 0;
}

.contact-sidebar__label {
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--clr-text-dark);
	margin: 0 0 0.5rem;
}

.contact-sidebar__phone {
	margin: 0;
	font-size: 1.375rem;
	font-weight: 700;
	line-height: 1.2;
}

.contact-sidebar__phone a {
	color: var(--clr-text-dark);
	text-decoration: none;
}

.contact-sidebar__hours {
	margin: 0.375rem 0 0;
	font-size: 0.8125rem;
	color: var(--clr-text-muted);
}

.contact-sidebar__text {
	margin: 0 0 1rem;
	font-size: 0.8125rem;
	color: var(--clr-text-light);
	line-height: 1.7;
}

.contact-sidebar__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	padding: 0.75rem 1rem;
	border-radius: 9999px;
	font-size: 0.875rem;
	font-weight: 700;
	text-decoration: none;
	box-sizing: border-box;
	transition: opacity 0.2s, background 0.2s;
}

.contact-sidebar__btn--line {
	background: var(--clr-line);
	color: var(--clr-line-on);
	border: 2px solid var(--clr-line);
}

.contact-sidebar__btn--line:hover {
	background: var(--clr-line-dark);
	border-color: var(--clr-line-dark);
}

/* --- 完了ページ --- */
.contact-page__body--thanks {
	text-align: center;
}

.contact-page__body--thanks .contact-page__form-title {
	justify-content: center;
}

.contact-page__back-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 240px;
	margin-top: 1.5rem;
	padding: 12px 24px;
	background: var(--clr-bg);
	color: var(--clr-accent);
	font-size: 1rem;
	font-weight: 700;
	border: 1px solid var(--clr-accent);
	border-radius: 30px;
	text-decoration: none;
	letter-spacing: 0.05em;
	transition: background 0.2s, color 0.2s;
}

.contact-page__back-link:hover {
	background: var(--clr-accent);
	color: var(--clr-bg);
}

@media (max-width: 900px) {
	.contact-page__grid {
		grid-template-columns: 1fr;
	}

	.contact-sidebar {
		order: -1;
	}
}

@media (max-width: 640px) {
	.contact-page {
		padding: 2rem 1rem 3rem;
	}

	.contact-page__body,
	.contact-sidebar {
		padding: 1.5rem 1.25rem;
	}
}

/* =============================================================================
   プライバシーポリシーページ
   ============================================================================= */

.privacy-page {
	max-width: 1200px;
	margin: 0 auto;
	padding: 3rem 1.5rem 5rem;
}

.privacy-page__header {
	text-align: center;
	margin: 0 0 2.5rem;
}

.privacy-page__title {
	font-size: 1.75rem;
	font-weight: 700;
	color: var(--clr-text-dark);
	margin: 0 0 1rem;
	padding-bottom: 1rem;
	border-bottom: 2px solid var(--clr-accent);
	display: inline-block;
}

.privacy-page__lead {
	font-size: 0.9375rem;
	color: var(--clr-text-light);
	line-height: 1.8;
	margin: 1.5rem 0 0;
}

.privacy-page__content-extra {
	font-size: 0.9375rem;
	color: var(--clr-text-light);
	line-height: 1.8;
	margin: 0 0 2rem;
}

.privacy-page__body {
	background: var(--clr-bg);
	border: 1px solid var(--clr-border-light);
	padding: 2.5rem;
}

.privacy-section {
	margin: 0 0 2.25rem;
}

.privacy-section:last-of-type {
	margin-bottom: 0;
}

.privacy-section__title {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 1.0625rem;
	font-weight: 700;
	color: var(--clr-text-dark);
	margin: 0 0 1rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--clr-border-light);
}

.privacy-section__number {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--clr-accent-pale);
	color: var(--clr-accent);
	font-size: 0.8125rem;
	font-weight: 700;
}

.privacy-section__text {
	font-size: 0.9375rem;
	color: var(--clr-text-light);
	line-height: 1.8;
}

.privacy-section__text p {
	margin: 0 0 0.75rem;
}

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

.privacy-section__list,
.privacy-section__sublist {
	margin: 0.75rem 0 0;
	padding-left: 1.5rem;
}

.privacy-section__list {
	list-style: disc;
}

.privacy-section__list > li {
	margin: 0 0 0.5rem;
}

.privacy-section__list > li:last-child {
	margin-bottom: 0;
}

.privacy-section__sublist {
	list-style: circle;
	margin-top: 0.5rem;
}

.privacy-section__sublist > li {
	margin: 0 0 0.375rem;
}

.privacy-section__box {
	margin-top: 1rem;
	padding: 1.25rem 1.5rem;
	background: var(--clr-bg-light);
	border-radius: 8px;
}

.privacy-section__box p {
	margin: 0 0 0.5rem;
}

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

.privacy-section__box a {
	color: var(--clr-accent);
	text-decoration: none;
}

@media (max-width: 640px) {
	.privacy-page {
		padding: 2rem 1rem 3rem;
	}

	.privacy-page__title {
		font-size: 1.375rem;
	}

	.privacy-page__body {
		padding: 1.5rem 1.25rem;
	}
}

/* =============================================================================
   CF7 お問い合わせフォーム
   ============================================================================= */

.cf7-inquiry-form {
	font-size: 0.9375rem;
	color: var(--clr-text, #333);
}

/* --- 行レイアウト --- */
.cf7-row {
	display: flex;
	align-items: flex-start;
	gap: 24px;
	padding: 20px 0;
	border-bottom: 1px solid #e8eef2;
}

.cf7-row:first-child {
	border-top: 1px solid #e8eef2;
}

/* --- ラベル列 --- */
.cf7-label {
	flex: 0 0 180px;
	display: flex;
	align-items: center;
	gap: 8px;
	padding-top: 10px;
	font-weight: 600;
	font-size: 0.9rem;
	color: #222;
	line-height: 1.4;
}

.cf7-label label {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

/* 必須・任意バッジ */
.cf7-label .required,
.cf7-label .optional {
	display: inline-block;
	font-size: 0.65rem;
	font-weight: 700;
	padding: 2px 6px;
	border-radius: 3px;
	line-height: 1.4;
	white-space: nowrap;
}

.cf7-label .required {
	background: #e74c3c;
	color: #fff;
}

.cf7-label .optional {
	background: #aaa;
	color: #fff;
}

/* --- フィールド列 --- */
.cf7-field {
	flex: 1;
}

/* テキスト・tel・email・textarea 共通 */
.cf7-field input[type="text"],
.cf7-field input[type="tel"],
.cf7-field input[type="email"],
.cf7-field textarea {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid #cfd8dc;
	border-radius: 6px;
	font-size: 0.9rem;
	color: #333;
	background: #fff;
	transition: border-color 0.2s, box-shadow 0.2s;
	box-sizing: border-box;
	appearance: none;
}

.cf7-field input[type="text"]:focus,
.cf7-field input[type="tel"]:focus,
.cf7-field input[type="email"]:focus,
.cf7-field textarea:focus {
	outline: none;
	border-color: var(--clr-accent);
	box-shadow: 0 0 0 3px rgba(23, 205, 221, 0.15);
}

.cf7-field input::placeholder,
.cf7-field textarea::placeholder {
	color: #b0bec5;
}

/* textarea */
.cf7-field textarea {
	min-height: 140px;
	resize: vertical;
	line-height: 1.6;
}

/* 2列分割（姓名・ふりがな） */
.cf7-field--split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

/* チェックボックス */
.cf7-field--checkbox .wpcf7-form-control {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	padding-top: 10px;
}

.cf7-field--checkbox .wpcf7-list-item {
	margin: 0;
	display: flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
}

.cf7-field--checkbox .wpcf7-list-item input[type="checkbox"] {
	width: 18px;
	height: 18px;
	border: 1.5px solid #cfd8dc;
	border-radius: 3px;
	cursor: pointer;
	flex-shrink: 0;
}

.cf7-field--checkbox .wpcf7-list-item-label {
	font-size: 0.9rem;
	color: #333;
}

/* ラジオボタン */
.cf7-field--radio .wpcf7-form-control {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 28px;
	padding-top: 10px;
}

.cf7-field--radio .wpcf7-list-item {
	margin: 0;
	display: flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
}

.cf7-field--radio .wpcf7-list-item input[type="radio"] {
	width: 18px;
	height: 18px;
	cursor: pointer;
	flex-shrink: 0;
}

.cf7-field--radio .wpcf7-list-item-label {
	font-size: 0.9rem;
	color: #333;
}

/* --- 個人情報ボックス --- */
.privacy-notice {
	margin: 28px 0 0;
	padding: 16px 20px;
	background: #f0fdfe;
	border: 1px solid #b2edf3;
	border-radius: 8px;
}

.privacy-notice__title {
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--clr-accent, #17cddd);
	margin: 0 0 8px;
}

.privacy-notice__text {
	font-size: 0.8125rem;
	color: #555;
	margin: 0;
	line-height: 1.7;
}

.privacy-notice__text a {
	color: var(--clr-accent);
	text-decoration: underline;
}

/* --- 送信ボタン --- */
.cf7-submit {
	margin-top: 28px;
}

.cf7-submit .wpcf7-submit {
	display: block;
	width: 100%;
	padding: 18px 24px;
	background: var(--clr-bg);
	color: var(--clr-accent);
	font-size: 1rem;
	border: 1px solid var(--clr-accent);
	border-radius: 30px;
	cursor: pointer;
	transition: background 0.2s, transform 0.1s;
	text-align: center;
	position: relative;
	letter-spacing: 0.05em;
}

.cf7-submit .wpcf7-submit::after {
	content: "›";
	position: absolute;
	right: 24px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.4rem;
	line-height: 1;
}

.cf7-submit .wpcf7-submit:hover {
	background: var(--clr-accent);
	color: var(--clr-bg);
}

/* --- 確認画面 --- */
.cf7-confirm__lead {
	margin: 0 0 1.5rem;
	font-size: 0.9375rem;
	color: var(--clr-text-light);
	line-height: 1.8;
}

.cf7-field--confirm {
	padding-top: 10px;
	font-size: 0.9375rem;
	color: #333;
	line-height: 1.6;
	word-break: break-all;
}

.cf7-submit--confirm {
	display: flex;
	gap: 16px;
}

.cf7-submit--confirm .wpcf7-submit,
.cf7-submit--confirm .wpcf7-previous {
	display: block;
	flex: 1;
	padding: 18px 24px;
	font-size: 1rem;
	border-radius: 30px;
	cursor: pointer;
	transition: background 0.2s, color 0.2s, transform 0.1s;
	text-align: center;
	letter-spacing: 0.05em;
}

.cf7-submit--confirm .wpcf7-submit {
	background: var(--clr-accent);
	color: var(--clr-bg);
	border: 1px solid var(--clr-accent);
}

.cf7-submit--confirm .wpcf7-submit:hover {
	background: var(--clr-bg);
	color: var(--clr-accent);
}

.cf7-submit--confirm .wpcf7-previous {
	background: var(--clr-bg);
	color: var(--clr-text-light);
	border: 1px solid var(--clr-border-light, #cfd8dc);
}

.cf7-submit--confirm .wpcf7-previous:hover {
	background: #f5f5f5;
	color: #333;
}

@media (max-width: 640px) {
	.cf7-submit--confirm {
		flex-direction: column-reverse;
	}
}

/* --- 注意書き --- */
.cf7-note {
	margin: 12px 0 0;
	font-size: 0.78rem;
	color: #888;
	text-align: left;
}

/* --- バリデーションエラー表示 --- */
.wpcf7-not-valid-tip {
	display: block;
	margin-top: 4px;
	font-size: 0.78rem;
	color: #e74c3c;
}

.wpcf7-not-valid input,
.wpcf7-not-valid textarea {
	border-color: #e74c3c !important;
}

/* --- レスポンシブ --- */
@media (max-width: 640px) {
	.cf7-row {
		flex-direction: column;
		gap: 8px;
	}

	.cf7-label {
		flex: none;
		padding-top: 0;
	}

	.cf7-field--split {
		grid-template-columns: 1fr 1fr;
		gap: 8px;
	}

	.cf7-field--checkbox .wpcf7-form-control,
	.cf7-field--radio .wpcf7-form-control {
		gap: 10px 20px;
	}
}

.wpcf7-spinner {
	display: none;
}