/* ==========================================================
   NAIKI LAB Corporate Theme - Main Stylesheet (Light)
   ========================================================== */

:root {
  --bg: #ffffff;
  --bg-2: #f3f7fd;
  --surface: #ffffff;
  --surface-border: rgba(18, 42, 92, 0.1);
  --text: #101828;
  --text-muted: #5a6b85;
  --accent: #0098d8;
  --accent-2: #6d4dff;
  --gradient: linear-gradient(120deg, #00c6e8 0%, #3e7bff 50%, #7c5cff 100%);
  --card-shadow: 0 8px 28px rgba(18, 42, 92, 0.06);
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-en: "Space Grotesk", "Noto Sans JP", sans-serif;
  --header-h: 72px;
  --radius: 18px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(1140px, 92%); margin-inline: auto; }

/* ---------- Background decoration ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(30, 70, 150, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 70, 150, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 40%, transparent 100%);
}
.bg-orb {
  position: fixed; z-index: -1; border-radius: 50%;
  filter: blur(110px); opacity: 0.5; pointer-events: none;
}
.bg-orb--1 { width: 480px; height: 480px; top: -140px; right: -120px; background: #cfeaff; }
.bg-orb--2 { width: 420px; height: 420px; bottom: -160px; left: -140px; background: #e4dcff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--surface-border);
  box-shadow: 0 4px 24px rgba(18, 42, 92, 0.05);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-en); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.04em; white-space: nowrap; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--gradient);
  display: grid; place-items: center;
  font-size: 0.95rem; color: #fff; font-weight: 800;
  box-shadow: 0 4px 16px rgba(0, 150, 220, 0.35);
}
.brand small { display: block; font-family: var(--font-jp); font-size: 0.6rem; font-weight: 500; color: var(--text-muted); letter-spacing: 0.12em; line-height: 1.2; }
.brand-logo-img { max-height: 46px; width: auto; display: block; }
.site-footer .brand-logo-img { max-height: 40px; }

.global-nav ul { display: flex; gap: 30px; align-items: center; }
.global-nav a {
  font-family: var(--font-en); font-size: 0.95rem; font-weight: 600;
  letter-spacing: 0.14em; color: var(--text-muted);
  position: relative; padding: 6px 0; transition: color 0.25s;
}
.global-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0%;
  background: var(--gradient); transition: width 0.3s ease; border-radius: 2px;
}
.global-nav a:hover { color: var(--text); }
.global-nav a:hover::after { width: 100%; }

.nav-cta {
  padding: 10px 22px !important; border-radius: 999px;
  background: var(--gradient); color: #fff !important; font-weight: 700 !important;
  box-shadow: 0 6px 20px rgba(0, 150, 220, 0.3);
  transition: transform 0.25s, box-shadow 0.25s;
}
.nav-cta::after { display: none; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0, 150, 220, 0.45); }

/* Hamburger */
.menu-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; position: relative; z-index: 130;
}
.menu-toggle span {
  display: block; width: 24px; height: 2px; background: var(--text);
  margin: 6px auto; border-radius: 2px; transition: transform 0.3s, opacity 0.3s;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(88svh, 860px);
  display: flex; align-items: center;
  padding-top: calc(var(--header-h) + 10px);
  padding-bottom: 30px;
  overflow: hidden;
  background: linear-gradient(180deg, #f6faff 0%, #ffffff 100%);
}
#particle-canvas { position: absolute; inset: 0; z-index: 0; }
.hero .container { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-en); font-size: 0.78rem; letter-spacing: 0.22em;
  color: var(--accent); font-weight: 600;
  border: 1px solid rgba(0, 152, 216, 0.3); border-radius: 999px;
  padding: 8px 18px; margin-bottom: 28px;
  background: rgba(0, 152, 216, 0.06);
}
.hero-eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 10px var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse { 50% { opacity: 0.35; } }

.hero-title {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  font-weight: 800; line-height: 1.35; letter-spacing: 0.03em;
  margin-bottom: 26px;
}
.hero-title .grad {
  background: linear-gradient(120deg, #00a6dc 0%, #3e7bff 50%, #7c5cff 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-lead {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: var(--text-muted); max-width: 560px; margin-bottom: 42px;
}
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 36px; border-radius: 999px;
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.04em;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}
.btn--primary {
  background: var(--gradient); color: #fff;
  box-shadow: 0 8px 24px rgba(0, 140, 220, 0.32);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 12px 34px rgba(0, 140, 220, 0.45); }
