/* 全体のベース設定（Yuiの背景イラストを適用） */
body {
    background-image: url('ch09.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333;
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center; /* 垂直方向の中央揃え */
    justify-content: flex-end; /* 水平方向は右寄せ */
    padding: 20px;
    box-sizing: border-box;
}

/* 操作カードの設定（完全に独立させて右側に配置） */
.container {
    width: 100%;
    max-width: 400px; /* カード幅を狭くしてYuiの顔を避ける */
    background-color: rgba(255, 255, 255, 0.95); /* 完全に不透明な白 */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 16px;
    margin-right: 80px; /* 右側の余白を固定 */
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
}

/* ブランドロゴ（大きく目立たせる） */
.portal-badge {
    display: block;
    font-size: 1.25rem; /* タイトルに匹敵する大きさ */
    font-weight: bold;
    letter-spacing: 0.08em;
    color: #1a1a1a;
    margin-bottom: 6px;
}

/* カード内のタイトル */
.card-content h2 {
    margin-top: 0;
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 15px;
}

/* カード内のテキスト */
.card-content p {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* ボタン設定 */
.btn-launch {
    display: inline-block;
    padding: 12px 28px;
    background-color: #0066cc;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    transition: background-color 0.2s;
    box-shadow: 0 4px 10px rgba(0, 102, 204, 0.3);
}

.btn-launch:hover {
    background-color: #004d99;
}

/* レスポンシブ対応（スマホ表示では中央寄せに） */
@media (max-width: 900px) {
    body {
        justify-content: center;
        align-items: flex-end; /* 下部に配置 */
    }
    .container {
        margin-right: 0;
        margin-bottom: 40px;
        max-width: 90%;
    }
}

/* v0.6.0 更新情報パネル */
.update-panel {
    margin: 0 0 18px;
    padding: 10px 12px;
    border: 1px solid rgba(0, 102, 204, 0.22);
    border-radius: 10px;
    background: rgba(245, 249, 255, 0.92);
}
.update-panel summary {
    cursor: pointer;
    font-weight: 700;
    color: #173a5e;
}
.update-version {
    font-size: 0.82rem;
    margin-left: 6px;
    color: #0066cc;
}
.update-body {
    padding-top: 9px;
    color: #3f4c5c;
    font-size: 0.88rem;
    line-height: 1.55;
}
.update-meta {
    margin-bottom: 4px;
    color: #50657a;
    font-size: 0.8rem;
}
.update-body p {
    margin: 0;
    font-size: 0.88rem;
}

.info-links { margin-top:14px; text-align:center; }
.privacy-link { color:#4b5563; font-size:.82rem; text-decoration:underline; text-underline-offset:2px; }
.privacy-link:hover, .privacy-link:focus { color:#0066cc; }
