/* A-COUNTER X ランディングページ スタイル
   A-COUNTER X アプリと色調統一 (ダーク + シアン + ゴールド) */

:root {
  --bg: #050508;
  --bg-alt: #0c0c14;
  --panel: #12121c;
  --panel-2: #1a1a26;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.2);
  --text: #e5e5ec;
  --text-dim: #8a8a9a;
  --cyan: #00e5ff;
  --cyan-dim: rgba(0, 229, 255, 0.2);
  --gold: #d4af37;
  --gold-bright: #ffd700;
  --red: #ef4444;
  --green: #22c55e;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, "Segoe UI", "Hiragino Sans", "Yu Gothic UI", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--gold-bright); }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 5, 8, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--cyan);
}
.brand-logo { height: 32px; width: auto; }
.brand-name {
  font-family: "Orbitron", sans-serif;
  font-weight: 900;
  letter-spacing: 2px;
  font-size: 16px;
  color: var(--cyan);
  white-space: nowrap;
}
.site-nav {
  display: flex;
  gap: 24px;
}
.site-nav a {
  color: var(--text-dim);
  font-size: 14px;
  transition: color 160ms;
}
.site-nav a:hover { color: var(--cyan); }

/* === モバイル用: 主要 CTA + ハンバーガー (デフォルトは非表示、モバイルのみ表示) === */
.mobile-header-actions { display: none; }
.mobile-nav-backdrop { display: none; }
.mobile-nav-drawer { display: none; }

/* モバイル切替: 780px 未満でハンバーガーに変更 */
@media (max-width: 780px) {
  .site-nav { display: none; } /* 横並びナビを隠す */
  .mobile-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .brand-name { font-size: 12px; letter-spacing: 1px; }
  .brand-logo { height: 26px; }

  /* 常時見える DL ボタン */
  .mobile-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    background: linear-gradient(135deg, #00e5ff, #00b8d9);
    color: #001015;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    white-space: nowrap;
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.3);
  }
  .mobile-cta-icon { font-size: 14px; }
  .mobile-cta-text { font-size: 12px; }

  /* ハンバーガーボタン */
  .hamburger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    padding: 0 9px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
  }
  .hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 1px;
    transition: transform 200ms, opacity 200ms;
  }
  /* 開いてる時は × 表示 (アクセシビリティ: aria-expanded で切替) */
  .hamburger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .hamburger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .hamburger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* ドロワー背景 (タップで閉じる) */
  .mobile-nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms;
    z-index: 200;
  }
  .mobile-nav-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  /* ドロワー本体 (右から slide-in) */
  .mobile-nav-drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(300px, 85vw);
    padding: 16px 0 env(safe-area-inset-bottom, 0);
    background: rgba(15, 15, 22, 0.98);
    border-left: 1px solid var(--border);
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.5);
    transform: translateX(100%);
    transition: transform 250ms ease-out;
    z-index: 201;
    overflow-y: auto;
  }
  .mobile-nav-drawer.is-open {
    transform: translateX(0);
  }
  .mobile-nav-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 18px 16px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 8px;
  }
  .mobile-nav-drawer-title {
    color: var(--cyan);
    font-family: "Orbitron", sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 14px;
  }
  .mobile-nav-close {
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    color: var(--text-dim);
    font-size: 24px;
    cursor: pointer;
    border-radius: 8px;
    transition: background 120ms, color 120ms;
  }
  .mobile-nav-close:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
  }
  .mobile-nav-drawer a {
    display: block;
    padding: 14px 20px;
    color: var(--text);
    text-decoration: none;
    font-size: 15px;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: background 120ms, color 120ms;
  }
  .mobile-nav-drawer a:hover,
  .mobile-nav-drawer a:active {
    background: rgba(0, 229, 255, 0.08);
    color: var(--cyan);
  }
}

@media (max-width: 420px) {
  /* 非常に狭い端末ではブランドロゴ横のテキストを隠してロゴだけにする */
  .brand-name { display: none; }
  .mobile-cta { padding: 6px 10px; }
  .mobile-cta-text { display: none; } /* アイコンだけに */
}

