.only_web{
    display:flex !important;
}
/* AOS fade-up 이동거리 축소 (기본 100px → 30px) */
[data-aos="fade-up"] {
    transform: translateY(30px);
}
[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}
.wrap{
    position: relative;
    line-height: 1.2;
    color: #252525;
}
.inner {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}
/* visual */
.visual{
    position: relative;
    width: 100%;
    height: 80vh;
    margin-bottom: 180px;
    overflow: hidden;
    background: #222;
}
.visual::after{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    background: rgba(25, 25, 25, .6);
}
.visual video {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .2s ease;
}
.visual.is-video-ready video {
    opacity: 1;
}
.visual_video_fallback {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    background: #222 url(../img/sub/partner/bg_cooperation.png) no-repeat center / cover;
}
.visual .hgroup {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 100%;
    text-align: center;
    color: #fff;
}
.visual .hgroup h2{
    font-size: clamp(24px , 6vw , 60px);
    font-weight: 700;
}
.visual .hgroup .explain{
    font-size: clamp(20px , 4vw , 32px);
    font-weight: 200;
}
/* accompany */

.accompany{
    margin-bottom: 250px;
}
.accompany h3{
    position: relative;
    display: inline;
    font-size: clamp(24px , 4vw , 30px);
    font-weight: 700;
    font-family: "myriad-pro", sans-serif;
    color: #373838;
}
.accompany h3::after{
    content: "";
    position: absolute;
    top: 7px;
    right: -14px;
    display: block;
    width: 11px;
    height: 11px;
    background-color: #6498d1;
}
.accompany .explain{
    margin-top: 5px;
    font-size: clamp(20px , 3vw , 20px);
    font-weight: 300;
    color: #373838;
}
.accompany .platform{
    display: flex;
    gap: 49px;
    margin-top: 64px;
}

.accompany .platform li{
    position: relative;
    flex-basis: calc(100% / 3);
    height: 402px;
    border-radius: 20px;
    background: #F9F9F9;
    transition: all .2s;
}
.accompany .platform li:hover{
    transform: translateY(-20px);
}
.accompany .platform li::before{
    content: "";
    position: absolute;
    right: 40px;
    bottom: 46px;
    width: 100%;
    background-repeat: no-repeat;
    background-position: left top;
    background-size: 100% 100%;
}
.accompany .platform li:nth-child(1)::before {
    aspect-ratio: 240 / 193;
    max-width: clamp(139px , 35vw , 240px);
    background-image: url(../img/sub/partner/platform_3.png);
}
.accompany .platform li:nth-child(2)::before {
  aspect-ratio: 259 / 145;
  max-width: clamp(139px , 40vw , 259px);
  background-image: url(../img/sub/partner/platform_1.png);
}



