@charset "UTF-8";

/* ============================================================
   1. 下層ページ共通レイアウト（これがないと横並びになりません）
   ============================================================ */

.under-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto;
}

/* 左カラム（サイドバー） */
.side-left {
    width: 250px;
    flex-shrink: 0;
}

/* メインコンテンツ（右側） */
.under-main {
    width: 920px; 
    flex-shrink: 0;
}

/* 共通の水色見出し帯（system.cssと共通） */
.system-main-title {
    background-color: #3ec6f0;
    color: #fff;
    padding: 12px 20px;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 25px;
}
.system-main-title span {
    font-size: 14px;
    margin-left: 10px;
    font-weight: normal;
}

/* ページ全体のコンテナ */
.play-page-container {
    background-color: #fff;
    padding-bottom: 40px;
    border: 1px solid #ddd;
    box-sizing: border-box;
}

/* ============================================================
   2. プレイ内容専用スタイル（2列グリッド）
   ============================================================ */

.play-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0 20px 20px; /* 左右に余白 */
    background: #fff;
}

.play-item {
    width: calc(50% - 10px); /* 横2列（隙間10pxを考慮） */
    display: flex;
    border: 1px solid #eee;
    padding: 10px;
    box-sizing: border-box;
    background-color: #fdfdfd;
}

.play-img-box {
    width: 160px; /* 画像サイズを少し調整 */
    flex-shrink: 0;
    cursor: pointer;
}

.play-img-box img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    transition: 0.3s;
}

.play-img-box img:hover {
    opacity: 0.8;
}

.play-info {
    padding-left: 15px;
    flex-grow: 1;
}

.play-sub-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
    padding-left: 8px;
    border-left: 4px solid #f180ba; /* ピンクの縦棒 */
    color: #333;
}

.play-text {
    font-size: 13px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 10px;
    text-align: justify;
}

.view-manga {
    display: block;
    text-align: right;
    color: #f180ba;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    margin-top: auto;
}

/* ============================================================
   3. モーダル（ポップアップ）
   ============================================================ */

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 3px solid #fff;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
}