/* CSS Document */





.message_ver02 {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}
@media screen and (min-width: 769px) {
}



.message_ver02 .l-inner--wide {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    margin: 0;
    padding: 0;
}
@media screen and (min-width: 769px) {
    .message_ver02 .l-inner--wide {
        flex-direction: row;
        align-items: center;
        background-image: url( '../img/top/message_ver02-l-inner--wide-bg_pc.webp' );
        background-position: top center;
        background-repeat: no-repeat;
        background-size: cover;
    }
}



.message_ver02 .l-inner--wide > figure {
    position: relative;
    margin: 0;
    padding: 0;
}
.message_ver02 .l-inner--wide > figure figcaption {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    padding-inline: 1em;
    padding-block: 0.5em;
    color: #fff;
    text-align: right;
}
@media screen and (min-width: 769px) {
    .message_ver02 .l-inner--wide > figure {
        width: 59.58%;
    }
    .message_ver02 .l-inner--wide > figure figcaption {
        position: absolute;
        bottom: 0;
        right: 0;
        padding-inline: 1em;
        padding-block: 0.5em;
        color: #fff;
        text-align: left;
    }
}



.message_ver02 .l-inner--wide .box {
    position: relative;
    width: 100%;
    margin: 0;
    padding: calc( 80 * 100vw / 375 ) calc( 53 * 100vw / 375 );
    background-image: url( '../img/top/message_ver02-l-inner--wide-box-bg_sp.webp' );
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
}
.message_ver02 .l-inner--wide .box > div {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: calc( 50 * 100vw / 375 ) 0;
    width: 100%;
    margin: 0;
    padding: 0;
}
.message_ver02 .l-inner--wide .box > div .ttl img {
    width: calc( 203 * 100vw / 375 );
}
.message_ver02 .l-inner--wide .box > div .txt {
    color: #2b2b2b;
    font-size: clamp(10.4px, 3.467vw, 15.6px);
    font-family: "Zen Old Mincho", serif;
    font-weight: 400;
    line-height: 2.69;
    letter-spacing: 0.1em;
}
@media screen and (min-width: 769px) {
    .message_ver02 .l-inner--wide .box {
        width: 40.02%;
        padding: 0;
        padding-left: min( calc( 110 * 100vw / 1388 ), 110px );
        background-image: none;
    }
    .message_ver02 .l-inner--wide .box > div {
        gap: min( calc( 70 * 100vw / 1388 ), 70px ) 0;
    }
    .message_ver02 .l-inner--wide .box > div .ttl img {
        width: min( calc( 269 * 100vw / 1388 ), 269px );
    }
    .message_ver02 .l-inner--wide .box > div .txt {
    }
}











.mv_ver02 {
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 1080;
    margin: 0;
    padding: 0;
    font-size: 0;
}
@media screen and (max-width: 768px) {
    .mv_ver02 {
        aspect-ratio: 375 / 667;
    }
}



.mv_ver02-scene_container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    aspect-ratio: 1920 / 1080;
    margin: 0;
    padding: 0;
    font-size: 0;
    overflow: hidden;
    transition: 1s;
}
.mv_ver02-scene_container.scene_01 { z-index: 1; }
.mv_ver02-scene_container.scene_02 { z-index: 2; opacity: 0; }
.mv_ver02-scene_container.scene_03 { z-index: 3; opacity: 0; }
.mv_ver02-scene_container.scene_04 { z-index: 4; opacity: 0; }
.mv_ver02-scene_container.scene_05 { z-index: 5; opacity: 0; }
.mv_ver02-scene_container.scene_02.is_active { opacity: 1; }
.mv_ver02-scene_container.scene_03.is_active { opacity: 1; }
.mv_ver02-scene_container.scene_04.is_active { opacity: 1; }
.mv_ver02-scene_container.scene_05.is_active { opacity: 1; }
@media screen and (max-width: 768px) {
    .mv_ver02-scene_container {
        aspect-ratio: 375 / 667;
    }
    .mv_ver02-scene_container.scene_01 {  }
    .mv_ver02-scene_container.scene_02 {  }
    .mv_ver02-scene_container.scene_03 {  }
    .mv_ver02-scene_container.scene_04 {  }
    .mv_ver02-scene_container.scene_05 {  }
    .mv_ver02-scene_container.scene_02.is_active {  }
    .mv_ver02-scene_container.scene_03.is_active {  }
    .mv_ver02-scene_container.scene_04.is_active {  }
    .mv_ver02-scene_container.scene_05.is_active {  }
}



.mv_ver02-scene_container-bg {
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 1080;
    margin: 0;
    padding: 0;
    font-size: 0;
    overflow: hidden;
}
.mv_ver02-scene_container-bg figure, 
.mv_ver02-scene_container-bg picture {
    position: relative;
    display: inline-block;
    width: 100%;
    margin: 0;
    padding: 0;
    font-size: 0;
}
@media screen and (max-width: 768px) {
    .mv_ver02-scene_container-bg {
        aspect-ratio: 375 / 667;
    }
    .mv_ver02-scene_container-bg figure, 
    .mv_ver02-scene_container-bg picture {
    }
}



.mv_ver02-scene_container-bg-figcaption {
    position: absolute;
    bottom: 0;
    right: 0;
    display: inline-block;
    margin: 0;
    padding: 0 1em;
    color: #fff;
    font-family: "Zen Old Mincho", serif;
    font-weight: 400;
    font-size: clamp( 11.2px, 1.009vw, 16.8px );
    letter-spacing: 0.15em;
    line-height: 2;
}
@media screen and (max-width: 768px) {
    .mv_ver02-scene_container-bg-figcaption {
        font-size: clamp( 11.2px, 1.009vw, 16.8px );
    }
}


