@charset "utf-8";

:root {
    --white: #ffffff;
    --black: #000000;
    --color1: #0046a9;
    --color2: #0084ff;
    --color3: #ff1e3c;
    --color4: #212529;
    --color5: #989898;
    --color6: #d7e6f0;
    --color7: #8cc7ff;
    --color8: #ededf2;
    --color9: #d7e6f0;
}

html {
    height: 100%;
    width: 100%;
    height: -webkit-fill-available;
}

body {
    height: 100vh;
    margin: 0px;
    width: 100%;
    background-color: var(--color6);
    font-family: 
      "Hiragino Kaku Gothic ProN",
      "Hiragino Sans",
      Meiryo,
      sans-serif;
}

@media (max-width: 550px){
    body {
        max-height: 650px;
        background-color: var(--white);
    }
}

.main-section {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-section_otp {
    height: 2200px;
}

.main-section_dauth {
    height: 2130px;
}

.main-section_800 {
    height: 800px;
}

.auth-form {
    background-color: var(--white);
    border-radius: 10px;
    bottom: 0;
    display: flex;
    flex-direction: column;
    height: 500px;
    left: 0;
    margin: auto;
    right: 0;
    top: 0;
    width: 550px;
}

.auth-form_otp {
    margin-top: 60px;
    height: 2063px;
}

.auth-form_dauth {
    margin-top: 60px;
    height: 2000px;
}

.auth-form_l {
    height: 520px;
}

.auth-form_ll {
    height: 770px;
}

.auth-form_install {
    margin-top: 60px;
    height: 680px;
}

.auth-form_qr {
    height: auto;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
}

.auth-form_qr .auth-form__content {
    padding-bottom: 24px;
}

@media (max-width: 550px){
    .main-section {
        display: initial;
        justify-content: initial;
        align-items: initial;
        max-height: 400px;
    }

    .main-section_otp {
        height: 1750px;
    }
    
    .main-section_dauth {
        height: 1650px;
    }

    .auth-form {
        border-radius: 0;
        background-color: var(--white);
        bottom: 0;
        display: flex;
        flex-direction: column;
        height: 100%;
        left: 0;
        margin: auto;
        width:auto;
        position: relative;
    }

    .auth-form_otp {
        margin-top: 0px;
    }

    .auth-form_dauth {
        margin-top: 0px;
    }
}

.auth-form__header {
    height: 170px;
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.auth-form__logo {
    margin-top: 25px;
    margin-left: auto;
    margin-right: auto;
    width: 250px;
}

.auth-form__title {
    color: var(--white);
    background-color: var(--color1);
    font-weight: bold;
    font-size: 17px;
    text-align: center;
    width: 100%;
    height: 30px;
    margin-top: 20px;
    vertical-align: middle;
    padding-top: 10px;
}

.auth-form__title_l {
    height: 30px;
}

@media (max-width: 550px){
    .auth-form__title {
        color: var(--white);
        background-color: var(--color1);
        font-weight: bold;
        font-size: 17px;
        text-align: center;
        width: 100%;
        height: 45px;
        margin-top: 20px;
        text-align: center;
        padding-top: 10px;
    }

    .auth-form__title_l {
        align-items: center;
        box-sizing: border-box;
        display: flex;
        justify-content: center;
        padding-top: 0px;
        height: 55px;
    }
}

.auth-form__content {
    align-items: center;
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 0 45px;
    width: auto;
}

@media (max-width: 550px){
    .auth-form__content {
        align-items: center;
        display: flex;
        flex: 1;
        flex-direction: column;
        padding: 0 25px;
    }
}

.auth-form__flexbox {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.auth-form__flexbox_row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    align-items: flex-start;
}

@media (max-width: 550px){
    .auth-form__flexbox_row {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: auto;
        align-items: flex-start;
    }    
}

.auth-form__section {
    align-items: center;
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.auth-form__section_noflex {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.auth-form__index {
    font-size: 40px;
    font-weight: bold;
    font-family: Arial;
    color: var(--color1);
    letter-spacing: 0.3rem;
    line-height: 1;
}

@media (max-width: 550px){
    .auth-form__index {
        font-size: 40px;
        font-weight: bold;
        font-family: Arial;
        color: var(--color1);
        letter-spacing: 0.3rem;
        line-height: 1;
        width: auto;
        text-align: left;
    }
}

.auth-form__heading {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    gap: 10px;
}

.long_form__heading {
    align-items: flex-start;
}

.auth-form__section+.auth-form__section {
    margin-top: 20px;
}

.auth-form__section+.auth-form__flexbox_row {
    margin-top: 40px;
}

.auth-form__msg {
    font-size: 15px;
    text-align: center;
}

.auth-form__msg_left {
    font-size: 16px;
    text-align: left;
    width: 86%;
    line-height: 1.5;
}

.auth-form__msg_left span.lb {
    display: block;
}

.login-form--narrow {
    width: 85%;
}

.auth-form__msg--small {
    font-size: 12px;
    text-align: center;
}

.auth-form__msg--bold {
    font-size: 15px;
    font-weight: bold;
}

.auth-form__err-msg {
    color: var(--color3);
    font-size: 15px;
    font-weight: bold;
    
}

/* メールOTP の再送の結果。操作の起点である再送リンクの直下に置くので、
   リンクと同じく中央に揃える。 */
.auth-form__err-msg_resend {
    margin-top: 10px;
    text-align: center;
}

@media (max-width: 550px){
    .auth-form__msg {
        text-align: center;
    }
    .auth-form__err-msg {
        text-align: center;
    }
}

.auth-form__txt {
    box-sizing: border-box;
    border-radius: 5px;
    border-color: color5;
    border-width: 1px;
    border-style: solid;
    height: 45px;
    width: 100%;
    padding-left: 20px;
}

.auth-form__txt::placeholder {
    font-size: 16px;
}

input.auth-form__txt {
    font-size: 16px;
}

.auth-form__txt+.auth-form__txt {
    margin-top: 25px;
}

.auth-form__flexbox+.auth-form__section {
    margin-top: 20px;
}

.auth-form__radio+.auth-form__radio {
    margin-top: 20px;
}

.auth-form__loading {
    width: 30%;
}

.auth-form__qrcode {
    margin-top: 20px;
}

.auth-form__qrcode_min {
    margin-top: 5px;
    width: 55%;
    max-width: 170px;
}

.auth-form__regcode {
    background: var(--color8);
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1rem;
    padding: 0.5rem;
    resize: none;
    width: 86%;
    margin-top: 10px;
}

.auth-form__regcode_viaauth {
    margin-top: 20px;
}

.auth-form__urltext {
    background: var(--color8);
    border-radius: 1px;
    border-width: 0.1rem;
    box-sizing: border-box;
    font-size: 0.8rem;
    padding: 0.1rem;
    resize: none;
    width: 100%;
}

.auth-form__footer {
    display: flex;
    flex-direction: column;
    padding-bottom: 40px;
}

@media (max-width: 550px){
    .auth-form__footer {
        padding: 15px 25px;
    }
}

.auth-form__back {
    background: var(--white);
    border-radius: 0 0 10px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 45px 30px;
    box-sizing: border-box;
    width: 100%;
}

@media (max-width: 550px){
    .auth-form__back {
        border-radius: 0;
        padding: 15px 25px;
    }
}

.auth-form__btn {
    background-color: var(--color2);
    border: none;
    border-radius: 6px;
    box-sizing: border-box;
    color: var(--white);
    cursor: pointer;
    font-size: 15px;
    height: 40px;
    place-self: center;
    width: 35%;
    letter-spacing: 0.5rem;
    margin: 0 auto;
}

.auth-form__btn2 {
    color: var(--color2);
    border-color: var(--color2);
    border-width: 1px;
    border-style: solid;
    border-radius: 6px;
    box-sizing: border-box;
    background-color: var(--white);
    cursor: pointer;
    font-size: 15px;
    height: 40px;
    place-self: center;
    width: 45%;
    letter-spacing: 0.5rem;
    margin: 0 auto;
}

.auth-form__btn3 {
    background-color: var(--color2);
    border: none;
    border-radius: 6px;
    box-sizing: border-box;
    color: var(--white);
    cursor: pointer;
    font-size: 15px;
    height: 40px;
    place-self: center;
    width: 45%;
    letter-spacing: 0.5rem;
    margin: 0 auto;
}

.auth-form__btn_a {
    text-decoration: none;
    text-align: center;
    padding-top: 0.5em;
}

.auth-form__btn_a._btn-disabled {
    background-color: var(--color5);
    pointer-events: none;
    cursor: default;
}

.auth-form__btn_m {
    width: 55%;
}

.auth-form__btn_l {
    width: 85%;
    letter-spacing: 0.2rem;
    font-weight: bold;
}

.auth-form__btn_ll {
    width: 100%;
}

/* 手段選択のフォーム。幅を持たせないと中のボタンの % 幅が
   フォームの「文字幅なり」の幅に対して効いてしまい、
   方式名が縦に折り返る。 */
.auth-form__choice-form {
    width: 100%;
}

/* 手段選択のボタンは「ログイン」ボタンと同じ幅にする。
   .auth-form__btn の 35% は、ログインでは footer（余白なし＝550px）に
   対して効いて約 193px になるが、手段選択のボタンは content（左右 45px の
   余白あり＝460px）の中なので約 161px しかなく、「ワンタイムパスワード」が
   2行に折り返っていた。同じ見た目にするため幅を直接そろえる。 */
.auth-form__choice-form .auth-form__btn {
    width: 193px;
    max-width: 100%;
}

/* 文字幅なりのボタン。ダイアログの幅いっぱいに広げない。 */
.auth-form__btn_auto {
    width: auto;
    padding: 0 24px;
}

@media (max-width: 550px){
    .auth-form__btn {
        width: 100%;
    }
}

.auth-form__btn:hover {
    background-color: var(--color7);
}

.auth-form__btn2:hover {
    background-color: var(--color7);
}


.auth-form__btn+.auth-form__btn {
    margin-top: 20px;
}

.badge {
    max-width: 145px;
    width: 100%;
    height: auto;
    border: 0;
}

.trademark {
    display: flex;
    flex-direction: column;
    margin-top: 30px;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
    color: #1a1a1a;
    padding-bottom: 20px;
    text-align: center;
}

.trademark__msg {
    font-size: 13px;
    line-height: 1.6;
}

.border {
    display: block;
    width: 100%;
    height: 1px;
    background-color: var(--color9);
    border: 0;
}

.border_dot {
    display: block;
    width: 100%;
    height: 1px;
    background-color: var(--color9);
    border: 0;
}

span.lb {
    display: inline-block
}

.auth-form__subtitle {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--color1);
    text-align: center;
}

.auth-form__subtitle_left {
    max-width: 80%;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--color1);
    line-height: 1.4;
}

.smallfont {
    font-size: 13px;
}

.mt10 {
    margin-top: 10px;
}

.mt16 {
    margin-top: 16px;
}

.mt20 {
    margin-top: 20px;
}

.mb20 {
    margin-bottom: 20px;
}

.mt24 {
    margin-top: 24px;
}

.mt40 {
    margin-top: 40px;
}

.mb40 {
    margin-bottom: 40px;
}

.mt48 {
    margin-top: 48px;
}

.mt64 {
    margin-top: 64px;
}

.pb20 {
    padding-bottom: 20px;
}

.ls0 {
    letter-spacing: 0rem;
}

._termsofuse {
    height: 800px;
}

._flexbox_row {
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    width: 100%;
    height: 100%;
}

._ifrm {
    box-sizing: border-box;
    border-radius: 5px;
    border-color: var(--color5);
    border-width: 1px;
    border-style: solid;
    width: 95%;
    height: 90%;
    overflow: hidden;
}

a#via-btn , a#inst-link{
    font-size: 14px;
}

.auth-form__flexbox+.auth-form__section.regmail__retry{
    margin-top: 40px;
}

@media (max-width: 550px){
    .auth-form__flexbox+.auth-form__section.regmail__retry{
        margin-top: 80px;
    }
}

#via-btn{
    margin-top: 20px;
}
@media (max-width: 550px){
    #via-btn{
        margin-top: 10px;
    }
}

