@charset "utf-8";

    body {
        margin: 0;
        padding: 0;
        font-family: Roboto,"Noto Sans KR",sans-serif;
    }
    html, body, div, p, li, span, h1, h2, h3, h4, h5, h6, input, label, a, textarea {
    font-family: "Noto Sans KR", sans-serif;
    }
    :root {
        --main-color: #ff3e3e; 
        --main-color-bg:#faf6f3;
        --secondary-color-bg: #f5f3df;
    }
    .main_color {
        color: var(--main-color);
    }
    .main_color_bg {
        background-color: var(--main-color-bg); 
    }
    .secondary_color_bg {
        background-color: var(--secondary-color-bg);
    }
    @media screen and (max-width: 1200px) {
        .wrapper {
            overflow:hidden;
        }
    }
    #container{width:100%;margin-bottom:0;}
    .foot{margin-top: 0;}
    .slider_container .swiper-wrapper {
        width: 100%;
        height: 55vh 
    }
    .swiper-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .base_container {
        max-width: 1250px;
        margin: 0 auto;
    }
    section .inner h2 {
        font-size: 1.6em;
        text-align:center;
    }
    #section1 .selheader {
        display: flex;
        position: relative;
        z-index: 1;
        top: -50.7px;
        margin-top: 0;
        width:100%;
        height:50px;
        align-items:center;
        box-sizing:border-box;
        overflow: hidden;
        border-bottom: 1px solid #876a55;
        font-size:1.2em;
        color:#440c01;
    } 
    #section1 .selheader .categorySelect[type=loc] {
        color: #474747;
        background-color: var(--main-color-bg); 
    }
    #section1 .selheader .categorySelect[type="theme"] {
        color: #474747;
        background-color: #ece9e1;
    }
    #section1 .selheader .categorySelect[type="loc"],
    #section1 .selheader .categorySelect[type="theme"] {
        width: 25%;
        display: flex; 
        align-items: center; 
        justify-content: space-between; 
        padding:20px 20px; 
    }
    #section1 .selheader div .ctIcon {
        width: 13px;
        height: 7px;
        display: inline-block; 
        margin-left: auto;
    }
    #section1 .selheader div .ctOpen {
        background: url('/theme/noble/img/mainCategoryOpen.svg') no-repeat center center; 
        background-size: contain; 
    }
    #section1 .selheader div .ctClose {
        background: url('/theme/noble/img/mainCategoryClose.svg')no-repeat center center;
    }
    #section1 .selheader div .m-only {
        display:none;
    }
    #section1 .selheader .search {
        width:100%;
        background-color:#ff3e3e;
        text-align:center;
    }
    #section1 .selheader .search  form  {
        display: inline-block;
        width:100%;
        align-items: center;
    }
    #section1 .selheader .search input {
        outline: 0;
        border: 0;
        background: 0 0;
        color: #fff;
        width: 95%;
    }
    input[type="text"] {
        border-radius: 0;
        outline: 0;
        border: 0;
        border: 1px solid #ccc;
        margin: 3px 0px;
        padding: 20px 20px;
        color: #333;
    }
    #section1 .selheader .search button {
        /* margin-left:80px; */
    }
    input::placeholder {
        color:#ece9e1;
    }
    #section1 .selheader .search  form input plce-holder
    .selcontents .categorylist a span img {
        width:40px;
        height:40px;
    }
    @media(min-width:1024px){
      .m-only{display: none !important;}
    }
    @media screen and (max-width: 1024px)  {
        #section1 {
            padding:20px 25px;
        }
        #section1 .selheader {
            border-bottom: none;
            height: 50px;
            top: 0;
            margin-top: 10px;
            margin-bottom: 25px;
        }
        #section1 .selheader div {
            border: 1px solid var(--main-color);
        }
        .m-only {
            display: block !important;
        }
        #section1 .selheader .categorySelect[type="loc"], 
        #section1 .selheader .categorySelect[type="theme"] {
            padding: 10px 15px 10px 20px;
        }
        #section1 .selheader .categorySelect[type=loc] {
            width: 49%;
            background-color: var(--main-color-bg);
            color: #131313;
            margin-right: 1%;
        }
        #section1 .selheader .categorySelect[type=theme] {
            width: 49%;
            background-color: #fff;
            color: #999;
            margin-left: 1%;
        }
        #section1 .selheader .search {
            /* display: none; */
        }
        #section1 .selheader .search input{width:85%;}
    }
    #section1 .selcontents {
        z-index: 1;
        top: -50.7px;
        border: 1px solid #d1d1d1;
        padding: 20px 10px 20px 20px;
        position: relative;
        margin-bottom: 0 !important;
    }
    #section1 .selcontents.pc-only {
        display: block;
    }
    #section1 .selcontents.m-only {
        display: none;
    }
    #section1 .selcontents .categorylist {
        display: flex;
        flex-wrap: wrap;
    }
    #section1 .selcontents .categorylist a {
        display: flex;
        flex-direction: column;
        margin-bottom: 10px;
        justify-content: center;
        align-items: center;
    }
    #section1 .selcontents .categorylist[type=loc] a {
        flex-basis: 9%;
    }
    #section1 .selcontents .categorylist[type=loc] a .img {
        width: 100%;
        height: 35px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-right: 1px solid #e5e5e5;
    }
    #section1 .selcontents .categorylist a .img img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain; /* or 'cover' depending on your need */
    }
    #section1 .selcontents .categorylist[type=loc] a.border .img  {
        border-right: none ; 
    }
    #section1 .selcontents .categorylist[type=loc] a:nth-child(-n+11) {
        border-bottom: 1px solid #e5e5e5;
        padding-bottom: 15px;
    }
    #section1 .selcontents .categorylist a .txt {
        margin-top: 9px;
        color: #656565;
        font-size: 13px;
    }
    #section1 .selcontents .categorylist[type=theme] {
        height: 120px;
        padding: 15px 0;
    }
    #section1 .selcontents .categorylist[type=theme] a {
        flex-basis: 12.5%;
        margin-bottom: 0;
        border-right: 1px solid #e5e5e5;
        box-sizing: border-box;
        text-align:center;
    }
    #section1 .selcontents .categorylist[type=theme] a .img {
        width: 100%;
        height: 35px;
        border-right: 0;
    }
    #section1 .selcontents .categorylist[type=theme] a:last-child {
        border-right: none;
    }
    #section1 .selcontents .categorylist[type=theme] a .txt {
        margin-top: 22px;
    }
    
    @media screen and (max-width: 1024px) {
        #section1 .selcontents {
            top: 0;
            margin-top: 10px;
            padding: 0;
        }
        #section1 .selcontents.pc-only {
            display:none !important;
        }
        #section1 .selcontents.m-only {
            display: block !important;
        }
        #section1 .selcontents .categorylist[type=loc] {
            /* display:none; */
            border: 1px solid #d1d1d1;
            border-right: none;
            border-bottom: none;
            margin-bottom: 30px;
        }
        #section1 .selcontents{border: none;}

        #section1 .selcontents .categorylist[type=theme] {
            height: auto;
            padding: 0;
            border: 1px solid #d1d1d1;
            border-right: none;
        }
        #section1 .selcontents .categorylist a:nth-child(4n) {
            border-right: 1px solid #d1d1d1;
        }
        #section1 .selcontents .categorylist a {
            display:block;
            border-right: 1px solid #e5e5e5;
            box-sizing: border-box;
            text-align: center;
            flex-basis: 25% !important;
            padding: 10px 0 !important;
            margin: 0 !important;
            border-bottom: 1px solid #e5e5e5;
        }
        #section1 .selcontents .categorylist[type=theme] a:last-child {
            border-right: 1px solid #e5e5e5;
            border-bottom: none;
        }
        #section1 .selcontents .categorylist[type=theme] a:nth-child(25),
        #section1 .selcontents .categorylist[type=theme] a:nth-child(26),
        #section1 .selcontents .categorylist[type=theme] a:nth-child(27) {
            border-bottom: none !important;
        }
    }
    #section2 {
        margin-top:50px;
    }
    #section2 .inner .content {
        margin-top: 30px;
    }
    .m-only {
        display:none;
    }
    #section2 .inner .content ul {
        display:flex;
        flex-wrap: wrap;
        padding-bottom: 20px;
        align-items:center;
        justify-content: space-between;
        gap: 2px;
    }
    #section2 .inner .content ul li {
        box-sizing: border-box;
        box-shadow: 1px 1px 12px 0px #c3c3c3;
        flex-direction: column;
        padding: 0;
        flex-basis: 300px;
        width: calc((100% - 6px) / 4);
        border-radius:10px;
        overflow:hidden;
        margin-bottom: 10px;
    }
    #section2 .inner .content ul li a .detail {
        margin:10px;
        display: flex;
        align-items: center;
    }
    #section2 .inner .content ul li a .detail div {
        margin-right: 20px;
    }#section2 .inner .content ul li a .detail div img {
        margin-right: 3px;
        width:11px;
        height:14px;
    }
    #section2 .inner .content ul li a .detail span {
        font-size:0.875em ;
    }
    #section2 .inner .content ul li a .image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    #section2 .inner .content ul li a .infor {
        margin:10px;
    }
    #section2 .inner .content ul li a .infor h2 {
        color: #000;
        text-align:left;
        font-weight: 500;
        font-size: 1.25em;
    }
    #section2 .inner .content ul li a .infor span.address {
        color: #959595;
        font-size: 13px;
        margin: 8px 0 14px;
        text-overflow: ellipsis;
        overflow: hidden;
        width: 99%;
        white-space: nowrap;
        min-height: 13px;
    }
    #section2 .inner .content ul li a .desc {
        margin-top: auto;
        padding: 17px 10px;
        background-color: #f5f3df;
        font-weight: 400;
        letter-spacing: -.5px;
        line-height: 19px;
    }
    @media screen and (max-width: 1024px) {
        .pc-only {
            display: none !important;
        }
        .m-only {
            display:block;
        }
        .tab-btn-ajax-ul{display: flex !important;}
        .m-only .content {
            max-width: 1024px; 
            margin: 0 auto; 
        }
        #mLatest1 ul {
            padding: 20px 25px;
        }
        #mLatest1 ul li a .image {
            display: flex;
            flex-direction:column;
            align-items:center;
        }
        #section2 .inner .content ul li a .image img {
            width: 100%;
            height: auto; 
        }
        #section2 .inner .content ul li a .detail div {
            display: flex;
            flex-direction: row;
            align-items: center;
        }
    }
    #section3 {
        margin:50px 0;
    }
    #section3 .inner p {
        color: #656565;
        font-size: 0.8125em;
        text-align:center;
    }
    
    #section3 .inner .section_data_head {
        display:flex;
        margin-top: 30px;
        border: 1px solid #876a55;
        margin-bottom: 20px;
    }
    
    #section3 .inner .content ul {
        display:flex;
        flex-wrap: wrap;
        padding-bottom: 20px;
        align-items:center;
        /* justify-content: space-between; */
        gap: 20px;
    }
    #section3 .inner .content ul li {
        box-sizing: border-box;
        box-shadow: 1px 1px 12px 0px #c3c3c3;
        flex-direction: column;
        width: calc((100% - 60px)/4);
        padding: 0;
        border-radius:10px;
        overflow:hidden;
    }
    #section3 .inner .content ul li a .detail {
        margin:10px;
        display: flex;
        align-items: center;
    }
    #section3 .inner .content ul li a .detail div {
        margin-right: 20px;
    }
    #section3 .inner .content ul li a .detail div img {
        margin-right: 3px;
        width:11px;
        height:14px;
    }
    #section3 .inner .content ul li a .detail span {
        font-size:0.875em ;
    }
    #section3 .inner .content ul li a .infor {
        margin:10px;
    }
    #section3 .inner .content ul li a .infor h2 {
        color: #000;
        text-align:left;
        font-weight: 500;
        font-size: 1.25em;
    }
    #section3 .inner .content ul li a .image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    #section3 .inner .content ul li a .infor span.address {
        color: #959595;
        font-size: 13px;
        margin: 8px 0 14px;
        text-overflow: ellipsis;
        overflow: hidden;
        width: 99%;
        white-space: nowrap;
        min-height: 13px;
    }
    #section3 .inner .content ul li a .desc {
        margin-top: auto;
        padding: 17px 10px;
        background-color: #faf6f3;
        font-weight: 400;
        letter-spacing: -.5px;
        line-height: 19px;
    }
    #section3 .inner .content ul li a .desc p {
        text-align:left;
    }
    @media screen and (max-width: 1024px) {
        #mLatest2 ul {
            padding: 20px 25px;
        }
        #mLatest2 ul li a .image {
            display: flex;
            flex-direction:column;
            align-items:center;
        }
        #section3 .inner .content ul li a .image img  {
            width: 100%;
            height: auto; 
        }
        #section3 .inner .content ul li a .detail div {
            display: flex;
            flex-direction: row;
            align-items: center;
        }
    }
    #section4 {
        background-color: #faf6f3;
    }
    #section4 .inner {
        border: 1px solid #ff3e3e;
        padding: 30px 25px;
        display: flex;
    }
    #section4 .inner .left {
        width: calc(100% - 270px);
        box-sizing: border-box;
        padding-right: 40px;
        border-right: 1px solid #ff3e3e;
    }
    #section4 .inner .left h3,
    #section4 .inner .right h3 {
        font-size: 1.375em;
        color: #222;
        margin-bottom: 10px;
        height: 35px;
    }
    #section4 .inner .left h3 strong,
    #section4 .inner .right h3 strong {
        color: #e43c13;
    }
    
    #section4 .inner .left .content ul li {
        display: flex;
        justify-content:space-between;
        align-items:center;
    }
    #section4 .inner .left .content ul li a {
        display:block;
        padding: 8px 0;
        line-height: 21px;
        color: #000;
        font-size: 0.9375em;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
    }
    #section4 .inner .left .content ul li span {
        display:block;
        background-color: #f19224;
        color: #fff;
        padding: 4px 16px;
        font-size: 13px;
        border-radius: 10px;
        margin-left: auto;
    }
    #section4 .inner .right {
        width: 270px;
        box-sizing: border-box;
        padding-left: 25px;
    }
    #section4 .inner .right .content ul li a {
        display:block;
        line-height:22px;
        padding: 8px 0;
        font-size: 1.375em;
        color: #222;
    } 
    @media screen and (max-width: 1024px) {
        #section4 {
            padding: 20px 25px;
        }
        #section4 .inner .right {
            display:none;
        }
        #section4 .inner .left {
            border-right: none;
            width:100%;
            padding-right: 0;
        }
    }
    #section5 {
        /* background: url(/theme/noble/img/body-bg.png) repeat; */
        margin-top: 80px;
        padding: 20px 0 70px;
    }
    #section5 .inner {
        width: 1250px;
        margin: 0 auto;
        text-align: center;
    }
    #section5 .inner h2 {
        display:inline-block;
        position:relative;
        padding: 30px 0 10px;
        font-size: 2em;
    }
    #section5 .inner h2::after {
        content: '';
        position: absolute;
        right: -18px; 
        bottom:35px; 
        width: 8px; 
        height: 8px; 
        background-color: #ff3e3e; 
        border-radius: 50%; 
    }
    #section5 .inner .content ul {
        margin-top: 30px;
        display: flex;
        flex-wrap: wrap;
    }
    #section5 .inner .content ul li {
        display: flex;
        flex-direction: column;
        width: 270px;
        box-sizing: border-box;
        margin: 0 20px;
        box-shadow: 1px 1px 12px 0px #c3c3c3;
        background: #fff;
    }
    #section5 .inner .content ul li .infor {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 10px;
    }
    #section5 .inner .content ul li .infor h3 {
        padding: 12px 15px 4px;
        font-size: 1.0625em;
        text-align:left;
    }
    #section5 .inner .content ul li .infor span.desc {
        display:block;
        text-align:left;
        color: #646464;
        font-size: 0.8125em;
        padding: 10px 15px;
        max-height: 80px;
        overflow: hidden;
        line-height: 1.5em;
    }
    #section5 .inner .content ul li .infor span.more {
        padding: 10px 0 16px 15px;
        cursor: pointer;
        color: #646464;
        font-size: 0.75em;
        text-align:left;
    }
    @media screen and (max-width: 1024px) {
        #section5 .inner {
            width: 100% !important;
            box-sizing: border-box;
            padding: 20px 25px;
        }
        #section5 .inner .content ul li {
            flex-direction: row !important;
            width: 100% !important;
            background: transparent !important;
            margin-bottom: 15px !important;
            
        }
        #section5 .inner .content ul li .image {
            width: 50% !important;
        }
        #section5 .inner .content ul li .infor {
            width: 45% !important;
            margin-left: 5% !important;
            background: #fff !important;
        }
        #section5 .inner .content ul li .infor h3 {
            padding-left: 15px !important;
            padding-right: 15px !important;
            max-height: unset !important;
            overflow-y: auto !important;
        }
        /* 텍스트 설정 관련 수정해야할 부분 */
        #section5 .inner .content ul li .infor span.desc {
            max-height: unset !important;
            font-size:0.9em;
            width:100%;
            word-break: break-word; 
            overflow-wrap: break-word; 
        }
    #section5 .inner .content ul li .infor span.more {
        display:none;
    }
}
@media screen and (max-width: 600px) {
        #section5 .inner .content ul li {
            display: flex; 
            flex-direction: column !important; 
            align-items: center; 
            justify-content: center ;
            margin:0;
        }
        #section5 .inner .content ul li .image {
            display: flex; 
            justify-content: center; 
            align-items: center; 
            width: 100%; 
        }
        #section5 .inner .content ul li .image img {
            max-width: 300px; 
            max-width: 100%;
            height: auto; 
        }
        #section5 .inner .content ul li .infor {
            width: 100% !important;
            margin-left: 0 !important; 
        }
        #section5 .inner .content ul li .infor span.desc {
            max-height: 80px;
            padding: 0 15px; 
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
        }
        #section5 .inner .content ul li .infor span.more {
            display:block;
        }
    }
    #section6 .inner {
        text-align:center;
        margin-top: 30px;
    }
    #section6 .inner h2 {
        position:relative;
        display:inline-block;
        text-align: center;
        padding-top: 20px;
    }
    #section6 .inner h2::after {
        content: '';
        position: absolute;
        right: -18px; 
        bottom:25px; 
        width: 8px; 
        height: 8px; 
        background-color: #ff3e3e; 
        border-radius: 50%; 
    }
    #section6 .inner .content ul {
        display: flex;
        margin-top: 30px;
        margin-bottom: 50px;
        padding-bottom: 20px;
    }
    #section6 .inner .content ul li {
        width: 300px;
        box-sizing: border-box;
        margin: auto;
    }
    #section6 .inner .content ul li a img {
        width:100%;
        height:100%;
        object-fit:cover;
    }
    @media screen and (max-width: 1024px) {
        #section6 .inner {
            padding:20px 25px;
        }
        #section6 .inner .content ul {
            flex-wrap: wrap;
        }
        #section6 .inner .content ul li {
            text-align: center !important;
            width: 49%;
            margin-bottom: 20px;
        }
        #section6 .inner .content ul li a img {
            width: 80%;
            height:auto;
        }
    }
    #section7 .inner h2 {
        position:relative;
        display:inline-block;
        text-align:left;
        padding-top: 20px;
    }
    #section7 .inner h2::after {
        content: '';
        position: absolute;
        right: -45px; 
        bottom:0; 
        width: 40px; 
        height: 3px; 
        background-color: #ff3e3e; 
    }
    #section7 .inner .content {
        padding-top: 20px;
    }
    #section7 .inner .content ul li {
        display: flex;
        flex-direction: row;
        justify-content: space-between; 
        align-items: center;
        margin-bottom: 15px;
    }
    #section7 .inner .content ul li .icon {
        margin-right: 15px;
        min-width: 19px;
        min-height: 25px;
    }
    #section7 .inner .content ul li .subject {
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        width: 1018px;
    }
    #section7 .inner .content ul li .subject a {
        font-size:1.3em;
    }
    #section7 .inner .content ul li .add {
        display:flex;
        margin-left: 15px;
    }
    #section7 .inner .content ul li .add i {
        font-size:  0.6875em;
        margin-right: 5px;
    }
    #section7 .inner .content ul li .add div:first-child {
        margin-right: 10px;
    }
    #section7 .inner .content ul li .add div {
        padding: 5px 12px;
        border-radius: 7px;
        font-size: 0.875em;
        width:75px;
        display: flex;
        align-items: center;
        letter-spacing: 0.2px;
    }
    @media screen and (max-width: 1024px) {
        #section7 .inner {
            padding:20px 25px;
        }
    }
    @media screen and (max-width: 600px) {
        #section7 .inner .content ul li .add div:last-child {
            display:none;
        }
    }
