/* ============================================
   메인 페이지 반응형 스타일
   ============================================ */

/* ========== 1024px 이하 ========== */
@media (max-width: 1024px) {  
    .pc-text {
        display: none;
    }

    .mobile-text {
        display: block;
    }
    .rw-break {
        display: block;
    }
    .main-banner{
        height:600px;
    }

    .main-box {
        padding-top: 100px;
    }

    .main-box-title {
        font-size: 52px;
        line-height: 60px;
    }

    .main-flex-p-text {
        font-size: 52px;
        line-height: 60px;
    }

    .main-box-desc {
        font-size: 18px;
        margin-top: 0;
    }

    .main-flex-p {
        display: flex;
        flex-direction: column;
    }

    .main-desc-wrapper {
        margin-top: 24px;
    }

    .rw-start {
        padding: 0 20px;
    }

    .rw-start-text {
        font-size: 14px;
        height: 16px;
    }

    .rw-input-field {
        font-size: 14px;
        padding: 12px 16px;
    }

    .rw-input-btn {
        font-size: 14px;
        padding: 12px 24px;
    }
    
    .rw-cate {
        justify-content: center;
        width:100%;
        gap: 10px 7.5px;
        flex-wrap: wrap;
    }

    .rw-cate-item {
        font-size: 14px;
        min-width: 73px;
        height: 30px;
        padding: 8px 14px;
    }

    .blue-effect {
        position: absolute;
        bottom: 0;
        width: 100%;
    }

    .bottom-tap-btn{
        width: 90%;
    height: 20px;
    font-size:12px;
    margin-top: 16px;
    }
    .rw-showcase {
        margin-top: 40px;
    }

    .rw-showcase-title {
        font-size: 16px;
        line-height: 24px;
    }

    .rw-showcase-desc {
        font-size: 16px;
        line-height: 24px;
        margin-top:27px;
    }

    .rw-showcase-desc-main {
        margin: 0;
    }

    .rw-showcase-desc-main span {
        display: block;
    }

    .rw-showcase-desc-sub {
        display: none;
        margin: 0;
    }

    .rw-list{
        margin-top:34px;
        gap:2px;
        column-count: 3;
        max-height:825px;
    }
    .rw-tile{
        margin-bottom:2px;
    }

    .more-btn{
        width: fit-content;
        height:30px;
        font-size:14px;
        margin-top:20px;
        padding: 6px 18px;
    }

    .rw-tiny{
        margin-top:60px;
        padding: 0 20px;
    }

    .tiny-box {
        display: flex;
        flex-direction: column;
        height: auto;
        align-items: stretch;
        gap: 0;
        padding-top: 10px;
    }

    .tiny-left {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 20px;
        flex: 1;
        justify-content: flex-start;
        padding: 0px 20px 10px;
    }

    .tiny-left-img {
        margin: 20px 0;
        width: 120px;
        height: auto;
    }

    .tiny-left-text-box {
        display: flex;
        margin-top: 0;
        flex-direction: row;
        gap: 6px;
        align-items: center;
    }

    .tiny-left-text {
        font-size: 16px;
        line-height: 24px;
        margin: 0;
    }

    .tiny-left-text-count {
        font-size: 16px;
        line-height: 24px;
        margin: 0;
    }

    .tiny-left-btn {
        width: 170px;
        height: 48px;
        margin-top:10px;
        font-size: 16px;
    }

    .tiny-track {
        flex: 1;
        width: 100%;
        position:relative;
    }

    .tiny-right {
        gap: 8px;
    }

    .tiny-image {
        width: calc((100vw - 40px - 16px) / 3);
        flex: 0 0 calc((100vw - 40px - 16px) / 3);
    }

    .tiny-arrow {
        display: none;
    }

    .tiny-mobile-nav {
        display: flex;
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        transform: translateY(-50%);
        justify-content: flex-end;
        align-items: center;
        padding: 0 10px;
        gap: 16px;
        pointer-events: none;
        z-index: 10;
    }

    .tiny-mobile-prev,
    .tiny-mobile-next {
        width: 40px;
        height: 40px;
        background: transparent;
        border: transparent;
        color: #fff;
        font-size: 24px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        pointer-events: auto;
    }
    .tiny-mobile-prev {
        display: none;
    }

    .rw-active {
        margin-top: 60px;
        padding: 0 20px;
    }

    .active-box {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        height: auto;
        padding: 18px;
    }

    .act-left {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .act-left-title {
        font-size: 18px;
        line-height: 24px;
    }

    .act-left-desc {
        font-size: 14px;
        line-height: 20px;
        margin-top: 12px;
    }

    .act-left-btn {
        width: 140px;
        height: 40px;
        font-size: 14px;
        margin-top: 20px;
    }

    .act-right {
        aspect-ratio: 1;
        width: 100%;
        height: auto;
    }

    .rw-exp {
        margin-top: 20px;
        padding: 0 20px;
    }

    .exp-box {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        height: auto;
        padding: 18px;
    }

    .exp-left {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .exp-left-title {
        font-size: 16px;
        line-height: 24px;
    }

    .exp-left-desc {
        font-size: 14px;
        line-height: 20px;
        margin-top: 12px;
    }

    .exp-left-btn {
        width: 140px;
        height: 40px;
        font-size: 14px;
        margin-top: 20px;
    }

    .edutech-grid {
        grid-column: 2;
        grid-row: 1;
    }


    .edutech-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 20px;
    }

    .edutech-list p {
        font-size: 14px;
        line-height: 20px;
        color: #fff;
        margin: 0;
        text-align: center;
        padding: 4px 0;
        background: #643FCE;
        border-radius: 8px;
    }

    .rw-school{
        margin-top: 80px;
        padding: 0 20px;
    }

    .school-title {
        font-size: 36px;
        line-height: 48px;
    }

    .school-desc {
        font-size: 16px;
        line-height: 24px;
    }

    .school-card-box {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .school-card-btn{
        height:42px;
    }

    .dash-box {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .dash-line-value {
        font-size: 36px;
        margin-top: 16px;
    }

    .dash-line-label {
        font-size: 16px;
        margin-top: 5px;
    }

    .dash-line{
        height: fit-content;
        padding: 20px;
    }

  

    .rw-review{
        margin-top: 100px;
    }


    .rw-review-title {
        font-size: 34px;
    }

    .rw-review-desc {
        font-size: 18px;
    }

    .review-list-box{
        margin-top:40px;
    }

    .rw-bot{
        padding: 100px 20px 60px;
    }

    .rw-bot-title {
        font-size: 38px;
        line-height: 48px;
    }

    .rw-bot-desc {
        font-size: 18px;
    }
    

    .review-img{
        max-height:234px;
    }

    .rw-btn{
        gap:6px;
    }
    .rw-btn-item{
        height: auto;
        font-size:17px;
        padding: 11px 20px;
    }
    .right-btn{
        flex: 1;
    }

    .bottom-tap-title{
        font-size:12px;
    }
}

/* ========== 768px 이하 ========== */
@media (max-width: 768px) {
    .main-box {
        padding-top: 80px;
    }

    .main-box-title {
        font-size: 40px;
        line-height: 48px;
    }

    .main-flex-p-text {
        font-size: 40px;
        line-height: 48px;
    }

    .main-desc-wrapper {
        margin-top: 20px;
    }

    .rw-input {
        width: 90%;
        height: 50px;
    }

    .rw-input-btn {
        padding: 10px 16px;
        width: 140px;
    }

    .move-icon {
        width: 10px;
        height: 10px;
    }

    .tiny-left-btn {
        width: 120px;
        height: 40px;
        font-size: 14px;
    }

    .school-title {
        font-size: 34px;
        line-height: 42px;
    }

    .school-desc {
        font-size: 15px;
        line-height: 22px;
    }

    .school-card-list-item{
        font-size:15px;
    }

    .dash-box {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .dash-line-value {
        font-size: 28px;
    }

    .dash-line-label {
        font-size: 15px;
    }

    .rw-review-title {
        font-size: 32px;
    }

    .rw-review-desc {
        font-size: 17px;
    }

    .rw-bot-title {
        font-size: 31px;
        line-height: 40px;
    }

    .rw-bot-desc {
        font-size: 17px;
    }
  
}

/* ========== 480px 이하 ========== */
@media (max-width: 480px) {
    .main-box {
        padding-top: 60px;
    }

    .main-box-title {
        font-size: 28px;
        line-height: 36px;
    }

    .main-flex-p-text {
        font-size: 28px;
        line-height: 36px;
    }
    .main-desc-wrapper {
        margin-top: 16px;
    }

    .rw-start {
        margin-top: 40px;
    }

    .rw-input {
        width: 100%;
        height: 44px;
        max-width: 100%;
        border-radius: 22px;
    }

    .act-left-title{
        font-size:16px;
    }

    .rw-input-btn {
        padding: 8px 12px;
        width: 120px;
        border-radius: 20px;
    }

    .move-icon {
        width: 8px;
        height: 8px;
        border-top: 1.5px solid #fff;
        border-right: 1.5px solid #fff;
    }

    .tiny-left-img {
        width: 110px;
        height: auto;
    }

    .act-left-desc {
        font-size:13px;
    }

    .act-left-btn {
        width: 100px;
        height:28px;
    }

    .exp-left-desc{
        font-size:12px;
    }
    .exp-left-btn {
        width: 100px;
        height:28px;
    }

    .edutech-list p {
        font-size:12px;
    }

    .school-title {
        font-size: 32px;
        line-height: 40px;
    }

    .school-desc {
        font-size: 15px;
        line-height: 22px;
    }

    .school-card-box {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .school-card-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .school-card-desc {
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 20px;
    }

    .dash-box {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .dash-line-value {
        font-size: 20px;
    }

    .dash-line-label {
        font-size: 14px;
    }

    .rw-review-title {
        font-size: 30px;
    }

    .rw-review-desc {
        font-size: 17px;
    }

    .rw-bot-title {
        font-size: 24px;
        line-height: 32px;
    }

    .rw-bot-desc {
        font-size: 16px;
    }

    .rw-btn-item{
        font-size:15px;
    }
}

@media (max-width: 345px) {
    .act-left-title{
        font-size:15px;
    }
    .school-desc{
        font-size:14px;
    }
    .rw-cate{
        gap : 10px 4px;
    }
  .rw-btn-item{
        font-size:13px;
    }
}