:root {
    --primary-color: #d12222;   /* 赤 */
    --secondary-color: #000000; /* 背景（黒） */
    --card-bg: #111111;         /* セクション用の濃いグレー */
    --text-color: #eeeeee;      /* 本文（白寄り） */
    --muted-text: #bbbbbb;
    --accent-color: #e9541a;
    --border-color: #2a2a2a;
    --font-family: 'Noto Sans JP', sans-serif;
}

* { box-sizing: border-box; }

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.7;
    margin: 0;
    padding: 0;
    background-color: var(--secondary-color);
    text-align: center;
}

/* ===== Header ===== */
header {
    background: linear-gradient(180deg, #000 0%, #0a0a0a 100%);
    color: white;
    padding: 2.5rem 1rem 2rem;
    border-bottom: 2px solid var(--primary-color);
    position: relative;
}

.header-inner { max-width: 1000px; margin: 0 auto; position: relative; }

.language-selector {
    position: absolute;
    top: 0.8rem;
    right: 1rem;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.language-selector label {
    font-weight: 700;
    color: #fff;
}

.language-selector select {
    padding: 0.35rem 2rem 0.35rem 0.6rem;
    border-radius: 8px;
    border: 1px solid var(--primary-color);
    appearance: none;
    background-color: #111;
    color: #fff;
    font-size: 0.95rem;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23ffffff" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 8px center;
    cursor: pointer;
}

h1 {
    font-size: 2.6rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: 0.02em;
}

h1 span {
    font-size: 1.4rem;
    display: block;
    font-weight: 500;
    color: var(--muted-text);
    margin-top: 0.25rem;
}

/* ===== Layout & Sections ===== */
main {
    padding: 2rem 1rem 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

section {
    margin-bottom: 2rem;
    padding: 1.8rem;
    background-color: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: left;
    box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}

section.philosophy,
section.gallery { text-align: center; }

h2 {
    font-size: 1.9rem;
    color: #fff;
    margin: 0 0 1.2rem;
    display: inline-block;
    position: relative;
    padding-bottom: 0.6rem;
}

h2::after {
    content: "";
    display: block;
    width: 120px;
    height: 3px;
    background: var(--primary-color);
    margin-top: 0.6rem;
    border-radius: 2px;
}

h3 {
    font-size: 1.35rem;
    margin: 1.6rem 0 0.8rem;
    color: #fff;
    border-bottom: 1px dashed #3a3a3a;
    padding-bottom: 0.5rem;
}

h4 {
    font-size: 1.1rem;
    margin: 1.2rem 0 0.4rem;
    color: #dddddd;
    font-weight: 700;
}

/* ===== Gallery ===== */
.gallery img {
    max-width: 100%;
    height: auto;
    margin: 0.8rem 0;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 16px rgba(0,0,0,0.35);
    background: #000;
}

.staff-photo { margin: 1.2rem 0 0.6rem; text-align: center; }
.staff-photo p { font-weight: 700; font-size: 1.05rem; margin-bottom: 0.5rem; color: #fff; }

/* ===== Links ===== */
.tabelog-link a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    font-size: 1.1rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 2px;
}
.tabelog-link a:hover { opacity: 0.85; }

/* ===== Menu ===== */
.menu { text-align: left; }
.menu ul { list-style: none; padding: 0; margin: 0; }
.menu li {
    padding: 0.5rem 0;
    border-bottom: 1px dotted #2e2e2e;
    color: var(--text-color);
}
.menu li:last-child { border-bottom: none; }

.menu-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 1.2rem;
    border-bottom: 1px solid #2a2a2a;
    gap: 6px;
}

.tab-button {
    background-color: #111;
    color: #ddd;
    border: 1px solid #2a2a2a;
    border-bottom: none;
    cursor: pointer;
    padding: 0.9rem 1.4rem;
    font-size: 1rem;
    font-weight: 800;
    transition: transform 0.2s ease, background-color 0.2s ease;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.tab-button:hover { background-color: #151515; transform: translateY(-1px); }

.tab-button.active {
    background-color: var(--secondary-color);
    color: #fff;
    border-color: #3a3a3a;
    border-bottom: 2px solid var(--secondary-color);
    box-shadow: inset 0 -3px 0 var(--primary-color);
}

.menu-content { animation: fadeIn 0.4s ease-in-out; }

.menu-footer {
    margin-top: 1.2rem;
    padding-top: 0.8rem;
    border-top: 1px solid #2e2e2e;
    color: var(--muted-text);
    font-size: 0.95rem;
}

/* ===== Info ===== */
.info { text-align: center; }
.info-list p {
    font-size: 1.05rem;
    margin: 0.4rem 0;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    color: #fff;
}
.info-list p span { font-weight: 800; color: var(--primary-color); }

.note {
    font-size: 0.95rem;
    color: var(--muted-text);
    margin-top: 1rem;
}

/* ===== Map ===== */
.map-container {
    position: relative;
    padding-bottom: 62.5%; /* 16:10 */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}
.map-container iframe {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    filter: grayscale(10%);
    background: #000;
}

/* ===== Footer ===== */
footer {
    background: #000;
    color: #999;
    text-align: center;
    padding: 1rem 0;
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    h1 { font-size: 2.1rem; }
    h1 span { font-size: 1.15rem; }
    h2 { font-size: 1.55rem; }

    .info-list p {
        flex-direction: column;
        align-items: center;
        gap: 0.2rem;
    }

    .language-selector { top: 0.6rem; right: 0.6rem; }
    .map-container { padding-bottom: 100%; }
}

/* ===== Anim ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}
