/* =========================================================
   株式会社Glory Paint — style.css
   ========================================================= */

:root {
  --ink: #15171c;
  --ink-2: #1f2229;
  --ink-3: #2b2f36;
  --paper: #f7f4ee;
  --paper-2: #efe9df;
  --paper-3: #e6dfd2;
  --white: #ffffff;
  --red: #d7322f;
  --red-deep: #b8231f;
  --gold: #d8a83d;
  --gold-soft: #ecd08f;
  --water: #2c7bb0;
  --water-deep: #133a56;
  --muted: #6b6d73;
  --muted-light: rgba(247, 244, 238, 0.66);
  --line: rgba(21, 23, 28, 0.12);
  --line-light: rgba(247, 244, 238, 0.14);

  --ff-jp: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif;
  --ff-min: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --ff-en: "Outfit", "Zen Kaku Gothic New", sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 20px;
  --radius-sm: 12px;
  --header-h: 80px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-lg: 0 30px 60px -30px rgba(21, 23, 28, 0.35), 0 12px 24px -12px rgba(21, 23, 28, 0.12);
  --shadow-md: 0 18px 40px -24px rgba(21, 23, 28, 0.3);

}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--ff-jp);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "palt" 1;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold-soft); color: var(--ink); }

h1, h2, h3, summary, .dm-title, .compare-head p, .section-lead { word-break: auto-phrase; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.nw { display: inline-block; }
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 10px 16px; background: var(--ink); color: var(--paper); border-radius: 8px;
  transform: translateY(-160%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.pc { display: none; }
@media (min-width: 900px) { .pc { display: inline; } .sp { display: none; } }

/* ---------- buttons ---------- */
.btn {
  --bh: 52px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--bh); padding: 0 26px;
  border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: .06em; line-height: 1.2;
  white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
  isolation: isolate; overflow: hidden;
}
.btn-ico { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.btn:hover .btn-ico { transform: translateX(3px); }
.btn-sm { --bh: 44px; padding: 0 20px; font-size: 14px; }
.btn-lg { --bh: 60px; padding: 0 32px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-red { background: var(--red); color: #fff; box-shadow: 0 12px 28px -14px rgba(215, 50, 47, .8); }
.btn-red::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, var(--red-deep), var(--red) 60%);
  opacity: 0; transition: opacity .35s var(--ease);
}
.btn-red:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(215, 50, 47, .85); }
.btn-red:hover::before { opacity: 1; }

.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--ink-3); transform: translateY(-2px); }
.btn-ghost-light { border: 1.5px solid var(--line-light); color: var(--paper); }
.btn-ghost-light:hover { border-color: var(--paper); }

.swatch-dots { display: inline-flex; }
.swatch-dots i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--paper); margin-left: -5px; }
.swatch-dots i:first-child { margin-left: 0; background: var(--red); }
.swatch-dots i:nth-child(2) { background: var(--gold); }
.swatch-dots i:nth-child(3) { background: #8e9ca6; }
.btn-outline:hover .swatch-dots i { border-color: var(--ink); }

.round-btn {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid var(--line); background: var(--white);
  transition: background-color .3s, color .3s, border-color .3s, opacity .3s;
}
.round-btn svg { width: 20px; height: 20px; }
.round-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.round-btn:disabled { opacity: .35; pointer-events: none; }

.text-btn { font-size: 14px; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; padding: 8px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.site-header.is-scrolled {
  --header-h: 68px;
  height: 68px;
  background: rgba(247, 244, 238, .82);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  height: 100%;
  max-width: calc(1400px + var(--gutter) * 2);
  margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { width: 44px; height: 44px; padding: 5px; background: #fff; border-radius: 50%; box-shadow: 0 0 0 1px var(--line); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-kk { font-size: 10px; font-weight: 700; letter-spacing: .28em; color: var(--muted); margin-bottom: 5px; }
.brand-name { font-family: var(--ff-en); font-weight: 600; font-size: 22px; letter-spacing: .01em; }
.brand-light .brand-kk { color: var(--muted-light); }
.brand-light .brand-name { color: var(--paper); }

.global-nav { margin-left: auto; }
.global-nav ul { display: flex; gap: clamp(14px, 1.8vw, 30px); }
.global-nav a {
  position: relative; font-size: 14px; font-weight: 500; letter-spacing: .06em; padding: 8px 0;
}
.global-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.global-nav a:hover::after, .global-nav a.is-current::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-ig { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line); transition: background-color .3s, color .3s; }
.header-ig svg { width: 20px; height: 20px; }
.header-ig:hover { background: var(--ink); color: var(--paper); }

.menu-toggle {
  display: none; position: relative;
  width: 48px; height: 48px; border-radius: 50%; background: var(--ink);
}
.menu-toggle span {
  position: absolute; left: 15px; right: 15px; height: 2px; background: var(--paper); border-radius: 2px;
  transition: transform .45s var(--ease), top .45s var(--ease);
}
.menu-toggle span:first-child { top: 19px; }
.menu-toggle span:last-child { top: 27px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 23px; transform: rotate(-45deg); }

@media (max-width: 1320px) {
  .global-nav, .header-ig { display: none; }
  .header-actions { margin-left: auto; }
  .menu-toggle { display: block; }
}
@media (max-width: 560px) {
  .header-cta { display: none; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 20px; }
}

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--ink); color: var(--paper);
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  clip-path: circle(0 at calc(100% - 48px) 40px);
  visibility: hidden;
  transition: clip-path .7s var(--ease), visibility 0s .7s;
  overflow-y: auto;
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 48px) 40px); visibility: visible; transition: clip-path .8s var(--ease); }
.mobile-menu ul { display: grid; gap: 4px; }
.mobile-menu li a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid var(--line-light);
  font-size: clamp(18px, 5vw, 24px); font-weight: 700;
}
.mm-en { font-family: var(--ff-en); font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); min-width: 80px; }
.mobile-menu-foot { display: grid; gap: 12px; }
body.menu-open .site-header { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.menu-open .brand-name { color: var(--paper); }
body.menu-open .brand-kk { color: var(--muted-light); }
body.menu-open .menu-toggle { background: var(--paper); }
body.menu-open .menu-toggle span { background: var(--ink); }
body.menu-open .header-cta { opacity: 0; pointer-events: none; }

/* ---------- section common ---------- */
.section { position: relative; padding-block: clamp(96px, 12vw, 160px); }
.section-head { margin-bottom: clamp(48px, 6vw, 80px); }
.section-head.center { text-align: center; display: grid; justify-items: center; }
.section-head.split { display: grid; gap: 24px 64px; align-items: end; }
@media (min-width: 900px) { .section-head.split { grid-template-columns: 1.1fr .9fr; } }

.section-label {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 12px;
  font-family: var(--ff-en); font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  margin-bottom: 22px;
}
.section-label .num, .section-label .en { white-space: nowrap; }
.section-label .num { color: var(--red); font-weight: 600; }
.section-label .num::after { content: ""; display: inline-block; width: 32px; height: 1px; background: currentColor; vertical-align: middle; margin-left: 12px; opacity: .6; }
.section-label .jp { font-family: var(--ff-jp); font-size: 12px; letter-spacing: .12em; color: var(--muted); text-transform: none; }
.section-label.light .num { color: var(--gold); }
.section-label.light .jp { color: var(--muted-light); }

.section-title {
  word-break: auto-phrase;
  font-family: var(--ff-min); font-weight: 700;
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.38; letter-spacing: .04em;
}
.section-title em { font-style: normal; color: var(--red); position: relative; }
.section-lead { color: var(--muted); font-size: 15px; line-height: 2; max-width: 36em; }
.section-head.center .section-lead { margin-top: 20px; }
.section-lead strong { color: var(--ink); background: linear-gradient(transparent 62%, var(--gold-soft) 62%); }

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal, .no-js .hero-copy > *, .no-js .hero-media, .no-js .hero-float, .no-js .hero-tag, .no-js .hero-title .line-in { opacity: 1; transform: none; }
.no-js .hl-stroke { clip-path: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: clamp(700px, 100svh, 980px);
  padding: calc(var(--header-h) + 40px) 0 96px;
  display: flex; align-items: center;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 0% 100%, rgba(215, 50, 47, .06), transparent 60%),
    var(--paper);
}
.hero-grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.4 0 0 0 0 0.35 0 0 0 0 0.3 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-inner { position: relative; z-index: 2; }
@media (min-width: 1000px) { .hero-copy { max-width: 600px; } }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 14px; font-weight: 700; letter-spacing: .12em;
  padding: 8px 18px 8px 14px; border-radius: 999px; background: var(--white); box-shadow: 0 0 0 1px var(--line);
  margin-bottom: 32px;
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(215, 50, 47, .15); animation: pulse 2.4s infinite; }
.hero-eyebrow .sep { color: var(--line); }
.hero-eyebrow .en { font-family: var(--ff-en); font-weight: 500; letter-spacing: .14em; font-size: 12px; color: var(--muted); text-transform: uppercase; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(215, 50, 47, 0); } }