.btn--ghost {
  border: 1px solid var(--surface-border); color: var(--text);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { transform: translateY(-3px); border-color: rgba(0, 152, 216, 0.5); }
.btn .arrow { transition: transform 0.25s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Hero visual (right side) ---------- */
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero-visual { position: relative; height: 540px; }

.ai-core {
  position: absolute; top: 50%; left: 50%;
  width: 280px; height: 280px; transform: translate(-50%, -50%);
}
.ai-core-ring {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, #00c6e8, #3e7bff, #7c5cff, rgba(0,198,232,0.05), #00c6e8);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  animation: coreSpin 9s linear infinite;
}
.ai-core-ring--2 {
  inset: -34px;
  background: none;
  border: 1px dashed rgba(62, 123, 255, 0.35);
  -webkit-mask: none; mask: none;
  animation: coreSpin 26s linear infinite reverse;
}
.ai-core-center {
  position: absolute; inset: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(18, 42, 92, 0.08);
  box-shadow: 0 18px 50px rgba(0, 140, 220, 0.18);
  font-family: var(--font-en); font-size: 3rem; font-weight: 700;
  background-clip: padding-box;
  animation: corePulse 3.6s ease-in-out infinite;
}
.ai-core-center span {
  background: linear-gradient(120deg, #00a6dc 0%, #3e7bff 50%, #7c5cff 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
@keyframes coreSpin { to { transform: rotate(360deg); } }
@keyframes corePulse { 50% { box-shadow: 0 18px 70px rgba(0, 140, 220, 0.32); } }

.float-card {
  position: absolute; z-index: 1;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(18, 42, 92, 0.09);
  border-radius: 16px;
  box-shadow: 0 14px 38px rgba(18, 42, 92, 0.12);
  animation: floatY 6s ease-in-out infinite;
}
.float-card--chat {
  top: 6%; left: 0;
  display: flex; gap: 12px; align-items: center;
  padding: 14px 18px; max-width: 260px;
  animation-delay: 0s;
}
.float-card--stat {
  bottom: 8%; left: 4%;
  padding: 16px 20px 14px;
  animation-delay: 1.6s;
}
.float-card--badge {
  top: 24%; right: 0;
  display: flex; gap: 10px; align-items: center;
  padding: 12px 18px;
  font-size: 0.8rem; font-weight: 700;
  animation-delay: 3.2s;
}
.fc-icon {
  width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 1.05rem;
  background: linear-gradient(135deg, rgba(0, 166, 220, 0.12), rgba(124, 92, 255, 0.12));
  border: 1px solid rgba(0, 152, 216, 0.22);
}
.fc-title { font-size: 0.72rem; font-weight: 700; color: var(--text-muted); letter-spacing: 0.06em; }
.fc-sub { font-size: 0.82rem; font-weight: 700; line-height: 1.5; }
.fc-big { font-family: var(--font-en); font-size: 1.7rem; font-weight: 700; line-height: 1.2;
  background: linear-gradient(120deg, #00a6dc 0%, #3e7bff 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.fc-big small { font-size: 0.5em; font-family: var(--font-jp); font-weight: 700; margin-left: 2px; }
.fc-bars { display: flex; gap: 5px; align-items: flex-end; height: 30px; margin-top: 8px; }
.fc-bars i {
  width: 9px; border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, #3e7bff, #00c6e8);
  height: var(--h, 50%);
  transform-origin: bottom;
  animation: barGrow 2.6s ease-in-out infinite;
}
.fc-bars i:nth-child(2) { animation-delay: 0.25s; }
.fc-bars i:nth-child(3) { animation-delay: 0.5s; }
.fc-bars i:nth-child(4) { animation-delay: 0.75s; }
.fc-bars i:nth-child(5) { animation-delay: 1s; }
.fc-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e; box-shadow: 0 0 8px rgba(34, 197, 94, 0.8);
  animation: pulse 1.6s infinite;
}
.typing-dots { display: inline-flex; gap: 4px; margin-left: 2px; }
.typing-dots i {
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
  animation: typingDot 1.2s ease-in-out infinite;
}
.typing-dots i:nth-child(2) { animation-delay: 0.2s; }
.typing-dots i:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDot { 30% { transform: translateY(-4px); opacity: 0.4; } }
@keyframes floatY { 50% { transform: translateY(-12px); } }
@keyframes barGrow { 50% { transform: scaleY(0.55); } }

@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ai-core-ring, .ai-core-ring--2, .ai-core-center, .float-card, .fc-bars i, .fc-dot, .typing-dots i { animation: none; }
}

.scroll-hint {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-en); font-size: 0.68rem; letter-spacing: 0.3em;
  color: var(--text-muted); writing-mode: vertical-rl; z-index: 1;
}
.scroll-hint::after {
  content: ""; display: block; width: 1px; height: 46px; margin-top: 12px;
  background: linear-gradient(var(--accent), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: top; } 56% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Keyword marquee ---------- */
.marquee {
  border-block: 1px solid var(--surface-border);
  padding: 18px 0; overflow: hidden; white-space: nowrap;
  background: var(--bg-2);
}
.marquee-track { display: inline-flex; gap: 56px; animation: marquee 30s linear infinite; }
.marquee span {
  font-family: var(--font-en); font-size: 0.95rem; font-weight: 600;
  letter-spacing: 0.16em; color: rgba(90, 107, 133, 0.65);
}
.marquee span i { font-style: normal; color: var(--accent); margin-right: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 72px 0; position: relative; }

.section-head { margin-bottom: 42px; }
.section-label {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-en); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.26em; color: var(--accent); margin-bottom: 16px;
}
.section-label::before { content: ""; width: 34px; height: 1px; background: var(--gradient); }
.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 800; line-height: 1.4; letter-spacing: 0.03em;
}
.section-desc { color: var(--text-muted); max-width: 640px; margin-top: 18px; }
/* AIホームページ制作LP：スマホでは見出しを中央寄せ */
@media (max-width: 720px) {
  .page-template-page-web .section-head { text-align: center; }
  .page-template-page-web .section-label { justify-content: center; }
}

/* ---------- News (最新情報) ---------- */
.section--news { padding: 60px 0 0; }
.news-list { display: grid; }
.news-item {
  display: grid;
  grid-template-columns: 92px 150px 1fr auto;
  gap: 20px; align-items: center;
  padding: 20px 8px;
  border-bottom: 1px solid var(--surface-border);
  transition: background 0.25s;
}
.news-list li:first-child .news-item { border-top: 1px solid var(--surface-border); }
.news-item:hover { background: rgba(0, 152, 216, 0.04); }
.news-item time {
  font-family: var(--font-en); font-size: 0.82rem; color: var(--text-muted);
  letter-spacing: 0.06em;
}
.news-tag {
  text-align: center;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em;
  color: var(--accent); border: 1px solid rgba(0, 152, 216, 0.35);
  border-radius: 999px; padding: 3px 10px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.news-tag--info { color: var(--accent-2); border-color: rgba(124, 92, 255, 0.35); }
.news-title { flex: 1; font-size: 0.95rem; font-weight: 600; line-height: 1.6; transition: color 0.25s; }
.news-item:hover .news-title { color: var(--accent); }
.news-arrow {
  color: var(--accent); font-weight: 700;
  opacity: 0; transform: translateX(-8px);
  transition: opacity 0.25s, transform 0.25s;
}
.news-item:hover .news-arrow { opacity: 1; transform: translateX(0); }

@media (max-width: 640px) {
  .news-item { grid-template-columns: max-content max-content 1fr; gap: 8px 14px; padding: 16px 4px; }
  .news-item time { grid-row: 1; }
  .news-tag { grid-row: 1; justify-self: start; }
  .news-title { grid-column: 1 / -1; grid-row: 2; }
  .news-arrow { display: none; }
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.about-copy h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-weight: 800; line-height: 1.6; margin-bottom: 22px; }
.about-copy p { color: var(--text-muted); margin-bottom: 18px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.stat-card {
  position: relative;
  padding: 4px 0 4px 22px;
  text-align: left;
}
.stat-card::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 3px; border-radius: 2px;
  background: linear-gradient(180deg, #00c6e8, #3e7bff, #7c5cff);
}
.stat-en {
  font-family: var(--font-en); font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.24em; color: var(--text-muted); margin-bottom: 6px;
}
.stat-value {
  font-family: var(--font-en); font-size: clamp(1.9rem, 3.5vw, 2.5rem); font-weight: 700;
  color: var(--text); line-height: 1.1;
}
.stat-value .unit { font-size: 0.5em; color: var(--accent); font-weight: 700; margin-left: 2px; }
.stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 8px; letter-spacing: 0.06em; }

/* ---------- Services ---------- */
#service { background: var(--bg-2); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
  position: relative;
  background: var(--surface); border: 1px solid var(--surface-border);
  border-radius: var(--radius); padding: 40px 32px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
}
.service-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(0, 166, 220, 0.07), transparent 65%);
  opacity: 0; transition: opacity 0.4s;
}
.service-card:hover { transform: translateY(-8px); border-color: rgba(0, 152, 216, 0.35); box-shadow: 0 20px 46px rgba(18, 42, 92, 0.12); }
.service-card:hover::before { opacity: 1; }
.service-num {
  font-family: var(--font-en); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.2em; color: var(--accent); margin-bottom: 22px; display: block;
}
.service-icon {
  width: 58px; height: 58px; border-radius: 15px; margin-bottom: 26px;
  display: grid; place-items: center; font-size: 1.5rem;
  background: linear-gradient(135deg, rgba(0, 166, 220, 0.1), rgba(124, 92, 255, 0.1));
  border: 1px solid rgba(0, 152, 216, 0.22);
}
.service-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 14px; letter-spacing: 0.04em; }
.service-card p { font-size: 0.9rem; color: var(--text-muted); }

