/* ============================================================
   atomic link — future.css (下層ページ共有デザインシステム)
   近未来ダークテーマ。トップページ(/styles/top.css)とトークンを共有する。
   このファイルは自己完結しており、下層ページはこれと
   Google Fonts(Noto Sans JP + Space Grotesk)だけを読み込めばよい。

   主なコンポーネント:
   - .site-header / .site-nav         … 共通ヘッダー(トップと同一マークアップ)
   - .page-hero                       … 下層ページ用ヒーロー
   - .section / .section-inner        … セクション基本
   - .eyebrow / .section-heading      … 見出しまわり
   - .card-grid / .f-card             … ガラスカード(data-spotlight対応)
   - .stat-grid / .stat               … 数値ハイライト(data-counter対応)
   - .step-list / .step               … プロセス
   - .spec-table                      … 会社概要テーブル
   - .f-form                          … フォーム(contact)
   - .faq                             … details/summaryアコーディオン
   - .price-grid / .price-card        … 料金カード
   - .work-grid / .work-card          … 実績カード
   - .news-list                       … お知らせ
   - .timeline                        … 沿革
   - .cta / .wide-link / .text-link   … ボタン・リンク
   - .final-cta                       … ページ末尾CTA
   - footer / .footer-cta             … 共有フッター(partials/footer.html)
   ============================================================ */

:root {
  --bg: #04070d;
  --bg-soft: #070d18;
  --surface: rgba(13, 22, 38, 0.72);
  --surface-solid: #0c1424;
  --line: rgba(125, 211, 252, 0.14);
  --line-strong: rgba(125, 211, 252, 0.3);
  --text: #e8eef7;
  --text-muted: #94a6bd;
  --cyan: #22d3ee;
  --sky: #38bdf8;
  --violet: #818cf8;
  --ok: #34d399;
  --warn: #fbbf24;
  --error: #f87171;
  --grad: linear-gradient(115deg, #22d3ee 0%, #38bdf8 45%, #818cf8 100%);
  --font-jp: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --font-en: "Space Grotesk", "Noto Sans JP", sans-serif;
  --radius: 18px;
  --header-h: 72px;
  --hero-x: 0;
  --hero-y: 0;
}

@view-transition {
  navigation: auto;
}

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

html {
  scroll-behavior: smooth;
  /* リビール前の translateX やデコレーションによる横スクロールを防ぐ */
  overflow-x: hidden;
}

body {
  font-family: var(--font-jp);
  background: var(--bg);
  color: var(--text);
  line-height: 1.85;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

::selection {
  background: rgba(56, 189, 248, 0.35);
}

main,
.site-header,
#footer-placeholder,
.floating-contact {
  position: relative;
  z-index: 1;
}

/* ---------- 背景オーロラ ---------- */
.page-aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.5;
  will-change: transform;
}

.blob-a {
  width: 52vw;
  height: 52vw;
  top: -22vw;
  right: -14vw;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.2), transparent 65%);
  animation: drift-a 22s ease-in-out infinite alternate;
}

.blob-b {
  width: 44vw;
  height: 44vw;
  top: 38%;
  left: -18vw;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.16), transparent 65%);
  animation: drift-b 28s ease-in-out infinite alternate;
}

.blob-c {
  width: 38vw;
  height: 38vw;
  bottom: -16vw;
  right: -8vw;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.14), transparent 65%);
  animation: drift-a 26s ease-in-out infinite alternate-reverse;
}

@keyframes drift-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-6vw, 5vw, 0) scale(1.12); }
}

@keyframes drift-b {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(7vw, -4vw, 0) scale(1.08); }
}

/* ---------- スクロール進捗バー(future.jsが注入) ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 1200;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
}

/* ---------- カーソルオーラ(future.jsが注入 / デスクトップのみ) ---------- */
.cursor-aura {
  position: fixed;
  top: -160px;
  left: -160px;
  width: 320px;
  height: 320px;
  margin: -160px 0 0 -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.08), rgba(129, 140, 248, 0.04) 45%, transparent 70%);
  pointer-events: none;
  z-index: 999;
  opacity: 0;
  transition: opacity 0.4s ease, scale 0.35s ease;
  will-change: transform;
}