.accompany .platform li:nth-child(3)::before {
  aspect-ratio: 198 / 189;
  max-width: clamp(119px , 25vw , 190px);
  background-image: url(../img/sub/partner/platform_2.png);
}
.accompany .platform a{
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.accompany .platform a .txt{
    position: relative;
    padding: 28px 0 0 40px;
}
.accompany .platform a .txt::before{
    content: "";
    position: absolute;
    right: 40px;
    bottom: 0;
    width: 40px;
    height: 40px;
    background: url(../img/sub/partner/go_btn.png) no-repeat left top / 100% 100%;
    transition: all .2s;
}
.accompany .platform li .sub_tit{
    font-size: clamp(20px , 1.5vw , 28px);
    font-weight: 700;

}
.accompany .platform li .sub_explain{
    margin-top: 27px;
    font-size: clamp(20px , 3vw , 18px);
    font-weight: 300;
}

/* alliance */
.alliance{
    position: relative;
    padding: 130px  0;
    background-color: #78bbe7;
}
.alliance .inner{
    display: flex;
}
.alliance .tit_box{
    flex-basis: 39%;
}
.alliance .statistics{
    flex-basis: 61%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.alliance h3{
    position: relative;
    display: inline;
    font-size: clamp(24px, 4vw, 30px);
    font-weight: 700;
    font-family: "myriad-pro", sans-serif;
    color: #fff;
}
.alliance h3::after{
    content: "";
    position: absolute;
    top: 7px;
    right: -14px;
    display: block;
    width: 11px;
    height: 11px;
    background-color: #cae1f5;
}
.alliance .explain{
    margin-top: 15px;
    font-size: clamp(20px, 3vw, 20px);
    font-weight: 300;
    color: #fff;
}
.statistics li{
    padding: 20px;
    border-radius: 18px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.1);
}
.statistics li .tit{
    font-size: clamp(12px , 3vw , 28px);
    font-weight: 300;
    margin-bottom: 34px;
}
.statistics li .num{
    font-family: "NotoSansKR";
    font-size: clamp(36px , 10vw , 100px);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}
.statistics li .num span{
    font-size: clamp(12px , 3vw ,24px) ;
    font-weight: 300;
}
/* benefits */
.benefits{
    position: relative;
    margin: 150px 0;
}
.benefits h3{
    position: relative;
    display: inline;
    font-size: clamp(24px , 4vw , 30px);
    font-weight: 700;
    font-family: "myriad-pro", sans-serif;
    color: #252727;
}
.benefits h3::after{
    content: "";
    position: absolute;
    top: 7px;
    right: -14px;
    display: block;
    width: 11px;
    height: 11px;
    background-color: #6498d1;
}
.benefits .explain{
    margin-top: 15px;
    font-size: clamp(20px , 3vw ,  20px);
    font-weight: 300;
    color: #373838;
}
.benefits .gallery{
    position: relative;
    margin-top: 35px;
}
.benefits .note{
    font-size: clamp(13px, 2vw, 18px);
    margin-top: 140px;
    color: #373838;
}
.benefits .method{
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: clamp(13px, 2vw, 16px);
    margin-top: 15px;
    padding: 11px 25px;
    border: 0;
    border-radius: 5px;
    color: #fff;
    background-color: #6498d1;
    cursor: pointer;
}
.benefits .method::after{
    content: "";
    width: 9px;
    height: 13px;
    background: url(../img/sub/partner/right_arrow.png)no-repeat center;
    transform: rotate(90deg);
}
.benefits .method_box{
  opacity: 0;
  max-height: 0;
  visibility: hidden;
  transform: translateY(0px);
  transition: 
    opacity 0.5s ease,
    transform 0.5s ease,
    visibility 0.5s ease;
    margin-top: 50px;
    transition: all 0.5s;
}
.benefits .method_box.on{
  max-height: 500px;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.benefits .method_box ul{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: 20px 30px;
}
.benefits .method_box .method_mo{
    display: none;
    width: 100%;
}
.benefits .method_box ul li{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
}
.benefits .method_box ul li img{
    width: clamp(35px , 10vw , 81px);
    margin: 0 auto;
}
.benefits .method_box ul li img.arrow{
    width: clamp(10px , 3vw , 45px);
}
.benefits .method_box ul li p{
    font-size: clamp(13px, 2vw, 16px);
    color: #6498d1;
    text-align: center;
    font-weight: 700;
}
.gallery .btn_list{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    width: 100%;
}
.gallery .btn_list li{
    position: relative;
    width: 100%;
    aspect-ratio: 605 / 500;
    background-color: #0087d1;
    padding: 60px 40px;
    border-radius: 20px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    transition: background 0.3s, opacity 0.3s ease-out, transform 0.3s ease-out;
}

.gallery .card_text{
    display: flex;
    flex-direction: column;
    gap: 10px;
    line-height: 1.2;
}
/* 일러스트 이미지 공통 */
.gallery .card_img{
    position: absolute;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.gallery .btn_list li:hover .card_img{
    transform: scale(1.08);
}
/* 1번: 온라인 강의 할인 - 레이어 55 */
.gallery .btn_list li:nth-child(1) .card_img{
    width: 65%;
    bottom: -7%;
    right: -13%;
}
/* 2번: 학지사 도서 할인 - 이미지 좌상단, 텍스트 우하단 */
.gallery .btn_list li.reverse{
    justify-content: flex-end !important;
    align-items: flex-end;
}

.gallery .btn_list li:nth-child(2) .card_img{
    width: 68%;
    top: -14%;
    left: -14%;
    bottom: auto;
    right: auto;
}
/* 3번, 4번 공통: 텍스트 좌하단, 이미지 우상단 */
.gallery .btn_list li.text-bottom{
    justify-content: flex-end;
    align-items: flex-start;
}
/* 3번: ZOOM워크숍 할인 - 레이어 59 */
.gallery .btn_list li:nth-child(3) .card_img{
    width: 68%;
    top: -12%;
    right: -21%;
    bottom: auto;
    left: auto;
}
/* 4번: 수련시간 인정 교육 - 레이어 60 */
.gallery .btn_list li:nth-child(4) .card_img{
    width: 70%;
    top: -33%;
    right: -20%;
    bottom: auto;
    left: auto;
}
.gallery .btn_list li .tit{
    font-size: clamp(22px, 3.2vw, 48px);
    font-weight: 600;
}
.gallery .btn_list li .txt{
    font-size: clamp(14px, 2vw, 30px);
    font-weight: 300;
}
.gallery .btn_list li .point{
    position: absolute;
    bottom: 36px;
    left: 40px;
    font-size: clamp(11px, 1.3vw, 20px);
    color: #f9f9f9;
    font-weight: 300;
}
/* 수련시간 인정 교육: 우하단 */
.gallery .btn_list li .point.point-right{
    left: auto;
    right: 40px;
}
/* partners */
.partners{
    position: relative;
    padding-bottom: 130px;
}
.partners h2{
    font-size: clamp(24px, 5vw, 60px);
    font-weight: 700;
    color: #6498d1;
    text-align: left;
}
.partners h2 span{
    font-family: "myriad-pro", sans-serif;
    font-size: clamp(20px , 5vw , 65px);
    font-weight: 300;
}
.partners .hgroup{
    margin-top: 250px;
    margin-bottom: 40px;
}
.partners .hgroup h3{
    position: relative;
    display: inline;
    font-size: clamp(24px, 4vw, 30px);
    font-weight: 700;
    font-family: "myriad-pro", sans-serif;
    color: #252727;
}
.partners .hgroup h3::after{
    content: "";
    position: absolute;
    top: 7px;
    right: -14px;
    display: block;
    width: 11px;
    height: 11px;
    background-color: #6498d1;
}
.partners .hgroup p.explain{
    margin: 18px 0 10px;
    font-size: clamp(20px, 3vw, 20px);
    font-weight: 300;
    color: #373838;
}
.partners .hgroup a{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    max-width: 155px;
    padding: 15px 20px;
    color: #fff;
    background-color: #6498d1;
    border-radius: 5px;
}
.partners .hgroup a::after{
    content: "";
    display: block;
    width: 9px;
    height: 13px;
    background: url(../img/sub/partner/btn_arrow.png)no-repeat;
}
.affiliate ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(247px, 1fr));
  gap: 15px;
}
    .card {
      display: inline-grid;
      transition: transform 0.3s;
      transform: perspective(800px) rotateY(0deg);
      transform-style: preserve-3d;
      width: 100%;
      height: 100%;
    }
.affiliate li:hover a .card {
      transform: perspective(800px) rotateY(180deg);
    }
.affiliate li{
    width: 100%;
    height: 100%;
}
    .card > * {
      grid-area: 1 / 1;
      width: 100%;
      height: 100%;
      border-radius: 8px;
      backface-visibility: hidden;
    }
    .card-front img{
        width: 100%;
        object-fit: cover;
    }
    .card-back {
        position: relative;
        display: flex;
        justify-content: center;
        flex-direction: column;
        padding: 15px;
        background: #0066b4;
        transform: rotateY(180deg);
        overflow: hidden;
        color: #fff;
    }
    .card-back::after {
        content: "+";
        position: absolute;
        top: -5px;
        right: 10px;
        font-size: 40px;
        font-weight: 300;
        color: #fff;
    }
    .card-back strong {
        display: block;
        font-size: clamp(14px, 2vw, 20px);
        font-weight: 600;
        margin-bottom: 15px;
    }
    .card-back p {
        font-size: clamp(12.6px, 1.6vw, 18px);
        font-weight: 300;
    }
    /* 주석 제거 하기 ( 이후에 나머지 카드도 돌아가야할때 주석을 제거해주세요. ) */
    .card_1 .card-back{
        display: none;
    }

/* cooperation */
.cooperation{
    position: relative;
    height: 683px;
}
.cooperation::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background:rgba(0, 0, 0, 0.7) url(../img/sub/partner/bg_cooperation.png) no-repeat center / cover;
}
.title{
    position: relative;
    padding-top: 148px;
    color: #fff;
    line-height: 1.5;
    font-size: clamp(36px, 4vw, 48px) ;
    font-weight: 300;
    z-index: 1;
}
.title .top{
    display: flex;
    gap: 16px;
}
.cooperation-swiper{
    position: relative;
    width: 500px;
    height: 72px;
    overflow: hidden;
    font-weight: 700;
}
.cooperation-swiper .swiper-wrapper{
    flex-direction: column;
}
.cooperation-swiper .swiper-slide{
    font-weight: 900;
    color: #5cb9fe;
} 
.cooperation .btn_area{
    position: relative;
    z-index: 1;
    margin-top: 68px;
}
.cooperation .btn_area a{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    max-width: 155px;
    padding: 15px 20px;
    font-size: 16px;
    color: #fff;
    background-color: #6498d1;
    border-radius: 5px;
}
.cooperation .btn_area a::after{
    content: "";
    display: block;
    width: 9px;
    height:13px;
    background: url(../img/sub/partner/btn_arrow.png)no-repeat;
    
}

