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

}

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

}

ul {
    list-style-type: none;
}

body {
    font-size: 16px;
    line-height: 2;
    background-color: #f6efe0;
    font-family: "Sawarabi Mincho", serif;
    font-weight: 400;
    font-style: normal;

    cursor: none;
}



h1 {
    text-align: center;
    padding: 20px;
}

h2 {
    line-height: 40px;
}

h3 {
    font-size: 1.25rem;
}

h4 {
    color: #fff;
}

/* ローディング */
.loading {
    position: fixed;
    inset: 0;
    background-color: #f6efe0;
    z-index: 99999;

    display: flex;
    justify-content: center;
    align-items: center;

    animation: loadingEnd 2s forwards;
}

@keyframes loadingEnd {
    0% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        visibility: hidden;
    }
}

.loading img {
    transform-origin: bottom center;
    animation: sway 0.8s ease-in-out infinite;
    width: 40px;
    height: auto;
}

.loading p {
    font-size: 18px;
    color: #3A1303;
    padding-left: 10px;
}

@keyframes sway {
    0% {
        transform: rotate(-5deg);
    }

    50% {
        transform: rotate(5deg);
    }

    100% {
        transform: rotate(-5deg);
    }
}

/* マウス */
#cursorImg {
    position: fixed;
    width: 38px;
    height: auto;
    pointer-events: none;
    z-index: 10000;

    transform: translate(-50%, -50%);
    transition: none;
}


header h1 a {
    cursor: none;
}

.header img {

    margin: 0 auto;
    padding-top: 2%;
    transform: scale(0.9);
}

/*hamburgerメニュー*/
.openbtn {
    position: fixed;
    top: 20px;
    right: 35px;
    background: #3C2319;
    width: 50px;
    height: 50px;
    border-radius: 5px;
    z-index: 1000;
    cursor: none;
}

.openbtn span {
    display: inline-block;
    transition: all 0.4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background: #fff;
    width: 45%;
}

.openbtn span:nth-of-type(1) {
    top: 15px;
}

.openbtn span:nth-of-type(2) {
    top: 23px;
}

.openbtn span:nth-of-type(3) {
    top: 31px;
}

.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn.active span:nth-of-type(2) {
    opacity: 0;
}

.openbtn.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}

.h_menu {
    transform: translateX(100%);
    transition: transform 0.5s ease;
    background-color: rgba(196, 72, 22, 0.8);

    position: fixed;
    top: 0;
    right: 0;
    width: 20%;
    height: 100%;
    z-index: 999;
}

.h_menu ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 0 0 2rem;
    list-style: none;
    line-height: 3;
}

.h_menu ul a {
    text-decoration: none;
    color: #f6efe0;
    cursor: none;
}

.h_menu ul a:hover {
    color: #3A1303;

}

.h_menu.active {
    transform: translateX(0);
}

.slideshow {
    max-width: 100%;
    height: 80vh;
    position: relative;
    margin: 0 auto;
}

.slideshow img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slideshow img.active {
    opacity: 1;
}





.about {
    width: 100%;
    padding-top: 200px;
    overflow: hidden;
}

.about ul {
    position: relative;
    width: 100%;
    max-width: 1000px;
    /* サイトに合わせて調整 */
    height: 700px;
    /* 画像が収まる高さを確保 */
    margin: 0 auto;
    list-style: none;
    padding: 0;
}

.about ul li {
    position: absolute;
}

/* 2枚目：画面中央（ベース） */
.about ul li:nth-child(2) {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    /* 必要に応じてサイズ変更 */
    z-index: 1;
}

/* 1枚目：左上（重なり上） */
.about ul li:nth-child(1) {
    top: 0;
    left: 0;
    width: 45%;
    z-index: 2;
}

/* 3枚目：右下（重なり上） */
.about ul li:nth-child(3) {
    bottom: 0;
    right: 0;
    width: 30%;
    z-index: 2;
    transform: scale(0.8);
}

.about img {
    width: 100%;
    height: auto;
    display: block;
}

.about ul li p {
    background-image: url(../images/aboutimg1.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    height: 500px;
    color: #fff;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px 110px;
    box-sizing: border-box;
}

.anim-wobble.preview-box:hover {
    animation: wobble 0.8s ease-in-out infinite;
}

@keyframes wobble {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-3deg);
    }

    50% {
        transform: rotate(3deg);
    }

    75% {
        transform: rotate(0deg);
    }
}


