/* スマホ版CSS - 修正版：セクション表示問題修正 */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Kaisei+Decol&family=Yuji+Boku&family=Yuji+Mai&family=Yuji+Syuku&family=Zen+Kurenaido&family=Crimson+Text:ital,wght@0,400;0,600;1,400&family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

/* フォントクラス */
.yuji-boku-regular {
    font-family: "Yuji Boku", serif;
    font-weight: 400;
    font-style: normal;
}

.zen-kurenaido-regular {
    font-family: "Zen Kurenaido", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.kaisei-decol-regular {
    font-family: "Kaisei Decol", serif;
    font-weight: 400;
    font-style: normal;
}

.yuji-mai-regular {
    font-family: "Yuji Mai", serif;
    font-weight: 400;
    font-style: normal;
}

/* ベース設定 - 修正版 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    max-width: 480px;
    min-height: 100vh; /* height→min-heightに変更 */
    font-family: "Kaisei Decol", serif;
    font-weight: 400;
    font-style: normal;
    background-color: rgba(0,0,0,0.7);
    color: #f5f5f5;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-appearance: none;
    position: relative; /* 追加 */
}

body::before{
    content: "" !important;
    display: block !important;
    position: fixed !important;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100% !important;
    height: 100vh !important;
    background: url(images/tennai_sp.jpg) center no-repeat !important;
    background-size: cover !important;
}
main {
    display: block; /* justify-contentを削除 */
    width: 100%;
    min-height: 100vh;
    position: relative;
    z-index: 1;
    background: url(images/tennai_sp.jpg) !important;
    clip: rect(auto, auto, auto, auto);
    background-attachment: fixed !important; /* fixed→scrollに変更（スマホ対応） */
}
section {
    display: block;
    width: 100%;
    position: relative; /* 追加 */
    z-index: 2; /* 追加 */
    margin: 2rem 0; /* 追加：セクション間のマージン */
    padding: 1rem; /* 追加：基本パディング */
}

/* ネオンエフェクト */
.neon-01 {
    color: #d4af37;
    text-shadow: 0 0 10px #d4af37, 0 0 20px #d4af37;
    animation: neon-glow 3s ease-in-out infinite alternate;
}

.neon-pink {
    color: #ffd2ea;
    text-shadow: 0 0 8px rgb(255,20,247,0.2), 0 0 15px rgb(255,20,247,0.2);
}

.neon-yellow {
    -webkit-text-stroke: 2px #d4af37;
    text-stroke: 2px #d4af37;
    paint-order: stroke;
    text-shadow: -2px -4px 6px rgb(212,175,55,0.2);
    color: #ffffff;
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 2px;
}

.neon-cyan {
    color: #ffffff;
    -webkit-text-stroke: 3px rgb(36, 37, 38,0.4);
    text-stroke: 3px rgb(36, 37, 38,0.4);
    paint-order: stroke;
    text-shadow: 0 0 12px rgb(0,255,255,0.1), 0 0 12px rgb(0,255,255,0.1);
}

.neon-main {
    color: #ffffff;
    text-shadow: 0 0 10px rgb(212,175,55,0.7), 0 0 20px rgb(212,175,55,0.7);
}

.neon-buttons {
    display: inline-block;
    padding: 15px 30px;
    -webkit-text-stroke: 2px #b7931b;
    text-stroke: 2px #b7931b;
    paint-order: stroke;
    text-shadow: 0 0 10px rgb(212,175,55,0.2), 0 0 20px rgb(212,175,55,0.1);
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    border: 2px dotted #f8e29b8f;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 2px;
    position: relative;
    background-color: rgba(10, 10, 10, 0.6);
    overflow: hidden;
}

@keyframes neon-glow {
    0% { text-shadow: 0 0 10px #d4af37, 0 0 20px #d4af37; }
    100% { text-shadow: 0 0 15px #d4af37, 0 0 30px #d4af37, 0 0 40px #d4af37; }
}

/* ヘッダー - スマホ対応 */
.header-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.nav-container {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.logo {
    text-decoration: none;
}

.logo img {
    height: 35px;
    width: auto;
}

/* ハンバーガーメニュー */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: #d4af37;
    border-radius: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: linear-gradient(135deg, rgba(26, 5, 32, 0.95), rgba(10, 10, 10, 0.98));
    backdrop-filter: blur(20px);
    transition: right 0.4s ease;
    z-index: 1000;
    padding-top: 70px;
    border-left: 2px solid rgba(212, 175, 55, 0.3);
}

.nav.active {
    right: 0;
}

.nav-menu {
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding: 0;
    list-style: none;
}

.nav-menu li {
    width: 100%;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    line-height: 1.5;
}

.nav-menu li:last-of-type {
    line-height: 1.5;
}

.nav-menu a {
    display: block;
    padding: 1.2rem 2rem;
    color: #f5e6d3;
    font-size: 1.1rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    -webkit-text-stroke: 1px #f802f058;
    text-stroke: 1px #f802f058;
    paint-order: stroke;
    text-shadow: -1px -2px #f802ef;
    border-left: 3px solid transparent;
}

.nav-menu a:hover {
    background: rgba(212, 175, 55, 0.1);
    color: #d4af37;
    border-left-color: #d4af37;
    transform: translateX(10px);
    text-shadow: 0 0 14px #d437ad;
}

.nav-menu i {
    font-size: 150%;
}

/* ヒーローセクション - スマホ対応 */
.hero-main {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: 2rem;
    background: url(images/sp_11pm_back.png) no-repeat center center/contain,
        linear-gradient(135deg, #0f0e0e 0%, #000000 50%, #000000c7 100%);
    padding: 80px 1rem;
}

.main_top {
    width: 100%;
    margin: 2rem 0;
}

.hero-logo-main {
    margin-bottom: 1rem;
}

.hero-logo-main img {
    width: 85%;
    height: auto;
    max-width: 300px;
}

.hero-subtitle {
    font-size: 70%;
    margin-top:-12px;
    margin-bottom: 4.5rem;
    font-weight: 400;
    color: #fff;
    -webkit-text-stroke: 2px #f802f0;
    text-stroke: 2px #f802f0;
    paint-order: stroke;
    text-shadow: -1px -2px 6px rgb(255,20,247,0.5);
    background-color: rgba(10, 10, 10, 0.3);
    padding: 0.2rem;
    border-radius: 5px;
}

.hero-tagline {
    font-size: 100%;
    font-weight: bold;
    font-style: italic;
    color: #fff;
    -webkit-text-stroke: 2px #f802f0;
    text-stroke: 2px #f802f0;
    paint-order: stroke;
    text-shadow: -1px -2px 6px rgb(255,20,247,0.5);
}

.access-tmp {
    margin: 1rem 0;
    font-size: 1.4rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    width: 100%;
    padding: 0 1rem;
    margin-top: 2rem;
}

.openTime {
    width: 100%;
    font-weight: 400;
    font-size: 1.2rem;
    font-style: italic;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.big_time {
    font-weight: bolder;
    font-size: 2.2rem;
}

.holidays {
    color: #ffffff;
    border-color: #f390c7a9;
    -webkit-text-stroke: 2px #ff1493;
    text-stroke: 2px #ff1493;
    paint-order: stroke;
    text-shadow: -0.2px -0.4px 6px rgb(255,20,247,0.2);
    font-size: 1.2rem;
}
.osusume{
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            margin: 0 auto;
        }
.osu h4{
            color: #e8d6dbff;
            margin-bottom: 1rem;
            font-size: 1.2rem;
}
        .osu p{
             font-weight: 600;
             color: #f5e6d3;
             font-size: 0.9rem;
        }