/* ---------- Works ---------- */
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.work-card {
  display: block; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--surface-border);
  box-shadow: var(--card-shadow);
  transition: transform 0.35s, border-color 0.35s;
}
.work-card:hover { transform: translateY(-6px); border-color: rgba(124, 92, 255, 0.5); }
.work-thumb { aspect-ratio: 16 / 10; overflow: hidden; position: relative; background: linear-gradient(135deg, #e3f0fd, #eae4fd); }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.work-card:hover .work-thumb img { transform: scale(1.06); }
.work-thumb .placeholder {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-en); font-weight: 700; letter-spacing: 0.2em;
  color: rgba(16, 24, 40, 0.28); font-size: 0.85rem;
}
.work-body { padding: 24px 26px 28px; }
.work-tag {
  display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em;
  color: var(--accent); border: 1px solid rgba(0, 152, 216, 0.35);
  border-radius: 999px; padding: 3px 12px; margin-bottom: 14px;
}
.work-body h3 { font-size: 1.05rem; font-weight: 700; line-height: 1.55; margin-bottom: 10px; }
.work-body p { font-size: 0.85rem; color: var(--text-muted); }

.more-link-wrap { text-align: center; margin-top: 36px; }

/* ---------- Blog ---------- */
#blog { background: var(--bg-2); }
.blog-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.blog-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--surface-border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.35s, border-color 0.35s;
}
.blog-card:hover { transform: translateY(-6px); border-color: rgba(0, 152, 216, 0.35); }
/* アイキャッチは切り取らず全体表示。img.absoluteで枠に完全固定し、どんな縦横比の画像でもはみ出さない */
.blog-thumb { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: linear-gradient(135deg, #eef4fc, #f0edfc); }
.blog-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform 0.5s; }
.blog-card:hover .blog-thumb img { transform: scale(1.03); }
.blog-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-meta { display: flex; gap: 14px; align-items: center; font-size: 0.72rem; color: var(--text-muted); font-family: var(--font-en); letter-spacing: 0.08em; }
.blog-cat { color: var(--accent); font-weight: 700; }
.blog-body h3 { font-size: 0.98rem; font-weight: 700; line-height: 1.6; }

/* ---------- Contact CTA ---------- */
.contact-cta {
  position: relative; border-radius: 28px; overflow: hidden;
  padding: clamp(34px, 5vw, 52px) clamp(28px, 6vw, 80px);
  background:
    radial-gradient(600px circle at 15% 20%, rgba(0, 198, 232, 0.12), transparent 55%),
    radial-gradient(600px circle at 85% 80%, rgba(124, 92, 255, 0.12), transparent 55%),
    var(--bg-2);
  border: 1px solid var(--surface-border);
  text-align: center;
}
.contact-cta h2 { font-size: clamp(1.5rem, 3.2vw, 2.3rem); font-weight: 800; line-height: 1.5; margin-bottom: 14px; }
.contact-cta p { color: var(--text-muted); margin-bottom: 26px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--surface-border); padding: 64px 0 34px; margin-top: 40px; background: var(--bg-2); }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 48px; }
.footer-nav { display: flex; gap: 36px; flex-wrap: wrap; }
.footer-nav a { font-family: var(--font-en); font-size: 0.92rem; letter-spacing: 0.14em; color: var(--text-muted); transition: color 0.25s; }
.footer-nav a:hover { color: var(--accent); }
.footer-legal {
  display: flex; justify-content: center; gap: 10px 30px; flex-wrap: wrap;
  border-top: 1px solid var(--surface-border);
  padding-top: 24px; margin-bottom: 18px;
}
.footer-legal a { font-size: 0.88rem; color: var(--text-muted); transition: color 0.25s; }
.footer-legal a:hover { color: var(--accent); }
.copyright { text-align: center; font-size: 0.82rem; color: rgba(90, 107, 133, 0.7); font-family: var(--font-en); letter-spacing: 0.1em; }

