@charset "UTF-8";
/* CSS Document */
/* ---------- main ---------- */
.main{
  width: 100%;
  position: relative;
}
.main-top {
  position: relative;
  margin-top: 60px;
  margin-bottom: 60px;
}
.main-top img {
  width: 100%;
  object-fit: cover;
  object-position: center;
}

@media(min-width:960px){
  .main-top {
    margin-top: 100px;
    margin-bottom: 100px;
  }
}

/* ---------- people ---------- */
.people {
  width: 78%;
  margin: 0 auto 100px;
  max-width: 1440px;
}

.people-top {
  margin-bottom: 40px;
}
.people-top h2 {
  position: relative;
  display: inline-block;
  font-size: 2.2rem;
  padding: 1rem 2rem;
  border-bottom: 6px solid #527eac;
}
.people-top h2:before {
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 20%;
  height: 6px;
  content: '';
  background: #9bb7d4;
}

.people-flex-box {
  margin-bottom: 40px;
  padding: 20px;
  background-color: white;
  box-shadow: 0 0 8px gray;
  max-width: 600px;
}
.people-flex-box img {
  width: 100%;
  object-fit: cover;
  margin-bottom: 30px;
}
.people-flex-box h3 {
  font-size: 2rem;
  color: red;
  margin-bottom: 30px;
}
.people-flex-box p {
  font-size: 1.2rem;
  line-height: 1.6rem;
  margin-bottom: 20px;
  text-align: left;
}
.people-flex-box h4 {
  font-size: 1.4rem;
  line-height: 2rem;
  text-align: left;
  margin-bottom: 20px;
}

/* btn */
.people-flex-box-btn-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 252px;
  margin: 0 auto;
  padding: 12px 0;
  border: none;
  border-radius: 15px;
  background-image: linear-gradient(90deg, #293F56 10%, #527eac80 100%);
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1.4rem;
  text-align: left;
}
.people-flex-box-btn-button a {
  color: #fff;
}

@media(min-width:960px){
  .people-top {
    margin-bottom: 60px;
  }
  .people-top h2 {
    font-size: 3rem;
    padding: 2rem 3rem;
    border-bottom: 6px solid #527eac;
  }

  .people-flex {
    display: flex;
    justify-content: center;
    gap: 40px;
  }
  .people-flex-box {
    width: 450px;
    padding: 40px;
    margin-bottom: 60px;
  }
  .people-flex-box img {
    margin-bottom: 40px;
  }
  .people-flex-box h3 {
    font-size: 2.4rem;
    margin-bottom: 40px;
  }
  .people-flex-box p {
    font-size: 1.4rem;
    line-height: 1.8rem;
    margin-bottom: 30px;
  }
  .people-flex-box h4 {
    font-size: 1.6rem;
    line-height: 2.8rem;
    margin-bottom: 30px;
  }
}

/* ---------- type ---------- */
.type {
  width: 78%;
  margin: 0 auto 100px;
  max-width: 1440px;
}

.type-top {
  margin-bottom: 40px;
}
.type-top h2 {
  position: relative;
  display: inline-block;
  font-size: 2.2rem;
  padding: 1rem 2rem;
  border-bottom: 6px solid #527eac;
}
.type-top h2:before {
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 20%;
  height: 6px;
  content: '';
  background: #9bb7d4;
}

.type-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}
.type-box h2 {
  font-size: 1.4rem;
  margin-bottom: 5px;
}
.type-box img {
  width: 26.666666666666668vw;
  max-width: 200px;
  height: 26.666666666666668vw;
  max-height: 200px;
  object-fit: cover;
}

/* btn */
.type-btn-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 252px;
  margin: 0 auto;
  padding: 12px 0;
  border: none;
  border-radius: 15px;
  background-image: linear-gradient(90deg, #293F56 10%, #527eac80 100%);
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1.4rem;
  text-align: left;
}
.type-btn-button a {
  color: #fff;
}

@media(min-width:960px){
  .type-top {
    margin-bottom: 60px;
  }
  .type-top h2 {
    font-size: 3rem;
    padding: 2rem 3rem;
    border-bottom: 6px solid #527eac;
  }
  .type-flex {
    margin-bottom: 60px;
  }
  .type-box h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }
  /* btn */
.type-btn-button {
  border-radius: 15px;
  font-size: 1.4rem;
  line-height: 1.4rem;
  width: 350px;
}
}