.hero-title {
  font-family: var(--ff-min); font-weight: 900;
  font-size: clamp(52px, 7.4vw, 108px);
  line-height: 1.12; letter-spacing: .02em;
  margin-left: -.06em;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-title .line-in { display: inline-block; transform: translateY(105%); transition: transform 1.3s var(--ease); }
.hero-title .line:nth-child(2) .line-in { transition-delay: .12s; }
.is-loaded .hero-title .line-in { transform: none; }
.hl { position: relative; display: inline-block; z-index: 0; }
.hl-stroke {
  position: absolute; left: -6%; right: -8%; bottom: .02em; width: 114%; height: .42em; z-index: -1;
  fill: var(--gold); stroke: var(--gold); opacity: .9;
  clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--ease) 1s;
}
.is-loaded .hl-stroke { clip-path: inset(0 0 0 0); }
.hero-en {
  font-family: var(--ff-en); font-weight: 300; font-size: clamp(18px, 2vw, 24px); letter-spacing: .08em;
  color: var(--muted); margin-top: 18px;
  display: flex; align-items: center; gap: 14px;
}
.hero-en::before { content: ""; width: 40px; height: 1px; background: currentColor; }
.hero-lead { margin-top: 28px; font-size: clamp(15px, 1.25vw, 17px); line-height: 2.1; color: #3b3d43; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 36px; font-size: 14px; font-weight: 700; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--ink); color: var(--gold); }

.hero-copy > * { opacity: 0; transform: translateY(16px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.hero-copy > .hero-title { opacity: 1; transform: none; }
.is-loaded .hero-copy > * { opacity: 1; transform: none; }
.is-loaded .hero-copy > .hero-eyebrow { transition-delay: .05s; }
.is-loaded .hero-copy > .hero-en { transition-delay: .5s; }
.is-loaded .hero-copy > .hero-lead { transition-delay: .6s; }
.is-loaded .hero-copy > .hero-actions { transition-delay: .72s; }
.is-loaded .hero-copy > .hero-points { transition-delay: .84s; }

/* hero photo */
.hero-media {
  position: relative; overflow: hidden; background: #a9bfd3;
  opacity: 0; transform: translateX(40px) scale(.985);
  transition: opacity 1.4s var(--ease) .25s, transform 1.6s var(--ease) .25s;
}
.is-loaded .hero-media { opacity: 1; transform: none; }
@media (min-width: 1000px) {
  .hero-media {
    position: absolute; z-index: 1;
    top: calc(var(--header-h) + 16px); bottom: 44px; right: 0;
    left: calc(max(50vw - 676px, 0px) + var(--gutter) + 620px);
    border-radius: 36px 0 0 36px;
    box-shadow: -30px 40px 80px -50px rgba(21, 23, 28, .35);
  }
}
.hero-frames { position: absolute; inset: 0; transform-origin: 30% 48%; animation: heroZoom 30s ease-in-out infinite alternate; }
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.04); } }
.hero-frame {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 32% 46%;
  opacity: 0;
}
.hero-frame.is-active { opacity: 1; }
.hero-frames::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(21, 23, 28, .18) 0%, transparent 22%, transparent 70%, rgba(21, 23, 28, .22) 100%); }
.hero-tag {
  position: absolute; top: 22px; left: 22px; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: .06em; color: #fff;
  background: rgba(21, 23, 28, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; transition: opacity 1s var(--ease) 1.2s;
}
.is-loaded .hero-tag { opacity: 1; }
.hero-tag-en { font-family: var(--ff-en); font-size: 10px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.hero-tag-en::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--red); vertical-align: 1px; box-shadow: 0 0 0 3px rgba(215, 50, 47, .3); }

.hero-float {
  position: absolute; left: 24px; bottom: 24px; z-index: 2;
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px 12px 12px; border-radius: 18px;
  background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px -18px rgba(21, 23, 28, .35), 0 0 0 1px rgba(21, 23, 28, .06);
  opacity: 0; transform: translateY(12px);
  transition: opacity 1s var(--ease) 1s, transform 1s var(--ease) 1s, box-shadow .4s;
}
.is-loaded .hero-float { opacity: 1; transform: none; }
.hero-float:hover { box-shadow: 0 22px 44px -18px rgba(21, 23, 28, .45), 0 0 0 1.5px var(--water); }
.hero-float-ico { width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, #4a9bd1, var(--water) 55%, var(--water-deep)); }
.hero-float-ico svg { width: 26px; height: 26px; }
.hero-float-body { display: grid; line-height: 1.4; }
.hero-float-label { font-family: var(--ff-en); font-size: 10px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--water); }
.hero-float-title { font-weight: 700; font-size: 14.5px; }
.hero-float-arrow { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); margin-left: 6px; transition: transform .4s var(--ease); }
.hero-float-arrow svg { width: 15px; height: 15px; }
.hero-float:hover .hero-float-arrow { transform: translateX(3px); }

.scroll-cue {
  position: absolute; left: var(--gutter); bottom: 28px;
  display: flex; align-items: center; gap: 14px;
  font-family: var(--ff-en); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
}
.scroll-cue i { position: relative; width: 64px; height: 1px; background: var(--line); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: var(--ink); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }

@media (max-width: 999px) {
  .hero { display: block; min-height: 0; padding-bottom: 64px; }
  .hero-media {
    margin: 48px 0 0 var(--gutter);
    aspect-ratio: 5 / 4; border-radius: 28px 0 0 28px;
    box-shadow: -20px 30px 60px -40px rgba(21, 23, 28, .35);
  }
  .scroll-cue { display: none; }
}
@media (max-width: 560px) {
  .hero-eyebrow { font-size: 12px; margin-bottom: 24px; }
  .hero-eyebrow .en { display: none; }
  .hero-eyebrow .sep { display: none; }
  .hero-actions .btn { width: 100%; }
  .hero-media { aspect-ratio: 4 / 4.6; margin-top: 40px; }
  .hero-tag { top: 14px; left: 14px; font-size: 12px; }
  .hero-float { left: 12px; right: 12px; bottom: 12px; gap: 10px; }
  .hero-float-ico { width: 40px; height: 40px; }
  .hero-float-title { font-size: 13.5px; }
}

