@charset "UTF-8";

/* ▼ 追加：Google Fonts（丸文字ゴシック）の読み込み ▼ */
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@300;400;500;700;800&display=swap');

/* =========================================
   基本設定・変数
   ========================================= */
:root {
    /* Royal Caribbean風のカラーパレット */
    --primary-color: #004C8C;
    --secondary-color: #0072CE;
    --accent-color: #E63946;
    --btn-color: #FFC400;
    --text-color: #333333;
    --text-light: #ffffff;
    --bg-light: #f4f8fb;
    --bg-white: #ffffff;
    
    /* フォント設定：Noto Sans JP優先 */
    --font-base: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Hiragino Maru Gothic Pro", "Meiryo", sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-base);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

/* メニューが開いている時はスクロール禁止（JSで付与） */
body.no-scroll {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.7;
}

ul {
    list-style: none;
}

/* =========================================
   ヘッダー
   ========================================= */
.header {
    background-color: var(--primary-color);
    height: 70px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    position: fixed;
    top: 0;
    left: 0;
    /* 【修正】最前面に来るよう数値を大きく設定 */
    z-index: 10000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.site-logo h1 {
    font-size: 1.5rem;
    color: var(--text-light);
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap; /* 改行させない */
}

/* スマホ表示時のヘッダー調整 */
@media (max-width: 767px) {
    .header {
        padding: 0 15px; /* 左右の余白を少し詰める */
    }
    .site-logo h1 {
        font-size: 1.1rem; /* 【修正】文字サイズを小さくして収まりよく */
        margin-right: 10px; /* 右側に少し余白 */
    }
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links img {
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

/* ハンバーガーアイコン */
.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
    /* 【修正】ヘッダーよりさらに上に */
    z-index: 10001; 
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

/* ハンバーガーのアニメーション */
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* =========================================
   ナビゲーション
   ========================================= */
.nav {
    display: none; 
}

/* PCサイズ */
@media (min-width: 768px) {
    .hamburger {
        display: none;
    }
    
    .nav {
        display: block;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.95);
        border-bottom: 1px solid #ddd;
        z-index: 9000; /* PCでもヘッダーの下、コンテンツの上 */
        padding: 10px 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }

    .nav ul {
        display: flex;
        justify-content: center;
        gap: 30px;
    }

    .nav a {
        font-weight: bold;
        font-size: 0.9rem;
        color: var(--primary-color);
        position: relative;
    }

    .nav a::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: -5px;
        left: 0;
        background-color: var(--secondary-color);
        transition: width 0.3s;
    }

    .nav a:hover::after {
        width: 100%;
    }
    
    main {
        margin-top: 120px;
    }
}

/* スマホサイズ（メニュー展開時） */
@media (max-width: 767px) {
    main {
        margin-top: 70px;
    }
    
    .nav {
        /* デフォルトは非表示、activeクラスで表示 */
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh; /* 全画面 */
        background-color: rgba(0, 76, 140, 0.98); /* 背景を濃くして後ろを見えなくする */
        
        /* 【修正】ヘッダー(10000)より下だが、コンテンツ(通常1)よりはずっと上 */
        z-index: 9999; 
        
        transform: translateX(100%); /* 画面右外に隠しておく */
        transition: transform 0.3s ease-in-out;
        padding-top: 80px; /* ヘッダーの高さ分下げる */
    }
    
    .nav.active {
        transform: translateX(0); /* スライドイン */
    }
    
    .nav ul {
        padding: 20px;
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 25px;
    }
    
    .nav a {
        font-size: 1.3rem;
        font-weight: bold;
        color: var(--text-light);
        display: block;
        padding: 10px;
    }
}


/* =========================================
   メインコンテンツ：ヒーローセクション
   ========================================= */
.hero {
    background: linear-gradient(135deg, #001f3f 0%, #004C8C 100%);
    color: var(--text-light);
    text-align: center;
    padding: 100px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    margin-bottom: 40px;
    position: relative;
    z-index: 1; /* コンテンツの重なり順は低く */
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
    letter-spacing: 0.1em;
}

.hero h2 {
    font-size: 1.2rem;
    font-weight: normal;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
}

/* =========================================
   各セクション共通
   ========================================= */
.content-section {
    background-color: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 50px 20px;
    width: 90%;
    max-width: 1000px;
    margin: 0 auto 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .content-section {
        padding: 80px 60px;
        margin-bottom: 100px;
    }
}

.content-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    display: inline-block;
}

.content-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.info-content {
    font-size: 1.1rem;
    color: #4a4a4a;
}

/* =========================================
   セクション個別設定
   ========================================= */
#cast ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    padding: 0;
}

#cast li {
    background: #f9f9f9;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 6px;
    font-weight: bold;
    color: var(--primary-color);
}

#date .info-content p {
    line-height: 2.2;
    font-weight: 500;
}

#theater .info-content p {
    margin-bottom: 30px;
}

#theater .info-content span {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-top: 8px;
}

iframe {
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    border: none;
}

#ticket p {
    margin-bottom: 40px;
    line-height: 2;
}

#ticket p span {
    display: block;
    margin-top: 15px;
    font-size: 0.85rem;
    color: #777;
    line-height: 1.5;
}

.btn.ticket {
    display: inline-block;
    background-color: var(--btn-color);
    color: #000;
    padding: 18px 50px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(255, 196, 0, 0.4);
    transition: all 0.3s ease;
}

.btn.ticket:hover {
    background-color: #ffd54f;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 196, 0, 0.6);
    opacity: 1;
}

#contact p {
    line-height: 1.8;
}

#contact span {
    font-weight: bold;
    color: var(--primary-color);
}

footer {
    background-color: #0a1e40;
    color: white;
    padding: 60px 20px 30px;
    text-align: center;
    margin-top: 60px;
}

.sozo-content h2 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.sozo-content p {
    font-size: 0.9rem;
    margin-bottom: 30px;
    opacity: 0.8;
}

.sozo-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.social-icon {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s;
}

.social-icon:hover {
    transform: scale(1.2);
}

footer p {
    font-size: 0.8rem;
    opacity: 0.5;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 20px;
}