:root {
  --red: #b21f29;
  --red-deep: #78171b;
  --green: #174d3a;
  --ink: #17211b;
  --muted: #667169;
  --cream: #f3f1e9;
  --paper: #fffefa;
  --line: #dfe5df;
  --white: #fff;
  --shadow: 0 22px 64px rgba(17, 33, 24, 0.14);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 116px;
}

body {
  margin: 0;
  padding-top: 48px;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
button, summary { font: inherit; }
h1, h2, h3, p { text-wrap: pretty; }

.skip-link {
  position: fixed;
  top: 58px;
  left: 10px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 9px;
  color: white;
  background: var(--green);
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.shell {
  width: min(100% - 32px, 1120px);
  margin-inline: auto;
}

.demo-mode-banner {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  height: 48px;
  color: white;
  background: #111a15;
}

.demo-mode-banner__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.demo-mode-banner p {
  min-width: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  white-space: nowrap;
}

.demo-mode-banner strong {
  color: #dbe85d;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.demo-mode-banner p span {
  color: rgba(255, 255, 255, 0.62);
}

.demo-mode-banner a {
  flex: 0 0 auto;
  color: white;
  font-size: 12px;
  font-weight: 820;
  text-decoration: none;
  white-space: nowrap;
}

.screen {
  min-height: calc(100svh - 68px);
  padding: 62px 0;
  display: flex;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 11px;
  color: var(--red-deep);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.eyebrow::before {
  content: "";
  width: 25px;
  height: 3px;
  border-radius: 9px;
  background: var(--red);
}

h2 {
  margin: 0;
  font-size: clamp(32px, 8vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.lead {
  max-width: 700px;
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 21px;
  border: 0;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 850;
  cursor: pointer;
}

.button--red {
  color: white;
  background: var(--red);
  box-shadow: 0 14px 32px rgba(178, 31, 41, 0.28);
}

.button--light { color: var(--ink); background: white; }

.topbar {
  position: sticky;
  top: 48px;
  z-index: 50;
  height: 68px;
  border-bottom: 1px solid rgba(223, 229, 223, 0.8);
  background: rgba(255, 255, 252, 0.94);
  backdrop-filter: blur(18px);
}

.topbar__inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand__mark {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 50% 50% 48% 52%;
  color: white;
  background: var(--red-deep);
  font-family: Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.brand__name {
  color: var(--red-deep);
  font-family: Georgia, "Songti SC", SimSun, serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
}

.brand__name small {
  display: block;
  margin-top: 5px;
  color: var(--green);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
  font-size: 8px;
  letter-spacing: 0.22em;
}

.nav { display: none; align-items: center; gap: 23px; }
.nav a { color: #405048; text-decoration: none; font-size: 14px; font-weight: 780; }

.header-action {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--red-deep);
  background: white;
  text-decoration: none;
  font-size: 13px;
  font-weight: 850;
}

.hero {
  position: relative;
  min-height: calc(100svh - 116px);
  display: flex;
  align-items: end;
  overflow: hidden;
  color: white;
  background: #17231c url("/images/manufacturer-case/case-hero.webp") 63% center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 15, 11, 0.08) 12%, rgba(8, 15, 11, 0.24) 46%, rgba(8, 15, 11, 0.94) 100%),
    linear-gradient(90deg, rgba(8, 15, 11, 0.38), transparent 72%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 82px 0 40px;
}

.hero__tag {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 99px;
  background: rgba(8, 15, 11, 0.3);
  font-size: 13px;
  font-weight: 820;
  backdrop-filter: blur(12px);
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(39px, 11vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.052em;
  text-shadow: 0 5px 24px rgba(0, 0, 0, 0.3);
}

.hero__copy {
  max-width: 660px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(15px, 4.2vw, 19px);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.proofs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
}

.proof { padding: 14px 8px; background: rgba(10, 18, 13, 0.44); text-align: center; }
.proof strong { display: block; font-size: clamp(19px, 5.6vw, 27px); line-height: 1.1; }
.proof span { display: block; margin-top: 5px; color: rgba(255, 255, 255, 0.76); font-size: 11px; }

.strength {
  position: relative;
  min-height: calc(100svh - 68px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: white;
  background: #102019 url("/images/manufacturer-case/case-facility.webp") center / cover no-repeat;
}

.strength::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 22, 15, 0.78), rgba(9, 22, 15, 0.92)), linear-gradient(90deg, rgba(9, 22, 15, 0.9), rgba(9, 22, 15, 0.2));
}

.strength__content { position: relative; z-index: 1; padding: 64px 0; }
.strength .eyebrow { color: white; }
.strength .eyebrow::before { background: white; }
.strength h2 { max-width: 780px; }
.strength__lead { max-width: 700px; margin: 15px 0 0; color: rgba(255, 255, 255, 0.76); font-size: 16px; }
.strength__cards { display: grid; gap: 11px; margin-top: 28px; }

.strength-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.strength-card__top { display: flex; align-items: center; gap: 11px; }
.strength-card__num { width: 37px; height: 37px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 11px; color: var(--green); background: white; font-size: 12px; font-weight: 900; }
.strength-card h3 { margin: 0; font-size: 17px; line-height: 1.3; }
.strength-card p { margin: 10px 0 0; color: rgba(255, 255, 255, 0.75); font-size: 13px; line-height: 1.62; }
.strength__proof { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 11px; }
.strength__proof div { padding: 15px; border-radius: 16px; color: var(--ink); background: white; }
.strength__proof strong { display: block; color: var(--red-deep); font-size: 16px; }
.strength__proof span { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.strength__caption { margin: 11px 0 0; color: rgba(255, 255, 255, 0.55); font-size: 11px; }

.products { background: var(--paper); }
.products__content { min-width: 0; }

.category-guide {
  margin-top: 26px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--cream);
}

.category-guide h3 { margin: 0; font-size: 18px; }
.category-guide > p { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.category-guide__grid { display: grid; gap: 8px; margin-top: 15px; }
.category-guide__item { display: grid; grid-template-columns: 84px 1fr; gap: 12px; align-items: center; padding: 11px 12px; border-radius: 13px; background: white; }
.category-guide__item strong { color: var(--red-deep); font-size: 14px; }
.category-guide__item span { color: var(--muted); font-size: 12px; }

.featured {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(84vw, 390px);
  gap: 15px;
  margin: 24px -16px 0;
  padding: 0 16px 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.featured::-webkit-scrollbar { display: none; }

.product-card {
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  box-shadow: 0 13px 38px rgba(20, 36, 27, 0.09);
}

.product-card__visual {
  position: relative;
  height: 230px;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 18px;
  background: linear-gradient(145deg, #f6f4ee, #ebeee8);
}

.product-card__visual img {
  width: auto;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  object-fit: contain;
  filter: drop-shadow(0 14px 16px rgba(20, 36, 27, 0.13));
}

.product-card__badge { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 5px 9px; border-radius: 99px; color: white; background: rgba(23, 77, 58, 0.92); font-size: 11px; font-weight: 800; }
.product-card__body { display: flex; flex: 1; flex-direction: column; padding: 18px; }
.product-card__type { margin: 0 0 5px; color: var(--red-deep); font-size: 12px; font-weight: 850; }
.product-card h3 { margin: 0; min-height: 56px; font-size: 22px; line-height: 1.28; }
.product-card__copy { min-height: 64px; margin: 9px 0 0; color: var(--muted); font-size: 13px; }
.product-meta { display: grid; gap: 1px; margin-top: 13px; overflow: hidden; border-radius: 12px; background: var(--line); }
.product-meta div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 11px; background: #f7f8f5; font-size: 12px; }
.product-meta span { color: var(--muted); }
.product-meta strong { font-weight: 800; }
.product-detail { margin-top: 14px; border-top: 1px solid var(--line); }
.product-detail summary { padding: 13px 0 0; color: var(--red-deep); font-size: 13px; font-weight: 850; cursor: pointer; list-style: none; }
.product-detail summary::-webkit-details-marker { display: none; }
.product-detail summary::after { content: "＋"; float: right; }
.product-detail[open] summary::after { content: "－"; }
.detail-body { padding-top: 10px; color: var(--muted); font-size: 13px; }
.detail-body p { margin: 0; }
.detail-body ul { margin: 0; padding-left: 19px; }
.detail-body li + li { margin-top: 5px; }
.detail-contact { display: inline-flex; margin-top: 11px; color: var(--red-deep); font-weight: 850; }

.contact {
  position: relative;
  min-height: calc(88svh - 68px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: white;
  background: var(--red-deep);
}

.contact::before {
  content: "M";
  position: absolute;
  right: -25px;
  top: 3%;
  color: rgba(255, 255, 255, 0.05);
  font-family: Georgia, serif;
  font-size: min(70vw, 480px);
  font-weight: 900;
  line-height: 1;
}

.contact__grid { position: relative; z-index: 1; display: grid; gap: 26px; padding: 62px 0; }
.contact .eyebrow { color: white; }
.contact .eyebrow::before { background: white; }
.contact h2 { max-width: 760px; }
.contact__copy { max-width: 620px; margin: 17px 0 0; color: rgba(255, 255, 255, 0.76); }
.inquiry-list { display: grid; gap: 10px; margin-top: 25px; }

.inquiry {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 17px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.inquiry span { flex: 0 0 auto; font-size: 12px; opacity: 0.72; }
.inquiry strong { max-width: 390px; text-align: right; font-size: 14px; line-height: 1.45; }

.consult-card {
  width: min(100%, 250px);
  justify-self: center;
  padding: 20px;
  border-radius: 20px;
  color: var(--ink);
  background: white;
}

.consult-card__label { color: var(--red-deep); font-size: 12px; font-weight: 850; letter-spacing: 0.08em; }
.consult-card ol { display: grid; gap: 10px; margin: 15px 0 0; padding: 0; list-style: none; }
.consult-card li { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.consult-card li:last-child { padding-bottom: 0; border-bottom: 0; }
.consult-card b { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; color: white; background: var(--green); font-size: 10px; }
.consult-card li span { font-size: 14px; font-weight: 800; }
.consult-card p { margin: 16px 0 0; color: var(--muted); font-size: 11px; }

.footer {
  padding: 22px 0 calc(92px + env(safe-area-inset-bottom));
  color: var(--muted);
  background: white;
}

.footer__inner {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.55;
}

.mobile-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 70;
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(223, 229, 223, 0.85);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 -12px 30px rgba(19, 34, 25, 0.1);
  backdrop-filter: blur(18px);
}

.mobile-bar a {
  min-height: 48px;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
}

.mobile-bar__products { border-radius: 13px 0 0 13px; color: var(--red-deep); background: #f7e9ea; }
.mobile-bar__contact { border-radius: 0 13px 13px 0; color: white; background: var(--red); }

:where(a, summary):focus-visible {
  outline: 3px solid #f0b640;
  outline-offset: 4px;
  box-shadow: 0 0 0 2px rgba(23, 33, 27, 0.75);
}

@media (hover: hover) {
  .nav a, .button, .product-card, .mobile-bar a { transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; }
  .nav a:hover { color: var(--red); }
  .button--red:hover, .mobile-bar__contact:hover { background: #961922; transform: translateY(-1px); }
  .button--light:hover { background: #f4f0e9; transform: translateY(-1px); }
  .product-card:hover { transform: translateY(-5px); box-shadow: 0 20px 48px rgba(20, 36, 27, 0.14); }
}

@media (min-width: 760px) {
  .shell { width: min(100% - 48px, 1120px); }
  .screen { min-height: auto; padding: 96px 0; }
  .nav { display: flex; }
  .header-action { display: none; }
  .hero { align-items: center; background-position: center; }
  .hero::before { background: linear-gradient(90deg, rgba(8, 15, 11, 0.84) 0%, rgba(8, 15, 11, 0.46) 47%, rgba(8, 15, 11, 0.07) 78%), linear-gradient(180deg, transparent 55%, rgba(8, 15, 11, 0.45)); }
  .hero__content { padding: 88px 0; }
  .hero h1 { max-width: 720px; font-size: clamp(56px, 7vw, 76px); }
  .hero__copy { max-width: 620px; font-size: 18px; }
  .proofs { max-width: 600px; margin-top: 30px; }
  .strength__content { padding: 88px 0; }
  .strength__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 34px; }
  .strength-card { padding: 22px; }
  .strength-card:last-child { grid-column: 1 / -1; }
  .strength__proof { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
  .strength__proof div { padding: 18px; }
  .strength__proof div:last-child { grid-column: 1 / -1; }
  .category-guide__grid { grid-template-columns: repeat(3, 1fr); }
  .category-guide__item { grid-template-columns: 1fr; gap: 2px; }
  .featured { grid-auto-columns: min(46vw, 390px); }
  .contact { min-height: auto; }
  .contact__grid { grid-template-columns: minmax(0, 1fr) 220px; align-items: center; gap: 40px; padding: 88px 0; }
  .inquiry-list { grid-template-columns: minmax(0, 560px); }
  .consult-card { width: 220px; justify-self: end; }
  .footer { padding-bottom: 28px; }
  .footer__inner { text-align: center; }
  .mobile-bar { display: none; }
}

@media (min-width: 960px) {
  .shell { width: min(100% - 72px, 1180px); }
  .screen { padding: 96px 0; }
  h2 { font-size: 52px; letter-spacing: -0.03em; }
  .hero__content { padding: 96px 0; }
  .strength { min-height: auto; }
  .strength__content { padding: 104px 0; }
  .strength__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
  .strength-card { min-height: 208px; padding: 24px; }
  .strength-card:last-child { grid-column: auto; }
  .strength__proof { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
  .strength__proof div { padding: 20px; }
  .strength__proof div:last-child { grid-column: auto; }
  .category-guide { display: grid; grid-template-columns: minmax(240px, 0.8fr) minmax(0, 2fr); grid-template-rows: auto auto; align-items: center; column-gap: 32px; margin-top: 30px; padding: 22px 24px; }
  .category-guide h3 { grid-column: 1; grid-row: 1; }
  .category-guide > p { grid-column: 1; grid-row: 2; }
  .category-guide__grid { grid-column: 2; grid-row: 1 / 3; gap: 12px; margin-top: 0; }
  .category-guide__item { padding: 14px 16px; }
  .featured { grid-auto-flow: initial; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-columns: auto; gap: 20px; margin: 28px 0 0; padding: 0; overflow: visible; }
  .product-card { min-width: 0; border-radius: 24px; }
  .product-card__visual { height: 260px; padding: 24px; }
  .product-card__body { padding: 22px; }
  .contact__grid { grid-template-columns: minmax(0, 1fr) 240px; gap: 80px; padding: 104px 0; }
  .contact__copy { max-width: 650px; font-size: 16px; }
  .consult-card { width: 240px; padding: 22px; }
}

@media (max-width: 420px) {
  .demo-mode-banner p span { display: none; }
  .demo-mode-banner a { font-size: 11px; }

  .hero h1 {
    max-width: 9.5em;
    font-size: clamp(36px, 10.8vw, 44px);
    letter-spacing: -0.045em;
  }

  .hero h1 br { display: none; }
  .hero__copy { max-width: 31em; }
  .proof { padding-inline: 6px; }
  .proof strong { font-size: 18px; }
  .proof span { font-size: 10px; line-height: 1.45; }
}

@media (max-height: 700px) and (max-width: 759px) {
  .hero__content { padding-top: 48px; padding-bottom: 25px; }
  .hero h1 { font-size: clamp(35px, 10.4vw, 40px); }
  .hero__copy { font-size: 14px; }
  .proofs { margin-top: 17px; }
  .proof { padding-block: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
