/* LIV CONNECT — site styles */
:root {
  --bg: #0b0b0c;
  --bg2: #141416;
  --ink: #f3f1ec;
  --mute: #8f8d88;
  --line: rgba(243, 241, 236, .13);
  --accent: #f39200;
  --en: "Jost", "Helvetica Neue", Arial, sans-serif;
  --ja: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --script: "Mrs Saint Delafield", "Brush Script MT", cursive;
  --pad: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.7, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
html:not(.lenis) { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--ja); font-size: 15px; line-height: 1.9; letter-spacing: .04em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, dl, dd { margin: 0; }
em { font-style: normal; }
::selection { background: var(--accent); color: #000; }
.accent { color: var(--accent); }
.script { font-family: var(--script); font-weight: 400; letter-spacing: 0; text-transform: none; }

.dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); flex: none; animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(243, 146, 0, .6); }
  70%, 100% { box-shadow: 0 0 0 10px rgba(243, 146, 0, 0); }
}

/* grain */
.grain {
  position: fixed; inset: -50%; width: 200%; height: 200%; pointer-events: none; z-index: 90; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -5%); }
  60% { transform: translate(-6%, -2%); } 80% { transform: translate(5%, 4%); }
}

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--bg);
  display: grid; place-items: center; clip-path: inset(0 0 0 0);
}
html:not(.js) .loader { display: none; }
.js .loader { animation: loaderSafety .01s 9s forwards; }
@keyframes loaderSafety { to { visibility: hidden; opacity: 0; } }
.loader-mark { width: clamp(84px, 12vw, 140px); overflow: visible; }
.loader-mark polygon { fill: transparent; stroke: var(--ink); stroke-width: 3; }
.loader-word {
  position: absolute; left: var(--pad); bottom: var(--pad);
  font-family: var(--en); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--mute);
}
.loader-count {
  position: absolute; right: var(--pad); bottom: calc(var(--pad) - .12em);
  font-family: var(--en); font-weight: 300; font-size: clamp(72px, 15vw, 220px); line-height: .8; letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
}

/* ---------- cursor ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 95; pointer-events: none;
  width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: var(--ink); mix-blend-mode: difference; opacity: 0;
  display: grid; place-items: center;
  transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background-color .3s, opacity .3s;
}
.cursor.is-link { width: 54px; height: 54px; margin: -27px 0 0 -27px; }
.cursor.is-label { width: 100px; height: 100px; margin: -50px 0 0 -50px; background: var(--accent); mix-blend-mode: normal; }
.cursor-label {
  font-family: var(--en); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #000;
  opacity: 0; transition: opacity .2s;
}
.cursor.is-label .cursor-label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
@media (hover: hover) and (pointer: fine) { .has-cursor, .has-cursor a, .has-cursor button { cursor: none; } }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 80;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px var(--pad); transition: transform .7s var(--ease);
}
.header::before {
  content: ""; position: absolute; inset: 0 0 -30px; z-index: -1; pointer-events: none;
  background: linear-gradient(var(--bg) 40%, transparent); opacity: 0; transition: opacity .4s;
}
.header.is-scrolled::before { opacity: .92; }
.header.is-hidden { transform: translateY(-120%); }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 32px; height: 32px; fill: var(--ink); transition: transform .8s var(--ease); }
.brand:hover .brand-mark { transform: rotate(90deg); }
/* ヘッダーのロゴ画像（支給された logo3.png を黒背景用に白く変換したもの） */
.brand-img { width: clamp(112px, 9.2vw, 132px); height: auto; transition: opacity .4s; }
.brand:hover .brand-img { opacity: .72; }
.brand-name { font-family: var(--en); font-size: 12.5px; line-height: 1.18; letter-spacing: .3em; }
.brand-name b { font-weight: 400; color: var(--accent); }

.nav { display: flex; gap: clamp(16px, 2.2vw, 36px); font-size: 13px; letter-spacing: .08em; }
.nav a { position: relative; display: block; overflow: hidden; line-height: 1.6; }
.nav a span { display: block; position: relative; transition: transform .55s var(--ease); }
.nav a span::after { content: attr(data-t); position: absolute; left: 0; top: 100%; color: var(--accent); }
.nav a:hover span { transform: translateY(-100%); }
/* 自社製品 Calme へのリンクだけ、ひと目で分かるように色を変える */
.nav-product { color: var(--accent); }
.nav-product span::after { color: var(--ink); }

