/* ==========================================================================
   style.css — 骨格（値は theme.css のトークンだけを参照する）
   SP基準で書き、PC差分は末尾の @media (min-width:1024px) の中だけに書く。
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--c-bg); color: var(--c-ink);
  font-family: var(--f-jp); font-weight: var(--fw-body);
  font-size: var(--fs-body); line-height: var(--lh-body); letter-spacing: var(--ls-body);
  overflow-x: clip; -webkit-font-smoothing: antialiased;
}
:lang(zh-CN) body, html:lang(zh-CN) { --f-jp: var(--f-zh); }
html:lang(ko) { --f-jp: var(--f-ko); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, figure { margin: 0; padding: 0; }
h2, h3, h4 { word-break: auto-phrase; text-wrap: balance; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--c-brand); color: var(--c-on-dark); }
.is-loading { overflow: hidden; }

/* ---------------------------------------------------------------- loader */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--c-bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--sp-3);
}
.loader__mado { width: 72px; animation: loader-bob 0.9s var(--ease-soft) infinite alternate; }
.loader__bar { width: 220px; height: 3px; border-radius: 3px; background: var(--c-line); overflow: hidden; }
.loader__fill { display: block; height: 100%; width: 100%; background: var(--c-brand); transform-origin: 0 50%; transform: scaleX(0); }
.loader__num { font-family: var(--f-en); font-size: var(--fs-label); color: var(--c-muted); letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
@keyframes loader-bob { to { transform: translateY(-8px) rotate(-3deg); } }

/* ---------------------------------------------------------------- cursor / progress（PCのみ） */
.cursor { display: none; }
.progress { display: none; }

/* ---------------------------------------------------------------- header */
.hd {
  position: fixed; inset: 0 0 auto; z-index: 60; height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--gutter) 0 var(--gutter); pointer-events: none;
}
.hd > * { pointer-events: auto; }
.hd__logo { grid-column: 2; }
.hd__logo img { height: var(--logo-h); width: auto; transition: filter var(--dur-fast) var(--ease-soft); }
.hd__lang { display: none; }
.hd__nav { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 28px; }
.hd__link { display: none; }
.hd__menu {
  width: var(--menu-size); height: var(--menu-size); position: relative;
  border: var(--border-w) solid var(--c-brand); border-radius: 50%; background: var(--c-bg);
  transition: background var(--dur-fast) var(--ease-soft), border-color var(--dur-fast) var(--ease-soft), transform var(--dur) var(--ease-back);
}
.hd__menu:hover { transform: scale(1.08); }
.hd__menu-bar {
  position: absolute; left: 50%; top: 50%; width: 36%; height: 2px; background: var(--c-brand);
  transform: translate(-50%, calc(-50% - 4px));
  transition: transform var(--dur) var(--ease-out), background var(--dur-fast) var(--ease-soft);
}
.hd__menu-bar + .hd__menu-bar { transform: translate(-50%, calc(-50% + 4px)); }
.is-navi-open .hd__menu-bar { transform: translate(-50%, -50%) rotate(45deg); }
.is-navi-open .hd__menu-bar + .hd__menu-bar { transform: translate(-50%, -50%) rotate(-45deg); }
.is-dark .hd__logo img, .is-blue .hd__logo img, .is-navi-open .hd__logo img { filter: brightness(0) invert(1); }
.is-dark .hd__menu, .is-blue .hd__menu, .is-navi-open .hd__menu { background: transparent; border-color: var(--c-on-dark); }
.is-dark .hd__menu-bar, .is-blue .hd__menu-bar, .is-navi-open .hd__menu-bar { background: var(--c-on-dark); }
.is-dark .hd__link, .is-blue .hd__link, .is-navi-open .hd__link { color: var(--c-on-dark); }
.is-dark .hd__lang button, .is-blue .hd__lang button, .is-navi-open .hd__lang button { color: rgba(255, 255, 255, 0.6); }
.is-dark .hd__lang button[aria-pressed="true"], .is-blue .hd__lang button[aria-pressed="true"], .is-navi-open .hd__lang button[aria-pressed="true"] { color: var(--c-on-dark); }

/* ---------------------------------------------------------------- navi */
.navi { position: fixed; inset: 0; z-index: 50; visibility: hidden; }
.navi__fill {
  position: absolute; inset: 0; background: var(--c-brand);
  clip-path: circle(0 at calc(100% - var(--gutter) - var(--menu-size) / 2) calc(var(--header-h) / 2));
  transition: clip-path 0.9s var(--ease-inout);
}
.navi__mado {
  position: absolute; left: -4%; bottom: -6%; width: min(46vw, 320px);
  transform: translate(-60%, 60%) rotate(20deg);
  transition: transform 0.9s var(--ease-out) 0.15s;
}
.navi__list {
  position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 10px;
  padding: 0 var(--gutter); color: var(--c-on-dark);
}
.navi__list a { display: flex; align-items: baseline; gap: var(--sp-2); opacity: 0; transform: translateY(30px); transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); }
.navi__en { font-family: var(--f-en); font-weight: var(--fw-head); font-size: 2rem; line-height: 1.15; letter-spacing: 0; }
.navi__list a span:last-child { font-size: var(--fs-small); opacity: 0.8; }
.navi__lang { display: flex; gap: var(--sp-2); margin-top: var(--sp-3); font-family: var(--f-en); font-size: var(--fs-small); }
.navi__lang button { color: rgba(255, 255, 255, 0.7); }
.navi__lang button[aria-pressed="true"] { color: var(--c-on-dark); text-decoration: underline; text-underline-offset: 4px; }
.is-navi-open .navi { visibility: visible; }
.is-navi-open .navi__fill { clip-path: circle(150% at calc(100% - var(--gutter) - var(--menu-size) / 2) calc(var(--header-h) / 2)); }
.is-navi-open .navi__mado { transform: translate(0, 0) rotate(8deg); }
.is-navi-open .navi__list a { opacity: 1; transform: none; }
.is-navi-open .navi__list li:nth-child(2) a { transition-delay: 0.05s; }
.is-navi-open .navi__list li:nth-child(3) a { transition-delay: 0.1s; }
.is-navi-open .navi__list li:nth-child(4) a { transition-delay: 0.15s; }
.is-navi-open .navi__list li:nth-child(5) a { transition-delay: 0.2s; }
.is-navi-open .navi__list li:nth-child(6) a { transition-delay: 0.25s; }
.is-navi-open .navi__list li:nth-child(7) a { transition-delay: 0.3s; }

