
header{
    opacity: 0;
    visibility: hidden;
}

header.acitve{
    opacity: 1;
    visibility:visible;
}


/* MV */


section.mv{
    position: relative;
}

@keyframes shrinkOut {
  0% { transform: scale(1); opacity: 0; }
  40% { transform: scale(1); opacity: 1;}
  100% { transform: scale(1.02); opacity: 1;}
}

@keyframes shrinkOut2 {
  0% { transform: scale(1.02);}
  100% { transform: scale(1.04);}
}

.swiper-slide img{
    transform: scale(1.04);
    height: 100%;
    object-fit: cover;
}

.swiper-slide-prev img {
  animation: shrinkOut2 3s linear forwards;
}

.swiper-slide-active img {
  animation: shrinkOut 3s linear forwards;
}

.swiper {
  height: 900px;
}

.swiper-slide {
  height: 100%; /* スライドを親の高さに合わせる */
}


.mv_logo{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    z-index: 5;
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mv_logo_inner{
    text-align: center;
}

.mv_logo_inner p{
    font-family: "Noto Serif JP", serif;
    font-size: 18px;
    color: #fff;
    width: 100%;
    text-align: center;
    margin-bottom: 25px;
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.75);
}

.mv_logo_inner img{
    max-width: 360px;
    width: 90%;
    margin: auto;
}

@media screen and (max-width:769px){
    .swiper {
        height: 360px;
    }
    .mv_logo{
        width: 50%;
    }
    .mv_logo_inner img{
        width: 50%;
    }
}

@media screen and (max-width:600px){
    .swiper {
        height: 500px;
    }
    .mv_logo{
        width: 50%;
    }
    .mv_logo_inner img{
        width: 90%;
    }
}


/*about*/

.about{
    padding: 150px 0;
}

.about_inner{
    display: flex;
    gap: 0 10.8%;
}

.about_inner img{
    opacity: 0;
    transition: 1.5s;
}

.about_inner.active img{
    opacity: 1;
}

.about_left{
    width: 38.5%;
}

.about_left_images{
    height: 100%;
}

.about_right{
    width: 50.5%;
    position: relative;
}

.about_right_images{
    display: flex;
    gap: 0 29px;
    position: absolute;
    bottom: 0;
}

.about_right_images img{
    width: calc(50% - 14.5px);
}

.about_right_images img:nth-child(1){
    transition-delay: .2s;
}

.about_right_images img:nth-child(2){
    transition-delay: .4s;
}

@media screen and (max-width:1200px){
    .about{
        padding: 80px 0;
    }
    .about_inner{
        gap: 0 77px;
    }
}

@media screen and (max-width:710px){
    .about_inner{
        gap: 0 30px;
    }
    .about_right{
        width: 56%;
    }
    .about_right_images{
        gap: 0 5px;
    }
    .about_right_images img {
        width: calc(35% - 2.5px);
    }
}


@media screen and (max-width:600px){
    .about{
        padding: 40px 0;
    }
    .about_inner{
        width: 100%;
    }
    .about_right{
        width: 100%;
    }

    .about_right_images{
        position: static;
    }
    .about_right img{
        margin: 0 calc(50% - 50vw);
        margin-bottom: 40px;
        width: 100vw;
    }
    .about_inner .sp_none{
        display: none;
    }
    .about_inner .sp{
        display: block;
    }
}


/*company_introduction*/

.company_introduction_content_box{
    position: relative;
    overflow: hidden;
}

.company_introduction_content_box .company_introduction_content_bk{
    transition: 2s;
}

.company_introduction_content_box .company_introduction_content_bk img{
    height: 832px;
    object-fit: cover;
}

.company_introduction_content_box.active .company_introduction_content_bk{
    transform: scale(1.1);
}

.company_introduction_content{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
}

.company_introduction_content_inner{
    display: flex;
    align-items: center;
    height: 100%;
}

.company_introduction_content_logo{
    width: 685px;
    text-align: center;
}

.company_introduction_content_logo h3{
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 1px;
    text-align: center;
    color: #fff;
    margin-bottom: 20px;
}

.company_introduction_content_logo h2{
    font-family: "Noto Serif JP", serif;
    font-weight: 400;
    font-size: 48px;
    line-height: 100%;
    letter-spacing: 3.24px;
    text-align: center;
    margin-bottom: 55px;
    color: #fff;
}

.company_introduction_content_logo img{
    width: 238px;
    margin: auto;
}

.company_introduction_content_text_box{
    width: calc(100% - 685px);
}

.company_introduction_content_text_box p{
    text-shadow: 0px 0px 4px rgba(0,0,0,0.75);
    font-family: "Noto Serif JP", serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 200%;
    margin-bottom: 50px;
    color: #fff;
    transition: 1s;
    opacity: 0;
    transform: translateY(50%);
}

.company_introduction_content_text_box.active p{
    opacity: 1;
    transform: translateY(0);
}

.company_introduction_content_text_box .more_btn{
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #fff;
    padding: 15.5px 74px 15.5px 30px;
    display: inline-block;
    border: solid 0.8px #fff;
    position: relative;
    background-color: rgba(26,26,26,0.2);
    transition: .5s;
}

.company_introduction_content_text_box .more_btn:hover{
    background-color: rgba(255,255,255,0.65);
    color: #1a1a1a;
    border-color: #1a1a1a;
}

.company_introduction_content_text_box .more_btn:hover:after{
    background-image: url(../img/common/sq_\ arrow_bk.svg);
    transition: .5s;  
}

.company_introduction_content_text_box .more_btn:after{
    position: absolute;
    top: 0;
    right: 20px;
    bottom: 0;
    width: 24px;
    height: 24px;
    background-size: 24px 24px;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(../img/common/sq_\ arrow.svg);
    content: '';
    margin: auto;
}

