/* =========================
   カラー・共通設定
========================= */

:root {
    --base-color: #fffdf8;
    --cream-color: #f8f1df;
    --soft-yellow: #eadb9c;
    --accent-color: #b79a45;
    --text-color: #4f473f;
    --sub-text-color: #7e756d;
    --white-color: #ffffff;
    --line-color: rgba(128, 108, 62, 0.16);
    --shadow-color: rgba(82, 68, 42, 0.1);
}


/* =========================
   リセット
========================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    background-color: var(--base-color);
    color: var(--text-color);
    font-family: "Zen Old Mincho", serif;
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: 0.04em;
}

body.menu-open {
    overflow: hidden;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    color: inherit;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}


/* =========================
   共通レイアウト
========================= */

.content-width {
    width: min(1120px, calc(100% - 48px));
    margin-right: auto;
    margin-left: auto;
}

.content-width.narrow {
    width: min(800px, calc(100% - 48px));
}

.section-space {
    padding-top: 100px;
    padding-bottom: 100px;
}

.section-heading {
    margin-bottom: 48px;
    text-align: center;
}

.section-kicker {
    margin-bottom: 8px;
    color: var(--accent-color);
    font-size: 14px;
    letter-spacing: 0.18em;
}

.section-heading h2 {
    margin-bottom: 0;
    color: var(--text-color);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.08em;
}


/* =========================
   共通ボタン
========================= */

.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 210px;
    min-height: 56px;
    padding: 12px 28px;
    border: 1px solid var(--accent-color);
    border-radius: 999px;
    background-color: var(--white-color);
    color: #756126;
    text-decoration: none;
    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.primary-button:hover {
    transform: translateY(-3px);
    background-color: var(--soft-yellow);
    color: var(--text-color);
    box-shadow: 0 10px 24px var(--shadow-color);
}


/* =========================
   ヘッダー
========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--line-color);
    background-color: rgba(255, 253, 248, 0.94);
    backdrop-filter: blur(10px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1200px, calc(100% - 48px));
    min-height: 92px;
    margin-right: auto;
    margin-left: auto;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
}

.logo-image {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.site-title {
    color: var(--text-color);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.08em;
}


/* =========================
   PC用ナビゲーション
========================= */

.nav-list {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav-list a {
    position: relative;
    display: inline-block;
    padding: 12px 0;
    color: var(--text-color);
    font-size: 14px;
    text-decoration: none;
}

.nav-list a:not(.nav-reservation)::after {
    position: absolute;
    right: 0;
    bottom: 7px;
    left: 0;
    height: 1px;
    background-color: var(--accent-color);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-list a:not(.nav-reservation):hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-reservation {
    padding: 10px 22px !important;
    border: 1px solid var(--accent-color);
    border-radius: 999px;
    color: #756126 !important;
    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.nav-reservation:hover {
    transform: translateY(-2px);
    background-color: var(--soft-yellow);
    color: var(--text-color) !important;
}


/* =========================
   ハンバーガーボタン
========================= */

.hamburger {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 0;
    background-color: transparent;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 1px;
    margin: 6px 0;
    background-color: var(--text-color);
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.hamburger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
    opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* =========================
   スマホ用メニュー
========================= */

.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 999;
    width: min(82vw, 340px);
    height: 100dvh;
    padding: 120px 34px 40px;
    background-color: var(--base-color);
    box-shadow: -12px 0 32px rgba(65, 53, 37, 0.12);
    transform: translateX(105%);
    transition: transform 0.35s ease;
}

.mobile-nav.is-open {
    transform: translateX(0);
}

.mobile-nav li + li {
    margin-top: 12px;
}

.mobile-nav a {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid var(--line-color);
    color: var(--text-color);
    text-decoration: none;
}

.mobile-reservation {
    margin-top: 24px;
    border: 1px solid var(--accent-color) !important;
    border-radius: 999px;
    background-color: var(--cream-color);
    color: #756126 !important;
    text-align: center;
}


/* =========================
   メニュー背景
========================= */

.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 998;
    visibility: hidden;
    background-color: rgba(53, 47, 41, 0.22);
    opacity: 0;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.menu-overlay.is-open {
    visibility: visible;
    opacity: 1;
}


/* =========================
   フッター
========================= */

.site-footer {
    padding: 64px 24px 28px;
    border-top: 1px solid var(--line-color);
    background-color: #f4ecd9;
}

.footer-inner {
    width: min(1100px, 100%);
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    text-decoration: none;
}

.footer-logo img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.footer-logo span {
    color: var(--text-color);
    font-size: 19px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 28px;
    margin-bottom: 34px;
}

.footer-nav a {
    color: var(--text-color);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--accent-color);
}

.copyright {
    margin-bottom: 0;
    color: var(--sub-text-color);
    font-size: 12px;
}


/* =========================
   フェードイン
========================= */

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition:
        opacity 0.9s ease,
        transform 0.9s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay {
    transition-delay: 0.16s;
}


/* =========================
   動きを減らす設定
========================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* =========================
   Utility
========================= */

.sp-only {
    display: none;
}

.pc-only {
    display: inline;
}

@media (max-width: 767px) {

    .sp-only {
        display: inline;
    }

    .pc-only {
        display: none;
    }

}