:root {
  --red: #b52228;
  --red-dark: #86191f;
  --ink: #171717;
  --charcoal: #2a2c2f;
  --steel: #59636f;
  --green: #2f6d62;
  --silver: #e4e7ea;
  --surface: #f6f7f4;
  --paper: #ffffff;
  --line: rgba(23, 23, 23, 0.13);
  --shadow: 0 18px 45px rgba(27, 30, 34, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Meiryo", system-ui, sans-serif;
  line-height: 1.75;
  letter-spacing: 0;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 6vw;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 2px solid var(--red);
  border-radius: 50%;
  color: var(--red);
  font-weight: 800;
  font-size: 0.88rem;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.2;
}

.brand strong {
  font-size: 1.03rem;
}

.brand small {
  margin-top: 3px;
  color: var(--steel);
  font-size: 0.76rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--charcoal);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding: 24px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 16px;
  left: 0;
  height: 2px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 500px;
  height: 70svh;
  max-height: 720px;
  overflow: hidden;
  color: var(--paper);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/web/hero-sic-powder.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background: rgba(17, 20, 22, 0.58);
}

.hero-inner {
  position: relative;
  width: min(1120px, 88vw);
  margin: 0 auto;
  padding: 48px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #b8e7dd;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 1020px;
  margin-bottom: 18px;
  font-size: clamp(2.05rem, 5.2vw, 4.15rem);
  line-height: 1.08;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.7rem, 3vw, 2.75rem);
  line-height: 1.25;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
  line-height: 1.35;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.2;
}

.button.primary {
  background: var(--red);
  color: var(--paper);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--red-dark);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.65);
  color: var(--paper);
}

.button.line {
  border-color: var(--line);
  color: var(--ink);
}

.contact-section .button.line {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--paper);
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1120px, 88vw);
  margin: -44px auto 0;
  position: relative;
  z-index: 5;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.quick-facts div {
  padding: 24px;
  border-right: 1px solid var(--line);
}

.quick-facts div:last-child {
  border-right: 0;
}

.quick-facts strong {
  display: block;
  color: var(--red);
  font-size: 1.9rem;
  line-height: 1.1;
}

.quick-facts span {
  color: var(--steel);
  font-size: 0.9rem;
  font-weight: 700;
}

.section {
  width: min(1120px, 88vw);
  margin: 0 auto;
  padding: 96px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.8fr);
  gap: 42px;
  max-width: none;
  align-items: end;
}

.split-heading > p {
  margin-bottom: 0;
  color: var(--steel);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 54px;
  align-items: center;
}

.about-copy p {
  margin-bottom: 22px;
  color: var(--charcoal);
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--charcoal);
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  content: "";
}

.factory-figure,
.quality-gallery figure {
  margin: 0;
}

.factory-figure img,
.quality-gallery img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

figcaption {
  margin-top: 10px;
  color: var(--steel);
  font-size: 0.86rem;
}

.product-section,
.quality-section {
  width: 100%;
  background: var(--surface);
}

.product-section > *,
.quality-section > * {
  width: min(1120px, 88vw);
  margin-right: auto;
  margin-left: auto;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.product-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.product-card div {
  padding: 22px;
}

.product-card span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-card p {
  margin-bottom: 0;
  color: var(--steel);
  font-size: 0.94rem;
}

.application-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.tab-list {
  display: grid;
  gap: 8px;
}

.tab-button {
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--charcoal);
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}

.tab-button.is-active {
  border-color: var(--red);
  background: var(--red);
  color: var(--paper);
}

.tab-panel {
  min-height: 380px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.panel-label {
  margin-bottom: 8px;
  color: var(--green);
  font-weight: 900;
}

.tab-panel p {
  color: var(--charcoal);
}

.tab-panel ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding-left: 1.2em;
  color: var(--steel);
}

.quality-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.quality-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.quality-points div {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.quality-points strong {
  display: block;
  margin-bottom: 8px;
  color: var(--red);
  font-size: 1.06rem;
}

.quality-points p {
  margin-bottom: 0;
  color: var(--steel);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.catalog-item {
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  cursor: pointer;
}

.catalog-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
  transition: transform 180ms ease;
}

.catalog-item span {
  display: block;
  padding: 12px 14px;
  color: var(--charcoal);
  font-size: 0.9rem;
  font-weight: 800;
  text-align: left;
}

.catalog-item:hover img,
.catalog-item:focus-visible img {
  transform: scale(1.03);
}

.contact-section {
  width: 100%;
  background: var(--charcoal);
  color: var(--paper);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 52px;
  width: min(1120px, 88vw);
  margin: 0 auto;
  align-items: center;
}

.contact-section .eyebrow {
  color: #9cd3c8;
}

.contact-section p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-card {
  display: grid;
  gap: 9px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.88);
  font-style: normal;
}

.contact-card strong {
  color: var(--paper);
  font-size: 1.08rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 6vw;
  color: var(--steel);
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--red);
  font-weight: 800;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(12, 14, 16, 0.84);
}

.modal.is-open {
  display: flex;
}

.modal img {
  width: min(1200px, 94vw);
  max-height: 88svh;
  border-radius: 8px;
  object-fit: contain;
  background: var(--paper);
}

.modal-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--paper);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 980px) {
  .site-header {
    min-height: 66px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 66px;
    right: 0;
    left: 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 8px 6vw 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 13px 0;
  }

  .site-nav a::after {
    bottom: 8px;
  }

  .hero {
    min-height: 460px;
    height: 66svh;
  }

  .quick-facts,
  .product-grid,
  .quality-points,
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-facts div:nth-child(2) {
    border-right: 0;
  }

  .quick-facts div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .split-heading,
  .about-layout,
  .application-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .application-layout {
    gap: 18px;
  }

  .tab-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 0 18px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 430px;
    height: 64svh;
  }

  .hero-inner,
  .quick-facts,
  .product-section > *,
  .quality-section > *,
  .contact-layout {
    width: min(100% - 36px, 1120px);
  }

  .section {
    width: min(100% - 36px, 1120px);
  }

  .product-section,
  .quality-section,
  .contact-section {
    width: 100%;
  }

  .quick-facts,
  .product-grid,
  .quality-gallery,
  .quality-points,
  .catalog-grid,
  .tab-list {
    grid-template-columns: 1fr;
  }

  .quick-facts div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-facts div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 72px 0;
  }

  .tab-panel {
    min-height: 0;
    padding: 26px;
  }

  .site-footer {
    flex-direction: column;
    padding: 24px 18px;
  }
}
