/* ============================================================
   言語化経済社会のテキストアーカイブ｜神宮前レコーディングスタジオ
   外部CSSファイル（元々index.html内に内包されていたスタイルを分離）
   ============================================================ */

/* --- 基本スタイル --- */
body{
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #333333;
}
.container{
    max-width: 800px;
    margin: 20px auto;
    padding: 0 15px;
}

/* --- ヘッダー --- */
header{
    background-color: #ffffff;
    text-align: center;
    padding: 30px 20px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}
header h1{
    margin: 0;
    font-size: 1.8em;
    color: #333333;
    letter-spacing: 0.05em;
}
header p{
    color: #666666;
    margin-top: 10px;
    font-size: 0.95em;
}
.header-links{
    margin-top: 20px;
}
.header-links a{
    color: #0077c9;
    text-decoration: none;
    padding: 0 15px;
    display: inline-block;
    border-right: 1px solid #e0e0e0;
}
.header-links a:last-child{
    border-right: none;
}
.header-links a:hover{
    text-decoration: underline;
}

/* --- アコーディオン構造 --- */
.post-list{
    margin-top: 20px;
}

.month-group{
    margin-bottom: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

/* 月別ヘッダー（クリック部分） */
.month-summary{
    background-color: #f8f8f8;
    padding: 15px 20px;
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
    list-style: none;
    position: relative;
    transition: background-color 0.2s;
    user-select: none;
}
.month-summary::-webkit-details-marker {
    display: none;
}
.month-summary:hover{
    background-color: #f0f0f0;
}

/* カスタム矢印の表示 */
.month-summary::after{
    content: '+';
    position: absolute;
    right: 20px;
    color: #999;
    font-size: 1.2em;
}
.month-group[open] .month-summary::after{
    content: '-';
}

/* アコーディオンの中身 */
.month-content{
    padding: 10px 20px;
    border-top: 1px solid #eeeeee;
}

/* 記事アイテム */
.post-item{
    border-bottom: 1px solid #eeeeee;
    padding: 15px 0;
}
.post-item:last-child{
    border-bottom: none;
}
.post-item h2{
    margin: 0 0 8px 0;
    font-size: 1.15em;
    line-height: 1.4;
}
.post-item h2 a{
    text-decoration: none;
    color: #0077c9;
}
.post-item h2 a:hover{
    text-decoration: underline;
}
.post-meta{
    font-size: 0.85em;
    color: #999999;
}
.small{
    font-size: 0.85em;
    font-weight: normal;
    display: block;
    margin-top: 5px;
}

/* --- 公式LINEバナー --- */
.line-banner{
    text-align: center;
    margin: 40px auto;
    padding: 25px 20px;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}
.line-banner p{
    margin-bottom: 15px;
    font-weight: bold;
}
.line-banner a{
    display: inline-block;
    text-decoration: none;
    background-color: #00c300;
    color: #ffffff;
    padding: 12px 40px;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.2s, background-color 0.3s;
}
.line-banner a:hover{
    background-color: #00b300;
    transform: translateY(-2px);
}

/* --- フッター --- */
footer{
    text-align: center;
    margin-top: 40px;
    padding: 30px 20px;
    font-size: 0.8em;
    color: #888888;
    border-top: 1px solid #e0e0e0;
}

/* --- レスポンシブ調整 --- */
@media (max-width: 600px) {
    header h1{
        font-size: 1.5em;
    }
    .header-links a{
        padding: 0 8px;
        font-size: 0.9em;
    }
    .post-item h2{
        font-size: 1.05em;
    }
}
