/* ===== 公開サイト（ホームページ）専用スタイル =====
   社内システムの app.css とは別系統。enreal-estate.net 置換の公開面で使う。 */

:root {
    --site-ink: #1e1e1e;
    --site-muted: #6b7280;
    --site-brand: #d44545;
    --site-brand-dark: #1c0e0e;
    --site-accent: #d44545;
    --site-bg: #ffffff;
    --site-soft: #f9f4f4;
    --site-line: #e8dede;
}

* { box-sizing: border-box; }

body.site {
    margin: 0;
    font-family: "Segoe UI", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
    color: var(--site-ink);
    background: var(--site-bg);
    line-height: 1.7;
}

a { color: var(--site-accent); }

/* 共通の中央寄せコンテナ */
.site-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== ヘッダー / ナビ ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 3px solid var(--site-accent);
    backdrop-filter: saturate(1.2) blur(4px);
}
.site-header-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.site-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}
.site-logo-img {
    display: block;
    height: 38px;
    width: auto;
}
.site-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 18px;
}
.site-nav a {
    color: var(--site-ink);
    text-decoration: none;
    font-size: 0.92rem;
    padding: 6px 2px;
    border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--site-accent); }
.site-nav a.is-active {
    color: var(--site-accent);
    border-bottom-color: var(--site-accent);
    font-weight: 600;
}

/* モバイル用ハンバーガー（既定は隠す） */
.site-nav-toggle, .site-nav-burger { display: none; }

/* ナビが1行に収まらず折り返す幅（実測 ~890px）になったらバーガーへ切替。
   ヒーロー等のスマホ調整(760px)とは別ブレークポイントで管理する。 */
@media (max-width: 900px) {
    .site-nav-burger {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 40px;
        height: 40px;
        cursor: pointer;
    }
    .site-nav-burger span {
        display: block;
        height: 2px;
        width: 22px;
        background: var(--site-brand);
        border-radius: 2px;
    }
    .site-nav {
        display: none;
        position: absolute;
        left: 0; right: 0;
        top: 64px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #fff;
        border-bottom: 1px solid var(--site-line);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    }
    .site-nav a {
        padding: 14px 20px;
        border-bottom: 1px solid var(--site-line);
    }
    .site-nav a.is-active { border-bottom-color: var(--site-line); }
    .site-nav-toggle:checked ~ .site-nav { display: flex; }
}

/* ===== ヒーロー ===== */
.hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    color: #fff;
}
/* 視差用の背景レイヤー。section より上下に大きくはみ出させ、
   その余白分を JS で translate して「画像内の高さオフセット」を動かす。 */
.hero-bg {
    position: absolute;
    inset: -45% 0;
    z-index: -2;
    background: url('/uploads/site/enreal14-1.jpg') center / cover no-repeat;
    transform: translate3d(0, 0, 0) scale(1.06);
    will-change: transform;
    backface-visibility: hidden;
}
/* 文字の可読性を保つグラデーション（旧 .hero 背景の左→右の暗がりを踏襲） */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to right, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.12) 55%, transparent 100%);
}
.hero-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 72px 20px 80px;
}
.hero-eyebrow {
    margin: 0 0 10px;
    letter-spacing: 0.3em;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8); /* 旧 opacity:0.8。登場アニメで opacity を使うため色側で表現 */
}
.hero-title {
    margin: 0 0 14px;
    font-size: 2.2rem;
    line-height: 1.3;
}
.hero-lead {
    margin: 0 0 26px;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.92); /* 旧 opacity:0.92。同上 */
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ===== ヒーロー登場アニメーション ===== */
/* 表示時に各要素を少し下から、順番にふわっと出す。視差(.hero-bg)とは独立。 */
@keyframes heroRise {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: none; }
}
.hero-eyebrow,
.hero-title,
.hero-lead,
.hero-actions,
.hero-logo-wrap {
    animation: heroRise 0.8s cubic-bezier(0.22, 0.7, 0.18, 1) both;
}
.hero-eyebrow    { animation-delay: 0.08s; }
.hero-title      { animation-delay: 0.18s; }
.hero-lead       { animation-delay: 0.30s; }
.hero-actions    { animation-delay: 0.42s; }
.hero-logo-wrap  { animation-delay: 0.34s; }

.hero-inner--split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}
.hero-content {
    flex: 1;
    min-width: 0;
}
.hero-logo-wrap {
    flex: 0 0 auto;
}
.hero-logo-img {
    display: block;
    width: 300px;
    max-width: 100%;
    height: auto;
}