/* --- Hero --- */
.hero {
  position: relative;
  padding: 80px 0 100px;
  background: radial-gradient(ellipse at top, rgba(0, 229, 255, 0.08), transparent 60%);
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  text-align: center;
}
.hero-title {
  font-family: "Orbitron", sans-serif;
  /* min を小さめにして狭い端末でも 1 行に収まるようにする。letter-spacing もモバイルで詰める */
  font-size: clamp(32px, 8.5vw, 96px);
  font-weight: 900;
  letter-spacing: 4px;
  margin: 0;
  background: linear-gradient(135deg, #00e5ff, #80eeff, #d4af37);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(0, 229, 255, 0.3);
  white-space: nowrap;
}
@media (max-width: 640px) {
  .hero-title { letter-spacing: 2px; }
}
@media (max-width: 420px) {
  .hero-title { letter-spacing: 1px; font-size: clamp(26px, 8vw, 56px); }
}
.hero-catch {
  font-size: clamp(18px, 3vw, 24px);
  color: var(--gold);
  margin: 12px 0 24px;
  font-weight: 600;
  letter-spacing: 2px;
}
.hero-sub {
  font-size: 15px;
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.9;
}
.hero-sub-accent {
  color: var(--gold);
  font-weight: 600;
}
.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero-cta-sub {
  color: var(--text-dim);
  font-size: 12px;
  letter-spacing: 0.5px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  transition: transform 120ms, box-shadow 160ms;
  text-decoration: none;
  font-family: inherit;
}
.btn-icon { font-size: 18px; display: inline-flex; align-items: center; }
.btn-icon svg.ic { width: 18px; height: 18px; }
.feature-icon svg.ic, .customize-card-icon svg.ic, .community-card-icon svg.ic, .beta-notice-item-icon svg.ic, .open-future-icon svg.ic, .open-future-item-icon svg.ic, .shop-card-icon svg.ic, .beta-disclaimer-icon svg.ic, .mobile-cta-icon svg.ic { width: 1em; height: 1em; }
.ic-inline {
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  margin-right: 0.25em;
  color: var(--cyan, #00e5ff);
  display: inline-block;
}
.btn-primary {
  background: linear-gradient(135deg, #00e5ff, #00b8d9);
  color: #001015;
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.35), 0 4px 16px rgba(0, 0, 0, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(0, 229, 255, 0.55), 0 6px 20px rgba(0, 0, 0, 0.5);
  color: #001015;
}
.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.btn-big {
  padding: 18px 40px;
  font-size: 17px;
}

/* --- Beta Banner (sticky top) --- */
.beta-banner {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.18), rgba(0, 229, 255, 0.18));
  border-bottom: 1px solid rgba(212, 175, 55, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.beta-banner.is-hidden { display: none; }
.beta-banner-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text);
}
.beta-banner-icon {
  font-size: 18px;
  flex-shrink: 0;
}
.beta-banner-text {
  flex: 1;
  line-height: 1.5;
}
.beta-banner-text strong {
  color: var(--gold-bright);
  letter-spacing: 0.5px;
}
.beta-banner-text a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.beta-banner-close {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text-dim);
  width: 28px;
  height: 28px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}
.beta-banner-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}
@media (max-width: 600px) {
  .beta-banner-inner { font-size: 12px; }
  .beta-banner-icon { font-size: 16px; }
}

/* --- Hero BETA badge --- */
.hero-beta-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 14px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  color: #1a1a26;
  font-family: "Orbitron", sans-serif;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 3px;
  border-radius: 4px;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
  text-shadow: none;
}

