.fixed-header {
  position: fixed; /* ヘッダーを固定する */
  top: 0; /* 画面の上部に固定 */
  width: 100%; /* 画面の幅いっぱいに広げる */
  background-color: #FFF; /* 背景色を設定 */
  color: white; /* テキストの色を設定 */
  padding: 1px; /* 内側の余白を設定 */
  z-index: 1000; /* ヘッダーを他の要素の上に表示 */
}

a {
  text-decoration: none;
}

.sotowaku {
    display: flex;
    width: 1140px;
    margin: 0 auto;
}

.i {
  width: 50%;
  height: 160px;
  border-radius: 15px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(5px);
  transition: 0.3s;
}

.i:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}


a {
  text-decoration: none;
  color: light_blue;
  transition: 0.3s;
}




/* ------------------------------
  固定配置の背景レイヤー
  - 画面全体に固定配置し、本文より背面（z-index:-1）
  - .blob は画面中央に置かれる回転の基点
  - .blob::before は 中心からずらして配置された「丸い光」の実体
  - 親 .blob の回転により、::before が円を描くように動く
 ------------------------------ */
@keyframes blob_rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.bg-blobs {
  position: fixed;
  left: 0;
  top: 0;
  z-index: -1; /* 本文より背面へ */
  width: 100%;
  height: 100vh;
  overflow: hidden;
  pointer-events: none; /* 背景は操作対象外（クリック等を透過） */
}

.blob {
  position: absolute;
  left: 50%;
  top: 50%;
  animation-name: blob_rotate; /* 中心基準で回転させ、擬似要素の相対位置を円運動させる */
  animation-timing-function: linear; /* 一定速度で回転 */
  animation-iteration-count: infinite; /* アニメーションを無限に繰り返す */
}

.blob::before {
  content: "";
  display: block;
  position: absolute;
  border-radius: 50%;
  opacity: 0.4; /* 全体の発光強度（強すぎると本文を圧迫） */
  transform: translate(-50%, -50%); /* left/top の基準点（左上）を要素の中心に補正 */
  /* 見た目のコア：
      - background: radial-gradient（中心が最も濃く、外側でフェードアウト）
      - サイズ/位置/色/濃度は各 nth-child で個別に指定し、重なりで奥行きを作る */
}

/* 各 blob の速度や見た目（サイズ・色・配置・フェード距離）を個別に指定 */
.blob:nth-child(1) {
  animation-duration: 35000ms;
}

.blob:nth-child(1)::before {
  left: -150px;
  top: 150px;
  width: 350px;
  height: 350px;
  background: radial-gradient(rgba(68, 102, 206, 0.8) 0%, rgba(68, 102, 206, 0) 70%);
}

.blob:nth-child(2) {
  animation-duration: 30000ms;
  animation-direction: reverse; /* ひとつだけ回転の向きを反転 */
}

.blob:nth-child(2)::before {
  left: 250px;
  top: -250px;
  width: 500px;
  height: 500px;
  background: radial-gradient(rgba(249, 215, 122, 1) 0%, rgba(249, 215, 122, 0) 70%);
}

.blob:nth-child(3) {
  animation-duration: 25000ms;
}

.blob:nth-child(3)::before {
  left: 550px;
  top: 300px;
  width: 700px;
  height: 700px;
  background: radial-gradient(rgba(193, 26, 81, 0.5) 0%, rgba(193, 26, 81, 0) 70%);
}

/* ------------------------------
  レスポンシブ対応
------------------------------ */
@media (max-width: 767px) {
  /* 固定配置の背景レイヤー（モバイル調整）
      - 画面が狭いと blob（丸）が主張しやすいため、半径とオフセットのみ縮小
      - アニメ速度や不透明度は PC と同一にし、見た目のトーンを揃える
      - 文字や画像に被り過ぎないよう、端寄りの配置を弱める（left/top を再調整）
  */
  .blob:nth-child(1)::before {
    left: -50px;
    top: 50px;
    width: 250px;
    height: 250px;
  }

  .blob:nth-child(2)::before {
    left: 150px;
    top: -150px;
    width: 350px;
    height: 350px;
  }

  .blob:nth-child(3)::before {
    left: 450px;
    top: 150px;
    width: 500px;
    height: 500px;
  }
}
body {
  margin: 0;
  font-family: "Yu Gothic", sans-serif;
  background: #f5f5f5;
  color: #333;
  text-align: center;
}


header h1 {
  font-size: 38px;
  margin: 0;
}

main {
  padding: 30px 20px;
}

.card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  margin: 20px auto;
  padding: 25px;
  max-width: 800px;
  text-align: left;
}

.card h2 {
  color: #003366;
  margin-top: 0;
}

.button {
  display: inline-block;
  margin: 20px 0;
  background: #007bff;
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-size: 18px;
  text-decoration: none;
}

.button:hover {
  background: #0056b3;
}

footer {
  font-size: 14px;
  padding: 12px;
  background: #eee;
  color: #666;
}

/* その他の装飾は本題外のため省略 */