
/* モーダルウィンドウ1 */

.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: #4f96f6;
    font-size: .95em;
}

.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: 9999;
    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: 900px;
    height: 450px;
    background-color: #fefefe;
    z-index: 2;
    border-radius: 5px;
}

.modal-1_close-label {
    background-color: #777;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 20px;
    width: 36px;
    height: 36px;
    line-height: 1.5;
    text-align: center;
    display: table-cell;
    position: fixed;
    top: -15px;
    right: -2%;
    z-index: 99999;
    font-size: 1.4em;
}

.modal-1_content {
    overflow-y: auto;
    padding: 39px 45px 40px;
}

.modal-1_background {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .45);
    z-index: 1;
}

@keyframes modal-1-animation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@media only screen and (max-width: 900px) {
    .modal-1_open-label {
        max-width: 90%;
        padding: .94em 2.1em .94em 2.6em;
    }

    .modal-1_close-label {
        top: -17px;
        right: -4%;
    }

    .modal-1_content-wrap {
        width: 90vw;
    }

    .modal-1_content {
        padding: 20px;
        max-width: 100%;
    }
}


/* モーダルウィンドウ2 */

.modal-2_wrap {
    display: inline-block;
}

.modal-2_wrap input {
    display: none;
}

.modal-2_open-label,
.modal-2_close-label {
    cursor: pointer;
}

.modal-2_open-label {
    color: #4f96f6;
    font-size: .95em;
}

.modal-2_open-label:hover {
    text-decoration: underline;
    cursor: pointer;
    color: #c7511f;
}

.modal-2 {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
}

.modal-2_open-input:checked + label + input + .modal-2 {
    display: block;
    animation: modal-2-animation .6s;
}

.modal-2_content-wrap {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    background-color: #fefefe;
    height: 450px;
    z-index: 2;
    border-radius: 5px;
}

.modal-2_close-label {
    background-color: #777;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 20px;
    width: 36px;
    height: 36px;
    line-height: 1.5;
    text-align: center;
    display: table-cell;
    position: fixed;
    top: -15px;
    right: -2%;
    z-index: 99999;
    font-size: 1.4em;
}

.modal-2_content {
    max-height: 50vh;
    overflow-y: auto;
    padding: 39px 45px 40px;
}

.modal-2_background {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .45);
    z-index: 1;
}

@keyframes modal-2-animation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@media only screen and (max-width: 600px) {
    .modal-2_open-label {
        max-width: 90%;
        padding: .94em 2.1em .94em 2.6em;
    }

    .modal-2_close-label {
        top: -17px;
        right: -4%;
    }

    .modal-2_content-wrap {
        width: 90vw;
    }

    .modal-2_content {
        padding: 20px;
        max-width: 100%;
    }
}


/* モーダルウィンドウ3 */

.modal-3_wrap {
    display: inline-block;
}

.modal-3_wrap input {
    display: none;
}

.modal-3_open-label,
.modal-3_close-label {
    cursor: pointer;
}

.modal-3_open-label {
    color: #4f96f6;
    font-size: .95em;
}

.modal-3_open-label:hover {
    text-decoration: underline;
    cursor: pointer;
    color: #c7511f;
}

.modal-3 {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
}

.modal-3_open-input:checked + label + input + .modal-3 {
    display: block;
    animation: modal-3-animation .6s;
}

.modal-3_content-wrap {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    background-color: #fefefe;
    height: 450px;
    z-index: 2;
    border-radius: 5px;
}

.modal-3_close-label {
    background-color: #777;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 20px;
    width: 36px;
    height: 36px;
    line-height: 1.5;
    text-align: center;
    display: table-cell;
    position: fixed;
    top: -15px;
    right: -2%;
    z-index: 99999;
    font-size: 1.4em;
}

.modal-3_content {
    max-height: 50vh;
    overflow-y: auto;
    padding: 39px 45px 40px;
}

.modal-3_background {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .45);
    z-index: 1;
}

@keyframes modal-3-animation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@media only screen and (max-width: 600px) {
    .modal-3_open-label {
        max-width: 90%;
        padding: .94em 2.1em .94em 2.6em;
    }

    .modal-3_close-label {
        top: -17px;
        right: -4%;
    }

    .modal-3_content-wrap {
        width: 90vw;
    }

    .modal-3_content {
        padding: 20px;
        max-width: 100%;
    }
}


/* モーダルウィンドウ4 */

.modal-4_wrap {
    display: inline-block;
}

.modal-4_wrap input {
    display: none;
}

.modal-4_open-label,
.modal-4_close-label {
    cursor: pointer;
}

.modal-4_open-label {
    color: #4f96f6;
    font-size: .95em;
}

.modal-4_open-label:hover {
    text-decoration: underline;
    cursor: pointer;
    color: #c7511f;
}

.modal-4 {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
}

.modal-4_open-input:checked + label + input + .modal-4 {
    display: block;
    animation: modal-4-animation .6s;
}

.modal-4_content-wrap {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    background-color: #fefefe;
    height: 450px;
    z-index: 2;
    border-radius: 5px;
}

.modal-4_close-label {
    background-color: #777;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 20px;
    width: 36px;
    height: 36px;
    line-height: 1.5;
    text-align: center;
    display: table-cell;
    position: fixed;
    top: -15px;
    right: -2%;
    z-index: 99999;
    font-size: 1.4em;
}

.modal-4_content {
    max-height: 50vh;
    overflow-y: auto;
    padding: 39px 45px 40px;
}

.modal-4_background {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .45);
    z-index: 1;
}

@keyframes modal-4-animation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@media only screen and (max-width: 600px) {
    .modal-4_open-label {
        max-width: 90%;
        padding: .94em 2.1em .94em 2.6em;
    }

    .modal-4_close-label {
        top: -17px;
        right: -4%;
    }

    .modal-4_content-wrap {
        width: 90vw;
    }

    .modal-4_content {
        padding: 20px;
        max-width: 100%;
    }
}

/* モーダルウィンドウ5 */

.modal-5_wrap {
    display: inline-block;
}

.modal-5_wrap input {
    display: none;
}

.modal-5_open-label,
.modal-5_close-label {
    cursor: pointer;
}

.modal-5_open-label {
    color: #4f96f6;
    font-size: .95em;
}

.modal-5_open-label:hover {
    text-decoration: underline;
    cursor: pointer;
    color: #c7511f;
}

.modal-5 {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
}

.modal-5_open-input:checked + label + input + .modal-5 {
    display: block;
    animation: modal-5-animation .6s;
}

.modal-5_content-wrap {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    background-color: #fefefe;
    height: 450px;
    z-index: 2;
    border-radius: 5px;
}

.modal-5_close-label {
    background-color: #777;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 20px;
    width: 36px;
    height: 36px;
    line-height: 1.5;
    text-align: center;
    display: table-cell;
    position: fixed;
    top: -15px;
    right: -2%;
    z-index: 99999;
    font-size: 1.4em;
}

.modal-5_content {
    max-height: 50vh;
    overflow-y: auto;
    padding: 39px 45px 40px;
}

.modal-5_background {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .45);
    z-index: 1;
}

@keyframes modal-5-animation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@media only screen and (max-width: 600px) {
    .modal-5_open-label {
        max-width: 90%;
        padding: .94em 2.1em .94em 2.6em;
    }

    .modal-5_close-label {
        top: -17px;
        right: -4%;
    }

    .modal-5_content-wrap {
        width: 90vw;
    }

    .modal-5_content {
        padding: 20px;
        max-width: 100%;
    }
}