/* --- Beta Notice Section --- */
.beta-section {
  padding: 60px 0;
  background:
    radial-gradient(ellipse at top, rgba(212, 175, 55, 0.08), transparent 60%),
    var(--bg-alt);
}
.beta-notice-card {
  max-width: 980px;
  margin: 0 auto;
  padding: 36px;
  background: rgba(18, 18, 28, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4), 0 0 60px rgba(212, 175, 55, 0.08) inset;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.beta-notice-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.beta-notice-emoji {
  font-size: 32px;
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.6));
}
.beta-notice-title {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 1.5px;
  color: var(--gold-bright);
}
.beta-notice-lead {
  margin: 0 0 28px 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
}
.beta-notice-lead strong {
  color: var(--gold-bright);
}
.beta-notice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}
.beta-notice-item {
  padding: 18px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.beta-notice-item-icon {
  font-size: 26px;
  margin-bottom: 8px;
}
.beta-notice-item h3 {
  margin: 0 0 8px 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.5px;
}
.beta-notice-item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-dim);
}
.beta-notice-footer {
  margin: 0;
  padding-top: 22px;
  border-top: 1px dashed var(--border-strong);
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
  color: var(--text);
}
.beta-notice-footer strong {
  color: var(--gold-bright);
}
@media (max-width: 720px) {
  .beta-notice-card { padding: 24px 18px; }
  .beta-notice-title { font-size: 18px; }
  .beta-notice-grid { grid-template-columns: 1fr; gap: 14px; }
}

/* --- Section --- */
.section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.section-alt {
  background: var(--bg-alt);
}
.section-title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 900;
  text-align: center;
  margin: 0 0 40px;
  letter-spacing: 1px;
}
.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  margin: 12px auto 0;
  border-radius: 2px;
}
.section-lead {
  text-align: center;
  color: var(--text-dim);
  margin: -20px auto 40px;
  max-width: 640px;
  line-height: 1.9;
}
.section-lead-sub {
  font-size: 13px;
  color: var(--text-dim);
  opacity: 0.85;
}
.text-center { text-align: center; }

/* --- Feature Grid --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  transition: transform 160ms, border-color 160ms, box-shadow 160ms;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 8px 32px rgba(0, 229, 255, 0.15);
}
.feature-icon {
  font-size: 36px;
  margin-bottom: 12px;
}
.feature-name {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--cyan);
}
.feature-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
  margin: 0;
}

/* --- Community Section (Ranking / Team / Voice) --- */
.community-section {
  background: radial-gradient(ellipse at top, rgba(212, 175, 55, 0.08), transparent 60%), var(--bg-alt);
  position: relative;
}
.community-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 40%, rgba(0, 229, 255, 0.06), transparent 50%),
              radial-gradient(circle at 80% 60%, rgba(168, 85, 247, 0.06), transparent 50%);
  pointer-events: none;
}
.community-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}
.community-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 26px;
  position: relative;
  overflow: hidden;
  transition: transform 200ms, border-color 200ms, box-shadow 200ms;
}
.community-card:hover {
  transform: translateY(-4px);
}
.community-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent 50%);
  pointer-events: none;
}
.community-card-ranking {
  border-color: rgba(212, 175, 55, 0.3);
}
.community-card-ranking:hover {
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.2);
}
.community-card-team {
  border-color: rgba(0, 229, 255, 0.3);
}
.community-card-team:hover {
  border-color: rgba(0, 229, 255, 0.6);
  box-shadow: 0 8px 32px rgba(0, 229, 255, 0.2);
}
.community-card-voice {
  border-color: rgba(168, 85, 247, 0.3);
}
.community-card-voice:hover {
  border-color: rgba(168, 85, 247, 0.6);
  box-shadow: 0 8px 32px rgba(168, 85, 247, 0.2);
}
.community-card-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}
.community-card-icon {
  font-size: 42px;
  line-height: 1;
  flex-shrink: 0;
}
.community-card-title {
  flex: 1;
  min-width: 0;
}
.community-card-title h3 {
  font-size: 20px;
  font-weight: 900;
  margin: 0 0 6px;
  color: var(--text);
  letter-spacing: 0.5px;
}
.community-card-ranking .community-card-title h3 { color: var(--gold-bright); }
.community-card-team .community-card-title h3 { color: var(--cyan); }
.community-card-voice .community-card-title h3 { color: #c4b5fd; }
.community-card-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-dim);
  letter-spacing: 0.3px;
}
.community-card-desc {
  font-size: 14px;
  color: var(--text);
  line-height: 1.8;
  margin: 0 0 16px;
}
.community-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.community-card-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
}
.community-card-list li span {
  font-size: 16px;
  flex-shrink: 0;
  line-height: 1.4;
}
.community-card-list li strong {
  color: var(--text);
}

