/*====================================================================
モーダル箇所
=====================================================================*/

/* モーダル背景 */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s;
}

/* 表示時 */
.modal-overlay.active {
    visibility: visible;
    opacity: 1;
}

/* モーダル画像 */
.modal-overlay img {
    max-width: 350px;
    /* max-height: 50%; */
    /* border-radius: 6px; */
    object-fit: cover;
}

/*====================================================================
VR画像表示
=====================================================================*/

.wpvr-cardboard,
.wpvr-cardboard canvas,
.wpvr-cardboard img,
.wpvr-cardboard iframe {
    max-width: none !important;
    width: 100% !important;
}

/*====================================================================
shop
=====================================================================*/

.shop {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 100px;
}

/* 左 */
.shop-info {
    flex: 1 1 45%;
    min-width: 300px;
}

.shop-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1em;
}

.shop-data {
    margin-bottom: 1.5em;
    padding-bottom: 20px;
    border-bottom: 1px solid #000;
}

.shop-data dt {
    background: #333;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-block;
    min-width: 5em;
    text-align: center;
    border-radius: 3px;
    margin-right: 0.5em;
    padding: 0.2em 0.4em;
}

.shop-data dd {
    display: inline;
    font-size: 0.95rem;
}

.shop-data div {
    margin-bottom: .5em;
}

.shop-data__flex {
    display: flex;
}

.shop-data__flex dt {
    height: 32px;
}

/* アイコン一覧 */
.feature-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 1em 0 0;
}

.feature-icons li {
    display: flex;
    align-items: center;
    gap: 10px;
    width: calc(50% - 10px);
    font-size: 12px;
}

.feature-icons img {
    width: 48px;
    height: 48px;
}

/* 右 */
.shop-media {
    flex: 1 1 50%;
    min-width: 300px;
}

.main-image img {
    width: 100%;
    border-radius: 6px;
    background: #ccc;
}

.thumbs {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    /* gap: 10px; */
}

.thumbs img {
    width: 24%;
    border-radius: 6px;
    background: #ccc;
}

/* ボタン */
.cta-buttons {
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cta-buttons a {
    transition: .2s;
}

.cta-buttons a:hover {
    opacity: 0.7;
}

.sp-only {
    display: none;
}

.cta-buttons__box {
    display: flex;
    justify-content: space-between;
}

.cta-map {
    width: 49%;
}

.shop .cta-look {
    width: 49%;
}

.btn {
    display: block;
    text-align: center;
    padding: 0.8em;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
}

.btn-pink {
    background: #eb6b7e;
}

.btn-gray {
    background: #777;
}

/*====================================================================
shop-facility 　トランクルーム情報
=====================================================================*/


:root {
    --shop-max: 980px;
    --shop-pink: #eb6b7e;
    --shop-gray: #7a7a7a;
    --shop-border: #e9e9e9;
    --shop-shadow: 0 10px 30px rgba(0, 0, 0, .20);
}

/* 共通枠 */
.shop-facility {
    width: min(100%, var(--shop-max));
    /* margin:0 auto 56px; */
    margin-top: 100px;
    padding: 0 16px;
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--shop-shadow);
    padding: 100px;
}

.shop-facility__hero {
    margin: 50px 0;
}

.shop-facility__hero img {
    width: 100%;
    height: auto;
    /* border-radius: 8px; */
    display: block;
    background: #d4d4d4;
}

.shop-facility__hero figcaption {
    font-size: .8rem;
    color: #8a8a8a;
    margin-top: 6px;
}

/* キャンペーン帯 */
.shop-campaign {
    margin: 14px 0 26px;
    border-radius: 10px;
    color: #fff;
}

.shop-campaign img {
    object-fit: cover;
    /* height: 300px; */
}

.shop-banner-pc {
    display: block;
}

.shop-banner-sp {
    display: none;
}

/* 2カラム */
.shop-facility__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 36px;
    align-items: start;
    margin-top: 70px;
}

/* 左：図面 */

.shop-floor {
    text-align: center;
}

.shop-floor__plan {
    /* border: 1px solid var(--shop-border);
    border-radius: 8px;
    padding: 10px;
    background: #fff; */
}

