:root {
    /* Color Palette */
    --color-primary: #8D6E63; /* Warm Brown */
    --color-secondary: #D7CCC8; /* Light Beige */
    --color-accent: #558B2F; /* Natural Green */
    --color-text: #3E2723; /* Dark Brown for text */
    --color-bg: #FDFBF7; /* Off-white background */
    --color-bg-accent: #EBE5DE; /* Greige for sections */
    --color-white: #ffffff;

    /* Fonts */
    --font-base: 'Noto Sans JP', sans-serif;
    --font-serif: 'Shippori Mincho', serif;
    --font-rounded: 'Zen Maru Gothic', sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-base);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 2.0; /* More breathable */
    letter-spacing: 0.08em;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px; /* Header height */
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.7;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 120px 0; /* Increased padding */
}

.section__title {
    font-family: var(--font-serif);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--color-primary);
}

.section__title--left {
    text-align: left;
}

.btn {
    display: inline-block;
    padding: 12px 40px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 50px;
    font-size: 1rem;
    letter-spacing: 0.1em;
}

.btn--white {
    background-color: var(--color-white);
    color: var(--color-primary);
}

.btn-wrapper {
    text-align: center;
    margin-top: 40px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent; /* Transparent initially */
    z-index: 100;
    transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
    padding: 10px 0;
    color: var(--color-white); /* Initial white text */
}

.header.is-scrolled {
    background-color: rgba(253, 251, 247, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 0;
    backdrop-filter: blur(5px);
    color: var(--color-text); /* Scrolled dark text */
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.header__logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
}

.header__logo-img {
    display: none;
    height: 40px;
    width: auto;
}

.header.is-scrolled .header__logo-text {
    display: none;
}

.header.is-scrolled .header__logo-img {
    display: block;
}

.header__nav {
    display: none;
    position: absolute;
    top: 100%; /* Below the header */
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Default: Black transparent */
    padding: 20px 0;
    text-align: center;
    transition: background-color 0.3s ease;
}

.header__nav.is-active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.header.is-scrolled .header__nav {
    background-color: rgba(255, 255, 255, 0.9); /* Scrolled: White transparent */
}

.header__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.header__item a {
    color: var(--color-white);
    font-size: 1.2rem;
    font-family: var(--font-serif);
}

.header.is-scrolled .header__item a {
    color: var(--color-text);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.header__hamburger {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.header__hamburger span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--color-white);
    margin-bottom: 6px;
    transition: all 0.3s ease;
}

.header__hamburger span:last-child {
    margin-bottom: 0;
}

.header.is-scrolled .header__hamburger span {
    background-color: var(--color-text);
}

/* Hamburger Animation */
.header__hamburger.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.header__hamburger.is-active span:nth-child(2) {
    opacity: 0;
}

.header__hamburger.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (min-width: 768px) {
    .header__nav {
        display: block;
        position: static;
        background-color: transparent;
        padding: 0;
        width: auto;
        animation: none;
    }
    .header.is-scrolled .header__nav {
        background-color: transparent;
    }
    .header__list {
        display: flex;
        flex-direction: row;
        gap: 30px;
    }
    .header__item a {
        color: inherit; /* Reset color */
        font-size: 1rem;
    }
    .header__hamburger {
        display: none;
    }
}

/* Hero */
.hero {
    position: relative;
    height: 100vh; /* Full screen */
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    text-align: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ccc;
    background-size: cover;
    background-position: center;
    z-index: -1;
    /* Parallax effect handled by JS or simple fixed attachment for now */
    background-attachment: fixed; 
}

.hero__bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2); /* Lighter overlay */
}

