body{
    font-size: 16px;
    background-image: url('images/yasai/back.jpg');
    background-repeat: repeat;
    background-size: 1300px;
    background-position: center center;
    font-family: "Zen Maru Gothic", serif;
    font-weight: 400;
    font-style: normal;
}

.container{
    max-width: 1200px !important;
    /* background-color: #eee; */
    position: relative;
}

img.main-logo{
    position: absolute;
    left: 50%;
    margin-left:-30%;
    top: 20%;
    width: 60%;
}

.main-visual{
    height: 70vw;
    max-height: 900px;
    margin-bottom: 10vw;
    position: relative;
}

.yasai{
    position: absolute;
}

.yasai1{
    left: 5%;
    top: 5%;
    width: 20%;
}

.yasai2{
    left: 50%;
    margin-left: -17.5%;
    top: 0%;
    width: 35%;
}

.yasai3{
    right: 8%;
    top: 2%;
    width: 18%;
}

.yasai4{
    right: 0%;
    top: 26%;
    width: 22%;
}

.yasai5{
    left: 5%;
    top: 48%;
    width: 15%;
}

.yasai6{
    left: 5%;
    top: 77%;
    width: 25%;
}

.yasai7{
    right: 0%;
    top: 62%;
    width: 45%;
}

.wada1{
    position: absolute;
    bottom: -10%;
    width: 28%;
    left: 50%;
    margin-left: -22%;
}

.wada2{
    position: absolute;
    bottom: -10%;
    width: 28%;
    right: 2%;
    width: 40%;
    max-width: 300px;
}


.yasai-large{
    width: 100%;
}

.yasai-text{
    font-size:1.4rem;
    color:#735029;
    text-align: justify;
    line-height: 3rem;
}

.yasai_large_box{
    background-size: contain;
    background-position: top center;
    background-repeat: no-repeat;
    padding-top: 25%;
}

.yasai_large_box1{
    background-image: url('./images/yasai/yasai_large1.svg');
}

.yasai_large_box2{
    background-image: url('./images/yasai/yasai_large2.svg');
}

.yasai_large_box3{
    background-image: url('./images/yasai/yasai_large3.svg');
}

.movie-box{
    width: 280px;
    /* height: 485px; */
    border-radius: 8px;
    margin: auto;
    padding: 10px;
    /* margin-left: -140px;
    position: absolute;
    left: 50%;
    top: 35%; */
}

.wada-anim{
    transform: rotate(0deg);
    animation: anim 2s  1s infinite ease-in-out;
}

.wada-anim2{
    animation: anim2 2s  1s infinite ease-in-out;
}

.pagetop {
    width: 20vw;
    height: 20vw;
    max-width: 250px;
    max-height: 250px;
    min-width: 65px;
    border-radius: 50%;
    position: fixed;
    bottom: 30px;
    right: 10px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 9999;
}

.pagetop img{
    width: 100%;
    max-width:100px;
}

.footer-logo{
    max-width: 160px;
    width: 15vw;
    padding: 30px 0;
}

a img{
    transition: .5s;
}

a img:hover{
    transform: scale(1.05);
}


/*1.フェードインアニメーションの指定*/
.scrollanime {
    opacity: 0;
}

/*一瞬表示されるのを防ぐ*/
.fadeInDown {
    animation-name: fadeInDown;
    animation-duration: 2s;
    animation-duration: 1.5s;
    animation-fill-mode: forwards;
}

/*横スクロールバーを隠す*/
.slide-right {
    transform: translateX(200px);
}

.slide-left {
    transform: translateX(-200px);
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
        transform: translate(0);
    }
}

/*2.上下の動きを指定*/
.updown {
    transform: translateY(-100px);
}

.downup {
    transform: translateY(100px);
}

@keyframes anim {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(5deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@keyframes anim2 {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

.fukidashi-box{
    display: flex;
    position: relative;
}

.cloud_moon{
    position: absolute;
    top: -8%;
    left: 12%;
    z-index:1;
    width: 60%;
}

.fukidashi{
    width: 100%;
    max-width: 550px;
}
.fukidashi-sm{
    display: none;
}    
.wada3{
    width: 60%;

    /* margin-left:500px; */
    padding-top: 40px;   
    max-width: 300px;
    position: relative;
    z-index: 9;
}

.movie-box1{
    background-image:url('./images/yasai/movie_bk1.png');
    background-size: cover;
}

.movie-box2{
    background-image:url('./images/yasai/movie_bk2.png');
    background-size: cover;
}

.movie-box3{
    background-image:url('./images/yasai/movie_bk3.png');
    background-size: cover;
}

@media screen and (max-width: 950px) {

    .cloud_moon{
        top: -20%;
        width: 80%;
    }
}

@media screen and (max-width: 920px) {

    .cloud_moon{
        top: -8%;
    }
    .fukidashi-box{
        display: block;
    }

    .wada3{
        width: 60%;
        margin-left:0;
        left: 50%;
        margin-top: -20%;  
        max-width: 300px;
    }
}

@media screen and (max-width: 780px) {

    .fukidashi{
        display: none;
    }

    .fukidashi-sm{
        display: block;
        margin: auto;
        width: 100%;
    }    

    .wada3{
        margin-top: -15%;
        margin-left: -15%;
    }
}

@media screen and (max-width: 640px) {

.yasai_large_box1{
    background-image: url('./images/yasai/yasai_large1-sm.png');
}

.yasai_large_box2{
    background-image: url('./images/yasai/yasai_large2-sm.png');
}

.yasai_large_box3{
    background-image: url('./images/yasai/yasai_large3-sm.png');
}


    img.main-logo{
        width: 90%;
        margin-left: -45%;
    }

    .main-visual{
        height: 80vw;
        margin-bottom: 60vw;
    }

    .wada1{
        width: 52%;
        top: 75%;
        animation: anim 2s infinite;
    }

    .yasai-text{
        font-size:1rem;
        line-height: 2;
    }

    .yasai1{
        top: -5%;
    }


    .yasai5{
        top: 75%;
        width: 25%;
        left: 15%;
    }


    .yasai6{
        top: 110%;
        width: 35%;
    }

    .yasai7{
        top: 90%;
        width: 55%;
    }

    .wada2{
        bottom: -70%;
    }

    .movie-box{
        margin-top: 45px;
    }


}
@media screen and (max-width: 400px) {

    .wada3{
        margin-top: -25%;
        margin-left: -15%;
    }
}