
@charset "utf-8";
/*==================================================
    【物件詳細】ページ固有のスタイル
    base.css / common.css の後に読み込む
==================================================*/
.property-detail {
    color: var(--color-font);
    text-align: left;
    padding-bottom: 100px;
}
.property-detail__inner {
    width: 1150px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 25px;
}
.property-detail .property-badge {
    display: inline-block;
    margin-bottom: 15px;
    padding: 5px 20px;
    border-radius: 30px;
    background: var(--color-red);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
}
.property-detail .property-title {
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 8px solid var(--color-primary);
    color: var(--color-primary);
    font-size: 32px;
    font-weight: 800;
    line-height: 1.5;
}

/*--------------------------------------------------
    外観写真・物件価格
--------------------------------------------------*/
.property-detail .property-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 30px;
    align-items: start;
    margin-bottom: 50px;
}
.property-detail .property-main__left,
.property-detail .property-main__right {
    min-width: 0;
}
.property-detail .property-hero {
    overflow: hidden;
    border-radius: 15px;
    background: #eee;
}
.property-detail .property-hero img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

/*--------------------------------------------------
    価格・概要カード
--------------------------------------------------*/
.property-detail .property-summary-card {
    padding: 25px;
    background: #fff;
    border: 1px solid #e5e0da;
    border-radius: 15px;
    box-shadow: 2px 2px 10px rgba(87,96,99,.08);
}
.property-detail .summary-block {
    margin: 0 0 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-tbl-border);
}
.property-detail .summary-block dt {
    margin-bottom: 8px;
    color: var(--color-primary);
    font-size: 16px;
    font-weight: bold;
}
.property-detail .summary-block dd {
    margin: 0;
    font-size: 24px;
    line-height: 1.5;
    font-weight: bold;
    overflow-wrap: anywhere;
}
.property-detail .summary-block dd.price {
    color: var(--color-secondary);
    font-size: 38px;
    font-weight: 800;
}
.property-detail .summary-block:last-child {
    margin-bottom: 0;
}
.property-detail .summary-meta {
	display: grid;
	grid-template-columns: 1fr;
	gap: 15px;
}
.property-detail .summary-meta__item {
    min-width: 0;
}
.property-detail .summary-meta__item:only-child {
    grid-column: 1 / -1;
}
.property-detail .summary-meta__item .label {
    display: block;
    margin-bottom: 5px;
    color: var(--color-primary);
    font-size: 14px;
    font-weight: bold;
}
.property-detail .summary-meta__item .value {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

/*--------------------------------------------------
    お問い合わせボタン
--------------------------------------------------*/
.property-detail .property-contact-btn {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 65px;
    margin-top: 20px;
    padding: 15px 40px 15px 20px;
    border: 2px solid var(--color-secondary);
    border-radius: 35px;
    background: var(--color-secondary);
    box-shadow: 2px 2px 10px rgba(87,96,99,.2);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.5;
    text-align: center;
    transition: background .3s, border-color .3s;
}
.property-detail .property-contact-btn::after {
    content: "";
    position: absolute;
    right: 22px;
    top: calc(50% - 5px);
    width: 10px;
    height: 10px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
}
.property-detail .property-contact-btn:hover {
    opacity: 1;
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

/*--------------------------------------------------
    セクション見出し
--------------------------------------------------*/
.property-detail .property-section {
    margin-bottom: 60px;
}
.property-detail .section-title {
    position: relative;
    margin: 0 0 25px;
    padding: 8px 20px;
    background: #fff;
    border-left: 8px solid var(--color-primary);
    border-radius: 0 25px 25px 0;
    color: var(--color-primary);
    font-size: 25px;
    font-weight: 800;
    line-height: 1.5;
}
.property-detail .section-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: -8px;
    width: 8px;
    height: 8px;
    background: var(--color-font);
}

/*--------------------------------------------------
    写真一覧
    メイン2カラムの外側に配置・1100px全幅
--------------------------------------------------*/
.property-detail .property-gallery {
    width: 100%;
}
.property-detail .property-gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}
.property-detail .property-gallery__item {
    min-width: 0;
}
.property-detail .property-gallery__item a {
	display: block;
}
.property-detail .property-gallery__item a:hover {
	opacity: 0.7;
}
.property-detail .property-gallery__item img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
    background: #eee;
}
.property-detail .property-gallery__item figcaption {
    margin-top: 8px;
    font-size: 14px;
    font-weight: bold;
    color: var(--color-primary);
}

/* 間取り図 */
.property-detail .property-gallery__item.is-floor-plan img {
    object-fit: contain;
    background: #fff;
    border: 1px solid var(--color-tbl-border);
}

