/* ============================================================
   BLUE WING — v2 "Aurora Glass" Design System (2026)
   ローカル製作版。トレンド: 進化型グラスモーフィズム / Bento Grid /
   スクロール駆動アニメーション / マイクロインタラクション
   ============================================================ */

:root {
  --bg: #06070c;
  --bg-2: #0a0c14;
  --surface: rgba(255, 255, 255, 0.04);
  --glass: rgba(15, 18, 30, 0.55);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #eef1f8;
  --muted: #9aa3b5;
  --faint: #5b6374;
  --accent: #0099ff;
  --accent-soft: rgba(0, 153, 255, 0.14);
  --accent2: #7c5cff;
  --accent3: #00e0c6;
  --radius: 20px;
  --radius-sm: 12px;
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-en: "Space Grotesk", "Noto Sans JP", sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-jp);
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(0, 153, 255, 0.35); color: #fff; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; background: none; border: none; color: inherit; cursor: pointer; }

/* ---------- 背景：オーロラ＋グリッド＋ノイズ ---------- */
.bg-fx { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }

.bg-fx::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 75%);
}

.aurora { position: absolute; border-radius: 50%; filter: blur(110px); opacity: 0.5; will-change: transform; transition: opacity 0.9s ease; }
.aurora--1 { width: 60vw; height: 60vw; top: -28vw; left: -12vw; background: radial-gradient(circle, rgba(0,153,255,0.55), transparent 65%); animation: drift1 26s ease-in-out infinite alternate; }
.aurora--2 { width: 46vw; height: 46vw; top: -16vw; right: -14vw; background: radial-gradient(circle, rgba(124,92,255,0.4), transparent 65%); animation: drift2 32s ease-in-out infinite alternate; }
.aurora--3 { width: 38vw; height: 38vw; bottom: -22vw; left: 28vw; background: radial-gradient(circle, rgba(0,224,198,0.22), transparent 65%); animation: drift3 38s ease-in-out infinite alternate; }
/* オーロラモード専用の中央ブロブ（通常時は非表示。v2.jsが自動挿入） */
.aurora--4 { width: 70vw; height: 70vw; top: 30%; left: 14vw; background: radial-gradient(circle, rgba(255, 82, 182, 0.4), transparent 65%); opacity: 0; animation: drift2 18s ease-in-out infinite alternate; }

@keyframes drift1 { to { transform: translate(9vw, 7vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-7vw, 9vh) scale(0.9); } }
@keyframes drift3 { to { transform: translate(-9vw, -7vh) scale(1.2); } }

.bg-fx::after {
  content: "";
  position: absolute; inset: 0; opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

/* パーティクルcanvas（ヒーロー） */
#particles { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

/* カーソルグロー（デスクトップ） */
.cursor-glow {
  position: fixed; z-index: -1; width: 520px; height: 520px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(0,153,255,0.07), transparent 65%);
  transform: translate(-50%, -50%);
  transition: opacity 0.4s;
}
@media (hover: none) { .cursor-glow { display: none; } }

/* スクロール進捗バー */
.progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent2), var(--accent3));
  z-index: 200;
}

/* オーロラモード（お楽しみボタン） */
body.party .bg-fx { animation: partyHue 5s linear infinite; }
@keyframes partyHue { to { filter: hue-rotate(360deg); } }
/* ON時：光を強く・大きく・画面中央まで広げる */
body.party .aurora { opacity: 0.85; }
body.party .aurora--1 { width: 85vw; height: 85vw; }
body.party .aurora--2 { width: 65vw; height: 65vw; }
body.party .aurora--3 { width: 60vw; height: 60vw; }
body.party .aurora--4 { opacity: 0.8; }
@media (max-width: 768px) {
  body.party .aurora--1 { width: 130vw; height: 130vw; top: -40vw; }
  body.party .aurora--2 { width: 110vw; height: 110vw; }
  body.party .aurora--3 { width: 100vw; height: 100vw; bottom: -30vw; }
  body.party .aurora--4 { width: 120vw; height: 120vw; left: -15vw; top: 32%; }
}