@media screen and (max-width: 767px) {
    .cooperation .inner .title .top {
        gap: 4px;
    }
    .cooperation .inner p, .cooperation-swiper .swiper-slide {
        font-size: 24px;
    }
    .cooperation .inner .btn_area a {
        font-size: 14px;
    } 
}
/* inquiry */
.inquiry{
    margin-bottom : 60px;
}
.inquiry .tit{
    font-size: 24px;
    font-weight: 700;
    margin: 120px 0 46px;
    padding-bottom: 15px;
    border-bottom: 3px solid #252525;
}
.inquiry .sub_tit{
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 30px;
}
.contract-form {
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 150px 1fr;
}
.form-row + .form-row{
    margin-top: 25px;
}
.form-row label {
    font-size: 18px;
  font-weight: 500;
}

.form-row input{
    height: 45px;
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d3d3d3;
  outline: none;
  font-size: 16px;
  font-family: "Pretendard";
}
.form-row input::placeholder,
.form-row textarea::placeholder{
    color: #91b8ff;
    font-weight: 400;
}

.form-row textarea {
  height: 232px;
  resize: none;
}

/* 담당자 2칸 */
.inline-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.inline-inputs input {
  border: 1px solid #ddd;
}

/* 첨부 파일 */
.file-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
}

.file-guide {
  color: #999;
  font-size: 13px;
}

