﻿<style>
        /* =========================================
           投稿一覧（リスト）のスタイル
           ========================================= */
        .list-title {
            color: var(--ink-color);
            border-bottom: 2px solid var(--accent-gold);
            padding-bottom: 10px;
            margin-bottom: 40px;
            font-size: 1.4em;
        }

        .post-item {
            display: flex;
            gap: 20px; /* ★間隔を広げました */
            margin-bottom: 40px;       /* 投稿の下の余白 */
            padding-bottom: 40px;    /* 線までの余白 */
            border-bottom: 4px solid var(--accent-gold); /* ★太さと色を指定 */
            position: relative;
        }

        .post-item:last-child {
            border-bottom: none; /* 最後の項目は線なし */
        }

        /* --- 左そで（日付・執筆者） --- */
        .post-meta {
            width: 150px; /* ★左そでの幅を少し広く調整 */
            flex-shrink: 0;
            text-align: right;
            border-right: 3px solid var(--border-sepia); /* 縦線を少し太く */
            padding-right: 25px; /* ★右側との余白を広げました */
        }

        .post-date {
            font-size: 1.1em;
            font-weight: bold;
            display: block;
            color: var(--ink-color);
        }

        .post-time {
            font-size: 0.9em;
            color: #666;
            display: block;
            margin-bottom: 10px;
        }

        .author-name {
            display: block;
            font-size: 1.0em;
            font-weight: bold; /* ★太字に強調 */
            color: var(--accent-gold); /* ★アクセントカラーを適用 */
            margin-top: 10px;
        }

        /* --- 右側（内容エリア） --- */
        .post-content-area {
            flex-grow: 1;
        }

        .post-title {
            font-size: 1.3em;
            margin: 0 0 15px 0;
            color: var(--ink-color);
        }
        
        .post-title a {
            text-decoration: none;
            color: inherit;
        }
        
        .post-title a:hover {
            color: var(--accent-gold);
        }

        .post-excerpt {
            color: #444;
            line-height: 1.7;
            white-space: pre-wrap;
        }


        /* =========================================
           ミニカレンダー自体のスタイル調整
           ========================================= */
        .mini-cal-table {
            margin: 20px auto;      /* ★中央寄せ（上下に20px、左右に自動余白） */
            border-collapse: collapse;
            width: 100%;            /* モーダル内で横幅いっぱいに広げる */
            max-width: 280px;       /* 広がりすぎないようサイズを制限 */
            background-color: #fff; /* 背景を白にして見やすく */
            border: 1px solid var(--border-sepia); /* ★外枠の線 */
        }

        .mini-cal-table th {
            background-color: var(--body-bg); /* ヘッダーに薄い色をつける */
            color: var(--accent-gold); /* ★ 曜日を輝く金色に変更 */
            border: 1px solid var(--border-sepia); /* ★ヘッダーの枠線 */
            padding: 8px 0;
            font-size: 0.85em;
        }

        .mini-cal-table td {
            border: 1px solid var(--border-sepia); /* ★各日付の枠線 */
            padding: 10px 5px;
            text-align: center;
            font-size: 0.9em;
            color: var(--ink-color);
        }

        /* 投稿がある日のリンク（数字） */
        .has-data-link {
            display: block;
            background-color: var(--border-sepia); /* 投稿がある日は薄い緑に */
            color: var(--ink-color);
            text-decoration: none;
            font-weight: bold;
            border-radius: 4px;
        }

        .has-data-link:hover {
            background-color: var(--accent-gold);
            color: white;
        }


        /* =========================================
           ポップアップ（モーダル）用のスタイル
           ========================================= */
        .modal {
            display: none; 
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            /* ↓ 半透明の深いミッドナイトブルーに変更 */
            background-color: rgba(15, 23, 42, 0.6); 
            backdrop-filter: blur(2px);
        }

        .modal-content {
            background-color: var(--paper-bg);
            margin: 10% auto;
            padding: 20px 30px;
            border: 2px solid var(--border-sepia);
            border-radius: 10px;
            width: 90%;
            max-width: 350px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
            position: relative;
            animation: fadeIn 0.3s ease-in-out;
        }

        .close-btn {
            position: absolute;
            top: 10px;
            right: 15px;
            color: #aaa;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
            line-height: 1;
        }

        .close-btn:hover {
            color: var(--accent-gold);
        }

        /* いいねボタンのスタイル */
        .like-btn {
            background: none;
            border: 1px solid var(--accent-gold);
            color: var(--accent-gold);
            padding: 5px 12px;
            border-radius: 20px;
            cursor: pointer;
            font-size: 0.9em;
            transition: all 0.3s;
        }

        .like-btn:hover:not(:disabled) {
            background-color: var(--accent-gold);
            color: white;
        }

        .like-btn:disabled {
            border-color: #ccc;
            color: #999;
            cursor: default;
        }
        
        /* 投稿本文のスタイル */
        .post-full-content {
            margin-top: 15px;
            font-size: 1.05em;
        }
        /* =========================================
           スマートフォン対応（レスポンシブ）
           ========================================= */
        @media (max-width: 768px) {
            .post-item {
                flex-direction: column;
                gap: 15px;
            }
            .post-meta {
                width: 100%;
                text-align: left;
                border-right: none;
                border-bottom: 2px solid var(--border-sepia);
                padding-right: 0;
                padding-bottom: 10px;
            }
        }
    </style>