/*MVスライドの動き*/
/* ========================================================
   scene_01 〜 04（動きなし・固定フェード切り替え）
======================================================== */
.scene_01,
.scene_02,
.scene_03,
.scene_04 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.5s ease, visibility 1.5s ease;

  &.is_active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
  }

  .mv_ver02-scene_container-bg {
    position: relative;
    width: 100%;
    height: 100%;

    figure {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      margin: 0;
      padding: 0;
      transform: none !important;

      /* picture タグがある場合の高さ継承対策 */
      picture {
        display: block;
        width: 100%;
        height: 100%;
      }

      img {
        display: block; /* ★ インライン要素特有の下部余白を除去 */
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        object-fit: cover;
        object-position: center bottom; /* 下端をぴったり合わせるなら bottom */
      }
    }
  }
}

@media screen and (max-width: 768px) {
  .scene_01 .mv_ver02-scene_container-bg figure img,
  .scene_02 .mv_ver02-scene_container-bg figure img,
  .scene_03 .mv_ver02-scene_container-bg figure img,
  .scene_04 .mv_ver02-scene_container-bg figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center; /* SP表示時に画像の上端を揃える */
  }
}
/*MVスライドの動き end*/

.mv_ver02-scene_container-fg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    aspect-ratio: 1920 / 1080;
    margin: 0;
    padding: 0;
    font-size: 0;
    overflow: hidden;
}
@media screen and (max-width: 768px) {
    .mv_ver02-scene_container-fg {
        aspect-ratio: 375 / 667;
    }
}



.scene_03 .mv_ver02-scene_container-fg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background: linear-gradient( to left, rgba( 0, 0, 0, 0.5 ), rgba( 0, 0, 0, 0 ) 40%, rgba( 0, 0, 0, 0 ) 100% );
}
@media screen and (max-width: 768px) {
    .scene_03 .mv_ver02-scene_container-fg::before {
        content: none;
    }
}



.mv_ver02-scene_container-fg > picture {
    position: absolute;
    display: inline-block;
    margin: 0;
    padding: 0;
    font-size: 0;
}
@media screen and (max-width: 768px) {
    .mv_ver02-scene_container-fg > picture {
    }
}



.scene_01 .mv_ver02-scene_container-fg > picture {
    top: calc( 50% - calc( calc( 237.6 * 100vw / 1920 ) / 2 ) );
    right: 8.6%;
    height: calc( 237.6 * 100vw / 1920 );
    aspect-ratio: 1 / 2;
}
@media screen and (max-width: 768px) {
    .scene_01 .mv_ver02-scene_container-fg > picture {
        top: auto;
        bottom: 12.86%;
        right: 12.56%;
        height: calc( 122.24 * 100vw / 375 );
        aspect-ratio: 1 / 2;
    }
}



.scene_02 .mv_ver02-scene_container-fg > picture {
    top: calc( 50% - calc( calc( 237.6 * 100vw / 1920 ) / 2 ) );
    left: 8.6%;
    height: calc( 237.6 * 100vw / 1920 );
    aspect-ratio: 1 / 2;
}
@media screen and (max-width: 768px) {
    .scene_02 .mv_ver02-scene_container-fg > picture {
        top: calc( 50% - calc( calc( 122.24 * 100vw / 375 ) / 2 ) );
        left: 8.6%;
        height: calc( 122.24 * 100vw / 375 );
        aspect-ratio: 1 / 2;
    }
}



.scene_03 .mv_ver02-scene_container-fg > picture {
    top: calc( 50% - calc( calc( 237.6 * 100vw / 1920 ) / 2 ) );
    right: 8.6%;
    height: calc( 237.6 * 100vw / 1920 );
    aspect-ratio: 1 / 2;
}
@media screen and (max-width: 768px) {
    .scene_03 .mv_ver02-scene_container-fg > picture {
        top: auto;
        bottom: 12.86%;
        right: 12.56%;
        height: calc( 122.24 * 100vw / 375 );
        aspect-ratio: 1 / 2;
    }
}



.scene_04 .mv_ver02-scene_container-fg > picture {
    top: calc( 40% - calc( calc( 237.6 * 100vw / 1920 ) / 2 ) );
    left: calc( 50% - calc( calc( 237.6 * 100vw / 1920 ) / 4 ) );
    height: calc( 237.6 * 100vw / 1920 );
    aspect-ratio: 1 / 2;
}
@media screen and (max-width: 768px) {
    .scene_04 .mv_ver02-scene_container-fg > picture {
        top: calc( 40% - calc( calc( 122.24 * 100vw / 375 ) / 2 ) );
        left: calc( 50% - calc( calc( 122.24 * 100vw / 375 ) / 4 ) );
        height: calc( 122.24 * 100vw / 375 );
        aspect-ratio: 1 / 2;
    }
}



.scene_05 .mv_ver02-scene_container-fg > picture {
    top: 10%;
    right: 14.4%;
    height: calc( 521.748 * 100vw / 1920 );
    aspect-ratio: 10 / 87;
    opacity: 0;
    transition: 1s;
    transition-delay: 2s;
}
.scene_05.is_active .mv_ver02-scene_container-fg > picture {
    opacity: 1;
}
@media screen and (max-width: 768px) {
    .scene_05 .mv_ver02-scene_container-fg > picture {
        top: 6.4%;
        right: auto;
        left: 8.1%;
        height: calc( 231.62 * 100vw / 375 );
        aspect-ratio: 10 / 87;
    }
    .scene_05.is_active .mv_ver02-scene_container-fg > picture {
    }
}



























