@charset "UTF-8";



/* ===========================================

   1. 基本設定

=========================================== */

:root {

    --text-color: #333;

    --bg-color: #fff;

    --accent-color: #c95e34;

    --blue-color: #5d8d9e;

    --font-serif: 'Noto Serif JP', serif;

    --font-sans: 'Noto Sans JP', sans-serif;

}



* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }



body {

    font-family: var(--font-sans);

    color: var(--text-color);

    background-color: var(--bg-color);

    line-height: 1.8;

    overflow-x: hidden;

}



a { text-decoration: none; color: inherit; transition: opacity 0.3s; }

a:hover { opacity: 0.7; }



/* ===========================================

   2. ヘッダー要素

=========================================== */

.sns-links {

    position: fixed; top: 25px; right: 70px;

    display: flex; gap: 15px; z-index: 1002;

}

.sns-icon { width: 24px; height: 24px; color: #333; display: block; }



.nav-toggle {

    position: fixed; top: 20px; right: 20px;

    width: 30px; height: 25px; cursor: pointer; z-index: 1001;

}

.nav-toggle span {

    display: block; width: 100%; height: 2px; background: #333;

    position: absolute; transition: all 0.4s ease;

}

.nav-toggle span:nth-child(1) { top: 0; }

.nav-toggle span:nth-child(2) { top: 11px; }

.nav-toggle span:nth-child(3) { bottom: 0; }

.nav-open .nav-toggle span:nth-child(1) { transform: rotate(45deg); top: 11px; }

.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }

.nav-open .nav-toggle span:nth-child(3) { transform: rotate(-45deg); bottom: 12px; }



.global-nav {

    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;

    background: rgba(255, 255, 255, 0.98); z-index: 1000;

    display: flex; justify-content: center; align-items: center;

    opacity: 0; visibility: hidden; transition: all 0.5s ease;

}

.nav-open .global-nav { opacity: 1; visibility: visible; }

.global-nav ul { list-style: none; text-align: center; }

.global-nav li {

    margin: 25px 0; opacity: 0; transform: translateY(20px); transition: all 0.5s ease;

}

.nav-open .global-nav li { opacity: 1; transform: translateY(0); }

.nav-open .global-nav li:nth-child(1) { transition-delay: 0.1s; }

.nav-open .global-nav li:nth-child(2) { transition-delay: 0.2s; }

.nav-open .global-nav li:nth-child(3) { transition-delay: 0.3s; }

.nav-open .global-nav li:nth-child(4) { transition-delay: 0.4s; }

.global-nav a { font-size: 1.4rem; font-family: var(--font-serif); letter-spacing: 0.1em; color: #000; font-weight: 600; }



#loading {

    position: fixed; top: 0; left: 0; width: 100%; height: 100%;

    background: #fff; z-index: 9999;

    display: flex; justify-content: center; align-items: center;

    transition: opacity 0.8s ease, visibility 0.8s ease;

}

#loading.loaded { opacity: 0; visibility: hidden; }

.spinner {

    width: 40px; height: 40px; border: 3px solid #ddd; border-top-color: #333;

    border-radius: 50%; animation: spin 1s linear infinite;

}

@keyframes spin { to { transform: rotate(360deg); } }



/* ===========================================

   3. メインビジュアル

=========================================== */

.hero-section {

    position: relative; 
    width: 100%; 
    height: 100vh;
    min-height: 700px;
    background: #fff; 
    overflow: hidden;

}

.hero-inner, .hero-visual { position: relative; width: 100%; height: 100%; }

.bg-img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }



@keyframes fadeUp {

    0% { opacity: 0; transform: translate(-50%, -40%); }

    100% { opacity: 1; transform: translate(-50%, -50%); }

}

@keyframes fadeUpOverlay {

    0% { opacity: 0; transform: translateX(-50%) translateY(20px); }

    100% { opacity: 1; transform: translateX(-50%) translateY(0); }

}



.hero-copy-wrapper {

    position: absolute; top: 40%; left: 50%; transform: translate(-50%, -50%);

    width: 65%; max-width: 900px; z-index: 10; opacity: 0;

}