/* ---------------------------------------------------------------- hero */
.hero__stage { position: relative; height: 100svh; min-height: 600px; overflow: hidden; }
.hero__type {
  position: absolute; left: 0; top: 36%; transform: translateY(-50%);
  font-family: var(--f-en); font-weight: var(--fw-head); font-size: var(--fs-hero);
  line-height: 0.92; letter-spacing: -0.035em; color: var(--c-brand); white-space: nowrap;
}
.hero__track { display: block; will-change: transform; }
.hero__word { display: block; overflow: hidden; padding: 0 0.02em 0.04em; }
.hero__word > span { display: inline-block; }
.walker { position: absolute; left: 50%; top: 66%; z-index: 3; width: min(30vw, 116px); transform: translate(-50%, -50%); }
.walker__svg { display: block; width: 100%; overflow: visible; }
.walker__body { transform-origin: 100px 200px; }
.hero__bubble {
  position: absolute; left: 50%; bottom: calc(100% + 18px); transform: translateX(-50%);
  padding: 9px 18px; background: var(--c-bg); color: var(--c-ink);
  border: var(--border-w) solid var(--c-navy); border-radius: var(--radius-s); box-shadow: 4px 4px 0 var(--c-navy);
  font-size: var(--fs-small); font-weight: var(--fw-head); line-height: 1.5; letter-spacing: 0.02em; white-space: nowrap;
}
.hero__bubble::after {
  content: ""; position: absolute; left: 50%; bottom: -9px; width: 14px; height: 14px; background: var(--c-bg);
  border-right: var(--border-w) solid var(--c-navy); border-bottom: var(--border-w) solid var(--c-navy);
  transform: translateX(-50%) rotate(45deg);
}
.hero__tag {
  position: absolute; left: 0; right: 0; bottom: 64px; z-index: 4; text-align: center;
  font-weight: var(--fw-head); font-size: var(--fs-tag); line-height: 1.3; letter-spacing: 0.02em;
  font-size: 1.375rem;
}
.hero__copy { display: none; }
.hero__we {
  position: absolute; inset: 0; z-index: 6; background: var(--c-brand); color: var(--c-on-dark);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: var(--sp-3);
  padding: 0 var(--gutter); text-align: center;
  clip-path: circle(0% at 50% 56%);
}
.hero__we-en { font-family: var(--f-en); font-size: var(--fs-we); line-height: 1.1; letter-spacing: 0.02em; }
.hero__we-light { font-weight: var(--fw-light); }
.hero__we-en strong { font-weight: var(--fw-head); }
.hero__we-lead { font-size: var(--fs-body); line-height: var(--lh-body); opacity: 0.9; }
.flyer { position: absolute; left: 0; top: 0; width: min(56vw, 300px); overflow: visible; transform: translate(-120%, 80vh) rotate(-10deg); }
.hero__scroll { position: absolute; left: 50%; bottom: 0; width: 1px; height: 44px; background: var(--c-line); overflow: hidden; z-index: 5; }
.hero__scroll span { position: absolute; inset: 0; background: var(--c-brand); animation: scroll-line 2s var(--ease-inout) infinite; }
@keyframes scroll-line { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ---------------------------------------------------------------- 共通：行ごとのせり上がり */
.line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.line > span { display: inline-block; }

/* ---------------------------------------------------------------- mission */
.mission { padding: var(--sec-pad) var(--gutter); }
.mission__inner { max-width: var(--content-w); margin: 0 auto; display: grid; gap: var(--sp-5); }
.mission__title { font-size: var(--fs-h2); font-weight: var(--fw-head); line-height: var(--lh-head); letter-spacing: var(--ls-head); text-align: center; }
.mission__body { margin-top: var(--sp-4); line-height: 2.2; text-align: center; }
.orbit { position: relative; width: min(84vw, 340px); aspect-ratio: 1; margin: 0 auto; }
.orbit__svg { width: 100%; height: 100%; overflow: visible; }
.orbit__path { fill: none; stroke: var(--c-brand); stroke-width: 2; }
.orbit__spin { position: absolute; inset: 0; }
.orbit__node { position: absolute; width: 26%; display: grid; justify-items: center; gap: 2px; transform: translate(-50%, -50%); }
.orbit__node img { width: 100%; height: auto; }
.orbit__node span { font-size: var(--fs-label); font-weight: var(--fw-head); color: var(--c-navy); white-space: nowrap; }
.orbit__node--1 { left: 50%; top: 7.5%; }
.orbit__node--2 { left: 87.5%; top: 71.6%; }
.orbit__node--3 { left: 12.5%; top: 71.6%; }
.orbit__center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--sp-1); }
.orbit__center img { width: 44%; }
.orbit__center span { font-size: var(--fs-label); color: var(--c-muted); }
.orbit__dot { position: absolute; left: 7.5%; top: 50%; width: 14px; height: 14px; margin: -7px; border-radius: 50%; background: var(--c-brand); }
.orbit__ring { position: absolute; right: -10%; bottom: -10%; width: 40%; aspect-ratio: 1; border-radius: 50%; border: clamp(22px, 7vw, 34px) solid var(--c-brand); }

