/* ==========================================================================
   全体設計・リセット
   ========================================================================== */
   * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Noto Serif JP', 'Sawarabi Mincho', serif;
    background-color: #fcfaf2; /* 和紙のような温かみのある生成り色 */
    color: #2c2520; /* 深い焦げ茶 */
    line-height: 1.8;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

li {
    list-style: none;
}

/* 共通セクションタイトル */
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #9e2a2b; /* 朱色 */
}

/* ==========================================================================
   🌐 多言語選択モーダル ＆ 固定切替バー
   ========================================================================== */
.lang-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.lang-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.lang-modal {
    background: linear-gradient(145deg, #1f1f1f, #121212);
    border: 2px solid #d4af37;
    border-radius: 12px;
    padding: 30px 25px;
    width: 90%;
    max-width: 480px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 175, 55, 0.3);
    color: #ffffff;
    font-family: sans-serif;
}

.lang-modal h2 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: #d4af37;
    letter-spacing: 1px;
}

.lang-modal p {
    font-size: 0.85rem;
    color: #ccc;
    margin-bottom: 20px;
    line-height: 1.4;
}

.lang-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.lang-btn {
    background: linear-gradient(180deg, #2c2c2c, #1a1a1a);
    border: 1px solid #d4af37;
    color: #f0e6d2;
    padding: 12px 18px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lang-btn:hover {
    background: #d4af37;
    color: #111;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
    transform: translateY(-2px);
}

.lang-btn .flag {
    font-size: 1.2rem;
}

.lang-switcher-fixed {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid #d4af37;
    border-radius: 30px;
    padding: 6px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.lang-switcher-fixed select {
    background: transparent;
    color: #fff;
    border: none;
    font-size: 0.85rem;
    outline: none;
    cursor: pointer;
}

.lang-switcher-fixed select option {
    background: #1a1512;
    color: #fff;
}

/* ==========================================================================
   ヘッダー
   ========================================================================== */
.site-header {
    background-color: rgba(44, 37, 32, 0.95);
    color: #fcfaf2;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.site-logo .branch {
    font-size: 1rem;
    color: #f4a261;
}

.header-nav ul {
    display: flex;
    gap: 2rem;
}

.header-nav a {
    font-size: 1rem;
    transition: color 0.3s;
    font-weight: bold;
}

.header-nav a:hover {
    color: #f4a261;
}

/* ==========================================================================
   ファーストビュー（Heroセクション）
   ========================================================================== */
.hero-section {
    position: relative;
    width: 100%;
    height: 90vh;
    background-color: #1a1512;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.75;
}

.hero-text {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #ffffff;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.9);
    padding: 0 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.catchphrase {
    writing-mode: vertical-rl !important;
    -webkit-writing-mode: vertical-rl !important;
    text-orientation: mixed !important;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.8 !important;
    letter-spacing: 3px !important;
    display: inline-block !important;
    height: auto !important;
    max-height: 70vh !important;
    margin: 0 auto !important;
    white-space: normal;
}

/* ==========================================================================
   こだわりセクション
   ========================================================================== */
.about-section {
    max-width: 1200px;
    margin: 6rem auto;
    padding: 0 2rem;
}

.about-container {
    display: flex;
    gap: 4rem;
    justify-content: center;
}

.about-card {
    flex: 1;
    max-width: 450px;
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #e8e2d5;
    text-align: center;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

.about-card h3 {
    font-size: 1.3rem;
    color: #9e2a2b;
    margin-bottom: 1rem;
}

.about-card p {
    font-size: 0.95rem;
    text-align: left;
    color: #555;
}

/* ==========================================================================
   🎰 大将経歴スロット演出
   ========================================================================== */
.slot-section {
    background-color: #f3edd8;
    padding: 6rem 2rem;
    text-align: center;
}

.slot-intro {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #555;
}

.slot-container {
    max-width: 500px;
    margin: 0 auto;
}

.slot-machine {
    background-color: #2c2520;
    border: 8px solid #d4af37;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    margin-bottom: 2rem;
    overflow: hidden;
}

.slot-screen {
    background-color: #1a1512;
    border: 3px solid #9e2a2b;
    border-radius: 6px;
    height: 220px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: background-color 0.05s, border-color 0.3s;
}

.slot-screen.flash {
    background-color: #3d1012;
}

@keyframes shake {
    0% { transform: translate(2px, 2px) rotate(0deg); }
    20% { transform: translate(-3px, -2px) rotate(-1deg); }
    40% { transform: translate(3px, -1px) rotate(1deg); }
    60% { transform: translate(-2px, 2px) rotate(0deg); }
    80% { transform: translate(2px, -2px) rotate(1deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

.slot-screen.shake {
    animation: shake 0.6s ease-in-out;
    border-color: #f4a261;
}

.slot-card {
    display: none;
    position: absolute;
    width: 95%;
    height: 90%;
    color: #fcfaf2;
    padding: 10px;
    box-sizing: border-box;
    text-align: left;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.slot-card.active {
    display: flex;
    opacity: 1;
}

.slot-card-left {
    flex: 0 0 120px;
    height: 120px;
    border: 2px solid #d4af37;
    border-radius: 4px;
    overflow: hidden;
    background: #000;
}

.slot-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slot-card-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* スロット演出バッジ */
.card-badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 3px;
    margin-bottom: 4px;
    width: fit-content;
}

.card-badge.gold {
    background-color: #d4af37;
    color: #1a1512;
}

.card-badge.red {
    background-color: #9e2a2b;
    color: #ffffff;
}

.card-badge.green {
    background-color: #2b7a4b;
    color: #ffffff;
}

@keyframes rainbowGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.card-badge.rainbow {
    background: linear-gradient(90deg, #ff0055, #ff9900, #ffee00, #00ddff, #ff00c8);
    background-size: 300% 300%;
    animation: rainbowGlow 2s ease infinite;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.card-title {
    font-size: 1.15rem;
    font-weight: bold;
    color: #f4a261;
    margin-bottom: 5px;
    line-height: 1.3;
}

.card-text {
    font-size: 0.8rem;
    line-height: 1.4;
    color: #ccc;
    margin: 0;
}

.btn-slot {
    width: 100%;
    padding: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
    border: 3px solid #2c2520;
}

.btn-slot.start {
    background-color: #f4a261;
    color: #2c2520;
}

.btn-slot.start:hover {
    background-color: #fcfaf2;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); background-color: #d62828; }
    100% { transform: scale(1); }
}

.btn-slot.stop {
    background-color: #9e2a2b;
    color: #fcfaf2;
    animation: pulse 0.8s infinite;
}

.btn-slot:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    animation: none;
}

/* ==========================================================================
   🏆 本場所星取表
   ========================================================================== */
.hoshitori-section {
    background-color: #fcfaf2;
    padding: 6rem 2rem;
    text-align: center;
}

.hoshitori-intro {
    font-size: 1.8rem;
    font-weight: bold;
    color: #9e2a2b;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.hoshitori-container {
    max-width: 650px;
    margin: 0 auto;
    background: #ffffff;
    padding: 40px 30px;
    border: 4px double #2c2520;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.hoshitori-note {
    font-size: 1rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.btn-hoshitori {
    display: inline-block;
    background-color: #2c2520;
    color: #fcfaf2 !important;
    padding: 1.2rem 2.5rem;
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 4px;
    border: 2px solid #2c2520;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-hoshitori:hover {
    background-color: #fcfaf2;
    color: #2c2520 !important;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

/* ==========================================================================
   お品書き（メニューセクション）
   ========================================================================== */
.menu-section {
    background-color: #f3edd8;
    padding: 6rem 2rem;
}

.menu-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

.menu-category {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border-left: 5px solid #9e2a2b;
}

.menu-category h3 {
    font-size: 1.4rem;
    color: #2c2520;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e8e2d5;
    padding-bottom: 0.5rem;
}

.menu-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.8rem 0;
    border-bottom: 1px dotted #ccc;
}

.menu-list .name {
    font-weight: 700;
}

.menu-list .name small {
    display: block;
    font-size: 0.8rem;
    color: #777;
    font-weight: normal;
    margin-top: 0.2rem;
}

.menu-list .price {
    font-weight: 700;
    color: #9e2a2b;
    white-space: nowrap;
}

.menu-note {
    font-size: 0.85rem;
    color: #666;
    margin-top: 1rem;
    text-align: right;
}

/* ==========================================================================
   アクセスセクション（マップ埋め込み）
   ========================================================================== */
.access-section {
    max-width: 1200px;
    margin: 6rem auto;
    padding: 0 2rem;
}

.access-container {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.map-wrapper {
    flex: 1;
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border: 4px double #2c2520;
    border-radius: 4px;
    overflow: hidden;
}

.map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.access-info {
    flex: 1;
}

.access-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #9e2a2b;
    padding-bottom: 0.5rem;
}

.access-info p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.btn-tabelog-reservation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding: 16px 24px;
    background: linear-gradient(135deg, #ff9900, #e67e00);
    color: #ffffff !important;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(230, 126, 0, 0.4);
    transition: all 0.3s ease;
    border: 2px solid #fff;
}

.btn-tabelog-reservation:hover {
    background: linear-gradient(135deg, #ffaa22, #ff8800);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(230, 126, 0, 0.6);
}

.btn-tabelog-reservation:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(230, 126, 0, 0.4);
}

.btn-tabelog-reservation .btn-icon {
    font-size: 1.3rem;
}

/* ==========================================================================
   フッター・店舗情報
   ========================================================================== */
.site-footer {
    background-color: #2c2520;
    color: #fcfaf2;
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.footer-info {
    margin-bottom: 3rem;
}

.footer-info .tel {
    font-size: 1.8rem;
    color: #f4a261;
    margin-bottom: 1rem;
}

.footer-info .tel strong {
    font-family: sans-serif;
}

.footer-info .address, 
.footer-info .open-hours {
    font-size: 0.95rem;
    color: #ccc;
    margin-bottom: 0.5rem;
}

.copyright {
    font-size: 0.8rem;
    color: #888;
    border-top: 1px solid #443a33;
    padding-top: 2rem;
}

/* ==========================================================================
   🕹️ ゲームポップアップ ＆ 浮遊ボタン
   ========================================================================== */
.game-float-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #9e2a2b;
    color: #fcfaf2;
    padding: 15px 20px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s ease;
    border: 2px solid #fcfaf2;
    font-family: 'Courier New', Courier, monospace, sans-serif;
}

.game-float-btn:hover {
    background-color: #fcfaf2;
    color: #9e2a2b;
    transform: scale(1.1);
}

.game-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 21, 18, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    z-index: 1000;
    transition: opacity 0.3s ease;
}

.game-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.game-modal-content {
    background-color: #fcfaf2;
    padding: 25px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 95%;
}

.game-modal-content canvas {
    background-color: #1a1512;
    border: 4px double #9e2a2b;
    max-width: 100%;
    height: auto;
}

.game-close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 35px;
    color: #fcfaf2;
    cursor: pointer;
    transition: color 0.3s;
}

.game-close-btn:hover {
    color: #9e2a2b;
}

.game-mobile-instruction {
    margin-top: 15px;
    font-size: 12px;
    color: #2c2520;
    text-align: center;
    line-height: 1.4;
}

/* ==========================================================================
   レスポンシブ対応
   ========================================================================== */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-section {
        height: 70vh;
    }

    .catchphrase {
        font-size: 1.5rem !important;
        max-height: 55vh !important;
    }

    .about-container {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .menu-category {
        padding: 1.5rem;
    }

    .menu-list li {
        font-size: 0.9rem;
    }

    .access-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .map-wrapper {
        padding-top: 75%;
    }

    .game-float-btn {
        bottom: 15px;
        right: 15px;
        padding: 10px 15px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .slot-card-left {
        flex: 0 0 80px;
        height: 80px;
    }
    .card-title {
        font-size: 1rem;
    }
    .card-text {
        font-size: 0.75rem;
    }
}