/* ============================================================
   YUITEL — landing page stylesheet
   AIを活用したアプリ開発・Webサイト制作の個人スタジオLP。
   ============================================================ */

:root {
  --ink: #122030;
  --muted: #566b7a;
  --paper: #f2f7f1;
  --paper-strong: #fbfdf7;
  --night: #0e2440;
  --night-2: #164066;
  --tx-dark: #edf6fc;
  --mut-dark: #a3bed4;
  --line: rgba(18, 32, 48, 0.14);
  --line-soft: rgba(255, 255, 255, 0.16);
  --blue: #2e9fd8;
  --teal: #3fbf6f;
  --aqua: #7fd4f0;
  --grad: linear-gradient(98deg, #3fb1e8 0%, #55d47f 100%);
  --font-jp: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --font-en: "Space Grotesk", "Zen Kaku Gothic New", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 72px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-jp);
  line-height: 1.85;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
::selection { background: #55d47f; color: #06331a; }

/* ---------- スクロールプログレス ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 60;
  width: 100%; height: 3px;
  background: var(--grad);
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left;
}
.progress-leaf {
  position: fixed; top: -2px; left: calc(var(--scroll-progress, 0) * 100%); z-index: 61;
  width: 15px; height: 15px;
  opacity: clamp(0, calc(var(--scroll-progress, 0) * 30), 1);
  transform: translateX(-70%) rotate(12deg);
  pointer-events: none;
}
.progress-leaf svg { display: block; width: 100%; height: 100%; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px 40px;
  color: #fff;
  border-bottom: 1px solid transparent;
  transition: background 200ms ease, border-color 200ms ease, padding 200ms ease;
}
.site-header.is-scrolled {
  padding-block: 12px;
  background: rgba(12, 30, 51, 0.82);
  border-color: var(--line-soft);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 34px -18px rgba(0, 0, 0, 0.55);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; }
.brand-mark {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--grad);
  color: #fff;
  font-family: var(--font-en); font-size: 1.15rem; font-weight: 700; line-height: 1;
}
.brand-text { font-family: var(--font-en); font-size: 1.22rem; letter-spacing: 0.02em; }
.site-nav { display: flex; align-items: center; gap: 26px; font-size: 0.88rem; font-weight: 700; }
.site-nav a:not(.nav-cta) { position: relative; opacity: 0.85; transition: opacity 160ms ease; }
.site-nav a:not(.nav-cta)::after {
  position: absolute; right: 0; bottom: -7px; left: 0;
  height: 2px; background: var(--grad); content: "";
  transform: scaleX(0); transform-origin: right;
  transition: transform 200ms ease;
}
.site-nav a:not(.nav-cta):hover, .site-nav a:not(.nav-cta):focus-visible { opacity: 1; }
.site-nav a:not(.nav-cta):hover::after, .site-nav a:not(.nav-cta):focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
  padding: 9px 18px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  transition: background 180ms ease, border-color 180ms ease;
}
.nav-cta:hover, .nav-cta:focus-visible { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.4); }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  display: grid;
  min-height: max(680px, 96svh);
  overflow: hidden;
  color: var(--tx-dark);
  background: linear-gradient(180deg, #0c1e33 0%, #123354 55%, #1c4c74 100%);
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.aurora { position: absolute; display: block; border-radius: 50%; filter: blur(90px); opacity: 0.2; }
.a1 { width: 54vw; height: 54vw; left: -16vw; top: -20vw; background: #2a7fd0; translate: calc(var(--px, 0) * -20px) calc(var(--py, 0) * -14px); animation: drift1 24s ease-in-out infinite alternate; }
.a2 { width: 40vw; height: 40vw; right: -12vw; top: 26vh; background: #2fae72; translate: calc(var(--px, 0) * -14px) calc(var(--py, 0) * -10px); animation: drift2 30s ease-in-out infinite alternate; }
.a3 { width: 42vw; height: 42vw; left: 24vw; bottom: -26vw; background: #37b6d9; opacity: 0.14; translate: calc(var(--px, 0) * -9px) calc(var(--py, 0) * -6px); animation: drift3 36s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(8vw, 6vh) scale(1.1); } }
@keyframes drift2 { to { transform: translate(-6vw, 8vh) scale(0.94); } }
@keyframes drift3 { to { transform: translate(5vw, -7vh) scale(1.06); } }
.water {
  position: absolute; right: -12%; bottom: -24%; left: -12%;
  height: 76%;
  background:
    repeating-radial-gradient(circle at 66% 6%, rgba(140, 216, 244, 0.11) 0 1.5px, transparent 1.5px 74px),
    repeating-radial-gradient(circle at 87% 10%, rgba(140, 216, 244, 0.07) 0 1px, transparent 1px 58px);
  translate: calc(var(--px, 0) * 8px) calc(var(--py, 0) * 5px);
  transform: perspective(720px) rotateX(60deg);
  transform-origin: 50% 0;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.85) 26%, rgba(0, 0, 0, 0.5) 66%, transparent 94%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.85) 26%, rgba(0, 0, 0, 0.5) 66%, transparent 94%);
}

/* ---------- 木漏れ日のような光 ---------- */
.ray {
  position: absolute; top: -2%;
  width: 120px; height: 62%;
  background: linear-gradient(180deg, rgba(214, 242, 255, 0.09), rgba(214, 242, 255, 0) 80%);
  transform: skewX(-13deg);
  filter: blur(5px);
  animation: kray 11s ease-in-out infinite alternate;
}
.r1 { left: 57%; }
.r2 { left: 75%; width: 70px; animation-delay: 2.5s; }
@keyframes kray { from { opacity: 0.4; } to { opacity: 0.85; } }

/* ---------- 水滴と波紋(JSが落下点を変えながら生成) ---------- */
.fall {
  position: absolute;
  width: 9px; height: 13px;
  margin-left: -4px;
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  background: radial-gradient(circle at 35% 30%, #e8f8ff, #9fdcf6 55%, #57b6e4);
  box-shadow: 0 0 14px rgba(127, 205, 240, 0.4);
  opacity: 0;
  transform: translateY(-60vh);
  animation: kfall 0.95s cubic-bezier(0.5, 0.05, 0.75, 0.35) forwards;
}
@keyframes kfall {
  0% { transform: translateY(-60vh); opacity: 0; }
  10% { opacity: 0.85; }
  88% { opacity: 0.85; }
  100% { transform: translateY(0); opacity: 0; }
}
.ripple {
  position: absolute;
  border: 1.2px solid rgba(146, 220, 246, 0.5);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.12);
  animation: krip 1.5s ease-out forwards;
}
@keyframes krip {
  0% { transform: translate(-50%, -50%) scale(0.12); opacity: 0; }
  10% { opacity: 0.45; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}

/* ---------- 水辺から育つ芽(水滴の着水点にJSが植える) ---------- */
.sprout {
  position: absolute;
  width: 120px; height: 150px;
  pointer-events: none;
  /* 根元ほど透けて、水面下に沈んで見えるように */
  mask-image: linear-gradient(180deg, #000 0%, #000 74%, rgba(0, 0, 0, 0.35) 90%, transparent 99%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 74%, rgba(0, 0, 0, 0.35) 90%, transparent 99%);
}
.sp-stem, .sp-br {
  fill: none;
  stroke: #6fcf8e;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.sp-br { stroke-width: 2.2; }
.sp-stem { animation: kdraw 1.4s ease-out 0.1s forwards; }
.sp-br { animation: kdraw 0.7s ease-out 1.05s forwards; }
@keyframes kdraw { to { stroke-dashoffset: 0; } }
.lf {
  transform: scale(0);
  transform-box: fill-box;
  transform-origin: left center;
}
.lf-a { fill: #7fdd9b; animation: kleaf 0.6s cubic-bezier(0.34, 1.5, 0.64, 1) 1.35s forwards; }
.lf-b { fill: #5bc97f; animation: kleaf 0.6s cubic-bezier(0.34, 1.5, 0.64, 1) 1.6s forwards; }
.lf-c { fill: #8fe3a8; animation: kleaf 0.6s cubic-bezier(0.34, 1.5, 0.64, 1) 1.85s forwards; }
.lf-d { fill: #6fd98f; animation: kleaf 0.6s cubic-bezier(0.34, 1.5, 0.64, 1) 2.05s forwards; }
@keyframes kleaf {
  0% { transform: scale(0); }
  70% { transform: scale(1.12); }
  100% { transform: scale(1); }
}
.swy {
  transform-box: fill-box;
  transform-origin: left center;
  animation: kswy 4.8s ease-in-out 2.6s infinite alternate;
}
@keyframes kswy { from { transform: rotate(-1.6deg); } to { transform: rotate(2.4deg); } }

/* ---------- 浮遊する水の玉と葉 ---------- */
.hero-chips { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.chip {
  position: absolute;
  border: 1px solid rgba(210, 240, 255, 0.38);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.55), rgba(190, 232, 255, 0.14) 40%, rgba(150, 214, 248, 0.05) 68%, rgba(255, 255, 255, 0.02));
  box-shadow: 0 14px 30px -12px rgba(2, 24, 44, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.c1 { top: 27%; right: 10%; width: 46px; height: 46px; --tilt: 0deg; translate: calc(var(--px, 0) * 26px) calc(var(--py, 0) * 18px); animation: bob 6.5s ease-in-out infinite; }
.c2 { top: 47%; right: 21%; width: 32px; height: 32px; --tilt: 0deg; translate: calc(var(--px, 0) * 16px) calc(var(--py, 0) * 11px); animation: bob 8s ease-in-out 0.6s infinite; }
.c3 { top: 61%; right: 7%; width: 22px; height: 22px; opacity: 0.8; filter: blur(1px); --tilt: 0deg; translate: calc(var(--px, 0) * 10px) calc(var(--py, 0) * 7px); animation: bob 9.5s ease-in-out 1.1s infinite; }
.c4 {
  top: 36%; right: 16%;
  width: 24px; height: 24px;
  border: 0; border-radius: 0;
  background: none; box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  opacity: 0.85;
  --tilt: 14deg; transform: rotate(14deg);
  translate: calc(var(--px, 0) * 20px) calc(var(--py, 0) * 14px);
  animation: bob 7.2s ease-in-out 0.9s infinite;
}
.c4 svg { display: block; width: 100%; height: 100%; fill: #6fdb95; }
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(var(--tilt, 0deg)); }
  50% { transform: translateY(-12px) rotate(var(--tilt, 0deg)); }
}
.hero-content {
  position: relative; z-index: 1;
  width: min(1120px, calc(100% - 80px));
  margin: auto;
  padding: 150px 0 170px;
}
.eyebrow {
  margin: 0 0 16px;
  font-family: var(--font-en);
  color: #1f8e4d;
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero .eyebrow, .section-dark .eyebrow { color: #7fe3a6; }
.hero h1, .section h2 { margin: 0; font-weight: 900; line-height: 1.16; letter-spacing: 0.01em; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); text-shadow: 0 3px 22px rgba(4, 8, 20, 0.55); }
.m-br { display: none; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  max-width: 640px;
  margin: 30px 0 0;
  color: var(--mut-dark);
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  font-weight: 500;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.95rem; font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}
.button-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 12px 26px -10px rgba(46, 159, 216, 0.6);
}
.button-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.button:hover, .button:focus-visible { transform: translateY(-3px); }
.button-primary:hover, .button-primary:focus-visible { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 20px 38px -12px rgba(46, 159, 216, 0.72); }
.button-ghost:hover, .button-ghost:focus-visible { border-color: #fff; background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 16px 30px -14px rgba(0, 0, 0, 0.5); }
.button:active { transform: translateY(-1px); transition-duration: 80ms; }
.hero-stats {
  position: absolute; right: 40px; bottom: 0; left: 40px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1120px, calc(100% - 80px));
  margin: auto;
  border-top: 1px solid var(--line-soft);
}
.hero-stats div { min-width: 0; padding: 20px 18px 24px 0; border-right: 1px solid var(--line-soft); }
.hero-stats div + div { padding-left: 20px; }
.hero-stats div:last-child { border-right: 0; }
.hero-stats dt, .hero-stats dd { margin: 0; }
.hero-stats dt { color: var(--aqua); font-family: var(--font-en); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.hero-stats dd { margin-top: 5px; font-size: 0.98rem; font-weight: 700; }

/* ---------- 共通セクション ---------- */
.section { padding: 116px 40px; }
.section > * { width: min(1120px, 100%); margin-inline: auto; }
.section h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.section-heading { margin-bottom: 58px; }
.section-heading p:not(.eyebrow) { max-width: 620px; margin: 22px 0 0; color: var(--muted); font-size: 1rem; }
.section-dark { background: var(--night); color: var(--tx-dark); }
.section-dark .section-heading p:not(.eyebrow) { color: var(--mut-dark); }

/* ---------- サービス ---------- */
.section-services { background: var(--paper-strong); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.service-card {
  position: relative;
  padding: 34px 30px 38px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfaf5 100%);
  box-shadow:
    0 1px 2px rgba(16, 20, 31, 0.04),
    0 12px 28px -14px rgba(16, 20, 31, 0.12),
    0 34px 60px -30px rgba(16, 20, 31, 0.18);
  transition: transform 220ms ease, box-shadow 260ms ease, border-color 260ms ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(46, 159, 216, 0.45);
  box-shadow:
    0 2px 4px rgba(16, 20, 31, 0.05),
    0 20px 40px -16px rgba(16, 20, 31, 0.18),
    0 48px 84px -32px rgba(24, 105, 150, 0.3);
}

/* サービスカード: ホバーで芽が伸びる */
.card-sprout {
  position: absolute; top: -15px; right: 30px; z-index: 2;
  width: 34px; height: 34px;
  fill: none;
  stroke: #3aa864;
  stroke-width: 1.9;
  stroke-linecap: round;
  opacity: 0;
  transition: opacity 0.25s ease 0.05s;
  pointer-events: none;
}
.card-sprout path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 0.45s ease; }
.card-sprout .cs-stem { transition-delay: 0.05s; }
.card-sprout .cs-l { transition-delay: 0.3s; }
.card-sprout .cs-r { transition-delay: 0.42s; }
.service-card:hover .card-sprout { opacity: 1; }
.service-card:hover .card-sprout path { stroke-dashoffset: 0; }

/* チルト対象共通: カーソル追従の光沢レイヤー */
.tilt { position: relative; }
.tilt::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  border-radius: inherit;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(80, 178, 235, 0.16), transparent 62%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}
.tilt:hover::before { opacity: 1; }
.section-dark .tilt::before { background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.1), transparent 60%); }
.card-num {
  position: absolute; top: 26px; right: 28px;
  margin: 0;
  font-family: var(--font-en);
  color: rgba(16, 20, 31, 0.22);
  font-size: 1rem; font-weight: 700;
}
.card-icon {
  display: grid; place-items: center;
  width: 58px; height: 58px;
  border: 1px solid rgba(46, 159, 216, 0.2);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(63, 177, 232, 0.14), rgba(85, 212, 127, 0.12));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 10px 20px -10px rgba(46, 159, 216, 0.4);
  color: #2187c4;
}
.card-icon svg { width: 30px; height: 30px; }
.service-card h3 { margin: 22px 0 0; font-size: 1.24rem; font-weight: 900; line-height: 1.4; }
.service-card p:last-child { margin: 12px 0 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- 特徴 ---------- */
.section-why {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
}
.forest {
  position: absolute; right: 0; bottom: -6px; left: 0;
  width: 100%;
  height: 140px;
  margin: 0;
  pointer-events: none;
}
.forest svg { display: block; width: 100%; height: 100%; }
.forest-far { fill: #7fe0a6; opacity: 0.035; }
.forest-near { fill: #7fe0a6; opacity: 0.065; }
.section-why .section-heading, .why-list { position: relative; z-index: 1; }
.why-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.why-item {
  display: grid; grid-template-columns: auto 1fr; gap: 22px;
  padding: 32px 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px 8px 24px 8px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 24px 48px -24px rgba(2, 20, 38, 0.6);
  transition: transform 220ms ease, border-color 260ms ease, box-shadow 260ms ease;
}
.why-item:hover {
  transform: translateY(-5px);
  border-color: rgba(127, 224, 166, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 32px 60px -26px rgba(2, 20, 38, 0.72);
}
.why-num {
  margin: 4px 0 0;
  font-family: var(--font-en);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 1.05rem; font-weight: 700;
}
.why-item h3 { margin: 0; font-size: 1.28rem; font-weight: 900; line-height: 1.45; }
.why-item p { max-width: 430px; margin: 10px 0 0; color: var(--mut-dark); font-size: 0.95rem; }

/* ---------- ご依頼の流れ ---------- */
.flow-list {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px;
  margin: 0; padding: 0;
  list-style: none;
  counter-reset: flow;
}
.flow-step {
  position: relative;
  padding: 30px 24px 34px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--paper-strong) 0%, #faf8f2 100%);
  box-shadow:
    0 1px 2px rgba(16, 20, 31, 0.04),
    0 12px 26px -14px rgba(16, 20, 31, 0.1),
    0 30px 52px -30px rgba(16, 20, 31, 0.14);
  transition: transform 220ms ease, box-shadow 260ms ease, border-color 260ms ease;
}
.flow-step:hover {
  transform: translateY(-5px);
  border-color: rgba(85, 212, 127, 0.5);
  box-shadow:
    0 2px 4px rgba(16, 20, 31, 0.05),
    0 18px 36px -16px rgba(16, 20, 31, 0.15),
    0 42px 72px -32px rgba(31, 127, 70, 0.24);
}
.flow-step::after {
  position: absolute; top: 50%; right: -23px; z-index: 1;
  width: 22px; height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 12'%3E%3Cpath d='M1 6 C4 2 7 2 10 6 C13 10 16 10 21 5' fill='none' stroke='%232E9FD8' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  content: "";
  transform: translateY(-50%);
}
.flow-step:last-child::after { content: none; }
.flow-no {
  position: absolute; top: 26px; right: 26px;
  margin: 0;
  font-family: var(--font-en);
  color: rgba(18, 32, 48, 0.24);
  font-size: 0.95rem; font-weight: 700;
}
.flow-icon {
  display: grid; place-items: center;
  width: 50px; height: 50px;
  border: 1px solid rgba(46, 159, 216, 0.22);
  border-radius: 999px;
  background: linear-gradient(160deg, rgba(63, 177, 232, 0.13), rgba(85, 212, 127, 0.12));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 10px 20px -10px rgba(46, 159, 216, 0.4);
}
.flow-icon svg {
  width: 28px; height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.flow-step:nth-child(1) .flow-icon { color: #2694ce; }
.flow-step:nth-child(2) .flow-icon { color: #2fa8b8; }
.flow-step:nth-child(3) .flow-icon { color: #33a868; }
.flow-step:nth-child(4) .flow-icon { color: #1f7f46; }
.flow-step h3 { margin: 18px 0 0; font-size: 1.12rem; font-weight: 900; }
.flow-step p { margin: 8px 0 0; color: var(--muted); font-size: 0.9rem; }

/* ---------- お問い合わせ ---------- */
.section-contact { padding-block: 130px; text-align: center; }
.contact-inner {
  position: relative;
  overflow: hidden;
  max-width: 640px;
  padding: 58px 48px 62px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 22px;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 34px 70px -32px rgba(2, 20, 38, 0.7);
}
.contact-inner > * { position: relative; z-index: 1; }
.contact-inner::before, .contact-inner::after {
  content: "";
  position: absolute; bottom: 30px; left: 50%; z-index: 0;
  width: 300px; height: 80px;
  border: 1px solid rgba(146, 220, 246, 0.26);
  border-radius: 50%;
  opacity: 0;
  transform: translateX(-50%) scale(0.2);
  animation: kpond 7s ease-out infinite;
}
.contact-inner::after { animation-delay: 3.5s; }
@keyframes kpond {
  0% { transform: translateX(-50%) scale(0.2); opacity: 0; }
  12% { opacity: 0.4; }
  55% { transform: translateX(-50%) scale(1); opacity: 0; }
  100% { transform: translateX(-50%) scale(1); opacity: 0; }
}
.contact-lead { margin: 24px 0 0; color: var(--mut-dark); font-size: 1.02rem; }
.badge-soon {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 34px;
  padding: 13px 28px;
  border: 1px dashed rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: var(--mut-dark);
  font-family: var(--font-en);
  font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.badge-soon::before {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.25; } }

/* ---------- フッター ---------- */
.site-footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding: 30px 40px;
  background: var(--night);
  color: var(--tx-dark);
  border-top: 1px solid var(--line-soft);
}
.site-footer small { color: var(--mut-dark); font-size: 0.8rem; }
.footer-brand { display: inline-flex; flex-direction: column; align-items: flex-start; }
.roots {
  width: 76px; height: 26px;
  margin: 2px 0 0 -19px;
  fill: none;
  stroke: rgba(127, 224, 166, 0.35);
  stroke-width: 1.1;
  stroke-linecap: round;
}

/* ---------- 出現アニメーション ---------- */
.reveal { opacity: 0; transform: translateY(26px); }
.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 640ms ease var(--d, 0s), transform 640ms cubic-bezier(0.2, 0.75, 0.25, 1) var(--d, 0s);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .aurora { animation: none; }
  .chip { animation: none; }
  .fall, .ripple { display: none; }
  .ray, .swy { animation: none; }
  .sp-stem, .sp-br { animation: none; stroke-dashoffset: 0; }
  .lf { animation: none; transform: scale(1); }
  .contact-inner::before, .contact-inner::after { animation: none; }
}

@media (max-width: 1119px) {
  .fall, .ripple, .sprout { display: none; }
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 1020px) {
  .hero-chips { display: none; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-step:nth-child(even)::after { content: none; }
}
@media (max-width: 760px) {
  .site-header { padding-inline: 20px; }
  .site-nav a:not(.nav-cta) { display: none; }
  .pc-br { display: none; }
  .m-br { display: inline; }
  .ray { display: none; }
  .hero-content { width: calc(100% - 40px); padding: 130px 0 210px; }
  .hero-stats { right: 20px; left: 20px; width: calc(100% - 40px); grid-template-columns: 1fr; }
  .hero-stats div { display: flex; align-items: baseline; gap: 14px; padding: 10px 0; border-right: 0; }
  .hero-stats div + div { padding-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
  .hero-stats dt { min-width: 84px; }
  .hero-stats dd { margin-top: 0; font-size: 0.92rem; }
  .section { padding: 84px 20px; }
  .service-grid { grid-template-columns: 1fr; }
  .why-list { grid-template-columns: 1fr; }
  .why-item { padding: 24px 22px; }
  .why-item p { max-width: none; }
  .flow-list { grid-template-columns: 1fr; }
  .flow-step::after { content: none; }
  .contact-inner { padding: 44px 24px 48px; }
  .site-footer { padding-inline: 20px; }
}
