/* ═══════════════════════════════════════════
   TripTop Configurator — Styles
   テーマデザイン（黒背景・ゴールド）に統合
═══════════════════════════════════════════ */

/* ── ラッパー ── */
.tc-section {
  background: var(--off-black);
  border-top: 1px solid var(--steel);
  border-bottom: 1px solid var(--steel);
  padding: 0;
}

.tc-section-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 80px 48px;
  position: relative; /* マスコットの絶対配置基準 */
}

/* PC：マスコットを見出し「お見積りシミュレーション」の右隣へ絶対配置。
   見出しテキストに被らないよう右側に余白を確保（テキストは左に寄る）。
   吹き出し（画像の上）とワニの関係は main.css のまま維持。 */
@media (min-width: 1025px) {
  .tc-section-header { padding-right: 290px; }
  .tc-section-header .tt-mascot-config {
    position: absolute;
    top: 54px;
    right: 104px;   /* 少し左へ（64px→104px） */
    margin: 0;
  }
}

/* 基本仕様価格（説明文の下） */
.tc-base-price {
  margin-top: 18px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.03);
  border-left: 3px solid var(--accent);
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}
.tc-base-price-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--zinc);
  white-space: nowrap;
}
.tc-base-price-values {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.tc-base-price strong {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 1px;
  color: var(--white);
  font-weight: 400;
}
.tc-base-price-tax {
  font-size: 11px;
  color: var(--silver);
  margin-left: 2px;
}
.tc-base-price-sep {
  color: var(--steel);
  margin: 0 4px;
}
@media (max-width: 768px) {
  .tc-base-price { padding: 12px 14px; gap: 8px; }
  .tc-base-price-label { font-size: 10px; letter-spacing: 2px; }
  .tc-base-price strong { font-size: 18px; }
}

/* ── 本体 ── */
.tc {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px 80px;
}

.tc-wrap {
  display: grid;
  grid-template-columns: 1fr 360px;
  grid-template-rows: 1fr auto; /* 行1:プレビュー伸縮 / 行2:価格パネル */
  grid-template-areas:
    "view  panel"
    "price panel";
  min-height: 520px;
  border: 1px solid var(--steel);
  background: var(--dark);
}
.tc-view  { grid-area: view; }
.tc-panel { grid-area: panel; }
.tc-price-panel { grid-area: price; }

/* ══ プレビュー側 ══ */
.tc-view {
  position: relative;
  background: #000000; /* screenブレンド用に純黒に固定 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 40px 32px;
  border-right: 1px solid var(--steel);
  overflow: hidden;
}

/* グリッド背景 */
.tc-view::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(255,255,255,0.015) 40px, rgba(255,255,255,0.015) 41px),
    repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(255,255,255,0.015) 40px, rgba(255,255,255,0.015) 41px);
  pointer-events: none;
}

/* グロー */
.tc-view::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 200px;
  background: radial-gradient(ellipse, rgba(200,168,75,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.tc-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--zinc);
  border: 1px solid var(--steel);
  padding: 4px 10px;
}

/* ── キャンバス（レイヤー重ね合わせ） ── */
.tc-canvas {
  position: relative;
  width: 100%;
  max-width: 520px;
  z-index: 1;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.8));
  /* 高さはベースレイヤー（#tc-layer-wrangler）の画像/SVGが決める */
}

/* ベースレイヤー：フローレイアウトで高さを確定する */
#tc-layer-wrangler {
  position: relative;
  width: 100%;
}
#tc-layer-wrangler img,
#tc-layer-wrangler svg {
  width: 100%;
  height: auto;
  display: block;
}

/* 重ねるレイヤー */
#tc-layer-triptop,
#tc-layer-tent-top,
#tc-layer-tent-bottom {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* オーバーレイSVGは親に合わせる */
#tc-layer-triptop svg,
#tc-layer-tent-top svg,
#tc-layer-tent-bottom svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
}

/* オーバーレイ画像も親に合わせる */
#tc-layer-triptop img,
#tc-layer-tent-top img,
#tc-layer-tent-bottom img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  /* 黒背景を透過扱いにする（黒背景PNG対応） */
  mix-blend-mode: screen;
}

