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

:root {
  --bg-deep: #0a0e27;
  --bg-mid: #16213e;
  --bg-panel: rgba(15, 52, 96, 0.3);
  --cyan: #00d9ff;
  --cyan-dim: rgba(0, 217, 255, 0.5);
  --cyan-faint: rgba(0, 217, 255, 0.2);
  --purple: #9d4edd;
  --text: #e0e0e0;
  --text-sub: #b0b0b0;
  --text-mute: #808080;
  --font-pixel: "DotGothic16", sans-serif;
  --font-tech: "Tektur", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body.public-page {
  font-family: "Segoe UI", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  background: linear-gradient(135deg, #0a0e27 0%, #16213e 50%, #0f3460 100%);
  color: var(--text);
  /* hidden は body をスクロールコンテナ化させ .site-nav の sticky を殺すため clip を使う */
  overflow-x: clip;
  min-height: 100vh;
}

/* ===== ローディング画面 ===== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background: #0a0e27;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  /* JSが読み込めなかった場合の保険：8秒後に必ず消してコンテンツを見せる */
  animation: preloader-failsafe 0s linear 8s forwards;
}

.preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes preloader-failsafe {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* 走査線（スキャンライン） */
.preloader::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    180deg,
    rgba(0, 217, 255, 0.05) 0 1px,
    transparent 1px 3px
  );
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 0 24px;
}

.preloader-title {
  font-family: var(--font-tech);
  font-size: 0.95rem;
  letter-spacing: 8px;
  text-indent: 8px; /* letter-spacingの右余りを打ち消して中央に見せる */
  color: var(--cyan);
  text-shadow: 0 0 12px rgba(0, 217, 255, 0.6);
  animation: preloader-flicker 2.4s infinite steps(1);
}

/* ごく短い明滅でブラウン管的なノイズ感を出す */
@keyframes preloader-flicker {
  0%, 92%, 96%, 100% { opacity: 1; }
  94% { opacity: 0.45; }
}

.preloader-dots {
  animation: preloader-dots 1.2s infinite steps(4);
  clip-path: inset(0 100% 0 0);
}

@keyframes preloader-dots {
  to {
    clip-path: inset(0 0 0 0);
  }
}

.preloader-progress {
  display: flex;
  align-items: center;
  gap: 14px;
}

.preloader-segs {
  display: flex;
  gap: 3px;
}

.preloader-seg {
  width: 13px;
  height: 18px;
  transform: skewX(-16deg);
  background: rgba(0, 217, 255, 0.06);
  border: 1px solid rgba(0, 217, 255, 0.16);
  transition: background 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease;
}

/* 点灯したセグメント。紫→シアンへ移り変わる（未対応ブラウザはシアン単色） */
.preloader-seg.is-on {
  background: var(--cyan);
  background: color-mix(
    in srgb,
    #c761ff,
    #00d9ff calc(var(--i) * 6.67%)
  );
  border-color: transparent;
  box-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

.preloader-percent {
  min-width: 46px; /* 数字の増減で左のバーが揺れないよう固定 */
  font-family: var(--font-tech);
  font-size: 0.82rem;
  color: var(--cyan);
  text-align: right;
}

.preloader-note {
  font-size: 0.78rem;
  letter-spacing: 1px;
  color: var(--text-sub);
}

@media (max-width: 480px) {
  .preloader-seg {
    width: 9px;
  }
  .preloader-title {
    letter-spacing: 5px;
    text-indent: 5px;
  }
}

/* ===== 背景レイヤー ===== */
#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.45;
}

/* 薄い近未来グリッド */
.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 217, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 217, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 75%);
}

/* ===== ナビゲーション ===== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 32px;
  background: rgba(10, 14, 39, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cyan-faint);
}

.site-nav-brand {
  font-family: var(--font-tech);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 2px;
  color: var(--cyan);
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 0 8px rgba(0, 217, 255, 0.6);
}

.site-nav-links {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.site-nav-links::-webkit-scrollbar {
  display: none;
}

.site-nav-links a {
  font-family: var(--font-tech);
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  color: var(--text-sub);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  white-space: nowrap;
  transition: color 0.25s ease, background 0.25s ease;
}

.site-nav-links a:hover {
  color: var(--cyan);
  background: rgba(0, 217, 255, 0.08);
}

/* ハンバーガーボタン（モバイルのみ表示） */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--cyan-faint);
  border-radius: 6px;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--cyan);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* 開いている間は上下のバーをXに、中央を消す */
