@charset "UTF-8";

/* ==========================================================================
   HISUI KAGURA - Main Style Sheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. 全ページ共通設定（ベース・タイポグラフィ）
   -------------------------------------------------------------------------- */
* {
    font-family: 'IM Fell English SC', 'Cinzel', 'Poppins', 'Hina Mincho', 'Shippori Mincho B1', 'Noto Sans JP', serif !important;
    box-sizing: border-box;
}

:root {
    --color-bg: #222222;
    --color-gold: #bda06a;
    --color-gold-dim: #7e6b47;
    --text-white: #ffffff;
}

html {
    scroll-behavior: smooth !important;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: auto; /* ★ 100% から auto に変更！ */
    min-height: 100vh; /* ★ 画面サイズ以上を保証する魔法を追加！ */
    background-color: var(--color-bg);
    color: var(--text-white);
    overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   02. 共通コンポーネント・エフェクト
   -------------------------------------------------------------------------- */
/* 見出しタイポグラフィ */
.news-section-title,
.intro-title,
.character-section-title,
.gallery-section-title {
    font-size: 1.8rem !important;
    letter-spacing: 0.15em !important;
    margin-bottom: 25px !important;
}

.character-section-title,
.gallery-section-title {
    margin-top: 0 !important;
    margin-bottom: 20px !important;
    transform: translateY(-30px);
    text-align: center;
}

.loader-logo,
h2.main-title-text,
.main-title-text {
    white-space: nowrap !important;
    word-break: keep-all !important;
    font-size: clamp(1.8rem, 7vw, 3rem) !important;
    text-align: center !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* スクロールでふわっと表示 */
.fade-in-item {
    opacity: 0;
    transform: translateY(220px);
    transition: opacity 1.5s ease, transform 1.5s ease;
}

.fade-in-item.is-show {
    opacity: 1;
    transform: translateY(0);
}

/* 浮遊パーツ共通設定 */
.section-float-parts { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; overflow: hidden; z-index: 5; }
.float-wrap-left, .float-wrap-right { position: absolute; opacity: 0; transition: all 2.5s cubic-bezier(0.25, 1, 0.5, 1); animation: floatUpDown 5s ease-in-out infinite alternate; }
.float-wrap-left { left: -150px; }
.section-float-parts.is-active .float-wrap-left { left: 5%; opacity: 0.9; }
.float-wrap-right { right: -150px; animation-delay: -2s; }
.section-float-parts.is-active .float-wrap-right { right: 5%; opacity: 0.9; }
@keyframes floatUpDown { 0% { transform: translateY(-15px); } 100% { transform: translateY(15px); } }
.float-img { height: auto; }
.size-s { width: 80px; }
.size-m { width: 130px; }
.size-l { width: 180px; }


/* --------------------------------------------------------------------------
   03. ヘッダー ＆ フッター ＆ ローディング
   -------------------------------------------------------------------------- */
/* ローディング画面 */
#loader-screen { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: #111111; z-index: 9999; display: flex; justify-content: center; align-items: center; transition: opacity 0.8s ease-in-out; }
.loader-logo-wrap { text-align: center; }
.loader-logo { color: var(--color-gold); letter-spacing: 0.2em; margin-bottom: 20px; opacity: 0; animation: fadeInLogo 1.5s forwards 0.3s; }
.loader-bar-bg { display: none !important; }
.loader-bar-fill { position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background-color: var(--color-gold); animation: loadProgress 2s cubic-bezier(0.1, 0.8, 0.3, 1) forwards; }
.loader-ougi-wrap { margin-bottom: 20px; }
.loader-ougi { width: 350px !important; height: 350px !important; object-fit: contain; animation: floatOugi 3s ease-in-out infinite; filter: drop-shadow(0 5px 20px rgba(189, 160, 106, 0.5)); }

@keyframes fadeInLogo { to { opacity: 1; } }
@keyframes loadProgress { to { left: 0; } }
@keyframes floatOugi { 0% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-10px) rotate(2deg); } 100% { transform: translateY(0) rotate(0deg); } }

/* メインコンテンツ枠 */
#main-contents { opacity: 1; transition: opacity 1s ease-in-out; }
#main-contents.is-hidden { opacity: 0; height: 100vh; overflow: hidden; }

/* ハンバーガーメニュー */
.mirage-menu-trigger { opacity: 0; visibility: hidden; transition: opacity 0.8s ease, visibility 0.8s ease; position: fixed; top: 40px; right: 40px; width: 40px; height: 40px; background: transparent; border: none; cursor: pointer; z-index: 10000; padding: 0; }
.mirage-menu-trigger.is-show { opacity: 1; visibility: visible; }
.inner-circle { width: 100%; height: 100%; border: none !important; background: transparent !important; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 7px; position: relative; transition: all 0.3s ease; }
.bar { width: 32px; height: 1px; background-color: var(--color-gold); transition: all 0.4s ease; transform-origin: center; }
.mirage-menu-trigger:hover .bar { background-color: #ffffff; filter: drop-shadow(0 0 8px rgba(189, 160, 106, 0.8)); }
.mirage-menu-trigger.is-open .bar-top { transform: translateY(8px) rotate(45deg); background-color: var(--color-gold); }
.mirage-menu-trigger.is-open .bar-mid { opacity: 0; }
.mirage-menu-trigger.is-open .bar-bot { transform: translateY(-8px) rotate(-45deg); background-color: var(--color-gold); }

/* ナビゲーションオーバーレイ */
.mirage-nav-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(17, 17, 17, 0.95); z-index: 9998; display: flex; justify-content: center; align-items: center; opacity: 0; pointer-events: none; transition: opacity 0.5s ease; }
.mirage-nav-overlay.is-active { opacity: 1; pointer-events: auto; }
.overlay-menu-list { list-style: none; padding: 0; margin: 0; text-align: center; }
.overlay-menu-list li { margin: 25px 0; opacity: 0; transform: translateY(20px); transition: all 0.4s ease; }
.mirage-nav-overlay.is-active .overlay-menu-list li { opacity: 1; transform: translateY(0); }
.overlay-menu-list a { font-family: 'IM Fell English SC', 'Cinzel', serif !important; font-size: 2rem; color: var(--text-white); text-decoration: none; letter-spacing: 0.2em; transition: color 0.3s; }
.overlay-menu-list a:hover { color: var(--color-gold); text-shadow: 0 0 10px rgba(189, 160, 106, 0.5); }

