/*
 * themes.css
 * Pokkeが扱う領域（/themes/）固有スタイル
 *
 * プロトタイプでは column-renewal.css → top.css → about-top-shared.css → about-renewal.css → themes.css の
 * 5つを順に読み込んでいた。同じ順番でつなげ、このページで使うクラスに当たる指定だけを残している。
 * 冒頭の写真や見出しの形は、Pokkeの想いと同じ部品（mg-a-cover など）。
 * body に page-themes と page-about の両方を付けて使う。
 */


/* #############################################################
   ここから パンくず（プロトタイプでは column-renewal.css）
   ############################################################# */

/*
 * column-renewal.css
 * お役立ち資料・コラム（一覧 /studio/report/ と記事ページ）を、トップ・ガイドページの基本デザインにそろえる。
 * column-archive.css / column-single.css の後に読み込む。
 */

/* ---- パンくず：サービスページは「トップ」の下にページ名を大きく出すが、
   コラムは階層が深いので、小さな文字で1行に並べる（トップ › お役立ち資料・コラム › 記事名） */
body .page-nav .breadcrumb {
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
}

body .page-nav .breadcrumb li,
body .page-nav .breadcrumb li:last-child {
  display: flex;
  align-items: center;
  min-width: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
  color: var(--color-text-sub);
}

body .page-nav .breadcrumb li:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--color-dark);
}

body .page-nav .breadcrumb li + li::before {
  content: "\00203A";
  margin: 0 10px;
  color: #BBB;
}

body .page-nav .breadcrumb a {
  color: inherit;
  text-decoration: none;
}

body .page-nav .breadcrumb a:hover {
  color: var(--color-primary);
}

/* =============================================
   記事ページ：本文の見た目
   ・本文幅 760px、文字 16px・行間 2
   ・h1（記事タイトル）32px／h2 26px（下に区切り線）／h3 20px（左に赤い縦線）／h4 17px
   ・箇条書きは赤い点、番号付きは赤い丸に白い数字
   ・引用は薄いグレーの角丸ボックス＋大きな引用符
   ・角丸はサイト共通の 16px
   ============================================= */

/* =============================================
   記事ページ：2カラム（左に本文、右にサイドバー）
   ・サイドバーは 300px。上から目次・資料と相談の枠・サービス・新着記事（追従はしない）
   ・タブレット以下では1カラムに戻し、目次はサイドバーごと隠す（本文先頭の目次を使う）
   ============================================= */

/* =============================================
   左寄せの見出しブロック
   ============================================= */

/* =============================================
   ヒーロー

   背景写真を重ねて置き、is-active の1枚だけ
   opacity を 1 にしてクロスフェードさせる。
   切り替えのタイミングは javascript.js で制御。
   ============================================= */

/* =============================================
   実績数値（4項目を横1列）
   ============================================= */

/* =============================================
   導入企業ロゴ（オートスクロール）

   トラックに同じリストを2本並べ、
   トラック幅の半分だけ左へ動かしたら頭に戻す。
   ============================================= */

@keyframes top-clients-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =============================================
   あなたの課題から探す（4列）
   ============================================= */

/* =============================================
   観光DXプロダクト（3列）
   ============================================= */

/* =============================================
   旅のあらゆる場面を（各ブロック内は4列）
   ============================================= */

/* =============================================
   選ばれる3つの理由
   ============================================= */

/* =============================================
   私たちの想い（左テキスト・右ビジュアル）
   ============================================= */

/* =============================================
   お役立ち資料・コラム（3列）
   ============================================= */

/* =============================================
   お知らせ（リスト）
   ============================================= */

/* =============================================
   フォント（mebuku-site に合わせる）
   Noto Sans JP を Google Fonts から読み込み、英字も同じ書体で統一
   ============================================= */

/* =============================================
   ヘッダー・CTAボタン（bakuraku.jp に合わせる）
   ============================================= */

/* =============================================
   セクション見出し：サイズを小さく、赤のアクセントをやめる
   ============================================= */