/* ---------- marquee ---------- */
.marquee { background: var(--ink); color: var(--paper); overflow: hidden; padding: 26px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee-group { display: flex; align-items: center; gap: 28px; padding-right: 28px; font-size: clamp(18px, 2vw, 26px); font-weight: 700; letter-spacing: .08em; white-space: nowrap; }
.marquee-group .en { font-family: var(--ff-en); font-weight: 300; letter-spacing: .06em; color: var(--muted-light); }
.marquee-group b { color: var(--gold); font-size: .6em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- about ---------- */
.about-grid { display: grid; gap: 64px; align-items: center; }
@media (min-width: 960px) { .about-grid { grid-template-columns: 1.1fr .9fr; gap: 96px; } }
.about .section-title { font-size: clamp(25px, 3.5vw, 46px); }
.about-text { margin-top: 36px; display: grid; gap: 1.2em; color: #3b3d43; max-width: 34em; }
.about-text strong { color: var(--ink); background: linear-gradient(transparent 62%, var(--gold-soft) 62%); }
.about-sign { margin-top: 40px; display: flex; align-items: baseline; gap: 18px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 34em; }
.about-sign-role { font-size: 12px; color: var(--muted); letter-spacing: .1em; }
.about-sign-name { font-family: var(--ff-min); font-size: 24px; font-weight: 700; letter-spacing: .2em; }

.about-figure { position: relative; }
.about-photo { position: relative; border-radius: 240px 240px 20px 20px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.about-figure.is-in .about-photo img { transform: none; }
.about-figure figcaption { margin-top: 16px; font-size: 13px; color: var(--muted); display: flex; gap: 12px; align-items: center; }
.fig-en { font-family: var(--ff-en); letter-spacing: .2em; text-transform: uppercase; color: var(--red); font-size: 11px; font-weight: 600; }
.about-float {
  position: absolute; left: -32px; bottom: 72px;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 22px 16px 16px; border-radius: 16px;
  background: var(--white); box-shadow: var(--shadow-md);
  font-size: 14px; font-weight: 700; line-height: 1.5;
}
.about-float svg { width: 48px; height: 48px; flex: none; }
@media (max-width: 560px) { .about-float { left: 12px; right: 12px; bottom: 60px; } }

.stats {
  margin-top: clamp(80px, 10vw, 128px);
  display: grid;
  border-block: 1px solid var(--line);
}
@media (min-width: 760px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat { padding: 40px 8px 40px 0; display: grid; gap: 6px; }
.stat + .stat { border-top: 1px solid var(--line); }
@media (min-width: 760px) {
  .stat { padding: 48px 40px; }
  .stat:first-child { padding-left: 0; }
  .stat + .stat { border-top: 0; border-left: 1px solid var(--line); }
}
.stat dt { font-size: 14px; font-weight: 700; letter-spacing: .08em; order: 2; }
.stat dd { order: 1; display: flex; align-items: baseline; font-family: var(--ff-en); font-weight: 500; font-size: clamp(64px, 7vw, 96px); line-height: 1; letter-spacing: -.02em; }
.stat .stat-unit { font-size: .38em; font-weight: 500; margin-left: 6px; color: var(--red); }
.stat .stat-unit.pre { margin: 0 6px 0 0; }
.stat p { order: 3; font-size: 13px; color: var(--muted); }

/* ---------- strength ---------- */
.strength { background: var(--paper-2); }
.reasons { display: grid; gap: 20px; }
@media (min-width: 900px) { .reasons { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.reason {
  position: relative; background: var(--paper); border-radius: var(--radius);
  padding: 44px 36px 40px; overflow: hidden;
  box-shadow: 0 0 0 1px var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity 1s var(--ease) var(--d, 0s);
}
.reason:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--line), var(--shadow-md); }
@media (max-width: 560px) { .reason { padding: 36px 26px 32px; } .reason h3 { font-size: 21px; } }
.reason-num {
  position: absolute; right: 24px; top: 10px;
  font-family: var(--ff-en); font-weight: 600; font-size: 96px; line-height: 1; letter-spacing: -.04em;
  color: rgba(21, 23, 28, .06);
}
.reason-ico { width: 56px; height: 56px; color: var(--red); margin-bottom: 28px; }
.reason h3 { font-family: var(--ff-min); font-size: 24px; font-weight: 700; letter-spacing: .06em; margin-bottom: 14px; line-height: 1.5; }
.reason p { font-size: 14.5px; color: #4a4c52; line-height: 2; }
.reason::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.reason:hover::after { transform: scaleX(1); }

.compare { margin-top: clamp(64px, 8vw, 96px); background: var(--ink); color: var(--paper); border-radius: 28px; padding: clamp(36px, 5vw, 64px); position: relative; overflow: hidden; }
.compare::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 168, 61, .22), transparent 70%);
}
.compare-head { position: relative; text-align: center; margin-bottom: 44px; }
.compare-head h3 { font-family: var(--ff-min); font-size: clamp(22px, 2.6vw, 32px); font-weight: 700; letter-spacing: .06em; }
.compare-head p { color: var(--muted-light); font-size: 14px; margin-top: 8px; }
.compare-grid { position: relative; display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 900px) { .compare-grid { grid-template-columns: 1fr auto 1fr; gap: 28px; } }
.compare-col { border-radius: 20px; padding: 32px; }
.compare-col.is-common { background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-light); }
.compare-col.is-glory { position: relative; overflow: hidden; background: linear-gradient(160deg, #262930, #1c1e24); box-shadow: inset 0 0 0 1.5px rgba(216, 168, 61, .55); }
.compare-col.is-glory > * { position: relative; }
.compare-watermark { position: absolute !important; right: -40px; bottom: -60px; width: 240px; height: 240px; opacity: .07; pointer-events: none; }
.compare-tag { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .1em; padding: 4px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); margin-bottom: 24px; }
.is-glory .compare-tag { background: var(--gold); color: var(--ink); }
.chain { display: grid; gap: 22px; margin-bottom: 28px; }
.chain li {
  position: relative; padding: 14px 18px; border-radius: 12px;
  background: rgba(255, 255, 255, .06); font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.chain li small { font-weight: 500; font-size: 12px; color: var(--muted-light); margin-left: auto; }
.chain li + li::before {
  content: ""; position: absolute; left: 50%; top: -20px; width: 1px; height: 18px; background: var(--muted-light);
}
.chain li + li::after {
  content: ""; position: absolute; left: calc(50% - 4px); top: -8px; border: 4px solid transparent; border-top-color: var(--muted-light);
}
.is-common .chain li:nth-child(n+2):not(:last-child) { color: var(--muted-light); }
.chain-glory { background: var(--paper) !important; color: var(--ink); padding: 22px 20px !important; justify-content: flex-start !important; }
.chain-glory svg { width: 44px; height: 44px; flex: none; }
.chain-glory span { display: grid; font-family: var(--ff-en); font-size: 20px; font-weight: 600; line-height: 1.3; }
.chain-glory small { font-family: var(--ff-jp); color: var(--muted) !important; margin: 0 !important; font-size: 13px !important; }
.is-glory .chain li + li::before { background: var(--gold); height: 18px; }
.is-glory .chain li + li::after { border-top-color: var(--gold); }
.compare-notes { display: grid; gap: 10px; font-size: 14px; }
.compare-notes li { display: flex; align-items: flex-start; gap: 10px; }
.compare-notes .mark { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; margin-top: 2px; }
.compare-notes .mark.minus { background: rgba(255, 255, 255, .1); color: var(--muted-light); }
.compare-notes .mark.plus { background: var(--gold); color: var(--ink); }
.compare-notes .mark svg { width: 14px; height: 14px; }
.is-common .compare-notes { color: var(--muted-light); }
@media (max-width: 560px) {
  .compare { padding: 36px 16px 20px; border-radius: 22px; }
  .compare-col { padding: 22px 18px; }
  .chain-glory span { font-size: 18px; }
}
.compare-vs { align-self: center; justify-self: center; font-family: var(--ff-en); font-weight: 600; letter-spacing: .1em; font-size: 14px; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; }

/* ---------- service ---------- */
.services { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 700px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .services { grid-template-columns: repeat(3, 1fr); } }
.svc {
  position: relative; background: var(--paper); padding: 40px 36px 36px;
  display: flex; flex-direction: column; gap: 14px;
  transition: background-color .5s var(--ease), opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s);
}
.svc::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.svc:hover { background: var(--white); }
.svc:hover::before { transform: scaleX(1); }
.svc-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.svc-ico { width: 60px; height: 60px; color: var(--ink); transition: color .4s, transform .6s var(--ease); }
.svc:hover .svc-ico { color: var(--red); transform: translateY(-4px); }
.svc-no { font-family: var(--ff-en); font-size: 13px; letter-spacing: .16em; color: var(--muted); }
.svc h3 { font-family: var(--ff-min); font-weight: 700; font-size: 22px; line-height: 1.5; letter-spacing: .06em; }
.svc p { font-size: 14px; color: #4a4c52; line-height: 2; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 10px; }
.tags li { font-size: 12px; padding: 3px 12px; border-radius: 999px; background: var(--paper-2); color: #4a4c52; }
.svc:hover .tags li { background: var(--paper); }

/* service: waterproofing feature card */
.svc-feature { grid-column: 1 / -1; padding: 0; display: grid; background: var(--ink); color: var(--paper); gap: 0; }
@media (min-width: 700px) { .svc-feature { grid-template-columns: 1.25fr 1fr; } }
.svc-feature:hover { background: var(--ink-2); }
.svc-feature::before { background: var(--water); }
.svc-feature-body { padding: 40px 36px 36px; display: flex; flex-direction: column; gap: 14px; }
.svc-feature .svc-ico { color: #7fbde6; }
.svc-feature:hover .svc-ico { color: #9fd0f0; }
.svc-feature .svc-no { color: var(--muted-light); }
.svc-feature p { color: var(--muted-light); }
.svc-feature .tags li { background: rgba(255, 255, 255, .08); color: var(--paper); }
.svc-feature:hover .tags li { background: rgba(255, 255, 255, .12); }
.svc-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--gold); }
.svc-link svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.svc-link:hover svg { transform: translateX(4px); }
.svc-feature-img { position: relative; min-height: 240px; overflow: hidden; }
.svc-feature-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.svc-feature:hover .svc-feature-img img { transform: scale(1.04); }

/* ---------- waterproofing ---------- */
.waterproof { background: var(--paper-2); overflow: hidden; }
.wp-intro { display: grid; gap: 64px; align-items: center; }
@media (min-width: 960px) { .wp-intro { grid-template-columns: 1fr 1.08fr; gap: 80px; } }
.wp-copy .section-lead { margin-top: 28px; }
.wp-places { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 36px; }
.wp-places li {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 14px; background: var(--white);
  box-shadow: 0 0 0 1px var(--line); font-size: 14.5px; font-weight: 700; line-height: 1.4;
}
.wp-places svg { width: 26px; height: 26px; flex: none; color: var(--water); }
.wp-figure { position: relative; }
.wp-photo-wrap { position: relative; }
.wp-photo { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3.1; box-shadow: var(--shadow-lg); }
.wp-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform: scale(1.05); transition: transform 1.6s var(--ease); }
.wp-figure.is-in .wp-photo img { transform: none; }
.wp-badge {
  position: absolute; left: -24px; bottom: -28px;
  display: flex; align-items: center; gap: 14px;
  padding: 18px 22px; border-radius: 20px; background: var(--ink); color: var(--paper); box-shadow: var(--shadow-md);
}
.wp-badge-num { font-family: var(--ff-en); font-size: 52px; font-weight: 500; line-height: 1; color: #7fbde6; }
.wp-badge-num small { font-family: var(--ff-jp); font-size: 16px; font-weight: 700; margin-left: 2px; color: var(--paper); }
.wp-badge-text { font-size: 13px; line-height: 1.6; color: var(--muted-light); }
.wp-figure figcaption { margin-top: 14px; padding-left: 260px; font-size: 11px; color: var(--muted); text-align: right; }
@media (max-width: 560px) { .wp-badge { left: 12px; bottom: -22px; padding: 14px 18px; } .wp-badge-num { font-size: 42px; } .wp-figure figcaption { margin-top: 34px; padding-left: 0; } }

.wp-methods { display: grid; gap: 20px; margin-top: clamp(80px, 9vw, 112px); }
@media (min-width: 900px) { .wp-methods { grid-template-columns: repeat(3, 1fr); } }
.wp-method {
  position: relative; background: var(--white); border-radius: 20px; padding: 34px 30px 28px;
  box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity 1s var(--ease) var(--d, 0s);
}
.wp-method:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), var(--shadow-md); }
.wp-method::before { content: ""; position: absolute; left: 30px; top: 0; width: 40px; height: 3px; background: var(--water); border-radius: 0 0 3px 3px; }
.wp-method-no { font-family: var(--ff-en); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--water); }
.wp-method h3 { font-family: var(--ff-min); font-size: 23px; font-weight: 700; letter-spacing: .06em; margin: 10px 0 12px; }
.wp-method > p { font-size: 14px; color: #4a4c52; line-height: 2; }
.wp-spec { margin-top: auto; padding-top: 18px; }
.wp-spec div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13px; }
.wp-spec dt { color: var(--muted); }
.wp-spec dd { font-weight: 700; text-align: right; }

.wp-check {
  margin-top: 28px; display: grid; gap: 32px; align-items: center;
  padding: clamp(32px, 4.4vw, 56px); border-radius: 28px; color: var(--paper);
  background: radial-gradient(600px 300px at 100% 0%, rgba(127, 189, 230, .22), transparent 70%), linear-gradient(135deg, var(--water-deep), #0f2a3f);
}
@media (min-width: 960px) { .wp-check { grid-template-columns: .9fr 1.1fr; gap: 56px; } }
.wp-check-head h3 { font-family: var(--ff-min); font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; letter-spacing: .06em; }
.wp-check-head p { margin: 12px 0 26px; font-size: 14px; color: rgba(247, 244, 238, .74); line-height: 2; }
.wp-check-list { display: grid; gap: 10px; }
@media (min-width: 560px) { .wp-check-list { grid-template-columns: 1fr 1fr; } }
.wp-check-list li {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px;
  background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
  font-size: 14.5px; font-weight: 700;
}
.wp-check-list svg { width: 22px; height: 22px; flex: none; padding: 4px; border-radius: 50%; background: #7fbde6; color: var(--water-deep); }

/* ---------- quality ---------- */
.quality { background: var(--ink); color: var(--paper); overflow: hidden; }
.quality::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 500px at 80% 50%, rgba(216, 168, 61, .12), transparent 70%);
}
.quality-grid { position: relative; display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .quality-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.quality-lead { color: var(--muted-light); margin-top: 28px; max-width: 32em; font-size: 15px; line-height: 2.1; }
.layer-list { margin-top: 40px; display: grid; border-top: 1px solid var(--line-light); }
.layer-list li {
  display: flex; align-items: center; gap: 20px;
  padding: 16px 12px; border-bottom: 1px solid var(--line-light);
  cursor: default; transition: background-color .3s, padding-left .4s var(--ease);
}
.layer-list li:hover, .layer-list li.is-active { background: rgba(255, 255, 255, .04); padding-left: 20px; }
.ll-no { font-family: var(--ff-en); font-size: 13px; color: var(--gold); letter-spacing: .1em; width: 24px; }
.ll-body { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; }
.ll-body b { font-size: 17px; letter-spacing: .1em; min-width: 5em; }
.ll-body small { color: var(--muted-light); font-size: 13px; }

.layers-wrap { position: relative; display: grid; justify-items: center; }
.layers { width: 100%; max-width: 480px; overflow: visible; }
.lyr { transition: transform 1.1s var(--ease), opacity .4s, filter .4s; }
.lyr[data-layer="0"] { transform: translateY(80px); }
.lyr[data-layer="1"] { transform: translateY(58px); }
.lyr[data-layer="2"] { transform: translateY(48px); }
.lyr[data-layer="3"] { transform: translateY(38px); }
.lyr[data-layer="4"] { transform: translateY(28px); }
.layers.is-open .lyr[data-layer="0"] { transform: translateY(100px); }
.layers.is-open .lyr[data-layer="1"] { transform: translateY(30px); }
.layers.is-open .lyr[data-layer="2"] { transform: translateY(-40px); }
.layers.is-open .lyr[data-layer="3"] { transform: translateY(-110px); }
.layers.is-open .lyr[data-layer="4"] { transform: translateY(-180px); }
.layers.has-focus .lyr { opacity: .35; }
.layers.has-focus .lyr.is-active { opacity: 1; }
.layers-caption { margin-top: 8px; font-size: 13px; color: var(--muted-light); letter-spacing: .1em; }
.layers-caption span { font-family: var(--ff-min); font-size: 20px; color: var(--gold); margin-right: 6px; font-weight: 700; }

/* ---------- works ---------- */
.works { overflow: hidden; }
.works-nav { display: grid; gap: 20px; justify-items: start; }
@media (min-width: 900px) { .works-nav { justify-items: end; text-align: right; } }
.works-arrows { display: flex; gap: 10px; }
.works-rail {
  display: flex; gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 8px max(var(--gutter), calc((100vw - var(--container)) / 2)) 24px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
  scrollbar-width: none;
  cursor: grab;
}
.works-rail::-webkit-scrollbar { display: none; }
.works-rail.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.works-rail.is-dragging * { pointer-events: none; }
.work-card { flex: none; width: clamp(260px, 26vw, 320px); scroll-snap-align: start; }
.work-img { position: relative; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; background: var(--paper-3); }
.work-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work-img::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); border-radius: inherit; }
.work-card:hover .work-img img { transform: scale(1.05); }
.work-meta { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.work-no { font-family: var(--ff-en); font-size: 12px; letter-spacing: .14em; color: var(--muted); }
.work-cat { font-size: 12px; font-weight: 700; padding: 2px 12px; border-radius: 999px; border: 1px solid var(--ink); }
.work-card h3 { font-size: 17px; font-weight: 700; margin-top: 10px; letter-spacing: .06em; line-height: 1.6; }
.work-more { display: block; }
.work-more-in {
  aspect-ratio: 3 / 4; border-radius: 18px; padding: 32px;
  display: flex; flex-direction: column;
  background: linear-gradient(150deg, var(--red) 0%, #c9412c 45%, var(--gold) 120%);
  color: #fff; position: relative; overflow: hidden;
  transition: transform .6s var(--ease);
}
.work-more-in::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); box-shadow: 0 0 0 40px rgba(255, 255, 255, .05), 0 0 0 80px rgba(255, 255, 255, .04); }
.work-more:hover .work-more-in { transform: translateY(-6px); }
.work-more-ig { width: 40px; height: 40px; }
.work-more-en { font-family: var(--ff-en); font-size: 32px; font-weight: 500; line-height: 1.15; margin-top: auto; letter-spacing: -.01em; }
.work-more-jp { font-size: 14px; margin-top: 16px; opacity: .9; line-height: 1.8; }
.work-more-handle { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-family: var(--ff-en); font-weight: 500; letter-spacing: .06em; }
.work-more-handle svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.work-more:hover .work-more-handle svg { transform: translateX(4px); }
.works-progress { height: 2px; background: var(--line); margin-top: 24px; border-radius: 2px; overflow: hidden; }
.works-progress span { display: block; height: 100%; width: 30%; background: var(--ink); border-radius: 2px; transform-origin: left; transition: width .2s; }

/* ---------- price simulation ---------- */
.price { background: var(--paper); }
.calc { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1000px) { .calc { grid-template-columns: 1.3fr 1fr; gap: 28px; } }
.calc-inputs {
  display: grid; gap: 38px; padding: clamp(26px, 3.4vw, 44px);
  background: var(--white); border-radius: 28px; box-shadow: 0 0 0 1px var(--line), var(--shadow-md);
}
.calc-field { border: 0; margin: 0; padding: 0; min-width: 0; transition: opacity .3s; }
.calc-field.is-disabled { opacity: .4; pointer-events: none; }
.calc-legend { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 16px; font-size: 16px; font-weight: 700; letter-spacing: .06em; }
.calc-legend small { font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: .04em; }
.calc-step { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--ink); color: var(--gold); font-family: var(--ff-en); font-size: 13px; font-weight: 600; }

