/*
Theme Name: kaneko mitsuki portforio site
Author: caneco
Description: 就職のポートフォリオサイト
Version: 1.0
*/


body{
  margin: 0;
  font-family: 'sans-serif';
  font-weight: normal;

  animation-name:fadeInAnime;
  animation-duration:3s;
  animation-fill-mode:forwards;
  opacity:0;
  overflow-x:hidden;
}

@keyframes fadeInAnime{
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}


.container{
  width: 90%;
  margin: 0 auto;
}

.pc-img{
  display: none;
}

.sp-img{
  display: block;
  object-fit: cover;
  object-position: 0 0;
}







/*　ヘッダー　sp　*/

header{
  width: 95%;
  height: 60px;
  position: fixed;
  z-index: 3;
  top: 0;
  background-color: #fff;
  opacity: 0.9;
}

#headerPc-container{
  width: 100%;
}



ul{
  display: none;
}

/*  ハンバーガーメニュー　*/
.openbtn{
	/*ボタン内側の基点となるためrelativeを指定。
追従するナビゲーションの場合はfixed＋top、rightといった位置をセットで指定*/
	position: relative;
	width: 50px;
    height:60px;
	cursor: pointer;
  background:#fff;
  margin: 0 0 0 auto;
  display: block;
  border: none;
  z-index: 4;
}

.openbtn span{
  display: inline-block;
  transition: all .4s;/*アニメーションの設定*/
  position: absolute;
  right: 0px;
  height: 2px;
background-color: #000000;
}

.openbtn span:nth-of-type(1) {
	top:22px;	
  	width: 50%;
}

.openbtn span:nth-of-type(2) {
	top:29px;
  	width:30%;
}

/*activeクラスが付与されると線が回転して×に*/

.active span:nth-of-type(1) {
  top: 20px;
  right: 6px;
  transform: translateY(6px) rotate(-45deg);
  width: 35%;
}

.active span:nth-of-type(2) {
  top: 32px;
  left: 26px;
  transform: translateY(-6px) rotate(45deg);
  width: 35%;
}

.active-menu{
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
  background-color: #ffffff;
  height: 100vh;
  text-align: center;
  font-size: 18px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding-top: 6vh;
  transition: all 0.5s;
  margin: 0 0 0 auto;
}

.active-menu a{
  color: #000000;
  text-decoration: none;
	letter-spacing:0.5rem;
	font-weight:bold;
}

.active-menu li{
  margin: 20px 0;
	letter-spacing:0.5rem;
	font-weight:bold;
}







/*　トップ　sp　*/

#top{
  margin-top: 66px;
}

#top-sec{
  display: flex;
  position: absolute;
}

#top-sec img{
  width:81vw;
}

h2{
  writing-mode:vertical-rl;
  font-weight: normal;
  font-size: 14px;
  position: relative;
  top:70px;
  left: 3%;
  margin: 0;
}

#box{
  width: 60vw;
  height: 19vw;
  background-color: #fff;
  position: relative;
  top: 64vw;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

h1{
  font-size: 20px;
  color: #ffffff;
  font-weight: bold;
  text-shadow: 1px 1px 0px #000,
   -1px -1px 0px #000,
    -1px 1px 0px #000, 
    1px -1px 0px #000,
     1px 0px 0px #000,
      -1px 0px 0px #000,
       0px 1px 0px #000,
       0px -1px 0px #000;
  text-align: center;
  display: inline-block;
  letter-spacing: 4px;
}

#box-span{
  font-size: 15px;
}


/*  セクション　sp */

#sec-container{
  margin-top: 75vw;
}

h3{
  font-size: 18px;
  margin: 0;
	letter-spacing:0.5rem;
}

.title-sec p{
  font-size: 12px;
  margin: 0;
}



/*　about sp　*/

#about{
  position: relative;

    animation-name:fadeDownAnime;
    animation-duration:1s;
    animation-fill-mode:forwards;
    opacity:0;
    }
    
    @keyframes fadeDownAnime{
      from {
        opacity: 0;
      transform: translateY(-100px);
      }
    
      to {
        opacity: 1;
      transform: translateY(0);
      }
    }


#about-title{
  position: absolute;
  right: 2%;
  top: 0vw;
}

#about img{
  width:75%;
  height: 12vw;
  object-fit: cover;
  object-position: 0px 35%;
}

#twitter{
  display: flex;
}

#twitter p{
  font-size: 10px;
  margin: 0 0 0 10px;
  background: linear-gradient(transparent 70%, yellow 70%);
}



/* hair sp */

#hair{
  position: relative;
  margin-top: 15px;
  z-index: 1;
  display: flex;
  justify-content: flex-end;

  animation-name:fadeRightAnime;
  animation-duration:1s;
  animation-fill-mode:forwards;
  opacity:0;
  }
  
  @keyframes fadeRightAnime{
    from {
      opacity: 0;
    transform: translateX(100px);
    }
  
    to {
      opacity: 1;
    transform: translateX(0);
    }
  }


#hair a{
  text-align: right;
  display: inline-block;
}

#hair img{
  margin: 0 0 0 auto;
  width: 25vw;
}

#hair-title{
  position: absolute;
  top: 3vw;
  left: 52vw;
  text-align: right;
}



/* collection sp */

#collection{
  position: relative;
  top: -10vw;
  left: 10vw;
  z-index: 0;
  width: 50%;

  animation-name:fadeLeftAnime;
  animation-duration:0.5s;
  animation-fill-mode:forwards;
  opacity:0;
  }
  
  @keyframes fadeLeftAnime{
    from {
      opacity: 0;
    transform: translateX(-100px);
    }
  
    to {
      opacity: 1;
    transform: translateX(0);
    }
  }


#collection-title{
  position: absolute;
  top: -6vw;
  left: -9vw;
}

#collection img{
  width: 60vw;
}



/* contact sp*/

#contact{
  position: relative;
  top: -4vw;

  animation-name:fadeUpAnime;
  animation-duration:2s;
  animation-fill-mode:forwards;
  opacity:0;
  }
  
  @keyframes fadeUpAnime{
    from {
      opacity: 0;
    transform: translateY(100px);
    }
  
    to {
      opacity: 1;
    transform: translateY(0);
    }
  }
  

#contact a{
  display: block;
  text-align: center;
}

#contact-title{
  position: absolute;
  top: -15px;
  left: 20px;
}

#contact img{
  width: 80vw;
}



/* footer sp */

footer{
  margin-top: 24px;
  margin-bottom: 30px;
}

footer p{
  font-size: 12px;
  margin: 8px 0;
}

#border{
  border: #000000 1px solid;
}

#footer-sec{
  display: flex;
  justify-content: space-between;
}

#copy{
  font-weight: bold;
}