* {
  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;
  /* 画面の外へはみ出す装飾（ヒーローのコアなど）で、スマホの表示幅が広がらないようにする */
  overflow-x: clip;
}

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: transform 0.9s cubic-bezier(0.76, 0, 0.24, 1),
    visibility 0s linear 0.9s;
  /* JSが読み込めなかった場合の保険：8秒後に必ず消してコンテンツを見せる */
  animation: preloader-failsafe 0s linear 8s forwards;
}

.preloader.is-done {
  transform: translateY(-100%);
  visibility: hidden;
  pointer-events: none;
}

/* 幕の下端で光るライン。上がっていく境目を見せる */
.preloader::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 28px 6px rgba(0, 217, 255, 0.55);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.preloader.is-done::before {
  opacity: 1;
}

/* 中身は幕より遅れて動かし、奥行きを出す */
.preloader-inner {
  transition: transform 0.9s cubic-bezier(0.76, 0, 0.24, 1), opacity 0.4s ease;
}

.preloader.is-done .preloader-inner {
  transform: translateY(45vh);
  opacity: 0;
}

@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-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-bottom: 32px;
}

.hero-pills .hero-status {
  margin-bottom: 0;
}

/* iOSアプリ公開の告知ピル（NEWの導線なのでパープルで区別） */
.hero-appnews {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  letter-spacing: 1px;
  color: var(--purple);
  border: 1px solid rgba(157, 78, 221, 0.5);
  background: rgba(157, 78, 221, 0.08);
  border-radius: 999px;
  padding: 7px 16px;
  text-decoration: none;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.hero-appnews:hover {
  background: rgba(157, 78, 221, 0.18);
  box-shadow: 0 0 16px rgba(157, 78, 221, 0.3);
  color: var(--purple);
}

.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);
}

/* 注意書き（医療・健康系など、シアンの導線と区別したい情報） */
.fl-note {
  padding: 14px 18px;
  border: 1px solid rgba(157, 78, 221, 0.4);
  border-radius: 8px;
  background: rgba(157, 78, 221, 0.08);
  color: var(--text-sub);
  font-size: 0.85rem;
  line-height: 1.85;
}

.fl-note strong {
  color: var(--purple);
  font-weight: 600;
}

/* ステータスカウンタ */
.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: 4px;
  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;
}

.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;
}

.pickup-body .fl-note {
  margin-bottom: 28px;
}

/* ===== APP PICKUP（スマホアプリ） ===== */
.app-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  padding: 0;
  /* 固定ナビにタイトルが隠れないよう、#kibun等へのアンカー着地位置をずらす */
  scroll-margin-top: 88px;
}

/* 行の間に構造化データのscriptが挟まるので、隣接(+)ではなく後続(~)で区切る */
.app-row ~ .app-row {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid rgba(0, 217, 255, 0.12);
}

.app-body .fl-note {
  margin-bottom: 28px;
}

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

/* スマホアプリなので、PC風のウィンドウ枠は付けずに画像そのものを見せる */
.app-visual {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 36px rgba(157, 78, 221, 0.2), 0 18px 40px rgba(0, 0, 0, 0.45);
}

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

/* アプリのキャッチコピー。タイトル（シアン）と本文の中間の階層 */
.app-catch {
  font-family: var(--font-pixel);
  font-size: 1.05rem;
  line-height: 1.8;
  color: #fff;
  margin-bottom: 16px;
}

/* App Storeバッジと記事リンクを1つの導線ブロックとして扱う */
.app-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}

/* Apple公式バッジ（余白込みの画像なのでサイズ固定で崩れを防ぐ） */
.app-store-badge {
  display: inline-block;
  line-height: 0;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.app-store-badge img {
  width: 200px;
  height: 73px;
  object-fit: contain;
}

.app-store-badge:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 0 14px rgba(0, 217, 255, 0.35));
}

/* App StoreとGoogle Playのバッジを横に並べる */
.app-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

/* Google公式バッジは画像の上下に透明の余白があるため、
   その分を負のマージンで打ち消してApp Storeバッジと高さを揃える */
.google-play-badge img {
  width: 246px;
  height: auto;
  margin: -11px 0;
}