/* ---------------------------------------------------------------- chapter */
.chapter__stage { position: relative; height: 100svh; overflow: hidden; }
.chapter__head { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-bottom: 12vh; }
.chapter__next { font-family: var(--f-en); font-weight: var(--fw-body); font-size: var(--fs-next); color: var(--c-brand); letter-spacing: 0.02em; }
.chapter__title { margin-top: var(--sp-1); font-family: var(--f-en); font-weight: var(--fw-head); font-size: var(--fs-chapter); line-height: 1.25; letter-spacing: 0; color: var(--c-brand); }
.chapter__title > span { display: block; }
.tow { position: absolute; left: 0; bottom: 8svh; z-index: 3; display: flex; align-items: center; transform: translateX(105vw); will-change: transform; }
.tow__plane { width: min(36vw, 150px); flex: none; }
.tow__rope { width: 46px; height: 2px; background: var(--c-navy); flex: none; margin-top: 30px; }
.tow__banner { width: min(52vw, 230px); flex: none; border: var(--border-w) solid var(--c-navy); border-radius: var(--radius-s); overflow: hidden; box-shadow: var(--shadow-hard); margin-top: 30px; transform-origin: 0 50%; }
.parade { position: absolute; left: 0; bottom: 10svh; z-index: 3; display: flex; align-items: flex-end; gap: 6vw; transform: translateX(105vw); }
.parade__chr { width: min(22vw, 96px); }

/* hole：穴→のぞく→全面暗転 */
.hole { position: absolute; left: 50%; top: 74%; z-index: 3; width: min(64vw, 300px); aspect-ratio: 2.6; transform: translate(-50%, -50%); }
.hole__bg { position: absolute; inset: 0; border-radius: 50%; background: var(--c-dark); transform: scale(0); }
.hole__mask { position: absolute; left: 0; right: 0; bottom: 50%; height: 300%; overflow: hidden; clip-path: inset(0 0 0 0 round 0); }
.peek { position: absolute; left: 50%; bottom: -10%; width: 50%; transform: translate(-50%, 110%); overflow: visible; }
.dark {
  position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--sp-3);
  padding: 0 var(--gutter); text-align: center; color: var(--c-on-dark); opacity: 0; visibility: hidden;
}
.dark__label { font-size: var(--fs-label); font-weight: var(--fw-head); letter-spacing: 0.1em; }
.dark__title { font-size: var(--fs-h2); font-weight: var(--fw-head); line-height: var(--lh-head); letter-spacing: var(--ls-head); }
.dark__body { color: rgba(255, 255, 255, 0.8); }
.dark__btn { position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); width: 84px; height: 84px; display: grid; place-items: center; font-family: var(--f-en); font-size: var(--fs-label); letter-spacing: 0.04em; }
.dark__btn svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.dark__ring { fill: none; stroke: var(--c-on-dark); stroke-width: 1.5; stroke-dasharray: 296; stroke-dashoffset: 296; }

/* ---------------------------------------------------------------- story */
.story { padding: 0 var(--gutter) var(--sec-pad); display: grid; gap: var(--sec-pad); max-width: var(--content-w); margin: 0 auto; }
.story__row { display: grid; gap: var(--sp-4); }
.story__img { position: relative; }
.story__img > img:first-child { border: var(--border-w) solid var(--c-navy); border-radius: var(--radius-m); box-shadow: var(--shadow-hard); }
.story__chr { position: absolute; width: 26%; height: auto; }
.story__chr--loupe { right: -6%; bottom: -14%; }
.story__chr--pin { left: -5%; top: -16%; width: 20%; }
.story__label { font-size: var(--fs-label); font-weight: var(--fw-head); color: var(--c-brand); letter-spacing: 0.1em; }
.story__title { margin-top: var(--sp-1); font-size: var(--fs-h3); font-weight: var(--fw-head); line-height: var(--lh-head); letter-spacing: var(--ls-head); font-size: 1.375rem; }
.story__body { margin-top: var(--sp-3); }

