.hero-video{
    position:relative;
    width:100%;
    height:100vh;
    min-height:600px;
    margin-top:-100px;
    overflow:hidden;
    background:#000;
}

.hero-video__stage{
    position:absolute;
    inset:0;
    overflow:hidden;
    background:#000;
}

.hero-video__item{
    position:absolute;
    inset:0;
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    opacity:0;
    visibility:visible;
    filter:brightness(.7) contrast(.9) saturate(.78);
    transform:scale(1.015);
    pointer-events:none;
    background:#000;
    will-change:opacity;
}

.hero-video__item.is-active{
    opacity:1;
}

.hero-video__item.is-fading{
    opacity:0;
    transition:opacity 2.2s cubic-bezier(.25,.1,.25,1);
}

.hero-video__item.is-showing{
    opacity:1;
    transition:opacity 2.2s cubic-bezier(.25,.1,.25,1);
}

.hero-video__overlay{
    position:absolute;
    inset:0;
    z-index:2;
    pointer-events:none;
    background:linear-gradient(90deg,rgba(0,0,0,.62) 0%,rgba(0,0,0,.43) 28%,rgba(0,0,0,.2) 58%,rgba(0,0,0,.08) 100%);
}

.hero-video__content{
    position:absolute;
    z-index:3;
    top:50%;
    left:0;
    width:min(720px,calc(100% - 80px));
    margin-left:max(60px,calc((100vw - 1400px) / 2));
    color:#fff;
    transform:translateY(-50%);
}

.hero-video__title{
    display:block;
    visibility:hidden;
    margin:0;
    font-size:clamp(1.4rem,3vw,3.4rem);
    font-weight:700;
    line-height:1.35;
    letter-spacing:.08em;
    text-shadow:0 2px 14px rgba(0,0,0,.35);
}

.hero-video__title .hero-video__line{
    display:block;
    white-space:nowrap;
}

.hero-video__title.is-ready{
    visibility:visible;
}

.hero-video__title span{
    display:inline-block;
    opacity:0;
    transform:translateY(8px);
}

.hero-video__title.is-typing span{
    animation:heroVideoTyping .06s ease forwards;
}

.hero-video__text{
    max-width:650px;
    margin:28px 0 32px;
    font-size:clamp(.95rem,1.15vw,1.15rem);
    line-height:2;
    letter-spacing:.08em;
    opacity:0;
    visibility:hidden;
    transform:translateY(35px);
    text-shadow:0 2px 12px rgba(0,0,0,.35);
}

.hero-video__text.is-show{
    visibility:visible;
    animation:heroVideoTextIn .9s cubic-bezier(.22,1,.36,1) forwards;
}

.hero-video__content .btn{
    opacity:0;
    visibility:hidden;
    transform:translateY(25px);
    pointer-events:none;
}

.hero-video__content .btn.is-show{
    visibility:visible;
    animation:heroVideoButtonIn .8s cubic-bezier(.22,1,.36,1) forwards;
    pointer-events:auto;
}

.hero-video__loading{
    position:absolute;
    inset:0;
    z-index:20;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#000;
    opacity:1;
    visibility:visible;
    transition:opacity .8s ease,visibility .8s ease;
}

.hero-video__loading.is-hidden{
    opacity:0;
    visibility:hidden;
    pointer-events:none;
}

.spinner{
    width:40px;
    height:40px;
    border:4px solid rgba(0,0,0,.1);
    border-radius:50%;
    border-top-color:#6c5ce7;
    animation:spin 1s ease-in-out infinite;
}

@keyframes spin{
    to{
        transform:rotate(360deg);
    }
}