.qr-video {
    display: block;
    width: min(320px, 100%);
    height: min(360px, 46vh);
    height: min(360px, 46dvh);
    border-radius: 8px;
    background: #000;
    object-fit: cover;
}

#camera-area {
    display: flex;
    justify-content: center;
}

@media (min-width: 551px) and (max-height: 760px) {
    .auth-form_qr .auth-form__content {
        padding-bottom: 16px;
    }

    .qr-video {
        width: min(280px, 100%);
        height: min(300px, 40vh);
        height: min(300px, 40dvh);
    }
}

@media (max-width: 550px) {
    .qr-video {
        width: min(320px, 86vw);
        height: min(370px, 48vh);
        height: min(370px, 48dvh);
    }
}

@media (min-width: 551px) and (max-height: 620px) {
    .main-section_qr {
        align-items: flex-start;
        padding: 16px 0;
        box-sizing: border-box;
        min-height: 100%;
        height: auto;
    }

    .auth-form_qr {
        max-height: none;
    }

    .qr-video {
        width: min(260px, 100%);
        height: min(260px, 34vh);
        height: min(260px, 34dvh);
    }
}

@media (orientation: landscape) and (max-height: 550px) {
    .main-section_qr {
        align-items: flex-start;
        padding: 12px 0;
        box-sizing: border-box;
        min-height: 100%;
        height: auto;
    }

    .auth-form_qr {
        max-height: none;
    }

    .qr-video {
        width: min(360px, 62vw);
        height: min(300px, 54vh);
        height: min(300px, 54dvh);
    }
}

