  /* 元のcanvas/bodyスタイルを維持しつつ、Interフォントを優先 */
  html, body {
    margin: 0;
    height: 100%;
    background: #000;
    /* 修正: overflow: hidden; を削除 */
    font-family: Inter, system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
    color: #fff;
  }
  canvas {
    display: block;
    position: fixed; /* 画面に固定してスクロールの影響を受けないようにする */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
  }

 
 .content {
    position: relative;
    z-index: 10;
    /* 修正: 垂直中央配置のための設定を解除 */
    height: 100%; 
    padding: 2rem; /* パディングを確保 */
 }

 /* テキストのスタイルを調整 */
  h1 {
    font-size: clamp(28px, 6vw, 64px);
    font-weight: 700;
    margin: 0; /* Bootstrapのmarginを使いたいのでリセット */
    text-shadow: 0 0 20px rgba(255, 94, 247, 0.8), 0 0 40px rgba(0, 255, 225, 0.5);
  }

 h2 {
    font-size: clamp(16px, 3vw, 30px);
    font-weight: 500;
    margin: 0; /* Bootstrapのmarginを使いたいのでリセット */
  }

  .highlight-text {
  font-size: 1.2em; /* 親要素のフォントサイズの1.2倍にする（少し大きく） */
  color: red;      /* テキストの色を赤にする */
 }

 .subtitle-container{
	background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
	color: #eee;
    text-shadow: 0 0 5px #000;
}
.subtitle-text-overlay {
  display: inline-block;
  background: rgba(0, 0, 0, 0.55);  /* 半透明の黒帯 */
  padding: 0.5em 1em;
  border-radius: 6px;
  color: #f0f0f0;                   /* ややグレー寄りの白 */
  text-shadow: 0 0 4px #000;        /* 輪郭をくっきり */
}
  .subtitle-text{ 
	  /*color: #e0f7ff; /* 青みがかった白 */ 
	  /*font-size: 1.2em;*/ 
	  color: #fff; 
	  text-shadow: 
	   0 0 4px #CD7F32;
  }
.subtitle-text-layer {
  position: relative;
  /*color: #f0f0f0;*/
  color: #ffffff;
  padding: 1.5em 2em;
  backdrop-filter: blur(4px) brightness(0.6);
  background: rgba(0, 0, 0, 0.2); /* 軽いトーン補正 */
  border-radius: 8px;
}
  p.sub {
    font-size: clamp(14px, 2.2vw, 18px);
    max-width: 700px;
    margin: 0 auto;
    color: #ddd;
    text-shadow: 0 0 10px rgba(255,255,255,0.2);
  }

  /* カスタムボタンのスタイルをBootstrapのボタンクラスに合わせる */
  .btn-custom {
    border: none;
    padding: 0.8rem 1.4rem;
    border-radius: 12px;
    background: linear-gradient(90deg, rgba(255,94,247,0.3), rgba(0,255,225,0.3));
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(255,94,247,0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    backdrop-filter: blur(6px);
  }

  .btn-custom:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 30px rgba(255,94,247,0.6);
  }

  /* 画面全体にオーバーレイをかけるためのコンテナスタイル */
  /* 修正: コンテンツ全体を覆い、スクロールを制御するコンテナ */
.overlay-container {
    position: absolute; /* fixed から absolute に変更 (コンテンツ全体をスクロールさせるため) */
    top: 0;
    left: 0;
    width: 100%;
    /* height: 100%; は残すことで、初期状態のビューポート高さを占める */
    min-height: 100%; /* コンテンツが少ない場合でもビューポート高さを確保 */
    z-index: 10;
    
    /* スクロールを許可 */
    overflow-y: auto; 
    
    /* 背景透過のために、半透明の黒を敷く (オプション) */
    /*background-color: rgba(0, 0, 0, 0.4); */
    /*backdrop-filter: blur(2px);*/
    
    /* Flexbox設定を解除 */
    display: block; 
}
/* メインキャッチコピーのコンテナのスタイル調整 */
.overlay-container > .container:first-child {
    /* 修正: flex-grow: 1; を削除 */
    /* 垂直方向のパディングをヘッダーの下から始まるように調整 */
    padding-top: 5rem; 
    padding-bottom: 2rem; 
}

   .cta-row{
      display:flex; gap:1rem; justify-content:center; flex-wrap:wrap;
      margin-top: .6rem;
    }

    .btn{
      -webkit-appearance:none; appearance:none;
      border:0; padding: .8rem 1.2rem; border-radius: 12px;
      background: linear-gradient(90deg, rgba(255,94,247,0.12), rgba(0,255,225,0.06));
      color:#fff; font-weight:600; cursor:pointer;
      box-shadow: 0 6px 30px rgba(0,0,0,0.6), 0 0 26px rgba(255,94,247,0.06) inset;
      backdrop-filter: blur(6px);
      transition: transform .22s ease, box-shadow .22s ease, opacity .18s ease;
    }
    .btn:hover{ transform: translateY(-4px) scale(1.02); box-shadow: 0 18px 40px rgba(0,0,0,0.6); }

    .ghost{
      background:transparent; 
	  /*border:1px solid rgba(255,255,255,0.08);*/
      color:#fff;
      box-shadow:none;
    }
   
    /* 修正: top-header-container を absolute に変更し、コンテンツと共にスクロールさせる */
