/* 文字の大きさ */

h1,
h2 {
    margin: 0;
}

#App {
    position: relative;
    margin: 5% 0;
}

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

#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;
}

.Center-text {
    font-size: 80px;
    font-weight: bold;
    background: linear-gradient(90deg, #F4C5A1 1%, #FFE6B4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    justify-content: center;
    margin-top: 10%;
}

.number {
    display: flex;
    margin: 0 0 4% 10%;
    font-style: italic;
    position: relative;
    z-index: 2;
}

.subtitle {
    width: 100%;
    margin: 1% 0 0 3%;
}

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

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

.number p {
    font-size: 25px;
    font-weight: bold;
    color: #363636;
    font-style: normal;
    margin: 0;
}


.ColorfulTitle {
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, #FCD9BE 0%, #FEE5B7 42%, #E4EBCD 75%, #D7EBD9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 100px;
    margin: 0 10%;
    font-style: italic;
    text-align: right;
}

.App-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 8%;
}



.App-text {
    width: 665px;
    margin-top: 6%;
}

.App-text h2 {
    font-size: 27px;
    margin: -2% 0 8% 0;
}

.App-text p {
    font-size: 18px;
    margin: 4% 0;
}

/* 画像サイズ */



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

.App-container img {
    position: relative;
    width: 280px;
}


.gallery-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    margin: 10% auto;
}


.gallery-img {
    width: 85%;
    height: auto;
}

#gallery1,
#gallery3 {
    margin-top: 12%;
}


.gallery-list {
    position: relative;
    z-index: 1;
    display: flex;
    list-style: none;
    padding: 0;
    margin: 5% 0;
    width: max-content;
    animation: infinity-scroll-left 60s infinite linear 0.5s both;
}

.gallery-list li {
    flex-shrink: 0;
    width: 25vw;
    padding: 0 0.5vw;
}

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


/* アニメーション */

#App {
    position: relative;
}

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

#gallery {
    position: relative;
    margin: 7% 0 10% 0;
}


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

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


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

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

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

    #TopView-Text {
        transform: translate(-50%, 55%);
      }
      
    #TopView-Text h1 {
        font-size: 44px;
    }

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

    #App {
        margin-top: 20%;
    }

    /* 英語ページのメディアクエリ */
@media (max-width: 768px) {
    html[lang="en"] #App {
        margin-top: 30%;
    }
}

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

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

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

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


    .number {
        margin: 10% 0 0 5%;
        flex-direction: column;
    }

    .subtitle {
        margin: 0%;
    }

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

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

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

    .App-container {
        flex-direction: column;
    }

    .App-text {
        width: 90%;
        order: 1;
        margin: 10% auto;
    }

    .App-container img {
        order: 2;
        margin: 3% auto;
    }

    .App-text h2 {
        font-size: 22px;
        margin: 0;
    }

    .App-text p {
        font-size: 17px;
    }

    .ColorfulTitle {
        text-align: center;
        font-size: 35px;
        margin: 15% 0 10%;
    }

    #main #image {
        width: 85%;
    }

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

    .svg-wrapper {
        top: 60%;
        left: 25%;
    }

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

    #dynamic-container2 {
        top: 60% !important;
    }

    #dynamic-container3 {
        top: 68% !important;
    }

    .gallery-list {
        animation: smartphone-scroll-left 18s infinite linear 1s both;
    }

    .gallery-list li {
        width: 50vw;
    }

}