.calc-size { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.calc-size b { font-family: var(--ff-en); font-size: 46px; font-weight: 500; line-height: 1; margin-right: 4px; letter-spacing: -.01em; }
.calc-size small { font-size: 13px; font-weight: 500; color: var(--muted); margin-left: 6px; }
.calc-range input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; margin: 8px 0 10px;
  background: linear-gradient(to right, var(--red) 0 var(--fill, 27%), var(--paper-3) var(--fill, 27%) 100%);
  cursor: pointer;
}
.calc-range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--ink); box-shadow: 0 6px 16px -4px rgba(21, 23, 28, .35);
  transition: transform .2s var(--ease);
}
.calc-range input[type="range"]::-moz-range-thumb {
  width: 26px; height: 26px; border-radius: 50%; background: var(--white); border: 2px solid var(--ink);
  box-shadow: 0 6px 16px -4px rgba(21, 23, 28, .35);
}
.calc-range input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
.calc-range input[type="range"]:focus-visible { outline: 2px solid var(--red); outline-offset: 6px; }
.calc-scale { display: flex; justify-content: space-between; font-family: var(--ff-en); font-size: 11px; color: var(--muted); letter-spacing: .06em; }

.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seg label, .opt, .grade { position: relative; cursor: pointer; }
.seg input, .opt input, .grade input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg span {
  display: block; text-align: center; padding: 13px 8px; border-radius: 12px;
  box-shadow: inset 0 0 0 1.5px var(--line); font-size: 14px; font-weight: 700;
  transition: background-color .25s, color .25s, box-shadow .25s;
}
.seg label:hover span { box-shadow: inset 0 0 0 1.5px var(--ink); }
.seg input:checked + span { background: var(--ink); color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink); }
.seg input:focus-visible + span, .opt input:focus-visible + span, .grade input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }

