@charset "UTF-8";

.animation-bg {
  display: none;
}

.fade .animation-bg.show {
  display: block;
  background-color: #fff;
  content: "";
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  animation-name: PageAnime-fade;
  animation-duration: 3.5s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
  pointer-events: none;
}

@keyframes PageAnime-fade {
  0% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    display: none;
  }
}

.animation-bg.show .opening {
  display: block;
  width: 30%;
  margin: 20vh auto;
  animation-name: ImgAnime-fade;
  animation-duration: 3.5s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
  pointer-events: none;
}

@keyframes ImgAnime-fade {
  0% {
    opacity: 0;
  }
  5% {
    opacity: 0.3;
  }
  10% {
    opacity: 0;
  }
  15% {
    opacity: 0.3;
  }
  20% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    display: none;
  }
}


/* カルーセル */
/*スライダー001*/
.content_slider {
  width: 100%;
  position: relative;
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  border-radius: 6px;
}

.slide {
  width: 100%;
  flex-shrink: 0;
  position: relative;
  top: 0;
  left: 0;
  transition: all 0.6s ease-in-out;
}

.slide_kv_area {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide_kv {
  display: flex;
  justify-content: center;
  width: 85%;
  margin: 0 auto;
}

.slide_kv img {
  width: 100%;
}

.slide_text {
  position: absolute;
  visibility: hidden;
  opacity: 0;
  width: 85%;
  height: 20%;
  top: 80%;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 80%);
  color: #fff;
  margin: 0 auto;
  padding: 10px 10px 0px 10px;
}

.slide_text:hover,
.slide_kv:hover + .slide_text {
  visibility: visible;
  opacity: 1;
  transition: all 0.2s ease;
}

.prev-001,
.next-001 {
  cursor: pointer;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.8);
  top: 45%;
  width: auto;
  padding: 16px;
  margin-top: -28px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.2s ease;
  border-radius: 0 4px 4px 0;
  user-select: none;
}

.next-001 {
  right: 0;
  border-radius: 4px 0 0 4px;
}

.prev-001:hover,
.next-001:hover {
  color: #000;
  background-color: rgba(256, 256, 256, 0.8);
}

.numbertext {
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 8px 16px;
  position: absolute;
  top: 0;
}

.dots {
  width: 100%;
  margin-top: 20px;
  text-align: center;
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 10px 4px;
  background-color: #000;
  border-radius: 50%;
  display: inline-block;
  transition: all 0.2s ease;
}

.dot:hover {
  background-color: #000;
}

.active_dot {
  background-color: #d3985d;
}



/* SPサイズ */
@media screen and (max-width:1020px) { 
  /* 画面サイズが480pxまではここを読み込む */

  .animation-bg.show .opening {
    display: block;
    width: 30%;
    margin: 30vh auto;
    animation-name: ImgAnime-fade;
    animation-duration: 3.5s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    pointer-events: none;
  }

  /* カルーセル */
  /*スライダー001*/
  .content_slider {
    display: flex;
    width: 100%;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 6px;
  }

  .slide_kv {
    display: flex;
    justify-content: center;
    width: 80%;
    margin: 0 auto;
  }

  .slide_text {
    width: 80%;
    background-color: rgba(0, 0, 0, 80%);
    color: #fff;
    margin: 0 auto;
    padding: 10px 10px 10px 10px;
  }

  .prev-001,
  .next-001 {
    cursor: pointer;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.8);
    top: 40%;
    width: auto;
    padding: 10px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.2s ease;
    border-radius: 0 4px 4px 0;
    user-select: none;
  }

  .dots {
    width: 100%;
    text-align: center;
  }

}
