/* 全体の設定 */
body {
  font-family: "Avenir Next";
}
.main {
  text-align: center;
  padding-top: 95px;
  margin: 10px;
  color: #404040;
}

b {
  color: #595959;
}


/* h1タグのデザイン設定 */
.main h1 {
  background-image: linear-gradient(0deg, #ACB6E5 0%, #86FDE8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  display: flex;
  align-items: center;
}
.main h1:before, .main h1:after {
  border-top: 2px #ACB6E5 dashed;
  content: "";
  flex-grow: 1;
}
.main h1:before {
  margin-right: 1rem;
}
.main h1:after {
  margin-left: 1rem;
}


/* サイト上部の固定ヘッダー */
nav {
  background-color: #ece1d2;
  box-shadow: 0px 2px 5px -2px #584c3c;
}
nav img {
  padding: 0;
  margin: 0;
  width: 80px;
}
/* サイトの幅が大きい時はサイト上部に */
@media only screen and (min-width:600px){
  .menu-content {
    margin-left: auto;
  }
  ul.topnav {
      overflow: hidden;
      margin: 0;
      padding: 0;
      list-style-type: none;
      background-color: #ece1d2;
  }
  ul.topnav li a {
      display: block;
      width: 110px;
      padding: 22px 16px;
      font-weight: 600;
      text-align: center;
      text-decoration: none;
      color: white;
  }
  ul.topnav li a:hover:not(.active) {
      background-color: #cae1cf;
  }
  ul.topnav li a.active {
      background-color: #adcbb3;
  }
  ul.topnav li.topbar-menu {
      float: left;
  }
}
/* サイトの幅が小さい時はハンバーガーメニューに変更！ */
@media only screen and (max-width:600px){
  .menu-btn {
      position: fixed;
      top: 20px;
      right: 20px;
      display: flex;
      height: 60px;
      width: 60px;
      justify-content: center;
      align-items: center;
      z-index: 90;
      background-color: #adcbb3;
  }
  /* 3本線の部分 */
  .menu-btn span,
  .menu-btn span:before,
  .menu-btn span:after {
      content: '';
      display: block;
      height: 3px;
      width: 25px;
      border-radius: 3px;
      background-color: #ffffff;
      position: absolute;
  }
  .menu-btn span:before {
      bottom: 8px;
  }
  .menu-btn span:after {
      top: 8px;
  }
  .menu-content ul {
      padding: 100px 10px 0;
  }
  /* メニューの内容の下線 */
  .menu-content ul li {
      border-bottom: solid 1px #ffffff;
      list-style: none;
  }
  /* メニューの内容の設定 */
  .menu-content ul li a {
      display: block;
      width: 100%;
      font-weight: 600;
      font-size: 15px;
      box-sizing: border-box;
      color:#ffffff;
      text-decoration: none;
      padding: 20px 15px 20px 0;
      position: relative;
  }
  /* 全体の背景設定 */
  .menu-content {
      width: 100%;
      height: 100%;
      position: fixed;
      top: 0;
      left: 100%;
      z-index: 80;
      background-color: #cae1cf;
      transition: all 0.5s;
  }

  /* 3本線をバツに */
  #menu-btn-check:checked ~ .menu-btn {
    background-color: #adcbb3;
    border: 1px solid #ffffff;
  }
  #menu-btn-check:checked ~ .menu-btn span,
  #menu-btn-check:checked ~ .menu-btn span:before,
  #menu-btn-check:checked ~ .menu-btn span:after {
      content: '';
      display: block;
      height: 3px;
      width: 25px;
      border-radius: 3px;
      background-color: #adcbb3;
      position: absolute;
  }
  #menu-btn-check:checked ~ .menu-btn span:before {
      background-color: #ffffff;
      bottom: 0px;
      transform: rotate(45deg);
  }
  #menu-btn-check:checked ~ .menu-btn span:after {
      background-color: #ffffff;
      top: 0px;
      transform: rotate(-45deg);
  }

  #menu-btn-check:checked ~ .menu-content {
      left: 0;
      width: 100%;
      height: 100%;
      position: fixed;
      top: 0;
      left: 0;
      z-index: 80;
      background-color: #adcbb3;
  }
  #menu-btn-check:checked ~ .menu-content ul {
      padding: 100px 10px 0;
  }
  #menu-btn-check:checked ~ .menu-content ul li {
      border-bottom: solid 1px #ffffff;
      list-style: none;
  }
  #menu-btn-check:checked ~ .menu-content ul li a {
      display: block;
      width: 100%;
      font-weight: 600;
      font-size: 15px;
      box-sizing: border-box;
      color:#ffffff;
      text-decoration: none;
      padding: 20px 15px 20px 0;
      position: relative;
  }
  #menu-btn-check:checked ~ .menu-content ul li a::before {
      content: "";
      width: 7px;
      height: 7px;
      border-top: solid 2px #ffffff;
      border-right: solid 2px #ffffff;
      transform: rotate(45deg);
      position: absolute;
      right: 11px;
      top: 30px;
  }
}
#menu-btn-check {
  display: none;
}