.site-nav.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.site-nav.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.site-nav.is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ===== 共通レイアウト ===== */
.container-top {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.container-top section {
  padding: 96px 0;
}

/* セクション見出し */
.section-eyebrow {
  font-family: var(--font-tech);
  font-size: 0.85rem;
  letter-spacing: 4px;
  color: var(--cyan);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-pixel);
  font-weight: 400;
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  color: #fff;
  margin-bottom: 16px;
}

.section-lead {
  color: var(--text-sub);
  font-size: 0.95rem;
  line-height: 1.9;
  max-width: 640px;
  margin-bottom: 48px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: calc(100vh - 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 0 64px;
}

/* 浮遊グロー */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: -1;
}
.hero-orb-1 {
  width: 420px;
  height: 420px;
  top: 4%;
  right: -6%;
  background: rgba(0, 217, 255, 0.14);
  animation: orbFloat 14s ease-in-out infinite;
}
.hero-orb-2 {
  width: 360px;
  height: 360px;
  bottom: 0;
  left: -8%;
  background: rgba(157, 78, 221, 0.16);
  animation: orbFloat 18s ease-in-out infinite reverse;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-30px, 34px); }
}

.hero-inner {
  max-width: 760px;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-tech);
  font-size: 0.75rem;
  letter-spacing: 2.5px;
  color: var(--cyan);
  border: 1px solid var(--cyan-faint);
  background: rgba(0, 217, 255, 0.06);
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 32px;
}

.hero-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: statusPulse 2.2s ease-in-out infinite;
}
@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hero-logo {
  width: min(440px, 82%);
  height: auto;
  display: block;
  margin-bottom: 28px;
  filter: drop-shadow(0 0 24px rgba(0, 217, 255, 0.35));
}

.hero-title {
  font-family: var(--font-pixel);
  font-weight: 400;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  line-height: 1.5;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 0 20px rgba(0, 217, 255, 0.4);
}

.hero-title em {
  font-style: normal;
  color: var(--cyan);
}

.hero-sub {
  font-size: 1rem;
  line-height: 2;
  color: var(--text-sub);
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}

/* CTAボタン（Cocoon本体の .btn と衝突しないよう fl- プレフィックス） */
.fl-btn {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.fl-btn-primary {
  color: #0a0e27;
  background: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 217, 255, 0.4);
}
.fl-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(0, 217, 255, 0.65);
  color: #0a0e27;
}

.fl-btn-ghost {
  color: var(--cyan);
  border: 1px solid var(--cyan-dim);
  background: rgba(0, 217, 255, 0.06);
}
.fl-btn-ghost:hover {
  background: rgba(0, 217, 255, 0.14);
  box-shadow: 0 0 18px rgba(0, 217, 255, 0.25);
  color: var(--cyan);
}

/* ステータスカウンタ */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid var(--cyan-faint);
  max-width: 560px;
}

.hero-stat {
  padding: 20px 40px 0 0;
  margin-right: 40px;
}

.hero-stat-value {
  font-family: var(--font-tech);
  font-weight: 700;
  font-size: 1.9rem;
  color: #fff;
  text-shadow: 0 0 14px rgba(0, 217, 255, 0.5);
}

.hero-stat-value small {
  font-size: 0.9rem;
  color: var(--cyan);
  margin-left: 2px;
}

.hero-stat-label {
  font-family: var(--font-tech);
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: var(--text-mute);
  margin-top: 4px;
}

.hero-scroll {
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-tech);
  font-size: 0.65rem;
  letter-spacing: 3px;
  color: var(--text-mute);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-scroll::after {
  content: "";
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, var(--cyan), transparent);
  animation: scrollHint 2s ease-in-out infinite;
}
@keyframes scrollHint {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ===== PICKUP ===== */
.pickup-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  padding: 48px 0;
}

