@charset "utf-8";

/*
ベース 
*/
html {
  font-size: 62.5%;
  /* 標準10px相当 */

  scroll-behavior: smooth;

}

body {
  font-family: 'Open Sans', 'Noto Sans JP', "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 1.4rem;
  line-height: 1.4;
  color: #333;
}

img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

/*
ヘッダー
*/
.header {
  width: 100%;
  height: 48px;
  position: fixed;
  z-index: 5;
  background-color: rgba(255, 255, 255, 0.9);
}

.wrapper_nav {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4%;
  display: flex;
  line-height: 48px;
}

.header_headline {
  font-size: 3.0vmin;
}

nav {
  margin: 0 0 0 auto;
}

.menu {
  display: flex;
}

.menu li a {
  font-size: 1.2rem;
  margin: 0 0 0 30px;
}

.menu li a:hover {
  text-decoration: underline;
  color: #C06020;
}

/*
メイン-キービジュアル
*/
.main_keyvisual {
  width: 100%;
  min-height: 100vh;
  background: url(../img/top_img.jpg) center / cover;
  position: relative;
}

.main_keyvisual_headline {
  position: absolute;
  top: 52%;
  left: 35%;
  font-size: 3.0vmin;
  font-weight: bold;
}

/*
スクロール描写
*/
.scrolldown {
  position: absolute;
  bottom: 10px;
  left: 52%;
}

.scrolldown span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  color: #eee;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  -ms-writing-mode: tb-rl;
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
}

.scrolldown:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #eee;
  animation:
    circlemove 1.6s ease-in-out infinite,
    cirlemovehide 1.6s ease-out infinite;
}

@keyframes circlemove {
  0% {
    bottom: 45px;
  }

  100% {
    bottom: -5px;
  }
}

@keyframes cirlemovehide {
  0% {
    opacity: 0
  }

  50% {
    opacity: 1;
  }

  80% {
    opacity: 0.9;
  }

  100% {
    opacity: 0;
  }
}

.scrolldown:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2px;
  height: 50px;
  background: #eee;
}

/*
セクションベース
*/
.wrapper {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 4%;
}

.section_headline {
  font-size: 3.2rem;
  text-align: center;
  margin-bottom: 36px;
}

.section_headline::first-letter {
  color: #C06020;
}

.section_inner {
  padding: 68px 0 104px;
}

.section_inner:nth-of-type(even) {
  background-color: rgb(153, 176, 191, 0.1);
}

.hovercolor:hover {
  color: #C06020;
}

/* フォント共用 */
.section_p {
  font-size: 1.2rem;
  line-height: 1.2;
}

.bold {
  font-weight: bold;
}

.small {
  font-size: 1.0rem;
  line-height: 1.2;
}

.center {
  text-align: center;
  margin: 24px auto -24px;
}

/*
セクション-Web制作
*/
.webproduction_list {
  flex-wrap: wrap;
  display: flex;
  justify-content: space-between;
  align-items: top
}

.webproduction_box {
  width: 24%;
  padding: 8px 8px 24px;
}

.webproduction_box img {
  box-shadow: 1px 1px 5px #ccc;
  margin-bottom: 5px;
}

/* 最後コンテンツの左寄せ指定 */
.webproduction_list:after {
  content: "";
  display: block;
  width: 24%;
  /* 元に指定したwidthと同じ幅を指定 */
  height: 0;
}

.webproduction_list:before {
  content: "";
  display: block;
  width: 24%;
  /* 元に指定したwidthと同じ幅を指定 */
  height: 0;
  order: 1;
  /* 疑似要素beforeの順番を必ず指定する*/
}

/*
セクション-その他
*/
.others_list {
  flex-wrap: wrap;
  display: flex;
  justify-content: space-between;
  align-items: top
}

.others_box {
  width: 24%;
  padding: 8px 8px 24px;
}

.others_box img {
  box-shadow: 1px 1px 5px #ccc;
  margin-bottom: 5px;
}

/* 最後コンテンツの左寄せ指定 */
.others_list:after {
  content: "";
  display: block;
  width: 24%;
  /* 元に指定したwidthと同じ幅を指定 */
  height: 0;
}

.others_list:before {
  content: "";
  display: block;
  width: 24%;
  /* 元に指定したwidthと同じ幅を指定 */
  height: 0;
  order: 1;
  /* 疑似要素beforeの順番を必ず指定する*/
}

/*
セクション-スキル
*/
.skill_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.skill_item {
  display: flex;
  flex: 0 0 30%;
  flex-direction: column;
  margin: 12px 12px 24px;
}

.skill_icon img {
  width: 100%;
  max-width: 48px;
}

