@charset "utf-8";

/* ============================================================
   個別記事（Single）共通：Zen丸ゴシック・厚み・背景統一版
   ============================================================ */

/* 1. ページ全体ベース */
.single-post-container {
    background-color: #fcfaf5 !important;
    max-width: 900px;
    margin: 0 auto;
    padding: 160px 20px 80px; /* ヘッダー対策 */
    font-family: 'Zen Maru Gothic', sans-serif !important;
}

@media screen and (max-width: 768px) {
    .single-post-container { padding-top: 120px; }
}

/* 2. 本文エリア（ガラス質感＋厚み） */
.entry-content {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid #fff;
    padding: 50px 60px;
    border-radius: 40px;
    box-shadow: 0 15px 35px rgba(93, 64, 55, 0.05);
    line-height: 2.2;
    color: #333;
    font-weight: 700 !important; /* 本文は厚み700 */
}

/* 本文内の見出し（最大の厚み900） */
.entry-content h2 {
    font-size: 26px;
    font-weight: 900 !important;
    border-left: 8px solid;
    padding-left: 20px;
    margin: 50px 0 25px;
    line-height: 1.3;
}

.entry-content p {
    margin-bottom: 2em;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    margin: 25px 0;
}

/* ============================================================
   共通：記事ヘッダー
   ============================================================ */

.entry-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 40px;
}

.entry-date {
    display: inline-block;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 900 !important;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.entry-title {
    font-size: 34px;
    font-weight: 900 !important;
    color: #4a3728;
    line-height: 1.5;
}

/* ============================================================
   パターンA：お知らせ（news）- 緑のアクセント
   ============================================================ */

/* 標準の状態 */
.entry-header {
    border-bottom: 3px dashed #08A66C;
}

.entry-date {
    background: #08A66C;
    color: #fff;
}

.entry-content h2 {
    color: #08A66C;
    border-color: #08A66C;
}

/* ============================================================
   パターンB：日々のようす（post）- オレンジのアクセント
   ============================================================ */

.post-detail-box .entry-header {
    border-bottom-color: #e67e22; /* より厚みのあるオレンジへ */
}

.post-detail-box .entry-date {
    background: #e67e22;
    color: #fff;
}

.post-detail-box .entry-content h2 {
    color: #e67e22;
    border-color: #e67e22;
}

/* 写真のフレーム（ポラロイド風：アルバムの厚みを出す） */
.post-img-frame {
    text-align: center;
    margin-bottom: 50px;
}

.post-img-frame img {
    max-width: 100%;
    height: auto;
    border: 15px solid #fff; /* 枠を少し厚く */
    box-shadow: 0 15px 40px rgba(0,0,0,0.12); 
    transform: rotate(-1.5deg);
    border-radius: 4px !important;
}

/* ============================================================
   戻るボタン（最大の厚み900）
   ============================================================ */

.post-navigation {
    text-align: center;
    margin-top: 60px;
}

.btn-back {
    display: inline-block;
    background: #4a3728; 
    color: #fff !important;
    padding: 18px 60px;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: 900 !important;
    font-size: 18px;
    transition: 0.3s;
    box-shadow: 0 10px 25px rgba(74, 55, 40, 0.2);
}

/* 日々のようすの戻るボタン */
.post-btn {
    background: #e67e22 !important;
    box-shadow: 0 10px 25px rgba(230, 126, 34, 0.2) !important;
}

.btn-back:hover {
    transform: translateY(-3px);
    opacity: 0.9;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* ============================================================
   スマホ対応
   ============================================================ */
@media screen and (max-width: 768px) {
    .entry-content {
        padding: 35px 20px;
        border-radius: 30px;
    }
    
    .entry-title {
        font-size: 24px;
    }

    .entry-content h2 {
        font-size: 22px;
        border-left-width: 6px;
    }

    .btn-back {
        width: 100%;
        box-sizing: border-box;
    }
}