/*
 * exp_202609_main の B 専用スタイル。
 * _about_v3.html / _loans_v3.html / _cta_check_v3.html が使う。
 * ab_new_style_v2*.css の後に読み込み、後勝ちで上書きする。
 */

.abv3-br-sp {
    display: none;
}

/***************** CTA (借入条件を確認する) *************************/
.abv3-cta-check {
    padding: 64px 16px 0;
    text-align: center;
}

a.abv3-cta-check-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: auto;
    min-width: 408px;
    height: 56px;
    padding: 16px 32px;
    border-radius: 8px;
    border: 1px solid var(--cta-yellow-border);
    background: linear-gradient(90deg, var(--cta-yellow-1) 52.4%, var(--cta-yellow-2) 100%);
    color: var(--cta-yellow-text);
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0.03em;
    text-decoration: none;
    white-space: nowrap;
}

a.abv3-cta-check-btn:hover {
    color: var(--cta-yellow-text);
    text-decoration: none;
}

.abv3-cta-check-main {
    font-size: 20px;
}

.abv3-cta-check-sub {
    font-size: 14px;
    line-height: 20px;
}

/***************** Biz LENDINGとは *************************/
.top-about-content.abv3-about {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    min-height: 0;
    padding: 56px 16px 32px;
}

.abv3-about-lead {
    color: #1A1A1C;
    font-size: 16px;
    line-height: 27.2px;
    text-align: center;
}

.abv3-about-lead-border {
    align-self: stretch;
    height: 4px;
    background: linear-gradient(90deg, #E60000 31.73%, #A50082 100%);
}

.abv3-about-points {
    display: flex;
    align-self: stretch;
}

.abv3-about-point {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    border-right: 1px solid #ACACAC;
}

.abv3-about-point:last-child {
    border-right: none;
}

.abv3-point-badge {
    padding: 2px 11px;
    border-radius: 16px;
    background: linear-gradient(90deg, #E60000 31.73%, #A50081 100%);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 30px;
    white-space: nowrap;
}

.abv3-point-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 130px;
}

.abv3-point-icon {
    width: 72px;
    height: 72px;
}

.abv3-point-title {
    margin-top: -2px;
    color: #E60000;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
}

.abv3-point-title-l1,
.abv3-point-title-l2 {
    display: block;
}

.abv3-point-text {
    align-self: stretch;
    margin-top: 8px;
    color: #212529;
    font-size: 16px;
    line-height: 24px;
}

.abv3-about-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.abv3-pdf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
    width: 332px;
    height: 56px;
    padding: 16px 24px;
    border-radius: 8px;
    border: 1px solid #5A5A5A;
    background: #fff;
    color: #5A5A5A;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    text-decoration: none;
    white-space: nowrap;
}

.abv3-pdf-btn:hover {
    color: #5A5A5A;
    text-decoration: none;
}

.abv3-pdf-icon {
    flex: none;
    width: 26px;
    height: 26px;
}