/* =============================================
   余白・文字サイズ（mebuku-site に合わせる）
   - 横幅は bakuraku.jp に合わせる（下の「横幅」ブロック）
   - セクション間は 160px（タブレット 140px / スマホ 120px）
   - 本文 14px・行間 1.8、太さは 400 / 500 / 700 のみ
   ============================================= */

/* =============================================
   導入事例：地図＋サービス別一覧（mebuku-site/business と同じ構成）
   一覧にホバーすると地図の都道府県が強調され、クリックで詳細ダイアログ
   ============================================= */

/* =============================================
   導入事例：事例タイトルを1行に収めるレイアウト
   PC：左に地図（スクロールしても追従）、右に一覧を1列で
   タブレット以下：地図 → 一覧。入りきらない分は「…」で省略（全文はダイアログで読める）
   ============================================= */

/* =============================================
   FVボタン（bakuraku 経費精算FVのボタンに合わせる）
   ・ピル型、上に「＼〜／」の小さい一言、下に太字のメイン
   ・資料ボタンは左端に資料の束が重なる
   ============================================= */

/* =============================================
   プロダクト：背景色を付け、カードの枠線とホバー時の枠色変化をなくす
   （.is-card は cocoon-reset.css で枠線が !important 指定されているため合わせる）
   ============================================= */

/* =============================================
   FV背景：画像を差し替えるまでの間、一旦真っ黒にする
   （スライド画像のHTMLは残してあるので、このブロックを消せば元に戻る）
   ============================================= */

/* =============================================
   メッセージ（FV直下）— clecom.jp の ABOUT US の構成をもとに
   ・左：キャッチ2行（2行目を赤） → 本文 → 「私たちの大切にしていること」
   ・右：角丸の写真1枚（写真が決まるまでは黒）
   ============================================= */

/* =============================================
   ヘッダー：kintone のように FV の上に浮く白い板
   左端を少し空け、左下だけ角丸。FV はヘッダーの下まで広げる
   （ボタンは bakuraku に合わせたピル型のまま）
   ============================================= */

/* =============================================
   支援メニュー内の事例（タビマエ：動画1本／タビナカ：事例1件）
   ============================================= */

/* =============================================
   見出し下のリード文：少し大きく、濃く
   ============================================= */

/* =============================================
   支援メニューの事例：右下に「他の事例を見る」（ページ内の導入事例へ）
   ============================================= */

/* =============================================
   Pokkeが選ばれる理由：画像の左下に番号を重ね、見出し → 説明を左揃えで
   ============================================= */

/* #############################################################
   ここから トップでだけ効く指定の写し（プロトタイプの about-top-shared.css）
   ############################################################# */

/*
 * about-top-shared.css（自動で作成）
 * トップの top.css のうち、body.home に限った「見出し・観光DXプロダクト・支援メニュー」のルールを
 * Pokkeの想い（body.page-about）にも同じように効かせる。top.css を直したら作り直す。
 */

/* 見出しと中身の間（トップの body.home と同じ値） */
body.page-about {
  --heading-gap: 64px;
}

/* トップは本文の基本サイズが 14px・行間 1.8 なので、プロダクトと支援メニューの中だけ同じにする */
body.page-about #products,
body.page-about #scenes {
  font-size: 14px;
  line-height: 1.8;
}

/* #############################################################
   ここから Pokkeの想い 固有（プロトタイプの about-renewal.css）
   ############################################################# */

/*
 * about-renewal.css
 * Pokkeについて（/studio/about/）：ビジョン・想い・大切にしていること・運営会社
 *   ・ヒーロー（写真いっぱい）→ 想い → ガイドがなければ見えない世界 → 大切にしていること
 *     → 数字 → MEBUKUのビジョン → サービス → 運営会社
 */

/* =============================================
   パンくず
   style.css ではサービスページ向けに 1023px 以下で隠しているため、
   このページでは常に表示する。
   ============================================= */