.cursor-aura.is-active {
  opacity: 1;
}

.cursor-aura.is-hover {
  scale: 1.35;
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(5, 9, 16, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}

.site-nav {
  max-width: 1200px;
  margin: 0 auto;
  height: var(--header-h);
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-logo {
  height: 38px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.25s ease;
  position: relative;
}

.nav-menu a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
  color: var(--text);
}

.nav-menu a:not(.nav-cta):hover::after,
.nav-menu a[aria-current="page"]:not(.nav-cta)::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--grad);
  color: #03121c !important;
  font-weight: 700;
  box-shadow: 0 6px 24px rgba(56, 189, 248, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.5);
}

.nav-toggle {
  display: none;
}

.hamburger {
  display: none;
  cursor: pointer;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(13, 22, 38, 0.6);
}

.hamburger .bar {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  transition: 0.3s;
}

.hamburger .bar::before,
.hamburger .bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--text);
  transition: 0.3s;
}

.hamburger .bar::before { top: -6px; }
.hamburger .bar::after { top: 6px; }

/* ---------- 下層ページヒーロー ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 96px) 0 84px;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-hero-grid {
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(rgba(125, 211, 252, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 211, 252, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 0%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 0%, #000 25%, transparent 78%);
}

.page-hero-glow {
  position: absolute;
  width: 540px;
  height: 540px;
  top: -200px;
  right: -80px;
  border-radius: 50%;
  filter: blur(100px);
  background: radial-gradient(circle, rgba(34, 211, 238, 0.2), transparent 70%);
}

.page-hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  list-style: none;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  font-family: var(--font-en);
  letter-spacing: 0.06em;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.25s ease;
}

.breadcrumb a:hover {
  color: var(--sky);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 10px;
  color: rgba(56, 189, 248, 0.45);
}

.page-hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.page-hero h1 .grad {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-hero .lead {
  margin-top: 22px;
  max-width: 640px;
  color: var(--text-muted);
  font-size: 1.02rem;
}

.page-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

/* ---------- セクション基本 ---------- */
.section {
  position: relative;
  padding: 96px 0;
}

.section.tight {
  padding: 64px 0;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.section-inner.narrow {
  max-width: 880px;
}

.section.alt {
  background: linear-gradient(180deg, transparent, rgba(10, 17, 30, 0.7) 18%, rgba(10, 17, 30, 0.7) 82%, transparent);
}

.eyebrow {
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

h3 {
  font-weight: 700;
  line-height: 1.5;
}

.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-heading.align-left {
  text-align: left;
  margin-left: 0;
}

.section-lead {
  margin-top: 18px;
  color: var(--text-muted);
}

.watermark {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(4rem, 12vw, 10rem);
  letter-spacing: 0.06em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(125, 211, 252, 0.08);
  user-select: none;
  pointer-events: none;
}

/* ---------- リビール ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0s);
}

.js [data-reveal="left"] {
  transform: translateX(-36px);
}

.js [data-reveal="right"] {
  transform: translateX(36px);
}

.js [data-reveal="zoom"] {
  transform: scale(0.92);
}

.js [data-reveal="blur"] {
  transform: none;
  filter: blur(10px);
  transition: opacity 0.9s ease, filter 0.9s ease;
  transition-delay: var(--d, 0s);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

/* ---------- ガラスカード ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.card-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.f-card {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 32px 28px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.f-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 0%) var(--my, 0%), rgba(56, 189, 248, 0.13), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.f-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 60px rgba(2, 6, 14, 0.55), 0 0 0 1px rgba(56, 189, 248, 0.12);
}

.f-card:hover::before {
  opacity: 1;
}

.f-card > * {
  position: relative;
}

.f-card h3 {
  font-size: 1.18rem;
  margin-bottom: 12px;
}

.f-card p {
  color: var(--text-muted);
  font-size: 0.93rem;
}

.f-card .card-number {
  position: absolute;
  top: 10px;
  right: 18px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 3.6rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(125, 211, 252, 0.22);
  transition: -webkit-text-stroke-color 0.35s ease;
}

.f-card:hover .card-number {
  -webkit-text-stroke-color: rgba(125, 211, 252, 0.5);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.14), rgba(129, 140, 248, 0.14));
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 22px rgba(56, 189, 248, 0.18);
}

.card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--sky);
}

/* ---------- チップ・バッジ ---------- */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(13, 22, 38, 0.55);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.chip.active,
.chip:hover {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(34, 211, 238, 0.08);
}

/* ---------- 数値ハイライト ---------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.stat {
  text-align: center;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 32px 20px;
}

.stat .stat-value {
  font-family: var(--font-en);
  font-size: clamp(2.2rem, 4.4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat .stat-label {
  margin-top: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ---------- ステップ ---------- */
.step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  list-style: none;
  counter-reset: step;
  position: relative;
}

.step-list.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step-list::before {
  content: "";
  position: absolute;
  top: 58px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.4), rgba(129, 140, 248, 0.4), transparent);
}

