/* ============================================================
   Brand Design Tokens — GPU GUIDE / PC BUILD CHECK / GAME PC GUIDE
   共通ブランド変数。3サイト共通のデザインルール基盤として使用。
   ============================================================ */
:root {
  /* Colors */
  --brand-cyan: #19e3ff;
  --brand-violet: #7b61ff;
  --brand-bg: #090b14;
  --brand-bg-card: #07111f;
  --brand-text: #f5f7fb;
  --brand-text-muted: #d7deec;
  --brand-text-dim: #e2e8f5;
  --brand-text-subtle: #aab6cc;

  /* Glass layers（カードを一段明るく＝可読性向上） */
  --glass-high: rgba(255, 255, 255, 0.115);
  --glass-mid: rgba(255, 255, 255, 0.07);
  --glass-low: rgba(255, 255, 255, 0.05);

  /* Borders */
  --border: rgba(255, 255, 255, 0.16);
  --border-subtle: rgba(255, 255, 255, 0.1);

  /* Gradient */
  --brand-gradient: linear-gradient(135deg, var(--brand-cyan), var(--brand-violet));

  /* UI refresh 2026 — 読みやすさ＆親しみやすさ用トークン */
  --surface-card: linear-gradient(180deg, rgba(255, 255, 255, 0.125), rgba(255, 255, 255, 0.05));
  --surface-card-border: rgba(255, 255, 255, 0.17);
  --hint-bg: linear-gradient(135deg, rgba(25, 227, 255, 0.1), rgba(123, 97, 255, 0.08));
  --hint-border: rgba(25, 227, 255, 0.3);
  --mascot-ring: linear-gradient(135deg, #19e3ff, #7b61ff);

  /* Layout */
  --header-height: 68px;
  --radius-card: 26px;
  --radius-pill: 999px;
}

@media (max-width: 520px) {
  :root {
    --header-height: 60px;
    --radius-card: 22px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 12px);
}

/* ページフェードイン */
@keyframes page-enter {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

main {
  animation: page-enter 0.35s ease both;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f5f7fb;
  background:
    radial-gradient(circle at top left, rgba(25, 227, 255, 0.14), transparent 28%),
    radial-gradient(circle at bottom right, rgba(123, 97, 255, 0.14), transparent 28%),
    #090b14;
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(9, 11, 20, 0.84);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  /* safe-area: iPhoneノッチ・ダイナミックアイランド対応 */
  padding-top: env(safe-area-inset-top);
}

.header-inner {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  font-weight: 900;
  letter-spacing: 0.04em;
}

.site-logo span {
  background: linear-gradient(135deg, #19e3ff, #7b61ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.header-nav {
  display: flex;
  gap: 8px;
}

.header-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: #cfd6e6;
  font-size: 14px;
}

.header-link:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Hero */

.hero {
  padding: 72px 0 48px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #19e3ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: rgba(25, 227, 255, 0.08);
  border: 1px solid rgba(25, 227, 255, 0.24);
}

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero-text {
  max-width: 620px;
  color: #d7deec;
  font-size: 17px;
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
  color: #07111f;
  background: linear-gradient(135deg, #2ee9ff, #8a72ff);
  box-shadow: 0 16px 38px rgba(25, 227, 255, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.secondary-btn {
  color: #eaf0fb;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(25, 227, 255, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.secondary-btn:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(25, 227, 255, 0.4);
}

/* Hero Card */

.hero-card {
  padding: 28px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.hero-card-label {
  margin: 0 0 12px;
  color: #19e3ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-card h2 {
  margin: 0 0 22px;
  font-size: 26px;
}

.hero-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-check-list li {
  position: relative;
  padding: 14px 0 14px 30px;
  color: #e8edf7;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-check-list li:last-child {
  border-bottom: none;
}

.hero-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #19e3ff;
  font-weight: 900;
}

/* Section */

.section {
  padding: 64px 0;
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: #19e3ff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.section-label::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(135deg, #19e3ff, #7b61ff);
}

.section-heading h2 {
  margin: 0 0 14px;
  font-size: 34px;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 0;
  color: #d7deec;
  font-size: 15.5px;
  line-height: 1.85;
}

/* Guide Cards */

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.guide-card {
  position: relative;
  padding: 26px 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.guide-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #19e3ff, #7b61ff);
  opacity: 0.85;
}

.guide-card:hover {
  transform: translateY(-3px);
  border-color: rgba(25, 227, 255, 0.32);
}

.guide-card h3 {
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.4;
}

.guide-card p {
  margin: 0;
  color: #d7deec;
  line-height: 1.8;
}

/* Footer */

.site-footer {
  /* safe-area: iPhoneホームバー下部の被り対応 */
  padding: 34px 0 calc(34px + env(safe-area-inset-bottom));
  color: #9aa7bd;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* =========================================================
   Sippo 親サイトへの導線（ヘッダー内リンク / 全PCサイト共通スタイル）
   ※ URL 差し替え時は HTML 側の href / src を変更
========================================================= */
.sippo-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(25, 227, 255, 0.18), rgba(123, 97, 255, 0.18));
  border: 1px solid rgba(123, 97, 255, 0.5);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.sippo-nav:hover,
.sippo-nav:focus-visible {
  border-color: rgba(25, 227, 255, 0.7);
  box-shadow: 0 0 0 1px rgba(25, 227, 255, 0.25), 0 8px 22px rgba(25, 227, 255, 0.16);
  transform: translateY(-1px);
}
.sippo-nav__icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  object-fit: cover;
  flex: 0 0 auto;
}
@media (max-width: 520px) {
  .sippo-nav { padding: 6px; gap: 0; }
  .sippo-nav__icon { width: 20px; height: 20px; }
  .sippo-nav__text { display: none; }
}

/* Mobile */

@media (max-width: 900px) {
  .hero-inner,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 56px 0;
  }

  .hero h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
  }

  .section {
    padding: 52px 0;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .header-inner {
    height: 60px;
  }

  .site-logo {
    font-size: 15px;
  }

  .header-nav {
    gap: 2px;
  }

  .header-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 8px;
    font-size: 12px;
  }

  .hero-card,
  .guide-card {
    padding: 22px 20px;
    border-radius: 22px;
  }

  .section {
    padding: 44px 0;
  }

  .section-heading {
    margin-bottom: 26px;
  }

  .section-heading h2 {
    font-size: 27px;
  }

  /* スマホで文字が詰まりすぎないよう、本文の行間・サイズを確保 */
  .hero-text,
  .section-heading p,
  .guide-card p {
    font-size: 15.5px;
    line-height: 1.9;
  }

  .hero-check-list li {
    padding: 13px 0 13px 30px;
  }
}