/* ---------------------------------------------------------------- cycle */
.cycle__stage { min-height: 100svh; padding: calc(var(--header-h) + var(--sp-3)) var(--gutter) var(--sp-4); display: grid; gap: var(--sp-4); align-content: center; max-width: var(--content-w); margin: 0 auto; }
.cycle__title { font-size: 1.375rem; font-weight: var(--fw-head); line-height: var(--lh-head); letter-spacing: var(--ls-head); }
.cycle__body { margin-top: var(--sp-2); font-size: var(--fs-small); }
.cycle__fig { display: grid; justify-items: center; gap: var(--sp-4); }
.ring { position: relative; width: min(60vw, 250px); aspect-ratio: 1; }
.ring__svg { width: 100%; height: 100%; overflow: visible; }
.ring__path { fill: none; stroke: var(--c-line); stroke-width: 2; }
.ring__done { fill: none; stroke: var(--c-navy); stroke-width: 2; stroke-dasharray: 741.4; stroke-dashoffset: 741.4; transform: rotate(-90deg); transform-origin: 150px 150px; }
.ring__arrow { fill: none; stroke: var(--c-navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ring__spin { position: absolute; inset: 0; }
.ring__disc {
  position: absolute; left: 50%; top: 10.7%; width: 32%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--c-step-1); border: var(--border-w) solid var(--c-navy); box-shadow: 4px 4px 0 var(--c-navy);
  display: grid; place-items: center; transition: background var(--dur-fast) var(--ease-soft);
}
.ring__ic { position: absolute; width: 46%; height: 46%; left: 27%; top: 20%; opacity: 0; transform: scale(0.4); transition: opacity 0.3s var(--ease-soft), transform 0.6s var(--ease-back); }
.ring__ic.is-on { opacity: 1; transform: none; }
.ring__num { position: absolute; bottom: 12%; left: 0; right: 0; text-align: center; font-family: var(--f-en); font-weight: var(--fw-head); font-size: 0.625rem; color: var(--c-on-dark); letter-spacing: 0.06em; }
.steps { position: relative; width: min(100%, 340px); height: 118px; }
.step {
  position: absolute; inset: 0; padding: 14px 20px; background: var(--c-bg);
  border: var(--border-w) solid var(--c-step-1); border-radius: var(--radius-s); box-shadow: 5px 5px 0 var(--c-step-1);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(0.97);
  transition: opacity 0.35s var(--ease-soft), transform 0.7s var(--ease-out), visibility 0s linear 0.35s;
}
.step::before { content: ""; position: absolute; left: 50%; top: -10px; width: 16px; height: 16px; background: var(--c-bg); border-left: inherit; border-top: inherit; transform: translateX(-50%) rotate(45deg); }
.step.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity 0.35s var(--ease-soft), transform 0.7s var(--ease-out), visibility 0s; }
.step[data-step="2"] { border-color: var(--c-step-2); box-shadow: 5px 5px 0 var(--c-step-2); }
.step[data-step="3"] { border-color: var(--c-step-3); box-shadow: 5px 5px 0 var(--c-step-3); }
.step[data-step="4"] { border-color: var(--c-step-4); box-shadow: 5px 5px 0 var(--c-step-4); }
.step__no { font-family: var(--f-en); font-size: var(--fs-label); color: var(--c-muted); line-height: 1.2; }
.step__en { font-family: var(--f-en); font-weight: var(--fw-head); font-size: 1.25rem; line-height: 1.3; letter-spacing: 0; }
.step__txt { margin-top: 4px; font-size: var(--fs-small); line-height: 1.6; }

/* ---------------------------------------------------------------- works */
.works { background: var(--c-bg-soft); }
.works__stage { height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: var(--sp-4); overflow: hidden; padding-top: var(--header-h); }
.works__head { position: relative; padding: 0 var(--gutter); max-width: var(--content-w); width: 100%; margin: 0 auto; }
.works__label { font-size: var(--fs-label); font-weight: var(--fw-head); color: var(--c-brand); letter-spacing: 0.1em; }
.works__title { margin-top: var(--sp-1); font-size: 1.375rem; font-weight: var(--fw-head); line-height: var(--lh-head); letter-spacing: var(--ls-head); }
.works__count { position: absolute; right: var(--gutter); bottom: 4px; font-family: var(--f-en); font-size: var(--fs-small); color: var(--c-muted); font-variant-numeric: tabular-nums; }
.works__now { color: var(--c-brand); font-weight: var(--fw-head); }
.works__track { display: flex; gap: var(--sp-3); padding: 0 var(--gutter); width: max-content; will-change: transform; }
.work { width: min(74vw, 440px); flex: none; }
.work__img { overflow: hidden; border: var(--border-w) solid var(--c-navy); border-radius: var(--radius-m); box-shadow: var(--shadow-hard); background: var(--c-bg); }
.work__img img { transition: transform 1.2s var(--ease-out); }
.work:hover .work__img img { transform: scale(1.06); }
.work__no { margin-top: var(--sp-2); font-family: var(--f-en); font-size: var(--fs-label); color: var(--c-muted); }
.work__cat { font-size: var(--fs-small); font-weight: var(--fw-head); }

/* ---------------------------------------------------------------- growth */
.growth { padding: 0 var(--gutter) var(--sec-pad); }
.growth__inner { max-width: var(--content-w); margin: 0 auto; }
.growth__title { margin-top: var(--sp-1); font-size: 1.375rem; font-weight: var(--fw-head); line-height: var(--lh-head); letter-spacing: var(--ls-head); }
.growth__list { margin-top: var(--sp-4); border-top: 1px solid var(--c-line); }
.gitem { display: grid; grid-template-columns: 56px 1fr; grid-template-areas: "chr en" "chr txt"; column-gap: var(--sp-2); padding: var(--sp-3) 0; border-bottom: 1px solid var(--c-line); align-items: center; }
.gitem__chr { grid-area: chr; width: 56px; transition: transform var(--dur) var(--ease-back); }
.gitem:hover .gitem__chr { transform: rotate(-10deg) scale(1.1); }
.gitem__en { grid-area: en; font-family: var(--f-en); font-weight: var(--fw-head); font-size: 1rem; color: var(--c-brand); line-height: 1.4; letter-spacing: 0.02em; }
.gitem__txt { grid-area: txt; }
.gitem h4 { font-size: var(--fs-lead); font-weight: var(--fw-head); line-height: 1.6; }
.gitem p { margin-top: 2px; font-size: var(--fs-small); }
.growth__note { margin-top: var(--sp-3); font-size: var(--fs-label); color: var(--c-muted); }

