@charset "UTF-8";

/* ====================================
   Base Settings
   ==================================== */
body {
    background-color: #0a0a0a; /* 漆黒 */
    color: #f0f0f0;
    font-family: 'Noto Serif JP', serif;
    margin: 0;
    padding: 0;
    letter-spacing: 0.05em;
    line-height: 1.8;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; height: auto; display: block; }
* { box-sizing: border-box; }

/* 金色の文字グラデーション */
.text-gold, .section-title span, .logo {
    background: linear-gradient(45deg, #b8860b, #ffd700, #b8860b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #ffd700;
}

/* ====================================
   Header
   ==================================== */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid #333;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    height: 70px;
    position: relative; /* ハンバーガー絶対配置の基準 */
}
.logo {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    font-weight: 700;
    z-index: 2001; /* スマホメニューより手前に */
}

/* PC Menu */
.gnav ul { display: flex; gap: 20px; }
.gnav a { font-family: 'Cinzel', serif; font-size: 14px; color: #ccc; position: relative; }
.gnav a::after {
    content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 1px; background: #b8860b; transition: 0.3s;
}
.gnav a:hover { color: #ffd700; }
.gnav a:hover::after { width: 100%; }

.header-sns a { margin-left: 15px; color: #b8860b; font-size: 18px; }
.header-sns a:hover { color: #ffd700; }

/* Mobile Menu Button */
.hamburger { display: none; cursor: pointer; z-index: 2002; }
.hamburger span {
    display: block; width: 30px; height: 2px; background: #b8860b; margin: 6px 0; transition: 0.3s;
}

/* ====================================
   Hero Area (Top Visual)
   ==================================== */
.hero {
    height: 100vh;
    background: url('../img/hero-bg.jpg') no-repeat center center/cover;
    background-color: #111; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}
.hero::after {
    content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.6);
}
.hero-content { position: relative; z-index: 2; padding: 0 20px; }
.hero-title {
    font-family: 'Cinzel', serif;
    font-size: 4rem;
    margin: 20px 0;
    background: linear-gradient(to right, #cfc09f, #ffecb3, #3a2c0f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}
.catch { font-size: 1.2rem; margin-bottom: 20px; opacity: 0; animation: fadeIn 2s forwards 0.5s; }

/* ====================================
   Common Layout
   ==================================== */
.section { padding: 80px 20px; text-align: center; }
.container { max-width: 1000px; margin: 0 auto; }

/* Page Header (下層ページ用) */
.page-header {
    height: 300px;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 70px;
    position: relative;
}
.page-header h2 {
    font-family: 'Cinzel', serif; font-size: 3rem; margin: 0;
    background: linear-gradient(45deg, #b8860b, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: ''; display: block; width: 60px; height: 2px; background: #b8860b; margin: 15px auto 0;
}

/* 【修正】見出しと被らないようにマージンを調整 */
.section-sub { 
    display: block; 
    font-size: 0.9rem; 
    color: #888; 
    margin-top: 20px;     /* ここをプラスの値に変更 */
    margin-bottom: 50px; 
    font-family: 'Noto Serif JP', serif; 
    letter-spacing: 0.1em;
}

.btn-wrap { margin-top: 40px; }
.btn-gold {
    display: inline-block; padding: 12px 50px; border: 1px solid #b8860b; color: #b8860b; font-family: 'Cinzel', serif; transition: 0.3s;
}
.btn-gold:hover { background: #b8860b; color: #000; box-shadow: 0 0 15px rgba(184, 134, 11, 0.5); }

/* ====================================
   News List
   ==================================== */
.news-list { text-align: left; max-width: 800px; margin: 0 auto; border-top: 1px solid #333; }

/* 【修正】ニュースリストのレイアウト調整 */
.news-list li { 
    border-bottom: 1px solid #333; 
    padding: 15px 0; 
    display: flex; 
    align-items: center; 
    gap: 15px; 
}
.news-list .date { 
    font-family: 'Cinzel', serif; 
    color: #888; 
    white-space: nowrap; /* 改行させない */
}
.news-list .tag { 
    background: #333; 
    color: #fff; 
    font-size: 10px; 
    padding: 3px 8px; 
    border: 1px solid #555; 
    white-space: nowrap; /* 改行させない */
    min-width: 60px;
    text-align: center;
}
.news-list a:hover { color: #b8860b; }

/* ====================================
   SCHEDULE & CAST (Rich Grid Design)
   ==================================== */
/* グリッドレイアウト（大きめ表示） */
.cast-schedule-list,
.cast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    padding: 0;
    justify-content: center;
}

/* カード共通デザイン */
.cast-schedule-list li,
.cast-card {
    background: linear-gradient(180deg, #111 0%, #000 100%);
    border: 1px solid #333;
    width: 100%;
    position: relative;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    display: block; 
}
.cast-schedule-list li:hover,
.cast-card:hover {
    border-color: #b8860b;
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(184, 134, 11, 0.2);
}

/* 写真エリア */
.cast-schedule-list .thumb,
.cast-img {
    width: 100%;
    aspect-ratio: 3 / 4; /* 縦長 */
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid #b8860b;
}
.cast-schedule-list .thumb img,
.cast-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s;
    filter: grayscale(20%);
}
.cast-schedule-list li:hover .thumb img,
.cast-card:hover .cast-img img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

/* 時間バッジ */
.time-badge {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    background: rgba(0, 0, 0, 0.85);
    color: #ffd700;
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    padding: 6px 0;
    text-align: center;
    border-top: 1px solid #b8860b;
    backdrop-filter: blur(2px);
    letter-spacing: 0.05em;
}

/* 名前エリア */
.cast-schedule-list .info,
.cast-info {
    padding: 15px 10px;
    text-align: center;
    background: #080808;
}
.cast-schedule-list .name,
.cast-name {
    font-size: 1.1rem;
    font-family: 'Cinzel', serif;
    color: #fff;
    margin: 0;
    font-weight: 500;
    background: linear-gradient(45deg, #fff, #ccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* リンクエリア */
.cast-schedule-list a { display: block; width: 100%; height: 100%; color: inherit; }


/* ====================================
   HOME CAST (Center Alignment)
   ==================================== */
#home-cast-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}
#home-cast-list .cast-card {
    width: 240px;
    max-width: 100%;
}

/* ====================================
   Schedule Tabs
   ==================================== */
.schedule-tabs { display: flex; justify-content: center; margin-bottom: 40px; border-bottom: 1px solid #333; }
.schedule-tabs li { padding: 15px 40px; cursor: pointer; font-size: 14px; color: #666; transition: 0.3s; position: relative; }
.schedule-tabs li.active { color: #ffd700; }
.schedule-tabs li.active::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background: #ffd700; }
.schedule-content { display: none; }
.schedule-content.active { display: block; animation: fadeIn 0.5s; }

/* ====================================
   Recruit Buttons
   ==================================== */
.recruit-btns { display: flex; gap: 20px; justify-content: center; margin-top: 30px; }
.recruit-card {
    width: 400px; height: 200px; position: relative; display: flex; align-items: center; justify-content: center;
    background-color: #333; border: 1px solid #555; transition: 0.3s;
}
.recruit-card:hover { border-color: #ffd700; transform: translateY(-5px); }
.recruit-card .overlay { background: rgba(0,0,0,0.8); padding: 20px 40px; border: 1px solid #b8860b; text-align: center; }
.recruit-card h4 { margin: 0; color: #ffd700; font-family: 'Cinzel'; }

/* Footer */
.footer { border-top: 1px solid #333; padding: 50px 0 20px; background: #050505; text-align: center; }
.footer-logo { font-family: 'Cinzel'; font-size: 1.5rem; color: #888; margin-bottom: 20px; }
.footer-sns a { color: #888; font-size: 20px; margin: 0 10px; }
.copyright { color: #444; font-size: 12px; margin-top: 30px; }

/* Animation */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }


/* ====================================
   Mobile Responsive (スマホ対応)
   ==================================== */
@media (max-width: 768px) {
    /* ハンバーガーメニューを強制的に右上に固定 */
    .hamburger {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        margin: 0;
        z-index: 2001;
    }
    
    .header-inner { padding: 10px 20px; }
    
    .gnav {
        position: fixed; top: 0; right: -100%; width: 80%; height: 100vh;
        background: #000; transition: 0.4s; z-index: 1500; border-left: 1px solid #b8860b;
        display: flex; align-items: center; justify-content: center;
    }
    .gnav.active { right: 0; }
    .gnav ul { flex-direction: column; text-align: center; gap: 30px; }
    .gnav a { font-size: 18px; }

    /* 文字サイズ調整 */
    .hero-title { font-size: 2.2rem; }
    .section-title { font-size: 1.8rem; margin-bottom: 30px; }

    /* SCHEDULE & CAST一覧 (2列表示) */
    .cast-schedule-list,
    .cast-grid {
        grid-template-columns: 1fr 1fr; /* 強制2列 */
        gap: 10px;
    }
    
    /* HOME CAST (2列表示) */
    #home-cast-list {
        gap: 10px;
        justify-content: space-between;
    }
    #home-cast-list .cast-card {
        width: 48%; 
    }

    /* ニュースの改行対策 */
    .news-list li {
        flex-wrap: wrap; /* 折り返し許可 */
        align-items: flex-start;
        padding: 12px 0;
        gap: 5px;
    }
    .news-list a {
        width: 100%;
        display: block;
        margin-top: 5px;
        line-height: 1.5;
    }

    .recruit-btns { flex-direction: column; align-items: center; }
    .recruit-card { width: 100%; max-width: 350px; }

    /* Hamburger Animation */
    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }
}