:root {
    --primary-color: #1a1a1a;
    --text-color: #333333;
    --bg-color: #ffffff;
    --gray-bg: #f5f5f5;
    --accent-color: #8b7355;
    --header-height: 80px;
}

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    line-height: 1.8;
    background-color: var(--bg-color);
}

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

ul {
    list-style: none;
}

.placeholder-image {
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.placeholder-image::after {
    content: "Image Placeholder";
    color: #999;
    font-size: 1.2rem;
    font-family: 'Cinzel', serif;
    letter-spacing: 0.1em;
}

/* Typography */
h1, h2, h3, .en {
    font-family: 'Cinzel', serif;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 100;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0));
    color: #fff;
    transition: background 0.3s ease;
}

.header.solid {
    background: var(--primary-color);
}

.header-inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
}

.header-insta a:hover {
    opacity: 0.7;
}

.logo a {
    font-size: 1.8rem;
    letter-spacing: 0.1em;
}

.global-nav ul {
    display: flex;
    gap: 3rem;
}

.global-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.global-nav a:hover {
    opacity: 0.7;
}

.global-nav .en {
    font-size: 1rem;
    letter-spacing: 0.1em;
}

.global-nav .ja {
    font-size: 0.7rem;
    margin-top: 0.2rem;
    opacity: 0.8;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slideshow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    animation: slideAnimation 20s infinite;
}

.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 5s; }
.slide:nth-child(3) { animation-delay: 10s; }
.slide:nth-child(4) { animation-delay: 15s; }

@keyframes slideAnimation {
    0% { opacity: 0; transform: scale(1); }
    5% { opacity: 1; }
    25% { opacity: 1; }
    30% { opacity: 0; transform: scale(1.05); }
    100% { opacity: 0; transform: scale(1.05); }
}

.hero-text {
    z-index: 3;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    width: 100%;
}

.hero-text h2 {
    font-size: 3.5rem;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-text p {
    font-size: 1.2rem;
    letter-spacing: 0.3em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Page Header */
.page-header {
    height: 40vh;
    min-height: 300px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    background-color: #888;
    overflow: hidden;
}

.page-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-slideshow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.slide-2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    animation: slideAnimation2 10s infinite;
}

.slide-2:nth-child(1) { animation-delay: 0s; }
.slide-2:nth-child(2) { animation-delay: 5s; }

@keyframes slideAnimation2 {
    0% { opacity: 0; transform: scale(1); }
    10% { opacity: 1; }
    50% { opacity: 1; }
    60% { opacity: 0; transform: scale(1.05); }
    100% { opacity: 0; transform: scale(1.05); }
}

.slide-3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    animation: slideAnimation3 15s infinite;
}

.slide-3:nth-child(1) { animation-delay: 0s; }
.slide-3:nth-child(2) { animation-delay: 5s; }
.slide-3:nth-child(3) { animation-delay: 10s; }

@keyframes slideAnimation3 {
    0% { opacity: 0; transform: scale(1); }
    6.66% { opacity: 1; }
    33.33% { opacity: 1; }
    40% { opacity: 0; transform: scale(1.05); }
    100% { opacity: 0; transform: scale(1.05); }
}

.page-header::after {
    display: none; /* Hide placeholder text for page header */
}

.page-title {
    font-size: 3rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.page-subtitle {
    font-size: 1rem;
    letter-spacing: 0.2em;
    position: relative;
    z-index: 2;
}

/* Common Layout */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    color: #666;
}

/* Button */
.btn {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: var(--primary-color);
    color: #fff;
    border: 1px solid var(--primary-color);
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #fff;
    color: var(--primary-color);
}

/* Concept Section */
.concept-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.concept-image {
    flex: 1;
    height: 400px;
}

.concept-text {
    flex: 1;
}

.concept-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-align: left;
}

.concept-text p {
    margin-bottom: 2rem;
    color: #555;
    text-align: left;
}

/* News Section */
.news {
    background-color: var(--gray-bg);
}

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

.news-list li {
    display: flex;
    border-bottom: 1px solid #ddd;
    padding: 1.5rem 0;
}

.news-list time {
    width: 120px;
    font-family: 'Cinzel', serif;
    color: #666;
}

