html{
  padding: 0;
  margin: 0;
}

body{
  font-family: 'Fjalla One', sans-serif;
  color: #fff;
  }
  

img{
  width: 100%;
  vertical-align: bottom;
}
#particles-js{ 
	position:fixed;/*描画固定*/
	z-index:-1;/*描画を一番下に*/
	width: 100%;
	height: 100%;
	background-color:#35004D;/*背景色*/
}
h2{
  font-size: 45px;
  text-align: center;
  font-weight: bold;
  margin: 50px;
}

#wrapper{
	position: relative;/*描画を#particles-jsよりも上にするためposition:relative;を指定*/
	z-index: 1;/*z-indexの数字を大きくすることで描画を#particles-jsよりも上に*/
	width:100%;
	height: 100%;
}

#header.coler{
 opacity: .7;
}

@media screen and (min-width: 768px) {

/* ナビゲーションメニュー */
.header{
  position: fixed;
  background-color: #fff;
  width: 100%;
  z-index: 10;
}
#nav-pc{
  display: flex;
  justify-content: space-between;
  margin: 20px auto 20px auto;
  max-width: 960px;
  /* position: fixed; */
}

#nav-pc a {
  font-weight: bold;
  text-decoration: none;
  font-size: 34px;
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
  
  }
#nav-pc a:hover{
  opacity: .7;
}
/* TOPへもどる */
#back-btn{ 
  display: none; 
  padding: 40px 40px;
  background-color: rgba(11, 11, 11, 0.813);
   color: #fff;
   text-decoration: none;
   border-radius: 50%;
   position: fixed;
   bottom: 10px;
   right: 10px;
}
/* HERO area */
#hero-area{
  height: 100vh;
  overflow: hidden;
}

.container{
  text-align: center;
  
}
h1{
  color: #fff;
  text-transform: uppercase;
  margin: 0;
  margin-top: 100px;
  line-height: 80px;
  letter-spacing: 2px;
  padding-top: 200px;
  transform: skew(10deg);
  rotate: -2deg;
  text-shadow: #533d4a 1px 1px, #533d4a 2px 2px, #533d4a 3px 3px, #533d4a 4px 4px;
}
 h1 span{
  font-size: 90px;
}

.container p{
  color: #fff;
  font-size: 40px;

 
}

/*========= 1文字ずつ出現させるためのCSS ===============*/
.eachTextAnime span{opacity: 0;}
.eachTextAnime.appeartext span{ animation:text_anime_on 1s ease-out forwards; }
@keyframes text_anime_on {
  0% {opacity:0;}
  100% {opacity:1;}
}
  

/* carousel-section */
/* チェッカーフラッグ */
.checkerflag_bg {
  background: rgb(239, 238, 238);
  color: #333;
}
#carousel-section{
  
  overflow: hidden;
  margin: 0 10%;
}

.carousel{
  margin-top: 100px;
  margin-bottom: 10px;
}
                

.slick-track{
  margin-bottom: 20px;
}
ul.slick-dots{
  margin: 30px;
}
.carouselImg{
  margin: 0 auto;
  width: 300px;
  height: 200px;
  border-radius: 30%;
}


.icon{
  width: 200px;
  height: 200px;
}

.mypic{
    width: 200px;
    height: 200px;
    border-radius: 300px;
    margin: 0 auto;
}

.carousel-text{
  margin-top: 10px;
  font-size: 40px;
	text-align:center;
	font-weight:bold;
	
}

.about-text {
  font-size: 25px;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 50px;
  
}

 /* #skill-section */

#my-section{
    display: flex;
    margin-top: 50px;

}
#my-section p{
    margin-top: 150px;
    font-size: 28px;
    font-weight: bold;
    
}
#my-section ul{
    font-size: 28px;
}

#my-chart.bar {
    height: 500px;
    width: 900px;
    margin: 0 auto;
    --labels-size: 200px;
  }
 
  #skill-section{
    overflow: hidden;
    margin-bottom: 100px;
    
  }

  th{
    font-size: 30px;
  }
  #my-chart tr{
    margin-top: 20px;
  }

 span{
    font-size: 25px;
    font-weight: bold;
  }
  /*  #works-section*/


  #works-section{ 
    overflow: hidden;
    background: repeating-linear-gradient(-45deg, #ddd 0, #ddd 2px, #FFF 4px, #FFF 6px);
    color: #333;
  }
  .works-inline{
    margin: 0 10%;
  }
  #works-list {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 40px;
    column-gap: 30px;
  }
  
  .works-item {
    width: 30%;
    margin-bottom: 40px;
    color: #333;
    text-decoration: none;
  }
  
  .works-item:hover {
    opacity: .9;
  }
 
  
  .works-item:nth-of-type(3n) {
    margin-right: 0;
  }
  
  .works-img{
    border: 1px solid #e6e6e6;
    max-width: 100%;
    text-align: center;
  }
   .works-img img{
    height: 200px;
  }


  .m-saiz{
    margin-top: 70px;
  }

  .works-item p{
    font-size: 14px;
    color: #000;
  }
  
  .works-name {
    font-size: 14px;
    font-weight: bold;
    margin-top: 8px;
  }
  
  .works-info {
    font-size: 14px;
    margin-top: 5px;
  }

  /*--------------------------------
 下層：Worksページ
---------------------------------*/
.article {
  padding: 80px 0;
}

