/*
Theme Name: スナック専用テーマ
Theme URI: https://snack-gobo.com
Author: 合同会社BANRI
Author URI: https://banri-llc.com
Description: スナック専用のWordPressテーマ。レトロな雰囲気と使いやすい管理機能を両立。
Version: 1.0.0
License: Proprietary
Text Domain: snack-gobo
Domain Path: /languages
*/


/* ========================================
   完全リセットCSS
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'メイリオ', sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    width: 100%;
}

/* ========================================
   ヘッダー（モバイル最優先）
======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    padding: 8px 10px;
    border-bottom: 1px solid rgba(255, 105, 180, 0.3);
}

.header-container {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-title {
    margin: 0;
    font-weight: normal;
    text-align: center;
    width: 100%;
}

.site-title-text {
    font-family: 'Yuji Syuku', serif;
    font-size: 1rem;
    color: #ff69b4;
    text-shadow: 
        0 0 5px #ff69b4,
        0 0 10px #ff69b4,
        0 0 15px #ff1493;
    text-decoration: none;
    display: block;
    line-height: 1.2;
    word-break: break-all;
    overflow-wrap: break-word;
}

/* タブレット以上 */
@media (min-width: 768px) {
    .site-header {
        padding: 15px 20px;
    }
    
    .site-title-text {
        font-size: 2rem;
    }
}

/* デスクトップ */
@media (min-width: 1024px) {
    .site-header {
        padding: 20px;
    }
    
    .site-title-text {
        font-size: 3rem;
    }
}

/* ========================================
   ネオンエフェクト
======================================== */
.neon-text-pink {
    color: #ff69b4;
    text-shadow: 
        0 0 5px #ff69b4,
        0 0 10px #ff69b4,
        0 0 15px #ff1493;
}

.neon-text-green {
    color: #00ff00;
    text-shadow: 
        0 0 5px #00ff00,
        0 0 10px #00ff00,
        0 0 15px #00ff00;
}

.neon-text-blue {
    color: #00ffff;
    text-shadow: 
        0 0 5px #00ffff,
        0 0 10px #00ffff,
        0 0 15px #00ffff;
}

.neon-text-yellow {
    color: #ffff00;
    text-shadow: 
        0 0 5px #ffff00,
        0 0 10px #ffff00,
        0 0 15px #ffff00;
}

/* ========================================
   ヒーローセクション（モバイル最優先）
======================================== */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 15px;
    margin: 0 10px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    border: 2px solid rgba(255, 105, 180, 0.3);
    max-width: calc(100% - 20px);
    width: 100%;
    max-width: 500px;
}

.hero-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-family: 'Yuji Syuku', serif;
    line-height: 1.3;
    word-break: break-all;
}

.price-display {
    font-size: 1.5rem;
    color: #ffff00;
    font-weight: bold;
    margin: 10px 0;
    line-height: 1.2;
}

.price-number {
    font-size: 2rem;
    display: inline-block;
}

.hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: #e0e0e0;
    line-height: 1.4;
}

.hero-info {
    margin: 10px 0;
    color: #ccc;
    font-size: 0.8rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
    width: 100%;
}

.hero-button {
    display: block;
    padding: 10px 15px;
    font-size: 0.9rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
}

.hero-button.primary {
    background: #ff69b4;
    color: #fff;
}

.hero-button.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid #ff69b4;
}

.hero-button:hover,
.hero-button:active {
    transform: translateY(-1px);
    opacity: 0.9;
}

/* タブレット以上でのヒーロー */
@media (min-width: 768px) {
    .hero-content {
        padding: 30px;
        margin: 0 20px;
        max-width: 600px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .price-display {
        font-size: 2.5rem;
        margin: 20px 0;
    }
    
    .price-number {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    
    .hero-info {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: 15px;
        justify-content: center;
        margin-top: 30px;
    }
    
    .hero-button {
        padding: 15px 30px;
        font-size: 1.1rem;
        width: auto;
        min-width: 150px;
    }
}

/* デスクトップ */
@media (min-width: 1024px) {
    .hero-content {
        padding: 40px;
        max-width: 800px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .price-display {
        font-size: 3rem;
    }
    
    .price-number {
        font-size: 4rem;
    }
}

/* ========================================
   セクション共通
======================================== */
.section {
    padding: 40px 15px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section-title {
    font-family: 'Yuji Syuku', serif;
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 30px;
    word-break: break-all;
}

@media (min-width: 768px) {
    .section {
        padding: 80px 20px;
    }
    
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 50px;
    }
}

/* ========================================
   カード
======================================== */
.card {
    background: rgba(30, 30, 30, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .card {
        padding: 30px;
        margin-bottom: 30px;
    }
}

/* ========================================
   管理バー対応
======================================== */
body.admin-bar .site-header {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

/* ========================================
   ユーティリティ
======================================== */
.text-center {
    text-align: center;
}

.hidden {
    display: none;
}

@media (max-width: 767px) {
    .hide-mobile {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .hide-desktop {
        display: none !important;
    }
}