/* --- 初期設定 --- */
:root {
    --bg-color: #121212; /* より深い黒 */
    --text-color: #e0e0e0; /* 優しい白 */
    --accent-color: #d4af37; /* 上品なゴールド */
    --card-bg-color: #1e1e1e; /* 背景より少し明るい黒 */
    --font-main: 'Shippori Mincho', serif;
    --font-title: 'Shippori Mincho', serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.8;
    overflow-x: hidden;
}

/* --- のれん風ナビゲーション --- */
.noren-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 80px;
    background-color: #fff;
    border: none;
    cursor: pointer;
    z-index: 2000;
    padding: 0;
    border-radius: 3px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    writing-mode: vertical-rl;
    font-family: var(--font-title);
    font-size: 1.2rem;
    color: #333;
    font-weight: 700;
    letter-spacing: 0.2em;
    display: flex;
    justify-content: center;
    align-items: center;
}
.noren-toggle:hover {
    background-color: #f0f0f0;
    transform: translateY(-3px);
}
.noren-toggle.is-active {
    background-color: #333;
    color: #fff;
}

.global-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1999;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.global-nav.is-active {
    visibility: visible;
    opacity: 1;
}

.global-nav ul {
    list-style: none;
}
.global-nav li {
    margin: 1.8rem 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.global-nav.is-active li {
    opacity: 1;
    transform: translateY(0);
}
/* メニューアイテムが順番に表示されるアニメーション */
.global-nav.is-active li:nth-child(1) { transition-delay: 0.2s; }
.global-nav.is-active li:nth-child(2) { transition-delay: 0.3s; }
.global-nav.is-active li:nth-child(3) { transition-delay: 0.4s; }
.global-nav.is-active li:nth-child(4) { transition-delay: 0.5s; }
.global-nav.is-active li:nth-child(5) { transition-delay: 0.6s; }
.global-nav.is-active li:nth-child(6) { transition-delay: 0.7s; }


.global-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1.8rem;
    font-family: var(--font-title);
    font-weight: 700;
    transition: color 0.3s;
}
.global-nav a:hover {
    color: var(--accent-color);
}
.global-nav .nav-tel {
    font-size: 1.2rem;
    border: 1px solid var(--accent-color);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    color: var(--accent-color);
}
.global-nav .nav-tel:hover {
    background-color: var(--accent-color);
    color: #111;
}


/* --- ヒーローセクション --- */
#hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.hero-video-wrapper video,
.hero-video-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 映像が明るく見えるように透明度を調整 */
    background: rgba(0, 0, 0, 0.3); 
    z-index: 2;
}


.hero-content {
    position: relative;
    z-index: 10;
}

.hero-title {
    font-family: var(--font-title);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
    letter-spacing: 0.1em;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: #fff;
    margin-top: 1rem;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}


/* --- 提灯アニメーション --- */
#lantern-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}
.lantern {
    position: absolute;
    width: 80px;
    height: 100px;
    background-color: #f9a826;
    border-radius: 45% 45% 50% 50% / 60% 60% 40% 40%;
    box-shadow: 0 0 20px #f9a826, 0 0 40px #f9a826, inset -5px -5px 20px rgba(0,0,0,0.2);
    opacity: 0;
    animation: float 15s ease-in-out infinite, fadeIn 2s ease-out forwards;
}
@keyframes float {
    0% { transform: translateY(0px) rotate(-2deg); }
    50% { transform: translateY(-30px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(-2deg); }
}
@keyframes fadeIn {
    to { opacity: 0.6; }
}


/* --- 共通セクションスタイル --- */
.content-section {
    padding: 6rem 5%;
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-title);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #fff;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-color);
}

.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.scroll-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* --- こだわりセクション --- */
.concept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.concept-item {
    background-color: var(--card-bg-color);
    padding: 2.5rem 2rem;
    border-top: 3px solid var(--accent-color);
    border-radius: 8px;
}
.concept-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

/* --- おすすめメニューセクション --- */
.recommend-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}
.recommend-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
    background-color: var(--card-bg-color);
    border-radius: 8px;
    overflow: hidden;
}
.recommend-card:nth-child(even) {
    grid-template-columns: 1fr 1fr;
}
.recommend-card-img {
    width: 100%;
    height: 100%;
}
.recommend-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.recommend-card:hover .recommend-card-img img {
    transform: scale(1.05);
}
.recommend-card-body {
    padding: 2rem;
}
.recommend-card-body h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #fff;
}

/* --- お品書きセクション --- */
.menu-container {
    display: flex;
    gap: 4rem;
    background-color: var(--card-bg-color);
    padding: 3rem;
    border-radius: 8px;
}
.menu-column {
    flex: 1;
}
.menu-category-title {
    font-size: 1.7rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    color: #fff;
}
.menu-column ul li {
    list-style: none;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    border-bottom: 1px dashed rgba(224, 224, 224, 0.3);
    padding-bottom: 1rem;
}
.menu-column ul li span:first-child {
    padding-right: 1rem;
}
.menu-column .menu-category-title:first-child {
    margin-top: 0;
}


/* --- 店舗情報セクション --- */
.info-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.info-map iframe {
    border-radius: 8px;
    width: 100%;
    height: 100%;
    min-height: 400px;
}
.info-details dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem 1.5rem;
}
.info-details dt {
    font-weight: bold;
    color: var(--accent-color);
}

/* --- ご予約フォーム --- */
.reservation-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--card-bg-color);
    padding: 3rem;
    border-radius: 8px;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.reservation-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ccc;
    font-size: 0.9rem;
}
.reservation-form input,
.reservation-form select,
.reservation-form textarea {
    width: 100%;
    padding: 0.8rem;
    background-color: #121212;
    border: 1px solid #444;
    border-radius: 4px;
    color: var(--text-color);
    font-family: var(--font-main);
    font-size: 1rem;
}
.reservation-form input:focus,
.reservation-form select:focus,
.reservation-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.3);
}
input[type="date"] {
    position: relative;
}
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.8);
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--accent-color);
    color: #111;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    border: none;
    cursor: pointer;
}
.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}
.form-submit .btn {
    padding: 1rem 3rem;
    font-size: 1.1rem;
}
.reservation-note {
    text-align: center;
    margin-top: 2.5rem;
    line-height: 1.7;
    color: #aaa;
    font-size: 0.9rem;
}

/* --- フッター --- */
.footer {
    text-align: center;
    padding: 3rem 5%;
    background-color: #0a0a0a;
    color: #888;
}
.footer-logo {
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 1rem;
}

/* --- レスポンシブ対応 --- */
@media (max-width: 900px) {
    .recommend-card,
    .recommend-card:nth-child(even) {
        grid-template-columns: 1fr;
    }
    .recommend-card:nth-child(even) .recommend-card-img {
       order: -1; /* JSでのDOM操作の代わりにCSSで順序を変更 */
    }
    .info-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu-container {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem;
    }
    .global-nav a {
        font-size: 1.5rem;
    }
    .reservation-form {
        padding: 2rem;
    }
}