@media screen and (max-width:1480px){
    .company_introduction_content_logo{
        width: 580px;
    }
    .company_introduction_content_text_box{
        width: calc(100% - 580px);
    }
}

@media screen and (max-width:1190px){
    .company_introduction_content_inner{
        flex-direction: column;
        justify-content: center;
    }
    .company_introduction_content_logo{
        margin-bottom: 50px;
        width: 100%;
    }
    .company_introduction_content_text_box{
        width: 100%;
    }
    .company_introduction_content_logo h3{
        font-size: 17px;
        margin-bottom: 21px;
    }
    .company_introduction_content_logo h2{
        font-size: 30px;
        margin-bottom: 33px;
    }
    .company_introduction_content_logo img{
        width: 160px;
    }
    .company_introduction_content_text_box{
        text-align: center;
    }
    .company_introduction_content_text_box p{
        font-size: 16px;
    }
}

@media screen and (max-width:765px){_
    .company_introduction_content .sp{
        display: block;
    }
    .company_introduction_content_text_box p{
        margin-bottom: 40px;
    }
    .company_introduction_content_box .company_introduction_content_bk img{
        min-height: 680px;
        height: auto;
    }
    .company_introduction_content_box:nth-child(2) .company_introduction_content_bk img{
        min-height: 850px;
    }
}

@media screen and (max-width:345px){
    .company_introduction_content_box .company_introduction_content_bk img{
        min-height: 750px;
    }
}


/*gallery*/

section.gallery{
    background-color: #F8F4EC;
    padding: 150px 0;
}

.gallery_image_list{
    display: flex;
    gap: 5px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.gallery_image_list picture{
    width: calc((100% / 3) - 5px);
}

.gallery_image_list picture img{
    opacity: 0;
    transform-origin: center left;
    transform: rotateY(100deg) rotateZ(40deg);
    transition: 1s;
}

.gallery_image_list.active picture img{
    transform: rotateY(0) rotateZ(0);
    opacity: 1;
}

.gallery_image_list.active picture:nth-child(2) img,.gallery_image_list.active picture:nth-child(4) img{
    transition-delay: .2s;
}

.gallery_image_list.active picture:nth-child(3) img,.gallery_image_list.active picture:nth-child(7) img,.gallery_image_list.active picture:nth-child(5) img{
    transition-delay: .4s;
}

.gallery_image_list.active picture:nth-child(6) img,.gallery_image_list.active picture:nth-child(8) img{
    transition-delay: .6s;
}

.gallery_image_list.active picture:nth-child(9) img{
    transition-delay: .8s;
}

.gallery_inner{
    display: flex;
    gap: 8%;
}

.gallery_image_list{
    width: 950px;
}

.gallery_text{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media screen and (max-width:1480px){
    .gallery_inner{
        gap: 53px;
    }
}

@media screen and (max-width:1190px){
    section.gallery{
        padding: 80px 0;
    }
    .gallery_inner{
        flex-direction: column-reverse;
    }   
    .gallery_image_list{
        width: 78%;
        margin: auto;
    }
    .gallery_inner{
        gap: 50px;
    }
}

@media screen and (max-width:765px){
    section.gallery{
        padding: 70px 0;
    }
    .gallery_image_list{
        width: 100%;
    }
    .gallery_image_list picture{
        width: calc((100% / 2) - 2.5px);
    }
    .gallery_inner {
        gap: 40px;
    }
}


/*news*/

section.news{
    padding: 150px 0;
}

.news_inner{
    display: flex;
    gap: 0 100px;
    justify-content: end;
    align-items: center;
}

.news_list{
    width: 70%;
}

.news_list ul li{
    border-bottom: 1px solid #B8B8B8;
    padding: 50px 20px;
}

.news_list ul li:first-child{
    border-top: 1px solid #B8B8B8;
}

.news_list ul li dl{
    display: flex;
    align-items: center;
    gap: 125px;
}

.news_list ul li dl dt{
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 1.2px;
}

.news_list ul li dl dd{
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 1.2px;
}

@media screen and (max-width:1190px){
    section.news{
        padding: 80px 0;
    }
    .news_inner{
        flex-direction: column;
        gap: 40px;
    }
    .news_list{
        width: 100%;
    }
    .news_list ul li dl dt,.news_list ul li dl dd{
        font-size: 16px;
        letter-spacing: 0.96px;
    }
}

@media screen and (max-width:765px){
    section.news{
        padding: 70px 0;
    }
    .news_list ul li{
        padding: 20px 0;
    }
    .news_list ul li dl{
        gap: 21px;
    }
}


@keyframes barWidth {
  0% { transform: scale(1); width: 0; }
  100% { transform: scale(1); width:100%;}
}


.mv-indicator {
    position: absolute;
    width: 100%;
    height: 0.068vw;
    background-color: gray; /* 背景のグレーの線 */
    bottom: 50px;
    z-index: 10;
  }

  .mv-indicator .mv-indicator-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: white; /* 白い線 */
    animation: barWidth 15s linear; /* 15秒かけて伸びる */
  }

  .mv-indicator .mv-indicator-dots {
    position: absolute;
    top: -0.272vw!important;
    left: 0!important;
    bottom: auto!important;
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
  }

  .mv-indicator .mv-indicator-dots .dot {
    width: 0.544vw;
    height: 0.544vw;
    background-color: gray;
    border-radius: 50%;
    transition: background-color 0.3s;
  }

  /* アクティブなドット */
  .mv-indicator .mv-indicator-dots .dot.active {
    background-color: white;
  }