/* 使い方ガイド・開発記録へのテキストリンク */
.app-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.app-links a {
  color: var(--cyan);
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.app-links a:hover {
  border-color: var(--cyan-dim);
  color: var(--cyan);
}

/* ===== 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-content は z-index:2 でスタッキングコンテキストを作るため、
   その内側では .card-link(z-index:3) より前面に出せない。
   .card の直下に置いたうえで z-index を上げることでクリック可能にしている。 */
.card-actions {
  position: relative;
  z-index: 5;
  border-top: 1px solid rgba(0, 217, 255, 0.25);
  background: rgba(10, 14, 39, 0.85);
}

.card-devlog {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--cyan);
  text-decoration: none;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.card-devlog:hover {
  background: rgba(0, 217, 255, 0.16);
  box-shadow: inset 0 0 20px rgba(0, 217, 255, 0.15);
  color: var(--cyan);
}

.card-devlog:active {
  background: rgba(0, 217, 255, 0.24);
}

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

/* ===== CATEGORIES ===== */
.category-section {
  max-width: 900px;
}

/*
 * 親カテゴリーは2段組み。grid だと行の高さが揃ってしまい、
 * 子カテゴリーが多い枝の隣に大きな空白ができるため段組みで縦に流す
 */
.cat-list {
  list-style: none;
  columns: 2;
  column-gap: 48px;
  padding-left: 0;

}

@media (max-width: 720px) {
  .cat-list {
    columns: 1;
  }
}

.cat-item {
  border-top: 1px solid rgba(0, 217, 255, 0.12);
  padding-bottom: 8px;
  /* 親と子カテゴリーが段の途中で分断されないようにする */
  break-inside: avoid;
}

.category-section .cat-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 4px;
  text-decoration: none;
  transition: background 0.25s ease;
  background-color: #f0f8ff00;
  box-shadow: none;
}

.cat-link:hover {
  background: rgba(0, 217, 255, 0.05);
}

.cat-link .cat-name {
  color: #fff;
  font-size: 1rem;
  line-height: 1.5;
}

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

/* 子・孫カテゴリー。階層は縦罫線とインデントで示す */
.cat-sublist {
  list-style: none;
  margin: 0 0 6px 8px;
  padding-left: 16px;
  border-left: 1px solid rgba(0, 217, 255, 0.15);
}

.cat-sublink {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 4px;
  text-decoration: none;
  transition: background 0.25s ease;
}

.cat-sublink:hover {
  background: rgba(0, 217, 255, 0.05);
}

.cat-sublink .cat-name {
  color: var(--text-sub);
  font-size: 0.88rem;
  line-height: 1.6;
}

.cat-sublink:hover .cat-name {
  color: var(--text);
}

.cat-sublink .cat-count {
  color: var(--cyan-dim);
  font-size: 0.7rem;
}

@media (max-width: 600px) {
  .cat-link {
    padding: 16px 2px;
  }

  .cat-sublist {
    margin-left: 4px;
    padding-left: 12px;
  }
}

/* ===== 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;
}

/* ===== PROFILE（運営者プロフィール） ===== */
.profile-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  padding: 44px;
  border: 1px solid rgba(0, 217, 255, 0.3);
  border-radius: 12px;
  background: var(--bg-panel);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 14px rgba(34, 141, 255, 0.2), 0 8px 24px rgba(0, 0, 0, 0.35);
}

.profile-identity {
  text-align: center;
}

.profile-avatar {
  width: 132px;
  height: 132px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--cyan-dim);
  background: rgba(10, 14, 39, 0.7);
  box-shadow: 0 0 24px rgba(0, 217, 255, 0.25);
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-avatar-mono {
  font-family: var(--font-pixel);
  font-size: 3.2rem;
  line-height: 1;
  color: var(--cyan);
  text-shadow: 0 0 12px rgba(0, 217, 255, 0.6);
}

.profile-name {
  font-family: var(--font-pixel);
  font-size: 1.5rem;
  color: var(--cyan);
  margin-bottom: 6px;
}

.profile-role {
  font-family: var(--font-tech);
  font-size: 0.72rem;
  letter-spacing: 2px;
  color: var(--text-mute);
  margin-bottom: 20px;
}

.profile-stack {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

ul.profile-stack {
    padding: 0;
  }

.profile-stack li {
  font-family: var(--font-tech);
  font-size: 0.68rem;
  letter-spacing: 1.5px;
  color: var(--cyan);
  background: rgba(0, 217, 255, 0.1);
  border: 1px solid var(--cyan-faint);
  border-radius: 999px;
  padding: 4px 12px;
}

.profile-lead {
  color: var(--text-sub);
  font-size: 0.95rem;
  line-height: 2;
  margin-bottom: 18px;
}

.profile-facts {
  margin: 30px 0 32px;
  border-top: 1px solid rgba(0, 217, 255, 0.15);
}

.profile-fact {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 8px 28px;
  padding: 20px 2px;
  border-bottom: 1px solid rgba(0, 217, 255, 0.15);
}

.profile-fact dt {
  font-family: var(--font-pixel);
  font-size: 0.98rem;
  color: var(--cyan);
}

.profile-fact dd {
  color: var(--text-sub);
  font-size: 0.92rem;
  line-height: 1.9;
}

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

/* ===== フッター ===== */
.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-sitemap {
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(0, 217, 255, 0.12);
}

.footer-sitemap-title {
  font-family: var(--font-tech);
  font-size: 0.7rem;
  letter-spacing: 3px;
  color: var(--cyan-dim);
  margin-bottom: 14px;
}

.footer-sitemap-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 0;
}

