/*
Theme Name: portfolio
*/

ul{
    list-style: none;
}

ul, li, a, p{
  margin:0;
  padding:0;
}
body {
  width:100%;
}
/* ヘッダーの画像 */
.header-cover {
  background: url(./img/header1.jpg);  
  background-size:cover;
  width:100%;
  height:750px;
  position: relative;
  margin-bottom: 50px;
}
/* pc-menu*/
.pc-menu .nav-link {
  color:#333;
  padding:25px 0;
}
.nav-link:hover {
  text-decoration: underline;
  /* border:2px solid #218B91; */
} 

/* スマホ用メニューバー */
/* チェックボックス等は非表示に */
.nav-invisible {
  display:none;
}
#nav-open span, #nav-open span::before, #nav-open span::after {
  position: absolute;
  height:3px; /*線の太さ*/
  width:30px; /*長さ*/
  background:#666;
  content: "";
  cursor: pointer;
  /* マウスオン時カーソルが指になる */
}
#nav-open span {
  top:38px;
  left:30px;
}
#nav-open span::before {
  bottom:-12px;
}
#nav-open span::after {
  bottom:-24px;
}
#nav-contents {
  display:none;
}

/*閉じる用の薄黒カバー*/
#nav-close {
  display: none;
  /*はじめは隠しておく*/
  position: fixed;
  z-index: 99;
  top: 0;
  /*全体に広がるように*/
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0;
  transition: .3s ease-in-out;
}
#nav-contents {
  position: absolute;
  top:80px;
  z-index:100;
  height: auto;
  width:100%;
  background-color: black;
  transition: .3s;
  opacity: 0.8; 
  /* 要素の透明度を指定する  */
}
/*チェックが入ったらもろもろ表示*/
#nav-input:checked  ~ #nav-contents {
  display: block;
  /* カバーを表示 */
  opacity:.8;
}

#nav-contents ul {
  width:100%;
}
#nav-contents li {
  border-bottom:1px solid white;
  text-align: left;
  line-height: 1.0;
  padding:8px 8px 8px 16px;
}
#nav-contents li a {
  color:white;
  text-decoration:none;
}


/* サイト名の設定 */
#HOME {
  position: absolute;
  top:50%;           
  left:50%;
  transform: translateY(-50%);   /* 高さの半分だけ上に上げる */
  transform: translateX(-50%);
  font-size:48px;
  padding: 16px;
  background-color: rgb(189, 195, 199,0.4);
  text-align: center;
  margin-top:-50px;
  padding-top:50px;
}
.container-fluid {
  padding:0 120px;
}
.container-box {
  margin-bottom:80px;
}
.h1 {
  text-align: center;
  margin-bottom:30px;
}

.profilepicture {
  text-align: center;
}
.profilepicture-img {
  border-radius: 50%;
  width:480px;
  padding:36px;
}
.profile-contents {
  padding:24px;
  margin-left:38px;
  width:600px;
}
.profile-contents p {
  text-align: center;
  font-size: 18px;
}

.SKILLS {
  text-align: center;

}
.SKILLS-list {
  padding:30px;
  text-align: center;
  list-style: none;
  display: inline-block;
}
#WORKS p {
  text-align: center;
  padding-bottom:30px;
}
.WORKS-row {
  padding:0;
  text-align: center;
  padding:10px 20px;
}
.WORKS-list {
  text-align: center;
  list-style: none;
  display: inline-block;
  border:1px solid #ccc;
  border-radius: 10px;
  overflow: hidden;
  line-height: 2;
  position: relative;
  box-shadow: 0px 5px 10px #ccc;
  background:linear-gradient(#fff,#ddd);
}
.WORKS-list:hover {
  box-shadow: 0px 10px 20px white;
  transform:translateY(-5px);
  transition:.3s;
}
.work-img {
  width:100%;
  height: 250px;
  text-align: center;
}
#CONTACT p {
  text-align: center;
  padding-bottom: 30px;
}
form {
  text-align: center;
}
.form-label {
  padding-bottom:4px;
  display:block;
}
input[type="text"], input[type="email"], textarea {
  width: 100%;
  margin-bottom:20px;
}
.button {
  width:20%;
  padding: 5px 10px;
  border: 1px solid #999;;
  font-size: 15px;
  border-radius: 3px;
}


.footer {
  text-align: center;
  vertical-align: middle;
  color:white;
  background-color: black;
  padding:25px;
}

/* スマートフォン用表記 */
@media screen and (max-width:799px) {
  .header-cover {
    height:280px;
    position: relative;
  }
  #HOME {
    position: absolute;
    top:40%;           
    left:50%;
    transform: translateY(-50%);   /* 高さの半分だけ上に上げる */
    transform: translateX(-50%);
    font-size:36px;
    padding:0px;
    margin: 0px;
    background-color: rgb(189, 195, 199,0.4);
    text-align: center;
  }
  .pc-menu {
    display:none;
  }
  .container-fluid {
    padding:0 20px;
  }
  .profile-contents {
    margin:0;
    padding: 0;
  }
  .profilepicture-img {
    width: 300px;
  }
  .work-img {
    width:350px;
    height: 180px;
  }
}
/* PC用表記 */
@media screen and (min-width:800px) {
  .sp-menu{
    display:none;
  }
  .pc-menu .navar {
    background-color: white;
  }
  #ABOUT {
    margin-top: -80px;
    padding-top:80px;
  }
  #SKILLS {
    margin-top: -80px;
    padding-top:80px;
  }
  #WORKS {
    margin-top: -80px;
    padding-top:80px;
  }
  #CONTACT {
    margin-top: -80px;
    padding-top:80px;
  }


  .profilepicture {
    width: 300px;
  }
  .profile-contents {
    width:280px;
    margin:0;
    margin-top:30px;
  }
}