/* ---------------------------------------------------------------- contact / footer */
.contact { position: relative; overflow: hidden; background: var(--c-brand); color: var(--c-on-dark); padding: var(--sp-5) 0 var(--sec-pad); text-align: center; }
.contact__marquee { display: flex; width: max-content; font-family: var(--f-en); font-weight: var(--fw-head); font-size: 22vw; line-height: 1; letter-spacing: -0.02em; white-space: nowrap; opacity: 0.12; animation: marquee 22s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }
.contact__inner { position: relative; max-width: var(--content-w); margin: calc(var(--sp-4) * -1) auto 0; padding: 0 var(--gutter); }
.contact__title { font-size: 1.5rem; font-weight: var(--fw-head); line-height: var(--lh-head); letter-spacing: var(--ls-head); }
.contact__lead { margin-top: var(--sp-2); }
.contact__btns { margin-top: var(--sp-4); display: grid; gap: var(--sp-2); justify-content: center; }
.btn {
  display: flex; align-items: center; justify-content: center; min-width: 264px; min-height: 64px; padding: 0 var(--sp-3);
  background: var(--c-bg); color: var(--c-brand); border: var(--border-w) solid var(--c-navy); border-radius: var(--radius-s); box-shadow: 5px 5px 0 var(--c-navy);
  font-weight: var(--fw-head); transition: box-shadow 0.25s var(--ease-soft), translate 0.25s var(--ease-soft), background 0.25s var(--ease-soft), color 0.25s var(--ease-soft);
}
.btn:hover { background: var(--c-navy); color: var(--c-on-dark); box-shadow: 0 0 0 var(--c-navy); translate: 5px 5px; }
.btn > span { display: inline-block; pointer-events: none; }
.contact__mado { position: absolute; right: 4%; bottom: -30px; width: 90px; transform: rotate(-8deg); }
.ft { padding: var(--sp-4) var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2); }
.ft__logo { height: var(--logo-h); width: auto; }
.ft__copy { font-family: var(--f-en); font-size: var(--fs-label); color: var(--c-muted); }

