@charset "UTF-8";
/* ==========================================================================
   ウェブサイト制作 料金シミュレーター ／ 見た目モックアップ
   合同会社ＴＥＧＯＵ
   --------------------------------------------------------------------------
   デザインコンセプト : 「見積伝票 × 現代のプロダクトUI」
     方眼紙の下地／ミシン目／等幅数字の罫線見積書／ハードシャドウの黒枠
   ブランド           : 自社サイト実測値（logo #231815 / accent #FFD800）
   クラス接頭辞       : tgs-（既存サイトのCSSと衝突しないようスコープ）
   JS                 : 不使用（金額は初期選択に対応した固定値）
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. トークン
   -------------------------------------------------------------------------- */
.tgs {
  /* ink */
  --ink:        #1b1917;
  --ink-2:      #4b453d;
  --ink-3:      #837b6c;
  --ink-4:      #a8a091;
  /* paper */
  --paper:      #f7f4ed;
  --paper-2:    #efeade;
  --card:       #ffffff;
  /* rules */
  --rule:       #e6e1d4;
  --rule-2:     #cdc5b2;
  /* brand */
  --brand:      #FFD800;
  --brand-deep: #dcb92f;
  --brand-soft: #fdf3ce;
  /* type */
  --ff-jp: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN",
           "Yu Gothic Medium", "游ゴシック Medium", "Yu Gothic", Meiryo, sans-serif;
  --ff-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  /* metrics */
  --gut: 24px;
  --r:   3px;
  --shadow-hard: 5px 5px 0 var(--ink);
  --shadow-soft: 0 22px 44px -26px rgba(27, 25, 23, .40);
}

/* --------------------------------------------------------------------------
   2. ベース
   -------------------------------------------------------------------------- */
/* ▼ このモックアップを単体で見るためだけの指定。
      既存サイトへ組み込むときは、この2行を削除する。 */
html, body { margin: 0; padding: 0; }

.tgs,
.tgs *,
.tgs *::before,
.tgs *::after { box-sizing: border-box; }

.tgs {
  position: relative;
  isolation: isolate;
  margin: 0;
  padding: clamp(48px, 7vw, 96px) 0 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--ff-jp);
  font-size: 16px;
  line-height: 1.85;
  font-feature-settings: "palt" 1;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* リセットは :where() で詳細度 0 にする。
   （個別クラスの margin / padding が打ち消されるのを防ぐため） */
.tgs :where(h1, h2, h3, p, ul, ol, dl, dd, figure) { margin: 0; padding: 0; }
.tgs :where(ul, ol) { list-style: none; }
.tgs :where(fieldset) { margin: 0; padding: 0; border: 0; min-width: 0; }
.tgs :where(legend) { padding: 0; }
.tgs :where(a) { color: inherit; text-decoration: none; }
.tgs :where(em) { font-style: normal; }
.tgs :where(small) { font-size: .8em; font-weight: inherit; }

/* 方眼＋グレインの下地 */
.tgs__paper {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(27, 25, 23, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 25, 23, .045) 1px, transparent 1px);
  background-size: 30px 30px, 30px 30px;
  background-position: center top;
  mask-image: linear-gradient(180deg, #000 0, #000 62%, transparent 96%);
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 62%, transparent 96%);
}
.tgs__paper::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
}

.tgs__inner {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.tgs-br-pc { display: none; }
@media (min-width: 768px) { .tgs-br-pc { display: inline; } }

/* 登場アニメーション */
@keyframes tgsRise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
.tgs-rise {
  animation: tgsRise .8s cubic-bezier(.2, .75, .3, 1) both;
  animation-delay: var(--d, 0s);
}
@media (prefers-reduced-motion: reduce) {
  .tgs-rise { animation: none; }
  .tgs *, .tgs *::before, .tgs *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* --------------------------------------------------------------------------
   3. ヘッダー
   -------------------------------------------------------------------------- */
.tgs-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 5vw, 68px);
}

.tgs-head__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--ink-3);
  margin-bottom: 22px;
}
.tgs-head__mark {
  width: 34px;
  height: 12px;
  flex: none;
  background: var(--brand);
  border: 1.5px solid var(--ink);
  transform: skewX(-14deg);
}