.step {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 32px 26px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease;
}

.step:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
}

.step .step-no {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.15rem;
  color: #03121c;
  background: var(--grad);
  box-shadow: 0 0 26px rgba(56, 189, 248, 0.45);
  margin-bottom: 20px;
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.step p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ---------- 会社概要テーブル ---------- */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.spec-table th,
.spec-table td {
  padding: 20px 24px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  vertical-align: top;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: none;
}

.spec-table th {
  width: 220px;
  font-weight: 700;
  color: var(--text);
  background: rgba(13, 22, 38, 0.6);
  white-space: nowrap;
  font-feature-settings: "palt";
}

.spec-table td {
  color: var(--text-muted);
}

.spec-table a {
  color: var(--sky);
}

/* ---------- タイムライン ---------- */
.timeline {
  list-style: none;
  position: relative;
  padding-left: 28px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 7px;
  width: 1px;
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.5), rgba(129, 140, 248, 0.5));
}

.timeline li {
  position: relative;
  padding-bottom: 28px;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 8px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 12px var(--sky);
}

.timeline .time {
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--sky);
  letter-spacing: 0.08em;
  font-size: 0.88rem;
}

.timeline p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- フォーム ---------- */
.f-form {
  display: grid;
  gap: 26px;
}

.f-form .field label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 10px;
}

.f-form .field label span {
  color: var(--cyan);
  margin-left: 4px;
}

.f-form input[type="text"],
.f-form input[type="email"],
.f-form input[type="tel"],
.f-form select,
.f-form textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(7, 13, 24, 0.8);
  color: var(--text);
  font-family: var(--font-jp);
  font-size: 1rem;
  line-height: 1.6;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  appearance: none;
  -webkit-appearance: none;
}

.f-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2338bdf8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}

.f-form input::placeholder,
.f-form textarea::placeholder {
  color: rgba(148, 166, 189, 0.55);
}

.f-form input:focus,
.f-form select:focus,
.f-form textarea:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.18), 0 0 24px rgba(56, 189, 248, 0.12);
  background: rgba(9, 16, 29, 0.95);
}

.f-form input[aria-invalid="true"],
.f-form textarea[aria-invalid="true"] {
  border-color: rgba(248, 113, 113, 0.6);
}

.f-form .error {
  display: block;
  margin-top: 8px;
  color: var(--error);
  font-size: 0.82rem;
}

.f-form .checkbox {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.f-form .checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--sky);
}

.f-form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.f-form .privacy-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.f-form .privacy-note a {
  color: var(--sky);
}

.f-form .actions {
  display: flex;
  justify-content: center;
}

.f-form .status {
  text-align: center;
  color: var(--warn);
  min-height: 1.5em;
}

.form-shell {
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(16, 26, 44, 0.85), rgba(9, 15, 27, 0.9));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px rgba(2, 6, 14, 0.55);
  padding: 44px 40px;
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 14px;
}

.faq details {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq details[open] {
  border-color: var(--line-strong);
}

.faq summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before {
  content: "Q";
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--sky);
  flex: none;
}

.faq summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-en);
  font-size: 1.3rem;
  color: var(--sky);
  transition: transform 0.3s ease;
  flex: none;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq .faq-body {
  padding: 0 24px 22px 52px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- 料金カード ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 36px 30px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.price-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
}

