@charset "utf-8";
/* CSS Document */
* {
  margin: 0;  /*初期全体の設定リセット*/
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem; /*同ページ内リンク先のトップの位置調整*/
}
body {
  font-family: "Noto Sans JP", serif;
  background-color: #EEEEEE;
  color: #6D6D6D;
}
img{
		max-width:100%;
		height:auto;	
	}

  h2{
    width: fit-content;
    margin: 0 auto;
    font-size: 24px;
    font-weight: 700;
  }

  /*トップボタン*/
  .page_top{
  width: 50px;
  height: 50px;
  position: fixed;
  right: 10px;
  bottom: 54px;
  background: #EEEEEE;
  border-radius: 50%;
  border: 3px solid #6D6D6D;
  opacity: 0;
  transition: .2s;
  z-index: 5;
}
.page_top a{
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  text-decoration: none;
}
.page_top a::before{
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f102';
  font-size: 25px;
  color: #6D6D6D;
  position: absolute;
  width: 25px;
  height: 25px;
  top: -10px;
  bottom: 0;
  right: 7px;
  left: 0;
  margin: auto;
  text-align: center;
}

.page_top:hover{
  background: #6D6D6D;
}

.page_top:hover a::before{
  color: #EEEEEE;
}

  /*ヘッドロゴ*/
  .name-btn{
    position: fixed;
    width: fit-content;
    left: 15px;
    top: 8px;
    z-index: 5;
    transition: .2s;
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
  }
  
  .name-btn p:nth-of-type(1){
    font-size: 16px;
    font-weight: 700;
  }
  .name-btn p:nth-of-type(2){
    font-size: 16px;
    font-weight: 300;
  }

  .is-active2{
    opacity: 1;
    visibility: visible;
  }


  /*ナビゲーション*/
  nav{
    background-color: #EEEEEE;
    border-top: 3px solid #6D6D6D;
    position: fixed;
    display: flex;
    z-index: 5;
    height: 45px;
    width: 100vw;
    bottom: -50px;
    transition: .3s;
  }

  nav p{
    color: #6D6D6D;
    font-weight: 700;
    font-size: 18px;
    text-align: center;
    line-height: 2.3;
    width: 100%;
    cursor: pointer;
  }

  nav p:nth-of-type(2){
    border-right: 3px solid #6D6D6D;
    border-left: 3px solid #6D6D6D;
  }

  .is-active{
  transform: translateY(-50px);
}


  /*トップ*/
.main_view{
  display: flex;
  height: 87.32vh;
  max-height: 833px;
  position: relative;
}

.main_view_text{
  width: 40vw;
  position: relative;
}

.main_view_text h1{
  font-size: 100px;
  font-weight: 700;
  width: fit-content;
  text-align: right;
  line-height: 1;
  position: absolute;
  right: min(131px,5vw);
  bottom: 260px;
  overflow: hidden;
}

.main_view_text p:nth-of-type(2){
  font-size: 70px;
  font-weight: 100;
  margin-top: 28px;
}

.text_anime{
  position: absolute;
  z-index: 1;
  height: 100%;
  width: 100%;
  top: 0%;
  right: 0%;
  background: #EEEEEE;
  animation-duration: 1s;
  animation: text_anime 1s ease-in-out forwards;
  animation-delay: 0.8s;
}

@keyframes text_anime{
  0%{
    right: 0%;
  }
  100%{
    right: 100%;
  }
}

.scrolldown{
  position:absolute;
  right: 38px;
  bottom: 40px;
  opacity: 0;
  animation: scrolldown_anime 1s ease-in-out forwards;
  animation-delay: 0.8s;
}

.scrolldown p{
  font-size: 16px;
  writing-mode: sideways-rl;
  margin-bottom: 5px;
}

.scrolldown div{
  width: 3px;
  height: 40px;
  background-color: #6D6D6D;
  margin-left: 10px;
}

@keyframes scrolldown_anime{
  0%{
    opacity: 0;
    bottom: 5px;
  }
  100%{
    opacity: 1;
    bottom: 25px;
  }
}

