@charset "utf-8";

/* --- Splide を全画面化 --- */
.splide {
    height: 100vh
}

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

/* === スプラッシュオーバーレイ === */
#intro-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    z-index: 9999;

}

#intro-overlay img {
    width: 150px;
    height: auto;
    opacity: 0;
    animation: fadeIn 2s ease-out forwards;
    /* まず0.8秒でフェードイン */
}

/* アニメーション */
@keyframes fadeIn {
    to {
        opacity: 1
    }
}

@keyframes fadeOut {
    to {
        opacity: 0
    }
}

.fv {
    position: relative;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

#hero-slider {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}

/* スライダー */
.splide {
    height: 100vh;
    /* 100% viewport 高さ */
}

/* --- 画像をカバーでフィットさせる --- */
.splide__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 余白なくトリミング */
}

.concept_box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

.concept_box_left {
    width: 55%;
}

.concept_box_right {
    width: 40%;
    aspect-ratio: 1 / 1;
}

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

/* メニュー */
#menu {
    background: rgb(230 222 217);
}

.menu_box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-start;
}

.menu_box_left {
    width: 40%;
}

.menu_box_right {
    width: 55%;
}

/* ギャラリー */
#gallery .link {
    margin: 80px auto 0;
}

.loop-wrap {
    overflow: hidden;
    /* 画面外の画像を非表示に */
    width: 100%;
    /* 必要に応じて固定幅に */
}

/* 横並び＋無限アニメーション */
.loop {
    display: flex;
    width: max-content;
    /* 中身の幅に合わせる */
    animation: scroll 50s linear infinite;
    /* 時間を変えると速度が変わる */
}

/* 画像サイズを揃える（例） */
.loop img {
    width: 300px;
    /* 任意：高さは auto */
    height: auto;
}

/* 左→右へ一定速度で移動して最初に戻る */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* 重複セットの分だけ左へ */
}

/* スタッフ */
#staff {
    background: rgb(230 222 217);
}

.top_staff {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 800px;
    margin: 0 auto;
    max-width: 100%;
}

.top_staff_box {
    width: 250px;
    max-width: 80%;
}

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

.top_staff_name {
    font-weight: 600;
    font-size: 18px;
    text-align: center;
}

.top_staff_name span {
    font-family: "Lato";
    font-size: 15px;
    margin-left: 20px;
}

#staff .link {
    margin: 80px auto 0;
}

/* ブログ */
.blog_box_cover {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 5%;
}

.blog_box {
    width: 21.25%;
    margin-bottom: 30px;
}

.blog_box_date {
    font-size: 13px;
	    margin-right: 10px;
}

.blog_box_title {
    line-height: 1.6;
}

.blog_box_title a {
    font-weight: 600;
    line-height: 1.6;
    color: #222;
    text-decoration: none;
}
.blog_box_img {
    margin-bottom: 5px;
}
.article_info{
    display: flex;
    margin-top: 10px;
	flex-wrap: wrap;
}
.article_info ul {
    display: flex;
	list-style: none;
}
.article_info ul li a {
    color: #222;
    text-decoration: none;
    border: 1px solid #222;
    padding: 0 5px;
    font-size: 12px;
    margin-right: 10px;
    display: block;
    line-height: 26px;
}
#blog .link {
    margin: 80px auto 0;
}

/* リクルート */
#recruit {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.8)), url("../images/top_recruit.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
}

#recruit p {
    text-align: center;
}

#recruit .link {
    margin: 80px auto 0;
}

/* アクセス */
.access {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 60px;
}

.access_left {
    width: 55%;
}

.access_right {
    width: 40%;
}

.access_right dl dt {
    font-family: "Lato";
    font-size: 18px;
    font-weight: 600;
    margin-top: 1em;
    border-bottom: 1px solid #666;
    padding: 5px 5px 0;
    margin-bottom: 5px;
}

.access_right dl dd {
    font-size: 15px;
    line-height: 1.8;
    padding: 0 5px;
}

.access_h img {
    width: 100px;
}
@media (max-width: 979px) {

    .blog_box {
        width: 47.5%;
    }

    .blog_box_title {
        font-size: 15px;
    }

    .blog_box_date {
        font-size: 12px;
    }
}
@media (max-width: 768px) {


    .concept_box_left {
        width: 100%;
        display: contents;
    }

    .concept_box_left p {
        order: 3;
    }

    .concept_box_right {
        width: 90%;
        margin: 0 auto;
        margin-bottom: 10px;
    }

    .menu_box_right {
        width: 100%;
    }

    .menu_box_left {
        width: 90%;
        order: 2;
        margin: 15px auto 0;
    }

    .top_staff_name {
        font-size: 16px;
    }

    .top_staff_name span {
        font-size: 13px;
    }

    .top_staff_img {
        width: 200px;
        margin: 0 auto;
    }

    .top_staff_box:last-child {
        margin-top: 30px;
    }


    #blog .link {
        margin: 40px auto;
    }

    #recruit .link {
        margin: 40px auto 0;
    }

    .access_left {
        width: 90%;
        margin: 15px auto 0;
        order: 2;
    }

    .access_right {
        width: 100%;
        display: contents;
    }

    .access_right dl {
        width: 100%;
        order: 3;
    }

    .access_right dl dt {
        font-size: 16px;
    }

    .access_right dl dd {
        font-size: 14px;
    }

    .access {
        margin-bottom: 25px;
    }
}