.copy-img { width: 100%; height: auto; display: block; }



.hero-title-overlay {

    position: absolute; bottom: 12%; left: 50%; transform: translateX(-50%);

    width: 92%; max-width: 1000px; z-index: 20; opacity: 0;

}

.title-img {

    width: 100%; height: auto; display: block;

    filter: drop-shadow(0 2px 10px rgba(0,0,0,0.5));

}



/* 右下のロゴ配置 */

.hero-logo-bottom {

    position: absolute;

    bottom: 50px;

    right: 50px;

    z-index: 25;

}

.hero-logo-bottom img {

    width: 80px; /* PCでのサイズを小さく変更 */

    height: auto;

    display: block;

}



.anim-fadeup { animation: fadeUp 1.5s ease-out forwards; animation-delay: 1.0s; }

.anim-fadeup-delay { animation: fadeUpOverlay 1.5s ease-out forwards; animation-delay: 1.5s; }



.scrolldown {

    position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);

    font-size: 0.7rem; letter-spacing: 0.1em; color: #fff; z-index: 30;

    text-shadow: 0 0 5px rgba(0,0,0,0.5); animation: pulse 2s infinite;

}

.scrolldown::after {

    content: ''; display: block; width: 1px; height: 30px;

    background: #fff; margin: 5px auto 0; box-shadow: 0 0 5px rgba(0,0,0,0.5);

}

@keyframes pulse {

    0% { opacity: 0.5; transform: translateX(-50%) translateY(0); }

    50% { opacity: 1; transform: translateX(-50%) translateY(5px); }

    100% { opacity: 0.5; transform: translateX(-50%) translateY(0); }

}



/* ===========================================

   4. コンテンツエリア共通

=========================================== */