.tgs-head__title {
  font-size: clamp(30px, 6.2vw, 58px);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: -.02em;
}
.tgs-head__title em {
  position: relative;
  display: inline-block;
  z-index: 0;
}
.tgs-head__title em::before {
  content: "";
  position: absolute;
  left: -.08em;
  right: -.08em;
  bottom: .06em;
  height: .42em;
  background: var(--brand);
  z-index: -1;
  transform: skewX(-3deg) rotate(-.6deg);
}

.tgs-head__lead {
  margin-top: 26px;
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--ink-2);
}

.tgs-head__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}
.tgs-head__badges li {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1;
  padding: 9px 13px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--card);
  white-space: nowrap;
}
.tgs-head__badges li::before {
  content: "✓";
  font-family: var(--ff-mono);
  margin-right: 6px;
  color: var(--brand-deep);
}

/* --------------------------------------------------------------------------
   4. レイアウト（フォーム＋見積書）
   -------------------------------------------------------------------------- */
.tgs-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 372px;
  gap: clamp(28px, 3.6vw, 56px);
  align-items: start;
}
@media (max-width: 1040px) {
  .tgs-body { grid-template-columns: minmax(0, 1fr); }
}

.tgs-form {
  display: grid;
  gap: clamp(28px, 3.4vw, 46px);
}

/* --------------------------------------------------------------------------
   5. 設問
   -------------------------------------------------------------------------- */
.tgs-q { position: relative; }

.tgs-q__legend {
  display: flex;
  align-items: baseline;
  gap: 14px;
  width: 100%;
}
.tgs-q__no {
  flex: none;
  font-family: var(--ff-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1;
  padding: 8px 9px 7px;
  color: var(--ink);
  background: var(--brand);
  border: 1.5px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  transform: translateY(-2px);
}
.tgs-q__text {
  font-size: clamp(17px, 2.2vw, 21px);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: -.01em;
}
.tgs-q__note {
  margin: 12px 0 0 0;
  padding-left: 2px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--ink-3);
}
.tgs-q__hint {
  margin-top: 16px;
  padding: 11px 14px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--brand-soft);
  border-left: 3px solid var(--brand-deep);
}

/* --- 選択カード --- */
.tgs-opts {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}
.tgs-opts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tgs-opts--1 { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 620px) {
  .tgs-opts--2 { grid-template-columns: minmax(0, 1fr); }
}

.tgs-opt {
  display: block;
  position: relative;
  cursor: pointer;
}
.tgs-opt input {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.tgs-opt__box {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 9px;
  height: 100%;
  min-height: 100%;
  padding: 18px 52px 16px 18px;
  background: var(--card);
  border: 1.5px solid var(--rule-2);
  border-radius: var(--r);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background-color .18s ease;
}
.tgs-opt:hover .tgs-opt__box {
  border-color: var(--ink-3);
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--rule-2);
}
.tgs-opt input:focus-visible + .tgs-opt__box {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}
.tgs-opt input:checked + .tgs-opt__box {
  border-color: var(--ink);
  border-width: 1.5px;
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hard);
}

.tgs-opt__head {
  display: block;
}
.tgs-opt__name {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -.01em;
}

/* チェック標識 */
.tgs-opt__check {
  position: absolute;
  top: 17px;
  right: 17px;
  width: 23px;
  height: 23px;
  border: 2px solid var(--rule-2);
  border-radius: 50%;
  background: var(--paper);
  transition: background-color .18s ease, border-color .18s ease;
}
.tgs-opt--check .tgs-opt__check { border-radius: 5px; }
.tgs-opt input:checked + .tgs-opt__box .tgs-opt__check {
  background: var(--brand);
  border-color: var(--ink);
}
.tgs-opt input:checked + .tgs-opt__box .tgs-opt__check::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 2px;
  width: 5px;
  height: 11px;
  border: solid var(--ink);
  border-width: 0 2.4px 2.4px 0;
  transform: rotate(43deg);
}

