:root {
  --color-ink: #111719;
  --color-deep-green: #1b2d31;
  --color-green-soft: #304a48;
  --color-gold: #c6a15c;
  --color-cream: #f5f0e5;
  --color-white: #ffffff;
  --color-line: #e2dbcc;
  --color-muted-dark: #d7dfdb;
  --color-muted-light: #6f7e7b;
  --color-body: #37423f;
  --shadow-soft: 0 20px 60px rgba(17, 23, 25, 0.12);
  --font-ja: "Noto Sans JP", "Yu Gothic", "Hiragino Sans", sans-serif;
  --font-latin: "Inter", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-cream);
  color: var(--color-body);
  font-family: var(--font-ja);
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

img,
video {
  max-width: 100%;
}

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

p {
  line-height: 1.9;
}

ul {
  margin: 0;
  padding-left: 1.15em;
}

li + li {
  margin-top: 8px;
}

:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px clamp(20px, 4vw, 56px);
  color: var(--color-white);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled,
.site-header.header-solid {
  background: rgba(17, 23, 25, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: clamp(210px, 25vw, 300px);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--color-muted-dark);
  font-size: 14px;
  font-weight: 700;
}

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

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

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  align-items: center;
  overflow: hidden;
  padding: 124px clamp(20px, 7vw, 96px) 86px;
  background: var(--color-ink);
  color: var(--color-white);
}

.hero-video,
.hero-poster,
.hero-overlay,
.hero::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-poster,
.hero-video {
  object-fit: cover;
}

.hero-poster {
  opacity: 0;
}

.hero-overlay {
  background:
    radial-gradient(circle at 78% 28%, rgba(198, 161, 92, 0.18), transparent 28%),
    linear-gradient(90deg, rgba(17, 23, 25, 0.9), rgba(27, 45, 49, 0.7), rgba(17, 23, 25, 0.24)),
    linear-gradient(0deg, rgba(17, 23, 25, 0.72), rgba(17, 23, 25, 0.08));
}

.hero::after {
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, black, transparent 72%);
  content: "";
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  animation: rise-in 700ms ease both;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--color-gold);
  font-family: var(--font-latin);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-line {
  width: 88px;
  height: 1px;
  margin-bottom: 26px;
  background: var(--color-gold);
  transform-origin: left;
  animation: line-grow 720ms 120ms ease both;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  color: var(--color-white);
  font-size: clamp(42px, 7vw, 84px);
  font-weight: 700;
  line-height: 1.08;
}

.hero-content > p:not(.eyebrow) {
  max-width: 650px;
  margin: 26px 0 0;
  color: var(--color-muted-dark);
  font-size: clamp(16px, 1.6vw, 19px);
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 4px;
  font-weight: 700;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

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

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.56);
  color: var(--color-white);
}

.hero-hint {
  position: absolute;
  right: clamp(20px, 4vw, 56px);
  bottom: 28px;
  z-index: 1;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-latin);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--color-deep-green);
  color: var(--color-white);
}

.trust-strip > div {
  min-height: 132px;
  padding: 30px clamp(20px, 3vw, 38px);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-strip strong,
.tech-list strong,
.business-card strong {
  display: block;
  color: var(--color-white);
  font-size: 18px;
}

.trust-strip span,
.tech-list span {
  display: block;
  margin-top: 10px;
  color: var(--color-muted-dark);
  font-size: 14px;
  line-height: 1.7;
}

.section {
  padding: clamp(72px, 10vw, 124px) clamp(20px, 7vw, 96px);
}

.section-dark {
  background: var(--color-ink);
  color: var(--color-muted-dark);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 44px;
}

.section-heading h2,
.contact-cta h2 {
  margin: 0;
  color: var(--color-ink);
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.18;
}

.section-heading p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--color-body);
  font-size: 16px;
}

.section-dark .section-heading h2,
.section-dark .section-heading p:not(.eyebrow) {
  color: var(--color-white);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  padding: 30px 30px 170px;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: var(--shadow-soft);
}

.product-card::before {
  position: absolute;
  inset: auto 24px 24px auto;
  width: 168px;
  height: 168px;
  background: radial-gradient(circle, rgba(198, 161, 92, 0.1), transparent 68%);
  content: "";
}

.product-role {
  margin: 0 0 14px;
  color: var(--color-gold);
  font-size: 13px;
  font-weight: 700;
}

.product-card h3 {
  margin: 0;
  color: var(--color-ink);
  font-size: 28px;
}

.product-card p:not(.product-role) {
  min-height: 68px;
  margin: 18px 0 24px;
}

.product-card ul {
  position: relative;
  z-index: 1;
  color: var(--color-body);
  font-size: 14px;
  line-height: 1.7;
}

