/* person content */
main#person .section-01 {
  flex-wrap: wrap;
  gap: 4.8rem 1.6rem;
  padding: 0 5.9rem;
}

main#person .card-item {
  position: relative;
  width: calc(100% / 3 - 1.1rem);
}

main#person .card-item .img-wrapper {
  position: relative;
  aspect-ratio: 227 / 158;
  overflow: hidden;
}
main#person .card-item .img-wrapper p {
  position: absolute;
  display: flex;
  justify-content: end;
  align-items: center;
  bottom: 1.3rem;
  right: 1.6rem;
  width: 20.6rem;
  height: 4.9rem;
  padding-right: 3rem;
  color: #fff;
  font-weight: 500;
  background-image: url("../images/bg-feather-red.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: 0 0.3rem;
}
main#person .card-item:nth-of-type(4) .img-wrapper p {
  padding-right: 3.8rem;
  background-image: url("../images/bg-feather-yellow.svg");
}
main#person .card-item:last-of-type .img-wrapper p {
  padding-right: 2rem;
  background-image: url("../images/bg-feather-green.svg");
}

main#person .card-item .summary-wrapper {
  padding: 1.2rem 1.6rem 2.4rem;
  border: 1px solid #d1d1d1;
  border-top: none;
  border-radius: 0 0 2.4rem 2.4rem;
}
main#person .card-item .summary-wrapper h2 {
  color: #151f46;
  font-size: 2.4rem;
}
main#person .card-item .summary-wrapper p {
  margin-top: 0.8rem;
  font-weight: 400;
  font-size: 2rem;
}

main#person.child-person .article-person {
  padding-bottom: 8rem;
  border-bottom: 1px solid rgba(10, 32, 143, 0.5);
}

main#person.child-person .summary-article {
  padding: 0 15rem;
}

main#person.child-person .summary-article h2 {
  color: #151f46;
  font-size: 4rem;
}

main#person.child-person .summary-article p {
  margin-top: 1.6rem;
  font-size: 2rem;
  text-align: justify;
}

main#person.child-person article {
  position: relative;
  margin-top: 8rem;
}
main#person.child-person article.cfx {
  gap: 4rem;
}
main#person.child-person article.cfx:nth-of-type(even),
main#story article.cfx:nth-of-type(even) {
  justify-content: end;
}
main#person.child-person article.cfx:nth-of-type(even) .img-wrapper,
main#story article.cfx:nth-of-type(odd) .img-wrapper {
  order: 2;
}
main#person.child-person article.cfx:nth-of-type(even) .text-wrapper,
main#story article.cfx:nth-of-type(odd) .text-wrapper {
  margin-right: auto;
  margin-left: 16rem;
}

main#person.child-person article .img-wrapper {
  aspect-ratio: 727 / 520;
  max-width: 727px;
  width: 100%;
  overflow: hidden;
}
main#person.child-person article .img-wrapper img {
  width: 100%;
}

main#person.child-person article .text-wrapper,
main#story article .text-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  width: fit-content;
  margin-right: 16rem;
}
main#person.child-person article .text-wrapper h3,
main#story article .text-wrapper h2 {
  font-weight: 700;
  font-size: clamp(24px,2.1164vw,32px);
}
main#person.child-person article .text-wrapper p {
  font-weight: 400;
  font-size: 2rem;
  text-align: justify;
}

main#person.child-person .others-person {
  max-width: 118.4rem;
  margin: 0 auto;
  padding-top: 8rem;
}

main#person.child-person .others-person h2 {
  color: #151f46;
  font-size: 4rem;
}

main#person.child-person .others-person .person-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-top: 4rem;
}
main#person.child-person .others-person .person-list .card-item {
  width: calc(100% / 2 - 0.8rem);
}

main#person.child-person
  .others-person
  .person-list
  .color-yellow
  .img-wrapper
  p {
  padding-right: 3rem;
  background-image: url("../images/bg-feather-yellow.svg");
}

main#person.child-person .others-person .person-list .card-item h3 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 2.4rem;
}