main { background: #fff; }

.content-section {

    padding: 100px 20px; opacity: 0; transform: translateY(30px); transition: all 1s ease;

}

.content-section.visible { opacity: 1; transform: translateY(0); }

.container { max-width: 1000px; margin: 0 auto; }

.section-title {

    font-family: var(--font-serif); font-size: 2.2rem; margin-bottom: 50px;

    letter-spacing: 0.15em; font-weight: normal; text-align: center;

    position: relative; display: block;

}

.section-title::after {

    content: ''; display: block; width: 40px; height: 1px;

    background: var(--accent-color); margin: 15px auto 0;

}



/* ===========================================

   5. INTRODUCTION

=========================================== */

#introduction { background-color: #f9f9f9; }



.intro-top-visual { width: 100%; text-align: center; margin-bottom: 50px; }

.intro-top-visual img {

    width: 100%; max-width: 800px; height: auto; display: inline-block;

    box-shadow: 0 10px 20px rgba(0,0,0,0.05);

}


.intro-lead-wrapper {
width: 100%;
max-width: 1000px;
margin: 0 auto 60px;
padding: 0 20px 0 25px;
}

.lead-text-left {
text-align: left;
font-weight: 600;
font-size: 1.4rem;
line-height: 2.0;
letter-spacing: 0;
}

.intro-main-layout {

    display: flex; justify-content: space-between; align-items: flex-start; gap: 40px;

}



.intro-text-column {

    width: 65%; text-align: justify; text-justify: inter-ideograph;

    position: relative; padding: 20px; background: transparent;

}

.intro-text-column::before {

    content: ''; position: absolute; top: 50%; left: 50%;

    transform: translate(-50%, -50%); width: 100%; height: 100%;

    background-image: url('../img/ske.png');

    background-repeat: no-repeat; background-position: center; background-size: contain;

    opacity: 0.4; z-index: 0; pointer-events: none;

}

.intro-text-column p { position: relative; z-index: 1; margin-bottom: 2rem; }



.intro-side-images {

    width: 30%; display: flex; flex-direction: column; gap: 20px;

}

.intro-side-images img {

    width: 100%; height: auto; display: block;

    box-shadow: 0 4px 10px rgba(0,0,0,0.1);

}



/* ===========================================

   6. FILMS

=========================================== */

#films { background-color: #fcf8f2; }



.film-block {

    margin-bottom: 80px;

    background: #fff;

    padding: 0 0 40px 0;

    display: block;

}

.film-block:last-child { margin-bottom: 0; }



.film-image img {

    width: 100%; height: auto; display: block; margin-bottom: 30px;

    box-shadow: 0 4px 10px rgba(0,0,0,0.1);

}



.film-info { padding: 0 20px; text-align: justify; text-justify: inter-ideograph; }



.film-title {

    font-family: var(--font-serif); font-size: 1.6rem;

    margin-bottom: 15px; border-bottom: 1px solid #ddd; padding-bottom: 10px;

    color: var(--accent-color);

}

.film-title.text-blue { color: var(--blue-color); }



.film-credits { font-size: 0.85rem; color: #666; margin-bottom: 25px; line-height: 1.6; }



/* ===========================================

   7. TRAILER

=========================================== */

#trailer { background-color: #fff; }

.video-placeholder {

    position: relative;

    width: 100%;

    padding-bottom: 56.25%;

    height: 0;

    overflow: hidden;

    background: #000;

}

.video-placeholder iframe {

    position: absolute;

    top: 0; left: 0;

    width: 100%; height: 100%;

}



/* ===========================================

   8. THEATERS

=========================================== */

#theaters { background-color: #f9f9f9; }



.theater-note {

    text-align: center;

    font-size: 0.85rem; margin-bottom: 40px; color: #666; line-height: 1.6;

}



.theater-region { margin-bottom: 60px; }



.region-title {

    font-family: var(--font-serif); font-size: 1.3rem; color: #333;

    border-left: 5px solid var(--accent-color); padding-left: 15px;

    margin-bottom: 20px; font-weight: 600;

}



.empty-msg { font-size: 0.9rem; color: #999; padding-left: 20px; }



.theater-list table {
width: 100% !important;
border-collapse: collapse !important;
font-size: 0.95rem !important;
text-align: left !important;
border-spacing: 0 !important;
}

.theater-list th, .theater-list td {
padding: 20px 15px !important;
border-bottom: 1px solid #ddd !important;
}

.theater-list th {
background: #f2f2f2 !important;
width: 150px !important;
font-weight: bold !important;
}

/* 10. レスポンシブ設定 */

.pc-only { display: block !important; }
.sp-only { display: none !important; }

@media screen and (max-width: 768px) {
.pc-only { display: none !important; }
.sp-only { display: block !important; }

/* 1. タイトルの位置を下げて顔被りを防ぐ */
.hero-title-overlay {
bottom: 5% !important;
left: 50% !important;
transform: translateX(-50%) !important;
width: 95% !important;
max-width: 500px !important;
z-index: 15 !important;
}

/* 2. 右下ロゴを強制的に大きく表示 */
.hero-logo-bottom,
.hero-logo-bottom img {
width: 40px !important;
height: auto !important;
position: absolute !important;
bottom: 15px !important;
right: 15px !important;
left: auto !important;
transform: none !important;
z-index: 99 !important;
display: block !important;
}

/* 3. イントロ画像を1カラム（縦並び）にする */
.intro-main-layout {
display: flex !important;
flex-direction: column !important;
}
.intro-text-column, .intro-side-images {
width: 100% !important;
}
.intro-side-images {
margin-top: 30px !important;
}

/* 4. 表をPC同様に横組みにする */
.theater-list table {
display: table !important;
width: 100% !important;
min-width: 500px !important;
}
.theater-list thead {
display: table-header-group !important;
}
.theater-list tbody {
display: table-row-group !important;
}
.theater-list tr {
display: table-row !important;
}
.theater-list th, .theater-list td {
display: table-cell !important;
padding: 10px !important;
border-bottom: 1px solid #ddd !important;
}

/* 横に長い表をスクロール可能にする */
.theater-region {
overflow-x: auto !important;
-webkit-overflow-scrolling: touch !important;
}
}

/* フッター設定：全てのデバイスで共通 */
footer {
background: #000 !important;
color: #fff !important;
text-align: center !important;
padding: 60px 20px !important;
display: block !important;
width: 100% !important;
}