.form-row label.file-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 155px;
  height: 45px;
  background: #669fe0;
  color: #fff;
  text-align: center;
  cursor: pointer;
  font-size: 16px;
}
.file-wrap{
    display: flex;
    gap: 10px;
}
.inquiry_info{
    height:240px;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #dbdbdb;
    overflow-y: scroll;
}
.inquiry_info p{
    padding-left: 10px;
    font-size: 18px;
    font-weight: 700;
}
.inquiry_info p + p{
    margin-top: 20px;
}
.inquiry_info p span{
    display: block;
    font-size: 16px;
    font-weight: 400;
    color: #636363;
    margin-top: 20px;
}
.agree-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 500;
  margin-top: 20px;
}

.agree-text {
  margin: 0;
  font-weight: 500;
}

.agree-options {
  display: flex;
  gap: 16px;
}

.agree-options label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.btn_area{
    text-align: center;
}
.btn_area button{
    width: 280px;
    height: 64px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    background-color: #669fe0;
    border: 0;
    margin-top: 100px;
    cursor: pointer;
}
/* 라디오 전체 정렬 */
.custom-radio {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

/* 기본 라디오 숨김 */
.custom-radio input {
  display: none;
}

/* 바깥 원 */
.radio-ui {
  width: 16px;
  height: 16px;
  border: 2px solid #bbb; /* 바깥 테두리 */
  border-radius: 50%;
  position: relative;
}

/* 체크 시 안쪽 점 */
.custom-radio input:checked + .radio-ui::after {
  content: "";
  width: 8px;
  height: 8px;
  background: #669fe0; /* ✅ 원하는 색 */
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* 키보드 포커스 (접근성) */
.custom-radio input:focus + .radio-ui {
  outline: 2px solid rgba(102, 159, 224, 0.4);
  outline-offset: 2px;
}


@media (min-width: 768px) and (max-width: 1299.98px) {
    .inner {
        padding: 0 30px;
    }
    .accompany .platform{
        gap: 30px;
    }
    .accompany .platform a .txt{
        padding: 20px;
    }
    .accompany .platform a .txt::before{
        right: auto;
        left: 20px;
        bottom: -40px;
    }
    .accompany .platform li::before{
        max-width: 70%;
        right: auto;
        left: 50%;
        transform: translate(-50%);
    }
    .accompany .platform li .sub_explain{
        margin-top: 10px;
    }
    .alliance .statistics{
        flex-basis: 70%;
    }
    .alliance .tit_box{
        flex-basis: 30%;
    }
}
@media screen and (max-width: 1104.98px) {
    .alliance .inner{
        flex-direction: column;
    }
    .alliance .tit_box{
        margin-bottom: 30px;
    }
    .benefits .gallery{
        margin-top: 30px;
    }
    .gallery .btn_list li{
        padding: 30px 24px;
    }
}
@media screen and (max-width: 767.98px) {
    .inner{
        padding: 0 15px;
    }
    /* visual */
    .visual{
        margin-bottom: 70px;
        height: 480px;
    }
    /* accompany */
    .accompany{
        margin-bottom: 70px;
    }
    .accompany .explain{
        margin-top: 5px;
    }
    .accompany .platform{
        flex-direction: column;
        gap: 20px;
        margin-top: 50px;
    }
    .accompany h3::after{
        top: 4px;
        right: -8px;
        width: 6px;
        height: 6px;
    }
    .accompany .platform li{
        flex-basis: auto;
        height: 250px;
    }
    .accompany .platform li:hover{
    transform: translateY(-10px);
}
    .accompany .platform li::before{
        bottom: 25px;
    }
    .accompany .platform li .sub_explain{
        margin-top: 10px;
    }
    .accompany .platform a .txt{
        padding: 20px;
    }
    .accompany .platform a .txt::before{
        right: auto;
        left: 20px;
        bottom: -40px;
    }
    /* statistics */
    .statistics li{
        padding: 10px;
    }
    .statistics li .tit{
        margin-bottom: 20px;
    }
    /* alliance */
    .alliance{
        padding: 75px 0;
    }
    .alliance h3::after{
        top: 4px;
        right: -8px;
        width: 6px;
        height: 6px;
    }
    .alliance .explain{
        margin-top: 5px;
    }
    .alliance .statistics{
        gap: 10px;
    }
    /* benefits */
    .benefits{
        margin: 70px 0;
    }
    .benefits h3::after{
        top: 4px;
        right: -8px;
        width: 6px;
        height: 6px;
    }
    .benefits .explain{
        margin-top: 5px;
    }
    .benefits .gallery{
        gap: 20px;
        margin-top: 30px;
    }
    .benefits .method_box ul{
        display: none;
        padding: 10px 20px;
    }
    .benefits .method_box ul li{
        gap: 10px;
    }
    .benefits .method_box .method_mo{
        display: block;
    }
    .gallery .btn_list{
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 480px;
        margin: 0 auto;
    }
    .gallery .btn_list li{
        padding: 30px 24px;
        border-radius: 14px;
    }
    .gallery .card_img{
        width: 55%;
    }
    /* partners */
    .partners .hgroup{
        margin-top: 70px;
    }
    /* affiliate */
    .affiliate li .logo{
        height: 160px;
    }
    /* cooperation */
    .cooperation-swiper{
        height: 50px;
        overflow: hidden;
        font-weight: 700;
    }
  .form-row {
    grid-template-columns: 1fr;
  }
    .form-row label{
        margin-bottom: 20px;
    }

    .btn_area button{
        width: 150px;
        height: 50px;
        background-color: #669fe0;
        color: #fff;
        border: 0;
    }
}

@media (max-width: 555px) {
    .affiliate ul{
        grid-template-columns: repeat(2, 1fr);
    }
    .affiliate li{
        max-width: 100%;
    }
    .card-front img{
        width: 100%;
    }
}
