@charset "UTF-8";

/* hero */

#hero {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

#hero img,
#hero picture img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}

/* scroll-down */

@media screen and (max-width: 1023.98px) {
  .scroll-down {
    display: block;
    position: absolute;
    z-index: 5;
    left: 70%;
    bottom: 8px;
    transform: translateX(-50%);
    pointer-events: none;
    will-change: transform;
  }

  .scroll-down:before {
    content: "";
    position: absolute;
    left: -4px;
    bottom: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    opacity: 0.4;
    animation:
      circlemove 1.6s ease-in-out infinite,
      circlefade 1.6s ease-out infinite;
    background: var(--key-color);
  }

  .scroll-down:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 2px;
    height: 50px;
    opacity: 0.4;
    background: var(--key-color);
  }

  @keyframes circlemove {
    0% {
      bottom: 45px;
    }
    100% {
      bottom: -5px;
    }
  }

  @keyframes circlefade {
    0% {
      opacity: 0;
    }
    50% {
      opacity: 1;
    }
    80% {
      opacity: 0.9;
    }
    100% {
      opacity: 0;
    }
  }
}

/* info */

#info .container {
  max-width: 600px;
}

#info ul li {
  line-height: 1.6;
}

#info ul li:not(:last-child) {
  margin-bottom: 0.8rem;
}

#info li time {
  margin-right: 0.2rem;
  color: var(--sub-color01);
}

/* online-shop */

#online-shop {
  position: relative;
  width: 100%;
  padding: 8rem 0;
  overflow: hidden;
}

#online-shop::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image: url("../images/top/16dinosaurs01.webp");
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}

#online-shop .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

#online-shop .container > div {
  display: inline-block;
  border-radius: 2px;
  padding: 2rem 3rem;
  background-color: rgba(255, 255, 255, 0.8);
}

/* about */
/* office */

#about .container,
#office .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

#about .btn-wrapper,
#office .btn-wrapper {
  text-align: right;
}

@media screen and (min-width: 1024px) {
  #about .container,
  #office .container {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }

  #about .img-diagonal-wrapper,
  #office .img-diagonal-wrapper {
    flex: 1;
  }

  #about .text-wrapper,
  #office .text-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 2rem;
  }

  #about .img-diagonal-wrapper {
    order: 0;
  }

  #about .text-wrapper {
    order: 1;
  }

  #office .img-diagonal-wrapper {
    order: 1;
  }
  #office .text-wrapper {
    order: 0;
  }
}

/* items */

#items .img-gp {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media screen and (min-width: 768px) {
  #items .img-gp {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
  }
}

/* blog */

#blog .box-gp {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

#blog img {
  margin-bottom: 0.4rem;
}

#blog h3 {
  margin-bottom: 0rem;
}

@media screen and (min-width: 768px) {
  #blog .box-gp {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}
