@charset "UTF-8";

/* --- 投稿詳細ページ（single）ボタン枠線付き版 --- */

.hrf-single-post {
    padding-bottom: 140px;
    background: #fff;
}

/* 紺色背景（ヒーローゲート） */
.single-page-hero {
    background: #001d3d;
    padding: 100px 20px 120px;
    text-align: center;
    color: #fff;
    position: relative;
}

.single-page-hero .hero-en {
    font-family: 'Dela Gothic One', cursive;
    font-size: clamp(3rem, 10vw, 4.5rem);
    line-height: 1;
    display: block;
}

/* 背景の外に出したヘッダーエリア */
.hrf-entry-header {
    text-align: center;
    margin-bottom: 40px;
    padding-top: 50px;
}

.hrf-entry-date {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #ff0000;
    margin-bottom: 15px;
    font-family: 'Noto Sans JP', sans-serif;
}

.hrf-entry-title {
    font-size: clamp(1.6rem, 5vw, 2.5rem);
    font-weight: 900;
    color: #001d3d;
    line-height: 1.4;
    max-width: 900px;
    margin: 0 auto;
}

/* アイキャッチ画像 */
.hrf-post-thumbnail {
    max-width: 900px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.hrf-post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* 本文エリア */
.hrf-post-content .entry-content {
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.1rem;
    line-height: 2;
    color: #333;
    padding: 0 20px;
}

.hrf-post-content .entry-content p {
    margin-bottom: 2.5em;
}

/* --- ナビゲーション（枠付きボタン） --- */
.hrf-post-footer {
    max-width: 800px;
    margin: 100px auto 0;
    padding: 40px 20px 0;
    border-top: 2px solid #f0f0f0;
}

.hrf-post-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

/* ボタン共通 */
.hrf-post-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    min-width: 140px;
    border: 2px solid #001d3d;
    border-radius: 4px;
    color: #001d3d;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s;
    background: #fff;
}

.hrf-post-nav a:hover {
    background: #001d3d;
    color: #fff;
}

/* 一覧へ戻るボタンだけ少し強調 */
.nav-back a {
    background: #f8f9fa;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    .hrf-entry-title { font-size: 1.4rem; }
    
    .hrf-post-nav {
        flex-direction: column;
    }
    
    .hrf-post-nav div {
        width: 100%;
    }
    
    .hrf-post-nav a {
        width: 100%;
        box-sizing: border-box;
    }

    /* 並び順：戻るボタンを一番上に */
    .nav-back { order: 1; }
    .nav-prev { order: 2; }
    .nav-next { order: 3; }
}