:root {
  --c-bg: #F5F7F9;
  --c-surface: #FFFFFF;
  --c-text: #1A1A1A;
  --c-muted: #757575;
  --c-accent: #D32F2F;
  --c-accent-dark: #B71C1C;
  --radius: 2px;
  --max: 1400px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--c-text);
  background: var(--c-bg);
  font-family: "Noto Sans JP", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--c-accent); color: #fff; }

.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.font-display, h1, h2, h3, h4 { font-family: "Noto Sans JP", sans-serif; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--c-surface);
  border-bottom: 1px solid rgba(117, 117, 117, 0.2);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 24px;
}
.site-header__brand img { height: 36px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 32px; font-size: 15px; font-weight: 500; }
.site-nav a { text-decoration: none; }
.site-nav a:hover, .site-nav a.is-active { color: var(--c-accent); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-accent);
  color: #fff;
  text-decoration: none;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius);
  border: 0;
  cursor: pointer;
}
.btn:hover { background: var(--c-accent-dark); }
.btn--ghost {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.btn--ghost:hover { background: #fff; color: var(--c-text); }
.btn--line {
  background: transparent;
  color: var(--c-accent);
  padding: 0;
}
.nav-toggle { display: none; background: none; border: 0; padding: 8px; }

.hero {
  position: relative;
  min-height: 520px;
  color: #fff;
  background: #1a1a1a center / cover no-repeat;
  display: flex;
  align-items: flex-end;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26,26,26,.92) 0%, rgba(26,26,26,.55) 55%, rgba(26,26,26,.2) 100%);
}
.hero__inner { position: relative; z-index: 1; padding: 96px 0 80px; max-width: 760px; }
.hero h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.15; font-weight: 900; margin: 0 0 20px; }
.hero .logo-white { height: 36px; width: auto; margin-bottom: 20px; }
.hero .product-logo { height: 44px; width: auto; margin: 12px 0 8px; }

.section { padding: 80px 0; }
.section--white { background: var(--c-surface); }
.section h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 900; line-height: 1.25; margin: 0 0 16px; }
.lede { font-size: 17px; line-height: 1.8; color: rgba(26,26,26,.75); max-width: 720px; }

.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.benefit { background: var(--c-bg); border: 1px solid rgba(117,117,117,.2); padding: 28px 22px; text-align: center; }
.benefit img { width: 88px; height: 88px; object-fit: contain; margin: 0 auto 16px; }
.benefit h3 { font-size: 18px; margin: 0 0 8px; }
.benefit p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--c-muted); }

.product-split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: start; }
.product-split__media { background: var(--c-bg); border: 1px solid rgba(117,117,117,.2); }
.product-split__media img { width: 100%; height: auto; max-height: 560px; object-fit: contain; }
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0; }
.product { background: var(--c-bg); border: 1px solid rgba(117,117,117,.2); padding: 16px; text-align: center; }
.product img { width: 100%; height: 140px; object-fit: contain; }
.product h4 { margin: 10px 0 6px; font-size: 15px; }
.product p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--c-muted); }

.logo-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin: 24px 0; }
.logo-row a, .logo-row span { background: #fff; border: 1px solid rgba(117,117,117,.2); padding: 16px 20px; display: flex; align-items: center; justify-content: center; min-width: 110px; min-height: 88px; }
.logo-row img { height: 48px; width: auto; }

.carousel { position: relative; background: #fff; border: 1px solid rgba(117,117,117,.2); }
.carousel img { width: 100%; height: 420px; object-fit: cover; }
.carousel figcaption { padding: 20px 24px 28px; }
.carousel figcaption strong { display: block; font-size: 20px; margin-bottom: 8px; }
.carousel figcaption p { margin: 0; color: rgba(26,26,26,.75); line-height: 1.75; }
.carousel-nav { display: flex; justify-content: space-between; padding: 0 16px 16px; }
.carousel-nav button {
  background: var(--c-text);
  color: #fff;
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

.approvals { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.approval { display: grid; grid-template-columns: 140px 1fr; gap: 20px; align-items: center; background: #fff; border: 1px solid rgba(117,117,117,.2); padding: 24px; }
.approval img { width: 100%; height: 72px; object-fit: contain; }
.approval p { margin: 0; font-size: 14px; line-height: 1.75; }
.approval a { color: var(--c-accent); }

.list { margin: 0; padding-left: 20px; }
.list li { margin: 0 0 10px; line-height: 1.7; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.step { background: var(--c-bg); border: 1px solid rgba(117,117,117,.2); padding: 16px; font-size: 14px; line-height: 1.7; }
.step strong { display: block; color: var(--c-accent); margin-bottom: 6px; }
.media { background: #fff; border: 1px solid rgba(117,117,117,.2); }
.media img, .media video { width: 100%; height: auto; display: block; background: #eef3f7; }

.contact-band { background: var(--c-accent); color: #fff; padding: 64px 0; }
.contact-band h2 { color: #fff; margin: 0 0 12px; }
.contact-band p, .contact-band a { color: #fff; }
.contact-band .btn { background: #fff; color: var(--c-accent); }
.contact-band .btn:hover { background: var(--c-bg); }

.site-footer { background: #1A1A1A; color: #fff; padding: 56px 0 28px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.site-footer img { height: 32px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); }
.site-footer p { color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.7; }
.site-footer h3 { font-size: 15px; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 10px; }
.site-footer a { color: rgba(255,255,255,.7); text-decoration: none; font-size: 14px; }
.site-footer a:hover { color: var(--c-accent); }
.site-footer__base { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; color: rgba(255,255,255,.45); font-size: 13px; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 16px;
    border-bottom: 1px solid rgba(117,117,117,.2);
  }
  .site-nav.is-open { display: flex; }
  .benefits, .products, .approvals, .product-split, .steps, .approval, .site-footer__grid { grid-template-columns: 1fr; }
  .carousel img { height: 240px; }
  .hero { min-height: 420px; }
}