.tgs-opt__desc {
  font-size: 13px;
  line-height: 1.78;
  color: var(--ink-3);
}
.tgs-opt__price {
  align-self: flex-start;
  margin-top: auto;
  padding: 5px 11px 4px;
  font-family: var(--ff-mono);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .01em;
  white-space: nowrap;
  color: var(--ink-2);
  background: var(--paper-2);
  border-radius: 2px;
  transition: background-color .18s ease, color .18s ease;
}
.tgs-opt__price b {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.tgs-opt__price small {
  font-family: var(--ff-jp);
  font-size: 10.5px;
  color: var(--ink-3);
}
.tgs-opt input:checked + .tgs-opt__box .tgs-opt__price {
  background: var(--brand);
  color: var(--ink);
}
.tgs-opt input:checked + .tgs-opt__box .tgs-opt__price small { color: var(--ink-2); }

/* 横並び（1カラム）バリエーション */
@media (min-width: 621px) {
  .tgs-opt--row .tgs-opt__box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    column-gap: 32px;
    align-items: center;
    padding: 20px 60px 20px 20px;
  }
  .tgs-opt--row .tgs-opt__head  { grid-column: 1; grid-row: 1; }
  .tgs-opt--row .tgs-opt__desc  { grid-column: 1; grid-row: 2; margin-top: 5px; max-width: 60ch; }
  .tgs-opt--row .tgs-opt__price {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    margin: 0;
    font-size: 13px;
  }
  .tgs-opt--row .tgs-opt__price b { font-size: 18px; }
}

/* --- Q2 目盛りスケール --- */
.tgs-scale {
  position: relative;
  margin-top: 26px;
  padding: 14px 0 4px;
}
.tgs-scale__rail {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 22px;
  height: 2px;
  background: var(--rule-2);
}
.tgs-scale__items {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.tgs-tick {
  position: relative;
  display: block;
  cursor: pointer;
  text-align: center;
}
.tgs-tick input {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.tgs-tick__box {
  display: block;
  padding-bottom: 4px;
}
.tgs-tick__dot {
  display: block;
  width: 17px;
  height: 17px;
  margin: 0 auto 12px;
  border: 2px solid var(--rule-2);
  border-radius: 50%;
  background: var(--paper);
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.tgs-tick:hover .tgs-tick__dot { border-color: var(--ink-3); }
.tgs-tick__label {
  display: block;
  font-family: var(--ff-mono);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink-3);
  transition: color .18s ease;
}
.tgs-tick__label small { font-size: 10.5px; margin-left: 1px; }
.tgs-tick input:focus-visible + .tgs-tick__box .tgs-tick__dot {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}
.tgs-tick input:checked + .tgs-tick__box .tgs-tick__dot {
  background: var(--brand);
  border-color: var(--ink);
  transform: scale(1.18);
  box-shadow: 0 0 0 6px var(--brand-soft);
}
.tgs-tick input:checked + .tgs-tick__box .tgs-tick__label {
  color: var(--ink);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   6. 見積書パネル
   -------------------------------------------------------------------------- */
.tgs-quote-wrap {
  position: sticky;
  top: 24px;
  align-self: start;
}
@media (max-width: 1040px) {
  .tgs-quote-wrap { position: static; }
}

.tgs-quote {
  position: relative;
  padding: 30px 26px 26px;
  background: var(--card);
  border: 1.5px solid var(--ink);
  border-radius: var(--r);
  box-shadow: var(--shadow-hard), var(--shadow-soft);
}

/* 「概算」スタンプ */
.tgs-quote__stamp {
  position: absolute;
  top: -20px;
  right: -14px;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  background: var(--brand);
  transform: rotate(-13deg);
  box-shadow: 0 6px 14px -8px rgba(27, 25, 23, .5);
}
.tgs-quote__stamp::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  opacity: .55;
}
.tgs-quote__stamp span {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: .06em;
  line-height: 1;
}

.tgs-quote__head {
  padding-bottom: 18px;
  border-bottom: 2.5px solid var(--ink);
}
.tgs-quote__kicker {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .22em;
  color: var(--ink-4);
  line-height: 1;
}
.tgs-quote__title {
  margin-top: 10px;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -.01em;
  line-height: 1.4;
}
.tgs-quote__sub {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-3);
}

/* 明細行 */
.tgs-quote__rows { padding: 16px 0 4px; }
.tgs-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 0;
  font-size: 13px;
}
.tgs-row__name {
  color: var(--ink-2);
  line-height: 1.6;
}
.tgs-row__name small { color: var(--ink-4); }
.tgs-row__dots {
  flex: 1 1 auto;
  min-width: 12px;
  border-bottom: 1px dotted var(--rule-2);
  transform: translateY(-4px);
}
.tgs-row__val {
  flex: none;
  font-family: var(--ff-mono);
  font-size: 13.5px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.tgs-row__val small {
  font-family: var(--ff-jp);
  font-size: 10.5px;
  color: var(--ink-3);
}
.tgs-row--m { font-size: 12.5px; padding: 5px 0; }

/* 合計 */
.tgs-quote__total {
  margin-top: 14px;
  padding: 18px 18px 20px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: var(--r);
}
.tgs-quote__totalLabel {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--ink-2);
  line-height: 1;
}
.tgs-quote__totalNum {
  margin-top: 12px;
  font-family: var(--ff-mono);
  font-size: clamp(21px, 2.5vw, 25px);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
  line-height: 1.32;
  word-break: keep-all;
}
.tgs-cur { font-size: .68em; font-weight: 500; margin-right: 1px; }
.tgs-tilde {
  display: inline-block;
  font-size: .6em;
  color: var(--ink-3);
  padding: 0 2px;
  transform: translateY(-2px);
}
.tgs-quote__totalTax {
  margin-top: 3px;
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: .04em;
}