/*
セクション-プロフィール
*/
.profire_box {
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
  margin-top: 20px;
}

.profile_img {
  max-width: calc(100% / 3);
}

.profile_img img {
  border-radius: 2%;
  box-shadow: 2px 2px 2px #ccc;
}

.profile_text {
  margin-left: 40px;
}

.profile_table {
  margin-bottom: 10px;
}

.profile_table:last-child {
  margin-bottom: 0px;
}

.base_th {
  font-weight: normal;
  width: calc(100% / 6);
  padding: 4px 8px;
  border-bottom: 1px solid #fff;
  text-align: center;
  background-color: rgb(192, 96, 32, 0.2);
}

.base_td {
  width: calc(100% / 4);
  padding: 4px 8px;
  border-bottom: 1px solid #fff;
  background-color: rgba(153, 176, 191, 0.2);
}

.num_td {
  width: calc(100% / 15);
}

.work_td {
  width: calc(100% / 2);
}

/*
セクション-連絡先
*/
.section_inner:last-of-type {
  padding: 84px 0 120px;
}

.section_headline:last-of-type {
  font-size: 2.4rem;
  text-align: center;
  margin-bottom: 24px;
}

.contact_text {
  font-size: 2.0rem;
  text-align: center;
}

.contact_text:last-child {
  font-size: 1.4rem;
}

/*
フッター
*/
.footer {
  min-height: 48px;
  background-color: #555;
  color: #eee;
  text-align: center;
  line-height: 48px;
  position: relative;
}

/* トップ戻りボタン */
.top_button {
  width: 50px;
  height: 25px;
  border-radius: 25px 25px 0 0;
  position: absolute;
  top: -22px;
  right: 10px;
  background: #555;
}

.top_button::before {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f106';
  font-size: 20px;
  color: #ffffff;
  position: absolute;
  width: 50px;
  height: 50px;
  top: 5px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}

/*
レスポンシブ
*/
@media screen and (max-width: 959px) {

  /* 959px以下に適用されるCSS（middle用） */

  /* Web制作 */
  .webproduction_box {
    width: 32%;
    padding: 8px 8px 24px;
  }

  /* スキル */
  .skill_item {
    flex: 0 0 45%;
    margin: 6px 6px 12px;
  }

  /* プロフィール */
  .num_td {
    width: calc(100% / 8);
  }

}

@media screen and (max-width: 480px) {

  /* 480px以下に適用されるCSS（small用） */

  /* ハンバーガーメニュー */
  .menu {
    flex-direction: column;
    text-align: center;
  }

  .menu li a {
    color: #fff;
    margin-left: 0;
    line-height: 50px;
    font-size: 1.6rem;
  }

  #g-nav {
    position: absolute;
    z-index: 999;
    top: -100vh;
    left: 0;
    width: 100%;
    height: 100vh;
    /*ナビの高さ*/
    background: #333;
    transition: all 0.6s;
  }

  /*アクティブクラスがついたら位置を0に*/
  #g-nav.panelactive {
    top: 0;
  }

  /*ナビゲーション*/
  #g-nav .menu {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  /*========= ボタンのためのCSS ===============*/
  .openbtn {
    position: absolute;
    z-index: 9999;
    /*ボタンを最前面に*/
    right: 10px;
    cursor: pointer;
    width: 50px;
    height: 50px;
  }

  /*×に変化*/
  .openbtn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 1px;
    background-color: #333;
    width: 50%;
  }

  .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: 50%;
    background-color: #fff;
  }

  .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: 50%;
    background-color: #fff;
  }

  /* キービジュアル */
  .main_keyvisual {
    background: url(../img/top_img_small.jpg) center / cover;
  }

  .main_keyvisual_headline {
    left: 36%;
    font-size: 3.5vmin;
  }

  /* スクロール描写 */
  .scrolldown {
    bottom: 60px;
  }

  .scrolldown span {
    bottom: 15px;
  }

  /* Web制作 */
  .webproduction_list {
    display: block;
  }

  .webproduction_box {
    width: 100%;
  }

  /* Web制作 */
  .others_list {
    display: block;
  }

  .others_box {
    width: 100%;
  }

  /* スキル */
  .skill_list {
    display: block;
  }

  .skill_item {
    width: 80%;
    margin: 0px 0px 0px;
    margin: 24px auto;
  }


  /* プロフィール */
  .profire_box {
    display: block;
    margin-top: 0px;
  }

  .profile_text {
    margin-left: 0px;
  }

  .profile_img {
    max-width: 100%;
    margin: 16px auto 0;
  }

  .num_td {
    width: calc(100% / 8);
  }

}