/* 製品ページ用スタイルシート */
/* ここに書いた内容が公開ページと編集画面の両方に反映されます。 */
/* 出展社ごとに1本の共通ファイルです。製品ごとには分かれません。 */
/* --- ガスレンジ・ガステーブル（ID 25-31）／スチコン（ID 32-34） --- */

@charset "utf-8";
/* ------------------------------------------------------------------
   tanico_gas.css
   bgst.jp / tanico booth - gas range & gas table catalogue pages

   All selectors are prefixed with .tnc- or scoped under .tnc-gas so
   that nothing here can collide with the booth's style.css / style2.css.
   Comments are ASCII only, so this file is safe in EUC-JP or UTF-8.
   ------------------------------------------------------------------ */

.tnc-gas {
  --tnc-ink: #2b2b2b;
  --tnc-ink-sub: #6b6b6b;
  --tnc-line: #d8dee6;
  --tnc-line-soft: #e8edf2;
  --tnc-accent: #1f5fa8;
  --tnc-accent-soft: #f2f7fc;
  --tnc-head: #eef3f8;
  --tnc-zebra: #f8fafc;

  box-sizing: border-box;
  margin: 0 0 32px;
  padding: 0;
  color: var(--tnc-ink);
  font-size: 17px;
  line-height: 1.9;
  text-align: left;
}

.tnc-gas *,
.tnc-gas *::before,
.tnc-gas *::after { box-sizing: inherit; }

/* ---------- reset against the booth stylesheet ---------- */

/* The booth's style.css styles EVERY <figure> as a small fixed box
   (display:table; width:160px; padding:10px; border; background).
   Undo that for the figures in this section. Margins are left to
   each figure's own class, so they are not set here. */
.tnc-gas figure {
  display: block;
  width: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
}

/* ---------- header ---------- */

.tnc-gas__head {
  margin: 0 0 20px;
  padding: 16px 18px;
  border-left: 5px solid var(--tnc-accent);
  background: var(--tnc-accent-soft);
}

.tnc-gas__eyebrow {
  margin: 0 0 4px;
  color: var(--tnc-accent);
  font-size: 13px;
  font-weight: bold;
  letter-spacing: .08em;
}

.tnc-gas__title {
  margin: 0 0 10px;
  font-size: 29px;
  line-height: 1.35;
  font-weight: bold;
}

.tnc-gas__lead {
  margin: 0;
  font-size: 17.5px;
  line-height: 1.9;
}

/* ---------- section headings ---------- */

.tnc-gas__h3 {
  margin: 28px 0 12px;
  padding: 0 0 6px;
  border-bottom: 2px solid var(--tnc-line);
  font-size: 21px;
  font-weight: bold;
}

.tnc-gas__h3:first-child { margin-top: 0; }

/* ---------- feature list ---------- */

.tnc-feat {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: var(--tnc-line-soft);
  border: 1px solid var(--tnc-line-soft);
}

.tnc-feat__item {
  margin: 0;
  padding: 14px 16px;
  background: #fff;
}

.tnc-feat dt {
  margin: 0 0 5px;
  color: var(--tnc-accent);
  font-size: 16.5px;
  font-weight: bold;
}

.tnc-feat dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
}

/* ---------- photos ---------- */

.tnc-gas img {
  max-width: 100%;
  height: auto;
  display: block;
}

.tnc-hero {
  margin: 0 0 26px;
  padding: 0;
  max-width: 1100px;
}

.tnc-hero img {
  width: 100%;
  border: 1px solid var(--tnc-line);
  background: #fff;
}

.tnc-hero figcaption,
.tnc-shot figcaption {
  margin: 7px 0 0;
  color: var(--tnc-ink-sub);
  font-size: 14.5px;
  line-height: 1.75;
}

.tnc-gallery {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 16px;
}

.tnc-gallery > li { margin: 0; padding: 0; }

.tnc-shot { margin: 0; padding: 0; }

.tnc-shot img {
  width: 100%;
  border: 1px solid var(--tnc-line);
  background: #fff;
}

.tnc-shot figcaption { font-size: 13.5px; }

/* ---------- spec tables ---------- */

.tnc-tablewrap {
  margin: 0 0 22px;
  padding: 0;
}

.tnc-tablecap {
  margin: 0 0 8px;
  font-size: 16.5px;
  font-weight: bold;
}

/* The wrapper scrolls instead of the page when the table is too wide. */
.tnc-tablewrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tnc-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 15.5px;
  line-height: 1.6;
}

.tnc-table th,
.tnc-table td {
  padding: 8px 10px;
  border: 1px solid var(--tnc-line);
  vertical-align: middle;
  white-space: nowrap;
}

.tnc-table thead th {
  background: var(--tnc-head);
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  line-height: 1.4;
}

.tnc-table tbody tr:nth-child(even) { background: var(--tnc-zebra); }

.tnc-table .tnc-model {
  text-align: left;
  font-weight: bold;
  background: inherit;
}

.tnc-table thead .tnc-model { background: var(--tnc-head); }

.tnc-table .tnc-num   { text-align: right; }
.tnc-table .tnc-price { text-align: right; font-weight: bold; }
.tnc-table .tnc-mark  { text-align: center; color: var(--tnc-accent); }
.tnc-table .tnc-sub   { color: var(--tnc-ink-sub); font-size: 14px; }


/* 項目・ガス式・電気式の3列表。値が長いので折り返す。 */
.tnc-table--spec { min-width: 0; }
.tnc-table--spec th,
.tnc-table--spec td { white-space: normal; }
.tnc-table--spec .tnc-price { font-weight: bold; }

/* ---------- notes & source ---------- */

.tnc-notes {
  margin: 0 0 16px;
  padding: 12px 16px 12px 32px;
  border: 1px solid var(--tnc-line);
  background: var(--tnc-zebra);
  font-size: 15px;
  line-height: 1.95;
}

.tnc-notes li { margin: 0 0 2px; }
.tnc-notes li:last-child { margin-bottom: 0; }

.tnc-source {
  margin: 0;
  color: var(--tnc-ink-sub);
  font-size: 12px;
  line-height: 1.7;
}

/* ---------- narrow screens ---------- */

@media screen and (max-width: 600px) {
  .tnc-gas__head { padding: 14px; }
  .tnc-gas__title { font-size: 23px; }
  .tnc-gas__lead,
  .tnc-feat dd { font-size: 16px; }
  .tnc-feat { grid-template-columns: 1fr; }
  .tnc-notes { padding-left: 28px; }
}