/* レンジゲージ */
.tgs-gauge {
  position: relative;
  height: 9px;
  margin-top: 16px;
  background: var(--card);
  border: 1.5px solid var(--ink);
  overflow: hidden;
}
.tgs-gauge__fill {
  position: absolute;
  top: 0; bottom: 0;
  left: 38.5%;
  right: 23%;
  background-color: var(--brand);
  background-image: repeating-linear-gradient(45deg,
    rgba(27, 25, 23, .16) 0 3px, transparent 3px 7px);
  border-left: 1.5px solid var(--ink);
  border-right: 1.5px solid var(--ink);
}
.tgs-gauge__legend {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--ink-4);
  line-height: 1;
}

/* ミシン目（切り取り線） */
.tgs-quote__monthly {
  position: relative;
  margin-top: 30px;
  padding-top: 24px;
}
.tgs-quote__monthly::before {
  content: "";
  position: absolute;
  left: -27.5px;
  right: -27.5px;
  top: 0;
  border-top: 2px dashed var(--rule-2);
}
/* ミシン目両端の半円パーツは削除（2026-08-18 修正2） */

.tgs-quote__monthlyTotal {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  padding-top: 11px;
  border-top: 1.5px solid var(--ink);
  font-size: 12px;
  font-weight: 700;
}
.tgs-quote__monthlyTotal b {
  font-family: var(--ff-mono);
  font-size: 16px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.tgs-quote__monthlyNote {
  margin-top: 6px;
  font-size: 10.5px;
  line-height: 1.6;
  color: var(--ink-3);
  text-align: right;
}

/* CTA */
.tgs-quote__cta {
  display: grid;
  gap: 9px;
  margin-top: 24px;
}

/* 注記 */
.tgs-quote__fine {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}
.tgs-quote__fine li {
  position: relative;
  padding-left: 14px;
  font-size: 10.5px;
  line-height: 1.85;
  color: var(--ink-3);
}
.tgs-quote__fine li::before {
  content: "※";
  position: absolute;
  left: 0;
  top: 0;
}

/* --------------------------------------------------------------------------
   7. ボタン
   -------------------------------------------------------------------------- */
.tgs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 12px 18px;
  font-family: var(--ff-jp);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .01em;
  text-align: center;
  border: 1.5px solid var(--ink);
  border-radius: var(--r);
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, color .16s ease;
}
.tgs-btn svg { flex: none; transition: transform .22s cubic-bezier(.2,.8,.3,1); }
.tgs-btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.tgs-btn--primary {
  background: var(--brand);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}
.tgs-btn--primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}
.tgs-btn--primary:hover svg { transform: translateX(4px); }
.tgs-btn--primary:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 var(--ink);
}

.tgs-btn--ghost {
  background: var(--card);
  color: var(--ink);
  font-size: 13px;
}
.tgs-btn--ghost:hover { background: var(--paper-2); }

