/* ==========================================
   ブログ詳細ページ
   ========================================== */
.post-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
}
.post-header { margin-bottom: 4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: static;
}
.post-category {
    display: inline-block;
    color: var(--color-accent);
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 1.2rem;
    border: 1px solid var(--color-accent);
    padding: 2px 12px;
    border-radius: 20px;
}
.post-title {
    font-size: 1.75rem;
    font-family: var(--font-serif);
    line-height: 1.5;
    margin-bottom: 1.2rem;
    color: var(--color-primary);
    position: static;
    width: 100%;
}
.post-eyecatch {
    width: 100%;
    margin-bottom: 4rem;
    border-radius: 4px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}
.post-content {
    line-height: 2.1;
    font-size: 1rem;
    color: var(--color-primary);
    position: relative;
}
post-content,
.post-content * {
  max-width: 100%;
  box-sizing: border-box;
}
/* --- 記事本文画像のはみ出し防止 --- */
.post-content img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
}
.post-content p {
    margin: 0 0 1.5em;
}
.post-content h2 {
    font-size: 1.6rem;
    font-family: var(--font-serif);
    margin: 4.5rem 0 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-bg);
    position: relative;
    clear: both;
}
.post-content h2::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--color-accent);
}
.post-content h3 {
    font-size: 1.35rem;
    font-family: var(--font-serif);
    margin: 3.5rem 0 1.5rem;
    display: flex;
    align-items: center;
}
.post-content h3::before {
    content: "";
    width: 6px;
    height: 1.2em;
    background: var(--color-accent);
    margin-right: 1rem;
    border-radius: 10px;
}
.post-content blockquote {
    margin: 2.5rem 0;
    padding: 2rem 3rem;
    background: var(--color-bg);
    border-left: 3px solid var(--color-accent);
    font-style: italic;
    position: relative;
}
.post-content ul, 
.post-content ol {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    padding-left: 1.2rem;
}
.post-content ul li {
    position: relative;
    list-style: none;
}
.post-content ul li::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
    position: absolute;
    left: -1.2rem;
    top: 0.9em;
}
.post-footer {
    margin-top: 5rem;
    padding-top: 2.5rem;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: center;
}
.btn-back-list {
    font-size: 14px;
    font-weight: bold;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 2rem;
    border: 1px solid var(--color-primary);
    text-decoration: none;
}

@media (min-width: 768px) {
    .post-title {
        font-size: 2.4rem;
    }
}


/* ナビゲーション */
.post-nav{
  margin-top:50px;
  margin-bottom:30px;
  text-align:center;
}
.post-nav-inner{
  display:flex;
  justify-content:center;
  gap:18px;
  flex-wrap:wrap;
}
/* ボタン共通 */
.post-prev a,
.post-next a{
  display:inline-block;
  padding:12px 22px;
  font-size:14px;
  text-decoration:none;
  color:#5a6a75;
  background:#f3f6f8;
  border:1px solid #d6e0e6;
  border-radius:40px;
  transition:.25s ease;
  min-width:160px;
}
/* hover */
.post-prev a:hover,
.post-next a:hover{
  background:#e7f0f5;
  border-color:#bcd2de;
  color:#3b4b55;
  transform:translateY(-2px);
}
/* 押した時 */
.post-prev a:active,
.post-next a:active{
  transform:translateY(0);
}

