/*
Theme Name: Astra Child
Template: astra
Version: 3.7.6.1642905383
*/

/* ==================================================
   物件詳細ページ：ページ全体
================================================== */
.single-property .site-content > .ast-container {
    max-width: 1200px;
    gap: 42px;
    padding-top: 48px;
    padding-bottom: 70px;
}

.single-property #primary {
    width: calc(100% - 320px);
    margin: 0;
    padding: 0;
}

.single-property #secondary {
    width: 278px;
    margin: 0;
    padding: 0;
}

.single-property .entry-header,
.single-property .entry-content {
    max-width: none;
}

/* ==================================================
   物件ページ上部
================================================== */
.property-hero-header {
    margin-bottom: 24px;
}

.property-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.property-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 12px;
    border: 1px solid #0b6659;
    border-radius: 999px;
    background: #f3faf8;
    color: #075d51;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

.property-status-badge {
    border-color: #9a9a9a;
    background: #fff;
    color: #555;
}

.single-property .entry-title {
    margin: 0;
    color: #151515;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: .01em;
}

.property-catch-copy {
    margin: 9px 0 0;
    color: #333;
    font-size: 17px;
    line-height: 1.75;
}

.property-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-top: 24px;
}

.property-heading-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 12px;
}

.property-heading-price-label {
    color: #444;
    font-size: 14px;
    font-weight: 600;
}

.property-heading-price strong {
    color: #b52620;
    font-size: clamp(27px, 3.3vw, 42px);
    font-weight: 800;
    line-height: 1.15;
}

.property-heading-price-updated {
    color: #b52620;
    font-size: 13px;
    font-weight: 700;
}

.property-sold-label {
    margin: 0;
    color: #b52620;
    font-size: 30px;
    font-weight: 800;
}

.property-action-buttons {
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
}

.property-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid #cfd6d4;
    border-radius: 6px;
    background: #fff;
    color: #25312f;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease;
    text-align: center;
    text-decoration: none;
}

.property-action-button:hover {
    border-color: #0b6659;
    background: #f3faf8;
    color: #075d51;
}

.property-pdf-button {
    border-color: #075d51;
    background: #075d51;
    color: #fff;
}

.property-pdf-button:hover {
    border-color: #064a41;
    background: #064a41;
    color: #fff;
}

/* ==================================================
   メイン画像・NextGENギャラリー
================================================== */
.property-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 14px;
    overflow: hidden;
    border-radius: 7px;
    background: #111;
}

.property-video iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.property-main-image {
    width: 100%;
    margin-bottom: 14px;
    overflow: hidden;
    border-radius: 7px;
    background: #f2f2f2;
}

.property-main-image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    height: auto;
    object-fit: cover;
}

.property-gallery {
    width: 100%;
    margin: 0 0 34px;
}

/* ==================================================
   この物件のポイント
================================================== */
.property-point-box {
    position: relative;
    margin: 30px 0 34px;
    padding: 22px 24px 22px 27px;
    overflow: hidden;
    border: 1px solid #cfe0db;
    border-radius: 8px;
    background: #f2f8f6;
    box-shadow: 0 4px 14px rgba(7, 93, 81, .05);
}

.property-point-box::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 5px;
    background: #075d51;
    content: "";
}

.property-point-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.property-point-icon {
    position: relative;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    border: 2px solid #d5a62e;
    border-radius: 50%;
}

.property-point-icon::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d5a62e;
    content: "";
    transform: translate(-50%, -50%);
}

.property-point-heading h2 {
    margin: 0;
    color: #075d51;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.property-point-text,
.property-point-text p {
    color: #263330;
    font-size: 15px;
    line-height: 1.9;
}

.property-point-text p {
    margin: 0 0 7px;
}

.property-point-text p:last-child {
    margin-bottom: 0;
}

/* ==================================================
   所在地など上段情報
================================================== */
.property-address {
    display: flex;
    align-items: flex-start;
    min-height: 58px;
    margin: 0;
    padding: 15px 18px;
    border: 1px solid #e0e3e2;
    border-bottom: 0;
    box-sizing: border-box;
}

.property-address:last-of-type {
    border-bottom: 1px solid #e0e3e2;
}

.property-address-label {
    flex: 0 0 118px;
    color: #555;
    font-size: 14px;
    font-weight: 600;
}

.property-address-value {
    flex: 1;
    min-width: 0;
    color: #202020;
    font-size: 15px;
    line-height: 1.7;
}

/* ==================================================
   物件概要表
================================================== */
.property-section-title {
    position: relative;
    margin: 38px 0 14px;
    padding-left: 14px;
    color: #18211f;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.4;
}

.property-section-title::before {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 0;
    width: 4px;
    border-radius: 4px;
    background: #075d51;
    content: "";
}

.property-basic-info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 0 32px;
    border-top: 1px solid #dfe3e1;
    border-left: 1px solid #dfe3e1;
}