@media screen and (max-width: 1023px) {
  .page-about .breadcrumb {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    width: 100%;
    flex-shrink: 1;
    min-width: 0;
  }

  .page-about .breadcrumb::-webkit-scrollbar {
    display: none;
  }
}

.ab-title {
  margin: 0 0 24px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .04em;
  color: var(--color-dark);
}

/* =============================================
   ヒーロー
   ============================================= */

/* =============================================
   想い（見出し左・本文右）
   ============================================= */

/* =============================================
   ガイドがなければ見えない世界がある（写真＋文）
   ============================================= */

/* =============================================
   大切にしていること（3つ）
   ============================================= */

/* =============================================
   数字
   ============================================= */

/* =============================================
   MEBUKUのビジョン（濃い背景）
   ============================================= */

/* =============================================
   サービス
   ============================================= */

/* =============================================
   運営会社
   ============================================= */

/* =============================================
   画面幅ごとの調整
   ============================================= */

@media screen and (max-width: 540px) {
  

  

  

  

  

  

  

  .ab-title,
  .ab-story .ab-title {
    font-size: 24px;
  }

  

  

  

  

  

  

  

  

  

  
}

/* =============================================
   組み直し（パンフレット・観光DXソリューション資料の内容を入れた構成）
   ============================================= */

/* =============================================
   ファーストビュー（組み直し）：写真に文字を重ねるのをやめ、
   白地に大きな見出し＋右に縦長の写真。パンフレットの2ページ目と同じ考え方
   ============================================= */

/* =============================================
   これまでにつくってきたコンテンツ：見出し＋ガイドのバナーが2段で流れる（トップ・ガイドページと同じ動き）
   ============================================= */

@keyframes ab-wall-left {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-100% / 3)); }
}

@keyframes ab-wall-right {
  from { transform: translateX(calc(-100% / 3)); }
  to   { transform: translateX(0); }
}

/* =============================================
   FV〜Pokkeの考えていること：雑誌の表紙＋見開きの特集（案A。about-fv-test.css から移したもの）
   ============================================= */

.mg-a-cover {
  position: relative;
  height: min(86vh, 760px);
  min-height: 560px;
  overflow: hidden;
  background: #111;
}

.mg-a-cover__photo {
  position: absolute;
  inset: 0;
  background: #222 30% center / cover no-repeat;
}

.mg-a-cover__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .1) 60%);
}

.mg-a-cover__inner {
  position: relative;
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 48px;
  height: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 24px;
}

body.page-about .mg-a-cover__title {
  margin: 0;
  writing-mode: vertical-rl;
  font-size: clamp(48px, 6.4vw, 88px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .12em;
  color: #fff;
}

body.page-about .mg-a-cover__poem {
  align-self: flex-end;
  margin: 0;
  writing-mode: vertical-rl;
  font-size: 15px;
  line-height: 2.4;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .92);
}

@media screen and (max-width: 640px) {
  .mg-a-cover {
    height: 620px;
    min-height: 0;
  }

  .mg-a-cover__inner {
    gap: 24px;
    padding: 40px 20px;
  }

  body.page-about .mg-a-cover__poem {
    font-size: 13px;
  }

  

  

  

  

  

  
}

/* =============================================
   観光DXプロダクト：パート全体を薄いグレーにして、準備中の3つの枠も見えるように。
   5つのカードの下半分は白のまま、上の小さな説明とボタンだけプロダクトの色に
   ============================================= */
body.page-about #products {
  background: var(--color-bg-light);
}

/* FV：京都の写真は真ん中に人が歩いているので、詩は左下（暗い町家の上）に置き、左右の端を少し暗くする */
body.page-about .mg-a-cover__photo {
  background-position: center 40%;
}

body.page-about .mg-a-cover__photo::after {
  background: linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 32%, rgba(0, 0, 0, 0) 62%, rgba(0, 0, 0, .55) 100%);
}