.shop-floor__plan img {
    width: 100%;
    height: auto;
    /* border-radius: 6px; */
    display: block;
}

.shop-floor__zoom {
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    gap: .5em;
    padding: .55em .9em;
    border-radius: 8px;
    border: 1px solid #cfcfcf;
    background: #fff;
    color: #333;
    text-decoration: none;
    font-size: .92rem;
}

.shop-floor__zoom::before {
    content: "🔍";
}

/* 右：タイプ一覧 */
.shop-type-list {
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
    display: grid;
    gap: 8px;
}

.shop-type {
    display: flex;
    /* display: grid; */
    grid-template-columns: auto auto 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--shop-border);
    border-radius: 10px;
    background: #fff;
}

.shop-type__num {
    --size: 26px;
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    font-weight: 700;
    font-size: .85rem;
    color: #fff;
    background: #111;
}

.shop-type__range {
    color: #333;
    margin: 0 2px;
}

.shop-type__label {
    font-size: .95rem;
    color: #222;
}

.shop-type__price {
    color: var(--shop-pink);
    font-weight: 700;
    white-space: nowrap;
    margin-left: auto;
}

.shop-type__badge {
    display: inline-block;
    margin-left: 6px;
    font-size: .78rem;
    padding: .25em .55em;
    border-radius: 6px;
    background: #f5c5cc;
    color: #c5304c;
    font-weight: 700;
}

/* 満室状態（行全体） */
.shop-type.is-soldout {
    /* opacity: .55; */
}

.shop-type.is-soldout .shop-type__price b {
    color: #999;
}

.shop-type.is-soldout .shop-type__price {
    color: #9a9a9a;
    /* text-decoration: line-through; */
}

/* 注意書き */
.shop-type-note {
    margin: 8px 2px 16px;
    font-size: .86rem;
    color: #777;
}

/* CTA（施設専用） */
.facility-btn {
    display: block;
    text-align: center;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    border-radius: 10px;
    padding: .95em 1em;
    transition: opacity .2s ease;
}

.facility-btn:hover {
    opacity: .7;
}

.facility-btn--pink {
    background: #eb6b7e;
}

.facility-btn--gray {
    background: #777;
}

.facility-btn--wide {
    width: 100%;
    margin-top: 12px;
}

/*====================================================================
shop-info 　備考欄
=====================================================================*/

.shop-info-block {
    width: min(100%, 1000px);
    margin: 0 auto 60px;
    margin-top: 100px;
    padding: 0 16px;
}

.shop-info-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 40px;
    align-items: start;
}

.shop-heading {
    font-size: 1.3rem;
    font-weight: 700;
    border-bottom: 2px solid #eee;
    padding-bottom: 0.3em;
    margin-bottom: 1em;
}

.shop-heading .en {
    font-size: 0.8rem;
    font-weight: 500;
    color: #999;
    margin-left: 0.5em;
}

/* 備考 */
.shop-notes {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.shop-note-item img {
    width: 100%;
    border-radius: 6px;
    background: #ddd;
}

.shop-note-item p {
    margin-top: 8px;
    font-size: 0.95rem;
    line-height: 1.8;
}

/* 注意事項 */
.shop-cautions ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.shop-cautions li {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 0.5em;
    background: #fff;
    padding-left: 0.2em;
}

/* ボタン */
.facility-btn {
    display: block;
    text-align: center;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    border-radius: 10px;
    padding: 0.9em 1em;
    transition: opacity 0.2s ease;
}

.facility-btn:hover {
    opacity: 0.7;
}

.facility-btn--pink {
    background: #eb6b7e;
}

.facility-btn--gray {
    background: #777;
}

.facility-btn--wide {
    width: 100%;
    margin-top: 12px;
}


/*====================================================================
shop-list
=====================================================================*/

.shop-list {
    margin-top: 100px;
}

.shop-list__content {
    display: flex;
    justify-content: space-between;
    margin-top: 80px;
}

.shop-list__content li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 45%;
}

.shop-list__img {
    width: 50%;
    height: auto;
}