ul.footer-sitemap-list {
  padding-left: 0;
}

.footer-sitemap-list li + li {
  border-left: 1px solid rgba(0, 217, 255, 0.18);
}

.footer-sitemap-list a {
  display: inline-block;
  color: var(--text-sub);
  text-decoration: none;
  font-size: 0.8rem;
  padding: 2px 14px;
  transition: color 0.25s ease;
}

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

.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;
}

/* ページ先頭に戻るボタン */
.to-top {
  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,
    opacity 0.25s ease, visibility 0.25s;
  box-shadow: 0 0 20px rgba(0, 217, 255, 0.5);
  text-decoration: none;
  color: #0a0e27;
}

/* 既定は表示。JSが動く環境では最上部にいる間だけ is-hidden で隠す
   （JSが動かなくても押せる状態を残しておく） */
.to-top.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

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

.to-top svg {
  width: 22px;
  height: 22px;
  stroke: #0a0e27;
}

.to-top:active {
  transform: scale(0.95);
}

/* ===== スクロールアニメーション =====
   出現前の非表示は JS が動く環境（html.fl-js）だけに限定する。
   JS が読めなくても中身はそのまま見える。
   --d は同時に画面へ入った要素どうしの時間差（fanelab-top.js が設定） */
.fl-js .fade-in-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0ms),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0ms);
}

.fl-js .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;
  }
  /* 幕を引き上げる動きはやめて、その場でフェードアウトさせる */
  .preloader {
    transition: opacity 0.4s ease, visibility 0.4s ease;
  }
  .preloader.is-done {
    transform: none;
    opacity: 0;
  }
  .preloader.is-done .preloader-inner {
    transform: none;
  }
}

/* ===== レスポンシブ ===== */
@media (max-width: 900px) {
  .pickup-row,
  .app-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .pickup-row.reverse .pickup-visual,
  .app-row.reverse .app-visual {
    order: 0;
  }
  .about-policy {
    grid-template-columns: 1fr;
  }
  .profile-card {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .profile-fact {
    grid-template-columns: 1fr;
  }
  ul.profile-stack {
    padding: 0;
  }
  .profile-actions {
    justify-content: center;
  }
}

@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,
  .profile-actions .fl-btn {
    padding: 13px 24px;
    font-size: 0.9rem;
  }

  .profile-card {
    padding: 28px 22px;
  }
  .profile-avatar {
    width: 104px;
    height: 104px;
  }
  .hero-stat {
    padding-right: 24px;
    margin-right: 24px;
  }
  /* 3つ目が折り返して次の行に落ちないよう、最後の余白は付けない */
  .hero-stat:last-child {
    padding-right: 0;
    margin-right: 0;
  }
  .hero-stat-value {
    font-size: 1.5rem;
  }

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

  /* バッジだけが突出して見えないよう縮め、記事リンクと横並びで釣り合わせる */
  .app-store-badge img {
    width: 160px;
    height: 58px;
  }
  .google-play-badge img {
    width: 195px;
    height: auto;
    margin: -9px 0;
  }
  .app-actions {
    gap: 14px 20px;
  }
  .app-links a {
    font-size: 0.9rem;
    padding: 2px 0;
  }
  .app-catch {
    font-size: 1rem;
  }

  .to-top {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }

  .to-top svg {
    width: 20px;
    height: 20px;
  }
}

/* ============================================================
   MOTION（動きの演出）
   ここから下は「動き」だけを担当する。色・余白・文字は上の定義のまま。
   出現前の状態は html.fl-js のときだけ有効（JSなしでも中身は読める）。
   ============================================================ */

/* ----- 文字のデコード演出（fanelab-top.js の splitChars / decode） ----- */
.fl-split .fl-ch {
  position: relative;
}

/* 確定前の文字は透明にして、上に記号を重ねて見せる（DOM上の文字は本物のまま） */
.fl-split .fl-ch:not(.is-on) {
  color: transparent;
  text-shadow: none;
}

.fl-ch.is-scr::after {
  content: attr(data-g);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--cyan);
  text-shadow: 0 0 12px rgba(0, 217, 255, 0.85);
}

.fl-ch.is-on {
  animation: fl-char-on 0.55s ease-out;
}

