@media all and (min-width: 1023px) and (max-width: 1268px){
  .data-b-1 p span,.data-b-3 p span{
    font-size: 2.5rem;
  }
  .data-b-1 p span,.data-b-3 p span,.data-b-2 p span{
    border: 1px solid red;
    padding: 2rem;
  }
  .m-benner{
    flex: 0 0 52%;

  }
  .m-text p{
    padding: 2rem;
  }
  .logo span{
    padding: 2rem;
  }
  .b1400 {
    width: 85%;
    padding: 1rem;
  }
 
}


/* 테블릿 세로*/
@media all and (min-width: 768px) and (max-width: 1023px) {
 
  html {
    font-size: 8px;
    overflow-x: hidden;
  }

  .w1400 {
    max-width: 100%;
  }
  .sub-nav,
  .toggle {
    opacity: 1;
  }

  .b1400 {
    width: 85%;
    padding: 1rem;
  }
  #input {
    font-size: 1.5rem;
  }
  .login,
  .join {
    width: 11rem;
    margin-right: 1rem;
  }
  .login i,
  .join i {
    font-size: 13px !important;
  }
  .logo {
    flex: 0 0 80%;
    /* padding: 3rem; */
    transform: translateY(0px);
  }
  .logo span {
    margin-left: 2rem;
    font-size: 3rem;
  }
  .fa-solid {
    font-size: 3rem !important;
  }
  /* 햄버거 */
  .mobile1 {
    flex: 0 0 10%;
    text-align: center;
    font-size: 3rem;
    color: #2c407f;
  }
  .sub-nav {
    height: 100%;
    opacity: 1;
  }
  .header-wrap {
    padding: 3rem;
    justify-content: center;
  }
  .logo {
    flex: 0 0 90%;
  }
  .logo span {
    font-family: "Pretendard-Regular";
    width: 100%;
    text-align: center;
    font-size: 3rem;
    flex: 0 0 90%;
  }
  .logo-toggle {
    width: 100%;
    display: flex;
  }
  .toggle {
    flex: 0 0 6%;
    display: block;
  }
  .data-b-1 p span{
    font-size: 2.5rem;
  }

  .main-menu-1 {
    display: none !important;
  }
  .main-sub-menu {
    /* width: 100%; */
    flex: 0 0 100% !important;
    flex-direction: column;
    justify-content: end;
    list-style: none;
    padding: 5rem;
    display: none;
  }
  .main-sub-menu.open {
    display: block;
  }
  .main-sub-menu li {
    padding: 1rem;
  }
  .accordion-header {
    cursor: pointer;
    padding: 10px;
    text-align: center;
    font-size: 2rem;
    font-family: "Pretendard-Regular";
    font-weight: 700;
    color: #2c407f;
  }
  .accordion-header li {
    padding: 1rem;
  }

  .accordion-header.active {
    padding: 1rem;
    background-color: #ffffff;
  }

  .main-sub-menu-sb {
    list-style: none;
    padding: 1rem;
    margin: 0;
    text-align: center;
    font-size: 1.5rem;
    font-family: "Pretendard-Regular";
  }
  .main-sub-menu-sb li {
    padding: 1rem;
    color: #2c407f;
  }

  .router-link {
    text-decoration: none;
    color: #333;
    display: block;
    padding: 10px;
    transition: background-color 0.3s;
  }

  .router-link:hover {
    background-color: #e0e0e0;
  }
  /* 햄버거 끝! */
  .m-b {
    height: auto;
  }
  .m-b-b {
    flex-direction: column;
    padding-top: 0;
    height: 40rem;
    padding: 2rem;
  }
  .m-benner {
    flex: 100%;
  }
  ul.main-menu > li > a {
    padding: 21px;
  }
  .main-content {
    padding: 40px 0;
  }

  .m-text {
    flex: 100%;
    height: 20rem;
  }
  .m-b-b {
    flex-direction: column;
    padding-top: 5rem;
    height: 60rem;
  }
  .m-text p {
    width: 100%;
    padding-top: 5rem;
    margin-top: 0;
  }
  .m-text p span {
    text-align: center;
    font-size: 5rem;
  }
  .m-benner {
    height: 50px;
    padding: 16rem;
    background-size: contain;
    box-shadow: 0 0 0;
  }
  .m-p-container {
    grid-template-columns: 1fr;
  }
  .m-p-c-3 {
    background: url(../jpg/m3-1.png) no-repeat;
    background-size: cover;
  }
  .m-n-hidden {
    width: 100%;
  }
  .swiper {
    width: 100%;
  }
  .swiper-slide {
    width: 1000px;
  }

  /* 매칭서비스 */
  .mat-b-g-g {
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }
  .mat-sec-a-1 {
    grid-template-columns: 1fr 1fr;
  }
  .mat-sec-b {
    width: 90%;
  }
  /* 자료집 */
  .data-b-1 p,
  .data-b-2 p,
  .data-b-3 p {
    margin-top: 5rem;
  }
  .data-b-1 p span,
  .data-b-2 p span,
  .data-b-3 p span {
    font-size: 2.5rem;
  }
  .data-b-1::after,
  .data-b-3::after {
    width: 60px;
    height: 60px;
  }
  .data-b-1::after {
    right: -60px;
  }
  .data-b-1 p span {
    font-size: 2.5rem;
  }
  .mat-text {
    font-size: 3rem;
  }
}
/* 모바일 가로, 테블릿 세로 */
@media all and (min-width: 480px) and (max-width: 767px) {
  .w1400 {
    max-width: 100%;
    overflow-x: hidden;
  }
  .sub-nav,
  .toggle {
    opacity: 1;
  }
  .b1400 {
    width: 90%;
    padding: 1rem;
  }
  .da1 {
    width: 100%;
    margin-top: 20px;
  }
  /* 햄버거 */
  .header-wrap {
    padding: 3rem;
    justify-content: center;
  }
  .sub-nav {
    height: 100%;
    opacity: 1;
  }
  .logo {
    flex: 0 0 90%;
    transform: translateY(0px);
  }
  .logo span {
    font-family: "Pretendard-Regular";
    width: 100%;
    text-align: center;
    font-size: 2rem;
    flex: 0 0 90%;
  }
  .logo-toggle {
    width: 100%;
    display: flex;
  }
  .toggle {
    flex: 0 0 6%;
    display: block;
  }

  .main-menu-1 {
    display: none !important;
  }
  .main-sub-menu {
    flex: 0 0 100% !important;
    flex-direction: column;
    justify-content: end;
    list-style: none;
    padding: 5rem;
    display: none;
  }
  .main-sub-menu.open {
    display: block;/
  }
  .main-sub-menu li {
    padding: 1rem;
  }
  .accordion-header {
    cursor: pointer;
    padding: 10px;
    text-align: center;
    font-size: 2rem;
    font-family: "Pretendard-Regular";
    font-weight: 700;
    color: #2c407f;
  }
  .accordion-header li {
    padding: 1rem;
  }

  .accordion-header.active {
    padding: 1rem;
    background-color: #ffffff;
  }

  .main-sub-menu-sb {
    list-style: none;
    padding: 1rem;
    margin: 0;
    text-align: center;
    font-size: 1.5rem;
    font-family: "Pretendard-Regular";
  }
  .main-sub-menu-sb li {
    padding: 1rem;
    color: #2c407f;
  }

  .router-link {
    text-decoration: none;
    color: #333;
    display: block;
    padding: 10px;
    transition: background-color 0.3s;
  }

  .router-link:hover {
    background-color: #e0e0e0;
  }
  /* 햄버거 끝! */
  .mobile1 {
    flex: 0 0 10%;
    text-align: center;
    font-size: 3rem;
    color: #2c407f;
  }
  .m-text p {
    font-size: 1rem;
  }
  .m-text {
    display: none;
  }
  .m-text p {
    font-size: 1rem;
  }
  .m-b {
    background: url(../jpg/main.png) no-repeat center center;
    background-size: cover;
    height: auto;
  }
  .m-text span {
    font-size: 25px;
  }
  .logo {
    flex: 0 0 90%;
  }
  .m-p {
    padding: 3rem;
  }
  .m-b-b {
    flex-direction: column;
    padding-top: 0;
    height: 40rem;
    padding: 2rem;
  }
  .m-benner {
    display: none;
  }
  .m-p-container {
    grid-template-columns: 1fr;
  }
  .m-h-g {
    grid-template-columns: 1fr;
  }
  .m-pa-pa {
    width: 100%;
    flex-direction: column;
  }
  .m-pa-pa div {
    justify-content: center;
  }
  .m-p-c-3 {
    background: url(../jpg/m3-1.png) no-repeat;
    background-size: cover;
  }
  .m-pa-logo {
    width: 100%;
    align-items: center;
    height: 5rem;
    margin: 2rem;
  }

  .lo1,
  .lo2,
  .lo3,
  .lo4,
  .lo5 {
    background-size: contain;
  }
  /* 매칭서비스 */
  .mat-b-g-g {
    grid-template-columns: 1fr;
  }
  .mat-sec-a-1 {
    grid-template-columns: 1fr;
  }
  .mat-sec-b {
    width: 90%;
  }
  .mat-text {
    font-size: 3rem;
  }
  /* 자료집 */
  .data-main {
    width: 100%;
  }
  .data-b-grid {
    grid-template-columns: 1fr;
  }
  .data-b-b {
    padding: 4rem;
    text-align: center;
  }
  .data-b-1 p {
    font-size: 2rem;
    padding: 3rem;
    padding-top: 5rem;
    width: 50%;
    font-family: SBaggroM;
    text-align: left;
    color: #014099;
    margin: 0 auto;
    cursor: pointer;
  }
  .data-b-3 p {
    font-size: 2rem;
    padding: 3rem;
    padding-top: 5rem;
    width: 50%;
    margin: 0 auto;
    cursor: pointer;
    font-family: SBaggroM;
    text-align: right;
    color: #e07e27;
  }
  .data-b-1 p span {
    font-size: 2.5rem;
  }
  .data-b-3::after,
  .data-b-1::after {
    display: none;
  }
}

