/* PC、スマホ共通スタイル */
* {
  box-sizing: border-box;
}

p {
  font-size: 18px;
}

body {
  max-width: 1080px;
  margin: 0 auto 0 auto;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

/* ヘッダー */
header {
  padding: 20px 40px;
}

/* ナビゲーションのレイアウト */
#nav-pc {
  font-size: 34px;
}

#nav-pc > ul {
  display: flex;
  }

#nav-about {
  margin-left: auto;
}
  
#nav-pc li {
  list-style: none;
}

/* ナビゲーションのリンクの装飾設定 */
#nav-pc a {
  text-decoration: none;
  font-weight: bold;
  color: #000000;
  padding: 0 10px 0 10px;
}

#nav-profile {
  border: solid 3px #000000;
}

#main-visual > img {
  width: 100%;
}

/* 見出し */
h2 {
  margin: 40px 0 60px 0;
  font-size: 34px;
  font-weight: bold;
  text-align: center; 
}

/* About */
#about {
  margin: 80px;
}

#about-flex {
  display: flex;
  justify-content: center; 
}

#ka-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
}

#about-photo {
  margin: 0 50px 0 0;
}

#about-text {
  margin: 0 0 0 50px;
}

#about-text > h3 {
  font-size: 24px;
}

#about-text > ul {
  font-size: 18px;
}


/* Works */
#works {
  margin: 80px;
}

#works-flex {
  display: flex;
}

.works-photo {
  width: 300px;
  padding: 0 20px 0 20px;
}

.works-photo > img {
  width: 100%;
}

/* フッター */
footer {
  text-align: center;
}

/*====================
スマートフォン用のスタイル
=====================*/

@media screen and (max-width: 767px) {
  /* スマートフォン用のスタイルを指定する */

  /* ヘッダー */

  header {
    padding: 10px 0 10px 0;
  }

  #nav-pc {
    font-size: 22px;
  }

  #nav-pc > ul {
    padding: 0 10px 0 10px;
  }

  /* メインビジュアル */
  #main-visual {
    width: 100%;
  }

  /* About */
  #about-flex {
    flex-direction: column;
    align-items: center;
  }

  #about-photo,
  #about-text {
    margin: 0;
  }

  /* Works */
  #works {
    padding: 0 10px;
  }

  #works-flex {
    flex-direction: column;
    align-items: center;
  }

  .works-photo {
    max-width: 360px;
    width: auto;
    padding: 10px 10px;
  }






}