/* 共通設定 */
html {
  font-size: 62.5%;
}
body {
  font-family: "Noto Sans JP", sans-serif;
  color: #000000;
  background-color: #ffffff;
  font-size: 3.4rem;
}
img {
  max-width: 100%;
  height: auto;
}
.about h3 {
  font-size: 2.4rem;
  font-weight: bold;
  margin-bottom: 13px;
}
p {
  font-size: 1.8rem;
}
h2 {
  font-weight: bold;
}
ul {
  line-height: 24.52px;
}
/* トップに戻るボタン */
#back-btn {
  display: none;
  padding: 28px 24px;
  background-color: #000000;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  border-radius: 50%;
  font-family: Noto Sans JP, sans-serif;
  font-size: 15px;
  position: fixed;
  bottom: 38px;
  right: 20px;
}
/* スクロール時のフェードイン */
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;
}

/* PCスタイル */
body {
  max-width: 1440px;
  margin: 0 auto;
}

header {
  padding-top: 20px;
  padding-bottom: 20px;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto;
}

#menu {
  display: flex;
  align-items: center;
}

.header-logo {
  padding: 11px 28px 12px 29px;
  font-weight: bold;
}

header h1 {
  border: 1px solid black;
}
.menu-list {
  display: flex;
  font-weight: bold;
}
.menu-list:first-child {
  gap: 20px;
}

.carouselImg {
  width: 100%;
  max-width: 100%;
}

.main-inner {
  max-width: 600px;
  text-align: center;
  margin: 50px auto;
}
.about {
  display: flex;
  justify-content: center;
  margin: 22px auto;
}
.about-profile {
  text-align: left;
}
.about-visual {
  border-radius: 50%;
  margin-right: 33px;
}
#works {
  margin: 44px auto;
}
.works {
  display: flex;
  justify-content: center;
  margin: 30px auto;
}
.works-item {
  flex: 1;
}
.works-item > p {
  max-width: 178px;
}
footer {
  text-align: center;
  margin: 32px auto;
}
/* スマートフォン */
@media screen and (max-width: 767px) {
  .header-inner {
    max-width: 343px;
  }
  h1 {
    font-size: 28px;
  }
  h2 {
    font-size: 28px;
  }
  h3 {
    font-size: 18px;
  }
  p {
    font-size: 18px;
  }
  #menu {
    font-size: 18px;
  }
  .about {
    margin-top: 42px;
    display: block;
  }
  .about-visual {
    height: 280px;
    width: 280px;
    margin: 0 auto;
  }
  .about-profile {
    margin: 0 auto;
    width: 296px;
  }
  .works {
    display: block;
    width: 355px;
    margin: 0 auto;
  }
  .works-item > img {
    width: 647px;
    height: auto;
  }
  .works-item > p {
    flex-wrap: nowrap;
    max-width: 647px;
    margin: 20px auto;
  }
}