/* =========================================================
   株式会社永利（エイリ） コーポレートサイト
   ========================================================= */

/* ---------- デザインの基本値 ---------- */
:root {
  --ink: #0b0b0e;
  --ink-2: #121217;
  --ink-3: #1a1a21;
  --line: rgba(255, 255, 255, .1);
  --line-2: rgba(255, 255, 255, .2);
  --text: #f3f2ef;
  --muted: #a6a5ae;
  --paper: #f5f3ef;

  --red: #ff2e4d;
  --red-2: #ff6b81;
  --cyan: #2df0e6;
  --violet: #8b7bff;
  --amber: #ffb547;
  --yellow: #ffe14d;
  --holo: linear-gradient(110deg, #ff2e4d, #ff8a3d 16%, #ffe14d 32%, #5dffb0 48%, #2df0e6 62%, #8b7bff 80%, #ff5ecd);

  --ff-en: "Unbounded", "Zen Kaku Gothic New", sans-serif;
  --ff-jp: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", "PingFang SC", "Microsoft YaHei", sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --header-h: 76px;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1240px;
  --radius: 28px;
}

/* ---------- ベース ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
html.is-locked { overflow: hidden; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--ff-jp);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .04em;
  word-break: auto-phrase; /* 日本語を文節で改行（対応ブラウザのみ） */
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 全体にうっすら粒子感 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 150;
  pointer-events: none;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%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");
}

img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { text-wrap: balance; word-break: auto-phrase; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

main { overflow-x: clip; }

.container { width: min(100% - var(--gutter) * 2, var(--maxw)); margin-inline: auto; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip {
  position: fixed; left: 16px; top: -80px; z-index: 300;
  padding: 10px 16px; border-radius: 8px;
  background: var(--text); color: var(--ink); font-weight: 700; text-decoration: none;
}
.skip:focus { top: 16px; }

.i { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i--fill { fill: currentColor; stroke: none; }

@media (max-width: 760px) { br.pc { display: none; } }
.nowrap { white-space: nowrap; }

.badge-new {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--ff-en);
  font-style: normal;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .1em;
  vertical-align: 2px;
}

/* ---------- 読み込み時・スクロール時の出現 ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease), transform 1.2s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

.js [data-hero] {
  opacity: 0;
  translate: 0 24px;
  transition: opacity 1s var(--ease), translate 1.2s var(--ease);
  transition-delay: calc(var(--d, 0) * 120ms + 700ms);
}
.js.is-ready [data-hero] { opacity: 1; translate: 0 0; }

/* ---------- ボタン ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 30px;
  border: 0;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  letter-spacing: .08em;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color .4s var(--ease), transform .5s var(--ease), box-shadow .4s;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--text);
  transform: translateY(101%);
  transition: transform .5s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:hover, .btn:focus-visible { color: var(--ink); }
.btn .i { width: 18px; height: 18px; transition: transform .45s var(--ease); }
.btn:hover .i { transform: translateX(4px); }
.btn--red { box-shadow: 0 14px 40px -12px rgba(255, 46, 77, .8); }
.btn--ghost { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--sm { padding: 12px 20px; font-size: 13px; }
.btn--lg { padding: 22px 40px; font-size: 16px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 6px;
  transition: gap .4s var(--ease), border-color .3s;
}
.link-arrow .i { width: 18px; height: 18px; }
.link-arrow:hover { gap: 18px; border-color: var(--text); }

/* ---------- オープニング ---------- */
.intro { display: none; }
.js .intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--ink);
  animation: introSafety 0s 4.5s forwards;
}
@keyframes introSafety { to { visibility: hidden; } }
.intro__inner { display: flex; flex-direction: column; align-items: center; gap: 26px; }
/* ロゴの枠を、筆で書くように左から現す */
.intro__mark { width: clamp(130px, 20vw, 200px); height: auto; animation: introMark 1.2s var(--ease-io) .1s both; }
.intro__en { width: clamp(150px, 23vw, 230px); height: auto; animation: introUp .9s var(--ease) .7s both; }
@keyframes introMark { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes introUp { from { opacity: 0; transform: translateY(14px); } }
.intro__bar { position: absolute; left: 50%; bottom: 18%; width: 160px; height: 2px; margin-left: -80px; overflow: hidden; background: var(--line-2); }
.intro__bar::after { content: ""; position: absolute; inset: 0; background: var(--red); transform-origin: left; animation: introBar 1.7s var(--ease-io) .1s both; }
@keyframes introBar { from { transform: scaleX(0); } }
.intro__wipe { position: absolute; inset: 0; background: var(--red); transform: translateY(100%); }
.intro.is-out { background: transparent; transition: background 0s .42s; }
.intro.is-out .intro__inner, .intro.is-out .intro__bar { opacity: 0; transition: opacity 0s .42s; }
.intro.is-out .intro__wipe { animation: wipe .95s var(--ease-io) forwards; }
@keyframes wipe {
  0% { transform: translateY(100%); }
  45% { transform: translateY(0); }
  100% { transform: translateY(-100%); }
}

/* ---------- スクロール進捗バー ---------- */
.progress { position: fixed; inset: 0 0 auto; z-index: 60; height: 3px; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--red), var(--yellow), var(--cyan)); transform-origin: left; transform: scaleX(0); }

/* ---------- ヘッダー ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
  padding-inline: var(--gutter);
  border-bottom: 1px solid transparent;
  transition: background-color .4s, border-color .4s, height .4s var(--ease);
}
.js .header {
  opacity: 0;
  translate: 0 -20px;
  transition: opacity .8s var(--ease) .3s, translate .8s var(--ease) .3s, background-color .4s, border-color .4s, height .4s var(--ease);
}
.js.is-ready .header { opacity: 1; translate: 0 0; }
.header.is-scrolled {
  height: 64px;
  background: rgba(11, 11, 14, .72);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom-color: var(--line);
}

/* ロゴ（会社案内のロゴを白で使用。枠のマーク＋英字を横に並べる） */
.logo { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.logo__mark { width: auto; height: 46px; transition: height .4s var(--ease); }
.logo__en { width: auto; height: 10px; opacity: .92; }
.header.is-scrolled .logo__mark { height: 38px; }
@media (max-width: 560px) {
  .logo { gap: 10px; }
  .logo__mark, .header.is-scrolled .logo__mark { height: 36px; }
  .logo__en { height: 8px; }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 46, 77, .6); }
  70% { box-shadow: 0 0 0 10px rgba(255, 46, 77, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 46, 77, 0); }
}

.nav { display: flex; align-items: center; gap: 36px; }
.nav__list { display: flex; gap: 32px; margin: 0; padding: 0; list-style: none; }
.nav__list a { display: inline-flex; align-items: center; font-size: 14px; font-weight: 700; letter-spacing: .1em; text-decoration: none; }

/* 文字が下から入れ替わるホバー */
.roll { display: inline-block; height: 1.5em; overflow: hidden; line-height: 1.5; vertical-align: middle; }
.roll > span { position: relative; display: block; transition: transform .5s var(--ease); }
.roll > span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; color: var(--red); }
a:hover .roll > span, a:focus-visible .roll > span { transform: translateY(-100%); }

.menu-btn {
  display: none;
  place-content: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
}
.menu-btn span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .45s var(--ease); }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
}

