@charset "UTF-8";

@import url(http://fonts.googleapis.com/earlyaccess/notosansjapanese.css);

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.header {
  display: flex;
  width: 90%;
  margin: auto;
  justify-content: center;
  align-items: center;
  margin-top: 32px;
  padding: 0 20px;
  background: #fff;
  position: relative;
}

.logo {
  width: 180px;
  margin-bottom: 32px;
}
video {
  width: 100%;
}
/* ここから下がハンバーガーメニューに関するCSS */
.nav {
  margin-bottom: 80px;
}
/* チェックボックスを非表示にする */
.drawer_hidden {
  display: none;
}

/* ハンバーガーアイコンの設置スペース */
.drawer_open {
  display: flex;
  height: 60px;
  width: 60px;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 10px;
  z-index: 100; /* 重なり順を一番上にする */
  cursor: pointer;
}

/* ハンバーガーメニューのアイコン */
.drawer_open span,
.drawer_open span:before,
.drawer_open span:after {
  content: "";
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background: #333;
  transition: 0.5s;
  position: absolute;
}

/* 三本線の一番上の棒の位置調整 */
.drawer_open span:before {
  bottom: 8px;
}

/* 三本線の一番下の棒の位置調整 */
.drawer_open span:after {
  top: 8px;
}

/* アイコンがクリックされたら真ん中の線を透明にする */
#drawer_input:checked ~ .drawer_open span {
  background: rgba(255, 255, 255, 0);
}

/* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
#drawer_input:checked ~ .drawer_open span::before {
  bottom: 0;
  transform: rotate(45deg);
}

#drawer_input:checked ~ .drawer_open span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* メニューのデザイン*/
.nav_content {
  width: 100%;
  height: 100%;
  position: fixed;
  bottom: 100%;
  left: 0%; /* メニューを画面の外に飛ばす */
  z-index: 99;
  background: rgb(110, 110, 110);
  transition: 0.5s;
  text-align: center;
  padding-top: 20px;
}

/* メニュー黒ポチを消す */
.nav_list {
  margin-top: 56px;
  list-style: none;
  font-family: futura;
  line-height: 3em;
  letter-spacing: 0.2em;
  color: #fff;
}

.nav_item a {
  text-decoration: none;
}

/* アイコンがクリックされたらメニューを表示 */
#drawer_input:checked ~ .nav_content {
  bottom: 0; /* メニューを画面に入れる */
}
/*-------------------------------------------
text block
-------------------------------------------*/
.text-block {
  margin: auto;
  margin-top: 56px;
  margin-bottom: 80px;
  width: 70%;
  text-align: center;
}
.text-block h2 {
  margin-bottom: 32px;
  font-size: 20px;
  font-family: futura;
  font-weight: 300;
  letter-spacing: 0.3em;
}
.text-block p {
  font-size: 14px;
  font-family: "noto sans japanese,sans-serif";
  line-height: 2em;
  color: rgb(86, 86, 86);
}
/*-------------------------------------------
footer menu
-------------------------------------------*/

.footer-nav-menu {
  margin-top: 24px;
  display: flex;
  overflow: hidden;
}

.footer-nav-menu ul {
  margin: auto;
}
.footer-nav-menu li {
  float: left;
  padding: 12px;
  list-style: none;
  font-family: futura;
  letter-spacing: 0.05em;
  font-size: 14px;
}
.footer-nav-menu li a {
  text-decoration: none;
  color: black;
}
.copyright {
  text-align: center;
  margin-top: 32px;
  margin-bottom: 56px;
  font-family: futura;
  font-size: 12px;
}
/*-------------------------------------------
ALL PROJECT Page
-------------------------------------------*/

