/* ============================================= */
/* 二段階認証キー入力モーダル用 CSS                                */
/* ============================================= */
.modal {
    display: none;
    height: 100vh;
    position: fixed;
    top: 0;
    width: 100%;
    font-family: "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
    color: #333;
    line-height: 1.5;
    z-index: 11;
}

.toushi-modal {
    width: calc(100% + 20px);
    left: -10px;
}

.modal-bg {
    background-color: #E1E1E1;
    opacity: 0.8;
    height: 100vh;
    position: absolute;
    width: 100%;
    z-index: 12;
}

.modal-smp-bg {
    height: 100vh;
    position: absolute;
    width: 100%;
}

.modal-content {
    background: #fff;
    left: 50%;
    padding: 40px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 560px;
    height: auto;
    box-sizing: border-box;
    border-radius: 10px;
    padding: 40px;
    z-index: 13;
    text-align: center;
}

.modal-content .text {
    font-size: 16px;
    font-weight: bold;
    margin: 0 auto 24px;
}

.modal-content .input {
    position: relative;
}

.modal-content .input span {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translate(-50%);
    font-size: 14px;
    color: #FF0000;
    width: 480px;
}

.modal-content p input {
    font-size: 20px;
    font-family: "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
    width: 380px;
    height: 60px;
    border: 2px solid #DDDDDD;
    padding-left: 15px;
    margin-bottom: 8px;
    box-sizing: border-box;
}

.modal-content .sp_two_factor_auth {
    font-size: 18px;
    font-family: "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
    width: 100%;
    height: 50px;
    border: 2px solid #dddddd;
    padding-left: 15px;
    margin-bottom: 8px;
    box-sizing: border-box;
}

.modal-content p input::placeholder {
    color: #ccc;
}

.modal-content .modal-submit-btn input {
    color: #5981C5;
    border: 2px solid #5981C5;
    background-color: #E4EAFF;
    padding-left: 0;
    margin-bottom: 24px;
    border-radius: 5px;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
}

.modal-content .modal-submit-btn input:hover,
.js-modal-close:hover,
.js-modal2-close:hover {
    opacity: 0.6;
}

.modal-content .bottom-tell {
    margin-bottom: 16px;
}

.modal-content a {
    font-size: 14px;
}

.modal-content a.disabled {
    color: #333;
    text-decoration: none;
    pointer-events: none;
}

.modal-content .bottom-tell p {
    font-size: 12px;
}

.modal-content a.js-modal-close {
    color: #333;
    text-decoration: underline;
    cursor: pointer;
}

/* 閉じるボタン */
.modal-close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    padding: 8px;
    width: 32px;
    height: 32px;
    border-radius: 16px;
    box-sizing: border-box;
    background: #333;
    cursor: pointer;
}

/* スクロールバー */
.no_scroll {
    overflow-y: scroll;
}

/* モーダル2 */
.modal2-bg {
    display: none;
    background-color: #E1E1E1;
    opacity: 0.8;
    height: 100vh;
    position: absolute;
    width: 100%;
    z-index: 14;
}

.modal2-content {
    display: none;
    background: #fff;
    left: 50%;
    padding: 40px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    border-radius: 10px;
    z-index: 15;
    text-align: center;
}

.modal2-content p {
    font-size: 14px;
}

.modal2-content p + p {
    margin-top: 12px;
}

/* ワンクッションボタン */
.mocal2-btns {
    display: flex;
}

.mocal2-btns .modal2-yes-btn,
.mocal2-btns .modal2-no-btn {
    margin: 23px auto 0;
    padding: 4px;
    width: 112px;
    height: 32px;
    border-radius: 16px;
    box-sizing: border-box;
    cursor: pointer;
}

.mocal2-btns .modal2-yes-btn {
    margin-right: 60px;
    background: #0361C9;
    color: #FFF;
}

.mocal2-btns .modal2-no-btn {
    background: #EEF0F2;
}

.mocal2-btns .modal2-yes-btn span,
.mocal2-btns .modal2-no-btn span {
    font-size: 16px;
    vertical-align: middle;
}

/* 閉じるボタン */
.modal2-close-btn {
    margin: 23px auto 0;
    padding: 4px;
    width: 112px;
    height: 32px;
    border-radius: 16px;
    box-sizing: border-box;
    background: #EEF0F2;
    cursor: pointer;
}

.modal2-close-btn img {
    vertical-align: middle;
    margin-right: 8px;
}

.modal2-close-btn span {
    font-size: 16px;
    vertical-align: middle;
}