.topPage {
  height: 100%;
  width: 100%;
}
.wrapper {
  margin-left: 15%;
  overflow: hidden;
}

.kv {
  position: relative;
  background-image: url(../images/panoramic-view-of-the-sea2.jpg);
  background-size: cover;
  animation: bgscroll 60s normal linear infinite;
  height: 100vh;
}

@keyframes bgscroll {
  0% {background-position: 0 0;}
  100% {background-position: 100% 0;}
}
.top_title {
     position: absolute;
    top: 52%;
    left: 54%;
    font-size: 4.7vw;
    line-height: 1.2;
    transform: translate(-50%, -50%);
    width: 50vw;
}
/*担当箇所*/
.client {
  padding: 5% 8%;
  background-color: #EFEFEF;
}
.title {
  margin-bottom: 30px;
  font-size: 5.3rem;
  color: #231815;
}
.subTitle {
  margin-bottom: 50px;
  font-size: 2.3rem;
  color: #231815;
  font-weight: bold;
}
.clientBlock {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.clientList {
  flex: 0 0 33.5%;
  padding-right: 2%;
}
.clientList:nth-child(2) {
  flex: 0 0 43.5%;
}
.clientList:nth-child(3) {
  flex: 0 0 23%;
    padding-right: 0;
}
.clientItem {
  margin-bottom: 9px;
  font-size: 1.3rem;
  color: #231815;
  list-style: none;
}
.clientItem--space {
  padding-left: 10px;
}
.vision {
  position: relative;
  padding: 5% 8%;
  color: #fff;
  background-color: #0555ac;
  z-index: -2;
}
.visionBack {
   will-change: animation, position, -webkit-mask-position, transition;
  -webkit-mask-image: url('/images/v-vision.png');
  mask-image: url('/images/v-vision.png');
  mask-type: alpha;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-size: 40%;
  -webkit-mask-size: 45%;
  -webkit-mask-position: 100vw 0;
  width: 100%;
  height: 82%;
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  transition: -webkit-mask-size 1s; 
}
.slideAnime1 {
animation: slidein 1s ease-out forwards;
}
@keyframes slidein {
 100% {
    -webkit-mask-position:100%, 0;
  }
}
.visionTitle {
  margin: 0px;
  margin-bottom: 30px;
  font-size: 5.3rem;
  color: #fff;
}
.visionSubTitle {
  margin-bottom: 50px;
  font-size: 2.3rem;
  font-weight: bold;
  color: #fff;
}
.description {
  line-height: 2;
  margin: 15px 0;
  font-size: 1.4rem;
  letter-spacing: 2px;
}
.service {
 position: relative;
  padding: 5% 8%;
}
.serviceItemList {
  position: relative;
  width: 100%;
  height: 40vw;
  max-height: 400px;
}
.serviceItemOne {
  top: 0;
  left: 0;
}
.serviceItemTwo {
  top: 20%;
  left: 15%;
}
.serviceItemThree {
  top: 40%;
  left: 30%;
}

.serviceItem {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: absolute;
  margin-bottom: 10px;
  width: 60%;
  font-weight: bold;
  cursor: pointer;
}

.serviceItemText {
  position: relative;
  z-index: 0;
  overflow: hidden;
  z-index: 0;
  overflow: hidden;
  margin-right: 22px;
  padding: 5px 13px;
  background-color: #000;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  font-weight: bold;
}
.serviceItemText::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 0%;
  height: 100%;
  background-color: #0555ac;
  -webkit-transition: .5s;
  transition: .5s;
}
.serviceItemText:hover::before {
  width: 100%;
}
.serviceItemText p {
font-weight: bold;
}
.image {
  display: block;
  width: 100%;
}
.arrowImage {
  width: 36px;
  margin-right: 10px;
}
.arrowImage--hover {
  animation: rotate-anime 0.5s linear;
}
@keyframes rotate-anime {
  0%  {transform: rotate(0);}
  100%  {transform: rotateX(180deg);}
}
.moreImage {
  width: 90px;
}
.topArrow {
  position: absolute;
  top : -1px;
  right: 0;
  width: 580px;
  animation: topSlidein 1s ease-out forwards;
}
@keyframes topSlidein {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0%);
  }
}
.topArrowClient {
  position: absolute;
  bottom : 0;
  left: 0;
  width: 48%;
}
.slideAnime {
  animation: serviceSlidein 0.5s ease-out forwards;
}
@keyframes serviceSlidein {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0%);
  }
}
@media screen and (min-width: 781px) and (max-width: 1000px) {
.description {
  font-size: 1.1rem;
}
}
/* SP　*/
@media screen and (max-width: 780px) {
  .wrapper {
    margin-left: 0;
  }
  .kv {
    height: 80vh;
    object-fit: cover;
    background-size: cover;
  }
  .topArrow {
    right: 0;
    width: 210px;
  }
  .top_title {
    width: 350px;
    font-size: 4rem;
    line-height: 1.2;
    top: 48%;
    left: 54%;
  }
  .client {
    padding: 8% 5%;
  }
 .vision {
    padding: 8% 5% 50%;
  }
  .service {
    padding: 8% 5% 30vw;
  }
  .visionTitle, .title {
    margin-bottom: 2rem;
    font-size: 3.5rem;
  }
  .visionSubTitle, .subTitle {
    font-size: 1.7rem;
    margin-bottom: 2rem;
  }
  .description {
    font-size: 1.1rem;
    line-height: 1.9;
  }
  .serviceItemList {
    height: auto;
  }
  .serviceItem {
    position: initial;
    margin: 4rem auto;
    width: 80%;
  }
  .serviceItemText {
    width: 190px;
    padding: 0.5rem 1.5rem;
  }
  .serviceItemText p {
    font-size: 1.6rem;
  }
  .clientBlock {
    display: block;
  }
  .clientItem {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }
  .clientItem--space {
    padding-left: 6px;
  }
  .top_scroll {
    width: 7rem;
    margin: 0 auto;
    position: absolute;
    bottom: 5%;
    left: 0;
    right: 0;
  }
  .service_scroll {
    width: 10%;
    margin: 3rem auto;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
  }
  .topArrowClient {
    width: 70%;
  }
  .scroll-down{
    width: 1px;
    height: 60px;
    background: #fff;
    animation: scrollDown 2s ease infinite;
    margin: 0 auto; 
  }
  .scroll-down-black {
    background: #000;
  }
  @keyframes scrollDown{
  0%{
      transform-origin: top;
      transform: scaleY(0);
  }
  45%{
      transform-origin: top;
      transform: scaleY(1);
  }
  55%{
      transform-origin: bottom;
      transform: scaleY(1);
  }
  100%{
      transform-origin: bottom;
      transform: scaleY(0);
  }
  }
  .scroll-text {
    color: #fff;
    text-align: center;
  }
  .scroll-text-black {
    color: #000;
  }

 .visionBackSp {
   will-change: animation, position, -webkit-mask-position, transition;
  -webkit-mask-image: url('/images/v-vision-sp.png');
  mask-image: url('/images/v-vision-sp.png');
  mask-type: alpha;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-size: 40%;
  -webkit-mask-size: 63%;
  -webkit-mask-position: 100vw bottom;
  width: 100%;
  height: 40vh;
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: -1;
  transition: -webkit-mask-size 1s; 
 }
.slideAnime3 {
   animation: slidein 1s ease-out forwards;
 }
@keyframes slidein {
 100% {
    -webkit-mask-position: right bottom;
  }
}

.slideAnime4 {
  animation: serviceSlidein4 0.5s ease-out forwards;
}
@keyframes serviceSlidein4 {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0%);
  }
}

}
