/* overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    opacity: 0;
    visibility: hidden;
    transition: .3s linear;
    display: flex;
    align-items: center;
    justify-content: center;
}
.overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.loading_box {
    background-color: #fff;
    border: 1px solid #bebebe;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-height: 650px;
    width: 700px;
}

.overlay_item {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 30;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    opacity: 0;
    visibility: hidden;
    transition: .3s linear;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay_item.is-open {
    opacity: 1;
    z-index: 999;
    visibility: visible;
}


.loading_wrap {
    width: 100%;
    max-height: 600px;
    margin-top: 50px;
}

.loading_wrap .text_ct {
    margin-top: 0px;
}

.content_box {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    max-height: 650px;
    max-width: 90%;
}

.close_btn_modal {
    position: absolute;
    top: 30px;
    right: -20px;
    width: 60px;
    height: 60px;
    border-radius: 100px;
    background-color: #0768cf;
    z-index: 100;
    cursor: pointer;
    pointer-events: all;
}

.close_btn_modal::before {
    content:'';
    width: 30px;
    height: 2px;
    background-color: #fff;
    position: absolute;
    top: 50%;
    left: 16px;
    transform: rotate(315deg);
    cursor: pointer;
}
.close_btn_modal::after {
    content:'';
    width: 30px;
    height: 2px;
    background-color: #fff;
    position: absolute;
    top: 50%;
    left: 16px;
    transform: rotate(-315deg);
    cursor: pointer;
}
.content_wrap {
    width: 100%;
    max-height: 600px;
}
.content_wrap > .common_input_box {
    border: none;
}

.link_btn_wrap {
	margin-top: 60px!important;
	display: flex;
    justify-content: space-around;
    align-items: center;
}

.link_btn_wrap_large {
    margin-top: 20px!important;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.overflow {
    overflow: hidden;
}


.next_btn {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 20px 10px;
}

.next_btn a {
    width: 90%;
    height: 50px;
    font-size: 18px;
    color: #fff;
    background-color: #144886;
    border-radius: 100px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .2s;
}

.cancel_btn {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 20px 10px;
}

.cancel_btn a {
    width: 90%;
    height: 50px;
    font-size: 18px;
    color: #000;
    background-color: #E3E3E3;
    border-radius: 100px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .2s;
}
.next_btn a:hover {
    /* opacity: .6; */
    color: #fff!important;
    background-color: #0065d1!important;
}

.cancel_btn a:hover {
    /* opacity: .6; */
    color: #000!important;
    background-color: #b5b5b5!important;
}

.common_input_box_inner {
    width: 90%!important;
    margin: 0 auto;
}

.content_wrap .common_input_box_inner {
    width: 90%;
}

.common_input_box_inner_large {
    width: 100%!important;
    margin: 0 auto;
}

.content_wrap > .common_input_box {
    padding: 30px 40px;
    border: none;
}

.common_input_box {
    width: 100%!important;
    background-color: #fff;
    padding-top: 53px;
    padding-bottom: 76px;
    border: 1px solid #E1E1E1;
    border-radius: 8px;
    position: relative;
    overflow-y: auto;
    max-height: 600px;
}

.common_input_form {
    margin-bottom: 38px;
}

.overlay_item .common_input_form {
    margin-bottom: 40px!important;
}

.overlay_item .common_input_form_large {
    margin-bottom: 0px!important;
}

.info_modal_wrap p, .info_modal_wrap li {
    font-size: 16px;
    margin-top: 5px;
}

.info_modal_wrap h2 {
    font-size: 18px;
}
.info_modal_wrap > div {
    margin-bottom: 30px;
}

.loadingContent  {
    margin: 10px;
    text-align: left;
}

@media screen and (max-width: 767px){

    .content_box {
        width: 90%;
    }

    .content_wrap > .common_input_box {
        padding: 30px 10px;
        overflow-y: auto;
        max-height: 80vh;
    }

    .common_input_form {
        margin-bottom: 0px;
    }

    .next_btn {
        margin: 0px;
        margin-bottom: 20px;
    }

    .cancel_btn {
        margin: 0px;
    }

    .cancel_btn a {
        margin-top: 10px;
    }

    .link_btn_wrap {
        flex-flow: column;
        margin-top: 0px!important;
    }

    .link_btn_wrap_large {
        flex-flow: column;
    }

    .loading_box {
        width: 80%;
    }

    .loading_wrap {
        margin-top: 0px;
    }

    .loading_wrap .text_ct {
        margin-bottom: 20px;
    }

    .mb0 {
        margin-bottom: 0px;
    }
}


@media screen and (min-width: 767px){

    .mw60 {
        max-width: 60%;
    }

    .minw600 {
        min-width: 600px;
    }

    .next_btn a {
        max-width: 320px;
        min-width: 250px;
    }
    .cancel_btn a {
        max-width: 320px;
        min-width: 250px;
    }
    .overlay_item {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 30;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.9);
        opacity: 0;
        visibility: hidden;
        transition: .3s linear;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 807px;
    }
    .cancel_btn a {
        max-width: 320px;
        min-width: 250px;
    }
}

/* overlay_apg2.cssの分を仮で統合。左記ファイルの追加分は以下に反映する。 */
.modalRegistration {
    max-width: 700px;
    font-size: 1.4rem;
    max-height: 90%;
    border-radius: 10px;
}

.modalBtnArea {
    text-align: center;
    margin: 30px 0 10px 0;
}

.closeModal {
    font-size: 3rem;
    position: absolute;
    top: 0;
    right: 20px;
    cursor: pointer
}

.modalRegistrationPadding {
    padding: 30px 20px;
}

.ossCloseTxt {
    margin-bottom: 100px;
}

@media screen and (max-width: 767px){

    .modalRegistrationPadding {
        padding: 30px 10px;
    }

    .ossCloseTxt {
        margin-bottom: 0px;
    }
}