.qr-hidden {
    display: none;
}

.risk-geo-hidden {
    display: none !important;
}

.dl-platform-wrap {
    width: 100%;
    max-width: 450px;
    box-sizing: border-box;
    border: 1px solid var(--color9);
    border-radius: 8px;
    background: var(--white);
    padding: 20px 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.auth-form__back-card {
    width: 100%;
    max-width: 450px;
    box-sizing: border-box;
    border-radius: 8px;
    background: var(--color6);
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.auth-form__back-card__msg {
    font-size: 15px;
    text-align: center;
    color: #1a1a1a;
    line-height: 24px;
    margin-bottom: 16px;
}

.auth-form__btn_260 {
    width: 260px;
}

.dl-platform-wrap__title {
    font-size: 15px;
    text-align: center;
    color: #1a1a1a;
    line-height: 24px;
    margin-bottom: 20px;
}

.dl-platform {
    border-radius: 6px;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    margin-top: 30px;
    border: 1px solid var(--color9);
}

.dl-platform:first-of-type {
    margin-top: 0;
}

.dl-platform__header {
    background-color: var(--color1);
    color: var(--white);
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    padding: 4px 0;
}

.dl-platform__header--iphone {
    background-color: #4A4A52;
}

.dl-platform__header--android {
    background-color: #1D8B56;
}

.dl-platform__header--windows {
    background-color: #0877D7;
}

.dl-platform__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 10px;
    background-color: var(--white);
    gap: 10px;
}

@media (max-width: 380px) {
    .dl-platform-wrap {
        padding: 20px 20px;
    }
}
