@charset "UTF-8";
.catchphrase {
  padding: 40px 5%;
  margin-block: 115px;
}

.catchphrase-outer {
  max-width: 1000px;
  margin-inline: auto;
}

.catchphrase-grid {
  list-style: none;
  padding-top: 50px;
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: center;
  gap: 56px 24px;
  max-width: 755px;
  margin-inline: auto;
}

.catchphrase-card {
  position: relative;
  padding-bottom: 105px;
  display: grid;
  justify-items: center;
}

.catchphrase-media {
  border: 3px solid transparent;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #4ac4f2, #fef84c) border-box;
}
.catchphrase-media img {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
}

.pct-normal {
  width: 100%;
  aspect-ratio: 3/2;
}

.catchphrase-label {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  background-color: #4ac4f2;
  color: #fff;
  border-radius: 20px;
  padding: 20px 18px;
  text-align: center;
  line-height: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  height: 150px;
}
.catchphrase-label .big {
  font-size: 1.8rem;
  font-weight: 700;
}

.label-big {
  font-size: 2.5rem;
}

.label-small {
  font-size: 1.75rem;
}

.card-box {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  border-radius: 20px;
  border: 3px solid #4ac4f2;
  overflow: hidden;
  background-color: #e4f7ff;
}

.catchphrase-title {
  background-color: #4ac4f2;
  color: #fff;
  font-size: 1.75rem;
  text-align: center;
  padding-block: 24px;
}

.catchphrase-card.is-wide {
  grid-column: 1/-1;
  padding-bottom: 311px;
}

.pct-wide {
  width: 100%;
  aspect-ratio: 2/1;
}

.catchphrase-card.is-sp {
  display: none;
}

/* 中央の説明ボックス */
.catchphrase-info {
  grid-column: 1/-1;
  border: 3px solid #4ac4f2;
  border-radius: 20px;
  background: #fff;
  padding: 26px 26px;
}

.catchphrase-points {
  list-style: none;
  display: grid;
}
.catchphrase-points li {
  position: relative;
  color: #2a9fd6;
  line-height: 1.5;
  text-align: center;
  padding-block: 16px;
}
.catchphrase-points li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4ac4f2;
  position: absolute;
  left: 67px;
  top: 55px;
}

.lead {
  font-size: 1.75rem;
  font-weight: 600;
}

.big {
  font-size: 2.5rem;
  font-weight: 800;
}

/* SP */
@media (max-width: 767px) {
  .catchphrase-outer {
    max-width: 500px;
  }
  .catchphrase-grid {
    gap: 24px;
    max-width: 100%;
    width: 100%;
    grid-template-columns: 1fr;
    padding-inline: 5%;
  }
  .catchphrase-card {
    padding-bottom: 84px;
  }
  .catchphrase-card.is-wide {
    display: none;
  }
  .catchphrase-card.is-sp {
    display: block;
    padding-bottom: 305px;
  }
  .catchphrase-label {
    padding: 14px;
    height: 110px;
  }
  .label-big {
    font-size: clamp(1.5rem, 32px + 8 * (100vw - 320px) / 448, 2rem);
  }
  .label-small {
    font-size: clamp(1.25rem, 24px + 4 * (100vw - 320px) / 448, 1.5rem);
  }
  .catchphrase-title {
    font-size: clamp(1.25rem, 24px + 4 * (100vw - 320px) / 448, 1.5rem);
  }
  .catchphrase-points li::before {
    left: 10px;
    top: 45px;
  }
  .big {
    font-size: clamp(1.25rem, 24px + 4 * (100vw - 320px) / 448, 1.5rem);
  }
  .lead {
    font-size: clamp(1rem, 20px + 4 * (100vw - 320px) / 448, 1.25rem);
  }
}
.renewal section {
  padding: 0;
}
.renewal section.school-class {
  padding: 120px 0;
}
.renewal section.school-class.bg-blue {
  align-items: stretch;
}
.renewal section.school-class > .wrapper {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 4%;
  width: 100%;
  min-width: 0;
}

.section-title-heading {
  text-align: center;
}
.section-title-heading .underline-text-yellow {
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto;
}

.class-list {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px 24px;
  margin: 0 auto;
}
.class-item {
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}
.class-text {
  padding: 16px;
  display: grid;
  gap: 6px;
  margin-bottom: 24px;
}

.renewal .class-pct .class-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
  aspect-ratio: 3/2;
  -o-object-fit: cover;
     object-fit: cover;
  vertical-align: bottom;
  -o-object-position: center 27%;
     object-position: center 27%;
}

@media (max-width: 1024px) {
  .class-list {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }
}
@media (max-width: 768px) {
  .renewal section.school-class > .wrapper {
    padding: 0;
  }
  .class-list {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 0;
    justify-content: flex-start;
    touch-action: pan-x;
    scroll-padding-left: 20px;
  }
  .class-item {
    flex: 0 0 auto;
    width: 300px;
    scroll-snap-align: start;
    margin: 8px;
  }
  .class-item:first-child {
    margin-left: 20px;
  }
  .class-item:last-child {
    margin-right: 20px;
  }
}
/*# sourceMappingURL=style.css.map */