@media only screen and (min-width: 1024px) {
  .section.d-4 {
    padding-top: 15rem;
  }
  .section.d-4 .bg {
    border-width: 2.4rem;
    bottom: -1rem;
    left: -11.9rem;
  }
  .section.d-4 .content {
    padding-top: 1.5rem;
  }
  .section.d-4 .card__school {
    margin-top: 2.5rem;
    padding: 4rem;
    flex-direction: row;
  }
  .section.d-4 .card__school .card__description {
    opacity: 0.7;
  }
  .section.d-4 .info__wrap {
    margin-top: 0;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .section.d-4 .grade__wrap {
    justify-content: flex-start;
  }
  .section.d-4 .rating__wrap {
    margin-right: 2.8rem;
  }
  .section.d-4 .info__wrap {
    margin-top: 1.2rem;
  }
  .section.d-4 .info__wrap.more-width .location {
    margin-bottom: 0.5rem;
    border-right: none;
    padding-right: 2.15rem;
  }
  .section.d-4 .location,
.section.d-4 .category {
    margin-top: 0;
  }
  .section.d-4 .location {
    padding-right: 1rem;
    margin-right: 1rem;
    border-right: 0.12rem solid rgba(44, 41, 75, 0.2);
  }
  .section.d-4 .card__body {
    margin-top: 0.4rem;
    margin-left: 3.2rem;
  }
  .section.d-4 .card__footer {
    margin-top: auto;
    margin-left: 4rem;
    width: auto;
  }
  .section.d-4 .card__footer .btn__wrap {
    margin-left: 2.4rem;
  }
  .section.d-4 .btn__wrap {
    margin-top: 4.8rem;
  }
}
@media only screen and (min-width: 1280px) {
  .section.d-4 .location {
    padding-right: 2rem;
    margin-right: 2rem;
  }
  .section.d-4 .card__footer {
    margin-left: 9rem;
  }
}
@media only screen and (min-width: 1024px) {
  .section.d-1 .bg.bg-1 {
    top: -2rem;
    right: -6.8rem;
    width: 35vw;
    height: 35vw;
    max-width: 29.7rem;
    max-height: 29.7rem;
    border: 3.5rem solid rgba(90, 79, 219, 0.08);
  }
  .section.d-1 .bg.bg-2, .section.d-1 .bg.bg-3 {
    border: 0.4rem solid #FFC800;
  }
  .section.d-1 .bg.bg-2 {
    top: -1rem;
    right: 28.2rem;
    width: 3.2vw;
    height: 3.2vw;
    max-width: 2.8rem;
    max-height: 2.8rem;
  }
  .section.d-1 .bg.bg-3 {
    top: 9.1rem;
    right: 38.1rem;
    width: 5.3vw;
    height: 5.3vw;
    max-width: 4.7rem;
    max-height: 4.7rem;
  }
  .section.d-1 .content__wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
  .section.d-1 .title__wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .section.d-1 .subtitle {
    font-size: 1.5rem;
    max-height: 12.7rem;
  }
  .section.d-1 .subtitle__wrap {
    margin-top: 2.4rem;
    width: 48.5%;
  }
  .section.d-1 .more-btn:hover {
    border-bottom-color: transparent;
  }
  .section.d-1 .school__card {
    padding-left: 3.2rem;
    padding-right: 3.2rem;
  }
  .section.d-1 .school__card .btn__wrap {
    justify-content: flex-start;
  }
  .section.d-1 .school__card .category:hover {
    background-color: #E6E5F4;
    border-color: #E6E5F4;
  }
  .section.d-1 .school__logo {
    top: -6rem;
    left: 2.4rem;
  }
  .section.d-1 .school__img-wrap {
    width: 12rem;
    height: 12rem;
  }
  .section.d-1 .review-btn {
    max-width: 17.4rem;
    padding: 1.4rem 1.3rem;
  }
  .section.d-1 .review-btn:hover {
    background-color: #FFD84D;
    border-color: #FFD84D;
  }
  .section.d-1 .review-btn:hover .btn__text {
    color: #2C294B;
  }
  .section.d-1 .card__info-text a {
    border-bottom: 0.1rem solid transparent;
    transition: all 0.3s linear;
  }
  .section.d-1 .card__info-text a:hover {
    border-bottom-color: #5A4FDB;
  }
  .section.d-1 .sidebar__wrapper {
    margin-top: 6.2rem;
    padding-top: 6rem;
    width: 25%;
    position: sticky;
    top: 9.5rem;
  }
  .section.d-1 .school__content {
    margin-top: 0;
    width: 73.5%;
  }
  .section.d-1 .school__content .content__header {
    gap: 6rem;
  }
  .section.d-1 .school__content .content__header-title {
    font-size: 3.2rem;
    line-height: 3.8rem;
  }
  .section.d-1 .school__content .content__header-title .total__num {
    font-size: 2rem;
  }
}
@media only screen and (min-width: 1024px) and (min-width: 1024px) {
  .section.d-1 .review__card.card .grade__wrap {
    position: absolute;
    right: 3.2rem;
  }
}
@media only screen and (min-width: 1024px) {
  .section.d-1 .inner__tab:before,
.section.d-1 .inner__tab-item:before {
    display: none;
  }
}
@media only screen and (min-width: 1024px) {
  .section .d-4 {
    padding-top: 0;
  }
  .section .d-4 .card__school {
    margin-top: 0;
    margin-bottom: 1.6rem;
    padding: 3.2rem;
  }
  .section .d-4 .card__header {
    flex-direction: column;
    align-items: flex-end;
  }
  .section .d-4 .card__body {
    margin: 0;
  }
  .section .d-4 .card__footer {
    margin-left: 5.5rem;
  }
  .section .d-4 .sale__stick {
    width: 8.4rem;
    border-radius: 0.8rem;
  }
  .section .d-4 .post__title {
    font-size: 1.8rem;
    line-height: 2.2rem;
    padding-right: 0;
  }
  .section .d-4 .grade__wrap {
    margin-top: 1.2rem;
  }
}
@media only screen and (min-width: 1024px) {
  .inner__tab {
    margin: 0 0 1rem;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .inner__tab-filter {
    padding-bottom: 0;
    gap: 2.9rem;
  }
  .inner__tab-item {
    font-size: 1.3rem;
    line-height: 1.6rem;
  }
  .inner__tab-item:last-of-type {
    padding-right: 0;
  }
}
@media only screen and (min-width: 1024px) {
  .section .school__reviews {
    padding-top: 3.7rem;
  }
  .section .school__reviews .btn__wrap {
    margin-top: 4rem;
  }
}