a {
  color: #1E90FF;
  text-decoration: none;
}
body {
  background: black !important;
  overflow: auto; /* スクロール可能に設定 */
}

html {
  width: 100%;
  height: 100%;
  overflow: auto; /* スクロール可能に設定 */
}

.background {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.spotlight {
  position: fixed; /* スクロールに追従するように固定配置 */
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(150, 0, 60, 0.6), rgba(0, 0, 0, 0) 70%);
  filter: blur(30px);
  border-radius: 50%;
  opacity: 0.7;
  animation: moveSpotlight 20s linear infinite; /* アニメーションを20秒でループ */
}

.spotlight:nth-child(1) {
  top: calc(50% + var(--scroll-top, 0px)); /* 初期位置とスクロール量を合わせて調整 */
  left: 30%;
  background: radial-gradient(circle, rgba(255, 0, 120, 0.6), rgba(0, 0, 0, 0) 70%);
  animation-duration: 5s;
}

.spotlight:nth-child(2) {
  top: calc(40% + var(--scroll-top, 0px)); /* 初期位置とスクロール量を合わせて調整 */
  left: 50%;
  background: radial-gradient(circle, rgba(0, 60, 255, 0.6), rgba(0, 0, 0, 0) 70%);
  animation-duration: 6s;
}

.spotlight:nth-child(3) {
  top: calc(50% + var(--scroll-top, 0px)); /* 初期位置とスクロール量を合わせて調整 */
  left: 70%;
  background: radial-gradient(circle, rgba(200, 120, 0, 0.6), rgba(0, 0, 0, 0) 70%);
  animation-duration: 8s;
}

.spotlight:nth-child(4) {
  top: calc(60% + var(--scroll-top, 0px)); /* 初期位置とスクロール量を合わせて調整 */
  left: 40%;
  background: radial-gradient(circle, rgba(0, 200, 0, 0.4), rgba(0, 0, 0, 0) 70%);
  animation-duration: 10s;
}

@keyframes moveSpotlight {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
  }
  25% {
    transform: translate(calc(-50% + 30px), calc(-50% + 30px)) scale(1.5);
  }
  50% {
    transform: translate(calc(-50% - 30px), calc(-50% + 30px)) scale(1.5);
  }
  75% {
    transform: translate(calc(-50% - 30px), calc(-50% - 30px)) scale(1.5);
  }
}

.container {
  position: relative;
  z-index: 2;
}


form {
  margin-top: 20px;
}

.form-control, .btn {
  border: none;
  border-radius: 5px;
}

.form-control:focus, .btn:focus {
  outline: none;
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}


.thumbnail-container {
  display: flex;
  justify-content: center;
  align-items: center;
　width: 100%; /* 必要に応じて調整 */
}

.thumbnail {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* サムネイルの影 */
}

.thumbnail img {
  width: 100%;
  display: block;
  border-radius: 10px; /* 画像も丸い角に */
  transition: transform 0.3s ease; /* 拡大時の滑らかなアニメーション */
}



.thumbnail:hover img {
  transform: scale(1.1); /* マウスオーバー時に画像も拡大する */
}

.thumbnail:hover .like-icon {
  transform: none; /* アイコンリンクの画像は拡大の対象外にする */
}

.like-button:hover .like-icon {
  transform: scale(1.2); /* アイコンのホバー時にアイコンを拡大する */
}

.overlay {
  position: absolute;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 8px; /* アイコンとテキストの間隔 */
  z-index: 9; 
}

.overlay .icon-image {
  width: 40px; /* アイコンのサイズ */
  height: 40px;
  flex-shrink: 0; /* 縮小されないように */
}

.overlay div {
  flex-grow: 1;
  min-width: 0;
  overflow: hidden;
}

.overlay p {
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}



.overlay h3 {
  margin-top: 0;
}

.overlay p {
  margin-bottom: 0;
}


.thumbnail-container {
  position: relative;
  display: inline-block;
}

.like-container {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 5px;
  border-radius: 5px;
  z-index: 9; 
}

.like-icon {
  width: 20px;
  height: 20px;
  cursor: pointer;
  transition: transform 0.3s ease; /* アニメーションのスムーズな効果 */
  border: none; /* 枠線を削除 */
}

.like-count {
  margin-right: 5px;
  margin-left: 5px;
  font-size: 16px;
}

.like-button {
  border: none; /* 枠線を削除 */
  background: none; /* 背景を削除 */
  padding: 0; /* パディングを削除 */
  cursor: pointer; /* ポインタを表示 */
}

.like-button:focus {
  outline: none; /* フォーカス時の枠線を削除 */
}

 .thumbnail .prompt-icon {
    position: absolute;
    top: -5px;
    left: -5px;
    width: 80px;
    height: 60px;
	z-index: 10;
  }


.icon-header {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}

/* スクロールバー全体 */
::-webkit-scrollbar {
    width: 8px;  /* 幅 */
    height: 8px; /* 横スクロールバーの高さ */
}

/* スクロールバーのつまみ（ドラッグ部分） */
::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #6a11cb, #2575fc); /* グラデーションでクールな色合いに */
    border-radius: 10px; /* 丸みをつける */
}

/* スクロールバーの背景 */
::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1); /* 背景に薄いグレーを設定 */
    border-radius: 10px;
}