:root {
    --primary-color: #b7282d;
    --text-color: #333;
    --bg-color: #fff;
    --bg-light: #f9f9f9;
    --overlay-color: rgba(0, 0, 0, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
    --font-main: 'Noto Sans JP', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
    color: var(--primary-color);
    letter-spacing: 0.05em;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 50px;
    color: #666;
    font-size: 1rem;
    letter-spacing: 0.1em;
    display: block;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    color: #fff;
}

/* Slideshow */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: slideFade 12s infinite;
}

.slide-item:nth-child(1) {
    animation-delay: 0s;
}

.slide-item:nth-child(2) {
    animation-delay: 6s;
}

@keyframes slideFade {
    0% {
        opacity: 0;
        transform: scale(1);
    }

    15% {
        opacity: 1;
    }

    50% {
        opacity: 1;
    }

    65% {
        opacity: 0;
        transform: scale(1.1);
    }

    100% {
        opacity: 0;
        transform: scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-color);
    z-index: -1;
}

.hero-content {
    text-align: center;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.logo-container {
    margin-bottom: 20px;
}

.main-logo {
    width: 250px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.3));
}

.hero-tagline {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    font-weight: 300;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-top: 1rem;
    opacity: 0;
    animation: fadeInUp 1.5s ease 0.5s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

.scroll-down .arrow {
    width: 1px;
    height: 50px;
    background-color: #fff;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

.scroll-down .arrow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

/* Instagram Section */
.insta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin-bottom: 40px;
}

.insta-item {
    display: block;
    position: relative;
    padding-bottom: 100%;
    /* Square Aspect Ratio */
    background-color: #eee;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.insta-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.insta-img-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ddd;
    background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2264%22%20height%3D%2264%22%20viewBox%3D%220%200%2064%2064%22%20fill%3D%22non%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M32%200C14.327%200%200%2014.327%200%2032s14.327%2032%2032%2032%2032-14.327%2032-32S49.673%200%2032%200zm0%2058C17.663%2058%206%2046.337%206%2032S17.663%206%2032%206s26%2011.663%2026%2026-11.663%2026-26%2026z%22%20fill%3D%22rgba(0%2C0%2C0%2C0.1)%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30%;
}

.instagram-wrapper {
    position: relative;
    width: 100%;
}

.btn-container {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
    width: 100%;
    pointer-events: none;
    /* Let clicks pass through the container div */
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    background-color: #fff;
    /* Solid white */
    pointer-events: auto;
}

.btn-outline {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
    opacity: 1;
    /* Override global a:hover opacity */
}

/* Shop Info Section */
.info-card {
    background-color: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.info-list {
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item dt {
    width: 100px;
    font-weight: 700;
    color: var(--primary-color);
    flex-shrink: 0;
}

.info-item dd {
    flex-grow: 1;
}

.info-item dd .note {
    font-size: 0.85em;
    color: #888;
}

.map-container {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ddd;
}

.map-container iframe {
    width: 100%;
    height: 100%;
}

/* Footer */
.footer {
    background-color: #b7282d;
    color: #fff;
    padding: 30px 0;
    text-align: center;
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-bg {
        /* Optimize for mobile */
        background-attachment: scroll;
    }

    .main-logo {
        width: 180px;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .info-card {
        padding: 20px;
    }

    .info-item {
        flex-direction: column;
    }

    .info-item dt {
        margin-bottom: 5px;
    }
}