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

#Other {
    margin-left: 6%;
}


#TopView-Text h1 span {
    font-size: clamp(50px, 15vw, 180px);
}

#TopText h1 {
    font-size: 30px;
    background: linear-gradient(180deg, #BE510A 60%, #CD8250 75%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#TopText h2 {
    font-size: 30px;
}

#TopText p {
    font-size: 18px;
}


.Other-title {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-family: 'Arial', sans-serif;
}

.Other-title h1 {
    font-size: 85px;
    font-weight: bold;
    color: #E3955D;
    font-style: italic;
}

.Other-title h3 {
    background-image: url(../../img/common/listIcon/Benefits.png);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 25px auto;
    font-size: 25px;
}

#Other p {
    font-size: 18px;
    margin-left: 2px;
}

#Other ul {
    padding: 0 0 0 2%;
}

.link li {
    font-size: 18px;

    background-image: url(../../img/common/listIcon/check.png);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 28px auto;
    padding-left: 35px;
    line-height: 2.2;
    text-decoration: underline;
}

.en-title {
    font-size: 25px;
    font-style: italic;
    font-weight: bold;
    margin: -1% 0 0 0;
    background: linear-gradient(160deg, #F5CBA2 10%, #F8DEAB 30%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}



#SES ul {
    margin-left: -2%;
    list-style: none;
}


.SES-title {
    position: relative;
    font-size: 50px;
    color: #F5CBA2;
    margin: 7% 0 2%;
}

.link p {
    position: relative;
    z-index: 3;
}



.message-section {
    display: flex;
    background: white;
    width: 100%;
    height: 530px;
    margin: 0 auto;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    overflow: hidden;
    margin: 3% auto 10%;
}

.message-image {
    flex: 1 1 40%;
    max-width: 90%;
    height: auto;
}

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

.message-text {
    flex: 1 1 60%;
    color: #333;
    background-color: #fff;
    line-height: 2.3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    margin: 0 1%;
}

.text-wrapper {
    max-width: 90%;
}

.message-text p {
    font-size: 18px;
    margin: 0;
}

.message-text p span {
    color: #C76D32;
    font-weight: bold;
    text-decoration: underline;
}

.link {
    margin: 5% 0 0 -1%;
    text-decoration: underline;
    font-size: 18px;
    position: relative;
}

/* 画像サイズ */

#main #image {
    width: 60%;
    z-index: 1;
}

#background-contents {
    position: relative;
}

/* アニメーション */

#SES {
    position: relative;
    z-index: 1;
    width: 92%;
    margin: 5% auto;
}

.svg-wrapper {
    top: -10%;
    right: 0%;
}

@keyframes infinity-scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100vw);
    }
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    #TopView-Text {
        transform: translate(-50%, 55%);
      }

    #TopView-Text h1 {
        font-size: 40px;
    }

    #TopView-Text h2 {
        font-size: 20px;
    }

    #SES {
        margin-top: 20%;
    }

    #TopText {
        width: 100%;
        margin: 0 auto;
    }

    #TopText h1,
    #TopText h2 {
        font-size: 19px;
    }

    #TopText p {
        width: 95%;
        font-size: 18px;
    }

    .Center-text {
        font-size: 125px;
    }


    .number {
        margin: 0 0 4% 5%;
    }

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

    .number h2 {
        font-size: 95px;
    }

    .number p {
        font-size: 43px;
    }

    .SES-title {
        font-size: 33px;
        margin-top: 20%;
    }

    .message-section {
        box-shadow: none;
        width: 100%;
        height: 1230px;
        flex-direction: column;
    }

    .message-text p {
        font-size: 18px;

    }

    #SES li {
        font-size: 18px;
    }

    #SES ul {
        margin: 10% 0;
        padding: 0px;
    }

    .link p {
        font-size: 17px;
    }

    #main #image {
        width: 85%;
    }

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

    #dynamic-container1 {
        top: 56% !important;
    }

    .message-image img {
        width: 370px;
        height: auto;
    }

    .message-text {
        width: 100%;
        margin: 0 auto;
        line-height: 1.8;
    }

    .svg-wrapper {
        top: -10%;
        left: 30%;
    }

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

    #background-contents {
        height: 80px;
    }

}