.community-privacy-note {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 24px;
  background: rgba(34, 197, 94, 0.05);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 10px;
  text-align: center;
}
.community-privacy-note strong {
  display: block;
  font-size: 14px;
  color: #86efac;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}
.community-privacy-note p {
  margin: 0;
  font-size: 13px;
  color: var(--text);
  line-height: 1.8;
}

/* --- Hardware --- */
.hw-headline {
  max-width: 900px;
  margin: 0 auto 32px;
  padding: 28px 24px;
  background:
    radial-gradient(ellipse at top, rgba(0, 229, 255, 0.08), transparent 60%),
    rgba(18, 18, 28, 0.6);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 14px;
  text-align: center;
  backdrop-filter: blur(6px);
}
.hw-headline-pair {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.hw-headline-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  font-family: "Orbitron", sans-serif;
}
.hw-headline-tag.wired {
  background: rgba(0, 229, 255, 0.15);
  color: var(--cyan);
  border: 1px solid rgba(0, 229, 255, 0.4);
}
.hw-headline-tag.wireless {
  background: rgba(168, 85, 247, 0.15);
  color: #d8b4fe;
  border: 1px solid rgba(168, 85, 247, 0.45);
}
.hw-headline-or {
  font-size: 18px;
  font-weight: 900;
  color: var(--gold-bright);
  font-family: "Orbitron", sans-serif;
}
.hw-headline-title {
  margin: 0 0 12px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.5px;
  line-height: 1.5;
}
.hw-headline-lead {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dim);
}
.hw-headline-lead strong {
  color: var(--gold-bright);
  font-weight: 700;
}
@media (max-width: 600px) {
  .hw-headline { padding: 22px 18px; }
  .hw-headline-title { font-size: 16px; }
  .hw-headline-lead { font-size: 13px; }
  .hw-headline-tag { font-size: 12px; padding: 5px 12px; }
}

.hw-free {
  border-color: rgba(212, 175, 55, 0.55) !important;
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.1) !important;
  background:
    radial-gradient(ellipse at top, rgba(212, 175, 55, 0.05), transparent 70%),
    var(--panel);
}
.hw-free .hw-status {
  color: var(--gold-bright);
}

.hw-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.hw-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px 20px;
  text-align: center;
}
.hw-available {
  border-color: rgba(34, 197, 94, 0.4);
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.08);
}
.hw-status {
  font-size: 12px;
  color: var(--green);
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.hw-coming .hw-status {
  color: var(--gold);
}
.hw-name {
  font-size: 18px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 6px;
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 1px;
}
.hw-desc {
  font-size: 13px;
  color: var(--text-dim);
}

/* --- Shop / 関連商品 (A-SLOT 販売サイトへの導線) ---
   3 列グリッドの商品カード。各カードに商品名・簡単な説明・販売ページへの
   外部リンクボタンを配置。.btn-primary を継承しつつ shop-card-btn で
   幅 100% / centered に整える。 */
.shop-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}
.shop-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 22px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 180ms, box-shadow 180ms, border-color 180ms;
}
.shop-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.12);
}
.shop-card-icon {
  font-size: 36px;
  line-height: 1;
  margin-bottom: 10px;
}
.shop-card-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 12px;
  letter-spacing: 0.5px;
}
.shop-card-desc {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.8;
  margin: 0 0 22px;
  /* ボタンを各カードの底辺で揃えるため desc を伸縮させる */
  flex-grow: 1;
}
.shop-card-btn {
  width: 100%;
  justify-content: center;
  padding: 12px 18px;
  font-size: 14px;
}
.shop-card-btn-arrow {
  font-size: 1.05em;
  line-height: 1;
  font-weight: 700;
}

