/* =======================
   BLOG 詳細ページ
   ======================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Noto Sans JP", sans-serif;
  color: #145087;
}

.page-content {
  position: relative;
  z-index: 10;
  min-height: 100vh;
}

.main {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 16px 40px;
}

.section {
  margin-top: 32px;
}

.section__inner {
  max-width: 480px;
  margin: 0 auto;
}

/* 見出しカード（他ページと統一） */
.page-heading {
  text-align: center;
  padding-top: 28px;
  padding-bottom: 12px;
}

.page-heading__title {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0.25em;
  color: #145087;
}

.page-heading__subtitle {
  margin: 4px 0 0;
  font-size: 11px;
  color: #6a7c93;
}

/* 前の記事 / 次の記事ナビ */
.blog-detail-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #145087;
  border-bottom: 1px solid #145087;
  padding: 6px 4px;
  margin-top: 10px;
}

.blog-detail-nav__link {
  font-size: 11px;
  color: #145087;
  text-decoration: none;
}

.blog-detail-nav__link--prev {
  text-align: left;
}

.blog-detail-nav__link--next {
  text-align: right;
}

/* 本文 */
.section-blog-detail {
  margin-top: 18px;
}

.blog-detail {
  font-size: 13px;
  color: #555f6d;
}

/* 日付・タイトル */
.blog-detail__header {
  margin-bottom: 16px;
}

.blog-detail__date {
  font-size: 11px;
  color: #7c8ca3;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}

.blog-detail__title {
  margin: 0;
  font-size: 14px;
  color: #145087;
}

/* テキスト本体 */
.blog-detail__content {
  font-size: 12px;
  line-height: 1.9;
  color: #555f6d;
}

.blog-detail__content p {
  margin: 0 0 16px;
}

/* 画像エリア（グレーの枠） */
.blog-detail__thumb {
  width: 80%;
  margin: 20px auto;
  aspect-ratio: 3 / 4;
  background: #dedede;
}

.blog-detail__thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 署名 */
.blog-detail__signature {
  text-align: right;
  margin-top: 12px;
}

/* PC向けレイアウト */
@media (min-width: 768px) {

  .main,
  .section__inner {
    max-width: 720px;
  }

  .section {
    margin-top: 40px;
  }

  .page-heading {
    padding-top: 36px;
  }

  .blog-detail {
    max-width: 520px;
    margin: 0 auto;
  }
}