.product-visual {
  position: absolute;
  right: 22px;
  bottom: 20px;
  z-index: 1;
  width: 164px;
  height: 164px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(198, 161, 92, 0.34);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.96), rgba(247, 244, 237, 0.92) 56%, rgba(232, 225, 211, 0.86) 100%);
  box-shadow: 0 18px 32px rgba(17, 23, 25, 0.08);
}

.product-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  color: var(--color-ink);
  font-weight: 700;
}

.text-link::after {
  content: "→";
  color: var(--color-gold);
}

.section-dark .text-link {
  color: var(--color-white);
}

.tech-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.tech-list > div {
  position: relative;
  overflow: hidden;
  min-height: 160px;
  padding: 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  transition: border-color 180ms ease, background 180ms ease;
}

.tech-list strong,
.tech-list span:not(.business-card-icon) {
  position: relative;
  z-index: 1;
}

.tech-list .business-card-icon {
  right: 18px;
  bottom: 16px;
  color: var(--color-gold);
  opacity: 0.13;
}

.tech-list > div:hover {
  border-color: rgba(198, 161, 92, 0.36);
  background: rgba(255, 255, 255, 0.025);
}

.tech-list > div:hover .business-card-icon {
  opacity: 0.24;
  transform: translate(0, 0);
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.business-card {
  position: relative;
  min-height: 196px;
  padding: 26px;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: var(--color-white);
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.business-card strong {
  position: relative;
  z-index: 1;
  display: block;
  color: var(--color-ink);
}

.business-card p {
  position: relative;
  z-index: 1;
  max-width: 84%;
}

.business-card-icon {
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 76px;
  height: 76px;
  color: var(--color-gold);
  opacity: 0.16;
  transform: translate(5px, 5px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.business-card-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.business-card:hover {
  border-color: rgba(198, 161, 92, 0.52);
  box-shadow: 0 18px 44px rgba(17, 23, 25, 0.08);
  transform: translateY(-2px);
}

.business-card:hover .business-card-icon {
  opacity: 0.28;
  transform: translate(0, 0);
}

.company-list {
  display: grid;
  max-width: 900px;
  margin: 0;
  border-top: 1px solid var(--color-line);
}

.company-list div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--color-line);
}

.company-list dt {
  color: var(--color-muted-light);
  font-weight: 700;
}

.company-list dd {
  margin: 0;
  color: var(--color-ink);
  font-weight: 700;
}

.company-contact-lines {
  display: grid;
  gap: 6px;
}

.section-company-domain {
  padding-top: 0;
}

.section-access {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(245, 240, 229, 0.94)),
    var(--color-cream);
  border-bottom: 1px solid var(--color-line);
}

.company-domain-card {
  position: relative;
  min-height: 196px;
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.company-domain-card h3,
.company-domain-card p {
  position: relative;
  z-index: 1;
  max-width: 86%;
}

.company-domain-card:hover {
  border-color: rgba(198, 161, 92, 0.52);
  box-shadow: 0 18px 44px rgba(17, 23, 25, 0.08);
  transform: translateY(-2px);
}

.company-domain-card:hover .business-card-icon {
  opacity: 0.28;
  transform: translate(0, 0);
}

.contact-cta {
  padding: clamp(74px, 10vw, 120px) clamp(20px, 7vw, 96px);
  background:
    linear-gradient(120deg, rgba(17, 23, 25, 0.95), rgba(27, 45, 49, 0.94)),
    url("../images/posters/hero-poster.png") center/cover;
  color: var(--color-muted-dark);
}

.contact-cta h2 {
  color: var(--color-white);
}

.contact-cta p:not(.eyebrow) {
  max-width: 690px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 7vw, 96px);
  background: var(--color-ink);
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
}

.page-hero {
  padding: 150px clamp(20px, 7vw, 96px) 76px;
  background:
    linear-gradient(120deg, rgba(17, 23, 25, 0.92), rgba(27, 45, 49, 0.9)),
    url("../images/posters/hero-poster.png") center/cover;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--color-muted-dark);
}

.comparison-table-wrap {
  position: relative;
  overflow-x: auto;
  box-shadow: var(--shadow-soft);
}

.comparison-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  overflow: hidden;
  background: var(--color-white);
}

.comparison-table th,
.comparison-table td {
  padding: 18px;
  border: 1px solid var(--color-line);
  text-align: left;
  vertical-align: top;
}

.comparison-table th {
  background: var(--color-deep-green);
  color: var(--color-white);
}

.detail-grid,
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.detail-card,
.contact-form,
.map-placeholder {
  padding: 28px;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  background: var(--color-white);
}

.map-panel {
  overflow: hidden;
}

