@charset "UTF-8";

.stars {
  position: relative;
  width: 100%;
  height: 250px;
  margin-bottom: 50px;
  background-image: linear-gradient(0deg, #6A6060, #6A6060);
  overflow: hidden;
}

.star {
  position: absolute;
  display: block;
  background-color: #ffef3e;
  border-radius: 50%;
  box-shadow: 0 0 4px 2px rgba(#ffffff, 0.2);
  opacity: 0;
  animation: twinkle 7s infinite;
}

@keyframes twinkle {
  0% {
    opacity: 0;
  }

  50% {
    transform: scale(1.1);
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: scale(1);
  }
}

body {
  background: #dee1e2
}

body {
  font-family: "游ゴシック", "Yu Gothic", "Meiryo", "メイリオ", "sans-serif", serif;
}

body {
  position: relative;
}

.title {
  display: flex;
  justify-content: center;
  position: relative;
  top: 20px;
  color: #43D9BB;
  font-weight: bold;
  font-size: 70px;
}

.grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  max-width: 1020px;
  margin: auto;
  padding: 30px;
}

.img-item {
  opacity: 0;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

h1 {
  text-align: center;
}

.copy {
  display: flex;
  justify-content: flex-start;
  color: #000000;
  font-size: 6px;
  position: sticky;
  bottom: 0;
}

@media screen and (max-width:699px) {

  .title {
    display: flex;
    justify-content: center;
    position: relative;
    top: 40px;
    color: #43D9BB;
    font-weight: bold;
    font-size: 45px;
  }

  .grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    max-width: 1020px;
    margin: auto;
    padding: 30px;
  }

  h1 {
    color: #242961;
    font-size: 18px;
  }
}