:root {
  color: #f8fbff;
  background: #06101f;
  font-family:
    "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: #06101f;
}

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

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem clamp(1.1rem, 4vw, 4rem);
}

.site-header::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(3, 8, 18, 0.82), rgba(3, 8, 18, 0));
  content: "";
}

.site-header img {
  display: block;
  width: clamp(6.02rem, 10.5vw, 9.1rem);
  height: auto;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2vw, 2rem);
}

.site-header nav a,
.site-header nav button {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  border: 0;
  background: transparent;
  color: rgba(248, 251, 255, 0.7);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0;
  text-transform: uppercase;
}

.site-header nav a::after,
.site-header nav button::after {
  position: absolute;
  right: 0;
  bottom: 0.12rem;
  left: 0;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.35);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
  content: "";
}

.site-header nav a:hover,
.site-header nav a:focus-visible,
.site-header nav button:hover,
.site-header nav button:focus-visible {
  color: #fff;
}

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

.hero-section {
  position: relative;
  display: grid;
  isolation: isolate;
  min-height: 100vh;
  align-items: end;
  overflow: hidden;
  padding: clamp(7rem, 12vw, 10rem) clamp(1.3rem, 6vw, 6rem) clamp(4rem, 9vw, 7rem);
  background:
    url("./assets/logo-full.png") right center / min(74vw, 1120px) auto no-repeat,
    #06101f;
}

.hero-section::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 74% 42%, rgba(92, 148, 208, 0.12), transparent 34%),
    linear-gradient(90deg, rgba(3, 8, 18, 0.98) 0%, rgba(3, 8, 18, 0.9) 24%, rgba(3, 8, 18, 0.18) 58%, rgba(3, 8, 18, 0.76) 100%);
  content: "";
}

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

.section-label {
  margin: 0 0 0.9rem;
  color: rgba(218, 234, 255, 0.74);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1,
.products-heading h2 {
  margin: 0;
  color: #fff;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-copy h1 {
  max-width: 12ch;
  font-size: clamp(3.2rem, 8vw, 7rem);
  line-height: 1.02;
}

.hero-copy p:not(.section-label) {
  margin: 1.5rem 0 0;
  color: rgba(248, 251, 255, 0.78);
  font-size: clamp(1.02rem, 1.7vw, 1.32rem);
  line-height: 1.9;
}

@media (min-width: 861px) {
  .hero-section {
    grid-template-columns: minmax(30rem, 0.42fr) minmax(0, 1fr);
    align-items: center;
    padding-top: clamp(7rem, 9vw, 8.5rem);
    padding-bottom: clamp(3rem, 7vw, 6rem);
  }

  .hero-copy {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(3, 8, 18, 0.62);
    padding: clamp(1.35rem, 2.5vw, 2rem);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(16px);
  }

  .hero-copy h1 {
    max-width: 9ch;
    font-size: clamp(3.15rem, 3.8vw, 4.4rem);
  }
}

.statement-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.1);
}

.statement-section article {
  min-height: 28rem;
  background: rgba(3, 8, 18, 0.76);
  padding: clamp(1.5rem, 4vw, 3rem);
}

.statement-section span {
  display: block;
  margin-bottom: 1.2rem;
  color: rgba(218, 234, 255, 0.48);
  font-weight: 900;
}

.statement-section h2 {
  margin: 0 0 1.3rem;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
}

.statement-section p {
  margin: 0;
  color: rgba(248, 251, 255, 0.72);
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  line-height: 1.9;
}

.products-section,
.company-section {
  display: grid;
  min-height: 68vh;
  grid-template-columns: minmax(0, 0.85fr) minmax(20rem, 0.72fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
  padding: clamp(5rem, 10vw, 8rem) clamp(1.3rem, 6vw, 6rem);
  background:
    linear-gradient(180deg, rgba(6, 16, 31, 0.12), rgba(3, 8, 18, 0.88)),
    radial-gradient(circle at 80% 25%, rgba(109, 167, 230, 0.2), transparent 34%);
}

.products-heading h2,
.company-heading h2 {
  max-width: 8ch;
  font-size: clamp(3.2rem, 8vw, 7.2rem);
  line-height: 0.95;
  margin: 0;
  color: #fff;
  font-weight: 900;
  letter-spacing: 0;
}

.product-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1rem, 2.2vw, 1.4rem);
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.055);
  padding: clamp(1rem, 2.4vw, 1.45rem);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.product-link:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
}