.company-map {
  width: 100%;
  min-height: 420px;
  border-radius: 6px;
  background: rgba(27, 45, 49, 0.12);
}

.map-panel p {
  margin: 18px 0 0;
  color: var(--color-ink);
  font-weight: 700;
}

.detail-card h3 {
  margin: 0 0 12px;
  color: var(--color-ink);
  font-size: 24px;
}

.product-specs .section-heading p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.72);
}

.spec-table-wrap {
  position: relative;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(198, 161, 92, 0.06)),
    rgba(17, 23, 25, 0.42);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.18);
}

.spec-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
}

.spec-table caption {
  padding: 22px 24px;
  color: var(--color-white);
  font-family: var(--font-latin);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
}

.spec-table th,
.spec-table td {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding: 17px 18px;
  text-align: left;
  vertical-align: top;
}

.spec-table th:first-child,
.spec-table td:first-child {
  border-left: 0;
}

.spec-table thead th {
  background: rgba(198, 161, 92, 0.16);
  color: var(--color-white);
  font-weight: 800;
}

.spec-table tbody th {
  width: 18%;
  color: var(--color-gold);
  font-weight: 800;
  white-space: nowrap;
}

.spec-table td {
  width: 27.33%;
  line-height: 1.75;
}

.spec-note {
  max-width: 860px;
  margin-top: 22px;
  padding: 24px 28px;
  border-left: 3px solid var(--color-gold);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
}

.spec-note h3 {
  margin: 0 0 8px;
  color: var(--color-white);
  font-size: 20px;
}

.spec-note p {
  margin: 0;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--color-ink);
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--color-line);
  border-radius: 4px;
  padding: 13px 14px;
  background: #fffdf8;
  color: var(--color-ink);
  font: inherit;
}

.contact-form textarea {
  min-height: 180px;
  resize: vertical;
}

.field-full {
  grid-column: 1 / -1;
}

.hp-field {
  position: absolute;
  left: -9999px;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes line-grow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes hero-poster-breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.035);
  }
}

@media (max-width: 980px) {
  .trust-strip,
  .product-grid,
  .business-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tech-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 14px 20px;
    gap: 12px;
  }

  .brand-logo {
    width: min(232px, calc(100vw - 128px));
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 4px;
    padding: 0;
    background: rgba(17, 23, 25, 0.35);
    color: var(--color-white);
  }

  .nav-toggle-icon {
    display: grid;
    gap: 5px;
    width: 20px;
  }

  .nav-toggle-icon span {
    display: block;
    height: 1px;
    background: currentColor;
    border-radius: 999px;
  }

  .site-nav {
    position: fixed;
    top: 66px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 16px;
    background: rgba(17, 23, 25, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero {
    min-height: 92svh;
    padding: 112px 20px 74px;
  }

  .hero-video {
    display: none;
  }

  .hero-poster {
    animation: hero-poster-breathe 8.5s ease-in-out infinite;
    opacity: 1;
    transform-origin: center;
    will-change: transform;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(34px, 11vw, 46px);
  }

  .hero-hint {
    right: auto;
    left: 20px;
  }

  .trust-strip,
  .product-grid,
  .business-grid,
  .detail-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip > div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .section {
    padding: 68px 20px;
  }

  .product-card {
    min-height: auto;
    padding-bottom: 34px;
  }

  .product-card p:not(.product-role) {
    min-height: auto;
  }

  .product-visual {
    position: relative;
    right: auto;
    bottom: auto;
    width: 172px;
    max-width: none;
    height: 172px;
    margin: 26px 0 0 auto;
  }

  .tech-list {
    grid-template-columns: 1fr;
  }

  .company-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .site-footer {
    flex-direction: column;
  }

  .page-hero {
    padding: 120px 20px 64px;
  }

  .comparison-table-wrap::before,
  .spec-table-wrap::before {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    width: 58px;
    background: linear-gradient(90deg, rgba(17, 23, 25, 0), rgba(17, 23, 25, 0.82));
    content: "";
    pointer-events: none;
  }

  .comparison-table-wrap::before {
    background: linear-gradient(90deg, rgba(245, 240, 229, 0), rgba(245, 240, 229, 0.92));
  }

  .comparison-table-wrap::after,
  .spec-table-wrap::after {
    position: absolute;
    top: 50%;
    right: 8px;
    z-index: 3;
    padding: 10px 6px;
    border: 1px solid rgba(198, 161, 92, 0.72);
    border-radius: 999px;
    background: rgba(17, 23, 25, 0.9);
    color: var(--color-gold);
    content: attr(data-scroll-hint);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.25;
    pointer-events: none;
    text-orientation: mixed;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
  }
}

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