.property-info-item {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    align-items: stretch;
    min-height: 56px;
    padding: 0;
    border-right: 1px solid #dfe3e1;
    border-bottom: 1px solid #dfe3e1;
    box-sizing: border-box;
}

.property-info-label,
.property-info-value {
    display: flex;
    align-items: center;
    padding: 13px 14px;
    overflow-wrap: anywhere;
}

.property-info-label {
    width: auto;
    background: #f4f7f6;
    color: #414a48;
    font-size: 13px;
    font-weight: 600;
}

.property-info-value {
    min-width: 0;
    color: #202322;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.65;
}

.property-price .property-info-value {
    color: #b52620;
    font-size: 20px;
    font-weight: 800;
}

.property-price-updated {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-right: 1px solid #dfe3e1;
    border-bottom: 1px solid #dfe3e1;
    color: #b52620;
    font-size: 13px;
    font-weight: 700;
}

/* ==================================================
   Google Map
================================================== */
.property-map-section {
    margin: 44px 0 38px;
}

.property-map-section .property-section-title {
    margin-top: 0;
}

.property-map-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 8.5;
    overflow: hidden;
    border: 1px solid #d7dddb;
    border-radius: 8px;
    background: #eef2f1;
    box-shadow: 0 5px 18px rgba(25, 55, 49, .08);
}

.property-map-embed iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
}

/* ==================================================
   物件お問い合わせ
================================================== */
.property-contact-box {
    margin: 38px 0 44px;
    padding: 30px 28px;
    border: 1px solid #cbdad6;
    border-radius: 8px;
    background: linear-gradient(135deg, #f5faf8 0%, #eef6f3 100%);
    text-align: center;
}

.property-contact-box h2 {
    margin: 0;
    color: #173b35;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.45;
}

.property-contact-box p {
    margin: 10px 0 20px;
    color: #52615e;
    font-size: 14px;
    line-height: 1.8;
}

.property-contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 390px);
    min-height: 52px;
    padding: 12px 24px;
    border: 1px solid #075d51;
    border-radius: 6px;
    background: #075d51;
    box-shadow: 0 5px 14px rgba(7, 93, 81, .18);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.property-contact-button:hover {
    border-color: #064a41;
    background: #064a41;
    color: #fff;
    transform: translateY(-1px);
}

/* ==================================================
   関連物件
================================================== */
.related-properties {
    margin: 44px 0 20px;
}

.related-properties .property-section-title {
    margin-top: 0;
}

.related-property-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.related-property-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dce2e0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(26, 55, 49, .07);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.related-property-card:hover {
    border-color: #b7cec8;
    box-shadow: 0 9px 22px rgba(26, 55, 49, .12);
    transform: translateY(-2px);
}

.related-property-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.related-property-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #edf1f0;
    color: #77817f;
    font-size: 12px;
    letter-spacing: .08em;
}

.related-property-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.related-property-card:hover .related-property-image img {
    transform: scale(1.025);
}

.related-property-body {
    padding: 14px 15px 16px;
}

.related-property-body h3 {
    display: -webkit-box;
    min-height: 3em;
    margin: 0;
    overflow: hidden;
    color: #25312f;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.related-property-price,
.related-property-sold {
    margin: 9px 0 0;
    color: #b52620;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.4;
}

/* ==================================================
   物件詳細ページ専用サイドバー
================================================== */
.property-sidebar {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.property-sidebar-card {
    overflow: hidden;
    border: 1px solid #dce3e1;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(26, 55, 49, .06);
}

.property-sidebar-card > h2 {
    margin: 0;
    padding: 17px 18px;
    border-bottom: 1px solid #e1e6e4;
    background: #f5f8f7;
    color: #263330;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.property-sidebar-contact {
    padding-bottom: 18px;
}

.property-sidebar-contact > h2 {
    margin-bottom: 17px;
}

.property-sidebar-price-label {
    display: block;
    padding: 0 18px;
    color: #5b6764;
    font-size: 12px;
    font-weight: 600;
}

.property-sidebar-price,
.property-sidebar-sold {
    margin: 4px 0 17px;
    padding: 0 18px;
    color: #b52620;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.property-sidebar-contact-button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 62px;
    margin: 0 18px;
    padding: 11px 14px;
    border-radius: 6px;
    background: #075d51;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
}

.property-sidebar-contact-button:hover {
    background: #064a41;
    color: #fff;
}

.property-sidebar-featured {
    padding-bottom: 5px;
}

.property-sidebar-property {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 12px;
    margin: 0 15px;
    padding: 14px 0;
    border-bottom: 1px solid #e4e8e7;
    color: inherit;
    text-decoration: none;
}

.property-sidebar-property:last-child {
    border-bottom: 0;
}

.property-sidebar-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 4px;
    background: #edf1f0;
    color: #7b8583;
    font-size: 8px;
}

.property-sidebar-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-sidebar-property-body {
    min-width: 0;
}

.property-sidebar-property-body h3 {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #263330;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.property-sidebar-property-body p {
    margin: 6px 0 0;
    color: #b52620;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
}

.property-sidebar-links ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.property-sidebar-links li {
    margin: 0;
    border-bottom: 1px solid #e5e9e8;
}

.property-sidebar-links li:last-child {
    border-bottom: 0;
}

.property-sidebar-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 48px;
    padding: 11px 17px;
    color: #35423f;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}

.property-sidebar-links a:hover {
    background: #f1f7f5;
    color: #075d51;
}

.property-sidebar-links a span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 25px;
    min-height: 25px;
    padding: 2px 7px;
    border-radius: 999px;
    background: #edf3f1;
    color: #62706d;
    font-size: 11px;
}