/* ---------- レイアウト ---------- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.section { padding: 110px 0; position: relative; }
.section--sm { padding: 70px 0; position: relative; }
.mt-40 { margin-top: 40px; }

/* ---------- タイポグラフィ ---------- */
.display {
  font-size: clamp(40px, 6.5vw, 76px);
  font-weight: 900; line-height: 1.16; letter-spacing: -0.015em;
}
.heading-lg { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; line-height: 1.3; letter-spacing: -0.01em; }
.heading-md { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; line-height: 1.4; }
.heading-sm { font-size: 19px; font-weight: 700; }
.body-lg { font-size: 16.5px; color: var(--muted); }
.body { font-size: 14.5px; color: var(--muted); }

.label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-en); font-size: 12px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent);
}
.label::before { content: ""; width: 22px; height: 1px; background: linear-gradient(90deg, var(--accent), transparent); }

.grad-text {
  background: linear-gradient(110deg, #fff 20%, #9ecbff 45%, var(--accent) 62%, var(--accent2) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.section__header { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section__header .heading-lg { margin: 14px 0 18px; }

/* ---------- ナビゲーション ---------- */
.nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  width: min(1160px, calc(100% - 32px));
  z-index: 100;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(10, 12, 20, 0.55);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 12px 40px -16px rgba(0,0,0,0.7);
  transition: background 0.4s, box-shadow 0.4s;
}
.nav.scrolled { background: rgba(8, 10, 17, 0.82); box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 16px 48px -16px rgba(0,0,0,0.85); }

.nav__inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 26px; }

.nav__logo {
  font-family: var(--font-en); font-weight: 700; font-size: 19px; letter-spacing: 0.04em;
  cursor: pointer; user-select: none;
}
.nav__logo span { color: var(--accent); }

.nav__links { display: flex; gap: 4px; }
.nav__links a {
  position: relative; padding: 8px 16px; font-size: 13.5px; font-weight: 500;
  color: var(--muted); border-radius: 999px; transition: color 0.25s, background 0.25s;
}
.nav__links a:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.nav__links a.active { color: var(--text); background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(0,153,255,0.25); }

.nav__hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__hamburger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }

.nav__drawer {
  position: fixed; top: 84px; left: 16px; right: 16px; z-index: 99;
  display: none; flex-direction: column; gap: 4px; padding: 18px;
  border-radius: var(--radius); border: 1px solid var(--border);
  background: rgba(10, 12, 20, 0.92);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
}
.nav__drawer.open { display: flex; animation: drawerIn 0.35s var(--ease-out); }
.nav__drawer a { padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.nav__drawer a:hover { background: rgba(255,255,255,0.06); }
@keyframes drawerIn { from { opacity: 0; transform: translateY(-12px); } }

/* ---------- ボタン ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px;
  font-size: 14px; font-weight: 700; letter-spacing: 0.02em;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, background 0.3s, border-color 0.3s;
  overflow: hidden; white-space: nowrap;
}
.btn-lg { padding: 16px 36px; font-size: 15px; }
.btn-sm { padding: 9px 18px; font-size: 13px; }

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #00a2ff, #0077e0);
  box-shadow: 0 8px 28px -8px rgba(0, 153, 255, 0.55), inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease-out);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 38px -10px rgba(0, 153, 255, 0.7), inset 0 1px 0 rgba(255,255,255,0.3); }
.btn-primary:hover::after { transform: translateX(120%); }

.btn-ghost {
  color: var(--text); border: 1px solid var(--border-strong);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover { transform: translateY(-3px); border-color: rgba(0,153,255,0.5); background: var(--accent-soft); }

/* ---------- グラスカード共通 ---------- */
.glass-card {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    radial-gradient(600px circle at var(--mx, 50%) var(--my, -20%), rgba(0,153,255,0.08), transparent 45%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), var(--shadow-card);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: transform 0.45s var(--ease-out), border-color 0.45s, box-shadow 0.45s;
}
.glass-card:hover { transform: translateY(-6px); border-color: rgba(0,153,255,0.35); }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding: 150px 0 90px; overflow: hidden;
}
.hero__inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; position: relative; z-index: 1; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px; border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 12.5px; font-weight: 600; color: var(--muted);
  margin-bottom: 26px;
}
.hero__badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent3); box-shadow: 0 0 12px var(--accent3); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { opacity: 0.4; } }

