@font-face {
  font-family: "IBM Plex Sans JP";
  src: url("/fonts/IBMPlexSansJP-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans JP";
  src: url("/fonts/IBMPlexSansJP-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans JP";
  src: url("/fonts/IBMPlexSansJP-SemiBold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --paper: #f7f7f5;
  --ink: #171717;
  --muted: #666661;
  --line: #deded9;
  --soft: #eeeee9;
  --max-width: 1160px;
  --gutter: clamp(22px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
img { display: block; max-width: 100%; }

.shell { width: min(calc(100% - (var(--gutter) * 2)), var(--max-width)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; top: 12px; left: 12px; padding: 8px 14px; background: var(--ink); color: var(--paper); transform: translateY(-160%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; }
.wordmark { font-size: 18px; font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.wordmark-dot { color: #8b8b85; }
.main-nav, .footer-nav { display: flex; align-items: center; gap: 28px; font-size: 13px; letter-spacing: .03em; }
.main-nav a, .footer-nav a { position: relative; display: inline-flex; min-height: 44px; align-items: center; padding: 10px 0; }
.main-nav a::after, .footer-nav a::after { position: absolute; right: 0; bottom: 3px; left: 0; height: 1px; background: currentColor; content: ""; transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.main-nav a:hover::after, .footer-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.hero { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(390px, .94fr); align-items: center; min-height: min(700px, calc(100vh - 82px)); gap: clamp(42px, 7vw, 104px); padding-block: clamp(54px, 9vw, 118px); }
.hero-media { align-self: stretch; display: flex; align-items: center; min-width: 0; }
.hero-media picture { display: block; width: 100%; }
.hero-media img { width: 100%; height: auto; object-fit: contain; }
.hero-copy { max-width: 490px; padding-bottom: 3px; }
.eyebrow { margin: 0 0 22px; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .16em; line-height: 1.4; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 12em; margin-bottom: 30px; font-size: clamp(2.3rem, 3.6vw, 3.25rem); font-weight: 500; letter-spacing: -.075em; line-height: 1.22; }
.hero-description { max-width: 27em; margin-bottom: 35px; color: #5f5f5b; font-size: 15px; line-height: 2; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 30px; padding: 11px 17px 11px 20px; border: 1px solid var(--ink); font-size: 13px; font-weight: 600; letter-spacing: .04em; transition: background-color .2s ease, color .2s ease, transform .2s ease; }
.button span { font-size: 20px; font-weight: 400; line-height: 1; }
.button:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }

.section { padding-block: clamp(100px, 13vw, 180px); }
.section-heading { display: grid; grid-template-columns: minmax(220px, .9fr) minmax(0, 1.1fr); align-items: end; column-gap: 30px; border-top: 1px solid var(--line); padding-top: 21px; }
.section-heading .eyebrow { grid-column: 1; grid-row: 1 / span 2; align-self: start; margin: 0; }
.section-heading h2 { grid-column: 2; margin-bottom: 12px; font-size: clamp(1.75rem, 3vw, 2.55rem); font-weight: 500; letter-spacing: -.07em; line-height: 1.35; }
.section-heading > p:last-child { grid-column: 2; margin-bottom: 0; color: var(--muted); font-size: 14px; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 57px; }
.product-card { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); background: #fbfbf9; }
.product-visual { position: relative; display: flex; min-height: 242px; align-items: center; justify-content: center; overflow: hidden; border-bottom: 1px solid var(--line); background: #f0f0ec; }
.product-visual::before { position: absolute; inset: 26px; border: 1px solid rgba(23,23,23,.15); content: ""; }
.product-visual::after { position: absolute; width: 75%; height: 1px; background: rgba(23,23,23,.15); content: ""; transform: rotate(-27deg); }
.product-visual-spotlock { background: #e6e6e1; }
.product-visual-kaulist { background: #d6d6d1; }
.product-visual-kaulist::after { transform: rotate(27deg); }
.product-visual img { position: relative; z-index: 1; width: clamp(116px, 32%, 178px); aspect-ratio: 1; object-fit: contain; border-radius: 22%; box-shadow: 0 14px 28px rgba(23,23,23,.12); }
.visual-caption { position: absolute; right: 18px; bottom: 16px; color: #63635e; font-size: 9px; font-weight: 600; letter-spacing: .15em; line-height: 1.5; text-align: right; }
.product-content { display: grid; grid-template-columns: 42px 1fr; column-gap: 16px; padding: 25px 25px 28px; }
.product-index { grid-row: 1 / span 3; margin: 0; color: var(--muted); font-size: 11px; letter-spacing: .08em; }
.product-content h3 { margin-bottom: 8px; font-size: 20px; font-weight: 500; letter-spacing: -.04em; line-height: 1.4; }
.product-content p:not(.product-index) { margin-bottom: 19px; color: var(--muted); font-size: 13px; }
.product-link { display: inline-flex; align-items: center; gap: 8px; width: fit-content; min-height: 44px; color: var(--ink); font-size: 12px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.product-link span { font-size: 16px; font-weight: 400; text-decoration: none; }
.section-note { margin: 21px 0 0; color: var(--muted); font-size: 12px; }

.about { padding-top: 0; }
.about-rule { height: 1px; margin-bottom: 24px; background: var(--line); }
.about-layout { display: grid; grid-template-columns: minmax(220px, .9fr) minmax(0, 1.1fr); gap: 30px; }
.about h2 { margin-bottom: 0; font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 500; letter-spacing: -.08em; line-height: 1.35; }
.about-copy { max-width: 34em; padding-top: 43px; }
.about-copy p { margin-bottom: 17px; color: #5f5f5b; font-size: 15px; line-height: 2; }
.about-copy p:last-child { margin-bottom: 0; }
.closing { display: flex; align-items: center; gap: 18px; padding-bottom: 130px; color: var(--muted); font-size: 12px; letter-spacing: .06em; }
.closing p { margin: 0; }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; min-height: 150px; align-items: flex-end; justify-content: space-between; padding-block: 30px; }
.footer-wordmark { display: block; margin-bottom: 17px; }
.copyright { margin: 0; color: var(--muted); font-size: 11px; }

@media (max-width: 760px) {
  :root { --gutter: 22px; }
  .header-inner { min-height: 70px; }
  .hero { display: block; min-height: auto; padding-block: 44px 94px; }
  .hero-media { margin-bottom: 50px; }
  .hero-media img { width: 100%; }
  .hero-copy { max-width: none; }
  h1 { margin-bottom: 23px; font-size: clamp(2.2rem, 10vw, 3.5rem); }
  .hero-description { max-width: 31em; margin-bottom: 29px; font-size: 14px; }
  .section { padding-block: 90px; }
  .section-heading, .about-layout { display: block; }
  .section-heading h2 { margin-top: 25px; }
  .section-heading > p:last-child { margin-top: 15px; }
  .product-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 42px; }
  .product-visual { min-height: min(59vw, 290px); }
  .about-copy { padding-top: 34px; }
  .about h2 { font-size: clamp(2.1rem, 10vw, 3.2rem); }
  .closing { padding-bottom: 94px; }
}

@media (min-width: 761px) and (max-width: 900px) {
  .hero { display: block; min-height: auto; padding-block: 58px 112px; }
  .hero-media { margin-bottom: 58px; }
  .hero-copy { max-width: 580px; }
  .hero-copy h1 { font-size: clamp(2.6rem, 6.5vw, 3.25rem); }
}

@media (max-width: 380px) {
  .main-nav { gap: 17px; }
  .hero { padding-top: 34px; }
  .hero-media { margin-inline: -8px; }
  .product-content { padding-inline: 18px; }
}

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