:root {
  --ink: #20252a;
  --muted: #5d6872;
  --line: #d7dee3;
  --soft: #f5f7f8;
  --deep: #0f2c49;
  --deep2: #14365d;
  --accent: #b8222b;
  --accent-dark: #86181f;
  --white: #fff;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Yu Gothic", "Meiryo", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  line-height: 1.75;
  letter-spacing: 0;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 1);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.site-header__inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  font-weight: 800;
  font-size: 18px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: .04em;
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  color: var(--muted);
}
.nav a { text-decoration: none; }
.nav a:hover { color: var(--accent); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 4px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-1px); background: var(--accent-dark); border-color: var(--accent-dark); }
.button--ghost { background: transparent; color: var(--accent); }
.button--ghost:hover { color: var(--white); }
.hero {
  position: resolarpanel.csslative;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
}
.hero-split {
  position: relative;
}
.hero-split__panels {
  display: contents;
}
.hero-split__panels::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
          linear-gradient(90deg, rgba(0,0,0,.76) 0%, rgba(0,0,0,.48) 45%, rgba(0,0,0,.14) 100%),
          linear-gradient(0deg, rgba(0,0,0,.46) 0%, rgba(0,0,0,0) 42%);
  z-index: 1;
}
.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}
.hero__content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 88px;
  color: var(--white);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 700;
  color: #f3d7d9;
}
.eyebrow::before { content: ""; width: 36px; height: 2px; background: var(--accent); }
h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(36px, 5.2vw, 72px);
  line-height: 1.12;
  letter-spacing: 0;
}
.hero__lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.9);
  font-size: clamp(16px, 1.6vw, 20px);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 42px;
  color: rgba(255,255,255,.84);
}
.hero__facts span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding-left: 16px;
  border-left: 2px solid var(--accent);
  font-size: 14px;
}
section { padding: 86px 0; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 48px;
  align-items: end;
  margin-bottom: 44px;
}
.section-head h2 { margin: 0; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.22; }
.section-head p { margin: 0; color: var(--muted); }
.features {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}
.feature {
  min-height: 230px;
  padding: 28px;
  background: var(--white);
  transition: background .2s ease, transform .2s ease;
}
.feature:hover { background: var(--soft); transform: translateY(-2px); }
.feature__num { color: var(--accent); font-weight: 800; font-size: 14px; }
.feature h3 { margin: 22px 0 10px; font-size: 21px; line-height: 1.35; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.feature strong { color: var(--accent); font-size: 1.24em; }
.media-story { background: var(--soft); }
.media-grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: 24px; align-items: stretch; }
.media-large, .media-small { position: relative; overflow: hidden; background: #d9dee2; }
.media-large { min-height: 560px; }
.media-small { min-height: 268px; }
.media-large img, .media-small img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.media-large:hover img, .media-small:hover img { transform: scale(1.035); }
.media-stack { display: grid; gap: 24px; }
.caption { position: absolute; left: 16px; bottom: 16px; padding: 8px 12px; background: rgba(32,37,42,.82); color: var(--white); font-size: 13px; }
.product-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.product-card { border: 1px solid var(--line); background: var(--white); }
.product-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.product-card__body { padding: 24px; }
.product-card__body h3 { margin: 0 0 10px; font-size: 22px; }
.product-card__body p { margin: 0; color: var(--muted); }
.spec-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr); gap: 56px; align-items: start; }
.spec-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); }
.spec-table th, .spec-table td { border-bottom: 1px solid var(--line); padding: 18px 0; text-align: left; vertical-align: top; font-size: 15px; }
.spec-table th { width: 160px; color: var(--ink); font-weight: 700; }
.spec-table td { color: var(--muted); }
.price-panel { padding: 34px; border: 1px solid var(--line); background: var(--white); }
.price-panel__label { margin: 0 0 4px; color: var(--muted); font-size: 14px; }
.price-panel__price { margin: 0; color: var(--accent); font-size: clamp(38px, 4vw, 54px); line-height: 1.1; font-weight: 800; }
.price-panel__note { margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.checks { margin: 28px 0 0; padding: 0; list-style: none; }
.checks li { position: relative; padding: 10px 0 10px 26px; border-top: 1px solid var(--line); color: var(--ink); font-size: 15px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 20px; width: 8px; height: 8px; background: var(--accent); }
.applications { background: var(--ink); color: var(--white); }
.applications .section-head p { color: rgba(255,255,255,.72); }
.application-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.18); }
.application-list div { min-height: 132px; padding: 22px; background: var(--ink); display: flex; align-items: end; font-weight: 700; }
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.flow-item { position: relative; padding-top: 48px; }
.flow-item::before { counter-increment: step; content: "0" counter(step); position: absolute; top: 0; left: 0; color: var(--accent); font-weight: 800; font-size: 24px; }
.flow-item h3 { margin: 0 0 8px; font-size: 19px; }
.flow-item p { margin: 0; color: var(--muted); font-size: 15px; }
.cta {
  background:
    linear-gradient(90deg, rgba(32,37,42,.94), rgba(32,37,42,.72)),
    var(--deep);
  color: var(--white);
}
.cta .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 48px; align-items: center; }
.cta h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.2; }
.cta p { color: rgba(255,255,255,.78); margin: 18px 0 0; }
.contact-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); padding: 28px; }
.contact-card dl { margin: 0; }
.contact-card dt { color: rgba(255,255,255,.66); font-size: 13px; margin-top: 14px; }
.contact-card dt.base { display:inline-block; color: #fff; font-size: 14px; border-radius:4px; margin-top: 20px; padding: 4px 12px; background-color: var(--accent) }
.contact-card dt:first-child { margin-top: 0; }
.contact-card dd { margin: 4px 0 0; font-size: 18px; font-weight: 700; }
.notice { font-size: 12px; color: var(--muted); background: var(--soft); border-top: 1px solid var(--line); padding: 18px 0; }
footer { padding: 24px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
@media (max-width: 980px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .media-grid, .spec-layout, .product-split, .cta .wrap { grid-template-columns: 1fr; }
  .application-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .hero { min-height: 680px; }
  .hero__content { padding: 52px 0 64px; }
  section { padding: 64px 0; }
  .section-head { grid-template-columns: 1fr; gap: 18px; }
  .features, .application-list, .flow { grid-template-columns: 1fr; }
  .media-large, .media-small { min-height: 260px; }
  .site-header__inner { min-height: 58px; }
}


    .hero-product-duo {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
      max-width: 760px;
      margin-top: 28px;
    }

    .hero-product-card {
      padding: 18px 20px;
      border-left: 3px solid var(--accent);
      background: rgba(255, 255, 255, .12);
      color: var(--white);
      backdrop-filter: blur(8px);
    }

    .hero-product-card span {
      display: block;
      margin-bottom: 6px;
      color: #f3d7d9;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: .08em;
    }

    .hero-product-card strong {
      display: block;
      font-size: clamp(20px, 2.2vw, 28px);
      line-height: 1.25;
    }

    .hero-product-card p {
      margin: 10px 0 0;
      color: rgba(255, 255, 255, .84);
      font-size: 14px;
      line-height: 1.7;
    }

    @media (max-width: 720px) {
      .hero-product-duo { grid-template-columns: 1fr; }
    }

  

/* Product separation redesign */
.product-index { padding: 76px 0; background: #fff; }
.product-index__intro { max-width: 760px; margin-bottom: 34px; }
.product-index__intro .eyebrow { color: var(--accent); margin-bottom: 12px; }
.product-index__intro h2 { margin: 0; font-size: clamp(30px, 4vw, 50px); line-height: 1.2; }
.product-index__intro p { margin: 16px 0 0; color: var(--muted); }
.product-index__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.product-entry { position: relative; min-height: 430px; overflow: hidden; border: 1px solid var(--line); color: #fff; text-decoration: none; isolation: isolate; }
.product-entry img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .45s ease; z-index:-2; }
.product-entry::after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(0deg,rgba(0,0,0,.86),rgba(0,0,0,.18) 75%); }
.product-entry--roof::after { background:linear-gradient(0deg,rgba(15,44,73,.94),rgba(15,44,73,.24) 75%); }
.product-entry:hover img { transform:scale(1.035); }
.product-entry__body { position:absolute; left:0; right:0; bottom:0; padding:30px; }
.product-entry__number { display:inline-block; margin-bottom:10px; font-size:12px; font-weight:800; letter-spacing:.12em; color:#f5c9cc; }
.product-entry h3 { margin:0; font-size:clamp(26px,3vw,38px); line-height:1.2; }
.product-entry p { margin:14px 0 20px; color:rgba(255,255,255,.84); }
.product-entry__link { display:inline-flex; align-items:center; gap:10px; font-weight:800; }
.product-entry__link::after { content:"→"; }
.product-section { position:relative; border-top:10px solid transparent; }
.product-section::before { position:absolute; top:28px; right:max(16px,calc((100% - var(--max))/2)); font-size:12px; font-weight:800; letter-spacing:.14em; }
.product-section--ground { border-top-color:var(--accent); background:#fff; }
.product-section--ground::before { content:"PRODUCT 01 / GROUND MOUNT"; color:var(--accent); }
.product-section--roof { border-top-color:var(--deep2); background:#f3f7fa; }
.product-section--roof::before { content:"PRODUCT 02 / ROOF BRACKET"; color:var(--deep2); }
.product-label { display:inline-flex; padding:6px 10px; margin-bottom:14px; font-size:12px; font-weight:800; letter-spacing:.1em; color:#fff; background:var(--accent); }
.product-section--roof .product-label { background:var(--deep2); }
.product-jump { display:flex; gap:10px; flex-wrap:wrap; margin-top:24px; }
.product-jump a { padding:10px 14px; border:1px solid rgba(255,255,255,.45); text-decoration:none; font-weight:700; font-size:14px; }
.product-jump a:hover { background:#fff; color:var(--ink); }
@media(max-width:720px){
 .product-index__grid{grid-template-columns:1fr}.product-entry{min-height:360px}
 .product-section::before{position:static;display:block;padding:18px 16px 0;text-align:right}
}


/* Catalog-style product separation enhancement */
.product-switcher {
  position: sticky; top: 65px; z-index: 15;
  display: grid; grid-template-columns: 1fr 1fr;
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(15,44,73,.06);
}
.product-switcher a {
  display:flex; justify-content:center; align-items:center; gap:10px;
  min-height:54px; padding:10px 16px; text-decoration:none; font-weight:800;
}
.product-switcher a:first-child { color:var(--accent); border-bottom:4px solid var(--accent); }
.product-switcher a:last-child { color:var(--deep2); border-bottom:4px solid var(--deep2); }
.hero--split { padding:0; background:#fff; }
.hero-split { display:grid; grid-template-columns:1fr 1fr; min-height:650px; }
.hero-product-panel { position:relative; overflow:hidden; display:flex; align-items:flex-end; min-height:650px; color:#fff; text-decoration:none; }
.hero-product-panel img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .45s ease; }
.hero-product-panel:hover img { transform:scale(1.035); }
.hero-product-panel::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(0,0,0,.08) 20%,rgba(0,0,0,.80) 100%); }
.hero-product-panel--ground::before,.hero-product-panel--roof::before { content:""; position:absolute; z-index:2; top:0; left:0; right:0; height:8px; }
.hero-product-panel--ground::before { background:var(--accent); }
.hero-product-panel--roof::before { background:var(--deep2); }
.hero-product-panel__body { position:relative; z-index:3; width:100%; padding:54px clamp(28px,5vw,72px); }
.hero-product-panel__no { display:inline-block; padding:6px 12px; margin-bottom:16px; border:1px solid rgba(255,255,255,.72); font-size:.78rem; font-weight:800; letter-spacing:.12em; }
.hero-product-panel h1,.hero-product-panel h2 { margin:0 0 14px; color:#fff; font-size:clamp(1.75rem,3vw,3rem); line-height:1.3; }
.hero-product-panel p { max-width:580px; margin:0 0 24px; font-weight:600; text-shadow:0 2px 12px rgba(0,0,0,.35); }
.hero-panel-button { display:inline-flex; align-items:center; padding:13px 20px; border-radius:4px; background:#fff; font-weight:800; box-shadow:0 8px 24px rgba(0,0,0,.20); }
.hero-product-panel--ground .hero-panel-button { color:var(--accent-dark); }
.hero-product-panel--roof .hero-panel-button { color:var(--deep); }
.product-section { position:relative; scroll-margin-top:132px; }
.product-section--ground { border-top:10px solid var(--accent); background:linear-gradient(180deg,#fff8f8 0,#fff 180px); }
.product-section--roof { border-top:10px solid var(--deep2); background:linear-gradient(180deg,#f4f8fc 0,#fff 180px); }
.product-section--ground .section-head h2 { color:var(--accent-dark); }
.product-section--roof .section-head h2 { color:var(--deep); }
.product-endcap { margin-top:44px; padding:30px; border-radius:14px; display:grid; grid-template-columns:1.25fr .75fr; gap:28px; align-items:center; }
.product-endcap--ground { background:#fff2f2; border:2px solid rgba(184,34,43,.32); }
.product-endcap--roof { background:#eef5fb; border:2px solid rgba(20,54,93,.30); }
.product-endcap h3 { margin:0 0 12px; font-size:1.35rem; }
.product-endcap ul { margin:0; padding-left:1.35em; }
.product-endcap__action { text-align:center; }
.product-endcap__action .button { width:100%; justify-content:center; }
.button--roof { background:var(--deep2); border-color:var(--deep2); }
.section-product-marker { display:flex; align-items:center; gap:12px; margin-bottom:10px; font-weight:900; letter-spacing:.08em; }
.section-product-marker::before { content:""; width:32px; height:4px; background:currentColor; }
.product-section--ground .section-product-marker { color:var(--accent); }
.product-section--roof .section-product-marker { color:var(--deep2); }
#spec { border-left:8px solid var(--accent); background:#fffafa; scroll-margin-top:132px; }
#spec .section-head h2::before { content:"PRODUCT 01\A"; white-space:pre; display:block; color:var(--accent); font-size:.72rem; letter-spacing:.14em; }
@media (max-width: 820px) {
  .product-switcher { top:61px; }
  .product-switcher a { font-size:.82rem; min-height:48px; padding:8px; }
  .hero-split { grid-template-columns:1fr; }
  .hero-product-panel { min-height:480px; }
  .product-endcap { grid-template-columns:1fr; }
}