/* ベースレイヤー（ラングラー）の画像にはblendを適用しない */
#tc-layer-wrangler img {
  mix-blend-mode: normal;
}

/* ── プログレスドット ── */
.tc-progress-dots {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 24px;
  z-index: 1;
}

.tc-progress-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--steel);
  transition: all 0.3s;
  cursor: pointer;
}

.tc-progress-dot.active {
  background: var(--accent);
  width: 20px;
  border-radius: 3px;
}

.tc-progress-dot.done {
  background: #4a7c59;
}

/* ── サマリー ── */
.tc-summary {
  z-index: 1;
  margin-top: 20px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.tc-summary-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--zinc);
}

.tc-summary-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--steel);
  flex-shrink: 0;
  transition: background 0.3s;
}

.tc-summary-val {
  color: var(--silver);
}

/* ══ パネル側 ══ */
.tc-panel {
  display: flex;
  flex-direction: column;
  background: var(--dark);
}

/* ステップタブ */
.tc-steps {
  display: flex;
  border-bottom: 1px solid var(--steel);
  flex-shrink: 0;
}

.tc-step-tab {
  flex: 1;
  padding: 14px 8px 12px;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  min-width: 0;
}

.tc-step-tab:hover { background: rgba(255,255,255,0.03); }

.tc-step-tab.active {
  border-bottom-color: var(--accent);
  background: rgba(255,255,255,0.02);
}

.tc-step-tab.done .tab-num {
  background: #4a7c59;
  color: #fff;
}

.tab-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--steel);
  color: var(--zinc);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.tc-step-tab.active .tab-num {
  background: var(--accent);
  color: var(--black);
}

.tab-lbl {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--zinc);
  text-align: center;
  line-height: 1.2;
  transition: color 0.2s;
}

.tc-step-tab.active .tab-lbl { color: var(--silver); }
.tc-step-tab.done .tab-lbl  { color: var(--silver); }

/* ── ステップコンテンツ ── */
.tc-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 16px 16px;
}

.tc-section-content { display: none; }
.tc-section-content.active { display: block; }

.tc-section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

/* フィニッシュタブ（STEP2のみ） */
.tc-finish-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 14px;
  border: 1px solid var(--steel);
}

