/*
Theme Name: クマカン テーマ
Author: 株式会社 熊本県不動産管理センター
Description: 熊本県不動産管理センター 専用オリジナルテーマ
Version: 1.0.0
*/

@charset "UTF-8";
/* ==========================================
   1. Variables & Base (基本設定)
========================================== */
:root {
  --primary: #0284c7;
  --primary-subtle: #e0f2fe;
  --accent: #ea580c;
  --text: #1e293b;
  --text-muted: #64748b;
  --bg: #f8fafc;
  --bg-light: #f8fafc;
  --border: #e2e8f0;
  --white: #ffffff;
  --font-base: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-brand: 'RocknRoll One', 'Noto Sans JP', sans-serif;
}
html { scroll-behavior: smooth; }
body { font-family: var(--font-base); color: var(--text); background-color: var(--bg); margin: 0; padding: 0; line-height: 1.6; }

/* 💡 アイコン薄れ防止・明度補正（fontawesomeより後に読み込む設定にしたため、!important不要でカスケードのみで解決） */
body i, body .fa-solid, body .fa-regular, body .fa-brands {
  opacity: 1;
  vertical-align: middle;
}

/* ==========================================
   2. Header & Navigation (ヘッダー)
========================================== */
.site-header { background: #0f172a; border-bottom: 1px solid #1e293b; position: sticky; top: 0; z-index: 1006; box-shadow: 0 4px 15px rgba(0,0,0,0.15); }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; }
.brand-logo { text-decoration: none; display: flex; flex-direction: column; }
.brand-sub { font-size: 0.68rem; font-weight: 700; color: #94a3b8; letter-spacing: 0.5px; }
.brand-name { font-family: var(--font-brand); font-size: 1.45rem; color: #ffffff; line-height: 1.25; letter-spacing: 0.5px; }
.brand-name span { color: var(--accent); }
.header-nav { display: flex; align-items: center; gap: 20px; }
.nav-list { display: flex; align-items: center; gap: 20px; list-style: none; margin: 0; padding: 0; }
.nav-item a, .nav-item button { text-decoration: none; font-size: 0.92rem; font-weight: 700; color: #cbd5e1; transition: color 0.2s; background: none; border: none; padding: 0; cursor: pointer; font-family: inherit; display: flex; align-items: center; gap: 5px; }
.nav-item a:hover, .nav-item button:hover { color: #ffffff; }
.nav-btn-resident { background: #1e293b; padding: 6px 12px; border-radius: 20px; font-size: 0.85rem; color: #f8fafc; border: 1px solid #334155; transition: all 0.2s ease; }
.nav-btn-resident:hover { background: #334155; color: #ffffff; }
.header-cta-group { display: flex; align-items: center; gap: 12px; }
.header-tel-box { display: flex; flex-direction: column; text-align: right; text-decoration: none; }
.header-tel-label { font-size: 0.68rem; color: #94a3b8; font-weight: 700; }
.header-tel-num { font-size: 1.15rem; font-weight: 800; color: #ffffff; line-height: 1.1; }
.header-btn { background: var(--accent); color: #fff; padding: 9px 16px; border-radius: 6px; text-decoration: none; font-size: 0.88rem; font-weight: 700; display: flex; align-items: center; gap: 6px; transition: 0.2s; }
.header-btn:hover { background: #c2410c; }

/* 🍔 スマホ用ボタン & メニュー */
.hamburger-btn { display: none; flex-direction: column; justify-content: center; align-items: center; width: 44px; height: 44px; background: #1e293b; border: 1.5px solid #334155; border-radius: 8px; cursor: pointer; padding: 0; transition: all 0.2s ease; }
.hamburger-btn:hover, .hamburger-btn.is-active { border-color: var(--primary); background: #0f172a; }
.hamburger-line { width: 22px; height: 2px; background-color: #ffffff; border-radius: 2px; transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); margin: 3.5px 0; }
.hamburger-btn.is-active .hamburger-line:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.hamburger-btn.is-active .hamburger-line:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }
.mobile-nav-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(4px); z-index: 1004; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.mobile-nav-overlay.is-open { opacity: 1; visibility: visible; }
.mobile-nav-drawer { position: fixed; top: 0; right: -100%; width: 85%; max-width: 340px; height: 100%; background: #fff; z-index: 1005; box-shadow: -5px 0 25px rgba(0,0,0,0.15); padding: 90px 24px 30px; box-sizing: border-box; overflow-y: auto; transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1); display: flex; flex-direction: column; }
.mobile-nav-drawer.is-open { right: 0; }
.drawer-header { display: flex; align-items: center; margin-bottom: 25px; padding-bottom: 15px; border-bottom: 2px dashed #e2e8f0; }
.drawer-title { font-weight: 800; font-size: 1.05rem; color: var(--text); display: flex; align-items: center; gap: 8px; }
.mobile-nav-icon { margin-right: 8px; }
.mobile-nav-icon.icon-parking { color: #475569; }
.mobile-nav-icon.icon-company { color: #64748b; }
.mobile-nav-chevron { color: #94a3b8; font-size: 0.8rem; }
.mobile-nav-list { list-style: none; padding: 0; margin: 0 0 25px; display: flex; flex-direction: column; gap: 12px; }
.mobile-nav-item a, .mobile-nav-item button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 12px 14px; background: #f8fafc; border: 1px solid var(--border); border-radius: 8px; text-decoration: none; font-size: 0.95rem; font-weight: 700; color: var(--text); box-sizing: border-box; }
.mobile-nav-item.mobile-resident-box { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.mobile-cta-box { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.mobile-tel-btn { display: flex; align-items: center; justify-content: center; gap: 8px; background: #1e293b; color: #fff; padding: 13px; border-radius: 8px; font-size: 1rem; font-weight: 800; text-decoration: none; }
.mobile-contact-btn { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent); color: #fff; padding: 13px; border-radius: 8px; font-size: 0.95rem; font-weight: 800; text-decoration: none; }

/* ==========================================
   3. Footer (フッター)
========================================== */
.site-footer { background: #0f172a; color: #94a3b8; padding: 60px 20px 30px; font-size: 0.88rem; border-top: 4px solid var(--accent); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { font-family: var(--font-brand); font-size: 1.5rem; color: #fff; margin-bottom: 12px; display: block; text-decoration: none; letter-spacing: 0.5px; }
.footer-logo span { color: var(--accent); }
.footer-desc { line-height: 1.65; margin-bottom: 16px; }
.footer-company-info { line-height: 1.7; font-size: 0.82rem; }
.footer-license { display: inline-block; font-size: 0.78rem; color: #38bdf8; background: rgba(56, 189, 248, 0.1); border: 1px solid rgba(56, 189, 248, 0.2); padding: 2px 8px; border-radius: 4px; margin: 6px 0 8px; font-weight: 700; }
.footer-sns-wrap { display: flex; gap: 12px; margin-top: 20px; }
.sns-icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #1e293b; color: #94a3b8; font-size: 1.2rem; text-decoration: none; transition: all 0.3s ease; border: 1px solid transparent; }
.sns-icon.sns-line:hover { background: #06c755; color: #fff; transform: translateY(-4px); box-shadow: 0 4px 12px rgba(6, 199, 85, 0.3); }
.sns-icon.sns-insta:hover { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); color: #fff; transform: translateY(-4px); box-shadow: 0 4px 12px rgba(220, 39, 67, 0.3); }
.sns-icon.sns-youtube:hover { background: #ff0000; color: #fff; transform: translateY(-4px); box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3); }
.footer-heading { font-size: 0.95rem; font-weight: 800; color: #fff; margin-bottom: 16px; border-left: 3px solid var(--primary); padding-left: 8px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: #cbd5e1; text-decoration: none; transition: 0.2s; display: inline-flex; align-items: center; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-tel-box { background: #1e293b; border: 1px solid #334155; padding: 16px; border-radius: 8px; margin-top: 10px; }
.footer-tel-label { font-size: 0.72rem; color: #94a3b8; margin-bottom: 4px; }
.footer-tel-num { font-size: 1.3rem; font-weight: 800; color: #fff; text-decoration: none; display: flex; align-items: center; gap: 8px; }
.footer-bottom { max-width: 1200px; margin: 0 auto; border-top: 1px solid #1e293b; padding-top: 25px; display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; color: #64748b; }
.footer-privacy-link { color: #94a3b8; text-decoration: none; transition: color 0.2s; }
.footer-privacy-link:hover { color: #fff; text-decoration: underline; }

/* ==========================================
   4. Common Forms & UI Components
========================================== */
.page-header-box { text-align: center; margin-bottom: 35px; }
.page-header-box.mb-25 { margin-bottom: 25px; }
.section-container { max-width: 900px; margin: 40px auto 80px; padding: 0 20px; box-sizing: border-box; }
.entry-content { line-height: 1.85; background: #ffffff; padding: 35px 30px; border-radius: 12px; border: 1px solid var(--border); box-shadow: 0 4px 20px rgba(0,0,0,0.02); }
.no-result-title { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.no-result-desc { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 20px; }
.btn-back-home { display: inline-block; padding: 10px 24px; background: var(--primary); color: #fff; border-radius: 6px; text-decoration: none; font-weight: 700; }
.page-sub-en { font-size: 0.82rem; font-weight: 800; color: var(--accent); letter-spacing: 1.5px; text-transform: uppercase; }
.page-main-title { font-size: 2rem; font-weight: 800; color: var(--text); margin: 6px 0 10px; }
.page-lead { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; max-width: 760px; margin: 0 auto; }
.section-title { font-size: 1.25rem; font-weight: 700; color: var(--text); border-left: 4px solid var(--primary); padding-left: 10px; margin-bottom: 20px; }
.section-title.mb-15 { margin-bottom: 15px; }
.section-title.mb-25 { margin-bottom: 25px; }
.step-grid-parking-init { display: none; grid-template-columns: repeat(3, 1fr); }
.vendor-recommend-text { font-weight: 700; color: #1e293b; }
.faq-text-spaced { margin-top: 14px; }
.caution-text { color: #b91c1c; font-weight: 700; }
.icon-mr-4 { margin-right: 4px; }
.admin-setup-notice { color: red; text-align: center; }

.request-header { text-align: center; margin-bottom: 35px; }
.request-header-tag { display: inline-block; background: #ecfdf5; color: #059669; font-weight: 800; font-size: 0.82rem; padding: 4px 14px; border-radius: 20px; margin-bottom: 12px; }
.request-title { font-size: 2rem; font-weight: 800; color: var(--text); margin-bottom: 12px; }
.request-lead { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; max-width: 760px; margin: 0 auto; }

.breadcrumb-wrap { background: #fff; border-bottom: 1px solid var(--border); padding: 12px 0; margin-bottom: 25px; }
.breadcrumb, .request-breadcrumb, .blog-breadcrumb { font-size: 0.85rem; color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumb-chevron { font-size: 0.7rem; }
.breadcrumb a, .request-breadcrumb a, .blog-breadcrumb a { color: var(--text-muted); text-decoration: none; transition: 0.2s; }
.request-breadcrumb a, .blog-breadcrumb a { color: var(--primary); }
.breadcrumb a:hover, .request-breadcrumb a:hover, .blog-breadcrumb a:hover { color: var(--primary); text-decoration: underline; }

.request-form-card, .trouble-form-container, .cancel-form-container, .contact-form-container { background: #fff; border-radius: 16px; border: 1px solid var(--border); box-shadow: 0 4px 25px rgba(0,0,0,0.03); padding: 40px 35px; margin-bottom: 45px; scroll-margin-top: 100px; }
.contact-form-box { display: flex; flex-direction: column; gap: 22px; }
.contract-form-grid { display: flex; flex-direction: column; gap: 24px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 15px; }
.form-group label { font-size: 0.92rem; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.required-badge { font-size: 0.7rem; background: #ef4444; color: #fff; padding: 2px 8px; border-radius: 4px; font-weight: 700; margin-left: 4px; }
.optional-badge { font-size: 0.7rem; background: #94a3b8; color: #fff; padding: 2px 8px; border-radius: 4px; font-weight: 700; margin-left: 4px; }

.form-control, input[type="text"], input[type="email"], input[type="tel"], select, textarea { width: 100%; max-width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 0.95rem; box-sizing: border-box; font-family: inherit; transition: border-color 0.2s; background-color: #f8fafc; }
input[type="date"] { width: 100%; max-width: 100%; padding: 12px 8px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 0.95rem; box-sizing: border-box; font-family: inherit; transition: border-color 0.2s; background-color: #f8fafc; }
.form-control:focus, input:focus, textarea:focus, select:focus { border-color: var(--primary); background-color: #fff; outline: none; box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15); }
textarea { min-height: 100px; line-height: 1.6; }
.field-example { font-size: 0.78rem; color: #94a3b8; margin-top: 3px; line-height: 1.4; }
.file-note, .form-note { font-size: 0.78rem; color: #b91c1c; margin-top: 6px; line-height: 1.4; font-weight: 600; }
.form-row-2col, .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 15px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1.2fr 1.2fr; gap: 14px; margin-bottom: 15px; }
.form-file-group, .form-sub-box { background: #f8fafc; border: 1px dashed var(--border); padding: 16px; border-radius: 8px; }
.form-control-file { font-size: 0.88rem; color: #475569; margin-top: 6px; }

.form-submit-wrap { text-align: center; margin-top: 20px; }

/* 💡 内見予約カレンダーウィジェット */
.booking-loading { text-align: center; padding: 40px 20px; color: var(--text-muted); }
.booking-days-scroll { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 10px; margin-bottom: 16px; }
.booking-day-btn { flex: 0 0 auto; padding: 10px 16px; border: 1.5px solid var(--border); border-radius: 8px; background: #fff; font-weight: 700; font-size: 0.9rem; color: var(--text); cursor: pointer; white-space: nowrap; transition: 0.15s; }
.booking-day-btn:hover { border-color: var(--primary); }
.booking-day-btn.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }
.booking-day-btn.is-weekend { color: var(--text-muted); background: #f8fafc; }
.booking-day-btn.is-weekend.is-active { background: #94a3b8; border-color: #94a3b8; color: #fff; }
.booking-slots-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.booking-weekend-msg { grid-column: span 2; text-align: center; padding: 24px 16px; background: #f8fafc; border: 1px solid var(--border); border-radius: 8px; color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }
.booking-weekend-msg .btn-cv { margin-top: 14px; width: auto; display: inline-flex; padding: 10px 20px; }
.booking-slot-btn { padding: 12px 8px; border: 1.5px solid var(--border); border-radius: 8px; background: #fff; font-weight: 700; font-size: 0.92rem; color: var(--text); cursor: pointer; transition: 0.15s; }
.booking-slot-btn:hover { border-color: var(--accent); background: var(--primary-subtle); }
.booking-slot-btn.is-disabled { background: #f1f5f9; color: #cbd5e1; border-color: #f1f5f9; cursor: default; }
.booking-selected-summary { background: #f8fafc; border: 1px solid var(--border); border-radius: 8px; padding: 14px 16px; margin-bottom: 18px; font-size: 0.95rem; line-height: 1.6; }
.booking-error-msg { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; border-radius: 8px; padding: 12px 14px; font-size: 0.88rem; margin-bottom: 12px; }
.booking-success-msg { text-align: center; padding: 30px 15px; font-size: 1rem; font-weight: 700; color: #059669; line-height: 1.7; }
.booking-form .form-submit-wrap { display: flex; gap: 10px; }
.booking-form .form-submit-wrap .btn-cv { width: auto; flex: 1; }
.form-submit-btn, input[type="submit"] { background: var(--accent); color: #ffffff; border: none; padding: 16px 50px; font-size: 1.1rem; font-weight: 800; border-radius: 8px; cursor: pointer; transition: all 0.2s ease; box-shadow: 0 4px 15px rgba(234, 88, 12, 0.25); width: 100%; max-width: 400px; display: inline-block; }
.form-submit-btn:hover, input[type="submit"]:hover { background: #c2410c; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(234, 88, 12, 0.35); }
.wpcf7-radio { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 5px; }
.wpcf7-radio label { display: flex; align-items: center; gap: 6px; font-size: 0.9rem; font-weight: 600; cursor: pointer; }
.wpcf7-radio input[type="radio"], input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--primary); cursor: pointer; }
.form-consent { text-align: center; margin: 15px 0 10px; font-size: 0.9rem; font-weight: 700; }
.cond-section { display: none; animation: fadeIn 0.4s ease forwards; }

/* モーダルウィンドウ汎用 */
.modal-overlay, .baibai-modal-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.65); backdrop-filter: blur(4px); z-index: 9999; display: none; align-items: center; justify-content: center; padding: 20px; box-sizing: border-box; opacity: 0; transition: opacity 0.25s ease; }
.modal-overlay.is-active, .modal-overlay.is-open, .baibai-modal-bg.is-open { display: flex; opacity: 1; }
.modal-card, .modal-container, .baibai-modal-box { background: #fff; border-radius: 16px; max-width: 720px; width: 100%; max-height: 90vh; overflow-y: auto; overflow-x: hidden; padding: 32px 28px; position: relative; box-shadow: 0 20px 40px rgba(0,0,0,0.15); transform: translateY(20px); transition: transform 0.25s ease; box-sizing: border-box; }
.modal-overlay.is-active .modal-card, .modal-overlay.is-open .modal-container, .baibai-modal-bg.is-open .baibai-modal-box { transform: translateY(0); }
.modal-close-btn, .baibai-close-btn { position: absolute; top: 18px; right: 18px; background: #f1f5f9; border: none; width: 32px; height: 32px; border-radius: 50%; font-size: 1.2rem; color: #64748b; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.2s; }
.modal-close-btn:hover, .baibai-close-btn:hover { background: #e2e8f0; color: #1e293b; }
.modal-title, .baibai-modal-title { font-size: 1.25rem; font-weight: 800; color: var(--text); text-align: center; margin-bottom: 6px; }
.modal-header, .baibai-modal-head { text-align: center; margin-bottom: 16px; border-bottom: 1px solid var(--border); padding-bottom: 10px; }

/* ヘッダー「ご契約中の方」モーダル */
.modal-lead { font-size: 0.85rem; color: var(--text-muted); text-align: center; margin-bottom: 24px; }
.modal-actions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.modal-action-box { background: #fff; border: 2px solid var(--border); border-radius: 12px; padding: 20px 14px; text-decoration: none; color: inherit; display: flex; flex-direction: column; align-items: center; text-align: center; transition: all 0.2s ease; }
.modal-action-box:hover { transform: translateY(-3px); }
.modal-action-trouble:hover { border-color: var(--primary); box-shadow: 0 8px 20px rgba(2, 132, 199, 0.12); }
.modal-action-trouble .modal-icon { width: 50px; height: 50px; border-radius: 50%; background: #eff6ff; color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.35rem; margin-bottom: 12px; }
.modal-action-cancel:hover { border-color: var(--accent); box-shadow: 0 8px 20px rgba(234, 88, 12, 0.12); }
.modal-action-cancel .modal-icon { width: 50px; height: 50px; border-radius: 50%; background: #fff7ed; color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 1.35rem; margin-bottom: 12px; }
.modal-action-request:hover { border-color: #10b981; box-shadow: 0 8px 20px rgba(16, 185, 129, 0.12); }
.modal-action-request .modal-icon { width: 50px; height: 50px; border-radius: 50%; background: #ecfdf5; color: #10b981; display: flex; align-items: center; justify-content: center; font-size: 1.35rem; margin-bottom: 12px; }
.modal-action-name { font-size: 0.95rem; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.modal-action-desc { font-size: 0.74rem; color: var(--text-muted); line-height: 1.45; }

/* ==========================================
   5. Front Page (トップページ)
========================================== */
.hero-section { position: relative; background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); background-size: cover; background-position: center center; color: #fff; padding: 110px 20px 120px; text-align: center; overflow: hidden; }
.hero-bg-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.55); background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px); background-size: 24px 24px; pointer-events: none; }
.hero-inner { position: relative; max-width: 900px; margin: 0 auto; z-index: 2; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--accent); padding: 8px 20px; border-radius: 30px; font-size: 0.95rem; font-weight: 800; margin-bottom: 25px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.hero-title { font-size: 3.2rem; font-weight: 800; line-height: 1.35; margin-bottom: 20px; letter-spacing: -0.5px; text-shadow: 0 2px 10px rgba(0,0,0,0.2); word-break: keep-all; overflow-wrap: anywhere; }
.hero-title span { color: #fb923c; display: inline-block; }
.hero-subtitle { font-size: 1.35rem; font-weight: 700; color: #f8fafc; margin-bottom: 35px; text-shadow: 0 2px 8px rgba(0,0,0,0.3); }

.search-hub-container { max-width: 960px; margin: -60px auto 70px; padding: 0 20px; position: relative; z-index: 10; }
.search-hub-card { background: #fff; border-radius: 14px; box-shadow: 0 12px 35px rgba(0,0,0,0.08); border: 1px solid var(--border); overflow: hidden; }
.search-tabs { display: flex; background: #f8fafc; border-bottom: 1px solid var(--border); }
.search-tab-btn { flex: 1; padding: 16px; font-size: 1.05rem; font-weight: 700; border: none; background: transparent; color: var(--text-muted); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: 0.2s; }
.search-tab-btn.active { background: #fff; color: var(--primary); border-bottom: 3px solid var(--primary); }
.search-tab-btn.active.tab-baibai { color: var(--accent); border-bottom-color: var(--accent); }
.search-tab-content { padding: 24px; }
.quick-search-grid { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 12px; align-items: flex-end; }
.quick-search-btn { background: var(--primary); color: #fff; border: none; padding: 11px 24px; border-radius: 6px; font-weight: 700; font-size: 0.95rem; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: 0.2s; height: 42px; }
.quick-search-btn:hover { background: #0369a1; }
.quick-search-btn.btn-baibai { background: var(--accent); }
.quick-search-btn.btn-baibai:hover { background: #c2410c; }

.front-section { max-width: 1200px; margin: 0 auto 80px; padding: 0 20px; box-sizing: border-box; }
.section-header-wrap { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 30px; border-bottom: 2px solid #e2e8f0; padding-bottom: 15px; }
.sec-title-en { font-size: 0.82rem; font-weight: 800; color: var(--accent); letter-spacing: 1.5px; text-transform: uppercase; }
.sec-title-en.sec-title-green { color: #10b981; }
.sec-title-ja { font-size: 1.65rem; font-weight: 800; color: var(--text); margin: 4px 0 0; }
.sec-view-all { font-size: 0.9rem; font-weight: 700; color: var(--primary); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: 0.2s; }
.sec-view-all:hover { color: #0369a1; transform: translateX(3px); }

/* ==========================================
   14. 物件カード・UIバッジの一元管理
========================================== */
.prop-list-grid, .property-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.prop-card, .property-card { background: #fff; border-radius: 10px; border: 1px solid var(--border); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.prop-card:hover, .property-card:hover { transform: translateY(-4px); box-shadow: 0 10px 25px rgba(0,0,0,0.08); border-color: var(--primary); }
.prop-thumb-wrap, .card-img-wrap { width: 100%; height: 210px; position: relative; background: #0f172a; overflow: hidden; }
.prop-thumb, .card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.prop-card:hover .prop-thumb, .property-card:hover .card-img { transform: scale(1.04); }
.prop-badge-box, .card-badge-wrap { position: absolute; top: 10px; left: 10px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 2; }

/* 💡 バッジの基本定義 */
.card-badge { font-size: 0.72rem; font-weight: 700; padding: 3px 8px; border-radius: 4px; color: #fff; background: var(--primary); }
.detail-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 0.8rem; font-weight: 800; padding: 4px 10px; border-radius: 4px; color: #ffffff; line-height: 1.2; background: var(--primary); }
.table-status-badge { font-weight: 700; padding: 3px 8px; border-radius: 4px; font-size: 0.8rem; border: 1px solid transparent; background: #f1f5f9; color: #334155; }
.badge-mini { font-size: 0.7rem; padding: 2px 6px; }

/* 💡 1. ベース（物件種別）: ネイビー / 濃いブルーグレー */
.card-badge.badge-rent, .detail-badge.badge-rent,
.card-badge.badge-baibai-type, .detail-badge.badge-baibai-type,
.card-badge.badge-type, .detail-badge.badge-type { background: #334155; color: #fff; border-color: transparent; }

/* 💡 2. ステータス（ACF生データ直結・カスケード利用） */
/* 緑系（ポジティブ） */
.status-available, .status-parking_available, .status-on_sale { background: #059669; color: #fff; border-color: transparent; }
.val-status-available { color: #059669; font-weight: 800; }
/* オレンジ系（注意喚起） */
.status-few_left, .status-scheduled, .status-negotiation { background: #ea580c; color: #fff; border-color: transparent; }
.val-status-few { color: #ea580c; font-weight: 800; }
/* 赤系（満室・成約） */
.status-full, .status-parking_full, .status-sold { background: #dc2626; color: #fff; border-color: transparent; }
.val-status-full { color: #dc2626; font-weight: 800; }
/* グレー系（居住中・工事中など） */
.status-occupied, .status-under_construction, .status-empty { background: #64748b; color: #fff; border-color: transparent; }
.val-status-other { color: #64748b; font-weight: 800; }

/* 💡 現況リボンを「右下配置」へ完全に統一 */
.corner-ribbon { position: absolute; bottom: 18px; right: -38px; width: 130px; transform: rotate(-45deg); text-align: center; font-weight: 800; font-size: 0.75rem; padding: 5px 0; box-shadow: 0 -3px 8px rgba(0, 0, 0, 0.2); z-index: 5; letter-spacing: 0.05em; color: #ffffff; }

/* リボンの連動 */
.corner-ribbon.status-available, .corner-ribbon.status-parking_available, .corner-ribbon.status-on_sale { background: #059669; color: #fff; }
.corner-ribbon.status-few_left, .corner-ribbon.status-scheduled, .corner-ribbon.status-negotiation { background: #ea580c; color: #fff; }
.corner-ribbon.status-full, .corner-ribbon.status-parking_full, .corner-ribbon.status-sold { background: #dc2626; color: #fff; }

/* 💡 3. アピールポイント */
.card-badge.badge-new, .detail-badge.badge-new, .detail-badge.badge-new-mini { background: #e11d48; color: #fff; border: none; }
.card-badge.badge-corner, .detail-badge.badge-corner, .detail-badge.detail-badge-corner { background: #9333ea; color: #fff; border-color: transparent; }
.card-badge.badge-freerent, .detail-badge.badge-freerent { background: #db2777; color: #fff; border-color: transparent; }
.card-badge.badge-freenet, .detail-badge.badge-freenet { background: #0ea5e9; color: #fff; border-color: transparent; }
.card-badge.badge-pet, .detail-badge.badge-pet, .detail-badge.badge-pet-mini { background: #d97706; color: #fff; border-color: transparent; }

/* その他 */
.card-badge.badge-area, .detail-badge.badge-area, .card-badge.card-badge-parking { background: #475569; color: #fff; border-color: transparent; }
.detail-badge.detail-badge-room { background: #1e293b; color: #fff; border-color: transparent; }

/* ==================================================
   12. 売買・成約御礼帯（sold-band）とリンク無効化処理
================================================== */
.sold-band {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  background: rgba(225, 29, 72, 0.85); /* 半透明の赤色 */
  color: #ffffff;
  text-align: center;
  font-weight: 800;
  font-size: 1.15rem;
  padding: 10px 0;
  transform: translateY(-50%);
  z-index: 10;
  letter-spacing: 0.15em;
  backdrop-filter: blur(2px);
}

/* 成約済み画像の明度調整 */
.is-full img, .is-full .stage-main-img { filter: grayscale(85%) brightness(92%); transition: filter 0.3s ease; }
.is-full:hover img { filter: grayscale(40%) brightness(96%); }
.is-sold-box img, .is-sold-card img { filter: brightness(80%); }

div.prop-card.is-sold-card {
  cursor: default;
}
div.prop-card.is-sold-card:hover {
  transform: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  border-color: var(--border);
}
div.prop-card.is-sold-card:hover .prop-thumb {
  transform: none;
}
.b-rooms-table tr.is-sold-row td {
  background: #f8fafc;
  color: #64748b;
}

/* ==========================================
   15. 共通レイアウト & セクション設定
========================================== */
.prop-body, .card-body { padding: 16px 20px; display: flex; flex-direction: column; flex-grow: 1; justify-content: space-between;}
.prop-card-title, .card-title { font-size: 1.05rem; font-weight: 700; color: var(--text); line-height: 1.4; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prop-card-address { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 12px; }
.prop-card-address.address-tight { margin-top: -8px; }
.tab-hidden { display: none; }
.spec-full-row { grid-column: span 3; }
.no-listing-message { grid-column: span 3; text-align: center; color: #64748b; padding: 30px; }
.no-news-message { text-align: center; color: #854d0e; padding: 15px; margin: 0; }
.is-sold-price { color: #94a3b8; }
.prop-card-specs, .card-specs { display: flex; gap: 8px; font-size: 0.78rem; color: #475569; background: #f8fafc; padding: 8px 10px; border-radius: 6px; margin-top: 8px; margin-bottom: 12px; }
.prop-card-specs div, .card-specs .card-spec-item { flex: 1; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center;}
.card-specs { flex-direction: column; gap: 6px; text-align: left; }
.card-specs .card-spec-item { flex-direction: row; justify-content: flex-start; }
.card-spec-item i { color: var(--primary); width: 14px; text-align: center; }
.spec-sub-label { font-size: 0.68rem; color: var(--text-muted); display: block; }
.prop-card-price-box, .card-price-row { display: flex; align-items: baseline; justify-content: space-between; border-top: 1px dashed var(--border); padding-top: 10px; margin-top: auto; }
.prop-card-price-label { font-size: 0.72rem; color: var(--text-muted); font-weight: 700; }
.prop-card-price, .card-price { font-size: 1.4rem; font-weight: 800; color: var(--accent); }
.card-price span { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }

.news-section { background: #fef9c3; border: 1.5px solid #fef08a; border-radius: 12px; padding: 24px 35px; box-shadow: 0 4px 20px rgba(234, 78, 8, 0.08); }
.news-list { display: flex; flex-direction: column; }
.news-item-btn { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 16px 8px; border: none; background: transparent; border-bottom: 1px dashed #eab308; text-align: left; cursor: pointer; transition: all 0.2s ease; width: 100%; font-family: inherit; }
.news-item-btn:last-child { border-bottom: none; }
.news-item-btn:hover { background: rgba(254, 240, 138, 0.4); border-radius: 6px; }
.news-item-btn:hover .news-title { color: var(--accent); }
.news-left-wrap { display: flex; align-items: center; gap: 16px; flex-grow: 1; min-width: 0; }
.news-meta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.news-date { font-size: 0.85rem; color: #854d0e; font-weight: 700; }
.news-cat { font-size: 0.72rem; background: #ca8a04; color: #ffffff; padding: 3px 10px; border-radius: 20px; font-weight: 700; }
.news-title { font-size: 1.02rem; font-weight: 700; color: #1e293b; margin: 0; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.banner-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 80px; }
.action-banner { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 28px 24px; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: all 0.25s ease; box-shadow: 0 4px 15px rgba(0,0,0,0.02); }
.action-banner:hover { transform: translateY(-4px); box-shadow: 0 10px 25px rgba(0,0,0,0.08); }
.action-banner-icon { width: 50px; height: 50px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 16px; }
.banner-owner .action-banner-icon { background: #f0fdf4; color: #16a34a; }
.banner-consult { border-color: #a7f3d0; }
.banner-consult .action-banner-icon { background: #ecfdf5; color: #10b981; }
.banner-consult .action-banner-link { color: #10b981; }
.banner-cancel .action-banner-icon { background: #fff7ed; color: #ea580c; }
.banner-trouble .action-banner-icon { background: #eff6ff; color: #0284c7; }
.action-banner-title { font-size: 1.15rem; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.action-banner-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; flex-grow: 1; }
.action-banner-link { font-size: 0.88rem; font-weight: 700; color: var(--primary); display: flex; align-items: center; gap: 6px; }

/* ==========================================
   6. Archive Pages (一覧ページ検索)
========================================== */
.archive-container, .archive-wrapper { max-width: 1200px; margin: 40px auto 80px; padding: 0 20px; box-sizing: border-box; }
.archive-header { margin-bottom: 25px; text-align: center; }
.archive-title { font-size: 1.85rem; font-weight: 800; color: var(--text); margin-bottom: 6px;}
.archive-lead, .archive-desc { font-size: 0.95rem; color: var(--text-muted); margin-top: 8px; }

.search-filter-card, .search-card { background: #ffffff; border-radius: 12px; border: 1px solid var(--border); padding: 24px 28px; margin-bottom: 35px; box-shadow: 0 4px 20px rgba(0,0,0,0.03); }
.search-filter-card.filter-card-baibai { border-color: #fed7aa; }
.search-filter-title, .search-card-title { font-size: 1.05rem; font-weight: 800; color: var(--text); margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.search-filter-title.filter-title-baibai { color: #ea580c; }
.is-sold-text { color: var(--text-muted); }
.btn-room-detail.btn-ended { background: #e2e8f0; color: #64748b; cursor: default; box-shadow: none; }
.search-filter-grid, .search-form-grid { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 15px; align-items: flex-end; }
.filter-range-wrap, .price-range-wrap { display: flex; align-items: center; gap: 6px; }
.filter-range-wrap select, .price-range-wrap select { flex: 1; min-width: 0; }
.filter-submit-btn, .search-submit-btn { background: var(--accent); color: #fff; border: none; padding: 0 24px; height: 42px; border-radius: 6px; font-weight: 700; font-size: 0.95rem; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: all 0.2s ease; white-space: nowrap; margin-top: auto;}
.filter-submit-btn:hover, .search-submit-btn:hover { background: #c2410c; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(234, 88, 12, 0.2); }
.search-reset-link { font-size: 0.78rem; color: var(--text-muted); text-decoration: underline; margin-top: 6px; display: inline-block; text-align: center; }
.search-result-info { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; padding-bottom: 12px; border-bottom: 1px solid var(--border); font-size: 0.95rem; color: var(--text-muted); }
.search-result-count { font-size: 1.25rem; font-weight: 800; color: var(--primary); }

.pagination-wrap { margin-top: 40px; text-align: center; }
.pagination-wrap .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 10px; margin: 0 4px; border-radius: 6px; border: 1px solid var(--border); color: var(--text); text-decoration: none; font-weight: 700; font-size: 0.9rem; background: #fff; }
.pagination-wrap .page-numbers.current { background: var(--accent); color: #fff; border-color: var(--accent); }
.no-property-box, .no-result-box { text-align: center; padding: 60px 20px; background: #fff; border-radius: 12px; border: 1px solid var(--border); }

/* ===================================================
   6-2. Building Summary (棟サマリー型一覧)
=================================================== */
.building-summary-list { display: flex; flex-direction: column; gap: 35px; margin-bottom: 60px; }

/* 検索結果アンカー（スマホで検索後に結果位置へスクロール） */
#search-results { scroll-margin-top: 80px; }
.search-results-summary { margin-bottom: 16px; }
.search-results-count { font-size: 0.95rem; font-weight: 700; color: var(--text); background: #f0f9ff; border: 1px solid #bae6fd; border-radius: 8px; padding: 10px 16px; text-align: center; margin: 0; }
.building-card { background: #ffffff; border: 1.5px solid var(--border); border-radius: 14px; overflow: hidden; box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.building-card:hover { border-color: #cbd5e1; box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06); }
.b-header-grid { display: grid; grid-template-columns: 280px 1fr; gap: 25px; padding: 24px; background: #ffffff; border-bottom: 1.5px solid #f1f5f9; }
.b-thumb-box { position: relative; width: 100%; height: 190px; border-radius: 10px; overflow: hidden; background: #0f172a; }
.b-thumb-box img { width: 100%; height: 100%; object-fit: cover; }
.b-type-badge { position: absolute; top: 10px; left: 10px; background: #334155; color: #fff; font-size: 0.75rem; font-weight: 800; padding: 4px 10px; border-radius: 4px; }
.b-info-box { display: flex; flex-direction: column; justify-content: space-between; }
.b-header-top { display: flex; justify-content: space-between; align-items: baseline; gap: 15px; flex-wrap: wrap; }
.b-name { font-size: 1.45rem; font-weight: 800; color: var(--text); margin: 0; }
.b-price-val { font-size: 1.4rem; font-weight: 900; color: var(--accent); }
.b-address { font-size: 0.88rem; color: var(--text-muted); margin: 6px 0 10px; }
.b-specs-row { display: flex; flex-wrap: wrap; gap: 15px; font-size: 0.82rem; color: #475569; background: #f8fafc; padding: 10px 14px; border-radius: 6px; }
.b-specs-row span { display: flex; align-items: center; gap: 6px; }
.b-specs-row i { color: var(--primary); }
.b-summary-meta { display: flex; gap: 20px; font-size: 0.88rem; color: #334155; margin-top: 10px; }
.b-summary-meta strong { color: var(--primary); font-size: 1.1rem; }

/* 部屋テーブル */
.b-rooms-table-wrap { width: 100%; overflow-x: auto; }
.b-rooms-table { width: 100%; border-collapse: collapse; text-align: center; font-size: 0.88rem; }
.b-rooms-table thead { background: #f8fafc; border-bottom: 1.5px solid var(--border); }
.b-rooms-table th { padding: 12px 14px; font-weight: 700; color: #475569; white-space: nowrap; }
.b-rooms-table td { padding: 14px; border-bottom: 1px solid #f1f5f9; color: var(--text); vertical-align: middle; white-space: nowrap; }
.b-rooms-table tr:last-child td { border-bottom: none; }
.b-rooms-table tr:hover td { background: #f0f9ff; }
.td-room-num { font-weight: 800; color: var(--primary); text-align: center; }
.td-rent { color: var(--accent); font-size: 1rem; }
.table-layout-badge { background: #f1f5f9; color: #334155; font-weight: 700; padding: 3px 8px; border-radius: 4px; }
.btn-room-detail { display: inline-flex; align-items: center; gap: 5px; background: #0f172a; color: #ffffff; padding: 7px 14px; border-radius: 6px; font-weight: 700; font-size: 0.8rem; text-decoration: none; transition: all 0.2s ease; }
.btn-room-detail:hover { background: var(--primary); transform: translateX(2px); }

/* ==========================================
   7. Single Pages (詳細ページ ＆ ギャラリー)
========================================== */
.detail-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.detail-title-section { background: #fff; padding: 25px 0; border-bottom: 1px solid var(--border); position: relative;}
.other-units-banner { background: #fff7ed; border-bottom: 1px solid #fed7aa; }
.other-units-banner-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 20px; }
.other-units-banner-label { font-size: 0.85rem; font-weight: 700; color: #9a3412; white-space: nowrap; }
.other-units-banner-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.other-units-banner-chip { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1.5px solid #fed7aa; border-radius: 20px; padding: 6px 14px; font-size: 0.85rem; font-weight: 700; color: var(--text); text-decoration: none; transition: 0.15s; }
.other-units-banner-chip:hover { border-color: var(--accent); background: #fff3e0; }
.other-units-banner-chip strong { color: var(--accent); }

/* 💡 タイトルセクション内 2カラムフレックスレイアウト */
.detail-header-flex { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.detail-header-left { flex: 1; min-width: 0; }
.detail-header-right { flex-shrink: 0; padding-top: 10px; }

.detail-title { font-size: 2.2rem; font-weight: 700; color: var(--text); line-height: 1.35; margin: 0 0 8px; word-break: break-word;}
.recommend-catch-box { background: var(--primary-subtle); border-left: 4px solid var(--primary); padding: 12px 18px; margin-top: 15px; border-radius: 0 6px 6px 0; font-weight: 700; color: var(--primary); font-size: 1.05rem; display: flex; align-items: center; gap: 8px; }
.prop-sub-info { font-size: 0.95rem; color: var(--text-muted); display: flex; gap: 16px; flex-wrap: wrap; margin-top: 10px; font-weight: 500; }

/* 💡 バッジグループ定義 */
.detail-badges-row, .detail-badge-group { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }

/* 💡 印刷ボタン（パターン3：吹き出しバッジ付き） */
.print-style3-wrapper { position: relative; display: inline-block; }
.print-mini-badge { position: absolute; top: -11px; right: 10px; background: #ea580c; color: #ffffff; font-size: 0.65rem; font-weight: 800; padding: 2px 7px; border-radius: 10px; box-shadow: 0 2px 6px rgba(234, 88, 12, 0.3); white-space: nowrap; pointer-events: none; z-index: 2; line-height: 1.2; }
.print-mini-badge::after { content: ""; position: absolute; bottom: -4px; right: 10px; border-width: 4px 4px 0 4px; border-style: solid; border-color: #ea580c transparent transparent transparent; }
.btn-print-style3 { background: #ffffff; color: #0f172a; border: 1.5px solid #0f172a; border-radius: 6px; padding: 7px 16px; font-size: 0.88rem; font-weight: 800; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); transition: all 0.2s ease; display: inline-flex; align-items: center; gap: 7px; }
.btn-print-style3:hover { background: #0f172a; color: #ffffff; transform: translateY(-2px); }

/* 💡 Splideギャラリー完全対応 */
.fullwidth-gallery-stage { width: 100%; background: #0f172a; position: relative; overflow: hidden; }
.stage-main-wrap { width: 100%; max-width: 1200px; margin: 0 auto; position: relative; }
#main-slider { width: 100%; margin: 0 auto; }
/* 💡 autoHeight対応：固定高さで写真を収める方式をやめ、各写真の縦横比のまま幅いっぱいに表示する（type:'slide'化に伴いSplideの高さ自動調整機能を使用） */
#main-slider .splide__track { width: 100%; }
#main-slider .splide__slide { background: #000; }
#main-slider .splide__slide img { width: 100%; height: auto; display: block; }

/* 💡 PC表示限定：ギャラリー写真の高さ上限（物件詳細ページがPCで縦長になりすぎる問題への対応） */
@media (min-width: 1101px) {
  #main-slider .splide__slide { height: 500px; }
  #main-slider .splide__slide img { height: 100%; object-fit: cover; }
}

.gallery-thumbs-bar { background: #1e293b; padding: 12px 0; width: 100%; }
.thumbs-container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
#thumbnail-slider .splide__slide { opacity: 0.45; transition: opacity 0.2s ease, border-color 0.2s ease; border-radius: 4px; overflow: hidden; cursor: pointer; border: 2px solid transparent; }
#thumbnail-slider .splide__slide.is-active { opacity: 1; border-color: var(--accent); }
#thumbnail-slider .splide__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

.main-layout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 40px; align-items: start; margin-top: 40px; margin-bottom: 60px; }

/* ノートPC・ウィンドウ未最大化時など、中間の画面幅で右サイドバーがはみ出すのを防ぐため、
   768px（スマホ用）より広い段階で先に1カラムへ切り替える */
@media (max-width: 1100px) {
  .main-layout-grid { grid-template-columns: 1fr; gap: 30px; }
  .side-column { position: static; }
  /* 💡 ギャラリーをmain-column内に移動したことに伴う、スマホでの画面幅いっぱい表示の補正 */
  .main-column .fullwidth-gallery-stage,
  .main-column .gallery-thumbs-bar {
    margin-left: -20px;
    margin-right: -20px;
    width: calc(100% + 40px);
  }
}
.side-column { position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow-y: auto; }

/* 🌟 クイックスペックカード */
.detail-main-card { background: #ffffff; border-radius: 14px; padding: 24px; border: 1px solid #e2e8f0; box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04); margin-bottom: 25px; }
.quick-spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.quick-spec-grid.grid-3 { grid-template-columns: repeat(3, 1fr); }
.quick-spec-item { background: #f8fafc; border: 1.5px solid #e2e8f0; border-radius: 10px; padding: 14px 16px; display: flex; flex-direction: column; justify-content: center; gap: 6px; box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02); transition: all 0.2s ease; }
.quick-spec-item:hover { border-color: #cbd5e1; background: #f1f5f9; }
.quick-spec-item .label { font-size: 0.78rem; font-weight: 700; color: #64748b; display: flex; align-items: center; gap: 8px; margin: 0; line-height: 1; }
.quick-spec-item .icon-circle { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: #eff6ff; color: #0284c7; font-size: 0.82rem; flex-shrink: 0; }
.quick-spec-item .val { font-size: 1.05rem; font-weight: 800; color: #0f172a; line-height: 1.45; letter-spacing: -0.01em; word-break: break-word; }
.quick-spec-item .val.val-price { color: var(--accent); font-size: 1.25rem; font-weight: 900; }

/* 住宅ローンシミュレーションボックス */
.loan-sim-box { background: #fff7ed; border: 1px solid #ffedd5; border-left: 4px solid var(--accent); padding: 20px; border-radius: 8px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 20px;}
.loan-sim-title { font-size: 1rem; font-weight: 700; color: #9a3412; margin-bottom: 4px; }
.loan-sim-val { font-size: 1.5rem; font-weight: 800; color: var(--accent); }

/* 🌟 初期費用アコーディオン */
.initial-cost-section { position: relative; border: 2px solid #fef08a; border-radius: 10px; background: #ffffff; margin: 25px 0; transition: border-color 0.3s ease, box-shadow 0.3s ease; animation: cost-gold-pulse 2.8s infinite; }
.initial-cost-section.is-open { border-color: #f59e0b; animation: none; box-shadow: 0 4px 18px rgba(245, 158, 11, 0.12); }
@keyframes cost-gold-pulse { 0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.45); border-color: #facc15; } 60% { box-shadow: 0 0 0 9px rgba(245, 158, 11, 0); border-color: #fef08a; } 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); border-color: #facc15; } }
.cost-bubble-badge { position: absolute; top: -12px; right: 14px; background: linear-gradient(135deg, #d97706 0%, #b45309 100%); color: #ffffff; font-size: 0.74rem; font-weight: 800; padding: 3px 11px; border-radius: 20px; box-shadow: 0 3px 8px rgba(180, 83, 9, 0.35); letter-spacing: 0.02em; pointer-events: none; z-index: 2; white-space: nowrap; }
.initial-cost-section.is-open .cost-bubble-badge { display: none; }
.cost-header { background: #fefce8; padding: 14px 18px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; user-select: none; border-radius: 8px 8px 0 0; transition: background 0.2s ease; }
.initial-cost-section:not(.is-open) .cost-header { border-radius: 8px; }
.cost-header:hover { background: #fef9c3; }
.cost-header-main { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.cost-icon-box { font-size: 1.25rem; color: #d97706; flex-shrink: 0; }
.cost-text-wrap { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; min-width: 0; }
.initial-cost-section .cost-title-closed { display: flex; align-items: baseline; gap: 6px; flex-wrap: nowrap; }
.initial-cost-section.is-open .cost-title-closed { display: none; }
.initial-cost-section .cost-title-open { display: none; font-size: 1.02rem; font-weight: 800; color: #92400e; }
.initial-cost-section.is-open .cost-title-open { display: block; }
.cost-lbl { font-size: 0.85rem; font-weight: 800; color: #78350f; white-space: nowrap; }
.cost-lbl.cost-lbl-lg { font-size: 0.95rem; color: #92400e; }
.cost-subtotal-row { border-top: 2px solid var(--border); }
.cost-subtotal-row th, .cost-subtotal-row td { padding-top: 15px; color: var(--accent); font-weight: 700; font-size: 1.1rem; }
.cost-amt-highlight { font-size: 1.2rem; font-weight: 900; color: #b45309; white-space: nowrap; letter-spacing: -0.01em; }
.cost-amt-unit { font-size: 0.88rem; font-weight: 700; color: #78350f; margin-left: 2px; }
.cost-header-right { display: flex; align-items: center; margin-left: 10px; flex-shrink: 0; }
.cost-toggle-icon { font-size: 1rem; color: #d97706; transition: transform 0.3s ease; }
.initial-cost-section:not(.is-open) .cost-toggle-icon { animation: bounce-arrow 1.8s infinite; }
.initial-cost-section.is-open .cost-toggle-icon { transform: rotate(180deg); animation: none; }
@keyframes bounce-arrow { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }
.cost-body { display: none; padding: 22px; background: #ffffff; border-top: 1px solid #fef08a; border-radius: 0 0 8px 8px; }
.initial-cost-section.is-open .cost-body { display: block; }
.cost-table { width: 100%; border-collapse: collapse; margin-bottom: 15px; }
.cost-table th, .cost-table td { padding: 12px 0; border-bottom: 1px dashed #e2e8f0; font-size: 0.95rem; }
.cost-table th { text-align: left; font-weight: normal; color: var(--text-muted); width: 45%; }
.cost-table td { text-align: right; font-weight: 700; color: var(--text); }
.cost-table tr:last-child th, .cost-table tr:last-child td { border-bottom: none; }
.cost-section-title { font-size: 0.9rem; font-weight: 700; color: var(--primary); border-left: 3px solid var(--primary); padding-left: 8px; margin: 20px 0 10px; }
.cost-section-title.mt-30 { margin-top: 30px; }
.cost-note { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; background: var(--bg-light); padding: 12px 15px; border-radius: 6px; }

.content-heading { font-size: 1.4rem; font-weight: 700; margin-bottom: 20px; border-left: 5px solid var(--primary); padding-left: 14px; color: var(--text); margin-top: 40px; }
.content-heading.heading-tight { margin-bottom: 0; }
.content-heading.heading-compact { margin-bottom: 8px; }
.section-sub-caption { font-size: 0.9rem; color: var(--text-muted); }
.spec-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); margin-bottom: 30px; }
.spec-table th, .spec-table td { padding: 16px 20px; border-bottom: 1px solid var(--border); font-size: 0.95rem; line-height: 1.6; }
.spec-table th { background: #f8fafc; color: var(--text); width: 22%; font-weight: 700; text-align: left; }
.spec-table td { color: var(--text); }

.description-box, .recommend-text { background: #fff; padding: 30px; border-radius: 10px; border: 1px solid var(--border); line-height: 1.9; font-size: 1rem; margin-bottom: 40px; }
.floorplan-section { background: #fff; border-radius: 12px; padding: 24px; border: 1px solid var(--border); margin-bottom: 40px; text-align: center; }
.floorplan-section img { max-width: 100%; max-height: 500px; object-fit: contain; }
.spec-table td.cost-note-empty { text-align: center; color: var(--text-muted); font-weight: normal; padding: 20px 0; }
.plan-images-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-bottom: 30px; }
.plan-img-card { text-align: center; border: 1px solid var(--border); border-radius: 10px; padding: 20px; background: #fff; }
.plan-img-card img { max-width: 100%; max-height: 400px; object-fit: contain; }
.plan-img-title { font-weight: 700; font-size: 1rem; margin-top: 15px; color: var(--primary); }

.inquiry-side-card { background: #fff; border-radius: 12px; padding: 25px; border: 2px solid var(--primary-subtle); box-shadow: 0 8px 30px rgba(0,0,0,0.06); }
.agent-link-btn { display: block; width: 100%; text-align: center; margin-top: 14px; padding: 10px; background: none; border: none; color: var(--text-muted); font-size: 0.85rem; text-decoration: underline; cursor: pointer; }
.side-price-box { border-bottom: 1px dashed var(--border); margin-bottom: 20px; padding-bottom: 20px; text-align: center; }
.side-price-label { font-size: 0.9rem; font-weight: 700; color: var(--text-muted); margin-bottom: 5px; }
.side-price-val { font-size: 2.3rem; font-weight: 800; color: var(--accent); line-height: 1.1; }
.side-price-unit { font-size: 1rem; color: var(--text); font-weight: 500; margin-left: 3px; }
.side-common-fee { font-size: 0.85rem; color: var(--text-muted); margin-top: 8px; font-weight: 700; }
.monthly-cost-badge { background: #fff3e0; border: 1px solid #ffcc80; color: #e65100; padding: 8px 12px; border-radius: 6px; font-size: 0.95rem; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 15px; width: 100%; box-sizing: border-box; }
.price-note-full { font-size: 0.78rem; color: var(--text-muted); text-align: center; margin-top: 6px; }
.table-note { font-size: 0.78em; color: var(--text-muted); font-weight: normal; }

.inquiry-card-title { font-size: 1.15rem; font-weight: 700; color: var(--text); text-align: center; margin-bottom: 6px; }
.inquiry-card-desc { font-size: 0.85rem; color: var(--text-muted); text-align: center; margin-bottom: 20px; }
.inquiry-btns { display: flex; flex-direction: column; gap: 12px; }
.btn-cv { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px; border-radius: 8px; font-weight: 700; text-decoration: none; font-size: 1.05rem; transition: 0.2s; border: none; cursor: pointer; width: 100%; box-sizing: border-box; }
.btn-cv-tel { background: #fff; border: 2px solid var(--primary); color: var(--primary); }
.btn-cv-tel:hover { background: var(--primary-subtle); }
.btn-cv-line { background: #06c755; color: #fff; }
.btn-cv-line:hover { opacity: 0.9; }
.btn-cv-form { background: var(--accent); color: #fff; }
.btn-cv-form:hover { background: #d84315; }
.btn-cv-booking { background: var(--accent); color: #fff; }
.btn-cv-booking:hover { background: #d84315; }
.btn-cv-secondary { background: #f1f5f9; color: var(--text); }
.btn-cv-secondary:hover { background: #e2e8f0; }

/* 📱 追従カプセルCTA共通 */
.floating-split-cta { display: none; }

.fullwidth-map-section { margin-top: 60px; margin-bottom: 60px; }
.map-header { max-width: 1200px; margin: 0 auto 20px; padding: 0 20px; }
.fullwidth-map-frame { width: 100%; height: 450px; background: #e2e8f0; }
.fullwidth-map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

.same-building-section { margin: 60px 0; background: #fff; padding: 40px; border-radius: 16px; border: 1px solid var(--border); box-shadow: 0 4px 20px rgba(0,0,0,0.03); }
.same-building-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 25px; }
.room-card { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; text-decoration: none; color: inherit; transition: 0.2s; background: #fff; display: flex; flex-direction: column; }
.room-card:hover { transform: translateY(-4px); box-shadow: 0 10px 20px rgba(0,0,0,0.08); border-color: var(--primary); }
.room-card-img { width: 100%; height: 160px; object-fit: cover; }
.room-card-body { padding: 15px 20px; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.room-card-num { font-size: 1.1rem; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.room-card-price { font-size: 1.3rem; font-weight: 700; color: var(--accent); margin: 6px 0; }
.room-card-spec { font-size: 0.85rem; color: var(--text-muted); }

/* ブログ詳細 */
.single-blog-wrap { max-width: 840px; margin: 50px auto 100px; padding: 0 20px; box-sizing: border-box; line-height: 1.85; }
.blog-header { border-bottom: 2px solid #e2e8f0; padding-bottom: 25px; margin-bottom: 30px; }
.blog-meta-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.blog-date { font-size: 0.9rem; font-weight: 700; color: #64748b; }
.blog-cat { font-size: 0.75rem; font-weight: 700; background: #0284c7; color: #fff; padding: 3px 12px; border-radius: 20px; }
.blog-title { font-size: 1.85rem; font-weight: 800; line-height: 1.4; margin: 0; }
.blog-eyecatch { width: 100%; max-height: 450px; border-radius: 12px; overflow: hidden; margin-bottom: 35px; background: #f1f5f9; }
.blog-eyecatch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-lead { background: var(--primary-subtle); border-radius: 10px; padding: 18px 22px; margin-bottom: 35px; font-size: 1.02rem; font-weight: 700; color: var(--text); line-height: 1.8; }
.blog-body { font-size: 1.05rem; color: #334155; margin-bottom: 60px; }
.blog-body p { margin-bottom: 1.7em; }
.blog-body h2 { font-size: 1.45rem; font-weight: 800; border-left: 5px solid var(--primary); padding-left: 12px; margin: 45px 0 20px; line-height: 1.35; }
.blog-body h3 { font-size: 1.25rem; font-weight: 800; border-bottom: 2px solid #e2e8f0; padding-bottom: 8px; margin: 35px 0 16px; }
.blog-body img { max-width: 100%; height: auto; border-radius: 8px; margin: 20px 0; }
.blog-cta { background: #fff; padding: 32px; border-radius: 16px; border: 1px solid var(--border); box-shadow: 0 4px 20px rgba(0,0,0,0.03); text-align: center; margin-bottom: 40px; }
.blog-cta-title { font-size: 1rem; font-weight: 700; color: var(--text); margin: 0 0 18px; }
.blog-cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.blog-cta-buttons .btn-cv { width: auto; padding: 14px 32px; }
.blog-adjacent-nav { display: flex; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin-bottom: 40px; }
.blog-adjacent-link { flex: 1; padding: 16px 20px; text-decoration: none; color: inherit; transition: background 0.2s ease; box-sizing: border-box; }
.blog-adjacent-link:hover { background: #f8fafc; }
.blog-adjacent-link:not(:last-child) { border-right: 1px solid var(--border); }
.blog-adjacent-link.is-next { text-align: right; margin-left: auto; }
.blog-adjacent-label { display: block; font-size: 0.78rem; color: var(--text-muted); font-weight: 700; margin-bottom: 4px; }
.blog-adjacent-title { display: block; font-size: 0.92rem; color: var(--text); font-weight: 700; line-height: 1.5; }
.blog-footer-nav { border-top: 1px solid #e2e8f0; padding-top: 30px; display: flex; justify-content: center; gap: 20px; }
.back-to-home-btn { display: inline-flex; align-items: center; gap: 8px; background: #f1f5f9; color: #475569; font-size: 0.95rem; font-weight: 700; padding: 12px 28px; border-radius: 8px; text-decoration: none; transition: all 0.2s ease; }
.back-to-home-btn:hover { background: #e2e8f0; color: var(--text); }

/* ==========================================
   8. Static Pages (会社・解約・各種お手続き等)
========================================== */
.maint-wrapper, .cancellation-wrapper, .contact-wrapper, .request-page-container { max-width: 960px; margin: 0 auto; padding: 40px 20px 80px; box-sizing: border-box; }
.company-wrapper, .privacy-wrapper { max-width: 1000px; margin: 0 auto; padding: 40px 20px 80px; box-sizing: border-box; }
.privacy-wrapper { max-width: 900px; }

.company-section-title { font-size: 1.35rem; font-weight: 800; color: var(--text); border-left: 4px solid var(--primary); padding-left: 12px; margin-bottom: 24px; display: flex; align-items: center; gap: 8px; }
.message-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 35px 30px; margin-bottom: 55px; box-shadow: 0 4px 20px rgba(0,0,0,0.03); }
.message-catch { font-size: 1.4rem; font-weight: 800; color: var(--text); margin-bottom: 20px; line-height: 1.5; border-bottom: 2px solid #f1f5f9; padding-bottom: 15px; }
.message-catch span { color: var(--accent); }
.message-body { font-size: 0.95rem; color: #334155; line-height: 1.85; margin-bottom: 25px; }
.message-sign { text-align: right; font-size: 0.92rem; color: var(--text); font-weight: 700; line-height: 1.6; }
.message-sign small { display: block; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 4px; }
.company-table-wrap { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin-bottom: 55px; box-shadow: 0 4px 15px rgba(0,0,0,0.02); }
.company-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.company-table th { width: 28%; background: #f8fafc; color: #475569; font-weight: 700; padding: 18px 20px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.company-table td { padding: 18px 20px; border-bottom: 1px solid var(--border); color: var(--text); line-height: 1.7; }
.company-table tr:last-child th, .company-table tr:last-child td { border-bottom: none; }
.access-box { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 25px; margin-bottom: 40px; box-shadow: 0 4px 15px rgba(0,0,0,0.02); }
.access-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 25px; }
.access-item { background: #f8fafc; border: 1px solid var(--border); border-radius: 8px; padding: 15px 18px; }
.access-item-title { font-size: 0.85rem; font-weight: 800; color: var(--primary); margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
.access-item-desc { font-size: 0.88rem; color: #334155; line-height: 1.6; margin: 0; }
.map-container { width: 100%; height: 400px; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); }
.map-container iframe { width: 100%; height: 100%; border: none; }
.company-cta-card { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); color: #fff; border-radius: 14px; padding: 40px 30px; text-align: center; }
.company-cta-title { font-size: 1.4rem; font-weight: 800; margin-bottom: 10px; }
.company-cta-desc { font-size: 0.9rem; color: #94a3b8; margin-bottom: 25px; line-height: 1.6; }
.company-cta-buttons { display: flex; justify-content: center; gap: 15px; }
.cta-btn-tel { background: #fff; color: #0f172a; padding: 12px 24px; border-radius: 8px; font-weight: 800; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; font-size: 1rem; transition: 0.2s; }
.cta-btn-tel:hover { background: #f1f5f9; }
.cta-btn-mail { background: var(--accent); color: #fff; padding: 12px 28px; border-radius: 8px; font-weight: 800; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; font-size: 1rem; transition: 0.2s; }
.cta-btn-mail:hover { background: #c2410c; }

/* 解約ページ専用 */
.type-tab-container { display: flex; justify-content: center; gap: 15px; margin-bottom: 35px; }
.type-tab-btn { flex: 1; max-width: 320px; padding: 16px 20px; border-radius: 10px; border: 2px solid var(--border); background: #fff; font-size: 1.05rem; font-weight: 700; color: var(--text-muted); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; transition: all 0.25s ease; box-shadow: 0 2px 8px rgba(0,0,0,0.02); }
.type-tab-btn.active { border-color: var(--primary); background: #f0f9ff; color: var(--primary); box-shadow: 0 4px 15px rgba(2, 132, 199, 0.12); }
.notice-box { background: #fff; border: 1.5px solid #fecaca; border-radius: 12px; padding: 25px; margin-bottom: 40px; box-shadow: 0 4px 15px rgba(239, 68, 68, 0.05); }
.notice-header { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px dashed #fca5a5; padding-bottom: 12px; margin-bottom: 18px; }
.notice-title { font-weight: 800; color: #b91c1c; font-size: 1.1rem; display: flex; align-items: center; gap: 8px; margin: 0; }
.notice-subtitle { font-size: 0.8rem; color: #dc2626; font-weight: 700; }
.check-list-container { display: flex; flex-direction: column; gap: 12px; }
.check-item-label { display: flex; align-items: flex-start; gap: 12px; background: #fef2f2; padding: 14px 16px; border-radius: 8px; border: 1px solid #fee2e2; cursor: pointer; transition: background 0.2s ease, border-color 0.2s ease; }
.check-item-label:hover { background: #fee2e2; }
.check-item-label input[type="checkbox"] { width: 20px; height: 20px; margin-top: 2px; cursor: pointer; accent-color: #dc2626; flex-shrink: 0; }
.check-item-content { font-size: 0.88rem; color: #450a0a; line-height: 1.65; }
.check-item-content strong { color: #991b1b; display: block; margin-bottom: 2px; font-size: 0.92rem; }
.check-item-label.is-checked { background: #f0fdf4; border-color: #bbf7d0; }
.check-item-label.is-checked .check-item-content { color: #14532d; }
.check-item-label.is-checked .check-item-content strong { color: #166534; }
.check-item-label.is-checked input[type="checkbox"] { accent-color: #16a34a; }
.step-container { margin-bottom: 40px; }
.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.step-card { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 18px 14px; text-align: center; }
.step-num { display: inline-block; background: var(--primary); color: #fff; font-size: 0.75rem; font-weight: 800; padding: 3px 8px; border-radius: 20px; margin-bottom: 8px; }
.step-head { font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.step-desc { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }
.bank-section-box { background: #f8fafc; border: 1px solid var(--border); border-radius: 10px; padding: 20px; display: flex; flex-direction: column; gap: 16px; margin: 5px 0; transition: all 0.3s ease; }
.bank-section-title { font-size: 0.98rem; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 8px; }
.bank-section-desc { font-size: 0.8rem; color: var(--text-muted); margin: -8px 0 2px; line-height: 1.5; }
.cancel-type-selector { display: none; }

/* プライバシーポリシー・お問い合わせ専用 */
.form-section-head { font-size: 1.25rem; font-weight: 800; color: var(--text); border-left: 4px solid var(--accent); padding-left: 10px; margin-bottom: 25px; display: flex; align-items: center; gap: 8px; }
.privacy-content-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 40px 35px; box-shadow: 0 4px 20px rgba(0,0,0,0.02); font-size: 0.92rem; color: #334155; line-height: 1.85; }
.privacy-section-title { font-size: 1.15rem; font-weight: 800; color: var(--text); border-left: 4px solid var(--primary); padding-left: 10px; margin: 35px 0 15px; }
.privacy-section-title:first-of-type { margin-top: 10px; }
.privacy-list { margin: 0 0 20px; padding-left: 20px; }
.privacy-list li { margin-bottom: 8px; }
.privacy-contact-box { background: #f8fafc; border: 1px solid var(--border); border-radius: 8px; padding: 20px 24px; margin-top: 35px; }
.privacy-contact-title { font-weight: 800; font-size: 0.95rem; color: var(--text); margin-bottom: 8px; }
.privacy-contact-text { margin: 0; font-size: 0.88rem; line-height: 1.6; }

/* トラブル・各種お手続きカード */
.urgency-choice-grid, .procedure-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 40px; }
.urgency-choice-grid { grid-template-columns: 1fr 1.2fr; }
.procedure-card, .card-emergency, .card-normal-form { background: #ffffff; border: 1.5px solid var(--border); border-radius: 12px; padding: 22px; box-shadow: 0 4px 15px rgba(0,0,0,0.02); display: flex; flex-direction: column; justify-content: space-between; position: relative; transition: all 0.25s ease; cursor: pointer; }
.procedure-card:hover { transform: translateY(-4px); box-shadow: 0 10px 25px rgba(0,0,0,0.08); border-color: var(--primary); }
.card-emergency { background: #fff1f2; border-color: #fecdd3; border-top: 5px solid #e11d48; cursor: default;}
.card-normal-form { background: #f0f9ff; border-color: #bae6fd; border-top: 5px solid var(--primary); cursor: default;}
.card-emergency-title, .card-normal-title, .proc-title { font-size: 1.05rem; font-weight: 800; display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.card-emergency-title { color: #9f1239; }
.card-normal-title { color: #075985; }

.card-emergency-desc { font-size: 0.82rem; color: #881337; line-height: 1.5; margin-bottom: 15px; }
.emergency-tel-btn { margin-top: auto; background: #e11d48; color: #fff; border-radius: 8px; padding: 12px 14px; text-align: center; text-decoration: none; font-weight: 800; transition: all 0.2s ease; display: flex; flex-direction: column; gap: 2px; }
.emergency-tel-btn:hover { background: #be123c; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25); }
.emergency-tel-btn .tel-num { font-size: 1.15rem; }
.emergency-tel-btn .tel-sub { font-size: 0.72rem; font-weight: normal; opacity: 0.9; }

.card-normal-desc { font-size: 0.84rem; color: #0369a1; line-height: 1.6; margin-bottom: 15px; }
.jump-form-btn { margin-top: auto; background: var(--primary); color: #fff; border-radius: 8px; padding: 12px 14px; text-align: center; text-decoration: none; font-weight: 800; transition: all 0.2s ease; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 0.98rem; cursor: pointer; }
.jump-form-btn:hover { background: #0369a1; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25); }

.proc-badge-wrap { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.proc-badge { display: inline-block; font-size: 0.75rem; font-weight: 800; padding: 3px 8px; border-radius: 4px; width: fit-content; }
.proc-badge-blue { background: #eff6ff; color: #0284c7; }
.proc-badge-green { background: #ecfdf5; color: #059669; }
.proc-badge-orange { background: #fff7ed; color: #ea580c; }
.proc-badge-purple { background: #faf5ff; color: #9333ea; }
.proc-icon-blue { color: #0284c7; }
.proc-icon-green { color: #059669; }
.proc-icon-orange { color: #ea580c; }
.proc-icon-purple { color: #9333ea; }
.fee-note-inline { font-size: 0.75rem; font-weight: normal; margin-left: 6px; }
.proc-click-hint { font-size: 0.75rem; font-weight: 700; color: #0284c7; display: flex; align-items: center; gap: 4px; }
.proc-fee { background: #f8fafc; border-left: 3px solid var(--primary); padding: 8px 12px; font-size: 0.88rem; font-weight: 700; color: var(--text); margin-bottom: 10px; border-radius: 0 6px 6px 0; }
.proc-desc { font-size: 0.84rem; color: #475569; line-height: 1.6; margin-bottom: 12px; }
.proc-docs { font-size: 0.8rem; background: #f1f5f9; padding: 8px 12px; border-radius: 6px; color: #334155; }
.proc-docs strong { color: #0f172a; }

.trouble-guide-container { margin-bottom: 50px; }
.faq-accordion { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.faq-trigger { width: 100%; text-align: left; background: #fff; border: none; padding: 16px 20px; font-size: 0.95rem; font-weight: 700; color: var(--text); cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 15px; transition: background 0.2s ease; }
.faq-trigger:hover { background: #f8fafc; }
.faq-trigger i.icon-badge { color: var(--primary); font-size: 1.1rem; width: 22px; }
.faq-trigger i.chevron { font-size: 0.85rem; color: #94a3b8; transition: transform 0.25s ease; }
.faq-trigger.is-open i.chevron { transform: rotate(180deg); color: var(--primary); }
.faq-body { display: none; padding: 0 20px 20px; font-size: 0.88rem; color: #334155; line-height: 1.75; border-top: 1px dashed #f1f5f9; }
.faq-warn-box { background: #fef2f2; border: 1px solid #fecaca; border-radius: 6px; padding: 12px 14px; margin-top: 10px; font-size: 0.84rem; color: #991b1b; line-height: 1.6; }
.faq-point-box { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 6px; padding: 10px 14px; margin-top: 10px; font-size: 0.84rem; color: #166534; }

.bottom-tel-section, .contact-tel-card { background: #f8fafc; border: 1px solid var(--border); border-radius: 12px; padding: 25px; text-align: center; margin-bottom: 40px;}
.contact-tel-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left; }
.bottom-tel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; max-width: 750px; margin: 0 auto; }
.tel-card-item { background: #fff; border: 1.5px solid #cbd5e1; border-radius: 8px; padding: 12px 15px; text-decoration: none; text-align: left; transition: all 0.2s ease; display: flex; flex-direction: column; }
.tel-card-item:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(2, 132, 199, 0.12); }
.tel-card-urgent { border-color: #fca5a5; }
.tel-card-urgent:hover { border-color: #e11d48; box-shadow: 0 4px 12px rgba(225, 29, 72, 0.15); }
.tel-card-badge { font-size: 0.7rem; font-weight: 700; color: #64748b; margin-bottom: 4px; display: flex; align-items: center; gap: 5px; }
.tel-card-badge.badge-urgent { color: #e11d48; }
.tel-card-num { font-size: 1.15rem; font-weight: 800; color: var(--primary); }
.tel-card-urgent .tel-card-num { color: #e11d48; }
.tel-card-sub { font-size: 0.72rem; color: #94a3b8; margin-top: 2px; }

/* ===================================================
   9. Media Queries (レスポンシブ)
=================================================== */
@media (max-width: 1024px) {
  .search-filter-grid, .search-form-grid { grid-template-columns: 1fr 1fr; }
  .filter-submit-btn, .search-submit-btn { grid-column: span 2; }
}
@media (max-width: 960px) {
  .header-nav { display: none; }
  .hamburger-btn { display: flex; }
  .brand-name { font-size: 1.3rem; }
  .main-layout-grid { grid-template-columns: 1fr; gap: 30px; }
  .side-column { position: static; }
  .detail-header-right { display: none; }
  .spec-table th, .spec-table td { display: block; width: 100%; box-sizing: border-box; }
  .spec-table th { background: #f1f5f9; border-bottom: none; padding-bottom: 8px;}
  .same-building-section { padding: 25px 20px; }
  
  .quick-spec-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-spec-grid.grid-3 { grid-template-columns: 1fr; }

  .b-header-grid { grid-template-columns: 1fr; gap: 15px; }
  .b-thumb-box { height: 220px; }

  .floating-parking-cta { display: block; position: fixed; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%) translateY(100px); width: calc(100% - 32px); max-width: 420px; z-index: 900; opacity: 0; visibility: hidden; transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, visibility 0.35s ease; pointer-events: none; }
  .floating-parking-cta.is-visible { transform: translateX(-50%) translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
  .floating-parking-cta.is-modal-open { transform: translateX(-50%) translateY(100px); opacity: 0; visibility: hidden; pointer-events: none; }
  .floating-split-cta { display: flex; position: fixed; bottom: 0; left: 0; right: 0; width: 100%; z-index: 900; transform: translateY(100%); transition: transform 0.3s ease; box-shadow: 0 -4px 20px rgba(0,0,0,0.12); padding-bottom: env(safe-area-inset-bottom, 0px); }
  .floating-split-cta.is-visible { transform: translateY(0); }
  body.has-floating-cta { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }
  .floating-split-cta.is-visible { transform: translateY(0); }
  .floating-split-cta.is-modal-open { transform: translateY(100%); }
  .floating-split-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 10px; font-size: 0.95rem; font-weight: 800; border: none; cursor: pointer; text-decoration: none; }
  .floating-split-btn.cta-navy { background: #0f172a; color: #fff; }
  .floating-split-btn.cta-orange { background: var(--accent); color: #fff; }
  .floating-split-btn.cta-line { background: #06c755; color: #fff; }
}

@media (max-width: 768px) {
  .urgency-choice-grid, .procedure-grid { grid-template-columns: 1fr; }
  .form-row-2col, .form-row, .form-row-3 { grid-template-columns: 1fr; gap: 15px; }
  .request-form-card, .trouble-form-container, .cancel-form-container, .contact-form-container { padding: 25px 18px; }
  .request-title, .page-main-title { font-size: 1.5rem; }
  .contact-tel-card { flex-direction: column; align-items: flex-start; }
  .tel-action-btn { width: 100%; justify-content: center; }
  .wpcf7-radio { flex-direction: column; gap: 8px; }
  .single-blog-wrap { margin: 30px auto 60px; }
  .blog-title { font-size: 1.4rem; }
  .type-tab-container { flex-direction: column; gap: 10px; }
  .type-tab-btn { max-width: 100%; padding: 14px; }
  .step-grid { grid-template-columns: 1fr; gap: 12px; }
  .notice-header { flex-direction: column; align-items: flex-start; gap: 4px; }
  .bank-section-box { padding: 15px 12px; }
  .company-table th, .company-table td { display: block; width: 100%; box-sizing: border-box; }
  .company-table th { padding-bottom: 6px; border-bottom: none; }
  .company-table td { padding-top: 0; }
  .access-info-grid { grid-template-columns: 1fr; gap: 12px; }
  .map-container { height: 300px; }
  .company-cta-buttons { flex-direction: column; gap: 10px; }
  .cta-btn-tel, .cta-btn-mail { width: 100%; justify-content: center; box-sizing: border-box; }
  .privacy-content-card { padding: 25px 20px; }
  .bottom-tel-grid { grid-template-columns: 1fr; gap: 12px; }
  .gallery-thumbs-bar { padding: 8px 0; }
  
  .b-rooms-table-wrap { margin: 0; }
  .b-rooms-table thead { display: none; }
  .b-rooms-table, .b-rooms-table tbody { display: block; width: 100%; }
  
  .b-rooms-table tr {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: 
      "room status"
      "rent layout"
      "btn btn";
    gap: 12px 10px;
    background: #f8fafc;
    border-top: 1.5px solid var(--border);
    border-bottom: none;
    border-left: none;
    border-right: none;
    border-radius: 0 0 14px 14px;
    padding: 20px 24px;
    margin-bottom: 0;
    box-shadow: none;
  }
  
  .b-rooms-table tr:not(:last-child) { border-radius: 0; }
  .b-rooms-table tr:hover td { background: transparent; }
  
  .b-rooms-table td {
    display: block;
    padding: 0;
    border: none;
    text-align: left;
    white-space: normal;
  }
  
  .td-room { grid-area: room; font-size: 1.15rem; align-self: center; }
  .td-price { grid-area: rent; align-self: center; }
  .td-layout { grid-area: layout; text-align: right; align-self: end; }
  .td-status { grid-area: status; text-align: right; align-self: start; }
  .td-btn { grid-area: btn; margin-top: 8px; }
  .b-rooms-table th.td-hide-mobile,
  .b-rooms-table td.td-hide-mobile { display: none; }
  
  .td-btn .btn-room-detail { width: 100%; justify-content: center; padding: 14px; font-size: 1rem; box-sizing: border-box; }
}

@media (max-width: 680px) {
  .modal-actions-grid { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 600px) {
  .hero-title { font-size: 6.5vw; white-space: nowrap; } 
  .hero-subtitle { font-size: 1.05rem; margin-bottom: 25px; }
  .prop-list-grid, .property-grid, .banner-cards-grid { grid-template-columns: 1fr; }
  .quick-search-grid, .search-filter-grid, .search-form-grid { grid-template-columns: 1fr; }
  .quick-search-btn, .filter-submit-btn, .search-submit-btn { grid-column: span 1; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .news-modal-card, .modal-card, .baibai-modal-box { padding: 25px 18px; max-height: 85vh; }
  .detail-header-flex { flex-direction: column; gap: 12px; }
}

/* ===================================================
   10. 🖨️ 印刷専用スタイル（A4・マイソク 賃貸/売買 両対応完全版）
=================================================== */
.print-maisoku-container { display: none; }

@media print {
  @page { size: A4 portrait; margin: 0; }

  html, body {
    width: 210mm !important; height: auto !important; margin: 0 !important; padding: 0 !important;
    background: #fff !important; color: #1e293b !important; font-family: 'Noto Sans JP', sans-serif !important;
    font-size: 8.5pt !important; line-height: 1.3 !important;
    -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; user-select: none !important;
  }

  body > *:not(.print-maisoku-container) {
    display: none !important; visibility: hidden !important; opacity: 0 !important;
    height: 0 !important; width: 0 !important; overflow: hidden !important;
  }

  .screen-only-view, .site-header, .site-footer, header, footer, nav, .breadcrumb-wrap, .btn-print, .btn-print-style3 {
    display: none !important;
  }

  #gtx-trans, .gtx-trans-icon, [class*="gtx"], [id*="gtx"], [class*="translate"], [id*="translate"], [class*="goog-"], [id*="goog"], g-translator, div[style*="position: fixed"], div[style*="position: absolute"]:not(.print-maisoku-container *) {
    display: none !important; visibility: hidden !important; opacity: 0 !important; z-index: -9999 !important;
  }

  .print-maisoku-container {
    display: block !important; width: 210mm !important; margin: 0 !important; padding: 0 !important; visibility: visible !important;
  }

  .print-page {
    width: 210mm !important; height: 296mm !important; max-height: 296mm !important; box-sizing: border-box !important;
    padding: 10mm 12mm 8mm !important; position: relative !important; page-break-before: avoid !important;
    page-break-after: always !important; break-after: page !important; page-break-inside: avoid !important;
    break-inside: avoid !important; overflow: hidden !important; display: flex !important; flex-direction: column !important;
    justify-content: space-between !important; background: #fff !important;
  }
  .print-page:first-child { page-break-before: avoid !important; break-before: avoid !important; }
  .print-page:last-child { page-break-after: avoid !important; break-after: avoid !important; }

  .p-header { border-bottom: 2px solid #0f172a; padding-bottom: 6px; margin-bottom: 8px; display: flex; justify-content: space-between; align-items: flex-end; }
  .p-title-wrap { flex: 1; }
  .p-badges { display: flex; gap: 5px; margin-bottom: 3px; }
  .p-badge { font-size: 7.5pt; font-weight: 800; padding: 1.5px 6px; border-radius: 3px; color: #fff !important; }
  .p-badge-type { background: #334155 !important; }
  
  /* 印刷用ステータスバッジの連動 */
  .p-badge-status.status-available, .p-badge-status.status-parking_available, .p-badge-status.status-on_sale { background: #059669 !important; }
  .p-badge-status.status-few_left, .p-badge-status.status-scheduled, .p-badge-status.status-negotiation { background: #ea580c !important; }
  .p-badge-status.status-full, .p-badge-status.status-parking_full, .p-badge-status.status-sold { background: #dc2626 !important; }
  .p-badge-status.status-occupied, .p-badge-status.status-under_construction, .p-badge-status.status-empty { background: #64748b !important; }
  
  .p-badge-trans { background: #475569 !important; }
  .p-badge-freerent { background: #10b981 !important; }
  .p-badge-freenet { background: #0284c7 !important; }
  .p-badge-pet { background: #f59e0b !important; }
  .p-subtotal-row { border-top: 1px solid #cbd5e1; }
  .p-subtotal-row th, .p-subtotal-row td { color: #ea580c; font-weight: 800; }
  .p-sec-head.mt-15 { margin-top: 15px; }
  .p-title { font-size: 14pt; font-weight: 800; color: #0f172a; margin: 2px 0 3px; line-height: 1.2; }
  .p-sub-info { font-size: 8pt; color: #475569; }
  .p-price-box { text-align: right; padding-left: 12px; border-left: 1px dashed #cbd5e1; }
  .p-price-label { font-size: 7pt; font-weight: 700; color: #64748b; }
  .p-price-val { font-size: 20pt; font-weight: 900; color: #ea580c; line-height: 1; white-space: nowrap; }
  .p-price-val span { font-size: 10pt; color: #0f172a; font-weight: 700; margin-left: 2px; }

  .p-footer-band { border-top: 2px solid #0f172a; padding-top: 5px; margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
  .p-company-logo { font-weight: 900; font-size: 12pt; color: #0f172a; letter-spacing: 0.5px; }
  .p-company-logo span { color: #ea580c; }
  .p-company-sub { font-size: 6.5pt; color: #64748b; display: block; }
  .p-company-info { text-align: right; font-size: 7pt; color: #334155; line-height: 1.3; }
  .p-tel-highlight { font-size: 11pt; font-weight: 900; color: #0284c7; margin-left: 4px; }

  .p1-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 8px; margin-bottom: 6px; }
  .p1-main-img-box { height: 160px; border: 1px solid #cbd5e1; border-radius: 4px; overflow: hidden; background: #f8fafc; display: flex; align-items: center; justify-content: center; }
  .p1-main-img-box img { max-width: 100%; max-height: 100%; object-fit: contain; }
  .p1-specs-side { display: flex; flex-direction: column; gap: 4px; }
  .p1-spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
  .p1-spec-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 3px; padding: 3px 4px; text-align: center; }
  .p1-spec-label { font-size: 6.5pt; color: #64748b; font-weight: 700; }
  .p1-spec-val { font-size: 9pt; font-weight: 800; color: #0f172a; }
  .p1-recommend-box { background: #fff7ed; border: 1px solid #ffedd5; border-left: 3px solid #ea580c; padding: 4px 6px; border-radius: 3px; font-size: 7pt; color: #9a3412; line-height: 1.35; flex-grow: 1; }
  .p-table { width: 100%; border-collapse: collapse; border: 1px solid #94a3b8; margin-top: 3px; }
  .p-table th, .p-table td { border: 1px solid #cbd5e1; padding: 2.5px 5px; font-size: 7.2pt; }
  .p-table th { background: #f1f5f9; color: #0f172a; font-weight: 700; width: 17%; text-align: left; }
  .p-table td { color: #1e293b; }
  .p-sec-head { font-size: 8pt; font-weight: 800; color: #0f172a; border-left: 3px solid #0284c7; padding-left: 4px; margin: 5px 0 2px; }
  .p1-notes-box { background: #f8fafc; border: 1px solid #cbd5e1; border-radius: 3px; padding: 4px 6px; font-size: 6.8pt; color: #334155; line-height: 1.35; margin-top: 2px; }

  .p2-cost-total { text-align: right; margin-top: 8px; font-size: 14pt; font-weight: 900; color: #ea580c; }
  .p2-cost-disclaimer { font-size: 7pt; color: #64748b; margin-top: 6px; line-height: 1.5; }
  .p2-gallery-grid, .p3-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); gap: 8px; height: 240mm; margin-top: 6px; }
  .p2-gallery-item, .p3-gallery-item { border: 1px solid #cbd5e1; border-radius: 4px; overflow: hidden; background: #f8fafc; display: flex; align-items: center; justify-content: center; }
  .p2-gallery-item img, .p3-gallery-item img { width: 100%; height: 100%; object-fit: cover; }
  .p3-plans-large-wrap, .p4-plans-large-wrap { height: 240mm; display: flex; flex-direction: column; justify-content: center; gap: 12px; margin-top: 6px; }
  .p3-plan-card-large, .p4-plan-card-large { flex: 1; border: 1.5px solid #94a3b8; border-radius: 6px; padding: 10px; text-align: center; background: #ffffff; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; }
  .p3-plan-card-large img, .p4-plan-card-large img { max-width: 100%; max-height: 95%; width: auto; height: auto; object-fit: contain; }
  .p3-plan-title-large, .p4-plan-title-large { font-size: 10pt; font-weight: 800; color: #0284c7; margin-top: 6px; }
}

/* ==========================================
   11. フロントページ「お知らせ」専用モーダル
========================================== */
.news-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.65); backdrop-filter: blur(3px); z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 20px; box-sizing: border-box; opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s ease; }
.news-modal-overlay.is-active { opacity: 1; visibility: visible; }
.news-modal-card { background: #ffffff; border-radius: 14px; max-width: 620px; width: 100%; max-height: 85vh; overflow-y: auto; padding: 30px; position: relative; box-shadow: 0 20px 40px rgba(0,0,0,0.2); transform: translateY(20px) scale(0.98); transition: transform 0.25s ease; box-sizing: border-box; }
.news-modal-overlay.is-active .news-modal-card { transform: translateY(0) scale(1); }
.news-modal-close { position: absolute; top: 15px; right: 15px; width: 36px; height: 36px; border-radius: 50%; background: #f1f5f9; border: none; font-size: 1.1rem; color: #64748b; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s ease; }
.news-modal-close:hover { background: #e2e8f0; color: #1e293b; transform: rotate(90deg); }
.modal-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.modal-date { font-size: 0.85rem; color: #64748b; font-weight: 700; }
.modal-cat { font-size: 0.72rem; background: #0284c7; color: #fff; padding: 3px 10px; border-radius: 20px; font-weight: 700; }
.news-modal-title { font-size: 1.35rem; font-weight: 800; color: #1e293b; line-height: 1.45; margin: 0 0 16px; padding-right: 30px; }
.modal-thumb-wrap { width: 100%; max-height: 260px; overflow: hidden; border-radius: 8px; margin-bottom: 18px; }
.modal-thumb-wrap img { width: 100%; height: 100%; object-fit: cover; }
.modal-content-body { font-size: 0.95rem; color: #334155; line-height: 1.8; margin-bottom: 25px; }
.modal-btn-wrap { text-align: center; border-top: 1px dashed #e2e8f0; padding-top: 20px; }
.modal-detail-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #fff; font-weight: 800; font-size: 0.95rem; padding: 12px 28px; border-radius: 8px; text-decoration: none; transition: all 0.2s ease; }
.modal-detail-btn:hover { background: #c2410c; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(234, 88, 12, 0.25); }

/* ==========================================
   13. 拡張UIクラス（売買・賃貸共通）
========================================== */
.loan-sim-note { font-size: 0.8rem; color: #78350f; margin-top: 4px; }
.icon-accent { color: var(--accent); }
.icon-primary { color: var(--primary); }
.side-prop-sub-info { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin-top: 12px; border-top: 1px dashed var(--border); padding-top: 12px; text-align: left; }
.map-notice-text { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }
.btn-back-list { display: inline-block; padding: 12px 40px; background: #fff; border: 1px solid var(--border); color: var(--text); font-weight: 700; border-radius: 30px; text-decoration: none; transition: all 0.2s ease; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.btn-back-list:hover { background: #f8fafc; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.modal-en-title { font-size: 0.75rem; color: var(--primary); font-weight: 700; margin-bottom: 4px; }
.form-error-msg { color: #ef4444; text-align: center; font-weight: bold; }

/* 駐車場・フリーレント専用 */
.side-price-compact { box-sizing: border-box; word-break: break-all; font-size: 0.88rem; color: var(--text); margin-top: 6px; font-weight: 700; background: #f4f6f8; padding: 4px 8px; border-radius: 4px; }
.free-rent-notice { box-sizing: border-box; word-break: break-all; margin-top: 15px; padding: 12px; background: #ecfdf5; border: 1px solid #10b981; border-radius: 6px; color: #065f46; font-size: 0.95rem; font-weight: 700; }
.free-rent-notice-sub { font-size: 0.85rem; font-weight: normal; }
.p-free-rent-notice { box-sizing: border-box; word-break: break-all; margin-top: 10px; padding: 8px; border: 1px solid #10b981; color: #065f46; font-size: 0.9rem; font-weight: bold; }
.map-frame-parking { box-sizing: border-box; width: 100%; overflow: hidden; text-align: center; padding: 40px 20px; background: #f9fafb; border-bottom: 1px solid var(--border); }
.map-parking-desc { margin-bottom: 20px; font-weight: bold; color: var(--text); }
.btn-map-app { display: inline-block; padding: 16px 32px; background: #4285F4; color: #fff; border-radius: 30px; font-weight: bold; text-decoration: none; box-shadow: 0 4px 10px rgba(66, 133, 244, 0.3); transition: all 0.2s ease; }
.btn-map-app:hover { background: #3367d6; transform: translateY(-2px); box-shadow: 0 6px 15px rgba(66, 133, 244, 0.4); }

/* ==========================================
   14. 一覧（アーカイブ）用 構造UIクラス
========================================== */
.text-accent { color: var(--accent); }
.rent-amount-lg { color: var(--accent); font-size: 1.2rem; }
.pet-ok-text { color: #d97706; font-weight: 700; }
.detail-inner.text-center-cta { text-align: center; margin-bottom: 60px; }
.icon-inline-sm { font-size: 0.85em; margin-left: 4px; }
.icon-inline-xs { font-size: 0.8em; }
.rent-cell-wrap { line-height: 1.35; }
.price-large { color: var(--accent); font-size: 1.15rem; font-weight: 700; }
.rent-breakdown { font-size: 0.76rem; color: #64748b; margin-top: 3px; font-weight: normal; }
.price-note { display: block; font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }
.building-card.is-card-link { cursor: pointer; }
.building-card.is-card-link:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.08); }
.b-rooms-table tr.is-row-link { cursor: pointer; }

/* 💡 バッジの配置（PCでは中央揃え、スマホでは既存レイアウトを維持） */
.badge-center { display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; }
.badge-center.badge-center-end { justify-content: flex-end; }
.spec-item-spaced { margin-left: 8px; }
.mobile-badge-wrap { margin-top: 8px; }

/* 混在テーブル分離用UI */
.b-summary-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.b-summary-group { background: #f8fafc; padding: 6px 12px; border-radius: 6px; border: 1px solid #e2e8f0; font-size: 0.85rem; }
.b-summary-group strong { color: var(--accent); font-size: 1rem; }
.table-split-header { margin: 20px 0 8px; font-size: 0.95rem; color: #475569; display: flex; align-items: center; gap: 6px; font-weight: bold; border-left: 3px solid #cbd5e1; padding-left: 8px; }

.no-prop-title { font-size: 1.3rem; margin-bottom: 8px; }
.no-prop-desc { color: var(--text-muted); font-size: 0.95rem; }

/* ==========================================
   15. レスポンシブ表示制御
========================================== */
@media screen and (min-width: 768px) {
  .is-mobile-only {
    display: none;
  }
}