/* DENSO INSPAC 10HF-SB1 Catalog */
:root {
  --blue-deep: #004ea2;
  --blue-mid: #007fcc;
  --blue-title: #1ea5e4;
  --blue-accent: #0066b3;
  --blue-bar: #abe0f6;
  --blue-bullet: #1ea5e4;
  --feat-bg: #edeae6;
  --text: #1a1a1a;
  --border: #c5c5c5;
  --num-bg: #6e6e6e;
  --max: 980px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP",
    "Yu Gothic", YuGothic, Meiryo, sans-serif;
  color: var(--text);
  background: #e8e8e8;
  line-height: 1.5;
}

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

.catalog {
  max-width: var(--max);
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.12);
}

/* ===== Header ===== */
.catalog-header {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.catalog-header img {
  width: 100%;
  height: auto;
}

/* ===== Intro ===== */
.intro {
  padding: 1.1rem 1.5rem 0.6rem;
}

.badge {
  display: inline-block;
  background: #111;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.28rem 1.1rem;
  border-radius: 4px;
  letter-spacing: 0.08em;
}

.intro-title {
  margin-top: 0.55rem;
  color: var(--blue-title);
  font-size: clamp(1.15rem, 3.2vw, 1.65rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.35;
}

.intro-temp {
  margin-top: 0.45rem;
  font-size: clamp(0.95rem, 2.4vw, 1.2rem);
  font-weight: 700;
}

.intro-power {
  margin-top: 0.2rem;
  font-size: clamp(0.85rem, 2vw, 1.05rem);
  font-weight: 700;
}

.intro-power::before {
  content: "●";
  color: var(--blue-bullet);
  margin-right: 0.15em;
}

.intro-model {
  margin-top: 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
}

/* ===== Visuals: diagram + product ===== */
.visuals {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0.5rem 1.25rem;
  align-items: center;
  padding: 0.4rem 1.25rem 0.5rem;
}

.visuals__diagram img {
  width: 100%;
}

.visuals__product {
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: stretch;
}

.visuals__product img {
  width: auto;
  max-width: 100%;
  max-height: min(520px, 58vw);
  object-fit: contain;
}

/* ===== Model bar ===== */
.model-bar {
  margin: 0.25rem 1.5rem 0.85rem;
  background: var(--blue-bar);
  border-radius: 999px;
  text-align: center;
  padding: 0.45rem 1rem;
}

.model-bar span {
  font-size: clamp(1.1rem, 3vw, 1.45rem);
  font-weight: 800;
  color: #1a3a5c;
  letter-spacing: 0.06em;
}

/* ===== Legend ===== */
.legend {
  margin: 0 1.25rem 1.1rem;
  border: 1px solid var(--border);
  padding: 0.55rem 0.7rem 0.65rem;
}

.legend__title {
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.legend__grid {
  list-style: none;
  display: grid;
  grid-template-rows: repeat(6, auto);
  grid-auto-flow: column;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.28rem 0.5rem;
}

.legend__grid li {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.62rem;
  line-height: 1.35;
  color: #222;
  min-width: 0;
}

.legend__num {
  flex-shrink: 0;
  box-sizing: border-box;
  width: 1.35rem;
  height: 1.35rem;
  min-width: 1.35rem;
  border-radius: 50%;
  background: var(--num-bg);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  line-height: 1;
  letter-spacing: -0.02em;
}

/* ===== Bottom: specs + features ===== */
.bottom {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 0.75rem 1rem;
  padding: 0 1.25rem 1.5rem;
  align-items: start;
}

.specs__title {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.specs__list {
  list-style: none;
}

.specs__list li {
  position: relative;
  padding-left: 1.15em;
  font-size: clamp(0.78rem, 1.6vw, 0.9rem);
  line-height: 1.7;
  font-weight: 600;
}

.specs__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.65em;
  height: 0.65em;
  border: 1.5px solid #333;
  background: transparent;
}

.features {
  background: var(--feat-bg);
  line-height: 0;
}

.features img {
  width: 100%;
}

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .legend__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-flow: row;
  }

  .legend__grid li {
    font-size: 0.7rem;
  }

  .legend__num {
    width: 1.4rem;
    height: 1.4rem;
    min-width: 1.4rem;
    font-size: 0.62rem;
  }
}

@media (max-width: 720px) {
  body {
    background: #fff;
  }

  .catalog {
    box-shadow: none;
  }

  .intro {
    padding: 0.9rem 1rem 0.4rem;
  }

  .visuals {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0.5rem 1rem 0.5rem;
  }

  .visuals__product {
    order: -1;
  }

  .visuals__product img {
    max-height: 380px;
    width: auto;
    max-width: 55%;
  }

  .model-bar {
    margin: 0.4rem 1rem 0.75rem;
  }

  .legend {
    margin: 0 1rem 1rem;
  }

  .bottom {
    grid-template-columns: 1fr;
    padding: 0 1rem 1.25rem;
    gap: 1rem;
  }

  .specs__list li {
    font-size: 0.88rem;
  }
}

@media (max-width: 480px) {
  .intro-title {
    font-size: 1.05rem;
  }

  .legend__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-flow: row;
  }

  .legend__grid li {
    font-size: 0.72rem;
  }

  .legend__num {
    width: 1.45rem;
    height: 1.45rem;
    min-width: 1.45rem;
    font-size: 0.65rem;
  }

  .visuals__product img {
    max-height: 340px;
    max-width: 65%;
  }

  .badge {
    font-size: 0.85rem;
    padding: 0.22rem 0.9rem;
  }
}

@media (min-width: 981px) {
  body {
    padding: 1.5rem 0;
  }
}

/* Print */
@media print {
  body {
    background: #fff;
    padding: 0;
  }

  .catalog {
    box-shadow: none;
    max-width: none;
  }
}