.hero__title { margin-bottom: 24px; color: #fff; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .ch { display: inline-block; transform: translateY(110%); animation: chUp 0.9s var(--ease-out) forwards; }
@keyframes chUp { to { transform: translateY(0); } }

.hero__subtitle { font-size: 16.5px; color: var(--muted); margin-bottom: 36px; max-width: 460px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }

.hero__stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stat { min-width: 92px; }
.hero-stat__num { font-family: var(--font-en); font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
.hero-stat__num .unit { font-size: 15px; color: var(--muted); margin-left: 2px; }
.hero-stat__label { font-size: 12px; color: var(--faint); margin-top: 2px; }

.hero__visual { position: relative; }
.hero__visual .glass-card { padding: 14px; animation: floatY 7s ease-in-out infinite; }
.hero__visual svg { border-radius: 12px; }
@keyframes floatY { 50% { transform: translateY(-14px); } }

.hero__orbit {
  position: absolute; padding: 10px 16px; border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: rgba(12, 15, 25, 0.75);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-size: 12px; font-weight: 700;
  box-shadow: var(--shadow-card);
  display: flex; align-items: center; gap: 8px;
}
.hero__orbit svg { flex: none; }
.hero__orbit--1 { top: -18px; right: 8%; animation: floatY 6s 0.6s ease-in-out infinite; }
.hero__orbit--2 { bottom: -16px; left: -4%; animation: floatY 8s 1.2s ease-in-out infinite; }

.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--faint); font-family: var(--font-en); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
}
.scroll-hint::after {
  content: ""; width: 1px; height: 44px;
  background: linear-gradient(180deg, var(--accent), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Bento グリッド（強み） ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bento .glass-card { padding: 34px 30px; }
.bento__num {
  font-family: var(--font-en); font-size: 13px; font-weight: 700; color: var(--accent);
  letter-spacing: 0.2em; margin-bottom: 18px; display: block;
}
.bento__title { font-size: 19px; font-weight: 800; margin-bottom: 12px; }
.bento__body { font-size: 14px; color: var(--muted); }
.bento__icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent);
  border: 1px solid rgba(0,153,255,0.25);
  margin-bottom: 20px;
}

/* ---------- サービスカード ---------- */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.service-card { padding: 34px 32px; display: block; }
.service-card__title { font-size: 18px; font-weight: 800; margin: 18px 0 10px; }
.service-card__body { font-size: 14px; color: var(--muted); }
.service-card__link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px; font-size: 13px; font-weight: 700; color: var(--accent);
  transition: gap 0.3s var(--ease-out);
}
.service-card__link::after { content: "→"; transition: transform 0.3s var(--ease-out); }
.service-card:hover .service-card__link { gap: 10px; }

.str-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent);
  border: 1px solid rgba(0,153,255,0.25);
}