.btn-pill {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 20px;
  border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--en); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase;
  transition: color .5s var(--ease), border-color .5s, transform .5s var(--ease);
}
.btn-pill::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--ink); transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn-pill:hover { color: var(--bg); border-color: var(--ink); }
.btn-pill:hover::before { transform: none; }
.btn-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.btn-pill-accent { background: var(--accent); border-color: var(--accent); color: #000; font-family: var(--ja); font-weight: 500; letter-spacing: .1em; padding: 10px 22px; }
.btn-pill-accent i { background: #000; }

/* 主要ボタン（オレンジ）と、サブのボタン（線だけ） */
.btn-solid, .btn-ghost {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 28px; border-radius: 999px; font-size: 15px; font-weight: 500; letter-spacing: .1em; line-height: 1.2; white-space: nowrap;
  transition: transform .5s var(--ease), color .45s, border-color .45s;
}
.btn-solid { background: var(--accent); color: #000; }
.btn-solid::before, .btn-ghost::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--ink); transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn-solid:hover::before, .btn-ghost:hover::before { transform: none; }
.btn-solid svg { transition: transform .5s var(--ease); }
.btn-solid:hover svg { transform: translateX(4px); }
.btn-ghost { border: 1px solid rgba(243, 241, 236, .35); color: var(--ink); }
.btn-ghost:hover { color: var(--bg); border-color: var(--ink); }

.menu-btn {
  display: none; position: relative; width: 46px; height: 46px; padding: 0;
  border: 1px solid var(--line); border-radius: 50%; background: rgba(11, 11, 12, .5); cursor: pointer;
}
.menu-btn span { position: absolute; left: 14px; right: 14px; height: 1px; background: var(--ink); transition: transform .5s var(--ease); }
.menu-btn span:nth-child(1) { top: 19px; }
.menu-btn span:nth-child(2) { top: 26px; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 79; background: var(--bg2);
  padding: 110px var(--pad) var(--pad); display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .8s var(--ease), visibility 0s .8s;
}
.menu.is-open { clip-path: inset(0); visibility: visible; transition: clip-path .8s var(--ease), visibility 0s; }
.menu-link {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  padding: 6px 0; border-bottom: 1px solid var(--line);
  font-family: var(--en); font-size: clamp(38px, 11vw, 64px); line-height: 1.2; letter-spacing: -.02em;
}
.menu-link small { font-family: var(--ja); font-size: 12px; color: var(--mute); letter-spacing: .1em; }
.menu-foot { display: flex; flex-direction: column; gap: 14px; }
.menu-foot .btn-solid { width: 100%; }
.menu-tel { text-align: center; color: var(--mute); font-size: 14px; }

@media (max-width: 900px) {
  .nav, .header > .btn-pill { display: none; }
  .menu-btn { display: block; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  display: flex; align-items: flex-end; padding: 120px var(--pad) 36px;
}
#net { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 70% 30%, transparent 30%, var(--bg) 100%),
              linear-gradient(transparent 55%, rgba(11, 11, 12, .85));
}
.hero-inner { position: relative; z-index: 2; width: 100%; }
.eyebrow {
  display: flex; align-items: center; gap: 12px; margin-bottom: clamp(18px, 2.6vw, 34px);
  font-family: var(--en); font-size: 11.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--mute);
}
.hero-title {
  position: relative; font-family: var(--en); font-weight: 400;
  font-size: clamp(50px, min(11.4vw, 17vh), 196px); line-height: .9; letter-spacing: -.05em;
}
.hero-title .line { display: block; overflow: hidden; padding: 0 .04em .08em 0; margin-bottom: -.08em; white-space: nowrap; }
.hero-title .indent { padding-left: 13vw; }
.ch { display: inline-block; will-change: transform; }
.outline { color: transparent; -webkit-text-stroke: 1.2px var(--ink); }
.hero-script {
  position: absolute; right: 3%; top: 30%; font-family: var(--script); font-size: .62em; line-height: 1;
  color: var(--accent); transform: rotate(-10deg); pointer-events: none; letter-spacing: 0;
}
.hero-bottom {
  display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 32px; align-items: end;
  margin-top: clamp(28px, 4.4vw, 60px); padding-top: 24px; border-top: 1px solid var(--line);
}
.hero-lead { font-size: clamp(22px, 2.3vw, 32px); font-weight: 700; line-height: 1.55; letter-spacing: .06em; }
.hero-sub { color: #b9b7b1; font-size: 14px; margin-top: 12px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: flex-end; }
.hero-note { flex-basis: 100%; display: flex; align-items: center; justify-content: flex-end; gap: 6px; font-size: 12.5px; color: var(--mute); }
.hero-note svg { color: var(--accent); }
.scroll-ind { display: flex; flex-direction: column; align-items: center; gap: 12px; font-family: var(--en); font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--mute); }
.scroll-ind span { writing-mode: vertical-rl; }
.scroll-ind i { position: relative; width: 1px; height: 64px; background: var(--line); overflow: hidden; }
.scroll-ind i::after { content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: var(--ink); animation: scrollLine 2.2s var(--ease) infinite; }
@keyframes scrollLine { to { top: 100%; } }
@media (max-width: 900px) {
  .hero-bottom { grid-template-columns: 1fr; gap: 22px; }
  .hero-actions { justify-content: flex-start; }
  .hero-actions .btn-solid, .hero-actions .btn-ghost { flex: 1 1 auto; }
  .hero-note { justify-content: flex-start; }
  .scroll-ind { display: none; }
  .hero { align-items: center; }
  .hero-title { font-size: 15vw; }
  .hero-script { top: auto; bottom: -.35em; right: 0; font-size: .75em; }
  .eyebrow { font-size: 10px; letter-spacing: .2em; }
  .hero-sub br { display: none; }
}

/* ---------- marquee ---------- */
.marquee { overflow: hidden; white-space: nowrap; border-block: 1px solid var(--line); padding: clamp(18px, 2.4vw, 30px) 0; }
.marquee-track { display: inline-flex; will-change: transform; animation: marquee 32s linear infinite; }
.marquee-group {
  display: flex; align-items: center; gap: clamp(22px, 3vw, 48px); padding-right: clamp(22px, 3vw, 48px);
  font-family: var(--en); font-size: clamp(34px, 6vw, 96px); line-height: 1.05; letter-spacing: -.03em;
}
.marquee-group .o { color: transparent; -webkit-text-stroke: 1px rgba(243, 241, 236, .55); }
.star { width: .42em; height: .42em; fill: var(--accent); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- common section ---------- */
.section { position: relative; padding: clamp(100px, 13vw, 190px) var(--pad); }
.sec-head {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: clamp(44px, 6.5vw, 96px);
  font-family: var(--en); font-size: 11.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--mute);
}
.sec-label { display: flex; align-items: center; gap: 12px; }
.big-title { font-family: var(--en); font-weight: 400; font-size: clamp(50px, 9vw, 150px); line-height: .92; letter-spacing: -.05em; }
.big-title .line { display: block; overflow: hidden; padding: .06em .3em .18em 0; margin: -.06em 0 -.18em; }
.big-title .line > span { display: inline-block; }
.big-title .script { color: var(--accent); font-size: 1.05em; padding-left: .08em; }

/* ---------- about ---------- */
.about-text { font-size: clamp(23px, 3.5vw, 52px); font-weight: 500; line-height: 1.65; letter-spacing: .03em; max-width: 24em; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px); margin-top: clamp(70px, 9vw, 140px); }
.stat { border-top: 1px solid var(--line); padding-top: 22px; }
.stat-num {
  display: flex; align-items: baseline; gap: .08em; white-space: nowrap;
  font-family: var(--en); font-weight: 300; font-size: clamp(56px, 7.4vw, 118px); line-height: 1; letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
}
.stat-num small { font-size: .32em; letter-spacing: 0; color: var(--mute); }
.stat-num small.ja { font-family: var(--ja); font-weight: 500; }
.stat-label { margin-top: 16px; color: var(--mute); font-size: 14px; }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr; } }