.price-card.featured {
  border-color: rgba(56, 189, 248, 0.5);
  background: linear-gradient(170deg, rgba(20, 33, 56, 0.92), rgba(10, 17, 30, 0.92));
  box-shadow: 0 24px 70px rgba(2, 6, 14, 0.6), 0 0 40px rgba(56, 189, 248, 0.12);
}

.price-card .plan-badge {
  position: absolute;
  top: -13px;
  left: 28px;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--grad);
  color: #03121c;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.price-card .plan-name {
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.price-card .plan-price {
  margin: 16px 0 6px;
  font-family: var(--font-en);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.1;
}

.price-card .plan-price small {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

.price-card .plan-note {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 22px;
}

.price-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
  font-size: 0.92rem;
}

.price-card ul li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  color: var(--text-muted);
}

.price-card ul li::before {
  content: "✓";
  color: var(--ok);
  font-weight: 700;
  flex: none;
}

.price-card .cta {
  margin-top: auto;
  justify-content: center;
}

/* ---------- 実績カード ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.work-card {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.work-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 60px rgba(2, 6, 14, 0.55);
}

.work-card .work-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-soft);
}

.work-card .work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s ease;
  filter: saturate(0.9);
}

.work-card:hover .work-thumb img {
  transform: scale(1.06);
  filter: saturate(1.1);
}

.work-card .work-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(4, 7, 13, 0.65));
}

.work-card .work-body {
  padding: 22px 24px 26px;
}

.work-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--text);
}

.work-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.work-card .work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.work-card .work-tags span {
  font-size: 0.72rem;
  font-family: var(--font-en);
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text-muted);
}

/* ---------- お知らせ ---------- */
.news-list {
  list-style: none;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.news-list li {
  border-bottom: 1px solid var(--line);
}

.news-list a,
.news-list .news-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 28px;
  padding: 24px 8px;
  text-decoration: none;
  color: var(--text);
  transition: background 0.25s ease, padding-left 0.25s ease;
}

.news-list a:hover {
  background: rgba(34, 211, 238, 0.05);
  padding-left: 18px;
}

.news-list .news-date {
  font-family: var(--font-en);
  font-size: 0.85rem;
  color: var(--sky);
  letter-spacing: 0.08em;
  flex: none;
}

.news-list .news-tag {
  font-size: 0.72rem;
  padding: 3px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--text-muted);
  flex: none;
}

.news-list .news-title {
  font-size: 0.95rem;
}

/* ---------- CTA・リンク ---------- */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 34px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-family: var(--font-jp);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.cta svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

.cta-primary {
  background: var(--grad);
  color: #03121c;
  box-shadow: 0 10px 36px rgba(56, 189, 248, 0.38);
}

.cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(56, 189, 248, 0.55);
}

.cta-primary:hover svg {
  transform: translateX(4px);
}

.cta-primary:disabled {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}

.cta-ghost {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(13, 22, 38, 0.4);
  backdrop-filter: blur(6px);
}

.cta-ghost:hover {
  transform: translateY(-3px);
  border-color: rgba(125, 211, 252, 0.6);
  background: rgba(34, 211, 238, 0.08);
}

.cta-large {
  font-size: 1.08rem;
  padding: 18px 44px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-link .arrow {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: transform 0.25s ease;
}

.text-link:hover .arrow {
  transform: translateX(5px);
}

.action-stack {
  display: grid;
  gap: 14px;
}

.wide-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  padding: 22px 26px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, background 0.3s ease;
}

.wide-link .arrow {
  font-family: var(--font-en);
  color: var(--sky);
  transition: transform 0.3s ease;
}

.wide-link:hover {
  transform: translateX(6px);
  border-color: var(--line-strong);
  background: rgba(34, 211, 238, 0.07);
}

.wide-link:hover .arrow {
  transform: translateX(6px);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: center;
}

