/* bodyの余白をなくす */
body {
  padding: 0px;
  margin: 0px;
}

/* ナビゲーションメニュー */
nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  list-style-type: none;
  margin: 20px auto 20px auto;
  max-width: 960px;
}

nav a {
  font-weight: bold;
  text-decoration: none;
  font-size: 34px;
  color: black;
  font-family: "Noto Sans JP", sans-serif;
}

/* ナビゲーションメニューのMyProfileの部分 */
.home {
  border: 1px solid black;
  padding: 0px 20px;
  margin-left: 20px;
}

/* メニューの余白 */
.menu > a {
  margin-left: 20px;
  margin-right: 20px;
}

/* 名前 */
.name {
  font-size: 24px;
  font-weight: bold;
}

h1 {
  padding-top: 60px;
  padding-bottom: 40px;
  text-align: center;
  font-size: 34px;
  font-family: "Noto Sans JP", sans-serif;
}

p {
  font-size: 18px;
  font-family: "Noto Sans JP", sans-serif;
}

li {
  font-size: 18px;
  font-family: "Noto Sans JP", sans-serif;
}

/* divの 不要な空白を削除 */
div {
  font-size: 0;
}

/* メイン画像 */
.mainpic {
  width: 100%;
  /*height: 400px;*/
}

img {
  margin: 0 auto;
  text-align: center;
  max-width: 100%;
}

/* About */
.about {
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 20px auto 20px auto;
  max-width: 960px;
}

/* 丸く切り取る画像 */
.circle {
  border-radius: 50%;
  width: 280px;
  height: 280px;
  object-fit: cover;
  border: 3px solid #999;
  padding: 3px;
}

/* プロフィールの説明部分 */
.content {
  margin: 0 auto;
  padding-left: 40px;
}

/* Works */
.works {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 20px auto 20px auto;
  max-width: 960px;
}

/* Worksの画像と説明部分 */
.item {
  padding-bottom: 60px;
  width: 25%;
}

/* Worksの画像と説明部分（2個目） */
.item_center {
  padding-right: 20px;
  padding-left: 20px;
}

/* フッター */
footer p {
  text-align: center;
  padding-bottom: 20px;
  font-family: "Noto Sans JP", sans-serif;
}

/* 横幅が767pxまでの場合 */
@media (max-width: 767px) {
  .item {
    width: 100%;
    text-align: center;
    padding-bottom: 40px;
  }
}

/*======== jQuery発展編ここから ========*/

/* slick */
.slider {
  /* ul要素の不要なパディングを削除する */
  padding: 0;
}

/* TOPに戻るボタン */
#page-top {    
  position: fixed;
  bottom: 38px;
  right: 20px;
  background-color: black;
  color: white;
  text-align: center;
  text-decoration: none;
  padding: 28px 24px;  
  border-radius: 50%;
  font-family: "Noto Sans JP", sans-serif;
  display: none;
}

/* スクロール時のフェードイン */
section {
  opacity: 0;
  transition: 1s;
}

.fade-in {
  opacity: 1;
}

/* モーダル */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
}

.big-img {
  position: absolute;  
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;  
  width: 80%;
  max-width: 800px;  
  margin: auto;  
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 20px;  
  color: white;
  font-size: 40px;
  text-decoration: none;
}

/*======== jQuery発展編ここまで ========*/