@charset "UTF-8";

/* モーダルウィンドウここから　------------------------------------ */
.modal-1__wrap {
    display: inline-block;
}

.modal-1__wrap input {
    display: none;
}

.modal-1__open-label,
.modal-1__close-label {
    cursor: pointer;
}

.modal-1__open-label {
    color: #0000EE;
    text-decoration: underline;
}

.modal-1__open-label:hover {
    text-decoration: underline;
    cursor: pointer;
    color: #c7511f;
}

.modal-1 {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: none;
}

.modal-1__open-input:checked + label + input + .modal-1 {
    display: block;
    animation: modal-1-animation .6s;
}

.modal-1__content-wrap {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 94%;
    max-width: 380px;
    background-color: #fefefe;
    z-index: 88888;
    border-radius: 5px;
}

.modal-1__close-label {
    background-color: #777;
    color: #fff;
    border: 2px solid #fff;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 1.8em;
    width: 1.8em;
    height: 1.8em;
    line-height: 1.5;
    text-align: center;
    display: table-cell;
    position: fixed;
    top: -1em;
    right: -2%;
    z-index: 99999;
    font-size: 1.4em;
}

.modal-1__content {
    max-height: 80vh;
    overflow-y: auto;
    padding: 39px 45px 40px;
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro", "メイリオ", "Meiryo", sans-serif;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    word-wrap: break-word;
    color: #222222;
    font-weight: normal;

}

.modal-1__background {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .45);
    z-index: 77777;
}

@keyframes modal-1-animation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@media only screen and (max-width: 520px) {
    .modal-1__open-label {
        max-width: 90%;
    }

    .modal-1__close-label {
        right: -4%;
    }

    .modal-1__content-wrap {
        width: 90vw;
    }

    .modal-1__content {
        padding: 33px 21px 35px;
        max-width: 100%;
    }
}
