/* =========================
  Single News (single01)
  対象HTML:
  .single01 > article + nav.post-navigation
========================= */

/* 全体の横幅と余白 */
.single01{
  max-width: 920px;
  margin: 0 auto;
  padding: 24px 16px 56px;
}

/* 記事カード */
.single01 article{
  background: #fff;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 16px;
  padding: 22px 22px;
}

/* タイトル */
.single01 .entry-title{
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: .02em;
}

/* メタ情報 */
.single01 .entry-meta{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: 13px;
  opacity: .78;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(0,0,0,.10);
}

/* メタのリンク */
.single01 .entry-meta a{
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,.25);
}
.single01 .entry-meta a:hover{
  border-bottom-color: rgba(0,0,0,.55);
}

/* 本文 */
.single01 .entry-content{
  font-size: 16px;
  line-height: 1.9;
}
.single01 .entry-content p{
  margin: 0 0 1.1em;
}
.single01 .entry-content p:last-child{
  margin-bottom: 0;
}

/* フッター（カテゴリ・編集リンク） */
.single01 .entry-footer{
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,.10);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  font-size: 13px;
  opacity: .9;
}
.single01 .entry-footer a{
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,.25);
  color: inherit;
}
.single01 .entry-footer a:hover{
  border-bottom-color: rgba(0,0,0,.55);
}

/* =========================
  投稿ナビ（Prev/Next）
========================= */
.single01 .post-navigation{
  margin: 18px 0 0;
}

.single01 .post-navigation .nav-links{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.single01 .post-navigation .nav-previous,
.single01 .post-navigation .nav-next{
  min-width: 0;
}

/* カード化 */
.single01 .post-navigation .nav-links a{
  display: block;
  padding: 16px 16px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.10);
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

@media (hover:hover){
  .single01 .post-navigation .nav-links a:hover{
    transform: translateY(-1px);
    border-color: rgba(0,0,0,.18);
    box-shadow: 0 10px 22px rgba(0,0,0,.08);
  }
}

/* Previous / Next の整形 */
.single01 .post-navigation .nav-subtitle{
  display: inline-block;
  font-size: 12px;
  opacity: .75;
  margin-bottom: 6px;
}
.single01 .post-navigation .nav-title{
  display: block;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
  word-break: break-word;
}

/* 矢印 */
.single01 .post-navigation .nav-previous .nav-subtitle::before{
  content: "← ";
}
.single01 .post-navigation .nav-next .nav-subtitle::after{
  content: " →";
}

/* 右寄せ（Nextがある場合） */
.single01 .post-navigation .nav-next{
  text-align: right;
}

/* タイトルが長い時に2行で省略 */
@supports (-webkit-line-clamp: 2){
  .single01 .post-navigation .nav-title{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

/* =========================
  レスポンシブ
========================= */
@media screen and (max-width: 768px){
  .single01{
    padding: 18px 14px 44px;
  }

  .single01 article{
    padding: 18px 16px;
    border-radius: 14px;
  }

  .single01 .entry-title{
    font-size: 22px;
  }

  .single01 .entry-meta{
    font-size: 12px;
    padding-bottom: 12px;
    margin-bottom: 14px;
  }

  .single01 .entry-content{
    font-size: 15px;
    line-height: 1.85;
  }

  .single01 .entry-footer{
    font-size: 12px;
  }

  /* ナビは縦並び（あなたのHTMLはPrevのみでも崩れない） */
  .single01 .post-navigation .nav-links{
    grid-template-columns: 1fr;
  }

  /* スマホは右寄せを解除して読みやすく */
  .single01 .post-navigation .nav-next{
    text-align: left;
  }
}

@media screen and (max-width: 375px){
  .single01 .entry-title{
    font-size: 20px;
  }
  .single01 .post-navigation .nav-links a{
    padding: 14px 14px;
    border-radius: 12px;
  }
}
