@charset "UTF-8";

/* ------------------------------- 
Main Visual
------------------------------- */
.hero {
    position: relative;
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
}

.hero-txt {
    width: 55%;
    max-width: 652px;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 1;
    margin: 0;
}

.hero .video {
    width: 100%;
    height: 100%;
}

.hero .video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero .video::before {
    opacity: 0;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
}

.hero .video.out::before {
    opacity: 1;
}

@media (min-width: 1180px) {
    .hero {
        height: 100vh;
        aspect-ratio: unset;
    }

    .hero-txt {
        width: 100%;
    }

    .hero .video {
        position: fixed;
        top: 0;
        left: 0;
        z-index: -1;
    }

    .hero .video video {
        width: calc(100% - 180px - 60px);
        left: 180px;
    }
}

/* ------------------------------- 
about
------------------------------- */
.sec-about {
    position: relative;
    overflow: hidden;
}

.sec-about::before {
    content: "";
    width: 76px;
    height: 113px;
    background-image: url(../img/top/sakura-img01.png);
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top: 0;
    right: -3%;

}

.about-inner {
    background: #fff;
    width: 100%;
    max-width: 624px;
    padding-top: 56px;
    padding-bottom: 36px;
    margin: 0 auto;
}

.sec-about .sec-title {
    margin-bottom: 40px;
}

.sec-about .bnr-grid {
    margin: 36px 0;
}

@media (min-width: 768px) {
    .sec-about {
        margin-top: 60px;
        margin-bottom: 60px;
        overflow: visible;
    }

    .sec-about::before {
        width: 624px;
        height: 173px;
        background-position: right top;
        top: -40px;
        left: 0;
        right: -68px;
        margin: 0 auto;
    }

    .about-inner {
        padding: 87px;
    }

    .sec-about .comment {
        line-height: 2.5;
    }

    .sec-about .bnr-grid {
        margin: 36px 0 67px;
    }
}

@media (min-width: 1280px) {
    .sec-about {
        margin-bottom: 140px;
    }
}

/* ------------------------------- 
news
------------------------------- */
.sec-news {
    background: #fff;
    padding-top: 40px;
    padding-bottom: 59px;
}

.sec-news .sec-title {
    text-align: center;
    margin-bottom: 48px;
}

.sec-news .block-btn {
    text-align: center;
}

@media (min-width: 768px) {
    .sec-news {
        padding-top: 57px;
        padding-bottom: 95px;
    }
}

@media (min-width: 1024px) {
    .sec-news .sec-title {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        align-items: baseline;
    }
}

@media (min-width: 1280px) {
    .sec-news {
        position: relative;
    }

    .sec-news .block-btn {
        position: absolute;
        top: 90px;
        right: 10vw;
    }
}

/* ------------------------------- 
instagram banner
------------------------------- */
.top-bnr-insta {
    display: block;
    border: solid 1px #C837AB;
    margin-top: 50px;
}

.top-bnr-insta:hover {
    background: #fff0fc;
}

.top-bnr-insta,
.top-bnr-insta .wrap {
    width: 100%;
    position: relative;
}

.top-bnr-insta::before,
.top-bnr-insta::after,
.top-bnr-insta .wrap::before,
.top-bnr-insta .wrap::after {
    content: "";
    position: absolute;
    width: 15px;
    height: 15px;
    background: #C837AB;
}

/* 左上 */
.top-bnr-insta::before {
    top: 0;
    left: 0;
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

/* 右上 */
.top-bnr-insta::after {
    top: 0;
    right: 0;
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}

/* 左下 */
.top-bnr-insta .wrap::before {
    bottom: 0;
    left: 0;
    clip-path: polygon(0 0, 0 100%, 100% 100%);
}

/* 右下 */
.top-bnr-insta .wrap::after {
    bottom: 0;
    right: 0;
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
}

.top-bnr-insta .wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px 5%;
    padding: 40px 20px;
}

.top-bnr-insta .ttl {
    display: block;
    width: 100%;
    max-width: 200px;
}

.top-bnr-insta .img {
    display: block;
    width: 100%;
    max-width: 269px;
}

@media (min-width: 768px) {
    .top-bnr-insta .ttl {
        width: 50%;
        max-width: 405px;
    }

    .top-bnr-insta .img {
        width: 45%;
    }
}

/* ------------------------------- 
job
------------------------------- */
.sec-job {
    position: relative;
    overflow: hidden;
}

