﻿/* =========================================================
   会員ページ専用スタイル
   対象：ページID 236, 250（必要に応じて追加OK）
   ========================================================= */
.page-id-236 .entry-body,
.page-id-250 .entry-body {
    font-family: "Helvetica", "游ゴシック体", "Yu Gothic", sans-serif;
}

/* -----------------------------------------
   A：最新投稿一覧（左カラム）
----------------------------------------- */

/* 投稿タイトル */
.page-id-236 .wp-block-latest-posts__post-title,
.page-id-250 .wp-block-latest-posts__post-title {
    font-size: 18px;
    font-weight: 600;
    color: #0070c8;
    text-decoration: none;
}

/* ホバー時 */
.page-id-236 .wp-block-latest-posts__post-title:hover,
.page-id-250 .wp-block-latest-posts__post-title:hover {
    text-decoration: underline;
    color: #004a80;
}

/* 日付 */
.page-id-236 .wp-block-latest-posts__post-date,
.page-id-250 .wp-block-latest-posts__post-date {
    font-size: 13px;
    color: #555;
}

/* 行の区切り線 */
.page-id-236 ul.wp-block-latest-posts__list li,
.page-id-250 ul.wp-block-latest-posts__list li {
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
    margin-bottom: 5px;
}

/* 最後の行は線なし */
.page-id-236 ul.wp-block-latest-posts__list li:last-child,
.page-id-250 ul.wp-block-latest-posts__list li:last-child {
    border-bottom: none;
}

/* 行間 */
.page-id-236 ul.wp-block-latest-posts__list li,
.page-id-250 ul.wp-block-latest-posts__list li {
    margin-bottom: 10px;
}

/* 行にホバーで背景色 */
.page-id-236 ul.wp-block-latest-posts__list li:hover,
.page-id-250 ul.wp-block-latest-posts__list li:hover {
    background: #f3faff;
}

/* 添付ファイルブロックの改行（テキストとリンク） */
.page-id-236 .wp-block-file a:first-child,
.page-id-250 .wp-block-file a:first-child {
    display: block;
    margin-bottom: 5px;
}

/* -----------------------------------------
   B：PDF ダウンロード（右カラムの details 内）
----------------------------------------- */

.page-id-236 details summary,
.page-id-250 details summary {
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    padding: 8px 0;
}

.page-id-236 .wp-block-file,
.page-id-250 .wp-block-file {
    margin-top: 15px;
    padding: 10px;
    border-left: 4px solid #0070c8;
    background: #f7f9fc;
}

.page-id-236 .wp-block-file a.wp-block-file__button,
.page-id-250 .wp-block-file a.wp-block-file__button {
    margin-top: 5px;
    background: #0070c8;
    padding: 6px 12px;
}

.page-id-236 .wp-block-file a.wp-block-file__button:hover,
.page-id-250 .wp-block-file a.wp-block-file__button:hover {
    background: #005a9c;
}

/* -----------------------------------------
   C：ページ全体 2カラム調整
----------------------------------------- */

.page-id-236 .wp-block-columns,
.page-id-250 .wp-block-columns {
    gap: 30px;
}

/* PC：左右50% */
@media (min-width: 768px) {
    .page-id-236 .wp-block-columns > .wp-block-column,
    .page-id-250 .wp-block-columns > .wp-block-column {
        flex-basis: 50% !important;
    }
}

/* スマホ：縦並び */
@media (max-width: 767px) {
    .page-id-236 .wp-block-columns,
    .page-id-250 .wp-block-columns {
        flex-direction: column;
    }
}

/* -----------------------------------------
   その他微調整
----------------------------------------- */

.page-id-236 .entry-body p,
.page-id-250 .entry-body p {
    margin-bottom: 1em;
}

.member-login-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 15px;
}
.member-login-inner {
    display: flex;
    justify-content: center;
}
.member-login-box {
    width: 100%;
    max-width: 480px;
    background: #fff;
    border-radius: 8px;
    padding: 24px 28px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.member-login-box.logged-in {
    border-left: 4px solid #2c7be5;
}
.member-login-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
    text-align: center;
}
.member-login-desc {
    font-size: 0.95rem;
    margin-bottom: 20px;
    text-align: center;
}
.member-login-error {
    background: #ffe5e5;
    color: #c00;
    padding: 10px 12px;
    border-radius: 4px;
    margin-bottom: 16px;
    font-size: 0.9rem;
}
.member-login-form {
    margin-top: 10px;
}
.member-form-row {
    margin-bottom: 14px;
}
.member-form-row label {
    display: block;
    margin-bottom: 4px;
    font-size: 0.9rem;
}
.member-form-row input[type="text"],
.member-form-row input[type="password"] {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.member-form-actions {
    text-align: center;
    margin-top: 10px;
}
.member-btn {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.95rem;
}
.member-btn-primary {
    background: #2c7be5;
    color: #fff;
    border: none;
}
.member-btn-outline {
    border: 1px solid #999;
    background: #f9f9f9;
    color: #333;
    margin-left: 8px;
}
.member-login-welcome {
    text-align: center;
    margin-bottom: 16px;
}
.member-login-links {
    text-align: center;
}
.member-login-note {
    margin-top: 16px;
    font-size: 0.85rem;
    text-align: center;
    color: #666;
}