/* 確定した瞬間だけシアンに光って、本来の色へ落ち着く */
@keyframes fl-char-on {
  from {
    color: var(--cyan);
    text-shadow: 0 0 18px rgba(0, 217, 255, 0.95);
  }
}

/* ----- ナビ：読み進み具合のバーと現在地 ----- */
.nav-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(0, 217, 255, 0.8);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

.site-nav-links a {
  position: relative;
}

.site-nav-links a.is-current {
  color: var(--cyan);
}

.site-nav-links a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-nav-links a.is-current::after {
  transform: scaleX(1);
}

/* ----- 背景：カーソルの周りだけグリッドが明るくなる ----- */
.bg-grid-light {
  position: fixed;
  top: 0;
  left: 0;
  width: 520px;
  height: 520px;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background-image:
    linear-gradient(rgba(0, 217, 255, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 217, 255, 0.2) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle closest-side, #000 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle closest-side, #000 0%, transparent 100%);
  transition: opacity 0.8s ease;
  will-change: transform;
}

.bg-grid-light.is-on {
  opacity: 1;
}

/* ----- ヒーロー：登場の順番 ----- */
/* スクロールで沈むコアや文字が、下の帯にはみ出して見えないよう上下だけ切る
   （左右は床グリッドや光が画面端まで広がるので切らない） */
.hero {
  clip-path: inset(0 -100vw 0 -100vw);
}

.fl-js .hero [data-in] {
  opacity: 0;
  transform: translateY(24px);
}

.fl-js .is-ready .hero [data-in] {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--in, 0) * 120ms + 250ms),
    transform 1.1s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--in, 0) * 120ms + 250ms);
}

.fl-js .hero-scroll {
  opacity: 0;
  transition: opacity 0.8s ease 1.6s;
}

.fl-js .is-ready .hero-scroll {
  opacity: 1;
}

.hero-inner {
  will-change: transform, opacity;
}

/* ロゴは電源が入るようにノイズを伴って現れ、その後もときどき一瞬だけ乱れる */
.is-ready .hero-logo {
  animation: logo-boot 0.95s steps(1) 0.35s backwards,
    logo-blip 9s steps(1) 5s infinite;
}

@keyframes logo-boot {
  0% {
    clip-path: inset(0 0 100% 0);
    translate: 0 0;
  }
  10% {
    clip-path: inset(42% 0 38% 0);
    translate: -14px 0;
    filter: drop-shadow(8px 0 0 rgba(199, 97, 255, 0.9)) drop-shadow(-8px 0 0 rgba(0, 217, 255, 0.9));
  }
  22% {
    clip-path: inset(8% 0 64% 0);
    translate: 10px 0;
    filter: drop-shadow(-6px 0 0 rgba(199, 97, 255, 0.9)) drop-shadow(6px 0 0 rgba(0, 217, 255, 0.9));
  }
  34% {
    clip-path: inset(60% 0 6% 0);
    translate: -6px 0;
  }
  46% {
    clip-path: inset(0 0 0 0);
    translate: 5px 0;
    filter: drop-shadow(5px 0 0 rgba(199, 97, 255, 0.8)) drop-shadow(-5px 0 0 rgba(0, 217, 255, 0.8));
  }
  58% {
    clip-path: inset(26% 0 30% 0);
    translate: -3px 0;
  }
  70% {
    clip-path: inset(0 0 0 0);
    translate: 2px 0;
    filter: drop-shadow(2px 0 0 rgba(199, 97, 255, 0.7)) drop-shadow(-2px 0 0 rgba(0, 217, 255, 0.7));
  }
  84%,
  100% {
    clip-path: inset(-40px);
    translate: 0 0;
  }
}

@keyframes logo-blip {
  0%,
  100% {
    translate: 0 0;
  }
  1.2% {
    clip-path: inset(18% 0 52% 0);
    translate: 7px 0;
    filter: drop-shadow(-5px 0 0 rgba(199, 97, 255, 0.85)) drop-shadow(5px 0 0 rgba(0, 217, 255, 0.85));
  }
  2.4% {
    clip-path: inset(58% 0 12% 0);
    translate: -5px 0;
  }
  3.6% {
    clip-path: inset(-40px);
    translate: 0 0;
  }
}

/* ----- ヒーロー：サービスが軌道を回るコア（canvas） ----- */
.hero-core {
  position: absolute;
  top: 50%;
  right: -160px;
  width: 620px;
  height: 620px;
  margin-top: -330px;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, var(--sy, 0px), 0);
  transition: opacity 1.4s ease 0.2s;
}

.hero-core.is-on {
  opacity: 1;
}

