:root {
    --color-primary: #8E404B;
    /* Sweet potato skin purple */
    --color-secondary: #F2C05D;
    /* Sweet potato inside yellow */
    --color-text: #4A3B32;
    /* Dark brown/charcoal */
    --color-bg: #F9F7F2;
    /* Warm off-white */
    --color-white: #ffffff;
    --font-main: 'Noto Sans JP', sans-serif;
    --font-accent: 'Zen Maru Gothic', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.8;
    letter-spacing: 0.05em;
}

h1,
h2,
h3 {
    font-family: var(--font-accent);
    font-weight: 700;
}

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

a:hover {
    opacity: 0.7;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

.container {
    max-width: 1200px;
    /* Increased from 1000px to allow more space */
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    /* transition: transform 0.3s ease; Removed as header is always visible */
    padding: 15px 0;
}

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

.header__logo {
    height: 40px;
    line-height: 0;
}

.header__logo a {
    display: flex;
    align-items: center;
    height: 100%;
    /* Space between logos */
}

.header__logo img {
    height: 100%;
    width: auto;
}

/* Optional: specific adjustments if needed */
.logo-char {
    height: 160% !important;
    /* Increased from 120% */
    /* margin-top removed to ensure vertical centering via flexbox */
}

.header__nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.header__nav a {
    font-size: 0.95rem;
    font-weight: 500;
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    z-index: 1;
    /* Lower z-index for hero */
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #333;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomIn 20s infinite alternate linear;
}

@keyframes zoomIn {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15);
    }
}

/* Overlay to make text readable over video */
.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    /* Darken video slightly */
    z-index: 1;
}

.hero__content {
    text-align: center;
    color: var(--color-white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero__catch {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-family: var(--font-accent);
}

.hero__title {
    font-size: 3.5rem;
    line-height: 1.3;
}

.hero__scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-white);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Hero Character */
.hero__character {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s;
}

.hero__character:hover {
    transform: translateY(-5px);
}

.hero__character img {
    width: 220px;
    /* Increased from 160px */
    /* Adjust size as needed */
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.hero__bubble {
    background: var(--color-white);
    color: var(--color-text);
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 10px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    text-align: center;
    animation: float 3s ease-in-out infinite;
}

.hero__bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px 10px 0;
    border-style: solid;
    border-color: var(--color-white) transparent transparent transparent;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Responsive adjustment for character */
@media (max-width: 768px) {
    .hero__character {
        right: 10px;
        bottom: 60px;
        /* Move up slightly to avoid overlapping with scroll indicator or bottom edge */
    }

    .hero__character img {
        width: 130px;
        /* Increased from 100px */
    }

    .hero__bubble {
        font-size: 0.8rem;
        padding: 8px 12px;
    }
}

/* Sections */
.section {
    padding: 100px 0;
    position: relative;
    /* For absolute positioning of dividers */
    z-index: 10;
    /* Higher z-index to cover pinned hero */
    background-color: var(--color-bg);
    /* Ensure solid background */
}

.section__title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 60px;
    line-height: 1.4;
}

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

.concept__content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Force 3 columns */
    gap: 40px;
    text-align: center;
}

@media (max-width: 768px) {
    .concept__content {
        grid-template-columns: 1fr;
        /* Stack on mobile */
    }
}

.concept__item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-secondary);
    display: inline-block;
    padding-bottom: 5px;
}

.concept__item p {
    font-size: 0.95rem;
    /* Slightly reduced to prevent wrapping */
    line-height: 2;
    width: 100%;
    white-space: nowrap;
    /* Optional: force single line if width allows, but might be risky. Better to rely on width. */
}

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