/* 神楽神社フッター */
.mirage-site-footer { position: relative; width: 100%; }
.footer-bg-stage { position: relative; width: 100%; height: 60vh; background-image: url('https://hisui-kagura.crystalwisdom44444.com/wp-content/uploads/2026/08/7.jpg'); background-size: cover; background-position: center; background-attachment: fixed; border-bottom: none; }
.footer-bg-stage::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 300px; background: linear-gradient(to bottom, rgba(246, 243, 238, 0) 0%, rgba(246, 243, 238, 0.5) 50%, #f6f3ee 100%); pointer-events: none; }
.footer-info-bar { width: 100%; background-color: #f6f3ee; padding: 60px 0; color: #6e675f; }
.footer-info-inner { max-width: 1300px; margin: 0 auto; padding: 0 40px; display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.footer-left-logo .footer-logo-text { font-size: 1.8rem; color: #4a453f; margin: 0; line-height: 1.2; letter-spacing: 0.1em; }
.footer-center-links { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.footer-share-wrap { display: flex; align-items: center; gap: 15px; }
.share-label { font-size: 0.9rem; letter-spacing: 0.1em; color: #8c8175; }
.share-icons-dummy { display: flex; gap: 10px; }
.icon-circle { width: 32px; height: 32px; border-radius: 50%; background-color: #8c8175; color: #f6f3ee; font-size: 0.8rem; display: flex; justify-content: center; align-items: center; font-weight: bold; cursor: pointer; transition: all 0.3s; }
.icon-circle:hover { background-color: #bda06a; }
.footer-nav-links { display: flex; gap: 15px; font-size: 0.9rem; }
.footer-nav-links a { color: #6e675f; text-decoration: none; transition: color 0.3s; }
.footer-nav-links a:hover { color: #bda06a; }
.link-bar { color: #c9b99d; }
.footer-right-copyright { max-width: 450px; text-align: right; }
.copyright-company { font-size: 1rem; letter-spacing: 0.05em; color: #4a453f; margin: 0 0 10px 0; font-weight: 500; }
.copyright-notice { font-size: 0.75rem; line-height: 1.6; color: #8c8175; margin: 4px 0; }

/* トップへ戻るボタン */
#backToTop { opacity: 0; visibility: hidden; transition: opacity 0.8s ease, visibility 0.8s ease; }
#backToTop.is-show { opacity: 1; visibility: visible; }
#backToTop:hover { transform: scale(1.1); }
@keyframes floatIcon { 0% { transform: translateY(0); } 50% { transform: translateY(-10px); } 100% { transform: translateY(0); } }


/* --------------------------------------------------------------------------
   04. トップページ専用 (FRONT PAGE)
   -------------------------------------------------------------------------- */
/* ヒーローステージ */
.mirage-hero-stage { position: relative; width: 100%; height: 100vh; background-color: var(--color-bg); overflow: hidden; }
.layer-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 0); background-size: 4px 4px; z-index: 1; }
.visual-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 2; }
.char-visual-item { position: absolute; bottom: 33vh; left: 50%; transform: translateX(-50%) scale(0.96); height: 60vh; width: auto; opacity: 0; visibility: hidden; transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.6s; z-index: 5; }
.char-visual-item img { height: 100% !important; width: auto !important; object-fit: contain; display: block; filter: brightness(0); transition: filter 2.6s ease-in-out; }
.char-visual-item.is-active { opacity: 1; visibility: visible; transform: translateX(-50%) scale(1); z-index: 10; }
.char-visual-item.is-active img { filter: brightness(1) drop-shadow(0 15px 30px rgba(0, 0, 0, 0.7)); }
.side-v-menu { position: absolute; top: 40%; right: 25px; transform: translateY(-50%); display: flex; flex-direction: column; gap: 30px; z-index: 100; }
.v-text { writing-mode: vertical-rl; font-size: 0.95rem; letter-spacing: 0.25em; color: var(--color-gold-dim); cursor: pointer; transition: all 0.3s ease; padding: 10px 5px; display: block; }
.v-text.is-active, .v-text:hover { color: var(--color-gold) !important; text-shadow: 0 0 10px rgba(189, 160, 106, 0.8); }
.hero-footer-title { position: absolute; bottom: 18%; width: 100%; text-align: center; z-index: 100; pointer-events: none; margin-bottom: 30px; }
.main-title-text { font-size: 3.5rem; color: var(--text-white); margin: 0; letter-spacing: 0.1em; text-shadow: 0 0 15px rgba(0,0,0,0.9); }
.release-date { font-size: 1.2rem; color: var(--color-gold); letter-spacing: 0.3em; margin: 10px 0 0 0; }
.hero-float { z-index: auto !important; }
.hero-float .float-wrap-left { z-index: 1 !important; }
.hero-float .float-wrap-right { z-index: 5 !important; }
.hero-float .size-m { width: 350px !important; }
.hero-float .size-l { width: 350px !important; }
.hero-float.is-active .float-wrap-left { top: 5% !important; left: 3% !important; }
.hero-float.is-active .float-wrap-right { top: 50% !important; right: 8% !important; }

/* NEWSセクション */
.mirage-news-section { position: relative; width: 100%; padding: 120px 0; background-image: url('http://hisui-kagura.crystalwisdom44444.com/wp-content/uploads/2026/07/kagurabutai.jpg'); background-size: cover; background-position: center; background-attachment: fixed; border-bottom: 1px solid var(--color-gold-dim); z-index: 10; }
.news-inner { max-width: 900px; margin: 0 auto; padding: 60px 40px; background-color: rgba(17, 17, 17, 0.85); border: 1px solid rgba(189, 160, 106, 0.2); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6); }
.news-section-title { font-size: 3.5rem; color: var(--color-gold); text-align: center; letter-spacing: 0.2em; margin-top: 0; margin-bottom: 50px; font-weight: 400; }
.news-list { list-style: none; padding: 0; margin: 0 0 40px 0; border-top: 1px solid rgba(189, 160, 106, 0.3); }
.news-item { border-bottom: 1px solid rgba(189, 160, 106, 0.3); }
.news-link { display: flex; align-items: center; padding: 25px 10px; text-decoration: none; color: var(--text-white); transition: all 0.3s ease; }
.news-date { font-size: 1rem; color: var(--color-gold-dim); width: 150px; letter-spacing: 0.1em; }
.news-text { font-size: 1.1rem; letter-spacing: 0.05em; transition: color 0.3s ease; }
.news-link:hover { background-color: rgba(189, 160, 106, 0.08); padding-left: 20px; }
.news-link:hover .news-text { color: var(--color-gold); }
.news-more-btn-wrap { text-align: center; }
.news-more-btn { display: inline-block; padding: 12px 60px; color: var(--color-gold); border: 1px solid var(--color-gold); text-decoration: none; font-size: 0.9rem; letter-spacing: 0.2em; text-transform: uppercase; transition: all 0.3s ease; }
.news-more-btn:hover { color: #111111; background-color: var(--color-gold); box-shadow: 0 0 15px rgba(189, 160, 106, 0.4); }

/* WORLD (INTRODUCTION) セクション */
.mirage-intro-section { position: relative; width: 100%; padding: 120px 0; background-color: var(--color-bg); border-bottom: 1px solid var(--color-gold-dim); }
.intro-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.intro-text-side { flex: 1; }
.intro-title { color: var(--color-gold); font-weight: 400; margin-top: 0; }
.deco-leaf { font-size: 1.5rem; vertical-align: middle; color: var(--color-gold-dim); }
.intro-body-paragraphs { display: flex; flex-direction: column; gap: 24px; }
.intro-body-paragraphs p { font-size: 1.15rem; line-height: 2.2; margin: 0; letter-spacing: 0.08em; transition: all 0.8s ease; opacity: 1 !important; transform: translateY(0) !important; color: #ffffff !important; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8); }
.intro-body-paragraphs .text-highlight { color: var(--color-gold); margin-top: 20px; }
.intro-body-paragraphs .title-large { font-size: 1.7rem; margin-top: 20px; color: var(--text-white); }
.intro-video-side { flex: 1; display: flex; justify-content: center; }
.video-frame-wrap { position: relative; width: 100%; max-width: 550px; aspect-ratio: 16 / 9; border: 1px solid var(--color-gold-dim); box-shadow: 0 15px 35px rgba(0,0,0,0.7); overflow: hidden; cursor: pointer; }
.video-thumbnail { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.video-frame-wrap:hover .video-thumbnail { transform: scale(1.05); }
.video-play-btn-rhombus { position: absolute; top: 50%; left: 50%; width: 120px; height: 120px; background-color: rgba(17, 17, 17, 0.85); border: 1px solid var(--color-gold); transform: translate(-50%, -50%) rotate(45deg); display: flex; justify-content: center; align-items: center; transition: all 0.4s ease; z-index: 5; }
.play-arrow { width: 0; height: 0; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent var(--color-gold); transform: rotate(-45deg) translateX(4px); transition: all 0.4s ease; }
.video-frame-wrap:hover .video-play-btn-rhombus { background-color: var(--color-gold); box-shadow: 0 0 20px rgba(189, 160, 106, 0.6); }
.video-frame-wrap:hover .play-arrow { border-color: transparent transparent transparent #111111; }
.play-label { position: absolute; bottom: -45px; left: 45px; transform: rotate(-45deg); width: 150px; font-size: 0.8rem; color: var(--color-gold); letter-spacing: 0.1em; white-space: nowrap; }
.char { opacity: 0; filter: blur(8px); transition: opacity 1.5s ease-out, filter 1.5s ease-out; display: inline-block; }
.char.appear { opacity: 1; filter: blur(0); }

/* CHARACTER (トップカルーセル) セクション */
.mirage-character-section { position: relative; width: 100%; padding: 120px 0 60px 0; background-color: #f6f3ee; background-image: radial-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 0); background-size: 4px 4px; }
.character-section-title { font-size: 3.5rem; color: #a38552; text-align: center; letter-spacing: 0.2em; margin-top: 0; margin-bottom: 80px; }
.char-title-deco { font-size: 1.8rem !important; vertical-align: middle; color: #c9b99d; }
.char-carousel-container { position: relative; max-width: 1100px; margin: 0 auto; overflow: hidden; padding: 0 10px; }
.char-carousel-slider { display: flex; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); }
.char-carousel-card { flex: 0 0 calc(100% / 3); max-width: calc(100% / 3); box-sizing: border-box; padding: 0 5px; position: relative; cursor: pointer; }
.char-image-wrap { position: relative; width: 100%; height: 550px; background: #e2ded8; overflow: hidden; border: 1px solid rgba(163, 133, 82, 0.15); }
.char-image-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: grayscale(100%) contrast(110%); transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1); }
.char-carousel-card:hover img { filter: grayscale(30%) contrast(105%); transform: scale(1.03); }
.char-name-script { position: absolute; top: auto !important; bottom: 30px !important; left: 25px !important; right: auto !important; font-family: 'Pinyon Script', cursive !important; font-size: 3.5rem; color: #bda06a; writing-mode: vertical-lr; letter-spacing: 0.05em; text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8); pointer-events: none; z-index: 10; transition: all 0.4s ease; }
.char-carousel-card:hover .char-name-script { color: #a38552; transform: translateY(-5px); text-shadow: 0 0 10px rgba(189, 160, 106, 0.4); }

/* キャラクター切り替えボタン（菱形） */
.char-carousel-btn { position: absolute; top: calc(50% - 25px); background: transparent !important; border: none !important; box-shadow: none !important; border-radius: 0 !important; width: 50px; height: 50px; font-size: 1.3rem; color: #a38552; cursor: pointer; z-index: 50; display: flex; justify-content: center; align-items: center; transition: all 0.3s; }
.char-carousel-btn::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(246, 243, 238, 0.9); border: 1px solid #c9b99d; transform: rotate(45deg); z-index: -1; transition: all 0.3s ease; box-shadow: 0 4px 10px rgba(163, 133, 82, 0.1); }
.char-carousel-btn:hover::before { background: #a38552; }
.char-carousel-btn:hover { color: #ffffff !important; }
.char-btn-prev { left: 15px; }
.char-btn-next { right: 15px; }

/* GALLERY セクション */
.mirage-gallery-section { position: relative; width: 100%; padding: 100px 0; background-color: var(--color-bg); background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 0); background-size: 4px 4px; border-top: 1px solid var(--color-gold-dim); border-bottom: 1px solid var(--color-gold-dim); }
.gallery-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.gallery-section-title { font-size: 3.5rem; color: var(--color-gold); text-align: center; letter-spacing: 0.2em; margin-bottom: 60px; }
.carousel-container { position: relative; width: 100%; max-width: 900px; margin: 0 auto; overflow: hidden; border: 1px solid var(--color-gold-dim); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6); }
.carousel-slider { display: flex; width: 100%; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); }
.carousel-slide { min-width: 100%; position: relative; box-sizing: border-box; }
.carousel-slide img { width: 100%; height: auto; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.slide-caption { margin: 0; padding: 20px; background-color: #111111; color: var(--color-gold); text-align: center; font-size: 1.2rem; letter-spacing: 0.1em; border-top: 1px solid var(--color-gold-dim); }
.carousel-dots { display: flex; justify-content: center; gap: 12px; padding: 15px 0; background: #111111; }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); cursor: pointer; transition: all 0.3s; }
.carousel-dot.is-active { background: var(--color-gold); transform: scale(1.2); }

/* ギャラリー切り替えボタン（下に移動） */
.carousel-btn { position: absolute; top: auto !important; bottom: 30px !important; background: rgba(0, 0, 0, 0.6); border: 1px solid var(--color-gold-dim); color: var(--color-gold); width: 50px; height: 50px; font-size: 1.5rem; cursor: pointer; z-index: 10; transition: all 0.3s; display: flex; justify-content: center; align-items: center; }
.carousel-btn:hover { background: var(--color-gold); color: #111111; }
.btn-prev { left: 20px; }
.btn-next { right: 20px; }

/* PRODUCT (トップ用) セクション */
.mirage-product-section { position: relative; width: 100%; padding: 120px 0 30px 0; background-color: #f6f3ee; background-image: radial-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 0); background-size: 4px 4px; }
.mirage-product-section .product-main-section { box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4); border-color: rgba(189, 160, 106, 0.4); }

/* トップページ専用：強制的スタイル調整 */
.mirage-intro-section, .mirage-character-section, .mirage-gallery-section, .intro-inner, .gallery-inner, .char-carousel-container { border-top: none !important; border-bottom: none !important; box-shadow: none !important; }
.mirage-intro-section::before, .mirage-intro-section::after, .mirage-character-section::before, .mirage-character-section::after, .mirage-gallery-section::before, .mirage-gallery-section::after { content: none !important; display: none !important; }
.intro-photo-wrap { width: 100%; max-width: 700px; margin: 40px auto 0; position: relative; cursor: pointer; z-index: 10; padding: 1px; background: linear-gradient(135deg, #d4b172 0%, #b3925c 50%, #d4b172 100%); border-radius: 0 !important; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5); }
.intro-photo { width: 100%; height: auto; border-radius: 0 !important; display: block; filter: brightness(0.7) grayscale(100%); transition: all 0.5s ease; }
.intro-photo-wrap:hover .intro-photo, .intro-photo-wrap.is-active .intro-photo { filter: brightness(1) grayscale(0%); transform: scale(1.01); }
.intro-photo-wrap::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(45deg) scale(0.9); width: 65px; height: 65px; background-color: rgba(20, 20, 20, 0.85); border: 1px solid #d4b172; border-radius: 0 !important; background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23d4b172"><path d="M8 5v14l11-7z" transform="rotate(-45 12 12)"/></svg>'); background-repeat: no-repeat; background-position: center; background-size: 32px; box-shadow: 0 0 15px rgba(212, 177, 114, 0.6); opacity: 0; transition: all 0.4s ease; z-index: 15; }
.intro-photo-wrap:hover::after { opacity: 1; transform: translate(-50%, -50%) rotate(45deg) scale(1.05); }
.intro-body-paragraphs .fade-up-text, .intro-text-side .intro-title { text-align: center !important; }
.intro-inner { flex-direction: column !important; align-items: center !important; }
.intro-video-side { width: 100% !important; max-width: 700px; margin-top: 40px !important; }
.mirage-hero-stage .release-date { margin-bottom: -110px !important; padding-bottom: 0 !important; }
.mirage-intro-section .section-float-parts, .mirage-intro-section .float-wrap-left, .mirage-intro-section .float-wrap-right { position: absolute !important; z-index: 100 !important; pointer-events: none; }


/* --------------------------------------------------------------------------
   05. ABOUT ページ ＆ トップのSTORY・エピグラフ
   -------------------------------------------------------------------------- */
.about-page { background-color: #111111; background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 0); background-size: 4px 4px; color: #ffffff; }
.about-container { max-width: 1000px; margin: 0 auto; padding: 0 20px 100px; }

/* 大タイトルと小見出しのバランス */
.about-page .page-main-title { font-size: 3rem !important; margin-bottom: 5px; }
.about-page .section-heading { font-size: 2rem !important; }
.section-heading { font-family: 'Cinzel', serif !important; font-size: 2.5rem; color: var(--color-gold); text-align: center; letter-spacing: 0.25em; margin-bottom: 60px; text-shadow: 0 0 15px rgba(189, 160, 106, 0.4); }
.section-heading, .story-section::before { font-family: 'IM Fell English SC', serif !important; }

/* STORY セクション */
.story-section { margin-bottom: 120px; position: relative; }
.story-section::before { content: 'STORY'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-family: 'Cinzel', serif !important; font-size: 15vw; color: rgba(189, 160, 106, 0.03); z-index: 1; pointer-events: none; white-space: nowrap; }
.story-text-box { text-align: center; background: rgba(17, 17, 17, 0.75); border: 1px solid rgba(189, 160, 106, 0.2); padding: 80px 40px; box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8); position: relative; z-index: 2; backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.story-text-box p { font-family: 'Hina Mincho', 'Shippori Mincho B1', serif !important; font-size: 1.15rem; line-height: 2.6; color: #e2ded8; letter-spacing: 0.15em; margin: 0; text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.9); }
.story-text-box br { display: block; margin: 20px 0; content: ""; }

/* 前面に浮かぶ雲（スモーク） */
.about-cloud { position: absolute; z-index: 50; pointer-events: none; opacity: 0.4; animation: floatCloud 8s ease-in-out infinite alternate; }
.cloud-left { top: 5%; left: -100px; width: 450px; }
.cloud-right { top: 80%; right: -100px; width: 350px; animation-delay: -4s; }
@keyframes floatCloud { 0% { transform: translateY(0px) scale(1); } 100% { transform: translateY(30px) scale(1.05); } }

/* WORDS セクション */
.words-section { margin-bottom: 100px; }
.words-list { display: flex; flex-direction: column; gap: 50px; }
.word-item { border-bottom: 1px solid rgba(189, 160, 106, 0.2); padding-bottom: 30px; transition: all 0.4s ease; }
.word-item:hover { padding-left: 20px; border-color: var(--color-gold); }
.word-title { font-family: 'Hina Mincho', 'Cinzel', serif !important; font-size: 1.8rem; color: var(--color-gold); margin: 0 0 20px 0; letter-spacing: 0.15em; }
.word-title .word-en { font-family: 'IM Fell English SC', serif !important; font-size: 1.4rem; margin-left: 8px; letter-spacing: 0.1em; }
.word-desc { font-size: 1rem; line-height: 2.2; color: #c9b99d; letter-spacing: 0.1em; margin: 0; }

/* 祈りの言葉（エピグラフ）セクション */
.about-epigraph-wrap { display: flex; justify-content: center; width: 100%; margin: 120px auto 100px; position: relative; }
.about-epigraph { writing-mode: vertical-rl; -webkit-writing-mode: vertical-rl; text-orientation: upright; height: 300px; }
.about-epigraph p { font-family: 'Hina Mincho', 'Shippori Mincho B1', serif !important; font-size: 1.3rem; color: #ffffff !important; letter-spacing: 0.4em; margin: 0 15px; text-shadow: 0 0 15px rgba(255, 255, 255, 0.4); display: inline-block; }
.epigraph-cloud-left { top: -10%; left: 5%; width: 330px; opacity: 0.2; }
.epigraph-cloud-right { bottom: -10%; right: 5%; width: 300px; opacity: 0.3; animation-delay: -3s; }

/* 注意書き（フィクション） */
.about-disclaimer { text-align: center; margin: 80px auto 40px; padding: 15px 20px; border: 1px solid var(--color-gold-dim); background: rgba(17, 17, 17, 0.7); max-width: 600px; font-size: 0.85rem; color: #a0998f; letter-spacing: 0.1em; line-height: 1.8; }

/* トップページ専用：STORYとエピグラフの余白強制削除 */
#story.mirage-product-section { margin-bottom: 0 !important; padding-bottom: 0 !important; }
#story .story-section { margin-bottom: 0 !important; padding-bottom: 0 !important; }
.mirage-epigraph-section { padding-top: 30px !important; margin-top: 30px !important; position: relative; z-index: 10; }


/* --------------------------------------------------------------------------
   06. CHARACTER ページ（一覧 ＆ 個別詳細）
   -------------------------------------------------------------------------- */
/* キャラクター一覧ページ */
.character-list-page { background-color: #111111; background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 0); background-size: 4px 4px; color: #ffffff; margin: 0; padding: 0; font-family: 'IM Fell English SC', 'Cinzel', 'Shippori Mincho B1', serif !important; }
.char-page-header { text-align: center; padding: 80px 0 40px; }
.page-main-title { font-size: 2.0rem; color: #bda06a; letter-spacing: 0.2em; margin: 0; text-shadow: 0 0 15px rgba(189, 160, 106, 0.4); }
#character-list-wrap { max-width: 1300px; margin: 0 auto; padding: 0 20px 80px; }
.char-section-title { text-align: center; margin-bottom: 50px; position: relative; }
.char-section-title h2 { display: inline-block; font-size: 1.5rem; color: #ffffff; letter-spacing: 0.15em; padding: 0 40px; position: relative; }
.char-section-title h2::before, .char-section-title h2::after { content: ''; position: absolute; top: 50%; width: 60px; height: 1px; background-color: #bda06a; }
.char-section-title h2::before { left: -30px; }
.char-section-title h2::after { right: -30px; }
.char-grid-container { display: grid; gap: 30px; }
.main-grid, .other-grid { grid-template-columns: repeat(4, 1fr); }

/* キャラクターカード (一覧) */
.char-card { position: relative; width: 100%; aspect-ratio: 9 / 16; background: #1a1a1a; border: 1px solid #4a453f; overflow: hidden; cursor: pointer; box-shadow: 0 10px 20px rgba(0,0,0,0.5); transition: all 0.4s ease; }
.char-card:hover { border-color: #bda06a; transform: translateY(-10px); box-shadow: 0 15px 30px rgba(189, 160, 106, 0.3); }
.char-img-box { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.char-img-box img { width: 100%; height: 100%; object-fit: cover; object-position: center 20px; transform: translateX(30px); transition: transform 0.6s ease; }
.char-card:hover .char-img-box img { transform: translateX(18px) scale(1.05); }
.char-info-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 2; background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 70%, rgba(0,0,0,0.8) 100%); pointer-events: none; }
.char-catch-circle { position: absolute; top: 20px; left: 20px; width: 44px; height: 44px; background: rgba(189, 160, 106, 0.9); color: #111; transform: rotate(45deg); display: flex; justify-content: center; align-items: center; font-size: 1.1rem; font-weight: bold; box-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.char-catch-circle span { transform: rotate(-45deg); display: inline-block; }
.char-name-vertical { position: absolute; top: 105px; left: 24px !important; writing-mode: vertical-rl; text-orientation: mixed; display: flex; align-items: center; gap: 15px; }
.name-en { font-family: 'Pinyon Script', cursive !important; font-size: 2.3rem; color: #ffffff; text-shadow: 2px 2px 5px rgba(0,0,0,0.8); letter-spacing: 0.05em; order: 1; }
.name-ja { font-size: 1.2rem; color: #bda06a; letter-spacing: 0.3em; text-shadow: 1px 1px 3px rgba(0,0,0,0.9); order: 2; transform: translateX(-12px); }
.char-bottom-info { position: absolute; bottom: 20px; left: 0; width: 100%; text-align: center; }
.char-role { display: inline-block; font-size: 0.9rem; color: #e2ded8; letter-spacing: 0.1em; background: rgba(17, 17, 17, 0.8); padding: 5px 15px; border: 1px solid #7e6b47; }

/* 一覧ページへ戻るボタン */
.back-to-top-btn { display: inline-block; color: #bda06a; text-decoration: none; letter-spacing: 0.2em; font-size: 1rem; border: 1px solid #bda06a; padding: 15px 40px; transition: all 0.3s ease; }
.back-to-top-btn:hover { background: #bda06a; color: #111111; }
.final-back-btn { text-align: center; margin: 80px 0 120px; }

/* キャラクター個別詳細ページ */
.character-detail-page { background-color: #111111; color: #ffffff; overflow-x: hidden; }
.detail-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background-size: cover; background-position: center; z-index: -2; }
.detail-bg-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: linear-gradient(to right, rgba(17, 17, 17, 0.95) 0%, rgba(17, 17, 17, 0.7) 40%, rgba(17, 17, 17, 0) 100%); z-index: -1; }
.detail-container { display: flex; justify-content: space-between; align-items: center; max-width: 1400px; margin: 0 auto; padding: 100px 40px 40px; min-height: 100vh; position: relative; }
.detail-text-area { width: 45%; z-index: 10; }
.detail-name-box { margin-bottom: 30px; border-bottom: 1px solid rgba(189, 160, 106, 0.3); padding-bottom: 20px; }
.name-en-large { font-family: 'Pinyon Script', cursive !important; font-size: 5rem; color: var(--color-gold); margin: 0; line-height: 1; text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8); font-weight: normal; }
.name-ja-large { font-size: 1.8rem; color: #ffffff; letter-spacing: 0.3em; margin: 10px 0 15px 0; }
.cv-text { font-size: 0.9rem; color: var(--color-gold-dim); letter-spacing: 0.15em; margin: 0; }
.cv-name { font-size: 1.2rem; color: #ffffff; margin-left: 10px; }
.detail-catchphrase { font-size: 1.2rem; color: var(--color-gold); font-weight: bold; letter-spacing: 0.1em; margin-bottom: 20px; text-shadow: 1px 1px 5px rgba(0,0,0,0.8); }
.detail-description { font-size: 1rem; line-height: 2.2; color: #e2ded8; letter-spacing: 0.08em; margin-bottom: 40px; }
.detail-profile-list { list-style: none; padding: 0; margin: 0 0 50px 0; border-top: 1px solid rgba(189, 160, 106, 0.2); }
.detail-profile-list li { display: flex; align-items: center; border-bottom: 1px solid rgba(189, 160, 106, 0.2); padding: 15px 0; }
.pro-label { font-family: 'Cinzel', serif !important; font-size: 1rem; color: var(--color-gold); width: 120px; letter-spacing: 0.2em; }
.pro-val { font-size: 1.1rem; color: #ffffff; letter-spacing: 0.1em; }
.detail-quote { font-size: 1rem; color: #bda06a; line-height: 2; letter-spacing: 0.15em; margin-bottom: 50px; font-style: italic; border-left: 2px solid var(--color-gold); padding-left: 20px; }
.detail-back-btn { display: inline-block; padding: 12px 40px; border: 1px solid var(--color-gold); color: var(--color-gold); text-decoration: none; letter-spacing: 0.15em; transition: all 0.3s ease; font-family: 'Cinzel', serif !important; }
.detail-back-btn:hover { background: var(--color-gold); color: #111111; box-shadow: 0 0 15px rgba(189, 160, 106, 0.5); }
.detail-visual-area { width: 55%; position: relative; height: 100vh; display: flex; align-items: flex-end; justify-content: center; z-index: 5; }
.detail-char-img { height: 90vh; width: auto; object-fit: contain; filter: drop-shadow(0 0 30px rgba(0, 0, 0, 0.8)); animation: floatChar 6s ease-in-out infinite; }
@keyframes floatChar { 0% { transform: translateY(0px); } 50% { transform: translateY(-15px); } 100% { transform: translateY(0px); } }

/* キャラクター詳細（画像なし2カラム） */
.text-split-layout { display: flex; justify-content: space-between; align-items: flex-start; min-height: auto !important; padding-bottom: 80px !important; }
.detail-text-left, .detail-text-right { width: 45%; z-index: 10; }
.detail-text-right { padding-top: 25px; }


/* --------------------------------------------------------------------------
   07. NEWS ページ
   -------------------------------------------------------------------------- */
.news-archive-page { background-color: #111111; background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 0); background-size: 4px 4px; color: #ffffff; }
.page-header-section { text-align: center; padding: 120px 0 60px; }
.page-sub-title { color: var(--color-gold); letter-spacing: 0.3em; font-size: 1rem; margin-top: 10px; }
.news-archive-container { max-width: 1000px; margin: 0 auto; padding: 0 20px 100px; }
.news-filter-list { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; list-style: none; padding: 0; margin: 0 0 60px 0; }
.news-filter-list li a { display: block; padding: 12px 35px; border: 1px solid var(--color-gold-dim); color: var(--color-gold-dim); text-decoration: none; font-family: 'Cinzel', serif !important; letter-spacing: 0.15em; transition: all 0.3s ease; background: rgba(17, 17, 17, 0.5); }
.news-filter-list li.is-active a, .news-filter-list li a:hover { background: rgba(189, 160, 106, 0.15); border-color: var(--color-gold); color: var(--color-gold); box-shadow: 0 0 15px rgba(189, 160, 106, 0.4); }
.news-list-wrap { border-top: 1px solid rgba(189, 160, 106, 0.3); }
.news-list-item { display: flex; align-items: center; padding: 40px 20px; border-bottom: 1px solid rgba(189, 160, 106, 0.3); text-decoration: none; color: inherit; transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); }
.news-list-item:hover { background: rgba(255, 255, 255, 0.02); padding-left: 40px; }
.news-item-thumb { width: 280px; height: 157px; flex-shrink: 0; overflow: hidden; margin-right: 40px; border: 1px solid rgba(189, 160, 106, 0.2); box-shadow: 0 5px 15px rgba(0,0,0,0.5); }
.news-item-thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%) brightness(0.6); transition: transform 0.6s ease, filter 0.6s ease !important; }
.news-list-item:hover .news-item-thumb img { transform: scale(1.05); filter: grayscale(0%) brightness(1); }
.news-item-body { flex: 1; }
.news-item-meta { display: flex; align-items: center; gap: 20px; margin-bottom: 15px; }
.news-date { font-family: 'Cinzel', serif !important; color: var(--color-gold); letter-spacing: 0.1em; font-size: 1.1rem; }
.news-cat { font-size: 0.8rem; padding: 4px 15px; background: rgba(189, 160, 106, 0.1); color: var(--color-gold); border: 1px solid var(--color-gold-dim); letter-spacing: 0.1em; }
.news-item-title { font-size: 1.2rem; line-height: 1.6; margin: 0; color: #e2ded8; transition: color 0.3s ease; letter-spacing: 0.05em; }
.news-list-item:hover .news-item-title { color: #ffffff; }


/* --------------------------------------------------------------------------
   08. PRODUCT ページ
   -------------------------------------------------------------------------- */
.product-page { background-color: #111111; background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 0); background-size: 4px 4px; color: #ffffff; }
.product-container { max-width: 1100px; margin: 0 auto; padding: 0 20px 100px; }
.product-nav-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; list-style: none; padding: 0; margin: 0 0 60px 0; }
.product-nav-tabs li a { display: block; padding: 12px 30px; border: 1px solid var(--color-gold-dim); color: var(--color-gold-dim); text-decoration: none; font-family: 'Cinzel', serif !important; letter-spacing: 0.15em; transition: all 0.3s ease; background: rgba(17, 17, 17, 0.5); }
.product-nav-tabs li.is-active a, .product-nav-tabs li a:hover { background: rgba(189, 160, 106, 0.15); border-color: var(--color-gold); color: var(--color-gold); box-shadow: 0 0 15px rgba(189, 160, 106, 0.4); }
.product-main-section { display: flex; gap: 60px; align-items: center; background: rgba(17, 17, 17, 0.85); border: 1px solid rgba(189, 160, 106, 0.2); padding: 50px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6); margin-bottom: 60px; }
.product-visual-box { width: 40%; flex-shrink: 0; border: 1px solid var(--color-gold-dim); box-shadow: 0 10px 25px rgba(0,0,0,0.8); }
.product-visual-box img { width: 100%; height: auto; display: block; }
.product-info-box { flex: 1; }
.product-title-text { font-size: 1.8rem; color: var(--color-gold); margin-top: 0; margin-bottom: 30px; letter-spacing: 0.1em; border-bottom: 1px solid rgba(189, 160, 106, 0.3); padding-bottom: 15px; }
.product-title-text .title-ja { font-size: 1.2rem; letter-spacing: 0.2em; display: inline-block; margin-top: 5px; }
.product-spec-table { width: 100%; border-collapse: collapse; }
.product-spec-table th, .product-spec-table td { padding: 15px 0; border-bottom: 1px solid rgba(189, 160, 106, 0.15); font-size: 1rem; letter-spacing: 0.05em; }
.product-spec-table th { width: 120px; color: var(--color-gold); font-family: 'Cinzel', serif !important; font-weight: normal; text-align: left; vertical-align: top; }
.product-spec-table td { color: #e2ded8; line-height: 1.8; }
.price-label { display: block; font-size: 0.85rem; color: var(--color-gold-dim); }
.product-sub-section { background: rgba(17, 17, 17, 0.85); border: 1px solid rgba(189, 160, 106, 0.2); padding: 40px 50px; text-align: center; }
.sub-section-title { font-size: 1.5rem; color: var(--color-gold); margin-top: 0; margin-bottom: 20px; letter-spacing: 0.15em; }
.sub-section-desc { color: #e2ded8; line-height: 2; letter-spacing: 0.08em; margin: 0; }

/* STAFF & CAST セクション */
.product-staff-cast-section { margin-top: 80px; padding-top: 80px; border-top: 1px solid rgba(189, 160, 106, 0.3); }
.staff-cast-container { display: flex; justify-content: space-between; gap: 60px; }
.staff-block, .cast-block { width: 48%; }
.staff-cast-title { font-family: 'Cinzel', serif !important; font-size: 2.2rem; color: var(--color-gold); text-align: left; letter-spacing: 0.15em; margin-top: 0; margin-bottom: 40px; border-bottom: 1px solid rgba(189, 160, 106, 0.5); padding-bottom: 15px; text-shadow: 0 0 10px rgba(189, 160, 106, 0.4); }
.staff-cast-list { margin: 0; padding: 0; }
.staff-cast-list dt { font-size: 0.9rem; color: var(--color-gold-dim); letter-spacing: 0.1em; margin-bottom: 8px; }
.staff-cast-list dd { font-size: 1.25rem; color: #ffffff; margin: 0 0 35px 0; letter-spacing: 0.1em; }


/* --------------------------------------------------------------------------
   09. レスポンシブ設定 (PC・タブレット・スマホ)
   -------------------------------------------------------------------------- */

/* PC版（幅769px以上：トップページキービジュアル等） */
@media (min-width: 769px) {
    .mirage-hero-stage .char-visual-item img { width: 100% !important; max-width: 800px; height: auto; }
    .hero-float .float-wrap-left img { width: 400px !important; }
    .hero-float .float-wrap-right img { width: 350px !important; }
    .hero-float.is-active .float-wrap-left { top: 10% !important; left: 35% !important; z-index: 1 !important; }
    .hero-float.is-active .float-wrap-right { top: 50% !important; right: 35% !important; z-index: 5 !important; }
}

/* タブレット・中間サイズ（幅900px以下） */
@media (max-width: 900px) {
    /* トップページ用調整 */
    .hero-float.is-active .float-wrap-left { left: -2% !important; top: 15% !important; }
.hero-float.is-active .float-wrap-right {right : 3% !important ; top : 20% !important ; }

    /* キャラクター一覧・詳細・テキスト分割 */
    .main-grid, .other-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .char-section-title h2 { font-size: 1.6rem; padding: 0 20px; }
    .char-section-title h2::before, .char-section-title h2::after { width: 30px; }
    .char-card { aspect-ratio: 9 / 19; }
    .char-catch-circle { width: 32px; height: 32px; font-size: 0.85rem; top: 10px; left: 10px; }
    .char-name-vertical { left: 10px !important; top: 65px; gap: 10px; }
    .name-en { font-size: 1.7rem; }
    .name-ja { font-size: 1rem; }
    .char-role { font-size: 0.75rem; padding: 4px 10px; }
    
    .detail-container { flex-direction: column-reverse; padding: 80px 20px 40px; }
    .detail-bg-overlay { background: linear-gradient(to top, rgba(17, 17, 17, 1) 0%, rgba(17, 17, 17, 0.8) 50%, rgba(17, 17, 17, 0) 100%); }
    .detail-visual-area { width: 100%; height: auto; margin-bottom: -50px; }
    .detail-char-img { height: auto; width: 100%; max-height: 60vh; }
    .detail-text-area { width: 100%; background: rgba(17, 17, 17, 0.6); padding: 30px 20px; border-radius: 10px; backdrop-filter: blur(5px); }
    .name-en-large { font-size: 3.5rem; }
    .name-ja-large { font-size: 1.5rem; }
    .detail-catchphrase { font-size: 1.1rem; }
    .pro-label { width: 100px; }

    .text-split-layout { flex-direction: column; padding: 80px 20px 40px !important; }
    .detail-text-left, .detail-text-right { width: 100%; background: rgba(17, 17, 17, 0.6); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
    .detail-text-left { padding: 30px 20px 0; border-radius: 10px 10px 0 0; }
    .detail-text-right { padding: 0 20px 30px; border-radius: 0 0 10px 10px; }

    /* PRODUCTページ */
    .product-main-section { flex-direction: column; padding: 30px 20px; gap: 30px; }
    .product-visual-box { width: 100%; max-width: 300px; margin: 0 auto; }
    .product-spec-table th, .product-spec-table td { font-size: 0.9rem; }
    .product-spec-table th { width: 90px; }
    .product-sub-section { padding: 30px 20px; }
    .staff-cast-container { flex-direction: column; gap: 60px; }
    .staff-block, .cast-block { width: 100%; }
    .staff-cast-list dd { font-size: 1.1rem; margin-bottom: 25px; }
}

/* スマホ版（幅768px以下：全体・ABOUT・NEWS） */
@media (max-width: 768px) {
    /* 全体・トップレイアウト */
    body, html { height: auto !important; min-height: 100vh !important; overflow-x: hidden !important; }
    .mirage-news-section, .footer-bg-stage { background-attachment: scroll !important; background-size: cover !important; background-position: center center !important; }
    .news-title, .section-title, .slide-caption, .intro-body-paragraphs p { font-size: clamp(10px, 4vw, 16px) !important; white-space: nowrap !important; word-break: keep-all !important; text-align: center !important; display: block !important; width: 100% !important; padding: 0 5px !important; box-sizing: border-box !important; }
    .intro-body-paragraphs p, .slide-caption { line-height: 1.6 !important; }
    .mirage-news-section .news-inner { width: calc(100% - 30px) !important; max-width: 100% !important; margin-left: auto !important; margin-right: auto !important; box-sizing: border-box !important; padding: 30px 20px !important; }
    .carousel-container { width: 100% !important; max-width: 100% !important; margin: 0 auto !important; box-sizing: border-box !important; border: 1px solid var(--color-gold-dim) !important; position: relative !important; display: block !important; }
    .intro-inner { flex-direction: column !important; gap: 30px !important; padding: 0 15px !important; }
    .intro-video-side, .intro-photo-wrap { width: 100% !important; max-width: 100% !important; margin-top: 25px !important; }
    .footer-info-inner { flex-direction: column !important; align-items: flex-start !important; text-align: left !important; gap: 25px !important; padding: 0 20px !important; }
    .footer-center-links, .footer-right-copyright { align-items: flex-start !important; text-align: left !important; max-width: 100% !important; }
    
    .mirage-nav-overlay { z-index: 999999 !important; position: fixed !important; top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important; width: 100% !important; height: 100% !important; min-height: -webkit-fill-available !important; background-color: #111111 !important; padding: 0 !important; margin: 0 !important; overflow: hidden !important; }
    .mirage-nav-overlay.is-active { display: flex !important; flex-direction: column !important; justify-content: center !important; align-items: center !important; opacity: 1 !important; visibility: visible !important; }
    .mirage-nav-overlay ul { padding: 0 !important; margin: 0 !important; display: flex !important; flex-direction: column !important; justify-content: center !important; align-items: center !important; gap: 0px !important; width: 100% !important; }
    .mirage-nav-overlay li { list-style: none !important; margin: 0 !important; padding: 0 !important; }
    .mirage-nav-overlay a { font-size: clamp(18px, 6vw, 28px) !important; white-space: nowrap !important; text-align: center !important; display: block !important; padding: 8px 0 !important; margin: 0 !important; }
    
    
    .gallery-inner { padding: 0 15px !important; }
    .slide-caption { padding-top: 20px !important; padding-bottom: 0px !important; }
    .size-s { width: 50px !important; }
    .size-m { width: 90px !important; }
    .size-l { width: 130px !important; }
    .section-float-parts.is-active .float-wrap-left { left: -2% !important; top: 10% !important; }
    .section-float-parts.is-active .float-wrap-right { right: 0% !important; top: 55% !important; }
    .mirage-gallery-section .carousel-btn { bottom: 20px !important; }
    
    /* ABOUT・エピグラフ調整 */
    .about-page .page-main-title { font-size: 2.5rem !important; }
    .about-page .section-heading { font-size: 1.5rem !important; }
    .section-heading { font-size: 1.8rem; }
    .story-text-box { padding: 40px 20px; }
    .story-text-box p { font-size: 0.85rem; line-height: 2.2; text-align: center; }
    .word-title { font-size: 1.5rem; }
    .word-item:hover { padding-left: 0; }
    .cloud-left { width: 280px; left: -60px; top: 0%; }
    .cloud-right { width: 320px; right: -60px; top: 50%; }
    .about-disclaimer { font-size: 0.75rem; margin: 60px 20px 40px; }
    .about-epigraph-wrap { margin: 80px auto 80px; }
    .about-epigraph { height: 250px; }
    .about-epigraph p { font-size: 1.1rem; letter-spacing: 0.3em; margin: 0 10px; }
    .epigraph-cloud-left { width: 250px; left: -20px; top: -10%; }
    .epigraph-cloud-right { width: 280px; right: -20px; bottom: -10%; }
    
    /* NEWSページ調整 */
    .news-list-item { flex-direction: column; align-items: flex-start; padding: 30px 10px; }
    .news-list-item:hover { padding-left: 10px; }
    .news-item-thumb { width: 100%; height: auto; aspect-ratio: 16 / 9; margin-right: 0; margin-bottom: 20px; }
    .news-filter-list { gap: 8px; }
    .news-filter-list li a { padding: 8px 15px; font-size: 0.85rem; }
    .news-link { flex-direction: column !important; align-items: flex-start !important; }
    .news-date { margin-right: 0 !important; margin-bottom: 4px !important; }
}

/* ==========================================================================
   キャラクターページ専用：縦長（9:16）ギャラリー
   ========================================================================== */
/* 縦長の時は、パソコンで巨大化しないように箱の幅をスマートにする */
.carousel-container.is-vertical {
    max-width: 450px !important;
}

/* 画像の比率を縦長（9:16）に変更 */
.carousel-container.is-vertical .carousel-slide img {
    aspect-ratio: 9 / 16 !important;
}

/* スマホで見た時も大きすぎないように微調整 */
@media (max-width: 768px) {
    .carousel-container.is-vertical {
        max-width: 320px !important;
    }
}

/* ==========================================================================
   詳細ページ専用：キャラクターセクションの漆黒背景＆8Kカード設定
   ========================================================================== */
/* 1. キャラクターセクションの背景は透明（元の黒）に戻す（※8Kカード設定は維持） */
.dark-character-section {
    background: transparent !important;
}

/* 画面の端から端まで広げつつ、上の隙間を詰め、一番下まで完全にカバーする */
.dark-bottom-section {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    
    /* ★ ここからが間隔と隙間を直す魔法！ */
    margin-top: 10px !important; /* 上の空間をキュッと詰める（もっと近づけたい時は 0 や -20px にする） */
    padding: 40px 0 60px 0 !important; /* 下の厚みを思い切り増やして画面の底まで届かせる */
    margin-bottom: -60px !important; /* サイトの一番下にある見えない隙間を、マイナスの数字で強引に埋め尽くす */
    
    background-color: transparent !important;
    background-image: 
        radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 0),
        linear-gradient(45deg, #111111, #1a1a1a, #2f251c, #111111) !important;
    background-size: 4px 4px, 300% 300% !important;
    animation: bgShiftDark 15s ease infinite !important;
}

/* 2. 枠の中を、のっぺりしない奥行きのある極上の黒グラデーションにする */
.dark-character-section .char-image-wrap {
    background: linear-gradient(135deg, #050505 0%, #151515 100%) !important;
    border: 1px solid rgba(189, 160, 106, 0.25) !important;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.9), 0 10px 25px rgba(0, 0, 0, 0.6) !important;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

/* 3. 黒背景に合わせて、画像のコントラストをくっきりと（シネマティックに）調整 */
.dark-character-section .char-image-wrap img {
    filter: grayscale(100%) contrast(125%) brightness(0.9) !important;
}

/* 4. カーソルを乗せた時（ホバー）のプレミアム発光エフェクト */
.dark-character-section .char-carousel-card:hover .char-image-wrap {
    background: linear-gradient(135deg, #0a0a0a 0%, #1f1f1f 100%) !important;
    border-color: rgba(189, 160, 106, 0.8) !important;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.8), 0 15px 40px rgba(189, 160, 106, 0.25) !important;
}

/* 5. ホバー時にキャラクターが鮮やかに色付き、浮かび上がる */
.dark-character-section .char-carousel-card:hover img {
    filter: grayscale(10%) contrast(115%) brightness(1.1) !important;
}

/* ==========================================================================
   STORYレイアウト専用（後でギャラリーに改修予定）
   ========================================================================== */
/* ★このページを開いた時だけ、Cocoonのサイドバーや白背景を強制的に消し去る魔法 */
body:has(#bmc-story-layout) #sidebar { display: none !important; }
body:has(#bmc-story-layout) #main, 
body:has(#bmc-story-layout) .main, 
body:has(#bmc-story-layout) .wrap { width: 100% !important; max-width: 100% !important; padding: 0 !important; margin: 0 !important; border: none !important; background: transparent !important; }
body:has(#bmc-story-layout) #content, 
body:has(#bmc-story-layout) .content { background-color: #05050f !important; padding: 0 !important; }

/* 大枠のコンテナ（ブレマイのような深いネイビー・ブラックのグラデーション） */
.bmc-story-container {
    background: linear-gradient(180deg, #020205 0%, #0a0a1a 50%, #020205 100%) !important;
    color: #e2ded8;
    padding: 120px 20px 180px 20px;
    font-family: 'Hina Mincho', 'Shippori Mincho B1', serif !important;
}

/* トップタイトル */
.bmc-header-area { text-align: center; margin-bottom: 80px; }
.bmc-title {
    font-size: 3.5rem;
    letter-spacing: 0.15em;
    margin: 0 0 10px 0;
    font-family: 'Cinzel', serif !important;
    font-weight: normal;
}
.bmc-subtitle { font-size: 0.9rem; letter-spacing: 0.2em; color: #888; margin: 0; }

/* イントロ（中央テキスト） */
.bmc-intro-area {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 120px auto;
    line-height: 2.5;
    font-size: 1.1rem;
    letter-spacing: 0.2em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}
.bmc-intro-area p { margin: 0; }

/* セクションタイトル共通 (KEYWORD / STORY MAP) */
.bmc-section-title {
    text-align: center;
    font-size: 2.5rem;
    letter-spacing: 0.15em;
    font-family: 'Cinzel', serif !important;
    margin-bottom: 60px;
    font-weight: normal;
}
.bmc-section-title span {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    color: #888;
    margin-top: 10px;
    font-family: 'Hina Mincho', 'Shippori Mincho B1', serif !important;
}

/* KEYWORD ＆ STORY MAP エリア */
.bmc-keyword-area, .bmc-map-area {
    max-width: 900px;
    margin: 0 auto 120px auto;
}
.bmc-keyword-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
}
.bmc-keyword-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
}
.bmc-keyword-name {
    font-size: 1.5rem;
    letter-spacing: 0.15em;
    margin: 0 0 20px 0;
    display: flex;
    align-items: baseline;
    gap: 15px;
    color: #bda06a;
}
.bmc-keyword-name span { font-size: 1rem; color: #666; letter-spacing: 0.1em; font-style: italic; }
.bmc-keyword-text { font-size: 1rem; line-height: 2.2; letter-spacing: 0.15em; color: #ccc; margin: 0; }

/* スマホ対応 */
@media (max-width: 768px) {
    .bmc-title { font-size: 2.5rem; }
    .bmc-intro-area { font-size: 0.95rem; line-height: 2.2; }
    .bmc-section-title { font-size: 2rem; }
    .bmc-keyword-name { font-size: 1.3rem; flex-direction: column; gap: 5px; }
}

/* ==========================================================================
   トップへ戻る浮遊アイコンの設定
   ========================================================================== */
/* PC用（基本の設定） */
.floating-back-to-top {
    position: fixed;
    bottom: 0px;
    right: 0px;
    z-index: 2147483647;
    display: block;
    width: 100px;
    height: 100px;
    animation: floatIcon 3s ease-in-out infinite;
    cursor: pointer;
    text-decoration: none;
}

.floating-back-to-top img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.7));
}

/* スマホ用（画面幅が768px以下の時だけ発動する設定） */
@media (max-width: 768px) {
    .floating-back-to-top {
        width: 90px;  /* スマホでのサイズ（少し小さくする） */
        height: 90px; /* 横幅と同じ数字にする */
        bottom: 10px; /* 画面下からの隙間 */
        right: 10px;  /* 画面右からの隙間 */
    }
}