body.page-about .mg-a-cover__poem {
  position: absolute;
  left: 24px;
  bottom: 64px;
}

@media screen and (max-width: 640px) {
  body.page-about .mg-a-cover__photo::after {
    background: linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .15) 50%, rgba(0, 0, 0, .55) 100%);
  }

  body.page-about .mg-a-cover__poem {
    left: 20px;
    bottom: 40px;
  }
}

/* #############################################################
   ここから Pokkeが扱う領域 固有（プロトタイプの themes.css）
   ############################################################# */

/* =============================================
   Pokkeが扱う領域（/studio/themes/）
   ヒーローと見出しは「Pokkeの想い」（about-renewal.css）の部品をそのまま使い、ここでは領域ページだけの部品を足す
   ============================================= */

/* ---- ヒーロー：写真の上側が明るいので、少し暗くして文字を読みやすく ---- */
.th-cover .mg-a-cover__photo {
  background-position: center 40%;
}

.th-cover .mg-a-cover__photo::after {
  background: linear-gradient(270deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .2) 70%);
}

/* =============================================
   Pokkeの関わり方
   ============================================= */
.th-intro__head {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 64px;
  align-items: start;
  margin: 0 0 56px;
  padding-bottom: 40px;
  border-bottom: 2px solid var(--color-dark);
}

.th-intro__head .ab-title {
  margin: 0;
}

.th-intro__lead {
  margin: 0;
  font-size: 16px;
  line-height: 2.1;
  color: var(--color-text);
}

.th-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0 0 48px;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.th-step {
  position: relative;
  padding: 32px 28px;
  border-radius: 20px;
  background: var(--color-bg-light);
}

/* 手順のあいだの矢印（シンプルな黒） */
.th-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -17px;
  z-index: 1;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--color-dark);
  border-right: 2px solid var(--color-dark);
  transform: translateY(-50%) rotate(45deg);
}

.th-step__num {
  margin: 0 0 8px;
  font-size: 40px;
  font-weight: 300;
  line-height: 1;
  color: #C9C9C9;
}

.th-step__title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-dark);
}

.th-step__text {
  margin: 0;
  font-size: 14px;
  line-height: 2;
  color: var(--color-text);
}

.th-numbers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.th-numbers > div {
  padding: 28px 16px;
  text-align: center;
}

.th-numbers > div + div {
  border-left: 1px solid var(--color-border);
}

.th-numbers dt {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-sub);
}

.th-numbers dd {
  margin: 0;
}

.th-numbers b {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-dark);
}

/* =============================================
   分野の目次
   ============================================= */
body .th-toc {
  background: var(--color-bg-light);
}

.th-toc__title {
  text-align: center;
}

.th-toc__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body .th-toc__item {
  display: block;
  height: 100%;
  border: 0 !important;
  border-radius: 16px;
  background: #fff !important; /* テーマのリンク指定で透明になるので、白を強制 */
  overflow: hidden;
  color: var(--color-dark) !important;
  text-decoration: none !important;
  transition: box-shadow .2s;
}

body .th-toc__item:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

/* タイルの白はリンクの外側（li）に付ける（リンク自体の背景はテーマ側の指定で透明になるため） */
.th-toc__list > li {
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}

.th-toc__body {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 16px 18px 18px;
}

.th-toc__img {
  display: block;
  aspect-ratio: 16 / 10;
  background: #DDD center / cover no-repeat;
  transition: transform .3s;
}

.th-toc__item:hover .th-toc__img {
  transform: scale(1.03);
}

.th-toc__name {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

.th-toc__count {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text-sub);
}

.th-toc__count b {
  margin-right: 2px;
  font-size: 26px;
  line-height: 1;
  color: var(--color-dark);
}

/* =============================================
   分野ごとのテーマ
   ============================================= */
.th-cat {
  scroll-margin-top: 140px;
}

.th-cat + .th-cat {
  margin-top: 96px;
  padding-top: 96px;
  border-top: 1px solid var(--color-border);
}