/* ===== ボタン ===== */
.btn {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform .12s, box-shadow .12s, background .12s, color .12s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: #fff; color: var(--site-brand); }
.btn-primary:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, 0.7); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

/* ===== 下層ページ見出し ===== */
.page-head {
    background: var(--site-soft);
    border-bottom: 1px solid var(--site-line);
    padding: 36px 0;
}
.page-head-inner { position: relative; }
.detail-back { position: absolute; top: 0; right: 0; }
.page-title { margin: 0; font-size: 1.7rem; color: var(--site-brand); }
@media (max-width: 640px) {
    .detail-back { position: static; display: inline-flex; margin-bottom: 12px; }
}
.page-lead { font-size: 1.02rem; color: var(--site-ink); }

/* ===== 汎用ブロック ===== */
.block { padding: 44px 0; border-bottom: 1px solid var(--site-line); }
.block:last-child { border-bottom: none; }
.block-title {
    margin: 0 0 18px;
    font-size: 1.4rem;
    color: var(--site-brand);
    position: relative;
    padding-left: 14px;
}
* + .block-title { margin-top: 1.25rem; }
.block-title::before {
    content: "";
    position: absolute;
    left: 0; top: 0.15em; bottom: 0.15em;
    width: 5px;
    border-radius: 3px;
    background: var(--site-accent);
}
.block-empty {
    color: var(--site-muted);
    background: var(--site-soft);
    border: 1px dashed var(--site-line);
    border-radius: 8px;
    padding: 18px 20px;
    margin: 0;
}

/* ===== フッター ===== */
.site-footer {
    background: linear-gradient(135deg, #c03333 0%, #e8906e 100%);
    color: rgba(255, 255, 255, 0.92);
    margin-top: 40px;
}
.site-footer-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 36px 20px 28px;
}
.site-footer-logo-wrap {
    display: inline-block;
    background: #fff;
    padding: 10px 18px;
    margin-bottom: 18px;
}
.site-footer-group {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.site-footer-group-title {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 10px;
    font-weight: 600;
    text-align: center;
    width: 100%;
}
.site-footer-group-title::before { content: "- "; }
.site-footer-group-title::after  { content: " -"; }
.site-footer-group-title--left {
    text-align: left;
    white-space: nowrap;
}
.site-footer-group-logos {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}
.site-footer-group-link {
    display: flex;
    align-items: center;
}
.site-footer-group-img {
    display: block;
    height: 40px;
    width: auto;
    background: #fff;
}
.site-footer-logo-img {
    display: block;
    height: 36px;
    width: auto;
}
.site-footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 8px;
}
.site-footer-company { flex: 1; }
.site-footer-center {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
}
.site-footer-right {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.site-footer-badge-img {
    display: block;
    width: 180px;
    max-width: 100%;
    height: auto;
}
.site-footer-name { font-weight: 700; font-size: 1.05rem; color: #fff; margin: 0 0 8px; }
.site-footer-company p { margin: 2px 0; font-size: 0.9rem; }
.site-footer-license { opacity: 0.75; }
.site-footer-note { opacity: 0.75; margin-top: 8px !important; }
.site-footer-copy {
    margin: 22px 0 0;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    font-size: 0.82rem;
    opacity: 0.7;
}
.site-footer-badge-text {
    display: inline-block;
    background: #fff;
    color: #333;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 8px 16px;
    text-decoration: none;
    width: 200px;
    text-align: center;
    box-sizing: border-box;
}
.site-footer-recaptcha {
    margin: 6px 0 0;
    font-size: 0.78rem;
    opacity: 0.6;
}
.site-footer-recaptcha a {
    color: rgba(255, 255, 255, 0.85);
}

/* ===== 本文・更新情報・会社概要表 ===== */
.block-text, .page-body { color: var(--site-ink); white-space: normal; }
.page-body { margin-top: 14px; }

.news-list { list-style: none; margin: 0; padding: 0; }
.news-item {
    display: flex;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--site-line);
}
.news-item:last-child { border-bottom: none; }
.news-date { flex: 0 0 96px; color: var(--site-muted); font-size: 0.88rem; padding-top: 2px; }
.news-title { margin: 0; font-weight: 600; }
.news-text { margin: 4px 0 0; color: var(--site-muted); font-size: 0.92rem; }

.info-table { width: 100%; border-collapse: collapse; margin: 6px 0 4px; }
.info-table th, .info-table td {
    text-align: left;
    vertical-align: top;
    padding: 6px 14px;
    border-bottom: 1px solid var(--site-line);
    font-size: 0.95rem;
}
.info-table th { width: 180px; color: var(--site-muted); font-weight: 600; background: var(--site-soft); }

/* ===== 通知（送信完了・エラー） ===== */
.notice { border-radius: 8px; padding: 16px 18px; margin: 0 0 20px; }
.notice-title { font-weight: 700; margin: 0 0 4px; }
.notice-ok { background: #ecfdf3; border: 1px solid #abefc6; color: #145c32; }
.notice-ng { background: #fef3f2; border: 1px solid #fecdca; color: #b42318; }

/* ===== お問合せフォーム（テーブル風レイアウト） ===== */
.contact-form { max-width: 960px; }

.contact-grid {
    border: 1px solid var(--site-line);
    border-bottom: none;
}
.contact-row {
    display: grid;
    grid-template-columns: 280px 1fr;
    border-bottom: 1px solid var(--site-line);
}
.contact-th {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 10px 18px;
    background: var(--site-soft);
    border-right: 1px solid var(--site-line);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--site-ink);
}
.contact-td {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    background: #fff;
}
.contact-td > input,
.contact-td > .checkbox-group { width: 100%; }
.contact-td > textarea { width: 100%; }

/* 必須バッジ */
.req-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    background: var(--site-accent);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.4;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 7px 13px;
    border: 1px solid #cdd5df;
    border-radius: 6px;
    font: inherit;
    color: var(--site-ink);
    background: #fff;
}
.contact-form textarea { resize: vertical; min-height: 160px; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #9aa7b2; }
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--site-accent);
    box-shadow: 0 0 0 3px rgba(212, 69, 69, 0.18);
}