.top-header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    
    /* 修正: position: absolute; から fixed に戻す */
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%; 
    padding: 1rem 2rem; 
    box-sizing: border-box; 
    z-index: 20;
    
    /*background: #000;*/
    /* スクロール時に背景が透けるため、背景色を追加 */
    background: rgba(0, 0, 0, 1); 
   /* backdrop-filter: blur(4px);*/
}

.main-title {
    margin: 0; 
    color: #fff; 
    font-weight: 600; 
    text-shadow: none; 
}

.cta-row {
    display: flex; 
    gap: 10px; 
}

/*---------------------------------------------------*/
/* Footerコンテンツの表示 */
.footer-content {
    
    /* 修正: position: static に戻して、通常フローでスクロール可能にする */
    position: static; 
    z-index: 10; 
    width: 100%; /* 幅を調整 (コンテナの幅に従う) */
    max-width: 1200px; /* 最大幅を設定 */
}


/* 素粒子ハドロンのボックスに背景と透明度を追加して見やすくする */
.footer-content .col-lg-3 {
    /*background: rgba(255, 255, 255, 0.12);*/
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    border: 0.3px solid rgba(255, 255, 255, 1);
    /*border : none;*/
    border-radius: 8px;
    margin-bottom: 1rem; /* 各項目間にマージンを追加 */
}
.footer-content .col-lg-8 {
    height: 100px;
}
.footer-content .col-md-8 {
    height: 100px;
}
.footer-content .col-sm-8 {
    height: 50px;
}
.footer-content .col-xs-8 {
    height: 50px;
}
.footer-content .col-lg-12 {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    /*border: 0.3px solid rgba(255, 255, 255, 1);*/
    /* 修正・追加する部分 */
    border: 1px solid rgba(255, 255, 255, 0.6); /* 境界線を少し太く、不透明度を上げる */
    box-shadow: 0 4px 16px rgba(200, 200, 200, 0.2); /* 濃い影を追加して要素を浮き上がらせる */
    /*box-shadow: rgba(0, 0, 0, 0.2);*/
    /* ここまで */
    /*border : none;*/
    border-radius: 8px;
    margin-bottom: 1rem; /* 各項目間にマージンを追加 */
}


/* テキストを白く保つ */
.footer-content h5, .footer-content p, .footer-content a {
    /*color: #fff !important;*/
    color: #FFF; /* 明るい背景でも読みやすい濃い色 */
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.7); /* 薄く白い影をかけて見やすくする */
}


a {
    color: #fff;
    text-decoration: none;
}

/* JSON表示テーブルのスタイル */
 #newsList{display:grid; gap:12px; 
           grid-template-columns:repeat(auto-fit,minmax(280px,1fr));}
  .card{
    background:rgba(0, 0, 0, 0.4); 
    border-radius:10px; 
    backdrop-filter: blur(4px);
    border: 0.3px solid rgba(255, 255, 255, 1);
    padding:12px; 
    box-shadow:0 2px 8px rgba(0,0,0,0.06);
    display:flex; flex-direction:column; gap:6px;
  }
  .meta{font-size:0.85rem; color:#fff}
  a.title{font-weight:600; text-decoration:none; color:#CD7F32}
  .detected{font-size:0.8rem; color:#fff}
  .controls{margin-top:14px; display:flex; gap:8px; align-items:center}
  button#moreBtn{
     -webkit-appearance:none; appearance:none;
      border:0; padding: .8rem 1.2rem; border-radius: 12px;
      background: linear-gradient(90deg, rgba(255,94,247,0.12), rgba(0,255,225,0.06));
      color:#fff; font-weight:600; cursor:pointer;
      box-shadow: 0 6px 30px rgba(0,0,0,0.6), 0 0 26px rgba(255,94,247,0.06) inset;
      backdrop-filter: blur(6px);
      transition: transform .22s ease, box-shadow .22s ease, opacity .18s ease;
      /*border: 0.3px solid rgba(255, 255, 255, 1);*/
  }
  button#moreBtn:hover{box-shadow:0 1px 4px rgba(0,0,0,0.08)}
  .note{font-size:0.85rem; color:#fff}
  @media (max-width:420px){
    body{margin:10px}
  }
  