/* Chillue home と同系のグラデ（cyan → blue → purple → pink）を Flowless LP に導入 */

:root {
  --g1: #00a3ff;
  --g2: #3b6bff;
  --g3: #8b3be8;
  --g4: #e8339e;
  --grad: linear-gradient(90deg, var(--g1) 0%, var(--g2) 34%, var(--g3) 68%, var(--g4) 100%);
  --grad-angle: linear-gradient(105deg, var(--g1) 0%, var(--g2) 32%, var(--g3) 62%, var(--g4) 100%);
  --ease-fl: cubic-bezier(0.22, 0.8, 0.2, 1);
  --fl-aura-layers:
    radial-gradient(ellipse 78% 52% at 88% 6%, rgba(0, 163, 255, 0.28), transparent 58%),
    radial-gradient(ellipse 70% 48% at 8% 42%, rgba(59, 107, 255, 0.2), transparent 56%),
    radial-gradient(ellipse 68% 46% at 72% 68%, rgba(139, 59, 232, 0.22), transparent 55%),
    radial-gradient(ellipse 62% 42% at 28% 88%, rgba(232, 51, 158, 0.16), transparent 52%);
}

:focus-visible {
  outline: 2px solid var(--g2);
  outline-offset: 3px;
}

/* ---------- Hero〜Solution 共通のグラデ背景（区切りを消す） ---------- */
.app {
  isolation: isolate;
  background: var(--fl-aura-layers), #000;
}

/* 問題・解決セクションの黒ベタを外し、ヒーローと同じ背面を透過でつなぐ */
._hero_q66c1_1,
#problem,
#solution,
._section_1ralo_1,
._section_1jb0j_1 {
  background: transparent;
}

/* ---------- Hero：コピー左・ビジュアル右の2カラム（右側の空きを解消） ---------- */
@media (min-width: 861px) {
  ._inner_q66c1_9 {
    display: grid;
    /* 左は見出しが余裕をもって収まる幅。余りは右図へ */
    grid-template-columns: 470px minmax(0, 1fr);
    column-gap: 0;
    align-items: stretch;
  }

  ._copy_q66c1_16 {
    max-width: none;
    min-width: 0;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* 右図の高さに合わせ、上下パディング＋CTAを下へ寄せて余白を使う */
    min-height: min(78svh, 700px);
    padding-block: clamp(36px, 6.5vh, 80px);
    box-sizing: border-box;
  }

  /* 行間を広げて上下に呼吸を持たせる */
  ._headline_q66c1_20 {
    font-size: clamp(1.8rem, 0.95rem + 1.4vw, 2.55rem);
    line-height: 1.78;
  }

  ._headline_q66c1_20 span {
    white-space: nowrap;
  }

  ._lede_q66c1_33 {
    margin-top: clamp(2.6rem, 6vh, 4.5rem);
    line-height: 1.8;
  }

  ._statement_q66c1_34 {
    margin-top: 0.65rem;
    line-height: 1.8;
  }

  ._actions_q66c1_49 {
    margin-top: auto;
    padding-top: clamp(1.4rem, 3vh, 2.4rem);
    margin-bottom: clamp(28px, 5.5vh, 64px);
  }

  ._visual_q66c1_55 {
    margin-top: 0;
    margin-left: -16px;
    min-width: 0;
    width: calc(100% + 16px);
    min-height: min(78svh, 700px);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: visible;
  }

  /* 右列いっぱいに拡大。縦長 SVG なので高さがしっかり出る */
  ._visual_q66c1_55 ._svg_gai4b_1 {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: min(82svh, 720px);
  }
}

@media (max-width: 860px) {
  ._inner_q66c1_9 {
    display: block;
  }

  ._visual_q66c1_55 {
    margin-top: clamp(28px, 4vh, 48px);
  }
}

/* Cases: 上セクションと同じグラデから入り、反転後に白へ */
#cases,
._section_122ik_37 {
  position: relative;
  z-index: 1;
  --cases-bg: transparent;
  --cases-paper: #000;
  background: transparent;
  transition:
    background-color 0.7s var(--ease-fl),
    color 0.7s var(--ease-fl);
}

#cases[data-surface="light"],
#cases._inverted_122ik_59,
._section_122ik_37._inverted_122ik_59 {
  --cases-bg: #ffffff;
  --cases-paper: #ffffff;
  --cases-fg: #111;
  --cases-muted: rgba(0, 0, 0, 0.45);
  --cases-copy: rgba(0, 0, 0, 0.62);
  --cases-line: #111;
  background: transparent;
  color: #111;
}

/* CASES 白反転後は html/body の1枚グラデを固定表示。各セクションは透過でつなぐ */
html:has(#cases[data-surface="light"]),
body:has(#cases[data-surface="light"]) {
  background: var(--fl-aura-layers), #ffffff;
  background-attachment: fixed;
}

#fl-app:has(#cases[data-surface="light"]),
#fl-app:has(#cases[data-surface="light"]) .app {
  background: transparent;
}

