@charset "utf-8";

/*hero=======================*/
.hero {
    position: relative;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 152px;
}
.background {
    position: absolute;
    width: 72%;
    height: 72%;
}
.hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/*scroll to discoverここから========================*/
.scroll__text {
    position: absolute;
    bottom: 10%;
    right: 20%;
    color: #fefefe;
    font-size: 16px;
    font-family: "Freeman", serif;
    letter-spacing: 0.1em;
    filter: none;
}
@media screen and (max-width: 1139px) {
    .scroll__text {
        font-size: 14px;
        bottom: 9.8%;
        right: 16%;
    }
}
@media screen and (max-width: 767px) {
    .scroll__text {
        font-size: 14px;
        bottom: 2%;
        right: 10%;
    }
}
@media screen and (max-width: 767px) {
    .scroll__text {
        font-size: 14px;
        bottom: 2%;
        right: 12%;
    }
}

@keyframes scrollmove{
    0%{top:0px;}
    50%{top:-6px;}
   100%{top:0px;}
}
.scroll__text span {
    width: 28px;
    height: 28px;
    background-color: white;
    border-radius: 50%;
    position: relative;
    position: absolute;
    top: -2px;
    right: -40px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
    animation: scrollmove 1.4s ease-in-out infinite;
}
.scroll__text span::before {
    content: "";
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 10px solid #111;
    position: absolute;
    right: 8px;
    bottom: 8px;
}
/*scroll to discoverここまで========================*/


/*スクロールダウン全体の場所*/
.scrolldown{
    /*描画位置※位置は適宜調整してください*/
	position:absolute;
	bottom:10%;
	right:4%;
    /*矢印の動き1秒かけて永遠にループ*/
	animation: arrowmove 1.4s ease-in-out infinite;
}

/*下からの距離が変化して全体が下→上→下に動く*/
@keyframes arrowmove{
      0%{bottom:1%;}
      50%{bottom:3%;}
     100%{bottom:1%;}
 }

/*Scrollテキストの描写*/
.scrolldown span{
    /*描画位置*/
	position: absolute;
	left:-26px;
	bottom:192px;
    /*テキストの形状*/
	color: #000;
	font-size: 1rem;
    font-family: "Freeman", serif;
	letter-spacing: 0.05em;
	/*縦書き設定*/
	-ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    transform: rotate(180deg);

}

/* 矢印の描写 */
.scrolldown:before {
    content: "";
    /*描画位置*/
    position: absolute;
    bottom: 160px;
    right: 6px;
    /*矢印の形状*/
    width: 1px;
    height: 20px;
    background: #000;
    transform: skewX(31deg);
}

.scrolldown:after{
	content:"";
    /*描画位置*/
	position: absolute;
	bottom:160px;
	right:0;
    /*矢印の形状*/
	width:1px;
	height: 320px;
	background:#000;
}

/*intro==================================*/
.intro {
    background-color: #363636;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    width: 100%;
    padding: 280px 0;
    margin-top: 16px;
}

.svg__mask {
    width: 24%;
    height: 400px;
    position: relative;
}

