﻿/*残高とか*/

@media screen and (max-width: 600px) {

    .usetable,
    .usetable tbody,
    .usetable tr,
    .usetable th,
    .usetable td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

        .usetable th {
            text-align: left;
            font-size:14pt;
        }

        .usetable td {
            text-align: right !important;
            font-size: 20pt;
        }
}

/*ログイン画面*/
@media screen and (max-width: 600px) {

    .mytable,
    .mytable tbody,
    .mytable tr,
    .mytable th,
    .mytable td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

        .mytable th {
            text-align: left;
        }

        .mytable td {
            text-align: left;
        }

        /* 入力欄もスマホ幅に合わせる */

        .mytable input[type="text"],
        .mytable input[type="tel"],
        .mytable input[type="password"] {
            width: 100% !important;
            max-width: 100%;
            box-sizing: border-box;
            font-size: 16pt;
        }

        .mytable select {
            box-sizing: border-box;
            font-size: 16pt;
        }
}

/**/
@media screen and (max-width: 600px) {

    .userinfo,
    .userinfo tbody,
    .userinfo tr,
    .userinfo th,
    .userinfo td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

        .userinfo th {
            text-align: left;
            font-size: 14pt;
            width:100%;
        }

        .userinfo td {
            text-align: left !important;
            font-size: 20pt;
        }

        .userinfo input[type="text"],
        .userinfo input[type="tel"],
        .userinfo input[type="email"],
        .userinfo input[type="password"] {
            width: 100% !important;
            max-width: 100%;
            box-sizing: border-box;
            font-size: 16pt;
        }

        .userinfo input.zip-code-input {
            display: inline-block;
            width: 120px !important;
            max-width: 120px;
        }
}



@media screen and (max-width: 600px) {
    .responsive-vertical-table,
    .responsive-vertical-table tbody,
    .responsive-vertical-table tr,
    .responsive-vertical-table th,
    .responsive-vertical-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

        .responsive-vertical-table th {
            text-align: left;
        }

        .responsive-vertical-table td {
            text-align: left;
        }

        .responsive-vertical-table input[type="text"],
        .responsive-vertical-table input[type="tel"],
        .responsive-vertical-table input[type="password"] {
            width: 100% !important;
            max-width: 100%;
            box-sizing: border-box;
            font-size: 16pt;
        }
}

/*****************************************************/
/*    Google認証アプリのCSS　*/
/*****************************************************/



.totp-code {
    font-size: 24pt;
    letter-spacing: 8px;
    text-align: center;
    max-width: 240px;
}


.totp-qr {
    display: block;
    width: 240px;
    height: 240px;
    margin: 20px auto;
}

.totp-box {
    max-width: 620px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #cccccc;
    text-align: center;
}

.app-download {
    margin: 15px auto 25px;
    text-align: center;
    /*border:3px solid #000;*/
    padding: 20px;
    background-color: #eeeeee;
}

.app-download-links {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-top: 15px;
}

.app-download-qr {
    width: 120px;
    height: 120px;
}

@media screen and (max-width: 600px) {
    .app-download-links {
        gap: 20px;
    }

    .app-download-qr {
        width: 100px;
        height: 100px;
    }
}

.store-badge {
    display: block;
    height: 40px;
    width: auto;
    margin: 10px auto 0;
}


/*認証ボタン*/
.totp-login-button {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 25px auto 0;
    padding: 14px 20px;
    background-color: #218c4b !important;
    border: 1px solid #176b39;
    border-radius: 4px;
    color: #ffffff !important;
    font-weight: bold;
    cursor: pointer;
}

    .totp-login-button:hover,
    .totp-login-button:focus {
        background-color: #176b39 !important;
    }


