
/* =========================================================
   Static release layer - 2026-07-01
   Purpose: remove JS/sticky-dependent behavior while keeping the current dark CIO2.0 tone.
   PC and SP only. Breakpoint: 768px.
   ========================================================= */

html, body { overflow-x: hidden; }
img, video { max-width: 100%; height: auto; }

/* Hero images: no forced viewport height */
body[class^="page-"] .hero,
body.page-novaport .hero,
body.page-polaris .hero,
body.page-novacore .hero,
body.page-style .hero,
body.page-scene .hero {
  min-height: auto !important;
  height: auto !important;
  padding: 0 !important;
  display: block !important;
  overflow: visible !important;
  background: #000 !important;
}

body[class^="page-"] .hero picture,
body[class^="page-"] .hero img {
  display: block;
}

/* Shared section rhythm */
.section-pad,
body.page-novacore .products,
body.page-novacore .notice,
body.page-novaport .concept,
body.page-novaport .personalize,
body.page-novaport .hardware,
body.page-novaport .products {
  padding-top: 64px !important;
  padding-bottom: 64px !important;
}

/* TOP: keep big chapters, remove sticky dependency, indent middle sections */
body.page-index .chapter-layout {
  display: block !important;
  max-width: var(--max, 1200px);
  margin: 0 auto;
}

body.page-index .chapter-head {
  position: relative !important;
  top: auto !important;
  min-height: auto !important;
  padding: 76px 0 26px !important;
  justify-content: flex-start !important;
}

body.page-index .chapter-title {
  font-size: clamp(42px, 5vw, 64px);
}

body.page-index .topic-stack {
  margin-left: min(8vw, 96px);
  padding: 0 0 48px !important;
}

body.page-index .topic {
  margin-bottom: 42px !important;
}

/* NovaCore: show all safety cards statically, hide sticky/mobile switchers */
body.page-novacore .desktop {
  display: block !important;
}

body.page-novacore .sticky,
body.page-novacore .mobile-steps {
  display: none !important;
}

body.page-novacore .features {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 44px !important;
}

body.page-novacore .fc {
  min-height: auto !important;
  padding: 28px 0 !important;
  border-top: 1px solid rgba(255,255,255,.12) !important;
}

body.page-novacore .fc > img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  margin-top: 8px;
}

/* Polaris: no sticky scroll; image + text stack */
body.page-polaris .wall-layout {
  display: block !important;
}

.static-hidden,
body.page-polaris .sticky-visual.static-hidden {
  display: none !important;
}

body.page-polaris .step-list {
  display: grid !important;
  gap: 42px !important;
}

body.page-polaris .step {
  min-height: auto !important;
  padding: 18px 0 34px !important;
  border-top: none !important;
}

.static-step-visual {
  margin: 0 0 18px;
  background: transparent;
}

.static-step-visual img {
  display: block;
  width: 100%;
  height: auto;
}

/* NovaPort: static mode cards */
body.page-novaport .pe-stage {
  height: auto !important;
  position: relative !important;
}

.static-mode-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 34px;
}

.static-mode-card {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) minmax(280px, .9fr);
  gap: 24px;
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,.12);
}

.static-mode-visual,
.static-mode-detail {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.static-mode-visual img,
.static-mode-detail img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* Product cards: keep shared layout, remove dummy black inner box */
.product-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  margin-top: 32px !important;
}

.product {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  padding: 24px !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  background: rgba(255,255,255,.04) !important;
  min-height: 100% !important;
}