.main_video{
  width: 60vw;
  object-fit: cover;
  filter: grayscale(1);
  position: relative;
  opacity: 0;
  animation: fadeIn 1s ease-in-out forwards;
  animation-delay: 1s;
}

@keyframes fadeIn{
  from{
    opacity: 0;
  }
  to{
    opacity: 1;
  }
}

.main_view_line1{
  height: 100%;
  width: 3px;
  background-color: #6D6D6D;
  position: absolute;
  top: 0;
  right: 0;
  animation-name: animation;
  animation-duration: 1s;
}

@keyframes animation{
  0%{
    height: 0%;
  }
  100%{
    height: 100%;
  }
}

.main_view_line2{
  height: 3px;
  width: 100%;
  background-color: #6D6D6D;
  position: absolute;
  bottom: 0;
  animation-name: animation2;
  animation-duration: 1s;
}

@keyframes animation2{
  0%{
    width: 0%;
  }
  100%{
    width: 100%;
  }
}

/*WORKS*/
.works{
 padding: 0 25px;
 margin-top: calc(12vh + 100px);
}

.works_container{
  max-width: 1096px;
  width: fit-content;
  margin: 0 auto;
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 130px 80px;
}

.works_container>div{
  width: 312px;
  height: 289.71px;
  background-color: #D9D9D9;
  position: relative;
  cursor: pointer;
}

.works_container>div img{
  transition: transform .6s ease;
}

.works_container>div:hover img{
  transform: scale(1.07);
}

.category_container{
  position: absolute;
}

.category_name{
  display: flex;
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
}

.category_name div:nth-of-type(1){
  border-right: 2px solid #6D6D6D;
  padding-right: 5px;
}

.category_name div:nth-of-type(2){
  padding-left: 5px;
}

.category_title{
  font-size: 18px;
  font-weight: 800;
  margin-top: 10px;
}

/*about*/
.about{
  padding: 0 25px;
  margin-top: 300px;
}

.about_text1{
  max-width: 348px;
  margin: 0 auto;
  margin-top: 30px;
  font-weight: 600;
}
.about_text1 p{
	margin: 30px 0;
}

.about_text1 p:nth-of-type(1){
	margin: 0
}

.about>div:nth-of-type(2){
  max-width: 580px;
  margin: 0 auto;
  margin-top: 100px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px 18px;
}

.about_img{
  width: 286px;
  height: 250px;
}
.about_img img{
  object-fit: cover;
  object-position: left;
  width: 100%;
  height: 100%;
}

.about_text2{
  max-width: 276px;
  font-weight: 600;
}

.about_text2 p{
	margin: 15px 0;
	line-height: 20px;
}

.about_text2 p:nth-of-type(1){
	margin: 0
}

/*footer*/
footer{
  background-color: #EEEEEE;
  height: 115px;
  border-top: 3px solid #6D6D6D;
  margin-top: 250px;
}

footer h3{
  width: fit-content;
  font-weight: 800;
  font-size: 40px;
  margin-left: 5px;
  margin-top: 2px;
}


@media (max-width:1140px) {

  /*トップ*/
  .main_view_text h1{
    font-size: 8vw;
  }

  .main_view_text p:nth-of-type(2){
    font-size: 6vw;
    margin-top: 10px;
  }

}



@media (max-width:550px) {

   /*トップ*/
  .main_view_text h1{
    font-size: 8vw;
    bottom: 21vh;
    right: 6.4vw;
  }

  .main_view_text span{
    font-size: 4.8vw;
  }

  .scrolldown{
    right: 20px;
    bottom: 20px;
  }

  .scrolldown p{
    font-size: 2.67vw;
  }

  .scrolldown div{
    width: 0.504vw;
    height: 6.736vw;
    margin-left: 6px;
  }

  .main_view{
    height: 63.9vh;
  }

}

@media (max-height: 600px){

   /*トップ*/
  .main_view{
    height: 100vh;
    min-height: 610px;
  }

}