.works-opts { display: grid; gap: 10px; }
@media (min-width: 560px) { .works-opts { grid-template-columns: 1fr 1fr; } }
.opt span {
  position: relative; display: grid; gap: 2px; padding: 14px 16px 14px 50px; border-radius: 14px;
  box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .25s, background-color .25s;
}
.opt span::before {
  content: ""; position: absolute; left: 16px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 7px;
  box-shadow: inset 0 0 0 1.5px rgba(21, 23, 28, .28); background: var(--white) no-repeat center / 14px;
  transition: background-color .2s, box-shadow .2s;
}
.opt b { font-size: 15px; }
.opt small { font-size: 12px; color: var(--muted); line-height: 1.5; }
.opt:hover span { box-shadow: inset 0 0 0 1.5px var(--ink); }
.opt input:checked + span { box-shadow: inset 0 0 0 1.5px var(--ink); background: #fbfaf7; }
.opt input:checked + span::before {
  background-color: var(--red); box-shadow: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.2 4.2L19 7' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.calc-sub { display: grid; gap: 12px; margin-top: 12px; padding: 16px; border-radius: 14px; background: var(--paper); }
@media (min-width: 560px) { .calc-sub { grid-template-columns: 1fr 1fr; } }
.calc-sub .field select { padding: 11px 14px; font-size: 15px; }

.grades { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 700px) { .grades { grid-template-columns: repeat(4, 1fr); } }
.grade span {
  display: grid; gap: 4px; justify-items: center; text-align: center; padding: 16px 10px 14px; border-radius: 14px;
  box-shadow: inset 0 0 0 1.5px var(--line); transition: background-color .25s, color .25s, box-shadow .25s;
}
.grade b { font-size: 15px; }
.grade small { font-size: 12px; color: var(--muted); }
.meter { display: block; width: 64px; height: 4px; border-radius: 4px; margin-top: 6px; background: linear-gradient(to right, var(--gold) calc(var(--v) * 25%), rgba(21, 23, 28, .1) calc(var(--v) * 25%)); }
.grade:hover span { box-shadow: inset 0 0 0 1.5px var(--ink); }
.grade input:checked + span { background: var(--ink); color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink); }
.grade input:checked + span small { color: var(--muted-light); }
.grade input:checked + span .meter { background: linear-gradient(to right, var(--gold) calc(var(--v) * 25%), rgba(255, 255, 255, .16) calc(var(--v) * 25%)); }

.calc-result { position: relative; }
@media (min-width: 1000px) { .calc-result { position: sticky; top: calc(var(--header-h) + 24px); } }
.calc-result-in {
  padding: clamp(28px, 3vw, 38px); border-radius: 28px; color: var(--paper);
  background: radial-gradient(500px 260px at 100% 0%, rgba(216, 168, 61, .18), transparent 70%), var(--ink);
  box-shadow: var(--shadow-lg);
}
.calc-result-label { font-size: 14px; font-weight: 700; letter-spacing: .1em; color: var(--muted-light); }
.calc-result-label small { font-size: 12px; font-weight: 500; }
.calc-total { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 6px; margin-top: 6px; line-height: 1.1; }
.calc-total b { font-family: var(--ff-en); font-size: clamp(48px, 5vw, 64px); font-weight: 500; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.calc-approx { font-size: 18px; font-weight: 700; }
.calc-tilde { font-size: 26px; color: var(--muted-light); }
.calc-unit { font-size: 20px; font-weight: 700; color: var(--gold); margin-left: 2px; }
.calc-total.is-empty b { font-size: 28px; color: var(--muted-light); }
.calc-bar { display: flex; gap: 2px; height: 10px; margin: 22px 0 8px; border-radius: 999px; overflow: hidden; background: rgba(255, 255, 255, .06); }
.calc-bar i { display: block; height: 100%; transition: flex-basis .5s var(--ease); }
.calc-lines li { display: grid; grid-template-columns: 10px 1fr auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line-light); font-size: 14px; }
.calc-lines li:last-child { border-bottom: 0; }
.calc-lines i { width: 10px; height: 10px; border-radius: 3px; }
.calc-lines span:last-child { font-family: var(--ff-en); font-size: 14px; color: var(--muted-light); font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-lines .calc-empty { display: block; color: var(--muted-light); font-size: 13px; padding: 16px 0; }
.calc-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0 22px; }
.calc-meta div { padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .06); display: grid; gap: 4px; }
.calc-meta span { font-size: 11px; color: var(--muted-light); letter-spacing: .04em; }
.calc-meta b { font-size: 17px; color: var(--paper); }
.calc-note { margin-top: 16px; font-size: 11px; line-height: 1.8; color: rgba(247, 244, 238, .56); }