.article-container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

.article-title {
  margin-bottom: 30px;
  text-align: center;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  margin-bottom: 80px;
  font-size: 30px;
}

.work-back{
  color: #fff;
  text-align: center;
}




  /*contact-section  */
#contact-section{
  overflow: hidden;
  margin: 0 25%;
  
}
.contact-text{
  margin: 0 auto;
  margin-bottom: 30px;
}
.form-item{
  display: block;
  text-align: center;
  margin-bottom: 30px;
}

.labrl{
  display: block;
  font-size: 20px;  
  margin-bottom: 10px;
  text-align: left;
}
.form-top{
  width: 100%;
  margin-bottom: 50px;
  
}

input{
  font-size: 20px;
  width: 100%;
  line-height: 30px;
  padding: 5px 90px 5px 5px;
}
textarea{
  padding: 10px;
  font-size: 20px;
  width: 100%;
  margin-bottom: 50px;
  
}
.submit{
  width: 100px;
  margin: 0 auto;
}
.submit-btn{
  background-color: #fff;
  color: #333;
  width: 100px;
  border-radius: 50%;
  padding: 20px;
  font-weight: bold;
  border: none;
}
.submit:hover{
  opacity: .7;
  

}
/* comform */
.home-link-conf{
  text-align: center;
}
.home-link-conf a{
  text-decoration: none;
  font-weight: bold;
}
/* footer */
 footer{
  text-align: center;
  padding: 40px 80px 30px 80px;
  color: #fff;
 }

 #footer-link > a{
  text-decoration: none;
  margin: 10px;
 }
 #footer-link > a:link {
  color: #ffffff;
}
#footer-link > a:visited {
  color: #ffffff;
}
#footer-link > a:hover {
  color: #ffffff;
  text-decoration: underline;
}
#footer-link > a:active {
  color: #ffffff;
}
#copyright {
  float: right;
  font-size: 15px;
}


 #g-nav{
     display: none;
   }


}
 /*====================
  スマートフォン用のスタイル
  =====================*/
  @media screen and (max-width: 767px) {

   body { 
      min-width: 375px;
      margin: 0;
    } 

    h2{
      font-size: 30px;
      text-align: center;
      padding: 50px;
      margin: 0;
  }
/* header */
#header{
  /* display: none; */
}
  /* ハンバーガーメニュー */
  #g-nav{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    display: block;
    position:fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
  top:-120%;
    left:0;
  width:100%;
    height: 100vh;/*ナビの高さ*/
  background:#999;
    /*動き*/
  transition: all 0.6s;
  }
  
  
  /*アクティブクラスがついたら位置を0に*/
  #g-nav.panelactive{
    top: 0;
  }
  
  /*ナビゲーションの縦スクロール*/
  #g-nav.panelactive #g-nav-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  /*ナビゲーション*/
  #g-nav ul {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
  }
  
  /*リストのレイアウト設定*/
  
  #g-nav li{
  list-style: none;
    text-align: center; 
  }
  
  #g-nav li a{
  color: #333;
  text-decoration: none;
  padding:10px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
  }
  
 

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
    top: 0;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}

/*リストのレイアウト設定*/

#g-nav li{
	list-style: none;
    text-align: center; 
}

#g-nav li a{
	color: #333;
	text-decoration: none;
	padding:10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
}

/*========= ボタンのためのCSS ===============*/
.openbtn{
	position:fixed;
    z-index: 9999;/*ボタンを最前面に*/
	top:10px;
	right: 10px;
	cursor: pointer;
    width: 50px;
    height:50px;
}
	
/*×に変化*/	
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
	background-color: #666;
  	width: 45%;
  }

.openbtn span:nth-of-type(1) {
	top:15px;	
}

.openbtn span:nth-of-type(2) {
	top:23px;
}

.openbtn span:nth-of-type(3) {
	top:31px;
}