.abv3-about-note {
    align-self: stretch;
    color: #212529;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

/***************** 融資の比較 *************************/
.abv3-loans {
    --abv3-h-head: 93px;
    --abv3-h1: 73px;
    --abv3-h2: 49px;
    --abv3-h3: 49px;
    --abv3-h4: 49px;
    --abv3-h5: 49px;
    --abv3-h6: 49px;
    --abv3-h7: 49px;
    --abv3-h8: 73px;
    --abv3-h9: 73px;
}

.abv3-scroll-hint {
    display: none;
}

.abv3-scroll-hint-icon {
    flex: none;
    width: 24px;
    height: 24px;
    object-fit: none;
}

.abv3-loans > .container {
    max-width: 1140px;
    padding-left: 0;
    padding-right: 0;
}

.abv3-loans-table {
    display: flex;
    gap: 8px;
    max-width: 1140px;
    margin: 0 auto;
}

.abv3-loans-labels {
    flex: none;
    width: 176px;
}

.abv3-loans-scroll {
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
}

.abv3-loans-cards {
    display: flex;
    gap: 8px;
    min-width: 100%;
}

.abv3-loans-head {
    height: var(--abv3-h-head);
}

.abv3-row {
    box-sizing: border-box;
    display: flex;
    border-top: 1px solid #5A5A5A;
}

.abv3-row1 { height: var(--abv3-h1); }
.abv3-row2 { height: var(--abv3-h2); }
.abv3-row3 { height: var(--abv3-h3); }
.abv3-row4 { height: var(--abv3-h4); }
.abv3-row5 { height: var(--abv3-h5); }
.abv3-row6 { height: var(--abv3-h6); }
.abv3-row7 { height: var(--abv3-h7); }
.abv3-row8 { height: var(--abv3-h8); }
.abv3-row9 { height: var(--abv3-h9); }

.abv3-loans-labels .abv3-row {
    background: #F2F2F2;
}

.abv3-label {
    display: flex;
    align-items: center;
    padding: 0 16px;
    color: #212529;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
}

.abv3-card {
    flex: 0 0 calc((100% - 16px) / 3);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 613px;
    padding: 0 2px;
    border: 2px solid #838383;
    border-radius: 16px;
    background: #fff;
}

.abv3-card-main {
    --abv3-head-main: 85px;
    padding: 0;
    border: 8px solid transparent;
    background:
        linear-gradient(#fff, #fff) 0 var(--abv3-head-main) / 100% calc(100% - var(--abv3-head-main)) no-repeat padding-box,
        linear-gradient(90deg, #E60000 0%, #A50082 100%) border-box;
}

.abv3-card > .abv3-row:last-child {
    flex: 1 1 auto;
    height: auto;
}

.abv3-card-head {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 91px;
    margin: 0 -2px;
    color: #1A1A1C;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
}

.abv3-card-head-main {
    flex-direction: column;
    height: var(--abv3-head-main);
    margin: 0;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(90deg, #E60000 31.73%, #A50081 100%);
    color: #fff;
}

.abv3-card-head-sub {
    font-size: 16px;
    line-height: 24px;
}

.abv3-card-head-logo {
    height: 48px;
    margin-top: -4px;
    filter: brightness(0) invert(1);
}

.abv3-card-main .abv3-row1 {
    border-top-color: transparent;
}

.abv3-card-main .abv3-cell {
    padding: 0 16px;
}

.abv3-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 8px;
    color: #212529;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
}

.abv3-cell-lead {
    justify-content: flex-start;
    text-align: left;
    font-weight: 400;
}

.abv3-val {
    display: inline-block;
    font-weight: 400;
    color: #333;
}

.abv3-val-n {
    color: #212529;
    font-weight: 700;
}

.abv3-val-r {
    color: #E60000;
    font-weight: 700;
}

@media screen and (min-width: 600px) and (max-width: 991px) {
    .abv3-about-points {
        flex-wrap: wrap;
        row-gap: 32px;
    }

    .abv3-about-point {
        flex: 0 0 50%;
    }

    .abv3-about-point:nth-child(2n) {
        border-right: none;
    }

    .abv3-point-title-l2 {
        font-size: 16px;
    }

    .abv3-about-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .abv3-pdf-btn {
        width: auto;
    }
}

@media screen and (max-width: 991px) {
    /* 左の項目列は固定し、右の比較対象だけ横スクロールさせる */
    .abv3-loans {
        --abv3-h1: 65px;
        --abv3-h2: 41px;
        --abv3-h3: 41px;
        --abv3-h4: 65px;
        --abv3-h5: 65px;
        --abv3-h6: 41px;
        --abv3-h7: 65px;
        --abv3-h8: 65px;
        --abv3-h9: 73px;
    }

    .abv3-loans > .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .abv3-scroll-hint {
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 0 0 24px;
        color: #212529;
        font-size: 14px;
        line-height: 24px;
    }

    .abv3-loans-cards {
        width: 740px;
        min-width: 740px;
    }

    .abv3-card {
        flex: none;
        width: 241.33px;
        height: 614px;
    }
}

@media screen and (max-width: 599px) {
    .abv3-br-sp {
        display: inline;
    }

    a.abv3-cta-check-btn {
        flex-direction: column;
        width: 100%;
        min-width: 0;
        max-width: 280px;
        height: 56px;
        padding: 6px 16px;
    }

    .top-simulation-cta > a.abv3-cta-check-btn {
        display: inline-flex;
        width: 100%;
        max-width: 280px;
        padding: 6px 16px;
        font-size: 20px;
    }

    .abv3-cta-check a.abv3-cta-check-btn,
    .top-simulation-cta > a.abv3-cta-check-btn {
        max-width: 249px;
    }

    .top-about-content.abv3-about {
        padding: 72px 16px 40px;
    }

    .abv3-about-points {
        flex-direction: column;
        gap: 12px;
    }

    .abv3-about-point {
        align-items: stretch;
        gap: 4px;
        padding: 0 0 12px;
        border-right: none;
        border-bottom: 1px solid #ACACAC;
    }

    .abv3-about-point:last-child {
        border-bottom: none;
    }

    .abv3-point-badge {
        align-self: center;
    }

    .abv3-point-head {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 8px;
        min-height: 0;
        margin-top: 4px;
    }

    .abv3-point-icon {
        flex: none;
    }

    .abv3-point-title {
        margin-top: 0;
        text-align: left;
    }

    .abv3-point-title-l2 {
        font-size: 16px;
    }

    .abv3-point-text {
        margin-top: 0;
    }

    .abv3-about-actions {
        flex-direction: column;
        gap: 24px;
        align-self: stretch;
    }

    .abv3-pdf-btn {
        width: 279px;
        max-width: 100%;
        height: 60px;
        padding: 16px 12px;
    }

    .abv3-loans-labels {
        width: 88px;
    }

    .abv3-label {
        padding: 0 4px;
        line-height: 19px;
    }
}