/*--------------------------------------------------
    物件概要テーブル
--------------------------------------------------*/
.property-detail .property-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    border-top: 2px solid var(--color-primary);
    background: #fff;
}
.property-detail .property-table th,
.property-detail .property-table td {
    padding: 14px 18px;
    border: 1px solid var(--color-tbl-border);
    font-size: 15px;
    line-height: 1.8;
    vertical-align: middle;
    overflow-wrap: anywhere;
}
.property-detail .property-table th {
    width: 190px;
    background: #e5f0e4;
    color: var(--color-primary);
    font-weight: bold;
    text-align: left;
}
.property-detail .property-table td {
    background: #fff;
}
.property-detail .property-table tr:nth-child(even) td {
    background: #fdfcfb;
}
.property-detail .property-table--small {
    max-width: 600px;
}

/*--------------------------------------------------
    備考
--------------------------------------------------*/
.property-detail .property-notes {
    padding: 25px 30px;
    border: 1px solid var(--color-tbl-border);
    border-radius: 15px;
    background: #fff;
    font-size: 15px;
    line-height: 2;
    overflow-wrap: anywhere;
}

/*--------------------------------------------------
    Googleマップ
--------------------------------------------------*/
.property-detail .property-map {
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
    background: #eee;
}
.property-detail .property-map iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: 0;
}

/*--------------------------------------------------
    最下部お問い合わせ
--------------------------------------------------*/
.property-detail .property-bottom-contact {
    display: flex;
    justify-content: center;
    margin-top: 70px;
}
.property-detail .property-bottom-contact .property-contact-btn {
    width: 450px;
    max-width: 100%;
    margin-top: 0;
}

/*==================================================
    タブレット以下
==================================================*/
@media only screen and (max-width: 768px) {
    .property-detail {
        padding-bottom: 60px;
    }
    .property-detail__inner {
        padding: 0;
    }
    .property-detail .property-title {
        font-size: 27px;
    }
    .property-detail .property-main {
        grid-template-columns: minmax(0, 1fr);
        gap: 25px;
        margin-bottom: 40px;
    }
    .property-detail .property-section {
        margin-bottom: 50px;
    }
    .property-detail .section-title {
        font-size: 22px;
    }
    .property-detail .property-gallery__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 15px;
    }
    .property-detail .property-table th {
        width: 160px;
    }
    .property-detail .property-map iframe {
        height: 350px;
    }
}

/*==================================================
    スマートフォン
==================================================*/
@media only screen and (max-width: 640px) {
    .property-detail {
        padding-bottom: 40px;
    }
    .property-detail .property-badge {
        margin-bottom: 10px;
        padding: 4px 15px;
        font-size: 13px;
    }
    .property-detail .property-title {
        margin-bottom: 20px;
        padding-left: 12px;
        border-left-width: 5px;
        font-size: 20px;
    }
    .property-detail .property-main {
        gap: 20px;
        margin-bottom: 30px;
    }
    .property-detail .property-hero {
        border-radius: 10px;
    }
    .property-detail .property-summary-card {
        padding: 20px;
        border-radius: 10px;
    }
    .property-detail .summary-block {
        margin-bottom: 15px;
        padding-bottom: 15px;
    }
    .property-detail .summary-block dt {
        font-size: 14px;
    }
    .property-detail .summary-block dd {
        font-size: 20px;
    }
    .property-detail .summary-block dd.price {
        font-size: 32px;
    }
    .property-detail .summary-meta {
        gap: 10px;
    }
    .property-detail .summary-meta__item .label {
        font-size: 12px;
    }
    .property-detail .summary-meta__item .value {
        font-size: 13px;
    }
    .property-detail .property-contact-btn {
        min-height: 60px;
        padding: 12px 35px 12px 15px;
        font-size: 14px;
    }
    .property-detail .property-contact-btn::after {
        right: 17px;
        width: 8px;
        height: 8px;
        top: calc(50% - 4px);
    }
    .property-detail .property-section {
        margin-bottom: 40px;
    }
    .property-detail .section-title {
        margin-bottom: 20px;
        padding: 8px 12px;
        border-left-width: 5px;
        border-radius: 0 20px 20px 0;
        font-size: 20px;
    }
    .property-detail .section-title::before {
        left: -5px;
        width: 5px;
        height: 5px;
    }
    .property-detail .property-gallery__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .property-detail .property-gallery__item figcaption {
        margin-top: 5px;
        font-size: 12px;
    }

    /* スマホでもテーブルを横並びで維持 */
    .property-detail .property-table th,
    .property-detail .property-table td {
        display: table-cell;
        padding: 10px;
        font-size: 13px;
        vertical-align: middle;
    }
    .property-detail .property-table th {
        width: 100px;
    }
    .property-detail .property-notes {
        padding: 15px;
        border-radius: 10px;
        font-size: 13px;
        line-height: 1.9;
    }
    .property-detail .property-map {
        border-radius: 10px;
    }
    .property-detail .property-map iframe {
        height: 300px;
    }
    .property-detail .property-bottom-contact {
        margin-top: 40px;
    }
}
