@charset "utf-8";

/* ************************ */
/* base */
/* ************************ */
html{
  font-size: 100%;
}
body{
  padding: 0;
  margin: auto;
  color:#111;
  font-size:1.0rem;
  line-height: 1.5;
  letter-spacing: 0.05em;
  font-family: 'Roboto', sans-serif,'Noto Sans JP', sans-serif;
}
img{
  width: 100%;            /* 画像をセクション幅に合わせる */
  vertical-align: bottom; /* 画像下の空白削除 */
  border: "5";
}
a{
  text-decoration: none;  /* 下線消去 */
  color: #fff;
}
a:hover{
  text-decoration: underline;
  background-color: lightgrey;
}
h3{
  font-size: 1.3rem;
  font-weight: bold;
  line-height: 1.3;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.section-title{
  font-size: 3.0rem;
  font-weight: bold;
  text-align: center;
  letter-spacing: 0.05em;
  margin-bottom: 30px;
  text-decoration: underline;
}
.section-wrapper{
  padding: 30px 10%;
}

/* ************************ */
/* header */
/* ************************ */
#header{
  display: flex;                  /* h1と横配置 */
  justify-content: space-between; /* 両端揃え */
  background-color: #1B1B1B;
  color: #fff;
  height: 75px;
  align-items: center;
  padding: 0 25px;
  border-bottom: 1px solid #fff;
}
#header .nav-list{
  background-color: #1B1310;
  color: "fff";
  height: 74px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  border-bottom: 1px solid #fff;
}
#header .nav-list{
  /* navの横並び */
  display: flex;
}
#header .nav-item{
  /* メニューの右側に余白 */
  margin-right: 30px;
}
#header .burger-btn{
  display: none;
}

/* ************************ */
/* body-main */
/* ************************ */
/* ------------------ */
/* fv */
/* ------------------ */
.fv{
  /* 画面の高さの90に指定 */
  height: 90vh;
  width: 100%;
  /* 背景画像の設定 */
  background-image: url(../img/PConTable_Simple_1440%C3%97960.jpg);
  background-size: cover;
  background-position: center;
  /* メインコピーの上下左右中央寄せ */
  display: flex;            /* 直下の要素が並列*/
  justify-content: center;  /* 上下 */
  align-items: center;      /* 左右 */
  flex-direction: column;   /* 縦配置 */
}
.main-copy{
  font-size: 2.5rem;
  color: #fff;
  font-weight: bold;
  border: 2px solid #fff;
  padding: 35px 45px;
  justify-content: center;  /* 左右 */
  align-items: center;      /* 上下 */
  text-align: center;
}

/* ------------------ */
/* about */
/* ------------------ */
#about{
  padding: 50px;
  margin: 0 auto;
  line-height: 1.3;
  align-items: center;      /* 垂直位置 */
  justify-content: center;  /* 左右 */
}
.text-wrapper_about{
    max-width: 600px;
}
#about .content-inner{
  display: flex;
  text-align: left;         /* 文章位置寄せ */
  justify-content: center;  /* 水平位置 */
  align-items: center;      /* 垂直位置 */
}
#about img{
  width: 200px;
  height: 200px;
  margin-right: 30px;
}

/* ------------------ */
/* skill */
/* ------------------ */
#skill {
  padding: 50px;
  margin: 0 auto;
  line-height: 1.0;
  align-items: center;      /* 垂直位置 */
}
.text-wrapper_skill {
  max-width: 600px;
  padding: 0;
  margin: 0 50px;
}
#skill .content-inner{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 25px;
  margin: 0 auto;
}
#skill .reverse{
  margin-top: 0px;
  flex-direction: row-reverse;
}

/* ------------------ */
/* works */
/* ------------------ */
#works {
  padding: 100px;
  margin: 0 auto;
  line-height: 1.0;
  align-items: center;      /* 垂直位置 */
}
#works ul{
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
#works li{
  margin: 0;
  padding: 0;
  margin-bottom: 100px;
  padding-right: 15px;
  align-items: center;
}
.text-wrapper_works {
  max-width: 600px;
  padding: 0;
  margin: 0 25px;
}
.text-wrapper_works a {
  color: #000;
  background-color: #0ff
}

/* ------------------ */
/* contact */
/* ------------------ */
.form{
  max-width: 700px;
  margin: 0 auto;
}
input, textarea{
  border: 1px solid #141414;
  padding: 10px;
}
.form-part{
  display: flex;
  flex-direction: column;
  margin-top: 25px;
}
label{
  margin-bottom: 5px;
}
#input-subject, textarea{
 line-height: 2;
  font-size: 1.6rem;
}
textarea{
  resize: none;
  height: 171px;
}
.form-send{
  text-align: center;
  margin-top: 50px;
}
.form-btn{
  display: inline-block;
  width: 235px;
  padding: 20px 97px;
  border-radius: bold;
  text-align: center;
  color: #fff;
  background-color: #1B1310;
  box-shadow: 0px 0px 6px #1B1310;
}