/* ---------- services ---------- */
.services-top { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 32px; margin-bottom: clamp(44px, 6vw, 90px); }
.services-top p { color: var(--mute); max-width: 30em; }
.svc {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 70px 1.15fr 1fr 64px; gap: clamp(20px, 3vw, 48px); align-items: center;
  padding: clamp(28px, 3.4vw, 50px) 0; border-top: 1px solid var(--line); transition: color .45s;
}
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc::before {
  content: ""; position: absolute; inset: 0 calc(var(--pad) * -1); z-index: -1;
  background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .65s var(--ease);
}
.svc-num { font-family: var(--en); font-size: 13px; letter-spacing: .1em; color: var(--mute); align-self: start; padding-top: 10px; }
.svc-title { font-family: var(--en); font-weight: 400; font-size: clamp(34px, 4.6vw, 74px); line-height: .98; letter-spacing: -.035em; transition: transform .65s var(--ease); }
.svc-ja { margin-top: 12px; font-size: 13px; letter-spacing: .14em; color: var(--mute); transition: color .45s; }
.svc-body p { font-size: 14px; color: var(--mute); transition: color .45s; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tags li { font-size: 11px; line-height: 1.6; padding: 3px 11px; border: 1px solid currentColor; border-radius: 999px; opacity: .6; }
.svc-arrow {
  width: 60px; height: 60px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; transition: transform .65s var(--ease), background-color .45s, border-color .45s, color .45s;
}
@media (hover: hover) and (min-width: 901px) {
  .svc:hover { color: var(--bg); }
  .svc:hover::before { transform: scaleY(1); }
  .svc:hover .svc-title { transform: translateX(20px); }
  .svc:hover .svc-ja, .svc:hover .svc-body p { color: #5d5b56; }
  .svc:hover .svc-arrow { transform: rotate(-45deg); background: var(--accent); border-color: var(--accent); color: #000; }
}
@media (max-width: 900px) {
  .svc { grid-template-columns: 1fr; gap: 14px; }
  .svc-num { padding: 0; }
  .svc-arrow { display: none; }
}

/* ---------- works ---------- */
.works { position: relative; padding-top: clamp(100px, 13vw, 190px); overflow: hidden; }
.works > .sec-head { margin-inline: var(--pad); margin-bottom: 0; }
.works-pin { display: flex; flex-direction: column; justify-content: center; gap: clamp(28px, 4vh, 56px); min-height: 100vh; padding: 96px 0 48px; }
.works-top { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; padding-inline: var(--pad); }
.works-title { font-size: clamp(46px, 6.4vw, 108px); }
.works-side { display: flex; flex-direction: column; align-items: flex-end; gap: 18px; color: var(--mute); font-size: 14px; }
.works-progress { width: 180px; height: 1px; background: var(--line); }
.works-progress i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.works-scroller { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.works-scroller::-webkit-scrollbar { display: none; }
.works-track { display: flex; gap: clamp(18px, 2.6vw, 40px); width: max-content; padding-inline: var(--pad); }
/* パソコンだけ、スクロールに合わせて横に動かす（枠のはみ出しを許可する）。
   スマホは指で横にスワイプするので、この指定を効かせてはいけない。 */
@media (min-width: 901px) { .has-gsap .works-scroller { overflow: visible; } }
.work { flex: none; width: min(40vw, 64vh, 640px); scroll-snap-align: center; }
.work-visual {
  position: relative; aspect-ratio: 4 / 3; max-width: 100%; overflow: hidden;
  border-radius: 14px; background: var(--bg2); border: 1px solid var(--line);
}
.work-visual > svg { display: block; width: 100%; height: 100%; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.work:hover .work-visual > svg { transform: scale(1.05); }
.work-no { position: absolute; left: 16px; top: 12px; z-index: 2; font-family: var(--en); font-size: 12px; letter-spacing: .2em; color: #fff; mix-blend-mode: difference; }
/* 実際の画面写真：色の地の上に、画面を斜め下にはみ出させて置く */
.work-visual.is-shot { background: radial-gradient(120% 120% at 15% 10%, var(--t1), var(--t2) 72%); border-color: transparent; }
.work-visual.is-shot img {
  position: absolute; left: 9%; top: 15%; width: 150%; max-width: none; height: auto;
  border-radius: 8px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
  transition: transform 1.2s cubic-bezier(.2, .7, .2, 1);
}
.work:hover .work-visual.is-shot img { transform: translateY(-8px); }
/* iPad アプリは端末の枠をつけて丸ごと見せる */
.work-visual.is-device img {
  left: 50%; top: 52%; width: 84%; translate: -50% -50%;
  border: 10px solid #111; border-radius: 22px; box-shadow: 0 30px 60px rgba(60, 25, 0, .4);
}
.work-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.work-title { font-size: clamp(17px, 1.5vw, 21px); font-weight: 500; letter-spacing: .04em; }
.work-cat { font-family: var(--en); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); white-space: nowrap; }
.work-desc { margin-top: 8px; color: var(--mute); font-size: 13.5px; line-height: 1.8; }

.work-next .work-visual {
  display: flex; flex-direction: column; justify-content: space-between; padding: clamp(20px, 2.4vw, 34px);
  background: var(--accent); color: #0b0b0c; border-color: transparent; transition: background-color .5s;
}
.work-next:hover .work-visual { background: var(--ink); }
.next-en { font-family: var(--en); font-size: clamp(44px, 5vw, 86px); line-height: .92; letter-spacing: -.05em; }
.next-en .script { font-size: 1.1em; }
.next-ja { font-size: 14px; font-weight: 500; }
@media (max-width: 900px) {
  .work { width: 82vw; }
  .works-progress { display: none; }
  .works-side { align-items: flex-start; }
  .works-pin { min-height: 0; padding-top: 56px; }
}

/* ---------- flow ---------- */
.flow-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 7vw, 120px); }
.flow-sticky { position: sticky; top: 120px; align-self: start; }
.flow-sticky p { margin-top: 28px; color: var(--mute); max-width: 24em; }
.steps { position: relative; padding-left: clamp(28px, 4vw, 56px); }
.steps::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 0; width: 1px; background: var(--line); }
.steps-bar { position: absolute; left: 0; top: 8px; bottom: 0; width: 1px; background: var(--accent); transform-origin: top; }
.step { position: relative; padding-bottom: clamp(60px, 8vw, 120px); transition: opacity .6s; }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: ""; position: absolute; left: calc(clamp(28px, 4vw, 56px) * -1 - 4px); top: 8px;
  width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1px solid var(--mute); transition: background-color .4s, border-color .4s;
}
.has-gsap .step { opacity: .3; }
.has-gsap .step.is-active { opacity: 1; }
.step.is-active::before, html:not(.has-gsap) .step::before { background: var(--accent); border-color: var(--accent); }
.step-num { font-family: var(--en); font-size: 12px; letter-spacing: .24em; color: var(--accent); line-height: 1.6; }
.step h3 { margin: 12px 0 4px; font-family: var(--en); font-weight: 400; font-size: clamp(32px, 3.8vw, 58px); line-height: 1.05; letter-spacing: -.03em; }
.step .ja { font-size: 14px; font-weight: 500; letter-spacing: .14em; }
.step p:last-child { margin-top: 16px; color: var(--mute); max-width: 30em; }
@media (max-width: 900px) {
  .flow-grid { grid-template-columns: 1fr; }
  .flow-sticky { position: static; }
}

/* ---------- cta ---------- */
.cta { position: relative; overflow: hidden; text-align: center; padding: clamp(90px, 12vw, 180px) var(--pad); border-top: 1px solid var(--line); }
.cta-small { color: var(--mute); font-size: 14px; letter-spacing: .2em; }
.cta-title {
  margin: clamp(10px, 2vw, 24px) 0 clamp(20px, 3vw, 40px);
  font-family: var(--en); font-size: clamp(80px, 17vw, 300px); line-height: .82; letter-spacing: -.06em;
}
.cta-title .script { display: inline-block; color: var(--accent); font-size: 1.05em; line-height: .6; transform: translate(.25em, -.12em); }
.cta-btn {
  display: inline-grid; place-items: center; width: clamp(130px, 13vw, 190px); aspect-ratio: 1; border-radius: 50%;
  background: var(--ink); color: var(--bg); font-family: var(--en); font-size: 14px; line-height: 1.3; letter-spacing: .16em; text-transform: uppercase;
  transition: transform .5s var(--ease), background-color .4s;
}
.cta-btn:hover { background: var(--accent); color: #000; }

/* ---------- contact ---------- */
.contact-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px 48px; margin-bottom: clamp(40px, 5vw, 72px); }
.contact-grid { display: grid; grid-template-columns: 1.65fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.contact-title { font-size: clamp(50px, 7.6vw, 128px); }
.contact-lead { color: var(--mute); max-width: 26em; }
.direct { position: sticky; top: 110px; }
.direct-en { font-family: var(--en); font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--mute); margin-bottom: 14px; }
.contact-methods { border-top: 1px solid var(--line); }
.contact-methods a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
  font-family: var(--en); font-size: clamp(19px, 2vw, 28px); letter-spacing: .01em;
  transition: color .35s, padding .6s var(--ease);
}
.contact-methods a:hover { color: var(--accent); padding-left: 12px; }
.contact-methods small { display: block; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--mute); line-height: 1.6; }
.contact-methods svg { flex: none; transition: transform .6s var(--ease); }
.contact-methods a:hover svg { transform: rotate(45deg); }
.line-box { display: flex; align-items: center; gap: 22px; margin-top: 32px; }
.line-box img { width: 116px; height: 116px; border-radius: 12px; background: #fff; padding: 8px; flex: none; }
.line-en { font-family: var(--en); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: #06c755; }
.line-ja { color: var(--mute); font-size: 13.5px; margin-top: 6px; }

/* form */
.form-card { position: relative; background: var(--bg2); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 3.4vw, 52px); overflow: hidden; }
.cform { display: grid; gap: clamp(22px, 2.6vw, 34px); }
.cform[hidden] { display: none; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 2.6vw, 34px); }
.f-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.f-label { padding: 0; margin-bottom: 12px; font-size: 13px; color: var(--mute); letter-spacing: .08em; }
.f-req, .f-opt { display: inline-block; margin-left: 6px; font-size: 10px; line-height: 1.7; padding: 0 7px; border-radius: 999px; letter-spacing: .06em; vertical-align: 1px; }
.f-req { background: var(--accent); color: #000; }
.f-opt { border: 1px solid var(--line); color: var(--mute); }
.f-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-block; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; line-height: 1.5;
  transition: background-color .3s, color .3s, border-color .3s;
}
.chip:hover span { border-color: var(--mute); }
.chip input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.field { position: relative; }
.field input, .field textarea, .field select {
  display: block; width: 100%; margin: 0; padding: 26px 0 10px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  background: transparent; color: var(--ink); font: inherit; font-size: 16px; letter-spacing: .03em; outline: none; resize: vertical;
  -webkit-appearance: none; appearance: none; transition: border-color .3s;
}
.field textarea { min-height: 140px; line-height: 1.8; }
.field select { cursor: pointer; padding-right: 28px; }
.field select option { background: var(--bg2); color: var(--ink); }
.field.is-select::after {
  content: ""; position: absolute; right: 4px; bottom: 20px; width: 8px; height: 8px; pointer-events: none;
  border-right: 1px solid var(--mute); border-bottom: 1px solid var(--mute); transform: rotate(45deg);
}
.field label {
  position: absolute; left: 0; top: 24px; pointer-events: none; color: var(--mute); font-size: 15px; transform-origin: left top;
  transition: transform .45s var(--ease), color .3s;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field.is-select label { transform: translateY(-22px) scale(.8); }
/* フォーカスでオレンジの下線が左から伸びる */
.field input, .field textarea, .field select {
  background-image: linear-gradient(var(--accent), var(--accent)); background-repeat: no-repeat;
  background-position: left bottom; background-size: 0 1px; transition: background-size .6s var(--ease), border-color .3s;
}
.field input:focus, .field textarea:focus, .field select:focus { background-size: 100% 1px; }
.field:focus-within label { color: var(--accent); }
.field.is-invalid input, .field.is-invalid textarea { border-bottom-color: #ff6b5b; }
.f-err { min-height: 0; margin-top: 6px; font-size: 12px; color: #ff8a7d; line-height: 1.5; }
.f-err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.f-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding-top: 8px; }
.f-foot .f-err { flex-basis: 100%; order: 2; margin-top: -8px; }
.agree { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-size: 14px; position: relative; }
.agree input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.agree .box { width: 22px; height: 22px; flex: none; border: 1px solid var(--mute); border-radius: 6px; position: relative; transition: background-color .3s, border-color .3s; }
.agree .box::after {
  content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px;
  border-right: 2px solid #000; border-bottom: 2px solid #000; transform: rotate(45deg) scale(0); transition: transform .3s var(--ease);
}
.agree input:checked + .box { background: var(--accent); border-color: var(--accent); }
.agree input:checked + .box::after { transform: rotate(45deg) scale(1); }
.agree input:focus-visible + .box { outline: 2px solid var(--accent); outline-offset: 2px; }
.linklike { padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.linklike:hover { color: var(--accent); }
.submit {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 14px; padding: 18px 34px; border: 0; border-radius: 999px;
  background: var(--accent); color: #000; font: 500 15px/1 var(--ja); letter-spacing: .14em; cursor: pointer;
  transition: transform .5s var(--ease), opacity .3s;
}
.submit::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: translateY(101%); transition: transform .55s var(--ease); }
.submit:hover::before { transform: none; }
.submit svg { transition: transform .5s var(--ease); }
.submit:hover svg { transform: translateX(4px); }
.submit[disabled] { opacity: .6; pointer-events: none; }
.submit.is-sending svg { animation: sending 1s var(--ease) infinite; }
@keyframes sending { 50% { transform: translateX(8px); opacity: .3; } }
.f-status { flex-basis: 100%; order: 3; font-size: 13px; color: #ff8a7d; }
.f-status:empty { display: none; }
.f-status a { text-decoration: underline; }

.thanks { display: grid; place-items: center; text-align: center; gap: 18px; min-height: 520px; }
.thanks[hidden] { display: none; }
.thanks-mark { width: 64px; height: 64px; fill: var(--ink); }
.thanks-en { font-family: var(--en); font-size: clamp(54px, 7vw, 100px); line-height: 1; letter-spacing: -.05em; }
.thanks-en .script { color: var(--accent); }
.thanks-ja { color: var(--mute); }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .direct { position: static; }
}
@media (max-width: 600px) {
  .f-row { grid-template-columns: 1fr; }
  .submit { width: 100%; justify-content: center; }
}

/* company */
.company-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.company { background: var(--bg2); border: 1px solid var(--line); border-radius: 18px; padding: clamp(24px, 3.2vw, 48px); }
@media (max-width: 900px) { .company-grid { grid-template-columns: 1fr; } }
.company dl { display: grid; grid-template-columns: 6.5em 1fr; }
.company dt, .company dd { padding: 17px 0; border-bottom: 1px solid var(--line); }
.company dt { color: var(--mute); font-size: 13px; }
.company dd a { transition: color .3s; }
.company dd a:hover { color: var(--accent); }
.sign { display: flex; align-items: flex-end; gap: 16px; margin-top: 30px; font-family: var(--en); font-size: 13px; color: var(--mute); }
.sign img { width: clamp(160px, 16vw, 230px); filter: invert(1); mix-blend-mode: screen; opacity: .9; }

/* ---------- modal ---------- */
.modal {
  width: min(720px, calc(100% - 32px)); max-height: min(86vh, 900px); padding: 0; border: 1px solid var(--line); border-radius: 20px;
  background: var(--bg2); color: var(--ink); overflow: hidden;
}
.modal::backdrop { background: rgba(0, 0, 0, .7); backdrop-filter: blur(6px); }
.modal[open] { animation: modalIn .6s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(30px) scale(.98); } }
.modal-inner { max-height: min(86vh, 900px); overflow-y: auto; overscroll-behavior: contain; padding: clamp(26px, 4vw, 52px); }
.modal-en { font-family: var(--en); font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--accent); }
.modal h2 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 500; margin: 6px 0 20px; }
.modal h3 { font-size: 15px; font-weight: 700; margin: 26px 0 6px; }
.modal p { color: #c9c7c1; font-size: 14px; }
.modal-date { margin-top: 30px; color: var(--mute) !important; font-size: 12px !important; }
.modal-close { position: sticky; top: 0; float: right; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--bg2); cursor: pointer; }
.modal-close span { position: absolute; left: 13px; right: 13px; top: 21px; height: 1px; background: var(--ink); transform: rotate(45deg); }
.modal-close span + span { transform: rotate(-45deg); }
.modal-close:hover { border-color: var(--accent); }

