/* 文字の大きさ */

h1,
h2 {
    margin: 0;
}

#TopView-Text {
    position: absolute;
    width: 100%;
    height: auto;
    z-index: 4;
}


.AboutUs-container {
    margin-top: 5%;
}

.AboutUs-Text {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    text-align: center;
    padding: 8% 0 0 0;
}

.number {
    font-style: italic;
    font-weight: bold;
}

.number h1 {
    display: flex;
    align-items: center;
    margin: 0;
    font-size: clamp(50px, 7vw, 95px);
    /* font-size: 95px; */
}


.number span {
    font-style: normal;
    font-size: clamp(30px, 4vw, 45px);
    /* font-size: 45px; */
    padding-left: 25px;
}


.AboutUs-Text {
    text-align: center;
}

.AboutUs-Text p {
    font-size: 18px;
}

.AboutUs-Text p span {
    font-size: clamp(18px, 4vh, 22px);
    font-weight: bold;
}
#TopText h1 {
    background: linear-gradient(180deg, #BE510A 60%, #CD8250 75%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
    font-weight: bold;
    font-size: clamp(18px, 5vh, 30px);
    margin: 1% 0;
    }

/* 画像サイズ */

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

.RelatedItems {
    margin: 8% auto 0;
    gap: 30px;
    width: 90%;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.RelatedItems img {
    width: 100%;
    height: auto;
    filter: drop-shadow(5px 5px 5px rgba(160, 160, 160, 0.7));
}

/* アニメーション */

#AboutUs {
    position: relative;
}

.AboutUs-container {
    position: relative;
    z-index: 1;
}


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

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

.AboutUs-Text,
.RelatedItems {
    position: relative;
    z-index: 1;
}

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

    #TopView-Text {
    transform: translate(-50%, 63%);
    }
    
    .AboutUs-container {
        margin-top: 20%;
    }

    #main #image {
        width: 85%;
    }

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

    .AboutUs-Text p span {
        font-size: 18px;
    }

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

    .svg-wrapper {
        top: 30%;
        right: 15%;
    }

    #AboutUs .dynamic-container {
        top: 49% !important;
    }

    @media (max-width: 768px) {
        html[lang="en"] #AboutUs .dynamic-container {
            top: 52%!important;
        }
    }
    
}