.menu__note {
    text-align: center;
    margin-bottom: 40px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.menu__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.menu__item {
    background: var(--color-white);
    padding: 20px;
    /* Restored */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    /* Restored */
    transition: transform 0.3s ease;
    will-change: opacity, transform;
    /* Optimize for animation */
}

.menu__item:hover {
    transform: translateY(-5px);
}

.menu__image-wrapper {
    width: 100%;
    aspect-ratio: 1;
    background-color: #eee;
    border-radius: 50%;
    margin-bottom: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu__image-placeholder {
    color: #aaa;
    font-size: 0.9rem;
}

.menu__name {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--color-primary);
}

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

.menu__desc {
    font-size: 0.9rem;
    text-align: left;
}

.menu__specials {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.menu__special-item {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 20px 40px;
    border-radius: 50px;
    text-align: center;
}

.menu__special-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

/* Instagram */
.instagram {
    background-color: var(--color-white);
}

.instagram__desc {
    text-align: center;
    margin-bottom: 40px;
}

.instagram__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.instagram__item {
    aspect-ratio: 3/4;
    /* Changed from 1 to 3:4 */
    overflow: hidden;
    border-radius: 5px;
}

.instagram__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.instagram__item:hover img {
    transform: scale(1.1);
}

.instagram__btn-wrapper {
    text-align: center;
}

.instagram__btn {
    display: inline-block;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--color-white);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.instagram__btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    opacity: 1;
    /* Override default a:hover opacity */
}

.instagram__icon {
    margin-right: 8px;
}

/* Reservation */
.reservation {
    background-color: var(--color-bg);
}

.reservation__lead {
    text-align: center;
    margin-bottom: 50px;
    line-height: 2;
}

.reservation__steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 60px;
}

.step {
    background: var(--color-white);
    padding: 30px 20px;
    border-radius: 10px;
    width: 220px;
    /* Reduced from 220px to fit 4 in a row */
    text-align: center;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Arrow for desktop */
.step::after {
    content: '▶';
    /* Or use a border arrow for cleaner look */
    position: absolute;
    right: -24px;
    /* Adjusted for tighter gap */
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-secondary);
    font-size: 1.2rem;
}

.step:last-child::after {
    display: none;
}

/* Responsive adjustments for arrows */
@media (max-width: 960px) {

    /* Adjusted breakpoint */
    .reservation__steps {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .step::after {
        content: '▼';
        right: 50%;
        top: auto;
        bottom: -38px;
        transform: translateX(50%);
    }
}

.step__num {
    color: var(--color-secondary);
    font-weight: bold;
    font-family: var(--font-accent);
    margin-bottom: 10px;
    letter-spacing: 0.1em;
}

.step__title {
    color: var(--color-primary);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.step__desc {
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: left;
}

.reservation__template {
    max-width: 600px;
    margin: 0 auto 60px;
    text-align: center;
}

.reservation__template h3 {
    margin-bottom: 15px;
    color: var(--color-primary);
}

.template__box {
    background: var(--color-white);
    border: 2px dashed var(--color-secondary);
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    font-size: 1.1rem;
    line-height: 2;
    position: relative;
    /* For absolute positioning of copy button */
}

.copy-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--color-secondary);
    color: var(--color-text);
    border: none;
    padding: 5px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background-color 0.3s;
}

.copy-btn:hover {
    background-color: #e0b04d;
}

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

.template__note {
    font-size: 0.8rem;
    margin-top: 10px;
    color: #888;
}

.reservation__notes {
    background: #fff0f0;
    padding: 30px;
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
}

.reservation__notes h3 {
    color: #d32f2f;
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-align: center;
}

.reservation__notes ul {
    list-style: disc;
    padding-left: 20px;
}

.reservation__notes li {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

/* Access */
.access {
    background-color: var(--color-white);
}

.access__content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

.access__info {
    flex: 1;
    min-width: 300px;
}

.access__info dt {
    font-weight: bold;
    color: var(--color-primary);
    margin-top: 20px;
    font-size: 1.1rem;
}

.access__info dt:first-child {
    margin-top: 0;
}

.access__info dd {
    margin-left: 0;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.access__map {
    flex: 1;
    min-width: 300px;
}

.access__map iframe {
    width: 100%;
    height: 300px;
    border-radius: 10px;
}

/* Footer */
.footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    text-align: center;
    padding: 20px 0;
}

.footer__copyright {
    font-size: 0.8rem;
}

/* Animation Classes (Handled by GSAP now, keeping base styles if needed) */
.fade-in {
    /* opacity: 0; handled by GSAP */
    /* transform: translateY(20px); handled by GSAP */
    /* transition: opacity 0.8s ease-out, transform 0.8s ease-out; handled by GSAP */
}

/* .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
} */

/* Responsive */
@media (max-width: 768px) {
    .header__nav {
        display: none;
        /* Simple mobile menu hide for now */
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .section__title {
        font-size: 2rem;
    }

    .template__box {
        padding: 20px 15px;
        /* Reduced padding */
        font-size: 0.95rem;
        /* Smaller font */
        line-height: 1.8;
    }

    .reservation__notes {
        padding: 20px 15px;
        /* Reduced padding */
    }

    .reservation__notes li {
        font-size: 0.85rem;
        /* Smaller font */
        margin-bottom: 8px;
    }
}