/* ---------- footer ---------- */
.footer { overflow: hidden; padding: clamp(60px, 8vw, 100px) var(--pad) 26px; border-top: 1px solid var(--line); }
.footer-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 28px; margin-bottom: clamp(40px, 6vw, 80px); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 28px; font-family: var(--en); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; }
.footer-nav a { transition: color .3s; }
.footer-nav a:hover { color: var(--accent); }
.footer-word {
  font-family: var(--en); font-weight: 400; font-size: 13.6vw; line-height: .8; letter-spacing: -.05em;
  white-space: nowrap; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(243, 241, 236, .28);
  transition: color 1s var(--ease);
}
.footer-word:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; margin-top: 30px; font-family: var(--en); font-size: 12px; letter-spacing: .1em; color: var(--mute); }
.to-top:hover { color: var(--ink); }

/* ---------- わかりやすさのための追加 ---------- */
.sp { display: none; }
@media (max-width: 700px) { .sp { display: inline; } .pc { display: none; } }
.sec-ja { font-family: var(--ja); letter-spacing: .12em; text-transform: none; color: var(--ink); font-size: 12px; margin-left: 4px; padding-left: 12px; border-left: 1px solid var(--line); }
.ja-title { font-size: clamp(30px, 4.2vw, 60px); font-weight: 700; line-height: 1.4; letter-spacing: .04em; }