.news-list a {
    flex: 1;
}

.news-list a:hover {
    color: var(--accent-color);
}

/* Page Content Blocks */
.content-block {
    margin-bottom: 6rem;
    text-align: left;
}

.content-block:last-child {
    margin-bottom: 0;
}

.content-block.row {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.content-block.row.reverse {
    flex-direction: row-reverse;
}

.content-block .col {
    flex: 1;
}

.content-block h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    position: relative;
    padding-bottom: 1rem;
}

.content-block h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.text-center h3::after {
    left: 50%;
    transform: translateX(-50%);
}

.mb-4 {
    margin-bottom: 2rem;
}

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

.contact-intro {
    text-align: center;
    margin-bottom: 3rem;
}

/* Shop Info Section */
.shop-info-wrapper {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.shop-details,
.map-container {
    flex: 1;
    min-width: 0;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.footer-logo {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
}

.footer-address {
    font-size: 0.9rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.copyright {
    font-size: 0.8rem;
    font-family: 'Cinzel', serif;
    opacity: 0.6;
}

/* Hamburger Menu */
.hamburger {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        height: 60px;
    }
    .header-inner {
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        padding: 0 1rem;
        height: 100%;
        position: relative;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 18px;
        position: absolute;
        top: 50%;
        left: 1rem;
        transform: translateY(-50%);
        cursor: pointer;
        z-index: 101;
    }

    .hamburger span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: #fff;
        transition: all 0.3s ease;
    }

    .header.solid .hamburger span {
        background-color: #fff;
    }

    .hamburger.is-active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.is-active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.is-active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .global-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(26, 26, 26, 0.95);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 100;
    }

    .global-nav.is-active {
        transform: translateX(0);
    }

    .global-nav ul {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
    
    /* Remove logo styles if any, or keep commented */
    /* .logo {
        z-index: 101;
        position: relative;
    } */

    .hero-text h2 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 0.9rem;
    }

    .concept-content {
        flex-direction: column;
        gap: 2rem;
    }

    .concept-image {
        width: 100%;
        height: 300px;
    }

    .news-list li {
        flex-direction: column;
        gap: 0.5rem;
    }

    .content-block.row,
    .content-block.row.reverse {
        flex-direction: column;
        gap: 2rem;
    }

    .content-block .col.placeholder-image {
        width: 100%;
    }

    .shop-info-wrapper {
        flex-direction: column;
        gap: 2rem;
    }

    .content-text p,
    .concept-text p {
        font-size: 0.85rem;
    }

    .meat-intro-text {
        font-size: 0.4rem;
        white-space: nowrap;
        letter-spacing: -0.02em;
    }

    .contact-intro {
        text-align: left;
        font-size: 0.7rem;
    }
    .content-block h3,
    .concept-text h3 {
        font-size: 1.2rem;
    }
}

/* Contact Form */
.form-group {
    margin-bottom: 2rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group .required {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 0.7rem;
    padding: 0.1rem 0.5rem;
    margin-left: 0.5rem;
    border-radius: 2px;
}

.form-group .optional {
    display: inline-block;
    background-color: #999;
    color: #fff;
    font-size: 0.7rem;
    padding: 0.1rem 0.5rem;
    margin-left: 0.5rem;
    border-radius: 2px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ccc;
    font-family: inherit;
    font-size: 1rem;
    background-color: #fafafa;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-btn {
    width: 100%;
    max-width: 300px;
    cursor: pointer;
}

/* Gallery Scroll */
.gallery-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
}

.gallery-scroll::-webkit-scrollbar {
    height: 6px;
}

.gallery-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.gallery-scroll::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.gallery-scroll img {
    height: 300px;
    width: auto;
    object-fit: cover;
    border-radius: 8px;
    scroll-snap-align: start;
    flex-shrink: 0;
}

.insta-link {
    text-decoration: underline;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.insta-link:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .gallery-scroll img {
        height: 200px;
    }
}

/* Utility Classes */
.pc-only {
    display: block !important;
}
.sp-only {
    display: none !important;
}

@media (max-width: 768px) {
    .pc-only {
        display: none !important;
    }
    .sp-only {
        display: block !important;
    }
}
