/* TOPページ JPCスポーツ教室とはセクション */

.about {
  padding: 200px 0 144px;
  position: relative;
  background: #00516D;
  position: relative;
}
.about::before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background: url(../img/grid_back.webp);
  background-size: 100%;
  background-position: top center;
  top: 0;
  left: 0;
  mix-blend-mode: multiply;
}
@media (max-width: 480px) {
  .about {
    padding: 105px 0 64px;
  }
}

.about__wrapper {
  max-width: 1460px;
  width: 95%;
  margin: 0 auto;
}

.about__container {
  width: 100%;
  padding: 80px 0;
  background: url(../img/grid_back.webp), #FFF;
  background-size: 100%;
  background-position: top center;
  border-radius: 90px;
  position: relative;
}
@media (max-width: 834px) {
  .about__container {
    border-radius: 30px;
  }
}
@media (max-width: 480px) {
  .about__container {
    padding: 64px 0 32px;
  }
}

.about__container::before {
  content: "";
  display: block;
  position: absolute;
  max-width: 101px;
  width: 7%;
  aspect-ratio: 101 / 280;
  background-image: url(../img/about_deco01.webp);
  background-size: 100%;
  background-repeat: no-repeat;
  top: 5%;
  left: -2%;
}
.about__container::after {
  content: "";
  display: block;
  position: absolute;
  max-width: 93px;
  width: 7%;
  aspect-ratio: 93 / 395;
  background-image: url(../img/about_deco02.webp);
  background-size: 100%;
  background-repeat: no-repeat;
  bottom: 20%;
  right: -2%;
}
@media (max-width: 480px) {
  .about__container::before,
  .about__container::after {
    display: none;
  }
}

.about__head {
  max-width: 900px;
  width: 95%;
  margin: 0 auto;
  position: absolute;
  top: -2.5em;
  left: 0;
  right: 0;
  z-index: 1;
}
.about__head::before {
  content: "ABOUT";
  position: absolute;
  width: fit-content;
  margin: 0 auto;
  font-size: 116px;
  font-weight: 900;
  color: #FFF;
  opacity: 0.32;
  left: 0;
  right: 0;
  bottom: 0.2em;
  z-index: -1;
}
@media (max-width: 834px) {
  .about__head::before {
    font-size: clamp(90px, 55px + 7.34vw, 116px);
  }
}
@media (max-width: 480px) {
  .about__head {
    max-width: 302px;
    top: -1.5em;
  }
  .about__head::before {
    font-size: 48px;
    bottom: 0.5em;
  }
}


.about__head h2 {
  width: 100%;
  margin: 0 auto;
  padding: 0.3em 0 0.45em;
  background-color: #FAF15A;
  border-radius: 50px;
  font-size: 40px;
  font-weight: bold;
  color: #00516D;
  text-align: center;
}
.about__head h2::after {
  content: "";
  position: absolute;
  width: 72px;
  height: 31px;
  margin: 0 auto;
  background-color: #FAF15A;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  right: 0;
  left: 0;
  bottom: -31px;
}
@media (max-width: 480px) {
  .about__head h2 {
    font-size: 24px;
  }

  .about__head h2::after {
    width: 44px;
    height: 17px;
    bottom: -17px;
  }
}

.about__contents {
  width: 90%;
  margin: 0 auto 80px;
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-around;
}
.about__contents:last-child {
  flex-direction: row-reverse;
  margin-bottom: 0;
}
@media (max-width: 834px) {
  .about__contents {
    flex-direction: column;
  }

  .about__contents:last-child {
    flex-direction: column-reverse;
  }
}
@media (max-width: 480px) {
  .about__contents {
    gap: 20px;
    margin-bottom: 32px;
  }
}


.about__contents .text-box {
  max-width: 600px;
  width: 48%;
}

.about__contents .text-box h3 {
  width: fit-content;
  font-size: 30px;
  font-weight: bold;
  color: #00516D;
  padding-bottom: 0.3em;
  margin-bottom: 31px;
  border-bottom: 2px solid #FAF15A;
  line-height: 1.5;
}

.about__contents.method .text-box h3 {
  text-align: center;
  margin: 0 auto 31px;
}
@media (max-width: 480px) {
  .about__contents .text-box h3,
  .about__contents.method .text-box h3 {
    margin-bottom: 18px;
    font-size: 18px;
  }
}

.about__contents .text-box p {
  font-size: 16px;
  font-weight: 500;
  color: #00516D;
  line-height: 2;
  margin-bottom: 16px;
}
@media (max-width: 480px) {
  .about__contents .text-box p {
    line-height: 1.5;
  }
}

.about__contents .text-box p .tag {
  background-color: #FAF15A;
  border-radius: 50px;
  margin: 0 1px;
  padding: 0.1em 0.7em;
  font-weight: bold;
  display: inline-block;
}

@media (max-width: 480px) {
  .about__contents .text-box p .tags {
    display: flex;
    justify-content: space-between;
  }

  .about__contents .text-box p .method-first {
    display: block;
    text-align: center;
  }
}

.about__contents .thought-image {
  max-width: 526px;
  width: 48%;
}

.about__contents .thought-image img {
  width: 100%;
  height: auto;
}

.about__contents .thought-image .box {
  max-width: 390px;
  width: 95%;
  margin: 0 auto;
  padding: 0.5em 0;
  background-color: #00516D;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  color: #FFF;
}
@media (max-width: 480px) {
  .about__contents .thought-image .box {
    font-size: 18px;
  }
}

.about__contents .method-image {
  max-width: 532px;
  width: 48%;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 10px 10px #FAF15A;
}
@media (max-width: 480px) {
  .about__contents .method-image {
    border-radius: 10px;
  }
}

.about__contents .method-image img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 834px) {
  .about__contents .text-box,
  .about__contents .thought-image,
  .about__contents .method-image {
    width: 100%;
  }
}