.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}
    
   
    
   /* PC用ナビゲーション非表示 */


   #nav-pc {
    display: none;
  }

     /* ヒーローエリア */
     #hero-area{
      height: 100vh;
     width: 100%;
     overflow: hidden;
     }
     .eachTextAnime span{opacity: 0;}
      .eachTextAnime.appeartext span{ animation:text_anime_on 1s ease-out forwards;}
      @keyframes text_anime_on {
        0% {opacity:0;}
        100% {opacity:1;}
      }
      .container{
        text-align: center;
      }  
       p span{
        font-size: 20px ;
        color: #fff;
       }
        p{
        margin-top: 20px;
      } 
    
      h1{ 
        color: #fff;
        text-transform: uppercase;
        margin-right: 60px;
        line-height: 1.5;
        letter-spacing: 2px;
        padding-top: 200px;
        transform: skew(10deg);
        rotate: -2deg;
        text-shadow: #533d4a 1px 1px, #533d4a 2px 2px, #533d4a 3px 3px, #533d4a 4px 4px;
      }
       h1 span{
        font-size: 60px;
      }
      
      
    /*カルーセルエリア  */
    .carusel_bg{
      
    }
      .mypic{
        width: 200px;
        height: 200px;
        border-radius: 100px;
        margin: 0 auto;
      }

      .carouselImg{
        margin: 0 auto;
        border-radius: 30%;
      }
      .icon{
        width: 300px;
        height: 300px;
      }
      
      #carousel-section p{
        margin-top: 10px;
        font-size: 18px;
        text-align:center;
        font-weight:bold;
      }
      .carousel-text{
        font-size: 20px;
      }
      .about-text p{
        font-size: 20px;
      }
 /* TOPに戻る */
      #back-btn{ 
        display: none; 
        padding: 10px 10px;
        background-color:  rgba(11, 11, 11, 0.813);
         color:#fff;
         text-decoration: none;
         border-radius: 50%;
         position: fixed;
         bottom: 10px;
         right: 10px;
      }
      /* SKILL */
      /* #skill-section */
  #skill-section{
    height: 100vh;
    overflow: hidden;
  
  }
  #my-chart{
    margin-top: 100px;
    height: 50vh;
  }
  #my-chart tr{
    margin-top: 20px;
  }

  th{
    font-size: 14px;
  }

 span{
    font-size: 16px;
    font-weight: bold;
  }
  /* works */
  .checkerflag_bg {
    background:rgb(239, 238, 238);
    color: #333;
  }
  .works-p{
    color: #333;
    padding-bottom: 50px;
    text-decoration: none;

  }
  .works-img{
    border: 1px solid #e6e6e6;
    text-align: center;
  }
  .works-img img{
    height: 200px;
  }
  .works-item{
    text-decoration: none;
  }
 
  
  /* contact */
  #contact-section{
    
    overflow: hidden;
    margin: 0 4vw;
    
  }
  .contact-text{
    font-size: 16px;
    margin: 0 auto;
    margin-bottom: 30px;
  }
  .form-item{
    display: block;
    text-align: center;
    margin-bottom: 30px;
  }
  
  .labrl{
    display: block;
    font-size: 20px;  
    margin-bottom: 10px;
    text-align: left;
  }
  .form-top{
    
    width: 100%;
    margin-bottom: 20px;
  }
  
  input{
    font-size: 20px;
    width: 100%;
    line-height: 30px;
    padding: 5px 90px 5px 5px;
  }
  textarea{
    padding: 10px;
    font-size: 20px;
    width: 100%;
    margin-bottom: 50px;
    
  }
  .submit{
    text-align: center;
  }
  .submit-btn{
    background-color: #fff;
    color: #333;
    width: 100px;
    border-radius: 50%;
    padding: 20px;
    font-weight: bold;
    border: none;
  }
  .submit:hover{
    opacity: .7;
    
  
  }
  /* comform */
.home-link-conf{
  text-align: center;
  padding-top: 50px;
}
.home-link-conf a{
  text-decoration: none;
  font-weight: bold;
}
  /* footer */
 footer{
  text-align: center;
  padding: 40px 80px 30px 80px;
  color: #fff;
 }

 #footer-link > a{
  text-decoration: none;
  margin: 10px;
 }
 #footer-link > a:link {
  color: #ffffff;
}
#footer-link > a:visited {
  color: #ffffff;
}
#footer-link > a:hover {
  color: #ffffff;
  text-decoration: underline;
}
#footer-link > a:active {
  color: #ffffff;
}
#copyright {
  float: right;
  font-size: 15px;
}
  
 
  /* 下層ページ */
  .article {
    padding: 50px 0;
  }
  
  

  .article-body h3 {
    font-size: 16px;
    padding-left: .8em;
  }

  .article-body h3:not(:first-child) {
    margin-top: 30px;
  }

  .article-body p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
  }

  img{
    width: 100%;
    
  }
  .home-link a {
    color: #fff;
  }
  .work-back{
    color: #fff;
    text-align: center;
  }

}