@charset "UTF-8";

/* --- レイアウトの基本 --- */
.top-contents {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    align-items: flex-start;
}

.side-left { width: 180px; }
.main-column { width: 750px; }
.side-right { width: 240px; }

/* --- 共通：グレー枠（コンテンツボックス） --- */
.content-box {
    border: 1px solid #ddd; /* 薄いグレーの枠線 */
    margin-bottom: 20px;
    background-color: #fff;
}

/* --- 共通：見出しの青い帯 --- */
.section-title {
    background-color: #E6ECFC; /* 全コンテンツ共通の青帯 */
    color: #19358E;
    font-size: 15px;
    padding: 6px 10px;
    font-weight: bold;
}

/* --- 左ナビ（これだけ見出しがないため枠線を調整） --- */
.side-nav ul li {
    border-bottom: 1px solid #ddd;
}
.side-nav ul li:last-child { border-bottom: none; }
.side-nav a {
    display: block;
    padding: 8px 12px;
    background-color: #f0faff;
    color: #0066cc;
    font-weight: bold;
    font-size: 13px;
}
.side-nav a:hover { background-color: #3ec6f0; color: #fff; }

/* --- 中央：プレイ内容 --- */
.course-tab-bar {
    background-color: #f0faff;
    display: flex;
    border-bottom: 1px solid #ddd;
}
.course-tab-bar span {
    padding: 5px 12px;
    font-size: 12px;
    color: #0066cc;
    border-right: 1px solid #ddd;
    cursor: pointer;
}
.course-main { display: flex; padding: 15px; gap: 15px; }
.course-main img { width: 240px; border: 1px solid #eee; }
.course-desc h3 { color: #ff6dae; margin-bottom: 10px; border-bottom: 1px dotted #ff6dae; }

/* --- 中央：本日の出勤（14枚グリッド） --- */
.cast-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr); /* 横に7枚 */
    gap: 8px;
    padding: 15px 10px;
}
.cast-item { text-align: center; }
.cast-item img { border: 1px solid #ccc; width: 90px; height: 115px; object-fit: cover; }
.cast-item .name { color: #ff6dae; font-size: 11px; font-weight: bold; margin: 2px 0; }
.cast-item .time { font-size: 10px; color: #333; }

/* --- 右：道案内リスト --- */
.guide-list { padding: 10px; }
.guide-item { margin-bottom: 15px; border-bottom: 1px dotted #ccc; padding-bottom: 10px; }
.guide-item:last-child { border-bottom: none; }
.guide-item img { width: 100%; border: 1px solid #eee; margin-bottom: 5px; }
.guide-item p { font-size: 11px; line-height: 1.5; color: #333; }

/* --- 左カラム共通：スクロールエリア --- */
.side-scroll-area {
    overflow-y: scroll;
    padding: 10px;
}

/* スクロールバーのデザイン（右側と統一） */
.side-scroll-area::-webkit-scrollbar { width: 5px; }
.side-scroll-area::-webkit-scrollbar-thumb { border-radius: 10px; }

.side-banner {
    margin-bottom: 25px;
}

/* --- 新人情報 (高さ 670px) --- */
.new-cast-sidebar {
    height: 670px;
    display: flex;
    flex-direction: column;
}
.new-cast-sidebar .side-scroll-area { flex: 1; }

.side-entry {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #c8e6c9; /* 薄い緑の線 */
}
.green-bg { background-color: #69D871 !important; } /* 画像に合わせた緑のバナー */

/* --- コスチューム (高さ 305px) --- */
/* ==========================================================================
   コスチュームコーナー専用スタイル (ここだけを編集すればOK)
   ========================================================================== */

/* 外枠（薄いグレーの枠線） */
.custom-costume-section {
    width: 100%;
    height: 305px; /* 指定の高さ */
    border: 1px solid #ddd;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin-bottom: 20px;
}

/* タイトル帯（薄いブルー） */
.custom-costume-title {
    background-color: #e6ecf7; /* 画像に基づいた薄い青 */
    color: #333366;
    font-size: 15px;
    padding: 6px 0;
    text-align: center;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
}

/* スクロールエリア */
.custom-costume-scroll {
    flex: 1;
    overflow-y: scroll;
    padding: 10px;
}

/* 各アイテムの区切り */
.custom-costume-entry {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px dotted #ccc;
    text-align: center;
}

/* ピンクの角丸ネーム帯 */
.custom-costume-banner {
    background-color: #ff6dae;; /* ピンク色 */
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    padding: 4px 0;
    border-radius: 20px; /* 綺麗な角丸 */
    width: 90%;
    margin: 0 auto 10px;
}

/* 画像の枠 */
.custom-costume-img img {
    width: 180px; /* 画像サイズ調整 */
    height: auto;
    border: 1px solid #ddd;
    padding: 2px;
    background-color: #fff;
}

/* このエリア専用のスクロールバー設定 */
.custom-costume-scroll::-webkit-scrollbar {
    width: 6px;
}
.custom-costume-scroll::-webkit-scrollbar-thumb {
    background-color: #f180ba; /* スクロールバーもピンクに */
    border-radius: 10px;
}

/* プロフィール周りの微調整（右側と共通化） */
.entry-date { font-size: 12px; margin-bottom: 3px; font-weight: bold; }
.entry-main { display: flex; gap: 8px; margin-bottom: 8px; }
.entry-img { width: 70px; height: auto; border: 1px solid #eee; }
.entry-profile { font-size: 11px; line-height: 1.4; text-align: left; }
.entry-text { font-size: 11px; line-height: 1.5; text-align: left; }

/* --- 右カラム：新着情報の修正 --- */

/* 枠と高さの制御 */
.news-sidebar {
    height: 670px; /* 指定の高さ */
    display: flex;
    flex-direction: column;
    overflow: hidden; /* 親ははみ出し禁止 */
}

/* スクロールエリア */
.news-scroll-area {
    flex: 1;
    overflow-y: scroll; /* 縦スクロールを有効に */
    padding: 10px;
}

/* 各エントリー（1件ごとの枠） */
.news-entry {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ff99cc; /* ピンクの区切り線 */
}
.news-entry:last-child {
    border-bottom: none;
}

.entry-date {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
}

/* 名前バナー（ピンクの角丸） */
.cast-name-banner {
    background-color: #ff6dae;
    color: #fff;
    text-align: center;
    font-weight: bold;
    border-radius: 15px;
    padding: 3px 0;
    margin-bottom: 10px;
}

/* 写真とプロフィールの並び */
.entry-main {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}
.entry-img {
    width: 100px;
    height: auto;
    border: 1px solid #ddd;
}
.entry-profile {
    font-size: 13px;
    line-height: 1.5;
}

/* 紹介文 */
.entry-text {
    font-size: 13px;
    line-height: 1.6;
    color: #333;
}

/* スクロールバーのカスタマイズ（任意：細くして見た目を整える） */
.news-scroll-area::-webkit-scrollbar {
    width: 6px;
}
.news-scroll-area::-webkit-scrollbar-thumb {
    border-radius: 10px;
}