/* サイトのタイトル */
.title {
  position: relative;
}
.title p {
  font-weight: 800;
}
.heart {
  width: 100%;
  height: 250px;
  margin-bottom: 30px;
}
/* 携帯で見た時に画像の透過ができてないから、文字の色を変えちゃう */
.text {
  color: #dcafa0;
  margin-top: 105px;
  position: absolute;
  width: 100%;
  text-align: center;
  font-size: 30px;
}
@media only screen and (min-width:450px){
  .main {
    padding-top: 95px;
    margin: 10px;
  }
  .text {
    color: #eb5142;
    margin-top: 180px;
    position: absolute;
    width: 100%;
    text-align: center;
    font-size: 40px;
  }
  .heart {
    opacity: 0.5;
    width: 100%;
    height: 400px;
    margin-bottom: 30px;
  }
}


/* profile */
#profile {
  padding-top: 112px;
  margin-top: -112px;
  margin-bottom: 150px;
}
/* profileの中身を画面サイズにあわせて中央よせ */
@media only screen and (min-width:600px){
  .profile {
    margin-left: 10%;
  }
}
@media only screen and (min-width:800px){
  .profile {
    margin-left: 17.5%;
  }
}
@media only screen and (min-width:1000px){
  .profile {
    margin-left: 25%;
  }
}
@media only screen and (min-width:1200px){
  .profile {
    margin-left: 30%;
  }
}
.profile_content {
  margin-bottom: 50px;
}
.profile_content p {
  text-align: left;
  padding-top: 35px;
  padding-left: 130px;
}
@media only screen and (min-width:400px){
  .profile_content p {
    text-align: left;
    padding-top: 50px;
    padding-left: 130px;
  }
}
.profile_pic_name {
  opacity: 0.8;
  padding-left: 5px;
  margin: 10px;
  float: left;
  width: 100px;
  position: relative;
}
.profile_pic {
  margin: 10px;
  float: left;
  width: 100px;
  position: relative;
}


/* works */
#works{
  padding-top: 112px;
  margin-top: -112px;
  margin-bottom: 100px;
}
@media only screen and (max-width:1200px){
  #works_content {
    margin-bottom: 50px;
  }
}
.row {
  padding-top: 50px;
}
.row div {
  margin-top: 10px;
  margin-bottom: 10px;
}
.row img {
  margin-bottom: 20px;
}
.row p {
  margin-left: 5px;
  margin-bottom: 8px;
  text-align: left;
}
.row b {
  color: #404040;
}
.row li {
  list-style: square;
  text-align: left;
}
.works_pic {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}


/* contact */
#contact {
  padding-top: 112px;
  margin-top: -112px;
  margin-bottom: 30px;
}
.sns-logo {
  text-align: center;
  width: 90px;
  height: 50px;
  padding: 0px 15px;
  margin-bottom: 30px;
}


/* フッター */
footer {
  margin: 20px;
}