.tgs-btn--line {
  background: transparent;
  color: var(--paper);
  border-color: var(--paper);
}
.tgs-btn--line:hover { background: rgba(247, 244, 237, .12); }

.tgs-btn--lg {
  min-height: 60px;
  padding: 14px 30px;
  font-size: 15.5px;
}

/* 濃色セクション上のボタン（影が地色に沈むため明るい影に差し替え） */
.tgs-cta .tgs-btn--primary        { box-shadow: 3px 3px 0 rgba(247, 244, 237, .28); }
.tgs-cta .tgs-btn--primary:hover  { box-shadow: 5px 5px 0 rgba(247, 244, 237, .28); }
.tgs-cta .tgs-btn--primary:active { box-shadow: 1px 1px 0 rgba(247, 244, 237, .28); }
.tgs-cta .tgs-btn:focus-visible   { outline-color: var(--brand); }

/* --------------------------------------------------------------------------
   8. セクション見出し共通
   -------------------------------------------------------------------------- */
.tgs-sec__kicker {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  color: var(--ink-4);
  line-height: 1;
}
.tgs-sec__title {
  margin-top: 14px;
  font-size: clamp(22px, 3.2vw, 31px);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.45;
}
.tgs-sec__lead {
  margin-top: 16px;
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--ink-2);
}
.tgs-sec__lead em {
  font-weight: 700;
  color: var(--ink);
  background-image: linear-gradient(transparent 66%, var(--brand) 66%);
}

/* --------------------------------------------------------------------------
   9. 料金の考え方
   -------------------------------------------------------------------------- */
.tgs-policy {
  margin-top: clamp(64px, 8vw, 116px);
  padding-top: clamp(40px, 5vw, 60px);
  border-top: 2.5px solid var(--ink);
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
@media (max-width: 900px) {
  .tgs-policy { grid-template-columns: minmax(0, 1fr); }
}

.tgs-policy__list {
  display: grid;
  gap: 14px;
}
@media (min-width: 901px) {
  .tgs-policy__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.tgs-policy__item {
  position: relative;
  padding: 24px 20px 22px;
  background: var(--card);
  border: 1.5px solid var(--ink);
  border-radius: var(--r);
  transition: transform .2s ease, box-shadow .2s ease;
}
.tgs-policy__item:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hard);
}
.tgs-policy__no {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1;
  padding: 6px 8px;
  margin-bottom: 14px;
  background: var(--brand);
  border: 1.5px solid var(--ink);
}
.tgs-policy__item h3 {
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.5;
}
.tgs-policy__item p {
  margin-top: 9px;
  font-size: 13px;
  line-height: 1.85;
  color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   10. FAQ
   -------------------------------------------------------------------------- */
.tgs-faq {
  margin-top: clamp(64px, 8vw, 110px);
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}
@media (max-width: 900px) {
  .tgs-faq { grid-template-columns: minmax(0, 1fr); }
}

.tgs-faq__list {
  border-top: 1.5px solid var(--ink);
}

.tgs-acc { border-bottom: 1.5px solid var(--rule-2); }
.tgs-acc:last-child { border-bottom-color: var(--ink); }

.tgs-acc__q {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  list-style: none;
  padding: 20px 44px 20px 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: color .16s ease;
}
.tgs-acc__q::-webkit-details-marker { display: none; }
.tgs-acc__q::before {
  content: "Q";
  flex: none;
  font-family: var(--ff-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-deep);
  transform: translateY(2px);
}
.tgs-acc__q:hover { color: var(--ink-2); }
.tgs-acc__q:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; }

/* ＋／− アイコン */
.tgs-acc__q::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 26px;
  width: 15px;
  height: 15px;
  background-image:
    linear-gradient(var(--ink), var(--ink)),
    linear-gradient(var(--ink), var(--ink));
  background-size: 15px 1.8px, 1.8px 15px;
  background-position: center, center;
  background-repeat: no-repeat;
  transition: transform .28s cubic-bezier(.2, .8, .3, 1);
}
.tgs-acc[open] .tgs-acc__q::after {
  transform: rotate(180deg);
  background-size: 15px 1.8px, 1.8px 0;
}

