:root {
  --tab-accent: #08b7c4;
  /* ブランド色に合わせて変更OK */
  --tab-bg: #f3f5f7;
  --tab-text: #111;
  --accent: #08b7c4;
  /* 右カードの背景色（ブランド色） */
  --cta-radius: 20px;
  --radius: 10px;
  --header-h: 80px
}

/* singleページの先頭にヘッダー分の余白を足す */
.single .container {
  padding-top: calc(var(--header-h) + 12px);
}

/* 見出しジャンプ時のかぶりも防止（任意） */
.single__content h2,
.single__content h3 {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

/* 詳細ページのヘッダー */
.single-head {
  margin: 24px 0 32px;
}

.single-date {
  display: block;
  /* ←縦並び（上に表示） */
  color: #5e6b78;
  /* お好みで */
  font-size: 14px;
  letter-spacing: .02em;
  margin-bottom: 8px;
}

/* タイトル指定：太字&32px */
.single-title {
  margin: 0 0 12px;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.35;
}

.news-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px;
  border-radius: 9999px;
  background: var(--tab-bg);
  color: var(--tab-text);
  font-weight: 700;
  text-decoration: none;
  line-height: 1;
  transition: background .2s, color .2s;
}

.pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tab-accent);
  flex: 0 0 auto
}

.pill.is-active {
  background: var(--tab-accent);
  color: #fff
}

.pill.is-active .pill__dot {
  background: #fff
}


.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px
}

.news-hero {
  background: #05abc1;
  color: #fff;
  padding: 48px 0 28px;
  margin-bottom: 20px
}

.news-ttl {
  font-size: 56px;
  line-height: 1.1;
  margin: 0 0 6px;
  font-weight: 800
}

.news-sub {
  opacity: .95;
  margin: 0
}

.news-tabs {
  display: flex;
  gap: 10px;
  margin: 50px 50px 24px;
}

.pill {
  display: inline-flex;
  align-items: center;
  height: 25px;
  padding: 0 14px;
  border-radius: 999px;
  background: #eff3f5;
  color: #111;
  text-decoration: none;
  font-weight: 700;
}

.pill--cat {
  border: #000 1.5px solid;
  background: #fff;
}

.pill.is-active {
  background: #00a7c2;
  color: #fff;
}

.news-list {
  list-style: none;
  margin: 80px 125px 50px;
  padding: 0;
  display: grid;
}

.news-list.is-list .news-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  padding: 15px 0;
}

.news-list.is-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-item {
  border-bottom: 1.5px solid #eee;
  overflow: hidden;
  height: 160px;
}

.news-card {
  text-decoration: none;
  color: inherit;
}

.news-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-body {
  padding: 0 20px 16px;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  color: #555;
}

.badge {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  height: 25px;
  padding: 0 8px;
  border-radius: 999px;
  border: #000 1px solid;
  /* background: #fff; */
  font-size: 12px;
}

.news-title {
  font-size: 18px;
  line-height: 1.4;
  margin: 6px 0 6px;
  font-weight: 700;
}

.news-excerpt {
  margin: 0;
  color: #444;
}

.pager {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 80px 0 100px;
  font-size: 14px;
}

.pager .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 1px solid #000;
  border-radius: 8px;
  text-decoration: none;
}

.pager .page-numbers.current {
  background: #00a7c2;
  color: #fff;
  border-color: #000;
}

.cta-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
  margin: 100px 60px 70px 60px;
}

.cta-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 50px 40px;
  border-radius: var(--cta-radius);
  color: #fff;
  text-decoration: none;
  min-height: 260px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .06);
  transition: transform .2s ease, box-shadow .2s ease;
  height: 350px;
}

.cta-card.is-dark {
  background: #0d0d0d;
}

.cta-card.is-accent {
  background: var(--accent);
}

.cta-head {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
}

.cta-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.cta-title {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
}

.cta-arrow {
  font-size: 28px;
  font-weight: 700;
  opacity: .9;
}

.cta-text {
  margin-top: 70px;
  font-size: 14px;
  line-height: 1.9;
  opacity: .9;
}

.cta-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .15);
}

