* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
}

button {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    vertical-align: middle;
    color: inherit;
    font: inherit;
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    outline: none;
    border-radius: 0;
    transition: .4s;
}

button:focus {
    outline: none;
}

button:hover {
    opacity: .7;
    outline: none;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    z-index: 10;
}

.modal-window {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* width: 300px;
    height: 300px; */
    width: 75%;
    height: 85%;
    background-color: #fff;
    z-index: 11;
    padding: 15px;
}

.button-close {
    position: absolute;
    top: 5%;
    right: 0;
    transform: translate(-50%, -50%);
    width: auto;
    padding: 0 10px;
    background-color: #000;
    color: #eaeaea;
    cursor: pointer;
    font-size: 11px;
    z-index: 10;
}

.section-title {
    text-align: center;
    margin: 2em;
    font-size: 20px;
}

.atelice_photo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
}

.atelice_photo figure:first-child {
    margin-right: 30px;
}

.atelice_comment {
    margin: 20px 0;
    text-align: center;
}

.atelice_comment img {
    margin-right: 10px;
}

.atelice_wrapper {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
}

.atelice_wrapper.sim_502,
.atelice_wrapper.sim_503,
.atelice_wrapper.sim_505,
.atelice_wrapper.sim_506 {
    top: 0;
}

.atelice_wrapper.sim_502 .second,
.atelice_wrapper.sim_503 .second,
.atelice_wrapper.sim_505 .second,
.atelice_wrapper.sim_506 .second,
.zumen_502,
.zumen_503,
.zumen_505,
.zumen_506 {
    display: none;
}

.photo_502,
.photo_503,
.photo_505,
.photo_506 {
    flex: auto;
    max-width: 70%;
    margin: auto;
}

.atelice_text {
    margin: 20px auto 0 auto;
}

.atelice_price {
    text-align: center;
    color: #5A340C;
    max-width: 250px;
    margin: 30px auto 0 auto;
    border-bottom: 1px solid #5A340C;
    padding-bottom: 5px;
    font-family: "ヒラギノ丸ゴ Pro W4", "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "HG丸ｺﾞｼｯｸM-PRO", "HGMaruGothicMPRO";
}

.atelice_price--title {
    font-size: 16px;
    line-height: 32px;
}

.atelice_price--text {
    font-size: 24px;
}

@media screen and (max-width:768px) {
    .modal-window {
        display: none;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        /* width: 300px;
        height: 300px; */
        width: 90%;
        height: 80vh;
        background-color: #fff;
        z-index: 11;
        padding: 15px;
        overflow-y: auto;
    }
    .button-close.under {
        bottom: -30px;
        top: auto;
        left: 50%;
        right: 50%;
        margin: auto;
        width: 100px;
        padding: 5px 10px;
    }
    .atelice_photo {
        display: flex;
        flex-direction: column;
        padding: 0 15px;
    }
    .atelice_photo figure:first-child {
        margin: 0;
    }
    .atelice_wrapper {
        position: absolute;
        left: 0;
        right: 0;
        top: 10%;
    }
    .atelice_comment {
        padding: 0 15px;
        font-size: 14px;
        display: flex;
        text-align: left;
    }
    .atelice_comment img {
        height: 23px;
    }
    .atelice_price {
        margin-bottom: 40px;
    }
    .atelice_text {
        text-align: center;
    }
    .atelice_text img {
        margin-bottom: 10px;
    }
    .photo_502,
    .photo_503,
    .photo_505,
    .photo_506 {
        flex: auto;
        max-width: 100%;
        margin: auto;
    }
}