.tc-finish-tab {
  flex: 1;
  padding: 8px 4px;
  background: none;
  border: none;
  border-right: 1px solid var(--steel);
  color: var(--zinc);
  font-family: 'Barlow Condensed', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  line-height: 1.2;
}
.tc-finish-tab:last-child { border-right: none; }
.tc-finish-tab.active { background: var(--accent); color: var(--black); font-weight: 700; }
.tc-finish-tab:not(.active):hover { background: rgba(255,255,255,0.04); color: var(--silver); }
.tc-finish-tab-name {
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.tc-finish-tab-price {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.5px;
}
.tc-finish-tab.active .tc-finish-tab-price { color: var(--black); }

.tc-finish-desc {
  font-size: 11px;
  color: var(--zinc);
  line-height: 1.6;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-left: 2px solid var(--steel);
  background: rgba(255,255,255,0.02);
}

/* ── カラーグリッド ── */
.tc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.tc-btn {
  background: var(--off-black);
  border: 1px solid var(--steel);
  padding: 10px 6px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: all 0.15s;
  position: relative;
}

.tc-btn:hover {
  border-color: var(--silver);
  background: var(--mid);
}

.tc-btn.sel {
  border-color: var(--accent);
  background: rgba(200,168,75,0.06);
}

.tc-swatch {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.tc-lbl {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  letter-spacing: 1px;
  text-align: center;
  line-height: 1.3;
  color: var(--zinc);
}

.tc-btn.sel .tc-lbl { color: var(--accent); }

/* 色 swatch の価格バッジ（テント上下の非ブラックに表示） */
.tc-swatch-price {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.5px;
  margin-top: 2px;
}
.tc-btn.sel .tc-swatch-price { color: var(--accent); }

/* ステップ説明の注記 */
.tc-step-note {
  display: inline-block;
  margin-top: 4px;
  color: var(--accent);
  font-size: 10.5px;
  line-height: 1.5;
}

.tc-checkmark {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tc-checkmark svg {
  width: 7px;
  height: 7px;
  stroke: var(--black);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── フッター（前へ・次へ） ── */
.tc-footer {
  padding: 14px 16px;
  border-top: 1px solid var(--steel);
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.tc-nav-btn {
  flex: 1;
  padding: 12px;
  border: 1px solid var(--steel);
  background: var(--off-black);
  color: var(--silver);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}

.tc-nav-btn:hover:not(:disabled) {
  border-color: var(--silver);
  color: var(--white);
}

.tc-nav-btn:disabled { opacity: 0.3; cursor: not-allowed; }

.tc-nav-btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--black);
  font-weight: 700;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.tc-nav-btn.primary:hover { background: var(--white); border-color: var(--white); }

.tc-nav-btn.reset {
  flex: 0 0 44px;
  font-size: 16px;
  letter-spacing: 0;
  color: var(--zinc);
}
.tc-nav-btn.reset:hover { color: var(--white); }

/* ── 完了画面 ── */
.tc-complete {
  display: none;
  flex-direction: column;
  align-items: center;
  padding: 32px 20px;
  gap: 16px;
  text-align: center;
}
.tc-complete.show { display: flex; }

.tc-complete-icon {
  font-size: 40px;
}

.tc-complete-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 3px;
  color: var(--accent);
}

.tc-complete-list {
  width: 100%;
  background: var(--off-black);
  border: 1px solid var(--steel);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tc-complete-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--steel);
  font-size: 12px;
}
.tc-complete-row:last-child { border: none; padding-bottom: 0; }
.tc-complete-key { font-family: 'Barlow Condensed', sans-serif; letter-spacing: 2px; text-transform: uppercase; color: var(--zinc); }
.tc-complete-val { display: flex; align-items: center; gap: 6px; color: var(--white); font-family: 'Barlow Condensed', sans-serif; }
.tc-complete-dot { width: 10px; height: 10px; border-radius: 50%; }

.tc-share-btn {
  width: 100%;
  padding: 12px;
  background: var(--accent);
  border: none;
  color: var(--black);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.tc-share-btn:hover { background: var(--white); }

.tc-contact-btn {
  width: 100%;
  padding: 12px;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: block;
  text-align: center;
}
.tc-contact-btn:hover { background: var(--accent); color: var(--black); }

/* ── フィニッシュカード（セクション下部） ── */
.tc-finish-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--steel);
  margin-top: 2px;
}

/* ── レスポンシブ ── */
@media (max-width: 1024px) {
  .tc-section-header { padding: 60px 40px 36px; }
  .tc { padding: 0 40px 60px; }
  .tc-wrap { grid-template-columns: 1fr 300px; }
  /* 価格パネルの左右マージンを .tc-view の padding (40px) と明示的に揃える */
  .tc-price-panel { margin: 0 40px 16px; }
}

@media (max-width: 768px) {
  .tc-section-header { padding: 48px 20px 28px; }
  .tc { padding: 0 20px 48px; }

  /* スマホ：車画像 → ステップ＆選択UI → 価格パネル の順に縦並び */
  .tc-wrap {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "view"
      "panel"
      "price";
  }

  .tc-view {
    border-right: none;
    border-bottom: 1px solid var(--steel);
    padding: 32px 20px 20px;
    min-height: 260px;
  }

  .tc-canvas { max-width: 100%; }

  /* スマホ: 価格パネルは .tc-panel の下、横は揃える */
  .tc-price-panel {
    margin: 0 12px 14px;
    padding: 12px 14px;
    border-top: 1px solid var(--steel);
  }
  .tc-price-item-key { min-width: 80px; font-size: 9px; }
  .tc-price-item, .tc-price-item-val { font-size: 11px; }

  .tc-grid { grid-template-columns: repeat(3, 1fr); }

  .tab-lbl { display: none; }

  .tc-finish-cards { grid-template-columns: 1fr; }
}

/* ── プレビューUI（ロゴ・サマリー・保存ボタン） ── */

/* 左上ロゴ */
.tc-preview-logo {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 10;
  pointer-events: none;
}
.tc-preview-logo svg,
.tc-preview-logo-img {
  width: 110px;
  height: auto;
  display: block;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.8));
}




