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

.modal-sec.modal-scroll {
    overflow-y: scroll;
}

.modal-sec-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    background-size: cover;
    z-index: 998;
}

.modal-sec__content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: auto;
    z-index: 999;
}

.modal-sec__content p {
    text-align: justify;
    text-justify: inter-ideograph;
}

.modal-sec__content a.js-modal-close {
    position: absolute;
    width: 8vw;
    height: 8vw;
    right: 4vw;
    top: 4vw;
}

.modal-sec__content a.js-modal-close img {
    width: 100%;
    height: auto;
    vertical-align: top;
}

.modal-sec__body {
    background: #fff;
    padding: calc(44 * var(--scaling-rate)) calc(28 * var(--scaling-rate))
        calc(68 * var(--scaling-rate));
    height: auto;
    box-sizing: border-box;
    z-index: 999;
    position: relative;
    margin: calc(50 * var(--scaling-rate)) calc(32 * var(--scaling-rate));
}

/* guideline */
.modal-sec__content .guideline {
    background: #fff;
    padding: 6vw 3vw;
    height: 86vh;
    overflow-y: inherit;
    font-size: 3.47vw;
    line-height: 1.4;
    box-sizing: border-box;
}

.modal-sec__content .guideline .scroll_box {
    overflow-y: scroll;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    height: calc(86vh - 24vw);
    box-sizing: border-box;
}

.modal-sec__content .guideline .main_tit {
    font-size: 5vw;
    font-weight: 700;
    margin: 0 0 4vw;
}

.modal-sec__content .guideline .tit {
    font-size: 4vw;
    font-weight: 700;
    padding: 0 0 1em;
}

.modal-sec__content .guideline .lead {
    text-align: left;
    padding: 0 0 1em;
}

.modal-sec__content .guideline dl {
    margin: 0 0 1em;
    text-align: left;
}

.modal-sec__content .guideline dl dl {
    margin: 1em 0 0;
    text-align: left;
}

.modal-sec__content .guideline dl dt {
    font-weight: 700;
    margin: 0 0 0.25em;
}

.modal-sec__content .guideline dl dd {
    margin: 0 0 1em;
}

.modal-sec__content .guideline dl dd p {
    margin: 0 0 1em;
}

.modal-sec__content .guideline ul li,
.modal-sec__content .guideline ol li {
    text-indent: -1em;
    padding-left: 1em;
    margin: 0 0 0.25em;
}

.modal-sec__content .guideline .--digit-2 li {
    text-indent: -1.5em;
    padding-left: 1.5em;
}

.modal-sec__content .guideline .notes {
    font-size: 3.2vw;
}

.modal-sec__content .notes_box {
    margin-top: 0.25em;
}

@media (orientation: landscape) {
    .modal-sec__content a.js-modal-close {
        width: 30px;
        height: 30px;
        right: 30px;
        top: 30px;
    }

    .modal-sec__content .guideline {
        padding: 20px 20px 15px;
        font-size: 14px;
        /* border: 4px solid #c3fa64; */
    }

    .modal-sec__content .guideline .main_tit {
        font-size: 24px;
        margin: 0 0 10px;
    }

    .modal-sec__content .guideline .tit {
        font-size: 18px;
    }

    .modal-sec__content .guideline .scroll_box {
        height: calc(86vh - 80px);
    }

    .modal-sec__content .guideline .lead {
        font-size: 16px;
    }

    .modal-sec__content .guideline .notes {
        font-size: 12px;
    }
}