/* ---------- 本文プロース(プライバシーポリシー等) ---------- */
.prose h2 {
  font-size: 1.3rem;
  margin: 48px 0 16px;
  padding-left: 16px;
  border-left: 3px solid;
  border-image: linear-gradient(180deg, #22d3ee, #818cf8) 1;
}

.prose h3 {
  font-size: 1.05rem;
  margin: 32px 0 12px;
}

.prose p,
.prose li {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.prose ul,
.prose ol {
  padding-left: 24px;
  display: grid;
  gap: 8px;
  margin: 14px 0;
}

.prose a {
  color: var(--sky);
}

.prose strong {
  color: var(--text);
}

/* ---------- 最終CTA ---------- */
.final-cta {
  overflow: hidden;
  text-align: center;
  padding: 130px 0;
  position: relative;
}

.final-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 720px;
  height: 720px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(56, 189, 248, 0.16), rgba(129, 140, 248, 0.08) 45%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.final-cta-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 28px;
}

.final-cta p:not(.eyebrow) {
  color: var(--text-muted);
  margin: 18px 0 38px;
}

/* ---------- フッター(partials/footer.html) ---------- */
.footer-cta {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10, 17, 30, 0.85), rgba(5, 9, 16, 0.95));
  text-align: center;
  padding: 80px 28px;
}

.footer-cta-inner h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
}

.footer-cta .cta-note {
  color: var(--text-muted);
  margin: 14px 0 30px;
}

footer {
  position: relative;
  z-index: 1;
  background: #03060c;
  border-top: 1px solid var(--line);
  padding: 64px 28px 0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px;
}

.footer-section h4 {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
  color: var(--text);
}

.footer-section ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-section a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.25s ease;
}

.footer-section a:hover {
  color: var(--sky);
}

.footer-bottom {
  max-width: 1200px;
  margin: 48px auto 0;
  border-top: 1px solid rgba(125, 211, 252, 0.08);
  padding: 24px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ---------- フローティングCTA ---------- */
.floating-contact {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
}

.floating-contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--grad);
  color: #03121c;
  padding: 14px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 12px 32px rgba(56, 189, 248, 0.42);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-contact a:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(56, 189, 248, 0.55);
}

.floating-contact svg {
  width: 18px;
  height: 18px;
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .aurora-blob,
  .marquee-track {
    animation: none !important;
  }

  .cursor-aura {
    display: none;
  }
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 1024px) {
  .card-grid.cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-grid.cols-3,
  .work-grid,
  .price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .step-list.cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step-list.cols-4::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  .page-hero {
    padding: calc(var(--header-h) + 64px) 0 60px;
  }

  .site-nav {
    padding: 0 20px;
  }

  .brand-logo {
    height: 32px;
  }

  .hamburger {
    display: inline-flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(5, 9, 16, 0.97);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px;
  }

  .nav-toggle:checked ~ .nav-menu {
    display: flex;
  }

  .nav-menu li {
    border-bottom: 1px solid rgba(125, 211, 252, 0.08);
  }

  .nav-menu li:last-child {
    border-bottom: none;
    margin-top: 16px;
  }

  .nav-menu a:not(.nav-cta) {
    display: block;
    padding: 14px 4px;
    font-size: 1rem;
  }

  .nav-menu a:not(.nav-cta)::after {
    display: none;
  }

  .nav-cta {
    justify-content: center;
    width: 100%;
  }

  .nav-toggle:checked + label .bar {
    background: transparent;
  }

  .nav-toggle:checked + label .bar::before {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle:checked + label .bar::after {
    transform: translateY(-6px) rotate(-45deg);
  }

  .card-grid,
  .card-grid.cols-3,
  .card-grid.cols-4,
  .work-grid,
  .price-grid,
  .step-list,
  .step-list.cols-4 {
    grid-template-columns: 1fr;
  }

  .step-list::before {
    display: none;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .spec-table th {
    width: 130px;
    padding: 16px 14px;
    white-space: normal;
  }

  .spec-table td {
    padding: 16px 14px;
  }

  .form-shell {
    padding: 30px 22px;
  }

  .footer-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .final-cta {
    padding: 96px 0;
  }

  .floating-contact a span {
    display: none;
  }

  .floating-contact a {
    padding: 16px;
  }

  .cursor-aura {
    display: none;
  }
}

@media (max-width: 420px) {
  .footer-content {
    grid-template-columns: 1fr;
  }

  .page-hero .hero-actions .cta,
  .final-cta .cta {
    width: 100%;
    justify-content: center;
  }
}