/* ---------- Inner pages (blog/archive/single) ---------- */
.page-hero {
  padding: calc(var(--header-h) + 90px) 0 70px;
  border-bottom: 1px solid var(--surface-border);
  background: radial-gradient(700px circle at 80% 0%, rgba(124, 92, 255, 0.08), transparent 60%), linear-gradient(180deg, #f6faff, #ffffff);
}
.page-hero .section-title { margin-top: 8px; }

.content-area { padding: 80px 0 110px; }
.archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.entry-content { max-width: 760px; margin-inline: auto; }
.entry-content h2 {
  font-size: 1.5rem; margin: 2.4em 0 0.9em; padding-left: 16px;
  border-left: 4px solid; border-image: var(--gradient) 1;
  line-height: 1.5;
}
.entry-content h3 { font-size: 1.2rem; margin: 2em 0 0.8em; }
.entry-content p { margin-bottom: 1.4em; color: #333f54; }
.entry-content ul, .entry-content ol { margin: 0 0 1.6em 1.4em; color: #333f54; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { border-radius: 14px; margin: 1.5em 0; }
.entry-content blockquote {
  border-left: 3px solid var(--accent-2); padding: 4px 0 4px 20px;
  color: var(--text-muted); margin: 1.6em 0;
}
.entry-content code { background: rgba(18, 42, 92, 0.07); padding: 2px 8px; border-radius: 6px; font-size: 0.9em; }
.entry-content pre { background: #101828; color: #e8ecf4; border: 1px solid var(--surface-border); border-radius: 12px; padding: 20px; overflow-x: auto; margin: 1.6em 0; }
.entry-content pre code { background: none; padding: 0; color: inherit; }

.entry-header { max-width: 760px; margin: 0 auto 46px; }
.entry-header h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.6; margin-top: 14px; }

.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 64px; }
.pagination .page-numbers {
  display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 8px;
  border: 1px solid var(--surface-border); border-radius: 12px;
  font-family: var(--font-en); font-size: 0.85rem; color: var(--text-muted);
  transition: border-color 0.25s, color 0.25s;
}
.pagination .page-numbers:hover { border-color: var(--accent); color: var(--text); }
.pagination .page-numbers.current { background: var(--gradient); color: #fff; border: 0; font-weight: 700; }

/* ---------- Forms (Contact Form 7 compatible) ---------- */
.form-wrap { max-width: 680px; margin-inline: auto; }
.form-wrap label { display: block; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.05em; margin-bottom: 8px; }
.form-wrap .wpcf7-form p, .form-wrap .field { margin-bottom: 26px; }
.form-wrap input[type="text"],
.form-wrap input[type="email"],
.form-wrap input[type="tel"],
.form-wrap textarea {
  width: 100%; padding: 15px 18px;
  background: #fff;
  border: 1px solid var(--surface-border); border-radius: 12px;
  color: var(--text); font-family: inherit; font-size: 0.95rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.form-wrap input:focus, .form-wrap textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 152, 216, 0.14);
}
.form-wrap textarea { min-height: 180px; resize: vertical; }
.form-wrap input[type="submit"], .form-wrap button[type="submit"] {
  display: inline-flex; justify-content: center; width: 100%;
  padding: 17px 36px; border: 0; border-radius: 999px; cursor: pointer;
  background: linear-gradient(120deg, #00c6e8 0%, #3e7bff 50%, #7c5cff 100%);
  color: #fff; font-weight: 800; font-size: 1rem; font-family: inherit;
  letter-spacing: 0.06em;
  box-shadow: 0 8px 24px rgba(0, 140, 220, 0.32);
  transition: transform 0.25s, box-shadow 0.25s;
}
.form-wrap input[type="submit"]:hover, .form-wrap button[type="submit"]:hover {
  transform: translateY(-2px); box-shadow: 0 12px 34px rgba(0, 140, 220, 0.45);
}
.wpcf7-not-valid-tip { color: #e0245e; font-size: 0.8rem; margin-top: 6px; }
.wpcf7-response-output { border-radius: 12px !important; padding: 14px 18px !important; margin: 24px 0 0 !important; border-color: var(--accent) !important; }

/* ---------- Recruit ---------- */
.recruit-intro { max-width: 720px; margin: 0 auto 70px; text-align: center; }
.recruit-intro h2 { font-size: clamp(1.4rem, 2.8vw, 2rem); font-weight: 800; line-height: 1.6; margin-bottom: 20px; }
.recruit-intro p { color: var(--text-muted); }

.job-list { display: grid; gap: 34px; }
.job-card {
  background: var(--surface); border: 1px solid var(--surface-border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: border-color 0.3s;
}
.job-card:hover { border-color: rgba(0, 152, 216, 0.35); }
.job-card-head {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  padding: 30px 36px;
  border-bottom: 1px solid var(--surface-border);
  background: linear-gradient(120deg, rgba(0, 198, 232, 0.05), rgba(124, 92, 255, 0.05));
}
.job-icon {
  width: 54px; height: 54px; border-radius: 14px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 1.4rem;
  background: linear-gradient(135deg, rgba(0, 166, 220, 0.1), rgba(124, 92, 255, 0.1));
  border: 1px solid rgba(0, 152, 216, 0.22);
}
.job-num {
  font-family: var(--font-en); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.2em; color: var(--accent); display: block; margin-bottom: 4px;
}
.job-card-head h3 { font-size: clamp(1.15rem, 2.2vw, 1.45rem); font-weight: 800; line-height: 1.5; }
.job-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.job-badge {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em;
  color: var(--accent); border: 1px solid rgba(0, 152, 216, 0.35);
  border-radius: 999px; padding: 4px 14px; white-space: nowrap;
}
.job-card-body { padding: 34px 36px 38px; }
.job-lead { color: var(--text-muted); margin-bottom: 28px; }
.job-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
.job-detail h4 {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.85rem; font-weight: 800; letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.job-detail h4::before { content: ""; width: 16px; height: 2px; background: var(--gradient); border-radius: 2px; }
.job-detail ul { display: grid; gap: 8px; }
.job-detail li {
  position: relative; padding-left: 20px;
  font-size: 0.88rem; color: var(--text-muted); line-height: 1.7;
}
.job-detail li::before {
  content: ""; position: absolute; left: 2px; top: 0.62em;
  width: 7px; height: 7px; border-radius: 2px;
  background: var(--gradient); transform: rotate(45deg);
}
.job-terms {
  grid-column: 1 / -1;
  display: flex; gap: 10px 26px; flex-wrap: wrap;
  border-top: 1px dashed var(--surface-border);
  padding-top: 22px; margin-top: 4px;
}
.job-terms span { font-size: 0.82rem; color: var(--text-muted); }
.job-terms strong { color: var(--text); font-weight: 700; margin-right: 6px; }

.recruit-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.recruit-flow--3 { grid-template-columns: repeat(3, 1fr); }
.recruit-flow--5 { grid-template-columns: repeat(5, 1fr); gap: 14px; }
.flow-step {
  position: relative; text-align: center;
  background: var(--surface); border: 1px solid var(--surface-border);
  border-radius: var(--radius); padding: 30px 18px 26px;
  box-shadow: var(--card-shadow);
}
.flow-step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-family: var(--font-en); font-weight: 700; font-size: 1.5rem;
  background: linear-gradient(120deg, #00a6dc 0%, #3e7bff 50%, #7c5cff 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}
.flow-step h3 { font-size: 0.95rem; font-weight: 800; margin-bottom: 8px; }
.flow-step p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.7; }

@media (max-width: 960px) {
  .recruit-flow { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .job-card-head { padding: 24px 24px; }
  .job-card-body { padding: 26px 24px 30px; }
  .job-detail { grid-template-columns: 1fr; }
  .job-badges { margin-left: 0; }
  .recruit-flow { grid-template-columns: 1fr; }
}

/* ---------- Company (事業者情報) ---------- */
.message-grid {
  display: grid; grid-template-columns: 320px 1fr; gap: 54px;
  align-items: start; max-width: 960px; margin-inline: auto;
}
.message-photo {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 5; background: linear-gradient(135deg, #e3f0fd, #eae4fd);
  border: 1px solid var(--surface-border);
  box-shadow: var(--card-shadow);
}
.message-photo img { width: 100%; height: 100%; object-fit: cover; }
.message-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-radius: var(--radius);
  background: linear-gradient(200deg, rgba(0, 198, 232, 0.08), transparent 45%);
}
.message-photo .placeholder {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-en); font-weight: 700; letter-spacing: 0.2em;
  color: rgba(16, 24, 40, 0.28); font-size: 0.85rem;
}
.message-body h3 {
  font-size: clamp(1.25rem, 2.4vw, 1.65rem); font-weight: 800;
  line-height: 1.6; margin-bottom: 24px;
}
.message-body h3 .grad {
  background: linear-gradient(120deg, #00a6dc 0%, #3e7bff 50%, #7c5cff 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.message-body p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 18px; }
.message-body p strong { color: var(--text); }
.message-body h4 {
  display: flex; align-items: center; gap: 10px;
  font-size: 1rem; font-weight: 800; letter-spacing: 0.04em;
  margin: 26px 0 10px;
}
.message-body h4::before {
  content: ""; width: 18px; height: 3px; border-radius: 2px; flex-shrink: 0;
  background: linear-gradient(120deg, #00c6e8 0%, #3e7bff 50%, #7c5cff 100%);
}
.message-sign {
  display: flex; align-items: baseline; gap: 14px; margin-top: 30px;
  border-top: 1px solid var(--surface-border); padding-top: 22px;
}
.message-sign small { font-size: 0.78rem; color: var(--text-muted); letter-spacing: 0.06em; }
.message-sign strong { font-size: 1.15rem; font-weight: 800; letter-spacing: 0.1em; }

@media (max-width: 800px) {
  .message-grid { grid-template-columns: 1fr; gap: 34px; }
  .message-photo { max-width: 320px; margin-inline: auto; width: 100%; }
}

.company-table {
  width: 100%; max-width: 820px; margin-inline: auto;
  border: 1px solid var(--surface-border); border-radius: var(--radius);
  overflow: hidden; background: var(--surface);
  box-shadow: var(--card-shadow);
  border-collapse: collapse;
}
.company-table th, .company-table td {
  padding: 22px 28px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--surface-border);
  font-size: 0.92rem; line-height: 1.8;
}
.company-table tr:last-child th, .company-table tr:last-child td { border-bottom: 0; }
.company-table th {
  width: 200px; background: var(--bg-2);
  font-weight: 700; letter-spacing: 0.06em; white-space: nowrap;
}
.company-table td { color: var(--text-muted); }
.company-table td strong { color: var(--text); }

.sns-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 820px; margin-inline: auto; }
.sns-card {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 30px 16px 26px; text-align: center;
  background: var(--surface); border: 1px solid var(--surface-border);
  border-radius: var(--radius); box-shadow: var(--card-shadow);
  transition: transform 0.3s, border-color 0.3s;
}
.sns-card:hover { transform: translateY(-5px); border-color: rgba(0, 152, 216, 0.4); }
.sns-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(0, 166, 220, 0.1), rgba(124, 92, 255, 0.1));
  border: 1px solid rgba(0, 152, 216, 0.22);
}
.sns-icon svg { width: 24px; height: 24px; fill: var(--accent); }
.sns-card h3 { font-family: var(--font-en); font-size: 0.95rem; font-weight: 700; letter-spacing: 0.06em; }
.sns-card p { font-size: 0.76rem; color: var(--text-muted); line-height: 1.6; }

.company-note {
  max-width: 820px; margin: 26px auto 0;
  font-size: 0.8rem; color: var(--text-muted); text-align: center;
}

/* 事業者情報：アクセスマップ */
.company-map {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--surface-border); box-shadow: var(--card-shadow);
  background: var(--bg-2);
}
.company-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.company-map-note {
  margin-top: 16px;
  font-size: 0.85rem; color: var(--text-muted); text-align: center; line-height: 1.9;
}
.company-map-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 960px) {
  .sns-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .company-table th { width: auto; display: block; padding: 16px 20px 0; background: none; }
  .company-table td { display: block; padding: 6px 20px 16px; border-bottom: 1px solid var(--surface-border); }
  .company-table tr th { border-bottom: 0; }
  .company-table { display: block; }
  .company-table tbody, .company-table tr { display: block; }
  .company-map { aspect-ratio: 4 / 3; }
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .service-grid, .works-grid, .blog-list, .archive-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .global-nav {
    position: fixed; inset: 0; z-index: 120;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
    display: grid; place-items: center;
    opacity: 0; pointer-events: none; transition: opacity 0.35s;
  }
  .global-nav.is-open { opacity: 1; pointer-events: auto; }
  .global-nav ul { flex-direction: column; gap: 30px; text-align: center; }
  .global-nav a { font-size: 1.05rem; }
}

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .service-grid, .works-grid, .blog-list, .archive-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .stat-card { padding-left: 14px; }
  .stat-en { font-size: 0.55rem; }
}

/* ---------- カーソル追従（青い丸） ---------- */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9999;
  pointer-events: none; border-radius: 50%;
  opacity: 0; transition: opacity 0.3s;
}
.cursor-dot {
  width: 8px; height: 8px; margin: -4px 0 0 -4px;
  background: #3e7bff;
}
.cursor-ring {
  width: 36px; height: 36px; margin: -18px 0 0 -18px;
  border: 1.5px solid rgba(62, 123, 255, 0.55);
  background: rgba(62, 123, 255, 0.08);
  transition: opacity 0.3s, width 0.25s, height 0.25s, margin 0.25s, background 0.25s, border-color 0.25s;
}
.cursor-ring.is-hover {
  width: 56px; height: 56px; margin: -28px 0 0 -28px;
  background: rgba(62, 123, 255, 0.14);
  border-color: rgba(62, 123, 255, 0.8);
}
@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ---------- ミッション表示 ---------- */
.mission-banner {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 70px;
  padding: clamp(34px, 5vw, 54px) 26px;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  background:
    radial-gradient(420px circle at 12% 15%, rgba(0, 198, 232, 0.08), transparent 60%),
    radial-gradient(420px circle at 88% 85%, rgba(124, 92, 255, 0.08), transparent 60%),
    #ffffff;
  box-shadow: var(--card-shadow);
}
.mission-eyebrow {
  font-family: var(--font-en); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.28em; color: var(--accent); margin-bottom: 14px;
}
.mission-copy {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 800; line-height: 1.6; letter-spacing: 0.04em;
}
.mission-copy .grad, .footer-mission .grad {
  background: linear-gradient(120deg, #00a6dc 0%, #3e7bff 50%, #7c5cff 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.mission-note {
  font-size: 0.82rem; color: var(--text-muted);
  margin-top: 14px; line-height: 2;
}

.footer-mission {
  text-align: center;
  font-size: 1.05rem; font-weight: 800; letter-spacing: 0.08em;
  margin-bottom: 26px;
}

/* ---------- 実績の自動カルーセル ---------- */
.works-scroll {
  display: flex; gap: 26px;
  overflow-x: auto;
  padding: 6px 4px 14px;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  scrollbar-width: none;
}
.works-scroll::-webkit-scrollbar { display: none; }
.works-scroll.is-dragging { cursor: grabbing; }
.works-scroll.is-dragging .work-card { pointer-events: none; }
.works-scroll .work-card {
  flex: 0 0 clamp(270px, 29vw, 360px);
}

/* ---------- 実績カード：ホバーで「詳細を見る」 ---------- */
.work-card { position: relative; }
.work-card::after {
  content: "詳細を見る →";
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%) translateY(12px);
  padding: 11px 24px; border-radius: 999px;
  background: linear-gradient(120deg, #00c6e8 0%, #3e7bff 50%, #7c5cff 100%);
  color: #fff; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.06em;
  white-space: nowrap; pointer-events: none; z-index: 2;
  opacity: 0;
  box-shadow: 0 8px 24px rgba(0, 140, 220, 0.35);
  transition: opacity 0.3s, transform 0.3s;
}
.work-card:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%);
}
@media (hover: none) {
  .work-card::after { display: none; }
}

