/*
Theme Name: Chogo Bears
Theme URI: https://example.com/
Author: 合同会社Comani
Author URI: https://comani.company/
Description: 長後ベアーズ（東京都板橋区の小学生混合軟式野球チーム）のオリジナルテーマ。GSAP ScrollTrigger / Lenis / WebGL シェーダーによるアニメーションを含みます。
Version: 1.1.2
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: chogo-bears
Tags: one-page, custom-colors, translation-ready
*/

html { scroll-behavior: auto; }
body {
  margin: 0;
  background: #F6F3EF;
  color: #120F0E;
  font-family: "Zen Kaku Gothic New", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
* { box-sizing: border-box; }
img { max-width: 100%; }
a { color: #C8102E; text-decoration: none; }
a:hover { color: #8E0A1F; }
::selection { background: #C8102E; color: #fff; }

.split-char { display: inline-block; will-change: transform, opacity; }

@keyframes bearsMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes bearsBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(10px); } }
@keyframes vtOut { to { opacity: 0; transform: translateY(-10px); } }

::view-transition-group(root), ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
::view-transition-old(igstage) { animation: vtOut .26s ease both; }
::view-transition-new(igstage) { animation: vtIn .32s cubic-bezier(.2,.75,.2,1) both; }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(igstage), ::view-transition-new(igstage) { animation: none; }
}

/* ---- 下層ページ（記事一覧・記事詳細・固定ページ）---- */
.cb-page { max-width: 820px; margin: 0 auto; padding: 150px 24px 120px; }
.cb-page-wide { max-width: 1240px; }
.cb-eyebrow { font-family: Anton, sans-serif; font-size: 20px; letter-spacing: .3em; color: #C8102E; }
.cb-page h1 { font-size: clamp(28px, 4.2vw, 46px); font-weight: 900; line-height: 1.35; margin: 14px 0 0; }
.cb-meta { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-size: 13px; color: #7B7269; }
.cb-tag { background: #C8102E; color: #fff; font-size: 11px; font-weight: 900; letter-spacing: .08em; padding: 5px 10px; border-radius: 3px; }
.cb-content { font-size: 16px; line-height: 2.05; color: #292422; margin-top: 34px; }
.cb-content h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 900; margin: 52px 0 14px; }
.cb-content h3 { font-size: 19px; font-weight: 900; margin: 38px 0 10px; }
.cb-content img { border-radius: 6px; height: auto; }
.cb-content a { border-bottom: 1px solid currentColor; }
.cb-content ul, .cb-content ol { padding-left: 1.4em; }
.cb-content blockquote { border-left: 3px solid #C8102E; margin: 28px 0; padding: 4px 0 4px 20px; color: #46403E; }
.cb-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 40px; }
.cb-card { display: flex; flex-direction: column; background: #F6F3EF; border: 1px solid #DCD5CE; border-radius: 6px; overflow: hidden; color: inherit; height: 100%; transition: border-color .3s, transform .3s; }
.cb-card:hover { border-color: #C8102E; transform: translateY(-3px); color: inherit; }
.cb-thumb { position: relative; aspect-ratio: 16/9; background-color: #E1DAD2; background-image: repeating-linear-gradient(135deg, rgba(18,15,14,.07) 0 2px, transparent 2px 11px); display: grid; place-items: center; overflow: hidden; }
.cb-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cb-thumb span { font-family: ui-monospace, monospace; font-size: 11px; color: #7B7269; background: rgba(246,243,239,.92); padding: 6px 10px; }
.cb-card-body { padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.cb-card-title { font-size: 18px; font-weight: 900; line-height: 1.55; text-wrap: pretty; }
.cb-card-excerpt { font-size: 14px; line-height: 1.85; color: #56504D; text-wrap: pretty; }
.cb-card-more { margin-top: auto; padding-top: 12px; font-size: 13px; font-weight: 900; color: #C8102E; }
.cb-pagination { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px; }
.cb-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid #DCD5CE; border-radius: 999px; color: #120F0E; font-weight: 700; }
.cb-pagination .page-numbers.current { background: #C8102E; border-color: #C8102E; color: #fff; }
.cb-back { display: inline-flex; align-items: center; gap: 8px; margin-top: 48px; border: 1px solid #DCD5CE; border-radius: 999px; padding: 14px 24px; font-size: 14px; font-weight: 900; color: #120F0E; }
.cb-back:hover { border-color: #C8102E; color: #C8102E; }

/* ヒーロー背景を動画にしたため、旧背景（縞模様のdiv）は隠す。
   動画側は video#heroBg なので div#heroBg だけが対象になる。 */
div#heroBg { display: none; }

/* iOS の低電力モードでは動画の自動再生が拒否され、動画の中央に OS 製の
   再生ボタンが出る。ヒーローの装飾レイヤー（暗幕・グロー）がその上に
   重なっているとタップが動画に届かず、ボタンを押しても反応しない。
   装飾レイヤーはタップを受け取らないようにする。 */
#top > div { pointer-events: none; }
#top > div a,
#top > div button { pointer-events: auto; }

/* ヒーローの CHOGO BEARS を数秒おきに一度だけ光らせる。
   輪郭だけの文字なので、drop-shadow で白と赤のグローを重ねている。 */
@keyframes cbHeroShine {
  0%, 58%   { opacity: 0; filter: drop-shadow(0 0 0 rgba(246,243,239,0)) drop-shadow(0 0 0 rgba(200,16,46,0)); }
  72%, 84%  { opacity: 1; filter: drop-shadow(0 0 24px rgba(246,243,239,.9)) drop-shadow(0 0 64px rgba(200,16,46,.55)); }
  100%      { opacity: 0; filter: drop-shadow(0 0 0 rgba(246,243,239,0)) drop-shadow(0 0 0 rgba(200,16,46,0)); }
}
#top h1 { position: relative; }
/* 輪郭だけの見出しの上に、同じ文字を白ベタで重ねている。
   ふだんは透明で、数秒に一度だけフッと白く光ってまた消える。 */
#top h1::after {
  content: "CHOGO BEARS";
  position: absolute;
  left: 0;
  top: 0;
  color: #F6F3EF;
  -webkit-text-stroke: 0;
  pointer-events: none;
  opacity: 0;
  animation: cbHeroShine 8s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  #top h1 { animation: none; }
}

/* FAQの開閉は grid-template-rows のアニメーションなので、毎フレーム
   レイアウト計算が走る。contain で影響範囲をこの要素の中に閉じ込め、
   ページ全体の再計算を避ける（スマホでの引っかかり対策）。 */
[data-faq-body] { contain: layout paint; }

/* ---- 学年別の在籍人数 ---- */
.cb-roster { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: clamp(40px, 5vw, 64px); background: rgba(246,243,239,.14); border: 1px solid rgba(246,243,239,.14); border-radius: 8px; overflow: hidden; }
.cb-roster > div { background: #120F0E; padding: clamp(20px, 2.4vw, 30px); }
.cb-roster dt { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: rgba(246,243,239,.66); margin: 0; }
.cb-roster dd { margin: 8px 0 0; font-family: Anton, sans-serif; font-size: clamp(38px, 5vw, 64px); line-height: 1; color: #F6F3EF; }
.cb-roster dd span { font-family: "Zen Kaku Gothic New", system-ui, sans-serif; font-size: 15px; font-weight: 700; margin-left: 6px; color: rgba(246,243,239,.6); }
.cb-roster-total { grid-column: 1 / -1; }
.cb-roster-total dd { color: #C8102E; }
@media (min-width: 700px) {
  .cb-roster { grid-template-columns: repeat(3, 1fr); }
}

/* ---- イントロセクション（トップ直下）---- */
.cb-intro-grid { grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .cb-intro-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---- フッター ---- */
.cb-foot-logo { width: 210px; height: auto; display: block; margin-left: auto; margin-right: auto; }
.cb-br-sp { display: none; }
.cb-foot-sns { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 30px; }
.cb-foot-sns img { width: 40px; height: 40px; display: block; }
.cb-foot-bottom { margin-top: 40px; font-size: 12px; letter-spacing: .04em; }
.cb-credit { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 18px 0 0; }
.cb-credit img { width: 80px; height: auto; display: block; }
@media (max-width: 600px) {
  .cb-foot-logo { width: 170px; }
  .cb-br-sp { display: inline; }
}

/* ---- 本文＋写真／地図／フォームの2カラム ----
   本文が読みづらい幅にならないよう、1000px 未満では縦積みにする。
   （スマホはもちろん、タブレット縦やスマホ横でも本文が画面幅いっぱいになる） */
.cb-2col { grid-template-columns: 1fr; }
@media (min-width: 1000px) {
  .cb-2col { grid-template-columns: 1fr 1fr; }
}

/* ---- 申込フォーム（ショートコード差し替え時も含む）---- */
#trial input, #trial select, #trial textarea, #trial button {
  width: 100%;
  max-width: 100%;
  font-family: inherit;
}
#trial .wpcf7 p { margin: 0 0 16px; }
#trial .wpcf7 label { display: block; font-size: 13px; font-weight: 700; }
#trial .wpcf7 input[type="submit"] { background: #C8102E; color: #fff; border: 0; border-radius: 999px; padding: 18px; font-size: 16px; font-weight: 900; cursor: pointer; }
#trial .wpcf7 input[type="checkbox"], #trial .wpcf7 input[type="radio"] { width: auto; }

/* ---- モバイル ---- */
@media (max-width: 899px) {
  /* 画面全体を覆う赤いワイプ幕はデスクトップ専用の演出。
     スマホでは慣性スクロールと相性が悪く、真っ赤な画面が残って見えるため出さない。 */
  #wipe { display: none !important; }
}
@media (max-width: 767px) {
  /* iOS Safari は 16px 未満の入力欄にフォーカスすると自動でズームし、
     そのままレイアウトが崩れて見えるので 16px 以上にしておく。 */
  #trial input, #trial select, #trial textarea,
  .cb-page input, .cb-page select, .cb-page textarea {
    font-size: 16px;
    touch-action: manipulation;
  }
  #trial, .cb-page .fluentform { overflow-anchor: none; }
  /* 「公式LINEを友だち追加」を「この内容で送信する」と同じ幅にそろえる。
     LINEカードには1pxの枠線がある分、左右の余白を1px詰めて内寸を申込フォームと一致させる。 */
  .cb-line-card { padding: calc(clamp(26px, 4vw, 40px) - 1px); }
  .cb-line-btn { width: 100%; justify-content: center; }
}
@media (min-width: 768px) {
  /* 申込フォームのカードと内側の余白をそろえる。ここが違うと、
     中に入れた「公式LINEを友だち追加」と「フォームで問い合わせ」の幅がずれる。 */
  .cb-line-card { padding: clamp(28px, 4vw, 44px); }
}

/* =========================================================
   記事パーツ(ブログ本文用)
   チームカラー #C8102E / 背景 #F6F3EF / 罫線 #DCD5CE
   ========================================================= */

/* 囲み枠 */
.cb-content .box-point,
.cb-content .box-caution,
.cb-content .box-memo {
  margin: 30px 0;
  padding: 20px 22px;
  border-radius: 8px;
  font-size: 15.5px;
  line-height: 1.95;
}
.cb-content .box-point > *:first-child,
.cb-content .box-caution > *:first-child,
.cb-content .box-memo > *:first-child { margin-top: 0; }
.cb-content .box-point > *:last-child,
.cb-content .box-caution > *:last-child,
.cb-content .box-memo > *:last-child { margin-bottom: 0; }
.cb-content .box-point {
  background: #FDF3F4;
  border: 1px solid #F0C9CF;
  border-left: 5px solid #C8102E;
}
.cb-content .box-caution {
  background: #FFFAF1;
  border: 1px solid #F0DCB8;
  border-left: 5px solid #D98A00;
}
.cb-content .box-memo {
  background: #F6F3EF;
  border: 1px solid #DCD5CE;
  border-left: 5px solid #7B7269;
}

/* マーカー線 */
.cb-content .marker-yellow {
  background: linear-gradient(transparent 62%, #FFE27A 62%);
  font-weight: 700;
}

/* 会話風の吹き出し
   名前は横に置かずバッジとして上に出す。横並びだと名前が折り返して
   窮屈になり、吹き出しの矢印も離れて見えたため。 */
.cb-content .conversation-box {
  display: block;
  margin: 36px 0;
}
.cb-content .conversation-box .name {
  display: inline-block;
  margin: 0 0 9px;
  padding: 6px 16px;
  background: #C8102E;
  color: #fff;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: .04em;
}
.cb-content .conversation-box .text {
  position: relative;
  background: #F6F3EF;
  border: 1px solid #DCD5CE;
  border-radius: 12px;
  padding: 18px 20px;
}
.cb-content .conversation-box .text::before {
  content: "";
  position: absolute;
  left: 28px;
  top: -9px;
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 9px solid #DCD5CE;
}
.cb-content .conversation-box .text::after {
  content: "";
  position: absolute;
  left: 29px;
  top: -7px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #F6F3EF;
}
.cb-content .conversation-box .text > *:first-child { margin-top: 0; }
.cb-content .conversation-box .text > *:last-child { margin-bottom: 0; }
@media (max-width: 600px) {
  .cb-content .conversation-box { margin: 28px 0; }
  .cb-content .conversation-box .name { font-size: 12px; padding: 5px 13px; }
  .cb-content .conversation-box .text { padding: 16px 16px; }
}

/* 横スクロール */
.cb-content .scroll-box,
.cb-content .article-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 28px 0;
}

/* 表 */
.cb-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.8;
  background: #fff;
}
.cb-content table th,
.cb-content table td {
  border: 1px solid #DCD5CE;
  padding: 11px 14px;
  text-align: left;
  vertical-align: top;
}
.cb-content table th {
  background: #C8102E;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}
.cb-content table tbody tr:nth-child(even) td { background: #F6F3EF; }

/* FAQ */
.cb-content details {
  background: #fff;
  border: 1px solid #DCD5CE !important;
  border-radius: 8px !important;
}
.cb-content details summary { color: #120F0E; }
.cb-content details[open] summary { color: #C8102E; }

/* CTA */
.cb-content .cta-box {
  margin: 36px 0;
  padding: 26px 22px;
  background: #120F0E;
  border-radius: 10px;
  text-align: center;
  color: #fff;
}
.cb-content .cta-box p { margin: 0 0 14px; color: #fff; }
.cb-content .cta-box p:last-child { margin-bottom: 0; }
.cb-content .cta-box a {
  display: inline-block;
  padding: 13px 30px;
  background: #C8102E;
  color: #fff;
  font-weight: 900;
  letter-spacing: .04em;
  border-radius: 999px;
  border-bottom: none;
  text-decoration: none;
}

/* ===== 見出し =====
   トップページの「01 / 02 / 03」に合わせ、H2に章番号を自動で振る。
   番号は CSS カウンターなので、本文のHTMLに手を入れる必要はない。 */
.cb-content { counter-reset: cb-h2; }

.cb-content h2 {
  counter-increment: cb-h2;
  position: relative;
  margin: 66px 0 22px;
  padding: 20px 22px 18px 68px;
  background: linear-gradient(180deg, #F6F3EF 0%, #FFFFFF 100%);
  border: 1px solid #E1DAD2;
  border-left: 6px solid #C8102E;
  border-radius: 10px;
  line-height: 1.45;
}
.cb-content h2::before {
  content: counter(cb-h2, decimal-leading-zero);
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Anton", sans-serif;
  font-size: 32px;
  line-height: 1;
  color: #C8102E;
  letter-spacing: .02em;
}
.cb-content h2 + p { margin-top: 0; }

/* H3：赤いひし形マーカー（中央寄せのFAQ見出しは除外） */
.cb-content h3:not([style*="center"]) {
  position: relative;
  margin: 42px 0 12px;
  padding-left: 22px;
  border-left: none;
  line-height: 1.55;
}
.cb-content h3:not([style*="center"])::before {
  content: "";
  position: absolute;
  left: 0;
  top: .38em;
  width: 11px;
  height: 11px;
  background: #C8102E;
  border-radius: 2px;
  transform: rotate(45deg);
}

/* FAQの見出しはピル型に */
.cb-content h3[style*="center"] {
  margin: 60px auto 26px;
  padding: 15px 22px;
  max-width: 560px;
  background: #120F0E;
  color: #fff;
  border-radius: 999px;
  font-size: 17px;
  line-height: 1.5;
}

.cb-content h4 {
  margin: 30px 0 10px;
  padding-left: 14px;
  border-left: 3px solid #DCD5CE;
  font-weight: 900;
  font-size: 17px;
}

/* ===== リスト ===== */
.cb-content ul {
  list-style: none;
  padding-left: 0;
  margin: 24px 0;
}
.cb-content ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 11px;
}
.cb-content ul li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: .52em;
  width: 11px;
  height: 11px;
  background: #fff;
  border: 2px solid #C8102E;
  border-radius: 50%;
}
.cb-content ol {
  list-style: none;
  padding-left: 0;
  margin: 24px 0;
  counter-reset: cb-ol;
}
.cb-content ol li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 11px;
  counter-increment: cb-ol;
}
.cb-content ol li::before {
  content: counter(cb-ol);
  position: absolute;
  left: 0;
  top: .12em;
  width: 23px;
  height: 23px;
  line-height: 23px;
  text-align: center;
  background: #C8102E;
  color: #fff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}
/* BOX内のリストは余白を詰める */
.cb-content .box-point ul,
.cb-content .box-caution ul,
.cb-content .box-memo ul { margin: 12px 0; }

/* ===== 本文リンク ===== */
.cb-content p a {
  color: #C8102E;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 16, 46, .35);
  transition: background .18s ease, border-color .18s ease;
}
.cb-content p a:hover {
  background: rgba(200, 16, 46, .08);
  border-bottom-color: #C8102E;
}
.cb-content a[target="_blank"]::after {
  content: "↗";
  margin-left: 3px;
  font-size: .82em;
  vertical-align: .08em;
}
/* CTAボタンは対象外に戻す */
.cb-content .cta-box p a {
  color: #fff;
  border-bottom: none;
  font-weight: 900;
}
.cb-content .cta-box p a:hover { background: #8E0A1F; }

/* 出典だけの行は控えめに（:has 未対応ブラウザでは通常表示のまま） */
.cb-content > p:has(> a[target="_blank"]) {
  margin: 16px 0 26px;
  padding: 11px 15px;
  background: #F6F3EF;
  border-left: 3px solid #DCD5CE;
  border-radius: 0 7px 7px 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: #56504D;
}

/* ===== FAQ（開閉） ===== */
.cb-content details {
  padding: 0 !important;
  margin-bottom: 12px !important;
  border: 1px solid #DCD5CE !important;
  border-radius: 10px !important;
  background: #fff;
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.cb-content details summary {
  list-style: none;
  position: relative;
  padding: 17px 56px 17px 19px !important;
  color: #120F0E;
  line-height: 1.6;
}
.cb-content details summary::-webkit-details-marker { display: none; }
.cb-content details summary::after {
  content: "+";
  position: absolute;
  right: 17px;
  top: 50%;
  transform: translateY(-50%);
  width: 25px;
  height: 25px;
  line-height: 24px;
  text-align: center;
  background: #C8102E;
  color: #fff;
  border-radius: 50%;
  font-size: 17px;
  font-weight: 900;
}
.cb-content details:hover { border-color: #C8102E !important; }
.cb-content details[open] {
  border-color: #C8102E !important;
  box-shadow: 0 6px 20px rgba(200, 16, 46, .10);
}
.cb-content details[open] summary { color: #C8102E; }
.cb-content details[open] summary::after { content: "−"; }
.cb-content details > div {
  margin-top: 0 !important;
  padding: 16px 19px 19px !important;
  border-top: 1px dashed #DCD5CE !important;
}

/* ===== 表・スクロール枠の角丸 ===== */
.cb-content .scroll-box,
.cb-content .article-table-wrap {
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(18, 15, 14, .07);
}
.cb-content table th {
  background: linear-gradient(180deg, #D4213C 0%, #C8102E 100%);
}

/* ===== リード文 ===== */
.cb-content > p:first-of-type {
  font-size: 17px;
  font-weight: 500;
}

/* ===== スクロール表示アニメーション =====
   html.cb-reveal-ready は sub.js が動いたときだけ付く。
   CSS単体で隠さないのは、JSが失敗したときに本文が消えないようにするため。 */
@media (prefers-reduced-motion: no-preference) {
  html.cb-reveal-ready .cb-content [data-cb-reveal] {
    opacity: 0;
    translate: 0 26px;
    transition:
      opacity .7s ease var(--cb-delay, 0ms),
      translate .9s cubic-bezier(.16, 1, .3, 1) var(--cb-delay, 0ms);
  }
  /* 見出しは横から。ブロックとの動きを変えてリズムをつける。 */
  html.cb-reveal-ready .cb-content h2[data-cb-reveal] { translate: -24px 0; }
  html.cb-reveal-ready .cb-content h3[data-cb-reveal] { translate: -14px 0; }
  html.cb-reveal-ready .cb-content [data-cb-reveal].cb-shown,
  html.cb-reveal-ready .cb-content [data-cb-reveal]:focus-within {
    opacity: 1;
    translate: 0 0;
  }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 699px) {
  html.cb-reveal-ready .cb-content [data-cb-reveal] { translate: 0 18px; }
  html.cb-reveal-ready .cb-content h2[data-cb-reveal] { translate: -12px 0; }
  html.cb-reveal-ready .cb-content h3[data-cb-reveal] { translate: -8px 0; }
}

/* ===== 触れたときの反応 ===== */
.cb-content table tbody tr td,
.cb-content table tbody tr th { transition: background .18s ease; }
.cb-content table tbody tr:hover td { background: #FDF3F4; }
.cb-content .cta-box a {
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.cb-content .cta-box a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(200, 16, 46, .38);
}
.cb-content details summary::after {
  transition: transform .2s ease, background .2s ease;
}
.cb-content details summary:hover::after {
  transform: translateY(-50%) scale(1.12);
  background: #8E0A1F;
}
.cb-content .conversation-box .name {
  transition: transform .2s ease;
}
.cb-content .conversation-box:hover .name { transform: translateY(-2px); }

/* ===== スマホ調整 ===== */
@media (max-width: 600px) {
  .cb-content h2 {
    margin: 48px 0 18px;
    padding: 16px 16px 14px 52px;
  }
  .cb-content h2::before { left: 15px; font-size: 25px; }
  .cb-content h3[style*="center"] { font-size: 15px; padding: 13px 18px; }
  .cb-content details summary { padding: 15px 48px 15px 15px !important; }
  .cb-content details > div { padding: 14px 15px 16px !important; }
}
