@charset "UTF-8";

/* ============================================
   キャリアモデル (Career Model)
   ============================================ */

/* レイアウト・導入テキスト */
.welfare section {
    padding-bottom: 30px;
}

.welfare section .bg-wrap {
    position: relative;
    overflow: hidden;
}

.welfare section .split-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 90%;
    max-width: 1120px;
    margin: 70px auto;
    position: relative;
}

.welfare section .bg-wrap::before {
    content: "";
    display: block;
    position: absolute;
    background: #F4F3E8;
    width: 100%;
    height: 100%;
    border-radius: 0 24px 24px 0;
    left: calc(50% - 100px);
    transform: translateX(-100%);
    top: 0;
    z-index: -1;

}

.welfare section .split-content .content-title {
    width: 22%;
}

.welfare section .split-content .content-wrap {
    width: 74%;
}

.content-title .title-box {
    width: 80%;
    padding: 0 0 20px;
    text-align: center;
    border-bottom: solid 1px #4BA9C6;
}

.content-title .title-box p {
    font-size: 24px;
    color: var(--main-color);
    line-height: 1.8em;
    padding-top: 150px;
    position: relative;
}

.content-title .title-box p::before {
    content: "";
    display: block;
    position: absolute;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url('');
    width: 180px;
    height: 130px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.welfare01 .content-title .title-box p::before {
    background-image: url(../img/welfare_img/welfare-block-icon01.svg);
}

.welfare02 .content-title .title-box p::before {
    background-image: url(../img/welfare_img/welfare-block-icon02.svg);
}

.welfare03 .content-title .title-box p::before {
    background-image: url(../img/welfare_img/welfare-block-icon03.svg);
}

.welfare #section3 {
    margin-bottom: 100px;
}

.welfare .topic {
    padding: 40px;
    border-radius: 24px;
    background: #FFF;
    box-shadow: 0px 0px 8px rgba(0, 98, 177, 0.25);
    margin-bottom: 30px;
}

.welfare .figure {
    padding: 10px;
    border-radius: 24px;
    background: #FFF;
    box-shadow: 0px 0px 8px rgba(0, 98, 177, 0.25);
    margin-bottom: 30px;
}

.welfare .topic .flexbox {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.welfare .topic .flexbox .title {
    width: 100%;
    color: var(--main-color);
    font-size: 24px;
    padding-bottom: 10px;
}

.welfare .topic .flexbox .text {
    width: 62%;
}

.welfare .topic .flexbox.full .text {
    width: 100%;
}

.welfare .topic .flexbox .image {
    width: 35%;

}

/* 見出しスタイル */
.box-line {
    position: relative;
    margin-bottom: 40px;
}

.box-line::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #0062B1;
    z-index: -1;
}

.box-line span {
    display: inline-block;
    padding: 5px 30px;
    border-radius: 8px;
    background: linear-gradient(90deg, #3eae75 0%, #0062b1 100%);
    z-index: 2;
    color: #FFF;
    font-weight: 500;
    font-size: 22px;
}

/* ポイントボックス（下部の矢印付きエリア） */
.point-box {
    background: #F4F3E8;
    margin-top: 50px;
    padding: 60px;
    border-radius: 20px;
    position: relative;
}


.point-box p.ttl {
    text-align: center;
    color: var(--main-color);
    font-size: 24px;
    padding-bottom: 20px;
}

.point-box p.ttl~p {
    max-width: 740px;
    margin: 0 auto;
}

.point-box .image {
    max-width: 740px;
    margin: 30px auto 0;
}

/* ============================================
   レスポンシブ対応 (SP: max-width 834px)
   ============================================ */
@media screen and (max-width: 834px) {

    .welfare section {
        padding-bottom: 20px;
    }

    .welfare #section3 {
        margin-bottom: 60px;
    }

    .welfare section .bg-wrap {
        position: relative;
        overflow: hidden;
    }

    .welfare section .split-content {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        width: 90%;
        max-width: 1120px;
        margin: 50px auto 20px;
        position: relative;
    }

    .welfare section .bg-wrap::before {
        content: "";
        display: block;
        position: absolute;
        background: #F4F3E8;
        width: 100%;
        height: 100%;
        border-radius: 0 24px 24px 0;
        left: calc(100%);
        transform: translateX(-100%);
        top: 0;
        z-index: -1;

    }

    .welfare section .split-content .content-title {
        width: 100%;
    }

    .welfare section .split-content .content-wrap {
        width: 100%;
    }

    .content-title .title-box {
        width: 80%;
        max-width: 150px;
        margin: 0 auto 20px;
        padding: 0 0 20px;
        text-align: center;
        border-bottom: solid 1px #4BA9C6;
    }

    .content-title .title-box p {
        font-size: 20px;
        color: var(--main-color);
        line-height: 1.8em;
        padding-top: 100px;
        position: relative;
    }

    .content-title .title-box p::before {
        content: "";
        display: block;
        position: absolute;
        background-size: contain;
        background-position: center center;
        background-repeat: no-repeat;
        background-image: url('');
        width: 120px;
        height: 100px;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    .welfare .topic {
        padding: 25px;
        border-radius: 24px;
        background: #FFF;
        box-shadow: 0px 0px 8px rgba(0, 98, 177, 0.25);
        margin-bottom: 15px;
    }

    .welfare .figure {
        padding: 10px;
        border-radius: 24px;
        background: #FFF;
        box-shadow: 0px 0px 8px rgba(0, 98, 177, 0.25);
        margin-bottom: 30px;
    }

    .welfare .topic .flexbox {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .welfare .topic .flexbox .title {
        width: 100%;
        color: var(--main-color);
        font-size: 18px;
        padding-bottom: 5px;
    }

    .welfare .topic .flexbox .text {
        width: 100%;
    }

    .welfare .topic .flexbox.full .text {
        width: 100%;
    }

    .welfare .topic .flexbox .image {
        width: 100%;
        max-width: 200px;
        margin: 10px auto 0;

    }

    /* 見出しスタイル */
    .box-line {
        margin-bottom: 20px;
    }

    .box-line span {
        padding: 2px 10px;
        font-size: min(3.4vw, 1.2rem);
    }

    /* ポイントボックス（下部の矢印付きエリア） */
    .point-box {
        margin-top: 40px;
        padding: 30px;
    }

    .point-box p.ttl {
        font-size: 16px;
        padding-bottom: 10px;
    }

    .point-box .image {
        margin: 20px auto 0;
    }
}