/* =====================================================
   アソシオ物件管理：物件ページ・検索ページ
   色はサイト共通の変数（追加CSSの :root）を使い、無い場合の値も指定
   ===================================================== */

.bk-single,
.bk-search {
	--bk-accent: var(--asocio-wine, #650006);
	--bk-accent-dark: var(--asocio-wine-dark, #45000a);
	--bk-text: #1a1a1a;
	--bk-muted: #666;
	--bk-line: #e3dcdc;
	--bk-bg-soft: #faf7f7;
	color: var(--bk-text);
	line-height: 1.8;
}

.bk-single { max-width: 1200px; margin: 0 auto; padding: 0 0 40px; }

/* パンくず */
.bk-breadcrumb { font-size: 13px; color: var(--bk-muted); margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.bk-breadcrumb a { color: var(--bk-muted); }

/* 見出し部 */
.bk-head { margin: 0 0 20px; }
.bk-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 8px; }
.bk-badge { display: inline-block; font-size: 12px; line-height: 1; padding: 6px 10px; border: 1px solid var(--bk-accent); color: var(--bk-accent); border-radius: 2px; }
.bk-badge--rent, .bk-badge--sale { background: var(--bk-accent); color: #fff; }
.bk-no { font-size: 12px; color: var(--bk-muted); margin-left: auto; }
.bk-title { font-size: clamp(22px, 3vw, 30px); line-height: 1.4; margin: 0 0 6px; padding: 0; border: none; background: none; }
.bk-catch { font-size: 16px; color: var(--bk-accent); margin: 0; font-weight: 600; }

/* 写真＋概要 */
.bk-top { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px; align-items: start; margin: 0 0 40px; }
.bk-gallery__main { margin: 0; background: #f2efef; }
.bk-gallery__main-img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #f2efef; }
.bk-gallery__caption { font-size: 13px; color: var(--bk-muted); padding: 6px 2px 0; min-height: 1.8em; background: #fff; }
.bk-gallery__thumbs { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 6px; }
.bk-gallery__thumbs li { margin: 0; padding: 0; }
.bk-gallery__thumb { display: block; width: 100%; padding: 0; border: 2px solid transparent; background: none; cursor: pointer; }
.bk-gallery__thumb img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.bk-gallery__thumb.is-active { border-color: var(--bk-accent); }
.bk-gallery__empty { aspect-ratio: 4 / 3; display: grid; place-items: center; background: #f2efef; color: var(--bk-muted); }

.bk-summary { border: 1px solid var(--bk-line); padding: 22px; background: #fff; }
.bk-price { margin: 0; display: flex; align-items: baseline; gap: 12px; }
.bk-price__label { font-size: 14px; color: var(--bk-muted); }
.bk-price__value { font-size: clamp(28px, 3.4vw, 36px); font-weight: 700; color: var(--bk-accent); line-height: 1.2; }
.bk-price-sub { font-size: 13px; color: var(--bk-muted); margin: 4px 0 0; }
.bk-summary__list { display: grid; grid-template-columns: 5em 1fr; gap: 8px 12px; margin: 18px 0; padding: 16px 0 0; border-top: 1px solid var(--bk-line); font-size: 14px; }
.bk-summary__list dt { color: var(--bk-muted); font-weight: normal; margin: 0; }
.bk-summary__list dd { margin: 0; }

/* 問い合わせボタン */
.bk-cta { display: grid; gap: 10px; }
.bk-cta__btn { display: block; text-align: center; padding: 13px 16px; border: 1px solid var(--bk-accent); color: var(--bk-accent); background: #fff; text-decoration: none; font-weight: 600; border-radius: 3px; line-height: 1.5; }
.bk-cta__btn:hover { opacity: .85; color: var(--bk-accent); }
.bk-cta__btn--primary { background: var(--bk-accent); color: #fff; }
.bk-cta__btn--primary:hover { color: #fff; background: var(--bk-accent-dark); }
.bk-cta__tel { display: block; font-size: 18px; letter-spacing: .04em; }
.bk-cta__note { font-size: 12px; color: var(--bk-muted); margin: 0; }

/* 各セクション */
.bk-section { margin: 0 0 40px; }
.bk-single .bk-h2 { text-align: left; font-size: 20px; margin: 0 0 16px; padding: 0 0 8px 12px; border: none; border-left: 4px solid var(--bk-accent); border-bottom: 1px solid var(--bk-line); background: none; color: var(--bk-text); }
.bk-intro__body { font-size: 15px; }
.bk-intro__body p { margin: 0 0 1em; }
.bk-madori { text-align: center; }
.bk-madori__img { max-width: 100%; height: auto; max-height: 640px; width: auto; border: 1px solid var(--bk-line); }

.bk-setsubi__list { display: grid; grid-template-columns: 8em 1fr; gap: 10px 16px; margin: 0; }
.bk-setsubi__list dt { font-weight: 600; font-size: 14px; margin: 0; padding-top: 3px; }
.bk-setsubi__list dd { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.bk-chip { display: inline-block; font-size: 13px; padding: 3px 10px; background: var(--bk-bg-soft); border: 1px solid var(--bk-line); border-radius: 999px; }

.bk-spec__table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 0; }
.bk-spec__table th, .bk-spec__table td { border: 1px solid var(--bk-line); padding: 10px 14px; vertical-align: top; text-align: left; }
.bk-spec__table th { width: 11em; background: var(--bk-bg-soft); font-weight: 600; white-space: nowrap; }
.bk-spec__dates { font-size: 13px; margin: 12px 0 0; }
.bk-spec__note, .bk-map__note { font-size: 12px; color: var(--bk-muted); margin: 4px 0 0; }

.bk-map { display: block; width: 100%; height: 380px; border: 0; }

.bk-bottom-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.bk-bottom-cta .bk-cta__btn { min-width: 280px; }

/* ---------- 物件ページ（案C：要点まとめ型） ---------- */
.bk-single--c .bk-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; margin: 0 0 16px; }
.bk-single--c .bk-head__main { min-width: 0; flex: 1 1 420px; }
.bk-single--c .bk-head__loc { margin: 4px 0 0; font-size: 14px; color: var(--bk-muted); }
.bk-single--c .bk-head__price { text-align: right; }
.bk-single--c .bk-head__price p { margin: 0; }
.bk-single--c .bk-price__value { font-size: clamp(28px, 3.6vw, 38px); }
.bk-single--c p.bk-badges { margin: 0 0 6px; }

/* 写真の一覧（大1枚＋小4枚） */
.bk-photos { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 6px; height: clamp(260px, 38vw, 460px); margin: 0 0 18px; border-radius: 12px; overflow: hidden; }
.bk-photos__item { position: relative; display: block; overflow: hidden; background: #f2efef; }
.bk-photos__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.bk-photos__item:hover img { transform: scale(1.03); }
.bk-photos__item:first-child { grid-row: span 2; }
.bk-photos__item.is-hidden { display: none; }
.bk-photos--n1 { grid-template-columns: 1fr; }
.bk-photos--n2 { grid-template-columns: 2fr 1fr; }
.bk-photos--n3 { grid-template-columns: 2fr 1fr; }
.bk-photos--n4 { grid-template-columns: 2fr 1fr 1fr; }
.bk-photos--n4 .bk-photos__item:nth-child(4) { grid-column: span 2; }
.bk-photos__more { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; background: rgba(40, 0, 4, .55); color: #fff; font-weight: 700; font-size: 14px; line-height: 1.5; }
.bk-photos.has-more .bk-photos__all { display: none; } /* パソコンでは5枚目の「すべて見る」を使う */
.bk-photos__all { position: absolute; right: 12px; bottom: 12px; padding: 6px 14px; border: none; border-radius: 6px; background: #fff; color: var(--bk-accent); font-size: 13px; font-weight: 700; cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.2); }

/* 要点タイル */
.bk-single ul.bk-tiles { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 0 16px; padding: 0; }
.bk-tiles li { margin: 0; padding: 12px 8px; background: var(--bk-bg-soft); border-radius: 10px; text-align: center; }
.bk-tiles__label { display: block; font-size: 12px; color: var(--bk-muted); }
.bk-tiles__value { display: block; font-size: 20px; font-weight: 700; color: var(--bk-accent); line-height: 1.4; }

/* キャッチコピーと問い合わせボタン */
.bk-cta-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin: 0 0 36px; padding: 16px 20px; border: 1px solid var(--bk-line); border-radius: 12px; }
.bk-cta-bar .bk-catch { margin: 0; flex: 1 1 320px; font-size: 17px; }
.bk-cta-bar__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.bk-cta-bar .bk-cta__btn { padding: 10px 18px; }
.bk-cta-bar .bk-cta__tel { display: inline; font-size: 15px; margin-left: 4px; }

/* おすすめポイント */
.bk-single ul.bk-points__list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; }
.bk-points__item { margin: 0; padding: 18px 18px 16px; background: var(--bk-bg-soft); border-radius: 12px; }
.bk-points__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; margin: 0 0 10px; border-radius: 50%; background: #fff; color: var(--bk-accent); }
.bk-icon { width: 24px; height: 24px; }
.bk-single p.bk-points__title { margin: 0 0 4px; font-size: 16px; font-weight: 700; }
.bk-single p.bk-points__text { margin: 0; font-size: 14px; color: #444; line-height: 1.7; }

/* 間取り図と費用の目安 */
.bk-duo { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.bk-duo--single { grid-template-columns: 1fr; }
.bk-single--c .bk-madori { text-align: center; }
.bk-single--c .bk-madori__img { max-height: 420px; cursor: zoom-in; }
.bk-single p.bk-madori__detail { margin: 8px 0 0; font-size: 13px; color: var(--bk-muted); }
.bk-costs__list { display: grid; grid-template-columns: auto 1fr; margin: 0; border-top: 1px solid var(--bk-line); font-size: 14px; }
.bk-costs__list dt, .bk-costs__list dd { margin: 0; padding: 10px 4px; border-bottom: 1px solid var(--bk-line); }
.bk-costs__list dt { color: var(--bk-muted); font-weight: 400; }
.bk-costs__list dd { text-align: right; font-weight: 700; }
.bk-single p.bk-costs__note { margin: 10px 0 0; font-size: 12px; color: var(--bk-muted); line-height: 1.7; }
.bk-single p.bk-no-foot { margin: 12px 0 0; text-align: center; font-size: 12px; color: var(--bk-muted); }

/* スマホの固定ボタン（パソコンでは出さない） */
.bk-fixbar { display: none; }

/* 写真の拡大表示 */
.bk-lightbox { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; background: rgba(10, 5, 5, .92); }
.bk-lightbox[hidden] { display: none; }
.bk-lightbox__fig { margin: 0; max-width: min(92vw, 1200px); text-align: center; }
.bk-lightbox__fig img { max-width: 100%; max-height: 80vh; object-fit: contain; }
.bk-lightbox__fig figcaption { color: #fff; font-size: 14px; margin-top: 8px; min-height: 1.5em; }
.bk-lightbox button { position: absolute; border: none; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; border-radius: 50%; width: 48px; height: 48px; font-size: 30px; line-height: 1; }
.bk-lightbox button:hover { background: rgba(255,255,255,.25); }
.bk-lightbox__close { top: 16px; right: 16px; font-size: 26px !important; }
.bk-lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.bk-lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.bk-lightbox.is-single .bk-lightbox__prev, .bk-lightbox.is-single .bk-lightbox__next { display: none; }
.bk-lightbox__count { position: absolute; bottom: 16px; left: 0; right: 0; margin: 0; text-align: center; color: #ccc; font-size: 13px; }
.bk-noscroll, .bk-noscroll body { overflow: hidden; }

/* 検索・お問い合わせページではCocoonの投稿日を出さない */
.bk-tool-page .article-header .date-tags { display: none; }
/* 同じく、記事下の「フォローする」SNSボタンと著者リンクも出さない */
.bk-tool-page .article-footer .sns-follow,
.bk-tool-page .article-footer .footer-meta { display: none; }

/* ---------- 検索ページ（案B：左サイドバー型） ---------- */
.bk-search__layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start; }
.bk-search__side { position: sticky; top: 16px; }
.bk-muted { color: var(--bk-muted); }

/* 条件パネル */
.bk-side { border: 1px solid var(--bk-line); border-radius: 10px; background: #fff; overflow: hidden; }
.bk-side__toggle { display: none; }
.bk-side__title { margin: 0; padding: 12px 16px; background: var(--bk-accent); color: #fff; font-weight: 700; font-size: 15px; }
.bk-side__title::before { content: ""; display: inline-block; width: 15px; height: 15px; margin-right: 8px; vertical-align: -2px; background: #fff; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10' cy='10' r='7'/%3E%3Cpath d='M21 21l-6-6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10' cy='10' r='7'/%3E%3Cpath d='M21 21l-6-6'/%3E%3C/svg%3E") center / contain no-repeat; }
.bk-side__sec { border-bottom: 1px solid #eee5e5; }
.bk-side__sec > summary { position: relative; list-style: none; cursor: pointer; padding: 12px 36px 12px 16px; font-weight: 700; font-size: 14px; }
.bk-side__sec > summary::-webkit-details-marker { display: none; }
.bk-side__sec > summary::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--bk-accent); border-bottom: 2px solid var(--bk-accent); transform: rotate(45deg); transition: transform .2s; }
.bk-side__sec[open] > summary::after { transform: rotate(-135deg); margin-top: -2px; }
.bk-side__sec > summary:hover { background: var(--bk-bg-soft); }
.bk-side__body { padding: 0 16px 14px; font-size: 14px; }
.bk-side__checks { display: flex; flex-direction: column; gap: 8px; }
.bk-side__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 10px; }
.bk-side__cols .bk-side__checks { display: contents; }
.bk-side__sub { margin: 10px 0 6px; font-size: 12px; font-weight: 700; color: var(--bk-muted); }
.bk-side__sub:first-child { margin-top: 0; }
.bk-side__range { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 6px; align-items: center; }
.bk-search select { width: 100%; min-width: 0; padding: 8px 28px 8px 10px; border: 1px solid #d6cfcf; border-radius: 6px; background-color: #fff; font-size: 14px; }
.bk-check { display: flex; align-items: center; gap: 6px; cursor: pointer; line-height: 1.4; }
.bk-check input { flex: none; width: 17px; height: 17px; margin: 0; accent-color: var(--bk-accent); }
.bk-side__actions { padding: 16px; display: grid; gap: 10px; text-align: center; background: var(--bk-bg-soft); }
.bk-side__submit { width: 100%; padding: 12px; border: none; border-radius: 8px; background: var(--bk-accent); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; }
.bk-side__submit:hover { background: var(--bk-accent-dark); }
.bk-search__clear { font-size: 13px; color: var(--bk-muted); }

/* 結果の見出し・並び替え */
.bk-search__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 20px; margin: 0 0 14px; padding: 0 0 12px; border-bottom: 2px solid var(--bk-accent); }
.bk-search__count { margin: 0; font-size: 15px; }
.bk-search__count strong { font-size: 26px; color: var(--bk-accent); margin-right: 2px; }
.bk-search__sort { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; }
.bk-search__sort a, .bk-search__sort span { padding: 4px 12px; border: 1px solid var(--bk-line); border-radius: 999px; text-decoration: none; color: var(--bk-text); }
.bk-search__sort a:hover { border-color: var(--bk-accent); color: var(--bk-accent); }
.bk-search__sort .is-current { background: var(--bk-accent); border-color: var(--bk-accent); color: #fff; font-weight: 700; }
.bk-search__empty { background: var(--bk-bg-soft); border-radius: 10px; padding: 24px; font-size: 14px; }
.bk-search__empty p { margin: 0 0 8px; }

/* 結果：横長カード */
.bk-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.bk-row { margin: 0; padding: 0; border: 1px solid var(--bk-line); border-radius: 10px; background: #fff; overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.bk-row:hover { border-color: var(--bk-accent); box-shadow: 0 4px 16px rgba(0, 0, 0, .08); }
.bk-row__link { display: grid; grid-template-columns: 260px minmax(0, 1fr); color: inherit; text-decoration: none; }
.bk-row__link:hover { color: inherit; }
.bk-row__img { position: relative; min-height: 190px; background: #f2efef; }
.bk-row__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bk-row__body { position: relative; padding: 16px 20px 16px; }
.bk-search .bk-row__title { margin: 0 0 4px; padding: 0; border: none; background: none; font-size: 17px; line-height: 1.5; }
.bk-row__price { margin: 0 0 6px; font-size: 24px; font-weight: 700; color: var(--bk-accent); line-height: 1.3; }
.bk-row__price span { margin-left: 8px; font-size: 13px; font-weight: 400; color: var(--bk-muted); }
.bk-row__spec { margin: 0 0 4px; font-size: 14px; font-weight: 700; }
.bk-row__spec span { margin-left: 10px; font-weight: 400; color: var(--bk-muted); }
.bk-row__meta { margin: 0; font-size: 13px; color: var(--bk-muted); line-height: 1.6; }
.bk-row__chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.bk-row__chips .bk-chip { font-size: 12px; padding: 2px 9px; }
.bk-row__more { position: absolute; right: 20px; bottom: 16px; font-size: 13px; font-weight: 700; color: var(--bk-accent); }
.bk-row__more::after { content: " →"; }
/* Cocoon の本文のリスト字下げ・段落余白（1.8em）より優先させる */
.bk-search ul.bk-rows { padding: 0; margin: 0; }
.bk-search ul.bk-rows > li { list-style: none; }
.bk-search .bk-row__body p.bk-row__price { margin: 0 0 6px; }
.bk-search .bk-row__body p.bk-row__spec { margin: 0 0 4px; }
.bk-search .bk-row__body p.bk-row__meta { margin: 0; }
.bk-search .bk-row__body p.bk-row__chips { margin: 10px 0 0; }
.bk-search .bk-search__head p, .bk-search .bk-side p { margin-bottom: 0; }
.bk-search .bk-side p.bk-side__sub { margin: 10px 0 6px; }
.bk-search .bk-side p.bk-side__sub:first-child { margin-top: 0; }
.bk-card__noimg { display: grid; place-items: center; height: 100%; min-height: inherit; color: var(--bk-muted); font-size: 13px; }
.bk-card__kind { position: absolute; left: 0; top: 0; background: var(--bk-accent); color: #fff; font-size: 12px; padding: 4px 10px; }

.bk-pager { margin: 28px 0 0; }
.bk-pager ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; }
.bk-pager li { margin: 0; }
.bk-pager a, .bk-pager span { display: block; min-width: 2.4em; text-align: center; padding: 6px 10px; border: 1px solid var(--bk-line); text-decoration: none; color: var(--bk-text); }
.bk-pager .current { background: var(--bk-accent); border-color: var(--bk-accent); color: #fff; }

/* ---------- 物件のお問い合わせ ---------- */
.bk-contact { --bk-accent: var(--asocio-wine, #650006); --bk-line: #e3dcdc; --bk-muted: #666; max-width: 820px; margin: 0 auto; }
.bk-contact__target { display: grid; grid-template-columns: 200px 1fr; gap: 18px; border: 2px solid var(--bk-accent); padding: 16px; margin: 0 0 28px; background: #fff; }
.bk-contact__thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.bk-contact__info p { margin: 0 0 4px; line-height: 1.6; }
.bk-contact__label { font-size: 12px; color: #fff; background: var(--bk-accent); display: inline-block; padding: 2px 8px; }
.bk-contact__name { font-size: 18px; font-weight: 700; }
.bk-contact__name a { color: inherit; }
.bk-contact__price { font-size: 20px; font-weight: 700; color: var(--bk-accent); }
.bk-contact__price span { font-size: 14px; color: #1a1a1a; margin-left: 8px; }
.bk-contact__meta { font-size: 13px; color: var(--bk-muted); }
.bk-contact__notice { background: #faf7f7; padding: 14px 16px; font-size: 14px; margin: 0 0 24px; }
.bk-contact .wpcf7 input[readonly] { background: #f4f4f4; color: #555; }

/* フォーム本体（案C：ステップ区切り型） */
.bk-contact .bkf { --bkf-line: #d6cfcf; --bkf-soft: #faf7f7; --bkf-tint: #f7eded; font-size: 15px; }
.bk-contact .bkf br { display: none; }
.bk-contact .bkf p { margin: 0; }
.bk-contact .bkf-step { margin: 0 0 28px; }
.bk-contact .bkf-step__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; }
.bk-contact .bkf-num { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--bk-accent); color: #fff; font-weight: 700; font-size: 14px; }
.bk-contact .bkf-step__title { font-size: 17px; font-weight: 700; }
.bk-contact .bkf-req, .bk-contact .bkf-opt { display: inline-block; font-size: 11px; line-height: 1.6; padding: 0 7px; border-radius: 3px; font-weight: 400; margin-left: 6px; vertical-align: 1px; }
.bk-contact .bkf-req { background: var(--bk-accent); color: #fff; }
.bk-contact .bkf-opt { background: #eee; color: #555; }
.bk-contact .bkf-hint { font-size: 13px; color: var(--bk-muted); }

/* ご用件：アイコン付きのタイルで選ぶ */
.bk-contact .bkf .wpcf7-checkbox { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.bk-contact .bkf .wpcf7-checkbox .wpcf7-list-item { margin: 0; }
.bk-contact .bkf .wpcf7-checkbox .wpcf7-list-item label { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; min-height: 96px; padding: 14px 6px 12px; border: 1px solid var(--bkf-line); border-radius: 10px; background: #fff; text-align: center; font-size: 14px; line-height: 1.4; cursor: pointer; transition: border-color .15s, background .15s; }
.bk-contact .bkf .wpcf7-checkbox .wpcf7-list-item label:hover { border-color: var(--bk-accent); }
.bk-contact .bkf .wpcf7-checkbox .wpcf7-list-item input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bk-contact .bkf .wpcf7-checkbox .wpcf7-list-item-label::before { content: ""; display: block; width: 30px; height: 30px; margin: 0 auto 8px; background: var(--bk-accent); -webkit-mask: var(--bkf-ic) center / contain no-repeat; mask: var(--bkf-ic) center / contain no-repeat; }
.bk-contact .bkf .wpcf7-checkbox .wpcf7-list-item label:has(input:checked) { border: 2px solid var(--bk-accent); background: var(--bkf-tint); color: var(--bk-accent); font-weight: 700; padding: 13px 5px 11px; }
.bk-contact .bkf .wpcf7-checkbox .wpcf7-list-item label:has(input:checked)::after { content: "✓"; position: absolute; top: 6px; right: 8px; font-size: 13px; color: var(--bk-accent); }
.bk-contact .bkf .wpcf7-checkbox .wpcf7-list-item label:has(input:focus-visible) { outline: 2px solid var(--bk-accent); outline-offset: 2px; }
.bk-contact .bkf .wpcf7-checkbox .wpcf7-list-item:nth-child(1) { --bkf-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18M6 21V4a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v17'/%3E%3Cpath d='M14 12v.01'/%3E%3C/svg%3E"); }
.bk-contact .bkf .wpcf7-checkbox .wpcf7-list-item:nth-child(2) { --bkf-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5' width='16' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M4 11h16M9 16l2 2 4-4'/%3E%3C/svg%3E"); }
.bk-contact .bkf .wpcf7-checkbox .wpcf7-list-item:nth-child(3) { --bkf-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3v4a1 1 0 0 0 1 1h4'/%3E%3Cpath d='M17 21H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7l5 5v11a2 2 0 0 1-2 2zM9 13h6M9 17h6'/%3E%3C/svg%3E"); }
.bk-contact .bkf .wpcf7-checkbox .wpcf7-list-item:nth-child(4) { --bkf-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 20l1.3-3.9C2.5 13.4 3.2 9.9 5.9 8a9.5 8 0 0 1 11.3.5c2.6 2.4 2.9 6 .8 8.7-2.2 2.6-6.6 3.4-10 1.7L3 20'/%3E%3C/svg%3E"); }
.bk-contact .bkf .wpcf7-checkbox .wpcf7-list-item:nth-child(5) { --bkf-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M5 12h.01M12 12h.01M19 12h.01'/%3E%3C/svg%3E"); }

/* 入力欄 */
.bk-contact .bkf-box { background: var(--bkf-soft); border-radius: 12px; padding: 18px 18px 6px; }
.bk-contact .bkf-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.bk-contact .bkf-field { margin: 0 0 14px; }
.bk-contact .bkf-label { display: block; font-size: 14px; font-weight: 700; margin: 0 0 6px; }
.bk-contact .bkf-label .bkf-req, .bk-contact .bkf-label .bkf-opt { margin-left: 8px; }
.bk-contact .bkf input[type="text"], .bk-contact .bkf input[type="email"], .bk-contact .bkf input[type="tel"], .bk-contact .bkf textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--bkf-line); border-radius: 8px; background: #fff; font-size: 16px; line-height: 1.5; box-shadow: none; transition: border-color .15s, box-shadow .15s; }
.bk-contact .bkf input:focus, .bk-contact .bkf textarea:focus { outline: none; border-color: var(--bk-accent); box-shadow: 0 0 0 3px rgba(101, 0, 6, .12); }
.bk-contact .bkf ::placeholder { color: #aaa; }
.bk-contact .bkf .wpcf7-not-valid { border-color: #c0392b; }
.bk-contact .bkf .wpcf7-not-valid-tip { font-size: 13px; margin-top: 4px; }

/* 同意・送信 */
.bk-contact .bkf-agree { text-align: center; margin: 4px 0 16px; font-size: 14px; }
.bk-contact .bkf-agree .wpcf7-list-item { margin: 0; }
.bk-contact .bkf-agree input { width: 18px; height: 18px; vertical-align: -3px; accent-color: var(--bk-accent); }
.bk-contact .bkf .bkf-submit { display: block; width: 100%; max-width: 420px; margin: 0 auto; padding: 16px; border: none; border-radius: 8px; background: var(--bk-accent); color: #fff; font-size: 17px; font-weight: 700; cursor: pointer; transition: background .15s; }
.bk-contact .bkf .bkf-submit:hover { background: var(--asocio-wine-dark, #45000a); }
.bk-contact .bkf .wpcf7-spinner { display: block; margin: 8px auto 0; }
.bk-contact .bkf-tel { text-align: center; margin: 14px 0 0; font-size: 13px; color: var(--bk-muted); }
.bk-contact .bkf-tel a { color: var(--bk-accent); font-weight: 700; font-size: 15px; text-decoration: none; }
.bk-contact .wpcf7-response-output { border-radius: 8px; margin: 16px 0 0 !important; }

@media (max-width: 834px) {
	.bk-contact__target { grid-template-columns: 1fr; }
	.bk-contact .bkf .wpcf7-checkbox { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.bk-contact .bkf-grid2 { grid-template-columns: 1fr; }
	.bk-contact .bkf-box { padding: 14px 12px 2px; }
	.bk-search__layout { grid-template-columns: 1fr; gap: 16px; }
	.bk-search__side { position: static; }
	.bk-side__toggle { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 13px 16px; cursor: pointer; list-style: none; font-weight: 700; color: var(--bk-accent); }
	.bk-side__toggle::-webkit-details-marker { display: none; }
	.bk-side__badge { font-size: 12px; font-weight: 400; background: var(--bk-accent); color: #fff; border-radius: 999px; padding: 2px 10px; }
	.bk-side[open] .bk-side__toggle { border-bottom: 1px solid var(--bk-line); }
	.bk-side__title { display: none; }
	.bk-row__link { grid-template-columns: 1fr; }
	.bk-row__img { min-height: 0; aspect-ratio: 16 / 10; }
	.bk-row__body { padding: 14px 16px 40px; }
	.bk-top { grid-template-columns: 1fr; gap: 20px; }
	.bk-setsubi__list { grid-template-columns: 1fr; gap: 4px; }
	.bk-setsubi__list dd { margin-bottom: 10px; }
	.bk-spec__table th { width: 7.5em; white-space: normal; }
	.bk-spec__table th, .bk-spec__table td { padding: 8px 10px; }
	.bk-map { height: 300px; }
	.bk-bottom-cta .bk-cta__btn { min-width: 0; width: 100%; }
	/* 物件ページ（案C） */
	.bk-single--c .bk-head { align-items: flex-start; }
	.bk-single--c .bk-head__price { text-align: left; }
	.bk-photos { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; border-radius: 10px; margin-left: -4px; margin-right: -4px; }
	.bk-photos__item { aspect-ratio: 4 / 3; }
	.bk-photos__item:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 11; }
	.bk-photos__item:nth-child(n+4) { display: none; }
	.bk-photos.has-more .bk-photos__all { display: block; }
	.bk-photos__all { right: 8px; bottom: 8px; }
	.bk-single ul.bk-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.bk-tiles__value { font-size: 18px; }
	.bk-cta-bar { padding: 14px 16px; }
	.bk-cta-bar__btns { display: none; }
	.bk-single ul.bk-points__list { grid-template-columns: 1fr; gap: 10px; }
	.bk-points__item { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; align-items: start; padding: 14px; }
	.bk-points__icon { grid-row: span 2; margin: 0; }
	.bk-duo { grid-template-columns: 1fr; gap: 28px; }
	.bk-fixbar { display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 8px 12px; background: rgba(255, 255, 255, .97); border-top: 1px solid var(--bk-line); box-shadow: 0 -2px 10px rgba(0, 0, 0, .06); }
	.bk-fixbar a { display: block; padding: 11px 6px; border-radius: 8px; text-align: center; font-weight: 700; font-size: 15px; text-decoration: none; }
	.bk-fixbar__tel { border: 1px solid var(--bk-accent); color: var(--bk-accent); background: #fff; }
	.bk-fixbar__form { background: var(--bk-accent); color: #fff; }
	.bk-lightbox__prev, .bk-lightbox__next { display: none; }
}
@media (max-width: 480px) {
	.bk-contact .bkf .wpcf7-checkbox { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bk-contact .bkf .wpcf7-checkbox .wpcf7-list-item label { min-height: 84px; font-size: 13px; }
}