/* ---------- 代表メッセージ：2つの軸カード＋締め ---------- */
.message-axes {
  display: grid; grid-template-columns: 1fr 1fr; gap: 26px;
  max-width: 960px; margin: 44px auto 0;
}
.axis-card {
  background: var(--surface); border: 1px solid var(--surface-border);
  border-radius: var(--radius); padding: 30px 28px;
  box-shadow: var(--card-shadow);
}
.axis-card h4 {
  display: flex; align-items: center; gap: 10px;
  font-size: 1rem; font-weight: 800; letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.axis-card h4::before {
  content: ""; width: 18px; height: 3px; border-radius: 2px; flex-shrink: 0;
  background: linear-gradient(120deg, #00c6e8 0%, #3e7bff 50%, #7c5cff 100%);
}
.axis-card p { color: var(--text-muted); font-size: 0.92rem; }

.message-axes--3 { grid-template-columns: repeat(3, 1fr); max-width: 1080px; }
.message-axes--3 .axis-card { padding: 26px 24px; }
.message-axes--3 .axis-card p { font-size: 0.85rem; }

.message-close { max-width: 960px; margin: 40px auto 0; }
.message-close p { color: var(--text-muted); font-size: 0.95rem; }

@media (max-width: 800px) {
  .message-axes { grid-template-columns: 1fr; }
}

/* ---------- スクロール連動：ヒーローの収束演出 ---------- */
/* --hp: スクロール進行度 0〜1（JSが設定） */
.hero { --hp: 0; }

.hero .hero-copy {
  opacity: calc(1 - var(--hp) * 1.15);
  transform: translateY(calc(var(--hp) * -46px));
}
.hero .scroll-hint {
  opacity: calc(1 - var(--hp) * 2.5);
}
.hero .ai-core {
  transform: translate(-50%, -50%) scale(calc(1 - 0.4 * var(--hp)));
  opacity: calc(1 - var(--hp) * 1.05);
}

/* 収束中はカードの浮遊アニメーションを止め、コアへ吸い込む */
.hero--collapsing .float-card {
  animation: none;
  transition: transform 0.25s linear, opacity 0.25s linear;
}
.hero--collapsing .float-card--chat {
  transform: translate(calc(var(--hp) * 250px), calc(var(--hp) * 150px)) scale(calc(1 - 0.55 * var(--hp)));
  opacity: calc(1 - var(--hp) * 1.3);
}
.hero--collapsing .float-card--stat {
  transform: translate(calc(var(--hp) * 210px), calc(var(--hp) * -170px)) scale(calc(1 - 0.55 * var(--hp)));
  opacity: calc(1 - var(--hp) * 1.3);
}
.hero--collapsing .float-card--badge {
  transform: translate(calc(var(--hp) * -170px), calc(var(--hp) * 150px)) scale(calc(1 - 0.55 * var(--hp)));
  opacity: calc(1 - var(--hp) * 1.3);
}

@media (prefers-reduced-motion: reduce) {
  .hero .hero-copy, .hero .ai-core, .hero .scroll-hint,
  .hero--collapsing .float-card--chat,
  .hero--collapsing .float-card--stat,
  .hero--collapsing .float-card--badge {
    transform: none; opacity: 1; transition: none;
  }
}

/* ---------- ナビ：ホバーで英語→日本語にロール切り替え ---------- */
.nav-flip {
  display: inline-grid;
  text-align: center;
  overflow: hidden;
}
.nav-flip .en,
.nav-flip .jp {
  grid-area: 1 / 1;
  white-space: nowrap;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.28s;
}
.nav-flip .jp {
  font-family: var(--font-jp);
  font-size: 0.95em;
  font-weight: 700;
  letter-spacing: 0.06em;
  opacity: 0;
  transform: translateY(80%);
}
.nav-flip:hover .en {
  opacity: 0;
  transform: translateY(-80%);
}
.nav-flip:hover .jp {
  opacity: 1;
  transform: translateY(0);
}
/* ヘッダーの下線アニメと共存させる */
.global-nav a.nav-flip { overflow: visible; }
.global-nav a.nav-flip .en,
.global-nav a.nav-flip .jp { padding-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
  .nav-flip .en, .nav-flip .jp { transition: none; }
}

/* ---------- ヒーロー：タイプライター演出 ---------- */
.hero-title { min-height: 2.7em; } /* タイピング中に高さが変わらないよう2行分を確保 */
.type-caret {
  display: inline-block;
  width: 3px; height: 0.85em;
  margin-left: 7px;
  vertical-align: -0.06em;
  border-radius: 2px;
  background: var(--accent);
  animation: caretBlink 0.85s steps(1) infinite;
}
@keyframes caretBlink { 50% { opacity: 0; } }

/* ---------- 離脱防止ポップアップ ---------- */
.exit-popup { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; }
.exit-popup[hidden] { display: none; }
.exit-popup-overlay {
  position: absolute; inset: 0;
  background: rgba(16, 24, 40, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0; transition: opacity 0.3s;
}
.exit-popup-card {
  position: relative; z-index: 1;
  width: min(480px, 100%);
  background: #fff; border-radius: 22px;
  padding: 44px 36px 36px; text-align: center;
  box-shadow: 0 30px 80px rgba(16, 24, 40, 0.3);
  opacity: 0; transform: translateY(18px) scale(0.95);
  transition: opacity 0.35s, transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.exit-popup.is-open .exit-popup-overlay { opacity: 1; }
.exit-popup.is-open .exit-popup-card { opacity: 1; transform: none; }
.exit-popup-close {
  position: absolute; top: 14px; right: 16px;
  background: none; border: 0; cursor: pointer;
  font-size: 1.7rem; line-height: 1; color: var(--text-muted);
  padding: 6px; transition: color 0.2s;
}
.exit-popup-close:hover { color: var(--text); }
.exit-popup-eyebrow {
  font-family: var(--font-en); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.26em; color: var(--accent); margin-bottom: 12px;
}
.exit-popup-card h2 { font-size: 1.45rem; font-weight: 800; line-height: 1.5; margin-bottom: 14px; }
.exit-popup-text { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 26px; }
.exit-popup-later {
  display: block; margin: 16px auto 0;
  background: none; border: 0; cursor: pointer;
  font-size: 0.8rem; color: var(--text-muted);
  text-decoration: underline; text-underline-offset: 3px;
}
.exit-popup-later:hover { color: var(--text); }

/* ---------- 追従する無料相談ボタン ---------- */
.floating-cta {
  position: fixed; right: 0; top: 50%;
  transform: translateY(-50%);
  z-index: 150;
  writing-mode: vertical-rl;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 24px 13px;
  background: linear-gradient(180deg, #00c6e8 0%, #3e7bff 55%, #7c5cff 100%);
  color: #fff; font-weight: 700; font-size: 0.88rem;
  letter-spacing: 0.18em;
  border-radius: 14px 0 0 14px;
  box-shadow: -4px 6px 22px rgba(0, 140, 220, 0.35);
  transition: transform 0.25s, box-shadow 0.25s;
}
.floating-cta:hover {
  transform: translate(-4px, -50%);
  box-shadow: -6px 8px 30px rgba(0, 140, 220, 0.5);
}
.floating-cta-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
  animation: pulse 2s infinite;
}

@media (max-width: 640px) {
  /* スマホでもPC同様、右端に縦書きで追従（本文に被らないように） */
  .floating-cta {
    padding: 18px 10px;
    font-size: 0.78rem; letter-spacing: 0.12em;
    border-radius: 12px 0 0 12px;
  }
  .floating-cta:hover { transform: translateY(-50%); }
}

/* ---------- AIホームページ制作：キャンペーン表示 ---------- */
.service-badge-campaign {
  position: absolute; top: 14px; right: 14px;
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.06em;
  color: #fff; padding: 4px 12px; border-radius: 999px;
  background: linear-gradient(120deg, #ff7847, #ff4f7c);
  box-shadow: 0 4px 12px rgba(255, 79, 124, 0.35);
}
.service-card { position: relative; }
.job-badge--campaign {
  color: #fff; border: 0;
  background: linear-gradient(120deg, #ff7847, #ff4f7c);
}

/* ---------- AIホームページ制作LP ---------- */
/* LP: リリース記念価格カウントダウン（ヘッダー直下に追従） */
.lp-countdown {
  position: sticky; top: var(--header-h); z-index: 90;
  margin-top: var(--header-h);
  background: linear-gradient(120deg, #ff8a5c 0%, #f4536e 100%);
  color: #fff;
  padding: 12px 0;
  box-shadow: 0 4px 16px rgba(244, 83, 110, 0.25);
}
/* タイマーがある場合、ヒーロー側のヘッダー分の余白は不要 */
.lp-countdown ~ .lp-hero { padding-top: 70px; }
.lp-countdown-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap;
}
.lp-countdown-label {
  font-size: 0.85rem; font-weight: 800; letter-spacing: 0.04em;
}
.lp-countdown-timer {
  display: flex; align-items: baseline; gap: 10px;
}
.lp-countdown-unit strong {
  font-size: 1.35rem; font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.lp-countdown-unit small {
  font-size: 0.7rem; font-weight: 700; margin-left: 2px;
}
.lp-countdown-centi { margin-left: -6px; }
.lp-countdown-centi strong {
  font-size: 0.95rem; opacity: 0.85;
  display: inline-block; min-width: 2.2em; text-align: left;
}
@media (max-width: 720px) {
  .lp-countdown-inner { gap: 6px; flex-direction: column; }
  .lp-countdown { padding: 10px 0; }
}

.lp-hero {
  padding: calc(var(--header-h) + 70px) 0 70px;
  text-align: center;
  background: linear-gradient(180deg, #f6faff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--surface-border);
}
.lp-campaign {
  display: inline-block;
  font-size: 0.88rem; font-weight: 800; letter-spacing: 0.08em;
  color: #fff; padding: 8px 22px; border-radius: 999px;
  background: linear-gradient(120deg, #ff7847, #ff4f7c);
  box-shadow: 0 6px 18px rgba(255, 79, 124, 0.35);
  margin-bottom: 26px;
}
.lp-title {
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  font-weight: 800; line-height: 1.5; letter-spacing: 0.03em;
  margin-bottom: 22px;
}
.lp-lead {
  color: var(--text-muted); line-height: 2.1;
  margin-bottom: 38px;
}
.lp-lead strong { color: var(--text); }

.lp-worries {
  max-width: 640px; margin-inline: auto;
  display: grid; gap: 14px;
}
.lp-worries li {
  position: relative; padding: 16px 20px 16px 52px;
  background: var(--bg-2); border-radius: 14px;
  font-weight: 600; font-size: 0.95rem;
}
.lp-worries li::before {
  content: "✓"; position: absolute; left: 20px; top: 50%;
  transform: translateY(-50%);
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.75rem; font-weight: 800; color: #fff;
  background: linear-gradient(120deg, #00c6e8, #3e7bff);
}
.lp-worries-answer {
  text-align: center; margin-top: 34px;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem); font-weight: 800;
}
.lp-title .grad,
.lp-worries-answer .grad {
  background: linear-gradient(120deg, #00a6dc 0%, #3e7bff 50%, #7c5cff 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 求神LP：課題カードの解決ライン */
.lp-problem-fix {
  margin-top: 14px; padding-top: 14px;
  border-top: 1px dashed var(--surface-border);
  font-size: 0.85rem !important; font-weight: 700; color: var(--text) !important;
}
.lp-problem-fix::before {
  content: "→ 求神なら";
  display: block; margin-bottom: 2px;
  font-size: 0.72rem; letter-spacing: 0.08em; color: var(--accent);
}

/* セクション見出し下の補足 */
.section-sub {
  margin-top: 12px;
  font-size: 0.88rem; color: var(--text-muted);
}

/* 求神LP：導入事例の数値（説明文が長いためスマホでは1列にする） */
@media (max-width: 640px) {
  .stats.stats--case { grid-template-columns: 1fr; }
}

.price-box {
  max-width: 560px; margin-inline: auto;
  text-align: center;
  background: #fff; border: 2px solid transparent;
  border-radius: 24px; padding: 40px 30px 38px;
  background-image: linear-gradient(#fff, #fff), linear-gradient(120deg, #00c6e8, #3e7bff, #7c5cff);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 20px 50px rgba(18, 42, 92, 0.12);
}
.price-box-badge {
  display: inline-block;
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em;
  color: #fff; padding: 6px 18px; border-radius: 999px;
  background: linear-gradient(120deg, #ff7847, #ff4f7c);
  margin-bottom: 16px;
}
.price-box-label { font-size: 0.9rem; font-weight: 700; color: var(--text-muted); letter-spacing: 0.1em; }
.price-box-value {
  font-family: var(--font-en); font-size: clamp(2.6rem, 6vw, 3.6rem); font-weight: 700;
  line-height: 1.2; margin: 4px 0 14px;
  background: linear-gradient(120deg, #00a6dc 0%, #3e7bff 50%, #7c5cff 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.price-box-value span { font-size: 0.32em; font-family: var(--font-jp); font-weight: 700; }
.price-box-tax { font-size: 1rem; font-weight: 700; color: var(--text); margin: -6px 0 12px; }
.price-box-note { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 26px; line-height: 1.9; }

.faq-list { max-width: 760px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--surface-border);
  border-radius: 14px; box-shadow: var(--card-shadow);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer; list-style: none;
  padding: 18px 48px 18px 22px;
  font-weight: 700; font-size: 0.95rem; line-height: 1.6;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "Q. "; color: var(--accent); font-weight: 800; }
.faq-item summary::after {
  content: "＋"; position: absolute; right: 20px; top: 50%;
  transform: translateY(-50%);
  color: var(--accent); font-weight: 700; transition: transform 0.25s;
}
.faq-item[open] summary::after { content: "－"; }
.faq-item p {
  padding: 0 22px 20px; font-size: 0.9rem; color: var(--text-muted);
}
.faq-item p::before { content: "A. "; color: var(--accent-2); font-weight: 800; }

/* ---------- LP：他社比較表 ---------- */
.compare-scroll { overflow-x: auto; }
.compare-table {
  width: 100%; min-width: 720px;
  border-collapse: separate; border-spacing: 0;
  background: #fff; border: 1px solid var(--surface-border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--card-shadow);
}
.compare-table th, .compare-table td {
  padding: 16px 14px; text-align: center; vertical-align: middle;
  border-bottom: 1px solid var(--surface-border);
  font-size: 0.88rem; line-height: 1.7;
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table thead th {
  background: var(--bg-2); font-weight: 800; font-size: 0.9rem;
}
.compare-table thead th span { display: block; font-size: 0.68rem; font-weight: 700; color: var(--text-muted); }
.compare-table tbody th {
  background: var(--bg-2); font-weight: 700; white-space: nowrap;
  text-align: left; padding-left: 20px;
}
.compare-table .compare-ours {
  background: linear-gradient(180deg, rgba(0, 198, 232, 0.07), rgba(124, 92, 255, 0.07));
  font-weight: 700;
}
.compare-table thead .compare-ours {
  background: linear-gradient(120deg, #00c6e8, #3e7bff, #7c5cff);
  color: #fff;
}
.compare-table thead .compare-ours span { color: rgba(255, 255, 255, 0.85); }
.compare-table td small { display: block; font-size: 0.7rem; color: var(--text-muted); font-weight: 500; }
.mark-best, .mark-ok, .mark-mid, .mark-ng {
  display: block; font-size: 1.15rem; font-weight: 800; line-height: 1.3;
}
.mark-best { color: #0098d8; }
.mark-ok { color: #22a06b; }
.mark-mid { color: #e8a13c; }
.mark-ng { color: #d64562; }
.compare-note {
  max-width: 760px; margin: 14px auto 0;
  font-size: 0.72rem; color: var(--text-muted); text-align: center;
}

/* ---------- LP：特徴カード4枚グリッド ---------- */
.service-grid--four { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin-inline: auto; }
@media (max-width: 640px) {
  .service-grid--four { grid-template-columns: 1fr; }
}

/* ---------- スマホ表示の調整 ---------- */
/* スマホのときだけ有効になる改行 */
.br-sp { display: none; }

@media (max-width: 640px) {
  .br-sp { display: inline; }

  /* ① ボタンを小さく */
  .btn { padding: 12px 26px; font-size: 0.88rem; }
  .hero-actions { gap: 12px; }

  /* ② SCROLLインジケーターを非表示 */
  .scroll-hint { display: none; }
}

/* ---------- パスワード保護ページの入力フォーム ---------- */
.post-password-form {
  max-width: 480px;
  margin: 30px auto 60px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  padding: 40px 32px;
  box-shadow: var(--card-shadow);
}
.post-password-form::before {
  content: "🔒";
  display: block;
  font-size: 2rem;
  margin-bottom: 12px;
}
.post-password-form p:first-of-type {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 22px;
  line-height: 2;
}
.post-password-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.post-password-form input[name="post_password"] {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  text-align: center;
  letter-spacing: 0.2em;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.post-password-form input[name="post_password"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 152, 216, 0.14);
}
.post-password-form input[type="submit"] {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  padding: 14px 36px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: linear-gradient(120deg, #00c6e8 0%, #3e7bff 50%, #7c5cff 100%);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  font-family: inherit;
  letter-spacing: 0.06em;
  box-shadow: 0 8px 24px rgba(0, 140, 220, 0.32);
  transition: transform 0.25s, box-shadow 0.25s;
}
.post-password-form input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(0, 140, 220, 0.45);
}

/* ---------- ヒーロー：背景動画モード ---------- */
/* 動画はヘッダーの下から表示。左側（文字エリア）は白を強くして読みやすく、右側は映像を見せる */
.hero--video .hero-video {
  position: absolute; left: 0; right: 0;
  top: var(--header-h); bottom: 0;
  z-index: 0;
  width: 100%; height: calc(100% - var(--header-h));
  object-fit: cover;
}
.hero-video-overlay {
  position: absolute; left: 0; right: 0;
  top: var(--header-h); bottom: 0;
  z-index: 0;
  background: linear-gradient(90deg,
    rgba(248, 251, 255, 0.96) 0%,
    rgba(248, 251, 255, 0.9) 38%,
    rgba(248, 251, 255, 0.62) 68%,
    rgba(248, 251, 255, 0.5) 100%);
}
/* 動画モードでは右側のアニメーション（AIコア・カード）を表示しない */
.hero--video .hero-visual { display: none; }
.hero--video .hero-inner { display: block; }

@media (max-width: 640px) {
  /* スマホは文字が全幅のため、フィルターは全面均一に強める */
  .hero-video-overlay { background: rgba(248, 251, 255, 0.9); }
}

/* ---------- シナリオ型チャットボット ---------- */
.chatbot { position: fixed; left: 18px; bottom: 18px; z-index: 240; }
.chatbot-toggle {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  border: 0; cursor: pointer; background: none; padding: 0;
  font-family: inherit;
}
.chatbot-char {
  display: block; width: 72px; height: 72px;
  filter: drop-shadow(0 10px 22px rgba(0, 140, 220, 0.4));
  animation: charBob 3.2s ease-in-out infinite;
  transition: transform 0.25s;
}
.chatbot-char svg { width: 100%; height: 100%; }
.chatbot-toggle:hover .chatbot-char { transform: scale(1.08) rotate(-4deg); }
@keyframes charBob { 50% { transform: translateY(-7px); } }
/* まばたき */
.char-eye {
  animation: charBlink 4.2s infinite;
  transform-box: fill-box; transform-origin: center;
}
@keyframes charBlink {
  0%, 92%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(0.1); }
}
.char-antenna { animation: pulse 2s infinite; }
/* キャラの吹き出し「質問あると？」 */
.chatbot-speech {
  position: relative;
  margin-left: 44px;
  background: #fff; border: 1px solid var(--surface-border);
  border-radius: 12px; padding: 6px 12px;
  font-size: 0.78rem; font-weight: 700; color: var(--text);
  box-shadow: 0 6px 16px rgba(18, 42, 92, 0.12);
  animation: charBob 3.2s ease-in-out infinite;
}
.chatbot-speech::after {
  content: ""; position: absolute; left: 14px; bottom: -5px;
  width: 10px; height: 10px;
  background: #fff; border-right: 1px solid var(--surface-border); border-bottom: 1px solid var(--surface-border);
  transform: rotate(45deg);
}
.chatbot.is-open .chatbot-toggle { display: none; }

.chatbot-panel[hidden] { display: none; }
.chatbot-panel {
  position: absolute; left: 0; bottom: 0;
  width: min(360px, calc(100vw - 36px));
  height: min(520px, calc(100vh - 120px));
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--surface-border);
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(16, 24, 40, 0.25);
  opacity: 0; transform: translateY(14px) scale(0.97);
  transition: opacity 0.25s, transform 0.25s;
}
.chatbot-panel.is-open { opacity: 1; transform: none; }

.chatbot-head {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 48px 12px 16px;
  background: linear-gradient(120deg, #00c6e8 0%, #3e7bff 55%, #7c5cff 100%);
  color: #fff;
}
.chatbot-head-avatar {
  width: 40px; height: 40px; flex-shrink: 0;
  background: #fff; border-radius: 50%;
  display: grid; place-items: center;
  padding: 4px;
}
.chatbot-head-avatar svg { width: 100%; height: 100%; }
.chatbot-head-title { display: block; font-family: var(--font-en); font-weight: 700; font-size: 1rem; letter-spacing: 0.04em; }
.chatbot-head-sub { display: block; font-size: 0.7rem; opacity: 0.85; }
.chatbot-close {
  position: absolute; top: 10px; right: 12px;
  background: none; border: 0; cursor: pointer;
  color: #fff; font-size: 1.6rem; line-height: 1; padding: 6px;
  opacity: 0.85; transition: opacity 0.2s;
}
.chatbot-close:hover { opacity: 1; }

.chatbot-body {
  flex: 1; overflow-y: auto;
  padding: 18px 16px;
  background: var(--bg-2);
  display: flex; flex-direction: column; gap: 10px;
}
.chatbot-row { display: flex; gap: 8px; align-items: flex-end; }
.chatbot-avatar {
  width: 28px; height: 28px; flex-shrink: 0;
  display: block;
}
.chatbot-avatar svg { width: 100%; height: 100%; }
.chatbot-row .chatbot-msg--bot { max-width: 100%; }
.chatbot-msg {
  max-width: 85%;
  padding: 11px 14px;
  border-radius: 14px;
  font-size: 0.85rem; line-height: 1.75;
  white-space: pre-line;
}
.chatbot-msg--bot {
  align-self: flex-start;
  background: #fff; border: 1px solid var(--surface-border);
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 8px rgba(18, 42, 92, 0.06);
}
.chatbot-msg--user {
  align-self: flex-end;
  background: linear-gradient(120deg, #3e7bff, #7c5cff);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chatbot-typing { display: inline-flex; gap: 5px; align-items: center; }
.chatbot-typing i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: typingDot 1.2s ease-in-out infinite;
}
.chatbot-typing i:nth-child(2) { animation-delay: 0.2s; }
.chatbot-typing i:nth-child(3) { animation-delay: 0.4s; }

.chatbot-options { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.chatbot-option {
  display: inline-block;
  padding: 9px 16px;
  border: 1px solid rgba(0, 152, 216, 0.4);
  border-radius: 999px;
  background: #fff; cursor: pointer;
  color: var(--accent); font-size: 0.82rem; font-weight: 700; font-family: inherit;
  text-align: center;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.chatbot-option:hover {
  background: linear-gradient(120deg, #00c6e8, #3e7bff);
  border-color: transparent;
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .chatbot { left: 12px; bottom: 12px; }
  .chatbot-toggle { padding: 12px 16px; font-size: 0.82rem; }
  .chatbot-panel { height: min(480px, calc(100vh - 100px)); }
}

/* ---------- LP：記念価格枠のステータス表示 ---------- */
.price-slots { max-width: 560px; margin: 0 auto 22px; text-align: center; }
.price-slots-title {
  font-size: 0.82rem; font-weight: 700; color: var(--text-muted);
  letter-spacing: 0.06em; margin-bottom: 12px;
}
.price-slots-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.price-slot {
  border: 1.5px solid rgba(0, 152, 216, 0.45);
  background: #fff;
  border-radius: 14px; padding: 12px 8px;
}
.price-slot span { display: block; font-size: 0.7rem; color: var(--text-muted); font-weight: 700; }
.price-slot strong { display: block; font-size: 0.85rem; font-weight: 800; color: var(--accent); margin-top: 2px; }
.price-slot.is-pending strong { color: #e8a13c; }
.price-slot.is-filled {
  border-color: var(--surface-border);
  background: var(--bg-2);
}
.price-slot.is-filled strong { color: var(--text-muted); }
.price-slots-remaining {
  margin-top: 12px;
  font-size: 0.95rem; font-weight: 800;
}
.price-slots-remaining strong {
  font-family: var(--font-en); font-size: 1.5em;
  color: #ff4f7c; padding: 0 2px;
}

/* ---------- LP：ミニCTAと安心の一言 ---------- */
.lp-cta-mini { text-align: center; margin-top: 36px; }
.lp-cta-note {
  font-size: 0.75rem; color: var(--text-muted);
  margin-top: 12px;
}
.contact-cta .lp-cta-note { margin-bottom: 0; }