.video-container {
    position: relative;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
.intro__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-mask-image: url(#maskShape); /* Webkit対応 */
    mask-image: url(#maskShape); /* 標準対応 */
    z-index: 1;
  }

.intro__box {
    width: 48%;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.intro__title {
    font-size: 3vw;
    margin-bottom: 40px;
    text-align: left;
    line-height: 1.8;
}

.intro__text {
    width: 80%;
    font-size: 18px;
    margin-bottom: 24px;
    line-height: 1.8;
}

.view_more {
    display: inline-block;
    background-color: #fff;
    color: #000;
    padding: 16px 32px;
    border: 1px solid #000;
    position: relative;
    transition: all 0.3s ease-out;
    overflow: hidden;
    box-shadow: 8px 8px 0px 0 rgb(0, 0, 0);
    margin-top: 24px;
}

.view_more::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent;
    border: 1px solid #000;
    box-shadow: 8px 8px 0px 0 rgb(0, 0, 0);
    top: 0;
    left: 0;
    transition: all 0.3s ease-out;
}

.view_more:hover::before {
    transform: translate(12px, 12px);
    opacity: 0;
}

.view_more:hover {
    transform: translate(-4px, -4px);
    box-shadow: none;
    background-color: #FE53BB;
    color: #000;
}

/*contact====================================*/

.contact {
    background-color: #f2f2f2;
    padding: 112px 0;
}

.contact__container {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: start;
    gap: 124px;
}

.contact__titlebox {
    width: 64%;
}

.contact__title {
    font-family: "PT Sans", sans-serif;
    font-size: 128px;
    line-height: 1.2;
}

.contact__subtitle {
    font-size: 18px;
    padding-left: 1em;
}

.contact__note {
    width: 32%;
    padding-top: 24px;
}

.contact__note__text {
    margin-bottom: 40px;
}

.contact__form {
    display: inline-block;
    background-color: #fff;
    color: #000;
    padding: 16px 64px;
    border: 1px solid #000;
    position: relative;
    transition: all 0.3s ease-out;
    overflow: hidden;
    box-shadow: 8px 8px 0px 0 rgb(0, 0, 0);
}

.contact__form::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent;
    border: 1px solid #000;
    box-shadow: 8px 8px 0px 0 rgb(0, 0, 0);
    top: 0;
    left: 0;
    transition: all 0.3s ease-out;
}

.contact__forme:hover::before {
    transform: translate(12px, 12px);
    opacity: 0;
}

.contact__form:hover {
    transform: translate(-4px, -4px);
    box-shadow: none;
    background-color: #FE53BB;
    color: #fff;
}

/*1139以下===========================================*/
@media screen and (max-width: 1139px) {

    /*hero=====================*/

    .background {
        width: 80%;
        height: 72%;
    }


    /*intro==================================*/
.intro {
    gap: 32px;
    padding: 184px 0;
    margin-top: 0;
}

.intro__logo {
    width: 32%;
}

.intro__box {
    width: 48%;
}

.svg__mask {
    width: 40%;
    height: 360px;
}

.intro__title {
    font-size: 3.0vw;
    line-height: 1.8;
}
.intro__text {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 56px;
}

/*service=====================================*/
/* .service {
    padding: 160px 48px 120px;
    max-width: 900px;
}

.service__title {
    font-size: 96px;
}

.service__subtitle {
    font-size: 16px;
    margin-bottom: 80px;
}

.service__box {
    gap: 8px;
    margin-bottom: 56px;
}

.service__textbox {
    width: 48%;
    padding: 24px 0;
}

.service__textbox__title {
    font-size: 40px;
    margin-bottom: 24px;
}

.service__textbox__text {
    margin-bottom: 56px;
}

.service__img {
    width: 44%;
}

.service__tag__list {
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.service__tag__item {
    font-size: calc(12/16*1rem);
    padding: 8px 8px 8px 14px;
    margin-bottom: 8px;
} */

/*work===========================*/

/* .work {
    padding: 120px 40px 80px;
}

.work__title {
    font-size: 96px;
    width: 236px;
}

.work__subtitle {
    font-size: 16px;
    width: 236px;
    margin: 0 auto 48px;
}

.work__text {
    text-align: center;
    margin-bottom: 8px;
    font-size: 16px;
}

.work::before {
    background-size: 80% ;
    background-position: center bottom 64px;
  } */


  /*swiperここから========================================*/
/* .swiper {
    width: 528px;
    height: 640px;
    padding:8px 0px 40px 0px ;
}

.swiper-slide {
    transform: scale(0.8) !important;
  }
  
  .swiper-slide img {
    width: 100%;
  }
  
  .caption {
    margin-top: 56px;
    margin-bottom: 24px;
    font-size: 32px;
  }

  .caption__text {
    width: 80%;
    margin: 0 auto;
  }
  
  .swiper-slide-active {
    transform: scale(1) !important;
    top: 80px;
  }

  .custom-navigation {
    top: 70%;
  }

  .swiper-button-prev {
    left:16px;
  }

  .swiper-button-next {
    right: 16px;
  } */

/*partners========================================*/
/* .partners {
    padding: 144px 40px 160px;
  }

  .partners__title {
    font-size: 96px;
    width: 588px;
}

.partners__subtitle {
    font-size: 16px;
    margin-bottom: 48px;
    width: 588px;
}

.partners__note {
    width: 588px;
    margin: 0 auto 104px;
    text-align: right;
} */

/*contact=====================================*/

.contact {
    padding: 88px 24px;
}

.contact__container {
    gap: 64px;
    align-items: center;
    justify-content: center;
}

.contact__titlebox {
    width: 66%;
}

.contact__title {
    font-size: 96px;
    line-height: 1;
}

.contact__subtitle {
    font-size: 16px;
}

.contact__note {
    width: 36%;
    padding: 0;
}

.contact__note__text {
    margin-bottom: 24px;
    font-size: 14px;
}

.contact__form {
    padding: 16px 48px;
    font-size: 14px;
}

}

/*767以下=======================================--*/
@media screen and (max-width: 767px) {

    /*hero=====================*/

    .hero {
        padding-top: 0px;
    }

    .background {
        width: 100%;
        height: 100%;
    }

    /*Scrollテキストの描写*/
.scrolldown span{
	color: #fff;
}

/* 矢印の描写 */
.scrolldown:before {
    background: #fff;
}

.scrolldown:after{
	background:#fff;
}


/*intro==========================*/
    .intro {
        flex-direction: column;
        padding:40px 0 96px 0;
    }
    
    .intro__logo {
        width: 56%;
    }
    
    .intro__box {
        width: 80%;
    }
    
    .intro__title {
        width: 100%;
        font-size: 5.2vw;
    }
    
    .intro__text {
        width: 80%;
        font-size: 16px;
        margin-bottom: 48px;
    }

    .svg__mask {
        width: 56%;
        height: 240px;
    }


    /*service=====================================*/
/* .service {
    padding: 80px 16px 40px;
    max-width: 900px;
}

.service__title {
    font-size: 48px;
}

.service__subtitle {
    font-size: 14px;
    margin-bottom: 56px;
}

.service__box {
    gap: 8px;
    margin-bottom: 80px;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
}

.service__textbox {
    width: 90%;
    padding: 24px 0;
}

.service__textbox__title {
    font-size: 40px;
    margin-bottom: 16px;
}

.service__textbox__text {
    margin-bottom: 8px;
}

.service__img {
    width: 50%;
    margin-bottom: 24px;
}

.service__tag__list {
    margin-bottom: 24px;
}

.service__bg::before {
    background-position: center right -120px;
    background-size: 120%;
  }
  .service__bg::after {
    background-position: center left -120px;
    background-size: 120%;
  } */

    /*work===========================*/
/* .work {
    padding: 56px 40px 80px;
}

.work__container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 1140px;
    margin: 0 auto;
    flex-direction: column;
}

.work__text__box {
    width: 100%;
}

.work__title {
    font-size: 48px;
    width: 118px;
}

.work__subtitle {
    font-size: 14px;
    width: 118px;
    margin: 0 auto 24px;
}

.work__text {
    margin-bottom: 16px;
    font-size: 14px;
    padding: 0 16px;
    text-align: left;
} */

  /*swiperここから========================================*/
/* .swiper {
    width: 360px;
    height: 480px;
}

  .caption__text {
    width: 96%;
  }
  
  .swiper-slide-active {
    top: 64px;
  }

  .custom-navigation {
    top: 57%;
  }

  .swiper-button-prev {
    left:16px;
  }

  .swiper-button-next {
    right: 16px;
  } */

    /*partners========================================*/

/* .partners {
    padding: 80px 24px 168px;
}

  .partners__title {
    font-size: 48px;
    width: 296px;
}

.partners__subtitle {
    font-size: 14px;
    margin-bottom: 32px;
    width: 296px;
}

.partners__note {
    width: 400px;
    margin: 0 auto 8px;
    font-size: 14px;
} */

/*contact=====================================*/

.contact {
    padding: 64px 16px;
}

.contact__container {
    gap: 40px;
    flex-direction: column;
}

.contact__titlebox {
    width: 100%;
}

.contact__title {
    font-size: 48px;
}

.contact__subtitle {
    font-size: 14px;
}

.contact__note {
    width: 88%;
    text-align: center;
}

.contact__note__text {
    margin-bottom: 24px;
    font-size: 14px;
}

.contact__form {
    padding: 16px 48px;
    font-size: 14px;
}
    
    
    
}

/*428以下=======================================--*/
@media screen and (max-width: 428px) {

    /*intro======================*/

    .intro__title {
        width: 100%;
        font-size: 5.2vw;
    }

    .intro__text {
        font-size: 14px;
    }

    .svg__mask {
        width: 56%;
        height: 200px;
    }

    /*work======================*/

    /* .work {
        padding: 80px 16px;
    } */

      /*swiperここから========================================*/
/* .swiper {
    width: 280px;
    height: 504px;
}

  .caption__text {
    width: 96%;
  }
  
  .swiper-slide-active {
    top: 0px;
  }

  .custom-navigation {
    top: 50%;
  }

  .swiper-button-prev {
    left:0px;
  }

  .swiper-button-next {
    right: 0px;
  }

  .swiper-button-prev,
  .swiper-button-next {
    border-radius: 18px;
    width: 48px;
    height: 32px;
    font-size: 1rem;
  } */

        /*partners========================================*/
  /* .partners__title {
    font-size: 40px;
    width: 248px;
}

.partners__subtitle {
    width: 248px;
    margin: 0 0 24px;
}

.partners__note {
    width: 232px;
    margin: 0 0 8px;
    font-size: 14px;
    text-align: left;
} */


}


/*ローディング画面===============================*/

.loading-screen {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #fefefe;
    transition: opacity 1s ease-in-out;
    z-index: 10;
}
.progress-bar {
    display: flex;
    gap: 5px;
    margin-top: 20px;
    transition: opacity 1s ease-in-out;
}
.bar {
    width: 20px;
    height: 50px;
    background: #555;
    transition: background 0.3s ease-in-out ;
    
}
.progress-text {
    font-size: 20px;
    margin-top: 10px;
    transition: opacity 1s ease-in-out;
    /* display: none;1日一回にするために追加。 */
    /* opacity: 0;1日一回にするために追加。 */
    /* transition: opacity 0.3s ease-in-out;1日一回にするために追加。 */
}
.welcome-text {
    opacity: 0;
    font-size: 48px;
    transform: translateY(-100px);
    font-family: "Freeman", serif;
    transition: opacity 1s ease-in-out;
}

.main-content {
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 5;
}



/*背景色が上から下に===========================*/
.bgextend{
	animation-name:bgextendAnimeBase;
	animation-duration:1s;
	animation-fill-mode:forwards;
	position: relative;
	overflow: hidden;
	opacity:0;
}

@keyframes bgextendAnimeBase{
  from {
    opacity:0;
  }

  to {
    opacity:1;  
}
}

/*中の要素*/
.bgappear{
	animation-name:bgextendAnimeSecond;
	animation-duration:1s;
	animation-delay: 0.6s;
	animation-fill-mode:forwards;
	opacity: 0;
}

@keyframes bgextendAnimeSecond{
	0% {
	opacity: 0;
	}
	100% {
	opacity: 1;
}
}


/*上から下*/
.bgUDextend::before{
	animation-name:bgUDextendAnime;
	animation-duration:1s;
	animation-fill-mode:forwards;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #363636;/*伸びる背景色の設定*/
    /* height: calc(100% - 16px); */
}
@keyframes bgUDextendAnime{
	0% {
		transform-origin:top;
		transform:scaleY(0);
	}
	50% {
		transform-origin:top;
		transform:scaleY(1);
	}
	50.001% {
		transform-origin:bottom;
	}
	100% {
		transform-origin:bottom;
		transform:scaleY(0);
	}
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
.bgappearTrigger,
.bgUDextendTrigger{
    opacity: 0;
}

/*背景色が上から下に===========================*/