:root {
  --ink: #2A2724;
  --mag: #E1067A;
  --stone: #6E675E;
  --line: #E8E4DF;
  --paper: #FCFAF7;
  --hall: #241c1a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Glow Sans SC", "Viz Grotesk", sans-serif;
  font-weight: 400;
  line-height: 1.6;
}
html[lang="en"] body { font-family: "Viz Grotesk", "Glow Sans SC", sans-serif; }
html[lang="ja"] body { font-family: "Glow Sans J", "Glow Sans SC", "Viz Grotesk", sans-serif; }
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-weight: 500; letter-spacing: 0.012em; line-height: 1.2; }
.en { font-family: "Viz Grotesk", sans-serif; letter-spacing: 0.01em; color: var(--stone); }
.skip {
  position: absolute; left: 12px; top: -40px; background: #fff; padding: 8px 12px; z-index: 100;
}
.skip:focus { top: 12px; }

.nav {
  position: fixed; z-index: 40; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(1180px, calc(100% - 20px));
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px 8px 14px;
  background: rgba(36, 28, 26, 0.78);
  color: #FCFAF7;
  border: 1px solid rgba(232, 228, 223, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(16px);
}
.nav .brand img { height: 34px; width: auto; display: block; }
.nav-links { display: flex; gap: 2px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav-links a { position: relative; display: block; padding: 8px 10px; border-radius: 999px; text-decoration: none; font-size: 14px; }
.nav-links a:hover { background: rgba(252, 250, 247, 0.08); }
.nav-links a.is-here::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; background: #FCFAF7;
}
.nav-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; }
.nav-toggle span { display: block; height: 2px; margin: 6px 10px; background: #FCFAF7; }
.lang-switch { display: flex; gap: 2px; }
.lang-switch button {
  border: 0; background: transparent; color: #E8E4DF; border-radius: 999px; padding: 6px 8px; cursor: pointer;
}
.lang-switch button.is-on { background: #FCFAF7; color: var(--ink); }
.nav-dial, .btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 40px;
  text-decoration: none; border-radius: 999px;
}
.nav-dial { width: 40px; border: 1px solid rgba(232, 228, 223, 0.35); color: #FCFAF7; }
.nav-dial svg { width: 18px; height: 18px; }
.btn { padding: 0 16px; border: 0; cursor: pointer; font: inherit; font-weight: 500; }
.btn-mag { background: var(--mag); color: #fff; }
.btn-line { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.nav .btn-line, .nav .btn-mag { flex: none; }
.hero-actions .btn-line { color: #FCFAF7; border-color: rgba(252, 250, 247, 0.45); }

section.hero-space { height: 220vh; padding: 0; background: var(--hall); }
.hero-sticky { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; display: flex; align-items: flex-end; }
#hall { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }
.hall-fallback[hidden] { display: none !important; }
.hall-fallback {
  position: absolute; inset: 0; display: grid; grid-template-columns: 1.2fr 0.8fr; background: var(--hall);
}
.hall-fallback img { width: 100%; height: 100%; object-fit: cover; }
.hall-fallback p {
  position: absolute; left: max(24px, 5vw); right: auto; top: auto; bottom: 16px; z-index: 5;
  margin: 0; max-width: 34em; font-size: 12px; line-height: 1.35; color: rgba(252, 250, 247, 0.78);
}
html.is-still .hero-copy { margin-bottom: 58px; }
.hero-copy {
  position: relative; z-index: 2; margin: 0 0 18px max(28px, 5vw); width: min(540px, 48vw);
  padding: 28px 8px 8px 0;
  color: #FCFAF7; text-shadow: 0 10px 24px rgba(0, 0, 0, 0.55); pointer-events: none;
  background: linear-gradient(180deg, rgba(36, 28, 26, 0) 0%, rgba(36, 28, 26, 0.55) 32%, rgba(36, 28, 26, 0.78) 100%);
}
.hero-copy h1 { font-size: clamp(34px, 3.6vw, 52px); margin: 0 0 6px; letter-spacing: 0.012em; line-height: 1.15; }
.hero-copy .en { color: #E8E4DF; margin: 0 0 8px; }
.hero-line { margin: 0 0 12px; max-width: 36em; color: #E8E4DF; font-size: 15px; line-height: 1.45; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; pointer-events: auto; }
.hero-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 10px; }
.hero-hint { margin: 0; color: #F4F1EC; font-size: 13px; line-height: 1.4; max-width: 36em; }
html.is-still .hero-hint { display: none; }
.hero-copy .concept { color: #FCFAF7; border-color: rgba(252, 250, 247, 0.82); background: rgba(36, 28, 26, 0.4); }

.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
section { padding: 88px 0; scroll-margin-top: 112px; }
#screenline {
  background: linear-gradient(180deg, #241c1a 0%, #3a342f 72px, #cfc8c0 160px, var(--paper) 240px);
}
.kicker { color: var(--stone); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 8px; }
.sec-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 28px; }
.sec-head h2 { margin: 0; font-size: clamp(32px, 4vw, 48px); text-wrap: balance; }
.sec-head p { max-width: 36em; margin: 0; color: var(--stone); }
.concept { display: inline-block; font-size: 12px; letter-spacing: 0.08em; color: var(--stone); border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; }

.journey { display: grid; grid-template-columns: 1.15fr 0.9fr 1.35fr 0.85fr 0.85fr 1fr; gap: 14px 12px; align-items: end; }
.journey figure { margin: 0; }
.journey img { width: 100%; aspect-ratio: 4/5; object-fit: cover; background: #2A2724; border-radius: 2px; }
.journey figure:nth-child(3) img { aspect-ratio: 16/9; object-position: center; }
.journey figure:nth-child(1) img { aspect-ratio: 2/1; object-position: center; }
.journey figcaption { margin-top: 8px; font-size: 13px; }
.journey b { color: var(--mag); font-weight: 500; margin-right: 4px; }

.svc-grid, .step-grid, .pick-grid, .catalog-grid { display: grid; gap: 22px 18px; }
.svc-grid { grid-template-columns: 1.2fr 0.9fr 0.9fr; align-items: stretch; }
.svc, .step, .pick-card, .lib-card, .scene, .panel {
  background: transparent; border: 0; border-radius: 0; overflow: hidden; min-width: 0;
}
.shot { position: relative; overflow: hidden; }
.shot img { position: relative; z-index: 1; transition: transform 0.9s ease, object-position 0.45s ease; }
.shot:hover img { transform: scale(1.045) translate3d(0, -1.5%, 0); }
.shot .look {
  position: absolute; right: 8px; bottom: 8px; z-index: 5; pointer-events: auto;
  border: 0; border-radius: 999px; padding: 4px 10px; cursor: pointer;
  background: rgba(252, 250, 247, 0.92); color: var(--ink); font: inherit; font-size: 12px;
}
.shot.is-close img,
.shot.is-close:hover img { transform: scale(1.68); object-position: var(--close, 64% 42%); }
.shot.is-mild.is-close img,
.shot.is-mild.is-close:hover img { transform: scale(1.16); }
.shot .sheen {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 28%, rgba(252, 250, 247, 0.62) 50%, transparent 72%);
  transform: translateX(-140%);
}
.shot:hover .sheen { transform: translateX(140%); transition: transform 0.65s ease; }
.js .reveal {
  opacity: 0; transform: translateY(46px); clip-path: inset(10% 0 0 0);
  transition: opacity 0.9s ease, transform 1.05s cubic-bezier(0.16, 1, 0.3, 1), clip-path 1.05s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--d, 0) * 130ms);
}
.js .reveal.is-in { opacity: 1; transform: none; clip-path: inset(0); }
.svc img, .step img, .pick-card img, .scene img, .lib-card img, .ba img, .truss-shot img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; background: #E8E4DF; border-radius: 2px;
  filter: saturate(0.9) contrast(1.04);
}
.svc:nth-child(1) { grid-row: span 2; }
.svc:nth-child(1) img { aspect-ratio: 3/4; height: 100%; object-position: 38% 28%; }
.svc:nth-child(2) img, .svc:nth-child(3) img { aspect-ratio: 16/9; }
.svc:nth-child(4) { grid-column: 1 / span 2; }
.svc:nth-child(4) img { aspect-ratio: 2.2/1; object-position: center 48%; }
.svc:nth-child(6) img { aspect-ratio: 2/1; object-position: center; }
.step img { aspect-ratio: 5/4; }
.step:nth-child(3) img { aspect-ratio: 16/9; object-position: center; }
.svc div, .step, .pick-body, .lib-card div, .scene { padding: 14px 16px 16px; }
.svc h3, .step h3, .pick-body h3, .scene h3 { margin: 0 0 6px; font-size: 22px; }
.step-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step { padding: 0 0 16px; }
.step h3, .step p, .step .kicker { padding: 0 16px; }
.step .kicker { padding-top: 14px; }

.type-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.type-chip {
  display: flex; flex-direction: column; gap: 6px; min-height: 92px; padding: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; text-decoration: none;
}
.type-chip span { color: var(--stone); font-size: 14px; }
.more { margin-top: 18px; }

.pick-grid { grid-template-columns: 1.25fr 1fr 1fr; }
.pick-card:nth-child(1) { grid-row: span 2; }
.pick-card:nth-child(1) img { aspect-ratio: 4/5; object-position: 40% 26%; }
.pick-card:nth-child(6) { grid-column: span 2; }
.pick-card:nth-child(6) img { aspect-ratio: 16/9; object-position: center; }
.catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 18px; }
.catalog-grid .pick-card:nth-child(3n + 1) img { aspect-ratio: 5/4; }
.pick-card, .lib-card, .scene, .panel, .step { background: transparent; }
.pick-body .paper, .paper { margin: 8px 0; }
.paper div { display: grid; grid-template-columns: 3.2em 1fr; gap: 8px; font-size: 13px; }
.paper dt { color: var(--stone); }
.paper dd { margin: 0; overflow-wrap: anywhere; }
.pick-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
.pick-actions .btn-line:active { background: var(--ink); color: #fff; }
.pick-actions .btn-line.is-in { border-color: var(--mag); color: var(--mag); }
.pick-qty { color: var(--mag); font-size: 13px; }
.pick-view { font-size: 13px; }

.seg { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.seg button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; cursor: pointer; font: inherit; }
.seg button.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }

.lib-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.lib-card img, .swatch { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; background: #F4F1EC; }
.swatch { display: grid; place-items: center; padding: 16px; color: var(--stone); text-align: center; }
.lib-card .spec { color: var(--stone); font-size: 13px; }

.scene-grid { display: grid; gap: 28px; }
.scene-photos { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
.scene-photos img { aspect-ratio: 16/10; height: 100%; }

.ba { position: relative; display: grid; border-radius: 16px; overflow: hidden; background: #2A2724; }
.ba img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.ba .crop { aspect-ratio: 16/7; object-position: center 12%; }
.ba figcaption, .pair-cap { display: flex; justify-content: space-between; gap: 12px; padding: 8px 2px; color: var(--stone); font-size: 14px; }
.compare-grid { display: grid; gap: 28px; }
.truss-shot { margin: 0; }
.compare-shots { display: grid; gap: 14px; background: var(--paper); }
.compare-shots figcaption { background: var(--paper); color: #8a8178; }
.compare-shots figure.is-read figcaption { color: var(--ink); }
.compare-shots figure.is-read figcaption span:first-child { font-weight: 500; }

[data-wash] { position: relative; isolation: isolate; }
[data-wash]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.62s ease;
  mix-blend-mode: overlay;
  background:
    radial-gradient(ellipse 108% 70% at var(--wash-x, 50%) var(--wash-y, 42%),
      rgba(232, 196, 170, 0.72) 0%,
      rgba(232, 196, 170, 0.55) 16%,
      rgba(232, 196, 170, 0.28) 34%,
      rgba(225, 6, 122, 0.18) 46%,
      transparent 64%);
}
[data-wash].is-hot::before { opacity: 0.2; }
[data-wash] .shot,
[data-wash] .scene-photos,
[data-wash] .ba > img,
[data-wash] .truss-shot > img { position: relative; z-index: 1; }
[data-wash] figcaption,
[data-wash] .pick-body,
[data-wash] .svc > div,
[data-wash] .lib-card div,
[data-wash] .step > :not(.shot),
[data-wash] .scene > :not(.scene-photos) { position: relative; z-index: 3; }
.truss-shot img { width: 100%; border-radius: 16px; aspect-ratio: 16/9; object-fit: cover; }
.note { color: var(--stone); }

.consult { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 22px; align-items: start; }
.panel { padding: 18px; }
form.panel { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.span-2 { grid-column: 1 / -1; }
label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 4px; }
input, textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px; font: inherit; background: #fff; color: var(--ink);
}
textarea { min-height: 110px; resize: vertical; }
.q-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.q-item { display: grid; grid-template-columns: 54px 1fr 72px 32px; gap: 8px; align-items: center; }
.q-item img { width: 54px; height: 40px; object-fit: cover; border-radius: 8px; }
.q-item small { display: block; color: var(--stone); }
#openMail { width: 100%; margin-top: 12px; min-height: 52px; }
.mail-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.mail-tools .btn { min-height: 40px; background: #fff; }
.mail-note { font-size: 14px; }
.dial-row { display: flex; gap: 14px; margin-top: 10px; }
.dial-row a { font-weight: 500; }
.vcard { margin-top: 22px; }
.vcard a { color: var(--mag); }

footer { background: var(--ink); color: #E8E4DF; padding: 48px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; }
footer a { color: #FCFAF7; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; font-size: 13px; color: var(--stone); }
.lation-lock { height: 36px; width: auto; background: #fff; border-radius: 6px; padding: 4px; }
footer .lang-switch button { color: #E8E4DF; }
footer .lang-switch button.is-on { background: #FCFAF7; color: var(--ink); }

.toasts { position: fixed; top: 84px; right: 16px; z-index: 50; display: grid; gap: 8px; }
.toast { background: var(--ink); color: #fff; border-radius: 12px; padding: 10px 12px; max-width: 240px; }

#cases { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-space { height: 100vh; }
  .js .reveal { opacity: 1; transform: none; transition: none; clip-path: none; }
  .shot .sheen { display: none; }
  [data-wash]::before { display: none; }
  .shot img, .shot.is-close img, .nav-links a.is-here::after, .compare-shots figcaption { transition: none; }
  .pick-actions .btn-line:active { background: var(--ink); color: #fff; }
  .shot img, .shot:hover img { transform: none; transition: none; }
  .shot.is-close img,
  .shot.is-close:hover img { transform: scale(1.68); object-position: var(--close, 64% 42%); transition: none; }
  .shot.is-mild.is-close img,
  .shot.is-mild.is-close:hover img { transform: scale(1.16); transition: none; }
}
@media (max-width: 980px) {
  .svc-grid, .step-grid, .pick-grid, .catalog-grid, .lib-grid, .consult, .foot-grid { grid-template-columns: 1fr 1fr; }
  .svc:nth-child(1), .pick-card:nth-child(1) { grid-row: auto; grid-column: 1 / -1; }
  .svc:nth-child(1) img, .pick-card:nth-child(1) img { aspect-ratio: 16/10; height: auto; }
  .svc:nth-child(4), .pick-card:nth-child(6) { grid-column: 1 / -1; }
  .journey { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav-links { display: none; }
  .nav.is-open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(36, 28, 26, 0.96); border-radius: 18px; padding: 10px;
  }
  .nav-toggle { display: block; margin-left: auto; }
}
@media (max-width: 700px) {
  .svc-grid, .step-grid, .pick-grid, .catalog-grid, .lib-grid, .type-row, .consult, .foot-grid, .scene-photos, form.panel, .hall-fallback {
    grid-template-columns: 1fr;
  }
  .journey { grid-template-columns: 1fr 1fr; }
  .hero-space { height: 165vh; }
  .hero-copy { margin: 0 16px 16px; width: auto; max-width: calc(100vw - 32px); padding: 12px 0 4px; }
  .hero-copy h1 { font-size: 26px; }
  .hero-line { font-size: 12.5px; line-height: 1.35; margin-bottom: 8px; }
  .hero-foot { margin-top: 8px; }
  .hero-hint { font-size: 12px; }
  .nav .lang-switch { display: none; }
  .sec-head { display: block; }
  section { padding: 108px 0 64px; }
  .hall-fallback p { bottom: 12px; font-size: 11px; max-width: calc(100% - 32px); }
  html.is-still .hero-copy { margin-bottom: 46px; }
  .foot-bottom { display: block; }
  main { padding-bottom: 24px; }
}
@media (max-width: 700px) and (prefers-reduced-motion: reduce) {
  .hero-space { height: 100vh; }
}

.foot-icp { text-align: center; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; color: var(--stone); }
.foot-icp a { color: var(--stone); text-decoration: none; transition: color .2s ease; }
.foot-icp a:hover { color: #FCFAF7; text-decoration: underline; }
