@charset "utf-8";

/* -----------------------------------------------------------
    
----------------------------------------------------------- */
:root {
    --mv-height: clamp(700px, 100vh, 1000px);
}

.h1-area {
    top: calc(var(--mv-height) - 20px);
    position: absolute;
    left: 50%;
    width: var(--inner-wide);
    transform: translateX(-50%);
    z-index: 1;
}

.h1-area h1 {
    font-size: 1.2rem;
    color: #aaa;
    text-align: right;
}

@media screen and (max-width: 768px) {
    :root {
        --mv-height: 130vw;
    }

    .h1-area {
        top: calc(var(--mv-height) - 20px);
        width: 100%;
    }

    .h1-area h1 {
        padding: 0 5vw;
        font-size: 1.0rem;
    }

}

/* -----------------------------------------------------------
    採用TOP
----------------------------------------------------------- */
.mv-area {
    background: url(../img/webp/top-mv.webp) center/cover, no-repeat;
    height: var(--mv-height);
}

.mv-area .inner {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.mv-area .logo-wrap {
    width: clamp(400px, 35vw, 700px);
}

.mv-area .logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mv-area .mv-logo-txt {
    font-size: clamp(2.0rem, 1.3cqw, 2.6rem);
    font-weight: 600;
    line-height: 1.5;
    margin-top: 10px;
}

.mv-area .mv-catch {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: clamp(4.0rem, 2.8cqw, 6.0rem);
    font-family: var(--serif);
    line-height: 1.3;
    margin-top: 50px;
    letter-spacing: .1em;
}

.mv-area .mv-catch span {
    padding: 5px 0 5px 25px;
    background-color: #fff;
}

@media screen and (max-width: 768px) {
    .mv-area {
        background: url(../img/webp/top-mv-sp.webp) center/cover, no-repeat;
        /* aspect-ratio: 375/460; */
    }

    .mv-area .inner {
        padding-bottom: 15vw;
    }

    .mv-area .logo-wrap {
        width: clamp(200px, 70vw, 400px);
    }

    .mv-area .mv-logo-txt {
        font-size: clamp(1.6rem, 4.5cqw, 2.0rem);
        margin-top: 5px;
    }

    .mv-area .mv-catch {
        font-size: clamp(2.0rem, 6cqw, 3.0rem);
        margin-top: 3vw;
    }

    .mv-area .mv-catch span {
        padding: 5px;
        background: rgba(255, 255, 255, .8);
    }

}

/*-------------------------------------
    catch-area
-------------------------------------*/
.catch-area {
    padding: 100px 0 0;
}

.catch-area .inner {
    display: flex;
    gap: clamp(50px, 5vw, 100px);
    align-items: flex-end;
    justify-content: space-between;
}

.catch-area .catch-txt {
    flex-shrink: 0;
    margin-bottom: 70px;
}

.catch-area .catch-txt .catch {
    font-size: clamp(3.0rem, 2.5cqw, 4.2rem);
    margin: 0;
}

@media screen and (max-width: 768px) {
    .catch-area {
        padding: 10vw 0;
    }

    .catch-area .inner {
        gap: 0;
        flex-wrap: wrap;
    }

    .catch-area .catch-txt {
        flex-shrink: initial;
        margin-bottom: 5vw;
        width: 100%;
    }

    .catch-area .catch-txt .sub-catch {
        font-size: clamp(1.5rem, 4.3cqw, 1.8rem);
    }

    .catch-area .catch-txt .catch {
        font-size: clamp(2.0rem, 6.2cqw, 3.0rem);
        margin: 0;
    }
}

/* -----------------------------------------------------------
    btn-area
----------------------------------------------------------- */
.btn-area {
    padding: 100px 0;
}

.btn-area .inner {
    --gap: clamp(50px, 5vw, 100px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--gap);
    width: 1200px;
}

.btn-area .btn {
    border-radius: 30px;
    overflow: hidden;
    width: calc((100% - var(--gap)) / 2);
    display: block;
    aspect-ratio: 58/70;
    position: relative;
    container-type: inline-size;
}

.btn-area #btn-cast {
    background: url(../img/webp/top-btn-cast.webp) center/cover, no-repeat;
}

.btn-area #btn-staff {
    background: url(../img/webp/top-btn-staff.webp) center/cover, no-repeat;
}

.btn-area .btn .btn-title {
    color: #fff;
    padding: 5px 20px;
    font-size: 1.8rem;
    line-height: 1.5;
    font-weight: 600;
    display: inline-block;
}

.btn-area #btn-cast .btn-title {
    background-color: #D6796F;
}

.btn-area #btn-staff .btn-title {
    background-color: #56BCA9;
}

.btn-area .btn-inner-txt {
    position: absolute;
    bottom: clamp(40px, 3vw, 60px);
    left: 0;
    width: 100%;
    text-align: center;
}

.btn-area .btn-catch {
    margin-top: 20px;
    color: #fff;
    font-family: var(--serif);
    line-height: 1.5;
    font-size: 2.8rem;
}

.btn-area .btn-more {
    margin-top: 30px;
}

.btn-area .btn .btn-more>* {
    background-color: transparent;
    transition: all .4s;
}

@media screen and (min-width: 769px) {
    .btn-area .btn:hover {
        transform: translateY(-10px);
        opacity: .8;
    }

    .btn-area .btn:hover .btn-more>*::after {
        transform: translateX(5px);
        background: url(../img/arrow-black.svg) no-repeat center/contain;
    }

    .btn-area .btn:hover .btn-more>* {
        color: var(--cmnblack);
        background-color: rgba(255, 255, 255, .7);
    }
}

@media screen and (max-width: 768px) {
    .btn-area {
        padding: 0 0 10vw;
    }

    .btn-area .inner {
        width: 100%;
        gap: 5vw;
        flex-wrap: wrap;
    }

    .btn-area .btn {
        border-radius: 5vw;
        width: 100%;
    }

    .btn-area .btn-inner-txt {
        bottom: clamp(20px, 7vw, 40px);
    }

    .btn-area .btn .btn-title {
        padding: 4px 10px;
        font-size: 1.6rem;
    }

    .btn-area .btn-catch {
        margin-top: 3vw;
        font-size: 2.1rem;
    }

    .btn-area .btn-more {
        margin-top: 5vw;
    }
}

/* -----------------------------------------------------------
    text-slider
----------------------------------------------------------- */
.text-slider-wrap {
    position: relative;
    height: 128px;
    overflow: hidden;
}

.text-slider {
    position: absolute;
    background: url(../img/webp/top-text-slider.webp) repeat-x 0 0;
    --txt-bg-width: 2800px;
    --txt-loop-duration: 20s;
    background-size: var(--txt-bg-width) 128px;
    width: 100%;
    height: 100%;
    animation: text-loop var(--txt-loop-duration) linear infinite;
    top: 0;
    will-change: background-position;
}

@keyframes text-loop {

    0% {
        background-position: 0 0;
    }

    100% {
        background-position: calc(var(--txt-bg-width) * -1) 0;
    }
}

@media screen and (max-width: 768px) {
    .text-slider-wrap {
        height: 32px;
    }

    .text-slider {
        --txt-bg-width: 700px;
        background-size: var(--txt-bg-width) 32px;
    }

}