/* Variables */
:root {
    --color-bg: #0a0a0a;
    --color-text: #e0e0e0;
    --color-gold: #d4af37;
    --color-gold-dark: #aa8c2c;
    --color-red: #8b0000;
    --color-border: #333;
    --font-jp: 'Noto Serif JP', serif;
    --font-en: 'Cinzel', serif;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-jp);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-gold);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.section {
    padding: 120px 0;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-gold);
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: var(--color-red);
    margin-top: 15px;
}

.section-title-en {
    font-family: var(--font-en);
    font-size: 1rem;
    letter-spacing: 0.2em;
    color: #666;
    margin-top: 5px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    transition: all 0.4s ease;
}

.header.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
}

.logo a {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.logo-en {
    font-family: var(--font-en);
    font-size: 1rem;
    letter-spacing: 0.1em;
    color: var(--color-gold);
}

.global-nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.global-nav a {
    font-size: 1rem;
    letter-spacing: 0.1em;
    position: relative;
}

.global-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-gold);
    transition: width 0.3s ease;
}

.global-nav a:hover::after {
    width: 100%;
}

/* Mobile Menu (Hidden by default) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 101;
}

.hamburger span {
    width: 30px;
    height: 2px;
    background-color: var(--color-text);
    transition: 0.3s;
}

/* Hero */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* プレースホルダー背景。JSまたは画像生成後に更新 */
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('../images/hero_ramen.jpg') center/cover;
    background-color: #111;
    z-index: 1;
    animation: zoomInOut 20s infinite alternate;
}

@keyframes zoomInOut {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    writing-mode: vertical-rl;
    margin-top: -50px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    letter-spacing: 0.5em;
    line-height: 2;
    color: #fff;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.8);
    opacity: 0;
    animation: fadeInTitle 2s ease forwards 0.5s;
}

@keyframes fadeInTitle {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* Concept */
.concept-item {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 120px;
}

.concept-item.reverse {
    flex-direction: row-reverse;
}

.concept-item:last-child {
    margin-bottom: 0;
}

.concept-text {
    flex: 1;
}

.concept-text h3 {
    font-size: 2.2rem;
    line-height: 1.5;
    margin-bottom: 30px;
    color: var(--color-gold);
}

.concept-text p {
    font-size: 1.1rem;
    color: #bbb;
}

.concept-image {
    flex: 1;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.concept-image::before {
    content: '';
    display: block;
    padding-top: 75%;
}

.concept-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.concept-image:hover img {
    transform: scale(1.05);
}

.temp-img {
    background-color: #1a1a1a;
    border: 1px solid var(--color-border);
}

/* Menu */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.menu-card {
    background-color: #111;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.4s, box-shadow 0.4s;
    cursor: pointer;
}

.menu-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.4);
}

.menu-img {
    position: relative;
    padding-top: 75%;
    /* アスペクト比4:3に合わせて修正 */
    overflow: hidden;
}

.menu-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.menu-card:hover .menu-img img {
    transform: scale(1.05);
}

.menu-info {
    padding: 30px 20px;
    text-align: center;
}

.menu-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #fff;
}

.menu-info .price {
    font-family: var(--font-en);
    color: var(--color-gold);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.menu-info .desc {
    color: #999;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Access */
.access-content {
    display: flex;
    gap: 80px;
    align-items: center;
}

.access-info {
    flex: 1;
}

.shop-name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--color-gold);
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table th {
    text-align: left;
    padding: 20px 0;
    border-bottom: 1px solid var(--color-border);
    width: 120px;
    color: #aaa;
    font-weight: normal;
}

.info-table td {
    padding: 20px 0;
    border-bottom: 1px solid var(--color-border);
}

.access-image {
    flex: 1;
    position: relative;
}

.access-image::before {
    content: '';
    display: block;
    padding-top: 100%;
}

.access-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

/* Footer */
.footer {
    border-top: 1px solid #222;
    padding: 60px 0;
    text-align: center;
    background-color: #050505;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-logo span {
    font-family: var(--font-en);
    color: var(--color-gold);
    font-size: 1.2rem;
}

.copyright {
    font-size: 0.8rem;
    color: #666;
    font-family: var(--font-en);
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {

    .concept-item,
    .concept-item.reverse {
        flex-direction: column;
        gap: 40px;
    }

    .concept-text,
    .concept-image {
        width: 100%;
    }

    .access-content {
        flex-direction: column;
        gap: 40px;
    }

    .access-info,
    .access-image {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .menu-grid {
        grid-template-columns: 1fr;
    }

    .hamburger {
        display: flex;
    }

    .global-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(10, 10, 10, 0.98);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: 0.4s;
    }

    .global-nav.active {
        right: 0;
    }

    .global-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .global-nav a {
        font-size: 1.5rem;
    }
}