.checkbox-group { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.checkbox-item { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.field-error { color: #b42318; font-size: 0.85rem; margin: 6px 0 0; }

.contact-actions { margin-top: 28px; }
.btn-contact-submit {
    display: block;
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 6px;
    background: var(--site-accent);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease;
}
.btn-contact-submit:hover { background: #b83838; }

/* honeypot：画面外に隠す（display:none だと一部ボットが回避するため） */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ===== 採用情報テーブル ===== */
.recruit-table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.recruit-table th,
.recruit-table td {
    padding: 14px 18px;
    border: 1px solid var(--site-line);
    vertical-align: top;
    font-size: 0.95rem;
    line-height: 1.8;
}
.recruit-table th {
    width: 200px;
    background: var(--site-soft);
    font-weight: 700;
    white-space: nowrap;
}

/* ===== 事業内容グリッド ===== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 36px;
    margin-top: 32px;
}
.service-card {
    display: flex;
    flex-direction: column;
}
.service-card-title {
    margin: 0 0 20px;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 800;
    color: #d44545;
    letter-spacing: 0.02em;
}
.service-card-img {
    border-radius: 0;
    overflow: hidden;
    background: var(--site-soft);
    aspect-ratio: 3 / 2;
}
.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.service-card-sub {
    margin-top: 12px;
    background: #d44545;
    color: #fff;
    text-align: center;
    padding: 3px 16px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.02em;
}
.service-card-body {
    margin-top: 20px;
    line-height: 2;
    font-size: 1rem;
    color: var(--site-ink);
}
@media (max-width: 760px) {
    .service-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ===== 会社概要 ===== */
.about-greeting-body { white-space: pre-wrap; line-height: 1.9; margin-bottom: 24px; }
.about-greeting-name { text-align: right; white-space: pre-wrap; line-height: 1.8; }
.about-office-address { margin: 0 0 12px; color: var(--site-muted); }
.about-map { border-radius: 8px; overflow: hidden; }

/* ===== プライバシーポリシー ===== */
.privacy-block { width: 100%; }
.privacy-body { line-height: 1.9; white-space: pre-wrap; margin-bottom: 40px; }
.privacy-contact {
    text-align: right;
    line-height: 1.8;
    white-space: pre-wrap;
    color: var(--site-ink);
}

/* ===== 物件一覧：賃貸/売買タブ ===== */
.listing-tabs {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    margin: 0 0 22px;
    background: var(--site-soft);
    border: 1px solid var(--site-line);
    border-radius: 999px;
}
.listing-tab {
    display: inline-block;
    padding: 8px 26px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--site-muted);
    transition: background .15s, color .15s;
}
.listing-tab:hover { color: var(--site-accent); }
.listing-tab.is-active {
    background: var(--site-accent);
    color: #fff;
    box-shadow: 0 2px 8px rgba(212, 69, 69, 0.28);
}

/* ===== 物件一覧（カード） ===== */
.listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
.listing-card {
    display: block;
    border: 1px solid var(--site-line);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: var(--site-ink);
    background: #fff;
    transition: border-color .15s, box-shadow .15s, transform .15s;
}
.listing-card:hover {
    border-color: var(--site-accent);
    box-shadow: 0 8px 22px rgba(212, 69, 69, 0.14);
    transform: translateY(-2px);
}
.listing-thumb {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--site-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.listing-thumb img { width: 100%; height: 100%; object-fit: cover; }
.listing-thumb-none { color: #aab4bf; font-size: 0.9rem; letter-spacing: 0.1em; }
.listing-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.listing-body { padding: 14px 16px 16px; }
.listing-info {
    list-style: none; margin: 0 0 12px; padding: 0;
    display: flex; flex-direction: column; gap: 7px;
}
.listing-info li {
    display: flex; align-items: flex-start; gap: 5px;
    font-size: 0.86rem; line-height: 1.45;
}
.li-icon {
    flex-shrink: 0; width: 1.4em; text-align: center;
    color: var(--site-brand); font-size: 1rem; margin-top: 1px;
}
.li-label {
    flex-shrink: 0; color: var(--site-muted); white-space: nowrap;
}
.li-label::after { content: '：'; }
.li-value { color: var(--site-ink); font-weight: 500; min-width: 0; }
.listing-price-box {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    background: var(--site-brand); color: #fff;
    border-radius: 6px; padding: 9px 14px; margin: 0 0 10px;
    text-align: center;
}
.price-row { display: flex; align-items: center; gap: 8px; }
.price-label { font-size: 0.82rem; font-weight: 600; opacity: 0.9; }
.price-value { font-size: 1.18rem; font-weight: 800; }
.listing-price-box--rent { background: #0d9488; }
.listing-mgmt-fee { margin: -6px 0 8px; font-size: 0.8rem; color: var(--site-muted); text-align: right; }
.listing-date { margin: 0; font-size: 0.8rem; color: var(--site-muted); text-align: right; }

/* バッジ */
.badge-deal, .badge-recruit, .badge-flag {
    display: inline-block; padding: 3px 10px; border-radius: 4px;
    font-size: 0.76rem; font-weight: 700; color: #fff;
}
.badge-deal-sale { background: #b45309; }
.badge-deal-rent { background: #0d9488; }
.badge-recruit.is-recruiting { background: #15803d; }
.badge-recruit.is-applied    { background: #b45309; }
.badge-recruit.is-closed     { background: #6b7280; }
.badge-flag { background: #334155; }

/* ===== 物件詳細 ===== */
.detail-badges { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 10px; }
.gallery { margin-bottom: 24px; }
.gallery-main { position: relative; border-radius: 10px; overflow: hidden; background: var(--site-soft); }
.gallery-main img { width: 100%; max-height: 460px; object-fit: cover; display: block; }
.gallery-caption {
    position: absolute; left: 0; bottom: 0; background: rgba(0,0,0,0.55); color: #fff;
    font-size: 0.82rem; padding: 5px 12px;
}
.gallery-main.is-clickable { cursor: pointer; }
.gallery-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; border: 0; border-radius: 50%;
    background: rgba(0,0,0,0.4); color: #fff; font-size: 1.7rem; line-height: 1;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: background 0.15s; z-index: 2;
}
.gallery-nav:hover { background: rgba(0,0,0,0.7); }
.gallery-nav-prev { left: 10px; }
.gallery-nav-next { right: 10px; }
.gallery-counter {
    position: absolute; right: 10px; bottom: 10px; z-index: 2;
    background: rgba(0,0,0,0.55); color: #fff; font-size: 0.78rem;
    padding: 3px 9px; border-radius: 12px;
}
.gallery-thumbs { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.gallery-thumb {
    padding: 0; border: 1px solid var(--site-line); border-radius: 6px; overflow: hidden;
    background: none; cursor: pointer; line-height: 0; transition: border-color 0.15s;
}
.gallery-thumb:hover { border-color: var(--site-accent); }
.gallery-thumb.is-active { border-color: var(--site-accent); box-shadow: 0 0 0 1px var(--site-accent) inset; }
.gallery-thumb img {
    width: 90px; height: 68px; object-fit: cover; display: block;
}
.detail-price {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px;
    background: var(--site-soft); border-radius: 10px; padding: 16px 20px; margin-bottom: 8px;
}
.detail-price-main { color: var(--site-brand); font-weight: 800; font-size: 1.5rem; }
.detail-price-sub { color: var(--site-muted); font-size: 0.92rem; }
.feature-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.feature-chip {
    display: inline-block; padding: 5px 12px; border-radius: 999px;
    background: #fde8e8; color: var(--site-accent); font-size: 0.86rem; font-weight: 600;
}
.detail-map { margin: 8px 0 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--site-line); }
.detail-map iframe { display: block; width: 100%; }
.detail-map-link { margin: 12px 0 0; }
.detail-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-ghost-dark { border: 1px solid var(--site-line); color: var(--site-brand); background: #fff; }
.btn-ghost-dark:hover { background: var(--site-soft); }

/* ===== 物件詳細：追従アクションバー（画面下に常時表示） ===== */
/* position:sticky で .site-main の最後の子として貼り付く。fixed と違いフッターに被らない。 */
.detail-actionbar {
    position: sticky;
    bottom: 0;
    z-index: 15;               /* site-header(20) より下、本文より上 */
    background: #fff;
    border-top: 1px solid var(--site-line);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
}
.detail-actionbar-inner {
    display: flex;
    gap: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
    justify-content: center;
}
.ab-btn {
    flex: 1;
    max-width: 240px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background .12s, box-shadow .12s;
}
.ab-btn-primary { background: var(--site-brand); color: #fff; border: 1px solid var(--site-brand); }
.ab-btn-primary:hover { background: #b83838; }
.ab-btn-ghost { background: #fff; color: var(--site-brand); border: 1px solid var(--site-line); }
.ab-btn-ghost:hover { background: var(--site-soft); }
@media (max-width: 640px) {
    .detail-actionbar-inner { gap: 8px; padding-left: 12px; padding-right: 12px; }
    .ab-btn { max-width: none; padding: 12px 8px; font-size: 0.9rem; }
}

/* ===== 内見予約：枠ピッカー ===== */
.slot-picker { display: flex; flex-direction: column; gap: 14px; margin-top: 6px; }
.slot-day { border: 1px solid var(--site-line); border-radius: 8px; padding: 12px 14px; }
.slot-date { margin: 0 0 8px; font-weight: 700; color: var(--site-brand); }
.slot-options { display: flex; flex-wrap: wrap; gap: 8px; }
.slot-option { position: relative; }
.slot-option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.slot-option span {
    display: inline-block; padding: 7px 14px; border-radius: 999px;
    border: 1px solid #cdd5df; background: #fff; font-size: 0.9rem; cursor: pointer; transition: all .12s;
}
.slot-option input:checked + span { background: var(--site-brand); color: #fff; border-color: var(--site-brand); }
.slot-option input:focus-visible + span { box-shadow: 0 0 0 3px rgba(47,125,187,0.25); }

/* ===== レスポンシブ（スマホ） ===== */
@media (max-width: 760px) {
    .hero-title { font-size: 1.7rem; }
    .hero-inner--split { flex-direction: column; gap: 28px; }
    /* ロゴは画面いっぱいに広げず上限を設けて中央寄せ（スマホ/タブレットで大きすぎ対策） */
    .hero-logo-wrap { width: 100%; }
    .hero-logo-img { width: 100%; max-width: 260px; margin: 0 auto; }
    .contact-row { grid-template-columns: 1fr; }
    .contact-th { border-right: none; border-bottom: 1px solid var(--site-line); }
    .news-item { flex-direction: column; gap: 2px; }
    .news-date { flex-basis: auto; }
    /* テーブルの見出し列は内容幅まで縮め、値の列を広く使う（ラベルは全て短い） */
    .info-table th { width: 1%; white-space: nowrap; }
    .recruit-table th { width: 1%; }
    /* フッター：3カラム横並びをやめて縦積み（画面外はみ出し・横スクロール対策） */
    .site-footer-main { flex-direction: column; align-items: stretch; gap: 28px; }
    .site-footer-company { text-align: center; }
    .site-footer-group-title--left { text-align: center; white-space: normal; }
    .site-footer-badge-img { margin-left: auto; margin-right: auto; }
}