/* --- Open Future Vision (将来的なオープン化構想) ---
   ネオンブルー基調の未来感あるカード。淡いシアン↔ブルーのグラデと
   ボーダーグロウで、開発者にも一般ユーザーにも届くワクワクトーン。 */
.open-future-section {
  padding: 70px 0;
  background:
    radial-gradient(ellipse at top right, rgba(0, 229, 255, 0.08), transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(82, 132, 255, 0.07), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
/* 装飾: 上下の薄いネオンライン */
.open-future-section::before,
.open-future-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.4), transparent);
  pointer-events: none;
}
.open-future-section::before { top: 0; }
.open-future-section::after  { bottom: 0; }

.open-future-card {
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 36px;
  background:
    linear-gradient(135deg, rgba(0, 229, 255, 0.04), rgba(82, 132, 255, 0.03) 60%, transparent),
    rgba(10, 14, 24, 0.7);
  border: 1px solid rgba(0, 229, 255, 0.4);
  border-radius: 16px;
  box-shadow:
    0 0 32px rgba(0, 229, 255, 0.08),
    0 0 80px rgba(0, 229, 255, 0.05),
    inset 0 0 60px rgba(0, 229, 255, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
}

.open-future-header {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(0, 229, 255, 0.18);
}
.open-future-icon {
  font-size: 38px;
  line-height: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.55));
}
.open-future-heading-text { flex: 1; min-width: 0; }
.open-future-eyebrow {
  margin: 0 0 6px 0;
  font-family: "Orbitron", sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
}
.open-future-title {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #e8faff;
  letter-spacing: 0.5px;
  line-height: 1.5;
  text-shadow: 0 0 20px rgba(0, 229, 255, 0.25);
}

.open-future-lead {
  margin: 0 0 32px 0;
  padding: 18px 22px;
  background: rgba(0, 229, 255, 0.04);
  border-left: 3px solid var(--cyan);
  border-radius: 6px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text);
}
.open-future-lead strong {
  color: #7df9ff;
  font-weight: 700;
}

.open-future-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}
.open-future-item {
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(0, 229, 255, 0.18);
  border-radius: 10px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.open-future-item:hover {
  border-color: rgba(0, 229, 255, 0.45);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.12);
}
.open-future-item-icon {
  font-size: 28px;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.4));
}
.open-future-item h3 {
  margin: 0 0 10px 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.5px;
}
.open-future-item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.85;
  color: var(--text-dim);
}
.open-future-item strong {
  color: var(--text);
  font-weight: 700;
}

.open-future-disclaimer {
  margin: 0;
  padding-top: 20px;
  border-top: 1px dashed rgba(0, 229, 255, 0.25);
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-dim);
  letter-spacing: 0.3px;
}

@media (max-width: 720px) {
  .open-future-section { padding: 50px 0; }
  .open-future-card { padding: 28px 22px; }
  .open-future-header {
    flex-direction: column;
    gap: 12px;
  }
  .open-future-icon { font-size: 32px; }
  .open-future-title { font-size: 17px; }
  .open-future-eyebrow { font-size: 10px; letter-spacing: 2px; }
  .open-future-lead { font-size: 14px; padding: 14px 16px; }
  .open-future-grid { grid-template-columns: 1fr; gap: 14px; }
  .open-future-item { padding: 16px 18px; }
}

/* --- Pre-download Beta Disclaimer (注意ボックス) ---
   柔らかいアンバー系の注意ボックス。警告感はあるが不安を煽らないトーン。
   download セクションの直前に配置し、ボタンを押す前に必ず目に入る位置。 */
