.sawarabi-gothic-regular {
    font-family: "Sawarabi Gothic", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.lexend-exa-uniquifier {
    font-family: "Lexend Exa", sans-serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
}

html {
    font-size: 100px;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

*,
*::before,
*::after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

body {
    font-size: 16px;
    line-height: 2;
    font-family: "Sawarabi Gothic", sans-serif;
    font-weight: 400;
    font-style: normal;
    background-color: #F5F3EF;
    color: #3D3D3D;
}

@media (max-width:640px) {
    body {
        font-size: 14px;
        line-height: 1.5;
    }
}



/* ヘッダー */
.header {
    background-color: #F5F3EF;
    padding: 10px 0;
    transform: all 0.4s ease;
}

.header.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #F5F3EFed;
    transform: translateY(0);
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-150%);
    }

    to {
        transform: translateY(0);
    }
}

/* ヘッダーのロゴ */
.header-title {
    /* margin: 10px 0 10px; */
    text-align: center;
}

.header-title img {
    max-width: 300px;
    height: auto;
}

/* ナビゲーション */
/* .header-list {
    display: flex;
    list-style: none;
    gap: 25px;
    justify-content: center
} */

.header-list-link {
    text-decoration: none;
    color: #3D3D3D;
    padding: 5px 10px;
}

.header-list-link:hover {
    background: #c7beac;
    color: #fff;
    border-radius: 10px;
}

/* .header-nav {
    max-width: 900px;
    margin: 0 auto;
    border-top: 2px solid #C5BBA6;
    border-bottom: 2px solid #C5BBA6;
    background-color: rgba(255, 255, 255, 0.42);
    padding: 2px 0px;
    overflow: auto;
} */

/* キービジュアル */
.keyvisual img {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 60px;
    object-fit: cover;
    max-height: 70vh;
}

@media (max-width:640px) {
    .keyvisual img {
        height: 450px;
        object-position: 30% 100%;
    }

    .header-list {
        gap: 13px;
    }
}

section {
    padding: 0.8rem 0;
}

.container {
    margin: 0 auto;
    max-width: 1200px;
}



/* アバウト */
.about-bg {
    background-color: #F5F3EF;
    background: url("../images/Star\ 1.svg") no-repeat center;
    /* background-size: 875px 642px; */
}

@media (max-width:640px) {
    .about-bg {
        background: url("../images/sumaho2.svg") no-repeat center;
    }
}

.about-bg-decoration {
    margin-top: 80px;
}


.about-title {
    text-align: center;
    font-size: 0.3rem;
    margin-bottom: 20px;
}