/* ---------- simulation ---------- */
.simulation { background: var(--paper-2); }
.sim {
  display: grid; background: var(--white); border-radius: 28px; overflow: hidden;
  box-shadow: 0 0 0 1px var(--line), var(--shadow-lg);
}
@media (min-width: 1000px) { .sim { grid-template-columns: 1.15fr 1fr; } }
.sim-stage { position: relative; background: #ebe6dc; display: flex; flex-direction: column; }
.sim-view {
  position: relative; overflow: hidden; aspect-ratio: 1200 / 1372;
  cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  background: #e2ddd3;
}
.sim-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sim-canvas-prev { opacity: 0; pointer-events: none; }
.sim-canvas-prev.is-fading { transition: opacity .7s var(--ease); }
.sim-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.sim-before img { width: 100%; height: 100%; object-fit: cover; }
.sim-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px;
  background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 0 18px rgba(0, 0, 0, .25);
}
.sim-handle:focus-visible { outline: none; }
.sim-handle:focus-visible .sim-knob { outline: 2px solid var(--red); outline-offset: 3px; }
.sim-knob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 54px; height: 54px; border-radius: 50%; background: #fff; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .45);
  transition: transform .3s var(--ease);
}
.sim-view.is-dragging .sim-knob, .sim-knob:hover { transform: translate(-50%, -50%) scale(1.08); }
.sim-knob svg { width: 15px; height: 15px; margin: 0 -1px; }
.sim-tag {
  position: absolute; top: 18px; z-index: 1;
  display: inline-flex; align-items: baseline; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  font-family: var(--ff-en); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: #fff; background: rgba(21, 23, 28, .66); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: opacity .3s;
}
.sim-tag small { font-family: var(--ff-jp); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: none; opacity: .8; }
.sim-tag.is-before { left: 18px; }
.sim-tag.is-after { right: 18px; background: var(--red); }
.sim-view.hide-before .sim-tag.is-before, .sim-view.hide-after .sim-tag.is-after { opacity: 0; }
.sim-loading {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 13px; color: var(--muted); background: #e2ddd3; transition: opacity .5s;
}
.sim-loading.is-done { opacity: 0; pointer-events: none; }
.sim-note { font-size: 11px; color: var(--muted); line-height: 1.7; padding: 12px 20px; }
.sim-panel .sim-note { padding: 0; margin-top: -12px; text-align: center; }

