.swiper-container,
.swiper-slide {
   height: 100vh;
}
.swiper-slide > img {
   object-fit: cover; /* IE: not support */
   width: 100%;
   height: 100%;
}

.omotenashi-title-sub {
  color: var(--Second-blue, #0541DA);
  text-align: center;
  font-family: Inter;
  font-size: 17px;
  font-style: normal;
  font-weight: 700;
  line-height: 32px;
  letter-spacing: 5.44px;
}

.omotenashi-title-main {
  color: var(--Second-blue, #0541DA);
  text-align: center;
  font-family: "Noto Sans JP";
  font-size: 60px;
  font-style: normal;
  font-weight: 700;
  line-height: 68px;
  letter-spacing: 1.8px;
  margin-bottom: 30px;
}

.taC {
  color: var(--Dark-400, #474F74);
  text-align: center !important;
  font-family: "Noto Sans JP";
  font-size: 16px !important;
  font-style: normal;
  font-weight: 400;
  line-height: 33px !important;
}

#service-title {
  position: absolute;
  top: 7rem;
  left: calc((100vw - 1000px) / 2);
  z-index: 10;
}

#services section {
  color: var(--color-white);
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #1653CF -12.07%, #0020B9 112.97%, rgba(15, 72, 203, 0) 112.97%);
}

#services section .service-container {
  display: flex;
  flex-direction: row-reverse;
  align-items: stretch;
  justify-content: center;
}

#services section:nth-of-type(2n) .service-container {
  flex-direction: row;
}

#services section:nth-of-type(2n) .service-container .service-content>* {
  margin-left: 10rem;
}

.service-image {
  width: 50vw;
  max-width: 500px;
  height: 600px;
  display: flex;
  align-items: center;
}

.service-content {
  width: 50vw;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-content h3 {
  font-family: "Poppins";
  font-size: 32px;
  font-weight: bold;
}

.service-content p {
  font-size: 14px;
  line-height: 26px;
}

.service-content * {
  margin-bottom: 2rem;
}

.service-content *:last-child {
  margin-bottom: 0;
}

.service-overflow-image {
  object-fit: cover;
  overflow: visible;
  z-index: -1;
  /* safariはheight指定だと、親要素でoverflow: visibleが効かない */
  transform: scale(2.3);
}

@media screen and (max-width: 767px) {
  #service-title {
    position: absolute;
    top: 2rem;
    left: 0;
    right: 0;
    margin: 0 auto;
  }

  #service-title>* {
    text-align: center;
  }

  #services section:first-of-type {
    padding-top: 10rem !important;
  }

  #services section .service-container {
    width: 96vw;
    flex-direction: column !important;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding-top: 3rem;
    padding-bottom: 5rem;
  }

  #services .service-image {
    width: 90%;
    height: 420px
  }

  .service-overflow-image {
    margin-top: -30px;
  }

  #services section:nth-of-type(2n) .service-container .service-content>*,
  #services .service-content>* {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .service-content {
    width: 100%;
    height: auto;
  }
}

.p-mainVisual.front-page {
  height: 650px;
}

@media screen and (max-width: 767px) {
  .p-mainVisual.front-page {
    height: 600px;
  }  
}