/* レスポンシブ */
@media (max-width:1100px) {
  .news-list.is-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (max-width:900px) {
  .news-ttl {
    font-size: 42px
  }

  .news-list.is-list .news-card {
    grid-template-columns: 1fr
  }

  .cta-duo {
    grid-template-columns: 1fr;
  }

  .cta-title {
    font-size: 40px;
  }

  .cta-card {
    min-height: auto;
  }
}

/* ===== grid（ブログ） ===== */
.cards {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
}

.cards--grid {
  display: grid;
  grid-template-columns: 1fr;
  /* 縦:56px 横:32px ＝カンプの余白感 */
  margin: 50px 100px 50px 100px;
}

.card {
  display: block;
  background-color: #fff;
  border-radius: 10px;
  width: 300px;
  margin: 0 20px;
}

/* 画像の枠ごと丸めたい場合は wrapper を丸めて切り抜く */
.card__thumb,
.news-thumb {
  border-radius: var(--radius);
  overflow: hidden;
  /* ← これで角からはみ出さない */
}

.cards--voice {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .cards--grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .cards--grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cards--voice .card__thumb {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  /* 角丸外の表示を切る */
}

/* サムネ：16:9・角丸 */
.card__thumb a {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #f1f5f9;
}

.pill--overlay {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 0 14px;
  border-radius: 9999px;
  background: #00A9B7;
  /* テーマカラーに合わせて */
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  pointer-events: none;
  /* バッジ上でもリンクをクリック可能 */
  white-space: nowrap;
}

.cards--voice .card__thumb {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  /* 角丸外の表示を切る */
}

.card__thumb a {
  aspect-ratio: 16 / 9;
}

/* 比率固定 */
.card__thumb img {
  width: 100%;
  height: 157px;
  object-fit: contain;
  display: block;
  border-radius: 20px 20px 0 0;
}

/* メタ（投稿日＋カテゴリバッジ） */
.card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  color: #64748b;
  padding: 0 20px;
}

.voice__title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
}

/* タイトル＋本文 */
.card__title {
  margin: 10px 0 10px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  color: #0f172a;
  /* padding: 0 20px; */
}

.card__title a {
  color: inherit;
  text-decoration: none;
}

.card__title a:hover {
  text-decoration: none;
}

.card__excerpt {
  font-size: 14px;
  line-height: 1.9;
  color: #334155;
  padding: 0 20px;
}

/* 区切り線 */
.card__divider {
  height: 1px;
  background: rgba(15, 23, 42, .08);
  margin-top: 20px;
}

/* タグ群（#タグ名） */
.card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 20px 50px;
}

.tag {
  font-size: 12px;
  padding: 6px 10px;
  line-height: 1;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  color: #334155;
}

/* 代替画像の見え方を安定させたい場合（任意） */
.card__thumb img[alt=""] {
  background: #f8fafc;
}

/* 「投稿がありません」メッセージを中央に */
.empty-note,
.no-results,
/* 念のため WP 標準のクラスにも効かせる */
.not-found,
.content-none {
  width: 100%;
  max-width: 1200px;
  /* 任意：コンテンツ幅に合わせる */
  margin: 40px auto;
  /* auto で左右中央、上下に余白 */
  padding: 48px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  color: #6b7a90;
  /* お好みで */
  background: transparent;
  /* 背景を付けたいなら色を入れる */
  border-radius: 12px;
  /* お好みで */
}

/* もし p で出力されるテーマなら余白リセット */
.empty-note p {
  margin: 0;
}


/* ===== Hero ===== */
.bookHero {
  background: #05a9b8;
  color: #fff;
  padding: clamp(48px, 6vw, 96px) 0;
}

.bookHero__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.bookHero__eyebrow {
  font-size: 14px;
  opacity: .9;
  margin: 0 0 8px;
}

.bookHero__title {
  font-weight: 800;
  font-size: clamp(40px, 8vw, 64px);
  line-height: 1;
  margin: 0;
}

/* ===== Wrap ===== */
.bookWrap__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 20px 48px;
}

/* ===== Grid ===== */
.bookGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 24px;
  margin: 30px 50px 0;
}

@media (max-width: 1024px) {
  .bookGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .bookGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .bookGrid {
    grid-template-columns: 1fr;
  }
}

/* ===== Card ===== */
.bookCard {
  display: flex;
  flex-direction: column;
}

.bookCard__thumb {
  position: relative;
  aspect-ratio: 3/4;
  /* 書影の縦長比率 */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(2, 12, 27, .08);
  background: #f6f8fa;
}

.bookCard__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bookCard__noimg {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #9aa3af;
  font-weight: 600;
  letter-spacing: .08em;
}

.bookCard__actions {
  margin-top: 10px;
}

.bookCard__btn {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 10px 14px;
  border-radius: 6px;
  background: #0b0b0b;
  color: #fff;
  font-weight: 700;
  letter-spacing: .06em;
  transition: transform .08s ease, box-shadow .2s ease, opacity .2s ease;
}

.bookCard__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(2, 12, 27, .15);
  opacity: .95;
}

/* ===== Empty ===== */
.bookEmpty {
  text-align: center;
  margin: 48px 0;
  color: #111;
}