/* スマホメニュー（ボタン位置から円形に広がる） */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  background: var(--ink);
  clip-path: circle(0 at calc(100% - var(--gutter) - 24px) 38px);
  visibility: hidden;
  transition: clip-path .75s var(--ease-io), visibility 0s .75s;
}
.drawer.is-open { clip-path: circle(150% at calc(100% - var(--gutter) - 24px) 38px); visibility: visible; transition: clip-path .75s var(--ease-io), visibility 0s; }
.drawer__list { margin: 0; padding: 0; list-style: none; }
.drawer__list li { opacity: 0; translate: 0 30px; transition: opacity .6s var(--ease), translate .8s var(--ease); }
.drawer.is-open .drawer__list li { opacity: 1; translate: 0 0; transition-delay: calc(.2s + var(--n) * .06s); }
.drawer__list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: clamp(26px, 7vw, 40px); font-weight: 900; line-height: 1.3; text-decoration: none; }
.drawer__list small { display: block; margin-bottom: 4px; font-family: var(--ff-en); font-size: 11px; font-weight: 700; letter-spacing: .24em; color: var(--red); }
.drawer__foot { margin: 40px 0 0; font-family: var(--ff-en); font-size: 10px; letter-spacing: .24em; color: var(--muted); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: calc(var(--header-h) + 40px) 0 130px;
  overflow: clip;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
/* 背景の写真（左：東京／右：上海）。文字が読めるよう暗く重ねる */
.hero__photos { position: absolute; inset: 0; overflow: hidden; }
.hero__photo { position: absolute; top: 0; bottom: 0; width: 60%; background-position: center; background-size: cover; animation: heroZoom 26s ease-in-out infinite alternate; }
.hero__photo--tokyo { left: 0; background-image: url("../img/photos/tokyo.webp"); -webkit-mask-image: linear-gradient(90deg, #000 58%, transparent); mask-image: linear-gradient(90deg, #000 58%, transparent); }
.hero__photo--shanghai { right: 0; background-image: url("../img/photos/shanghai.webp"); -webkit-mask-image: linear-gradient(270deg, #000 58%, transparent); mask-image: linear-gradient(270deg, #000 58%, transparent); animation-delay: -13s; }
.hero__photos::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 11, 14, .82) 0%, rgba(11, 11, 14, .7) 50%, rgba(11, 11, 14, .5) 100%), linear-gradient(180deg, rgba(11, 11, 14, .4) 0%, transparent 28%, rgba(11, 11, 14, .95) 100%); }
@keyframes heroZoom { to { transform: scale(1.08); } }
@media (max-width: 980px) {
  .hero__photo { left: 0; right: 0; width: auto; height: 58%; }
  .hero__photo--tokyo { top: 0; bottom: auto; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
  .hero__photo--shanghai { top: auto; bottom: 0; -webkit-mask-image: linear-gradient(0deg, #000 55%, transparent); mask-image: linear-gradient(0deg, #000 55%, transparent); }
  .hero__photos::after { background: linear-gradient(180deg, rgba(11, 11, 14, .82) 0%, rgba(11, 11, 14, .78) 50%, rgba(11, 11, 14, .6) 75%, rgba(11, 11, 14, .95) 100%); }
}
.glow { position: absolute; border-radius: 50%; will-change: transform; }
.glow--red { left: -14vw; top: -18vw; width: 56vw; height: 56vw; background: radial-gradient(circle, rgba(255, 46, 77, .55), rgba(255, 46, 77, 0) 62%); animation: drift1 16s var(--ease-io) infinite alternate; }
.glow--cyan { right: -12vw; bottom: -22vw; width: 50vw; height: 50vw; background: radial-gradient(circle, rgba(45, 240, 230, .28), rgba(45, 240, 230, 0) 62%); animation: drift2 19s var(--ease-io) infinite alternate; }
@keyframes drift1 { to { transform: translate(10vw, 8vh) scale(1.1); } }
@keyframes drift2 { to { transform: translate(-8vw, -10vh) scale(1.15); } }
.hero__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse at 65% 45%, #000 0%, transparent 68%);
  mask-image: radial-gradient(ellipse at 65% 45%, #000 0%, transparent 68%);
  opacity: .45;
}
.hero__outline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5vh;
  font-family: var(--ff-en);
  font-size: clamp(80px, 14vw, 220px);
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .09);
}
.hero__outline .i { width: .5em; height: .5em; color: rgba(255, 255, 255, .06); }

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: 40px;
}
/* 最新トピックの告知 */
.hero__news {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  padding: 7px 16px 7px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .04em;
  text-decoration: none;
  transition: border-color .3s, background-color .3s;
}
.hero__news:hover { border-color: #66ccff; background: rgba(102, 204, 255, .1); }
.hero__news-tag { padding: 2px 8px; border-radius: 999px; background: #66ccff; color: var(--ink); font-family: var(--ff-en); font-size: 10px; letter-spacing: .1em; }
.hero__news .i { width: 15px; height: 15px; transition: transform .4s var(--ease); }
.hero__news:hover .i { transform: translateX(4px); }
.live-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--red); animation: pulse 1.6s infinite; }

.hero__title {
  margin: 0;
  font-size: clamp(34px, 10.4vw, 88px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: .01em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title em { font-style: normal; }
.char { display: inline-block; transform: translateY(115%); transition: transform 1s var(--ease); transition-delay: calc(var(--ci) * 50ms + 150ms); }
.is-ready .char { transform: none; }

.hl-red { color: var(--red); }
.glitch { display: inline-block; animation: glitch 6s steps(1) 3s infinite; }
@keyframes glitch {
  0%, 90%, 100% { text-shadow: none; transform: none; }
  91% { text-shadow: -3px 0 var(--cyan), 3px 0 #fff; transform: translateX(2px); }
  93% { text-shadow: 3px 0 var(--cyan), -3px 0 var(--yellow); transform: translateX(-2px); }
  95% { text-shadow: -2px 0 var(--cyan); transform: none; }
}
.hl-mark { position: relative; display: inline-block; isolation: isolate; }
.hl-mark::after {
  content: "";
  position: absolute;
  left: -.04em;
  right: -.04em;
  bottom: .1em;
  z-index: -1;
  height: .28em;
  background: var(--cyan);
  opacity: .55;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .9s var(--ease) 1.2s;
}
.is-ready .hl-mark::after { transform: scaleX(1); }

.hero__lead { max-width: 34em; margin: 30px 0 0; color: var(--muted); }
.hero__lead strong { color: var(--text); font-weight: 700; font-size: 1.12em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

@media (min-width: 981px) {
  .hero__title { font-size: clamp(48px, 5.4vw, 80px); }
}
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 48px; }
}
@media (max-width: 480px) {
  .hero__news { gap: 8px; padding-inline: 10px 12px; font-size: 12px; letter-spacing: 0; }
  .hero__cta .btn { flex: 1 1 auto; padding-inline: 22px; }
}
.hero__stage-wrap { min-width: 0; }

.hero__scroll {
  position: absolute;
  left: var(--gutter);
  bottom: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-en);
  font-size: 10px;
  letter-spacing: .3em;
  color: var(--muted);
  text-decoration: none;
  writing-mode: vertical-rl;
}
.hero__scroll i { position: relative; width: 1px; height: 56px; overflow: hidden; background: var(--line-2); }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: var(--red); animation: scrollLine 1.8s var(--ease-io) infinite; }
@keyframes scrollLine { to { top: 100%; } }
@media (max-width: 980px) { .hero__scroll { display: none; } }

/* ---------- HERO：スマホの演出 ---------- */
.hero__stage { position: relative; width: 560px; height: 600px; margin-inline: auto; zoom: var(--k, .8); }

.float { position: absolute; opacity: 0; translate: 0 60px; transition: opacity 1s var(--ease), translate 1.4s var(--ease); will-change: transform; }
.is-ready .float { opacity: 1; translate: 0 0; }
.float--note { left: 0; top: 70px; z-index: 1; transition-delay: .45s; }
.float--live { left: 155px; top: 10px; z-index: 3; transition-delay: .25s; }
.float--short { left: 310px; top: 50px; z-index: 2; transition-delay: .6s; }

.phone {
  position: relative;
  width: 250px;
  height: 520px;
  padding: 9px;
  border-radius: 44px;
  background: linear-gradient(150deg, #34343d, #0d0d11 40%, #1d1d24);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 50px 90px -30px rgba(0, 0, 0, .9), 0 0 70px -12px var(--glow, rgba(255, 46, 77, .45));
  animation: bob 7s ease-in-out infinite;
}
.phone::before { content: ""; position: absolute; top: 19px; left: 50%; z-index: 10; width: 76px; height: 22px; margin-left: -38px; border-radius: 999px; background: #000; }
.float--note .phone { rotate: -8deg; scale: .86; --glow: rgba(255, 255, 255, .1); animation-delay: -2.4s; }
.float--short .phone { rotate: 7deg; scale: .86; --glow: rgba(45, 240, 230, .35); animation-delay: -4.8s; }
@keyframes bob { 50% { translate: 0 -16px; } }

.screen { position: relative; height: 100%; overflow: hidden; border-radius: 35px; background: #111; isolation: isolate; font-size: 11px; line-height: 1.35; letter-spacing: 0; }

/* 小紅書風 */
.screen--note { background: #f4f4f4; color: #222; }
.note-top { position: absolute; inset: 0 0 auto; z-index: 2; display: flex; justify-content: center; gap: 22px; padding: 48px 0 10px; background: #fff; color: #9a9a9a; font-size: 12px; font-weight: 700; }
.note-top b { position: relative; color: #222; }
.note-top b::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 18px; height: 2px; margin-left: -9px; border-radius: 2px; background: #ff2442; }
.note-feed { position: absolute; inset: 86px 0 0; display: flex; gap: 6px; padding: 0 6px; overflow: hidden; }
.note-col { flex: 1; display: flex; flex-direction: column; gap: 6px; animation: feed 26s linear infinite; }
.note-col--b { animation-duration: 33s; }
@keyframes feed { to { transform: translateY(calc(-50% - 3px)); } }
.note { overflow: hidden; border-radius: 8px; background: #fff; }
.note > i { display: block; height: var(--h, 110px); background: var(--g); }
.note p { margin: 0; padding: 6px 7px 3px; font-size: 10px; font-weight: 700; }
.note small { display: flex; justify-content: space-between; align-items: center; padding: 0 7px 7px; font-size: 9px; color: #999; }
.note small span { display: inline-flex; align-items: center; gap: 3px; }
.note small u { width: 12px; height: 12px; border-radius: 50%; background: var(--a, #ddd); }
.note small .i { width: 10px; height: 10px; }

/* ライブコマース */
.screen--live { color: #fff; cursor: pointer; }
.live-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 50% 30%, #ffb3c1 0%, #ff4d6d 30%, #a3123a 62%, #2c0612 100%); }
.live-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 68%, rgba(255, 255, 255, .2) 0 10px, transparent 11px),
    radial-gradient(circle at 84% 56%, rgba(255, 255, 255, .14) 0 14px, transparent 15px),
    radial-gradient(circle at 12% 30%, rgba(255, 255, 255, .12) 0 7px, transparent 8px),
    radial-gradient(circle at 90% 24%, rgba(255, 255, 255, .12) 0 6px, transparent 7px);
}
.ringlight { position: absolute; top: 72px; left: 50%; width: 176px; height: 176px; margin-left: -88px; border: 9px solid #fff4ef; border-radius: 50%; box-shadow: 0 0 36px 6px rgba(255, 236, 228, .75), inset 0 0 26px rgba(255, 236, 228, .7); animation: ring 3s ease-in-out infinite; }
@keyframes ring { 50% { box-shadow: 0 0 52px 10px rgba(255, 236, 228, .9), inset 0 0 32px rgba(255, 236, 228, .85); } }
.streamer { position: absolute; left: 50%; top: 104px; width: 176px; height: 400px; margin-left: -88px; filter: drop-shadow(0 0 8px rgba(255, 205, 218, .55)); }
.streamer i { position: absolute; left: 50%; display: block; background: linear-gradient(180deg, #3a1526, #16070e); }
.streamer__hair { top: 0; width: 92px; height: 112px; margin-left: -46px; border-radius: 46px 46px 30px 30px; }
.streamer__head { top: 16px; width: 62px; height: 76px; margin-left: -31px; border-radius: 31px 31px 28px 28px; background: linear-gradient(180deg, #4d2033, #200a14) !important; box-shadow: inset 0 4px 10px rgba(255, 220, 230, .25); }
.streamer__body { top: 100px; width: 176px; height: 300px; margin-left: -88px; border-radius: 84px 84px 0 0; box-shadow: inset 0 6px 16px rgba(255, 220, 230, .2); }
.product {
  position: absolute;
  left: 57%;
  top: 252px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 90px;
  border-radius: 12px 12px 10px 10px;
  background: linear-gradient(90deg, #ffd9e2, #fff 42%, #ffc2cf);
  box-shadow: 0 12px 20px rgba(0, 0, 0, .35);
  rotate: 8deg;
  animation: productShow 4s ease-in-out infinite;
}
.product::before { content: ""; position: absolute; top: -16px; left: 50%; width: 26px; height: 18px; margin-left: -13px; border-radius: 5px 5px 2px 2px; background: #222; }
.product b { font-family: var(--ff-en); font-size: 6px; line-height: 1.3; letter-spacing: .06em; color: var(--red); text-align: center; }
@keyframes productShow { 50% { rotate: -4deg; translate: 0 -6px; } }

.live-top { position: absolute; top: 48px; left: 10px; right: 10px; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.live-host { display: inline-flex; align-items: center; gap: 5px; padding: 3px 4px 3px 3px; border-radius: 999px; background: rgba(0, 0, 0, .35); font-size: 9px; }
.live-host i { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--yellow), var(--red)); }
.live-host em { padding: 3px 7px; border-radius: 999px; background: var(--red); font-style: normal; font-weight: 700; }
.live-meta { display: inline-flex; align-items: center; gap: 4px; }
.badge-live { padding: 3px 6px; border-radius: 5px; background: var(--red); font-family: var(--ff-en); font-size: 8px; font-weight: 700; letter-spacing: .1em; }
.viewers { display: inline-flex; align-items: center; gap: 3px; padding: 3px 7px; border-radius: 999px; background: rgba(0, 0, 0, .35); font-family: var(--ff-en); font-size: 8px; font-weight: 700; }
.viewers .i { width: 10px; height: 10px; }

.comments { position: absolute; left: 10px; bottom: 84px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; width: 72%; margin: 0; padding: 0; list-style: none; }
.comments li { max-width: 100%; padding: 5px 10px; border-radius: 12px; background: rgba(0, 0, 0, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 10px; animation: commentIn .45s var(--ease) both; }
.comments b { margin-right: 6px; color: #ffd0da; }
@keyframes commentIn { from { opacity: 0; transform: translateY(12px) scale(.96); } }

.hearts { position: absolute; right: 12px; bottom: 84px; z-index: 3; width: 60px; height: 280px; pointer-events: none; }
.heart { position: absolute; bottom: 0; left: 50%; width: var(--sz, 22px); height: var(--sz, 22px); margin-left: calc(var(--sz, 22px) / -2); color: var(--c); animation: heartUp var(--dur, 2.6s) cubic-bezier(.3, .7, .4, 1) forwards; }
.heart svg { width: 100%; height: 100%; fill: currentColor; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .25)); }
@keyframes heartUp {
  0% { opacity: 0; transform: translate(0, 0) scale(.3); }
  12% { opacity: 1; transform: translate(calc(var(--dx) * .2), -24px) scale(1.1); }
  100% { opacity: 0; transform: translate(var(--dx), -260px) scale(.8) rotate(var(--r, 0deg)); }
}

.buy { position: absolute; left: 10px; right: 10px; bottom: 14px; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 7px; border-radius: 16px; background: rgba(255, 255, 255, .96); color: #111; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); animation: buyPulse 3.2s ease-in-out infinite; }
.buy__thumb { width: 40px; height: 40px; flex: none; border-radius: 10px; background: radial-gradient(circle at 50% 35%, #fff 0 8px, transparent 9px), linear-gradient(135deg, #ffd6de, #ff2e4d); }
.buy__txt { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.buy__txt b { font-size: 11px; }
.buy__txt small { font-family: var(--ff-en); font-size: 11px; font-weight: 700; color: var(--red); }
.buy__btn { padding: 7px 12px; border-radius: 999px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; }
@keyframes buyPulse { 50% { transform: scale(1.03); box-shadow: 0 14px 34px rgba(255, 46, 77, .45); } }

.tap-hint { position: absolute; left: 50%; bottom: -14px; z-index: 5; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--text); color: var(--ink); font-family: var(--ff-en); font-size: 10px; font-weight: 700; letter-spacing: .14em; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .6); translate: -50% 0; animation: hint 2.4s ease-in-out infinite; pointer-events: none; }
.tap-hint .i { width: 12px; height: 12px; color: var(--red); }
@keyframes hint { 50% { translate: -50% -5px; } }

/* ショート動画 */
.screen--short { color: #fff; background: #000; }
.short-scene { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: linear-gradient(180deg, #1c1445 0%, #5a2a8a 38%, #ff6a88 72%, #ffb199 100%); transform-origin: 50% 60%; animation: kenburns 12s ease-in-out infinite alternate; }
@keyframes kenburns { to { transform: scale(1.12); } }
.short-sun { position: absolute; left: 50%; top: 40%; width: 124px; height: 124px; margin-left: -62px; border-radius: 50%; background: radial-gradient(circle, #fff6d5 0%, #ffd27a 45%, rgba(255, 160, 120, 0) 70%); }
.short-fuji { position: absolute; left: -20%; right: -20%; bottom: 26%; height: 34%; background: linear-gradient(180deg, #4b2f73, #22163d); clip-path: polygon(0 100%, 40% 10%, 46% 3%, 54% 3%, 60% 10%, 100% 100%); }
.short-fuji::after { content: ""; position: absolute; inset: 0; background: #f4f0ff; clip-path: polygon(40% 10%, 46% 3%, 54% 3%, 60% 10%, 57% 19%, 53.5% 14%, 50% 21%, 46.5% 14%, 43% 19%); }
.short-city { position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(180deg, #140d26, #07040f); clip-path: polygon(0 38%, 7% 38%, 7% 20%, 14% 20%, 14% 48%, 20% 48%, 20% 8%, 25% 8%, 25% 40%, 33% 40%, 33% 26%, 40% 26%, 40% 55%, 46% 55%, 46% 0, 50% 0, 50% 30%, 58% 30%, 58% 46%, 65% 46%, 65% 14%, 72% 14%, 72% 36%, 80% 36%, 80% 22%, 88% 22%, 88% 44%, 100% 44%, 100% 100%, 0 100%); }
.short-city::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255, 214, 140, .85) 0 1px, transparent 1.5px); background-size: 9px 11px; opacity: .6; }
.short-top { position: absolute; top: 48px; left: 0; right: 0; display: flex; justify-content: center; gap: 16px; font-size: 12px; font-weight: 700; color: rgba(255, 255, 255, .65); }
.short-top b { color: #fff; }
.short-text { position: absolute; left: 16px; top: 104px; margin: 0; font-size: 30px; font-weight: 900; line-height: 1.05; letter-spacing: .02em; text-shadow: 0 4px 18px rgba(0, 0, 0, .35); }
.short-text small { display: inline-block; margin-top: 8px; padding: 3px 8px; border-radius: 6px; background: var(--yellow); color: var(--ink); font-family: var(--ff-en); font-size: 11px; letter-spacing: .1em; text-shadow: none; }
.short-actions { position: absolute; right: 8px; bottom: 92px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.short-actions > span { display: flex; flex-direction: column; align-items: center; gap: 2px; font-family: var(--ff-en); font-size: 8px; font-weight: 700; }
.short-actions .i { width: 26px; height: 26px; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .35)); }
.short-like .i { color: var(--red); }
.short-like.is-pop .i { animation: likePop .5s var(--ease); }
@keyframes likePop { 40% { transform: scale(1.35); } }
.short-avatar { position: relative; width: 38px; height: 38px; margin-bottom: 6px; border: 2px solid #fff; border-radius: 50%; background: linear-gradient(135deg, var(--yellow), var(--red)); }
.short-avatar em { position: absolute; left: 50%; bottom: -9px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--red); font-style: normal; font-size: 12px; line-height: 16px; text-align: center; }
.short-disc { width: 30px; height: 30px; border: 6px solid #111; border-radius: 50%; background: conic-gradient(#222, #666, #222, #666, #222); animation: spin 4s linear infinite; }
.short-caption { position: absolute; left: 12px; right: 58px; bottom: 22px; }
.short-caption b { font-size: 12px; }
.short-caption p { margin: 3px 0 0; font-size: 10px; opacity: .92; }
.short-music { display: flex; align-items: center; gap: 4px; overflow: hidden; white-space: nowrap; }
.short-music .i { width: 11px; height: 11px; }
.short-music span { display: inline-block; animation: ticker 7s linear infinite; }
@keyframes ticker { from { transform: translateX(40%); } to { transform: translateX(-100%); } }
.short-progress { position: absolute; left: 10px; right: 10px; bottom: 8px; height: 2px; overflow: hidden; border-radius: 2px; background: rgba(255, 255, 255, .25); }
.short-progress i { display: block; height: 100%; background: #fff; transform-origin: left; animation: prog 8s linear infinite; }
@keyframes prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* 通知 */
.toast {
  position: absolute;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 9px;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: rgba(22, 22, 28, .8);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 40px -16px rgba(0, 0, 0, .7);
  font-size: 13px;
  line-height: 1.3;
  letter-spacing: .02em;
  white-space: nowrap;
  animation: toast 9s var(--ease) var(--delay, 0s) infinite both;
  animation-play-state: paused;
}
.is-ready .toast { animation-play-state: running; }
.toast__ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; color: var(--c); background: rgba(255, 255, 255, .08); background: color-mix(in srgb, var(--c) 18%, transparent); }
.toast__ic .i { width: 17px; height: 17px; }
.toast--1 { left: -6px; top: 36px; --delay: .8s; }
.toast--2 { right: -18px; top: 236px; --delay: 3s; }
.toast--3 { left: 14px; bottom: 58px; --delay: 5.2s; }
.toast--4 { right: 0; top: -6px; --delay: 7.4s; }
@keyframes toast {
  0% { opacity: 0; transform: translateY(16px) scale(.92); }
  6%, 30% { opacity: 1; transform: none; }
  38%, 100% { opacity: 0; transform: translateY(-12px) scale(.96); }
}

/* 画面外では常時アニメーションを止める */
.hero.is-paused *, .hero.is-paused *::before, .hero.is-paused *::after { animation-play-state: paused !important; }

/* ---------- 流れる帯 ---------- */
.marquee { overflow: hidden; white-space: nowrap; }
.marquee__track { display: flex; align-items: center; width: max-content; will-change: transform; }
.marquee__track > * { flex: none; margin-right: .55em; }

.tape { position: relative; z-index: 3; height: clamp(170px, 22vw, 300px); margin-top: -80px; pointer-events: none; }
.tape__row {
  position: absolute;
  left: -6%;
  right: -6%;
  top: 50%;
  padding: .5em 0;
  font-family: var(--ff-en);
  font-size: clamp(22px, 3.4vw, 48px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: .02em;
}
.tape__row--red { z-index: 2; background: var(--red); color: #fff; transform: translateY(-50%) rotate(-4deg); box-shadow: 0 24px 60px -24px rgba(255, 46, 77, .8); }
.tape__row--light { z-index: 1; background: var(--paper); color: var(--ink); transform: translateY(-50%) rotate(3deg); }
.tape__row .i { width: .62em; height: .62em; }
.tape__row--red .i { color: var(--yellow); }
.tape__row--light .i { color: var(--red); }

/* ---------- セクション共通 ---------- */
.section { position: relative; padding-block: clamp(96px, 13vw, 180px); }
.sec-head { max-width: 780px; }
.sec-label { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; font-family: var(--ff-en); font-size: 12px; font-weight: 700; letter-spacing: .26em; }
.sec-label::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--red); box-shadow: 0 0 18px var(--red); }
.sec-label--ink { color: var(--ink); }
.sec-title { margin: 0; font-size: clamp(34px, 5.4vw, 72px); font-weight: 900; line-height: 1.22; letter-spacing: .02em; }
.sec-lead { max-width: 40em; margin: 28px 0 0; color: var(--muted); }

/* ---------- SERVICE（重なっていくカード） ---------- */
.service { padding-top: clamp(64px, 9vw, 120px); }
.stack { display: flex; flex-direction: column; gap: 28px; margin-top: clamp(48px, 7vw, 88px); }
.card {
  --accent: var(--red);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(28px, 4.4vw, 60px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-2);
  isolation: isolate;
  transform-origin: 50% 0;
  transform: scale(calc(1 - var(--p, 0) * .06));
}
.card::before {
  content: "";
  position: absolute;
  top: -240px;
  right: -180px;
  z-index: -1;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent), transparent 62%);
  opacity: .24;
}
.card::after { content: ""; position: absolute; inset: 0; z-index: 5; border-radius: inherit; background: #000; opacity: calc(var(--p, 0) * .6); pointer-events: none; }
.card__spot { position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .07), transparent 60%); opacity: 0; transition: opacity .4s; }
.card:hover .card__spot { opacity: 1; }

@media (min-width: 1000px) and (min-height: 760px) {
  .card { position: sticky; top: calc(var(--header-h) + 8px + var(--i) * 16px); min-height: min(580px, calc(100svh - 140px)); }
}
@media (max-width: 860px) {
  .card { grid-template-columns: 1fr; }
}

.card__num { display: block; margin-bottom: 20px; font-family: var(--ff-en); font-size: clamp(64px, 8vw, 116px); font-weight: 900; line-height: .9; color: transparent; -webkit-text-stroke: 1.5px var(--accent); }
.card__en { margin: 0 0 8px; font-family: var(--ff-en); font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--accent); }
.card__title { margin: 0 0 16px; font-size: clamp(26px, 3vw, 40px); font-weight: 900; line-height: 1.3; }
.card__desc { margin: 0; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.tags li { padding: 5px 12px; border: 1px solid rgba(255, 255, 255, .2); border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--accent) 10%, transparent); font-size: 12px; font-weight: 700; line-height: 1.6; }

.card__list { margin: 0; padding: 0; list-style: none; counter-reset: item; }
.card__list li { position: relative; padding: 12px 0 12px 44px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.7; transition: padding .4s var(--ease), color .3s; }
.card__list li:first-child { border-top: 1px solid var(--line); }
.card__list li::before { counter-increment: item; content: counter(item, decimal-leading-zero); position: absolute; left: 0; top: 16px; font-family: var(--ff-en); font-size: 11px; font-weight: 700; color: var(--accent); }
.card__list li:hover { padding-left: 54px; color: #fff; }

.dirs { display: grid; gap: 16px; }
.dir { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255, 255, 255, .02); transition: border-color .4s, background .4s; }
.dir:hover { border-color: color-mix(in srgb, var(--accent) 60%, transparent); background: color-mix(in srgb, var(--accent) 7%, transparent); }
.dir__route { display: flex; align-items: center; gap: 12px; margin: 0 0 8px; font-family: var(--ff-en); font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--accent); }
.dir__route .i { width: 16px; height: 16px; animation: nudge 1.6s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }
.dir h4 { margin: 0 0 14px; font-size: 18px; font-weight: 900; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .07); font-size: 13px; font-weight: 700; }

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tiles--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile { display: flex; flex-direction: column; gap: 16px; padding: 24px 20px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255, 255, 255, .02); transition: transform .5s var(--ease), border-color .4s, background .4s; }
.tile:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent) 60%, transparent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.tile .i { width: 30px; height: 30px; color: var(--accent); }
.tile b { font-size: 16px; font-weight: 900; line-height: 1.5; }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } }

.card__ip { display: grid; gap: 16px; justify-items: start; }
.card__ip .tiles { width: 100%; }
.card__ip .link-arrow { margin-top: 8px; }

/* 事業カード内の洛天依 */
.ip-feature {
  position: relative;
  display: grid;
  gap: 6px;
  width: 100%;
  padding: 22px 24px;
  overflow: hidden;
  border-radius: 20px;
  background: radial-gradient(circle at 85% 20%, rgba(255, 255, 255, .35), transparent 45%), linear-gradient(135deg, #66ccff, #3d8bff 60%, #2d4fd8);
  box-shadow: 0 20px 40px -18px rgba(102, 204, 255, .7);
  color: #fff;
  text-decoration: none;
  transition: transform .5s var(--ease), box-shadow .4s;
}
.ip-feature:hover { transform: translateY(-4px); box-shadow: 0 28px 50px -18px rgba(102, 204, 255, .9); }
.ip-feature__tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--ff-en); font-size: 10px; font-weight: 700; letter-spacing: .2em; }
.ip-feature__name { font-size: clamp(18px, 1.8vw, 22px); font-weight: 900; line-height: 1.4; }
.ip-feature .eq { position: absolute; right: 22px; bottom: 22px; }

/* 音楽のイコライザー */
.eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 24px; }
.eq i { display: block; width: 4px; height: 100%; border-radius: 2px; background: currentColor; transform-origin: 50% 100%; animation: eq 1.2s ease-in-out infinite; }
.eq i:nth-child(2) { animation-duration: .9s; animation-delay: -.4s; }
.eq i:nth-child(3) { animation-duration: 1.4s; animation-delay: -.2s; }
.eq i:nth-child(4) { animation-duration: 1s; animation-delay: -.7s; }
.eq i:nth-child(5) { animation-duration: 1.3s; animation-delay: -.5s; }
.eq i:nth-child(6) { animation-duration: .8s; animation-delay: -.1s; }
.eq i:nth-child(7) { animation-duration: 1.1s; animation-delay: -.6s; }
@keyframes eq { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
.eq--lg { height: 44px; gap: 5px; }
.eq--lg i { width: 6px; border-radius: 3px; }

.card--ip { border: 1.5px solid transparent; background: linear-gradient(var(--ink-2), var(--ink-2)) padding-box, var(--holo) border-box; }
.card--ip::before {
  background: conic-gradient(from 0deg, #ff2e4d, #ffe14d, #2df0e6, #8b7bff, #ff2e4d);
  -webkit-mask-image: radial-gradient(circle, #000, transparent 65%);
  mask-image: radial-gradient(circle, #000, transparent 65%);
  opacity: .3;
  animation: spin 14s linear infinite;
}
.burst { position: absolute; top: clamp(20px, 3vw, 36px); right: clamp(20px, 3vw, 36px); z-index: 2; display: grid; place-items: center; width: 96px; height: 96px; color: var(--ink); font-family: var(--ff-en); font-size: 15px; font-weight: 900; letter-spacing: .04em; rotate: 12deg; isolation: isolate; }
.burst::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--yellow);
  clip-path: polygon(50% 0%, 60.87% 9.43%, 75% 6.7%, 79.7% 20.3%, 93.3% 25%, 90.57% 39.13%, 100% 50%, 90.57% 60.87%, 93.3% 75%, 79.7% 79.7%, 75% 93.3%, 60.87% 90.57%, 50% 100%, 39.13% 90.57%, 25% 93.3%, 20.3% 79.7%, 6.7% 75%, 9.43% 60.87%, 0% 50%, 9.43% 39.13%, 6.7% 25%, 20.3% 20.3%, 25% 6.7%, 39.13% 9.43%);
  animation: spin 12s linear infinite;
}
@keyframes spin { to { rotate: 360deg; } }

/* ---------- IP BUSINESS ---------- */
.ip {
  position: relative;
  z-index: 1;
  margin-inline: clamp(0px, 1.2vw, 16px);
  padding-block: clamp(110px, 14vw, 190px) clamp(80px, 10vw, 140px);
  overflow: clip;
  border-radius: clamp(28px, 5vw, 64px);
  color: var(--ink);
  isolation: isolate;
}
.ip__bg { position: absolute; inset: 0; z-index: -2; background: linear-gradient(120deg, #ffd6e4, #d6f3ff 22%, #eadcff 44%, #fff3c4 66%, #d3ffe8 88%, #ffd6e4); background-size: 400% 400%; animation: holoBg 18s ease-in-out infinite alternate; }
.ip__bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255, 255, 255, .95) 0 1.2px, transparent 2px); background-size: 28px 28px; opacity: .55; -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%); mask-image: linear-gradient(180deg, #000, transparent 75%); }
@keyframes holoBg { to { background-position: 100% 50%; } }

.ip__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; }
.ip__title { margin: 0; font-size: clamp(36px, 6vw, 84px); font-weight: 900; line-height: 1.18; letter-spacing: .01em; }
.holo-text { background: linear-gradient(100deg, #ff2e4d, #ff6a00, #e0a800, #00b37a, #0096d6, #6a4cff, #e0287a, #ff2e4d); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: holoText 6s linear infinite; }
@keyframes holoText { to { background-position: 200% 0; } }
.ip__lead { max-width: 44em; margin: 36px 0 0; color: #33333d; }

.ip__badge { position: relative; width: 170px; height: 170px; }
.ip__badge svg { width: 100%; height: 100%; animation: spin 18s linear infinite; }
.ip__badge text { font-family: var(--ff-en); font-size: 14px; font-weight: 700; fill: var(--ink); }
.ip__badge > span { position: absolute; inset: 0; display: grid; place-items: center; width: 88px; height: 88px; margin: auto; border-radius: 50%; background: var(--ink); color: var(--yellow); font-family: var(--ff-en); font-size: 18px; font-weight: 900; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .4); }

.deco { position: absolute; z-index: -1; display: grid; place-items: center; padding: 10px 18px; border: 4px solid #fff; border-radius: 16px; background: var(--c); color: #fff; font-size: clamp(14px, 1.5vw, 19px); font-weight: 900; letter-spacing: .06em; box-shadow: 0 16px 30px -12px rgba(70, 30, 110, .45); rotate: var(--r); animation: floaty 6s ease-in-out var(--dl, 0s) infinite; }
.deco .i { width: 26px; height: 26px; }
.deco--1 { --c: #ff2e4d; --r: -10deg; top: 150px; right: 30%; }
.deco--2 { --c: #7a5cff; --r: 8deg; top: 470px; right: 6%; --dl: -2s; }
.deco--3 { --c: #ff5ecd; --r: -6deg; right: 3%; bottom: 56px; padding: 12px; border-radius: 50%; --dl: -3s; }
.deco--4 { --c: #ffc400; --r: 14deg; top: 120px; left: 44%; padding: 12px; border-radius: 50%; --dl: -1s; }
@keyframes floaty { 50% { translate: 0 -12px; } }
@media (max-width: 860px) { .deco--1, .deco--2 { display: none; } .deco--3 { right: 5%; bottom: 14px; } .ip__head { grid-template-columns: 1fr; } .ip__badge { width: 130px; height: 130px; justify-self: end; margin-top: -24px; } .ip__badge > span { width: 68px; height: 68px; font-size: 15px; } }

/* PROJECT 01：洛天依（代表色の天依ブルー #66CCFF を使用） */
.tianyi {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  margin-top: clamp(48px, 6vw, 80px);
  overflow: hidden;
  border: 1px solid #fff;
  border-radius: 28px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 40px 80px -30px rgba(40, 80, 160, .45);
}
.tianyi__visual {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, .55), transparent 42%),
    radial-gradient(circle at 80% 92%, rgba(122, 92, 255, .55), transparent 50%),
    linear-gradient(160deg, #66ccff 0%, #3d8bff 58%, #2d4fd8 100%);
  isolation: isolate;
}
.tianyi__visual::before {
  content: "";
  position: absolute;
  inset: -40%;
  z-index: -1;
  background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(255, 255, 255, .1) 0 6deg, transparent 6deg 18deg);
  animation: spin 50s linear infinite;
}
.tianyi__color { position: absolute; top: 24px; left: 24px; padding: 4px 10px; border-radius: 999px; background: #fff; color: #2d6fd8; font-family: var(--ff-en); font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.tianyi__kanji { position: absolute; top: 22px; right: 20px; writing-mode: vertical-rl; font-size: clamp(64px, 8vw, 116px); font-weight: 900; line-height: 1; letter-spacing: .06em; color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .8); }
.tianyi__kanji { z-index: 2; }
/* 歌声の波形（1波長=150の波を150ずつ横に流してループ） */
.tianyi__wave { position: absolute; left: 0; top: 50%; z-index: 1; width: 100%; height: 120px; margin-top: -60px; overflow: visible; }
.tianyi__wave path { fill: none; stroke: rgba(255, 255, 255, .9); stroke-width: 2.5; vector-effect: non-scaling-stroke; animation: wave 3s linear infinite; }
.tianyi__wave .tianyi__wave-2 { stroke: rgba(255, 255, 255, .4); stroke-width: 1.5; animation-duration: 4.6s; }
@keyframes wave { to { transform: translateX(-150px); } }
.tianyi__label { position: absolute; left: 24px; bottom: 112px; font-family: var(--ff-en); font-size: 11px; font-weight: 700; letter-spacing: .3em; opacity: .9; }
.tianyi__en { position: absolute; left: 24px; bottom: 22px; font-family: var(--ff-en); font-size: clamp(28px, 3.2vw, 42px); font-weight: 900; line-height: .95; }
.tianyi__visual .eq { position: absolute; right: 26px; bottom: 26px; }
.tianyi__spark { position: absolute; animation: twinkle 2.4s ease-in-out infinite; }
.tianyi__spark--1 { top: 24%; left: 12%; font-size: 22px; }
.tianyi__spark--2 { bottom: 32%; right: 26%; font-size: 14px; animation-delay: -1.2s; }
@keyframes twinkle { 50% { opacity: .3; scale: .6; } }

.tianyi__body { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(28px, 4vw, 52px); }
.tianyi__tag { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font-family: var(--ff-en); font-size: 11px; font-weight: 700; letter-spacing: .2em; color: #2d6fd8; }
.tianyi__title { margin: 0 0 16px; font-size: clamp(26px, 3vw, 40px); font-weight: 900; line-height: 1.3; }
.tianyi__text { margin: 0 0 20px; color: #33333d; }
.chips--ink li { background: rgba(11, 11, 14, .07); color: var(--ink); }
.tianyi .btn { margin-top: 28px; }

.btn--ink { background: var(--ink); color: #fff; box-shadow: 0 14px 34px -12px rgba(11, 11, 14, .6); }
.btn--ink::before { background: #66ccff; }

/* 次のIP（伏せたカード）と、IPホルダー向けの案内 */
.lineup { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(16px, 2.4vw, 28px); margin-top: clamp(16px, 2.4vw, 28px); perspective: 1100px; }
.lineup__item { display: flex; }
.lineup__item > * { flex: 1; }
.sealed {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 24px;
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .05) 0 10px, transparent 10px 20px),
    linear-gradient(160deg, #22222c, #0b0b0e);
  box-shadow: 0 30px 60px -24px rgba(70, 30, 110, .45);
  color: #fff;
}
.sealed .holo__shine { opacity: .5; }
.sealed__no { font-family: var(--ff-en); font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--muted); }
.sealed__q { align-self: center; font-family: var(--ff-en); font-size: clamp(90px, 9vw, 130px); font-weight: 900; line-height: 1; background: var(--holo); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: holoText 5s linear infinite; }
.sealed__label { margin: 0; font-family: var(--ff-en); font-size: 14px; font-weight: 900; line-height: 1.35; letter-spacing: .08em; }

[data-tilt] { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .7s var(--ease), box-shadow .4s; }
[data-tilt].is-tilting { transition: transform .12s linear, box-shadow .4s; }

.ip-cta { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(24px, 3vw, 40px); border: 1px solid #fff; border-radius: 24px; background: rgba(255, 255, 255, .72); box-shadow: 0 30px 60px -24px rgba(70, 30, 110, .3); }
.ip-cta__en { margin: 0 0 10px; font-family: var(--ff-en); font-size: 11px; font-weight: 700; letter-spacing: .2em; color: #6a4cff; }
.ip-cta__title { margin: 0 0 12px; font-size: clamp(20px, 2vw, 26px); font-weight: 900; line-height: 1.4; }
.ip-cta__text { margin: 0 0 20px; font-size: 14px; color: #33333d; }
.link-arrow--ink { border-color: rgba(11, 11, 14, .25); }
.link-arrow--ink:hover { border-color: var(--ink); }

.holo__shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 20%), rgba(255, 255, 255, .7), transparent 42%),
    linear-gradient(115deg, transparent 22%, rgba(255, 46, 77, .22) 34%, rgba(255, 225, 77, .24) 42%, rgba(45, 240, 230, .24) 50%, rgba(122, 92, 255, .22) 58%, transparent 70%);
  background-size: 100% 100%, 260% 260%;
  background-position: 0 0, var(--mx, 30%) var(--my, 30%);
}
@media (hover: none) { .holo__shine { animation: sweep 5s ease-in-out infinite alternate; } }
@keyframes sweep { from { background-position: 0 0, 0% 0%; } to { background-position: 0 0, 100% 100%; } }

@media (max-width: 560px) {
  .tianyi .btn { width: 100%; justify-content: space-between; padding-inline: 24px; font-size: 14px; letter-spacing: .04em; }
}
@media (max-width: 860px) {
  .tianyi { grid-template-columns: 1fr; }
  .tianyi__visual { min-height: 320px; }
  .lineup { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lineup__item:last-child { grid-column: 1 / -1; }
  .sealed { min-height: 220px; }
}


/* ---------- ONE-STOP ---------- */
.flow { position: relative; margin-top: clamp(48px, 7vw, 88px); }
.flow__track { position: absolute; top: 35px; left: 36px; right: calc((100% - 80px) / 5 - 36px); height: 2px; background: var(--line); }
.flow__bar { position: absolute; inset: 0; background: linear-gradient(90deg, var(--red), var(--yellow), var(--cyan)); box-shadow: 0 0 16px rgba(255, 46, 77, .6); transform-origin: left; transform: scaleX(var(--flow, 0)); }
.flow__list { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.flow__node { display: grid; place-items: center; width: 72px; height: 72px; border: 1px solid var(--line-2); border-radius: 50%; background: var(--ink-2); color: var(--muted); transition: background .5s, border-color .5s, color .5s, box-shadow .5s, transform .6s var(--ease); }
.flow__node .i { width: 28px; height: 28px; }
.flow__item.is-on .flow__node { border-color: var(--red); background: var(--red); color: #fff; box-shadow: 0 0 0 8px rgba(255, 46, 77, .12), 0 0 40px -4px var(--red); transform: scale(1.06); }
.flow__no { display: block; margin: 24px 0 6px; font-family: var(--ff-en); font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--muted); }
.flow__title { display: flex; align-items: baseline; gap: 10px; margin: 0 0 10px; font-size: 24px; font-weight: 900; line-height: 1.3; }
.flow__title small { font-family: var(--ff-en); font-size: 10px; font-weight: 700; letter-spacing: .16em; color: var(--red); }
.flow__item p { margin: 0; font-size: 14px; line-height: 1.8; color: var(--muted); }

@media (max-width: 860px) {
  .flow__track { top: 36px; bottom: 40px; left: 35px; right: auto; width: 2px; height: auto; }
  .flow__bar { background: linear-gradient(180deg, var(--red), var(--yellow), var(--cyan)); transform-origin: top; transform: scaleY(var(--flow, 0)); }
  .flow__list { grid-template-columns: 1fr; gap: 28px; }
  .flow__item { display: grid; grid-template-columns: 72px minmax(0, 1fr); column-gap: 20px; }
  .flow__node { grid-row: span 3; }
  .flow__no { margin: 6px 0 2px; }
}

/* ---------- COMPANY ---------- */
.company__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); }
.company__mark { position: sticky; top: 140px; width: min(70%, 240px); height: auto; margin-top: 56px; opacity: .16; }
.profile { margin: 0; border-top: 1px solid var(--line-2); }
.profile > div { position: relative; display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line-2); }
.profile > div::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, var(--red), var(--cyan)); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.profile > div:hover::after { transform: scaleX(1); }
.profile dt { font-size: 14px; font-weight: 700; color: var(--muted); }
.profile dd { margin: 0; }
.map { display: inline-flex; align-items: center; gap: 6px; margin-left: 12px; padding: 4px 12px; border: 1px solid var(--line-2); border-radius: 999px; font-family: var(--ff-en); font-size: 10px; font-weight: 700; letter-spacing: .12em; line-height: 1.6; text-decoration: none; vertical-align: 2px; transition: background .3s, color .3s; }
.map .i { width: 12px; height: 12px; }
.map:hover { background: var(--text); color: var(--ink); }
.biz { margin: 0; padding: 0; list-style: none; }
.biz li { position: relative; padding-left: 20px; }
.biz li::before { content: ""; position: absolute; left: 0; top: .9em; width: 8px; height: 2px; background: var(--red); }
@media (max-width: 860px) {
  .company__grid { grid-template-columns: 1fr; }
  .company__mark { display: none; }
  .profile > div { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; }
}

/* ---------- NEWS ---------- */
.news { padding-top: 0; }
.news__list { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line-2); }
.news__item { border-bottom: 1px solid var(--line-2); }
.news__item summary { display: grid; grid-template-columns: 120px 100px minmax(0, 1fr) 36px; align-items: center; gap: 16px; padding: 26px 8px; list-style: none; cursor: pointer; transition: padding .5s var(--ease), background .4s; }
.news__item summary::-webkit-details-marker { display: none; }
.news__item summary:hover { padding-left: 20px; background: rgba(255, 255, 255, .03); }
.news__item time { font-family: var(--ff-en); font-size: 13px; letter-spacing: .06em; color: var(--muted); }
.news__cat { justify-self: start; padding: 2px 10px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 11px; font-weight: 700; }
.news__title { font-weight: 700; }
.news__toggle { position: relative; width: 36px; height: 36px; border: 1px solid var(--line-2); border-radius: 50%; transition: background .3s, border-color .3s; }
.news__toggle::before, .news__toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; }
.news__toggle::after { rotate: 90deg; transition: rotate .4s var(--ease); }
.news__item[open] .news__toggle { border-color: var(--red); background: var(--red); }
.news__item[open] .news__toggle::after { rotate: 0deg; }
.news__body { padding: 0 60px 28px 260px; color: var(--muted); }
.news__body p { margin: 0; }
@media (max-width: 760px) {
  .news__item summary { grid-template-columns: auto minmax(0, 1fr) 36px; grid-template-areas: "time cat toggle" "title title toggle"; row-gap: 8px; }
  .news__item time { grid-area: time; }
  .news__cat { grid-area: cat; }
  .news__title { grid-area: title; }
  .news__toggle { grid-area: toggle; }
  .news__body { padding: 0 8px 24px; }
}

/* ---------- CONTACT ---------- */
.contact { position: relative; padding-bottom: clamp(96px, 12vw, 160px); }
.contact__marquee { padding-block: clamp(24px, 4vw, 56px) clamp(40px, 6vw, 88px); font-family: var(--ff-en); font-size: clamp(56px, 11vw, 190px); font-weight: 900; line-height: 1.1; letter-spacing: -.01em; }
.contact__marquee .is-outline { color: transparent; -webkit-text-stroke: 2px var(--text); }
.contact__marquee .i { width: .45em; height: .45em; color: var(--red); }
.contact__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; gap: clamp(40px, 6vw, 96px); }
.contact__note { margin: 20px 0 0; font-size: 13px; color: var(--muted); }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-2); }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field--full, .form__foot { grid-column: 1 / -1; }
.field > label, .field > legend { padding: 0; font-size: 13px; font-weight: 700; }
.field em { margin-left: 8px; padding: 2px 7px; border-radius: 4px; background: var(--red); color: #fff; font-style: normal; font-size: 10px; vertical-align: 1px; }
.field input, .field textarea { width: 100%; padding: 15px 16px; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(255, 255, 255, .04); color: var(--text); font: inherit; letter-spacing: .02em; transition: border-color .3s, box-shadow .3s, background .3s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); background: rgba(255, 255, 255, .06); box-shadow: 0 0 0 4px rgba(255, 46, 77, .2); }
.field.is-error input, .field.is-error textarea { border-color: var(--red); background: rgba(255, 46, 77, .08); }
.chips-select { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chips-select label { position: relative; cursor: pointer; }
.chips-select input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.chips-select span { display: inline-block; padding: 9px 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; font-weight: 700; line-height: 1.4; transition: background .3s, border-color .3s, color .3s, transform .3s var(--ease); }
.chips-select label:hover span { border-color: var(--text); }
.chips-select input:checked + span { border-color: var(--red); background: var(--red); color: #fff; transform: scale(1.04); }
.chips-select input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 3px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 6px; }
.form__status { margin: 0; font-size: 13px; color: var(--muted); }
.form__status[data-state="error"] { color: var(--red-2); }
.form__status[data-state="ok"] { color: var(--cyan); }
.form { position: relative; }
.form .btn:disabled { opacity: .6; cursor: wait; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form__privacy { grid-column: 1 / -1; margin: 0; font-size: 12px; color: var(--muted); }
.form__privacy a { color: var(--text); text-underline-offset: 3px; }

/* 送信完了 */
.form-done { display: grid; justify-items: center; gap: 10px; padding: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 48px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-2); text-align: center; outline: none; }
.form-done__icon { display: grid; place-items: center; width: 84px; height: 84px; margin-bottom: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 10px rgba(255, 46, 77, .14), 0 20px 40px -10px var(--red); animation: donePop .8s var(--ease) both; }
.form-done__icon .i { width: 36px; height: 36px; color: #fff; }
.form-done__en { margin: 0; font-family: var(--ff-en); font-size: 12px; font-weight: 700; letter-spacing: .3em; color: var(--red); }
.form-done__title { margin: 0; font-size: clamp(22px, 2.6vw, 30px); font-weight: 900; }
.form-done__text { margin: 0; color: var(--muted); }
@keyframes donePop { 0% { transform: scale(.3); opacity: 0; } 60% { transform: scale(1.12); opacity: 1; } 100% { transform: none; } }
@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* ---------- FOOTER ---------- */
.footer { position: relative; overflow: clip; padding-top: clamp(64px, 8vw, 110px); border-top: 1px solid var(--line); background: #070709; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; align-items: start; gap: 40px; }
.footer__info p { margin: 20px 0 0; font-size: 14px; line-height: 1.9; color: var(--muted); }
.footer__logo { display: inline-block; }
.footer__logo img { width: auto; height: 118px; }
.footer__nav { display: grid; grid-template-columns: repeat(2, max-content); gap: 12px 40px; }
.footer__nav a { font-size: 14px; font-weight: 700; text-decoration: none; transition: color .3s; }
.footer__nav a:hover { color: var(--red); }
.to-top { display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid var(--line-2); border-radius: 50%; transition: background .4s, border-color .4s, transform .5s var(--ease); }
.to-top .i { width: 22px; height: 22px; rotate: -90deg; }
.to-top:hover { border-color: var(--red); background: var(--red); transform: translateY(-6px); }
.footer__big { display: flex; justify-content: space-between; margin: clamp(40px, 6vw, 80px) 0 0; padding-inline: var(--gutter); font-family: var(--ff-en); font-size: clamp(90px, 27vw, 420px); font-weight: 900; line-height: .8; letter-spacing: -.02em; user-select: none; }
.footer__big span { display: inline-block; background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .02)); -webkit-background-clip: text; background-clip: text; color: transparent; transition: translate .6s var(--ease); }
.footer__big span:hover { background-image: var(--holo); translate: 0 -6%; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 24px 32px; border-top: 1px solid var(--line); font-family: var(--ff-en); font-size: 11px; letter-spacing: .1em; color: var(--muted); }
@media (max-width: 760px) {
  .footer__top { grid-template-columns: 1fr; }
  .to-top { position: absolute; right: var(--gutter); top: clamp(64px, 8vw, 110px); }
}

/* ---------- ABOUT（私たちについて） ---------- */
.about { padding-bottom: clamp(56px, 7vw, 100px); }
.about__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: end; gap: clamp(28px, 5vw, 80px); }
.about__head .sec-title { word-break: keep-all; }
.about__lead { margin: 0; font-size: clamp(15px, 1.3vw, 17px); line-height: 2.05; color: #cfcdd4; }
.cities { display: grid; grid-template-columns: minmax(0, 1fr) 104px minmax(0, 1fr); align-items: center; margin-top: clamp(48px, 6vw, 80px); }
.city { position: relative; margin: 0; overflow: hidden; border-radius: 24px; aspect-ratio: 4 / 3; isolation: isolate; }
.city img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.city:hover img { transform: scale(1.05); }
.city::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(11, 11, 14, .88)); }
.city figcaption { position: absolute; left: 24px; bottom: 22px; z-index: 1; display: grid; gap: 6px; }
.city__en { font-family: var(--ff-en); font-size: clamp(24px, 3.2vw, 44px); font-weight: 900; line-height: 1; letter-spacing: .02em; }
.city__jp { font-size: 13px; font-weight: 700; color: #dddbe2; }
.cities__link { position: relative; display: grid; place-items: center; height: 100%; }
.cities__line { position: absolute; left: -28px; right: -28px; top: 50%; height: 2px; margin-top: -1px; background: repeating-linear-gradient(90deg, var(--red) 0 10px, transparent 10px 18px); animation: dashH 1s linear infinite; }
@keyframes dashH { to { background-position: 18px 0; } }
@keyframes dashV { to { background-position: 0 18px; } }
.cities__icon { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--red); color: #fff; box-shadow: 0 0 0 8px rgba(255, 46, 77, .15), 0 16px 40px -10px var(--red); }
.cities__icon .i { width: 26px; height: 26px; }
.mv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); margin-top: clamp(40px, 5vw, 64px); }
.mv__item { padding: clamp(24px, 3.4vw, 44px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-2); }
.mv__label { margin: 0 0 14px; font-family: var(--ff-en); font-size: 12px; font-weight: 700; letter-spacing: .3em; color: var(--red); }
.mv__text { margin: 0; font-size: clamp(20px, 2.2vw, 28px); font-weight: 900; line-height: 1.6; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: clamp(32px, 4vw, 56px) 0 0; padding: 0; list-style: none; }
.facts li { display: flex; align-items: baseline; gap: 14px; padding-top: 24px; border-top: 1px solid var(--line-2); }
.facts b { font-family: var(--ff-en); font-size: clamp(40px, 5.4vw, 72px); font-weight: 900; line-height: 1; background: linear-gradient(90deg, #fff, #ffb3c1); -webkit-background-clip: text; background-clip: text; color: transparent; }
.facts span { font-size: 14px; font-weight: 700; color: var(--muted); }
@media (max-width: 860px) {
  .about__head { grid-template-columns: 1fr; }
  .cities { grid-template-columns: 1fr; }
  .cities__link { height: 76px; }
  .cities__line { left: 50%; right: auto; top: -24px; bottom: -24px; width: 2px; height: auto; margin: 0 0 0 -1px; background: repeating-linear-gradient(180deg, var(--red) 0 10px, transparent 10px 18px); animation-name: dashV; }
  .cities__icon .i { transform: rotate(90deg); }
  .mv, .facts { grid-template-columns: 1fr; }
}

/* ---------- GROUP（グループと沿革・提携先） ---------- */
.company { padding-bottom: clamp(56px, 7vw, 100px); }
.group { padding-top: clamp(56px, 7vw, 100px); }
.group__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; }
.group__brand { display: grid; place-items: center; width: 220px; padding: 16px 20px; border-radius: 20px; background: #f3f3f5; }
.group__brand img { width: 100%; height: auto; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); margin: clamp(48px, 6vw, 80px) 0 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 75px; height: 2px; background: linear-gradient(90deg, var(--line-2), var(--red)); }
.tl { position: relative; padding-top: 104px; }
.tl::before { content: ""; position: absolute; left: 0; top: 66px; width: 20px; height: 20px; box-sizing: border-box; border: 3px solid var(--line-2); border-radius: 50%; background: var(--ink); }
.tl--eiri::before { border-color: var(--red); background: var(--red); box-shadow: 0 0 0 6px rgba(255, 46, 77, .18), 0 0 24px var(--red); }
.tl__year { position: absolute; left: 0; top: 0; margin: 0; font-family: var(--ff-en); font-size: clamp(32px, 3.6vw, 48px); font-weight: 900; line-height: 1; }
.tl--eiri .tl__year { color: var(--red); }
.tl__card { height: 100%; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: var(--ink-2); }
.tl--eiri .tl__card { border-color: rgba(255, 46, 77, .5); background: linear-gradient(160deg, rgba(255, 46, 77, .12), var(--ink-2) 55%); }
.tl__logo { display: grid; place-items: center; height: 92px; margin-bottom: 18px; padding: 12px; border-radius: 14px; background: #fff; }
.tl__logo img { width: auto; height: auto; max-width: 100%; max-height: 68px; }
.tl__place { margin: 0 0 6px; font-family: var(--ff-en); font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--muted); }
.tl__name { margin: 0 0 14px; font-size: 18px; font-weight: 900; line-height: 1.5; }
.tl__list { margin: 0; padding: 0; list-style: none; }
.tl__list li { position: relative; padding: 7px 0 7px 16px; border-top: 1px dashed var(--line); font-size: 13.5px; line-height: 1.7; color: #cfcdd4; }
.tl__list li::before { content: ""; position: absolute; left: 0; top: 17px; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
@media (max-width: 860px) {
  .group__head { grid-template-columns: 1fr; }
  .group__brand { width: 180px; }
  .timeline { grid-template-columns: 1fr; gap: 32px; }
  .timeline::before { left: 9px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg, var(--line-2), var(--red)); }
  .tl { padding: 0 0 0 44px; }
  .tl::before { top: 8px; }
  .tl__year { position: static; margin-bottom: 14px; }
}

/* ---------- 下層ページ（プライバシーポリシー） ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(56px, 9vw, 120px)) 0 clamp(48px, 6vw, 80px); overflow: clip; isolation: isolate; border-bottom: 1px solid var(--line); }
.page-hero .glow--red { left: -12vw; top: -20vw; width: 44vw; height: 44vw; }
.page-hero__title { margin: 0; font-size: clamp(34px, 5.4vw, 64px); font-weight: 900; line-height: 1.25; }
.policy { max-width: 820px; margin-inline: auto; padding-block: clamp(56px, 8vw, 100px) clamp(96px, 12vw, 160px); }
.policy__intro { margin: 0 0 16px; }
.policy h2 { display: flex; align-items: baseline; gap: 14px; margin: 48px 0 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: clamp(18px, 2vw, 22px); font-weight: 900; line-height: 1.5; }
.policy h2 span { font-family: var(--ff-en); font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--red); }
.policy p, .policy li { color: #cfcdd4; }
.policy p { margin: 0; }
.policy ul { margin: 10px 0 0; padding-left: 1.3em; }
.policy li + li { margin-top: 4px; }
.policy li::marker { color: var(--red); }
.policy__contact { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 10px 20px; margin: 18px 0 0; padding: 24px 28px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--ink-2); }
.policy__contact dt { font-size: 13px; color: var(--muted); }
.policy__contact dd { margin: 0; }
.policy__date { margin-top: 56px !important; text-align: right; font-size: 14px; color: var(--muted) !important; }
@media (max-width: 560px) { .policy__contact { grid-template-columns: 1fr; gap: 2px; } .policy__contact dd { margin-bottom: 10px; } }

/* ---------- 保険・アクセシビリティ ---------- */
.no-anim .intro { display: none; }
.no-anim [data-reveal], .no-anim [data-hero], .no-anim .char, .no-anim .float, .no-anim .header { opacity: 1 !important; transform: none !important; translate: none !important; }

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