.service {
  color: #fff;
  background-color: #00009e;
}

/* MV */
.service-mv {
  background: url('../img/service-bg.jpg') no-repeat center / cover;
}

._open .service-mv-text {
  transform: translate(-133%, -50%);
}

.service-mv-text h1 {
  width: calc(605 / var(--full-width) * 100vw);
}
.s .service-mv-text h1 {
  width: calc(640 / var(--sp-full-width) * 100vw);
}

.service-mv-text p {
  width: calc(375 / var(--full-width) * 100vw);
}
.s .service-mv-text p {
  width: calc(420 / var(--sp-full-width) * 100vw);
}

/* スライドコンテナ */
.service-slideContainerWrapper {
  position: absolute;
  top: 14%;
  left: 13.5%;
  width: 75%;
}
.s .service-slideContainerWrapper {
  top: 16.5%;
  left: 4%;
  width: 96%;
}

.service-text {
  width: calc(635 / var(--full-width) * 100vw);
  font-size: calc(16 / var(--full-width) * 100vw);
  font-weight: 300;
  letter-spacing: calc(0.2 / var(--full-width) * 100vw);
  word-break: break-all;
  padding-top: calc(25 / var(--full-width) * 100vw);
}
.service-text:first-of-type {
  padding-top: calc(45 / var(--full-width) * 100vw);
}
.s .service-text {
  width: calc(590 / var(--sp-full-width) * 100vw);
  font-size: calc(26 / var(--sp-full-width) * 100vw);
  letter-spacing: calc(0.2 / var(--sp-full-width) * 100vw);
  padding-top: calc(65 / var(--sp-full-width) * 100vw);
}
.s .service-text:first-of-type {
  padding-top: calc(45 / var(--sp-full-width) * 100vw);
}
.s .service-text._jp {
  position: absolute;
  right: 1.5%;
}

.service-roll {
  position: absolute;
  top: 70%;
  right: 10%;
  width: 63vh;
  opacity: 0;
  transition: transform 1.1s ease-out, opacity 0.6s;
}
.s .service-roll {
  top: 80%;
  right: -15%;
  width: 75.5%;
}

.service-container {
  background-color: #fff;
  position: relative;
  padding: calc(70 / var(--full-width) * 100vw) calc(100 / var(--full-width) * 100vw)
    calc(200 / var(--full-width) * 100vw);
  overflow: hidden;
}
.s .service-container {
  padding: calc(100 / var(--sp-full-width) * 100vw) calc(30 / var(--sp-full-width) * 100vw)
    calc(200 / var(--sp-full-width) * 100vw);
}

/* 筆記体 */
.service-mask {
  width: 18%;
}
.s .service-mask {
  width: 32%;
}

/* サービス一覧 */
.service-list {
  margin-top: calc(70 / var(--full-width) * 100vw);
  display: flex;
  flex-direction: column;
  row-gap: calc(145 / var(--full-width) * 100vw);
}
.s .service-list {
  margin-top: calc(50 / var(--sp-full-width) * 100vw);
  row-gap: calc(180 / var(--sp-full-width) * 100vw);
}

.service-item {
  display: flex;
  column-gap: calc(100 / var(--full-width) * 100vw);
  align-items: center;
  position: relative;
  min-height: calc(320 / var(--full-width) * 100vw);
  transform: translateX(10%);
  transition: transform 0.6s ease-out;
}
.s .service-item {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: calc(370 / var(--sp-full-width) * 100vw);
  transform: translateX(12%);
}

.service-item._active {
  transform: translateX(0);
}

/* サービス名 */
.service-item-title {
  display: flex;
  flex-direction: column;
  row-gap: calc(25 / var(--full-width) * 100vw);
  position: relative;
}
.s .service-item-title {
  row-gap: calc(20 / var(--sp-full-width) * 100vw);
}

.service-item-title img {
  width: auto;
  height: calc(80 / var(--full-width) * 100vw);
}
.s .service-item-title img {
  height: calc(60 / var(--sp-full-width) * 100vw);
}

/* サービス詳細 */
.service-item-text {
  color: #0000b8;
  font-size: calc(16 / var(--full-width) * 100vw);
  font-weight: 500;
  line-height: 2;
  position: absolute;
  bottom: 8%;
  left: 50vw;
  width: 140%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.s .service-item-text {
  top: 115%;
  left: 10vw;
  width: max-content;
  font-size: calc(20 / var(--sp-full-width) * 100vw);
  line-height: 1.6;
}

.service-item:last-of-type .service-item-text {
  bottom: initial;
  top: -5%;
}
.s .service-item:last-of-type .service-item-text {
  top: 115%;
}

.service-item._active .service-item-text {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s 0.4s, visibility 0.6s 0.4s;
}

/* サービス一言 */
.service-item-word {
  position: absolute;
  bottom: 10%;
  right: 10%;
  width: 18%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.s .service-item-word {
  top: 103%;
  bottom: initial;
  right: 0;
  width: 18%;
}
.s .service-item._1line .service-item-word {
  top: 90%;
}
.service-item._active .service-item-word {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s 0.4s, visibility 0.6s 0.4s;
}