.beta-disclaimer-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.beta-disclaimer-card {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 26px;
  background:
    linear-gradient(135deg, rgba(245, 158, 11, 0.10), rgba(212, 175, 55, 0.06)),
    rgba(28, 22, 12, 0.6);
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-left: 4px solid #f59e0b;
  border-radius: 10px;
  box-shadow: 0 0 28px rgba(245, 158, 11, 0.06);
}
.beta-disclaimer-icon {
  font-size: 32px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
  filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.45));
}
.beta-disclaimer-body { flex: 1; min-width: 0; }
.beta-disclaimer-title {
  margin: 0 0 10px 0;
  font-size: 17px;
  font-weight: 700;
  color: #fcd34d;
  letter-spacing: 0.5px;
}
.beta-disclaimer-lead {
  margin: 0 0 12px 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
}
.beta-disclaimer-lead strong {
  color: #fde68a;
  font-weight: 700;
}
.beta-disclaimer-list {
  margin: 0 0 14px 0;
  padding-left: 22px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-dim);
}
.beta-disclaimer-list li { margin-bottom: 4px; }
.beta-disclaimer-feedback {
  margin: 0;
  padding-top: 12px;
  border-top: 1px dashed rgba(245, 158, 11, 0.3);
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-dim);
}
.beta-disclaimer-feedback a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (max-width: 600px) {
  .beta-disclaimer-card {
    flex-direction: column;
    gap: 10px;
    padding: 18px 20px;
  }
  .beta-disclaimer-icon { font-size: 26px; }
  .beta-disclaimer-title { font-size: 15px; }
  .beta-disclaimer-lead { font-size: 13px; }
  .beta-disclaimer-list { font-size: 12px; }
  .beta-disclaimer-feedback { font-size: 12px; }
}

/* ダウンロードボタン直上の一行注意 (補強用) */
.download-pre-warning {
  max-width: 720px;
  margin: 0 auto 16px;
  padding: 10px 14px;
  background: rgba(245, 158, 11, 0.10);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: #fde68a;
  text-align: center;
}
.download-pre-warning strong {
  color: #fef3c7;
  font-weight: 700;
}

/* --- Download --- */
.download-section {
  background: radial-gradient(ellipse at center, rgba(0, 229, 255, 0.06), transparent 70%);
}
.download-note {
  margin-top: 24px;
  font-size: 12px;
  color: var(--text-dim);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Contact Form --- */
.contact-form {
  max-width: 560px;
  margin: 0 auto;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.form-row label {
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0.5px;
}
.req {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.15);
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 11px;
  margin-left: 4px;
}
.contact-form input,
.contact-form textarea {
  background: var(--panel-2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 160ms;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--cyan);
}
.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}
.form-actions {
  margin-top: 24px;
  text-align: center;
}
.form-msg {
  margin-top: 16px;
  text-align: center;
  font-size: 14px;
  min-height: 1em;
}
.form-msg.success { color: var(--green); }
.form-msg.error { color: #fca5a5; }

/* --- Footer --- */
.site-footer {
  padding: 32px 0;
  background: var(--bg-alt);
  color: var(--text-dim);
  font-size: 13px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
/* モバイル: 縦積みで中央寄せ */
@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}
.footer-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--text-dim);
  transition: color 160ms;
}
.footer-links a:hover {
  color: var(--cyan);
}

/* === カスタマイズセクション (LP: あなただけのデザイン) === */
.customize-section {
  background:
    radial-gradient(ellipse at top left, rgba(167, 139, 250, 0.08), transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(0, 229, 255, 0.06), transparent 50%),
    var(--bg);
}
.customize-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}
.customize-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 20px;
  transition: transform 200ms, border-color 200ms, box-shadow 200ms;
}
.customize-card:hover {
  transform: translateY(-3px);
  border-color: rgba(167, 139, 250, 0.5);
  box-shadow: 0 6px 24px rgba(167, 139, 250, 0.15);
}
.customize-card-icon {
  font-size: 32px;
  line-height: 1;
  margin-bottom: 10px;
}
.customize-card-title {
  color: #c4b5fd;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.customize-card-desc {
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}
.customize-cta {
  text-align: center;
  padding: 16px 20px;
  background: rgba(167, 139, 250, 0.06);
  border: 1px solid rgba(167, 139, 250, 0.2);
  border-radius: 10px;
  color: var(--text-dim);
  font-size: 13px;
}
.customize-cta a {
  color: var(--cyan);
  font-weight: 600;
}