/* ==================================================
   タブレット・スマートフォン
================================================== */
@media (max-width: 921px) {
    .single-property .site-content > .ast-container {
        display: block;
        padding: 30px 20px 55px;
    }

    .single-property #primary,
    .single-property #secondary {
        width: 100%;
        max-width: none;
    }

    .single-property #secondary.property-sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .single-property .site-content > .ast-container {
        padding: 22px 16px 45px;
    }

    .property-hero-header {
        margin-bottom: 18px;
    }

    .single-property .entry-title {
        font-size: 25px;
        line-height: 1.4;
    }

    .property-catch-copy {
        font-size: 14px;
        line-height: 1.7;
    }

    .property-heading-row {
        display: block;
        margin-top: 18px;
    }

    .property-heading-price strong {
        font-size: 29px;
    }

    .property-action-buttons {
        display: grid;
        grid-template-columns: 1fr;
        margin-top: 16px;
    }

    .property-action-button {
        width: 100%;
    }

    .property-main-image {
        margin-bottom: 10px;
        border-radius: 5px;
    }

    .property-video {
        margin-bottom: 10px;
        border-radius: 5px;
    }

    .property-main-image img {
        aspect-ratio: 4 / 3;
    }

    .property-gallery {
        margin-bottom: 26px;
    }

    .property-point-box {
        margin: 24px 0 28px;
        padding: 18px 17px 18px 20px;
        border-radius: 6px;
    }

    .property-point-heading {
        gap: 8px;
        margin-bottom: 8px;
    }

    .property-point-heading h2 {
        font-size: 16px;
    }

    .property-point-text,
    .property-point-text p {
        font-size: 13px;
        line-height: 1.8;
    }

    .property-address {
        display: grid;
        grid-template-columns: 92px minmax(0, 1fr);
        min-height: 52px;
        padding: 12px;
    }

    .property-address-label {
        width: auto;
        font-size: 12px;
    }

    .property-address-value {
        font-size: 13px;
    }

    .property-basic-info {
        grid-template-columns: 1fr;
        margin: 0 0 26px;
    }

    .property-section-title {
        margin: 30px 0 12px;
        padding-left: 12px;
        font-size: 20px;
    }

    .property-info-item {
        grid-template-columns: 100px minmax(0, 1fr);
        min-height: 52px;
    }

    .property-info-label,
    .property-info-value {
        padding: 11px 12px;
    }

    .property-info-label {
        font-size: 12px;
    }

    .property-info-value {
        font-size: 13px;
    }

    .property-price .property-info-value {
        font-size: 18px;
    }

    .property-map-section {
        margin: 34px 0 30px;
    }

    .property-map-embed {
        aspect-ratio: 4 / 3;
        border-radius: 6px;
    }

    .property-contact-box {
        margin: 30px 0 36px;
        padding: 24px 17px;
        border-radius: 6px;
    }

    .property-contact-box h2 {
        font-size: 18px;
    }

    .property-contact-box p {
        margin: 9px 0 17px;
        font-size: 13px;
    }

    .property-contact-button {
        width: 100%;
        min-height: 50px;
        font-size: 14px;
    }

    .related-properties {
        margin: 36px 0 15px;
    }

    .related-property-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 11px;
    }

    .related-property-body {
        padding: 11px 11px 13px;
    }

    .related-property-body h3 {
        font-size: 13px;
    }

    .related-property-price,
    .related-property-sold {
        margin-top: 7px;
        font-size: 14px;
    }
}

/* ==================================================
   通常印刷（PDF概要書は次の工程で専用化）
================================================== */
@media print {
    .site-header,
    .site-footer,
    #secondary,
    .property-action-buttons,
    .property-map-section,
    .property-contact-box,
    .related-properties {
        display: none !important;
    }

    .single-property #primary {
        width: 100% !important;
    }

    .single-property .site-content > .ast-container {
        display: block;
        max-width: none;
        padding: 0;
    }
}