.menu-title,
.access-title {
    text-align: center;
    font-size: 1.8rem;
    font-family: "Kaisei Decol",
        serif;
    font-weight: 700;
    font-style: normal;
    line-height: 40px;
    letter-spacing: 0.3em;
}


.menu {
    max-width: 80%;
    margin: 0 auto;
}


.menu-items {
    color: #ffffff;
    display: grid;
    gap: 50px 50px;
    grid-template-columns: repeat(2, 1fr);
    padding: 50px;
}


.menu-items li {
    background-color: #3C2319;
    border-radius: 50px;
    padding: 2.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    font-size: 0.8rem;
}

.menu-items p {
    text-align: left;
}

.menu-items img {
    width: 100%;
    height: auto;
    border-radius: 62px;
    padding: 10px;
}

/* fade-upアニメーション */
.fade-up {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s ease, transform 1.0s ease;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

.menu-card:nth-child(1) {
    transition-delay: 0s;
}

.menu-card:nth-child(2) {
    transition-delay: 0.4s;
}

.menu-card:nth-child(3) {
    transition-delay: 0.6s;
}

.menu-card:nth-child(4) {
    transition-delay: 0.9s;
}

/* ここまで */

.SNS {
    background: url(../images/SNS.png) no-repeat center/cover;
    width: 100%;
    height: 1100px;
    margin: 60px auto;
    position: relative;
}


.SNStitle {
    color: #fff;
    font-size: 2.5rem;
    font-family: "Kaisei Decol",
        serif;
    width: 30%;
    margin: 100px auto;
    padding-top: 120px;
    text-align: center;
    letter-spacing: 0.5em;
}

.SNS h4 {
    font-family: "Sawarabi Mincho",
        serif;
    font-size: 0.9rem;
    font-weight: 400;
    width: 30%;
    margin: 0 auto;
    text-align: center;
    letter-spacing: 0.2em;
}

.SNSicon ul {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding-top: 100px;
}

.SNSicon li img {
    width: 63px;
    height: auto;
}

.SNSicon li a {
    cursor: none;
}

.access {
    margin-top: 8rem;
    margin-bottom: 3rem;
}

.access-title address p {
    text-align: center
}

section div iframe {
    margin-bottom: 50px;
    margin-top: 20px;
}

.footer {
    background-image: url(../images/footer2.png);
    background-size: cover;
    color: #fff;
    position: relative;
    text-align: center;
    padding: 10px 20px;
    margin-top: 7rem;
}

.footer img {
    width: 40%;
    margin: 20px auto;
    transform: scale(0.5);
    cursor: none;
}

.backtotop {
    position: fixed;
    right: 2rem;
    bottom: 3rem;
    opacity: 0;
    visibility: visible;
    transition: all 0.6s ease;
    z-index: 10000;
}

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


.backtotop a {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    background-color: #c44816;
    text-decoration: none;
    border-radius: 50vh;
    font-size: 1.5rem;
    cursor: none;
}

.backtotop a:hover {
    background-color: #3A1303;
}




.accsess-p {
    text-align: center;
    width: 40%;
    margin: 0 auto;
    margin-bottom: 40px;
    margin-top: 10px;
    margin-left: 38%;
    text-align: left;
}

address {
    font-style: normal;
}

.recruit-cta {
    width: 45%;
    text-align: center;
    margin: 0 auto;
    background-color: rgba(196, 72, 22, 0.9);
    border-radius: 70px;
    color: #fff;
    padding-bottom: 3rem;
    padding-top: 2rem;
    border: 1.5px solid #3C2319;
}

.recruit-text h2 {
    font-size: 2rem;
    letter-spacing: 0.2em;
    font-family: "Kaisei Decol",
        serif;
    padding-bottom: 3rem;
    padding-top: 1rem;
}

.recruit-text a {
    cursor: none;
}

.recruit-text1 {
    font-size: 1.1rem;
    margin-bottom: 4rem;
    padding-top: -5rem;
}

.recruit-btn {

    display: inline-block;
    padding: 10px 28px;
    background-color: rgba(246, 239, 224, 0.5);
    /* box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); */
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 12px;
    transition: 0.3s;
    font-size: 1.2rem;
    margin-bottom: 8px;
    /* border: 1px solid #f6efe0; */
}

.recruit-btn:hover {
    background-color: #3A1303;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}


/* /*ここからリクルートページ/* */

.recruit {
    padding-top: 5%;
}

.stafftext {
    font-size: 1rem;
    width: 90%;
    text-align: center;
    margin: 0 auto;
}

.stafftext span {
    font-size: 1.4rem;
    font-weight: bold;
    color: #c44816;
}

label {
    display: block;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 90%;
    padding: 10px;
    border-radius: 5px;
    font-size: 1rem;
    margin-bottom: 2rem;
    cursor: none;
}


input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border: 2px solid #3A1303;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 2rem;
    cursor: none;
}


.form {
    background-color: rgba(196, 72, 22, 0.9);
    border-radius: 40px;
    border: 1px solid #3A1303;
    color: #fff;
    width: 45%;
    margin: 2rem auto;
    padding: 4rem 3rem 3rem;
    line-height: 2.0;

    font-size: 1.2rem;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    text-align: left;
    transform: translateY(1rem);
    padding-left: 3rem;
    padding-right: 3rem;
    box-sizing: border-box;
    text-align: left;
    cursor: none;
}

textarea {
    max-width: 100%;
    padding: 10px;
    border-radius: 5px;
    font-size: 1rem;
    margin-bottom: 2rem;
    display: block;
    min-height: 150px;
    resize: vertical;
    cursor: none;


}


select {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    border-radius: 5px;
    box-sizing: border-box;
    cursor: pointer;
    margin-bottom: 2rem;
    background-color: #fff;
    border: none;
    height: 50px;
    cursor: none;
}


button[type="submit"] {
    display: block;
    margin: 30px auto 0;
    padding: 10px 20px;
    background-color: #3A1303;
    color: #f6efe0;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: translate(-0.4rem, -1.25rem);
    border: none;
}

.form-submit {
    transform: scale(1.3);
    padding-top: 10px;

}

.form-submit button:hover {
    background-color: #c44816;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    cursor: none;
}


input[type="name"],
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    border-radius: 5px;
    font-size: 1rem;
    margin-bottom: 2rem;
    display: block;
    border: none;
    background-color: #fff;

}

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

