:root {
  --ink: #111927;
  --muted: #667080;
  --line: #e4eaf0;
  --paper: #f7fafb;
  --blue: #08a7d8;
  --green: #3d8a45;
  --pink: #df5b87;
  --shadow: 0 28px 78px rgba(17, 25, 39, 0.12);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  background: #fff;
  color: var(--ink);
  font-family: "Yu Gothic", YuGothic, "Noto Sans JP", Meiryo, Arial, sans-serif;
}

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

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

.site-header {
  position: fixed;
  z-index: 10;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  min-height: 74px;
  padding: 14px clamp(22px, 5vw, 72px);
  border-bottom: 1px solid rgba(17, 25, 39, 0.08);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-weight: 900;
}

.brand-mark img {
  display: block;
  width: 124px;
  height: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(18px, 3vw, 42px);
  color: #26364d;
  font-size: 14px;
  font-weight: 800;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
}

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

.main-nav a:hover::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) minmax(420px, 1.18fr);
  gap: clamp(42px, 7vw, 110px);
  align-items: center;
  min-height: 780px;
  padding: 132px clamp(24px, 7vw, 104px) 104px;
  background: linear-gradient(90deg, #fff, #f6fcfd);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
}

.eyebrow,
.section-label {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(48px, 5.6vw, 84px);
  line-height: 1;
  letter-spacing: 0;
}

.hero p {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 28px);
  line-height: 1.72;
}

.copy-line {
  display: inline;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
}