/* 選択した7仕様一覧（価格パネル上部） */
.tc-price-items {
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--steel);
}
.tc-price-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 4px 0;
  font-size: 12px;
  line-height: 1.5;
}
.tc-price-item-key {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--zinc);
  flex: 0 0 auto;
  min-width: 92px;
}
.tc-price-item-val {
  color: var(--silver);
  flex: 1;
  text-align: right;
  word-break: break-word;
}
.tc-price-item.has-price .tc-price-item-val { color: var(--white); }
.tc-price-item-add {
  display: inline-block;
  margin-left: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.tc-preview-summary-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
}
.tc-preview-summary-row .tc-summary-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  flex-shrink: 0;
  transition: background 0.3s;
}
.tc-preview-summary-row .tc-ps-val {
  color: rgba(255,255,255,0.9);
  font-weight: 600;
}

/* ═══════════════════════════════════════════
   リアルタイム見積もりパネル
═══════════════════════════════════════════ */
.tc-price-panel {
  margin: 0 40px 16px;       /* デスクトップ: tc-view の padding 40px と左右を揃える */
  padding: 14px 16px;
  background: var(--off-black);
  border: 1px solid var(--steel);
  border-radius: 4px;
  min-width: 0;
  z-index: 1;
  border-top: 1px solid var(--steel); /* .tc-view との視覚的区切り */
}
.tc-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 4px 0;
}
.tc-price-row-sub {
  font-size: 12px;
  color: var(--zinc);
}
.tc-price-row-sub .tc-price-value {
  color: var(--silver);
  font-family: 'Barlow Condensed', sans-serif;
}
.tc-price-row-total {
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid var(--steel);
}
.tc-price-row-total .tc-price-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
}
.tc-price-row-total .tc-price-value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 1px;
  color: var(--white);
}
.tc-price-note {
  margin-top: 6px;
  font-size: 10px;
  color: var(--zinc);
  text-align: right;
  letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════════
   オプションSTEP（STEP5・6）
═══════════════════════════════════════════ */
.tc-options {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 4px 16px;
}
.tc-opt-btn {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  background: var(--off-black);
  border: 1px solid var(--steel);
  border-radius: 4px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s, background 0.2s;
}
.tc-opt-btn:hover { border-color: var(--accent); }
.tc-opt-btn.sel {
  border-color: var(--accent);
  background: rgba(200,168,75,0.08);
}
.tc-opt-radio {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--zinc);
  margin-top: 2px;
  position: relative;
}
.tc-opt-radio.sel {
  border-color: var(--accent);
}
.tc-opt-radio.sel::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--accent);
}
.tc-opt-body { flex: 1; min-width: 0; }
.tc-opt-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
  letter-spacing: 0.3px;
}
.tc-opt-price {
  display: inline-block;
  margin-left: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 1px;
}
.tc-opt-price-zero {
  display: inline-block;
  margin-left: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  color: var(--zinc);
}
.tc-opt-desc {
  font-size: 11px;
  color: var(--zinc);
  line-height: 1.5;
}
.tc-opt-btn.disabled,
.tc-opt-btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}
.tc-opt-btn.disabled:hover,
.tc-opt-btn[disabled]:hover { border-color: var(--steel); }

/* テント生地統合ステップ (3小選択：生地タイプ + 上部色 + 下部色) */
.tc-fabric-combined {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.tc-fabric-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tc-fabric-group-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--silver);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.tc-fabric-note {
  font-size: 9px;
  color: var(--zinc);
  margin-left: 4px;
  letter-spacing: 1px;
  text-transform: none;
}
.tc-fabric-color-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.tc-fabric-color-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 6px;
  background: var(--off-black);
  border: 1px solid var(--steel);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.tc-fabric-color-btn:hover { border-color: var(--accent); }
