/* 物件詳細専用。トップ・問い合わせ画面の共通スタイルには影響させない。 */
.property-detail--expanded [hidden] { display: none !important; }
.property-detail--expanded .property-detail__hero { padding: 46px 0 36px; }
.property-detail--expanded .property-detail__hero .section-label { color: #d0dbd8; }
.property-detail--expanded .property-detail__hero h1 {
    margin: 14px 0 24px;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.6;
    overflow-wrap: anywhere;
}
.property-detail__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.property-detail__badges span { border: 1px solid #6d918c; padding: 2px 12px; font-size: 13px; }
.property-detail__dates { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 24px; font-size: 13px; }
.property-detail__content { max-width: 1040px; padding-block: 36px 64px; }
.property-detail__section { margin: 0 0 32px; min-width: 0; }
.property-detail__section h2,
.property-info-table caption { color: var(--color-navy); font-size: 20px; font-weight: 700; text-align: left; margin: 0 0 14px; }
.property-point { display: flex; align-items: flex-start; gap: 20px; padding: 22px 24px; margin-bottom: 28px; background: var(--color-soft); border-left: 3px solid var(--color-gold); }
.property-point strong { color: var(--color-navy); letter-spacing: .08em; }
.property-point p { margin: 0; overflow-wrap: anywhere; }
.property-info-table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 14px; }
.property-info-table__label { width: 20%; }
.property-info-table th,
.property-info-table td { padding: 14px 16px; border: 1px solid #fff; vertical-align: middle; text-align: left; overflow-wrap: anywhere; }
.property-info-table th { background: var(--color-navy); color: #fff; font-weight: 500; }
.property-info-table td { background: #f2f6f5; }
.property-summary { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; gap: 1px; background: #fff; }
.property-summary > div { padding: 18px 16px; background: #f2f6f5; min-width: 0; }
.property-summary dt { color: var(--color-navy); font-size: 12px; font-weight: 700; }
.property-summary dd { margin: 6px 0 14px; font-size: 14px; overflow-wrap: anywhere; }
.property-summary dd:last-child { margin-bottom: 0; }
.property-summary dd.property-summary__price { color: #a62a24; font-weight: 700; font-size: 21px; }
.property-detail--expanded .property-gallery { gap: 12px; }
.property-gallery__stage { position: relative; background: var(--color-soft); }
.property-gallery__stage > a { display: block; }
.property-detail--expanded .property-gallery__main { display: block; width: 100%; height: clamp(260px, 48vw, 560px); aspect-ratio: auto; object-fit: contain; border-radius: 0; }
.property-gallery__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 56px; padding: 0; border: 1px solid #d6dfdd; background: rgba(255,255,255,.94); color: var(--color-navy); font-size: 36px; line-height: 1; cursor: pointer; }
.property-gallery__arrow--prev { left: 12px; }
.property-gallery__arrow--next { right: 12px; }
.property-gallery__arrow:hover { background: var(--color-navy); color: #fff; }
.property-gallery__caption { display: flex; justify-content: space-between; gap: 20px; font-size: 13px; min-width: 0; }
.property-gallery__caption > span:first-child { overflow-wrap: anywhere; }
.property-gallery__caption > span:last-child { white-space: nowrap; }
.property-detail--expanded .property-gallery__thumbs { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.property-gallery__thumbs > a { border: 2px solid transparent; padding: 2px; background: var(--color-soft); }
.property-gallery__thumbs > a[aria-current="true"] { border-color: var(--color-navy); }
.property-gallery__thumbs > a img { object-fit: contain; }
.property-gallery__thumbs > a:focus-visible,
.property-gallery__arrow:focus-visible,
.property-actions .button:focus-visible { outline: 3px solid var(--color-gold); outline-offset: 3px; }
.property-floor-plan { padding: 24px; background: var(--color-soft); }
.property-floor-plan > a { display: block; text-align: center; }
.property-floor-plan img { max-height: 500px; width: auto; object-fit: contain; }
.property-panorama iframe { display: block; width: 100%; height: 520px; border: 0; background: var(--color-soft); }
.property-panorama p { text-align: right; font-size: 13px; }
.property-panorama a { text-decoration: underline; text-underline-offset: 3px; }
.property-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; padding: 20px; background: var(--color-soft); }
.property-actions .button { flex: 1 1 240px; max-width: 350px; min-height: 50px; padding: 12px 16px; font-size: 15px; text-align: center; cursor: pointer; gap: 8px; }
.property-actions .button--outline { border: 1px solid var(--color-navy); color: var(--color-navy); background: #fff; }
.property-actions .button--outline[aria-pressed="true"] { background: #e2eeeb; }
.property-actions .button--outline:hover { background: #e2eeeb; }
.property-favorite-message { margin: 8px 0; color: var(--color-navy); font-size: 13px; }
.property-favorite-message:empty { display: none; }
.property-favorites { margin: 16px 0 28px; padding: 16px 20px; border: 1px solid var(--color-line); font-size: 14px; }
.property-favorites summary { cursor: pointer; color: var(--color-navy); }
.property-favorites p { color: var(--color-muted); font-size: 12px; }
.property-favorites ul { list-style: none; padding: 0; }
.property-favorites li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 8px; }
.property-favorites li a { text-decoration: underline; overflow-wrap: anywhere; }
.property-favorites li button { flex-shrink: 0; padding: 8px 12px; border: 1px solid var(--color-line); background: #fff; cursor: pointer; }
.property-actions + .property-detail__section,
.property-favorites + .property-detail__section,
.property-favorite-message + .property-detail__section { margin-top: 32px; }
.property-notices { margin: 28px 0; font-size: 12px; line-height: 1.9; color: #545f5d; }
.property-notices p { margin: 8px 0; }
.property-detail--expanded .map-frame { width: 100%; height: 360px; aspect-ratio: auto; margin-top: 0; }
.property-detail--expanded .map-frame iframe { height: 100%; }
@media (max-width: 760px) {
    .property-detail--expanded .property-detail__hero { padding: 28px 0; }
    .property-detail__dates { justify-content: flex-start; flex-direction: column; gap: 4px; font-size: 12px; }
    .property-detail__content { padding-block: 24px 40px; }
    .property-point { display: block; padding: 16px; }
    .property-point p { margin-top: 6px; font-size: 14px; }
    .property-info-table colgroup { display: none; }
    .property-info-table tbody { display: block; }
    .property-info-table tr { display: grid; grid-template-columns: minmax(0, 38%) minmax(0, 1fr); }
    .property-info-table th, .property-info-table td { display: block; padding: 12px 10px; font-size: 13px; }
    .property-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .property-summary > div { padding: 14px 12px; }
    .property-summary > div:last-child { grid-column: 1 / -1; }
    .property-summary dd.property-summary__price { font-size: 20px; }
    .property-detail--expanded .property-gallery__thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .property-gallery__arrow { width: 38px; height: 48px; font-size: 30px; }
    .property-gallery__arrow--prev { left: 4px; }
    .property-gallery__arrow--next { right: 4px; }
    .property-detail__section h2, .property-info-table caption { font-size: 18px; }
    .property-panorama iframe { height: 340px; }
    .property-actions { gap: 10px; padding: 16px; }
    .property-actions .button { flex-basis: 100%; max-width: none; }
    .property-detail--expanded .map-frame { height: 300px; }
}
