/* 文字の大きさ */
h1,
h2,
h3,
h4,
ul {
    margin: 0;
    padding: 0;
}


#TopText {
    position: absolute;
    top: 57%;
    left: 3%;
    width: 100%;
    z-index: 3;
}

#TopText h2 {
    font-size: clamp(60px, 10vw, 115px);
    font-weight: bold;
    font-style: italic;
    background: linear-gradient(90deg, #F4C5A1 0%, #FADDA7 15%, #E4EBCD 30%, #D7EBD9 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#TopText h3 {
    font-size: clamp(22px, 3vw, 28px);
    font-weight: bold;
}

.number h1 {
    font-size: 90px;
    font-weight: bold;
    font-style: italic;
    color: #E19B5F;
}

.number h2 {
    font-size: 55px;
    font-weight: bold;
    margin: 0;
    background: linear-gradient(160deg, #F5CBA2, #F8DEAB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.number span {
    font-size: 45px;
    font-weight: bold;
    margin: 0 1%;
    color: #363636;
}

#Benefits .number {
    width: 100%;
}


#Benefits .Benefits-item {
    display: flex;
    justify-content: space-around;
    margin: 0 0% 10% 5%;
}

#Benefits .Benefits-item-Flip {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10%;
    align-items: center;
}

.Benefits-item-Flip .number {
    position: relative;
    z-index: 3;
    margin-left: 12%;
}

#Benefits .Benefits-item img,
#Benefits .Benefits-item-Flip img {
    width: 650px;
    height: auto;
    position: relative;
}

#Benefits .Benefits-item img {
    left: 2%;
}


.Benefits-item ul,
.Benefits-item-Flip ul {
    margin: 5% 0 0 2%;
}


.Benefits-container li {
    list-style: none;
    background-image: url(../../img/common/listIcon/Benefits.png);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 10px auto;
    padding-left: 25px;
    line-height: 1.5;
    margin-top: 10px;
    font-size: 19px;
}

#HealthCare .number {
    text-align: center;
}

#HealthCare .Benefits-container {
    display: flex;
    justify-content: space-between;
    margin: 5% 6%;
}

#HealthCare .Benefits-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#HealthCare h4 {
    text-align: center;
    padding: 7%;
    font-size: 29px;
}

.Benefits-list {
    padding-top: 1%;
}

#HealthCare .number h2 {
    font-size: 55px;
    margin-left: 2%;
}

#FamilySupport .number {
    text-align: center;
    position: relative;
}

.number p {
    font-size: 30px;
    font-weight: bold;
}


.contents {
    display: flex;
    border: 1px solid #ccc;
    border-radius: 16px;
    overflow: hidden;
    width: 90%;
    margin: 40px auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.text-section,
.image-section {
    flex: 1;
}

.text-section {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 2%;
}

.text-section h3 {
    margin-top: 0;
    font-size: 20px;
    font-weight: bold;
}

.text-section ul {
    padding-left: 20px;
    padding: 4%;
    font-size: 18px;
}

.image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 画像サイズ */

#TopTriangle {
    position: absolute;
    top: -3%;
    left: -2%;
}

#Benefits,
#HealthCare {
    position: relative;
    z-index: 1;
    margin-top: 10%;
}

#FamilySupport {
    margin: 8% 0;
}

#HealthCare .Benefits-container img {
    width: 470px;
    height: auto;
}

/* アニメーション */

.Benefits-container {
    position: relative;
}


#top {
    top: -7%;
    left: 50%;
    z-index: -1;
}

#low {
    top: 31%;
    left: 50%;
}

#HealthCare {
    position: relative;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {


    #TopText {
        top: 53%;
    }

    #TopText h3 {
        font-size: 22px;
        margin-left: 2%;
    }

    #Benefits .Benefits-item,
    #Benefits .Benefits-item-Flip,
    #HealthCare .Benefits-container {
        flex-direction: column;
    }

    #Benefits .Benefits-item img,
    #Benefits .Benefits-item-Flip img {
        order: 1;
        width: 370px;
    }

    .number {
        order: 2;
    }

    #Benefits .Benefits-item {
        margin: -3% 0 10% 8%;
    }


    #Benefits .Benefits-item img {
        left: -1%;
    }

    .Benefits-item-Flip img {
        margin-left: -8%;
    }

    #Benefits .number h1,
    #Benefits .number h2 {
        display: none;
    }

    .Benefits-item ul {
        margin: 13% 0 0 -2%;
    }

    .Benefits-item-Flip ul {
        margin: 13% 0 0 2%;
    }

    .Benefits-container li {
        background-size: 10px auto;
        padding-left: 20px;
        font-size: 17px;
    }

    .number span {
        font-size: 30px;
        margin: 0 2%;
    }


    .number h1 {
        font-size: 50px;
    }

    #HealthCare .number h2,
    #FamilySupport .number h2 {
        font-size: 32px;
        margin: 0;
    }

    #HealthCare h4 {
        font-size: 26px;
    }

    #HealthCare ul {
        width: 103%;
        padding: 0 0 0 5%;
        margin: 0;
    }

    #HealthCare .Benefits-item {
        margin: 10% 0;
    }

    .Benefits-list {
        padding: 0;
    }

    .number p {
        font-size: 23px;
        margin: 3px;
    }

    .contents {
        flex-direction: column;
        width: 95%;
        height: 490px;
    }

    .text-section {
        padding: 5% 2%;
    }

    .text-section h3 {
        font-size: 17px;
    }

    .text-section ul {
        padding: 6% 7% 0;
        font-size: 17px;
    }

    #TopView {
        height: 400px;
    }

    #TopTriangle {
        position: absolute;
        top: 0%;
        left: -2%;
        width: 22%;
    }

    #HealthCare .Benefits-container img {
        width: 290px;
    }

    #FamilySupport {
        margin: 20% 0;
    }

    #HealthCare {
        top: 10%;
    }

    .back-ground-logo {
        display: none;
    }

    #top {
        top: -10%;
        left: 30%;
        z-index: -1;
    }

    #low {
        top: 11%;
        left: 30%;
    }
}