/* ----- ヒーロー：奥へ流れる床グリッド ----- */
.hero-floor {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100vw;
  height: 44%;
  margin-left: -50vw;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  perspective: 900px;
  perspective-origin: 50% 0;
  opacity: 0.5;
  mask-image: linear-gradient(to top, #000 0%, transparent 82%);
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 82%);
}

.fl-js .hero-floor {
  opacity: 0;
  transition: opacity 1.8s ease 0.5s;
}

.fl-js .is-ready .hero-floor {
  opacity: 0.5;
}

.hero-floor-plane {
  position: absolute;
  top: 0;
  left: -60%;
  right: -60%;
  height: 220%;
  transform-origin: 50% 0;
  transform: rotateX(70deg);
}

/* 線を1マス分だけ動かしてループさせる（transform のみなので描画が軽い） */
.hero-floor-plane::before {
  content: "";
  position: absolute;
  inset: -64px 0 0;
  background-image:
    linear-gradient(rgba(0, 217, 255, 0.34) 1px, transparent 1px),
    linear-gradient(90deg, rgba(157, 78, 221, 0.3) 1px, transparent 1px);
  background-size: 64px 64px;
  animation: floor-flow 2.6s linear infinite;
}

@keyframes floor-flow {
  to {
    transform: translateY(64px);
  }
}

/* ----- サービス名が流れる帯 ----- */
.ticker {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  padding: 26px 0 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  /* 下の罫線は、直後のセクションが引く線に任せる */
  border-top: 1px solid rgba(0, 217, 255, 0.14);
  background: rgba(10, 14, 39, 0.45);
}

.ticker-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.ticker-set {
  display: flex;
  flex-shrink: 0;
}

.ticker-item {
  display: flex;
  align-items: center;
  font-family: var(--font-pixel);
  font-size: clamp(1.7rem, 4.4vw, 3.5rem);
  line-height: 1.25;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 217, 255, 0.6);
}

.ticker-item.is-solid {
  color: #fff;
  -webkit-text-stroke: 0;
  text-shadow: 0 0 20px rgba(0, 217, 255, 0.45);
}

.ticker-item::after {
  content: "";
  width: 0.34em;
  height: 0.34em;
  margin: 0 0.9em;
  background: var(--purple);
  box-shadow: 0 0 12px rgba(157, 78, 221, 0.8);
  transform: rotate(45deg);
}

.ticker-row-sub .ticker-item {
  font-family: var(--font-tech);
  font-size: 0.72rem;
  letter-spacing: 5px;
  color: var(--text-mute);
  -webkit-text-stroke: 0;
}

.ticker-row-sub .ticker-item::after {
  width: 18px;
  height: 1px;
  margin: 0 22px;
  background: rgba(0, 217, 255, 0.4);
  box-shadow: none;
  transform: none;
}

/* ----- セクション見出し ----- */
.fl-section {
  position: relative;
}

/* セクションの上端に引かれる罫線。画面に入ると左から伸びる */
.fl-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(0, 217, 255, 0.14);
  transform-origin: 0 50%;
}

.fl-section::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 72px;
  height: 3px;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(0, 217, 255, 0.8);
}

