/* メインビジュアル */
#splash {
  display: none;
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100%;
  background: #fff;
  text-align: center;
  color: #333;
}
#splash img {
  position: absolute;
  top: 38%;
  left: 50%;
  z-index: 999;
  width: 15%;
  min-width: 180px;
  transform: translate(-50%, -50%);
}
/* Loadingバー中央配置*/
#splash_text {
  position: absolute;
  top: 55%;
  left: 50%;
  z-index: 999;
  width: 8%;
  min-width: 120px;
  transform: translate(-50%, -50%);
  border-radius: 20px;
}
#splash_text svg {
  border-radius: 20px;
}
#home {
  position: relative;
}
#home img {
  position: relative;
  width: 100%;
}
.FV {
  left: calc(50% + 20%);
  font-size: 80px;
}
#sp_home {
  display: none;
}

/* スクロールバー */
.scrolldown1 {
  position: absolute;
  left: 50%;
  bottom: -40px;
  height: 110px; /*全体の高さ*/
  width: 22px;
}
/*Scrollテキストの描写*/
.scrolldown1 span {
  position: absolute;
  left: 10px;
  top: 40px;
  color: #333;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  /*縦書き設定*/
  -ms-writing-mode: tb-rl;
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
}

/* 線の描写 */
.scrolldown1::after {
  content: "";
  position: absolute;
  top: 0;
  width: 1px;
  height: 80px;
  background: #333;
  /*線の動き1.4秒かけて動く。永遠にループ*/
  animation: pathmove 1.4s ease-in-out infinite;
  opacity: 0;
}

/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove {
  0% {
    height: 0;
    top: 0;
    opacity: 0;
  }
  30% {
    height: 60px;
    opacity: 1;
  }
  100% {
    height: 0;
    top: 100px;
    opacity: 0;
  }
}
@media screen and (max-width: 767px) {
  #home {
    display: none;
  }
  #sp_home {
    display: block;
    position: relative;
    margin: 0 auto;
    width: 100%;
  }
  .sp_name {
    position: relative;
    max-width: 315px;
    width: 100%;
    margin: 30px auto;
  }
  .scrolldown1 {
    /*描画位置※位置は適宜調整してください*/
    position: absolute;
    left: 50%;
    bottom: -85px;
    /*全体の高さ*/
    height: 50px;
  }
}

/* アバウト */
h3 {
  margin: 40px 0;
  text-align: center;
  font-family: "Lato", sans-serif;
  font-size: 40px;
  font-weight: 300;
}
.about {
  display: flex;
  justify-content: space-between;
  max-width: 1000px;
  margin: 300px auto;
}
.about_wrap {
  max-width: 500px;
  margin-left: 20px;
}
.about_wrap p {
  margin: 50px 0 60px;
  font-size: 16px;
  line-height: 2.18;
}
.btnmore {
  position: relative;
}
.more {
  display: block;
  position: relative;
  text-align: center;
  width: 180px;
  margin-left: auto;
  padding: 16px 0;
  border-style: solid;
  border-width: 1px;
}
.objmore {
  position: absolute;
  top: 50%;
  left: calc(50% - 0%);
  transform: translate(-50%, -50%);
  width: 130px;
}
.about_pic {
  margin: 0 20px;
}
.sp_about {
  display: none;
}

@media screen and (max-width: 767px) {
  h3 {
    margin: 200px 0 40px;
  }
  .about {
    display: none;
  }
  .sp_about {
    display: block;
    justify-content: center;
    margin: 0 auto;
    max-width: 315px;
  }
  .sp_about p {
    margin: 50px 0 60px;
    text-align: center;
    font-size: 14px;
    line-height: 1.75;
  }
  .btnmore,
  .btnmessage_home {
    position: relative;
    text-align: center;
  }
  /* .message_home {
    width: 100px;
  } */
  .more {
    display: inline-block;
    position: relative;
    margin: 0 auto;
    text-align: center;
    padding: 16px 0;
    font-size: 16px;
  }
  .objmore {
    left: calc(50% - 27%);
    width: 100px;
  }
}
/* ワークス */
.slider {
  display: flex;
}
.slider {
  margin: 0 auto;
}
.slider img {
  width: 20vw; /*スライダー内の画像を60vwにしてレスポンシブ化*/
  height: auto;
}
.slider .slick-slide {
  transform: scale(0.8); /*左右の画像のサイズを80%に*/
  transition: all 0.5s; /*拡大や透過のアニメーションを0.5秒で行う*/
  filter: grayscale(100%);
}

.slider .slick-slide.slick-center {
  transform: scale(1); /*中央の画像のサイズだけ等倍に*/
  filter: grayscale(0%);
}

@media screen and (max-width: 767px) {
  .slider img {
    width: 50vw; /*スライダー内の画像を60vwにしてレスポンシブ化*/
  }
}
/* 矢印 */
.slick-prev,
.slick-next {
  position: absolute;
  top: auto;
  bottom: -30px;
  z-index: 1;
  width: 40px;
  height: 40px;
}
.slick-next {
  left: calc(50% + 15px);
  transform: translate(0%, 100%);
}
.slick-prev {
  left: calc(50% - 15px);
  transform: translate(-100%, 100%);
}
/* 丸 */
.slick-prev:before,
.slick-next:before {
  content: "";
  width: 35px;
  height: 35px;
  border: 1px solid #333;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 0;
}
/* 三角 */
.slick-prev:after,
.slick-next:after {
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 5px 6px 9px;
  border-color: transparent transparent transparent #333;
  top: 50%;
  left: 57%;
  transform: translate(-50%, -50%);
}
.slick-prev:after {
  transform: translate(-50%, -50%) rotate(-180deg);
  left: 37%;
}
/* コンタクト */
.contact {
  text-align: center;
  max-width: 1000px;
  margin: 350px auto 80px;
  font-size: 16px;
}
.contact p {
  margin: 65px auto;
  line-height: 1.87;
}
.message_home:hover {
  opacity: 0.5;
}
.message_home {
  display: block;
  position: relative;
  margin: 20px auto 240px;
  padding: 16px 0;
  width: 200px;
  border: 1px solid;
  font-size: 16px;
}
.objmessage {
  position: absolute;
  top: 75%;
  left: calc(50% - 110px);
  transform: translate(-50%, -50%);
  width: 145px;
}
.sp {
  display: none;
}
@media screen and (max-width: 767px) {
  .sp {
    display: block;
  }
  .contact {
    max-width: 315px;
    margin: 210px auto 140px;
  }
  .contact p {
    font-size: 14px;
  }
  .objmessage {
    left: calc(50% - 100px);
    width: 100px;
  }
}