/* === ページ上部に戻るボタン (画面右下固定) ===
   admin-ui の ScrollToTop と同じ見た目・挙動。300px 以上スクロールで表示。 */
.scroll-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: rgba(10, 10, 16, 0.85);
  color: var(--cyan);
  border: 1px solid rgba(0, 229, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 220ms ease, transform 220ms ease,
    border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.25),
    0 4px 14px rgba(0, 0, 0, 0.45);
  z-index: 200;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.scroll-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-to-top:hover {
  border-color: var(--cyan);
  background: rgba(0, 229, 255, 0.12);
  box-shadow: 0 0 22px rgba(0, 229, 255, 0.55),
    0 4px 16px rgba(0, 0, 0, 0.45);
}
.scroll-to-top:active {
  transform: translateY(2px);
}
.scroll-to-top svg {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 0 4px rgba(0, 229, 255, 0.55));
}
@media (max-width: 768px) {
  .scroll-to-top {
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
  }
  .scroll-to-top svg {
    width: 20px;
    height: 20px;
  }
}
@media print {
  .scroll-to-top { display: none !important; }
}

/* ===========================================================================
 * PWA BETA セクション (v0.2.73 追加)
 * =========================================================================== */
.pwa-beta-section {
  background: linear-gradient(180deg, rgba(0, 229, 255, 0.04), transparent 60%);
  border-top: 1px solid rgba(0, 229, 255, 0.15);
  border-bottom: 1px solid rgba(0, 229, 255, 0.15);
}

.pwa-beta-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: start;
  margin: 24px 0 16px;
}

