@charset "UTF-8";

/*--------------------------------------

--------------------------------------*/
section {
    margin-top: 60px;
}

section+section {
    margin-top: 120px;
}

.swiper-wrapper {
    align-items: stretch;
}


.swiper-slide {
    display: flex;
    height: auto;
}

.product-card {
    width: 100%;
    height: 100%;
    cursor: pointer;
    text-align: center;
    padding: 10px 10px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 100rem 100rem 5px 5px;
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    .name {
        text-align: center;
        font-size: 16px;
        line-height: 1.2;

        .jp {
            font-size: 11px;
        }
    }

    .tag {
        font-size: 10px;
        padding: 0.4em 1em;
        border: 1px solid var(--tx);
        border-radius: 30px;
    }

}

.product-image {
    position: relative;
    overflow: hidden;
    border-radius: 100%;
}

.product-image img {
    width: 100%;
    height: auto;
    transition: .4s;
}

.product-card:hover img {
    transform: scale(1.05);
}

.swiper-button-prev,
.swiper-button-next {
    width: 50px;
    height: 50px;
    border-radius: 100%;
    color: #fff;
    background-color: #8E9BA7;
    opacity: 0.8;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    opacity: 1;
}

.swiper-button-prev::after {
    content: "\e922";
    font-size: 16px;
    font-family: 'ic' !important;
}

.swiper-button-next::after {
    content: "\e923";
    font-size: 16px;
    font-family: 'ic' !important;
}

@media(max-width:768px) {

    .swiper-button-prev,
    .swiper-button-next {
        width: 40px;
        height: 40px;
    }

    .swiper-button-prev::after,
    .swiper-button-next::after {
        font-size: 14px;
    }
}

/*--------------------------------------
modal
--------------------------------------*/
.modal {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, .45);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    z-index: 9999;
    cursor: pointer;
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    display: grid;
    grid-template-columns: 30% 1fr;
    grid-template-rows: min-content min-content;
    gap: 20px 37px;
    grid-template-areas:
        "img-wrap tx-wrap"
        "data-wrap tx-wrap";
    overflow: hidden;
    position: relative;
    width: min(860px, 90vw);
    border-radius: 20px;
    max-height: 90vh;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    cursor: default;
    overflow-y: auto;

    .img-wrap {
        grid-area: img-wrap;
    }

    .tx-wrap {
        grid-area: tx-wrap;
    }

    .data-wrap {
        grid-area: data-wrap;
    }

    .close {
        position: absolute;
        right: 30px;
        top: 20px;
        background: none;
        border: none;
        font-size: 25px;
        cursor: pointer;
        color: #3F4A55;
    }

    .description {
        white-space: pre-line;
        line-height: 2;
    }

    h2 {
        font-size: 22px;
        margin-bottom: 1.2em;
    }

    .catchcopi {
        width: 100%;
        font-size: 19px;
        margin-bottom: 0.5em;
    }

    .description {
        width: 100%;
        font-size: 16px;
    }

    .data-wrap {
        padding-left: 20px;
        font-size: 11px;
        border-left: solid 1px #8E9BA7;
    }

    dl+dl {
        margin-top: 10px;
    }

    #modalCategory {
        padding: 0.4em 1em;
        border: 1px solid var(--tx);
        border-radius: 30px;
        display: inline-block;
        line-height: 1;
        margin-top: 5px;
    }

    #modalSize {
        display: flex;
        flex-wrap: wrap;
        gap: 2px 10px;
        color: #8E9BA7;
    }

    #modalSizeTx {
        margin-top: 10px;
        color: #8E9BA7;
    }
}

body.modal-open {
    overflow: hidden;
}

@media(max-width:768px) {
    .modal-content {
        display: block;

        .img-wrap {
            width: 60%;
            margin: auto;
        }

        h2 {
            margin-top: 1em;
            text-align: center;
        }

        .catchcopi {
            text-align: center;
        }

        .data-wrap {
            margin-top: 20px;
        }
    }
}

@media(max-width:500px) {
    .modal-content {
		max-height: 70vh;
		padding: 19px;

        h2 {
            font-size: 18px;
        }

        .catchcopi {
            font-size: 16px;
        }

        .description {
            font-size: 14px;
			line-height: 1.6;
        }

        .data-wrap {
            margin-top: 20px;
        }
    }
}