@media screen and (min-width: 1513px) {
  main#person .section-01 {
    gap: 48px 16px;
    padding: 0 59px;
  }
  main#person .card-item {
    width: calc(100% / 3 - 11px);
  }
  main#person .card-item .img-wrapper p {
    bottom: 13px;
    right: 16px;
    width: 206px;
    height: 49px;
    padding-right: 30px;
  }
  main#person .card-item:nth-of-type(4) .img-wrapper p {
    padding-right: 38px;
  }
  main#person .card-item:last-of-type .img-wrapper p {
    padding-right: 20px;
  }
  main#person .card-item .summary-wrapper {
    padding: 12px 16px 24px;
    border-radius: 0 0 24px 24px;
  }
  main#person .card-item .summary-wrapper h2 {
    font-size: 24px;
  }
  main#person .card-item .summary-wrapper p {
    margin-top: 8px;
    font-size: 20px;
  }
  main#person.child-person .article-person {
    padding-bottom: 80px;
  }
  main#person.child-person .summary-article {
    padding: 0 160px;
  }
  main#person.child-person .summary-article h2 {
    font-size: 40px;
  }
  main#person.child-person .summary-article p {
    margin-top: 16px;
    font-size: 20px;
  }
  main#person.child-person article {
    margin-top: 80px;
  }
  main#person.child-person article.cfx {
    gap: 40px;
  }
  main#person.child-person article.cfx:nth-of-type(even) .text-wrapper,
  main#story article.cfx:nth-of-type(odd) .text-wrapper {
    margin-left: 160px;
  }
  main#person.child-person article .text-wrapper,
  main#story article .text-wrapper {
    gap: 16px;
    margin-right: 160px;
  }
  main#person.child-person article .text-wrapper h3,
  main#story article .text-wrapper h2 {
    font-size: 35px;
  }
  main#person.child-person article .text-wrapper p {
    font-size: 20px;
  }
  main#person.child-person .others-person {
    max-width: 1184px;
    padding-top: 80px;
  }
  main#person.child-person .others-person h2 {
    font-size: 40px;
  }
  main#person.child-person .others-person .person-list {
    gap: 16px;
    margin-top: 40px;
  }
  main#person.child-person .others-person .person-list .card-item {
    width: calc(100% / 2 - 8px);
  }
  main#person.child-person
    .others-person
    .person-list
    .color-yellow
    .img-wrapper
    p {
    padding-right: 30px;
  }
  main#person.child-person .others-person .person-list .card-item h3 {
    font-size: 24px;
  }
}

@media screen and (max-width: 768px) {
  main#person .section-01 {
    gap: 0.8rem;
    padding: 0;
  }
  main#person .card-item {
    width: calc(100% / 2 - 0.4rem);
    border: 1px solid #d1d1d1;
    border-radius: 1.6rem;
    overflow: hidden;
  }
  main#person .card-item .summary-wrapper h2 {
    font-size: 1.4rem;
  }
  main#person .card-item .summary-wrapper {
    padding: 0.8rem;
    border: none;
  }
  main#person .card-item .summary-wrapper p {
    font-size: 1.2rem;
  }
  main#person .card-item .img-wrapper p {
    top: auto;
    bottom: 0.2rem;
    right: 0.6rem;
    width: 11.8rem;
    height: 2.9rem;
    padding-right: 1.3rem;
    font-size: 1rem;
  }
  main#person .card-item:nth-of-type(4) .img-wrapper p {
    padding-right: 2rem;
  }
  main#person .card-item:last-of-type .img-wrapper p {
    padding-right: 1rem;
  }

  main#person.child-person .article-person {
    position: relative;
    padding-bottom: 4rem;
    border: none;
  }
  main#person.child-person .article-person:before {
    position: absolute;
    content: "";
    bottom: 0;
    left: 50%;
    width: 115%;
    height: 1px;
    background: rgba(10, 32, 143, 0.5);
    transform: translateX(-50%);
  }
  main#person.child-person .summary-article {
    padding: 0;
  }
  main#person.child-person .summary-article h2 {
    font-size: 2rem;
  }
  main#person.child-person .summary-article p {
    font-size: 1.4rem;
  }
  main#person.child-person article {
    margin-top: 4rem;
  }
  main#person.child-person article.cfx {
    flex-direction: column;
  }
  main#person.child-person article .img-wrapper {
    aspect-ratio: 426 / 281;
    width: 100%;
    border-radius: 1.6rem;
    overflow: hidden;
  }
  main#person.child-person article .img-wrapper img {
    height: 100%;
    object-fit: cover;
  }
  main#person.child-person article .text-wrapper h3 {
    font-size: 2rem;
  }
  main#person.child-person article .text-wrapper p {
    font-size: 1.4rem;
  }
  main#person.child-person article.cfx:nth-of-type(even) .img-wrapper {
    order: 1;
  }
  main#person.child-person article.cfx:nth-of-type(even) .text-wrapper {
    order: 2;
  }
  main#person.child-person article.cfx:nth-of-type(even) .img-wrapper {
    transform: translateX(0);
  }
  main#person.child-person .others-person {
    padding-top: 4rem;
  }
  main#person.child-person .others-person h2 {
    font-size: 2rem;
  }
  main#person.child-person .others-person .person-list {
    margin-top: 1.6rem;
  }
  main#person.child-person .others-person .person-list .card-item h3 {
    font-size: 1.4rem;
    white-space: normal;
  }
  main#person.child-person
    .others-person
    .person-list
    .color-yellow
    .img-wrapper
    p {
    padding-right: 2rem;
  }
}

@media screen and (orientation: landscape) and (max-height: 500px) {
  main#person.child-person article .img-wrapper {
    transform: translateX(0);
  }
}

