/* リセットスタイル */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  width: 100%;
  height: 100%;
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url('your-background-image.jpg') no-repeat center center fixed;
  background-size: cover;
  overflow: hidden;
  position: relative; /* 光の粒のエフェクト用 */
}

/* 光の粒のスタイル */
@keyframes snow-fall {
  0% {
    transform: translateY(-10px) scale(0.5);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) scale(1);
    opacity: 0;
  }
}

/* 光の粒を複数作成 */
.snowflake {
  position: absolute;
  top: -10px;
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  filter: blur(3px);
  opacity: 0;
  animation: snow-fall 10s linear infinite;
}

/* 異なる光の粒をランダムに配置 */
.snowflake:nth-child(odd) {
  animation-duration: 12s;
  animation-delay: 0s;
}

.snowflake:nth-child(even) {
  animation-duration: 8s;
  animation-delay: 2s;
}

/* さらに多くの粒をランダム配置 */
.snowflake:nth-child(3n) {
  animation-duration: 15s;
  animation-delay: 1s;
}

.snowflake:nth-child(4n) {
  animation-duration: 10s;
  animation-delay: 4s;
}


.container {
  position: relative;
  text-align: center;
  color: white;
  padding: 20px;
}

/* ロゴ配置 */
.logo {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000; /* 必要に応じて最前面に */
  padding-top: 50px; /* 上に少し余白をとるなら任意で */
}

.logo img {
  width: 300px;
  height: auto;
}

/* メインテキストのスタイル */
.text p {
  font-size: 2rem;
  margin-bottom: 20px;
  font-family: 'Noto Serif JP', serif;
}

/* サイト構築中のテキスト */
.construction p {
  font-size: 1rem;
  margin-top: 100px;
  margin-bottom: 40px;
}

/* ソーシャルアイコン */
.social {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
}

.social a img {
  width: 40px;
  height: 40px;
}

/* フッター */
footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  text-align: center;
  font-size: 13px;
  color: white;
  font-family: 'Noto Serif JP', serif;
  background-color: transparent;
  padding: 10px 0;
  letter-spacing: 0.5em;
}

/* スマホ用スタイル */
@media (max-width: 768px) {
  .logo {
    top: 150px; /* スマホでは150pxの位置に配置 */
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .logo img {
    width: 200px; /* スマホ用にロゴの幅を200pxに設定 */
    height: auto;
  }

  .text p {
    font-size: 1.5rem;
  }

  .construction p {
    font-size: 0.9rem;
  }

  .social {
    bottom: 50px; /* スマホ画面での位置を調整 */
  }

  .social a img {
    width: 30px;
    height: 30px;
  }
}

/* 協賛ボタン */
.sponsor-button {
  position: fixed;
  bottom: 160px; /* socialの上に表示（socialが100pxなので、上に60px） */
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
}

.sponsor-button a {
  display: inline-block;
  width: 200px;
  height: 40px;
  background-color: #e60000; /* 赤 */
  color: white;
  text-align: center;
  line-height: 40px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.sponsor-button a:hover {
  background-color: #ff3333;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .sponsor-button {
    bottom: 110px;
  }

  .sponsor-button a {
    width: 160px;
    height: 36px;
    font-size: 14px;
    line-height: 36px;
  }
}
