@charset "utf-8";
/*
 * ======================================
 * 追加クラス一覧（共通SCSS取り込み検討用）
 * ======================================
 *
 * ▼ 余白・幅の粒度
 * .tgd-w-820 / -860 / -920 / -960 / -1000 - デザイン固有のコンテンツ幅（container の中間値）
 * .tgd-sec-64 / -72                - セクション上下余白 64px / 72px
 * .tgd-pt-32 / -56 / -64 / -72     - padding-top の中間値
 * .tgd-pb-56 / -64 / -72 / -96 / -140 - padding-bottom の中間値
 * .tgd-mt-6 / -14 / -26 / -28 / -44 / -48 - margin-top の中間値
 * .tgd-mb-22 / -26 / -28 / -36 / -44 - margin-bottom の中間値
 * .tgd-gap-12〜52                   - gap の中間値（12/14/16/18/24/28/32/48/52px）
 * .tgd-cta-row / -recruit-row / -license-row - デザイン固有のgrid比率（1.1fr:0.9fr 等）
 * .tgd-imgbox                      - 画像を枠の高さいっぱいに敷くラッパー
 *
 * ▼ 見出し
 * .tgd-heading                     - Jost英字(46px)＋日本語(17px) のセクション見出し
 * .tgd-heading--sm                 - 英字30px版（所属団体・表彰実績の小見出し）
 * .tgd-heading-rule                - 見出し右に伸びる1本罫線
 * .tgd-lead                        - リード見出し（27〜32px・行間1.65〜1.7）
 *
 * ▼ ヘッダー / フッター
 * .tgd-header ほか                 - 透過ヘッダー（92px・EN+JA 2段ナビ・区切り罫線）
 * .tgd-footer / .tgd-footer-body   - グラデーションフッター・3カラム
 * .tgd-fbox                        - フッター枠線CTAボックス
 *
 * ▼ メインビュー
 * #slideshow / .tgd-mv ほか        - 全画面MV＋左グラデ暗幕＋キャッチ
 *
 * ▼ 下層ヒーロー / パンくず
 * .tgd-page-hero                   - 280px・英字52px（ライム）＋日本語18px 左寄せ
 * .tgd-breadcrumb                  - 区切りを「＞」に変更した小さいパンくず
 *
 * ▼ カード・ボックス
 * .tgd-target-card                 - ご担当者様向け2カラムカード（濃緑ヘッダー付き）
 * .tgd-check                       - チェック項目リスト（罫線区切り）
 * .tgd-note                        - 左太罫線の注釈ボックス
 * .tgd-strength                    - 強み3カード（画像左上に番号バッジ）
 * .tgd-numbers                     - 数字インパクト帯（縦罫線区切り）
 * .tgd-svc-card                    - 事業内容カード（半透明・枠線・詳細を見る）
 * .tgd-step                        - STEP 01〜05 の横並びフロー
 * .tgd-field                       - 事業内容の3本柱（番号帯＋画像＋リスト）
 * .tgd-qa                           - 静的Q&Aブロック
 * .tgd-philo / .tgd-philo-box      - 企業理念カード（濃緑背景）
 * .tgd-qual                        - 有資格者数カード
 * .tgd-member                      - 所属団体カード
 * .tgd-award                       - 表彰実績カード（右上コーナー装飾）
 * .tgd-merit                       - 採用「4つの魅力」カード
 * .tgd-wantbox / .tgd-tourbox      - 求める人材 / 会社見学ボックス
 * .tgd-works-card                  - 業務実績カード
 * .tgd-cat-nav                     - カテゴリ絞り込みボタン列
 * .tgd-entry                       - 記事本文のタイポグラフィ
 * .tgd-entry-nav                   - 前後記事・一覧へ戻る
 * .tgd-thanks-icon                 - 送信完了のチェックアイコン
 *
 * ▼ ボタン
 * .tgd-btn-line                    - 全幅・角なしのCTAボタン（赤／枠線）
 * .tgd-btn-block                   - ブロック型CTA（3分割・大見出し付き）
 * .tgd-tel-box                     - 電話番号ボックス
 *
 * ▼ テーブル・フォーム
 * .tgd-table                       - 縦罫線なし・th背景付きの定義テーブル
 * .tgd-form ほか                   - フォーム各パーツ（角なし・1px罫線）
 *
 * ======================================
 * 共通SCSSに不足していたもの
 * ======================================
 *
 * ・値の粒度不足：セクション余白 64/72px、幅 820/860/920/960/1000px、
 *   margin/padding 6/22/26/28/32/36/44/48/56/64/72/96/140px、gap 12/14/16/18/24/28/32/48/52px、
 *   font-size 46/52/17/15px 相当（fz-* は 4rem→4.8rem で 4.6rem がない）
 * ・値の粒度不足：grid比率が 5-5/6-4/7-3/4-6/3-7 の5種のみで、1.1:0.9・1.05:0.95・1.32:0.68 が作れない
 * ・状態不足：デザイン元データが content-box 前提のため、min-height / height 指定値に
 *   padding+border を足した値へ読み替える必要があった（例：有資格者カード 132px→175px）
 * ・行間の既定値：本文 line-height:1.9 を継承させたい要素（見出し・日付・ボタン等）に対し、
 *   component 側が 1〜1.6 を固定しているため site.css で 1.9 に戻す指定が多数必要だった
 * ・構造不足：英字(大)＋日本語(小)を「英字→日本語」の順で縦に置き、
 *   英字を sub_color・日本語を base_color にする組み合わせ（heading は英字=base_color 固定）
 * ・構造不足：見出しの右側だけに罫線を伸ばすレイアウト（heading-flanked は左右両側）
 * ・構造不足：画像とテキストを 0.78fr / 1fr で並べ、画像を枠の高さいっぱいに伸ばすカード
 * ・装飾パターン不足：カード右上の三角コーナー装飾
 * ・状態不足：親カード hover で子要素（枠線色＋背景）を同時に変える組み合わせ
 *
 */

/* ==========================================================================
   本文の基本ウェイト（main.css の body は 400＝ブラウザ既定のため上書き）
   ========================================================================== */
body { font-weight: 500; }

/* 改行の出し分け用 br（共通の .sp-only は896px以下＝タブレットも対象になるため別に用意）
   .tgd-br-sp = スマホのみ改行 / .tgd-br-pc = スマホでは改行しない */
.tgd-br-sp { display: none; }
@media (max-width: 639px) {
  .tgd-br-sp { display: inline; }
  .tgd-br-pc { display: none; }
}

/* ==========================================================================
   共通：余白・幅の粒度追加
   ========================================================================== */
.tgd-w-820 { max-width: 820px; margin-left: auto; margin-right: auto; }
.tgd-w-920 { max-width: 920px; margin-left: auto; margin-right: auto; }
.tgd-w-860 { max-width: 860px; margin-left: auto; margin-right: auto; }
.tgd-w-960 { max-width: 960px; margin-left: auto; margin-right: auto; }
.tgd-w-1000 { max-width: 1000px; margin-left: auto; margin-right: auto; }
@media (max-width: 1040px) {
  .tgd-w-820, .tgd-w-860, .tgd-w-920, .tgd-w-960, .tgd-w-1000 { max-width: 95%; }
}

.tgd-sec-64 { padding: 64px 0; }
.tgd-sec-72 { padding: 72px 0; }

.tgd-pt-32 { padding-top: 32px; }
.tgd-pt-56 { padding-top: 56px; }
.tgd-pt-64 { padding-top: 64px; }
.tgd-pt-72 { padding-top: 72px; }
.tgd-pb-56 { padding-bottom: 56px; }
.tgd-pb-64 { padding-bottom: 64px; }
.tgd-pb-72 { padding-bottom: 72px; }
.tgd-pb-96 { padding-bottom: 96px; }
.tgd-pb-140 { padding-bottom: 140px; }

.tgd-gap-12 { gap: 12px; }
.tgd-gap-14 { gap: 14px; }
.tgd-gap-16 { gap: 16px; }
.tgd-gap-18 { gap: 18px; }
.tgd-gap-24 { gap: 24px; }
.tgd-gap-28 { gap: 28px; }
.tgd-gap-32 { gap: 32px; }
.tgd-gap-48 { gap: 48px; }
.tgd-gap-52 { gap: 52px; }

/* デザイン固有のカラム比率 */
.tgd-cta-row { grid-template-columns: 1.1fr 0.9fr; }
.tgd-recruit-row { grid-template-columns: 1.05fr 0.95fr; }
.tgd-license-row { grid-template-columns: 1.32fr 0.68fr; }
@media (max-width: 896px) {
  .tgd-cta-row,
  .tgd-recruit-row,
  .tgd-license-row { grid-template-columns: 1fr; }
}

.tgd-mt-6 { margin-top: 6px; }
.tgd-mb-22 { margin-bottom: 22px; }
/* 画像を枠いっぱいに敷くラッパー */
.tgd-imgbox { overflow: hidden; }
.tgd-imgbox img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tgd-mb-28 { margin-bottom: 28px; }
.tgd-mb-36 { margin-bottom: 36px; }
.tgd-mb-44 { margin-bottom: 44px; }
.tgd-mb-26 { margin-bottom: 26px; }
.tgd-mt-14 { margin-top: 14px; }
.tgd-mt-26 { margin-top: 26px; }
.tgd-mt-28 { margin-top: 28px; }
.tgd-mt-44 { margin-top: 44px; }
.tgd-mt-48 { margin-top: 48px; }