/* ================================================================ PC */
@media (min-width: 1024px) {
  .hd { grid-template-columns: 1fr auto 1fr; }
  .hd__lang { grid-column: 1; display: flex; gap: 14px; font-family: var(--f-en); font-size: 0.75rem; letter-spacing: 0.04em; }
  .hd__lang button { color: var(--c-muted); transition: color var(--dur-fast) var(--ease-soft); }
  .hd__lang button[aria-pressed="true"] { color: var(--c-brand); }
  .hd__link { display: inline-grid; overflow: hidden; height: 1.4em; font-family: var(--f-en); font-weight: var(--fw-body); font-size: 1rem; line-height: 1.4; letter-spacing: 0.02em; transition: color var(--dur-fast) var(--ease-soft); }
  .hd__link > span { grid-area: 1 / 1; transition: transform 0.6s var(--ease-out); }
  .hd__link > span + span { transform: translateY(110%); color: var(--c-brand); }
  .hd__link:hover > span:first-child { transform: translateY(-110%); }
  .hd__link:hover > span + span { transform: none; }
  .is-dark .hd__link > span + span { color: var(--c-on-dark); }

  .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; }
  .cursor__dot { position: absolute; width: 12px; height: 12px; margin: -6px; border-radius: 50%; background: var(--c-brand); transition: width 0.4s var(--ease-out), height 0.4s var(--ease-out), margin 0.4s var(--ease-out), background 0.3s; }
  .cursor__label { position: absolute; transform: translate(-50%, -50%) scale(0); font-family: var(--f-en); font-weight: var(--fw-head); font-size: 0.75rem; color: var(--c-on-dark); transition: transform 0.4s var(--ease-out); }
  .cursor.is-link .cursor__dot { width: 44px; height: 44px; margin: -22px; background: rgba(15, 74, 162, 0.18); }
  .cursor.is-view .cursor__dot { width: 88px; height: 88px; margin: -44px; background: var(--c-brand); }
  .cursor.is-view .cursor__label { transform: translate(-50%, -50%) scale(1); }
  .is-dark .cursor__dot, .is-blue .cursor__dot { background: var(--c-on-dark); }
  .progress { display: block; position: fixed; left: 28px; top: 50%; z-index: 40; width: 2px; height: 120px; margin-top: -60px; background: var(--c-line); border-radius: 2px; overflow: hidden; }
  .progress__bar { display: block; width: 100%; height: 100%; background: var(--c-brand); transform-origin: 50% 0; transform: scaleY(0); }

  .hero__type { top: 36%; }
  .hero__track { display: flex; gap: 0.22em; padding-left: 4vw; }
  .hero__word { display: inline-block; }
  .walker { width: 190px; top: 70%; left: 24%; }
  .hero__bubble { font-size: 0.9375rem; padding: 10px 22px; }
  .hero__tag { left: auto; right: var(--gutter); bottom: 120px; text-align: right; font-size: var(--fs-tag); line-height: 1.3; }
  .hero__copy { display: block; position: absolute; right: var(--gutter); bottom: 64px; font-family: var(--f-en); font-size: 0.8125rem; color: var(--c-muted); }
  .flyer { width: 360px; }

  .mission__inner { grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
  .mission__title, .mission__body { text-align: left; }
  .orbit { width: 480px; }
  .orbit__ring { border-width: 58px; }

  .chapter__title > span { display: inline; }
  .chapter__head { padding-bottom: 14vh; }
  .tow { bottom: 9svh; }
  .tow__plane { width: 220px; }
  .tow__rope { width: 90px; margin-top: 46px; }
  .tow__banner { width: 360px; margin-top: 46px; }
  .parade__chr { width: 130px; }
  .hole { width: 380px; top: 72%; }

  .story__row { grid-template-columns: 1.1fr 1fr; gap: 96px; align-items: center; }
  .story__row--rev .story__img { order: 2; }
  .story__title { font-size: var(--fs-h3); }

  .cycle__stage { grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
  .cycle__title { font-size: var(--fs-h3); }
  .cycle__body { font-size: var(--fs-body); }
  .ring { width: 360px; }
  .ring__num { font-size: 0.8125rem; }
  .steps { width: 380px; height: 132px; }
  .step__en { font-size: 1.5rem; }

  .works__title { font-size: var(--fs-h3); }
  .works__track { gap: 48px; padding: 0 max(var(--gutter), calc((100vw - var(--content-w)) / 2)); }
  .work { width: 560px; }
  .work__img { cursor: none; }

  .growth__title { font-size: var(--fs-h3); }
  .gitem { grid-template-columns: 96px 10rem 1fr; grid-template-areas: "chr en txt"; padding: var(--sp-4) 0; column-gap: var(--sp-4); }
  .gitem__chr { width: 80px; }
  .gitem__en { font-size: 2rem; }

  .contact__marquee { font-size: 16vw; }
  .contact__inner { margin-top: -6vw; }
  .contact__title { font-size: var(--fs-h3); }
  .contact__btns { grid-template-columns: repeat(3, auto); gap: 28px; }
  .contact__mado { width: 150px; right: 6%; bottom: -40px; }
}


/* ================================================================ 問い合わせを増やす追加ブロック（SP基準） */
.sec-en { font-family: var(--f-en); font-weight: var(--fw-head); font-size: var(--fs-label); color: var(--c-brand); letter-spacing: 0.12em; text-transform: uppercase; }
.hd__cta { display: none; }

/* worries */
.worry { position: relative; padding: var(--sec-pad) var(--gutter); background: var(--c-bg-soft); overflow: hidden; }
.worry__inner { position: relative; max-width: var(--content-w); margin: 0 auto; }
.worry__title { margin-top: var(--sp-1); font-size: 1.625rem; font-weight: var(--fw-head); line-height: var(--lh-head); letter-spacing: var(--ls-head); }
.worry__list { margin-top: var(--sp-4); display: grid; gap: var(--sp-2); }
.wcard { position: relative; padding: 20px 20px 20px 64px; background: var(--c-bg); border: var(--border-w) solid var(--c-navy); border-radius: var(--radius-s); box-shadow: 5px 5px 0 var(--c-navy); font-weight: var(--fw-head); line-height: 1.7; transition: translate 0.3s var(--ease-soft), box-shadow 0.3s var(--ease-soft); }
.wcard:hover { translate: -3px -3px; box-shadow: 8px 8px 0 var(--c-navy); }
.wcard__no { position: absolute; left: 20px; top: 20px; font-family: var(--f-en); font-size: 1.125rem; color: var(--c-brand); line-height: 1.5; }
.worry__answer { margin-top: var(--sp-4); font-size: var(--fs-lead); font-weight: var(--fw-head); line-height: 1.9; }
.worry__chr { position: absolute; right: -10px; top: -30px; width: 110px; }

/* plans */
.plans { padding: var(--sec-pad) var(--gutter); }
.plans__inner { max-width: var(--content-w); margin: 0 auto; }
.plans__title { margin-top: var(--sp-1); font-size: 1.625rem; font-weight: var(--fw-head); line-height: var(--lh-head); letter-spacing: var(--ls-head); }
.plans__lead { margin-top: var(--sp-2); }
.plans__grid { margin-top: var(--sp-4); display: grid; gap: var(--sp-4); align-items: stretch; }
.plan { position: relative; padding: 32px 24px; background: var(--c-bg); border: var(--border-w) solid var(--c-navy); border-radius: var(--radius-m); box-shadow: var(--shadow-hard); display: flex; flex-direction: column; transition: translate 0.35s var(--ease-soft), box-shadow 0.35s var(--ease-soft); }
.plan:hover { translate: -4px -4px; box-shadow: 10px 10px 0 var(--c-navy); }
.plan--main { background: var(--c-brand); color: var(--c-on-dark); }
.plan__badge { position: absolute; top: -16px; left: 24px; padding: 4px 14px; background: var(--c-navy); color: var(--c-on-dark); border-radius: var(--radius-s); font-size: var(--fs-label); font-weight: var(--fw-head); }
.plan__name { font-size: var(--fs-lead); font-weight: var(--fw-head); }
.plan__price { margin-top: var(--sp-1); display: flex; align-items: baseline; gap: 6px; }
.plan__num { font-family: var(--f-en); font-weight: var(--fw-head); font-size: 2.75rem; line-height: 1.1; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.plan__unit { font-size: var(--fs-small); font-weight: var(--fw-head); }
.plan__for { margin-top: var(--sp-2); font-size: var(--fs-small); line-height: 1.8; opacity: 0.85; }
.plan__list { margin-top: var(--sp-3); padding-top: var(--sp-3); border-top: 1px solid currentColor; display: grid; gap: 10px; border-top-color: var(--c-line); }
.plan--main .plan__list { border-top-color: rgba(255, 255, 255, 0.3); }
.plan__list li { position: relative; padding-left: 22px; font-size: var(--fs-small); line-height: 1.6; }
.plan__list li::before { content: ""; position: absolute; left: 2px; top: 0.45em; width: 10px; height: 6px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
.plans__note { margin-top: var(--sp-3); font-size: var(--fs-label); color: var(--c-muted); }

/* flow */
.flow { padding: 0 var(--gutter) var(--sec-pad); }
.flow__inner { max-width: var(--content-w); margin: 0 auto; }
.flow__title { margin-top: var(--sp-1); font-size: 1.625rem; font-weight: var(--fw-head); line-height: var(--lh-head); letter-spacing: var(--ls-head); }
.flow__list { position: relative; margin: var(--sp-4) 0 0; padding: 0 0 0 52px; list-style: none; display: grid; gap: var(--sp-4); }
.flow__line { position: absolute; left: 19px; top: 10px; bottom: 10px; width: 2px; background: var(--c-line); }
.flow__line > span { display: block; width: 100%; height: 100%; background: var(--c-brand); transform-origin: 50% 0; transform: scaleY(0); }
.fstep { position: relative; }
.fstep__no { position: absolute; left: -52px; top: -2px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--c-bg); border: var(--border-w) solid var(--c-navy); font-family: var(--f-en); font-weight: var(--fw-head); font-size: 0.8125rem; color: var(--c-brand); transition: background 0.4s, color 0.4s; }
.fstep.is-on .fstep__no { background: var(--c-brand); color: var(--c-on-dark); }
.fstep h3 { font-size: var(--fs-lead); font-weight: var(--fw-head); line-height: 1.6; }
.fstep p { margin-top: 4px; font-size: var(--fs-small); }

/* faq */
.faq { padding: 0 var(--gutter) var(--sec-pad); }
.faq__inner { max-width: 880px; margin: 0 auto; }
.faq__title { margin-top: var(--sp-1); font-size: 1.625rem; font-weight: var(--fw-head); line-height: var(--lh-head); letter-spacing: var(--ls-head); }
.faq__list { margin-top: var(--sp-4); border-top: 1px solid var(--c-line); }
.qa { border-bottom: 1px solid var(--c-line); }
.qa summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 28px 1fr 24px; gap: 12px; align-items: center; padding: 22px 0; font-weight: var(--fw-head); line-height: 1.6; }
.qa summary::-webkit-details-marker { display: none; }
.qa__q { font-family: var(--f-en); font-size: 1.125rem; color: var(--c-brand); }
.qa__icon { position: relative; width: 20px; height: 20px; }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--c-navy); transform: translate(-50%, -50%); transition: transform 0.5s var(--ease-out); }
.qa__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] .qa__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa__a { overflow: hidden; }
.qa__a p { padding: 0 0 22px 40px; font-size: var(--fs-small); }

