@charset "UTF-8";

html{
    font-size: 100%;
    background-color: #F4F4F4;
}

body{
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}


/*-----------------
parts
-----------------*/
header{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 5rem;
    gap: 2rem;
    border-bottom: 1px solid #DEDEDE;
    background-color: #FFFFFF;
}

header p{
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0;
}

.flow{
    display: flex;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
    margin-top: 1rem;
    gap: 0.4rem;
}

.flow_card{
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background-color: #d8d8da;
    padding: 0.7rem 0.6rem;
    width: 7rem;
    text-align: left;
}

.flow_card.current{
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background-color: #3F3F3F;
    padding: 0.7rem 0.6rem;
    width: 7rem;
    text-align: left;
}

.flow_card .flow_number{
    display: inline-block;
    color: #ffffff;
    background-color: #313131;
    width: 1.2rem;
    height: 1.2rem;
    text-align: center;
    font-size: 1rem;
}

.flow_card.current .flow_number{
    color: #313131;
    background-color: #ffffff;
}

.flow_card .flow_text{
    font-size: 0.8rem;
    font-weight: 500;
}

.flow_card.current .flow_text {
    color: #ffffff;
}

p{
    margin-bottom: 1rem;
    line-height: 1.6;
}

.text_right{
    text-align: right;
    margin-top: 0.3rem;
    font-size: 0.9rem;
}

.p_title{
    font-size: 1.06rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    background-color: #ECF0F9;
    padding: 1rem;
}

.container{
    background-color: #FFFFFF;
    padding: 2.6rem 0;
    max-width: 1100px;
    margin: 1rem auto 2rem;
    border-radius: 0.8rem;
    border: 1px solid #DEDEDE;
}

h2{
    font-size: 1.5rem;
    font-weight: 500;
    border-bottom: 1px solid #2465E8;
    text-align: center;
    line-height: 1.4;
    padding-bottom: 0.8rem;
    margin-bottom: 2.4rem;
    width: 100%;
}

h3{
    font-size: 1.2rem;
    font-weight: 500;
    margin: 2.4rem 0 0.8rem;
    padding-left: 0.5rem;
    border-left: 0.5rem solid #2465E8;
}

h4{
    font-size: 1rem;
    font-weight: 700;
    margin: 1.6rem 0 0.6rem;
}

table{
    width: 100%;
    margin: auto;
    border-collapse: collapse;
}

table,
th,
td {
    border: 1px solid #BFC4D5;
}

table th,
table td{
    vertical-align: middle;
    line-height: 1.6;
    padding: 0.9rem 1rem;
    color: #313131;
}

table th {
    background-color: #F6F5F5;
    font-size: 0.9rem;
    font-weight: 700;
    width: 26%;
}

table td {
    font-size: 1rem;
    background-color: #FFFFFF;
    width: 74%;
}

.text_red{
    color: #EE0808;
    font-weight: 500;
}

.text_bold{
    font-weight: 700;
}

.text_link{
    color: #1B4AA7;
    text-decoration: underline;
}

.text_link:hover{
    text-decoration: none;
}

.attention-list {
    list-style: none;
}

.attention-list li {
    position: relative;
    margin: 0.2rem 0;
    padding-left: 1.2rem;
    font-size: 0.8rem;
}

.attention-list li::before {
    content: "※";
    position: absolute;
    left: 0;
    color: #313131;
}

.material-symbols-outlined{
    font-size: 0.9rem;
    margin-left: 0.2rem;
    color: #1B4AA7;
}

