:root {
  --paper: #ffffff;
  --ink: #171717;
  --muted: #6b6b66;
  --line: #deded8;
  --soft: #f3f3ef;
  --sand: #e8e0d5;
  --orange: #f55b22;
  --orange-dark: #d74613;
  --black: #181818;
  --max: 1360px;
  --gutter: clamp(22px, 4vw, 64px);
  --radius: 22px;
  --sans: "DM Sans", "Noto Sans JP", sans-serif;
  --jp: "Noto Sans JP", "DM Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--jp);
  -webkit-font-smoothing: antialiased;
}
body.is-menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(100%, var(--max)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(96px, 11vw, 170px); }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 14px; background: var(--black); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 84px;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: height .25s ease, border-color .25s ease;
}
.site-header.is-scrolled { height: 70px; border-color: var(--line); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 19px/1 var(--sans); letter-spacing: -.04em; width: fit-content; }
.brand-mark { display: grid; place-items: center; width: 30px; aspect-ratio: 1; background: var(--orange); color: white; font: 700 15px/1 var(--sans); border-radius: 50% 50% 50% 7px; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a { position: relative; font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: var(--orange); transition: right .25s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.header-cta { justify-self: end; display: inline-flex; align-items: center; gap: 20px; font: 600 13px/1 var(--jp); padding: 13px 18px; border: 1px solid var(--ink); border-radius: 999px; transition: .2s ease; }
.header-cta:hover { color: white; background: var(--ink); }
.menu-toggle { display: none; border: 0; background: transparent; }

.hero { min-height: 100svh; padding-top: 84px; display: grid; align-content: center; background: var(--paper); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: clamp(42px, 5vw, 76px); padding-top: clamp(52px, 7vw, 92px); }
.hero-copy { position: relative; z-index: 2; padding-block: 30px; }
.hero h1 { margin: 0; font: 600 clamp(48px, 4.8vw, 74px)/1.09 var(--jp); letter-spacing: -.065em; }
.hero h1 em { color: var(--orange); font-style: normal; }
.hero-copy > p { max-width: 570px; margin: 30px 0 0; color: var(--muted); font-size: clamp(15px, 1.25vw, 18px); line-height: 2; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 42px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 34px; min-height: 56px; padding: 0 24px; border-radius: 999px; font: 600 14px/1 var(--jp); transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: white; }
.button-primary:hover { background: var(--orange); }
.text-link { border: 0; border-bottom: 1px solid var(--ink); padding: 7px 0; background: transparent; font-size: 13px; font-weight: 600; cursor: pointer; }
.hero-stage { position: relative; height: min(58vw, 650px); min-height: 510px; background: var(--soft); border-radius: 50% 50% 42% 58% / 54% 43% 57% 46%; }
.stage-orbit { position: absolute; inset: 12% 5% 7% 9%; border: 1px solid rgba(23,23,23,.16); border-radius: 50%; transform: rotate(-18deg); }
.stage-product { position: absolute; margin: 0; overflow: hidden; background: white; box-shadow: 0 28px 65px rgba(38,33,28,.14); }
.stage-product img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.stage-product:hover img { transform: scale(1.045) rotate(-1deg); }
.stage-product-main { width: 53%; height: 61%; right: 9%; top: 13%; padding: 7%; border-radius: 45% 45% 38% 45%; transform: rotate(3deg); }
.stage-product-left { width: 51%; height: 18%; left: -5%; bottom: 25%; padding: 3%; border-radius: 18px; transform: rotate(-7deg); }
.stage-product-left img { object-fit: cover; object-position: 50% 55%; }
.stage-product-right { width: 40%; height: 24%; right: 0; bottom: 2%; padding: 3%; border-radius: 18px; transform: rotate(-2deg); }
.stage-note { position: absolute; z-index: 2; top: 9%; left: 7%; font: 600 11px/1.35 var(--sans); letter-spacing: .12em; }
.stage-index { position: absolute; left: 6%; bottom: 4%; display: flex; align-items: center; gap: 11px; }
.stage-index strong { font: 600 38px/1 var(--sans); letter-spacing: -.06em; }
.stage-index span { padding-left: 11px; border-left: 1px solid var(--ink); font: 600 8px/1.35 var(--sans); letter-spacing: .12em; }
.hero-footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding-top: 34px; padding-bottom: 30px; }
.hero-footer p { margin: 0; font-size: 11px; color: var(--muted); letter-spacing: .08em; }
.hero-line { height: 1px; background: var(--line); }

.principles { border-block: 1px solid var(--line); }
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.principle { min-height: 160px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 24px; padding: 32px 8%; border-right: 1px solid var(--line); }
.principle:first-child { padding-left: 0; }
.principle:last-child { border-right: 0; }
.principle-number { align-self: start; margin-top: 7px; color: var(--orange); font: 700 11px/1 var(--sans); }
.principle h2 { margin: 0; font: 500 26px/1.15 var(--sans); letter-spacing: -.04em; }
.principle p { margin: 9px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.section-heading { display: grid; grid-template-columns: .58fr 1.18fr .75fr; align-items: end; gap: 48px; padding-bottom: clamp(70px, 8vw, 110px); border-bottom: 1px solid var(--line); }
.section-index { margin: 0; color: var(--orange); font: 700 10px/1.4 var(--sans); letter-spacing: .17em; }
.section-heading h2, .guide-heading h2, .faq-heading h2 { margin: 0; font: 600 clamp(42px, 5vw, 72px)/1.16 var(--jp); letter-spacing: -.06em; }
.section-heading > p:last-child { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.product-list { position: relative; }
.product-row { position: relative; display: grid; grid-template-columns: 40px 1.12fr .88fr; align-items: center; gap: clamp(30px, 6vw, 92px); padding-block: clamp(80px, 9vw, 130px); border-bottom: 1px solid var(--line); }
.product-row-reverse { grid-template-columns: 40px .88fr 1.12fr; }
.product-number { align-self: start; color: var(--muted); font: 600 11px/1 var(--sans); }
.product-media { position: relative; min-height: 540px; display: grid; place-items: center; padding: clamp(42px, 6vw, 82px); overflow: hidden; border-radius: var(--radius); }
.product-media::before { content: ""; position: absolute; width: 62%; aspect-ratio: 1; border: 1px solid rgba(23,23,23,.12); border-radius: 50%; }
.product-media img { position: relative; z-index: 1; width: 100%; height: 330px; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.product-media:hover img { transform: translateY(-8px) rotate(-1deg) scale(1.025); }
.product-media-sand { background: var(--sand); }
.product-media-orange { background: #f46a34; }
.product-media-dark { background: #dfe2df; }
.product-media-dark::before { border-color: rgba(23,23,23,.16); }
.media-label { position: absolute; z-index: 2; left: 24px; bottom: 20px; font: 600 9px/1 var(--sans); letter-spacing: .14em; }
.product-media-orange .media-label { color: white; }
.product-media-dark .media-label { color: var(--ink); }
.product-copy { padding-inline: clamp(0px, 2vw, 24px); }
.product-type { margin: 0 0 25px; color: var(--orange); font: 700 10px/1 var(--sans); letter-spacing: .16em; }
.product-copy h3 { margin: 0; font: 600 clamp(32px, 3.2vw, 51px)/1.2 var(--jp); letter-spacing: -.055em; }
.product-description { max-width: 500px; margin: 28px 0 0; color: var(--muted); font-size: 14px; line-height: 2; }
.spec-list { list-style: none; margin: 34px 0; padding: 0; border-top: 1px solid var(--line); }
.spec-list li { display: grid; grid-template-columns: 32px 1fr; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.spec-list span { color: var(--orange); font: 600 9px/1.5 var(--sans); }
.product-link { display: inline-flex; justify-content: space-between; align-items: center; gap: 50px; min-width: 200px; padding-bottom: 10px; border-bottom: 1px solid var(--ink); font-size: 13px; font-weight: 600; transition: color .2s ease, border-color .2s ease; }
.product-link:hover { color: var(--orange); border-color: var(--orange); }

.philosophy { color: white; background: var(--black); overflow: hidden; }
.philosophy-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(60px, 9vw, 140px); }
.section-index-light { color: #ff7540; }
.philosophy-copy h2 { margin: 30px 0; font: 600 clamp(46px, 5vw, 75px)/1.18 var(--jp); letter-spacing: -.06em; }
.philosophy-copy h2 em { color: var(--orange); font-style: normal; }
.philosophy-copy > p:not(.section-index) { max-width: 490px; margin: 0 0 42px; color: #b8b8b1; font-size: 14px; line-height: 2.1; }
.button-light { color: var(--ink); background: white; }
.button-light:hover { color: white; background: var(--orange); }
.philosophy-visual { position: relative; min-height: 650px; overflow: hidden; border-radius: var(--radius); }
.philosophy-visual img { width: 100%; height: 650px; object-fit: cover; filter: saturate(.9) contrast(1.05); }
.visual-caption { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; padding: 26px; color: white; background: linear-gradient(transparent, rgba(0,0,0,.72)); font: 600 10px/1 var(--sans); letter-spacing: .14em; }

.guide-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(60px, 9vw, 150px); }
.guide-heading .section-index, .faq-heading .section-index { margin-bottom: 30px; }
.selector-tabs { border-top: 1px solid var(--line); }
.selector-tab { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 24px 5px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--muted); text-align: left; font-size: 14px; cursor: pointer; transition: color .2s ease, padding .2s ease; }
.selector-tab::after { content: "+"; font: 400 24px/1 var(--sans); }
.selector-tab:hover { color: var(--ink); padding-left: 12px; }
.selector-tab.is-active { color: var(--orange); }
.selector-tab.is-active::after { content: "—"; }
.selector-panel { min-height: 320px; display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: 40px; margin-top: 44px; padding: 42px; background: var(--soft); border-radius: var(--radius); }
.selector-label { margin: 0 0 18px; color: var(--orange); font: 700 9px/1 var(--sans); letter-spacing: .14em; }
.selector-panel h3 { margin: 0; font: 600 25px/1.3 var(--jp); letter-spacing: -.04em; }
.selector-panel p:not(.selector-label) { margin: 16px 0 22px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.selector-panel a { display: inline-flex; gap: 30px; border-bottom: 1px solid var(--ink); padding-bottom: 7px; font-size: 12px; font-weight: 600; }
.selector-panel img { width: 100%; height: 210px; object-fit: contain; mix-blend-mode: multiply; transition: opacity .2s ease, transform .2s ease; }
.selector-panel.is-changing img { opacity: 0; transform: translateY(6px); }

.faq { padding-top: 0; }
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(60px, 9vw, 150px); }
.faq-list { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 0; border: 0; background: transparent; text-align: left; font-size: 15px; font-weight: 600; cursor: pointer; }
.faq-icon { position: relative; flex: 0 0 28px; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 8px; right: 8px; top: 13px; height: 1px; background: var(--ink); transition: transform .25s ease; }
.faq-icon::after { transform: rotate(90deg); }
.faq-item.is-open .faq-icon::after { transform: rotate(0); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-answer p { min-height: 0; overflow: hidden; margin: 0; max-width: 650px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }
.faq-item.is-open .faq-answer p { padding-bottom: 28px; }

.footer { color: white; background: var(--black); }
.footer-top { min-height: 250px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid #343434; }
.brand-light .brand-mark { background: var(--orange); }
.footer-top > p { color: #8f8f8a; font: 500 12px/1 var(--sans); letter-spacing: .06em; }
.back-top { justify-self: end; display: flex; gap: 18px; color: #b8b8b1; font-size: 12px; }
.footer-bottom { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #787873; font-size: 10px; }

.guide-dialog { width: min(680px, calc(100% - 30px)); padding: clamp(32px, 6vw, 64px); border: 0; border-radius: 22px; color: var(--ink); background: white; box-shadow: 0 30px 100px rgba(0,0,0,.3); }
.guide-dialog::backdrop { background: rgba(20,20,20,.68); backdrop-filter: blur(5px); }
.guide-dialog h2 { margin: 17px 0 38px; font: 600 44px/1.2 var(--jp); letter-spacing: -.05em; }
.dialog-close { position: absolute; top: 22px; right: 22px; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: white; font-size: 22px; cursor: pointer; }
.dialog-options { border-top: 1px solid var(--line); }
.dialog-options a { display: grid; grid-template-columns: 35px 1fr auto; align-items: center; gap: 15px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.dialog-options span { color: var(--orange); font: 700 10px/1 var(--sans); }
.dialog-options strong { font-size: 14px; }
.dialog-options small { color: var(--muted); font-size: 11px; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.8,.2,1); }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .hero-stage { min-height: 440px; }
  .section-heading { grid-template-columns: .4fr 1.2fr; }
  .section-heading > p:last-child { grid-column: 2; }
  .product-row, .product-row-reverse { grid-template-columns: 24px 1.05fr .95fr; gap: 36px; }
  .product-media { min-height: 430px; padding: 42px; }
  .product-media img { height: 270px; }
  .philosophy-grid { gap: 60px; }
  .philosophy-visual, .philosophy-visual img { min-height: 540px; height: 540px; }
  .guide-layout, .faq-grid { grid-template-columns: .6fr 1.4fr; gap: 60px; }
}

@media (max-width: 780px) {
  :root { --gutter: 22px; --radius: 16px; }
  .site-header, .site-header.is-scrolled { height: 66px; backdrop-filter: none; }
  .header-inner { grid-template-columns: 1fr auto; }
  .header-inner > .brand { position: relative; z-index: 2; }
  .header-cta { display: none; }
  .menu-toggle { z-index: 2; display: grid; place-items: center; gap: 6px; width: 40px; height: 40px; padding: 11px; cursor: pointer; }
  .menu-toggle span { display: block; width: 20px; height: 1px; background: var(--ink); transition: .25s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav { position: fixed; z-index: 1; inset: 0 0 auto; width: 100vw; height: 100vh; height: 100dvh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 28px; padding: 100px 28px 70px; background: white; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: .25s ease; }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .site-nav a { font-size: 28px; letter-spacing: -.04em; }
  .hero { min-height: auto; padding-top: 66px; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 45px; }
  .hero h1 { font-size: clamp(41px, 12vw, 62px); }
  .hero-copy > p { margin-top: 22px; line-height: 1.85; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; margin-top: 30px; }
  .hero-stage { height: 440px; min-height: 0; margin-top: 15px; }
  .stage-product-main { width: 58%; right: 7%; }
  .stage-product-left { width: 58%; left: -3%; }
  .stage-product-right { width: 46%; }
  .hero-footer { grid-template-columns: auto 1fr; padding-top: 26px; }
  .hero-footer p:last-child { display: none; }
  .principles-grid { grid-template-columns: 1fr; }
  .principle { min-height: 122px; padding: 25px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .principle:last-child { border-bottom: 0; }
  .section-heading { display: block; }
  .section-heading .section-index { margin-bottom: 24px; }
  .section-heading > p:last-child { max-width: 500px; margin-top: 24px; }
  .product-row, .product-row-reverse { display: grid; grid-template-columns: 24px 1fr; gap: 15px; padding-block: 70px; }
  .product-row .product-number { grid-row: 1; grid-column: 1; }
  .product-media, .product-row-reverse .product-media { grid-row: 1; grid-column: 2; min-height: 420px; }
  .product-copy, .product-row-reverse .product-copy { grid-row: 2; grid-column: 2; padding-top: 22px; }
  .philosophy-grid { grid-template-columns: 1fr; }
  .philosophy-visual { min-height: 500px; }
  .philosophy-visual img { height: 500px; }
  .guide-layout, .faq-grid { grid-template-columns: 1fr; gap: 50px; }
  .selector-panel { padding: 28px; }
  .footer-top { grid-template-columns: 1fr 1fr; min-height: 180px; }
  .footer-top > p { display: none; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; }
}

@media (max-width: 520px) {
  .section { padding-block: 90px; }
  .hero-stage { height: 370px; }
  .stage-note { top: 7%; }
  .stage-product-main { width: 62%; height: 57%; }
  .stage-product-left { width: 64%; height: 19%; left: -4%; bottom: 23%; }
  .stage-product-right { width: 49%; height: 25%; bottom: -1%; }
  .stage-index { display: none; }
  .section-heading h2, .guide-heading h2, .faq-heading h2 { font-size: 40px; }
  .product-row, .product-row-reverse { grid-template-columns: 1fr; }
  .product-row .product-number { position: absolute; top: 74px; left: 0; z-index: 2; color: var(--ink); }
  .product-media, .product-row-reverse .product-media { grid-column: 1; min-height: 350px; padding: 35px; }
  .product-media img { height: 230px; }
  .product-copy, .product-row-reverse .product-copy { grid-column: 1; }
  .selector-panel { grid-template-columns: 1fr; }
  .selector-panel img { grid-row: 1; height: 150px; }
  .dialog-options a { grid-template-columns: 30px 1fr; }
  .dialog-options small { display: none; }
}

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