.project-img {
  width: 260px;
  height: 260px;
}
.project-box {
  margin-left: 20px;
  margin-right: 20px;
  width: 260px;
  height: 400px;
}
.project-box h3 {
  margin-bottom: 4px;
  font-size: 20px;
  font-weight: 200;
}
.project-box p {
  font-size: 12px;
  color: rgb(88, 86, 86);
  font-family: "noto sans japanese,sans-serif";
  line-height: 1.6em;
}
.project-container {
  display: flex;
  flex-wrap: wrap;
  align-content: stretch;
  width: 90%;
  margin: auto;
  justify-content: space-around;
  margin-bottom: 56px;
}

.all-projects-title h2 {
  margin-top: 24px;
  margin-bottom: 32px;
  margin-left: 120px;
  letter-spacing: 1.5px;
  font-size: 20px;
  font-family: futura;
  font-weight: 300;
}

/*========= タイピング ===============*/

.TextTyping span {
  display: none;
  font-family: futura;
  letter-spacing: 0.05em;
}

/*文字列後ろの線の設定*/
.TextTyping::after {
  content: "|";
  animation: typinganime 0.8s ease infinite;
}

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

.morebtn {
  width: 92%;
  text-align: right;
  margin-bottom: 88px;
}
a {
  text-decoration: none;
  color: black;
}

@media screen and (max-width: 480px) {
  .project-img {
    width: 100%;
    height: 100%;
  }

  .project-box {
    width: 90%;
    height: 90%;
    margin: auto;
    margin-bottom: 40px;
  }
  .project-box h3 {
    margin-bottom: 4px;
    font-size: 20px;
    font-weight: 200;
  }
  .project-box p {
    font-size: 12px;
    color: rgb(88, 86, 86);
    font-family: "noto sans japanese,sans-serif";
    line-height: 1.6em;
  }
  .project-container {
    flex-direction: column;

    margin-bottom: 56px;
  }
  .all-projects-title h2 {
    margin-bottom: 32px;
    margin-left: 56px;
    font-size: 18px;
    font-family: futura;
    font-weight: 300;
  }
}
/*ページネーション*/
.pagination {
  margin: 40px 0 0;
  margin-bottom: 56px;
  text-align: center;
}
.nav-links {
  display: flex;
}
.pagination .page-numbers {
  display: inline-block;
  margin-right: 20px;
  padding: 10px 18px;
  color: #333;
  border-radius: 3px;
  box-shadow: 0 3px 3px #999;
  background: #fff;
}
.pagination .current {
  padding: 10px 18px;
  background: #a6a6a7;
  color: #fff;
}
.pagination .prev,
.pagination .next {
  background: transparent;
  box-shadow: none;
  color: #6e6e6f;
}
.pagination .dots {
  background: transparent;
  box-shadow: none;
}
/*-------------------------------------------
PROJECT Page
-------------------------------------------*/
.project-pic {
  width: 80%;
  display: flex;
  margin: auto;
  margin-bottom: 24px;
}
h4 {
  margin-top: 32px;
  margin-bottom: 32px;
  font-family: futura;
  font-size: 18px;
  font-weight: 400;
}
.remarks {
  margin-bottom: 56px;
  text-align: center;
  font-size: 12px;
  line-height: 2em;
  color: gray;
}
.media-text {
  margin-bottom: 0px;
}

/*-------------------------------------------
MEDIA Page
-------------------------------------------*/
.media-top {
  width: 100%;
}
.mediapg-text {
  margin-top: 16px;
}
/*-------------------------------------------
contact form
-------------------------------------------*/

.wpcf7-form-control-wrap input {
  border: 1px solid black;
  border-radius: 3px;
}
.wpcf7-form-control-wrap textarea {
  border: 1px solid black;
}
.wpcf7-form-control {
  margin: auto;
  padding-left: 20px;
  padding-right: 20px;
  border: 1px solid black;
  border-radius: 3px;
  background-color: #e8e8eb;
}
.profile-text {
  margin-bottom: 56px;
  text-align: center;
  line-height: 20px;
  font-family: futura;
  font-size: 14px;
}