.sec-job::before {
    content: "";
    width: 100%;
    aspect-ratio: 1 / 1;
    background-image: url(../img/top/sakura-img02.png);
    background-repeat: no-repeat;
    background-size: 130px auto;
    background-position: right bottom;
    position: absolute;
    top: 3%;
    right: -8%;

}

.sec-job .block-img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
}

.sec-job .block-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top 25% right 0;
}

.sec-job .block-txt {
    width: 100%;
    background: #F1F5ED;
    padding-top: 63px;
    padding-bottom: 45px;
}

@media (min-width: 768px) {
    .sec-job::before {
        background-size: 185px auto;
        top: 1%;
        right: -6%;
    }

    .sec-job .job-inner {
        max-width: 624px;
        margin: 0 auto;
        padding: 0 87px;
    }

    .sec-job .block-txt {
        padding-top: 80px;
        padding-bottom: 90px;
    }

    .sec-job .comment {
        text-align: center;
        margin: 40px 0;
    }
}

@media (min-width: 1280px) {
    .sec-job {
        background: #F1F5ED;
        overflow: visible;
    }

    .sec-job::before {
        width: 45%;
        height: 100%;
        aspect-ratio: unset;
        right: 55%;
    }

    .sec-job .block-img {
        width: 45%;
        aspect-ratio: auto;
    }

    .sec-job .block-txt {
        width: 55%;
        padding: 80px 5vw 90px;
    }

    .sec-job .job-inner {
        padding: 0;
    }
}

/* ------------------------------- 
staff
------------------------------- */
.sec-staff {
    background: #fff;
    padding: 45px 0 60px;
}

/* ------------------------------- 
footer
------------------------------- */
.footer {
    position: relative;
    background: none;
}

.cv-footer::after {
    content: "";
    position: absolute;
    bottom: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    background: #F1F5ED;
}

.cv-footer-grid {
    margin-bottom: 20px;
}

.footer .copyright {
    margin-top: 0;
}

@media (min-width: 768px) {
    .cv-footer::after {
        bottom: -128px;
        height: 128px;
    }
}

@media (min-width: 1180px) {
    .footer::before {
        content: "";
        width: 267px;
        height: 134px;
        position: absolute;
        bottom: 0;
        left: 7vw;
        background-image: url(../img/top/hero-txt.svg);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: bottom left;
    }

    .footer::after {
        content: "";
        width: 207px;
        height: 220px;
        background-image: url(../img/top/sakura-img02.png);
        background-repeat: no-repeat;
        background-size: contain;
        background-position: right bottom;
        position: absolute;
        bottom: 0;
        right: 20px;
        opacity: .3;
        mix-blend-mode: luminosity;
    }

    .cv-footer__entry {
        margin-bottom: 0;
    }

    .footer .copyright {
        color: #fff;
        background: none;
        margin-top: 70vh;
    }
}

/* ------------------------------- 
video modal 動画モーダル
------------------------------- */
/* バナー */
.wrap-video {
    text-align: center;
}

.movie-banner {
    display: block;
    border: none;
    background: none;
    padding: 0;
    margin: 2rem auto;
    cursor: pointer;
    transition: transform .6s ease;
}

.movie-banner img {
    width: 100%;
    /* max-width: 328px; */
    height: auto;
    display: block;
}

@media (min-width: 768px) {
    .wrap-video {
        display: flex;
        justify-content: flex-end;
        align-items: flex-end;
        position: absolute;
        top: 61px;
        right: 0;
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    .movie-banner {
        margin: 0;
    }

    .wrap-video .wrap-common {
        padding: 0;
        width: 30%;
    }

    .movie-banner img {
        max-width: 328px;
    }
}

@media (min-width: 1180px) {
    .wrap-video {
        width: calc(100% - 180px - 60px);
        height: 100vh;
        aspect-ratio: unset;
        top: 0;
        left: 180px;
    }

    .wrap-video .wrap-common {
        padding: 3rem;
        width: auto;
    }

    .movie-banner:hover {
        transform: translate(0, -10px);
    }
}

/* モーダル */
.movie-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;

    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

/* 開いた時 */
.movie-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.movie-modal__bg {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 1);
}

.movie-modal__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: min(90vw, 1280px);
}

/* 閉じるボタン */
.movie-modal__close {
    position: absolute;
    top: -40px;
    right: 0;

    border: none;
    background: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
}

/* 動画比率 */
.movie-modal__video {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 */
    background: #000;
}

.movie-modal__video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}