.th-cat__head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 56px;
  align-items: center;
  margin: 0 0 40px;
}

.th-cat__photo {
  aspect-ratio: 3 / 2;
  border-radius: 16px;
  background: #DDD center / cover no-repeat;
}

.th-cat__num {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-dark);
}

.th-cat__num b {
  font: inherit;
}

.th-cat__title {
  margin: 0 0 24px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--color-dark);
  font-size: 56px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--color-dark);
}

.th-cat__lead {
  margin: 0 0 16px;
  font-size: 17px;
  font-weight: 700;
  line-height: 2;
  color: var(--color-dark);
}

.th-cat__count {
  display: flex;
  gap: 32px;
  margin: 24px 0 0;
}

.th-cat__count > div {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.th-cat__count dt {
  order: 2;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-sub);
}

.th-cat__count dd {
  margin: 0;
}

.th-cat__count b {
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  color: var(--color-dark);
}

.th-cat__count > div + div {
  padding-left: 32px;
  border-left: 1px solid var(--color-border);
}

.th-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.th-card {
  display: flex;
  flex-direction: column;
  padding: 24px 24px 22px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: #fff;
}

.th-card.is-soon {
  border-style: dashed;
  background: var(--color-bg-light);
}

.th-card__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-dark);
}

.th-card__pill {
  padding: 2px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--color-border);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text-sub);
}

.th-card__desc {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text-sub);
}

.th-card__ex {
  margin: auto 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text);
}

.th-card__ex.is-soon {
  border-top-style: dashed;
  color: var(--color-text-sub);
}

.th-card__label {
  display: inline-block;
  margin: 0 0 8px;
  padding: 0 8px;
  border-radius: 4px;
  background: var(--color-dark);
  font-size: 11px;
  font-weight: 700;
  line-height: 20px;
  color: #fff;
}

.th-card__cases {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text);
}

body .th-card__cases a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0 !important;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-dark) !important;
  text-decoration: none !important;
}

body .th-card__cases a:hover {
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.th-arrow {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-top: 1.6px solid currentColor;
  border-right: 1.6px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s;
}

.th-card__cases a:hover .th-arrow {
  transform: translateX(2px) rotate(45deg);
}

/* =============================================
   これから紐解きたいテーマ
   ============================================= */
body .th-next {
  background: var(--color-dark);
}

.th-next__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.th-next .ab-title {
  color: #fff;
}

.th-next__text {
  margin: 0 0 32px;
  font-size: 15px;
  line-height: 2.1;
  color: rgba(255, 255, 255, .82);
}

.th-next__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

body .th-next__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  background: #fff;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-dark) !important;
  text-decoration: none !important;
}

body .th-next__link--sub {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .5);
  color: #fff !important;
}

body .th-next__link:hover {
  opacity: .85;
}

.th-next__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.th-next__list li {
  padding: 14px 16px;
  border: 1px dashed rgba(255, 255, 255, .35);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: #fff;
}

.th-next__list span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, .6);
}

/* =============================================
   タブレット・スマホ
   ============================================= */
@media screen and (max-width: 1079px) {
  .th-intro__head,
  .th-cat__head,
  .th-next__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .th-toc__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .th-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 767px) {
  .th-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .th-step:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%) rotate(135deg);
  }

  .th-numbers b {
    font-size: 34px;
  }

  .th-numbers dt {
    font-size: 12px;
  }

  .th-toc__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .th-toc__body {
    padding: 12px 12px 14px;
  }

  .th-toc__name {
    font-size: 14px;
  }

  .th-toc__count b {
    font-size: 20px;
  }

  .th-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .th-cat + .th-cat {
    margin-top: 64px;
    padding-top: 64px;
  }

  .th-cat__title {
    font-size: 40px;
  }

  .th-cat__count b {
    font-size: 40px;
  }

  .th-cat__lead {
    font-size: 15px;
  }

  .th-next__list {
    grid-template-columns: minmax(0, 1fr);
  }
}