.pickup-row + .pickup-row {
  border-top: 1px solid rgba(0, 217, 255, 0.12);
}

.pickup-row.reverse .pickup-visual {
  order: 2;
}

/* スクリーンショットフレーム（コンソール風） */
.pickup-visual {
  position: relative;
  border-radius: 12px;
  border: 1px solid var(--cyan-dim);
  background: rgba(10, 14, 39, 0.7);
  box-shadow: 0 0 30px rgba(0, 217, 255, 0.18), 0 20px 40px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.pickup-visual:hover {
  box-shadow: 0 0 44px rgba(0, 217, 255, 0.3), 0 24px 48px rgba(0, 0, 0, 0.5);
}

.pickup-visual-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(0, 217, 255, 0.15);
  background: rgba(10, 14, 39, 0.85);
}

.pickup-visual-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(0, 217, 255, 0.25);
}
.pickup-visual-bar span:first-child {
  background: rgba(157, 78, 221, 0.5);
}

.pickup-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.pickup-tag {
  display: inline-block;
  font-family: var(--font-tech);
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: var(--purple);
  border: 1px solid rgba(157, 78, 221, 0.5);
  background: rgba(157, 78, 221, 0.1);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 16px;
}

.pickup-title {
  font-family: var(--font-pixel);
  font-weight: 400;
  font-size: 1.7rem;
  color: var(--cyan);
  margin-bottom: 14px;
}

.pickup-desc {
  color: var(--text-sub);
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 20px;
}

.pickup-features {
  list-style: none;
  margin-bottom: 28px;
}

.pickup-features li {
  position: relative;
  padding: 8px 0 8px 24px;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.7;
}

.pickup-features li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--cyan);
}

.pickup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ===== SERVICES ===== */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-tab {
  font-family: var(--font-tech);
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  color: var(--text-sub);
  background: transparent;
  border: 1px solid rgba(0, 217, 255, 0.25);
  border-radius: 999px;
  padding: 9px 20px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-tab:hover {
  color: var(--cyan);
  border-color: var(--cyan-dim);
}

.filter-tab.active {
  color: #0a0e27;
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 16px rgba(0, 217, 255, 0.45);
}

/* ギャラリーグリッド */
.gallery-top {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 36px;
}

/* カード（既存デザインを継承・グローを調整） */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(0, 217, 255, 0.3);
  background: var(--bg-panel);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 14px rgba(34, 141, 255, 0.25), 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.35s ease, border-color 0.35s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--cyan-dim);
  box-shadow: 0 0 26px rgba(0, 217, 255, 0.4), 0 16px 32px rgba(0, 0, 0, 0.45);
}

/* カードのアクティブ状態（タップ時） */
.card:active {
  transform: scale(0.98);
}

.card.is-hidden {
  display: none;
}

.card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 4;
  font-family: var(--font-tech);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #0a0e27;
  background: var(--cyan);
  border-radius: 4px;
  padding: 4px 10px;
  box-shadow: 0 0 12px rgba(0, 217, 255, 0.6);
}

/* カード画像 */
.card-image {
  position: relative;
  width: 100%;
  flex-shrink: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease-out;
}

.card:hover .card-image img {
  transform: scale(1.05);
}

/* カード内容 */
.card-content {
  position: relative;
  z-index: 2;
  flex: 1;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(
    180deg,
    rgba(15, 52, 96, 0.6) 0%,
    rgba(10, 14, 39, 0.8) 100%
  );
}

.card-title {
  font-size: 1.35rem;
  margin-bottom: 8px;
  color: var(--cyan);
  font-family: var(--font-pixel);
  font-weight: 400;
  font-style: normal;
}

.card-description {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.6;
  margin-bottom: 12px;
}

.card-tag {
  display: inline-block;
  margin-top: 4px;
  padding: 5px 12px;
  background: rgba(0, 217, 255, 0.12);
  border: 1px solid var(--cyan-dim);
  border-radius: 20px;
  font-family: var(--font-tech);
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  color: var(--cyan);
  width: fit-content;
}

