:root {
    --bg-open: #f7f5f0;
    --text-open: #2b2621;
    --bg-closed: #1e1d1c;
    --text-closed: #d4cfc7;
    --bg-prep: #f4ede2;
    --text-prep: #6e5b47;
}

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

body {
    font-family: 'Zen Old Mincho', 'Montserrat', serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: background-color 0.8s ease, color 0.8s ease;
    letter-spacing: 0.05em;
}

body.open { background-color: var(--bg-open); color: var(--text-open); }
body.closed { background-color: var(--bg-closed); color: var(--text-closed); }
body.prep { background-color: var(--bg-prep); color: var(--text-prep); }

/* ヘッダー */
header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background 0.5s ease, border-color 0.5s ease;
}

body.closed header {
    background: rgba(30, 29, 28, 0.5);
    border-bottom-color: rgba(255,255,255,0.06);
}

.header-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-decoration: none;
    color: inherit;
}

.header-nav {
    display: flex;
    gap: 25px;
    list-style: none;
    font-size: 0.85rem;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.1em;
}

.header-nav a {
    text-decoration: none;
    color: inherit;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.header-nav a:hover {
    opacity: 1;
}

/* ★ ワイドメインビジュアル（横幅いっぱい） */
.hero-banner-wide {
    width: 100%;
    height: 420px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.hero-banner-wide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.92);
    transition: transform 0.8s ease;
}

.hero-banner-wide:hover img {
    transform: scale(1.02);
}

/* メインコンテナ */
.container {
    max-width: 750px;
    width: 100%;
    text-align: center;
    padding: 50px 20px 40px 20px;
    flex: 1;
}

.brand-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 8px;
    opacity: 0.7;
}

h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 25px;
}

/* ステータス（のれん）カード */
.noren-card {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 30px 20px;
    border-radius: 6px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: all 0.5s ease;
}

body.closed .noren-card {
    background: rgba(40, 38, 36, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.prep .noren-card {
    background: rgba(255, 255, 255, 0.7);
}

.noren-sign {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    margin-bottom: 12px;
}

.status-message {
    font-size: 0.95rem;
    opacity: 0.8;
    line-height: 1.6;
}

/* セクション共通 */
section {
    margin-bottom: 40px;
    text-align: left;
    background: rgba(255, 255, 255, 0.4);
    padding: 35px 30px;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.04);
    scroll-margin-top: 100px;
}

body.closed section {
    background: rgba(35, 33, 31, 0.5);
    border: 1px solid rgba(255,255,255,0.05);
}

section h2 {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding-bottom: 10px;
}

body.closed section h2 {
    border-bottom-color: rgba(255,255,255,0.1);
}

/* お店紹介セクション */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    align-items: center;
}

.about-text p {
    font-size: 0.95rem;
    line-height: 1.8;
    opacity: 0.85;
    margin-bottom: 15px;
}

.about-image {
    width: 100%;
    height: 200px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0,0,0,0.05);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 写真ギャラリー */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 20px;
    border-radius: 6px;
    overflow: hidden;
}

.photo-item {
    position: relative;
    height: 140px;
    overflow: hidden;
    border-radius: 4px;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.photo-item:hover img {
    transform: scale(1.05);
}

/* メニューリスト */
.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.menu-item:last-child {
    margin-bottom: 0;
}

.menu-name {
    font-weight: 600;
}

.menu-desc {
    font-size: 0.8rem;
    opacity: 0.6;
    display: block;
    margin-top: 3px;
}

.menu-price {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    letter-spacing: 0.05em;
    white-space: nowrap;
    margin-left: 15px;
}

.menu-category-title {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin: 25px 0 12px 0;
    opacity: 0.5;
}
.menu-category-title:first-child {
    margin-top: 0;
}

/* 店舗情報 */
.info-list {
    list-style: none;
    font-size: 0.9rem;
    line-height: 2.2;
}

.info-list li {
    display: flex;
    margin-bottom: 6px;
}

.info-label {
    width: 95px;
    opacity: 0.6;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}

.info-value {
    flex: 1;
}

/* フッター */
footer {
    width: 100%;
    background: rgba(0, 0, 0, 0.03);
    border-top: 1px solid rgba(0,0,0,0.06);
    padding: 40px 20px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    transition: background 0.5s ease, border-color 0.5s ease;
}

body.closed footer {
    background: rgba(20, 19, 18, 0.7);
    border-top-color: rgba(255,255,255,0.06);
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-sns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    letter-spacing: 0.15em;
}

.footer-sns a {
    text-decoration: none;
    color: inherit;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-sns a:hover {
    opacity: 1;
}

.copyright {
    opacity: 0.4;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
}

@media (max-width: 600px) {
    header {
        padding: 15px 20px;
    }
    .header-nav {
        display: none;
    }
    .hero-banner-wide {
        height: 260px; /* スマホでは少し高さを調整 */
    }
    .about-content {
        grid-template-columns: 1fr;
    }
    .photo-gallery {
        grid-template-columns: 1fr;
    }
    .photo-item {
        height: 180px;
    }
}