/* =========================================================================
   天護（TENGO）車両セキュリティ LP スタイル
   - カラー: ネイビー #0D1B3E / ゴールド #C9A84C / レッド #E03535
   - フォント: Noto Sans JP / Noto Serif JP
   - スコープ: #tengo-lp 配下（WordPressテーマと干渉しにくいよう接頭辞 tg- を使用）
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&family=Noto+Serif+JP:wght@600;700;900&display=swap');

#tengo-lp {
  --navy: #0D1B3E;
  --navy-2: #14264f;
  --gold: #C9A84C;
  --gold-2: #e3c876;
  --red: #E03535;
  --line: #06C755;
  --ink: #1d2333;
  --muted: #5b6275;
  --bg: #ffffff;
  --bg-soft: #f5f6f9;
  --radius: 14px;
  --maxw: 1080px;

  font-family: 'Noto Sans JP', system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  word-break: break-word;
}

#tengo-lp * { box-sizing: border-box; }
#tengo-lp img { max-width: 100%; height: auto; display: block; }

.tg-container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---- 共通：セクション見出し ---- */
.tg-sec__title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 900;
  font-size: clamp(24px, 4.4vw, 38px);
  line-height: 1.4;
  text-align: center;
  margin: 0 0 14px;
  letter-spacing: .02em;
}
.tg-sec__title--light { color: #fff; }
.tg-sec__lead {
  text-align: center; color: var(--muted);
  font-size: clamp(15px, 2.4vw, 17px); margin: 0 auto 40px; max-width: 760px;
}
.tg-sec__title--light + .tg-sec__lead { color: rgba(255,255,255,.78); }

.tg-em { color: var(--gold); }
.tg-em--red { color: var(--red); }
.tg-em--gold { color: var(--gold); }

/* ---- ボタン ---- */
.tg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; text-decoration: none; border-radius: 999px;
  padding: 14px 26px; line-height: 1.2; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  cursor: pointer; border: 2px solid transparent; white-space: nowrap;
}
.tg-btn:hover { transform: translateY(-2px); }
.tg-btn--sm { padding: 9px 16px; font-size: 13px; }
.tg-btn--lg { padding: 17px 34px; font-size: 17px; }
.tg-btn--gold { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: var(--navy); box-shadow: 0 8px 22px rgba(201,168,76,.35); }
.tg-btn--line { background: var(--line); color: #fff; box-shadow: 0 8px 22px rgba(6,199,85,.3); }
.tg-btn--ghost { background: transparent; border-color: rgba(255,255,255,.45); color: #fff; }
.tg-nav__cta .tg-btn--ghost { color: var(--navy); border-color: rgba(13,27,62,.25); }
.tg-btn--login { background: var(--navy); border-color: var(--navy); color: #fff; }
.tg-btn--login:hover { background: var(--navy-2); border-color: var(--navy-2); color: #fff; }
.tg-btn--login .tg-ic { margin-right: 4px; }
.tg-ic { font-size: 1.05em; }

/* =========================================================================
   Block 01｜固定ナビ
   ========================================================================= */
.tg-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid #eceef3;
  transition: box-shadow .2s ease;
}
.tg-nav.is-scrolled { box-shadow: 0 6px 20px rgba(13,27,62,.08); }
.tg-nav__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; gap: 18px; min-height: 64px;
}
.tg-nav__brand { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.tg-nav__logo { font-family: 'Noto Serif JP', serif; font-weight: 900; font-size: 24px; color: var(--navy); line-height: 1; }
.tg-nav__logo-en { font-size: 12px; letter-spacing: .25em; color: var(--gold); font-weight: 700; line-height: 1; align-self: flex-end; padding-bottom: 2px; }
.tg-nav__menu { display: flex; gap: 22px; margin-left: 14px; }
.tg-nav__menu a { text-decoration: none; color: var(--navy); font-weight: 500; font-size: 14px; position: relative; }
.tg-nav__menu a::after { content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background: var(--gold); transition: width .2s; }
.tg-nav__menu a:hover::after { width: 100%; }
.tg-nav__cta { display: flex; gap: 10px; margin-left: auto; align-items: center; }
.tg-nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; margin-left: auto; }
.tg-nav__toggle span { width: 24px; height: 2px; background: var(--navy); transition: .25s; }
.tg-nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tg-nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.tg-nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================================
   Block 02｜ヒーロー
   ========================================================================= */
.tg-hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(201,168,76,.22), transparent 60%),
    linear-gradient(160deg, #0a1530 0%, var(--navy) 55%, var(--navy-2) 100%);
}
.tg-hero__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; z-index: 0; opacity: .55;
}
.tg-hero__overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(160deg, rgba(10,21,48,.74) 0%, rgba(13,27,62,.86) 100%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 2px, transparent 2px 22px);
}
.tg-hero__inner {
  position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto;
  padding: clamp(64px, 12vw, 120px) 20px clamp(72px, 12vw, 110px);
  text-align: center;
}
.tg-hero__eyebrow {
  display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: .12em;
  color: var(--navy); background: linear-gradient(135deg, var(--gold), var(--gold-2));
  padding: 6px 16px; border-radius: 999px; margin: 0 0 22px;
}
.tg-hero__title {
  font-family: 'Noto Serif JP', serif; font-weight: 900;
  font-size: clamp(30px, 7vw, 58px); line-height: 1.3; margin: 0 0 22px;
  text-shadow: 0 4px 24px rgba(0,0,0,.3);
}
.tg-hero__lead { font-size: clamp(15px, 2.6vw, 19px); color: rgba(255,255,255,.86); margin: 0 0 30px; }
.tg-hero__points {
  list-style: none; padding: 0; margin: 0 auto 36px; display: inline-flex; flex-direction: column;
  gap: 10px; text-align: left;
}
.tg-hero__points li { font-weight: 500; font-size: clamp(15px, 2.4vw, 17px); }
.tg-check { color: var(--gold); font-weight: 900; margin-right: 8px; }
.tg-hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.tg-hero__note { font-size: 12.5px; color: rgba(255,255,255,.62); margin: 0; }
.tg-hero__scroll { display: flex; justify-content: center; padding-bottom: 26px; position: relative; }
.tg-hero__scroll span {
  width: 22px; height: 36px; border: 2px solid rgba(255,255,255,.5); border-radius: 12px; position: relative;
}
.tg-hero__scroll span::after {
  content: ''; position: absolute; left: 50%; top: 7px; transform: translateX(-50%);
  width: 4px; height: 7px; background: var(--gold); border-radius: 2px; animation: tg-scroll 1.6s infinite;
}
@keyframes tg-scroll { 0% { opacity: 0; transform: translate(-50%, 0); } 50% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 12px); } }