/* form */
.form { position: relative; margin: var(--sp-5) auto 0; max-width: 820px; padding: 32px 20px; background: var(--c-bg); color: var(--c-ink); border: var(--border-w) solid var(--c-navy); border-radius: var(--radius-m); box-shadow: 8px 8px 0 var(--c-navy); text-align: left; }
.form__head { font-weight: var(--fw-head); font-size: var(--fs-lead); }
.form__grid { margin-top: var(--sp-3); display: grid; gap: 18px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field__label { display: flex; align-items: center; gap: 8px; font-size: var(--fs-small); font-weight: var(--fw-head); padding: 0; }
.field__label em { font-style: normal; font-size: 0.6875rem; color: var(--c-brand); }
.field input, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--c-ink); background: var(--c-bg-soft); border: var(--border-w) solid transparent; border-radius: var(--radius-s); padding: 12px 14px; transition: border-color 0.25s, background 0.25s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--c-brand); background: var(--c-bg); }
.field.is-error input, .field.is-error textarea { border-color: #c8344b; background: #fff5f6; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 8px 18px; border: var(--border-w) solid var(--c-navy); border-radius: var(--radius-s); font-size: var(--fs-small); font-weight: var(--fw-head); cursor: pointer; transition: background 0.25s, color 0.25s; }
.chip input:checked + span { background: var(--c-navy); color: var(--c-on-dark); }
.chip input:focus-visible + span { outline: 2px solid var(--c-brand); outline-offset: 2px; }
.form__err { min-height: 1.6em; margin-top: var(--sp-2); font-size: var(--fs-small); font-weight: var(--fw-head); color: #c8344b; }
.form__submit { margin-top: var(--sp-1); width: 100%; min-height: 64px; background: var(--c-brand); color: var(--c-on-dark); border: var(--border-w) solid var(--c-navy); border-radius: var(--radius-s); box-shadow: 5px 5px 0 var(--c-navy); font-weight: var(--fw-head); font-size: var(--fs-lead); transition: translate 0.25s var(--ease-soft), box-shadow 0.25s var(--ease-soft), background 0.25s; }
.form__submit:hover { translate: 5px 5px; box-shadow: 0 0 0 var(--c-navy); background: var(--c-navy); }
.form__demo { margin-top: var(--sp-2); font-size: var(--fs-label); color: var(--c-muted); text-align: center; }
.form__done { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--sp-3); background: var(--c-bg); border-radius: var(--radius-m); text-align: center; font-weight: var(--fw-head); font-size: var(--fs-lead); line-height: 1.8; opacity: 0; visibility: hidden; }
.form__done img { width: 110px; }
.form.is-done .form__done { opacity: 1; visibility: visible; }

/* sticky（スマホ下部の固定相談バー） */
.sticky { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45; display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; padding: 8px; background: var(--c-bg); border: var(--border-w) solid var(--c-navy); border-radius: var(--radius-m); box-shadow: 5px 5px 0 var(--c-navy); transform: translateY(160%); transition: transform 0.6s var(--ease-out); }
.sticky.is-show { transform: none; }
.sticky__btn { display: grid; place-items: center; min-height: 48px; border-radius: var(--radius-s); background: var(--c-bg-soft); color: var(--c-navy); font-weight: var(--fw-head); font-size: var(--fs-small); }
.sticky__btn--main { background: var(--c-brand); color: var(--c-on-dark); }
.ft { padding-bottom: 100px; }

@media (min-width: 1024px) {
  .hd__cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; background: var(--c-brand); color: var(--c-on-dark); border: var(--border-w) solid var(--c-navy); border-radius: var(--radius-s); box-shadow: 3px 3px 0 var(--c-navy); font-weight: var(--fw-head); font-size: 0.875rem; transition: translate 0.25s var(--ease-soft), box-shadow 0.25s var(--ease-soft), background 0.25s; }
  .hd__cta:hover { translate: 3px 3px; box-shadow: 0 0 0 var(--c-navy); background: var(--c-navy); }
  .is-dark .hd__cta, .is-blue .hd__cta, .is-navi-open .hd__cta { border-color: var(--c-on-dark); box-shadow: 3px 3px 0 var(--c-on-dark); }
  .sticky { display: none; }
  .ft { padding-bottom: var(--sp-4); }

  .worry__title, .plans__title, .flow__title, .faq__title { font-size: var(--fs-h3); }
  .worry__list { grid-template-columns: 1fr 1fr; gap: 24px; }
  .wcard { padding: 28px 28px 28px 80px; font-size: 1.0625rem; }
  .wcard__no { left: 28px; top: 28px; font-size: 1.375rem; }
  .worry__answer { font-size: 1.375rem; }
  .worry__chr { width: 180px; right: 0; top: -60px; }

  .plans__grid { grid-template-columns: 1fr 1.08fr 1fr; gap: 28px; align-items: center; }
  .plan { padding: 40px 32px; }
  .plan--main { padding: 56px 36px; }
  .plan__num { font-size: 3.25rem; }

  .flow__list { padding: 64px 0 0; grid-template-columns: repeat(5, 1fr); gap: 24px; }
  .flow__line { left: 20px; right: 20px; top: 19px; bottom: auto; width: auto; height: 2px; }
  .flow__line > span { transform-origin: 0 50%; transform: scaleX(0); }
  .fstep__no { left: 0; top: -64px; }

  .form { padding: 48px 56px; }
  .form__grid { grid-template-columns: 1fr 1fr; gap: 22px 28px; }
  .field--wide { grid-column: 1 / -1; }
  .form__submit { width: auto; padding: 0 56px; }
}
.no-motion .sticky { transform: none; }