/* 모바일 가로, 테블릿 세로 */
@media all and (max-width: 479px) {
  .w1400 {
    margin: 0 auto;
    max-width: 100%;
    overflow-x: hidden;
  }

  .sub-nav,
  .toggle {
    opacity: 1;
  }
  .b1400 {
    width: 90%;
    padding: 1rem;
  }

  .header-wrap {
    padding: 3rem;
    flex-direction: column;
    box-shadow: 2px 2px 2px #3333330e;
  }
  .logo-toggle {
    width: 100%;
    display: flex;
  }
  .logo {
    flex: 0 0 80%;
    transform: translateY(0px);
  }
  .logo span {
    font-family: "Pretendard-Regular";
    width: 100%;
    text-align: center;
    font-size: 2.6rem;
    flex: 0 0 90%;
    margin: 1rem;
    /* border: 1px solid red; */
  }
  .mobile1 {
    flex: 0 0 10%;
    text-align: center;
    font-size: 3rem;
    color: #2c407f;
    /* border: 1px solid red; */
  }
  /* 메뉴 반응형 */
  .sub-nav {
    position: relative;
    height: 100%;
    opacity: 1;
  }

  .toggle {
    flex: 0 0 6%;
    display: block;
    height: 10px;
 
  }

  .main-menu-1 {
    display: none !important;
  }
  .main-sub-menu {
    flex: 0 0 100% !important;
    flex-direction: column;
    justify-content: end;
    list-style: none;
    padding: 5rem;
    display: none;
  }
  .main-sub-menu.open {
    display: block;
  }
  .m-text {
    display: none;
  }
  .m-text p {
    font-size: 1rem;
  }
  .m-b {
    background: url(../jpg/main.png) no-repeat center center;
    background-size: cover;
    height: auto;
  }
  .m-text span {
    font-size: 25px;
  }

  .m-p {
    padding: 3rem;
  }
  .m-b-b {
    flex-direction: column;
    padding-top: 0;
    height: 40rem;
  }
  .m-benner {
    width: 100%;
    flex: 100%;
    background-size: cover;
    box-shadow: 0px 0px 0px;
    display: none;
  }
  .m-p-container {
    grid-template-columns: 1fr;
  }
  .m-h-g {
    grid-template-columns: 1fr;
  }
  .m-pa-pa {
    width: 100%;
    flex-direction: column;
  }
  .m-pa-pa div {
    justify-content: center;
  }
  .m-p-c-3 {
    background: url(../jpg/m3-1.png) no-repeat;
    background-size: cover;
  }
  .m-pa-logo {
    width: 100%;
    align-items: center;
    height: 5rem;
    margin: 2rem;
  }
  .lo1,
  .lo2,
  .lo3,
  .lo4,
  .lo5 {
    background-size: contain;
  }
  .call p {
    flex: 0 0 100%;
  }
  .call img {
    flex-direction: column;
    margin-top: 30px;
    margin-left: -213px;
  }
  /* 매칭서비스 */
  .mat-b-g-g {
    grid-template-columns: 1fr;
  }
  .mat-sec-a-1 {
    grid-template-columns: 1fr;
    width: 100%;
  }
  .mat-text {
    display: none;
    font-size: 2rem;
  }

  /* 자료집 */
  .data-main {
    width: 100%;
  }
  .data-b-grid {
    grid-template-columns: 1fr;
  }
  .data-b-b {
    padding: 4rem;
    text-align: center;
  }

  .main-sub-menu li {
    padding: 1rem;
  }
  .accordion-header {
    cursor: pointer;
    padding: 10px;
    text-align: center;
    font-size: 2rem;
    font-family: "Pretendard-Regular";
    font-weight: 700;
    color: #2c407f;
  }
  .accordion-header li {
    padding: 1rem;
  }

  .accordion-header.active {
    padding: 1rem;
    background-color: #ffffff;
  }

  .main-sub-menu-sb {
    list-style: none;
    padding: 1rem;
    margin: 0;
    text-align: center;
    font-size: 1.5rem;
    font-family: "Pretendard-Regular";
  }
  .main-sub-menu-sb li {
    padding: 1rem;
    color: #2c407f;
  }

  .router-link {
    text-decoration: none;
    color: #333;
    display: block;
    padding: 10px;
    transition: background-color 0.3s;
  }

  .router-link:hover {
    background-color: #e0e0e0;
  }
  .data-b-1 p span {
    font-size: 2.5rem;
  }

  .data-select {
    width: 100%;
    flex-direction: column;
  }
  .data-table-tr {
    width: 100%;
  }
}
