:root {
  --black: #090909;
  --panel: #121212;
  --panel-2: #191919;
  --white: #f7f7f5;
  --muted: #aaa9a5;
  --red: #ff4b4b;
  --line: rgba(255,255,255,.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

.site-header {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 50%;
  width: min(1120px, calc(100% - 40px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 0;
}
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; font-size: 1.35rem; font-weight: 700; letter-spacing: .03em; }
.brand img { width: 44px; height: 48px; object-fit: contain; }
.header-link { font-size: .85rem; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--white); }

.hero {
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  align-items: center;
  overflow: hidden;
}
.hero-image { height: 100%; min-height: 760px; background: linear-gradient(90deg, transparent 70%, var(--black)), url('/assets/hero.jpg') center / cover no-repeat; }
.hero-copy { padding: 130px max(40px, calc((100vw - 1120px)/2)) 90px 50px; }
.eyebrow { margin: 0 0 15px; color: var(--red); font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(2rem, 4vw, 4rem); line-height: 1.35; letter-spacing: .01em; }
h1 span { color: var(--red); }
.lead { max-width: 650px; margin: 32px 0 38px; color: #d0cfcc; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 11px 25px; background: var(--red); color: white; text-decoration: none; font-weight: 800; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); background: #ff6262; }

.section { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 120px 0; }
.section-heading { margin-bottom: 48px; }
.section-heading p { margin: 0; color: var(--red); font-size: .7rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.section-heading h2 { margin: 3px 0 0; font-size: clamp(2.6rem, 6vw, 5.3rem); line-height: 1; letter-spacing: -.03em; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service-grid article { position: relative; min-height: 300px; padding: 38px 190px 38px 38px; background: var(--panel); overflow: hidden; }
.service-grid article:last-child { grid-column: 1 / -1; }
.number { color: var(--red); font-size: .74rem; font-weight: 800; }
.service-grid img { position: absolute; right: 20px; top: 50%; width: 145px; height: 145px; padding: 13px; border-radius: 50%; background: #f1f1ef; object-fit: contain; transform: translateY(-50%); opacity: .92; }
.service-grid h3 { margin: 42px 0 12px; font-size: 1.25rem; }
.service-grid p { margin: 0; color: var(--muted); }

.goods-section { border-top: 1px solid var(--line); }
.goods-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.goods-grid article { position: relative; grid-column: span 2; min-height: 235px; padding: 32px; overflow: hidden; background: linear-gradient(145deg, var(--panel-2), #101010); border-top: 2px solid var(--red); }
.goods-grid article:nth-child(4), .goods-grid article:nth-child(5) { grid-column: span 3; }
.goods-grid span { color: var(--red); font-size: .7rem; font-weight: 800; }
.goods-grid img { position: absolute; top: 22px; right: 22px; width: 96px; height: 96px; object-fit: contain; opacity: .82; }
.goods-grid h3 { margin: 65px 0 0; font-size: 1.7rem; }
.goods-grid p { margin: 4px 0 0; color: var(--muted); font-size: .9rem; }

.membership { display: flex; align-items: center; justify-content: center; gap: 48px; padding: 85px 30px; text-align: left; background: var(--red); }
.membership > img { width: 150px; height: 150px; padding: 18px; border-radius: 50%; background: white; object-fit: contain; }
.membership .eyebrow { color: white; opacity: .8; }
.membership h2 { margin: 0; font-size: clamp(1.7rem, 4vw, 3rem); }
.membership h2 strong { font-size: 1.65em; }
.membership p { margin: 12px 0 32px; }
.button-light { background: white; color: #171717; }
.button-light:hover { background: #f0efed; }

footer { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 70px 0; color: var(--muted); }
.footer-brand { color: var(--white); }
footer p { margin: 20px 0 10px; }
footer > a { text-underline-offset: 4px; }

@media (max-width: 820px) {
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-image { min-height: 420px; background: linear-gradient(0deg, var(--black), transparent 45%), url('/assets/hero.jpg') center / cover no-repeat; }
  .hero-copy { padding: 0 25px 85px; margin-top: -35px; position: relative; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article:last-child { grid-column: auto; }
  .goods-grid { grid-template-columns: 1fr; }
  .goods-grid article, .goods-grid article:nth-child(4), .goods-grid article:nth-child(5) { grid-column: auto; min-height: 350px; }
  .membership { text-align: center; }
}

@media (max-width: 480px) {
  .site-header { width: calc(100% - 30px); padding-top: 18px; }
  .brand { font-size: 1.05rem; }
  .brand img { width: 36px; height: 40px; }
  .hero-image { min-height: 350px; }
  .hero-copy { padding-inline: 20px; }
  .section { width: calc(100% - 30px); padding: 80px 0; }
  .service-grid article { padding: 28px 120px 28px 28px; min-height: 280px; }
  .service-grid img { right: 14px; width: 95px; height: 95px; padding: 9px; }
  .service-grid h3 { margin-top: 30px; }
  .membership { flex-direction: column; gap: 24px; padding: 70px 20px; }
  .membership > img { width: 120px; height: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
