/* Entrance：記事一覧のグリッド */
.entrance-post-list {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

/* Entrance：H2 見出し（白 × ワイン × 紺） */
.entrance-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #ffffff;
    color: #7c0030;
    border: 3px solid #55aaff;
    padding: 12px 20px;
    font-size: 1.6rem;
    font-weight: 700;
    border-radius: 6px;
    margin-bottom: 32px;
    text-align: center;
}

/* 左右の案内係アイコン */
.entrance-title::before {
    content: "";
    display: inline-block;
    width: 32px;
    height: 32px;
    background-image: url('https://drama-stage.com/wp-content/uploads/2026/05/usher-btnA.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.entrance-title::after {
    content: "";
    display: inline-block;
    width: 32px;
    height: 32px;
    background-image: url('https://drama-stage.com/wp-content/uploads/2026/05/usher-btnC.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.entrance-title {
    border: 3px solid #55aaff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

.entrance-latest-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #7c0030;
    margin: 24px 0 16px;
    display: inline-block;
    padding: 0 6px;
}

/* 左カッコ */
.entrance-latest-title::before {
    content: "《";
    color: #55aaff;
    margin-right: 4px;
}

/* 右カッコ */
.entrance-latest-title::after {
    content: "》";
    color: #55aaff;
    margin-left: 4px;
}

/* 入口ページだけ旗を表示 */
.flag-under-title {
    width: 600px;
    max-width: 100%;
    margin: 0 auto;
    display: block;
}

/* スマホ（〜600px）：旗は画面幅に合わせて縮む */
@media (max-width: 600px) {
    .page-entrance .flag-under-title {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* ===============================
   ▼ カード本体（枠線・角丸・ホバー）
================================= */
.entrance-post-item {
    border: 1px solid #003366;
    border-radius: 8px;
    background: #fff;
    transition: 0.2s ease;
    margin-bottom: 5px;
    overflow: hidden;
}

/* ホバー */
.entrance-post-item:hover {
    border-color: #55aaff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ===============================
   ▼ 横長レイアウト（flex）
================================= */
.entrance-post-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    text-decoration: none;
    color: inherit;
}

/* ===============================
   ▼ サムネイル（横長・切れない）
================================= */
.entrance-post-item .thumb {
    width: 140px;
    height: 90px;
    background: #fafafa;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.entrance-post-item .thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ▼ カード一覧を縦1列にする（最重要） */
/* .entrance-post-list {
    display: block !important;
} */

/* ▼ タイトルと日付を左揃えに統一 */
.entrance-post-item .post-info {
    display: block;
    text-align: left;
}

/* ▼ 日付の位置をタイトルの開始位置に合わせる */
.entrance-post-item .post-date {
    text-align: left;
    margin-top: 2px;
}

.entrance-post-item {
    width: 100%;
}

/* ペジネーション全体 */
.entrance-pagination {
    margin-top: 20px;
    text-align: center;
}

/* ペジネーションのリンク */
.entrance-pagination a,
.entrance-pagination span {
    display: inline-block;
    padding: 6px 10px;
    margin: 0 4px;
    border: 1px solid #003366;
    border-radius: 4px;
    color: #003366;
    text-decoration: none;
    font-size: 0.9rem;
}

/* ホバー */
.entrance-pagination a:hover {
    background: #55aaff;
    color: #fff;
    border-color: #55aaff;
}

/* 現在のページ */
.entrance-pagination .current {
    background: #003366;
    color: #fff;
    border-color: #003366;
}

/* ===============================
   ▼ サイドメニュー
================================= */
.sidebar-entrance {
    padding: 20px;
}

/* サイドバーのメニュー（h5） */
.sidebar-entrance .entrance-menu {
    display: block;
    padding: 12px 20px;
    margin: 12px 0;
    border: 2px solid #55aaff;
    border-radius: 6px;
    background: #ffffff;
    color: #004080;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none !important;
    text-align: center;

    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    white-space: nowrap;
    transition: all 0.25s ease;
}

/* ホバー */
.sidebar-entrance .entrance-menu:hover {
    background: #e8f4ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    border-color: #0077dd;
}

/* ▼ 全デバイスでカードを1列にする（縦並び） */
.entrance-post-list,
.entrance-posts {
    display: block !important;
}

.entrance-post-item {
    width: 100% !important;
    margin-bottom: 20px !important;
}


