html {
  font-size: 62.5%;
}
body {
  font-size: 1.6rem;
  line-height: 1.5;
  /* font-family: 'Helvetica','Yu Gothic'; */
  font-family: 'Noto Serif', 'Noto Serif JP', serif;
  color: #333;
  box-sizing: border-box;
  --my-color:rgb(153, 135, 135);
}
img {
  width: 100%;
  vertical-align: bottom;
}
a {
  text-decoration: none;
  display: inline-block;
}
a:hover {
  opacity: .7;
  transition: .3s;
}
.section {
  max-width: 1200px;
  margin: 20px auto;
  padding: 50px 15px;
  background-color: #fff;
}
.section-title {
  font-size: 2.6rem;
  font-weight: bold;
  background-color: var(--my-color);
  color: #fff;
  width: 220px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  margin: 0 auto 80px;
}
.section-title::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 2px;
  background-color: #fff;
  vertical-align: middle;
  margin-right: 7px;
}
.section-title::after {
  content: "";
  display: inline-block;
  width: 30px;
  height: 2px;
  background-color: #fff;
  vertical-align: middle;
  margin-left: 7px;
}
.text {
  padding: 5px 20px;
}
button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
  font-family: 'Noto Serif', 'Noto Serif JP', serif;
}
.main {
  background-color: #fef4f4;
  padding: 20px 4vw;
}
/* フェードイン */
.effect-fade {
  opacity:0;
  transform: translate(0,100px);
  transition: all 2000ms;
}
.effect-scroll {
  opacity: 1;
  transform: translate(0,0);
}
/* ヘッダー */
.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: var(--my-color);
  z-index: 1;
}
.header-container {
  max-width: 1200px;
  height: 70px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-title a{
  font-size: 3.6rem;
  font-weight: bold;
  color: #fff;
}
.nav-list {
  display: flex;
}
.header-nav .menu-item {
  margin-right: 20px;
}
.header-nav .menu-item:last-child {
  margin-right: 0;
}
.header-nav .menu-item a {
  font-size: 2.3rem;
  color: #fff;
  position: relative;
}
.header-nav .menu-item a::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #fff;
  transform: scale(0,1);
  transform-origin: left top;
  transition: transform .3s;
}
.header-nav .menu-item a:hover::after {
  transform:scale(1,1);
}
.burger-btn {
  display: none;
}
.burger-musk {
  display: none;
}
.header.fixed {
  position: fixed;
  background-color: rgb(244, 144, 159, .8);
  transition: .3s;
}
/* ファーストビュー */
.fv {
  width: 100%;
  height: 100vh;
  min-height: 500px;
  background-image: url(../img/top-img.jpg);
  background-position: center;
  background-size: cover;
  position: relative;
}
.main-copy {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
.main-title {
  font-family: 'Dancing Script', cursive;
  font-size: 10rem;
  line-height: 1.1;
  white-space: nowrap;
  color: #807070;
}
.sub-title {
  font-size: 3rem;
  color: #807070;
}
/* 上へ戻るボタン */
#page_top {
  width: 90px;
  height: 90px;
  position: fixed;
  right: 0;
  bottom: 0;
  background: var(--my-color);
  border-radius: 50%;
  z-index: 3;
}
#page_top a {
  position: relative;
  display: block;
  width: 90px;
  height: 90px;
  text-decoration: none;
}
#page_top a::before {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f102';
  font-size: 25px;
  color: #fff;
  position: absolute;
  width: 25px;
  height: 25px;
  top: 10px;
  bottom: 0;
  right: 0;
  left: 32px;
  text-align: center;
}
#page_top a::after {
  content: 'PAGE TOP';
  font-size: 13px;
  color: #fff;
  position: absolute;
  top: 45px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}