/* ================================================================ 動きを減らす設定 / JS無効 */
@media (prefers-reduced-motion: reduce) {
  .hero__scroll span, .contact__marquee, .loader__mado { animation: none; }
  .navi__fill, .navi__list a, .navi__mado { transition: none; }
}
.no-motion .loader { display: none; }
.no-motion .hero__we { position: static; clip-path: none; padding: var(--sec-pad) var(--gutter); }
.no-motion .flyer, .no-motion .tow, .no-motion .parade, .no-motion .hole, .no-motion .hero__scroll { display: none; }
.no-motion .dark { position: static; opacity: 1; visibility: visible; padding: var(--sec-pad) var(--gutter); background: var(--c-dark); }
.no-motion .hero__stage, .no-motion .chapter__stage, .no-motion .works__stage { height: auto; min-height: 0; overflow: visible; }
.no-motion .hero__stage { padding: calc(var(--header-h) + 40px) 0 var(--sp-4); }
.no-motion .hero__type, .no-motion .walker, .no-motion .hero__tag { position: relative; inset: auto; transform: none; margin: 0 auto var(--sp-3); }
.no-motion .chapter__head { position: static; padding: var(--sec-pad) 0; }
.no-motion .works__track { width: auto; overflow-x: auto; }
.no-motion .step { position: static; opacity: 1; visibility: visible; transform: none; margin-top: var(--sp-3); }
.no-motion .steps { height: auto; }

/* 言語ボタンの「한국어」は韓国語フォントで表示 */
[data-lang="ko"] { font-family: var(--f-ko); }
[data-lang="zh"] { font-family: var(--f-zh); }