.pwa-beta-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.pwa-launch-btn {
  align-self: flex-start;
  background: linear-gradient(135deg, #00e5ff, #4ade80);
}
.pwa-launch-btn:hover {
  background: linear-gradient(135deg, #00f5ff, #22c55e);
}

.pwa-beta-browser-note {
  font-size: 13px;
  line-height: 1.7;
  color: #fcd34d;
  background: rgba(245, 158, 11, 0.06);
  border-left: 3px solid rgba(245, 158, 11, 0.5);
  padding: 10px 14px;
  border-radius: 4px;
  margin: 0;
}
.pwa-beta-browser-note strong {
  color: #fde68a;
  font-weight: 700;
}
.pwa-beta-browser-sub {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #d4af37;
  opacity: 0.85;
}

.pwa-beta-details {
  background: rgba(20, 20, 28, 0.5);
  border: 1px solid rgba(0, 229, 255, 0.15);
  border-radius: 8px;
  padding: 12px 16px;
}
.pwa-beta-details > summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--cyan, #00e5ff);
  letter-spacing: 0.5px;
  user-select: none;
  padding: 4px 0;
}
.pwa-beta-details > summary:hover { opacity: 0.85; }
.pwa-beta-details[open] > summary { margin-bottom: 12px; }
.pwa-beta-details h3 {
  font-size: 14px;
  margin: 16px 0 8px;
  color: #d4af37;
  letter-spacing: 1px;
}
.pwa-beta-details ul,
.pwa-beta-details ol {
  margin: 0 0 8px;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.85;
  color: #cdd1da;
}
.pwa-beta-details li { margin-bottom: 6px; }
.pwa-beta-details code {
  font-family: "JetBrains Mono", monospace;
  font-size: 12.5px;
  background: rgba(0, 229, 255, 0.08);
  padding: 1px 5px;
  border-radius: 3px;
  color: var(--cyan, #00e5ff);
}
.pwa-beta-step-sub {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  color: #888a96;
}

.pwa-beta-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 12px;
  flex-shrink: 0;
}
.pwa-beta-qr img {
  width: 180px;
  height: 180px;
  display: block;
}
.pwa-beta-qr-caption {
  font-size: 11px;
  color: var(--cyan, #00e5ff);
  text-align: center;
  letter-spacing: 1px;
  margin: 0;
  line-height: 1.5;
}

.pwa-beta-disclaimer {
  margin: 24px 0 0;
  padding: 12px 16px;
  font-size: 13px;
  background: rgba(245, 158, 11, 0.06);
  border-left: 3px solid rgba(245, 158, 11, 0.5);
  border-radius: 4px;
  color: #d4af37;
  line-height: 1.7;
}
.pwa-beta-disclaimer strong { color: #fde68a; }

@media (max-width: 720px) {
  .pwa-beta-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .pwa-beta-qr {
    order: 2;
    align-self: center;
  }
  .pwa-launch-btn {
    align-self: stretch;
    text-align: center;
    justify-content: center;
  }
  .pwa-beta-qr img { width: 160px; height: 160px; }
}

/* ===========================================================================
 * 最新バージョン / 変更履歴セクション (v0.2.73 追加)
 * =========================================================================== */
.changelog-section {
  background: rgba(20, 20, 28, 0.4);
}
.changelog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 24px 0 16px;
}
.changelog-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border, #2a2a35);
  border-radius: 12px;
  padding: 18px 20px;
}
.changelog-card-feat { border-left: 4px solid #22c55e; }
.changelog-card-fix { border-left: 4px solid #ef4444; }
.changelog-card-ux { border-left: 4px solid #00e5ff; }
.changelog-card-title {
  font-size: 14px;
  margin: 0 0 12px;
  letter-spacing: 1px;
  color: #d4af37;
}
.changelog-card ul {
  margin: 0;
  padding-left: 18px;
  list-style-type: "・";
  font-size: 13px;
  line-height: 1.85;
  color: #cdd1da;
}
.changelog-card li {
  padding-left: 6px;
  margin-bottom: 8px;
}
.changelog-card strong {
  color: #00e5ff;
  font-weight: 700;
}
.changelog-footer-note {
  margin-top: 18px;
  font-size: 12px;
  color: #8a8a99;
  text-align: center;
}
.changelog-footer-note a { color: var(--cyan, #00e5ff); }

/* ===========================================================================
 * FT245RL 対応版 A-COUNTER X 導線スタイル (v0.2.77 追加)
 * =========================================================================== */

/* ヒーロー直下のサブ導線リンク (主 CTA を邪魔しない控えめなスタイル) */
.hero-ft245rl-link {
  margin: 16px 0 0;
  font-size: 13px;
  text-align: center;
  opacity: 0.85;
}
.hero-ft245rl-link a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cyan, #00e5ff);
  border-bottom: 1px dotted rgba(0, 229, 255, 0.4);
  padding: 2px 0;
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s;
}
.hero-ft245rl-link a:hover {
  color: #4ade80;
  border-bottom-color: #4ade80;
}

/* 対応ハードウェア FT245RL カード内の購入ボタン */
.hw-card-buy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 8px 14px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.15), rgba(74, 222, 128, 0.15));
  border: 1px solid rgba(0, 229, 255, 0.45);
  border-radius: 8px;
  color: var(--cyan, #00e5ff);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}
.hw-card-buy-btn:hover {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.28), rgba(74, 222, 128, 0.28));
  border-color: rgba(0, 229, 255, 0.7);
  color: #fff;
}
.hw-card-buy-btn:active {
  transform: scale(0.98);
}

/* ショップカードの FT245RL 専用ハイライト (緑+シアンのアクセント) */
.shop-card-ft245rl {
  border-color: rgba(74, 222, 128, 0.3);
}
.shop-card-ft245rl:hover {
  border-color: rgba(74, 222, 128, 0.5);
}

/* お問い合わせ section の補助リンク (控えめな配置) */
.contact-aux-link {
  margin: 12px 0 18px;
  padding: 10px 14px;
  font-size: 13px;
  background: rgba(0, 229, 255, 0.05);
  border-left: 3px solid rgba(0, 229, 255, 0.4);
  border-radius: 4px;
  color: #cdd1da;
}
.contact-aux-link a {
  color: var(--cyan, #00e5ff);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(0, 229, 255, 0.4);
  text-underline-offset: 3px;
}
.contact-aux-link a:hover {
  color: #4ade80;
  text-decoration-color: #4ade80;
}