textarea {
    min-height: 150px;
}

.form {
    background-color: rgba(196, 72, 22, 0.9);
    border-radius: 40px;
    border: 1px solid #3A1303;
    color: #fff;
    width: 45%;
    margin: 2rem auto;
    padding: 4rem 3rem 3rem;
    line-height: 1.5;
    font-size: 1.2rem;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    text-align: left;
    box-sizing: border-box;
}




.header {
    transition: all 0.4s ease;
}

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

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

    to {
        transform: translateY(0);
    }
}



/*ここからスマホ対応*/

@media (max-width:640px) {


    .header h1 img {
        transform: scale(0.75) translateX(-55px);
        display: block;
        margin-top: 2%;
        margin-bottom: 2%;

    }

    .slideshow {
        max-width: 100%;
        height: 80vh;
        position: relative;
        margin: 0 auto;
    }

    .slideshow img {
        width: 100%;
        height: 70vh;
        object-fit: cover;
        object-position: right;
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
        transition: opacity 1s ease-in-out;
    }

    .slideshow img.active {
        opacity: 1;
    }

    .h_menu {
        width: 50%;
    }


    .about ul {
        height: 400px;
        /* スマホに合わせて全体の高さを抑える */
    }

    /* 2枚目：中央（スマホでは少し大きく見せる） */
    .about ul li:nth-child(2) {
        width: 90%;
    }


    /* 1枚目：左上（少し外側に逃がすか、小さくする） */
    .about ul li:nth-child(1) {
        top: 20px;
        left: 0%;
        width: 50%;
    }

    /* 3枚目：右下（キャンドルなどは邪魔にならないサイズに） */
    .about ul li:nth-child(3) {
        bottom: 0px;
        right: -3%;
        width: 40%;
        transform: scale(0.6);
    }

    .about {
        padding-top: 0px;
        margin-bottom: 250px;
    }

    .about ul li p {
        /* 1. フォントサイズと行間の調整（超重要） */
        font-size: 10px;
        /* スマホ用に文字を小さくして収める */
        line-height: 1.5;
        /* 行間を少し詰めて高さを節約 */
        color: #fff;
        /* 文字色（白） */
        margin: 0;
        /* 余計な余白をリセット */

        /* 2. 背景画像の調整 */
        background-image: url(../images/aboutimg1.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        /* 🛠️ 画像を枠いっぱいに広げて表示 */

        /* 4. 文字の位置を画像の中央に寄せる */
        display: flex;
        align-items: center;
        /* 縦方向中央 */
        justify-content: center;
        /* 横方向中央 */
        text-align: justify;
        /* 文章の左右の端を綺麗に揃える */

        /* 5. 画像の端に文字がくっつかないための内側余白 */
        padding: 40px;
        box-sizing: border-box;
        /* paddingを高さ（230px）に含める */

    }


    .address p,
    .SNS h4,
    .about p {
        text-align: left;
    }


    .menu-title {
        font-size: 22px;
        font-weight: bold;

    }


    .menu {
        margin-top: -58%;
        margin-bottom: -35%;
    }

    .menu-items {
        grid-template-columns: repeat(1, 1fr);
    }

    .menu-items li {
        background-color: #3C2319;
        border-radius: 20px;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        text-align: center;
        font-size: 0.8rem;

    }

    .menu-items p {
        text-align: left;
        padding: 3px;
        letter-spacing: 0.1rem;
        font-size: 0.6rem;
    }

    .menu-items img {
        width: 100%;
        height: auto;
        border-radius: 20px;
        padding: 1px;
    }

    .menu-items h3 {
        padding: 10px;
    }

    .menu li {
        transform: scale(1.2);

    }

    .SNS h2 {
        font-size: 28px;
        font-weight: bold;
    }

    .SNS h4 {
        font-size: 11px;
        text-align: center;
        width: 68%;
    }

    .SNS {
        background-size: 800px 70%;
        padding-top: 15%;
        margin-bottom: -20%;
    }

    .SNS-title h2 {
        padding-top: -40%;
    }

    .SNSicon ul li img {
        width: 50px;
    }


    .access-title {
        font-size: 23px;
        letter-spacing: 0.5rem;
    }

    .access p {
        font-size: 0.6rem;
        width: 100%;
        margin-left: -18%;
    }

    .access {
        text-align: center;
        margin-top: -5%;
    }

    .recruit-cta {
        width: 75%;
        margin-bottom: 15%;
        margin-top: -10%;
        padding: 5%;

    }

    .recruit-text h2 {
        font-size: 1.5rem;
        letter-spacing: 0.2rem;

    }

    .recruit-text1 {
        font-size: 0.7rem;
        margin-bottom: 10%;
    }

    .recruit-btn {
        font-size: 1rem;
        margin-bottom: 13%;
        transform: scale(80%);

    }


    /*ここからリクリートページ*/


    .recruit {
        width: 80%;
        margin-top: 0%;
        margin-left: auto;
        margin-right: auto;
    }

    .stafftext p {
        width: 100%;
        font-size: 0.6rem;

    }

    .stafftext span {
        font-size: 0.9rem;
    }


    .form {
        width: 100%;
        padding-left: 13%;
        padding-top: 10%;
        padding-bottom: 10%;
        margin-top: 0;
    }

    label {
        font-size: 0.9rem;

    }

    .form-group {
        display: block;
        padding-right: -10%;
        padding-top: -8%;
    }

    .form-submit {
        transform: scale(120%);
        padding-left: 7%;
    }


    input[type="text"],
    input[type="email"],
    input[type="tel"],
    select,
    textarea {
        width: 90%;
        padding: 5px;
        border-radius: 5px;
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    select,
    textarea {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    .form-group label {
        display: block;
        width: 90%;
        margin: 0 auto 5px;
        text-align: left;
    }





    .backtotop a {

        transform: scale(0.8) translateX(30px);
    }


    .footer {
        margin-top: 30%;

    }

    .footer p {
        font-size: small;
        width: 80%;
        text-align: left;
        margin: 0 auto;

    }

    small {
        display: block;
        margin-bottom: 15%;
        margin-top: 10%;
    }

    .footer img {
        transform: scale(1.3);
        margin-top: 20%;
        margin-bottom: 20%;
    }

    img {
        width: 100%;
        max-width: 100%;
    }



    .header-nav {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    header-nav::webkit-scrollbar {
        display: none;
    }

}