@charset "UTF-8";

/** {
    box-sizing: border-box;
}

body {
    font-family: "Arial", sans-serif;
}*/
.modal h1{
    font-size: 24px;
}
.modal h2{
    font-size: 18px;
}

/* ボタン */
/*.open-btn {
    background-color: #f7d96b;
    color: #5b370d;
    padding: 0.8rem 1.5rem;
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.open-btn:hover {
    background-color: #dfbb36;
}*/

/*.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.6rem;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}*/

/* モーダル背景 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
/*    background: rgba(79, 79, 79, 0.5);*/
    background: rgba(0, 0, 0, 0.7);
    z-index: 100000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* モーダル表示状態 */
.modal.active {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

/* モーダルの中身*/
.modal-content {
    background: #F7F5F9;
    padding: 40px 25px;
/*    border-radius: 10px;*/
    width: 80vw;
    max-width: 870px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

/* アニメーション*/
.modal.active .modal-content {
    animation: fadeInScale 0.4s ease forwards;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-content .modal-flex {
    display: flex;
    gap: 40px;
    text-align: left;
}
.modal-content .shop_img {
    width: 20vw;
    max-width: 230px;
}
.modal-content .shop_detail {
    width: 50vw;
    max-width: 550px;
}
.shop_area .inner1080 .shop_wrap .modal-content .shop_hashtag {
    margin-bottom: 16px;
}
.shop_area .inner1080 .shop_wrap .modal-content .shop_detail .shop_btn_detail {
    display: block;
}
.shop_area .inner1080 .shop_wrap .modal-content .shop_detail .shop_data {
    display: flex;
}
.shop_area .inner1080 .shop_wrap .modal-content .shop_detail .shop_note {
    display: block;
}
.shop_area .inner1080 .shop_wrap .modal-content .shop_detail .shop_btn_coupon {
    margin-top: 40px;
    width: 286px;
}
.shop_area .inner1080 .shop_wrap .modal-content .shop_modal_close {
    margin-top: 50px;
    font-weight: bold;
}
a.open-btn {

}
a.close-btn-01 {
    position: absolute;
    top: -52px;
    right: -2px;
    font-size: 1.6rem;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 50px;
    height: 50px;
}
a.close-btn-01::before,
a.close-btn-01::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 3px; /* 棒の幅（太さ） */
    height: 40px; /* 棒の高さ */
    background: #ffffff;
}
a.close-btn-01::before {
    transform: translate(-50%,-50%) rotate(45deg);
}
a.close-btn-01::after {
    transform: translate(-50%,-50%) rotate(-45deg);
}

a.close-btn-02 {
    margin-top: 50px;
    color: #E95098;
    border-bottom: 1px solid #F38AAA;
    font-size: 16px;
    background: transparent;
    padding-bottom: 2px;
    cursor: pointer;
}
/*a.close-btn-02:hover {
    border-bottom: 1px solid transparent;
}*/

@media screen and (max-width:780px) {
    /* モーダル背景 */
    .modal {

    }
    .modal-content .shop_img {
        width: 100%;
        max-width: 100%;
    }
    .modal-content .shop_detail {
        width: 100%;
        max-width: 100%;
    }
    /* モーダルの中身*/
    .modal-content {
        padding: 24px 20px;
        width: 90%;
        max-width: 95%;
        height: 85vh;
        overflow-x: hidden;
        overflow-y: auto;
/*        overflow: scroll;*/
    }
    .modal-content .modal-flex {
        flex-direction: column;
        gap: 16px;
    }

    .shop_area .inner1080 .shop_wrap .modal-content .shop_detail .shop_data {
        flex-direction: column;
    }
    .shop_area .inner1080 .shop_wrap .modal-content .shop_detail .shop_btn_coupon {
        margin-top: 16px;
        width: 100%;
    }
    .shop_area .inner1080 .shop_wrap .modal-content .shop_modal_close {
        margin-top: 20px;
    }
    a.close-btn-01 {
        top: 5px;
        right: 10px;
    }
}
@media screen and (max-width:360px) {
    .modal-content {
        height: 80vh;
    }
}