.sim-panel { padding: clamp(28px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 26px; }
.sim-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; font-weight: 700; letter-spacing: .08em; margin-bottom: 12px; }
.sim-h small { font-size: 12px; font-weight: 500; color: var(--muted); margin-left: 6px; letter-spacing: .04em; }
.sim-current { font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: .04em; white-space: nowrap; }
.preset-row { display: flex; flex-wrap: wrap; gap: 8px; }
.preset {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 6px; border-radius: 999px; border: 1.5px solid var(--line);
  font-size: 13px; font-weight: 700; transition: border-color .3s, background-color .3s;
}
.preset:hover { border-color: var(--ink); }
.preset.is-active { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.preset-dots { display: inline-flex; }
.preset-dots i { width: 18px; height: 18px; border-radius: 50%; margin-left: -6px; box-shadow: 0 0 0 2px var(--white); }
.preset.is-active .preset-dots i { box-shadow: 0 0 0 2px var(--ink); }
.preset-dots i:first-child { margin-left: 0; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch {
  position: relative; width: 38px; height: 38px; border-radius: 50%;
  background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12);
  transition: transform .3s var(--ease);
}
.swatch:hover { transform: scale(1.1); }
.swatch::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 2px solid var(--ink); opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s var(--ease);
}
.swatch[aria-checked="true"]::after { opacity: 1; transform: none; }
.swatch-tip {
  position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(4px);
  white-space: nowrap; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 6px;
  background: var(--ink); color: var(--paper); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.swatch:hover .swatch-tip, .swatch:focus-visible .swatch-tip { opacity: 1; transform: translateX(-50%); }
#simConsult { margin-top: auto; }
@media (max-width: 560px) { .sim-tag { top: 12px; padding: 6px 10px; } .sim-tag.is-before { left: 12px; } .sim-tag.is-after { right: 12px; } .sim-tag small { display: none; } .sim-knob { width: 46px; height: 46px; } }

/* ---------- flow ---------- */
.steps { display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.step {
  position: relative; padding: 32px 28px 30px; border-radius: var(--radius);
  background: var(--white); box-shadow: 0 0 0 1px var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity 1s var(--ease) var(--d, 0s);
}
.step:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), var(--shadow-md); }
.step-no {
  display: block; font-family: var(--ff-en); font-size: 44px; font-weight: 600; line-height: 1; letter-spacing: -.02em;
  color: var(--red); margin-bottom: 22px;
}
.step:nth-child(n+5) .step-no { color: var(--ink); }
.step-free { position: absolute; top: 30px; right: 24px; font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 999px; background: var(--gold); color: var(--ink); }
.step h3 { font-size: 17px; font-weight: 700; letter-spacing: .06em; margin-bottom: 10px; line-height: 1.5; }
.step p { font-size: 14px; color: #4a4c52; line-height: 1.95; }
@media (min-width: 1040px) {
  .step:not(:nth-child(4n))::after {
    content: ""; position: absolute; top: 54px; right: -15px; width: 10px; height: 10px; z-index: 1;
    border-top: 1.5px solid var(--muted); border-right: 1.5px solid var(--muted); transform: rotate(45deg);
  }
}

/* ---------- faq ---------- */
.faq { background: var(--paper-2); }
.faq-grid { display: grid; gap: 48px; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 96px; } .faq-side { position: sticky; top: 120px; align-self: start; } }
.faq-side .section-lead { margin: 24px 0 32px; }
.faq-list { display: grid; gap: 12px; }
.qa { background: var(--paper); border-radius: 16px; box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 18px; padding: 22px 24px;
  font-weight: 700; font-size: 16px; letter-spacing: .04em; line-height: 1.6;
}
.qa summary::-webkit-details-marker { display: none; }
.q { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--gold); font-family: var(--ff-en); font-size: 15px; font-weight: 600; }
.qa-q { flex: 1; }
.qa-ico { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: transform .45s var(--ease), background-color .3s, color .3s; }
.qa-ico svg { width: 16px; height: 16px; }
.qa[open] .qa-ico { transform: rotate(45deg); background: var(--red); color: #fff; border-color: var(--red); }
.qa-a { padding: 0 24px 24px 76px; color: #4a4c52; font-size: 15px; line-height: 2; }
@media (max-width: 560px) { .qa-a { padding: 0 20px 20px; font-size: 14px; } .qa summary { padding: 18px; gap: 14px; font-size: 15px; } }

/* ---------- company ---------- */
.company-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 960px) { .company-grid { grid-template-columns: 1.4fr 1fr; gap: 64px; } }
.company-table { border-top: 1px solid var(--ink); }
.company-table > div { display: grid; gap: 4px 32px; padding: 22px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .company-table > div { grid-template-columns: 9em 1fr; } }
.company-table dt { font-weight: 700; font-size: 14px; letter-spacing: .1em; color: var(--muted); }
.company-table dd { font-size: 15.5px; line-height: 1.9; }
.company-table dd a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.company-table .ruby { font-size: 13px; color: var(--muted); margin-left: 4px; }

.company-map {
  margin-top: clamp(56px, 7vw, 88px);
  display: grid; overflow: hidden; border-radius: 28px;
  background: var(--white); box-shadow: 0 0 0 1px var(--line), var(--shadow-md);
}
@media (min-width: 860px) { .company-map { grid-template-columns: 1fr 360px; } }
.map-frame { position: relative; min-height: 320px; background: var(--paper-3); }
@media (min-width: 860px) { .map-frame { min-height: 460px; } }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.map-card { padding: clamp(26px, 3vw, 36px); display: flex; flex-direction: column; }
.map-label { font-family: var(--ff-en); font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--red); }
.map-name { font-family: var(--ff-min); font-size: 22px; font-weight: 700; letter-spacing: .04em; margin: 8px 0 18px; }
.map-info { margin-bottom: 24px; }
.map-info div { display: grid; grid-template-columns: 5.5em 1fr; gap: 8px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.6; }
.map-info div:last-child { border-bottom: 1px solid var(--line); }
.map-info dt { color: var(--muted); }
.map-info dd { font-weight: 700; }
.map-card .btn { margin-top: auto; }
.ig-card { background: var(--white); border-radius: 24px; padding: 28px; box-shadow: 0 0 0 1px var(--line), var(--shadow-md); }
.ig-card-head { display: flex; align-items: center; gap: 16px; }
.ig-avatar { position: relative; width: 64px; height: 64px; border-radius: 50%; padding: 3px; background: conic-gradient(from 200deg, var(--gold), var(--red), #c13584, var(--gold)); }
.ig-avatar svg { width: 100%; height: 100%; background: #fff; border-radius: 50%; padding: 9px; border: 2px solid #fff; }
.ig-handle { font-family: var(--ff-en); font-weight: 600; font-size: 17px; }
.ig-name { font-size: 13px; color: var(--muted); }
.ig-bio { font-size: 14px; color: #4a4c52; margin: 18px 0; line-height: 1.9; }
.ig-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; border-radius: 12px; overflow: hidden; margin-bottom: 20px; }
.ig-thumbs img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.ig-actions { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.ig-actions .btn { --bh: 48px; padding: 0 16px; font-size: 14px; }

/* ---------- contact ---------- */
.contact { background: var(--ink); color: var(--paper); overflow: hidden; }
.contact-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 400px at 0% 0%, rgba(215, 50, 47, .28), transparent 70%),
    radial-gradient(700px 500px at 100% 100%, rgba(216, 168, 61, .16), transparent 70%);
}
.contact-grid { position: relative; display: grid; gap: 56px; align-items: start; }
@media (min-width: 1000px) {
  .contact-grid { grid-template-columns: .95fr 1.05fr; gap: 36px 72px; }
  .contact-copy { grid-column: 1; grid-row: 1; }
  .form-card { grid-column: 2; grid-row: 1 / span 2; }
  .contact-grid > .dm-card { grid-column: 1; grid-row: 2; align-self: start; }
}
.contact .section-title { font-size: clamp(28px, 3.4vw, 46px); }
.contact .section-title .gold { color: var(--gold); }
.contact-lead { color: var(--muted-light); margin-top: 24px; font-size: 15px; line-height: 2.1; max-width: 30em; }
.dm-card {
  margin-top: 0; display: flex; align-items: center; gap: 18px;
  padding: 22px; border-radius: 20px;
  background: linear-gradient(120deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03));
  box-shadow: inset 0 0 0 1px var(--line-light);
  transition: background-color .4s, box-shadow .4s, transform .5s var(--ease), opacity 1s var(--ease) var(--d, 0s);
}
.dm-card:hover { box-shadow: inset 0 0 0 1.5px var(--gold); transform: translateY(-3px); }
.dm-ico { flex: none; width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; color: #fff; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.dm-ico svg { width: 30px; height: 30px; }
.dm-body { display: grid; gap: 2px; }
.dm-kicker { font-size: 12px; color: var(--gold); font-weight: 700; letter-spacing: .1em; }
.dm-title { font-size: 19px; font-weight: 700; letter-spacing: .04em; }
.dm-sub { font-size: 12.5px; color: var(--muted-light); line-height: 1.7; }
.dm-arrow { margin-left: auto; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); color: var(--ink); display: grid; place-items: center; transition: transform .4s var(--ease); }
.dm-arrow svg { width: 18px; height: 18px; }
.dm-card:hover .dm-arrow { transform: translateX(4px); }
.contact-points { margin-top: 32px; display: grid; gap: 10px; font-size: 14px; font-weight: 500; }
.contact-points li { display: flex; align-items: center; gap: 10px; }
.contact-points svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--gold); color: var(--ink); }
@media (max-width: 560px) { .dm-sub { display: none; } .dm-title { font-size: 16px; } .dm-ico { width: 52px; height: 52px; } }

