@charset "utf-8";
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --brand-dark:    #89021a;
    --brand-red:     #d93932;
    --brand-red2:    #c8161d;
    --brand-darkest: #3a0216;
    --gmo-blue:      #005bac;
    --base-blue:     #3c95c1;
    --accent-yellow: #fcff00;
  }

  body {
    font-family: 'Noto Sans JP', sans-serif;
  }

  /* ─── HEADER ─── */
  .header {
    background: #fff;
    border-bottom: 1px solid #e5e8ec;
    padding: 0 40px;
    height: 56px;
    display: flex; align-items: center; justify-content: space-between;
  }
  .logo { font-weight: 900; font-size: 16px; color: var(--brand-red2); }
  .header-nav { display: flex; gap: 24px; }
  .header-nav a { text-decoration: none; color: #555; font-size: 13px; }
  .header-actions { display: flex; gap: 10px; }
  .hbtn-outline {
    border: 1.5px solid var(--brand-red2); color: var(--brand-red2);
    padding: 6px 16px; border-radius: 3px; font-size: 12px; font-weight: 700; text-decoration: none;
  }
  .hbtn-fill {
    background: var(--brand-red2); color: #fff;
    padding: 6px 16px; border-radius: 3px; font-size: 12px; font-weight: 700; text-decoration: none;
  }

  /* ════════════════════════════════════
     HERO
  ════════════════════════════════════ */
  .hero {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    display: flex; align-items: center;
    /* 参考画像: 上部は暗い深紅 → 中央で明るい赤 → 下部グリッド面に向けて暗く */
    background:
      radial-gradient(ellipse 80% 60% at 50% 110%, rgba(58,2,22,0.55) 0%, transparent 65%),
      radial-gradient(ellipse 60% 50% at 80% 20%,  rgba(230,85,74,0.20) 0%, transparent 55%),
      radial-gradient(ellipse 60% 50% at 20% 20%,  rgba(200,22,29,0.18) 0%, transparent 55%),
      linear-gradient(180deg,
        #c8161d 0%,
        #d93932 25%,
        #e6554a 55%,
        #d93932 80%,
        #c8161d 100%);
  }

  /* Canvas — デジタルテクノロジー背景 */
  #network-canvas {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    pointer-events: none;
  }

  /* 左暗部オーバーレイ — コピー可読性 */
  .hero-overlay {
    position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(100deg,
      rgba(30, 0, 6, 0.38) 0%,
      rgba(30, 0, 6, 0.20) 38%,
      rgba(30, 0, 6, 0.03) 62%,
      transparent 100%);
  }

  .hero-inner {
    position: relative; z-index: 2;
    width: 100%; max-width: 1200px;
    margin: 0 auto;
    padding: 36px 64px 32px;
    display: flex; align-items: center; gap: 60px;
  }

  /* ─── LEFT ─── */
  .hero-copy { flex: 1; }



  .hero-h1 {
    margin-bottom: 13px;
    opacity: 0;
    animation: fadeUp 0.6s ease 0.25s forwards;
  }
  .h1-line1 {
    display: block;
    font-size: 44px; font-weight: 900;
    color: #fff;
    line-height: 1.18; letter-spacing: -1px;
  }
  .h1-line2 {
    display: block;
    font-size: 44px; font-weight: 900;
    color: #fff;
    line-height: 1.18; letter-spacing: -1px;
    margin-bottom: 5px;
  }
  .h1-catch {
    display: inline-block;
    font-size: 38px; font-weight: 900;
    /* 元の蛍光黄と艶消しゴールドの中間: 明るさを保ちつつ上品に */
    color: #f5df6a;
    background: linear-gradient(
      160deg,
      #f5df6a 0%,
      #faea80 35%,
      #e8cc50 65%,
      #f2db65 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.25; letter-spacing: -0.5px;
    position: relative;
    filter: drop-shadow(0 1px 4px rgba(0,0,0,0.22));
  }
  .h1-catch::after {
    content: '';
    position: absolute; bottom: -4px; left: 0;
    height: 2px;
    background: linear-gradient(90deg, #e8cc50, #faea80, #e8cc50);
    width: 0%;
    animation: underline-grow 0.7s ease 1.1s forwards;
    border-radius: 1px;
    opacity: 0.75;
  }
  @keyframes underline-grow { to { width: 100%; } }

  .hero-sub {
    font-size: 14px;
    color: rgba(255,255,255,0.93);
    line-height: 1.9;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeUp 0.6s ease 0.45s forwards;
  }

  .hero-cta {
    display: flex; gap: 12px; align-items: center;
    margin-bottom: 28px;
    max-width: fit-content;
    opacity: 0;
    animation: fadeUp 0.6s ease 0.6s forwards;
  }

  .btn-main {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,0.14);
    color: #fff;
    font-size: 13px; font-weight: 700;
    padding: 13px 18px; border-radius: 4px;
    border: 1.5px solid rgba(255,255,255,0.58);
    text-decoration: none;
    white-space: nowrap;
    transition: border-color .18s, background .18s, box-shadow .18s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  }
  .btn-main:hover {
    border-color: rgba(255,255,255,0.90);
    background: rgba(255,255,255,0.22);
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  }

  .btn-sub {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    background: #fff; color: var(--brand-red2);
    font-size: 13px; font-weight: 900;
    padding: 13px 22px; border-radius: 4px;
    border: 1.5px solid #fff;
    text-decoration: none;
    white-space: nowrap;
    width: calc(var(--btn-main-width) * 1.3);
    box-shadow: 0 4px 20px rgba(0,0,0,0.22);
    transition: transform .18s ease, box-shadow .18s ease;
  }
  .btn-sub:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.28); }

  /* ─── STATS ─── */
  .hero-stats {
    display: flex; gap: 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.28);
    opacity: 0;
    animation: fadeUp 0.6s ease 0.75s forwards;
  }
  .stat {
    flex: 1; padding: 0 28px;
    border-right: 1px solid rgba(255,255,255,0.28);
    display: flex; flex-direction: column; gap: 3px;
  }
  .stat:first-child { padding-left: 0; }
  .stat:last-child  { border-right: none; }
  .stat-icon { display: none; }
  .stat-number-row { display: flex; align-items: flex-end; gap: 0; line-height: 1; }
  .stat-num {
    font-size: 40px; font-weight: 900;
    color: #fff; line-height: 1; letter-spacing: -1.5px;
    font-variant-numeric: tabular-nums;
  }
  .stat-unit { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.80); padding-bottom: 2px; white-space: nowrap; padding-left: 0.4vw; }
  .stat-label { font-size: clamp(10px, 1.1vw, 13px); font-weight: 700; color: rgba(255,255,255,0.88); letter-spacing: 0.3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; padding: 0.3vw; }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* ─── RIGHT: ノートPC + バッジ ─── */
  .hero-screen {
    flex: 0 0 500px;
    position: relative;
    opacity: 0;
    animation: fadeUp 0.7s ease 0.5s forwards;
  }

  /* PC本体 */
  .laptop-wrap {
    position: relative;
    width: 100%;
  }

  /* 画面部分 */
  .laptop-screen-outer {
    position: relative;
    background: linear-gradient(160deg, #2a2a2e 0%, #1a1a1e 100%);
    border-radius: 12px 12px 0 0;
    padding: 10px 12px 0;
    box-shadow:
      0 -2px 0 rgba(255,255,255,0.08) inset,
      0 20px 50px rgba(0,0,0,0.45);
  }

  /* カメラ */
  .laptop-camera {
    width: 5px; height: 5px; border-radius: 50%;
    background: #3a3a3e;
    margin: 0 auto 6px;
    box-shadow: 0 0 0 1px #222;
  }

  /* スクリーン */
  .laptop-display {
    background: #fff;
    border-radius: 4px 4px 0 0;
    overflow: hidden;
    aspect-ratio: 16/10;
  }

  /* ヒンジ部 */
  .laptop-hinge {
    background: linear-gradient(180deg, #1a1a1e 0%, #2e2e32 100%);
    height: 6px;
    border-radius: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
  }

  /* ボトムベゼル（パームレスト） */
  .laptop-base {
    background: linear-gradient(180deg, #2e2e32 0%, #3a3a40 50%, #2a2a2e 100%);
    border-radius: 0 0 14px 14px;
    height: 28px;
    position: relative;
    box-shadow:
      0 8px 24px rgba(0,0,0,0.5),
      0 1px 0 rgba(255,255,255,0.06) inset;
  }
  /* トラックパッド */
  .laptop-base::after {
    content: '';
    position: absolute;
    top: 6px; left: 50%; transform: translateX(-50%);
    width: 70px; height: 14px;
    background: rgba(255,255,255,0.06);
    border-radius: 3px;
    border: 1px solid rgba(255,255,255,0.08);
  }

  /* スクリーン内コンテンツ */
  .screen-topbar {
    background: #f4f6f8; border-bottom: 1px solid #e5e8ec;
    padding: 5px 10px; display: flex; align-items: center; gap: 4px;
  }
  .dot { width: 6px; height: 6px; border-radius: 50%; }
  .dot.r { background: #ff6058; } .dot.y { background: #ffbd2e; } .dot.g { background: #28c840; }
  .screen-url {
    flex:1; background:#fff; border-radius:3px; border:1px solid #ddd;
    font-size:8px; color:#999; padding:2px 6px; margin-left:4px;
  }
  .screen-chip {
    background: var(--brand-red2); color: #fff;
    font-size: 7px; font-weight: 700; padding: 2px 6px; border-radius: 2px;
  }
  .screen-chip.blue { background: var(--base-blue); }
  .screen-body { padding: 8px 10px; }
  .screen-row { display:flex; justify-content:space-between; align-items:center; margin-bottom:7px; }
  .screen-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 4px; }
  .app-tile {
    aspect-ratio:1; border:1px solid #eee; border-radius:3px;
    display:flex; flex-direction:column; align-items:center; justify-content:center; gap:1px;
    font-size:5.5px; color:#888;
  }
  .app-icon { width:14px; height:14px; border-radius:2px; }

  /* ─── GMOセキュリティバッジ（緑の盾） ─── */
  .gmo-badge {
    position: absolute;
    bottom: 20px;
    right: 0px;
    width: 90px;
    z-index: 10;
    filter: drop-shadow(0 6px 16px rgba(0,0,0,0.40));
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;
  }

  .gmo-badge:hover {
  transform: translateY(-3px);
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.50));
}
  a.firstview__security-badge img {
      position: relative;
      display: block;
      width: 60px;
  }


  /* ══════════════════════════════════════════
     レスポンシブ
  ══════════════════════════════════════════ */

  /* ─── 小さめPC（1025px〜1199px） ─── */
  @media (max-width: 1199px) {
    .hero-inner { padding: 32px 48px 28px; gap: 40px; }
    .hero-screen { flex: 0 0 480px; }
    .h1-line1, .h1-line2 { font-size: 38px; }
    .h1-catch { font-size: 33px; }
    .stat-num { font-size: 34px; }
  }

  /* ─── タブレット（768px〜1024px） ─── */
  @media (max-width: 1024px) {
    .header-nav { display: none; }
    .hero-inner { padding: 28px 40px 24px; gap: 32px; }
    .hero-screen { flex: 0 0 360px; }
    .h1-line1, .h1-line2 { font-size: 34px; letter-spacing: -0.5px; }
    .h1-catch { font-size: 29px; }
    .hero-sub { font-size: 13px; margin-bottom: 18px; }
    .stat-num { font-size: 30px; }
    .stat { padding: 0 18px; }
    .btn-main, .btn-sub { font-size: 12px; padding: 12px 16px; }
  }

  /* ─── スマートフォン（〜767px） ─── */
  @media (max-width: 767px) {
    /* ヘッダー */
    .header { padding: 0 20px; height: 52px; }
    .header-nav { display: none; }
    .hbtn-outline { display: none; }
    .hbtn-fill { font-size: 12px; padding: 7px 14px; }

    /* ヒーロー: 縦並び */
    .hero { min-height: unset; }
    .hero-inner {
      flex-direction: column;
      align-items: stretch;
      padding: 32px 4% 28px;
      gap: 28px;
    }
    .hero-copy { width: 100%; }

    /* 見出し */
    .h1-line1, .h1-line2 { font-size: 7vw; letter-spacing: -0.3px; line-height: 1.25; }
    .h1-catch { font-size: 6vw; }
    .hero-h1 { margin-bottom: 12px; }

    /* サブコピー */
    .hero-sub { font-size: 2.8vw; line-height: 1.75; margin-bottom: 20px; }

    /* CTAボタン */
    .hero-cta {
      flex-direction: column;
      align-items: stretch;
      gap: 10px;
      max-width: 100%;
      margin-bottom: 24px;
    }
    .btn-main, .btn-sub {
      font-size: 14px; font-weight: 900;
      padding: 14px 20px;
      justify-content: center;
      white-space: nowrap;
      width: 100% !important; /* JS幅指定を上書き */
    }

    /* 統計 */
    .hero-stats { padding-top: 20px; gap: 0; }
    .stat { padding: 0 12px; }
    .stat:first-child { padding-left: 0; }
    .stat-num { font-size: 7vw; letter-spacing: -1px; }
    .stat-unit { font-size: 2.3vw; padding-bottom: 0.5vw; padding-left: 0.7vw;}
    .stat-label { font-size: 2.3vw; padding: 0.7vw; }

    /* PCモック: フル幅 */
    .hero-screen {
      flex: none;
      width: 100%;
    }
    .gmo-badge, a.firstview__security-badge img {
        display: block;
        width: 22vw;
        bottom: 19px;
        right: 3vw;
    }
  }

  /* ─── 小さめスマートフォン（〜430px） ─── */
  @media (max-width: 430px) {
    .hero-inner { padding: 24px 4% 20px; gap: 22px; }
    .h1-line1, .h1-line2 { font-size: 7.8vw; }
    .h1-catch { font-size: 6.7vw; }
    .hero-sub { font-size: 12px; }
    .stat-num { font-size: 24px; }
    .stat { padding: 0 8px; }
    .stat-label { font-size: 10px; padding: 3px;}
    .btn-main, .btn-sub { font-size: 13px; padding: 13px 16px; }
    .gmo-badge { width: 62px; }
  }