.btn_area{
    text-align: center;
    margin-top: 1.7rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn_primary{
    display: inline-block;
    background-color: #1B4AA7;
    color: #FFFFFF;
    width: 180px;
    padding: 1rem;
    border-radius: 10px;
    font-weight: 500;
    transition: 0.5s;
}

.btn_secondary{
    display: inline-block;
    background-color: #FFFFFF;
    color: #000000;
    width: 180px;
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid #A9A9A9;
    font-weight: 500;
    transition: 0.5s;
}

.btn_primary:hover,
.btn_secondary:hover{
    opacity: 0.6;
    transition: 0.5s;
}

footer{
    text-align: center;
    color: #818181;
    padding-bottom: 2rem;
}


/*-----------------
index
-----------------*/
.precautions{
    padding: 1.2rem 1rem;
    max-width: 900px;
    width: 100%;
    margin: auto;
}


/*-----------------
otp-info
-----------------*/
.otp-info{
    padding: 1.2rem 1rem;
    max-width: 900px;
    width: 100%;
    margin: auto;
}


/*-----------------
input
-----------------*/
.error-box {
    background: #fff0f3;
    border: 2px solid #e60033;
    color: #b00020;
    padding: 15px;
    margin-bottom: 20px;
}

.error-box ul {
    margin: 0;
    padding-left: 20px;
}

.error-field {
    border: 2px solid #e60033 !important;
    background-color: #fff8f8;
}

.customer_input{
    padding: 1.2rem 1rem;
    max-width: 900px;
    width: 100%;
    margin: auto;
}

.form_label_red{
    color: #ffffff;
    background-color: #FF0000;
    padding: 0.0 0.3rem 0.1rem;
    font-size: 0.7rem;
    margin-left: 0.4rem;
}

.form_label_gray{
    color: #ffffff;
    background-color: #4E4D4D;
    padding: 0.0 0.3rem 0.1rem;
    font-size: 0.7rem;
    margin-left: 0.4rem;
}

.td_flex{
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 0.6rem;
}

.td_flex_side{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0.4rem;
}

.td_flex_vertical{
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.td_text{
    font-size: 0.8rem;
    font-weight: 500;
}

.td_text_p{
    font-size: 1rem;
    padding-top: 0.4rem;
}

.td_text_gray{
    font-size: 0.8rem;
    color: #919191;
}

input{
    border: 1px solid #686868;
    padding: 0.4rem;
    border-radius: 3px;
}

input::placeholder{
    color: #ADADAD;
}

/* チェックボックス */
input[type="checkbox"] {
    appearance: auto;
    -webkit-appearance: checkbox;
    width: 16px;
    height: 16px;
    margin-right: 6px;
}

/* ラジオボタン */
input[type="radio"] {
    appearance: auto;
    -webkit-appearance: radio;
    width: 16px;
    height: 16px;
    margin-right: 6px;
    cursor: pointer;
}

.radio_group {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.radio_group label {
    cursor: pointer;
}

/* バンキングアプリ表示 */
.banking_app_info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.banking_app_info p {
    margin-bottom: 0;
}

.banking_app_icon {
    width: 72px;
    height: 72px;
    object-fit: cover;
    flex-shrink: 0;

    /* 角丸 */
    border-radius: 16px;

    /* 境界を分かりやすくする枠線 */
    border: 1px solid #D0D0D0;

    /* 下方向に少し影 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

select{
    font-size: 0.9rem;
    border: 1px solid #686868;
    padding: 0.5rem 2.2rem 0.5rem 0.6rem;
    border-radius: 3px;
    background: url("../img/arrow_down.svg") no-repeat right 12px center / 12px auto;
}

textarea{
    border: 1px solid #686868;
    padding: 0.4rem;
    border-radius: 3px;
    resize: none;
}

.btn_sub{
    display: inline-block;
    background-color: #1B4AA7;
    color: #FFFFFF;
    padding: 0.5rem;
    margin-left: 0.3rem;
    border-radius: 10px;
    font-weight: 500;
    transition: 0.5s;
    font-size: 0.8rem;
}

.btn_sub:hover{
    opacity: 0.6;
    transition: 0.5s;
}

#customer_id_first:disabled,
#customer_id_second:disabled {
    background-color: #e5e5e5;
    color: #777;
    cursor: not-allowed;
}

#customer_id_first:read-only,
#customer_id_second:read-only {
    background-color: #e5e5e5;
    color: #777;
    cursor: not-allowed;
}

#purpose{
    width: 100%;
    height: 10rem;
}

#birthday_year{
    width: 6rem;
}

#birthday_month,
#birthday_day{
    width: 4rem;
}

#post-code{
    width: 7rem;
}

#phone,
#cellphone,
#company_phone,
#accountnumber,
#sub1_number,
#sub2_number{
    width: 14rem;
}

#email{
    width: 100%;
}


/*-----------------
check
-----------------*/
.check{
    padding: 1.2rem 1rem;
    max-width: 900px;
    width: 100%;
    margin: auto;
}


/*-----------------
completion
-----------------*/
.completion{
    padding: 1.2rem 1rem;
    max-width: 900px;
    width: 100%;
    margin: auto;
}


/*-----------------
sp
-----------------*/
@media (max-width: 767px){

    header{
        display: flex;
        flex-direction: column;
        gap: 0.4rem;
        height: 6rem;
    }

    .container{
        max-width: 736px;
        margin: 1rem 1rem 2.4rem;
        padding: 1rem 0;
    }

    h2{
        text-align: left;
        margin-bottom: 1.4rem;
    }

    .p_title{
        text-align: left;
    }

    table th{
        padding: 0.3rem 0.6rem;
    }

    table td{
        padding: 0.8rem 0.6rem;
    }

    table th,
    table td{
        display: block;
        width: 100%;
    }

    .flow{
        justify-content: flex-start;
        margin: 1rem;
    }

    .flow_card{
        width: calc((100% - 1rem) / 3);
        white-space: nowrap;
    }

    .flow_card.current{
        width: calc((100% - 1rem) / 3);
    }

    .text_right{
        text-align: left;
    }

    #branch_select,
    #sub1_branch,
    #sub2_branch{
        width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* バンキングアプリ */
    .banking_app_info {
        align-items: flex-start;
        gap: 0.8rem;
    }

    .banking_app_icon {
        width: 64px;
        height: 64px;
        border-radius: 14px;
    }

    .radio_group {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}
