@media (min-width: 0px) and (max-width: 1300px) {
  .controls {
    transform: translateY(100%);
  }
  
  .map_wrap {
    flex: 1;
  }
}
@media (min-width: 0px) and (max-width: 1280px) {
  .header_in_wrap .gnb a{
    height: auto;
  }
  .content-box-doc{
    width: 35%;
    position: static;
  }
  .sec2 .content-box-bl{
    flex-direction: column-reverse;
    align-items: center;
  }
  .sec2 .main_tit,
  .doc-name{
    margin-bottom: 2rem;
  }
  
  .sec4-card{
    flex-direction: column;
    align-items: center;
  }
  .sec4-card.reverse{
    flex-direction: column;
  }
  .sec4-card .txt{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
  }
  .sec4-card .img{
    flex: 1;
  }
  .sec4-card p br{
    display: none;
  }
  .sec3 .small-sub-txt h3 br{
    display: none;
  }
  .sec4-card-ul li br{
    display: none;
  }
  .sec5 .item_pagination{
    width: 80% !important;
  }
  .map_txt::after{
    top: -18vw;
        right: -2vw;
        width: 31vw;
        height: 25vw;
  }
  .m-none{
    display: none;
  }
  .m-block{
    display: flex;
    color: #fff;
    margin-bottom: 0;
  }
  .doc-name .box{
    color: #fff;
  }
  .doc-line{
    background: #fff;
  }
  .sec2 {
    position: relative;
    overflow: hidden;
  }
  .sec2::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url(../img/doc-back-behind-m.png) no-repeat center / cover;
    transform: scaleY(-1);
  }
  .content-box-bl::after{
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 60vh;
    background: linear-gradient(0deg, #00419D 0%, #00419D 100%), #003668;
    opacity: 0.8;
    z-index: -1;
    
  }
  .content-box-bl-wrap{
    background: none;
    opacity: 1;
  }
  .sec2 .main_tit{
    position: relative;
  }
  .content-box-bl {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
  }
  .sec2 .ul_wrap{
    justify-content: center;
  }
  .content-box-bl-wrap{
    margin-bottom: 0;
  }
  .doc-ul li:last-child{
  margin-bottom: 40px;
}
}
@media (min-width: 0px) and (max-width: 1080px) {
  .item_name {
    font-size: 25px;
    margin: 14px 0 2px;
  }
  
  .controls {
    position: relative;
    transform: translateY(0);
    margin-top: 3vw;
  }
  .tour_grid {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 20px;
  }
  
  .tour_main {
    grid-column: 1;
    width: 100%;
    grid-row: auto;
    overflow: hidden;
  }
  
  .tour-thumbs {
    overflow: hidden;
    grid-column: auto;
    grid-row: auto;
    align-items: flex-end;
  }
  
  .map_flex {
    flex-direction: column;
  }
  
  /* .map_wrap{height: 300px;} */
  .map_wrap .root_daum_roughmap {
    height: 300px;
  }
  
  .map_txt_inner {
    padding: 30px 30px 0px;
  }
  .sub-tit{
    font-size: 2.5vw;
  }
  .sec4-tab > div h3{
    left: 2vw;
    bottom: 2vw;
  }
  .sec4-tab > div h3{
    font-size: 3vw;
  }
  .map_txt::after{
    display: none;
  }
  .sec1-round-wrap .round p{
    font-size: 1.6rem;
  }
}
@media (min-width: 0px) and (max-width: 1024px) {
  .sec1-round-wrap .round h3{
    font-size: 3.5vw;
  }
  .sec1-round-wrap .round:not(:first-child) {
    margin-left: -20px;
  }
}
@media (min-width: 0px) and (max-width: 900px) {
  .sec1-round-wrap .round p{
    font-size: 1.7vw;
  }
  .sec4-card-ul.nogap{
    gap: 5vw;
  }
  .sec4-card-container-wrap{
    padding: 60px;
  }
  .sec4-card .tab-box{
    margin-bottom: 3rem;
  }
  .header_link .line{
    stroke: #000;
  }
  
}
@media (min-width: 0px) and (max-width: 768px) {
  .sec3-flex .tab ul{
    gap: 20px;
  }
  .sec3-flex .tab ul{
    padding: 2vw 3vw;
  }
  .sec3 .card-wrap .card{
    padding: 6vw;
  }
  
  
  .sec4-card-container-wrap{
    padding: 6vw;
  }
  .m-flex-col{
    flex-direction: column;
    gap: 0;
  }
  .m-margin-bot{
    margin-bottom: 1rem;
  }
  .sec4-card-ul.nogap{
    gap: 0;
  }
  .sec4-card .txt{
    align-items: stretch;
  }
  .sec4-card-ul{
    justify-content: space-between;
  }
  .sec4-card .tab-box{
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }
  .sec2 .content-box-doc{
    width: 50%;
  }
  .sec3 .card-wrap{
    flex-direction: column;
  }
  .sec4 .li-br br{
    display: block;
  }
  .sec4 .li-br span{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .m-flex-col.bot ul li:nth-of-type(2){
    margin-bottom: 10px;
  }
  .main_tit{
    font-size: 7vw;
  }
  .sub-tit {
    font-size: 3.5vw;
  }
  .sec2::after{
    height: 75%;
  }
  .sec4-card-ul li.li-br{
    align-items: flex-start;
  }
  .sec2 .main_tit{
    gap: 3vw;
  }
  .doc-top-logo{
    width: 35vw;
  }
   .doc-top-logo.second{
    width: 65vw;
   }
.content-box-bl::after{
  height: 70%;
}
.sec2 .ul_wrap{
  width: 95%;
}

}
@media (min-width: 0px) and (max-width: 600px) {
  .item_name {
    font-size: 5vw;
  }
  .item_name+i{
    font-size: 4vw;
  }
  
  .map_txt_inner {
    padding: 20px 15px 0px;
    border-radius: 20px;
  }
  .map_tit {
    font-size: 6.5vw;
  }
  
  .map_tit:not(:first-child) {
    margin-top: 20px;
  }
  
  .map_txt address {
    font-size: 4.5vw;
  }
  .map_txt ul li {
    gap: 20px;
    font-size: 4.5vw;
    padding: 0 5px;
  }
  .map_txt ul li span {
    width: 5.5em;
  }
  .night_li .wide {
    width: 3.5em;
  }
  .night_li i {
    gap: 6px;
  }
  .map_txt ul li.night_li::before{
    left: -5px;
  }
  .time_last {
    font-size: 4.2vw;
  }
  .sec4-card{
    gap: 2rem;
  }
  .sec6 .main_tit img{
    width: 10vw;
  }
  .sub-tit, .tour_info p{
    font-size: 4.3vw;
    line-height: 1.6;
  }
  .main_tit::before{
    font-size: 2.5vw;
  }
  .sec1 .sub-tit{
    font-size: 4vw;
    line-height: 1.6;
  }
  .sec1-round-wrap {
    flex-wrap: wrap;
  }
  
  .sec1-round-wrap .round {
    margin-left: 0;
  }
  
  .sec1-round-wrap .round:nth-child(1),
  .sec1-round-wrap .round:nth-child(2) {
    width: 53%;
  }
  .sec1-round-wrap .round:nth-child(3) {
    width: 53%;
    margin-top: -40px;
  }
  .sec1-round-wrap .round:first-child{
    margin-left: 0px;
  }
  .sec1-round-wrap .round:last-child{
    margin-left: 0;
    z-index: 3;
  }
  .sec1-round-wrap .round h3 {
    font-size: 5.7vw;
  }
  .sec1-round-wrap .round p{
    font-size: 3vw;
  }
  .ul_wrap{
    flex-direction: column;
    gap: 7vw;
  }
  .sec2 .content-box-bl{
    align-items: initial;
  }
  .sec2 .content-box-doc{
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }
  .sec3-flex .tab ul{
    gap: 3vw;
  }
  .sec4-tab {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .doc-name h3{
    font-size: 7vw;
  }
  .doc-name i, .sec2 .doc-ul .first,
  .sec3 .card-wrap .card h4,
  .sec4-tab > div h3{
    font-size: 5vw;
  }
  .doc-line{
    height: 4vw;
  }
  .sec2 .doc-ul{
    font-size: 3.7vw;
    line-height: 1.7;
  }
  .sec3 .small-sub-txt,
  .sec4-card p{
    font-size: 4vw;
    line-height: 1.6;
  }
  .sec3-flex .tab ul{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-radius: 20px;
    font-size: 4.5vw;
  }
  .sec3-flex .tab ul li{
    display: flex;
    justify-content: center;
  }
  .sec2 .content-box-doc{
    width: 65%;
  }
  .sec4-tab > div{
    height: 100%;
  }
  .sec4-tab > div img{
    height: 200px;
  }
  .sec1-round-wrap .round:not(:first-child) {
    margin-left: -35px;
  }
  .sec1-round-wrap .round:last-child{
    margin-left: 0;
  }
  .sec4-card-ul li img{
    width: 4vw;
  }
  .card p, .sec4-card-ul{
    font-size: 4vw;
  }
  .sec4-card h3{
    font-size: 8vw;
  }
  .sec4 .sub-tit{
    margin-bottom: 6rem;
  }
  .sec1-round-wrap .round p{
    font-weight: 400;
  }
  .sec6_bg{
    border-radius: 0px;
  }
  .sec3-flex .tab ul:has(li:first-child.on),
  .sec3-flex .tab ul:has(li:nth-of-type(4).on){
    padding-left: 2vw;
  }
  .sec3-flex .tab ul:has(li:last-child.on) {
    padding-right: 2vw;
  }
  .sec3-flex .tab ul:has(li:nth-of-type(3).on){
    padding-right: 2vw;
  }
  .sec3-flex .tab ul li.on{
    padding: 4px;
  }
  .controls{
    margin-bottom: 10px;
  }
  .doc-name{
    align-items: center;
  }
  .sec1-round-wrap .round h3{
    margin-bottom: 1rem;
  }
  .sec1-round-wrap .round:last-child {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(../img/sec1-img02.png?ver=260602) no-repeat center 0px / cover;
  }
  .sec1-round-wrap .round:last-child h3{
    margin-bottom: 0;
  }
  .quick{
    bottom: 5vw;
  }
  .margin-m, 
  .main_tit::before{
    margin-bottom: 0 !important;
  }
  
  .doc-ul li:last-child{
    margin-bottom: 4rem;
  }
  .sec4-ul-wrap .sec4-card-ul:first-child,
  .sec6 .main_tit .logo{
    margin-bottom: 0;
  }
  .padding-m{
    padding-bottom: 0;
  }
  .item_pagination.swiper-pagination-progressbar{
    margin-top: 4rem;
  }
  .sec2 .content-box-bl{
    gap: 5.5vw;
  }
  .sec2::after {
    height: 82%;
  }
  .map_tit:not(:first-child){
    margin-bottom: 0;
  }
  .sec4-card .tab-box{
    margin-bottom: 1.5rem;
  }
  .doc-name{
    max-width: 1280px;
    width: 95%;
    margin: 0 auto;
  }
  .empty-set {
    height: 50px;
}
.content-box-bl::after{
  height: 80%;
}
.doc-ul .m-bottom{
  margin-bottom: 0px !important;
}
}

@media (min-width: 0px) and (max-width: 550px) {
  .sec1-round-wrap .round:not(:first-child) {
    margin-left: -32px;
  }
  .sec1-round-wrap .round:last-child{
    margin-left: 0;
  }
  .map_wrap {
    width: 92%;
    margin: 0 auto;
  }
  .sec3 .card-wrap >div:first-child,
  .sec3 .card-wrap >div:nth-of-type(2){
    background-size: 35vw auto;
  }
  .m-between{
    justify-content: initial;
    gap: 15vw;
  }
  .sec2 .ul_wrap{
    gap: 7vw;
  }
  footer .container {
    padding: 5rem 0 8rem;
  }
}
@media (min-width: 0px) and (max-width: 450px) {
  .sec1-round-wrap {
    flex-direction: column;
  }
  .sec1-round-wrap .round h3 {
    font-size: 8.7vw;
  }
  .sec1-round-wrap .round p {
    font-size: 4.5vw;
  }
  .sec1-round-wrap .round {
    width: 90% !important;
    margin-left: 0;
    padding: 40px;
  }
  .sec1-round-wrap .round:first-child{
    margin-left: 0px;
  }
  .sec1-round-wrap .round:last-child{
    margin-left: 0;
  }
  .sec1-round-wrap .round:not(:first-child){
    margin-left: 0px;
    margin-top: -40px;
  }
  .sec1-round-wrap .round:nth-child(2) {
    z-index: 3;
  }
  .sec1-round-wrap .round:last-child h3 {
    margin-bottom: 2rem;
  }
}