/* カードリンク */
.card-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  text-decoration: none;
}

/* ===== NEWS ===== */
.news-section {
  max-width: 760px;
}

.news-list {
  list-style: none;
}

.news-item {
  border-bottom: 1px solid rgba(0, 217, 255, 0.12);
}

.news-item a {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 24px;
  padding: 18px 4px;
  text-decoration: none;
  transition: background 0.25s ease;
}

.news-item a:hover {
  background: rgba(0, 217, 255, 0.05);
}

.news-date {
  font-family: var(--font-tech);
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  color: var(--cyan);
  flex-shrink: 0;
}

.news-title {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
}

.news-more {
  display: inline-block;
  margin-top: 28px;
  font-size: 0.9rem;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid var(--cyan-dim);
  padding-bottom: 2px;
  transition: opacity 0.25s ease;
}

.news-more:hover {
  opacity: 0.7;
}

/* ===== DEVLOG（開発ブログ記事ショーケース） ===== */
.devlog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 36px;
  margin-bottom: 8px;
}

/* カードのビジュアル言語を継承しつつ、記事1件＝1リンクとして全体をaに */
.devlog-card {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid rgba(0, 217, 255, 0.3);
  background: var(--bg-panel);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 14px rgba(34, 141, 255, 0.25), 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.35s ease, border-color 0.35s ease;
}

.devlog-card:hover {
  transform: translateY(-6px);
  border-color: var(--cyan-dim);
  box-shadow: 0 0 26px rgba(0, 217, 255, 0.4), 0 16px 32px rgba(0, 0, 0, 0.45);
}

.devlog-card:active {
  transform: scale(0.98);
}

.devlog-thumb {
  position: relative;
  width: 100%;
  flex-shrink: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
}

.devlog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease-out;
}

.devlog-card:hover .devlog-thumb img {
  transform: scale(1.05);
}

.devlog-thumb-fallback {
  font-family: var(--font-tech);
  font-size: 1.1rem;
  letter-spacing: 4px;
  color: rgba(0, 217, 255, 0.4);
}

.devlog-body {
  flex: 1;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(
    180deg,
    rgba(15, 52, 96, 0.6) 0%,
    rgba(10, 14, 39, 0.8) 100%
  );
}

.devlog-date {
  font-family: var(--font-tech);
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  color: var(--cyan);
  margin-bottom: 10px;
}

.devlog-title {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 12px;
  transition: color 0.25s ease;
}

.devlog-card:hover .devlog-title {
  color: var(--cyan);
}

.devlog-excerpt {
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.8;
}

/* ===== ABOUTティザー（トップページ用） ===== */
.about-teaser {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.about-teaser .section-title {
  margin-bottom: 24px;
}

.about-teaser-lead {
  color: var(--text-sub);
  font-size: 0.98rem;
  line-height: 2.1;
  margin-bottom: 40px;
}

.about-policies {
  display: flex;
  flex-direction: column;
  text-align: left;
  border-top: 1px solid rgba(0, 217, 255, 0.15);
  margin-bottom: 44px;
}

.about-policy {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 8px 32px;
  padding: 22px 4px;
  border-bottom: 1px solid rgba(0, 217, 255, 0.15);
}

.about-policy dt {
  font-family: var(--font-pixel);
  color: var(--cyan);
  font-size: 1.02rem;
}

.about-policy dd {
  color: var(--text-sub);
  font-size: 0.92rem;
  line-height: 1.8;
}

/* ===== フッター ===== */
.fanelab-footer {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 56px 24px 40px;
  border-top: 1px solid var(--cyan-faint);
  color: var(--text-mute);
  font-size: 0.85rem;
  background: rgba(10, 14, 39, 0.6);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 0;
  margin-bottom: 24px;
}

.footer-links a {
  color: var(--text-sub);
  text-decoration: none;
  font-size: 0.88rem;
  padding: 4px 16px;
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-divider {
  color: rgba(0, 217, 255, 0.3);
}

.footer-copy {
  font-family: var(--font-tech);
  letter-spacing: 1px;
  font-size: 0.75rem;
}

/* 問い合わせボタン */
.contact-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d9ff, #9d4edd);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 0 20px rgba(0, 217, 255, 0.5);
  text-decoration: none;
  color: #0a0e27;
}

.contact-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(0, 217, 255, 0.7);
}

