.slider-wrapper {
    position: relative;
}
.slider-wrapper .slider-text {
    position: absolute;
    bottom: 77px;
    display: flex;
    width: 100%;
    align-items: center;
    height: 123px;
}
.slider-wrapper .slider-text p {
    width: 60%;
    font-weight: bold;
    font-size: 45px;
    color: #fff;
    background: #EA0505;
    height: 100%;
    padding-right: 172px;
    box-sizing: border-box;
    display: flex;
    justify-content: end;
    align-items: center;
}
.thinking-wrapper {
    background: #E0DFD8;
    overflow: hidden;
}
.main-content {
    width: 1024px;
    margin: 0 auto 113px;
    background: #fff;
    padding: 115px 99px 178px 99px;
    box-sizing: border-box;
    max-width: 100%;
}
.main-content h2 {
    text-align: center;
    color: #EA0518;
    font-weight: bold;
    font-size: 45px;
}
.main-content h3 {
    font-size: 26px;
    color: #1F1F1F;
    font-weight: bold;
    margin-top: 38px;
    text-align: center;
    padding: 0 17px;
}
.content-explain {
    margin-top: 28px;
    font-size: 18px;
    text-align: center;
    padding: 0 10px;
}
.top-images {
    margin: 113px auto 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 38px;
}
.top-images img {
    max-width: 100%;
}
.main-content h4 {
    background: #EA0518;
    color: #fff;
    font-weight: bold;
    font-size: 24px;
    text-align: center;
    padding: 18px 4px 18px 4px;
}
.support-block {
    margin-top: 178px;
}
.support-block .support-item {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 129px;
}
.support-block .support-item > div > p:first-child {
    font-size: 66px;
    color: rgba(230, 42, 41, 0.37);
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
}
.support-block .support-item .support-image img {
    max-width: 100%;
}
.support-block .support-item:nth-child(2) > div:first-child {
    padding-top: 23px;
}
.support-block .support-item > div > p:nth-child(2) {
    color: #E62A29;
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
    font-size: 24px;
}
.support-block .support-item > div > p:nth-child(3) {
    font-weight: bold;
    font-size: 18px;
}
.support-block .support-item:nth-child(3) > div:first-child {
    padding-top: 21px;
}
.support-block .support-item:nth-child(2) > div > p:nth-child(3) {
    padding-right: 73px;
}
.support-block .support-item:nth-child(3) > div:last-child {
    padding-left: 57px;
}
.skill-block {
    margin-top: 221px;
}
.skill-item .skill-text {
    display: flex;
    align-items: center;
}
.skill-item.point-1 {
    margin-top: 61px;
}
.skill-item.point-1 .skill-text {
    gap: 100px;
}
.skill-item .skill-point {
    display: flex;
    align-items: flex-end;
    gap: 46px;
}
.skill-item .skill-point > div > p:first-child {
    display: flex;
    width: 72px;
    flex-direction: column;
    font-size: 18px;
    color: #EA0518;
    border-bottom: 1px solid #D65656;
}
.skill-item .skill-point > div > p:last-child {
    font-size: 44px;
    font-weight: bold;
    color: #EA0518;
    line-height: 50px;
}
.skill-item .skill-point > p {
    font-size: 22px;
    color: #EA0518;
    font-weight: bold;
}
.skill-item .skill-text > p {
    width: 400px;
    max-width: 100%;
    font-size: 18px;
    color: #707070;
}
.skill-item.point-2 .skill-text > div {
    flex-grow: 1;
    display: flex;
    padding-left: 63px;
    align-items: center;
}
.skill-item.point-2 {
    margin-top: 63px;
}
.skill-item.point-3 {
    margin-top: 10px;
}
.skill-item.point-4 {
    margin-top: 82px;
}
.skill-item.point-3 .skill-text > div {
    flex-grow: 1;
    justify-content: center;
    display: flex;
}
.skill-item.point-4 .skill-text {
    margin-top: -32px;
}
.skill-item.point-4 .skill-text > div {
    flex-grow: 1;
    display: flex;
    padding-left: 36px;
}
.skill-item.point-1 .skill-text > p,
.skill-item.point-2 .skill-text > p,
.skill-item.point-3 .skill-text > p {
    padding-top: 48px;
}

