/*
Theme Name: filia
Theme URI: https://hirakata-bar-filia.com
Author: 関 貴大
Description: バー filia 様の専用WordPressテーマ。Woodテーマを基調とした温かみのあるデザインです。
Version: 1.0
*/

/* =========================================
   COMMON STYLES (Mobile First)
   ========================================= */
:root {
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    line-height: 1.6;
    overflow-x: hidden;
    word-break: break-all;
}

.container {
    width: 90%;
    max-width: 600px;
    margin: 0 auto;
    padding: 60px 0;
}

.text-center { text-align: center; }

.section-title {
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    font-weight: 900;
}

/* Hero - No Cropping */
.hero {
    width: 100%;
    position: relative;
    background: #000;
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

.logo {
    font-size: 4rem;
    margin-bottom: 10px;
}

.tagline {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.highlight-badge {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 900;
    font-size: 1.1rem;
}

/* Keywords Bar */
.keyword-bar {
    background: #fff;
    color: #000;
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
}

.keyword-scroll {
    display: inline-block;
    animation: scroll 20s linear infinite;
    font-weight: 900;
    font-size: 0.9rem;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Dynamic Sections */
.dynamic-card {
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid rgba(255,255,255,0.1);
}

.upload-img-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: #222;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: #666;
    font-size: 0.8rem;
    border: 2px dashed #444;
}

.calendar-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    text-align: center;
    padding: 20px;
    border-radius: 12px;
}

/* Info List */
.info-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.info-list dt {
    font-weight: 900;
    font-size: 0.8rem;
    opacity: 0.7;
    margin-bottom: 2px;
}

.info-list dd {
    margin-bottom: 15px;
    font-weight: 500;
}

/* Floating CTA */
.floating-insta-btn {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #E1306C;
    color: #fff;
    padding: 18px;
    text-decoration: none;
    font-weight: 900;
    font-size: 1rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 2000;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}

/* =========================================
   THEME A: POP (Neon)
   ========================================= */
.theme-pop { background: #000; color: #fff; font-family: 'Noto Sans JP', sans-serif; }
.theme-pop .logo { font-family: 'Bungee', cursive; color: #ff00ff; text-shadow: 0 0 15px #ff00ff; }
.theme-pop .highlight-badge { background: #00ffff; color: #000; }
.theme-pop .section-title { color: #00ffff; }

/* =========================================
   THEME C: VIVID (Modern)
   ========================================= */
.theme-vivid { background: #0f172a; color: #f8fafc; font-family: 'Noto Sans JP', sans-serif; }
.theme-vivid .logo { font-weight: 900; background: linear-gradient(45deg, #00f2fe, #4facfe); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.theme-vivid .highlight-badge { background: #f43f5e; color: #fff; }
.theme-vivid .section-title { border-left: 5px solid #f43f5e; padding-left: 15px; text-align: left; }

/* =========================================
   THEME D: STREET (Rough)
   ========================================= */
.theme-street { background: #111; color: #eee; font-family: 'Noto Sans JP', sans-serif; }
.theme-street .logo { font-family: 'Bungee', cursive; transform: rotate(-3deg); color: #fbbf24; }
.theme-street .highlight-badge { background: #fff; color: #000; transform: skew(-10deg); }
.theme-street .section-title { background: #fbbf24; color: #000; display: inline-block; padding: 5px 15px; transform: rotate(1deg); }

/* Common UI */
.map-container { width: 100%; border-radius: 12px; overflow: hidden; margin-top: 20px; }
.btn-insta { display: block; padding: 15px; border-radius: 8px; text-decoration: none; font-weight: 900; background: #fff; color: #000; margin-top: 20px; text-align: center; }

/* =========================================
   THEME E: AUTHENTIC (Bar,K Inspired)
   ========================================= */
.theme-authentic {
    background: #fff;
    color: #1a1a1a;
    font-family: 'Shippori Mincho', serif;
}

.theme-authentic .hero-classic {
    padding: 20px;
    position: relative;
    background: #f9f9f9;
}

.theme-authentic .hero-frame {
    border: 1px solid #d4af37;
    padding: 10px;
    background: #fff;
    position: relative;
}

.theme-authentic .hero-center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Shippori Mincho', serif;
    font-size: 2.5rem;
    color: #fff;
    text-shadow: 0 0 20px rgba(0,0,0,0.8), 0 0 10px rgba(212, 175, 55, 0.5);
    white-space: nowrap;
    letter-spacing: 0.1em;
    font-weight: 700;
}

/* =========================================
   TOP STICKY BANNER (For F and G)
   ========================================= */
.top-sticky-banner {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: #E1306C;
    z-index: 3000;
    padding: 12px 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.top-sticky-banner a {
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* =========================================
   THEME F (Modified E)
   ========================================= */
.theme-authentic-f {
    background: #fff;
    color: #1a1a1a;
    font-family: 'Shippori Mincho', serif;
}

.theme-authentic-f .hero-classic {
    padding: 20px;
    position: relative;
    background: #f9f9f9;
}

.theme-authentic-f .hero-frame {
    border: 1px solid #d4af37;
    padding: 10px;
    background: #fff;
    position: relative;
}

.theme-authentic-f .hero-center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Shippori Mincho', serif;
    font-size: 2.2rem;
    color: #fff;
    text-shadow: 0 0 20px rgba(0,0,0,0.8);
    white-space: nowrap;
    font-weight: 700;
}

.theme-authentic-f .hero-img-classic { width: 100%; height: auto; display: block; }

.theme-authentic-f .hero-overlay-classic { padding: 40px 0; text-align: center; }

.theme-authentic-f .logo {
    color: #1a1a1a;
    font-size: 3.5rem;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
    border-bottom: 1px solid #d4af37;
    display: inline-block;
    padding: 0 20px;
}

.theme-authentic-f .vertical-text {
    writing-mode: vertical-rl;
    font-size: 1.1rem;
    letter-spacing: 0.4em;
    height: 180px;
    margin: 0 auto;
    color: #d4af37;
    font-weight: 700;
}

.theme-authentic-f .section-title {
    color: #1a1a1a;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    display: inline-block;
    width: 100%;
    text-align: left;
}

.theme-authentic-f .story-box { border-left: 1px solid #d4af37; padding-left: 20px; margin: 30px 0; }
.theme-authentic-f .keyword-bar { background: #1a1a1a; color: #d4af37; }
.theme-authentic-f .dynamic-card { background: #fff; border: 1px solid #eee; }
.theme-authentic-f .info-block dt { color: #d4af37; font-weight: 900; }
.theme-authentic-f .footer { padding: 40px 0; }

/* =========================================
   THEME G: WOOD (Warm & Organic)
   ========================================= */
.theme-wood {
    background: #2c1e14;
    color: #e5e7eb;
    font-family: 'Shippori Mincho', serif;
}

.theme-wood .masaka-hero {
    height: 60vh;
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid #3d2b1f;
}

.theme-wood .masaka-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(0.3) brightness(0.7);
}

.theme-wood .hero-center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: #f3e5ab;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8), 0 0 20px rgba(212, 175, 55, 0.4);
    font-weight: 900;
}

.theme-wood .section-title {
    color: #d4af37;
    border-bottom: 2px solid #3d2b1f;
    padding-bottom: 10px;
    font-size: 1.8rem;
}

.theme-wood .dynamic-card {
    background: #3d2b1f;
    border: 1px solid #4a3528;
    border-radius: 4px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
    padding: 25px;
}

.theme-wood .upload-img-placeholder {
    background: rgba(0,0,0,0.3);
    border: 1px dashed #5a4030;
    color: #8b5e3c;
}

.theme-wood .info-list-wood {
    background: #1a120b;
    padding: 30px;
    border-radius: 0;
    border-left: 4px solid #d4af37;
}

.theme-wood .info-list-wood dt {
    color: #d4af37;
    font-weight: 900;
    margin-top: 20px;
}

.theme-wood .info-list-wood dd {
    margin-bottom: 10px;
    border-bottom: 1px solid #2c1e14;
}

.theme-wood .btn-insta-wood {
    display: block;
    background: #d4af37;
    color: #1a120b;
    padding: 18px;
    text-align: center;
    text-decoration: none;
    font-weight: 900;
    margin-top: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.theme-wood .keyword-bar {
    background: #1a120b;
    color: #d4af37;
}

.theme-wood .top-sticky-banner {
    background: #8b0000; /* Darker red for wood theme */
}

/* Image Enlarge / Modal */
.enlargeable-img {
    width: 100%;
    height: auto;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 4px;
}

.enlargeable-img:hover {
    opacity: 0.8;
}

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 90%;
    max-height: 80%;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    animation: zoom 0.3s;
}