@keyframes heroVideoTyping{
    from{
        opacity:0;
        transform:translateY(8px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

@keyframes heroVideoTextIn{
    from{
        opacity:0;
        transform:translateY(35px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

@keyframes heroVideoButtonIn{
    from{
        opacity:0;
        transform:translateY(25px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

@media (max-width:1024px){
    .hero-video__content{
        width:calc(100% - 80px);
        margin-left:40px;
    }

    .hero-video__title{
        font-size:clamp(2rem,5vw,3.2rem);
    }

    .hero-video__text{
        max-width:600px;
    }
}

@media (max-width:767px){
    .hero-video{
        width:100%;
        height:450px;
        min-height:400px;
        max-height:500px;
        margin-top:-100px;
    }

    .hero-video__item{
        filter:brightness(.67) contrast(.91) saturate(.76);
    }

    .hero-video__overlay{
        background:linear-gradient(180deg,rgba(0,0,0,.18) 0%,rgba(0,0,0,.16) 32%,rgba(0,0,0,.58) 100%);
    }

    .hero-video__content{
        top:50%;
        left:0;
        width:calc(100% - 55px);
        margin-left:20px;
        transform:translateY(-42%);
    }

    .hero-video__title{
        font-size:clamp(1.4rem,5.8vw,1.8rem);
        line-height:1.4;
        letter-spacing:.015em;
        white-space:nowrap;
    }

    .hero-video__text{
        width:100%;
        max-width:none;
        margin:17px 0 22px;
        font-size:.76rem;
        line-height:1.8;
        letter-spacing:0;
    }

    .hero-video__content .btn{
        margin-right:35px;
        font-size:.84rem;
    }
}

@media (max-width:480px){
    .hero-video{
        height:430px;
        min-height:400px;
    }

    .hero-video__content{
        width:calc(100% - 45px);
        margin-left:15px;
        transform:translateY(-42%);
    }

    .hero-video__title{
        font-size:1.3rem;
        letter-spacing:0;
    }

    .hero-video__text{
        font-size:.7rem;
        line-height:1.75;
    }

    .hero-video__content .btn{
        margin-right:30px;
        font-size:.78rem;
    }
}



/* =========================
   全体の定義
========================= */

:root{
    --color-main:#004b8d;
    --color-sub:#006eb6;
    --color-accent:#1a8bd1;
    --color-text:#222;
    --color-light:#fff;
    --color-gray:#f4f6f8;
    --color-border:#d9dde2;
    --content-width:1200px;
    --section-padding:90px;
    --transition:.4s ease;
}

/* =========================
   コンテナ設定
========================= */

.container{
    width:min(100% - 80px,var(--content-width));
    margin-inline:auto;
}

@media(max-width:768px){
    .container{
        width:min(100% - 30px,var(--content-width));
    }
}

/* =========================
   全体のセクション定義
========================= */

.section{
    position:relative;
    padding:var(--section-padding) 0;
    overflow:hidden;
}

.section__background{
    position:absolute;
    inset:0;
    pointer-events:none;
    overflow:hidden;
}

.section__bg-text{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    font-size:16rem;
    font-weight:700;
    color:#f6f7f8;
    white-space:nowrap;
    letter-spacing:.05em;
}

.section-heading{
    position:relative;
    margin-bottom:38px;
}

.section-heading__en{
    display:block;
    margin-bottom:10px;
    font-size:.9rem;
    font-weight:600;
    letter-spacing:.22em;
}

.section-heading__jp{
    margin:0;
    font-size:3rem;
    font-weight:700;
    line-height:1.4;
    letter-spacing:.06em;
    color:var(--color-main);
}

/* =========================
   Section Responsive
========================= */

@media(max-width:1100px){

    .section-heading{
        margin-bottom:32px;
    }

    .section-heading__en{
        margin-bottom:9px;
        font-size:.85rem;
    }

    .section-heading__jp{
        font-size:2.7rem;
    }

}

@media(max-width:768px){

    .section{
        padding:75px 0;
    }

    .section-heading{
        margin-bottom:28px;
    }

    .section-heading__en{
        margin-bottom:8px;
        font-size:.8rem;
        letter-spacing:.16em;
    }

    .section-heading__jp{
        font-size:2.2rem;
        line-height:1.4;
        letter-spacing:.04em;
    }

}

@media(max-width:480px){

    .section{
        padding:65px 0;
    }

    .section-heading{
        margin-bottom:25px;
    }

    .section-heading__en{
        font-size:.75rem;
    }

    .section-heading__jp{
        font-size:2rem;
    }

}

/* ==================================================
                     Message
================================================== */

.message{
    background:#fff;
}

.message .section__background{
    z-index:0;
}

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

/* =========================
   Message Layout
========================= */

.message__layout{
    display:grid;
    grid-template-columns:minmax(300px,520px) minmax(400px,600px);
    justify-content:space-between;
    align-items:center;
    gap:70px;
}

/* =========================
   Content
========================= */

.message__lead{
    margin:0 0 25px;
    font-size:2.1rem;
    font-weight:700;
    line-height:1.55;
    letter-spacing:.05em;
}

.message__text{
    margin:0 0 20px;
    color:#555;
    font-size:.95rem;
    line-height:2.1;
}

.message__content .btn{
    margin-top:22px;
}

/* =========================
   Image
========================= */

.message__image{
    position:relative;
}

.message__image figure{
    position:relative;
    margin:0;
    overflow:hidden;
}

.message__image img{
    width:100%;
    height:auto;
    aspect-ratio:4 / 3;
    object-fit:cover;
}

.message__image-line{
    position:absolute;
    right:-25px;
    bottom:-25px;
    width:80%;
    height:80%;
    border:1px solid var(--color-main);
    z-index:-1;
}

/* =========================
   Animation Delay
========================= */

.message__content[data-animate]{
    transition-delay:.1s;
}

.message__image[data-animate]{
    transition-delay:.25s;
}

/* =========================
   Message Responsive
========================= */

@media(max-width:1100px){

    .message__layout{
        grid-template-columns:1fr;
        gap:50px;
    }

    .message__content{
        max-width:700px;
    }

    .message__image{
        width:100%;
        max-width:650px;
        margin-left:auto;
    }

}

@media(max-width:768px){

    .message{
        padding:70px 0;
    }

    .message__layout{
        gap:40px;
    }

    .message__lead{
        margin-bottom:20px;
        font-size:1.8rem;
        line-height:1.55;
    }

    .message__text{
        margin-bottom:18px;
        font-size:.9rem;
        line-height:2;
    }

    .message__content .btn{
        margin-top:18px;
    }

    .message__image-line{
        right:-12px;
        bottom:-12px;
    }

}

@media(max-width:480px){

    .message{
        padding:60px 0;
    }

    .message__layout{
        gap:32px;
    }

    .message__lead{
        font-size:1.6rem;
    }

    .message__text{
        font-size:.84rem;
        line-height:1.95;
    }

    .message__image-line{
        right:-10px;
        bottom:-10px;
    }

}

/* ==================================================
                     事業概要
================================================== */

.business{
    background:#f7f8fa;
}

.business .section__background{
    z-index:0;
}

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

.business__lead{
    max-width:700px;
    margin:-12px 0 55px;
    color:#555;
    font-size:.95rem;
    line-height:2.1;
}

.business__slider{
    overflow:hidden;
}

.business__track{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.business-card{
    position:relative;
    background:#fff;
    transition:.4s ease;
}

.business-card__image{
    position:relative;
    overflow:hidden;
}

.business-card__image img{
    width:100%;
    aspect-ratio:4 / 3;
    object-fit:cover;
    transition:.6s ease;
}

.business-card__content{
    position:relative;
    padding:28px 24px 32px;
}

.business-card__number{
    position:absolute;
    top:-18px;
    right:18px;
    font-size:4rem;
    font-weight:700;
    color:var(--color-main);
    line-height:1;
}

.business-card__en{
    margin:0 0 7px;
    font-size:.78rem;
    color:var(--color-main);
    letter-spacing:.2em;
    font-weight:600;
}

.business-card h3{
    margin:0 0 14px;
    font-size:1.35rem;
    letter-spacing:.05em;
    line-height:1.5;
    color:var(--color-main);
}

.business-card p{
    margin:0;
    color:#555;
    font-size:.86rem;
    line-height:1.9;
}

.business-card .btn{
    margin-top:20px;
    min-width:145px;
    height:46px;
}

.business .section-footer{
    margin-top:55px;
    text-align:center;
}

/* =========================
   Hover PC Only
========================= */

@media(hover:hover){

    .business-card:hover .btn{
        background:var(--color-main);
        color:#fff;
    }

}

/* =========================
   Business Responsive
========================= */

@media(max-width:1100px){

    .business__lead{
        margin-bottom:45px;
    }

    .business__track{
        grid-template-columns:repeat(2,1fr);
        gap:24px;
    }

}

@media(max-width:768px){

    .business{
        padding:70px 0 20px;
    }

    .business__lead{
        margin:0 0 32px;
        font-size:.9rem;
        line-height:2;
    }

    .business__track{
        grid-template-columns:1fr;
        gap:22px;
    }

    .business-card__content{
        padding:25px 20px 28px;
    }

    .business-card__number{
        top:-16px;
        right:16px;
        font-size:3.2rem;
    }

    .business-card__en{
        font-size:.76rem;
    }

    .business-card h3{
        margin-bottom:12px;
        font-size:1.3rem;
    }

    .business-card p{
        font-size:.84rem;
        line-height:1.85;
    }

    .business-card .btn{
        width:100%;
        margin-top:18px;
    }

    .business .section-footer{
        margin-top:38px;
    }

}

@media(max-width:480px){

    .business{
        padding-top:60px;
    }

    .business__lead{
        font-size:.82rem;
    }

    .business-card__content{
        padding:23px 18px 26px;
    }

    .business-card__number{
        font-size:3rem;
    }

    .business-card__en{
        font-size:.7rem;
    }

    .business-card h3{
        font-size:1.2rem;
    }

    .business-card p{
        font-size:.8rem;
    }

}

/* ==================================================
                     ニュース
================================================== */

.home-news{
    position:relative;
    background:#fff;
    overflow:hidden;
}

.home-news .container{
    position:relative;
    z-index:2;
}

.home-news__head{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    margin-bottom:25px;
}

.news-list{
    width:100%;
}

/* =========================
   News Responsive
========================= */

@media(max-width:1024px){

    .home-news__head{
        margin-bottom:32px;
    }

    .home-news__more{
        min-width:165px;
        height:48px;
    }

}

@media(max-width:768px){

    .home-news__head{
        display:flex;
        flex-direction:column;
        align-items:flex-start;
        gap:22px;
    }

    .home-news__more{
        width:100%;
        height:48px;
    }

}

@media(max-width:480px){

    .home-news__more{
        font-size:.9rem;
    }

}

/* ==================================================
                  求人ページ案内
================================================== */

.recruit{
    position:relative;
    min-height:550px;
    display:flex;
    align-items:center;
    overflow:hidden;
    color:#fff;
}

.recruit__background{
    position:absolute;
    inset:0;
}

.recruit__background img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.recruit__overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.55);
}

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

.recruit__content{
    max-width:600px;
}

.recruit__content .section-heading__en{
    color:#fff;
}

.recruit__content h2{
    margin:20px 0;
    font-size:3.2rem;
    line-height:1.45;
    letter-spacing:.06em;
}

.recruit__content p{
    margin:0;
    font-size:1rem;
    line-height:2.1;
}

.recruit__content .btn{
    margin-top:35px;
    background:#fff;
    color:#222;
    border-color:#fff;
}

/* =========================
   Recruit Responsive
========================= */

@media(max-width:768px){

    .recruit{
        min-height:460px;
    }

    .recruit__content{
        max-width:100%;
    }

    .recruit__content h2{
        margin:18px 0;
        font-size:2.4rem;
        line-height:1.5;
    }

    .recruit__content p{
        font-size:.9rem;
        line-height:2;
    }

    .recruit__content .btn{
        width:100%;
        margin-top:28px;
    }

}

@media(max-width:480px){

    .recruit{
        min-height:430px;
    }

    .recruit__content h2{
        font-size:2rem;
    }

    .recruit__content p{
        font-size:.82rem;
    }

}

/* =========================================================
   CONTACT CTA
========================================================= */

.contact-cta{
    padding:45px 20px 100px;
}

.contact-cta__grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:35px;
    max-width:1050px;
    margin:50px auto 0;
}

.contact-card{
    padding:40px 35px;
    text-align:center;
    background:#fff;
    border:1px solid #eceff3;
    border-radius:12px;
    box-shadow:0 8px 30px rgba(0,0,0,.08);
}

.contact-card__icon{
    display:flex;
    justify-content:center;
    align-items:center;
    width:75px;
    height:75px;
    margin:0 auto 24px;
    border-radius:50%;
    background:var(--color-main);
    color:#fff;
}

.contact-card__icon i{
    font-size:2.6rem;
}

.contact-card__title{
    margin-bottom:14px;
    font-size:1.9rem;
    font-weight:700;
    line-height:1.5;
    color:var(--color-main);
}

.contact-card__text{
    margin-bottom:28px;
    color:#666;
    font-size:.9rem;
    line-height:1.9;
}

.contact-card__tel{
    display:block;
    margin-bottom:12px;
    font-size:2.4rem;
    font-weight:700;
    letter-spacing:.03em;
    color:var(--color-main);
    text-decoration:none;
}

.contact-card__time{
    display:block;
    font-size:.9rem;
    color:#777;
}

.contact-card__button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:14px 30px;
    border-radius:999px;
    background:var(--color-main);
    color:#fff;
    text-decoration:none;
    font-size:.95rem;
    font-weight:700;
    transition:.3s;
}

.contact-card__button i{
    transition:.3s;
}

@media(hover:hover){

    .contact-card__button:hover{
        background:#004a8c;
    }

    .contact-card__button:hover i{
        transform:translateX(6px);
    }

}

/* =========================================================
   SECTION HEADING CENTER
========================================================= */

.section-heading-center{
    margin-bottom:50px;
    text-align:center;
}

.section-heading-center__en{
    display:block;
    margin-bottom:10px;
    font-size:.9rem;
    font-weight:600;
    letter-spacing:.22em;
    color:#000;
}

.section-heading-center__jp{
    margin:0;
    font-size:3rem;
    font-weight:700;
    line-height:1.4;
    letter-spacing:.06em;
    color:var(--color-main);
}

/* =========================================================
   Responsive
========================================================= */

@media(max-width:1100px){

    .contact-cta__grid{
        gap:30px;
    }

    .section-heading-center{
        margin-bottom:42px;
    }

    .section-heading-center__en{
        font-size:.85rem;
    }

    .section-heading-center__jp{
        font-size:2.7rem;
    }

    .contact-card{
        padding:38px 30px;
    }

    .contact-card__title{
        font-size:1.8rem;
    }

    .contact-card__tel{
        font-size:2.3rem;
    }

}

@media(max-width:768px){

    .contact-cta{
        padding:40px 15px 70px;
    }

    .contact-cta__grid{
        grid-template-columns:1fr;
        gap:20px;
        margin-top:32px;
    }

    .contact-card{
        padding:30px 20px;
    }

    .contact-card__icon{
        width:62px;
        height:62px;
        margin-bottom:17px;
    }

    .contact-card__icon i{
        font-size:2.2rem;
    }

    .contact-card__title{
        margin-bottom:10px;
        font-size:1.6rem;
    }

    .contact-card__text{
        margin-bottom:20px;
        font-size:.84rem;
    }

    .contact-card__tel{
        font-size:2rem;
    }

    .contact-card__time{
        font-size:.8rem;
    }

    .contact-card__button{
        width:100%;
        padding:13px 18px;
        font-size:.9rem;
    }

    .section-heading-center{
        margin-bottom:32px;
    }

    .section-heading-center__en{
        margin-bottom:7px;
        font-size:.8rem;
        letter-spacing:.15em;
    }

    .section-heading-center__jp{
        font-size:2.2rem;
        line-height:1.4;
        letter-spacing:.03em;
    }

}

@media(max-width:480px){

    .contact-cta{
        padding:35px 12px 60px;
    }

    .contact-card{
        padding:27px 17px;
    }

    .contact-card__title{
        font-size:1.45rem;
    }

    .contact-card__text{
        font-size:.78rem;
    }

    .contact-card__tel{
        font-size:1.85rem;
    }

    .contact-card__button{
        font-size:.85rem;
    }

    .section-heading-center{
        margin-bottom:28px;
    }

    .section-heading-center__en{
        font-size:.72rem;
    }

    .section-heading-center__jp{
        font-size:2rem;
    }

}