.fl-js .fl-section::before {
  transform: scaleX(0);
  transition: transform 1.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.fl-js .fl-section::after {
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.fl-js .fl-section.is-inview::before,
.fl-js .fl-section.is-inview::after {
  transform: scaleX(1);
}

/* 見出しの奥に置く大きな番号（fanelab-top.js が追加・スクロールで遅れて動く） */
.fl-ghost {
  position: absolute;
  top: 34px;
  right: 0;
  z-index: -1;
  font-family: var(--font-tech);
  font-weight: 900;
  font-size: clamp(5rem, 13vw, 11.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 217, 255, 0.17);
  pointer-events: none;
  user-select: none;
  opacity: 0;
  transition: opacity 1.2s ease 0.2s;
  will-change: transform;
}

.fl-section.is-inview .fl-ghost {
  opacity: 1;
}

/* ラベルの頭にセクション番号（右端のHUDと同じ番号） */
.section-eyebrow[data-idx]::before {
  content: attr(data-idx);
  margin-right: 14px;
  color: var(--purple);
}

.fl-js .fl-section .section-eyebrow {
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fl-js .fl-section .section-eyebrow.is-on {
  opacity: 1;
  transform: none;
}

.fl-js .fl-section .section-lead,
.fl-js .fl-section .about-teaser-lead {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease 0.35s, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.35s;
}

.fl-js .fl-section .section-lead.is-on,
.fl-js .fl-section .about-teaser-lead.is-on {
  opacity: 1;
  transform: none;
}

/* 中央揃えのABOUTだけは、罫線の光も中央から */
#about-teaser.fl-section::after {
  left: 50%;
  margin-left: -36px;
  transform-origin: 50% 50%;
}

/* ----- アプリ紹介・注目のサービス：画像はスキャンされて現れ、文章は順番に出る ----- */
.fl-js .fl-stagger.fade-in-scroll {
  opacity: 1;
  transform: none;
}

.app-visual,
.pickup-visual {
  /* 傾き（--rx/--ry）と、スクロールでのずれ（--py）は別々のプロパティで動かす */
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  translate: 0 var(--py, 0px);
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s ease,
    clip-path 1.1s cubic-bezier(0.76, 0, 0.24, 1);
}

/* inset をマイナスにしているのは、枠の外側の発光（box-shadow）を切らないため */
.fl-js .fl-stagger .app-visual,
.fl-js .fl-stagger .pickup-visual {
  clip-path: inset(-60px 100% -60px -60px);
}

.fl-js .fl-stagger.reverse .app-visual,
.fl-js .fl-stagger.reverse .pickup-visual {
  clip-path: inset(-60px -60px -60px 100%);
}

.fl-js .fl-stagger.visible .app-visual,
.fl-js .fl-stagger.visible .pickup-visual {
  clip-path: inset(-60px);
}

/* 画像の上を1回だけ通り過ぎる走査線 */
.app-visual::after,
.pickup-visual::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: #fff;
  box-shadow: 0 0 22px 6px rgba(0, 217, 255, 0.75);
  opacity: 0;
  pointer-events: none;
}

.app-visual {
  position: relative;
}

.fl-js .fl-stagger.visible .app-visual::after,
.fl-js .fl-stagger.visible .pickup-visual::after {
  animation: visual-scan 1.1s cubic-bezier(0.76, 0, 0.24, 1) both;
}

.fl-js .fl-stagger.reverse.visible .app-visual::after,
.fl-js .fl-stagger.reverse.visible .pickup-visual::after {
  animation-name: visual-scan-reverse;
}

@keyframes visual-scan {
  0% {
    left: 0;
    opacity: 1;
  }
  92% {
    opacity: 1;
  }
  100% {
    left: calc(100% - 3px);
    opacity: 0;
  }
}

@keyframes visual-scan-reverse {
  0% {
    left: calc(100% - 3px);
    opacity: 1;
  }
  92% {
    opacity: 1;
  }
  100% {
    left: 0;
    opacity: 0;
  }
}

.fl-js .fl-stagger .fl-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease calc(var(--i, 0) * 65ms + 320ms),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--i, 0) * 65ms + 320ms);
}

.fl-js .fl-stagger.visible .fl-item {
  opacity: 1;
  transform: none;
}

/* ----- サービスカード ----- */
/* 出現が終わったカード（is-settled）は、ホバーの反応を速くする */
.fl-js .gallery-top .card.is-settled,
.fl-js .devlog-card.is-settled {
  transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.35s ease,
    border-color 0.35s ease, opacity 0.2s ease;
}