/* アバウト */
.about-container {
  display: flex;
  justify-content: space-around;
}
.myphoto {
  width: 30%;
}
.myphoto img {
  border-radius: 50%;
  /* box-shadow: 0 0 8px gray; */
  box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
}
.about-text {
  width: 48%;
  line-height: 1.7;
}
.twitter-link {
  margin-top: 20px;
}
.twitter-link a {
  color: #1d9bf0;
}
/* スキル */
.skill-list {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}
.skill-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
}
.skill-item {
  width: calc(100% / 3 - 50px);
  padding: 10px;
  margin-bottom: 30px;
  text-align: center;
  /* box-shadow: 0 0 5px gray; */
  box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
  border-radius: 10px;
}
.skill-item p {
  text-align: initial;
}
.skill-size {
  font-size: 100px;
  padding: 30px 0;
}
.skill-size-jquery {
  width: 100px;
  padding: 30px 0;
  margin: 0 auto;
}
.skill-size-jquery-a {
  font-size: 1.2rem;
}
/* サービス */
.service-text {
  text-align: center;
  line-height: 1.7;
  margin-bottom: 80px;
}
.service-list {
  display: flex;
  justify-content: space-around;
}
.service-size {
  display: inline-block;
  background-color: #fff;
  width: 100px;
  height: 75px;
  font-size: 50px;
  margin-top: -80px;
  padding-top: 25px;
  /* box-shadow: 0 0 5px gray; */
  box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
  border-radius: 50%;
}
.service-item {
  width: calc(100% / 3 - 50px);
  padding: 10px;
  margin: 30px 0;
  text-align: center;
  /* box-shadow: 0 0 5px gray; */
  box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
  border-radius: 10px;
}
.service-item p {
  text-align: initial;
}
.service-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin: 20px 0;
}
/* ワークス */
.works-list {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}
.works-item {
  width: calc(100% / 3 - 50px);
  padding: 10px;
  margin-bottom: 50px;
  /* box-shadow: 0 0 5px gray; */
  box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
  border-radius: 10px;
}
.works-image {
  margin: 30px 0;
  position: relative;
}
.arrow {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 60px;
  height: 45px;
  padding-top: 15px;
  text-align: center;
  color: #fff;
  background-color: var(--my-color);
  border-radius: 50%;
}
.works-text a {
  text-decoration: underline;
}
/* コンタクト */
.contact-wrapper {
  max-width: 700px;
  margin: 0 auto 80px;
  padding: 0 50px;
}
.contact-wrapper .text {
  text-align: center;
  line-height: 1.7;
  padding-bottom: 30px;
}
.form-list {
  margin-bottom: 20px;
}
.form-list:last-of-type {
  margin-bottom: 50px;
}
.form-label {
  line-height: 35px;
}
.form-list p input,
.form-list p textarea {
  padding: 5px;
}
input,
textarea {
  resize: none;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  border: 1px solid #dadada;
  width: 100%;
  box-sizing: border-box;
  border-radius: 3px;
}
textarea {
  height: 250px;
}
.btn {
  background-color: gray;
  color: #fff;
  display: block;
  line-height: 48px;
  width: 210px;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin: 0 auto;
  border-radius: 20px;
}
.btn:hover {
  opacity: .7;
}
/* フッター */
.footer {
  background-color: #fef4f4;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.footer-nav-list {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.footer-nav .menu-item {
  padding: 0 10px;
  border-left: 1px solid var(--my-color);
}
.footer-nav .menu-item:last-child {
  border-right: 1px solid var(--my-color);
}
.footer-nav .menu-item a {
  color: var(--my-color);
}
.footer-container p {
  font-size: 1.2rem;
  color: gray;
  padding-bottom: 15px;
}
/* スマホ */
@media screen and (max-width:768px) {
  /* ヘッダー */
  .site-title a{
    font-size: 2.6rem;
  }  
  .header-nav {
    display: none;
    width: 70%;
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 2;
    background-color: rgb(153, 135, 135, .8);
  }
  .nav-list {
    flex-direction: column;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
  }
  .menu-item {
    margin-right: 0;
    margin-bottom: 40px;
  }
  /* バーガーボタン位置 */
  .burger-btn {
    display: block;
    position: fixed;
    top: 10px;
    right: 16px;
    width: 48px;
    height: 48px;
    z-index: 10;
  }
  /* バーガーボタン三本線 */
  .btn-line {
    display: block;
    position: relative;
    width: 100%;
    height: 4px;
    background-color: #fff;
    transition: .2s;
  }
  .btn-line::before,
  .btn-line::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #fff;
    transition: .5s;
  }
  .btn-line::before {
    transform: translate(-50%,-16px);
  }
  .btn-line::after {
    transform: translate(-50%,16px);
  }
  /* バーガーボタンバツ印 */
  .btn-line.open {
    background-color: transparent;
  }
  .btn-line.open::before,
  .btn-line.open::after {
    content: "";
    transition: .2s;
  }
  .btn-line.open::before {
    transform: translateX(-50%) rotate(45deg);
  }
  .btn-line.open::after {
    transform: translateX(-50%) rotate(-45deg);
  }
  /* バーガーボタンを押したときに背景を暗くする */
  .burger-musk {
    display: none;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .4);
    z-index: 1;
  }
  /* ファーストビュー */
  .main-title {
    font-size: 5rem;
    line-height: 1.2;
  }
  .sub-title {
    font-size: 2rem;
    white-space: nowrap;
  }
  /* アバウト */
  .about-container {
    flex-direction: column;
    align-items: center;
  }
  .myphoto {
    width: 50%;
  }
  .myphoto img {
    margin-bottom: 30px;
  }
  .about-text {
    width: 90%;
  }  
  /* スキル */
  .skill-list {
    flex-direction: column;
    align-items: center;
  }
  .skill-item {
    width: 90%;
  }
  /* サービス */
  .service-list {
    flex-direction: column;
    align-items: center;
  }
  .service-item {
    width: 90%;
  }
  /* ワークス */
  .works-list {
    flex-direction: column;
    align-items: center;
  }
  .works-item {
    width: 90%;
    margin-bottom: 30px;
  }
  /* コンタクト */
  .contact-wrapper {
    padding: 0 15px;
  }
  /* フッター */
  .footer-nav {
    display: none;
  }
}