/* CSS Variables & Settings */
:root {
    --primary-color: #b71c1c;
    /* 濃厚さを表すディープレッド */
    --primary-color-dark: #7f0000;
    --text-main: #e0e0e0;
    --text-muted: #9e9e9e;
    --bg-dark: #121212;
    --bg-card: #1e1e1e;
    --accent-gold: #fbc02d;
    --font-sans: 'Noto Sans JP', sans-serif;
    --font-serif: 'Shippori Mincho', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 80px;
    /* Floating CTAの被り防止 */
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-serif);
    font-weight: 700;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-title span {
    display: block;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.5rem;
}

/* 共通レイアウト */
.section {
    padding: 5rem 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 1.5rem;
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    position: relative;
    z-index: 1001;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
}

.logo-sub {
    font-size: 0.8rem;
    color: var(--accent-gold);
}

/* Hamburger Menu Icon */
.hamburger {
    display: block;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 11px;
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* Navigation Menu */
.nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(18, 18, 18, 0.98);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1000;
}

.nav-menu.active {
    visibility: visible;
    opacity: 1;
}

.nav-menu ul {
    list-style: none;
    text-align: center;
}

.nav-menu li {
    margin: 1.5rem 0;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.nav-menu.active li {
    transform: translateY(0);
    opacity: 1;
}

/* Stagger animation for list items */
.nav-menu.active li:nth-child(1) {
    transition-delay: 0.1s;
}

.nav-menu.active li:nth-child(2) {
    transition-delay: 0.2s;
}

.nav-menu.active li:nth-child(3) {
    transition-delay: 0.3s;
}

.nav-menu.active li:nth-child(4) {
    transition-delay: 0.4s;
}

.nav-menu a {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    font-family: var(--font-serif);
    display: block;
    padding: 0.5rem 2rem;
}

.nav-menu a:hover,
.nav-menu a:active {
    color: var(--accent-gold);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('assets/images/image-0.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
    /* To prevent issues if the image isn't named exactly, fallback color */
    background-color: #222;
}

@media (max-width: 767px) {
    .hero-bg {
        background-attachment: scroll;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.hero-catch {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    line-height: 1.4;
    color: #fff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--accent-gold);
    letter-spacing: 0.1em;
}

/* Concept Section */
.concept-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
    align-items: center;
}

@media (min-width: 768px) {
    .concept-container {
        flex-direction: row;
        gap: 4rem;
    }

    .concept-container.reverse {
        flex-direction: row-reverse;
    }
}

.concept-image {
    flex: 1;
    width: 100%;
}

.img-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background-color: #333;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.concept-text {
    flex: 1;
}

.concept-text h3 {
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.concept-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Menu Section */
.menu {
    background-color: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .menu-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

.menu-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
}

.menu-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    background-color: var(--bg-card);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.menu-details {
    padding: 1.5rem;
}

.menu-name {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.menu-price {
    font-size: 1.2rem;
    color: var(--accent-gold);
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: var(--font-sans);
}

.menu-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Access Section */
.access-container {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

@media (min-width: 768px) {
    .access-container {
        flex-direction: row;
        align-items: center;
    }
}

.store-image {
    flex: 1;
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: var(--bg-card);
    /* ダークな余白に溶け込ませる */
    border-radius: 12px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
}

@media (min-width: 768px) {
    .store-image {
        min-height: 350px;
    }
}

.store-info {
    flex: 1;
}

.store-info h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1rem;
}

.store-info p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.store-info .tel a,
.recruit-contact .tel a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

.store-info .tel a:hover,
.recruit-contact .tel a:hover,
.store-info .tel a:active,
.recruit-contact .tel a:active {
    color: var(--accent-gold);
    text-decoration: underline;
}

.hours {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hours h4 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.closed {
    color: #ff5252;
    font-weight: bold;
    margin-top: 0.5rem;
    display: inline-block;
}

.map-wrapper {
    width: 100%;
    height: 350px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: invert(90%) hue-rotate(180deg) contrast(100%);
    /* マップのダークモード風ハック */
}

/* Contact Section (Form) */
.contact-container {
    background: #ffffff;
    /* 画像に合わせて白背景 */
    color: #333;
    /* 文字色は暗く */
    border-radius: 8px;
    padding: 2rem 1rem;
    /* スマホ向けに左右余白を減らす */
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    border: 1px solid #eee;
}

@media (min-width: 768px) {
    .contact-container {
        padding: 3rem 2rem;
        /* PC向けには元の広い余白 */
    }
}

.contact-lead {
    text-align: center;
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 2.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.form-group label {
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.required {
    background-color: var(--primary-color-dark);
    /* 画像に合わせた濃い赤茶 */
    color: #fff;
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: normal;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-family: var(--font-sans);
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    color: #333;
    transition: border-color 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8d6e63;
    /* ブラウン系アクセント */
    box-shadow: 0 0 0 2px rgba(141, 110, 99, 0.2);
}

.submit-wrapper {
    text-align: center;
    margin-top: 1rem;
}

.btn-submit {
    background-color: #4e342e;
    /* 画像に合わせたこげ茶色 */
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    /* スマホ向けに左右のpaddingを少し調整 */
    width: 100%;
    /* スマホ向けにボタンを横幅いっぱいに */
    max-width: 300px;
    /* PC向けに最大幅を制限 */
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: background-color 0.3s, transform 0.2s;
}

@media (min-width: 768px) {
    .btn-submit {
        width: auto;
        padding: 1rem 4rem;
        /* PC向けには元の広いpadding */
    }
}

.btn-submit:hover {
    background-color: #3e2723;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Floating CTA Button */
.floating-cta {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
    color: #fff;
    text-decoration: none;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 10px 25px rgba(183, 28, 28, 0.4);
    z-index: 9999;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-cta:active {
    transform: translateX(-50%) scale(0.98);
}

.cta-icon {
    width: 24px;
    height: 24px;
}