/* =========================================================================
   Block 03｜統計
   ========================================================================= */
.tg-stats { background: var(--navy); color: #fff; padding: clamp(56px, 9vw, 90px) 0; }
.tg-stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin: 38px 0 26px;
}
.tg-stat {
  background: rgba(255,255,255,.04); border: 1px solid rgba(201,168,76,.25);
  border-radius: var(--radius); padding: 28px 16px; text-align: center;
}
.tg-stat__num { font-family: 'Noto Serif JP', serif; font-weight: 900; color: var(--gold); line-height: 1; }
.tg-stat__value { font-size: clamp(30px, 5.5vw, 46px); }
.tg-stat__suffix { font-size: clamp(15px, 2.4vw, 20px); margin-left: 2px; }
.tg-stat__label { font-size: 13.5px; color: rgba(255,255,255,.82); margin: 14px 0 0; }
.tg-stats__source { font-size: 11.5px; color: rgba(255,255,255,.5); text-align: center; margin: 0; }

/* =========================================================================
   Block 03b｜狙われやすい車種ランキング
   ========================================================================= */
.tg-ranking { padding: clamp(56px, 9vw, 90px) 0; }
.tg-ranking__list { list-style: none; max-width: 760px; margin: 34px auto 18px; padding: 0; display: grid; gap: 12px; }
.tg-ranking__item { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid #e6e8ef; border-radius: 12px; padding: 16px 20px; box-shadow: 0 6px 18px rgba(13,27,62,.05); transition: transform .15s ease; }
.tg-ranking__item:hover { transform: translateX(4px); }
.tg-ranking__rank { flex: 0 0 auto; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--navy); color: #fff; font-family: 'Noto Serif JP', serif; font-weight: 900; font-size: 18px; }
.tg-ranking__item--1 .tg-ranking__rank,
.tg-ranking__item--2 .tg-ranking__rank,
.tg-ranking__item--3 .tg-ranking__rank { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: var(--navy); }
.tg-ranking__car { font-family: 'Noto Serif JP', serif; font-weight: 700; font-size: 18px; color: var(--navy); flex: 0 0 auto; min-width: 175px; }
.tg-ranking__note { font-size: 13px; color: var(--muted); }
.tg-stats__source--dark { color: var(--muted); }
@media (max-width: 560px) {
  .tg-ranking__item { flex-wrap: wrap; gap: 10px 14px; }
  .tg-ranking__car { min-width: 0; }
  .tg-ranking__note { flex-basis: 100%; padding-left: 56px; }
}

/* =========================================================================
   Block 04｜GPS誤解解消
   ========================================================================= */
.tg-myth { background: var(--bg-soft); padding: clamp(56px, 9vw, 90px) 0; }
.tg-myth__figure {
  margin: 0 auto 28px; max-width: 860px; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 16px 40px rgba(13,27,62,.14);
}
.tg-myth__figure img { width: 100%; display: block; }
.tg-myth__figure figcaption {
  background: var(--navy); color: rgba(255,255,255,.82); font-size: 13px;
  text-align: center; padding: 12px 18px; margin: 0;
}
.tg-myth__grid {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: stretch; margin-top: 18px;
}
.tg-myth__card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: 0 10px 30px rgba(13,27,62,.06); }
.tg-myth__card--x { border-top: 4px solid #c2c7d2; }
.tg-myth__card--o { border-top: 4px solid var(--gold); }
.tg-myth__tag { display: inline-block; font-size: 12px; font-weight: 700; color: #fff; background: #9aa0af; padding: 4px 12px; border-radius: 999px; margin: 0 0 12px; }
.tg-myth__tag--o { background: var(--gold); color: var(--navy); }
.tg-myth__head { font-family: 'Noto Serif JP', serif; font-weight: 700; font-size: 19px; margin: 0 0 10px; color: var(--navy); }
.tg-myth__body { font-size: 14.5px; color: var(--muted); margin: 0; }
.tg-myth__card--o .tg-myth__body strong { color: var(--red); }
.tg-myth__arrow { display: flex; align-items: center; font-size: 34px; color: var(--gold); font-weight: 900; }

/* =========================================================================
   Block 05｜手口と対抗
   ========================================================================= */
.tg-threats { background: var(--navy-2); color: #fff; padding: clamp(56px, 9vw, 90px) 0; }
.tg-threats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.tg-threat {
  background: linear-gradient(180deg, rgba(224,53,53,.10), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 26px;
  overflow: hidden;
}
.tg-threat__img {
  margin: -26px -26px 18px; aspect-ratio: 4 / 3; overflow: hidden;
}
.tg-threat__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tg-threat__name {
  font-family: 'Noto Serif JP', serif; font-weight: 700; font-size: 20px; color: #fff; margin: 0 0 12px;
  padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.14);
}
.tg-threat__how { font-size: 14px; color: rgba(255,255,255,.74); margin: 0 0 16px; }
.tg-threat__vs { font-size: 14.5px; color: #fff; margin: 0; }
.tg-threat__vs span { display: block; font-weight: 700; color: var(--gold); font-size: 12.5px; letter-spacing: .08em; margin-bottom: 4px; }

/* =========================================================================
   Block 06｜守護機能
   ========================================================================= */
.tg-features { padding: clamp(56px, 9vw, 90px) 0; }
.tg-features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.tg-feature {
  background: #fff; border: 1px solid #eceef3; border-radius: var(--radius); padding: 30px 24px;
  text-align: center; transition: transform .2s ease, box-shadow .2s ease;
}
.tg-feature:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(13,27,62,.1); }
.tg-feature--accent { border-color: var(--gold); box-shadow: 0 10px 30px rgba(201,168,76,.18); }
.tg-feature__icon {
  width: 72px; height: 72px; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center;
  font-size: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--navy-2));
}
.tg-feature__icon img { width: 42px; height: 42px; object-fit: contain; display: block; }
.tg-feature__icon svg, .tg-feature__svg { width: 42px; height: 42px; display: block; stroke: #fff; }
.tg-feature--accent .tg-feature__icon { box-shadow: 0 0 0 3px rgba(201,168,76,.4); }
.tg-feature h3 { font-family: 'Noto Serif JP', serif; font-size: 19px; color: var(--navy); margin: 0 0 10px; }
.tg-feature p { font-size: 14px; color: var(--muted); margin: 0; }
.tg-app-showcase { margin: 48px auto 0; max-width: 300px; text-align: center; }
.tg-app-showcase img { width: 100%; border-radius: 22px; filter: drop-shadow(0 26px 54px rgba(13,27,62,.34)); }
.tg-app-showcase figcaption { font-size: 14.5px; color: var(--muted); margin-top: 18px; }
.tg-app-showcase figcaption strong { color: var(--navy); }

/* =========================================================================
   Block 07｜比較表
   ========================================================================= */
.tg-compare { background: var(--navy); color: #fff; padding: clamp(56px, 9vw, 90px) 0; }
.tg-compare__scroll { overflow-x: auto; margin-top: 34px; -webkit-overflow-scrolling: touch; }
.tg-compare__table { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; }
.tg-compare__table th, .tg-compare__table td { padding: 16px 14px; text-align: center; font-size: 14px; }
.tg-compare__table thead th { background: rgba(255,255,255,.06); font-weight: 700; border-bottom: 2px solid rgba(255,255,255,.12); }
.tg-compare__table .tg-compare__feat { text-align: left; color: rgba(255,255,255,.85); }
.tg-compare__table .tg-compare__own { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: var(--navy); font-weight: 900; border-radius: 10px 10px 0 0; }
.tg-compare__table tbody td:first-child { text-align: left; color: rgba(255,255,255,.9); font-weight: 500; }
.tg-compare__table tbody tr td { border-bottom: 1px solid rgba(255,255,255,.08); }
.tg-compare__table tbody td.tg-compare__own,
.tg-compare__table tbody td:nth-child(2) { background: rgba(201,168,76,.1); font-weight: 700; }
.tg-o { color: var(--gold-2); font-weight: 700; }
.tg-x { color: rgba(255,255,255,.4); }
.tg-t { color: rgba(255,255,255,.7); }

/* =========================================================================
   Block 08｜導入事例
   ========================================================================= */
.tg-cases { padding: clamp(56px, 9vw, 90px) 0; }
.tg-cases__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.tg-case {
  background: #fff; border: 1px solid #eceef3; border-left: 4px solid var(--gold);
  border-radius: var(--radius); padding: 26px; overflow: hidden;
}
.tg-case__img { margin: -26px -26px 18px -30px; aspect-ratio: 3 / 2; overflow: hidden; }
.tg-case__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tg-case__car { font-family: 'Noto Serif JP', serif; font-weight: 700; font-size: 17px; color: var(--navy); margin: 0 0 12px; }
.tg-case__story { font-size: 14px; color: var(--muted); margin: 0 0 16px; }
.tg-case__tag { font-size: 12.5px; font-weight: 700; color: var(--gold); margin: 0; }
.tg-cases__note { font-size: 11.5px; color: var(--muted); text-align: center; margin: 26px 0 0; }

/* ---- 汎用スライダー（導入事例 等） ---- */
.tg-slider { position: relative; max-width: 600px; margin: 36px auto 0; }
.tg-slider__viewport { overflow: hidden; }
.tg-slider__track { display: flex; transition: transform .5s ease; will-change: transform; }
.tg-slider__slide { flex: 0 0 100%; min-width: 0; box-sizing: border-box; padding: 6px 6px 14px; display: flex; justify-content: center; }
.tg-slider__slide .tg-case { width: 100%; }
.tg-slider__arrow { position: absolute; top: 42%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(13,27,62,.25); z-index: 2; transition: background .15s ease, color .15s ease; }
.tg-slider__arrow:hover { background: var(--gold); color: var(--navy); }
.tg-slider__arrow[hidden] { display: none; }
.tg-slider__arrow--prev { left: -6px; }
.tg-slider__arrow--next { right: -6px; }
.tg-slider__dots { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }
.tg-slider__dot { width: 10px; height: 10px; border-radius: 50%; border: 0; background: #cdd2df; cursor: pointer; padding: 0; transition: background .15s ease, transform .15s ease; }
.tg-slider__dot.is-active { background: var(--gold); transform: scale(1.2); }
@media (max-width: 680px) { .tg-slider__arrow--prev { left: 2px; } .tg-slider__arrow--next { right: 2px; } }

/* ---- カード型スライダー（導入事例＝5枚を横並び） ---- */
.tg-slider--cards { max-width: var(--maxw); padding: 0 6px; }
.tg-slider--cards .tg-slider__viewport { padding: 18px 0; }
.tg-slider--cards .tg-slider__track { gap: 22px; transition: transform .55s cubic-bezier(.22,.61,.36,1); align-items: center; }
/* 3枚表示 */
.tg-slider--cards .tg-slider__slide { flex: 0 0 auto; width: calc((100% - 2 * 22px) / 3); padding: 0; display: block; }
.tg-slider--cards .tg-slider__slide .tg-case {
  height: 100%; box-sizing: border-box;
  transform: scale(.93); opacity: .82;
  transition: transform .4s ease, opacity .4s ease, box-shadow .4s ease;
}
/* 中央の1枚を少し大きく強調 */
.tg-slider--cards .tg-slider__slide.is-center .tg-case {
  transform: scale(1.04); opacity: 1; position: relative; z-index: 2;
  box-shadow: 0 18px 42px rgba(13,27,62,.22);
}
.tg-slider--cards .tg-slider__arrow--prev { left: -8px; }
.tg-slider--cards .tg-slider__arrow--next { right: -8px; }
@media (max-width: 900px)  { .tg-slider--cards .tg-slider__slide { width: calc((100% - 22px) / 2); } }
@media (max-width: 680px)  {
  .tg-slider--cards { padding: 0; }
  .tg-slider--cards .tg-slider__track { gap: 14px; }
  .tg-slider--cards .tg-slider__slide { width: calc((100% - 14px) / 2); }
  /* スマホでは拡大縮小の演出をオフ（見やすさ優先） */
  .tg-slider--cards .tg-slider__slide .tg-case,
  .tg-slider--cards .tg-slider__slide.is-center .tg-case { transform: none; opacity: 1; }
}
@media (max-width: 480px)  { .tg-slider--cards .tg-slider__slide { width: 86%; } }

/* ---- Block 06b｜サービス紹介動画 ---- */
.tg-video { padding: clamp(56px, 9vw, 90px) 0; background: var(--bg-soft); }
.tg-video__frame { position: relative; max-width: 860px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 50px rgba(13,27,62,.28); background: #000; }
.tg-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tg-video__frame--empty { display: flex; align-items: center; justify-content: center; background: #0d1b3e; }
.tg-video__frame--empty p { color: rgba(255,255,255,.7); font-size: 1rem; letter-spacing: .04em; }

/* ---- Block 12b｜NEWS / お知らせ ---- */
.tg-news { padding: clamp(48px, 8vw, 80px) 0; }
.tg-news__list { list-style: none; max-width: 820px; margin: 30px auto 0; padding: 0; }
.tg-news__item { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; padding: 18px 4px; border-bottom: 1px solid #e6e8ef; }
.tg-news__date { font-weight: 700; color: var(--navy); font-size: 13px; font-variant-numeric: tabular-nums; flex: 0 0 auto; }
.tg-news__cat { font-size: 11px; font-weight: 700; background: var(--gold); color: var(--navy); padding: 3px 10px; border-radius: 999px; flex: 0 0 auto; }
.tg-news__title { flex: 1 1 100%; font-size: 16.5px; font-weight: 700; line-height: 1.5; margin: 2px 0 0; }
.tg-news__title a { color: var(--ink); text-decoration: none; }
.tg-news__title a:hover { color: var(--gold); text-decoration: underline; }
.tg-news__excerpt { flex: 1 1 100%; font-size: 13.5px; color: var(--muted); margin: 0; }
.tg-news__more { max-width: 820px; margin: 18px auto 0; text-align: right; }
.tg-link-arrow { color: var(--navy); font-weight: 700; font-size: 14px; text-decoration: none; }
.tg-link-arrow::after { content: ' →'; color: var(--gold); }
.tg-link-arrow:hover { color: var(--gold); }
.tg-news__note { max-width: 820px; margin: 16px auto 0; font-size: 12px; color: var(--muted); }

/* =========================================================================
   Block 09｜お客様の声
   ========================================================================= */
.tg-voices { background: var(--navy-2); color: #fff; padding: clamp(56px, 9vw, 90px) 0; }
.tg-voices__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.tg-voice { background: rgba(255,255,255,.05); border-radius: var(--radius); padding: 26px; margin: 0; }
.tg-voice__stars { color: var(--gold); letter-spacing: .12em; margin-bottom: 12px; }
.tg-voice blockquote { margin: 0 0 14px; font-size: 14.5px; color: rgba(255,255,255,.92); }
.tg-voice figcaption { font-size: 13px; color: rgba(255,255,255,.6); }

/* =========================================================================
   Block 10｜料金
   ========================================================================= */
.tg-price { padding: clamp(56px, 9vw, 90px) 0; background: var(--bg-soft); }
.tg-price__base {
  display: flex; align-items: stretch; justify-content: center; gap: 18px; flex-wrap: wrap; margin: 0 0 14px;
}
.tg-price__base-item { background: #fff; border-radius: var(--radius); padding: 26px 34px; text-align: center; box-shadow: 0 10px 30px rgba(13,27,62,.06); min-width: 260px; }
.tg-price__base-label { font-weight: 700; color: var(--muted); font-size: 14px; margin: 0 0 8px; }
.tg-price__base-amt { font-family: 'Noto Serif JP', serif; font-weight: 900; font-size: clamp(26px, 4.6vw, 36px); color: var(--navy); margin: 0; }
.tg-price__base-amt span { font-size: 14px; color: var(--muted); font-weight: 500; }
.tg-price__base-sub { font-size: 12.5px; color: var(--muted); margin: 8px 0 0; }
.tg-price__base-plus { display: flex; align-items: center; font-size: 30px; font-weight: 900; color: var(--gold); }

.tg-price__subhead { font-family: 'Noto Serif JP', serif; text-align: center; font-size: 20px; color: var(--navy); margin: 46px 0 20px; }

.tg-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tg-plan { background: #fff; border: 1px solid #e6e8ef; border-radius: var(--radius); padding: 26px 16px; text-align: center; position: relative; }
.tg-plan--popular { border: 2px solid var(--gold); box-shadow: 0 14px 34px rgba(201,168,76,.22); transform: translateY(-6px); }
.tg-plan__ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--red); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 999px; white-space: nowrap; }
.tg-plan__term { font-weight: 700; color: var(--muted); margin: 0 0 8px; }
.tg-plan__total { font-family: 'Noto Serif JP', serif; font-weight: 900; font-size: clamp(20px, 3.2vw, 26px); color: var(--navy); margin: 0; }

.tg-warranty { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tg-warranty__card { background: #fff; border: 1px solid #e6e8ef; border-radius: var(--radius); padding: 26px 22px; text-align: center; position: relative; }
.tg-warranty__card--reco { border: 2px solid var(--gold); box-shadow: 0 14px 34px rgba(201,168,76,.2); }
.tg-warranty__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--navy); font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 999px; }
.tg-warranty__name { font-family: 'Noto Serif JP', serif; font-weight: 700; font-size: 18px; color: var(--navy); margin: 0 0 8px; }
.tg-warranty__price { font-family: 'Noto Serif JP', serif; font-weight: 900; font-size: 26px; color: var(--gold); margin: 0 0 12px; }
.tg-warranty__price span { font-size: 13px; color: var(--muted); font-weight: 500; }
.tg-warranty__desc { font-size: 13px; color: var(--muted); margin: 0; }

.tg-price__included { margin: 30px auto 0; max-width: 720px; background: #fff; border: 2px solid var(--gold); border-radius: var(--radius); padding: 28px 30px; text-align: center; box-shadow: 0 14px 34px rgba(201,168,76,.2); }
.tg-price__included-badge { display: inline-block; background: var(--gold); color: var(--navy); font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 999px; margin-bottom: 12px; }
.tg-price__included-title { font-family: 'Noto Serif JP', serif; font-weight: 900; font-size: clamp(22px, 4vw, 30px); color: var(--navy); margin: 0 0 12px; }
.tg-price__included-desc { font-size: 14px; color: var(--muted); margin: 0; }
.tg-price__included-desc strong { color: var(--red); }
.tg-price__multi { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 28px 30px; margin: 40px 0 0; }
.tg-price__multi-title { font-family: 'Noto Serif JP', serif; font-weight: 700; font-size: 18px; color: var(--gold); margin: 0 0 12px; }
.tg-price__multi ul { margin: 0; padding-left: 20px; }
.tg-price__multi li { font-size: 14.5px; margin-bottom: 6px; }
.tg-price__multi strong { color: var(--gold-2); }

.tg-price__note { font-size: 12px; color: var(--muted); margin: 22px 0 0; text-align: center; }
.tg-price__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

/* =========================================================================
   Block 11｜導入フロー
   ========================================================================= */
.tg-flow { background: var(--navy); color: #fff; padding: clamp(56px, 9vw, 90px) 0; }
.tg-flow__banner { margin: 30px auto 6px; max-width: 880px; border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 44px rgba(0,0,0,.32); }
.tg-flow__banner img { width: 100%; display: block; max-height: 420px; object-fit: cover; }
.tg-flow__list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: none; }
.tg-flow__step { background: rgba(255,255,255,.05); border-radius: var(--radius); padding: 32px 24px; text-align: center; position: relative; }
.tg-flow__no { font-family: 'Noto Serif JP', serif; font-weight: 900; font-size: 40px; color: var(--gold); display: block; margin-bottom: 10px; }
.tg-flow__step h3 { font-size: 18px; margin: 0 0 10px; }
.tg-flow__step p { font-size: 14px; color: rgba(255,255,255,.74); margin: 0; }

/* =========================================================================
   Block 12｜会社情報
   ========================================================================= */
.tg-company { padding: clamp(56px, 9vw, 90px) 0; }
.tg-company__box { max-width: 820px; margin: 30px auto 0; background: #fff; border: 1px solid #eceef3; border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: 260px 1fr; }
.tg-company__photo { position: relative; background: var(--navy); }
.tg-company__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tg-company__photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(13,27,62,.85)); color: #fff; font-size: 13px; font-weight: 700; padding: 22px 16px 12px; }
.tg-company__dl { margin: 0; }
.tg-company__dl > div { display: grid; grid-template-columns: 160px 1fr; border-bottom: 1px solid #eef0f5; }
.tg-company__dl > div:last-child { border-bottom: 0; }
.tg-company__dl dt { background: var(--bg-soft); font-weight: 700; padding: 16px 20px; font-size: 14px; color: var(--navy); margin: 0; }
.tg-company__dl dd { padding: 16px 20px; font-size: 14px; margin: 0; color: var(--ink); }
.tg-company__dl dd a { color: var(--navy); font-weight: 700; }

/* =========================================================================
   Block 12｜会社情報の地図
   ========================================================================= */
.tg-company__map { max-width: 820px; margin: 18px auto 0; border-radius: var(--radius); overflow: hidden; border: 1px solid #eceef3; line-height: 0; }
.tg-company__map iframe { display: block; width: 100%; }

/* =========================================================================
   Block 11b｜お問い合わせフォーム
   ========================================================================= */
.tg-contact { padding: clamp(56px, 9vw, 90px) 0; background: var(--bg-soft); }
.tg-contact__box { max-width: 760px; margin: 30px auto 0; }
.tg-contact__placeholder { background: #fff; border: 2px dashed #c9cddb; border-radius: var(--radius); padding: 48px 20px; text-align: center; color: #8a90a2; font-size: 14px; line-height: 1.8; }
.tg-contact__alt { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
@media (max-width: 560px) { .tg-contact__alt .tg-btn { width: 100%; } }

/* =========================================================================
   Block 13b｜注意事項（安全・免責）
   ========================================================================= */
.tg-notes { padding: clamp(48px, 8vw, 76px) 0; }
.tg-notes__list { max-width: 820px; margin: 24px auto 0; padding-left: 1.2em; }
.tg-notes__list li { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.tg-notes__list strong { color: var(--red); }
.tg-notes__foot { max-width: 820px; margin: 18px auto 0; font-size: 12px; color: var(--muted); }

/* =========================================================================
   Block 13｜FAQ
   ========================================================================= */
.tg-faq { background: var(--bg-soft); padding: clamp(56px, 9vw, 90px) 0; }
.tg-faq__list { max-width: 820px; margin: 30px auto 0; }
.tg-faq__item { background: #fff; border: 1px solid #e6e8ef; border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.tg-faq__item summary {
  list-style: none; cursor: pointer; padding: 18px 52px 18px 22px; font-weight: 700; font-size: 15px;
  color: var(--navy); position: relative;
}
.tg-faq__item summary::-webkit-details-marker { display: none; }
.tg-faq__item summary::before { content: 'Q'; color: var(--gold); font-family: 'Noto Serif JP', serif; font-weight: 900; margin-right: 10px; }
.tg-faq__item summary::after {
  content: ''; position: absolute; right: 22px; top: 50%; width: 11px; height: 11px;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: translateY(-65%) rotate(45deg); transition: transform .2s;
}
.tg-faq__item[open] summary::after { transform: translateY(-35%) rotate(-135deg); }
.tg-faq__a { padding: 0 22px 20px; font-size: 14px; color: var(--muted); }

/* =========================================================================
   Block 14｜最終CTA
   ========================================================================= */
.tg-final { position: relative; color: #fff; overflow: hidden; padding: clamp(64px, 11vw, 110px) 0; text-align: center;
  background: radial-gradient(900px 400px at 50% 0%, rgba(201,168,76,.22), transparent 60%), linear-gradient(160deg, #0a1530, var(--navy)); }
.tg-final__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: .5; }
.tg-final__overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(160deg, rgba(10,21,48,.78), rgba(13,27,62,.88)), repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 2px, transparent 2px 22px); }
.tg-final__inner { position: relative; z-index: 2; }
.tg-final__title { font-family: 'Noto Serif JP', serif; font-weight: 900; font-size: clamp(24px, 5vw, 40px); margin: 0 0 18px; }
.tg-final__lead { font-size: clamp(15px, 2.6vw, 18px); color: rgba(255,255,255,.85); margin: 0 0 32px; }
.tg-final__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.tg-final__note { font-size: 12.5px; color: rgba(255,255,255,.6); margin: 0; }

/* =========================================================================
   Block 15｜フッター
   ========================================================================= */
.tg-footer { background: #070f24; color: rgba(255,255,255,.7); padding: 50px 0 90px; }
.tg-footer__inner { display: grid; gap: 22px; }
.tg-footer__brand { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tg-footer__logo { font-family: 'Noto Serif JP', serif; font-weight: 900; font-size: 24px; color: #fff; }
.tg-footer__logo-en { font-size: 12px; letter-spacing: .25em; color: var(--gold); }
.tg-footer__by { width: 100%; font-size: 12.5px; margin: 4px 0 0; }
.tg-footer__nav { display: flex; flex-wrap: wrap; gap: 18px; }
.tg-footer__nav a { color: rgba(255,255,255,.78); text-decoration: none; font-size: 13.5px; }
.tg-footer__nav a:hover { color: var(--gold); }
.tg-footer__company { border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; }
.tg-footer__heading { font-size: 14px; font-weight: 700; color: #fff; margin: 0 0 12px; letter-spacing: .04em; }
.tg-footer__dl { display: grid; grid-template-columns: 1fr; gap: 6px 0; margin: 0; font-size: 12.5px; }
.tg-footer__dl > div { display: flex; gap: 10px; }
.tg-footer__dl dt { flex: 0 0 72px; color: var(--gold); font-weight: 700; margin: 0; }
.tg-footer__dl dd { margin: 0; color: rgba(255,255,255,.78); }
.tg-footer__dl a { color: rgba(255,255,255,.85); text-decoration: none; }
.tg-footer__dl a:hover { color: var(--gold); }
.tg-footer__by a, .tg-footer__copy a { color: inherit; text-decoration: none; }
.tg-footer__by a:hover, .tg-footer__copy a:hover { color: var(--gold); text-decoration: underline; }
.tg-footer__source { font-size: 11.5px; color: rgba(255,255,255,.5); border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; }
.tg-footer__source p { margin: 0 0 4px; }
.tg-footer__copy { font-size: 12px; color: rgba(255,255,255,.45); margin: 0; }

/* ---- 追従CTA（モバイル） ---- */
.tg-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; gap: 0; box-shadow: 0 -4px 18px rgba(0,0,0,.18); }
.tg-sticky__btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 14px 8px; font-weight: 700; font-size: 14px; text-decoration: none; }
.tg-sticky__btn--tel { background: var(--navy); color: #fff; flex: 0 0 38%; }
.tg-sticky__btn--line { background: var(--line); color: #fff; }

/* ---- 追従CTA（PC・タブレット）---- */
.tg-fab {
  position: fixed; left: 20px; bottom: 22px; z-index: 88;
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}
.tg-fab.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.tg-fab__btn {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 14px;
  text-decoration: none; white-space: nowrap;
  box-shadow: 0 8px 22px rgba(13,27,62,.22);
  transition: transform .15s ease, box-shadow .15s ease;
}
.tg-fab__btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(13,27,62,.3); }
.tg-fab__btn--line { background: var(--line); color: #fff; }
.tg-fab__btn--tel  { background: var(--navy); color: #fff; }
.tg-fab__btn--cta  { background: var(--gold); color: var(--navy); }
@media (max-width: 768px) { .tg-fab { display: none; } } /* モバイルは追従バーを使用 */

/* =========================================================================
   レスポンシブ
   ========================================================================= */
@media (max-width: 900px) {
  .tg-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .tg-threats__grid,
  .tg-features__grid,
  .tg-cases__grid,
  .tg-voices__grid,
  .tg-flow__list,
  .tg-warranty { grid-template-columns: 1fr 1fr; }
  .tg-plans { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .tg-nav__menu { display: none; }
  .tg-nav__cta { display: none; }
  .tg-nav__toggle { display: flex; }
  .tg-nav.is-open .tg-nav__menu {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 16px 20px; gap: 14px; box-shadow: 0 12px 24px rgba(13,27,62,.12); margin: 0;
  }
  .tg-nav.is-open .tg-nav__cta { display: flex; position: absolute; top: 100%; left: 0; right: 0; margin-top: 132px; padding: 0 20px 18px; background: #fff; }
  .tg-nav.is-open .tg-nav__cta .tg-btn { flex: 1; }
  .tg-myth__grid { grid-template-columns: 1fr; }
  .tg-myth__arrow { transform: rotate(90deg); justify-content: center; }
  .tg-company__box { grid-template-columns: 1fr; }
  .tg-company__photo { aspect-ratio: 16 / 10; }
  .tg-sticky { display: flex; }
  .tg-footer { padding-bottom: 90px; }
}

@media (max-width: 560px) {
  .tg-stats__grid { grid-template-columns: 1fr 1fr; }
  .tg-threats__grid,
  .tg-features__grid,
  .tg-cases__grid,
  .tg-voices__grid,
  .tg-flow__list,
  .tg-warranty,
  .tg-plans { grid-template-columns: 1fr; }
  .tg-plan--popular { transform: none; }
  .tg-price__base-plus { transform: rotate(90deg); }
  .tg-company__dl > div { grid-template-columns: 110px 1fr; }
  .tg-hero__cta .tg-btn,
  .tg-price__cta .tg-btn,
  .tg-final__cta .tg-btn { width: 100%; }
}

/* ---- スクロール出現アニメ ---- */
@media (prefers-reduced-motion: no-preference) {
  #tengo-lp .tg-reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
  #tengo-lp .tg-reveal.is-visible { opacity: 1; transform: none; }
}

/* ---- ロゴ画像（ヘッダー／フッター） ---- */
/* ロゴ：余白をクリップ枠でトリミング（画像内の余白を約25%カット） */
.tg-nav__logo-wrap { display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; overflow: hidden; border-radius: 8px; flex: 0 0 auto; }
.tg-nav__logo-img { width: 100%; height: 100%; object-fit: contain; transform: scale(1.34); display: block; }
.tg-footer__logo-wrap { display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; overflow: hidden; border-radius: 8px; flex: 0 0 auto; }
.tg-footer__logo-img { width: 100%; height: 100%; object-fit: contain; transform: scale(1.34); display: block; }

/* ---- 離脱防止ポップアップ ---- */
.tg-exit { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 20px; }
.tg-exit.is-open { display: flex; }
.tg-exit__overlay { position: absolute; inset: 0; background: rgba(7,15,36,.72); backdrop-filter: blur(2px); }
.tg-exit__box { position: relative; background: #fff; border-radius: 20px; max-width: 460px; width: 100%; padding: 38px 30px 26px; text-align: center; box-shadow: 0 30px 70px rgba(0,0,0,.4); border-top: 6px solid var(--gold); animation: tg-exit-pop .3s ease; }
@keyframes tg-exit-pop { from { opacity: 0; transform: translateY(20px) scale(.96); } to { opacity: 1; transform: none; } }
.tg-exit__close { position: absolute; top: 10px; right: 14px; background: none; border: 0; font-size: 26px; color: #9aa0af; cursor: pointer; line-height: 1; }
.tg-exit__eyebrow { display: inline-block; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 14px; border-radius: 999px; margin: 0 0 14px; }
.tg-exit__title { font-family: 'Noto Serif JP', serif; font-weight: 900; font-size: clamp(20px, 4.5vw, 26px); color: var(--navy); margin: 0 0 12px; line-height: 1.45; }
.tg-exit__title span { color: var(--red); }
.tg-exit__lead { font-size: 14.5px; color: var(--muted); margin: 0 0 22px; }
.tg-exit__lead strong { color: var(--navy); }
.tg-exit__cta { display: flex; flex-direction: column; gap: 10px; }
.tg-exit__dismiss { margin-top: 14px; background: none; border: 0; color: #9aa0af; font-size: 13px; text-decoration: underline; cursor: pointer; }

/* =========================================================================
   インパクト演出（シネマティック）※ reduced-motion では無効化
   ========================================================================= */
@media (prefers-reduced-motion: no-preference) {
  /* ヒーロー背景 Ken Burns */
  .tg-hero__bg { animation: tg-kenburns 20s ease-out forwards; transform-origin: 68% 42%; }
  @keyframes tg-kenburns { from { transform: scale(1.14); } to { transform: scale(1); } }
  .tg-final__bg { animation: tg-kenburns 24s ease-out forwards; }

  /* ヒーロー要素の段階登場 */
  .tg-hero__eyebrow, .tg-hero__title, .tg-hero__lead, .tg-hero__points, .tg-hero__cta, .tg-hero__note {
    opacity: 0; animation: tg-hero-in .9s ease forwards;
  }
  .tg-hero__eyebrow { animation-delay: .10s; }
  .tg-hero__title   { animation-delay: .28s; }
  .tg-hero__lead    { animation-delay: .50s; }
  .tg-hero__points  { animation-delay: .70s; }
  .tg-hero__cta     { animation-delay: .88s; }
  .tg-hero__note    { animation-delay: 1.05s; }
  @keyframes tg-hero-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

  /* CTAのゴールド・グロー（脈動） */
  .tg-hero__cta .tg-btn--gold, .tg-final__cta .tg-btn--gold { animation: tg-glow 2.8s ease-in-out infinite; }
  @keyframes tg-glow {
    0%, 100% { box-shadow: 0 8px 22px rgba(201,168,76,.35); }
    50%      { box-shadow: 0 10px 36px rgba(201,168,76,.72); }
  }

  /* ゴールドパーティクル（JSで .tg-hero__particles を生成） */
  .tg-hero__particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
  .tg-hero__particles i {
    position: absolute; bottom: -12px; border-radius: 50%;
    background: radial-gradient(circle, rgba(201,168,76,.9), rgba(201,168,76,0));
    opacity: 0; animation: tg-rise linear infinite;
  }
  @keyframes tg-rise {
    0%   { transform: translateY(0) scale(.6); opacity: 0; }
    12%  { opacity: .85; }
    100% { transform: translateY(-88vh) scale(1.1); opacity: 0; }
  }

  /* スクロール出現に微ズーム */
  #tengo-lp .tg-reveal { transform: translateY(24px) scale(.985); }
  #tengo-lp .tg-reveal.is-visible { transform: none; }
}

/* =========================================================================
   料金シミュレーター（Block 10b）
   ========================================================================= */
#tengo-lp .tg-sim { padding: 64px 0; background: var(--bg-soft); }
.tg-sim__card { max-width: 640px; margin: 28px auto 0; background: #fff; border: 1px solid #e6e8ef;
  border-radius: 18px; padding: 28px; box-shadow: 0 16px 40px rgba(13,27,62,.08); }
.tg-sim__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.tg-sim__label { font-weight: 700; font-size: 16px; color: var(--navy); }
.tg-sim__qty { display: flex; align-items: center; gap: 8px; }
.tg-sim__step { width: 42px; height: 42px; border: 1px solid var(--gold); background: #fff; color: var(--navy);
  font-size: 22px; line-height: 1; border-radius: 12px; cursor: pointer; transition: background .15s; }
.tg-sim__step:hover { background: var(--gold); }
.tg-sim__input { width: 72px; height: 42px; text-align: center; font-size: 20px; font-weight: 700; color: var(--navy);
  border: 1px solid #d8dbe4; border-radius: 12px; -moz-appearance: textfield; }
.tg-sim__input::-webkit-outer-spin-button, .tg-sim__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tg-sim__unit { font-weight: 700; color: var(--muted); }
.tg-sim__result { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0 8px; }
.tg-sim__amt { background: linear-gradient(160deg, #0a1530, var(--navy)); color: #fff; border-radius: 14px; padding: 16px; text-align: center; }
.tg-sim__amt-label { display: block; font-size: 12px; color: var(--gold); letter-spacing: .04em; }
.tg-sim__amt-val { display: block; font-size: 26px; font-weight: 900; margin-top: 6px; font-family: 'Noto Serif JP', serif; }
.tg-sim__amt-val small { font-size: 14px; font-weight: 700; }
.tg-sim__amt-note { display: block; font-size: 11px; color: #b9c0d4; margin-top: 4px; min-height: 14px; }
.tg-sim__hint { margin: 6px 0 0; color: var(--gold); font-weight: 700; font-size: 13px; min-height: 18px; }
.tg-sim__note { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.tg-sim__cta { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.tg-sim__cta .tg-btn { flex: 1; min-width: 200px; }
@media (max-width: 560px) { .tg-sim__result { grid-template-columns: 1fr; } }

/* =========================================================================
   FAQ 検索
   ========================================================================= */
.tg-faq__search { max-width: 560px; margin: 18px auto 22px; }
.tg-faq__searchbox { width: 100%; padding: 13px 16px; font-size: 15px; border: 1px solid #d8dbe4;
  border-radius: 999px; outline: none; transition: border-color .15s, box-shadow .15s; }
.tg-faq__searchbox:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,.18); }
.tg-faq__empty { margin: 14px 4px 0; color: var(--muted); font-size: 14px; text-align: center; }
.tg-faq__item[hidden] { display: none; }
.tg-faq__item mark { background: rgba(201,168,76,.35); color: inherit; padding: 0 2px; border-radius: 3px; }

/* ===== WordPress テーマ対応：LPを全幅で表示＆ナビ横並びを強制 ===== */
:where(.is-layout-constrained) > #tengo-lp,
.wp-block-post-content > #tengo-lp,
.entry-content > #tengo-lp { max-width: none !important; width: 100% !important; }
#tengo-lp .tg-container, #tengo-lp .tg-nav__inner { max-width: var(--maxw) !important; }
#tengo-lp .tg-nav__inner { display: flex !important; flex-wrap: nowrap !important; align-items: center !important; }
#tengo-lp .tg-nav__menu { display: flex !important; flex-direction: row !important; }
#tengo-lp .tg-nav__cta { display: flex !important; flex-direction: row !important; margin-left: auto !important; }
@media (max-width: 768px) {
  #tengo-lp .tg-nav__menu, #tengo-lp .tg-nav__cta { display: none !important; }
  #tengo-lp .tg-nav.is-open .tg-nav__menu { display: flex !important; flex-direction: column !important; }
  #tengo-lp .tg-nav__toggle { display: flex !important; }
}

/* ============================================================
   お問い合わせフォーム（[tengo_contact_form]）
============================================================ */
.tg-form { max-width: 640px; margin: 26px auto 0; text-align: left; }
.tg-form__row { margin: 0 0 16px; }
.tg-form__label { display: block; font-weight: 700; color: var(--navy); font-size: 14.5px; margin: 0 0 6px; }
.tg-form__req { display: inline-block; font-size: 11px; font-weight: 700; color: #fff; background: #d8423a; border-radius: 4px; padding: 1px 7px; margin-left: 6px; vertical-align: middle; }
.tg-form__input { width: 100%; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid #cfd4e2; border-radius: 10px; padding: 12px 14px; box-sizing: border-box; transition: border-color .15s, box-shadow .15s; }
.tg-form__input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,77,.18); }
textarea.tg-form__input { resize: vertical; min-height: 120px; }
.tg-form__row--consent { font-size: 14px; color: var(--ink); }
.tg-form__row--consent a { color: var(--navy); text-decoration: underline; }
.tg-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tg-form__actions { text-align: center; margin: 22px 0 0; }
.tg-form__actions .tg-btn { min-width: 240px; }
.tg-form__status { text-align: center; font-weight: 700; margin: 14px 0 0; min-height: 1.4em; }
.tg-form__status.is-ok { color: #1d8a4e; }
.tg-form__status.is-err { color: #d8423a; }
.tg-form.is-sending [data-tg-submit] { opacity: .6; pointer-events: none; }
.tg-news__empty { text-align: center; color: var(--muted); padding: 24px 0; }