.fl-js .gallery-top .card.is-settled:hover,
.fl-js .devlog-card.is-settled:hover {
  transform: perspective(900px) translateY(-6px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}

/* カテゴリを切り替えたとき、今のカードをさっと引っ込める */
.fl-js .gallery-top .card.is-leaving {
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

/* カーソルの位置がカードの上でほんのり光る */
.gallery-top .card::after,
.devlog-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: radial-gradient(
    240px circle at var(--mx, 50%) var(--my, 50%),
    rgba(0, 217, 255, 0.16),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}

.devlog-card {
  position: relative;
}

@media (hover: hover) {
  .gallery-top .card:hover::after,
  .devlog-card:hover::after {
    opacity: 1;
  }

  /* ホバーで画像の上を走査線が1回通る */
  .card-image::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 0 16px 4px rgba(0, 217, 255, 0.6);
    opacity: 0;
  }

  .card:hover .card-image::after {
    animation: card-scan 0.75s ease-out;
  }
}

@keyframes card-scan {
  0% {
    top: 0;
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

/* ----- ボタン：カーソルに少し寄り、光の帯が横切る ----- */
.fl-btn {
  position: relative;
  overflow: hidden;
  transform: translate(var(--bx, 0px), var(--by, 0px));
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.25s ease,
    background 0.25s ease;
}

.fl-btn-primary:hover {
  transform: translate(var(--bx, 0px), calc(var(--by, 0px) - 2px));
}

.fl-btn::after {
  content: "";
  position: absolute;
  top: -10%;
  bottom: -10%;
  left: -45%;
  width: 32%;
  background: rgba(255, 255, 255, 0.34);
  transform: skewX(-20deg);
  pointer-events: none;
}

.fl-btn-ghost::after {
  background: rgba(0, 217, 255, 0.22);
}

@media (hover: hover) {
  .fl-btn:hover::after {
    left: 115%;
    transition: left 0.65s cubic-bezier(0.23, 1, 0.32, 1);
  }
}

/* ----- お知らせ・カテゴリーの行：ホバーで矢印が出る ----- */
.news-item a {
  position: relative;
  padding-right: 34px;
}

.news-item a::after {
  content: "→";
  position: absolute;
  right: 8px;
  top: 50%;
  color: var(--cyan);
  opacity: 0;
  transform: translate(-10px, -50%);
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-title {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

@media (hover: hover) {
  .news-item a:hover::after {
    opacity: 1;
    transform: translate(0, -50%);
  }

  .news-item a:hover .news-title {
    transform: translateX(6px);
    color: #fff;
  }
}

/* ----- プロフィール ----- */
.profile-identity {
  position: relative;
}

/* アバターの周りを回る2重のリング */
.profile-identity::before,
.profile-identity::after {
  content: "";
  position: absolute;
  left: 50%;
  border-radius: 50%;
  pointer-events: none;
}

.profile-identity::before {
  top: -10px;
  width: 152px;
  height: 152px;
  margin-left: -76px;
  border: 1px dashed rgba(0, 217, 255, 0.45);
  animation: ring-spin 26s linear infinite;
}

.profile-identity::after {
  top: -19px;
  width: 170px;
  height: 170px;
  margin-left: -85px;
  border: 1px solid transparent;
  border-top-color: var(--purple);
  border-right-color: rgba(157, 78, 221, 0.35);
  animation: ring-spin 9s linear infinite reverse;
}

@keyframes ring-spin {
  to {
    transform: rotate(360deg);
  }
}

.fl-js .profile-card .profile-stack li,
.fl-js .profile-card .profile-fact,
.fl-js .about-teaser .about-policy {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease calc(var(--i, 0) * 70ms + 380ms),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--i, 0) * 70ms + 380ms);
}

.fl-js .profile-card.visible .profile-stack li,
.fl-js .profile-card.visible .profile-fact,
.fl-js .about-teaser.visible .about-policy {
  opacity: 1;
  transform: none;
}

/* ----- フッター：1文字ずつネオンが点灯する大きなロゴ文字 ----- */
.footer-wordmark {
  display: flex;
  justify-content: center;
  margin: 4px 0 26px;
  font-family: var(--font-tech);
  font-weight: 900;
  font-size: clamp(3rem, 15.5vw, 13.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 217, 255, 0.2);
  user-select: none;
}

.footer-wordmark.is-on span {
  animation: neon-on 1.5s steps(1) both;
}

.footer-wordmark span:nth-child(2) { animation-delay: 0.12s; }
.footer-wordmark span:nth-child(3) { animation-delay: 0.3s; }
.footer-wordmark span:nth-child(4) { animation-delay: 0.38s; }
.footer-wordmark span:nth-child(5) { animation-delay: 0.62s; }
.footer-wordmark span:nth-child(6) { animation-delay: 0.7s; }
.footer-wordmark span:nth-child(7) { animation-delay: 0.95s; }

/* 点灯の瞬間に何度か瞬いてから安定する */
@keyframes neon-on {
  0%,
  12%,
  26% {
    -webkit-text-stroke-color: rgba(0, 217, 255, 0.2);
    filter: none;
  }
  /* text-shadow だと透明な文字の内側まで塗られてしまうので、
     輪郭線だけを光らせられる drop-shadow を使う */
  6%,
  20%,
  34%,
  100% {
    -webkit-text-stroke-color: var(--cyan);
    filter: drop-shadow(0 0 5px rgba(0, 217, 255, 0.85)) drop-shadow(0 0 26px rgba(0, 217, 255, 0.4));
  }
}

/* ----- 右端のHUD（いま読んでいるセクション） ----- */
.hud-rail {
  position: fixed;
  top: 50%;
  right: 22px;
  z-index: 50;
  display: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.hud-rail.is-on {
  opacity: 1;
  pointer-events: auto;
}

.hud-item {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 14px;
  font-family: var(--font-tech);
  font-size: 0.62rem;
  letter-spacing: 2px;
  color: var(--text-mute);
  text-decoration: none;
  transition: color 0.3s ease;
}

.hud-label {
  padding: 3px 8px;
  color: var(--cyan);
  white-space: nowrap;
  background: rgba(10, 14, 39, 0.9);
  border: 1px solid var(--cyan-faint);
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hud-tick {
  width: 10px;
  height: 1px;
  background: rgba(0, 217, 255, 0.3);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, box-shadow 0.3s ease;
}

.hud-item.is-past .hud-tick {
  background: rgba(157, 78, 221, 0.7);
}

.hud-item.is-active {
  color: #fff;
}

.hud-item.is-active .hud-tick {
  width: 26px;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(0, 217, 255, 0.9);
}

.hud-item:hover {
  color: var(--cyan);
}

.hud-item:hover .hud-label {
  opacity: 1;
  transform: none;
}

.hud-percent {
  margin-top: 8px;
  font-family: var(--font-tech);
  font-size: 0.62rem;
  letter-spacing: 2px;
  color: var(--cyan-dim);
}

.hud-percent::after {
  content: "%";
}

/* 本文の右に余白がある広い画面でだけ出す */
@media (min-width: 1360px) {
  .hud-rail {
    display: flex;
  }
}

/* さらに広ければ、現在地の名前を出しっぱなしにする */
@media (min-width: 1640px) {
  .hud-item.is-active .hud-label {
    opacity: 1;
    transform: none;
  }
}

/* ----- MOTION：画面幅ごとの調整 ----- */
@media (max-width: 1100px) {
  /* 文章と重なるので、コアは右上に寄せて背景として見せる */
  /* 幅を 460px 未満にすると、サービス名のラベルは出なくなる（fanelab-top.js 側の判定） */
  .hero-core {
    top: 10px;
    right: -130px;
    width: 440px;
    height: 440px;
    margin-top: 0;
  }
  .hero-core.is-on {
    opacity: 0.5;
  }
}

@media (max-width: 768px) {
  .hero-core {
    top: -20px;
    right: -120px;
    width: 340px;
    height: 340px;
  }
  .hero-core.is-on {
    opacity: 0.42;
  }
  .hero-floor {
    height: 34%;
  }
  .ticker {
    padding: 18px 0 16px;
    gap: 10px;
  }
  /* 数字のステータスと重なるので、スマホではスクロールの案内を出さない */
  .hero-scroll {
    display: none;
  }
  .fl-ghost {
    top: 22px;
    -webkit-text-stroke-color: rgba(0, 217, 255, 0.09);
  }
  .profile-identity::before {
    width: 124px;
    height: 124px;
    margin-left: -62px;
  }
  .profile-identity::after {
    width: 142px;
    height: 142px;
    margin-left: -71px;
  }
  .footer-wordmark {
    margin-bottom: 18px;
  }
}

/* ----- MOTION：アニメーションを抑える設定のとき ----- */
@media (prefers-reduced-motion: reduce) {
  .hero-core,
  .hero-floor,
  .bg-grid-light {
    display: none;
  }
  .hero-logo,
  .is-ready .hero-logo,
  .fl-ch.is-on,
  .hero-floor-plane::before,
  .profile-identity::before,
  .profile-identity::after,
  .footer-wordmark.is-on span,
  .fl-stagger.visible .app-visual::after,
  .fl-stagger.visible .pickup-visual::after {
    animation: none !important;
  }
  .fl-js .hero [data-in],
  .fl-js .hero-scroll,
  .fl-js .fl-section .section-eyebrow,
  .fl-js .fl-section .section-lead,
  .fl-js .fl-section .about-teaser-lead,
  .fl-js .fl-stagger .fl-item,
  .fl-js .profile-card .profile-stack li,
  .fl-js .profile-card .profile-fact,
  .fl-js .about-teaser .about-policy {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .fl-js .fl-section::before,
  .fl-js .fl-section::after {
    transform: none;
    transition: none;
  }
  .fl-js .fl-stagger .app-visual,
  .fl-js .fl-stagger .pickup-visual {
    clip-path: none;
  }
  .footer-wordmark {
    -webkit-text-stroke-color: var(--cyan-dim);
  }
  .fl-btn::after {
    display: none;
  }
}

/* ===== 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-section p / .about-content-card p より詳細度を上げて .fl-note の見た目を保つ */
.about-content-card .fl-note {
  margin-top: 14px;
  margin-bottom: 0;
  font-size: 0.85rem;
  line-height: 1.85;
  color: var(--text-sub);
}

/* 各コンテンツから開発ログ（サイト内）とサービス本体への導線 */
.about-content-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  margin-top: 16px;
}

.about-content-links a {
  font-size: 0.88rem;
  color: #00d9ff;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 217, 255, 0.3);
  padding-bottom: 2px;
  transition: opacity 0.25s ease;
}

.about-content-links a:hover {
  opacity: 0.75;
}

.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);
}