/* ---------- フィーチャー（左右交互） ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature--reverse .feature__content { order: 2; }
.feature--reverse .feature__visual { order: 1; }
.feature__title { margin: 14px 0 18px; }
.feature__body { margin-bottom: 14px; }
.feature__list { margin: 22px 0 30px; display: flex; flex-direction: column; gap: 12px; }
.feature__list li {
  position: relative; padding-left: 30px; font-size: 14px; color: var(--muted);
}
.feature__list li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px rgba(0,153,255,0.4);
}
.feature__list li::after {
  content: ""; position: absolute; left: 4.5px; top: 11.5px;
  width: 7px; height: 4px; border-left: 1.6px solid var(--accent); border-bottom: 1.6px solid var(--accent);
  transform: rotate(-45deg);
}
.feature__visual .glass-card { padding: 12px; }
.feature__visual svg { border-radius: 12px; }

/* ---------- 導入事例 ---------- */
.cases__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.case-card { overflow: hidden; }
.case-card__svg { border-bottom: 1px solid var(--border); }
.case-card__svg svg { display: block; width: 100%; }
.case-card__body { padding: 26px 28px 30px; }
.case-card__tag {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 700; color: var(--accent);
  background: var(--accent-soft); border: 1px solid rgba(0,153,255,0.25);
  margin-bottom: 14px;
}
.case-card__title { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.case-card__desc { font-size: 13.5px; color: var(--muted); }

/* ---------- 受講者の声 / お客様の声 ---------- */
.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.testimonial-card { padding: 30px 30px 26px; }
.testimonial-card::before {
  content: "“"; display: block;
  font-family: var(--font-en); font-size: 44px; font-weight: 700; line-height: 0.6;
  color: var(--accent); opacity: 0.7; margin-bottom: 14px;
}
.testimonial-card__body { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.testimonial-card__name {
  font-size: 12.5px; font-weight: 700; color: var(--text);
  padding-top: 14px; border-top: 1px solid var(--border);
}

/* ---------- 研修コース ---------- */
.course-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.course-card { padding: 34px 32px; display: flex; flex-direction: column; }
.course-card__tag {
  align-self: flex-start; padding: 5px 14px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--accent); background: var(--accent-soft);
  border: 1px solid rgba(0,153,255,0.3);
  margin-bottom: 18px;
}
.course-card__title { font-size: 22px; font-weight: 800; line-height: 1.45; margin-bottom: 14px; }
.course-card__desc { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.course-card__items { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.course-card__item {
  position: relative; padding: 10px 14px 10px 36px;
  border-radius: 10px; background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  font-size: 13px; color: var(--muted);
  transition: border-color 0.3s, background 0.3s;
}
.course-card__item:hover { border-color: rgba(0,153,255,0.35); background: var(--accent-soft); color: var(--text); }
.course-card__item::before {
  content: ""; position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 8px rgba(0,153,255,0.8);
}
.course-card__price {
  margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--border-strong);
  font-size: 14px; font-weight: 700;
}

/* ---------- お知らせバナー ---------- */
.news-banner { padding: 28px 32px; max-width: 760px; margin: 0 auto; }
.news-banner__label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-en); font-size: 11px; font-weight: 700; letter-spacing: 0.25em;
  color: var(--accent3); margin-bottom: 10px;
}
.news-banner__label .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent3); box-shadow: 0 0 10px var(--accent3); animation: pulse 2.4s infinite; }
.news-banner__title { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.news-banner__body { font-size: 13.5px; color: var(--muted); }
.news-banner__body strong { color: var(--accent); font-weight: 800; font-size: 15px; }
.news-banner__date { margin-top: 12px; font-size: 12px; color: var(--faint); }

/* ---------- 補助金リスト ---------- */
.subsidy-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.subsidy-item {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 22px 26px;
}
.subsidy-item__dot {
  flex: none; width: 10px; height: 10px; margin-top: 9px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 14px rgba(0,153,255,0.9);
}
.subsidy-item__name { font-size: 15.5px; font-weight: 800; margin-bottom: 4px; }
.subsidy-item__desc { font-size: 13px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq__list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { overflow: hidden; }
.faq-item__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 26px; font-size: 15px; font-weight: 700; text-align: left;
}
.faq-item__q-icon {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent);
  font-size: 17px; font-weight: 400;
  transition: transform 0.4s var(--ease-out), background 0.3s;
}
.faq-item.open .faq-item__q-icon { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq-item__a {
  max-height: 0; overflow: hidden;
  padding: 0 26px; font-size: 14px; color: var(--muted);
  transition: max-height 0.5s var(--ease-out), padding 0.5s var(--ease-out);
}
.faq-item.open .faq-item__a { max-height: 300px; padding: 0 26px 24px; }

/* ---------- CTAバナー ---------- */
.cta-banner {
  position: relative; text-align: center;
  padding: 80px 32px; border-radius: 28px; overflow: hidden;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(900px circle at 50% 130%, rgba(0,153,255,0.22), transparent 60%),
    radial-gradient(600px circle at 85% -20%, rgba(124,92,255,0.18), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), var(--shadow-card);
}
.cta-banner__title { margin-bottom: 16px; }
.cta-banner__sub { margin-bottom: 36px; }
.cta-banner__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- ページヒーロー（下層） ---------- */
.page-hero { padding: 190px 0 80px; position: relative; }
.page-hero .display { margin: 14px 0 18px; font-size: clamp(36px, 5vw, 60px); }

/* ---------- 会社概要 ---------- */
.company-table { width: 100%; border-collapse: collapse; }
.company-table tr { border-bottom: 1px solid var(--border); }
.company-table th {
  width: 160px; padding: 20px 14px; text-align: left; vertical-align: top;
  font-size: 13px; font-weight: 700; color: var(--accent);
  font-family: var(--font-en); letter-spacing: 0.04em;
}
.company-table td { padding: 20px 14px; font-size: 14.5px; }
.company-table td a { color: var(--text); border-bottom: 1px dashed var(--accent); }

.qual-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.qual-marquee__track { display: flex; gap: 16px; width: max-content; animation: marquee 32s linear infinite; }
.qual-marquee:hover .qual-marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.qual-chip {
  flex: none; display: flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255,255,255,0.04);
  font-size: 13.5px; font-weight: 700; white-space: nowrap;
}
.qual-chip::before { content: "◆"; color: var(--accent); font-size: 9px; }

