@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&family=Noto+Serif+JP:wght@400;700&display=swap");
body,
html {
  overflow: visible;
}

main {
  width: 100%;
  padding: 0;
}

.service .low-mv {
  width: 100%;
  height: auto;
  min-height: 100vh;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
@media screen and (max-width: 780px) {
  .service .low-mv {
    padding: 150px 25px 50px;
  }
  .service .low-mv .txts {
    margin-bottom: 0;
  }
}

.B1-cont {
  position: relative;
  width: 100%;
  margin: 0 !important;
}
.B1-cont .service_anm_wrap {
  position: relative;
  width: 100%;
  height: 100vh;
  will-change: contain;
  contain: paint;
}
.B1-cont .service_anm_wrap .service_anm_inner {
  position: absolute;
  top: -100vh;
  width: 100%;
  height: 300vh;
}
.B1-cont .service_anm_wrap .service_anm_inner .service_anm_sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
}
.B1-cont .service_anm_wrap .service_anm_inner .service_anm_sticky .wraps {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.B1-cont .service_anm_wrap .service_anm_inner .service_anm_sticky .wraps .wraps-img img {
  object-fit: cover;
}
.B1-cont .service_anm_wrap .service_anm_inner .service_anm_sticky .wraps .service_anm_txt_box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: "adobe-garamond-pro", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  gap: 2.5em;
}
.B1-cont .service_anm_wrap .wraps-txt h2 .big {
  font-size: 42px;
  font-style: normal;
  color: #56817a;
}
.B1-cont .service_anm_wrap .wraps-txt h3 {
  margin: 0;
}
.B1-cont .service_anm_wrap:nth-child(1) {
  z-index: 110;
}
.B1-cont .service_anm_wrap:nth-child(1) .service_anm_inner {
  top: 0;
  height: 200vh;
}
.B1-cont .service_anm_wrap:nth-child(2) {
  z-index: 111;
}
.B1-cont .service_anm_wrap:nth-child(2) .wraps-txt {
  background-color: #63978f;
}
.B1-cont .service_anm_wrap:nth-child(2) .wraps-txt h2 {
  color: #fff;
}
.B1-cont .service_anm_wrap:nth-child(2) .wraps-txt h2 .min {
  font-size: 20px;
  font-weight: 400;
  font-style: italic;
  color: #fff;
}
.B1-cont .service_anm_wrap:nth-child(2) .wraps-txt h2 .big {
  color: #fff;
}
.B1-cont .service_anm_wrap:nth-child(2) .wraps-txt h3 {
  color: #fff;
}
.B1-cont .service_anm_wrap:nth-child(2) .wraps-txt p {
  color: #fff;
}
.B1-cont .service_anm_wrap:nth-child(2) .wraps-txt .btns a {
  color: #fff;
}
.B1-cont .service_anm_wrap:nth-child(2) .wraps-txt .btns a:after {
  content: "";
  background: url(../images/B1/arrow02.png) no-repeat center left/contain;
}
.B1-cont .service_anm_wrap:nth-child(2) .wraps-txt .btns a:hover {
  color: #fff !important;
}
.B1-cont .service_anm_wrap:nth-child(3) {
  z-index: 112;
}
.B1-cont .service_anm_wrap:nth-child(3) .wraps-txt {
  background-color: #fff;
}
.B1-cont .service_anm_wrap:nth-child(3) .wraps-txt h2 {
  color: #71afaf;
}
.B1-cont .service_anm_wrap:nth-child(3) .wraps-txt h3 {
  color: #111;
}
.B1-cont .service_anm_wrap:nth-child(3) .wraps-txt p {
  color: #111;
}
.B1-cont .service_anm_wrap:nth-child(4) {
  z-index: 113;
}
.B1-cont .service_anm_wrap:nth-child(4) .service_anm_inner {
  height: 200vh;
}
.B1-cont .service_anm_wrap:nth-child(4) .wraps-txt {
  background-color: #eaf6f6;
}
.B1-cont .service_anm_wrap:nth-child(4) .wraps-txt h2 {
  color: #56817a;
}
.B1-cont .service_anm_wrap:nth-child(4) .wraps-txt h2 ruby {
  display: flex;
  flex-direction: column-reverse;
  gap: 5px;
}
.B1-cont .service_anm_wrap:nth-child(4) .wraps-txt h2 rt {
  font-size: 18px;
  display: block;
  color: #56817a;
}
.B1-cont .service_anm_wrap:nth-child(4) .wraps-txt h2 .min {
  color: #111;
}
.B1-cont .service_anm_wrap:nth-child(4) .wraps-txt h3 {
  color: #111;
}
.B1-cont .service_anm_wrap:nth-child(4) .wraps-txt p {
  color: #111;
  color: #666;
}
@media screen and (max-width: 780px) {
  .B1-cont .service_anm_wrap {
    height: auto;
  }
  .B1-cont .service_anm_wrap .service_anm_inner {
    position: relative;
    top: 0;
    height: auto;
  }
  .B1-cont .service_anm_wrap .service_anm_inner .service_anm_sticky {
    position: relative;
    height: auto;
  }
  .B1-cont .service_anm_wrap .service_anm_inner .service_anm_sticky .wraps {
    height: auto;
  }
  .B1-cont .service_anm_wrap .wraps-txt h2 .big {
    font-size: 32px;
  }
  .B1-cont .service_anm_wrap:nth-child(1) .service_anm_inner {
    height: auto;
  }
  .B1-cont .service_anm_wrap:nth-child(4) .service_anm_inner {
    height: auto;
  }
}
@media screen and (max-width: 780px) {
  .B1-cont .fade .fade-txt {
    display: inline-block;
    overflow: hidden;
  }
  .B1-cont .fade .fade-txt span {
    display: inline-block;
    transform: translateY(120%);
    transition: 1s transform 0.3s cubic-bezier(0.33, 1, 0.24, 1);
  }
  .B1-cont .fade.fade-on .fade-txt span {
    transform: translateY(0);
  }
}