:root {
    --primary-color: #FFF1CF;
    /* 鳥の子色 (Torinoko-iro) */
    --accent-color: #f7a731;
    /* Sunflower yellow/orange */
    --text-color: #4a3c31;
    /* Dark brown for text */
    --bg-light: #ffffff;
    --bg-accent: #fcf6e8;
    --border-radius-lg: 40px;
    --border-radius-md: 20px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', 'M PLUS Rounded 1c', sans-serif;
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
.font-hand {
    font-family: 'Itim', cursive;
}

.font-rounded {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: 700;
}

.emoji {
    font-style: normal;
}

h1,
h2,
h3 {
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    font-family: 'Itim', cursive;
}

/* Header */
header {
    background-color: rgba(255, 241, 207, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

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

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    transition: var(--transition);
}

nav a:hover {
    color: var(--accent-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero {
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 80vh;
}

.hero-content {
    margin-bottom: 40px;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-color);
}

/* Scattered Hero Images */
.hero-image {
    width: 90%;
    /* max-width: 1000px; */
    height: 450px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); */
    position: relative;
    /* background-color: #fff; */
    display: flex;
    justify-content: center;
    align-items: center;
    transform: rotate(-1deg);
}

.hero-bg-items {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.bg-item {
    position: absolute;
    width: 280px;
    height: 200px;
    object-fit: cover;
    border: 10px solid #fff;
    border-bottom-width: 40px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    opacity: 0.9;
    transition: transform 0.3s ease;
    animation: floating 8s infinite ease-in-out;
}

.bg-item:hover {
    transform: scale(1.05) rotate(0deg) !important;
    z-index: 20;
    opacity: 1;
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0) rotate(var(--rot));
    }

    50% {
        transform: translateY(-15px) rotate(calc(var(--rot) + 2deg));
    }
}

.item-1 {
    top: 5%;
    left: 2%;
    --rot: -5deg;
    transform: rotate(var(--rot));
    animation-delay: 0s;
}

.item-2 {
    top: 45%;
    left: 5%;
    --rot: 8deg;
    transform: rotate(var(--rot));
    animation-delay: 2s;
}

.item-3 {
    top: 10%;
    right: 5%;
    --rot: 4deg;
    transform: rotate(var(--rot));
    animation-delay: 1s;
}

.item-4 {
    top: 50%;
    right: 2%;
    --rot: -7deg;
    transform: rotate(var(--rot));
    animation-delay: 3s;
}

.item-5 {
    bottom: -10%;
    left: 35%;
    --rot: 2deg;
    transform: rotate(var(--rot));
    animation-delay: 4s;
    width: 350px;
    height: 250px;
}

@media (max-width: 768px) {
    .bg-item {
        width: 160px;
        height: 120px;
        border-width: 5px;
        border-bottom-width: 25px;
    }

    .item-1 {
        top: 5%;
        left: -5%;
    }

    .item-2 {
        top: 60%;
        left: -5%;
    }

    .item-3 {
        top: 5%;
        right: -5%;
    }

    .item-4 {
        top: 60%;
        right: -5%;
    }

    .item-5 {
        bottom: 5%;
        left: 20%;
        width: 180px;
        height: 140px;
    }
}

.hero-logo-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-logo {
    width: 50%;
    height: auto;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gallery-item {
    background: #fff;
    padding: 15px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
}

.gallery-row {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.gallery-row .gallery-item {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

.gallery-item:hover {
    transform: translateY(-10px);
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: calc(var(--border-radius-md) - 5px);
    margin-bottom: 15px;
}

.gallery-item p {
    font-weight: 700;
    color: var(--text-color);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: -10px 10px 0 var(--accent-color);
}

.about-image img {
    width: 100%;
}

.about-content h2 {
    text-align: left;
}

.about-content h3 {
    margin-top: 2rem;
    color: var(--accent-color);
}

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

.insta-banner {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    padding: 20px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    margin-top: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

/* Access Section */
.access-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
}

.map-container {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.access-info h3 {
    font-size: 1.1rem;
    border-left: 4px solid var(--accent-color);
    padding-left: 10px;
    margin-top: 1.5rem;
}

.social-links {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn {
    display: block;
    padding: 15px 25px;
    border-radius: 12px;
    text-decoration: none;
    text-align: center;
    font-weight: 700;
    transition: var(--transition);
}

.google-maps-btn {
    background-color: #fff;
    border: 2px solid #4285F4;
    color: #4285F4;
}

.google-maps-btn:hover {
    background-color: #4285F4;
    color: #fff;
}

.instagram-btn {
    background-color: #fff;
    border: 2px solid #E1306C;
    color: #E1306C;
}

.instagram-btn:hover {
    background-color: #E1306C;
    color: #fff;
}

/* Footer */
footer {
    background-color: var(--text-color);
    color: var(--primary-color);
    position: relative;
    padding-bottom: 40px;
}

.footer-wave {
    position: absolute;
    top: -50px;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 50px;
}

.footer-wave .shape-fill {
    fill: var(--text-color);
}

.footer-content {
    padding-top: 40px;
}

.footer-logo {
    font-size: 2rem;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.footer-info {
    font-size: 0.9rem;
    opacity: 0.8;
}

.copyright {
    margin-top: 30px;
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Sections General */
.section {
    padding: 100px 0;
}

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

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

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

/* Responsive */
@media (max-width: 991px) {
    .hero h1 {
        font-size: 3rem;
    }

    .about-grid,
    .access-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--primary-color);
        display: flex !important;
        justify-content: center;
        align-items: center;
        transition: 0.5s ease;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    nav a {
        font-size: 1.5rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-image {
        height: 350px;
    }

    .main-logo {
        max-width: 60%;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .gallery-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .section#menu p {
        font-size: 0.9rem;
    }

    .insta-banner {
        padding: 15px 25px;
        font-size: 1rem;
        gap: 10px;
        white-space: nowrap;
    }

    .insta-banner span {
        font-size: 0.95rem;
    }

    .section {
        padding: 60px 0;
    }

    .hero {
        min-height: auto;
    }

    .footer-wave {
        top: -30px;
    }

    .footer-wave svg {
        height: 30px;
    }
}