.product-copy {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.product-copy strong {
  color: #fff;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 900;
  line-height: 1.28;
}

.product-copy small {
  color: rgba(248, 251, 255, 0.64);
  font-size: 0.88rem;
  line-height: 1.7;
}

.product-qr-panel {
  grid-column: 2;
  display: grid;
  place-items: center;
  width: clamp(5rem, 7.2vw, 6.4rem);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  padding: 0.38rem;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}

.product-qr {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 3px;
}

.company-section {
  min-height: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(3, 8, 18, 0.92), rgba(3, 8, 18, 0.98)),
    radial-gradient(circle at 14% 15%, rgba(109, 167, 230, 0.16), transparent 30%);
}

.company-list {
  display: grid;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.company-list div {
  display: grid;
  grid-template-columns: minmax(8rem, 0.38fr) minmax(0, 1fr);
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem clamp(1rem, 2.5vw, 1.4rem);
}

.company-list div:last-child {
  border-bottom: 0;
}

.company-list dt {
  color: rgba(218, 234, 255, 0.58);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.company-list dd {
  margin: 0;
  color: rgba(248, 251, 255, 0.86);
  font-size: clamp(0.98rem, 1.35vw, 1.1rem);
  line-height: 1.8;
}

.company-list dd span {
  display: block;
}

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

.qr-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 1.2rem;
}

.qr-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 18, 0.78);
  backdrop-filter: blur(10px);
}

.qr-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 28rem);
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(6, 16, 31, 0.96);
  padding: clamp(1.2rem, 4vw, 1.8rem);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.46);
}

.qr-dialog h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.8rem, 6vw, 2.7rem);
  line-height: 1;
}

.qr-close,
.qr-copy {
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
}

.qr-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  font-size: 1.35rem;
}

.qr-display {
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #fff;
  padding: 1rem;
}

.qr-display img {
  display: block;
  width: min(100%, 14rem);
  height: auto;
}

.qr-url-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2.75rem;
  gap: 0.55rem;
  align-items: center;
}

.qr-url-row code {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(248, 251, 255, 0.86);
  padding: 0.75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.qr-copy {
  width: 2.75rem;
  height: 2.75rem;
}

.qr-close:hover,
.qr-copy:hover {
  background: rgba(255, 255, 255, 0.18);
}

.qr-copy-status {
  min-height: 1.4rem;
  margin: 0;
  color: rgba(218, 234, 255, 0.78);
  font-size: 0.88rem;
}

@media (max-width: 860px) {
  body {
    background:
      linear-gradient(180deg, rgba(6, 16, 31, 0.14), #06101f 44%, #030812),
      url("./assets/logo-full.png") center 5.5rem / auto 58vh no-repeat,
      #06101f;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-section {
    min-height: 104vh;
    align-items: end;
    background: none;
  }

  .hero-section::after {
    background:
      radial-gradient(circle at 50% 28%, rgba(92, 148, 208, 0.16), transparent 36%),
      linear-gradient(180deg, rgba(3, 8, 18, 0.22), rgba(3, 8, 18, 0.7) 52%, rgba(3, 8, 18, 0.96));
  }

  .hero-copy h1 {
    max-width: 100%;
  }

  .hero-copy {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(3, 8, 18, 0.58);
    padding: 1.15rem;
    backdrop-filter: blur(14px);
  }

  .statement-section,
  .products-section,
  .company-section {
    grid-template-columns: 1fr;
  }

  .statement-section article {
    min-height: auto;
  }

  .company-list div {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }
}

@media (max-width: 520px) {
  .site-header nav {
    flex-wrap: wrap;
  }

  .site-header nav a,
  .site-header nav button {
    min-height: 1.8rem;
    font-size: 0.72rem;
  }

  .hero-copy h1,
  .products-heading h2,
  .company-heading h2 {
    font-size: 2.8rem;
  }
}
