@charset "utf-8";

/* --------------------------------------------


index


---------------------------------------------- */

#mainV h1 {
    position: relative;
    width: 100%;
    height: 94vh;
}

#mainV img {
    position: relative;
    width: 600px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media only screen and (max-width:640px) {

    #mainV img {
        position: relative;
        width: 80%;
    }
}


/* --------------------------------------------


index共通


---------------------------------------------- */
.fv {
    position: relative;
}

.scroll-sign {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    font-size: 1.4rem;
    letter-spacing: 4px;
    line-height: 1;
}

.scroll-sign::after {
    content: "";
    display: block;
    width: 1px;
    height: 60px;
    margin: 8px auto 0;
    background: currentColor;
    animation: scrollLine 1.6s ease-in-out infinite;
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    50.1% {
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}



#main {
    width: 960px;
    margin: 120px auto 200px;
}

.img__box {
    margin: 120px auto;
}

.img__box .img-frame {
    position: relative;
    overflow: hidden;
    /* box-shadow: 0px 0px 10px 5px #aaa; */
}

.size200 {
    width: 200px;
    height: 200px;
}

.size300 {
    width: 300px;
    height: 300px;
}

.size400 {
    width: 400px;
    height: 400px;
}

.img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.index__box {
    margin: 80px 0;
}

.index__box h2 {
    font-size: 36px;
    font-size: 3.6rem;
}

.index__box p {
    margin: 40px 0;
}

.index__box .linkBtn {
    font-size: 36px;
    font-size: 3.6rem;
}


.flow-price {
    width: 460px;
    margin: 80px 0 80px auto;
    text-align: end;
}


@media only screen and (max-width:640px) {
    #main {
        width: 100%;
        margin: 160px auto;
    }

    .img__box {
        margin: 80px auto;
    }

    .index__box {
        width: 94%;
        margin: 160px auto 170px;
        text-align: end;
    }

    .index__box h2 {
        font-size: 24px;
        font-size: 2.4rem;
    }

    .index__box .linkBtn {
        font-size: 32px;
        font-size: 3.2rem;
        text-align: end;
    }
}


/* --------------------------------------------


img__box　個別設定


---------------------------------------------- */

.box1 .img-frame:nth-child(2) {
    margin-top: -80px;
    left: 180px;
    z-index: 4;
}

.box1 .img-frame:nth-child(3) {
    margin-top: -280px;
    left: 850px;
    z-index: 2;
}

.box1 .img-frame:nth-child(4) {
    margin-top: -80px;
    left: 560px;
    z-index: 1;
}

.box1 .img-frame:nth-child(5) {
    margin-top: -20px;
    left: 300px;
    z-index: 3;
}

.box2 .img-frame:nth-child(1) {
    left: 700px;
    z-index: 3;
}

.box2 .img-frame:nth-child(2) {
    margin-top: -20px;
    left: 840px;
    z-index: 4;
}

.box2 .img-frame:nth-child(3) {
    margin-top: -240px;
    left: 420px;
    z-index: 1;
}

.box2 .img-frame:nth-child(4) {
    margin-top: -100px;
    left: 40px;
    z-index: 2;
}

.box2 .img-frame:nth-child(5) {
    margin-top: -20px;
    z-index: 4;
}

.box3 .img-frame:nth-child(1) {
    left: -80px;
    z-index: 3;
}

.box3 .img-frame:nth-child(2) {
    left: 80px;
    margin-top: -40px;
    z-index: 1;
}

.box3 .img-frame:nth-child(3) {
    margin-top: -240px;
    left: 720px;
    z-index: 3;
}

.box3 .img-frame:nth-child(4) {
    left: 440px;
    margin-top: -80px;
    z-index: 2;
}

.box3 .img-frame:nth-child(5) {
    margin-top: -240px;
    left: 800px;
    z-index: 1;
}

.box3 .img-frame:nth-child(6) {
    margin-top: -20px;
    left: 660px;
    z-index: 2;
}

.box3 .img-frame:nth-child(7) {
    margin-top: -20px;
    left: 420px;
    z-index: 3;
}

.box4 .img-frame:nth-child(1) {
    left: 400px;
    z-index: 3;
}

.box4 .img-frame:nth-child(2) {
    left: 260px;
    margin-top: -20px;
    z-index: 1;
}

.box4 .img-frame:nth-child(3) {
    margin-top: -20px;
    left: 0px;
    z-index: 2;
}

.box4 .img-frame:nth-child(4) {
    left: 360px;
    margin-top: -40px;
    z-index: 3;
}

.box4 .img-frame:nth-child(5) {
    margin-top: -20px;
    left: 520px;
    z-index: 4;
}

.box4 .img-frame:nth-child(6) {
    margin-top: -20px;
    left: 660px;
    z-index: 2;
}

.box4 .img-frame:nth-child(7) {
    margin-top: -20px;
    left: 440px;
    z-index: 3;
}

.box4 .img-frame:nth-child(8) {
    margin-top: -20px;
    left: 140px;
    z-index: 5;
}

@media only screen and (max-width:640px) {

    .img-frame {
        margin-top: -10px !important;
    }

    .box1 .img-frame:nth-child(1) {
        left: 40px;
    }

    .box1 .img-frame:nth-child(2) {
        left: 120px;
        z-index: 4;
    }

    .box1 .img-frame:nth-child(3) {
        left: 400px;
        z-index: 2;
    }

    .box1 .img-frame:nth-child(4) {
        left: 200px;
        z-index: 1;
    }

    .box1 .img-frame:nth-child(5) {
        left: 40px;
        z-index: 5;
    }

    .box2 .img-frame:nth-child(1) {
        left: 100px;
        z-index: 3;
    }

    .box2 .img-frame:nth-child(2) {
        left: 400px;
        z-index: 4;
    }

    .box2 .img-frame:nth-child(3) {
        left: 220px;
        z-index: 1;
    }

    .box2 .img-frame:nth-child(4) {
        left: 40px;
        z-index: 2;
    }

    .box2 .img-frame:nth-child(5) {
        left: 360px;
        z-index: 2;
    }

    .box3 .img-frame:nth-child(1) {
        left: 400px;
        z-index: 3;
    }

    .box3 .img-frame:nth-child(2) {
        left: 140px;
        z-index: 1;
    }

    .box3 .img-frame:nth-child(3) {
        left: 40px;
        z-index: 3;
    }

    .box3 .img-frame:nth-child(4) {
        left: 120px;
        z-index: 2;
    }

    .box3 .img-frame:nth-child(5) {
        left: 200px;
        z-index: 1;
    }

    .box3 .img-frame:nth-child(6) {
        left: 60px;
        z-index: 2;
    }

    .box3 .img-frame:nth-child(7) {
        left: 220px;
        z-index: 2;
    }

    .box4 .img-frame:nth-child(1) {
        left: 200px;
        z-index: 3;
    }

    .box4 .img-frame:nth-child(2) {
        left: 400px;
        z-index: 1;
    }

    .box4 .img-frame:nth-child(3) {
        left: 80px;
        z-index: 2;
    }

    .box4 .img-frame:nth-child(4) {
        left: 160px;
        z-index: 3;
    }

    .box4 .img-frame:nth-child(5) {
        left: 280px;
        z-index: 4;
    }

    .box4 .img-frame:nth-child(6) {
        left: 60px;
        z-index: 2;
    }

    .box4 .img-frame:nth-child(7) {
        left: 280px;
        z-index: 2;
    }

    .box4 .img-frame:nth-child(8) {
        left: 120px;
        z-index: 2;
    }
}