/* ------------------ */
/* footer */
/* ------------------ */
footer{
  background-color: #1B1310;
  height: 50px;
  padding: 0;
  margin: 0 auto;
  max-width: 100%;
  text-align: center;       /* テキスト左右配置 */
  align-items: center;      /* 要素の上下配置 */
  justify-content: center;  /* 要素の左右位置 */
}
small{
  display: block;
  color: #fff;
  padding: 10px;
  margin: 0 auto;
}

/* ************************ */
/* レスポンシブ対応 */
/* ************************ */
@media screen and (max-width: 600px){
  /* 画面サイズが600px以下の場合に適用 */
  /* ----------------------- */
  /* base_sp
  /* ----------------------- */
  body{
    font-size: 4.5vw;
    letter-spacing: 0.05vw;
  }
  h3{
    font-size: 1.0rem;
    margin-bottom: 25px;
  }
  .section-wrapper{
    padding: 50px 5% 10px;
  }
  
  /* ------------------ */
  /* humberger-menu */
  /* ------------------ */
  #header{
    padding: 0 5%;
  }  
  .burger-btn{
    display: block;
    width: 39px;
    height: 39px;
    position: relative;
    z-index: 3;
    color: #fff;
    /* codepenの挙動の為 */
    background-color: transparent;
    border: none;
  }
  .bar{
    width: 20px;
    height: 1px;
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
  }
  .bar_top{
    top: 10px;
  }
  .bar_mid{
    top: 50%;
    transform: translate(-50%,-50%);
  }
  .bar_bottom{
    bottom: 10px;
  }
  .burger-btn.close .bar_top{
    transform: translate(-50%,10px) rotate(45deg);
    transition: transform .3s;
  }
  .burger-btn.close .bar_mid{
    opacity: 0;
    transition: opacity .3s;
  }
  .burger-btn.close .bar_bottom{
    transform: translate(-50%,-8px) rotate(-45deg);
    transition: transform .3s;
  }
  .nav-wrapper{
    display: none;
    width: 100vm;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2; /* キービジュアルと.btn_triggerとの重なりの前後関係を調整 */
  }
  .header-nav{
    width: 100%;
    height: 100%;
    background-color: #1B1310;
    z-index: 2;
  }
  .header-nav .nav-list{
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
  }
  .header-nav .nav-item{
    margin-right: 0;
    margin-bottom: 40px;
  }

  /* ------------------ */
  /* fv */
  /* ------------------ */
  .main-copy{
    font-size: 1.8rem;
    padding: 0.5rem;
    margin: 0 auto;
    justify-content: center;  /* 左右 */
    align-items: center;      /* 上下 */
  }
  
  /* ------------------ */
  /* about */
  /* ------------------ */
  #about{
    padding: 30px;
    margin: 0 auto;
    line-height: 1.3;
    align-items: center;      /* 垂直位置 */
    justify-content: center;  /* 左右 */
  }
  .text-wrapper_about{
      max-width: 600px;
  }
  #about .content-inner{
    flex-direction: column;
    text-align: left;         /* 文章位置寄せ */
    justify-content: center;  /* 水平位置 */
    align-items: center;      /* 垂直位置 */
  }
  #about img{
    width: 150px;
    height: 150px;
    margin: 0 auto;
    margin-bottom: 30px;
    padding: 0;
  }
  #about .about-title{
    text-align: center;
  }
  
  /* ------------------ */
  /* skill */
  /* ------------------ */
  #skill {
    padding: 30px;
    margin: 0 auto;
    line-height: 1.0;
    align-items: center;      /* 垂直位置 */
  }
  #skill .content-inner{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0 auto;
    margin-bottom: 50px;
  }
  .img-wrapper_skill{
    margin-top: 40px;
    max-width: 600px;
    padding: 0;
    margin: 0 auto;
  }
  .img-wrapper_skill img{
    height:150px;
    object-fit:cover;
  }
  
  /* ------------------ */
  /* works */
  /* ------------------ */
  #works {
    padding: 20px;
    margin: 0 auto;
    line-height: 1.0;
    align-items: center;      /* 垂直位置 */
  }
  .works-list{
    flex-direction: column;
    align-items: center;
  }
  .works-item{
    padding: 0;
    margin: 0 auto;
    margin-bottom: 50px;
    align-items: center;
    justify-content: center;
  }
  .works-list li:first-child{
    margin-top: 0;
  }
  .text-wrapper_works {
    max-width: 600px;
    padding: 0;
    margin: 0 30px;
  }
}