.shop-list__box {
    width: 45%;
}

.shop-list__box span {
    font-size: 14px;
}

.shop-map {
    color: rgb(62, 62, 255);
    font-size: 14px;
    text-decoration: none;
}

.shop-map:hover {
    opacity: 0.7;
}

.shop-btn a, .contact-btn a {
    max-width: 200px;
}

.shop-btn {
    margin-top: 20px;
}

.shop-btn a {
    display: inline-block;
    padding: 3px 0;
    text-align: center;
    width: 15vw;
    background: #000;
    color: #fff;
    border: 1px solid #000;
    border-radius: 9999px;
    /* 完全な丸み */
    text-decoration: none;
    transition: all 0.3s;
}

.shop-btn a:hover {
    background: #fff;
    color: #000;
    border-color: #000;
}

.contact-btn {
    margin-top: 10px;
}

.contact-btn a {
    display: inline-block;
    padding: 3px 0;
    width: 15vw;
    text-align: center;
    border: 1px solid #000;
    border-radius: 9999px;
    color: #000;
    text-decoration: none;
    background: #fff;
    transition: all 0.3s;
}

.contact-btn a:hover {
    background: #000;
    color: #fff;
}



/*====================================================================








ここからレスポンシブ対応
タブレット









=====================================================================*/




/* --- レスポンシブ --- */
@media (max-width: 980px) {

    /*====================================================================
shop
=====================================================================*/

    .shop {
        width: 90%;
        margin: 0 auto;
        margin-top: 100px;
        flex-direction: column-reverse;
    }

    .shop-name {
        font-size: 24px;
    }

    .pc-only {
        display: none;
    }

    .sp-only {
        display: block;
    }

    .btn-pink {
        margin-top: 10px;
    }

    .cta-buttons__box {
        display: block;
    }

    .shop .cta-look {
        width: 100%;
    }

    .cta-map {
        width: 100%;
    }

    .cta-look {
        margin-top: 10px;
    }


    /*====================================================================
shop-facility 　トランクルーム情報
=====================================================================*/

    .shop-facility__title {
        font-size: 24px;
    }

    .shop-facility__grid {
        grid-template-columns: 1fr;
    }

    .shop-facility {
        /* width: 90%; */
        margin: 0 auto;
        margin-top: 100px;
        padding: 80px 20px;
    }

    .shop-facility__grid {
        display: block;
    }

    .shop-floor {
        text-align: center;
    }

    .shop-types {
        margin-top: 50px;
    }

    .shop-floor__zoom {
        display: block;
        width: 50%;
        text-align: center;
        margin: 0 auto;
        margin-top: 20px;
    }

    .shop-banner-pc {
        display: none;
    }

    .shop-banner-sp {
        display: block;
    }

    /*====================================================================
shop-info 　備考欄
=====================================================================*/

    .shop-info-block {
        width: 90%;
    }

    /* Responsive */

    .shop-info-grid {
        grid-template-columns: 1fr;
    }

    .shop-caution-btns {
        margin-top: 12px;
    }



    /*====================================================================
shop-list
=====================================================================*/

    .shop-list__content {
        display: block;
    }

    .shop-list__content li {
        width: 90%;
        margin: 0 auto;
        padding-bottom: 50px;
        border-bottom: 1px solid #000;
        align-items: flex-start;
    }

    .shop-list__content li:not(:first-child) {
        margin-top: 50px;
    }

    .shop-btn a {
        width: 50vw;
    }

    .contact-btn a {
        width: 50vw;
    }

    .banner {
        text-align: center;
    }

    .banner img {
        width: 50%;
    }
}

/*====================================================================








ここからレスポンシブ対応
スマホ









=====================================================================*/



@media (max-width: 480px) {

    /*====================================================================
shop
=====================================================================*/

    .shop-data__flex {
        display: flex;
    }

    .shop-data__flex dt {
        height: 32px;
    }

    .modal-overlay img {
        max-width: 250px;
    }

    /*====================================================================
shop-list
=====================================================================*/

    .shop-btn a {
        width: 160px;
    }

    .contact-btn a {
        width: 160px;
    }

}