.skill-item.point-5 .skill-text > p {
    padding-top: 23px;
}
.skill-item.point-5 .skill-text {
    gap: 98px;
    align-items: flex-start;
}
.teacher-block {
    margin-top: 153px;
}
.teacher-block .teacher-item:nth-child(2) {
    margin-top: 126px;
}
.teacher-block .teacher-item:nth-child(3) {
    margin-top: 153px;
}
.teacher-block .teacher-item {
    display: flex;
    gap: 59px;
}
.teacher-block .teacher-item .teacher-content p:first-child {
    font-weight: bold;
    font-size: 32px;
    color: #707070;
    line-height: 38px;
}
.teacher-block .teacher-item .teacher-content p:nth-child(2) {
    margin-top: 35px;
    font-size: 18px;
    color: #707070;
}
.teacher-block .teacher-item .teacher-content .teacher-link {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}
.teacher-block .teacher-item .teacher-content .teacher-link a {
    width: 462px;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: solid 2px #EA0518;
    border-radius: 35px;
    height: 69px;
    color: #EA0518;
    font-weight: bold;
    font-size: 24px;
}
.price-content {
    background: #F4F4F4;
    padding: 151px;
}
.price-content h3 {
    font-weight: bold;
    font-size: 36px;
    color: #EA0518;
    text-align: center;
}
.price-content p.accepted {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    color: #707070;
    margin-top: 62px;
}
.price-content .tel-block {
    font-size: 45px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
}
.price-content .contact-block {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 41px;
}
.price-content .contact-block a {
    border: solid 2px #EA0518;
    border-radius: 35px;
    height: 69px;
    font-weight: bold;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 462px;
    max-width: 100%;
    color: #EA0518;
}
.price-content h4 {
    margin: 132px auto 0;
    width: 862px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    background: #EA0518;
    font-weight: bold;
    font-size: 24px;
    max-width: 100%;
}
.price-content .price-block {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 648px;
    max-width: 100%;
    margin: 97px auto 81px;
    padding: 8px;
    color: #707070;
    font-size: 24px;
    font-weight: bold;
    box-sizing: border-box;
}
.price-content .price-block p:nth-child(3n + 1) {
    grid-column: span 2 / span 2;
}
.price-content .price-block p:nth-child(3n),
.price-content .price-block p:nth-child(3n + 2) {
    text-align: right;
}
.price-content .time-block {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 648px;
    max-width: 100%;
    margin: 96px auto 10px;
    padding: 8px;
    color: #707070;
    font-size: 24px;
    font-weight: bold;
    box-sizing: border-box;
}
.price-content .time-block p:nth-child(2n) {
    
}

@media only screen and (max-width: 1024px) {
    .slider-wrapper .slider-text p {
        font-size: 24px;
    }
}
@media only screen and (max-width: 768px) {
    .slider-wrapper .slider-text {
        height: 63px;
    }
    .slider-wrapper .slider-text p {
        font-size: 18px;
        padding-right: 72px;
    }
    .main-content {
        padding: 65px 45px 78px 45px;
    }
}
@media only screen and (max-width: 640px) {
    .slider-wrapper .slider-text {
        bottom: -63px;
    }
    .slider-wrapper .slider-text p {
        width: 100%;
        padding-right: 0;
        justify-content: center;
    }
    .main-content {
        padding: 90px 20px 78px 20px;
    }
    .main-content h2 {
        font-size: 32px;
    }
    .main-content h3 {
        font-size: 20px;
    }
    .content-explain {
        font-size: 16px;
    }
    .top-images {
        gap: 16px;
        grid-template-columns: repeat(1, minmax(0, 1fr));
        align-items: center;
        justify-items: center;
        margin-top: 62px;
    }
    .support-block {
        margin-top: 78px;
    }
    .main-content h4 {
        font-size: 18px;
    }
    .support-block .support-item {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        margin-top: 42px;
        gap: 16px;
    }
    .support-block .support-item:nth-child(3) > div:last-child {
        padding-left: 0;
    }
    .support-block .support-item:nth-child(3) > div:first-child {
        padding-top: 0;
        order: 1;
    }
    .skill-block {
        margin-top: 72px;
    }
    .skill-item.point-1 {
        margin-top: 30px;
    }
    .skill-item.point-1 .skill-text {
        flex-direction: column;
        gap: 40px;
    }
    .skill-item.point-2 .skill-text {
        flex-direction: column-reverse;
        gap: 40px;
    }
    .skill-item.point-3 .skill-text {
        flex-direction: column;
    }
    .skill-item.point-4 {
        margin-top: 42px;
    }
    .skill-item.point-4 .skill-text {
        margin-top: 32px;
        flex-direction: column-reverse;
        gap: 40px;
    }
    .skill-item.point-5 .skill-text {
        flex-direction: column;
        gap: 40px;
    }
    .teacher-block {
        margin-top: 72px;
    }
    .teacher-block .teacher-item:nth-child(2) {
        margin-top: 32px;
        flex-direction: column;
        align-items: center;
    }
    .teacher-block .teacher-item .teacher-content .teacher-link a {
        width: 280px;
        height: 54px;
        font-size: 18px;
    }
    .teacher-block .teacher-item:nth-child(3) {
        margin-top: 53px;
        flex-direction: column;
        align-items: center;
    }
    .price-content {
        padding: 51px 20px 51px 20px;
    }
    .price-content h3 {
        font-size: 24px;
    }
    .price-content p.accepted {
        font-size: 18px;
        margin-top: 32px;
    }
    .price-content .tel-block {
        font-size: 36px;
    }
    .price-content h4 {
        margin-top: 46px;
        font-size: 20px;
    }
    .price-content .price-block {
        font-size: 16px;
        margin: 47px auto 41px;
    }
    .price-content .time-block {
        font-size: 16px;
        margin: 47px auto 10px;
    }
}