@charset "UTF-8";

html {
  height: 100%;
  background-image: url("../img/background-2.png");
  background-size: 100% auto;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat
}

body {
  height: 100%;
  margin: 0;
}

.main_section {
    position: relative;
    display: block;
    height: 100%;
    width: 100vw;
}

.topcontents_section {
  position: absolute;

  height: 100%;

  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  text-align: center;
  z-index: 5;
}

.loop_section {
  position: relative;
  height: 100%;
  z-index:
}

/* top contents */

.logo {
  position: absolute;
  width: 80%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;

  animation: loop 1s infinite ease-in-out .8s alternate;
  display: inline-block;
  transition: 1.5s ease-in-out;
}

.logo_under {
  position: absolute;
  width: 80%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
}

/* loop animation */

@keyframes loop {
  0% {
    opacity:1;
  }
  100% {
    opacity:0;
  }
}

.js-box {
  display: none;
}

.item {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  width: 300px;
  height: 200px;
  color: #fff;
  background-color: #000066;
}

@media screen and (min-width:750px) {
  .topcontents_section {
    width: 750px;
  }

  .loop_wrap {
    width: 180vw;
  }
}

@media screen and (min-width:1200px) {
  .topcontents_section {
    width: 750px;
  }

  .loop_wrap {
    width: 120vw;
  }
}