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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}
.wrap{
    max-width: 1020px;
    margin: 0 auto;
}
h1.site-title a{
    width: 200px;
    height:150px;
  
  }
    .site-title a {
      display: block;
    }
/* ここからヘッダー部分 */
#header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    margin: 0 auto;
    padding: 120px;
    position: relative;
    border-bottom: 1px solid #000;

  }
  h1.site-title{
      position: absolute;
      top: 70px;
  }
  #header ul {
    display: flex;
    padding: 20px ;
    position: absolute;
    right: 110px;
    bottom: 10px;

  }


  #header li {
    font-size: 16px;
    margin: 15px;
  }
  #header li a {
    color: #24292e;
    font-family: 'BIZ UDPGothic', sans-serif;
  }
  #header li a,.sns-nav img.icon:hover {
    opacity: 0.7;
  }
  .sns-nav{
      position: absolute;
      top: 100px;
      right: 145px;
  }
  .sns-nav img.icon {
    width: 25px;
  }
  /* ナビゲーション部分 */
  .header-nav {
    height: 20px;
    padding: 0;
  }
  .header-nav ul {
    /* flexboxでナビゲーションバーを横並び配置する */
    display: flex;
    /* 縦幅中央に配置する指定 */
    align-items: center;
    /* 横幅中央に配置する指定 */
    justify-content: center;
    width: 100%;
    /* リストスタイルを削除 */
    list-style: none;
  }
  .header-nav ul li {
    /* ナビゲーションメニュー同士の間隔を指定 */
    margin-left: 5%;
    margin-right: 5%;
  }
  .nav-item a {
    color: #000;
    font-size: 1.4rem;
    font-weight: 400;
    text-decoration: none;
    /* アニメーション速度を指定 */
    transition: 0.2s ease-out;
  }
  .nav-item a:hover {
    /* hover後に下線が現れる指定 */
    border-bottom: 2px solid #333333;
  }
  @media (max-width:520px) {
     li.nav-item {
      text-align: center;
    }
  }
main {
    padding: 2rem;
}

.about-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.about-image {
    flex: 1;
    padding: 1rem;
}
.about-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
}

.about-text {
    flex: 1;
    padding: 1rem;
}

.about-text h1 {
    font-size: 2rem;
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.8;
}
@media screen and (max-width: 768px) {
  /*-------------------------------------------
  ヘッダー
  -------------------------------------------*/
  #header {
    max-width: 100%;
    height: auto;
    flex-direction: column;
    position: relative;
  }

  #header ul{
  margin-right: -109px;
  }
  #header li {
    font-size: 2px;
    margin-right: -1px;
  }
  #header a{
    font-size: .8rem;
  }
  #header li:first-child {
    margin-left: 0;
  }
  .sns-nav{
  position: absolute;
  top: 100px;
  right: 20px;
  }
  /* ここからabout */
    .about-section {
        flex-direction: column;
    }

    .about-image, .about-text {
        flex: unset;
        width: 100%;
    }
      /* ここからspフッター */
#footer{
    height: 200px;
  
  }
  ul.footer-nav{
    display: block;
    margin-left: -160px;
  
  }
  ul.footer-nav a{
    font-size: 10px;
    text-align: center;
  }
  p.copy-right{
    margin: 40px 55px;
    text-align: center;
  }
}

    /* ここからフッターレイアウト */
    #footer {
        height: 200px;
        position: relative;

      }

      #footer .logo {
        text-align: center;
        padding: 20px 0;
        border-top: 1px solid #111;
      }
      #footer .logo a {
        display: inline-block;
      }

      #footer .logo img {
        width: 80px;
      }
      #footer .footer-nav{
      display: flex;
      position: absolute;
      left: 38%;
      top: 66%;
      }
      #footer li{
        padding-left: 6px;
      }
      @media (max-width:1000px) {
        #footer .footer-nav{
          display: flex;
      position: absolute;
      left: 15%;
      top: 56%;
        }
      }
    @media (max-width:520px) {
      #footer .footer-nav{
        left: 170px;
      }
    }
      #footer .footer-nav a {
        display: block;
        padding: 0 10px;
        color: #111;
        font-family: 'BIZ UDPGothic', sans-serif;
        font-size: 16px;
      }
      @media  (max-width:520px) {
        #footer .footer-nav a{
          font-size: 12px;
        }
      }
      p.copy-right{
        color: #111;
        font-family: 'BIZ UDPGothic', sans-serif;
        position: absolute;
        right: 40px;
        top: 130px;
    }