.contact-button svg {
  width: 22px;
  height: 22px;
  stroke: #0a0e27;
}

.contact-button:active {
  transform: scale(0.95);
}

/* ===== スクロールアニメーション ===== */
.fade-in-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== reduced motion（アニメーション抑制設定に対応） ===== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero-orb,
  .hero-scroll::after,
  .hero-status::before {
    animation: none;
  }
  .fade-in-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
  #particles {
    display: none;
  }
  /* 明滅は止めるが、進捗表示と消える処理(is-done)は維持する */
  .preloader-title,
  .preloader-dots {
    animation: none;
  }
  .preloader-dots {
    clip-path: none;
  }
}

/* ===== レスポンシブ ===== */
@media (max-width: 900px) {
  .pickup-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .pickup-row.reverse .pickup-visual {
    order: 0;
  }
  .about-policy {
    grid-template-columns: 1fr;
  }
}

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

  .site-nav {
    padding: 12px 18px;
  }

  .nav-toggle {
    display: flex;
  }

  /* 横スクロールする一列 → ナビ直下に開くパネルへ */
  .site-nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    overflow-x: visible;
    padding: 8px 18px 16px;
    background: rgba(10, 14, 39, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--cyan-faint);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }

  .site-nav.is-open .site-nav-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav-links a {
    padding: 15px 4px;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(0, 217, 255, 0.1);
    border-radius: 0;
  }

  .site-nav-links a:last-child {
    border-bottom: none;
  }

  .hero {
    min-height: auto;
    padding: 72px 0 88px;
  }
  .hero-sub {
    font-size: 0.92rem;
  }
  .hero-actions .fl-btn,
  .pickup-actions .fl-btn {
    padding: 13px 24px;
    font-size: 0.9rem;
  }
  .hero-stat {
    padding-right: 24px;
    margin-right: 24px;
  }
  .hero-stat-value {
    font-size: 1.5rem;
  }

  .gallery-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-button {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }

  .contact-button svg {
    width: 20px;
    height: 20px;
  }
}

/* ===== Aboutページ（page-about.php用） ===== */
.about-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 64px 0;
}

.about-heading {
  font-family: "DotGothic16", sans-serif;
  font-size: 2rem;
  font-weight: 400;
  color: #00d9ff;
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 6px #fff, 0 0 10px #fff, 0 0 21px #fff, 0 0 19px #0fa,
    0 0 10px #0fa, 0 0 4px #0fa;
}

.about-section {
  background: rgba(15, 52, 96, 0.3);
  border: 1px solid rgba(0, 217, 255, 0.2);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
}

.about-section p {
  color: #c0c0c0;
  line-height: 1.9;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.about-section p:last-child {
  margin-bottom: 0;
}

.about-subheading {
  font-family: "DotGothic16", sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: #00d9ff;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 217, 255, 0.2);
}

.about-content-card {
  background: rgba(10, 14, 39, 0.5);
  border: 1px solid rgba(0, 217, 255, 0.15);
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 16px;
}

.about-content-card:last-child {
  margin-bottom: 0;
}

.about-content-title {
  font-family: "DotGothic16", sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: #00d9ff;
  margin-bottom: 8px;
}

.about-content-card p {
  margin-bottom: 0;
}

.about-quote {
  color: #00d9ff !important;
  font-size: 1.05rem !important;
  text-align: center;
  padding: 8px 0;
}

.about-back {
  text-align: center;
  margin-top: 40px;
}

.about-back-link {
  display: inline-block;
  padding: 12px 32px;
  background: rgba(0, 217, 255, 0.15);
  border: 1px solid rgba(0, 217, 255, 0.5);
  border-radius: 8px;
  color: #00d9ff;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.about-back-link:hover {
  background: rgba(0, 217, 255, 0.25);
  box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
}