@media (max-width: 896px) {
  .tgd-sec-64 { padding: 32px 0; }
  .tgd-sec-72 { padding: 36px 0; }
  .tgd-pt-56 { padding-top: 28px; }
  .tgd-pt-64 { padding-top: 32px; }
  .tgd-pt-72 { padding-top: 36px; }
  .tgd-pb-56 { padding-bottom: 28px; }
  .tgd-pb-64 { padding-bottom: 32px; }
  .tgd-pb-72 { padding-bottom: 36px; }
  .tgd-pb-96 { padding-bottom: 48px; }
  .tgd-pb-140 { padding-bottom: 70px; }
}

/* ==========================================================================
   セクション見出し（Jost英字 + 日本語）
   ========================================================================== */
.tgd-heading .heading__en {
  display: block;
  font-family: "Jost", sans-serif;
  font-size: 4.6rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.05;
  color: #048104;
}
.tgd-heading .heading__ja {
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.9;
  letter-spacing: normal;
  color: #10301F;
  margin-top: 14px;
}
/* TOPページのセクション見出しのみ字間あり */
.tgd-heading--ls .heading__ja { letter-spacing: 0.03em; }
.tgd-heading.heading--white .heading__en,
.tgd-heading.heading--white .heading__ja { color: #fff; }

.tgd-heading--sm .heading__en { font-size: 3rem; line-height: 1; letter-spacing: normal; }
.tgd-heading--sm .heading__ja { font-size: 1.5rem; margin-top: 0; }

/* 見出し右に伸びる罫線（所属団体・表彰実績） */
.tgd-heading-rule { display: flex; align-items: center; gap: 14px; }
.tgd-heading-rule .heading__en { flex-shrink: 0; }
.tgd-heading-rule .heading__ja { flex-shrink: 0; }
.tgd-heading-rule::after { content: ""; flex: 1; height: 1px; background: #C9D2BF; }

/* リード見出し */
.tgd-lead { font-size: 3rem; font-weight: 700; line-height: 1.7; color: #10301F; }
.tgd-lead--sm { font-size: 2.7rem; }
.tgd-lead--lg { font-size: 3.2rem; line-height: 1.65; }
.tgd-lead--band { font-size: 2.8rem; line-height: 1.7; }

.tgd-body { font-size: 1.5rem; line-height: 2.1; color: #4A5A4E; }
.tgd-body--lh2 { line-height: 2; }
.tgd-body--dark { color: #3B4A3F; }
.tgd-body--txt { color: #222B24; }
.tgd-body--lg { font-size: 1.6rem; line-height: 2.1; color: #222B24; }
.tgd-note-sm { font-size: 1.3rem; line-height: 1.95; color: #048104; }
.tgd-caption { font-size: 1.3rem; line-height: 1.9; color: #5C6B5F; }

/* ==========================================================================
   ヘッダー（透過・92px・EN+JA 2段ナビ）
   ========================================================================== */
/* スクロール追従。共通componentの .header-sticky は position:absolute で流れていくため
   常時 fixed に変える。最上部は写真に重ねる透過のままで、スクロール後だけ common.js が
   付ける is-fixed で背景を敷く（共通CSSの白背景・黒ロゴは白文字ナビと合わないので上書き） */
.tgd-header { position: fixed; }
.tgd-header.is-fixed {
  /* 半透明にすると下の本文が透けて文字が重なって見えるため不透明にする */
  background: #0C2418;
  box-shadow: 0 2px 12px rgba(9, 32, 20, 0.28);
}
.tgd-header .header__inner,
.tgd-header.is-fixed .header__inner {
  max-width: 100%;
  width: 100%;
  height: 92px;
  padding: 0;
  align-items: flex-start;
  gap: 16px;
  white-space: nowrap;
}
/* 固定ヘッダー（92px）とお知らせバーの下にアンカー先が潜らないようにする */
section[id],
div[id] { scroll-margin-top: 104px; }
/* 電話番号を2.5remに拡大した結果ヘッダー1行が1324pxになり全ページで横スクロールが出たため、
   ロゴ左右とナビ項目の余白を詰めて1280pxに収める（ロゴ-16px / ナビ6項目-36px） */
/* ロゴは40px→60pxへ拡大。ヘッダー1行の高さ92pxは変えないよう上下paddingで吸収する */
.tgd-header .header__logo { padding: 16px; }
.tgd-header .header__logo img { height: 60px; opacity: 0.96; }
/* ロゴの色はナビ英字（.header__nav-en / #D0E720）に合わせる。
   brightness(0) で一度黒に潰してから目的色へ寄せるため、元画像の色に依存しない。
   スクロール後の濃緑背景でも同じ色で見せたいので is-fixed も同じ指定にする
   （従来 is-fixed だけ brightness(0) invert(1) で白にしていたのを置き換え） */
.tgd-header .header__logo img,
.tgd-header.is-fixed .header__logo img {
  filter: brightness(0) saturate(100%) invert(80%) sepia(81%) saturate(466%) hue-rotate(10deg) brightness(96%) contrast(95%);
}
/* ロゴ60pxだとヘッダー1行（ロゴ＋ナビ＋電話＋CTA）に1273px必要になる。
   1280px以下は収まらない（もともと1行がぎりぎり）ので、この帯だけ従来の40pxに戻す */
@media (max-width: 1280px) {
  .tgd-header .header__logo { padding: 22px 16px; }
  .tgd-header .header__logo img { height: 40px; }
}
/* 1100px以下はナビがハンバーガーに変わり横に余裕ができるので拡大サイズへ戻す */
@media (max-width: 1100px) {
  .tgd-header .header__logo { padding: 16px; }
  .tgd-header .header__logo img { height: 60px; }
}
.tgd-header .header__nav { margin-left: auto; margin-right: 0; padding-top: 16px; align-items: stretch; }
.tgd-header .header__nav-item + .header__nav-item { border-left: 1px solid rgba(255, 255, 255, 0.45); }
.tgd-header .header__nav-item a {
  display: block;
  padding: 0 10px;
  text-align: center;
  opacity: 0.82;
}
.tgd-header .header__nav-item a::after { display: none; }
.tgd-header .header__nav-item a:hover { opacity: 1; }
.tgd-header .header__nav-item--current a { opacity: 1; }
.tgd-header .header__nav-en {
  display: block;
  font-family: "Jost", sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.14em;
  color: #D0E720;
}
.tgd-header .header__nav-ja {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.9;
  letter-spacing: 0.02em;
  color: #fff;
  margin-top: 3px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}
.tgd-header .header__right {
  align-items: flex-start;
  height: auto;
  gap: 8px;
  padding: 14px 20px 0 4px;
}
.tgd-header__tel {
  display: flex;
  flex-direction: column;
  text-align: right;
  padding-right: 4px;
}
.tgd-header__tel-num {
  font-family: "Jost", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
  line-height: 1.5;
}
.tgd-header__tel-num:hover { color: #D0E720; opacity: 1; }
.tgd-header__tel-num i { margin-right: 5px; font-size: 0.85em; }
.tgd-header__tel-note {
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.9;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}
.tgd-header .header__cta {
  flex-direction: row;
  height: auto;
  padding: 11px 16px;
  background: #F74E4F;
  font-size: 1.3rem;
  font-weight: 700;
}
.tgd-header .header__cta:hover { background: #dd3f40; }
.tgd-header .header__cta i { margin-right: 6px; }

/* ==========================================================================
   メインビュー
   ========================================================================== */
.tgd-mv {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background: #10301F;
}
#slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  z-index: 1; /* スライダー内部のz-index（最大3）を閉じ込め、暗幕とキャッチを常に上に置く */
}
/* CMSスライダーは管理画面の設定値（100vh）を自前のstyleで出力するため、#slideshowの高さに追従させる。
   レスポンシブで80vh/70vhに切り替わる際やmin-height:640pxが効く場面でズレるのを防ぐ。 */
#slideshow #cms-slider-1-1-area,
#slideshow #main_slider.slider_wrapper,
#slideshow #main_slider .main_slider__outer { height: 100%; }
#slideshow .swiper-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

.tgd-mv__veil {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(90deg, rgba(9, 32, 20, 0.58) 0%, rgba(9, 32, 20, 0.3) 55%, rgba(9, 32, 20, 0.05) 100%);
  pointer-events: none;
  z-index: 2;
}
.tgd-mv__body {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  display: flex;
  align-items: center;
  pointer-events: none;
  z-index: 3;
  /* 上部のお知らせボックス（下端 約159px）の分を確保する。確保しないと、MVが短いビューポートや
     幅が狭い時にキャッチコピーが箱の下に潜る（実測：640×800で重なり発生）。
     下余白を詰めているのは、キャッチを「箱の下端〜MV下端」の中央に置いて上下の余白を揃えるため */
  padding-top: 168px;
  padding-bottom: 12px;
}
/* MV上部の最新お知らせ1行。ヘッダー（92px固定）の直下・右寄せに置く。
   写真の上に重なるため帯（暗幕）ではなく白系ボックス1枚にし、文字は濃色で読ませる。
   .tgd-mv__body は pointer-events:none なので、こちらはリンクを踏めるよう auto に戻す */
.tgd-mv__info {
  position: fixed;
  top: 92px;
  left: 0;
  right: 0;
  /* ヘッダー(100)より下・SPナビ(200)より下。本文の上には常に出す */
  z-index: 90;
  padding: 24px 0;
  pointer-events: none;
}
.tgd-mv__info-inner { display: flex; justify-content: flex-end; }
/* PCナビ帯（1101px〜）では、ヘッダーは --flush-right で全幅・お問い合わせボタンが右端から20px。
   .container のままだと1240pxで止まり、画面が広いほどヘッダー右端と離れて見えるので、
   コンテナ幅を外して右端をボタンと揃える。1100px以下はボタン自体が消えるのでコンテナ基準のまま */
@media (min-width: 1101px) {
  .tgd-mv__info-inner { max-width: none; padding-right: 20px; }
}
/* 白系ボックス本体。角丸ゼロのサイト方針に合わせ、効き色は左罫線で出す */
.tgd-mv__info-box {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 560px;
  padding: 11px 18px;
  background: rgba(252, 252, 249, 0.95);
  border-left: 3px solid #048104;
  box-shadow: 0 2px 12px rgba(9, 32, 20, 0.2);
  pointer-events: auto;
}
.tgd-mv__info-en {
  flex: none;
  font-family: "Jost", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.6;
  color: #048104;
}
.tgd-mv__info-list { min-width: 0; flex: 1; }
/* 1行に保つ（2件目以降は非表示） */
.tgd-mv__info-list .blog-list__item + .blog-list__item { display: none; }
/* 共通の記事リストは1件ごとに下罫線が付くが、箱の中では余計な横線に見えるため消す */
.tgd-mv__info-list .blog-list__item { border-bottom: 0; }
.tgd-mv__info-list .blog-list__link {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 0;
  border: 0;
}
.tgd-mv__info-list .blog-list__date {
  flex: none;
  font-family: "Jost", sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  color: #5B6B60;
}
/* 日付と見出しの間の区切り罫。参考デザインの「日付｜見出し」の見せ方に合わせる */
.tgd-mv__info-list .blog-list__title {
  min-width: 0;
  padding-left: 14px;
  border-left: 1px solid #C9D2BF;
  font-size: 1.3rem;
  line-height: 1.6;
  color: #10301F;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* 小さい文字に下線を敷くと読みにくいので、遷移先があることは行末の矢印で示し、下線はホバー時のみ */
.tgd-mv__info-list .blog-list__title a { color: #10301F; text-decoration: none; }
.tgd-mv__info-list .blog-list__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.tgd-mv__info-arrow { flex: none; font-size: 1.2rem; color: #048104; }

.tgd-mv__badge {
  display: inline-block;
  background: #D0E720;
  color: #10301F;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 7px 14px;
}
.tgd-mv__title {
  margin-top: 26px;
  color: #fff;
  font-size: 5.5rem;
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0em;
}
.tgd-mv__lead {
  margin-top: 28px;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 2;
}
@media (max-width: 896px) {
  .tgd-mv, #slideshow { height: 80vh; min-height: 480px; }
  .tgd-mv__title { font-size: 3.4rem; }
}
@media (max-width: 639px) {
  /* スマホはMV高さ78vh。CMSスライダー側は #slideshow に height:100% で追従する */
  .tgd-mv, #slideshow { height: 78vh; min-height: 520px; }
  /* キャッチ上のバッジは2行に折り返すため、スマホは1段小さくして letter-spacing も詰める */
  .tgd-mv__badge { font-size: 1.2rem; letter-spacing: 0.08em; padding: 6px 12px; }
  .tgd-mv__title { font-size: 2.4rem; margin-top: 18px; }
  .tgd-mv__lead { font-size: 1.3rem; margin-top: 18px; }
  /* スマホは画面上部を塞がないよう、お知らせを画面下部固定のバーにする。
     効き色の罫線は左から上に移し、影も上向きにして画面下に貼り付いて見せる */
  .tgd-mv__info {
    top: auto;
    bottom: 0;
    padding: 0;
  }
  /* 横幅いっぱいに敷く。.container の左右余白（SPは20px）を消すため、後方の
     `.container{padding:0 20px}` に負けないよう2クラスで詳細度を上げる */
  .tgd-mv__info .tgd-mv__info-inner { max-width: none; padding: 0; }
  .tgd-mv__info-box {
    max-width: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding: 9px 16px;
    /* 下に本文が透けないよう透過なしのベタ塗り */
    background: #FCFCF9;
    border-left: 0;
    border-top: 3px solid #048104;
    box-shadow: 0 -2px 12px rgba(9, 32, 20, 0.28);
  }
  .tgd-mv__info-list { width: 100%; }
  .tgd-mv__info-list .blog-list__link { gap: 10px; }
  .tgd-mv__info-list .blog-list__title { padding-left: 10px; font-size: 1.2rem; }
  /* 縦積みだと矢印を行末に置けないため出さない */
  .tgd-mv__info-arrow { display: none; }
  /* バーが上部から外れたので、キャッチは通常の中央寄せに戻す */
  .tgd-mv__body { padding-top: 0; padding-bottom: 0; }
}

/* ==========================================================================
   下層ページヒーロー / パンくず
   ========================================================================== */
.tgd-page-hero { background: #10301F; }
/* 統一ヒーロー画像（空が広い縦1081px）は下寄りをトリミングして見せる */
.tgd-page-hero .page-hero__bg { object-position: 50% 80%; }
/* 写真の上側を見せたいページ用。採用情報は下80%だと路面だけが写るので、樹冠と園路が入る位置まで
   写真を下にずらす（object-position の Y を小さくすると、見える範囲が写真の上側へ移動する） */
.tgd-page-hero .tgd-page-hero__bg--upper { object-position: 50% 45%; }
/* 写真の上寄りを見せ、下側を切り落とすページ用（業務実績・業務実績詳細）。
   ヤシの樹冠が写真の上部にあり、既定の中央基準だと帯に入りきらないため。
   ただし上端ぴったり（0）だと空だけが目立つので、樹冠が帯の中央に来る12%に置く。
   事業内容・お問い合わせは中央基準（クラスなし）で指定 */
.tgd-page-hero .tgd-page-hero__bg--top { object-position: 50% 12%; }
/* 中央よりやや上を見せるページ用（事業内容）。中央（50%）だと遊具の上部が帯から外れるため */
.tgd-page-hero .tgd-page-hero__bg--mid-upper { object-position: 50% 30%; }
/* 共通の .h-280（280px）より高さを出す */
.tgd-page-hero.h-280 { height: 340px; }
.tgd-page-hero .page-hero__content { justify-content: center; }
.tgd-page-hero .heading__en {
  display: block;
  font-family: "Jost", sans-serif;
  font-size: 5.2rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.05;
  color: #D0E720;
}
.tgd-page-hero .heading__ja {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.9;
  letter-spacing: 0.06em;
  color: #fff;
  margin-top: 12px;
}
.tgd-page-hero__veil {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(90deg, rgba(9, 32, 20, 0.8), rgba(9, 32, 20, 0.25));
  z-index: 1;
  pointer-events: none;
}
.tgd-page-spacer { height: 92px; background: #10301F; }

.tgd-breadcrumb { padding: 16px 0; font-size: 1.2rem; }
.tgd-breadcrumb--flush { padding: 0; }
.tgd-breadcrumb .breadcrumb__link { color: #7C8B7F; }
.tgd-breadcrumb .breadcrumb__current { color: #7C8B7F; }
.tgd-breadcrumb .breadcrumb__item:not(:last-child)::after { content: "＞"; color: #7C8B7F; }

/* ==========================================================================
   TOP：ご担当者様へ（2カラムカード）
   ========================================================================== */
.tgd-target-card { background: #fff; }
.tgd-target-card__head { background: #10301F; padding: 28px 40px; }
.tgd-target-card__badge {
  display: inline-block;
  background: #D0E720;
  color: #10301F;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 6px 12px;
}
.tgd-target-card__title {
  margin-top: 16px;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.55;
  color: #fff;
}
.tgd-target-card__body { padding: 36px 40px 40px; }
.tgd-target-card__to {
  font-size: 1.4rem;
  line-height: 1.95;
  color: #5C6B5F;
  padding-bottom: 22px;
  border-bottom: 1px solid #E2E7DA;
}
.tgd-target-card__text { margin-top: 22px; font-size: 1.6rem; line-height: 2.05; }

.tgd-check__title {
  font-size: 1.7rem;
  font-weight: 700;
  color: #10301F;
  padding-bottom: 12px;
  border-bottom: 2px solid #10301F;
}
.tgd-check__item {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #E2E7DA;
  font-size: 1.5rem;
  line-height: 1.85;
}
.tgd-check__item i { color: #10301F; font-size: 0.9em; padding-top: 0.45em; }
.tgd-check__row { padding: 14px 0; border-bottom: 1px solid #E2E7DA; }
.tgd-check__q {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  font-size: 1.5rem;
  line-height: 1.85;
  font-weight: 700;
  color: #10301F;
}
.tgd-check__q i { font-size: 0.9em; padding-top: 0.45em; }
.tgd-check__a {
  margin-top: 8px;
  padding-left: 34px;
  font-size: 1.5rem;
  line-height: 1.85;
  color: #4A5A4E;
}

.tgd-note {
  background: #EEF3E4;
  border-left: 4px solid #10301F;
  padding: 20px 22px;
  font-size: 1.5rem;
  line-height: 1.95;
  font-weight: 500;
  color: #223126;
}

/* ==========================================================================
   ボタン（角なし・全幅）
   ========================================================================== */
.tgd-btn-line {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: none;
  border-radius: 0;
  text-align: center;
  font-weight: 700;
  line-height: 1.9;
  transition: all 0.2s ease;
}
.tgd-btn-line i { margin-right: 8px; }
.tgd-btn-line--outline {
  border: 2px solid #10301F;
  color: #10301F;
  background: transparent;
  padding: 15px;
  font-size: 1.5rem;
}
.tgd-btn-line--outline:hover { background: #10301F; color: #fff; opacity: 1; }
.tgd-btn-line--accent {
  border: none;
  background: #F74E4F;
  color: #fff;
  padding: 17px;
  font-size: 1.6rem;
}
.tgd-btn-line--accent:hover { background: #dd3f40; color: #fff; opacity: 1; }
.tgd-btn-line--sm {
  display: inline-flex;
  width: auto;
  border: 2px solid #10301F;
  color: #10301F;
  padding: 11px 22px;
  font-size: 1.4rem;
}
.tgd-btn-line--sm:hover { background: #10301F; color: #fff; opacity: 1; }
.tgd-btn-line--md {
  display: inline-flex;
  width: auto;
  border: 2px solid #10301F;
  color: #10301F;
  padding: 14px 34px;
  font-size: 1.5rem;
}
.tgd-btn-line--md:hover { background: #10301F; color: #fff; opacity: 1; }

/* ブロック型CTA（3分割・2分割） */
.tgd-btn-block {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.7;
  color: #fff;
  transition: background 0.2s ease;
}
.tgd-btn-block:hover { color: #fff; opacity: 1; }
.tgd-btn-block--base { background: #10301F; }
.tgd-btn-block--base:hover { background: #1a4a30; }
.tgd-btn-block--sub { background: #048104; }
.tgd-btn-block--sub:hover { background: #036803; }
.tgd-btn-block--accent { background: #F74E4F; }
.tgd-btn-block--accent:hover { background: #dd3f40; }

/* 電話番号ボックス */
.tgd-tel-box {
  background: #fff;
  border: 1px solid #C9D2BF;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.tgd-tel-box__label { font-size: 1.7rem; font-weight: 700; color: #10301F; letter-spacing: 0.06em; }
.tgd-tel-box__label i { margin-right: 6px; }
.tgd-tel-box__note { font-size: 1.2rem; color: #7C8B7F; margin-top: 2px; }
.tgd-tel-box__num {
  font-family: "Jost", sans-serif;
  font-size: 3rem;
  font-weight: 600;
  color: #10301F;
  line-height: 1;
  white-space: nowrap;
}
.tgd-tel-box--outline { background: transparent; border: 2px solid #10301F; padding: 26px; text-align: center; display: block; }
.tgd-tel-box--outline .tgd-tel-box__label { font-size: 1.55rem; font-weight: 500; color: #5C6B5F; }
.tgd-tel-box--outline .tgd-tel-box__num { display: block; line-height: 1.2; }

.tgd-cta-mail {
  display: block;
  background: #F74E4F;
  color: #fff;
  padding: 22px 26px;
  transition: background 0.2s ease;
}
.tgd-cta-mail:hover { background: #dd3f40; color: #fff; opacity: 1; }
.tgd-cta-mail__title { display: block; font-size: 1.7rem; font-weight: 700; }
.tgd-cta-mail__title i { margin-right: 8px; }
.tgd-cta-mail__note { display: block; font-size: 1.2rem; margin-top: 6px; line-height: 1.7; opacity: 0.9; }
.tgd-cta-mail--center {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 26px;
  font-size: 1.8rem;
  font-weight: 700;
}

/* ==========================================================================
   TOP：お知らせ（見出し＋罫線）
   ========================================================================== */
.tgd-news-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 2px solid #10301F;
  padding-bottom: 18px;
}
/* 4件目以降は一覧内スクロール（1行 = padding22×2 + 行高27.2 + 罫線1px ≒ 72px） */
.tgd-news .blog-list {
  border-top: none;
  --news-row-h: 72px;
  max-height: calc(var(--news-row-h) * 3);
  overflow-y: auto;
}
/* CMS埋め込み用のspan。<li>がulの直接の子として流れるよう箱を消す */
.tgd-news .blog-list > span { display: contents; }

/* grid内にCMS埋め込みspanが入る場合、spanがgridアイテムになってしまうのを回避 */
.tgd-cms-grid > span { display: contents; }

/* 業務実績一覧：1ページ100件表示のため、超えた分は一覧内スクロールにする。
   PC（3カラム）は9件＝3行分までを表示し、10件目からスクロール。
   3行目の下端はタイトルの行数で変わるため、実測値を common.js が max-height に入れる。
   下の 100vh はJSが動かない場合のフォールバック。 */
.tgd-works-scroll {
  max-height: 100vh;
  overflow-y: auto;
  align-content: start;
}
.tgd-news .blog-list__item { border-bottom: 1px solid #E2E7DA; }
.tgd-news .blog-list__link { align-items: center; gap: 28px; padding: 22px 4px; }
.tgd-news .blog-list__date {
  width: 130px;
  flex-shrink: 0;
  font-size: 1.4rem;
  line-height: 1.9;
  color: #7C8B7F;
  letter-spacing: 0.06em;
}
.tgd-news .blog-list__title { font-size: 1.6rem; font-weight: 500; line-height: 1.7; }

/* ==========================================================================
   TOP：強み3カード + 数字帯
   ========================================================================== */
.tgd-strength { border: 1px solid #E2E7DA; background: #fff; }
.tgd-strength__img { position: relative; height: 260px; }
.tgd-strength__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tgd-strength__num {
  position: absolute;
  top: 0;
  left: 0;
  background: #D0E720;
  color: #10301F;
  font-family: "Jost", sans-serif;
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1;
  padding: 12px 16px;
}
.tgd-strength__body { padding: 30px; }
.tgd-strength__title { font-size: 2rem; font-weight: 700; line-height: 1.6; color: #10301F; }
.tgd-strength__text { margin-top: 14px; font-size: 1.4rem; line-height: 1.95; color: #4A5A4E; }

.tgd-numbers {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 32px;
  background: #F4F6F0;
}
.tgd-numbers__item { text-align: center; }
.tgd-numbers__value {
  font-family: "Jost", sans-serif;
  font-size: 3.8rem;
  font-weight: 600;
  color: #10301F;
  line-height: 1.9;
}
.tgd-numbers__value span { font-size: 1.6rem; }
/* 数字の前に置く見出し（例：保有資格　延べ）。和文なので本文フォントに戻す */
.tgd-numbers__pre {
  font-family: "游ゴシック", "Yu Gothic", YuGothic, "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  font-weight: 700;
  margin-right: 4px;
}
.tgd-numbers__label { font-size: 1.3rem; color: #5C6B5F; margin-top: 4px; }
.tgd-numbers__line { width: 1px; background: #DDE2D5; }

/* ==========================================================================
   TOP：事業内容カード（写真背景セクション）
   ========================================================================== */
.tgd-svc-bg { position: relative; background: #10301F center / cover no-repeat; }
.tgd-svc-bg__veil {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(9, 32, 20, 0.78);
}
.tgd-svc-bg > .container { position: relative; z-index: 1; }

.tgd-svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.06);
  padding: 36px 32px 32px;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.tgd-svc-card:hover { background: rgba(208, 231, 32, 0.14); border-color: #D0E720; opacity: 1; }
.tgd-svc-card__num {
  display: block;
  font-family: "Jost", sans-serif;
  font-size: 5.2rem;
  font-weight: 600;
  line-height: 1;
  color: #D0E720;
}
.tgd-svc-card__label {
  display: block;
  margin-top: 20px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.75);
}
.tgd-svc-card__title {
  margin-top: 10px;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.6;
  color: #fff;
}
.tgd-svc-card__more {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 1.4rem;
  font-weight: 700;
  color: #D0E720;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ==========================================================================
   TOP：ご相談の流れ（STEP）
   ========================================================================== */
.tgd-step {
  display: grid;
  grid-template-columns: 112px 1fr;
  border: 1px solid #E2E7DA;
  background: #fff;
}
.tgd-step__no {
  background: #048104;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 28px 0;
}
.tgd-step__en {
  font-family: "Jost", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  color: #9DAE93;
  line-height: 1.9;
}
.tgd-step__num {
  font-family: "Jost", sans-serif;
  font-size: 4.6rem;
  font-weight: 600;
  color: #fff;
  line-height: 1;
}
.tgd-step__body { padding: 32px 36px; }
.tgd-step__title { font-size: 2.1rem; font-weight: 700; color: #10301F; line-height: 1.5; }
.tgd-step__text { margin-top: 14px; font-size: 1.5rem; line-height: 2; }

@media (max-width: 639px) {
  /* 左80pxの番号列だと本文が228pxしか取れず、緑帯も間延びするので
     「STEP 01」を横並びのヘッダー帯にして本文を全幅で使う */
  .tgd-step { grid-template-columns: 1fr; }
  .tgd-step__no {
    flex-direction: row;
    align-items: baseline;
    justify-content: flex-start;
    gap: 10px;
    padding: 10px 20px;
  }
  .tgd-step__en { color: rgba(255, 255, 255, 0.8); }
  .tgd-step__num { font-size: 2.4rem; }
  .tgd-step__body { padding: 20px; }
}

/* ==========================================================================
   事業内容ページ：3本柱
   ========================================================================== */
.tgd-field__head {
  background: #10301F;
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
}
.tgd-field__num {
  font-family: "Jost", sans-serif;
  font-size: 4.4rem;
  font-weight: 600;
  color: #D0E720;
  line-height: 1;
  text-align: center;
}
.tgd-field__headbody {
  padding: 22px 32px 22px 0;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}
.tgd-field__title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.45;
  padding-left: 28px;
}
.tgd-field__sub { margin-top: 6px; font-size: 1.4rem; color: #D0E720; padding-left: 28px; }
.tgd-field__main {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  align-items: start;
  border: 1px solid #E2E7DA;
  border-top: none;
  background: #fff;
}
.tgd-field__main--reverse { grid-template-columns: 1fr 0.95fr; }
/* 写真は左右も上下も切らない（object-fit:contain）。
   画像を img ではなくラッパー側で sticky にし、align-self:start で高さを写真ぶんに留めることで
   グリッドエリア（＝テキストの高さ）の範囲を追従する。
   img を height:100% のまま sticky にすると列いっぱいの高さになり追従の余地がなくなるため、
   sticky はこちらに置く */
.tgd-field__img {
  align-self: start;
  position: sticky;
  top: 112px; /* 固定ヘッダー92px＋20px */
}
.tgd-field__img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.tgd-field__list { padding: 36px 40px; display: flex; flex-direction: column; gap: 34px; }
/* ラベルは列幅いっぱいの下線をやめ、左縦バーで見出しとして立てる
   （__subtitle は03カードの見出し。01/02と体裁を揃えるため同じ指定にする） */
.tgd-field__label,
.tgd-field__subtitle {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #10301F;
  padding-left: 14px;
  border-left: 4px solid #048104;
}
.tgd-field__items {
  margin-top: 14px;
  font-size: 1.5rem;
  line-height: 1.95;
  color: #3B4A3F;
}
/* 行頭マーカーをライムの丸にし、ぶら下げて折り返し行を揃える。
   破線で項目の境界を明示する（PHP側の「・」は削除済み） */
.tgd-field__items p {
  padding: 5px 0 5px 16px;
  text-indent: -16px;
  border-bottom: 1px dashed #E2E7DA;
}
.tgd-field__items p::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: #D0E720;
  vertical-align: 0.15em;
  text-indent: 0;
}
.tgd-field__items p:first-child { padding-top: 0; }
.tgd-field__items p:last-child { padding-bottom: 0; border-bottom: none; }
.tgd-field__text { margin-top: 14px; font-size: 1.5rem; line-height: 1.95; color: #3B4A3F; }

/* 2カラムのままだと画像列が細くなり、写真の高さがテキストに全く追いつかない
   （1100px以下は画像の下に300〜480pxの空白が出る）。1カラムに倒して画像を上に全幅で置く */
@media (max-width: 1100px) {
  .tgd-field__main,
  .tgd-field__main--reverse { grid-template-columns: 1fr; }
  /* 1カラムでは画像がテキストの上に来るので追従は解除する */
  .tgd-field__img { grid-row: 1; position: static; }
  /* カード幅いっぱいに伸ばすと元画像（横640px）を1.6倍に引き伸ばしてぼやけるため、
     720pxで止めて中央に置く */
  .tgd-field__img img {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }
  .tgd-field__list { padding: 24px; }
}
@media (max-width: 896px) {
  .tgd-field__list { padding: 24px; }
}

/* ==========================================================================
   Q&A（静的）
   ========================================================================== */
.tgd-qa { background: #fff; padding: 30px; }
.tgd-qa--bordered { border: 1px solid #E2E7DA; padding: 28px; }
.tgd-qa__q { display: flex; gap: 14px; }
.tgd-qa__q-mark {
  font-family: "Jost", sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #D0E720;
  line-height: 1.4;
}
.tgd-qa__q-text { font-size: 1.7rem; font-weight: 700; line-height: 1.7; color: #10301F; }
.tgd-qa__a {
  display: flex;
  gap: 14px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #E2E7DA;
}
.tgd-qa__a-mark {
  font-family: "Jost", sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #10301F;
  line-height: 1.6;
}
.tgd-qa__a-text { font-size: 1.5rem; line-height: 2; color: #4A5A4E; }

/* ==========================================================================
   会社概要
   ========================================================================== */
.tgd-philo {
  border: 1px solid rgba(206, 232, 29, 0.4);
  padding: 32px;
}
.tgd-philo__num {
  font-family: "Jost", sans-serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.18em;
  color: #D0E720;
}
.tgd-philo__text { margin-top: 12px; font-size: 1.7rem; line-height: 1.9; color: #fff; font-weight: 500; }

/* 理念3項＋社名の由来。原文どおりに載せると1枚ごとの分量差が大きく、横並びカードだと
   短い枠に余白が空いて長い枠だけ詰まる。見出し左・本文右の行型を縦に並べて分量差を吸収する */
.tgd-philo-list { display: grid; grid-template-columns: 1fr; gap: 16px; }
.tgd-philo-box {
  background: rgba(255, 255, 255, 0.06);
  padding: 28px 34px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}
.tgd-philo-box__title { font-size: 1.7rem; font-weight: 700; line-height: 1.7; color: #D0E720; }
.tgd-philo-box__text { font-size: 1.5rem; line-height: 2; color: rgba(255, 255, 255, 0.86); }
/* タブレット以下は見出し左の枠が窮屈になるため、見出し上・本文下の縦積みに切り替える */
@media (max-width: 896px) {
  .tgd-philo-box { grid-template-columns: 1fr; gap: 10px; padding: 24px 22px; }
}

.tgd-sign { margin-top: 24px; font-size: 1.4rem; color: #10301F; font-weight: 700; }

/* 会社概要「私たちのフィールド」。4枚とも4:3なので高さを指定せず原寸比で並べる
   （高さ固定＋object-fit:cover は左右が切り落とされるため使わない） */
.tgd-ourfield img { width: 100%; height: auto; display: block; }
.tgd-ourfield__cap { margin-top: 10px; }

/* 会社概要「社名の由来」。見出し・本文とも中央揃え。
   中央揃えは行末がばらつくので、行の長さを均す balance と文節での改行を併用する */
.tgd-origin__body {
  text-align: center;
  text-wrap: balance;
  word-break: auto-phrase;
}
/* スマホは中央揃えだと行頭が揃わず読みにくいので、本文だけ左揃えに戻す（見出しは中央のまま）。
   balance / auto-phrase も外して通常の折り返しにする */
@media (max-width: 639px) {
  .tgd-origin__body {
    text-align: left;
    text-wrap: wrap;
    word-break: normal;
  }
}

/* 14件を4列カード（min-height 175px）で並べると中央が空洞になり最終行も欠けるため、
   下段の所属団体カードと同じ「白地＋緑の左バー」の行型に変更 */
/* 並び順（上位資格が上）をそのまま読ませるため1列。2列だと左右交互になり順序が伝わらない */
.tgd-qual-list { display: grid; grid-template-columns: 1fr; gap: 12px; }
.tgd-qual {
  background: #fff;
  border-left: 3px solid #048104;
  padding: 14px 20px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.tgd-qual__name { font-size: 1.5rem; font-weight: 700; line-height: 1.65; color: #10301F; }
.tgd-qual__num { flex: none; display: flex; align-items: baseline; gap: 3px; }
.tgd-qual__value {
  font-family: "Jost", sans-serif;
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1;
  color: #048104;
}
.tgd-qual__unit { font-size: 1.3rem; font-weight: 700; color: #5C6B5F; }

.tgd-member { background: #fff; border-left: 3px solid #048104; padding: 16px 20px; }
.tgd-member__type { font-size: 1.3rem; letter-spacing: 0.06em; color: #7C8B7F; }
.tgd-member__name { margin-top: 4px; font-size: 1.5rem; font-weight: 700; line-height: 1.55; color: #10301F; }

.tgd-award { position: relative; background: #10301F; padding: 32px 30px; }
.tgd-award::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 42px 42px 0;
  border-color: transparent #D0E720 transparent transparent;
}
.tgd-award__badge {
  display: inline-block;
  background: #D0E720;
  color: #10301F;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 5px 12px;
}
.tgd-award__title { margin-top: 16px; font-size: 1.9rem; font-weight: 700; line-height: 1.6; color: #fff; }

/* Googleマップ埋め込み（デザイン元のプレースホルダ 400px+border2 = 402px を踏襲） */
.tgd-map {
  height: 402px;
  border: 1px solid #C9D2BF;
  background: #E8ECE2;
}

/* ==========================================================================
   採用情報
   ========================================================================== */
/* 画像は横幅いっぱい（カード幅608px）の上下積み。
   本文幅 552px が確保されるため、最長タイトル（433px）も1行で収まる。 */
.tgd-merit { display: grid; grid-template-rows: auto 1fr; border: 1px solid #E2E7DA; background: #fff; }
.tgd-merit__img { height: 320px; overflow: hidden; }
.tgd-merit__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tgd-merit__body { padding: 28px; }
.tgd-merit__no {
  font-family: "Jost", sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.18em;
  color: #D0E720;
}
.tgd-merit__title { margin-top: 8px; font-size: 1.8rem; font-weight: 700; line-height: 1.65; color: #10301F; }
.tgd-merit__text { margin-top: 12px; font-size: 1.4rem; line-height: 1.95; color: #4A5A4E; }

.tgd-wantbox { background: #fff; padding: 24px; }
.tgd-wantbox__title { font-size: 1.5rem; font-weight: 700; color: #10301F; }
.tgd-wantbox__text { margin-top: 8px; font-size: 1.4rem; line-height: 1.95; color: #4A5A4E; }

.tgd-tourbox { background: #10301F; color: #fff; padding: 32px; }
.tgd-tourbox p { font-size: 1.5rem; line-height: 2; color: rgba(255, 255, 255, 0.9); }
.tgd-tourbox .tgd-tourbox__note { font-size: 1.4rem; }
.tgd-tourbox__list { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.tgd-tourbox__list li { font-size: 1.4rem; color: #D0E720; }

@media (max-width: 639px) {
  .tgd-merit__img { height: 180px; }
}

/* ==========================================================================
   業務実績
   ========================================================================== */
.tgd-cat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 36px;
  border-bottom: 1px solid #E2E7DA;
}
.tgd-cat-nav__item {
  font-size: 1.3rem;
  font-weight: 700;
  padding: 9px 18px;
  background: #F4F6F0;
  color: #3B4A3F;
  transition: all 0.2s ease;
}
.tgd-cat-nav__item:hover { background: #E2E7DA; color: #10301F; opacity: 1; }
.tgd-cat-nav__item.is-current { background: #10301F; color: #fff; pointer-events: none; }

.tgd-works-card { display: block; color: #222B24; transition: opacity 0.25s ease; }
.tgd-works-card:hover { opacity: 0.86; color: #222B24; }
.tgd-works-card__img { height: 230px; overflow: hidden; }
.tgd-works-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tgd-works-card__meta { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.tgd-works-card__cat {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #10301F;
  background: #D0E720;
  padding: 4px 10px;
}
.tgd-works-card__date { font-family: "Jost", sans-serif; font-size: 1.3rem; color: #7C8B7F; }
.tgd-works-card__title { margin-top: 10px; font-size: 1.7rem; font-weight: 700; line-height: 1.7; color: #10301F; }

.tgd-pagination { margin: 56px 0 0; }
.tgd-pagination .pagination__link {
  min-width: 42px;
  height: 42px;
  padding: 0;
  border-color: #C9D2BF;
  color: #10301F;
  font-family: "Jost", sans-serif;
  font-size: 1.4rem;
}
.tgd-pagination .pagination__link--next { padding: 0 16px; font-family: inherit; font-size: 1.3rem; }
.tgd-pagination .pagination__link.is-current { background: #10301F; border-color: #10301F; color: #fff; }

/* ==========================================================================
   記事詳細
   ========================================================================== */
.tgd-entry__meta { display: flex; align-items: center; gap: 14px; }
.tgd-entry__cat {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #10301F;
  background: #D0E720;
  padding: 5px 12px;
}
.tgd-entry__date { font-family: "Jost", sans-serif; font-size: 1.4rem; color: #7C8B7F; }
.tgd-entry__title { margin-top: 18px; font-size: 3rem; font-weight: 700; line-height: 1.65; color: #10301F; }
.tgd-entry__eyecatch { margin-top: 28px; height: 420px; overflow: hidden; }
.tgd-entry__eyecatch img { width: 100%; height: 100%; object-fit: cover; display: block; }

.tgd-entry-body { margin-top: 32px; font-size: 1.6rem; line-height: 2.1; color: #3B4A3F; }
.tgd-entry-body > * + * { margin-top: 20px; }
.tgd-entry-body h2 {
  margin-top: 36px;
  font-size: 2.2rem;
  font-weight: 700;
  color: #10301F;
  border-left: 5px solid #D0E720;
  padding-left: 14px;
}
.tgd-entry-body h3 { margin-top: 36px; font-size: 1.8rem; font-weight: 700; color: #10301F; }
.tgd-entry-body ul { font-size: 1.5rem; }
.tgd-entry-body ul li + li { margin-top: 8px; }
/* 本文中の画像は幅を強制しない（小さい画像が引き伸ばされるため）。
   共通の img { max-width: 100%; height: auto; } で本文幅に収める。 */
.tgd-entry-body figure { height: 280px; overflow: hidden; }
.tgd-entry-body figure img { width: 100%; height: 100%; object-fit: cover; display: block; }

.tgd-entry-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid #E2E7DA;
  font-size: 1.4rem;
  font-weight: 700;
}
/* CMSページャ。実出力は
   <div class="pages"><div class="page_next">＜ 前の記事</div><div class="page_prev">次の記事 ＞</div></div>
   の入れ子なので、spanと.pagesの箱を消してnavのgridに直接並べ、
   左＝前・中央＝一覧へ戻る・右＝次 に明示配置する（片方が無い記事でも位置が崩れない） */
.tgd-entry-nav__pager,
.tgd-entry-nav .pages { display: contents; }
.tgd-entry-nav .page_next { grid-row: 1; grid-column: 1; justify-self: start; }
.tgd-entry-nav__back { grid-row: 1; grid-column: 2; }
.tgd-entry-nav .page_prev { grid-row: 1; grid-column: 3; justify-self: end; }
.tgd-entry-nav .page_next a,
.tgd-entry-nav .page_prev a {
  display: inline-block;
  max-width: 22em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tgd-entry-nav a { color: #10301F; }

/* ページヒーロー内のカテゴリ表示（未登録時はPHP側で出力しない） */
.tgd-entry-hero__row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.tgd-entry-hero__cat {
  display: inline-block;
  margin-top: 12px;
  padding: 5px 14px;
  background: #D0E720;
  color: #10301F;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.tgd-entry-nav__back { border: 1px solid #C9D2BF; padding: 12px 24px; }
.tgd-entry-nav__back:hover { background: #10301F; color: #fff; opacity: 1; }

/* ==========================================================================
   送信完了
   ========================================================================== */
.tgd-thanks-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  background: #D0E720;
  display: grid;
  place-items: center;
  font-size: 2.8rem;
  color: #10301F;
}
.tgd-thanks-title { margin-top: 28px; font-size: 3rem; font-weight: 700; color: #10301F; line-height: 1.6; }
.tgd-thanks-info { margin-top: 32px; border: 1px solid #C9D2BF; padding: 24px; font-size: 1.5rem; line-height: 1.9; }
.tgd-thanks-info__tel { font-family: "Jost", sans-serif; font-size: 2.2rem; font-weight: 600; color: #10301F; }

/* ==========================================================================
   定義テーブル（会社概要・募集要項）
   ========================================================================== */
.tgd-table { border-top: 2px solid #10301F; }
.tgd-table th,
.tgd-table td {
  border: none;
  border-bottom: 1px solid #E2E7DA;
  padding: 18px 24px;
  font-size: 1.4rem;
  line-height: 1.95;
  vertical-align: top;
}
.tgd-table th {
  width: 220px;
  background: #F4F6F0;
  color: #10301F;
  font-weight: 700;
  line-height: 1.9;
  white-space: nowrap;
}
.tgd-table td { white-space: pre-line; }

@media (max-width: 639px) {
  .tgd-table th,
  .tgd-table td { display: block; width: 100%; white-space: normal; }
  .tgd-table th { border-bottom: none; }
  .tgd-table td { white-space: pre-line; }
}

/* ==========================================================================
   フォーム（角なし・1px罫線）
   ========================================================================== */
.tgd-form { display: flex; flex-direction: column; gap: 30px; }
.tgd-form__box { background: #fff; padding: 44px; }
.tgd-form__label { font-size: 1.4rem; font-weight: 700; color: #10301F; margin-bottom: 8px; }
.tgd-form__label--wide { margin-bottom: 10px; }
.tgd-form__req { color: #F74E4F; font-size: 1.2rem; margin-left: 6px; font-weight: 700; }
.tgd-form__opt { color: #7C8B7F; font-size: 1.2rem; margin-left: 6px; font-weight: 700; }
.tgd-form__help { font-size: 1.2rem; color: #7C8B7F; margin-top: 6px; }

.tgd-form .form-input,
.tgd-form .form-select {
  border: 1px solid #C9D2BF;
  border-radius: 0;
  background-color: #fff;
  padding: 13px;
  font-size: 1.5rem;
}
.tgd-form textarea.form-input { resize: vertical; }
.tgd-form .form-input:focus,
.tgd-form .form-select:focus { border-color: #10301F; }

.tgd-form__choice {
  border: 1px solid #C9D2BF;
  padding: 14px;
  font-size: 1.4rem;
  display: flex;
  gap: 8px;
  align-items: center;
  cursor: pointer;
  line-height: 1.9;
}
.tgd-form__choice--flex { flex: 1; }
.tgd-form__choice input { accent-color: #10301F; flex-shrink: 0; margin: 0 3px 0 5px; }

.tgd-form__file {
  border: 1px dashed #C9D2BF;
  background: #F8FAF4;
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.tgd-form__file-btn {
  border: 1px solid #10301F;
  padding: 9px 18px;
  font-size: 1.4rem;
  font-weight: 700;
  color: #10301F;
  cursor: pointer;
  white-space: nowrap;
  background: transparent;
  font-family: inherit;
}
.tgd-form__file-btn:hover { background: #10301F; color: #fff; }
.tgd-form__file-note { font-size: 1.3rem; line-height: 1.9; color: #5C6B5F; }
.tgd-form__file-note--lh18 { line-height: 1.8; }

.tgd-form__privacy { background: #F4F6F0; padding: 24px; scroll-margin-top: 24px; }
/* CMSフォーム内の同意チェックから #privacy へのアンカーリンク */
#cms-contact-1-1-area a[href="#privacy"],
#cms-contact-2-1-area a[href="#privacy"] {
  color: #048104;
  text-decoration: underline;
  text-underline-offset: 2px;
}
/* 同意チェックは中央揃え（CMSのcustom項目として出力される）。
   CMSの label は inline-block・dd は padding-left:280px（dtの列幅）なので、
   その2つを打ち消してフォーム全幅の中央に置く。 */
#cms-contact-1-1-area .form-contents form dl dd:has(> .tgd-form__agree),
#cms-contact-2-1-area .form-contents form dl dd:has(> .tgd-form__agree) {
  padding-left: 0;
}
#cms-contact-1-1-area .tgd-form__agree,
#cms-contact-2-1-area .tgd-form__agree {
  display: flex;
  width: 100%;
  margin-right: 0;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
}
.tgd-privacy-list { margin-top: 10px; font-size: 1.3rem; line-height: 1.95; color: #4A5A4E; }
.tgd-privacy-list li { padding-left: 1em; text-indent: -1em; }
.tgd-privacy-list li::before { content: "・"; }
.tgd-form__privacy-title { font-size: 1.4rem; font-weight: 700; color: #10301F; }
.tgd-form__privacy-text { margin-top: 10px; font-size: 1.3rem; line-height: 1.95; color: #4A5A4E; }
.tgd-form__agree {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
  font-size: 1.4rem;
  font-weight: 700;
  color: #10301F;
  cursor: pointer;
}
.tgd-form__agree input { accent-color: #10301F; flex-shrink: 0; margin: 0 3px 0 4px; }

.tgd-form__submit {
  display: block;
  width: 100%;
  background: #F74E4F;
  color: #fff;
  text-align: center;
  padding: 20px;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.9;
  border: none;
  border-radius: 0;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease;
}
.tgd-form__submit:hover { background: #dd3f40; }

.tgd-contact-box {
  border: 1px solid #C9D2BF;
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.tgd-contact-box__label { font-size: 1.5rem; font-weight: 700; color: #10301F; }
.tgd-contact-box__note { font-size: 1.3rem; color: #5C6B5F; margin-top: 4px; }
.tgd-contact-box__num {
  font-family: "Jost", sans-serif;
  font-size: 3.2rem;
  font-weight: 600;
  color: #10301F;
  white-space: nowrap;
}
.tgd-contact-box__num i { font-size: 0.7em; margin-right: 8px; }

/* フォーム見出し：ライムの下線＋グリーンの枠付きラベルであしらう（.tgd-field__label と同じ motif） */
.tgd-form-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 2px solid #D0E720;
}
.tgd-form-head h2 { font-size: 2.4rem; font-weight: 700; color: #10301F; }
.tgd-form-head span {
  font-size: 1.3rem;
  font-weight: 700;
  color: #048104;
  border: 1px solid #048104;
  padding: 3px 10px;
}

/* CMSフォーム（design_pattern=1）の外枠。CMS標準の padding:35px 30px を外して中央寄せ */
#cms-contact-1-1-area .form-contents,
#cms-contact-2-1-area .form-contents {
  padding: 0;
  margin: auto;
}

/* ラジオは選択肢ごとに一塊で折り返すようinline-blockにする */
#cms-contact-1-1-area .form-contents label:has(input.radio),
#cms-contact-2-1-area .form-contents label:has(input.radio) {
  display: inline-block;
  margin-right: 20px;
}

/* CMSフォーム（design_pattern=1）の項目説明文。CMS標準CSSより後に効かせるためID付きで指定 */
#cms-contact-1-1-area .form-contents form dl dd:not(.pattern-exclusion) .before-text-area,
#cms-contact-2-1-area .form-contents form dl dd:not(.pattern-exclusion) .before-text-area {
  margin-bottom: 18px;
  color: #5d5d5d;
  font-size: 1.4rem;
}

/* ==========================================================================
   フッター
   ========================================================================== */
.tgd-footer { background: linear-gradient(135deg, #0C2418 0%, #154C2E 100%); }
.tgd-footer-body {
  background: transparent;
  padding: 80px 0 0;
}
/* 上段（ブランド＋CTA）／下段（サイトマップ4列）の2段構成。
   旧3カラムは左列だけが背高で右下に大きな余白が残り、「お問い合わせ」の見出しが
   子リンク無しで宙に浮いていたため、段組み自体を組み替えている */
.tgd-footer-body .footer-body__inner {
  display: block;
  max-width: 1240px;
  padding: 0;
}
.tgd-footer-top {
  display: grid;
  /* 右カラムは電話番号が折り返さない420px固定。auto にすると子の min-content が
     トラック幅を押し広げ、狭い画面で横スクロールが出る */
  grid-template-columns: 1fr 420px;
  gap: 56px;
  align-items: center;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.tgd-footer-top > * { min-width: 0; }
.tgd-footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  padding-top: 44px;
  align-items: start;
}
.tgd-footer-logo { margin-bottom: 0; }
.tgd-footer-logo img { height: 52px; }
.tgd-footer-info {
  margin: 26px 0 0;
  font-size: 1.4rem;
  line-height: 2.1;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.02em;
}
/* 上段の右カラム。幅はトラック側（.tgd-footer-top）で決めるのでここは100%に留める */
.tgd-footer-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.tgd-fbox {
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background 0.2s ease;
}
.tgd-fbox--link:hover { background: rgba(208, 231, 32, 0.16); opacity: 1; }
.tgd-fbox__title { display: block; font-size: 1.4rem; font-weight: 700; color: #fff; }
.tgd-fbox__en {
  display: block;
  font-family: "Jost", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: #D0E720;
  margin-top: 3px;
}
.tgd-fbox__tel {
  font-family: "Jost", sans-serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}
.tgd-fbox__tel:hover { color: #D0E720; opacity: 1; }
.tgd-fbox__arrow { font-size: 1.6rem; color: #fff; }

.tgd-footer .footer-sitemap__group { flex: none; min-width: 0; }
.tgd-footer .footer-sitemap__title {
  border-bottom: none;
  padding-bottom: 6px;
  margin-bottom: 0;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.tgd-footer .footer-sitemap__title a { display: block; color: #fff; }
.tgd-footer .footer-sitemap__title a:hover { color: #D0E720; opacity: 1; }
.tgd-footer .footer-sitemap__list {
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  margin: 10px 0 0 2px;
}
.tgd-footer .footer-sitemap__item { margin-bottom: 0; }
.tgd-footer .footer-sitemap__item a {
  display: block;
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  padding: 0 0 9px 18px;
}
.tgd-footer .footer-sitemap__item a::before { content: none; }
.tgd-footer .footer-sitemap__item a:hover { color: #D0E720; opacity: 1; }

.tgd-footer-bottom {
  margin-top: 72px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  padding: 22px 0;
}
.tgd-footer-bottom .footer-bottom__copyright {
  font-family: "Jost", sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.8);
}
@media (max-width: 896px) {
  /* タブレット以下は上段を縦積み、サイトマップは2列に落とす */
  .tgd-footer-top { grid-template-columns: 1fr; gap: 28px; align-items: start; padding-bottom: 36px; }
  .tgd-footer-nav { grid-template-columns: repeat(2, 1fr); gap: 28px; padding-top: 36px; }
  .tgd-footer-bottom { margin-top: 40px; }
}
@media (max-width: 639px) {
  /* スマホではサイトマップナビを隠し、電話・問い合わせのCTAだけ残す */
  .tgd-footer .tgd-footer-nav { display: none; }
  .tgd-footer-top { padding-bottom: 0; border-bottom: none; }
  /* 画面下部に固定したお知らせバー（約62px）でコピーライトが隠れないよう逃げを作る。
     .tgd-mv__info 側のSP指定に書くと、後続の .tgd-footer-bottom{padding:22px 0} に負ける */
  .tgd-footer-bottom { padding-bottom: 84px; }
}

/* ==========================================================================
   レスポンシブ調整（スマホ）
   共通componentの `:where()` 指定は詳細度0のため、site.css の tgd- 系指定が
   SP縮小より強く勝ってしまう。ここで明示的に戻す。
   ========================================================================== */
@media (max-width: 639px) {

  /* --- 本文の基準サイズ（共通componentは12pxのため上書き） --- */
  body { font-size: 1.3rem; }

  /* --- ヘッダーロゴ。PC側の拡大に合わせて30px→44pxまで上げる。
         これ以上はハンバーガーボタン（320px幅で左端x=266）と近づくため止める --- */
  .tgd-header .header__logo { padding: 24px 16px; }
  .tgd-header .header__logo img { height: 44px; }

  /* --- MVキャッチの折り返しを文節単位にする --- */
  .tgd-mv__title { word-break: auto-phrase; }

  /* --- セクション左右余白を20pxに統一 ---
     元は .container が max-width:95% + padding:10px（実効20px）、.tgd-w-* は padding:0（実効10px）、
     .container の中に入れ子になった .tgd-w-920 は29px、.tgd-form__box は44pxとばらついていた。 */
  .container,
  .container-wide,
  .container-narrow,
  .tgd-w-820,
  .tgd-w-860,
  .tgd-w-920,
  .tgd-w-960,
  .tgd-w-1000 {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
  /* 入れ子時は外側で余白が付いているので内側は0 */
  .container .tgd-w-820,
  .container .tgd-w-860,
  .container .tgd-w-920,
  .container .tgd-w-960,
  .container .tgd-w-1000,
  .container .container-narrow {
    padding-left: 0;
    padding-right: 0;
  }
  .tgd-form__box { padding: 20px; }

  /* --- リード見出し --- */
  .tgd-lead { font-size: 1.9rem; }
  .tgd-lead--lg { font-size: 2rem; }

  /* --- フッター：左右padding0でロゴ・住所・CTAが画面端に接するため余白を入れる --- */
  .tgd-footer-body { padding-top: 48px; }
  .tgd-footer-body .footer-body__inner { padding: 0 20px; }
  .tgd-footer-bottom .footer-bottom__copy,
  .tgd-footer-bottom > * { padding-left: 20px; padding-right: 20px; }
  .tgd-footer .tgd-fbox { padding: 16px; }

  /* --- 見出し（英字46px/52pxが縮まないため上書き） --- */
  .tgd-heading .heading__en { font-size: 3rem; }
  .tgd-heading .heading__ja { font-size: 1.4rem; margin-top: 10px; }
  .tgd-heading--sm .heading__en { font-size: 2.2rem; }
  /* 共通の .h-280 がSPで140pxになるため上書き */
  .tgd-page-hero.h-280 { height: 220px; }
  .tgd-page-hero .heading__en { font-size: 3.4rem; }
  .tgd-page-hero .heading__ja { font-size: 1.5rem; margin-top: 8px; }

  /* --- 中央揃えで2行以上になる箇所の折り返しを整える
         （英字と和文は必ずセットで中央に。片方だけだとヒーローで軸がずれる） --- */
  .heading:not(.heading--left) .heading__en,
  .heading:not(.heading--left) .heading__ja,
  .tgd-page-hero .heading__en,
  .tgd-page-hero .heading__ja,
  .tgd-cta-mail--center span,
  .tgd-tel-box--outline .tgd-tel-box__label,
  .tgd-thanks-lead {
    text-align: center;
    text-wrap: balance;
    word-break: auto-phrase;
  }

  /* --- お知らせ：日付とタイトルを1カラムに（1行あたり実測108px） --- */
  .tgd-news .blog-list__link {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 4px;
  }
  /* 1行の実測は91px（タイトル1行時）。行高は本文量で変わるため、
     4件目が半分見える高さにして「続きがある」ことを示す */
  .tgd-news .blog-list { --news-row-h: 96px; }

  /* --- SPナビ：英字を拡大し、日本語と矢印の間に余白を確保 --- */
  .sp-nav__en { font-size: 1.2rem; }
  .sp-nav__link::after { margin-left: 10px; }

  /* --- 3本柱：番号帯を詰め、画像は等倍高さ・sticky解除 --- */
  .tgd-field__head { grid-template-columns: 64px 1fr; }
  .tgd-field__num { font-size: 2.2rem; }
  .tgd-field__headbody { padding: 16px 20px 16px 0; }
  .tgd-field__title { font-size: 1.8rem; padding-left: 16px; }
  .tgd-field__sub { padding-left: 16px; text-wrap: balance; word-break: auto-phrase; }
  .tgd-field__label,
  .tgd-field__subtitle { font-size: 1.6rem; font-weight: 700; letter-spacing: 0em; }

  /* --- ご担当者様へ／ご相談の窓口：左右40pxの余白が狭い画面では詰まるため縮める --- */
  .tgd-target-card__head { padding: 20px 20px; }
  .tgd-target-card__title { margin-top: 16px; font-size: 2rem; }
  .tgd-target-card__body { padding: 24px 20px 28px; }
  .tgd-target-card__to { padding-bottom: 18px; }
  .tgd-target-card__text { margin-top: 18px; font-size: 1.3rem; }
  .tgd-check__title { font-size: 1.5rem; word-break: auto-phrase; }
  .tgd-check__item,
  .tgd-check__q { grid-template-columns: 18px 1fr; gap: 10px; font-size: 1.4rem; }
  .tgd-check__item { padding: 12px 0; }
  .tgd-check__row { padding: 12px 0; }
  .tgd-check__a { padding-left: 28px; font-size: 1.4rem; }
  .tgd-note { padding: 16px 18px; font-size: 1.4rem; }

  /* --- 業務実績一覧：2カラム。縦幅の狭い端末で入れ子スクロールが深くなりすぎないよう抑える --- */
  .tgd-works-scroll {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-height: 70vh;
  }
  .tgd-works-card__img { height: 120px; }
  .tgd-works-card__meta { gap: 8px; margin-top: 10px; flex-wrap: wrap; }
  .tgd-works-card__cat { font-size: 1rem; padding: 3px 8px; }
  .tgd-works-card__date { font-size: 1.2rem; }
  .tgd-works-card__title { margin-top: 6px; font-size: 1.4rem; line-height: 1.6; }

  /* --- 記事詳細 --- */
  .tgd-entry__title { font-size: 2.2rem; }
  .tgd-entry__eyecatch { height: 240px; }
  /* ページャは横3分割だと記事名が読めないので縦積み中央寄せ */
  .tgd-entry-nav { grid-template-columns: 1fr; gap: 14px; }
  .tgd-entry-nav .page_next { grid-row: 1; grid-column: 1; justify-self: center; }
  .tgd-entry-nav__back { grid-row: 2; grid-column: 1; justify-self: center; }
  .tgd-entry-nav .page_prev { grid-row: 3; grid-column: 1; justify-self: center; }
  .tgd-entry-nav .page_next a,
  .tgd-entry-nav .page_prev a { max-width: 100%; }

  .tgd-footer-logo img { height: 38px; }
  .tgd-strength__body { padding: 20px; }

  /* --- お問い合わせページの電話ボックス：左右分割だとテキスト側が104pxまで潰れるので縦積みに --- */
  .tgd-contact-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 18px;
  }
  .tgd-contact-box__num { font-size: 2.4rem; }

  /* --- 下部CTA：電話ボックスは左右分割だと番号が潰れるので縦積みに --- */
  .tgd-tel-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px 18px;
  }
  .tgd-tel-box__num { line-height: 1.2; }
  .tgd-cta-mail { padding: 16px 18px; }
  .tgd-cta-mail__note { margin-top: 4px; }

  /* --- 数字帯：3カラムでは1文字ずつ改行するため縦積み＋横罫線に --- */
  .tgd-numbers {
    flex-direction: column;
    gap: 0;
    padding: 8px 20px;
  }
  .tgd-numbers__item { padding: 16px 0; }
  .tgd-numbers__value { line-height: 1.25; }
  .tgd-numbers__label { margin-top: 6px; }
  .tgd-numbers__line { width: 100%; height: 1px; }

  /* ========================================================================
     文字サイズ：本文13pxを基準に、本文14px／補助13px／小見出し15-16px／
     中見出し17-19px／大見出しは既存維持、でスケールを揃える
     ======================================================================== */

  /* 本文 14px */
  .tgd-body,
  .tgd-body--lh2,
  .tgd-body--dark,
  .tgd-body--txt,
  .tgd-body--lg,
  .tgd-entry-body,
  .tgd-field__items,
  .tgd-field__text,
  .tgd-qa__a-text,
  .tgd-step__text,
  .tgd-qual__name,
  .tgd-member__name,
  .tgd-wantbox__title,
  .tgd-contact-box__label,
  .tgd-btn-block,
  .tgd-check__title { font-size: 1.4rem; }

  /* CTAボタンは幅が限られるため13px（padding据え置き） */
  .tgd-btn-line,
  .tgd-btn-line--accent,
  .tgd-btn-line--outline { font-size: 1.3rem; }

  /* 補助・注記 13px */
  .tgd-target-card__to,
  .tgd-check__item,
  .tgd-check__q,
  .tgd-check__a,
  .tgd-note,
  .tgd-strength__text,
  .tgd-svc-card__more,
  .tgd-fbox__title,
  .tgd-field__sub,
  .tgd-sign,
  .tgd-philo-box__text,
  .tgd-merit__text,
  .tgd-wantbox__text,
  .tgd-entry__date,
  .tgd-entry-nav,
  .tgd-footer-info,
  .tgd-news .blog-list__date,
  .tgd-tourbox .tgd-tourbox__note { font-size: 1.3rem; }

  /* 小見出し 13px */
  .tgd-philo__text,
  .tgd-works-card__title,
  .tgd-tel-box__label,
  .tgd-philo-box__title,
  .tgd-news .blog-list__title,
  .tgd-tourbox p { font-size: 1.3rem; }

  /* FAQの質問文のみ14px */
  .tgd-qa__q-text { font-size: 1.4rem; }

  /* 中見出し 17-19px */
  .tgd-svc-card__title { font-size: 1.9rem; }
  .tgd-step__title,
  .tgd-strength__title { font-size: 1.8rem; }
  .tgd-award__title,
  .tgd-merit__title { font-size: 1.7rem; }
  .tgd-cta-mail__title,
  .tgd-cta-mail--center span { font-size: 1.6rem; }

  /* 数字（Jost）の装飾サイズも本文比に合わせて縮める */
  .tgd-svc-card__num { font-size: 4rem; }
  .tgd-numbers__value { font-size: 3.2rem; }
  .tgd-step__num { font-size: 2.8rem; }
  .tgd-contact-box__num,
  .tgd-tel-box__num { font-size: 2.6rem; }
  .tgd-strength__num,
  .tgd-qual__value { font-size: 2.2rem; }
  .tgd-fbox__tel { font-size: 2rem; }
}

/* ==========================================================================
   レスポンシブ調整（タブレット 640〜896px 中心）
   .grid-2 の1カラム化は共通CSSでは639px以下のみなので、
   窮屈になるブロックだけ896pxで先に1カラムへ倒す。
   ========================================================================== */
@media (max-width: 1240px) {
  /* footer-body__inner は max-width:1240px + padding:0 のため、1240px以下で画面端に接する */
  .tgd-footer-body .footer-body__inner { padding-left: 24px; padding-right: 24px; }
}

/* タブレット帯のセクション左右余白を24pxに統一。
   .container-narrow は max-width:900px + padding:0 のため、900px未満のビューポートでは
   画面幅いっぱいに広がって余白が消える（事業内容ページのリード文が両端に接触していた）。
   639px以下のスマホ指定（20px）を上書きしないよう min-width で下限を切る。 */
@media (min-width: 640px) and (max-width: 899px) {
  .container,
  .container-wide,
  .container-narrow,
  .tgd-w-820,
  .tgd-w-860,
  .tgd-w-920,
  .tgd-w-960,
  .tgd-w-1000 {
    max-width: 100%;
    padding-left: 24px;
    padding-right: 24px;
  }
  .container .tgd-w-820,
  .container .tgd-w-860,
  .container .tgd-w-920,
  .container .tgd-w-960,
  .container .tgd-w-1000,
  .container .container-narrow {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 896px) {
  .tgd-field__list { padding: 20px; }

  /* ご担当者様向けカード：2カラムだとカード339px・本文259pxで折り返しが破綻する */
  .tgd-target-row { grid-template-columns: 1fr; }

  /* 4つの魅力：カード343pxに対して画像320pxは縦長すぎるため詰める */
  .tgd-merit__img { height: 200px; }

  /* 数字帯のラベルを文節で折り返す */
  .tgd-numbers__label { text-wrap: balance; word-break: auto-phrase; }

}

@media (min-width: 640px) and (max-width: 896px) {
  /* サイトマップの2カラム化は .tgd-footer-nav 側（max-width:896px）で指定済み。
     サイトマップより上（ロゴ・住所・電話/問い合わせCTA）は中央配置 */
  .tgd-footer .tgd-footer-brand { text-align: center; }
  .tgd-footer .tgd-footer-logo { display: flex; justify-content: center; }
  .tgd-footer .tgd-footer-cta {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }
}