.tgs-acc__a {
  padding: 0 44px 22px 27px;
}
.tgs-acc__a p {
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--ink-2);
  padding: 14px 16px;
  background: var(--paper-2);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--r) var(--r) 0;
}

/* --------------------------------------------------------------------------
   11. 最終CTA
   -------------------------------------------------------------------------- */
.tgs-cta {
  position: relative;
  margin-top: clamp(64px, 8vw, 116px);
  padding: clamp(44px, 6vw, 76px) clamp(24px, 4vw, 64px);
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r);
  overflow: hidden;
}
.tgs-cta::before {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 260px;
  height: 260px;
  border: 30px solid var(--brand);
  border-radius: 50%;
  opacity: .16;
}
.tgs-cta::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 6px;
  background: repeating-linear-gradient(90deg,
    var(--brand) 0 26px, transparent 26px 44px);
  opacity: .8;
}
.tgs-cta__inner { position: relative; max-width: 640px; }

.tgs-cta__kicker {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--brand);
  line-height: 1;
}
.tgs-cta__title {
  margin-top: 16px;
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.45;
}
.tgs-cta__lead {
  margin-top: 18px;
  font-size: 14.5px;
  line-height: 1.95;
  color: rgba(247, 244, 237, .78);
}
.tgs-cta__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.tgs-cta__info {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid rgba(247, 244, 237, .2);
}
.tgs-cta__info > div {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.tgs-cta__info dt {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  color: rgba(247, 244, 237, .55);
  white-space: nowrap;
}
.tgs-cta__info dd {
  font-family: var(--ff-mono);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: .01em;
}
.tgs-cta__info dd small { font-family: var(--ff-jp); color: rgba(247, 244, 237, .6); }
.tgs-cta__info a {
  border-bottom: 1px solid rgba(245, 214, 85, .5);
  transition: color .16s ease, border-color .16s ease;
}
.tgs-cta__info a:hover { color: var(--brand); border-color: var(--brand); }

/* --------------------------------------------------------------------------
   12. フッター注記
   -------------------------------------------------------------------------- */
.tgs-foot {
  margin-top: clamp(40px, 5vw, 56px);
  padding: 0 0 clamp(56px, 7vw, 96px);
}
.tgs-foot__name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
}
.tgs-foot__addr {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.85;
  color: var(--ink-3);
}
.tgs-foot__disc {
  max-width: 720px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  font-size: 11px;
  line-height: 1.8;
  color: var(--ink-4);
}

/* --------------------------------------------------------------------------
   13. モバイル固定バー
   -------------------------------------------------------------------------- */
.tgs-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 16px calc(11px + env(safe-area-inset-bottom));
  background: var(--card);
  border-top: 2px solid var(--ink);
  box-shadow: 0 -10px 30px -18px rgba(27, 25, 23, .6);
}
@media (max-width: 1040px) {
  .tgs-bar { display: flex; }
  .tgs-foot { padding-bottom: 110px; }
}

.tgs-bar__num { min-width: 0; }
.tgs-bar__label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ink-3);
  line-height: 1.4;
}
.tgs-bar__label small { color: var(--ink-4); }
.tgs-bar__val {
  display: block;
  font-family: var(--ff-mono);
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
  line-height: 1.35;
  white-space: nowrap;
}
@media (max-width: 380px) {
  .tgs-bar__val { font-size: 13px; }
}
.tgs-bar__btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 700;
  background: var(--brand);
  border: 1.5px solid var(--ink);
  border-radius: var(--r);
  box-shadow: 2px 2px 0 var(--ink);
}
.tgs-bar__btn:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--ink); }

/* --------------------------------------------------------------------------
   14. 微調整（狭幅）
   -------------------------------------------------------------------------- */
@media (max-width: 620px) {
  .tgs__inner { width: calc(100% - 32px); }
  .tgs-quote { padding: 26px 18px 22px; }
  .tgs-quote__monthly::before,
  .tgs-quote__monthly::after { left: -19.5px; right: -19.5px; }
  .tgs-quote__stamp { width: 62px; height: 62px; top: -16px; right: -8px; }
  .tgs-quote__stamp span { font-size: 16px; }
  .tgs-scale__items { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .tgs-tick__label { font-size: 11.5px; }
  .tgs-cta__btns .tgs-btn { width: 100%; }
}
