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

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #333333;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}

.section-title {
  display: inline-block;
  font-size: 64px;
  letter-spacing: 0.1em;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 44px;
  }
}

header {
  position: fixed;
  z-index: 5;
  width: 100%;
  height: 80px;
  background-color: rgba(255, 255, 255, 80%);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

header p {
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 0.1em;
}

header ul {
  display: flex;
  column-gap: 40px;
  justify-content: space-between;
  list-style: none;
}

header a {
  font-size: 16px;
  font-weight: bold;
}

@media (max-width: 768px) {
  header ul {
    display: none;
  }
}

/*
 * Firstview
 */

.firstview {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 800px;
  background-image: url('images/hero-image.png');
  background-position: center;
  background-size: cover;
}

.firstview h1 {
  font-size: 64px;
}

.firstview p {
  font-size: 14px;
  letter-spacing: 0.2em;
}

@media (max-width: 768px) {
  .firstview h1 {
    font-size: 56px;
  }
}

.about {
  padding: 140px 0;
}

/*
 * Profile
 */

.profile {
  display: flex;
  column-gap: 5%;
  align-items: center;
}

.profile h3 {
  margin-top: 72px;
  font-size: 24px;
}

.profile p {
  margin-top: 24px;
  font-size: 16px;
}

.profile img {
  flex: 0;
  width: 47.5%;
}

@media (max-width: 768px) {
  .about {
    padding: 80px 0;
  }

  .profile {
    flex-direction: column;
    row-gap: 24px;
  }

  .profile h3 {
    margin-top: 24px;
  }

  .profile p {
    margin-top: 16px;
  }

  .profile img {
    width: 100%;
  }
}

/*
 * School-club
 */

.school-club {
  display: flex;
  column-gap: 5%;
  margin-top: 200px;
}

.school-club .content {
  width: 100%;
}

.school-club img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 16px;
}

.school-club h3 {
  margin-top: 8px;
}

.school-club p {
  margin-top: 16px;
}

.school-club a {
  display: inline-block;
  margin-top: 32px;
  font-weight: bold;
  border-bottom: 1px solid #000000;
}

@media (max-width: 768px) {
  .school-club {
    flex-direction: column;
    row-gap: 40px;
    margin-top: 100px;
  }

  .school-club img {
    height: 220px;
  }

  .school-club a {
    margin-top: 24px;
  }
}

/*
 * Club
 */

.club {
  padding: 140px 0;
  background-color: #fffdf3;
}

.club .container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.club-img {
  position: relative;
  width: 50%;
  aspect-ratio: 1 / 1.25;
}

.club-img img {
  position: absolute;
}

.club-img img:nth-child(1) {
  top: 0;
  left: 0;
  z-index: 3;
  width: 65%;
}

.club-img img:nth-child(2) {
  top: 30%;
  left: 8%;
  z-index: 1;
  width: 85%;
}

.club-img img:nth-child(3) {
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 40%;
}

.club-text {
  position: relative;
  z-index: 4;
  width: 40%;
}

.club-text h2 {
  font-size: 48px;
}

.club-text p {
  margin-top: 16px;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.8;
  letter-spacing: 0.1em;
}

@media (max-width: 768px) {
  .club {
    padding: 80px 0;
  }

  .club .container {
    flex-direction: column;
    row-gap: 16px;
  }

  .club-img {
    width: 100%;
  }

  .club-text {
    width: 100%;
  }

  .club-text h2 {
    font-size: 32px;
  }

  .club-text p {
    font-size: 14px;
  }
}

/*
 * Favorite
 */

.favorite {
  padding: 140px 0;
  text-align: center;
  background-image: url('images/favorite-background.png');
  background-position: center;
  background-size: cover;
}

.favorite .section-title {
  color: #ffffff;
  border-bottom: 3px solid #ffffff;
}

.favorite-contents {
  display: flex;
  column-gap: 16px;
  justify-content: space-between;
  margin-top: 80px;
}

.favorite-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 320px;
  padding: 40px;
  background-color: rgba(255, 255, 255, 80%);
  border-radius: 16px;
}

.favorite-content img {
  width: 200px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
}

.favorite-content h3 {
  margin-top: 24px;
  font-size: 24px;
}

.favorite-content p {
  margin-top: 8px;
  font-size: 16px;
  text-align: left;
}

@media (max-width: 768px) {
  .favorite {
    padding: 80px 0;
  }

  .favorite-contents {
    flex-direction: column;
    row-gap: 40px;
    align-items: center;
  }

  .favorite-content {
    max-width: 100%;
  }
}

.works {
  padding: 140px 0;
  text-align: center;
  background-color: #fffdf3;
}

.works .section-title {
  border-bottom: 3px solid #ff9900;
}

.works-content {
  display: flex;
  column-gap: 32px;
  padding: 40px;
  margin-top: 40px;
  text-align: left;
  background-color: #ffffff;
  box-shadow: 0 0 5px rgba(0, 0, 0, 15%);
}

.works-content img {
  width: 320px;
}

.works-detail {
  display: flex;
  flex-direction: column;
  row-gap: 16px;
}

.works-detail-title {
  display: flex;
  flex-wrap: wrap;
  column-gap: 16px;
  align-items: flex-end;
}

.works-detail-title h3 {
  font-size: 28px;
}

.works-detail-title p {
  font-weight: bold;
}

@media (max-width: 768px) {
  .works {
    padding: 80px 0;
  }

  .works-content {
    flex-direction: column;
    row-gap: 24px;
    padding: 20px;
  }

  .works-content img {
    width: 100%;
  }

  .works-detail-title {
    flex-direction: column;
    align-items: flex-start;
  }
}

.contact {
  padding: 140px 0;
  text-align: center;
}

.contact .container {
  max-width: 800px;
}

.contact .section-title {
  border-bottom: 3px solid #ff9900;
}

.contact p {
  margin-top: 48px;
  font-size: 24px;
  font-weight: bold;
  line-height: 2;
  text-align: left;
  letter-spacing: 0.1em;
}

.contact .sns {
  display: flex;
  column-gap: 50px;
  align-items: center;
  justify-content: center;
  margin-top: 100px;
}

.contact a {
  display: inline-block;
  width: 200px;
  font-size: 24px;
  font-weight: bold;
  line-height: 80px;
  color: #ffffff;
  letter-spacing: 0.1em;
  border-radius: 16px;
}

.contact .sns-twitter {
  background-color: #00acee;
}

.contact .sns-facebook {
  background-color: #3b5998;
}

.contact .sns-website {
  background-color: #333333;
}

@media (max-width: 768px) {
  .contact {
    padding: 80px 0;
  }

  .contact p {
    font-size: 20px;
  }

  .contact .sns {
    flex-direction: column;
    row-gap: 10px;
    margin-top: 50px;
  }

  .contact a {
    width: 100%;
    line-height: 60px;
  }
}

footer {
  height: 80px;
  font-size: 14px;
  line-height: 80px;
  text-align: center;
  letter-spacing: 2px;
  background-color: #edece7;
}