.hero__title {
    font-family: var(--font-serif);
    font-size: 3.5rem; /* Mobile: 3.5rem */
    line-height: 1.8;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    writing-mode: vertical-rl; /* Vertical writing */
    text-orientation: upright;
    letter-spacing: 0.2em;
    height: 60vh; /* Give space for vertical text */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media (min-width: 768px) {
    .hero__title {
        font-size: 2.5rem; /* PC: 2.5rem */
    }
}

.hero__title-sub {
    font-size: 1.2rem;
    display: block;
    margin-left: 20px; /* Space between lines in vertical mode */
    margin-bottom: 0;
    font-weight: normal;
    opacity: 0.9;
}

/* News */
.news {
    background-color: var(--color-white);
    padding: 40px 0;
}

.news__list {
    max-width: 800px;
    margin: 0 auto;
}

.news__item {
    display: flex;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.news__date {
    font-family: var(--font-serif);
    color: var(--color-primary);
}

/* Concept */
.concept {
    background-color: var(--color-bg);
}

.concept__inner {
    display: flex;
    flex-direction: column;
    gap: 60px;
    position: relative;
}

@media (min-width: 768px) {
    .concept__inner {
        flex-direction: row;
        align-items: center;
    }
    .concept__image {
        flex: 1.2;
    }
    .concept__text {
        flex: 1;
        background-color: rgba(253, 251, 247, 0.9);
        padding: 60px;
        margin-left: -100px; /* Overlap */
        z-index: 2;
        box-shadow: 0 20px 40px rgba(0,0,0,0.05);
        border-radius: 4px;
    }
}

.concept__image img {
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Menu */
.menu {
    background-color: var(--color-bg-accent); /* Greige background */
}

.menu__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

@media (min-width: 768px) {
    .menu__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .menu__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.menu__category-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: var(--font-rounded);
}

.menu__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.menu__image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
}

.menu__content {
    text-align: left;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.menu__name {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--color-text);
    font-weight: bold;
}

.menu__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px dashed #eee;
}

.menu__type {
    font-size: 0.85rem;
    color: #888;
    background-color: #f5f5f5;
    padding: 2px 8px;
    border-radius: 4px;
}

.menu__price {
    font-size: 1.1rem;
    color: var(--color-primary);
    font-weight: bold;
    margin-left: auto; /* Push to right */
}

/* Fortune */
.fortune {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.fortune .section__title {
    color: var(--color-white);
}

.fortune__inner {
    display: flex;
    flex-direction: column-reverse;
    gap: 40px;
}

@media (min-width: 768px) {
    .fortune__inner {
        flex-direction: row;
        align-items: center;
    }
    .fortune__image {
        flex: 1.2;
    }
    .fortune__content {
        flex: 1;
        background-color: rgba(255, 255, 255, 0.95);
        padding: 60px;
        margin-right: -100px; /* Overlap */
        z-index: 2;
        box-shadow: 0 20px 40px rgba(0,0,0,0.05);
        border-radius: 4px;
        color: var(--color-text); /* Ensure text is dark */
    }
    .fortune__content .section__title {
        color: var(--color-primary); /* Title color */
        text-align: left;
    }
}

.fortune__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .fortune__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

.fortune__item {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.fortune__item-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
}

.fortune__item-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--color-white);
}

.fortune__item-text {
    font-size: 0.95rem;
    line-height: 1.8;
    text-align: left;
}

.fortune__reservation {
    margin-top: 60px;
    text-align: center;
}

.fortune__reservation-text {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Access */
.access__details {
    display: flex;
    flex-direction: column-reverse;
    gap: 30px;
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .access__details {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.access__logo {
    width: 150px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .access__logo {
        width: 250px;
        margin: 0;
    }
}

.access__info {
    flex: 1;
}

.access__info dl {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 15px;
}

.access__info dt {
    font-weight: bold;
    color: var(--color-primary);
}

.access__map iframe {
    width: 100%;
    height: 300px; /* Adjust height as needed */
}

/* Mobile Hero Image */
@media (max-width: 767px) {
    .hero__bg {
        background-image: url('../images/hero_sp.png') !important;
    }
}

/* Footer */
.footer {
    background-color: #3E2723;
    color: rgba(255,255,255,0.7);
    padding: 40px 0;
    text-align: center;
}

.footer__logo {
    color: var(--color-white);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer__nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

/* Animations */
.js-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.js-fade.is-active {
    opacity: 1;
    transform: translateY(0);
}

/* Delay for staggered animations */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