.button.primary {
  background: var(--ink);
  color: #fff;
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.hero-visual {
  position: relative;
  min-height: 560px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(17, 25, 39, 0.08);
  border-radius: 8px;
  background: #f8fbfc;
  box-shadow: 0 38px 110px rgba(17, 25, 39, 0.13);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.hero-facts {
  position: absolute;
  left: clamp(24px, 7vw, 104px);
  bottom: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-facts span {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 900;
}

.series-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.series-strip a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 128px;
  padding: 24px clamp(18px, 3vw, 36px);
  border-right: 1px solid var(--line);
}

.series-strip a:last-child {
  border-right: 0;
}

.series-strip span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.series-strip strong {
  margin-top: 10px;
  font-size: clamp(20px, 2vw, 30px);
}

.section {
  padding: clamp(88px, 10vw, 142px) clamp(22px, 7vw, 104px);
}

.intro-grid,
.section-heading,
.quality {
  width: min(1220px, 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(36px, 6vw, 86px);
}

.intro h2,
.section-heading h2,
.quality h2,
.contact h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(36px, 5vw, 70px);
  line-height: 1.05;
  letter-spacing: 0;
}

.intro p,
.section-heading p,
.quality p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.principles {
  display: grid;
  gap: 12px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.principles li {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.principles strong {
  color: var(--ink);
  font-size: 15px;
}

.principles span {
  color: var(--muted);
  line-height: 1.7;
}

.products {
  background: linear-gradient(180deg, #f7fbfc, #f2f8fa);
}

.section-heading {
  align-items: end;
  margin-bottom: 46px;
}

.section-heading p {
  max-width: 520px;
}

.series-overview {
  width: min(1220px, 100%);
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.series-overview article {
  position: relative;
  min-height: 280px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.9);
}

.series-overview img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.series-overview span {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.series-overview h3 {
  margin: 34px 0 12px;
  font-size: 26px;
}

.series-overview p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.catalogue {
  width: min(1240px, 100%);
  margin-inline: auto;
  display: grid;
  gap: 34px;
}

.lineup {
  overflow: hidden;
  border: 1px solid rgba(17, 25, 39, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 70px rgba(17, 25, 39, 0.07);
}

.lineup-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px clamp(20px, 3vw, 30px);
  border-bottom: 1px solid var(--line);
}

.lineup-head img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.lineup-head p {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.lineup-head h3 {
  margin: 0;
  font-size: clamp(24px, 2.5vw, 34px);
}

.product-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-content: center;
  align-items: stretch;
  gap: 18px;
  padding: 28px clamp(24px, 4vw, 42px) 34px;
  background: transparent;
}

.product-cards.five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.product-cards.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-cards article {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 238px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(17, 25, 39, 0.05);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-cards article:hover,
.product-cards article:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(8, 167, 216, 0.28);
  box-shadow: 0 16px 42px rgba(17, 25, 39, 0.09);
  outline: 0;
}

.product-cards article::after {
  content: "詳しく見る";
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(8, 167, 216, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.product-cards article:hover::after,
.product-cards article:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.product-cards img {
  width: 100%;
  max-width: 242px;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  background: #fff;
}

.modal-open {
  overflow: hidden;
}

.product-detail-modal[hidden] {
  display: none;
}

.product-detail-modal {
  position: fixed;
  z-index: 30;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 46px);
}

.product-detail-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 25, 39, 0.42);
  backdrop-filter: blur(10px);
}

.product-detail-panel {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  max-height: min(820px, calc(100vh - 32px));
  display: grid;
  grid-template-columns: minmax(320px, 0.98fr) minmax(0, 1.02fr);
  align-items: center;
  gap: clamp(26px, 4vw, 48px);
  overflow: auto;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(17, 25, 39, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 34px 120px rgba(17, 25, 39, 0.24);
}

.detail-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.detail-close:hover,
.detail-close:focus-visible {
  border-color: rgba(8, 167, 216, 0.36);
  outline: 0;
}

.detail-media {
  align-self: center;
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: min(500px, 58vh);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.detail-media img {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
}

.detail-copy {
  align-self: center;
  padding-right: 12px;
}

.detail-series {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.detail-copy h2 {
  margin: 0;
  font-size: clamp(32px, 3.5vw, 46px);
  line-height: 1.12;
  word-break: keep-all;
  line-break: strict;
}

.detail-lead {
  margin: 18px 0 26px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.detail-block {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.detail-block + .detail-block {
  margin-top: 22px;
}

.detail-sku-block {
  padding: 18px;
  border: 1px solid rgba(8, 167, 216, 0.18);
  border-radius: 8px;
  background: #f8fcfd;
}

.detail-sku-block ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 18px;
}

.detail-block h3 {
  margin: 0 0 12px;
  font-size: 15px;
}

.detail-block ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  line-height: 1.65;
}

.detail-block li {
  position: relative;
  padding-left: 18px;
}

.detail-block li::before {
  content: "";
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--blue);
}

.detail-sku-block li::before {
  background: var(--pink);
}

.detail-contact {
  margin-top: 28px;
}

.quality {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(248, 251, 252, 0.97), rgba(255, 255, 255, 0.9) 52%, rgba(248, 251, 252, 0.96)),
    url("assets/premium-system-bg.png") center / cover no-repeat;
}

.ip-system {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.ip-system figure {
  display: grid;
  place-items: center;
  min-height: 250px;
  margin: 0;
  padding: 28px;
  background: rgba(255, 255, 255, 0.78);
}

.ip-system img {
  width: min(156px, 74%);
  aspect-ratio: 1;
  object-fit: contain;
}

.ip-system figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.quality-copy {
  align-self: center;
}

.quality h2,
.contact h2 {
  font-size: clamp(34px, 4.1vw, 58px);
}

.quality-copy ul {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.quality-copy li {
  padding: 15px 18px;
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  font-weight: 800;
}

.contact {
  width: min(1220px, calc(100% - 44px));
  margin: clamp(70px, 9vw, 120px) auto;
  padding: clamp(38px, 6vw, 70px);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff, #edf8fb);
}

.contact h2 {
  margin-bottom: 28px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 24px clamp(22px, 7vw, 104px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer strong {
  color: var(--ink);
}

@media (max-width: 980px) {
  .site-header {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .main-nav {
    order: 2;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 132px;
  }

  .hero-copy {
    width: min(680px, 100%);
  }

  .hero-visual,
  .hero-visual img {
    min-height: 420px;
  }

  .hero-visual {
    aspect-ratio: 16 / 10;
  }

  .hero-facts {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: -60px;
    padding-inline: clamp(24px, 7vw, 104px);
  }

  .series-strip,
  .intro-grid,
  .section-heading,
  .quality,
  .series-overview {
    grid-template-columns: 1fr 1fr;
  }

  .product-cards,
  .product-cards.five,
  .product-cards.three {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .product-detail-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 104px;
  }

  .site-header {
    min-height: 94px;
    padding: 10px 14px 8px;
  }

  .brand-mark img {
    width: 104px;
  }

  .main-nav {
    gap: 14px;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
  }

  .hero {
    gap: 24px;
    padding: 126px 16px 44px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero p {
    margin-top: 22px;
    font-size: 16px;
    line-height: 1.62;
  }

  .copy-line {
    display: block;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 28px;
  }

  .button {
    min-height: 44px;
    padding-inline: 18px;
    font-size: 14px;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 0;
  }

  .hero-visual {
    aspect-ratio: 1.08;
  }

  .hero-visual img {
    height: 100%;
  }

  .hero-facts {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 0;
    padding: 0;
  }

  .series-strip,
  .intro-grid,
  .section-heading,
  .quality,
  .series-overview,
  .product-cards,
  .product-cards.five,
  .product-cards.three {
    grid-template-columns: 1fr;
  }

  .product-cards,
  .product-cards.five,
  .product-cards.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 12px;
  }

  .product-cards article {
    min-height: 0;
    aspect-ratio: 1;
    padding: 8px;
  }

  .product-cards img {
    max-width: 96%;
  }

  .product-cards article::after {
    opacity: 1;
    transform: none;
    right: 8px;
    bottom: 8px;
    min-height: 24px;
    font-size: 10px;
  }

  .product-detail-modal {
    padding: 12px;
    place-items: end center;
  }

  .product-detail-panel {
    max-height: calc(100vh - 24px);
    padding: 18px;
    gap: 18px;
  }

  .detail-media {
    min-height: auto;
  }

  .detail-close {
    top: 10px;
    right: 10px;
  }

  .detail-copy h2 {
    padding-right: 44px;
    font-size: 30px;
  }

  .detail-sku-block ul {
    grid-template-columns: 1fr;
  }

  .series-strip a {
    min-height: 82px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 64px 16px;
  }

  .intro h2,
  .section-heading h2,
  .quality h2,
  .contact h2 {
    font-size: 31px;
    line-height: 1.15;
  }

  .principles li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .series-overview article {
    min-height: 190px;
    padding: 22px;
  }

  .lineup-head {
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
  }

  .lineup-head img {
    width: 48px;
    height: 48px;
  }

  .lineup-head h3 {
    font-size: 22px;
  }

  .ip-system figure {
    min-height: 150px;
  }

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