.fl-sec {
  background: transparent;
}

.app::before,
.app::after {
  content: "";
  position: fixed;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(88px);
  opacity: 0.42;
  will-change: transform;
  animation: fl-aura-drift 26s ease-in-out infinite;
}

.app::before {
  width: min(58vw, 680px);
  height: min(58vw, 680px);
  top: -10%;
  right: -8%;
  background: radial-gradient(
    circle at 40% 40%,
    rgba(0, 163, 255, 0.58) 0%,
    rgba(59, 107, 255, 0.28) 42%,
    transparent 70%
  );
}

.app::after {
  width: min(64vw, 760px);
  height: min(64vw, 760px);
  bottom: -14%;
  left: -12%;
  background: radial-gradient(
    circle at 55% 50%,
    rgba(232, 51, 158, 0.4) 0%,
    rgba(139, 59, 232, 0.3) 44%,
    transparent 72%
  );
  animation-delay: -9s;
  animation-duration: 32s;
}

@keyframes fl-aura-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(28px, -22px, 0) scale(1.05);
  }
}

/* ---------- ヘッダー：固定＋モバイルメニュー ---------- */
._header_1vq7w_1 {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  width: 100%;
  background: #000 !important;
  color: #fff !important;
  border-bottom-color: #ffffff1f !important;
}

/* 白セクション上でもヘッダーは黒のまま */
._header_1vq7w_1._light_1vq7w_17 {
  background: #000 !important;
  color: #fff !important;
  border-bottom-color: #ffffff1f !important;
}

._header_1vq7w_1._light_1vq7w_17 ._nav_1vq7w_39,
._header_1vq7w_1._light_1vq7w_17 ._nav_1vq7w_39 a {
  color: #ffffffb8 !important;
}

body {
  padding-top: var(--header-h, 72px);
}

._mobileNav_1vq7w_88 {
  display: none !important;
  position: fixed;
  top: var(--header-h, 72px);
  left: 0;
  right: 0;
  z-index: 199;
  margin: 0;
  padding: 12px var(--page-pad, 24px) 24px;
  background: #000;
  border-bottom: 1px solid #ffffff1f;
  flex-direction: column;
  gap: 16px;
  max-height: calc(100vh - var(--header-h, 72px));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

._header_1vq7w_1.fl-header-open ~ ._mobileNav_1vq7w_88 {
  display: flex !important;
}

._mobileNav_1vq7w_88 {
  pointer-events: none;
}

._header_1vq7w_1.fl-header-open ~ ._mobileNav_1vq7w_88 {
  pointer-events: auto;
}

._mobileNav_1vq7w_88 a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
  font-family: var(--font-en, Inter, sans-serif);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-decoration: none;
}

._mobileNav_1vq7w_88 a:hover { opacity: .7; }

._mobileNav_1vq7w_88 .fl-nav__en {
  font-family: var(--font-en, Inter, sans-serif);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  color: #fff;
}

._mobileNav_1vq7w_88 .fl-nav__ja {
  font-family: var(--font-sans, "Noto Sans JP", sans-serif);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .04em;
  color: #ffffff8f;
  line-height: 1.4;
}

._mobileNav_1vq7w_88 a.fl-nav-consult {
  display: inline-flex;
  justify-content: flex-start;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid #ffffff1f;
  font-family: var(--font-sans, "Noto Sans JP", sans-serif);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
}

/* 全画面幅でハンバーガーメニュー（PCの横並びナビは非表示） */
._nav_1vq7w_39,
._cta_1vq7w_60 {
  display: none !important;
}

._menuBtn_1vq7w_72 {
  display: flex !important;
  margin-left: auto;
}

._menuBtn_1vq7w_72[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

._menuBtn_1vq7w_72[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

._menuBtn_1vq7w_72 span {
  transition: transform .2s ease;
}

@media (min-width: 901px) {
  ._mobileNav_1vq7w_88 {
    left: auto;
    right: 0;
    width: min(360px, 100%);
    border-left: 1px solid #ffffff1f;
    padding: 16px 28px 28px;
  }
}

@media (max-width: 430px) {
  ._mobileNav_1vq7w_88 {
    gap: 13px;
    padding: 10px 20px 20px;
  }
  ._mobileNav_1vq7w_88 .fl-nav__en {
    font-size: 11px;
  }
  ._mobileNav_1vq7w_88 .fl-nav__ja {
    font-size: 9px;
  }
}

._header_1vq7w_1::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--grad);
  opacity: 0.58;
  pointer-events: none;
}

._header_1vq7w_1._light_1vq7w_17::after {
  opacity: 0.72;
}

