@charset "UTF-8";

.fv_202502{
  position: relative;
  display: flex;
  width: 100vw;
  min-height: 100vh;
  margin: auto;
  align-items: center;
  padding-left: 3%;
}

.fv_202502 h1{
    position: absolute;
    top: 10px;
    left: 10px;
    width: 20%;
    max-width: 210px;
    height: auto;
    z-index: 2;
}

@media screen and (max-width: 586px) {
    .fv_202502{
        display: flex;
        align-items: flex-end;
        width: 100%;
        height: 100%;
        max-height: 90vh;
        padding: 3% 20px 25%;
    }
    .fv_202502 h1{
      width: 35%;
  }
}

/* --- 背景の指定 ------------------------------------------- */
.fv_202502 .bgImg {
  position   : absolute;
  top        : 0;
  left       : 0;
  bottom     : 0;
  right      : 0;
  opacity    : 0;
  animation  : bgAnime 20s infinite;   /* 4画像 × 各5s = 20s */
}

/* --- 段差で背景画像のアニメーションを実行 ----------------- */
.fv_202502 .src1 {
  background-image : url(../img/kv/fv_bg02.jpg);   /* 背景の画像を指定 */
  background-size: cover;
  background-position: right top;
}
.fv_202502 .src2 {
  background-image : url(../img/kv/fv_bg01.jpg);   /* 背景の画像を指定 */
  background-size: cover;
  background-position: right top;
  animation-delay  : 5s;
}
.fv_202502 .src3 {
  background-image : url(../img/kv/fv_bg04.jpg);   /* 背景の画像を指定 */
  background-size: cover;
  background-position: right top;
  animation-delay  : 10s;
}
.fv_202502 .src4 {
  background-image : url(../img/kv/fv_bg03.jpg);   /* 背景の画像を指定 */
  background-size: cover;
  background-position: right top;
  animation-delay  : 15s;
}

@media screen and (max-width: 796px) {
  .fv_202502 .src1,
  .fv_202502 .src2,
  .fv_202502 .src3,
  .fv_202502 .src4 {
    background-position: center top;
  }
}

@media screen and (max-width: 586px) {
    .fv_202502 .src1 {
        background-image : url(../img/kv/fv_bg02_sp.jpg);   /* 背景の画像を指定 */
        background-size: cover;
        background-position: right top;
      }
      .fv_202502 .src2 {
        background-image : url(../img/kv/fv_bg01_sp.jpg);   /* 背景の画像を指定 */
        background-size: cover;
        background-position: right top;
      }
      .fv_202502 .src3 {
        background-image : url(../img/kv/fv_bg04_sp.jpg);   /* 背景の画像を指定 */
        background-size: cover;
        background-position: right top;
      }
      .fv_202502 .src4 {
        background-image : url(../img/kv/fv_bg03_sp.jpg);   /* 背景の画像を指定 */
        background-size: cover;
        background-position: right top;
      }
}

@keyframes bgAnime {
   0% { opacity: 0; }
   5% { opacity: 1; }
  25% { opacity: 1; }
  30% { opacity: 0; }
 100% { opacity: 0; }
}

.bg{
  margin-top: 80px;
  display: inline-flex;
  flex-direction: column;
}

@media screen and (max-width: 586px) {
    .bg{
    margin-top: 0;
    }
}

.bg .bg-wrap01,
.bg .bg-wrap02,
.bg .bg-wrap03 {
  position: relative;
  display: inline-block;
  margin-top: 15px;
}
.bg.is-animated .bg-wrap01::before {
  animation: bg 2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  background: linear-gradient(to right, rgba(241, 176, 197, 0.6) 0%,rgba(200, 138, 208, 0.6) 50%,rgba(136, 145, 197, 0.6) 100%);
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-origin: left center;
}
.bg.is-animated .bg-wrap02::before {
  animation: bg 4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  background: linear-gradient(to right, rgba(247, 181, 169, 0.6) 0%,rgba(241, 109, 137, 0.6) 50%,rgba(236, 104, 126, 0.6) 100%);
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-origin: left center;
}
.bg.is-animated .bg-wrap03::before {
  animation: bg 6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  background: linear-gradient(to right, rgba(138, 247, 222, 0.6) 0%,rgba(104, 218, 214, 0.6) 50%,rgba(72, 173, 241, 0.6) 100%);
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-origin: left center;
}

.bg h2{
    display: inline!important;
    line-height: 1;
}

.bg .bg-wrap01 .inn,
.bg .bg-wrap02 .inn,
.bg .bg-wrap03 .inn {
  color: #fff;
  display: inline-block;
  font-size: 5.5vw;
  font-weight: bold;
  padding: 15px 35px;
  position: relative;
  z-index: 1;
}
 
@keyframes bg {
  0% {
    opacity: 0;
    transform: scaleX(0) translateX(-5%);
  }
  30% {
    transform: scaleX(1) translateX(0);
  }
  100% {
    transform: scaleX(1) translateX(0);
  }
  30%, 100% {
    opacity: 1;
  }
}

.fv_merit3{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    width: 55%;
    position: relative;
    z-index: 2;
    margin: 3% 0 0;
}

.fv_merit3 img{
    width: calc( 100% / 3 - 5px );
    max-width: 280px;
    height: auto;
}

.fv_merit3_sp{
    display: none;
}

@media screen and (max-width: 586px) {
    .bg .bg-wrap01 .inn,
    .bg .bg-wrap02 .inn,
    .bg .bg-wrap03 .inn {
        font-size: 10vw;
        padding: 15px 20px;
    }
    .fv_merit3{
        display: none;
    }
    .fv_merit3_sp{
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        z-index: 2;
        width: 35%;
        margin-top: 10%;
    }
    .fv_merit3_sp img{
        max-width: 100%;
        height: auto;
    }
}


.zenmc_normal {
  font-family: "Zen Old Mincho", serif;
  font-weight: 400;
  font-style: normal;
}

.zenmc_bold {
  font-family: "Zen Old Mincho", serif;
  font-weight: 700;
  font-style: normal;
}