.product-visual {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 180px !important;
  height: auto !important;
  margin-bottom: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.tiny-outlet {
  width: 100% !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.tiny-outlet img {
  display: block !important;
  max-width: 100% !important;
  max-height: 160px !important;
  width: auto !important;
  height: auto !important;
}

.product h3 { margin: 0 !important; font-size: 22px !important; line-height: 1.45 !important; }
.product p { margin: 0 !important; font-size: 15px !important; line-height: 1.8 !important; }
.product .meta { margin-top: auto !important; display: grid !important; gap: 8px !important; }
.product .meta div { display: flex !important; justify-content: space-between !important; gap: 16px !important; padding-top: 8px !important; border-top: 1px solid rgba(255,255,255,.12) !important; font-size: 14px !important; line-height: 1.5 !important; }
.product .meta span { color: rgba(255,255,255,.6) !important; white-space: nowrap !important; }

@media (max-width: 768px) {
  .section-pad,
  body.page-novacore .products,
  body.page-novacore .notice,
  body.page-novaport .concept,
  body.page-novaport .personalize,
  body.page-novaport .hardware,
  body.page-novaport .products {
    padding-top: 42px !important;
    padding-bottom: 42px !important;
  }

  body.page-index .topic-stack {
    margin-left: 0;
  }

  body.page-index .chapter-head {
    padding: 52px 0 18px !important;
  }

  body.page-novacore .features {
    gap: 28px !important;
  }

  .static-mode-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 0;
  }

  .product-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .product {
    padding: 20px !important;
  }

  .product-visual {
    min-height: 150px !important;
  }

  .product h3 { font-size: 20px !important; }
  .product p { font-size: 14px !important; }
  .product .meta div { font-size: 13px !important; }
}


/* =========================================================
   Static release V2 review fixes
   Scope: keep V1 tone, adjust only reviewed layout issues.
   ========================================================= */

/* Header fixed on all six pages */
body{
  padding-top: var(--np-header-height, 64px) !important;
}
.header{
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 3000 !important;
}

/* TOP: add breathing room on SP and make in-topic product lists use same cards */
body.page-index .top-product-grid{
  margin-top: 28px !important;
}
body.page-index .topic .top-product-grid .product{
  text-align: left !important;
}
body.page-index .topic .top-product-grid .meta{
  display: grid !important;
  gap: 8px !important;
  margin-top: auto !important;
}
body.page-index .topic .top-product-grid .meta div{
  display: flex !important;
  justify-content: space-between !important;
  gap: 16px !important;
  padding-top: 8px !important;
  border-top: 1px solid rgba(255,255,255,.12) !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

/* NovaCore: constrain hero KV to the same 1200px rhythm */
body.page-novacore .hero{
  width: min(1200px, calc(100% - 20px)) !important;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* NovaCore: make the three safety designs static but clearly subordinate */
body.page-novacore .features{
  margin-left: min(6vw, 72px) !important;
  padding-left: min(3vw, 32px) !important;
  border-left: 1px solid rgba(255,255,255,.12) !important;
}
body.page-novacore .fc{
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 44%) !important;
  gap: 28px 40px !important;
  align-items: center !important;
}
body.page-novacore .fc .fl,
body.page-novacore .fc h3,
body.page-novacore .fc p{
  grid-column: 1 !important;
}
body.page-novacore .fc > img{
  grid-column: 2 !important;
  grid-row: 1 / 4 !important;
  width: 100% !important;
  height: 320px !important;
  object-fit: contain !important;
  margin-top: 0 !important;
}

/* Polaris: Step rows are text left, image right on PC */
body.page-polaris .step-list{
  gap: 52px !important;
}
body.page-polaris .static-step-row{
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 46%) !important;
  gap: 32px !important;
  align-items: center !important;
  border-top: 1px solid rgba(255,255,255,.12) !important;
  padding-top: 34px !important;
}
body.page-polaris .static-step-row .step{
  padding: 0 !important;
  border-top: none !important;
}
body.page-polaris .static-step-row .static-step-visual{
  margin: 0 !important;
  height: 360px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
body.page-polaris .static-step-row .static-step-visual img{
  width: auto !important;
  max-width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

@media (max-width: 768px){
  body{
    padding-top: var(--np-header-height, 56px) !important;
  }

  body.page-index .main-wrap,
  body.page-index section,
  body.page-index .wrap,
  body.page-index .chapter-layout,
  body.page-index .topic{
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  body.page-index .main-wrap{
    width: 100% !important;
    max-width: 100% !important;
  }

  body.page-novacore .features{
    margin-left: 0 !important;
    padding-left: 16px !important;
  }
  body.page-novacore .fc{
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
  body.page-novacore .fc .fl,
  body.page-novacore .fc h3,
  body.page-novacore .fc p,
  body.page-novacore .fc > img{
    grid-column: auto !important;
    grid-row: auto !important;
  }
  body.page-novacore .fc > img{
    height: 240px !important;
    width: 100% !important;
    object-fit: contain !important;
  }

  body.page-polaris .static-step-row{
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    padding-top: 28px !important;
  }
  body.page-polaris .static-step-row .static-step-visual{
    height: 260px !important;
  }
}
