/* NiJIIRO～にじいろ～ 晴虹社 VTuberモデル制作部 */
:root {
  --ink: #1d1838;
  --ink-soft: #57517a;
  --bg: #fbfaff;
  --bg-alt: #f3f0ff;
  --line: #e4defa;
  --white: #fff;
  --violet: #6a4cf5;
  --pink: #ff8fc4;
  --peach: #ffbd8a;
  --lemon: #ffe98a;
  --mint: #8ff0c9;
  --sky: #87cfff;
  --lilac: #b8a2ff;
  --rainbow: linear-gradient(100deg, #ff8fc4 0%, #ffbd8a 18%, #ffe98a 34%, #8ff0c9 52%, #87cfff 70%, #b8a2ff 86%, #ff8fc4 100%);
  --rainbow-deep: linear-gradient(100deg, #f0569e, #ff8a3d 22%, #e6b800 40%, #19c08a 58%, #2f9bf0 76%, #7b55ff 100%);
  --radius: 28px;
  --shadow: 0 20px 50px -20px rgba(70, 45, 170, .28);
  --font-jp: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Meiryo", sans-serif;
  --font-en: "Unbounded", "Zen Maru Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-jp); font-weight: 500; line-height: 1.85; letter-spacing: .03em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: var(--violet); }
.container { width: min(1120px, 100% - 40px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 40px); }
.sp { display: none; }
@media (max-width: 640px) { .sp { display: inline; } .pc { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 1em 1.9em; border-radius: 999px; font-weight: 700; text-decoration: none;
  transition: transform .25s, box-shadow .25s; font-size: 1rem; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--rainbow:hover { background-position: 100% 0; }
.btn--rainbow {
  color: var(--white); background: var(--rainbow-deep); background-size: 200% 100%;
  box-shadow: 0 14px 30px -12px rgba(123, 85, 255, .6); transition: transform .25s, box-shadow .25s, background-position .6s;
}
.btn--ghost { color: var(--ink); background: rgba(255,255,255,.7); border: 2px solid var(--line); backdrop-filter: blur(6px); }
.btn--white { color: var(--violet); background: var(--white); box-shadow: 0 14px 30px -12px rgba(0,0,0,.35); font-size: 1.08rem; }
.btn--small { padding: .55em 1.25em; font-size: .9rem; color: var(--white); background: var(--ink); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 14px 14px auto; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px 10px 22px; border-radius: 999px;
  background: rgba(255,255,255,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.9); box-shadow: 0 10px 30px -18px rgba(60,40,150,.35);
}
.brand { display: flex; align-items: baseline; gap: 12px; text-decoration: none; color: var(--ink); }
.brand__mark {
  font-family: var(--font-en); font-weight: 800; font-size: 1.25rem; letter-spacing: .02em;
  background: var(--rainbow-deep); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand__sub { font-size: .78rem; color: var(--ink-soft); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .92rem; position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; border-radius: 3px;
  background: var(--rainbow-deep); transform: scaleX(0); transition: transform .3s;
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav-toggle { display: none; }

@media (max-width: 920px) {
  .brand__sub { display: none; }
  .nav-toggle {
    display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; border: 0; border-radius: 50%;
    background: var(--ink); cursor: pointer;
  }
  .nav-toggle span { width: 18px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; gap: 4px; padding: 16px;
    background: rgba(255,255,255,.96); border-radius: 24px; box-shadow: var(--shadow);
    opacity: 0; pointer-events: none; transform: translateY(-8px); transition: .25s;
  }
  .nav.is-open { opacity: 1; pointer-events: auto; transform: none; }
  .nav a:not(.btn) { padding: 10px; width: 100%; text-align: center; }
  .nav .btn { width: 100%; margin-top: 6px; padding: .9em; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; padding: 120px 0 60px; overflow: hidden; }
.aurora { position: absolute; inset: 0; z-index: 0; opacity: .85; }
.aurora i { position: absolute; border-radius: 50%; will-change: transform; animation: drift 18s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 56vw; height: 56vw; left: -16vw; top: -14vw; background: radial-gradient(closest-side, #ffc6e2, rgba(255,198,226,0)); }
.aurora i:nth-child(2) { width: 50vw; height: 50vw; right: -14vw; top: -2vw; background: radial-gradient(closest-side, #c4e8ff, rgba(196,232,255,0)); animation-delay: -5s; }
.aurora i:nth-child(3) { width: 44vw; height: 44vw; left: 24vw; bottom: -20vw; background: radial-gradient(closest-side, #fff1b8, rgba(255,241,184,0)); animation-delay: -9s; }
.aurora i:nth-child(4) { width: 38vw; height: 38vw; right: 12vw; bottom: -12vw; background: radial-gradient(closest-side, #d5c8ff, rgba(213,200,255,0)); animation-delay: -13s; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(106,76,245,.13) 1.2px, transparent 1.2px); background-size: 26px 26px;
  mask-image: linear-gradient(180deg, #000 40%, transparent);
}
.hero__inner {
  position: relative; z-index: 1; width: min(1200px, 100% - 40px); margin-inline: auto;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 30px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 6px 16px; border-radius: 999px;
  font-family: var(--font-en); font-size: .72rem; font-weight: 500; letter-spacing: .08em;
  background: rgba(255,255,255,.75); border: 1px solid var(--line);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rainbow-deep); box-shadow: 0 0 0 4px rgba(123,85,255,.15); }
.hero__title { margin: 0; line-height: 1; }
.wordmark {
  display: block; font-family: var(--font-en); font-weight: 800; letter-spacing: -.02em;
  font-size: clamp(3.6rem, 10vw, 8.6rem);
  background: var(--rainbow-deep);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 10px 24px rgba(123,85,255,.22));
}
.hero__kana { display: block; margin-top: 14px; font-size: clamp(1.1rem, 2.4vw, 1.6rem); font-weight: 900; letter-spacing: .3em; color: var(--ink-soft); }
.hero__catch { margin: 30px 0 14px; font-size: clamp(1.5rem, 3.3vw, 2.35rem); font-weight: 900; line-height: 1.5; }
.hero__lead { margin: 0; max-width: 34em; color: var(--ink-soft); }
.hero__lead strong { color: var(--ink); background: linear-gradient(transparent 62%, #fff0a0 62%); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 22px 0 0; list-style: none; }
.hero__badges li { font-size: .82rem; font-weight: 700; padding: 4px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); }
.hero__badges li::before { content: "✓ "; color: var(--violet); }

.hero__visual { position: relative; aspect-ratio: 4 / 5; max-height: 78svh; justify-self: center; width: 100%; }
.halo {
  position: absolute; inset: 8% 6% 4%; border-radius: 50%;
  background: conic-gradient(from 0deg, #ff8fc4, #ffbd8a, #ffe98a, #8ff0c9, #87cfff, #b8a2ff, #ff8fc4);
  mask: radial-gradient(closest-side, transparent 80%, #000 81%, #000 84%, transparent 85%);
  -webkit-mask: radial-gradient(closest-side, transparent 80%, #000 81%, #000 84%, transparent 85%);
  animation: spin 24s linear infinite; opacity: .9; will-change: transform;
}
.halo::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.95), rgba(255,255,255,0) 78%);
}
.hero__chara { position: relative; z-index: 2; height: 100%; width: auto; margin-inline: auto; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(70,45,170,.25)); animation: bob 6s ease-in-out infinite; will-change: transform; }
.float-card {
  position: absolute; z-index: 3; margin: 0; border-radius: 22px; overflow: hidden; background: var(--white);
  border: 4px solid var(--white); box-shadow: var(--shadow);
}
.float-card video { width: 100%; height: 100%; object-fit: cover; }
.float-card figcaption {
  position: absolute; left: 10px; bottom: 10px; padding: 2px 10px; border-radius: 999px;
  font-family: var(--font-jp); font-size: .78rem; font-weight: 700; color: var(--white); background: rgba(29,24,56,.78);
}
.float-card--1 { width: 44%; aspect-ratio: 1082 / 1442; left: 1%; top: 2%; transform: rotate(-4deg); animation: float-a 7s ease-in-out infinite; }
.float-card--2 { width: 54%; aspect-ratio: 1556 / 1080; right: 0; top: 10%; transform: rotate(3deg); animation: float-b 8s ease-in-out infinite; }
.float-card--3 { width: 44%; aspect-ratio: 1; right: 3%; top: 45%; transform: rotate(-3deg); animation: float-a 9s ease-in-out infinite -2s; }
.float-card--4 { width: 40%; aspect-ratio: 804 / 1080; left: 6%; top: 53%; transform: rotate(4deg); animation: float-b 7.5s ease-in-out infinite -3s; }
.sparkle { position: absolute; z-index: 4; color: var(--violet); font-size: 1.6rem; animation: twinkle 3s ease-in-out infinite; }
.s1 { top: 6%; left: 18%; } .s2 { top: 48%; right: 4%; animation-delay: -1s; color: #f0569e; } .s3 { bottom: 4%; left: 42%; animation-delay: -2s; color: #19c08a; }

@media (max-width: 860px) {
  .hero { padding-top: 104px; min-height: auto; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-height: none; width: min(440px, 100%); order: -1; }
  .hero__copy { text-align: center; }
  .hero__cta, .hero__badges { justify-content: center; }
  .hero__lead { margin-inline: auto; }
}

/* ---------- marquee ---------- */
.marquee { overflow: hidden; padding: 18px 0; background: var(--ink); transform: rotate(-1.5deg); margin: 10px -10px 0; }
.marquee__track { display: flex; gap: 28px; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font-family: var(--font-en); font-weight: 700; font-size: clamp(1rem, 2.4vw, 1.5rem); color: var(--white); white-space: nowrap; }
.marquee b { background: var(--rainbow-deep); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 1.3rem; }

/* ---------- sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section__label {
  margin: 0 0 8px; font-family: var(--font-en); font-weight: 700; font-size: .85rem; letter-spacing: .2em; text-transform: uppercase;
  background: var(--rainbow-deep); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section__label--light { background: none; color: rgba(255,255,255,.85); }
.section__title { margin: 0 0 18px; font-size: clamp(1.7rem, 4vw, 2.7rem); font-weight: 900; line-height: 1.4; }
.section__lead { margin: 0 0 44px; color: var(--ink-soft); max-width: 40em; }
.grad-text { background: var(--rainbow-deep); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub-title { margin: 56px 0 18px; font-size: 1.3rem; font-weight: 900; }

/* worries */
.bubbles { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.bubbles li {
  position: relative; padding: 24px 28px; background: var(--white); border-radius: 26px; border: 2px solid var(--line);
  font-weight: 700; box-shadow: 0 10px 30px -22px rgba(60,40,150,.5);
}
.bubbles li::after {
  content: ""; position: absolute; left: 36px; bottom: -12px; width: 20px; height: 20px; background: var(--white);
  border-right: 2px solid var(--line); border-bottom: 2px solid var(--line); transform: rotate(45deg);
}
.bubbles li:nth-child(even)::after { left: auto; right: 36px; }
.worries__answer { margin: 56px 0 0; text-align: center; font-size: clamp(1.5rem, 4vw, 2.4rem); font-weight: 900; }
@media (max-width: 640px) { .bubbles { grid-template-columns: 1fr; } }

/* reasons */
.reasons { background: var(--bg-alt); }
.reason-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.reason {
  position: relative; padding: 40px 30px 34px; border-radius: var(--radius); background: var(--white); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .3s;
}
.reason:hover { transform: translateY(-6px); }
.reason::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--rainbow); }
.reason__num {
  display: block; font-family: var(--font-en); font-weight: 800; font-size: 3.2rem; line-height: 1;
  background: var(--rainbow-deep); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9;
}
.reason h3 { margin: 18px 0 12px; font-size: 1.25rem; font-weight: 900; line-height: 1.5; }
.reason p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 860px) { .reason-grid { grid-template-columns: 1fr; } }

/* motion */
.motion { background: var(--ink); color: var(--white); overflow: hidden; }
.motion::before {
  content: ""; position: absolute; width: 60vw; height: 60vw; right: -20vw; top: -20vw; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(123,85,255,.45), transparent); pointer-events: none;
}
.motion .section__lead { color: rgba(255,255,255,.75); }
.motion-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.motion-card {
  margin: 0; border-radius: 22px; overflow: hidden; background: var(--white); aspect-ratio: 1;
  box-shadow: 0 0 0 1px rgba(255,255,255,.15), 0 24px 40px -24px rgba(0,0,0,.6); transition: transform .35s;
}
.motion-card:hover { transform: scale(1.03) rotate(-.6deg); }
.motion-card video { width: 100%; height: 100%; object-fit: contain; background: var(--white); }
@media (max-width: 640px) {
  .motion-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .motion-card:last-child { grid-column: span 2; aspect-ratio: 2 / 1.2; }
}

/* works */
.gallery { columns: 3 260px; column-gap: 18px; }
@media (max-width: 640px) { .gallery { columns: 2; column-gap: 10px; } .gallery__item { margin-bottom: 10px; border-radius: 16px; } .gallery__item span { font-size: .68rem; left: 8px; bottom: 8px; padding: 2px 8px; } }
.gallery__item {
  position: relative; display: block; width: 100%; margin: 0 0 18px; padding: 0; border: 0; cursor: zoom-in;
  border-radius: 22px; overflow: hidden; background: var(--white); break-inside: avoid;
  box-shadow: 0 16px 34px -24px rgba(60,40,150,.55); outline: 1px solid var(--line);
}
.gallery__item img { width: 100%; height: auto; transition: transform .5s; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item span {
  position: absolute; left: 12px; bottom: 12px; padding: 3px 12px; border-radius: 999px; font-family: var(--font-jp);
  font-size: .78rem; font-weight: 700; color: var(--ink); background: rgba(255,255,255,.88); backdrop-filter: blur(4px);
}

.works__sub { margin: 0 0 18px; font-size: 1.15rem; font-weight: 900; display: flex; align-items: center; gap: 12px; }
.works__sub::before { content: ""; width: 26px; height: 6px; border-radius: 6px; background: var(--rainbow-deep); }
.showcase { position: relative; margin-bottom: 64px; }
.showcase__track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 22px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.showcase__track::-webkit-scrollbar { display: none; }
.showcase__item {
  flex: 0 0 auto; height: min(470px, 56vw); padding: 0; border: 0; cursor: zoom-in; scroll-snap-align: center;
  border-radius: 24px; overflow: hidden; background: var(--white); box-shadow: 0 20px 40px -26px rgba(60,40,150,.6); outline: 1px solid var(--line);
}
.showcase__item img { height: 100%; width: auto; max-width: none; transition: transform .5s; }
.showcase__item:hover img { transform: scale(1.03); }
.showcase__nav { display: flex; justify-content: flex-end; gap: 10px; }
.showcase__btn {
  width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--line); background: var(--white); cursor: pointer;
  font-size: 1.2rem; font-weight: 700; color: var(--ink); transition: background .25s, color .25s;
}
.showcase__btn:hover { background: var(--ink); color: var(--white); }
@media (max-width: 640px) { .showcase__item { height: 58vw; border-radius: 16px; } .showcase__btn { width: 44px; height: 44px; } }

.tax-ex { font-size: .55em; font-family: var(--font-jp); font-weight: 700; margin-left: 2px; }
.tax-in { display: inline-block; margin-left: 8px; font-family: var(--font-jp); font-size: max(.8rem, .5em); font-weight: 700; color: var(--ink-soft); white-space: nowrap; }
.plan-main__ex .tax-in { margin-left: 0; font-size: 1rem; }
.plan-card__price .tax-in { display: block; margin: 4px 0 0; }
.option-table td .tax-ex { font-size: .8em; }
@media (max-width: 640px) { .option-table td .tax-in { display: block; margin: 2px 0 0; } }

/* team */
.team { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%); }
.team-flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.team-flow::before {
  content: ""; position: absolute; left: 6%; right: 6%; top: 46px; height: 4px; border-radius: 4px; background: var(--rainbow); z-index: 0;
}
.team-flow li { position: relative; z-index: 1; text-align: center; padding: 0 6px; }
.role-icon {
  display: grid; place-content: center; width: 92px; height: 92px; margin: 0 auto 16px; border-radius: 50%;
  font-size: 2rem; color: var(--violet); background: var(--white); border: 4px solid var(--white);
  box-shadow: 0 0 0 3px var(--line), var(--shadow);
}
.team-flow h3 { margin: 0 0 6px; font-size: 1.02rem; font-weight: 900; }
.team-flow p { margin: 0; font-size: .86rem; color: var(--ink-soft); line-height: 1.7; }
.team__note { margin: 44px auto 0; text-align: center; font-weight: 700; padding: 16px 24px; border-radius: 999px; background: var(--white); width: fit-content; max-width: 100%; border: 2px dashed var(--line); }
@media (max-width: 860px) {
  .team-flow { grid-template-columns: 1fr; gap: 14px; }
  .team-flow::before { left: 45px; right: auto; top: 20px; bottom: 20px; width: 4px; height: auto; }
  .team-flow li { display: grid; grid-template-columns: 92px 1fr; gap: 0 18px; text-align: left; align-items: center; }
  .role-icon { grid-row: span 2; margin: 0; }
  .team__note { border-radius: 20px; }
}

/* price */
.plan-main {
  display: grid; grid-template-columns: .9fr 1.1fr; border-radius: 34px; overflow: hidden; background: var(--white);
  box-shadow: var(--shadow); position: relative; margin-top: 30px;
}
.plan-main::before { content: ""; position: absolute; inset: 0; border-radius: 34px; padding: 3px; background: var(--rainbow-deep);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude; -webkit-mask-composite: xor; pointer-events: none; }
.plan-main__head { padding: 44px 40px; background: linear-gradient(150deg, #f7f2ff, #fff4fa 55%, #f1fbff); }
.plan-main__tag, .plan-card__tag { display: inline-block; margin: 0 0 12px; padding: 3px 14px; border-radius: 999px; font-size: .8rem; font-weight: 700; color: var(--white); background: var(--ink); }
.plan-main h3 { margin: 0; font-size: 1.35rem; font-weight: 900; line-height: 1.5; }
.plan-main__price { margin: 26px 0 0; font-family: var(--font-en); font-weight: 800; font-size: clamp(2.3rem, 4.6vw, 3.1rem); line-height: 1; }
.plan-main__price .yen { font-size: .5em; margin-right: 4px; }
.plan-main__price small, .plan-card__price small { display: inline-block; white-space: nowrap; font-family: var(--font-jp); font-size: .95rem; font-weight: 700; margin-left: 6px; }
.plan-main__ex { margin: 8px 0 0; color: var(--ink-soft); font-size: .9rem; }
.plan-main__body { padding: 40px; display: grid; gap: 24px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.checks li { position: relative; padding-left: 30px; font-weight: 700; font-size: .95rem; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: .15em; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-content: center; font-size: .75rem; color: var(--white); background: var(--rainbow-deep);
}
.spec { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.spec div { padding: 12px 16px; border-radius: 16px; background: var(--bg-alt); }
.spec dt { font-size: .75rem; color: var(--ink-soft); font-weight: 700; }
.spec dd { margin: 2px 0 0; font-weight: 900; font-size: .95rem; }
.plan-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.plan-card { padding: 30px 32px; border-radius: var(--radius); background: var(--white); border: 2px solid var(--line); }
.plan-card h3 { margin: 0; font-size: 1.1rem; font-weight: 900; line-height: 1.6; }
.plan-card__note { margin: 4px 0 0; color: var(--ink-soft); font-size: .88rem; }
.plan-card__price { margin: 14px 0 0; font-family: var(--font-en); font-weight: 800; font-size: 1.9rem; }
.option-table { border-radius: var(--radius); background: var(--white); padding: 10px 30px 24px; border: 2px solid var(--line); }
.option-table table { width: 100%; border-collapse: collapse; }
.option-table th, .option-table td { padding: 16px 4px; border-bottom: 1px dashed var(--line); text-align: left; font-size: .97rem; }
.option-table th { font-weight: 700; }
.option-table td { text-align: right; font-family: var(--font-en); font-weight: 700; white-space: nowrap; }
.table-note { margin: 16px 0 0; font-size: .85rem; color: var(--ink-soft); }
.pay { margin-top: 40px; padding: 30px 34px; border-radius: var(--radius); background: var(--bg-alt); }
.pay h3 { margin: 0 0 8px; font-size: 1.15rem; font-weight: 900; }
.pay p { margin: 0; }
.pay__list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 16px 0 0; }
.pay__list li { padding: 6px 18px; border-radius: 999px; background: var(--white); font-weight: 700; border: 1px solid var(--line); }
@media (max-width: 860px) {
  .plan-main, .plan-sub { grid-template-columns: 1fr; }
  .plan-main__head, .plan-main__body { padding: 30px 24px; }
  .checks { grid-template-columns: 1fr; }
  .option-table { padding: 6px 18px 20px; }
}

/* flow */
.flow { background: var(--bg-alt); }
.timeline { list-style: none; counter-reset: step; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.timeline li {
  counter-increment: step; position: relative; padding: 26px 24px 24px 84px; border-radius: 24px; background: var(--white);
  box-shadow: 0 14px 30px -24px rgba(60,40,150,.6);
}
.timeline li::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 22px; top: 24px; width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-content: center; font-family: var(--font-en); font-weight: 800; font-size: .95rem; color: var(--white);
  background: var(--rainbow-deep); background-size: 900% 100%; background-position: calc((var(--i, 0)) * 12.5%) 0;
}
.timeline li:last-child { background: var(--ink); color: var(--white); }
.timeline li:last-child p { color: rgba(255,255,255,.75); }
.timeline h3 { margin: 0; font-size: 1.05rem; font-weight: 900; line-height: 1.5; }
.timeline p { margin: 4px 0 0; font-size: .88rem; color: var(--ink-soft); }
.flow__note { margin: 22px 0 0; font-weight: 700; text-align: center; }
.prepare { margin-top: 56px; padding: 40px; border-radius: 34px; background: var(--white); border: 3px dashed var(--line); }
.prepare h3 { margin: 0 0 18px; font-size: 1.3rem; font-weight: 900; }
.prepare ul { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.prepare li { padding: 8px 18px; border-radius: 999px; background: var(--bg-alt); font-weight: 700; font-size: .92rem; }
.prepare p { margin: 0; color: var(--ink-soft); }
@media (max-width: 860px) { .timeline { grid-template-columns: 1fr; } .prepare { padding: 28px 22px; } }

/* faq */
.faq details { margin-bottom: 14px; border-radius: 22px; background: var(--white); border: 2px solid var(--line); overflow: hidden; }
.faq summary { position: relative; padding: 22px 60px 22px 64px; font-weight: 900; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 22px; top: 18px; font-family: var(--font-en); font-weight: 800; font-size: 1.3rem; color: var(--violet); }
.faq summary::after { content: "+"; position: absolute; right: 24px; top: 16px; font-size: 1.6rem; font-weight: 500; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 28px 24px 64px; color: var(--ink-soft); }

/* cta */
.cta { padding: 0 20px clamp(80px, 10vw, 120px); }
.cta__inner {
  position: relative; overflow: hidden; width: min(1120px, 100%); margin-inline: auto; padding: clamp(50px, 8vw, 90px) 30px;
  border-radius: 40px; text-align: center; color: var(--white);
  background: var(--rainbow-deep);
}
.cta__inner::before {
  content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.25) 1.4px, transparent 1.4px); background-size: 22px 22px; pointer-events: none;
}
.cta h2 { position: relative; margin: 0 0 14px; font-size: clamp(1.6rem, 4.4vw, 2.6rem); font-weight: 900; text-shadow: 0 4px 20px rgba(60,30,140,.3); }
.cta p { position: relative; margin: 0 0 32px; font-weight: 700; }
.cta .btn { position: relative; }

/* footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.8); padding: 60px 0 30px; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; }
.brand__mark--footer { display: inline-block; margin: 0; font-size: 2rem; }
.footer__name { margin: 6px 0 0; font-weight: 700; color: var(--white); }
.footer__op { margin: 4px 0 0; font-size: .85rem; }
.footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer__links a { color: rgba(255,255,255,.85); text-decoration: none; font-size: .9rem; }
.footer__links a:hover { color: var(--white); text-decoration: underline; }
.copyright { margin: 40px 0 0; text-align: center; font-size: .78rem; opacity: .6; }

/* lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(20,16,40,.82); backdrop-filter: blur(6px); }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 18px; background: var(--white); }
.lightbox__close {
  position: fixed; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  font-size: 1.6rem; background: var(--white); color: var(--ink);
}

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* keyframes */
@keyframes flow { to { background-position: 200% 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 50% { transform: translateY(-12px); } }
@keyframes float-a { 50% { transform: rotate(-3deg) translateY(-14px); } }
@keyframes float-b { 50% { transform: rotate(8deg) translateY(12px); } }
@keyframes twinkle { 50% { opacity: .2; transform: scale(.6) rotate(20deg); } }
@keyframes drift { to { transform: translate(6vw, 4vw) scale(1.15); } }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