/*コピーボタン*/
.totp-manual-key-area {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.totp-manual-key {
    padding: 8px 10px;
    border: 1px solid #bdbdbd;
    background: #f7f7f7;
    font-size: 14px;
    word-break: break-all;
    user-select: all;
}

.totp-copy-button {
    padding: 8px 12px;
    border: 1px solid #777777;
    border-radius: 4px;
    background: #ffffff;
    color: #222222;
    cursor: pointer;
}

    .totp-copy-button:hover,
    .totp-copy-button:focus {
        background: #eeeeee;
    }




.totp-copy-status {
    min-height: 1.5em;
    text-align: center;
    color: #176b39;
}

/*パスワードボックス*/
.auth_pass {
    font-size: 16pt;
}

/*アプリアイコン*/
.authenticator-app {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 15px auto 20px;
    text-align: left;
}

.authenticator-app-icon {
    display: block;
    width: 64px;
    height: 64px;
    box-sizing: border-box;
    padding: 12px;
    background: #ffffff;
    border: 1px solid #d7d7d7;
    border-radius: 14px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
    object-fit: contain;
}

.authenticator-app p {
    margin: 4px 0 0;
    font-size: 14px;
}

@media screen and (max-width: 600px) {
    .authenticator-app {
        justify-content: flex-start;
    }

    .authenticator-app-icon {
        width: 56px;
        height: 56px;
        padding: 10px;
    }
}

/*機種変メッセージ*/
.totp-notice {
    margin: 20px auto 0;
    max-width: 620px;
    padding: 14px 16px;
    border: 1px solid #e5b55a;
    border-left: 4px solid #d38a12;
    background-color: #fff8e9;
    color: #5f430c;
    text-align: left;
    box-sizing: border-box;
}

    .totp-notice strong {
        display: block;
        margin-bottom: 7px;
    }

    .totp-notice p {
        margin: 0;
        line-height: 1.7;
    }

/*スマホのQRコード案内*/
.totp-same-device-note {
    max-width: 520px;
    margin: 16px auto;
    padding: 12px 14px;
    border: 1px solid #9db8d4;
    border-left: 4px solid #3977ae;
    background-color: #f3f8fd;
    color: #234764;
    text-align: left;
    line-height: 1.7;
    box-sizing: border-box;
}
@media screen and (max-width: 600px) {
    .totp-same-device-note {
        margin: 12px 0;
        padding: 10px 12px;
        font-size: 14px;
    }
}


/*パスワード変更（旧二段階認証*/

.iptTxt {
    margin: 3px;
    font-size: 14pt;
}

input[type="radio"],
label {
    display: inline;
    padding-left: 15px;
    font-size: 12pt;
    transform: scale(1.8);
}


@media screen and (max-width: 600px) {
    .legacy-two-step table,
    .legacy-two-step tbody,
    .legacy-two-step tr,
    .legacy-two-step th,
    .legacy-two-step td {
        display: block;
    }
}

.legacy-two-step input[type="radio"],
.legacy-two-step label {
    display: inline;
    padding-left: 15px;
    font-size: 12pt;
    transform: scale(1.8);
}


.document {
    display: inline;
    padding-left: 0.8em;
    font-size: 18pt;
}

#identity {
    width: fit-content;
    margin: 20px auto;
    font-size: 1.1em;
    padding: 0 10px 0 10px;
}

    #identity li {
        margin-bottom: 1.2em;
    }

#description {
    font-size: 1.2em;
    text-align: center;
}


#btn_start {
    display: block;
    margin: 50px auto 5px auto;
    width: 300px;
    text-align: center;
    padding: 15px 0;
    background: #AFD33A;
    font-size: 1.2em;
    color: #000;
    text-decoration: none;
    border-radius: 5px;
}


#btn_next {
    display: block;
    margin: 50px auto 5px auto;
    width: 300px;
    text-align: center;
    padding: 15px 0;
    background-color: darkturquoise;
    font-size: 1.2em;
    color: #000;
    text-decoration: none;
    border-radius: 5px;
}

.memo {
    padding-left: 30px;
    padding-top: 10px;
    color: #FF6600;
    font-size: 14pt;
}

#TblTwoStep th {
    padding-left: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
}

/*信頼済み端末*/
.totp-trust-device {
    display: inline-block;
    margin-top: 18px;
    font-size: 14px;
}

.totp-trust-device-note {
    margin: 6px auto 0;
    font-size: 12px;
    color: #666666;
}

/*信頼済みチェックボックス*/
.totp-trust-device input[type="checkbox"] {
    width: 22px;
    height: 22px;
    margin-right: 1px;
    vertical-align: middle;
    cursor: pointer;
}

.totp-trust-device label {
    vertical-align: middle;
    cursor: pointer;
    font-size: 15px;
}
@media screen and (max-width: 600px) {
    .totp-trust-device input[type="checkbox"] {
        width: 26px;
        height: 26px;
    }

    .totp-trust-device label {
        font-size: 16px;
    }
}

/*カレンダー用*/
@media screen and (max-width: 600px) {
    #calendar {
        display: table;
    }

        #calendar caption {
            display: table-caption;
            width: auto !important;
            min-width: 0;
            white-space: normal;
        }

        #calendar tbody {
            display: table-row-group;
        }

        #calendar tr {
            display: table-row;
        }

        #calendar th,
        #calendar td {
            display: table-cell;
            width: auto;
        }
}