@charset "utf-8";
/* CSS Document */
body #single *{font-family: "Zen Maru Gothic", sans-serif!important; color:#333;}
#single :is(h1, h2, h3) {color: #313195;}
#single h1{font-size: 3rem; font-weight: bold; margin:4% auto;}
#single h2{font-size: 2.5rem; font-weight: bold; margin:2% auto;}
#single h3{font-size: 2rem; font-weight: bold; margin:2% auto;}









/* =========================
   Single layout & typography
   ========================= */
.post-thumbnail img{
    width:100%;
}
/* 横幅と余白 */
#single,
.single .site-main {
  max-width: 980px;
  width: 92%;
  margin: 0 auto;
  padding: 10vw 0 4vw;
}

/* スマホ（〜767px） */
@media screen and (max-width: 767px) {
  #single,
  .single .site-main {
    padding: 100px 0 50px;
  }
}

/* 固定ヘッダー用の上パディング調整（必要なときのみ上書き） */
.has-sticky-header #single,
.has-sticky-header .site-main {
  padding-top: 96px;
}

/* 本文の読みやすさ */
.entry-content { line-height: 1.9; font-size: 16px; }
.entry-header .entry-title { margin: 0 0 16px; }

/* 画像や埋め込みのはみ出し防止 */
.entry-content img,
.entry-content figure,
.entry-content iframe {
  max-width: 100%;
  height: auto;
}

/* Gutenbergブロックの間隔 */
.entry-content > * { margin: 0 0 1.25rem; }
.entry-content .wp-block-image { text-align: center; }
.entry-content .wp-block-quote {
  padding: 12px 16px;
  border-left: 4px solid currentColor;
  opacity: .9;
}

/* 余計な縦空白の抑制 */
body.single section { min-height: unset; }

/* =========================
   Post navigation (single)
   ========================= */

/* 中央リンクを含む3カラム（左：前／中：一覧／右：次） */
.post-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
}

/* 前・次リンク（共通） */
.post-nav__prev a,
.post-nav__next a {
  display: block;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8); /* 統一 */
  border: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: saturate(140%) blur(3px);
  text-decoration: none;
  font-weight: 600;
  color: #333;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}

/* ホバー（前・次・中央の一覧ボタンに共通） */
.post-nav__prev a:hover,
.post-nav__next a:hover,
.post-nav__archive:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  background: linear-gradient(180deg, #5b6cf5 0%, #3c4cd8 100%);
  color: #fff;
}

/* 左右の整列 */
.post-nav__prev a { text-align: left; }
.post-nav__next a { text-align: right; }

/* 中央の一覧リンク */
.post-nav__center { text-align: center; }
.post-nav__archive {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: #f7f7f7;
  border: 1px solid rgba(0, 0, 0, 0.1);
  text-decoration: none;
  font-weight: 600;
  color: #333;
  transition: all 0.2s ease;
}

/* スマホ（〜767px）：縦並び＋中央寄せ */
@media screen and (max-width: 767px) {
  .post-nav {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .post-nav__prev a,
  .post-nav__next a {
    width: 100%;
    text-align: center;
  }
}
  
/* =========================
   Tags (single footer)
   ========================= */
.post-tags {
  margin-top: 24px;
  font-size: 0.95rem;
  color: #666;
}
.post-tags a {
  color: #5b6cf5;
  text-decoration: none;
  margin-right: 6px;
}
.post-tags a:hover { text-decoration: underline; }

/* 投稿日のデザイン */
.entry-date {
  font-size: 1.5rem;
  color: #666;
  margin: 6px 0 18px;
  display: flex;
  align-items: center;
  gap: 4px;
  text-align: right; /* ← 右寄せのポイント */
}

.entry-date time {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 8px;
  font-weight: 500;
  color: #444;
}

.entry-date__label {
  font-weight: 600;
  color: #333;
}