/* worries */
.worries-top { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px 48px; margin-bottom: clamp(36px, 5vw, 64px); }
.worries-top > p { color: var(--mute); max-width: 28em; }
.worry-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.worry {
  position: relative; display: flex; flex-direction: column; gap: 18px; min-height: 210px;
  padding: clamp(22px, 2.4vw, 32px); border: 1px solid var(--line); border-radius: 16px; background: var(--bg2);
  transition: transform .6s var(--ease), border-color .4s, background-color .4s, color .4s;
}
/* カーソルを乗せると白い背景に反転する */
.worry:hover { transform: translateY(-6px); border-color: var(--ink); background: var(--ink); color: var(--bg); }
.worry-q::before, .worry-a { transition: color .4s, border-color .4s; }
.worry:hover .worry-q::before { color: rgba(11, 11, 12, .18); }
.worry:hover .worry-a { border-top-color: rgba(11, 11, 12, .14); color: #c26f00; }
.worry:hover .worry-no { color: #c26f00; }
.worry-no { font-family: var(--en); font-size: 12px; letter-spacing: .2em; color: var(--accent); }
.worry-q { flex: 1; font-size: clamp(16px, 1.45vw, 19px); font-weight: 500; line-height: 1.75; }
.worry-q::before { content: "“"; display: block; font-family: var(--en); font-size: 42px; line-height: .6; color: rgba(243, 241, 236, .18); margin-bottom: 6px; }
.worry-a { display: flex; align-items: center; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--accent); letter-spacing: .06em; }
.worries-answer { margin-top: clamp(40px, 5vw, 70px); text-align: center; font-size: clamp(22px, 2.8vw, 38px); font-weight: 700; line-height: 1.6; letter-spacing: .05em; }
.worries-answer b { font-family: var(--en); font-weight: 500; letter-spacing: .12em; color: var(--accent); }
@media (max-width: 1000px) { .worry-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .worry-list { grid-template-columns: 1fr; } .worry { min-height: 0; } }

/* services */
.svc-for { margin-top: 12px; font-size: 13px !important; color: #c9c7c1 !important; line-height: 1.8; }
.svc-for b { display: inline-block; margin-right: 8px; padding: 0 8px; border-radius: 4px; background: rgba(243, 146, 0, .15); color: var(--accent); font-size: 11px; font-weight: 500; letter-spacing: .08em; }
@media (hover: hover) and (min-width: 901px) { .svc:hover .svc-for { color: #3b3935 !important; } }

/* 自社製品 Calme への案内。Calme のローズ色で、他の枠と区別する */
.prod-band {
  display: grid; grid-template-columns: minmax(0, 330px) 1fr; align-items: center; gap: clamp(18px, 3vw, 40px);
  margin-top: clamp(48px, 6vw, 90px); padding: clamp(18px, 2.4vw, 28px);
  border-radius: 20px; background: linear-gradient(120deg, #201a1a, #141416 62%);
  border: 1px solid rgba(204, 153, 153, .34);
  transition: border-color .5s var(--ease), background .5s var(--ease);
}
.prod-band:hover { border-color: rgba(204, 153, 153, .8); background: linear-gradient(120deg, #241c1c, #16161a 62%); }
.prod-band-shot { display: block; overflow: hidden; border-radius: 12px; background: #0f0f10; }
.prod-band-shot img { display: block; width: 100%; height: auto; transition: transform .9s var(--ease); }
.prod-band:hover .prod-band-shot img { transform: scale(1.045); }
.prod-band-body { display: block; }
.prod-band-en { display: block; font-family: var(--en); font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: #cc9999; }
.prod-band-title { display: block; margin-top: 8px; font-size: 14px; letter-spacing: .04em; color: var(--mute); }
.prod-band-title b { display: block; margin-top: 4px; font-size: clamp(26px, 3vw, 40px); font-weight: 700; line-height: 1.25; color: var(--ink); }
.prod-band-sub { display: block; margin-top: 12px; font-size: 14px; line-height: 1.9; color: var(--mute); }
.prod-band-go {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  font-size: 13.5px; letter-spacing: .06em; color: #e2bcbc;
}
.prod-band-go svg { transition: transform .5s var(--ease); }
.prod-band:hover .prod-band-go svg { transform: translateX(5px); }
@media (max-width: 760px) { .prod-band { grid-template-columns: 1fr; } }

/* 途中の相談バナー */
.cta-band {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px 40px;
  margin-top: clamp(48px, 6vw, 90px); padding: clamp(26px, 3.4vw, 48px);
  border-radius: 20px; background: linear-gradient(120deg, #1d1a16, #141416 60%); border: 1px solid rgba(243, 146, 0, .3);
}
.cta-band-en { font-family: var(--en); font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--accent); }
.cta-band-title { margin-top: 6px; font-size: clamp(20px, 2.2vw, 30px); font-weight: 700; line-height: 1.5; }
.cta-band-sub { margin-top: 6px; color: var(--mute); font-size: 14px; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 600px) { .cta-band-actions, .cta-band-actions a { width: 100%; } }

.works-hint { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--accent); }
.works-hint svg { animation: nudge 1.6s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }

.flow-free { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px !important; padding: 8px 16px; border-radius: 999px; background: rgba(243, 146, 0, .12); color: var(--accent) !important; font-size: 13.5px; }

/* faq */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.faq-lead { margin-top: 24px; color: var(--mute); }
.faq-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  position: relative; display: flex; align-items: center; gap: 18px; padding: 24px 48px 24px 0; cursor: pointer; list-style: none;
  font-size: clamp(16px, 1.5vw, 19px); font-weight: 500; line-height: 1.6; transition: color .3s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--accent); }
.qa .q { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); font-family: var(--en); font-size: 15px; color: var(--accent); }
.qa summary i { position: absolute; right: 6px; top: 50%; width: 18px; height: 18px; margin-top: -9px; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 8.5px; height: 1px; background: currentColor; transition: transform .5s var(--ease); }
.qa summary i::after { transform: rotate(90deg); }
.qa[open] summary i::after { transform: rotate(0); }
.qa .a { overflow: hidden; }
.qa .a p { padding: 0 48px 26px 54px; color: #c9c7c1; font-size: 14.5px; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .qa .a p { padding-right: 0; padding-left: 0; } }

/* contact */
.contact-ja { margin-top: 14px; font-size: clamp(16px, 1.6vw, 20px); font-weight: 500; letter-spacing: .1em; }
.assure { display: grid; grid-template-columns: repeat(2, auto); gap: 12px 28px; }
.assure li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.assure svg { flex: none; width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--accent); color: #000; }
@media (max-width: 600px) { .assure { grid-template-columns: 1fr; } }

/* 画面端の相談ボタン */
.float-cta {
  position: fixed; right: 20px; bottom: 20px; z-index: 70; display: flex; align-items: center; gap: 8px;
  transform: translateY(140%); opacity: 0; pointer-events: none; transition: transform .7s var(--ease), opacity .5s;
}
.float-cta.is-shown { transform: none; opacity: 1; pointer-events: auto; }
.float-main, .float-tel {
  display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
  font-size: 14px; font-weight: 500; letter-spacing: .08em; transition: transform .4s var(--ease), background-color .3s;
}
.float-main { padding: 15px 24px; background: var(--accent); color: #000; }
.float-main .dot { background: #000; animation: none; }
.float-main:hover, .float-tel:hover { transform: translateY(-3px); }
.float-tel { padding: 13px 16px; background: var(--ink); color: var(--bg); }
.float-tel span { display: none; }
@media (min-width: 701px) { .float-tel { display: none; } }
@media (max-width: 700px) {
  .float-cta { left: 12px; right: 12px; bottom: 12px; }
  .float-main { flex: 1; justify-content: center; }
  .float-tel span { display: inline; }
  .footer { padding-bottom: 96px; }   /* 下の相談ボタンに最後の行が隠れないように */
}

.footer-nav { font-family: var(--ja); text-transform: none; letter-spacing: .08em; font-size: 13px; }

/* ---------- オープニング画面（白） ---------- */
body.is-intro { overflow: hidden; }
.intro {
  position: fixed; inset: 0; z-index: 120; background: #ffffff; overflow: hidden;
  /* 画面の高さいっぱい（スマホのアドレスバーぶんも考慮） */
  height: 100svh; min-height: 100%;
}
.intro-logo-wrap {
  position: absolute; left: 50%; top: 41%; transform: translate(-50%, -50%);
  width: min(76vw, 560px);
}
.intro-logo { position: relative; width: 100%; aspect-ratio: 607 / 164; }
/* 1文字ずつ、1枚のロゴ画像の一部だけを切り出して置いている */
.ic {
  position: absolute; overflow: hidden;
  left: calc(var(--x) * 100% / 607); top: calc(var(--y) * 100% / 164);
  width: calc(var(--w) * 100% / 607); height: calc(var(--h) * 100% / 164);
  will-change: transform, opacity;
}
/* 後から出てくるロゴマークは、文字より少し控えめな大きさにする */
.ic.is-mark { transform: scale(.9); transform-origin: 50% 50%; }
.ic img {
  position: absolute; max-width: none; display: block;
  width: calc(607 * 100% / var(--w));
  left: calc(var(--x) * -100% / var(--w));
  top: calc(var(--y) * -100% / var(--h));
}
.intro-enter {
  position: absolute; left: 50%; top: 72%; transform: translateX(-50%);
  display: block; padding: 4px 6px 0; border: 0; background: none; cursor: pointer;
  color: #111112; font-family: var(--en); font-weight: 300; line-height: 1.1;
  font-size: clamp(24px, 3.4vw, 38px); letter-spacing: .06em;
  width: min(30vw, 152px);
}
.intro-enter span { display: block; text-align: center; }
.intro-enter svg {
  display: block; width: 100%; height: auto; overflow: visible;
  margin-top: -.26em;          /* 文字との間隔 */
  transform: translateX(9%);   /* 矢印を少し右へ */
}
.intro-enter:hover { color: var(--accent); }
.intro-enter:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
/* オープニング中は、サイト本編の「丸いカーソル」を使わず、ふつうのマウスカーソルを出す */
body.is-intro, body.is-intro * { cursor: auto !important; }
body.is-intro .intro-enter, body.is-intro .intro-enter * { cursor: pointer !important; }
body.is-intro .cursor { display: none !important; }
@media (max-width: 700px) {
  .intro-logo-wrap { width: 76vw; top: 40%; }
  .intro-enter { top: 70%; width: min(36vw, 134px); font-size: clamp(21px, 5.6vw, 28px); }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .grain, .marquee-track, .flow, .dot, .scroll-ind i::after { animation: none !important; }
  .loader { display: none; }
}