.profile-img-wrap { max-width: 70%; margin: 0 auto; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-strong); box-shadow: var(--shadow-card); }
.sign-wrap { margin-top: 28px; max-width: 220px; }
.sign-wrap img { opacity: 0.92; }

/* ---------- 実績記事 ---------- */
.works-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 48px; }
.works-filter__tab {
  padding: 10px 22px; border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255,255,255,0.04);
  font-size: 13.5px; font-weight: 600; color: var(--muted);
  transition: all 0.3s var(--ease-out);
}
.works-filter__tab:hover { color: var(--text); border-color: rgba(0,153,255,0.4); transform: translateY(-2px); }
.works-filter__tab.is-active {
  color: #fff; border-color: transparent;
  background: linear-gradient(135deg, #00a2ff, #0077e0);
  box-shadow: 0 8px 24px -8px rgba(0,153,255,0.6);
}
.works-filter__count { font-family: var(--font-en); font-size: 11px; opacity: 0.7; margin-left: 4px; }

.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.work-card { overflow: hidden; display: flex; flex-direction: column; }
.work-card__img { aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--border); }
.work-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.work-card:hover .work-card__img img { transform: scale(1.06); }
.work-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.work-card__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.work-card__cat {
  padding: 3px 11px; border-radius: 999px; font-size: 10.5px; font-weight: 700;
  color: var(--accent); background: var(--accent-soft); border: 1px solid rgba(0,153,255,0.25);
}
.work-card__date { font-family: var(--font-en); font-size: 11.5px; color: var(--faint); }
.work-card__title { font-size: 15.5px; font-weight: 800; line-height: 1.55; margin-bottom: 10px; }
.work-card__lead {
  font-size: 12.5px; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.works-empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 60px 0; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.pagination__btn {
  min-width: 40px; padding: 9px 14px; border-radius: 12px;
  border: 1px solid var(--border-strong); background: rgba(255,255,255,0.04);
  font-family: var(--font-en); font-size: 13px; font-weight: 600; color: var(--muted);
  transition: all 0.25s;
}
.pagination__btn:hover { color: var(--text); border-color: rgba(0,153,255,0.4); }
.pagination__btn.is-active { color: #fff; background: linear-gradient(135deg, #00a2ff, #0077e0); border-color: transparent; }

/* ---------- お問い合わせ ---------- */
.contact-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.contact-method { padding: 28px 30px; }
.contact-method__label {
  font-family: var(--font-en); font-size: 11px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.contact-method__title { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.contact-method__desc { font-size: 13px; color: var(--muted); }
.contact-method ul li { font-size: 13px; color: var(--muted); padding-left: 16px; position: relative; }
.contact-method ul li::before { content: "・"; position: absolute; left: 0; color: var(--accent); }

.form { padding: 38px 36px; display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label { font-size: 13px; font-weight: 700; }
.req { color: var(--accent3); margin-left: 4px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 13px 16px;
  border-radius: 12px; border: 1px solid var(--border-strong);
  background: rgba(255,255,255,0.04);
  color: var(--text); font-family: inherit; font-size: 14px;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--faint); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0,153,255,0.15);
  background: rgba(0,153,255,0.05);
}
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239aa3b5' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.form-select option { background: #0d1018; }
.form-textarea { min-height: 150px; resize: vertical; }
.form-check { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); cursor: pointer; }
.form-check input { width: 17px; height: 17px; accent-color: var(--accent); }
.form-submit { margin-top: 6px; }

.success-icon {
  width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 22px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft); border: 1px solid rgba(0,153,255,0.35);
  box-shadow: 0 0 32px rgba(0,153,255,0.35);
}

/* ---------- フッター ---------- */
.footer { border-top: 1px solid var(--border); padding: 70px 0 36px; position: relative; }
.footer__inner { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; margin-bottom: 52px; }
.footer__logo { font-family: var(--font-en); font-weight: 700; font-size: 22px; margin-bottom: 14px; }
.footer__logo span { color: var(--accent); }
.footer__tagline { font-size: 13px; color: var(--muted); }
.footer__nav { display: flex; gap: 64px; flex-wrap: wrap; }
.footer__nav-title { font-family: var(--font-en); font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
.footer__nav-links { display: flex; flex-direction: column; gap: 10px; }
.footer__nav-links a { font-size: 13.5px; color: var(--muted); transition: color 0.25s; }
.footer__nav-links a:hover { color: var(--accent); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-top: 28px; border-top: 1px solid var(--border);
}
.footer__copy { font-size: 12px; color: var(--faint); }
.footer__tel { display: flex; align-items: center; gap: 8px; font-family: var(--font-en); font-size: 14px; font-weight: 600; color: var(--muted); }

/* ---------- スクロールリビール ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0s);
}
[data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- トースト（イースターエッグ通知） ---------- */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translate(-50%, 140%);
  z-index: 300; padding: 14px 26px; border-radius: 999px;
  border: 1px solid rgba(0,153,255,0.4);
  background: rgba(10, 13, 22, 0.9);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  font-size: 13.5px; font-weight: 700;
  box-shadow: 0 16px 48px -12px rgba(0,153,255,0.5);
  transition: transform 0.6s var(--ease-out);
}
.toast.show { transform: translate(-50%, 0); }

/* ---------- お楽しみボタン（旧イースターエッグ） ---------- */
.egg-dock {
  position: fixed; right: 18px; bottom: 18px; z-index: 150;
  display: flex; flex-direction: column; gap: 10px;
}
.egg-btn {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  border: 1px solid var(--border-strong);
  background: rgba(12, 15, 25, 0.7);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), var(--shadow-card);
  opacity: 0.8;
  transition: transform 0.3s var(--ease-out), opacity 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.3s;
}
.egg-btn svg { display: block; }
.egg-btn:hover {
  transform: translateY(-3px) scale(1.08);
  opacity: 1; color: var(--accent);
  border-color: rgba(0,153,255,0.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 8px 28px -8px rgba(0,153,255,0.55);
}
.egg-btn:active { transform: scale(0.94); }

/* ---------- レスポンシブ ---------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { max-width: 620px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; gap: 36px; }
  .feature--reverse .feature__content { order: 1; }
  .feature--reverse .feature__visual { order: 2; }
  .contact-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
  .section { padding: 80px 0; }
  .bento, .service-grid, .cases__grid, .testimonials-grid, .course-grid { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: 1fr; }
  .hero { padding: 130px 0 80px; }
  .hero__stats { gap: 24px; }
  .page-hero { padding: 150px 0 60px; }
  .cta-banner { padding: 60px 24px; }
  .company-table th { width: 110px; padding: 16px 8px; }
  .company-table td { padding: 16px 8px; }
  .form { padding: 28px 22px; }
  .form__row-2 { grid-template-columns: 1fr !important; }
}