.form-card { background: var(--paper); color: var(--ink); border-radius: 28px; padding: clamp(28px, 4vw, 48px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.form-title { font-family: var(--ff-min); font-weight: 700; font-size: 22px; letter-spacing: .06em; margin-bottom: 24px; }
#contactForm .form-title { margin-bottom: 0; }
.form-lead { font-size: 13px; color: var(--muted); line-height: 1.8; margin: -8px 0 4px; }
#contactForm { display: grid; gap: 20px; }
.field-row { display: grid; gap: 20px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field-label { font-size: 13px; font-weight: 700; letter-spacing: .08em; display: flex; align-items: center; gap: 8px; padding: 0; }
.field-label em { font-style: normal; font-size: 10px; padding: 1px 8px; border-radius: 4px; background: var(--red); color: #fff; letter-spacing: .1em; }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--line); background: var(--white); border-radius: 12px;
  padding: 13px 16px; font-size: 16px; line-height: 1.5; transition: border-color .3s, box-shadow .3s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #a3a3a6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(216, 168, 61, .25); }
.field.is-error input { border-color: var(--red); box-shadow: 0 0 0 4px rgba(215, 50, 47, .12); }
.select { position: relative; display: block; }
.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--white); font-size: 14px; font-weight: 500; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.chip span:hover { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.agree { display: grid; gap: 6px; padding: 16px 18px; border-radius: 14px; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .3s; }
.agree.is-error { box-shadow: inset 0 0 0 1.5px var(--red), 0 0 0 4px rgba(215, 50, 47, .1); }
.agree-check { position: relative; display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 15px; font-weight: 700; }
.agree-check input { position: absolute; left: 0; top: 50%; width: 24px; height: 24px; margin: -12px 0 0; opacity: 0; cursor: pointer; }
.agree-box {
  flex: none; width: 24px; height: 24px; border-radius: 7px; background: var(--white) no-repeat center / 15px;
  box-shadow: inset 0 0 0 1.5px rgba(21, 23, 28, .35); transition: background-color .2s, box-shadow .2s;
}
.agree-check input:checked + .agree-box {
  background-color: var(--red); box-shadow: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.2 4.2L19 7' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.agree-check input:focus-visible + .agree-box { outline: 2px solid var(--red); outline-offset: 2px; }
.agree-text a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.agree-text em { font-style: normal; font-size: 10px; padding: 1px 8px; border-radius: 4px; background: var(--red); color: #fff; letter-spacing: .1em; margin-left: 10px; vertical-align: 2px; }
.agree-hint { font-size: 12px; color: var(--muted); padding-left: 36px; line-height: 1.7; }
.btn-red:disabled { opacity: .42; cursor: not-allowed; box-shadow: none; transform: none; }
.btn-red:disabled::before { opacity: 0; }
.btn-red:disabled .btn-ico { transform: none; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 12px; color: var(--muted); text-align: center; }
.form-note.is-error { color: var(--red); font-weight: 700; }
.form-done { display: grid; gap: 16px; }
.form-done .form-title { margin-bottom: 0; }
.form-done-text { font-size: 14px; color: #4a4c52; }
.form-preview {
  margin: 0; white-space: pre-wrap; font-family: var(--ff-jp); font-size: 13px; line-height: 1.9;
  background: var(--white); border-radius: 12px; padding: 18px; box-shadow: inset 0 0 0 1px var(--line);
  max-height: 260px; overflow: auto;
}
.form-done-actions { display: grid; gap: 10px; justify-items: center; }

/* ---------- footer ---------- */
.site-footer { background: #0e0f13; color: var(--paper); padding: 96px 0 32px; overflow: hidden; }
.footer-top { display: grid; gap: 48px; }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1fr auto; } }
.footer-brand p { color: var(--muted-light); font-size: 14px; margin-top: 20px; line-height: 2; }
.footer-sns { display: flex; gap: 10px; margin-top: 24px; }
.footer-sns a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-light); transition: background-color .3s, color .3s; }
.footer-sns a:hover { background: var(--paper); color: var(--ink); }
.footer-sns svg { width: 20px; height: 20px; }
.footer-nav { display: flex; gap: 64px; }
.footer-nav ul { display: grid; gap: 12px; font-size: 14px; }
.footer-nav a { color: var(--muted-light); transition: color .3s; }
.footer-nav a:hover { color: var(--paper); }
.footer-giant {
  font-family: var(--ff-en); font-weight: 600; letter-spacing: -.04em; line-height: .9;
  font-size: clamp(64px, 17vw, 250px); white-space: nowrap;
  margin: 72px 0 24px; text-align: center;
  color: transparent;
  background-image: linear-gradient(90deg, rgba(215, 50, 47, .92), rgba(216, 168, 61, .92)), linear-gradient(rgba(247, 244, 238, .06), rgba(247, 244, 238, .06));
  background-size: 0% 100%, 100% 100%; background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text;
  transition: background-size 2s var(--ease) .2s;
}
.footer-giant.is-in { background-size: 100% 100%, 100% 100%; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line-light); font-family: var(--ff-en); font-size: 13px; color: var(--muted-light); letter-spacing: .06em; }
.footer-policy { color: var(--muted-light); font-family: var(--ff-jp); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.footer-policy:hover { color: var(--paper); }
.footer-bottom .credit { font-size: 11px; opacity: .7; margin-left: auto; margin-right: 24px; }
@media (max-width: 640px) { .footer-bottom { flex-wrap: wrap; } .footer-bottom .credit { order: 3; width: 100%; margin: 0; } }
.to-top { display: inline-flex; align-items: center; gap: 8px; }
.to-top svg { width: 16px; height: 16px; transform: rotate(-90deg); }
.to-top:hover { color: var(--paper); }
@media (max-width: 640px) { .footer-nav { gap: 40px; } .site-footer { padding-bottom: 100px; } }

/* ---------- mobile CTA ---------- */
.mobile-cta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 80;
  display: none; grid-template-columns: 1fr 1.3fr; gap: 8px;
  padding: 8px; border-radius: 20px; background: rgba(21, 23, 28, .92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .5);
  transform: translateY(140%); transition: transform .6s var(--ease);
}
.mobile-cta.is-show { transform: none; }
.mobile-cta a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: 14px; font-size: 14px; font-weight: 700; }
.mobile-cta svg { width: 18px; height: 18px; }
.mcta-dm { color: var(--paper); box-shadow: inset 0 0 0 1px var(--line-light); }
.mcta-est { background: var(--red); color: #fff; }
@media (max-width: 760px) { .mobile-cta { display: grid; } }

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

/* ---------- legal page (privacy policy) ---------- */
.legal-page .site-header { position: sticky; top: 0; }
.legal-header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.legal-back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; padding: 10px 6px; }
.legal-back svg { width: 16px; height: 16px; }
@media (max-width: 560px) { .legal-header-actions .header-cta { display: none; } }
.legal-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.legal-hero .section-title { margin-bottom: 18px; }
.legal-hero p { color: var(--muted); font-size: 15px; max-width: 46em; line-height: 2; }
.legal { padding: clamp(48px, 6vw, 80px) 0 clamp(96px, 10vw, 140px); }
.legal-body { max-width: 860px; }
.legal-body section { padding: 36px 0; border-bottom: 1px solid var(--line); }
.legal-body section:first-child { padding-top: 0; }
.legal-body h2 { display: flex; align-items: baseline; gap: 14px; font-family: var(--ff-min); font-size: clamp(19px, 2vw, 23px); font-weight: 700; letter-spacing: .06em; line-height: 1.6; margin-bottom: 16px; word-break: auto-phrase; }
.legal-body h2 .no { font-family: var(--ff-en); font-size: 14px; font-weight: 600; color: var(--red); letter-spacing: .08em; flex: none; }
.legal-body p, .legal-body li { font-size: 15px; line-height: 2; color: #3b3d43; }
.legal-body p + p, .legal-body p + ul, .legal-body ul + p { margin-top: 12px; }
.legal-body ul { display: grid; gap: 4px; }
.legal-body ul li { position: relative; padding-left: 1.3em; }
.legal-body ul li::before { content: ""; position: absolute; left: .2em; top: .9em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.legal-body a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; word-break: break-all; }
.legal-contact { margin-top: 18px; padding: 24px 26px; border-radius: 18px; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.legal-contact div { display: grid; gap: 2px 20px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.legal-contact div:last-child { border-bottom: 0; }
@media (min-width: 640px) { .legal-contact div { grid-template-columns: 8em 1fr; } }
.legal-contact dt { color: var(--muted); }
.legal-contact dd { font-weight: 700; }
.legal-date { margin-top: 36px; text-align: right; font-size: 14px; color: var(--muted); line-height: 1.9; }
.legal-cta { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 12px; }
