/**
 * こだわりページ：フルスクリーンスライダー
 * 100vw×100vh・フェード切り替え・縦書きコピー・上書き型パララックス用
 */

/*
 * 2000×1125（16:9）画像に完全準拠したスライダー表示エリア。
 * aspect-ratio: 16/9 で比率を固定し、フル解像度画像を object-fit: cover で枠内に収める。
 * PC では最大 90vh でキャップ。モバイルでは幅 100% → 高さが自動で 56.25vw になる。
 *
 * 全幅は 100vw + calc(-50vw+50%) を使わず、.site-inner の --tbt-page-gutter と同じ打ち消し
 * （layout.css の alignfull と整合）。100vw はスクロールバーで非対称になり、本文が左寄り・
 * 右に妙なすきまに見える原因になる。
 */
body.tbt-page-kodawari .site-inner > .tbt-kodawari-hero {
  /* flex 先頭行を単独占有。ビューポート全幅（本文セクションには影響しない） */
  flex: 0 0 auto;
  order: -2;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}

body.tbt-page-kodawari .site-inner > .tbt-kodawari-hero .tbt-kodawari-slides,
body.tbt-page-kodawari .site-inner > .tbt-kodawari-hero .tbt-kodawari-slide {
  width: 100%;
}

.tbt-kodawari-hero {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 90vh;       /* 超ワイドなモニターで天地が切れすぎないよう上限を設定 */
  overflow: hidden;
  background-color: var(--tbt-namakabe, #94846A);
}

.tbt-kodawari-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* 当店のこだわりページ：初回のみ黒→フェードで画像が明るく現れる（通販トップのコンパクト版には要素なし） */
body.tbt-page-kodawari .tbt-kodawari-entrance-cover {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: #000;
  animation: tbt-kodawari-entrance-cover-fade 1.05s ease-out forwards;
}

@keyframes tbt-kodawari-entrance-cover-fade {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.tbt-page-kodawari .tbt-kodawari-entrance-cover {
    animation: none;
    opacity: 0;
  }
}

/*
 * 各スライド画像：background-size: cover + background-position で
 * 2000×1125 画像を枠内に隙間なく表示。常にフルサイズ（full）を参照すること。
 * カスタマイザーの個別サイズ・位置設定は data-slide-index ごとの CSS で上書きされる。
 */
.tbt-kodawari-slide {
  position: absolute;
  inset: 0;
  background-size: var(--tbt-kodawari-bg-size, cover);
  background-position: var(--tbt-kodawari-bg-position, center center);
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.tbt-kodawari-slide.is-active {
  opacity: 1;
  z-index: 1;
}

/* メインコピー（縦書き・強制改行なし）
   left/top の％は「テキスト列の水平中心」と「ブロック上端」。季節の漢字（画像内）の真下に合わせやすくする */
.tbt-kodawari-copy {
  position: absolute;
  transform: translateX(-50%);
  z-index: 2;
  max-width: min(90vw, 400px);
  writing-mode: vertical-rl;
  font-family: var(--tbt-font-serif, "Shippori Mincho", serif);
  color: var(--tbt-hero-text-color, #FAF9F7);
  pointer-events: none;
}

.tbt-kodawari-copy-inner {
  display: block;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
  font-size: clamp(14px, 2.5vw, 20px);
  letter-spacing: 0.15em;
  line-height: 1.8;
  font-weight: 500;
  -webkit-text-stroke: 0.55px rgba(62, 48, 40, 0.5);
  paint-order: stroke fill;
  text-shadow:
    0 0 1px rgba(0, 0, 0, 0.95),
    0 1px 3px rgba(0, 0, 0, 0.9),
    0 2px 16px rgba(0, 0, 0, 0.75),
    0 0 28px rgba(0, 0, 0, 0.45);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
}

/* 矢印ナビ */
.tbt-kodawari-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.tbt-kodawari-arrow:hover,
.tbt-kodawari-arrow:focus {
  background: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.tbt-kodawari-prev {
  left: 16px;
}

.tbt-kodawari-next {
  right: 16px;
}

/* ドットナビ */
.tbt-kodawari-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.tbt-kodawari-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.tbt-kodawari-dot:hover,
.tbt-kodawari-dot:focus {
  background: rgba(255, 255, 255, 0.8);
}

.tbt-kodawari-dot.is-active {
  background: #fff;
  transform: scale(1.2);
}

/* 下のコンテンツがスライダーの上に重なる（上書き型パララックス） */
body.tbt-page-kodawari .entry-content.tbt-hero-reveal {
  position: relative;
  z-index: 2;
  background-color: var(--tbt-washi-cream, #F8F4ED);
}

/* スライダー直下：英字とページ見出しを店舗案内に近い密度に */
body.tbt-page-kodawari .entry-header {
  margin-top: 0;
  margin-bottom: clamp(0.35rem, 1.2vw, 0.65rem);
  padding-top: clamp(0.4rem, 1.4vw, 0.85rem);
}

/* ページ見出しブロックを目次ラッパーと同じ最大幅・中央軸に（英字が content-size で狭くなりズレるのを防ぐ） */
@media (min-width: 900px) {
  body.tbt-page-kodawari:not(.page-staff-only) .site-main .entry-header {
    max-width: min(100%, 2100px);
    margin-left: auto;
    margin-right: auto;
    padding-inline: 0;
    box-sizing: border-box;
  }

  body.tbt-page-kodawari:not(.page-staff-only) .entry-header .entry-eyebrow {
    max-width: 100%;
  }
}

/*
 * スライダーと同じガター打ち消しで #primary を site-inner 内いっぱいに広げ、
 * ドットの中央と entry-header / 目次ラッパーの中央軸を一致（公式ページ・サイドバー無し想定）
 */
@media (min-width: 782px) {
  body.tbt-page-kodawari:not(.has-sidebar):not(.page-staff-only) #primary.content-area {
    width: calc(100% + var(--tbt-page-gutter, 1.5rem) * 2);
    max-width: none;
    margin-left: calc(-1 * var(--tbt-page-gutter, 1.5rem));
    margin-right: calc(-1 * var(--tbt-page-gutter, 1.5rem));
    box-sizing: border-box;
  }
}

/* スマホ：スライド画像は 16:9 に合わせ上下の無地（生壁色）帯を出さない。矢印は prev/next で別指定（共通に left を付けると次へが左に重なる） */
@media (max-width: 781px) {
  body.tbt-page-kodawari .tbt-kodawari-hero {
    aspect-ratio: 16 / 9;
    max-height: min(85vh, calc(100vw * 9 / 16));
    width: 100%;
    overflow: hidden;
  }

  /* モバイル：画像全体を見せる（見切れ防止） */
  body.tbt-page-kodawari .tbt-kodawari-slide {
    background-size: contain !important;
    background-position: center center !important;
    background-color: var(--tbt-namakabe, #94846A);
  }

  /* 赤丸ナビは画像を隠すため非表示（ドットはそのまま） */
  body.tbt-page-kodawari .tbt-kodawari-arrow {
    display: none !important;
  }

  .tbt-kodawari-dots {
    bottom: 12px;
    gap: 8px;
  }

  .tbt-kodawari-dot {
    width: 7px;
    height: 7px;
  }

  /* 縦書きコピー：スマホのみ左寄り＋縦方向は中央（カスタマイザーの top/left% は上書き） */
  body.tbt-page-kodawari .tbt-kodawari-copy {
    top: 50% !important;
    left: 12% !important;
    right: auto !important;
    transform: translate(-50%, -50%) !important;
    max-width: min(42vw, 12rem);
    max-height: min(78%, calc(100% - 3.25rem));
    padding-bottom: 0;
    box-sizing: border-box;
  }

  body.tbt-page-kodawari .tbt-kodawari-copy-inner {
    font-size: clamp(9px, 2.65vw, 14px);
    line-height: 1.55;
    letter-spacing: 0.1em;
    transform: scale(0.9);
    transform-origin: center center;
  }
}

/* 当店のこだわり・モバイル：目次カードは非表示（ジャンプはスマホメニュー等で代替）。本文はコンパクトのまま */
@media (max-width: 781px) {
  body.tbt-page-kodawari .tbt-page-section-nav__wrap {
    margin-top: clamp(0.55rem, 2.2vw, 0.95rem);
    gap: 0.85rem;
  }

  body.tbt-page-kodawari .tbt-page-section-nav__wrap > .tbt-page-section-nav {
    display: none !important;
  }

  body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-media-text:not(.alignfull) {
    border-radius: 10px;
    max-width: min(100%, 26.5rem);
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-media-text:not(.alignfull) .wp-block-media-text__media img {
    max-height: min(36vw, 152px);
    width: 100%;
    object-fit: cover;
  }

  body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-media-text:not(.alignfull) .wp-block-media-text__content {
    padding: 0.5rem 0.6rem 0.62rem;
  }

  body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-group.has-background {
    max-width: min(100%, 26.5rem);
    margin-left: auto !important;
    margin-right: auto !important;
    border-radius: 10px;
  }

  /* 詳細ブロック：summary 一行に近づけ、「[詳細を見る]」の途中改行を防ぐ */
  body.tbt-page-kodawari .tbt-page-section-nav__main details > summary {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.28rem;
    padding: 0.34rem 0.42rem 0.34rem 0.46rem;
    font-size: 0.72rem;
    line-height: 1.3;
    word-break: keep-all;
  }

  body.tbt-page-kodawari .tbt-page-section-nav__main details > summary .wp-block-details__summary-content,
  body.tbt-page-kodawari .tbt-page-section-nav__main details > summary > span {
    min-width: 0;
    flex: 1 1 auto;
  }

  body.tbt-page-kodawari .tbt-page-section-nav__main details .wp-block-details__summary-arrow {
    flex: 0 0 auto;
    width: 1.05rem;
    height: 1.05rem;
    font-size: 0.76rem;
  }

  body.tbt-page-kodawari .tbt-page-section-nav__main details > :not(summary) {
    padding-left: 0.6rem;
    padding-right: 0.6rem;
    font-size: 0.765rem;
  }

  body.tbt-page-kodawari .tbt-page-section-nav__main details .wp-block-details__content {
    font-size: 0.765rem;
    line-height: 1.58;
  }

  body.tbt-page-kodawari .tbt-page-section-nav__main details > :not(summary) :where(p, li) {
    font-size: 0.765rem;
    line-height: 1.58;
  }

  body.tbt-page-kodawari .tbt-page-section-nav__main .wp-block-accordion-heading__toggle {
    padding: 0.34rem 0.44rem 0.34rem 0.46rem;
    font-size: 0.72rem;
    line-height: 1.3;
  }

  body.tbt-page-kodawari .tbt-page-section-nav__main .wp-block-accordion-heading__toggle .wp-block-accordion-heading__toggle-icon,
  body.tbt-page-kodawari .tbt-page-section-nav__main .wp-block-accordion-heading__toggle svg {
    width: 0.82rem;
    height: 0.82rem;
  }

  body.tbt-page-kodawari .tbt-page-section-nav__main .wp-block-accordion-panel {
    padding: 0.48rem 0.58rem 0.6rem;
    font-size: 0.765rem;
    line-height: 1.58;
  }

  body.tbt-page-kodawari .tbt-page-section-nav__main .wp-block-accordion {
    gap: 0.28rem;
  }

  body.tbt-page-kodawari .tbt-page-section-nav__main .kt-accordion-header-trigger {
    padding: 0.34rem 0.44rem;
    font-size: 0.72rem;
    line-height: 1.3;
  }

  body.tbt-page-kodawari .tbt-page-section-nav__main .kt-accordion-panel-inner {
    font-size: 0.765rem;
    line-height: 1.58;
  }

  body.tbt-page-kodawari .entry-header {
    padding-top: clamp(0.3rem, 1.2vw, 0.55rem);
    margin-bottom: clamp(0.25rem, 1vw, 0.45rem);
  }

  /* ページタイトル「当店のこだわり」：必ず1行（幅制限・折り返しを解除） */
  body.tbt-page-kodawari .entry-header {
    max-width: none !important;
    padding-inline: clamp(0.2rem, 1.5vw, 0.5rem);
  }

  /* h1.entry-title：グローバルスタイルより後ろのCSSでも確実に効くよう !important */
  body.tbt-page-kodawari main.site-main header.entry-header h1.entry-title,
  body.tbt-page-kodawari .site-main .entry-header h1.entry-title {
    white-space: nowrap !important;
    display: inline-block !important;
    width: fit-content;
    max-width: none !important;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0.55rem;
    font-size: clamp(0.66rem, 2.45vw, 0.88rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.055em !important;
    overflow: visible;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    line-break: strict !important;
  }

  body.tbt-page-kodawari main.site-main header.entry-header h1.entry-title br,
  body.tbt-page-kodawari .site-main .entry-header h1.entry-title br {
    display: none !important;
  }

  body.tbt-page-kodawari main.site-main header.entry-header h1.entry-title > span,
  body.tbt-page-kodawari .site-main .entry-header h1.entry-title > span {
    display: inline !important;
    white-space: inherit !important;
  }

  body.tbt-page-kodawari main.site-main header.entry-header h1.entry-title *,
  body.tbt-page-kodawari .site-main .entry-header h1.entry-title * {
    display: inline !important;
    white-space: inherit !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
  }

  body.tbt-page-kodawari .entry-header .entry-eyebrow {
    font-size: 0.74rem;
    line-height: 1.15;
    margin-bottom: 0.08rem;
    letter-spacing: 0.08em;
  }
}

/* 本文ブロック：メディアとテキストを他ページのカードトーンに近づける（角丸・軽い面） */
body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-media-text:not(.alignfull) {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(62, 48, 40, 0.1);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.92) 0%, rgba(252, 248, 242, 0.88) 100%);
  box-shadow:
    0 4px 20px rgba(26, 19, 13, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-media-text:not(.alignfull) .wp-block-media-text__media img {
  border-radius: 0;
}

body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-group.has-background {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(62, 48, 40, 0.08);
  box-shadow: 0 4px 18px rgba(26, 19, 13, 0.05);
}

/* 目次＋本文2カラム時：白カード幅はラッパー変数 --tbt-section-main-max に追随 */
@media (min-width: 900px) {
  body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-media-text:not(.alignfull) {
    max-width: min(var(--tbt-section-main-max, 108rem), 100%);
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-group.has-background {
    max-width: min(var(--tbt-section-main-max, 108rem), 100%);
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-media-text:not(.alignfull) + .wp-block-media-text:not(.alignfull),
body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-group.has-background + .wp-block-group.has-background {
  margin-top: clamp(1.65rem, 4vw, 2.75rem);
}

@media (max-width: 781px) {
  body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-media-text:not(.alignfull) + .wp-block-media-text:not(.alignfull),
  body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-group.has-background + .wp-block-group.has-background {
    margin-top: clamp(0.85rem, 2.8vw, 1.2rem);
  }
}

/* こだわり本文：カード内の余白とタイポで「紹介ページ」らしい余裕 */
@media (min-width: 781px) {
  body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-media-text:not(.alignfull) .wp-block-media-text__content {
    padding: clamp(1.5rem, 3.2vw, 2.35rem) clamp(1.35rem, 2.8vw, 2rem);
  }
}

body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-media-text:not(.alignfull) :where(h2, h3) {
  letter-spacing: 0.06em;
}

body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-group.has-background :where(h2, h3) {
  letter-spacing: 0.06em;
}

/*
 * 各セクションのバラつき吸収：エディタで未設定でも、個別に付いた blockGap・縦配置・文字サイズクラスで
 * 見出しだけ上に浮く／本文だけ大きい／段落間が空きすぎる、を防ぐ
 */
body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-media-text:not(.alignfull) .wp-block-media-text__content,
body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-group.has-background {
  text-align: inherit !important;
}

body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-media-text:not(.alignfull) .wp-block-media-text__content {
  align-self: auto !important;
  justify-content: inherit !important;
  gap: 0 !important;
  row-gap: 0 !important;
  column-gap: 0 !important;
}

body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-media-text:not(.alignfull).is-vertically-aligned-top .wp-block-media-text__content,
body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-media-text:not(.alignfull).is-vertically-aligned-center .wp-block-media-text__content,
body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-media-text:not(.alignfull).is-vertically-aligned-bottom .wp-block-media-text__content {
  align-self: auto !important;
}

body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-group.has-background.is-layout-flow,
body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-group.has-background.is-layout-constrained,
body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-group.has-background.is-layout-flex {
  gap: 0.4rem !important;
}

body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-group.has-background .wp-block-group__inner-container {
  gap: 0.4rem !important;
}

/* 見出し〜本文の距離を統一（上マージンは付けない） */
body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-media-text:not(.alignfull) .wp-block-media-text__content :where(h2, h3).wp-block-heading,
body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-group.has-background :where(h2, h3).wp-block-heading {
  margin-top: 0 !important;
  margin-bottom: 0.42em !important;
  text-align: inherit !important;
}

body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-media-text:not(.alignfull) .wp-block-media-text__content :where(h2, h3):not(.wp-block-heading),
body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-group.has-background :where(h2, h3):not(.wp-block-heading) {
  margin-top: 0 !important;
  margin-bottom: 0.42em !important;
  text-align: inherit !important;
}

/* 段落の縦マージンを詰める（1文の後の空きすぎ対策） */
body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-media-text:not(.alignfull) .wp-block-media-text__content :where(p, .wp-block-paragraph),
body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-group.has-background :where(p, .wp-block-paragraph) {
  margin-top: 0 !important;
  margin-bottom: 0.45em !important;
}

body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-media-text:not(.alignfull) .wp-block-media-text__content :where(p, .wp-block-paragraph):last-child,
body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-group.has-background :where(p, .wp-block-paragraph):last-child {
  margin-bottom: 0 !important;
}

/* 見出し直後の本文はさらに詰める */
body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-media-text:not(.alignfull) .wp-block-media-text__content :where(h2, h3) + p,
body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-media-text:not(.alignfull) .wp-block-media-text__content .wp-block-heading + .wp-block-paragraph,
body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-group.has-background :where(h2, h3) + p,
body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-group.has-background .wp-block-heading + .wp-block-paragraph {
  margin-top: 0 !important;
}

/* エディタの文字サイズプリセットを無効化しセクション間で統一 */
body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-media-text:not(.alignfull) .wp-block-media-text__content :where(p, li)[class*='font-size'],
body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-group.has-background :where(p, li)[class*='font-size'],
body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-media-text:not(.alignfull) .wp-block-media-text__content :where(h2, h3)[class*='font-size'],
body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-group.has-background :where(h2, h3)[class*='font-size'],
body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-media-text:not(.alignfull) .wp-block-media-text__content :where(p, li).has-custom-font-size,
body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-group.has-background :where(p, li).has-custom-font-size,
body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-media-text:not(.alignfull) .wp-block-media-text__content :where(h2, h3).has-custom-font-size,
body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-group.has-background :where(h2, h3).has-custom-font-size {
  font-size: unset !important;
}

@media (max-width: 781px) {
  body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-media-text:not(.alignfull) .wp-block-media-text__content :where(p, li),
  body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-group.has-background :where(p, li) {
    font-size: 0.765rem !important;
    line-height: 1.58 !important;
    color: inherit !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
  }

  body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-media-text:not(.alignfull) :where(h2, h3).wp-block-heading,
  body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-media-text:not(.alignfull) :where(h2, h3):not(.wp-block-heading),
  body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-group.has-background :where(h2, h3).wp-block-heading,
  body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-group.has-background :where(h2, h3):not(.wp-block-heading) {
    font-size: clamp(0.98rem, 4.15vw, 1.2rem) !important;
    line-height: 1.28 !important;
    font-weight: 600 !important;
    letter-spacing: 0.05em !important;
    color: inherit !important;
  }
}

@media (min-width: 782px) {
  body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-media-text:not(.alignfull) .wp-block-media-text__content :where(p, li),
  body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-group.has-background :where(p, li) {
    font-size: 1.02rem !important;
    line-height: 1.72 !important;
    color: inherit !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
  }

  body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-media-text:not(.alignfull) :where(h2, h3).wp-block-heading,
  body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-media-text:not(.alignfull) :where(h2, h3):not(.wp-block-heading),
  body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-group.has-background :where(h2, h3).wp-block-heading,
  body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-group.has-background :where(h2, h3):not(.wp-block-heading) {
    font-size: clamp(1.14rem, 0.9vw + 1rem, 1.38rem) !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
    letter-spacing: 0.06em !important;
    color: inherit !important;
  }

  /* セクション2・3の「本文が上に詰まる」見え方を抑え、画像との縦位置を中央に揃える */
  body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-media-text:not(.alignfull) {
    align-items: center !important;
  }
  body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-media-text:not(.alignfull) .wp-block-media-text__content {
    align-self: center !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }

  /* 3.商品へのこだわり のアコーディオン見出しサイズを統一 */
  body.tbt-page-kodawari .tbt-page-section-nav__main details > summary,
  body.tbt-page-kodawari .tbt-page-section-nav__main .wp-block-accordion-heading__toggle,
  body.tbt-page-kodawari .tbt-page-section-nav__main .kt-accordion-header-trigger {
    font-size: 0.98rem !important;
    line-height: 1.45 !important;
  }
  body.tbt-page-kodawari .tbt-page-section-nav__main details > summary :where(span, strong, b, .wp-block-details__summary-content),
  body.tbt-page-kodawari .tbt-page-section-nav__main .wp-block-accordion-heading__toggle :where(span, strong, b),
  body.tbt-page-kodawari .tbt-page-section-nav__main .kt-accordion-header-trigger :where(span, strong, b) {
    font-size: inherit !important;
    line-height: inherit !important;
  }
}

/* ─── こだわり専用：「詳細を見る」系を軽く（FAQ カード風の装飾を抑える） ─── */
body.tbt-page-kodawari .tbt-page-section-nav__main .wp-block-accordion {
  gap: 0.42rem;
}

body.tbt-page-kodawari .tbt-page-section-nav__main details {
  margin: 0 0 0.45rem;
  border: 1px solid rgba(62, 48, 40, 0.12);
  border-radius: 8px;
  border-left-width: 1px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
  overflow: hidden;
  transition: border-color 0.15s ease, background 0.15s ease;
}

body.tbt-page-kodawari .tbt-page-section-nav__main details:hover {
  border-color: rgba(62, 48, 40, 0.2);
  box-shadow: none;
}

body.tbt-page-kodawari .tbt-page-section-nav__main details > summary {
  padding: 0.55rem 0.65rem 0.55rem 0.7rem;
  font-weight: 500;
  color: inherit;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.15s ease;
}

body.tbt-page-kodawari .tbt-page-section-nav__main details > summary:hover {
  background: rgba(248, 244, 237, 0.65);
  box-shadow: none;
}

body.tbt-page-kodawari .tbt-page-section-nav__main details[open] > summary {
  border-bottom-color: rgba(62, 48, 40, 0.1);
  background: rgba(252, 249, 244, 0.5);
}

body.tbt-page-kodawari .tbt-page-section-nav__main details .wp-block-details__summary-arrow {
  width: 1.35rem;
  height: 1.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: inherit;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 4px;
}

body.tbt-page-kodawari .tbt-page-section-nav__main details[open] .wp-block-details__summary-arrow {
  background: rgba(184, 139, 70, 0.1);
}

body.tbt-page-kodawari .tbt-page-section-nav__main details:not(:has(.wp-block-details__summary-arrow)) > summary::after {
  width: 1.35rem;
  height: 1.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: inherit;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 4px;
}

body.tbt-page-kodawari .tbt-page-section-nav__main details:not(:has(.wp-block-details__summary-arrow))[open] > summary::after {
  background: rgba(184, 139, 70, 0.1);
}

/*
 * details 直下に段落が並ぶと各ブロックに border-top が付き「表のように」見えるため、
 * summary 直下は1本の区切りのみ・本文は段落マージンでつなぐ（第1セクション含め読みやすく）
 */
body.tbt-page-kodawari .tbt-page-section-nav__main details > :not(summary) {
  border-top: none;
  padding: 0;
  margin: 0;
  background: transparent;
  box-shadow: none;
}

body.tbt-page-kodawari .tbt-page-section-nav__main details > :not(summary):first-of-type {
  padding-top: 0;
  border-top: none;
}

body.tbt-page-kodawari .tbt-page-section-nav__main details > :not(summary):last-of-type {
  padding-bottom: 0;
}

body.tbt-page-kodawari .tbt-page-section-nav__main details > :not(summary) :where(p, ul, ol) {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

body.tbt-page-kodawari .tbt-page-section-nav__main details > :not(summary) :where(p, ul, ol):last-child {
  margin-bottom: 0;
}

/* コア詳細ブロックの内側ラッパー1枚のときも余白だけ整える */
body.tbt-page-kodawari .tbt-page-section-nav__main details .wp-block-details__content :where(p, ul, ol) {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

body.tbt-page-kodawari .tbt-page-section-nav__main details .wp-block-details__content :where(p, ul, ol):last-child {
  margin-bottom: 0;
}

/* コア Accordion */
body.tbt-page-kodawari .tbt-page-section-nav__main .wp-block-accordion-item {
  border: 1px solid rgba(62, 48, 40, 0.12);
  border-radius: 8px;
  border-left-width: 1px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
  transition: border-color 0.15s ease;
}

body.tbt-page-kodawari .tbt-page-section-nav__main .wp-block-accordion-item:hover {
  border-color: rgba(62, 48, 40, 0.2);
  box-shadow: none;
}

body.tbt-page-kodawari .tbt-page-section-nav__main .wp-block-accordion-heading {
  background: transparent;
}

body.tbt-page-kodawari .tbt-page-section-nav__main .wp-block-accordion-item.is-open .wp-block-accordion-heading {
  border-bottom: 1px solid rgba(62, 48, 40, 0.1);
  background: rgba(252, 249, 244, 0.5);
}

body.tbt-page-kodawari .tbt-page-section-nav__main .wp-block-accordion-heading__toggle {
  padding: 0.55rem 0.65rem 0.55rem 0.7rem;
  font-weight: 500;
  color: inherit;
}

body.tbt-page-kodawari .tbt-page-section-nav__main .wp-block-accordion-heading__toggle:hover {
  box-shadow: none;
  background: rgba(248, 244, 237, 0.5);
}

body.tbt-page-kodawari .tbt-page-section-nav__main .wp-block-accordion-heading__toggle .wp-block-accordion-heading__toggle-icon,
body.tbt-page-kodawari .tbt-page-section-nav__main .wp-block-accordion-heading__toggle svg {
  width: 1rem;
  height: 1rem;
  opacity: 0.72;
  color: inherit;
}

body.tbt-page-kodawari .tbt-page-section-nav__main .wp-block-accordion-panel {
  padding: 0.75rem 0.85rem 0.85rem;
  background: transparent;
  box-shadow: none;
}

/* Kadence アコーディオン（入っている場合） */
body.tbt-page-kodawari .tbt-page-section-nav__main .kt-accordion-item,
body.tbt-page-kodawari .tbt-page-section-nav__main .wp-block-kadence-accordion .wp-block-kadence-pane {
  border: 1px solid rgba(62, 48, 40, 0.12);
  border-radius: 8px;
  border-left-width: 1px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
}

body.tbt-page-kodawari .tbt-page-section-nav__main .kt-accordion-header-wrap {
  background: transparent;
}

body.tbt-page-kodawari .tbt-page-section-nav__main .kt-accordion-item.kt-accordion-item-active .kt-accordion-header-wrap,
body.tbt-page-kodawari .tbt-page-section-nav__main .wp-block-kadence-accordion .wp-block-kadence-pane.kt-pane-active .kt-accordion-header-wrap {
  border-bottom: 1px solid rgba(62, 48, 40, 0.1);
  background: rgba(252, 249, 244, 0.5);
}

body.tbt-page-kodawari .tbt-page-section-nav__main .kt-accordion-header-trigger {
  padding: 0.55rem 0.65rem;
  font-weight: 500;
}

body.tbt-page-kodawari .tbt-page-section-nav__main .kt-accordion-panel-inner {
  box-shadow: none;
  border-top: 1px solid rgba(62, 48, 40, 0.08);
}

/* Spectra / UAGB */
body.tbt-page-kodawari .tbt-page-section-nav__main .wp-block-uagb-accordion .uagb-accordion-item {
  border: 1px solid rgba(62, 48, 40, 0.12);
  border-radius: 8px;
  border-left-width: 1px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
}

body.tbt-page-kodawari .tbt-page-section-nav__main .wp-block-uagb-accordion .uagb-accordion-toggler {
  padding: 0.55rem 0.65rem;
  font-weight: 500;
  background: transparent;
}

body.tbt-page-kodawari .tbt-page-section-nav__main .wp-block-uagb-accordion .uagb-accordion-item-active .uagb-accordion-toggler {
  border-bottom: 1px solid rgba(62, 48, 40, 0.1);
  background: rgba(252, 249, 244, 0.5);
}

body.tbt-page-kodawari .tbt-page-section-nav__main .wp-block-uagb-accordion .uagb-accordion-content {
  box-shadow: none;
  border-top: 1px solid rgba(62, 48, 40, 0.08);
}

/* こだわり3セクションのアコーディオン内文字サイズを完全統一 */
@media (max-width: 781px) {
  body.tbt-page-kodawari .tbt-page-section-nav__main :where(details > summary, .wp-block-accordion-heading__toggle, .kt-accordion-header-trigger, .uagb-accordion-toggler) {
    font-size: 0.72rem !important;
    line-height: 1.3 !important;
  }
  body.tbt-page-kodawari .tbt-page-section-nav__main :where(details > :not(summary), .wp-block-accordion-panel, .kt-accordion-panel-inner, .uagb-accordion-content),
  body.tbt-page-kodawari .tbt-page-section-nav__main :where(details > :not(summary), .wp-block-accordion-panel, .kt-accordion-panel-inner, .uagb-accordion-content) :where(p, li, span, strong, b, em) {
    font-size: 0.765rem !important;
    line-height: 1.58 !important;
  }
}

@media (min-width: 782px) {
  body.tbt-page-kodawari .tbt-page-section-nav__main :where(details > summary, .wp-block-accordion-heading__toggle, .kt-accordion-header-trigger, .uagb-accordion-toggler) {
    font-size: 0.98rem !important;
    line-height: 1.45 !important;
  }
  body.tbt-page-kodawari .tbt-page-section-nav__main :where(details > :not(summary), .wp-block-accordion-panel, .kt-accordion-panel-inner, .uagb-accordion-content),
  body.tbt-page-kodawari .tbt-page-section-nav__main :where(details > :not(summary), .wp-block-accordion-panel, .kt-accordion-panel-inner, .uagb-accordion-content) :where(p, li, span, strong, b, em) {
    font-size: 1.02rem !important;
    line-height: 1.72 !important;
  }
}

/* こだわりタイトル：画面幅差があっても必ず1行で収める（最終上書き） */
body.tbt-page-kodawari main.site-main header.entry-header h1.entry-title,
body.tbt-page-kodawari .site-main .entry-header h1.entry-title {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  align-items: baseline !important;
  width: max-content !important;
  max-width: calc(100vw - 1rem) !important;
  white-space: nowrap !important;
  font-size: clamp(0.7rem, 3.5vw, 1.14rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.1em !important;
  transform: scaleX(0.84) !important;
  transform-origin: center center !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  line-break: strict !important;
}

body.tbt-page-kodawari main.site-main header.entry-header h1.entry-title br,
body.tbt-page-kodawari .site-main .entry-header h1.entry-title br {
  display: none !important;
}

body.tbt-page-kodawari main.site-main header.entry-header h1.entry-title *,
body.tbt-page-kodawari .site-main .entry-header h1.entry-title * {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  white-space: inherit !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
}

/* こだわりスライダー：矢印・ドットは常に白（カスタマイズ色の混入を防止） */
body.tbt-page-kodawari .tbt-kodawari-arrow {
  background: rgba(255, 255, 255, 0.92) !important;
  color: #2e261f !important;
  border: 1px solid rgba(255, 255, 255, 0.95) !important;
}

body.tbt-page-kodawari .tbt-kodawari-arrow:hover,
body.tbt-page-kodawari .tbt-kodawari-arrow:focus {
  background: #ffffff !important;
  color: #2e261f !important;
}

body.tbt-page-kodawari .tbt-kodawari-dot,
body.tbt-page-kodawari .tbt-kodawari-dot:hover,
body.tbt-page-kodawari .tbt-kodawari-dot:focus,
body.tbt-page-kodawari .tbt-kodawari-dot.is-active {
  background: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.95) !important;
}

/* セクション3：モーダルトリガーボタン（商品の包装形態／急速冷凍機の導入 等）を包む段落の
   縦間隔を詰める（幅は変更しない・モーダル本体の実装には影響しない） */
body.tbt-page-kodawari .tbt-kodawari-section p:has(> [data-modal]),
body.tbt-page-kodawari .entry-content p:has(> [data-modal]) {
  margin-top: 0.35rem;
  margin-bottom: 0.35rem;
}

/* ── こだわり：セクション1〜3・スマホ最適化（768px以下。769px以上は変更しない） ── */
@media (max-width: 768px) {
  body.tbt-page-kodawari .entry-content > .tbt-kodawari-section,
  body.tbt-page-kodawari .entry-content > .wp-block-media-text:not(.alignfull),
  body.tbt-page-kodawari .entry-content > .wp-block-group.has-background {
    padding: 1.5rem 1rem;
    max-width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.tbt-page-kodawari .tbt-kodawari-section .tbt-section-inner,
  body.tbt-page-kodawari .entry-content .wp-block-media-text__content.tbt-section-inner,
  body.tbt-page-kodawari .entry-content .wp-block-group__inner-container.tbt-section-inner {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
  }

  body.tbt-page-kodawari .tbt-kodawari-section img,
  body.tbt-page-kodawari .entry-content .wp-block-media-text:not(.alignfull) img,
  body.tbt-page-kodawari .entry-content .wp-block-group.has-background img {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    margin-bottom: 1rem;
  }

  body.tbt-page-kodawari .tbt-kodawari-section .tbt-modal-btn,
  body.tbt-page-kodawari .tbt-kodawari-section [data-modal],
  body.tbt-page-kodawari .entry-content .tbt-tajima-modal-trigger,
  body.tbt-page-kodawari .entry-content [data-modal] {
    white-space: nowrap;
    font-size: 0.85rem;
    padding: 0.6rem 1.4rem;
    width: auto;
    min-width: 160px;
    max-width: 80%;
    margin-top: 0.35rem;
    margin-bottom: 0.35rem;
  }

  /* セクション見出し（h2）：1行に収める */
  body.tbt-page-kodawari .tbt-kodawari-section h2,
  body.tbt-page-kodawari .tbt-kodawari-section h2.wp-block-heading,
  body.tbt-page-kodawari .tbt-kodawari-section .section-title,
  body.tbt-page-kodawari .entry-content .tbt-kodawari-section :where(h2).wp-block-heading,
  body.tbt-page-kodawari .entry-content .tbt-kodawari-section :where(h2):not(.wp-block-heading) {
    font-size: clamp(1.1rem, 3.85vw, 1.25rem) !important;
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center !important;
    margin-top: 0 !important;
    margin-bottom: 0.6rem !important;
    max-width: 100%;
    letter-spacing: 0.02em !important;
    line-height: 1.25 !important;
  }

  body.tbt-page-kodawari .tbt-kodawari-section :where(h3).wp-block-heading,
  body.tbt-page-kodawari .tbt-kodawari-section :where(h3):not(.wp-block-heading),
  body.tbt-page-kodawari .entry-content .tbt-kodawari-section :where(h3).wp-block-heading,
  body.tbt-page-kodawari .entry-content .tbt-kodawari-section :where(h3):not(.wp-block-heading) {
    text-align: center !important;
  }

  body.tbt-page-kodawari .tbt-kodawari-section .tbt-section-body,
  body.tbt-page-kodawari .tbt-kodawari-section li,
  body.tbt-page-kodawari .tbt-kodawari-section .wp-block-media-text__content :where(li),
  body.tbt-page-kodawari .tbt-kodawari-section .wp-block-group.has-background :where(li),
  body.tbt-page-kodawari .entry-content .tbt-kodawari-section .wp-block-media-text__content :where(li),
  body.tbt-page-kodawari .entry-content .tbt-kodawari-section .wp-block-group.has-background :where(li) {
    text-align: left !important;
    font-size: 0.9rem !important;
    line-height: 1.8 !important;
    padding-left: 0 !important;
    padding-right: 0;
    text-indent: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0.6rem !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
  }

  body.tbt-page-kodawari .tbt-kodawari-section li:last-child,
  body.tbt-page-kodawari .tbt-kodawari-section .wp-block-media-text__content :where(li):last-child,
  body.tbt-page-kodawari .tbt-kodawari-section .wp-block-group.has-background :where(li):last-child {
    margin-bottom: 0 !important;
  }

  /* 段落間・行間のみ調整 */
  body.tbt-page-kodawari .tbt-kodawari-section p,
  body.tbt-page-kodawari .tbt-kodawari-section .wp-block-media-text__content :where(p),
  body.tbt-page-kodawari .tbt-kodawari-section .wp-block-group.has-background :where(p),
  body.tbt-page-kodawari .entry-content .tbt-kodawari-section .wp-block-media-text__content :where(p),
  body.tbt-page-kodawari .entry-content .tbt-kodawari-section .wp-block-group.has-background :where(p) {
    text-align: left !important;
    font-size: 0.9rem !important;
    padding-left: 0 !important;
    padding-right: 0;
    text-indent: 0 !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    margin-top: 0.2rem !important;
    margin-bottom: 0.2rem !important;
    line-height: 1.75 !important;
  }

  body.tbt-page-kodawari .tbt-kodawari-section p + p,
  body.tbt-page-kodawari .tbt-kodawari-section .wp-block-media-text__content :where(p + p),
  body.tbt-page-kodawari .tbt-kodawari-section .wp-block-group.has-background :where(p + p) {
    margin-top: 0.3rem !important;
  }

  body.tbt-page-kodawari .tbt-kodawari-section p:last-child,
  body.tbt-page-kodawari .tbt-kodawari-section .wp-block-media-text__content :where(p):last-child,
  body.tbt-page-kodawari .tbt-kodawari-section .wp-block-group.has-background :where(p):last-child {
    margin-bottom: 0 !important;
  }
}

@media (max-width: 768px) {
  body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-media-text:not(.alignfull),
  body.tbt-page-kodawari .entry-content > .wp-block-media-text:not(.alignfull) {
    display: flex !important;
    flex-direction: column !important;
  }

  body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-media-text:not(.alignfull) .wp-block-media-text__media,
  body.tbt-page-kodawari .entry-content > .wp-block-media-text:not(.alignfull) .wp-block-media-text__media {
    order: 0 !important;
    width: 100% !important;
    margin-bottom: 0 !important;
  }

  body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-media-text:not(.alignfull) .wp-block-media-text__content,
  body.tbt-page-kodawari .entry-content > .wp-block-media-text:not(.alignfull) .wp-block-media-text__content {
    order: 1 !important;
    text-align: center !important;
    padding: 20px 20px 32px !important;
  }

  body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-media-text:not(.alignfull) .wp-block-media-text__content > *,
  body.tbt-page-kodawari .entry-content > .wp-block-media-text:not(.alignfull) .wp-block-media-text__content > * {
    text-align: center !important;
  }

  body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-media-text:not(.alignfull) .wp-block-media-text__content :where(h2, h3).wp-block-heading,
  body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-media-text:not(.alignfull) .wp-block-media-text__content :where(h2, h3):not(.wp-block-heading),
  body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-media-text:not(.alignfull) .wp-block-media-text__content :where(p, .wp-block-paragraph),
  body.tbt-page-kodawari .entry-content > .wp-block-media-text:not(.alignfull) .wp-block-media-text__content :where(h2, h3, p, .wp-block-paragraph) {
    text-align: center !important;
  }

  /* こだわりセクション1：「真心をそのままに」強調 */
  body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-media-text:not(.alignfull):first-of-type .wp-block-media-text__content p.is-tagline,
  body.tbt-page-kodawari .entry-content > .wp-block-media-text:not(.alignfull):first-of-type .wp-block-media-text__content p.is-tagline,
  body.tbt-page-kodawari .tbt-kodawari-tagline {
    text-align: center !important;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 1em;
    display: block;
  }

  /* セクション3：ボタン間隔を詰める */
  body.tbt-page-kodawari .tbt-page-section-nav__main > .wp-block-media-text:not(.alignfull):last-of-type .wp-block-media-text__content .wp-block-buttons,
  body.tbt-page-kodawari .entry-content > .wp-block-media-text:not(.alignfull):last-of-type .wp-block-media-text__content .wp-block-buttons {
    margin-top: 8px !important;
    margin-bottom: 8px !important;
  }

  body.tbt-page-kodawari .tbt-kodawari-copy {
    display: none !important;
  }
}
