/* =========================================================
   フクアド サービスサイト
   ========================================================= */

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --tint: #f2f8fc;
  --ink: #1e2a33;
  --muted: #5d6a75;
  --line: #e1e8ee;
  --sky: #34a9ee;
  --sky-light: #9fd6f7;
  --blue: #1e8fdc;
  --blue-dark: #12699f;
  --blue-deep: #0d3f63;
  --blue-soft: #e6f4fd;
  --accent: #e57547;
  --accent-dark: #c95c30;
  --accent-soft: #fdf1eb;
  --grad: linear-gradient(120deg, #34a9ee 0%, #1e8fdc 55%, #1673c4 100%);

  --font-body: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-head: "Zen Kaku Gothic New", var(--font-body);
  --font-soft: "Zen Maru Gothic", var(--font-head);
  --font-en: "Urbanist", var(--font-body);

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(18, 105, 159, .08);
  --shadow-lg: 0 24px 60px rgba(18, 105, 159, .16);
  --header-h: 60px;
  --gutter: 20px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .02em;
  overflow-wrap: anywhere;
  overflow-x: hidden;
}
main { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.45; margin: 0; letter-spacing: .03em; word-break: auto-phrase; text-wrap: balance; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.container { position: relative; width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: 760px; }
.pc-only { display: none; }
@media (min-width: 768px) {
  .pc-only { display: inline; }
  .sp-only { display: none; }
}

/* ---------- buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 10px 28px;
  border: 0; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: 16px; letter-spacing: .06em;
  text-decoration: none; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(30, 143, 220, .35); }
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg); transition: left .6s var(--ease);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(30, 143, 220, .4); }
.btn-primary:hover::after { left: 120%; }
.btn-ghost { background: #fff; color: var(--blue-dark); box-shadow: inset 0 0 0 2px var(--blue); }
.btn-ghost:hover { background: var(--blue-soft); }
.btn-sm { min-height: 42px; padding: 6px 22px; font-size: 14px; }
.btn-lg { min-height: 60px; padding: 12px 36px; font-size: 17px; }
.btn-block { display: flex; width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--header-h);
  transition: background-color .3s, box-shadow .3s;
}
.site-header.is-scrolled, .nav-open .site-header {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 16px; }
.logo { display: flex; align-items: center; margin-right: auto; text-decoration: none; }
.logo img { height: 30px; width: auto; }
.logo-text { font-family: var(--font-head); font-weight: 900; font-size: 22px; color: var(--blue-dark); letter-spacing: .1em; }
.header-cta { display: none; }

.nav-toggle {
  width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer;
  display: grid; place-items: center;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .2s, background-color .2s;
}
.nav-toggle-bar { position: relative; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }
.nav-open .nav-toggle-bar { background: transparent; }
.nav-open .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

.global-nav {
  position: fixed; top: var(--header-h); left: 0; right: 0;
  background: #fff; box-shadow: var(--shadow);
  display: none;
}
.nav-open .global-nav { display: block; }
.global-nav ul { list-style: none; padding: 8px var(--gutter) 16px; }
.global-nav a {
  display: block; padding: 14px 4px; border-bottom: 1px solid var(--line);
  color: var(--ink); text-decoration: none; font-weight: 500;
}

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .header-cta { display: inline-flex; }
  .global-nav { position: static; display: block; background: none; box-shadow: none; }
  .global-nav ul { display: flex; gap: 28px; padding: 0; }
  .global-nav a { position: relative; padding: 4px 0; border: 0; font-size: 14px; }
  .global-nav a::after {
    content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
    background: var(--sky); transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease);
  }
  .global-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
}

/* ---------- blobs（ぼかした円がゆっくり動く背景） ---------- */
.blob {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55;
  animation: float 18s ease-in-out infinite alternate;
}
@keyframes float {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(40px, -30px) scale(1.08); }
  100% { transform: translate(-30px, 20px) scale(.95); }
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 64px) 0 124px;
  background: linear-gradient(180deg, #eaf6fe 0%, #fff 90%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(30, 143, 220, .16) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
}
.hero-bg .blob-1 { width: 420px; height: 420px; background: #9fd6f7; top: -120px; right: -80px; }
.hero-bg .blob-2 { width: 320px; height: 320px; background: #c9e9ff; bottom: 0; left: -120px; animation-delay: -6s; }
.hero-bg .blob-3 { width: 220px; height: 220px; background: #ffd9c7; top: 40%; left: 45%; opacity: .35; animation-delay: -12s; }

.hero-inner { text-align: center; }
/* ゆっくり回る輪っかの飾り */
.hero-bg .ring {
  position: absolute; border-radius: 50%; border: 1.5px solid rgba(52, 169, 238, .35);
  animation: float 16s ease-in-out infinite alternate;
}
.hero-bg .ring-1 { width: 150px; height: 150px; top: 8%; left: -60px; }
.hero-bg .ring-2 { width: 80px; height: 80px; bottom: 22%; right: 6%; border-color: rgba(229, 117, 71, .4); animation-delay: -5s; }
.hero-title {
  font-weight: 900; font-size: clamp(19px, 6.8vw, 64px); line-height: 1.45; letter-spacing: .04em;
  text-wrap: initial;
}
.hero-title .line { display: block; overflow: hidden; overflow: visible clip; padding-bottom: .06em; } /* 縦だけ切り取る（横にはみ出しても文字が消えない） */
.hero-title .line > span { display: inline-block; white-space: nowrap; }
.hero-title em {
  font-style: normal;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-title mark {
  color: inherit;
  background: linear-gradient(transparent 64%, rgba(52, 169, 238, .3) 64%) no-repeat 0 0 / 100% 100%;
}

.scroll-down {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-family: var(--font-en); font-weight: 700; font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--blue); text-decoration: none;
}
.scroll-down::after {
  content: ""; width: 1px; height: 44px;
  background: linear-gradient(var(--blue) 50%, rgba(30,143,220,.2) 50%) 0 -44px / 100% 200%;
  animation: scrollLine 2s var(--ease) infinite;
}
@keyframes scrollLine { to { background-position: 0 44px; } }

@media (min-width: 768px) {
  .hero { padding: calc(var(--header-h) + 72px) 0 128px; }
  .hero-title { font-size: min(5.4vw, 64px); }
  .hero-bg .ring-1 { width: 320px; height: 320px; left: 6%; }
  .hero-bg .ring-2 { width: 140px; height: 140px; }
}

/* 初回表示のアニメーション */
.js .hero-title .line > span { transform: translateY(110%); animation: lineUp 1s var(--ease) forwards; }
.js .hero-title .line:nth-child(1) > span { animation-delay: .2s; }
.js .hero-title .line:nth-child(2) > span { animation-delay: .35s; }
.js .hero-title .line:nth-child(3) > span { animation-delay: .5s; }
.js .hero-title mark { background-size: 0% 100%; animation: marker .8s var(--ease) 1.1s forwards; }
@keyframes lineUp { to { transform: translateY(0); } }
@keyframes marker { to { background-size: 100% 100%; } }

/* ---------- sections ---------- */
.section { position: relative; padding: 80px 0; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-en {
  font-family: var(--font-en); font-weight: 800; font-size: clamp(44px, 11vw, 88px);
  line-height: 1; letter-spacing: .01em; margin-bottom: 10px;
  background: linear-gradient(120deg, var(--sky) 0%, var(--blue) 60%, #6cc4f5 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-title { font-size: clamp(22px, 5.4vw, 30px); font-weight: 700; }
.section-lead { margin-top: 16px; color: var(--muted); }
.section-head-invert .section-en { background: none; color: rgba(255,255,255,.95); -webkit-text-fill-color: currentColor; }
.section-head-invert .section-title, .section-head-invert .section-lead { color: #fff; }
@media (min-width: 768px) {
  .section { padding: 120px 0; }
  .section-head { margin-bottom: 64px; }
}

/* スクロールで表示 */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- worries ---------- */
.worries { background: #fff; }
.worries-stage { display: flex; flex-direction: column; align-items: center; }
.worries-person { order: -1; margin: 0 0 20px; width: 190px; }
.worries-person img { width: 100%; }
.bubble {
  position: relative;
  padding: 20px 22px; border-radius: 24px;
  background: #fff; box-shadow: var(--shadow); border: 1.5px solid var(--blue-soft);
  font-family: var(--font-soft); font-weight: 500; font-size: 16px; line-height: 1.75;
}
.bubble strong { color: var(--blue-dark); background: linear-gradient(transparent 62%, var(--blue-soft) 62%); }
.bubble::after {
  content: ""; position: absolute; left: 50%; top: -11px; width: 20px; height: 20px;
  background: #fff; border-left: 1.5px solid var(--blue-soft); border-top: 1.5px solid var(--blue-soft);
  transform: translateX(-50%) rotate(45deg);
}

/* スマホ：吹き出しは横スクロール */
@media (max-width: 899px) {
  .bubbles {
    align-self: stretch; list-style: none;
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin: 0 calc(var(--gutter) * -1); padding: 14px var(--gutter) 24px;
    scrollbar-width: none;
  }
  .bubbles::-webkit-scrollbar { display: none; }
  .bubble { flex: 0 0 78%; scroll-snap-align: center; }
}

/* PC：人物のまわりに吹き出しを配置 */
@media (min-width: 900px) {
  .worries-stage {
    display: grid; grid-template-columns: 1fr 300px 1fr; gap: 28px 40px; align-items: center;
    grid-template-areas: "b1 person b2" "b3 person b4";
  }
  .bubbles { display: contents; list-style: none; }
  .worries-person { grid-area: person; width: 100%; margin: 0; }
  .bubble { padding: 26px 28px; }
  .bubble-1 { grid-area: b1; justify-self: end; }
  .bubble-2 { grid-area: b2; justify-self: start; }
  .bubble-3 { grid-area: b3; justify-self: end; margin-top: 12px; }
  .bubble-4 { grid-area: b4; justify-self: start; margin-top: 12px; }
  .bubble::after { top: 50%; width: 22px; height: 22px; }
  .bubble-1::after, .bubble-3::after { left: auto; right: -12px; transform: translateY(-50%) rotate(135deg); }
  .bubble-2::after, .bubble-4::after { left: -12px; transform: translateY(-50%) rotate(-45deg); }
  .worries .scroll-track { display: none; }
}
.js .bubble[data-reveal] { transform: translateY(24px) scale(.94); }
.js .bubble[data-reveal].is-visible { transform: none; }

/* ---------- bridge ---------- */
.bridge {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  padding: 64px 0;
}
.bridge-bg { position: absolute; inset: -12% 0; margin: 0; background: var(--blue-deep); }
.bridge-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; will-change: transform; }
.bridge::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(120deg, rgba(13, 63, 99, .92) 0%, rgba(18, 105, 159, .82) 50%, rgba(52, 169, 238, .7) 100%);
}
.bridge-inner { position: relative; z-index: 2; }
.bridge-lead { font-family: var(--font-head); font-weight: 700; font-size: 18px; margin-bottom: 8px; opacity: .9; }
.bridge-title { font-family: var(--font-head); font-weight: 900; font-size: clamp(22px, 5.6vw, 38px); line-height: 1.5; margin-bottom: 18px; }
.bridge-title span { background: linear-gradient(transparent 65%, rgba(229, 117, 71, .75) 65%); }
.bridge-text { font-size: 15px; line-height: 2; opacity: .92; }
@media (min-width: 768px) { .bridge { padding: 88px 0; } .bridge-text { font-size: 16px; } }

/* ---------- service ---------- */
.service-grid { display: grid; gap: 24px; }
.service-block {
  position: relative; padding: 36px 24px 28px;
  background: #fff; border-radius: 28px; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.service-block-monthly { background: var(--grad); color: #fff; border: 0; box-shadow: var(--shadow-lg); }
.service-phase {
  display: flex; align-items: baseline; gap: 14px; margin-bottom: 24px;
  font-family: var(--font-head); font-weight: 700; font-size: 18px;
}
.service-phase-en {
  font-family: var(--font-en); font-weight: 800; font-style: italic; font-size: 40px; line-height: 1;
  color: var(--sky);
}
.service-block-monthly .service-phase-en { color: #fff; }
.service-list { list-style: none; counter-reset: svc; display: grid; gap: 4px; }
.service-list li {
  counter-increment: svc; position: relative;
  padding: 18px 0 18px 52px; border-top: 1px dashed var(--line);
}
.service-block-monthly .service-list li { border-top-color: rgba(255,255,255,.3); }
.service-list li::before {
  content: counter(svc, decimal-leading-zero);
  position: absolute; left: 0; top: 16px;
  font-family: var(--font-en); font-weight: 800; font-size: 24px; color: var(--sky);
}
.service-block-monthly .service-list li::before { color: rgba(255,255,255,.75); }
.service-list h3 { font-size: 17px; margin-bottom: 4px; }
.service-list p { font-size: 15px; color: var(--muted); line-height: 1.75; }
.service-block-monthly .service-list p { color: rgba(255,255,255,.9); }
@media (min-width: 900px) {
  .service-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .service-block { padding: 48px 44px 36px; }
}

/* ---------- features（やわらかい雰囲気） ---------- */
.features { background: var(--tint); overflow: hidden; }
.features::before, .features::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.features::before { width: 520px; height: 520px; background: radial-gradient(circle, rgba(159, 214, 247, .55), transparent 70%); top: -160px; left: -200px; }
.features::after { width: 460px; height: 460px; background: radial-gradient(circle, rgba(255, 217, 199, .55), transparent 70%); bottom: -160px; right: -160px; }
.feature-list { list-style: none; display: grid; gap: 20px; position: relative; z-index: 1; }
.feature-card {
  position: relative; overflow: hidden;
  padding: 36px 28px 32px;
  background: rgba(255, 255, 255, .85);
  border-radius: 40px 40px 40px 12px;
  box-shadow: var(--shadow);
  transition: opacity 1s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease);
}
.feature-card:nth-child(even) { border-radius: 40px 40px 12px 40px; }
.feature-card::before {
  content: ""; position: absolute; right: -50px; top: -50px; width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, var(--blob, #d5edfc) 0%, transparent 70%);
}
.feature-card:nth-child(2) { --blob: #ffe4d8; }
.feature-card:nth-child(3) { --blob: #dff3ea; }
.feature-card:nth-child(4) { --blob: #e6e6fb; }
.feature-card.is-visible:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-num {
  position: relative;
  font-family: var(--font-en); font-weight: 800; font-size: 56px; line-height: 1; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--sky-light), var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.feature-card h3 { position: relative; font-family: var(--font-soft); font-weight: 700; font-size: 20px; line-height: 1.6; margin-bottom: 14px; }
/* 見出しは必ず2行（1行ずつ折り返さない）。狭い画面では文字を少し小さくする */
.feature-card h3 span { display: block; white-space: nowrap; }
@media (max-width: 767px) { .feature-card h3 { font-size: clamp(16px, 5.2vw, 20px); } }
.feature-card p:last-child { position: relative; color: var(--muted); font-size: 15px; line-height: 1.9; }
/* スマホでは横スクロール */
.scroll-track {
  position: relative; height: 4px; margin: 4px auto 0; max-width: 240px;
  border-radius: 4px; background: var(--line); overflow: hidden;
}
.scroll-track span {
  position: absolute; left: 0; top: 0; height: 100%; width: 30%;
  border-radius: 4px; background: var(--grad);
}
@media (max-width: 767px) {
  .feature-list {
    display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin: 0 calc(var(--gutter) * -1); padding: 8px var(--gutter) 28px;
    scrollbar-width: none;
  }
  .feature-list::-webkit-scrollbar { display: none; }
  .feature-card { flex: 0 0 84%; scroll-snap-align: center; }
}
@media (min-width: 768px) {
  .scroll-track { display: none; }
  .feature-list { grid-template-columns: 1fr 1fr; gap: 28px; padding-bottom: 48px; }
  .feature-card { padding: 48px 44px 44px; }
  .feature-list .feature-card:nth-child(even) { top: 48px; }
}

/* ---------- price ---------- */
.price-block + .price-block { margin-top: 48px; }
.price-group {
  display: flex; align-items: baseline; justify-content: center; gap: 12px; margin-bottom: 18px;
  font-family: var(--font-head); font-weight: 700; font-size: 17px;
}
.price-group-en { font-family: var(--font-en); font-weight: 800; font-style: italic; font-size: 30px; line-height: 1; color: var(--sky); }

/* はじめにかかる費用（0円を真ん中に大きく） */
.price-initial {
  position: relative; overflow: hidden; text-align: center;
  display: flex; flex-direction: column; align-items: center;
  padding: 40px 20px 32px; border-radius: 32px;
  background: linear-gradient(160deg, #eaf6fe 0%, #d3ecfc 100%);
  box-shadow: var(--shadow);
}
.price-initial h3 {
  display: inline-block; padding: 4px 20px; border-radius: 999px;
  background: #fff; color: var(--blue-dark); font-size: 15px;
}
.price-zero { position: relative; display: inline-flex; align-items: baseline; margin: 6px 0 10px; }
.price-zero-num {
  font-family: var(--font-en); font-weight: 800; font-size: 120px; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.price-zero-unit { font-family: var(--font-head); font-weight: 900; font-size: 30px; color: var(--blue-dark); margin-left: 4px; }
.price-stamp {
  position: absolute; right: -66px; top: -6px;
  width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: #fff; box-shadow: 0 8px 18px rgba(229, 117, 71, .4);
  font-family: var(--font-head); font-weight: 900; font-size: 18px; letter-spacing: .06em;
  transform: rotate(12deg);
}
.price-stamp::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, .7); }
.js .price-initial.is-visible .price-stamp { animation: stampIn .7s var(--ease) .5s both; }
@keyframes stampIn { 0% { transform: rotate(12deg) scale(0); } 70% { transform: rotate(12deg) scale(1.15); } 100% { transform: rotate(12deg) scale(1); } }
/* 初期設定に含まれるもの */
.price-include {
  position: relative; width: 100%; max-width: 760px; margin-top: 6px;
  background: #fff; border-radius: 20px; box-shadow: 0 6px 18px rgba(18, 105, 159, .07);
  padding: 18px 20px 8px;
}
.price-include-title {
  font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--blue-dark); letter-spacing: .06em;
  margin-bottom: 4px;
}
.price-include-list { list-style: none; display: grid; }
.price-include-list li {
  display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 12px 4px; border-top: 1px dashed var(--line);
  font-weight: 700; font-size: 15px; line-height: 1.5;
}
/* 青い丸のチェック */
.price-include-list .check {
  position: relative; flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--grad); box-shadow: 0 4px 10px rgba(30, 143, 220, .25);
}
.price-include-list .check::after {
  content: ""; position: absolute; left: 8px; top: 8px; width: 10px; height: 6px;
  border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg);
}
.price-include-list li > span:last-child { word-break: auto-phrase; text-wrap: balance; }
@media (min-width: 768px) {
  .price-include { padding: 20px 12px 22px; }
  .price-include-title { margin-bottom: 14px; }
  .price-include-list { grid-template-columns: repeat(3, 1fr); }
  .price-include-list li {
    flex-direction: column; gap: 10px; text-align: center; padding: 4px 16px; border-top: 0;
  }
  .price-include-list li + li { border-left: 1px dashed var(--line); }
}
.price-initial-note { position: relative; margin-top: 22px; font-size: 12px; color: var(--muted); line-height: 1.7; }
@media (min-width: 900px) {
  .price-initial { padding: 52px 40px 40px; }
  .price-zero-num { font-size: 150px; }
  .price-zero-unit { font-size: 36px; }
  .price-stamp { width: 80px; height: 80px; right: -84px; font-size: 20px; }
}

/* 毎月かかる費用（2枚＋プラス記号） */
.price-monthly { display: grid; gap: 12px; justify-items: stretch; align-items: stretch; padding-top: 12px; }
.price-card {
  position: relative; padding: 36px 24px 32px; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: 28px;
  display: flex; flex-direction: column; justify-content: center;
}
.price-card h3 { font-size: 17px; color: var(--blue-dark); margin-bottom: 8px; }
.price-card h3 small { font-size: 13px; font-weight: 500; color: var(--muted); }
.price-card-main { background: var(--grad); color: #fff; border: 0; box-shadow: var(--shadow-lg); }
.price-card-main h3, .price-card-main .price-tax, .price-card-main .price-note { color: #fff; }
.price-label {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  padding: 4px 18px; border-radius: 999px; background: var(--accent); color: #fff;
  font-size: 13px; font-weight: 700; letter-spacing: .05em; box-shadow: 0 6px 16px rgba(229, 117, 71, .35);
}
.price-plus {
  justify-self: center; align-self: center;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; box-shadow: var(--shadow); color: var(--blue);
  font-family: var(--font-en); font-weight: 800; font-size: 26px; line-height: 1;
}
.price { font-family: var(--font-en); font-weight: 800; margin-bottom: 2px; line-height: 1.2; }
.price-num { font-size: 52px; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.price-unit, .price-small { font-family: var(--font-head); font-size: 17px; font-weight: 700; margin-left: 2px; }
.price-small { margin: 0 4px 0 0; }
.price-tax { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.price-note { font-size: 14px; line-height: 1.75; color: var(--muted); }
.price-notes { list-style: none; margin-top: 36px; display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.price-notes li::before { content: "※"; margin-right: 4px; color: var(--sky); }
@media (min-width: 900px) {
  .price-monthly { grid-template-columns: 1fr auto 1fr; gap: 20px; }
  .price-card { padding: 48px 32px 40px; }
  .price-notes { justify-items: center; }
}

/* ---------- flow ---------- */
.flow-section { background: var(--tint); }
.flow-list { list-style: none; display: grid; gap: 16px; }
.flow-list li {
  position: relative; padding: 28px 24px 24px;
  background: #fff; border-radius: 24px; box-shadow: var(--shadow);
}
.flow-num {
  display: block; margin-bottom: 8px;
  font-family: var(--font-en); font-weight: 800; font-size: 44px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--sky);
}
.flow-list h3 { font-size: 17px; margin-bottom: 6px; }
.flow-list p { color: var(--muted); font-size: 15px; line-height: 1.75; }
@media (min-width: 768px) {
  .flow-list { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .flow-list li:not(:nth-child(3n))::after {
    content: ""; position: absolute; top: 50%; right: -18px; width: 12px; height: 12px;
    border-top: 2px solid var(--sky); border-right: 2px solid var(--sky); transform: translateY(-50%) rotate(45deg);
  }
}

/* ---------- faq ---------- */
.faq-list { display: grid; gap: 14px; }
.faq-list details { background: #fff; border-radius: 18px; box-shadow: var(--shadow); border: 1px solid var(--line); transition: box-shadow .3s; }
.faq-list details[open] { box-shadow: var(--shadow-lg); }
.faq-list summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 20px 56px 20px 60px; font-weight: 700; line-height: 1.6;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before {
  content: "Q"; position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-family: var(--font-en); font-weight: 800; font-size: 15px;
}
.faq-list summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-en); font-weight: 500; font-size: 28px; color: var(--blue); transition: transform .3s var(--ease);
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { position: relative; padding: 0 24px 22px 60px; color: var(--muted); }
.faq-a::before {
  content: "A"; position: absolute; left: 18px; top: -2px;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-family: var(--font-en); font-weight: 800; font-size: 15px;
}

/* ---------- contact ---------- */
.section-contact { overflow: hidden; padding-bottom: 140px; background: linear-gradient(135deg, #1673c4 0%, #1e8fdc 50%, #34a9ee 100%); }
.contact-bg { position: absolute; inset: 0; pointer-events: none; }
.contact-bg .blob-1 { width: 420px; height: 420px; background: #9fd6f7; top: -140px; left: -120px; opacity: .45; }
.contact-bg .blob-2 { width: 360px; height: 360px; background: #0d3f63; bottom: -120px; right: -100px; opacity: .45; animation-delay: -8s; }
.contact-form {
  position: relative;
  padding: 32px 20px; background: #fff; border-radius: 28px; box-shadow: 0 30px 60px rgba(13, 63, 99, .25);
}
.field { margin-bottom: 20px; }
.field > label:not(.checkbox) { display: block; font-weight: 700; margin-bottom: 6px; }
.req, .opt {
  display: inline-block; margin-left: 8px; padding: 0 8px; border-radius: 4px;
  font-size: 12px; font-weight: 700; vertical-align: 2px; line-height: 1.8;
}
.req { background: var(--accent); color: #fff; }
.opt { background: var(--line); color: var(--muted); }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #f9fbfd; color: var(--ink);
  font: inherit; font-size: 16px; line-height: 1.6;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.contact-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form :is(input, select, textarea):focus { border-color: var(--blue); background-color: #fff; outline: none; box-shadow: 0 0 0 4px rgba(30, 143, 220, .15); }
.contact-form .is-invalid { border-color: var(--accent) !important; }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.checkbox { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-weight: 500; }
.checkbox input { width: 22px; height: 22px; margin: 3px 0 0; flex: none; accent-color: var(--blue); }
.field-agree { padding: 16px; background: var(--tint); border-radius: var(--radius-sm); }
.form-message { white-space: pre-line; padding: 12px 16px; margin-bottom: 16px; border-radius: var(--radius-sm); font-size: 15px; }
.form-message.is-error { background: var(--accent-soft); color: #8a3520; }
.form-note { margin-top: 16px; font-size: 13px; color: var(--muted); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (min-width: 768px) { .contact-form { padding: 52px 56px; } }

/* ---------- footer ---------- */
.site-footer {
  position: relative; padding: 48px 0 40px; text-align: center; font-size: 14px; color: var(--muted);
  background: #eaf6fe;
}
/* 上のなみなみ */
.footer-wave { position: absolute; left: 0; top: -59px; width: 100%; height: 60px; fill: #eaf6fe; display: block; }
/* ふわっとした水玉の飾り */
.site-footer::before, .site-footer::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.site-footer::before { width: 90px; height: 90px; left: 6%; top: 30px; background: rgba(52, 169, 238, .12); }
.site-footer::after { width: 46px; height: 46px; right: 9%; bottom: 46px; background: rgba(229, 117, 71, .14); }
.footer-inner { position: relative; z-index: 1; }
.footer-logo { display: inline-block; margin-bottom: 10px; }
.footer-logo img { height: 40px; width: auto; }
.footer-desc { font-family: var(--font-soft); font-weight: 500; font-size: 14px; color: var(--ink); }
.footer-desc span { display: inline-block; }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 22px 0; }
.footer-links a {
  display: inline-block; padding: 8px 20px; border-radius: 999px;
  background: #fff; color: var(--blue-dark); text-decoration: none; font-weight: 700; font-size: 13px;
  box-shadow: 0 4px 12px rgba(18, 105, 159, .08); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.footer-links a:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(18, 105, 159, .14); }
.copyright { font-family: var(--font-en); font-size: 12px; letter-spacing: .08em; color: var(--muted); }
.has-fixed-cta .site-footer { padding-bottom: 110px; }
@media (min-width: 768px) {
  .site-footer { padding: 64px 0 48px; }
  .footer-wave { top: -79px; height: 80px; }
  .has-fixed-cta .site-footer { padding-bottom: 48px; }
}

/* ---------- fixed CTA (smartphone) ---------- */
.fixed-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-top: 1px solid var(--line);
  transition: transform .35s var(--ease);
}
.fixed-cta.is-hidden { transform: translateY(110%); }
@media (min-width: 768px) { .fixed-cta { display: none; } }

/* ---------- sub pages ---------- */
.page-head { padding: calc(var(--header-h) + 48px) 0 32px; text-align: center; }
.page-head h1 { font-size: clamp(26px, 6.4vw, 36px); }
.page-body { padding: 0 0 80px; }
.doc { padding: 28px 20px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.doc h2 { font-size: 19px; margin: 36px 0 12px; padding-left: 12px; border-left: 4px solid var(--sky); }
.doc h2:first-child { margin-top: 0; }
.doc ul, .doc ol { padding-left: 1.4em; margin-bottom: 1em; }
.doc li { margin-bottom: .3em; }
.doc dl { margin: 0 0 1em; }
.doc dt { font-weight: 700; }
.doc dd { margin: 0 0 .8em; }
.doc-date { text-align: right; color: var(--muted); font-size: 14px; margin-top: 32px; }
@media (min-width: 768px) { .doc { padding: 48px 56px; } }
.subpage { background: var(--tint); }
.subpage .site-header { background: rgba(255, 255, 255, .92); box-shadow: 0 1px 0 var(--line); }

.thanks { padding: calc(var(--header-h) + 64px) 0 96px; text-align: center; }
.thanks h1 { font-size: clamp(24px, 6vw, 32px); margin-bottom: 20px; }
.thanks .doc { text-align: left; margin-bottom: 32px; }

/* ---------- 動きを減らす設定の人には、アニメーションを止める ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .js .hero-title .line > span { transform: none !important; }
  .js .hero-title mark { background-size: 100% 100% !important; }
}

/* スマホの横スクロール内は、ふわっと表示をせず最初から表示（横に隠れた要素が表示されないのを防ぐ） */
@media (max-width: 767px) {
  .js .feature-list [data-reveal] { opacity: 1; transform: none; }
}
@media (max-width: 899px) {
  .js .bubbles [data-reveal] { opacity: 1; transform: none; }
}