._cta_1vq7w_60 {
  border: 1px solid transparent;
  background:
    linear-gradient(#000, #000) padding-box,
    var(--grad) border-box;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.3s var(--ease-fl),
    transform 0.3s var(--ease-fl);
}

._header_1vq7w_1._light_1vq7w_17 ._cta_1vq7w_60 {
  background:
    linear-gradient(#000, #000) padding-box,
    var(--grad) border-box !important;
  color: #fff !important;
}

._cta_1vq7w_60:hover {
  box-shadow: 0 8px 22px rgba(139, 59, 232, 0.28);
  transform: translateY(-1px);
}

/* ---------- CTA：home の btn-grad 相当 ---------- */
.btn-primary {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
  transition:
    transform 0.3s var(--ease-fl),
    box-shadow 0.3s var(--ease-fl),
    opacity 0.25s ease;
}

.btn-primary:hover {
  background: var(--grad-angle);
  box-shadow: 0 12px 34px rgba(139, 59, 232, 0.38);
  transform: translateY(-2px);
}

/* 白地用 invert を外し、グラデ上では白ロゴに */
.btn-primary ._invert_7d8i1_9 {
  filter: none;
  mix-blend-mode: screen;
}

.btn-secondary {
  border: 1px solid transparent;
  background:
    linear-gradient(#000, #000) padding-box,
    var(--grad) border-box;
}

.btn-secondary:hover {
  background:
    linear-gradient(rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.06)) padding-box,
    var(--grad) border-box;
  border-color: transparent;
}

/* ---------- セクション見出しの英字ラベル ---------- */
._eyebrow_1ralo_17,
._eyebrow_1jb0j_17,
._eyebrow_122ik_84 {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Solution 見出し内の System */
._system_1jb0j_33 {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- セクション閉じ枠（problem / solution） ---------- */
._close_d69eo_1 {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  border: 1px solid transparent;
  background:
    linear-gradient(#000, #000) padding-box,
    var(--grad) border-box;
}

._eyebrow_d69eo_8 {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- ダイアグラムのハブ光を tint ---------- */
._hub_1ralo_55 {
  filter:
    drop-shadow(0 0 18px rgba(0, 163, 255, 0.5))
    drop-shadow(0 0 34px rgba(139, 59, 232, 0.32));
}

._core_1jb0j_87 {
  filter:
    drop-shadow(0 0 16px rgba(0, 163, 255, 0.45))
    drop-shadow(0 0 28px rgba(232, 51, 158, 0.28));
}

._hubRing_gai4b_32 {
  filter:
    drop-shadow(0 0 16px rgba(0, 163, 255, 0.42))
    drop-shadow(0 0 26px rgba(139, 59, 232, 0.28));
}

._hub_1xk7e_17,
._hub_wihht_267 {
  box-shadow:
    0 0 28px rgba(0, 163, 255, 0.35),
    0 0 48px rgba(139, 59, 232, 0.22);
  border-color: rgba(255, 255, 255, 0.85);
}

/* mesh のシグナル線：見やすく、各ラインで速度・位相をずらす */
._signal_15uw9_1 {
  stroke: rgba(200, 235, 255, 0.98);
  stroke-width: 1.8px;
  stroke-dasharray: 16 200;
  filter: drop-shadow(0 0 5px rgba(120, 200, 255, 0.95));
  animation-name: _meshDash_15uw9_1;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: 4.2s;
}

._overlay_wihht_17 > path._signal_15uw9_1:nth-of-type(1) {
  animation-duration: 2.8s;
  animation-delay: 0s;
}
._overlay_wihht_17 > path._signal_15uw9_1:nth-of-type(2) {
  animation-duration: 4.6s;
  animation-delay: -1.4s;
}
._overlay_wihht_17 > path._signal_15uw9_1:nth-of-type(3) {
  animation-duration: 3.4s;
  animation-delay: -0.6s;
}
._overlay_wihht_17 > path._signal_15uw9_1:nth-of-type(4) {
  animation-duration: 5.2s;
  animation-delay: -2.1s;
}
._overlay_wihht_17 > path._signal_15uw9_1:nth-of-type(5) {
  animation-duration: 3.9s;
  animation-delay: -0.9s;
}
._overlay_wihht_17 > path._signal_15uw9_1:nth-of-type(6) {
  animation-duration: 2.4s;
  animation-delay: -0.3s;
  stroke-dasharray: 12 180;
}
._overlay_wihht_17 > path._signal_15uw9_1:nth-of-type(7) {
  animation-duration: 3.6s;
  animation-delay: -1.8s;
}
._overlay_wihht_17 > path._signal_15uw9_1:nth-of-type(8) {
  animation-duration: 4.1s;
  animation-delay: -2.6s;
}

/* Cases 区切り線を薄いグラデに */
._intro_122ik_74 {
  position: relative;
  border-bottom-color: transparent;
}

._intro_122ik_74::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--grad);
  opacity: 0.55;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .app::before,
  .app::after {
    animation: none;
  }

  .btn-primary:hover,
  ._cta_1vq7w_60:hover {
    transform: none;
  }
}
