.heroWrap {
  background-image: url(../images/bg-agrin5.png);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: 100% auto;
  padding-top: 20px;
}

.hero {
  max-width: 1100px;
  width: 95%;
  margin-inline: auto;
  margin-bottom: 20px;
}

.aboutWrap {
  background: #FF9233;
  background: linear-gradient(90deg, rgb(255, 146, 51) 0%, rgb(249, 226, 54) 31%, rgb(115, 196, 71) 56%, rgb(48, 112, 229) 75%, rgb(255, 27, 31) 100%);
  border-radius: 20px;
  max-width: 1080px;
  margin-inline: auto;
  padding: 6px;
}

.about {
  background-color: #fff;
  border-radius: 10px;
  padding: 40px 20px 30px;
  overflow: hidden;
}

.aboutTitle {
  max-width: 550px;
  width: 95%;
  margin-inline: auto;
  margin-bottom: 20px;
}

.aboutText {
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 1.6;
}

.profileTitle {
  max-width: 475px;
  width: 80%;
  margin-inline: auto;
  margin-bottom: 50px;
}

.profile {
  background-color: #fff;
  margin: 40px 0;
  padding: 10px 22px 40px;
  position: relative;
  z-index: 1;
}
.profile::before {
  content: "";
  display: block;
  background-image: url(../images/deco-agrin5-01.png);
  background-position: top center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 60px;
  margin: auto;
  position: absolute;
  top: -48px;
  left: 0;
  right: 0;
  z-index: 0;
}
.profile::after {
  content: "";
  display: block;
  background-image: url(../images/deco-agrin5-02.png);
  background-position: top center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 40px;
  margin: auto;
  position: absolute;
  bottom: -39px;
  left: 0;
  right: 0;
  z-index: 0;
}

.profileTabList {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.profileTabButton {
  background: none;
  border: none;
  background-color: #fff;
  border: 4px solid #ccc;
  width: 100%;
  height: 100%;
  text-decoration: none;
  transition: border 0.3s;
  position: relative;
}
.profileTabButton img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profileTabButton:hover {
  border: 4px solid #FFAE00;
}
.profileTabButton::before {
  content: "";
  display: block;
  background: #FFAE00;
  width: 20px;
  height: 8.6602540378px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  margin-inline: auto;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  opacity: 0;
  transition: opacity 0.3s;
}
.profileTabButton.-active {
  border: 4px solid #FFAE00;
  pointer-events: none;
}

.profileContents {
  height: 0;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s;
}
.profileContents.-active {
  height: fit-content;
  visibility: visible;
  opacity: 1;
}

.profileColumnBox {
  display: grid;
  gap: 15px 30px;
}

.profileColumnImgBox {
  background-image: url(../images/deco-agrin5-profile.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  width: 90%;
  margin-inline: auto;
  padding: 5% 0;
}
.profileColumnImgBox img {
  max-width: 290px;
  width: 75%;
  margin-inline: auto;
}

.profileName {
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 1.4;
}
.profileName img {
  width: auto;
  height: 32px;
}

.profileText {
  color: #E4B200;
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1.4;
}

.profileTable {
  border-collapse: collapse;
  border: 1px solid #D9D9D9;
  font-size: 1.6rem;
  text-align: left;
  vertical-align: top;
  max-width: 100%;
  width: 100%;
  height: fit-content;
}
.profileTable th {
  background-color: #FFFBEE;
  border: 1px solid #D9D9D9;
  font-weight: bold;
  width: 100px;
  padding: 0.8em 0.5em;
  vertical-align: top;
}
.profileTable th *:not(li) {
  margin-top: 5px;
}
.profileTable th *:first-child {
  margin-top: 0;
}
.profileTable td {
  background-color: #fff;
  border: 1px solid #D9D9D9;
  padding: 0.8em;
  vertical-align: top;
}
.profileTable td *:not(li) {
  margin-top: 5px;
}
.profileTable td *:first-child {
  margin-top: 0;
}

.dance {
  max-width: 930px;
  margin-inline: auto;
  margin-top: 100px;
  margin-bottom: 50px;
}

.agrin5ContentsWrap {
  display: grid;
  gap: 60px;
}

.agrin5Contents p:not(.sizeText) {
  font-size: 1.6rem;
  line-height: 1.6;
}

.contentsTitle {
  background-color: #8DBE5C;
  border-radius: 5px;
  color: #fff;
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 1.4;
  margin-top: 40px;
  padding: 0.25em 15px;
  position: relative;
}
.contentsTitle::before {
  content: "";
  display: block;
  background-image: url(../images/deco-agrin5-title.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  width: 200px;
  height: 57px;
  position: absolute;
  top: -40px;
  right: 0;
  z-index: -1;
}

.downloadList {
  gap: 50px 30px;
}
.downloadList .pageButton {
  border-radius: 30px;
  padding: 0.5em 5px;
}

.downloadListItem {
  display: grid;
  gap: 10px;
}

.pdfLink {
  display: block;
  transition: opacity 0.3s;
}
.pdfLink:hover {
  opacity: 0.7;
}

.sizeText {
  display: flex;
  justify-content: center;
  font-size: 1.4rem;
}

.answerLink {
  display: block;
  font-size: 1.4rem;
  text-align: center;
  width: fit-content;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .aboutWrap {
    padding: 10px;
  }
  .about {
    padding: 50px 10% 40px;
  }
  .aboutTitle {
    margin-bottom: 30px;
  }
  .aboutText {
    font-size: 1.8rem;
  }
  .profileTitle {
    margin-bottom: 20px;
  }
  .profile {
    margin: 80px 0 50px;
    padding: 10px 40px 50px;
  }
  .profile::before {
    height: 80px;
    top: -79px;
  }
  .profile::after {
    height: 50px;
    bottom: -49px;
  }
  .profileTabList {
    grid-template-columns: repeat(auto-fit, 100px);
  }
  .profileTabButton.-active::before {
    opacity: 1;
  }
  .profileColumnImgBox {
    width: 70%;
  }
  .profileName {
    font-size: 2.8rem;
  }
  .profileName img {
    height: 40px;
  }
  .profileText {
    font-size: 2rem;
  }
  .profileTable {
    width: revert-layer;
  }
  .profileTable th {
    width: 20%;
    padding: 1em;
  }
  .profileTable td {
    padding: 1em;
  }
  .dance {
    margin-bottom: 120px;
  }
  .agrin5ContentsWrap {
    gap: 80px;
  }
  .agrin5Contents p:not(.sizeText) {
    font-size: 2rem;
  }
  .contentsTitle {
    font-size: 3.2rem;
    margin-top: 75px;
    padding: 0.25em 30px;
  }
  .contentsTitle::before {
    width: 373px;
    height: 108px;
    top: -80px;
  }
  .downloadList {
    gap: 60px 30px;
  }
}

@media (min-width: 960px) {
  .profileTabList {
    gap: 15px 30px;
    margin-bottom: 35px;
  }
  .profileColumnBox {
    grid-template-columns: 40% 60%;
    align-items: center;
  }
  .profileColumnImgBox {
    width: 95%;
  }
  .dance {
    margin-top: 180px;
    margin-bottom: 150px;
  }
  .agrin5ContentsWrap {
    gap: 150px;
  }
}

/*# sourceMappingURL=agrin5.css.map*/