.tc-fabric-color-btn.sel {
  border-color: var(--accent);
  background: var(--dark);
}
.tc-fabric-color-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.1);
}
.tc-fabric-color-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--silver);
}
.tc-fabric-color-btn.sel .tc-fabric-color-name { color: var(--accent); }

/* ルーフ装備の2段階グループ */
.tc-roof-group {
  margin-bottom: 16px;
}
.tc-roof-group:last-child { margin-bottom: 0; }
.tc-roof-group-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.tc-roof-group.is-locked .tc-roof-group-title { color: var(--zinc); }
.tc-roof-locked-note {
  display: inline-block;
  margin-left: 6px;
  font-family: 'Barlow', 'Noto Sans JP', sans-serif;
  font-size: 10px;
  letter-spacing: 0.5px;
  color: var(--zinc);
  text-transform: none;
}
.tc-roof-group + .tc-roof-group { margin-top: 8px; }
.tc-roof-group .tc-opt-btn { margin-bottom: 6px; }
.tc-roof-group .tc-opt-btn:last-child { margin-bottom: 0; }

/* ═══════════════════════════════════════════
   完了画面の拡張（価格表示・注意事項）
═══════════════════════════════════════════ */
.tc-complete-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px solid var(--steel);
  font-size: 13px;
}
.tc-complete-val {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
}
.tc-complete-val-text {
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.5px;
}
.tc-complete-price {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
  margin-left: 4px;
}
.tc-complete-divider {
  height: 2px;
  background: var(--steel);
  margin: 10px 0 4px;
}
.tc-complete-row-base {
  font-size: 12px;
  color: var(--silver);
}
.tc-complete-row-sub {
  font-size: 12px;
  color: var(--zinc);
  border-bottom: none;
  padding: 4px 0;
}
.tc-complete-row-total {
  border-bottom: none;
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--accent);
}
.tc-complete-row-total .tc-complete-key {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
}
.tc-complete-row-total .tc-complete-val-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  letter-spacing: 1px;
  color: var(--white);
}

/* 注意事項ボックス */
.tc-complete-notes {
  margin-top: 18px;
  padding: 16px;
  background: var(--off-black);
  border: 1px solid var(--steel);
  border-radius: 4px;
}
.tc-complete-notes-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.tc-complete-notes ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tc-complete-notes li {
  position: relative;
  padding: 5px 0 5px 16px;
  font-size: 11.5px;
  color: var(--silver);
  line-height: 1.6;
}
.tc-complete-notes li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
}
.tc-complete-notes strong {
  color: var(--white);
  font-weight: 600;
}

/* 完了画面のアクションボタン群 */
.tc-complete-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

/* 画像保存についての注意書き */
.tc-share-notice {
  margin-top: 14px;
  padding: 14px 16px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 6px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #e8d9a8;
  font-size: 12.5px;
  line-height: 1.7;
}
.tc-share-notice svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #d4af37;
  margin-top: 1px;
}
.tc-share-notice strong {
  color: #f0deaa;
  font-weight: 600;
}
.tc-share-notice div {
  flex: 1;
  min-width: 0;
}

@media (max-width: 768px) {
  .tc-price-row-total .tc-price-value { font-size: 22px; }
  .tc-complete-row-total .tc-complete-val-text { font-size: 22px; }
  .tc-share-notice { padding: 12px 14px; font-size: 12px; gap: 10px; }
  .tc-share-notice svg { width: 18px; height: 18px; }
}


/* ═══════════════════════════════════════════
   TRIPTOP FINISH（塗装仕上げ）独立セクション
═══════════════════════════════════════════ */
.finish-section {
  background: var(--black);
  padding: 100px 0;
  border-top: 1px solid var(--steel);
}
.finish-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px;
}
.finish-section .tc-finish-cards { margin-top: 0; }

@media (max-width: 1024px) {
  .finish-section-inner { padding: 0 40px; }
}
@media (max-width: 768px) {
  .finish-section { padding: 60px 0; }
  .finish-section-inner { padding: 0 20px; }
}