/* アバウト本文 */
.about-text {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* アバウトの３つの画像 */
.about img {
    border-radius: 50vh;
    height: auto;
    width: 25%;
    object-fit: cover;
}

.about-img {
    display: flex;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
    gap: 20px;
    margin-top: 40px;
}

@media (max-width:640px) {
    .about-img {
        /* ピラミッド型にならないのでボツ↓矢印*/
        /* display: grid; */
        /* grid-template-columns: repeat(2, 1fr); */
        /* justify-content: center; */
        gap: 10px;
    }


    .about img {
        width: 30%;
    }

    .about-img img:last-child {
        justify-self: center;
    }

    .about-p {
        margin-top: 20px;
    }

    .about-text {
        font-size: 13px;
        line-height: 0.25rem;
    }

    .about-bg-decoration {
        margin: 100px 30px 0;
    }
}


/* メニュー */
.menu-bg {
    background-image: linear-gradient(0deg, #e8dec7 85%, #f5f3ef);
    ;
}

.menu-title {
    font-size: 0.3rem;
    text-align: center;
    margin-bottom: 20px;
}

@media(max-width:640px) {
    .menu-items {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* 単品メニューのカードを全部くくってるやつ */
.menu-items {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, 1fr);
    list-style: none;
}

/* 単品メニューの画像 */
.menu-items img {
    width: 100%;
    height: auto;
}

/* 単品メニューカード */
.menu-items li {
    background-color: #fafafa;
    border-radius: 8px;
    padding: 0.4rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* 単品メニューのタイトル */
.menu-items li h3 {
    font-size: 18px;
    margin: 20px 0;
    text-align: center;
    border-bottom: 1px solid #866f54;
    padding-bottom: 5px;
    font-family: "Lexend Exa", sans-serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
}

/* 文章 */
.menu-items li p {
    font-size: 16px;
    line-height: 2;
}

/* セットメニュー */
.menu-items-set {
    margin-top: 100px;
    list-style: none;
    /* display: flex; */
}

/* セットメニューのカード */
.menu-set {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    background: #fff;
    /* border: 2px solid #C5BBA6; */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-radius: 30px;
}

.menu-p {
    text-align: center;
    flex: 1;
    padding: 60px;
}

/* セットメニューの画像 */
.menu-items-set img {
    max-width: 640px;
    height: auto;
    border-radius: 30px 0 0 30px;
}

/* セットメニューのタイトル */
.menu-items-set h3 {
    font-size: 30px;
    color: #3D3D3D;
    margin: 20px 50px;
    /* text-align: center; */
    padding-bottom: 5px;
    font-family: "Lexend Exa", sans-serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
    border-bottom: 1px solid #866f54;
}

/* セットメニューの箇条書きの点 */
.menu-items-set ul {
    display: inline-block;
    text-align: left;
    font-size: 18px;
}


@media screen and (min-width: 641px) and (max-width: 1024px) {
    .menu-items-set img {
        max-width: 300px;
    }

    .menu-p {
        padding: 40px;
    }

    .menu-items,
    .menu-items-set {
        margin-left: 20px;
        margin-right: 20px;
    }
}



/* アニメーションション  */
/* .fadein {
    opacity: 0;
    transform: translateY(60px);
    animation: fade 1s ease forwards;
}

@keyframes fade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadein:nth-child(1) {
    animation-delay: 0s;
}

.fadein:nth-child(2) {
    animation-delay: 0.3s;
}

.fadein:nth-child(3) {
    animation-delay: 0.6s;
}

.fadein:nth-child(4) {
    animation-delay: 0.9s;
}

.fadein:nth-child(5) {
    animation-delay: 1.2s;
}

.fadein:nth-child(6) {
    animation-delay: 1.5s;
} */

/* スマホ対応おう応 */
@media (max-width: 640px) {
    .menu-set {
        flex-direction: column;
        align-items: center;
        border-radius: 30px;
    }

    .menu-items-set img {
        max-width: 100%;
        border-radius: 30px 30px 0 0;
    }

    .menu-items-set h3 {
        text-align: center;
        margin: 20px 0;
    }
}

/* 各タイトルの設定 */
.about-title,
.menu-title,
.access-title {
    text-align: center;
    font-size: 0.4rem;
    margin-bottom: 20px;
    font-family: "Lexend Exa", sans-serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
}



/* アクセス */
.access-bg {
    background-image: linear-gradient(0deg, #f5f3ef 61%, #efe9db 83%, #e8dec7);
    margin-bottom: 50px;
}

address {
    text-align: center;
    font-style: normal;
}

.access p {
    max-width: 450px;
    margin: 0 auto;
    text-align: left;
}

.address {
    margin-bottom: 20px;
}

/* グーグルマップ */
iframe {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 300px;
}

/* リクルート */
.recruit-title-in {
    font-family: "Sawarabi Gothic", sans-serif;
    font-size: 0.3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.recruit-cta {
    text-align: center;
    background: url("../images/form.jpg") center 20%/ cover no-repeat;
}

.recruit-text {
    margin-bottom: 20px;
}


.recruit-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45em;
    isolation: isolate;
    overflow: hidden;
    padding: 12px 28px;
    color: #ffffff;
    background: #866f54;
    border: 1px solid #ffffff;
    border-radius: 30px;
    box-shadow: 0 10px 22px rgba(23, 35, 58, 0.16);
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.recruit-btn:hover {
    color: #ffffff;
    background: #3b2b0c;
    border-color: #ffffff;
    transform: translateY(4px);
    box-shadow: 0 4px 10px rgba(23, 35, 58, 0.16);
}



/* フッター */
.footer {
    background-color: #C5BBA6;
    color: #fff;
    position: relative;
    text-align: center;
    padding: 25px 0;
}

/* ロゴ */
footer img {
    width: 300px;
    height: auto;
    margin: 10px 0;
}

.footer-address {
    margin: 1rem 0;
}

footer p {
    font-size: 13px;
    line-height: 1.5;
}

.footer-copyright {
    font-size: 0.75rem;
    margin-top: 1rem;
}

/* 戻るボタン */
.backtoTop {
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s ease;
}

.backtoTop a {
    position: fixed;
    right: 0.5rem;
    bottom: 1rem;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    color: #F5F3EF;
    background-color: #866f54;
    text-decoration: none;
    border-radius: 50vh;
    font-size: 0.2rem;

}

.backtoTop.show {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 640px) {
    .backtoTop a {
        right: 0.2rem;
        bottom: 1rem;
    }
}

.backtoTop a:hover {
    background-color: #493d2e;
    transition: all 0.4s ease;
}

/* ========================= */
/* スマホ対応 */
/* ========================= */
@media (max-width:640px) {
    .container {
        max-width: 90%;
    }

    .header {
        width: 100%;
    }

    .header-title img {
        max-width: 60%;
    }

    .header-title {
        text-align: left;
        margin-left: 20px;
    }

    .header-nav {
        max-width: 100%;
        padding: 5px 0px;
    }

    .header-list {
        gap: 0;
    }

    .menu-items {
        grid-template-columns: 1fr;
    }

    .menu-p {
        padding: 30px;
    }

    .about-title,
    .menu-title,
    .access-title {
        font-size: 0.3rem;
    }


    .access {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .address p {
        font-size: 13px;
    }

    .footer p {
        font-size: 12px;
    }

    .footer img {
        width: 50%;
    }
}

/* =========================
リクルートフォーム
========================= */
.recruit {
    text-align: center;
    margin-bottom: 0.4rem;
    padding-top: 0.4rem;
}

.recruit-title {
    display: block;
    margin: 30px auto;
    padding: 12px 30px;
    background-color: #c7beac;
    color: #ffffff;
    border: 8px double #ffffff;
    border-radius: 2vh;
    max-width: 600px;
    font-family: "Sawarabi Gothic", sans-serif;
}

@media (max-width:640px) {
    .recruit-title {
        max-width: 90%;
        font-size: 20px
    }
}

.recruit-text {
    margin-bottom: 30px;
}

@media (max-width:640px) {
    .recruit-text {
        font-size: 13px;
    }
}

form {
    max-width: 600px;
    margin: 0 auto;
    padding: 0.8rem;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width:640px) {
    form {
        max-width: 90%;
        padding: 0.3rem;
    }
}

label {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: 600;
    color: #866f54;
    font-family: "Sawarabi Gothic", sans-serif;
    font-weight: 500;
    font-style: normal;
    text-align: left;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    font-size: 14px;
    font-family: "Sawarabi Gothic", sans-serif;
    background-color: #fff;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border: 2px solid #866f54;
}

textarea {
    resize: vertical;
}

button[type="submit"] {
    display: block;
    margin: 30px auto 0;
    padding: 20px 40px;
    background-color: #866f54;
    color: #fff;
    border: none;
    border-radius: 50vh;
    font-family: "Sawarabi Gothic", sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

button[type="submit"]:hover {
    background-color: #C5BBA6;
}

/* =========================== */
/* ベルトコンベアンベア */
/* =========================== */
.belt {
    overflow: hidden;
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: #f7f6ea;
    border-top: 4px dashed #816c52;
    border-bottom: 4px dashed #816c52;
}

.belt-track {
    display: flex;
    gap: 20px;
    animation: belt-scroll 30s linear infinite;
    width: max-content
}


.belt-track img {
    box-shadow: 5px 7px 14px -7px #777777;
    border-radius: 3px;
}

@keyframes belt-scroll {
    form {
        transform: translateX(0);
    }

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

@media (max-width:640px) {
    .belt-track {
        height: 200px;
        gap: 10px
    }

    .belt {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}


/* ============================ */
/* アニメーション */
/* ============================ */

.about {
    animation: kobeya-fade-down-keyframes 2s ease 0s both;
}

@keyframes kobeya-fade-down-keyframes {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
}

/* =========== */
/* ローディング */
/* =========== */