
:root {
    --color-text: #000;
    --color-black: #000;
    --color-white: #fff;
    --color-key-col: #d0ac88;
    --transition-cs: all 0.3s ease;
    --padding-lr: 50px;
}


.banner-wrap {
    width: 100%;
    position: relative;
    box-sizing: border-box;
}


.swiper {
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1;
    display: block;
}

.swiper-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    transition-property: transform;
    box-sizing: content-box;
    gap: 20px;
}

.swiper-slide {
    flex-shrink: 0;
    width: 50%;
    position: relative;
    transition-property: transform;
    display: block;
}


.swiper.custom .swiper-button-next,
.swiper.custom .swiper-button-prev {
    padding: 5px;
    height: 15px !important;
    width: 15px !important;
    transition: var(--transition-cs);
}

.swiper.custom .swiper-button-next {
    right: 20px;
}

.swiper.custom .swiper-button-prev {
    left: 20px;
}

.swiper.custom .swiper-button-next::after {
    content: '';
    width: 100%;
    height: 100%;
    border-top: 1px solid var(--color-black);
    border-right: 1px solid var(--color-black);
    transform: rotate(45deg);
}

.swiper.custom .swiper-button-prev::after {
    content: '';
    width: 100%;
    height: 100%;
    border-top: 1px solid var(--color-black);
    border-left: 1px solid var(--color-black);
    transform: rotate(-45deg);
}

/* ✅ main-notice (구 section-banner-02) */
.main-notice {
    margin-top: 70px;
}

.main-notice .banner-wrap {
    display: flex;
    flex-flow: row nowrap;
    gap: 10px;
}

.main-notice .banner-wrap .title {
    width: calc((100% - 150px) / 16);
    flex-shrink: 0;
}

.banner-wrap .title h3 {
    transform: rotate(90deg) translateY(-100%);
    transform-origin: left top;
    font-size: 2.5rem !important;
    font-weight: 700;
    line-height: 1em;
    color: var(--color-text);
    white-space: nowrap;
}

.main-notice .banner-wrap .banner02-swiper .swiper-slide {
    width: calc((100% - 50px - 20px) / 3);
}

.main-notice .banner-wrap .banner02-swiper .swiper-slide .thumb a {
    display: block;
    overflow: hidden;
}

.main-notice .banner-wrap .banner02-swiper .swiper-slide .thumb a img {
    width: 100%;
    transition: var(--transition-cs);
}

.main-notice .banner-wrap .banner02-swiper .swiper-slide .thumb a img:hover {
    transform: scale(1.1);
}

.main-notice .banner-wrap .banner02-swiper .swiper-slide .desc {
    margin-top: 25px;
}

.main-notice .banner-wrap .banner02-swiper .swiper-slide .desc h5 {
    font-size: clamp(1.375rem, 0.9455rem + 0.6704vw, 1.75rem);
    font-weight: 700;
    color: var(--color-text);
}

.main-notice .banner-wrap .banner02-swiper .swiper-slide .desc p {
    margin-top: 6px;
    font-size: clamp(0.875rem, 0.5887rem + 0.4469vw, 1.125rem);
    line-height: 1.3em;
    color: var(--color-text);
}

.main-notice .banner-wrap .banner02-swiper .swiper-slide .desc .btn-more {
    margin-top: 25px;
	padding: 0 20px;
    display: inline-flex;
    align-items: center;
   width: fit-content;
    height: 35px;
    font-size: clamp(0.875rem, 0.8034rem + 0.1117vw, 0.9375rem);
    font-weight: 600;
    color: #fff;
    border-radius: 20px;
    background: var(--color-black);
    transition: var(--transition-cs);
}

.main-notice .banner-wrap .banner02-swiper .swiper-slide .desc .btn-more span {
display: block;
}

@media (min-width: 1025px) {
    .main-notice .banner-wrap .banner02-swiper .swiper-slide .desc .btn-more:hover {
        padding: 0 20px;
        width: fit-content;
        color: var(--color-white);
        background: #A42222;
    }
    .main-notice .banner-wrap .banner02-swiper .swiper-slide .desc .btn-more:hover span {
        display: block;
    }
}

/* ✅ main-brandstory (구 section-banner-03) */
.main-brandstory {
    margin-top: 70px;
}

.main-brandstory .banner-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.main-brandstory .banner-wrap .banner {
    position: relative;
}

.main-brandstory .banner-wrap .img a {
    display: block;
}

.main-brandstory .banner-wrap .img img {
    width: 100%;
}

.main-brandstory .banner-wrap .text {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    padding-bottom: 8vw;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    pointer-events: none;
    transition: var(--transition-cs);
}

.main-brandstory .banner-wrap .text h5 {
    font-size: clamp(1.25rem, 0.3911rem + 1.3408vw, 2rem);
    font-weight: 400;
}

.main-brandstory .banner-wrap .text p {
    margin-top: 22px;
    font-size: clamp(0.875rem, 0.5887rem + 0.4469vw, 1.125rem);
}

.main-brandstory .banner-wrap .text a {
    margin-top: 33px;
    font-size: clamp(0.875rem, 0.5887rem + 0.4469vw, 1.125rem);
    text-decoration: underline;
}

@media (min-width: 1025px) {
    .main-brandstory .banner-wrap .banner:hover .text {
        background: rgba(0, 0, 0, 0.1);
    }
}

/* ✅ main-image-banner (구 section-banner-07) */
.main-image-banner {
   
}

.main-image-banner .banner-wrap .list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
}

.main-image-banner .banner-wrap .list li {
    overflow: hidden;
}

.main-image-banner .banner-wrap .list li:first-child {
    grid-area: span 2 / span 2;m 
}

.main-image-banner .banner-wrap .list li a {
    display: block;
    width: 100%;
    height: 100%;
}

.main-image-banner .banner-wrap .list li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-cs);
}

.main-image-banner .banner-wrap .list li img:hover {
    transform: scale(1.05);
}


/* ✅ main-product */
.main-product {
    margin-top: 70px;
}

.main-product .banner-wrap {
    display: flex;
    flex-flow: row nowrap;
    gap: 10px;
}

.main-product .banner-wrap .title {
    width: calc((100% - 150px) / 16);
    flex-shrink: 0;
}



/* ✅ main-library */
.main-library{margin-top: 70px;background: #000000;padding: 60px 0 30px;}
.main-library h3{/* font-size: clamp(1rem, -1.2905rem + 3.5754vw, 3rem) !important; */}


/* product 상세화면 */
.pr-content-wrap {display: flex;justify-content: space-between;align-items: flex-start;width: 100%;height: 100vh;;}
.pr-content-l {width: 50%;box-sizing: border-box;flex: 1;overflow: hidden;max-height: 100%;}
.pr-content-r {flex: 1;background: #fff;padding: 20px;overflow-y: auto;max-height: 100%;}
.product_tab{margin:20px 0 0 0;}
.p_tab{display: flex;gap: 12px;margin-bottom: 20px;}
.p_tab_menu a{color: #777777;font-size: 18px;font-weight: bold;border: 1px solid #777;padding: 8px 12px;}
.p_tab_menu.on a{font-weight: bold; color:#000;}

/* notice */
.notice-gallery-wrap{width: 100%;}
.notice-gallery{display:flex;gap: 20px;width: 100%;}
.notice-item{display:flex;flex-direction: column;flex: 1;}
.notice-img{}
.notice-img img{width: 100%;   max-width: 100%;    box-sizing: border-box;}
.notice-text{   padding: 1rem 0;    font-weight: bold;}
.notice-pop-wrap{   display: none;   position: fixed;    top: 0;    left: 0;    width: 100%;    height: 100%;    overflow-y: auto;    z-index: 30;    background: rgb(255 255 255 / 88%);}
.notice-pop{    width: 60%;    text-align: center;    margin: 0 auto;    padding: 3rem;}
.notice-pop .notice-img img{  max-width: 100%; height: auto;}
  
.titleArea{}

.padding-l {
    padding-left: var(--padding-lr) !important;
    box-sizing: border-box;
}
.text-banner {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  background: #000;
  color: #fff;
  font-size: 18px;
  padding: 10px 0;
}

.text-banner ul {
  display: flex;
  gap: 80px;
  animation: scrollLeft 15s linear infinite;
}

.text-banner li {
  list-style: none;
  flex-shrink: 0;
}

@keyframes scrollLeft {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ✅ 반응형 */
@media (max-width: 1024px) {
    .main-notice {
        margin-top: 46px;
    }
    .main-notice .banner-wrap {
        flex-flow: column;
        gap: 15px;
        /* padding-right: 10px; */
    }
    .main-notice .banner-wrap .title {
        width: 100%;
    }
	
    .main-notice .banner-wrap .title h3 {
        transform: none;
        font-size: 1.4rem !important;
        margin-bottom: 20px !important;
    }
    .main-notice .banner-wrap .banner02-swiper .swiper-slide {
        width: calc((100% - 10px) / 6 * 5 - 14px);
    }
    .main-notice .banner-wrap .banner02-swiper .swiper-slide .desc {
        margin-top: 16px;
        text-align: left;
    }
	.swiper-wrapper {
    position: relative;
    /* width: 50%; */
    display: flex;
    transition-property: transform;
    box-sizing: content-box;
    gap: 0px;
}
.swiper-slide {
    flex-shrink: 0;
    width: 80%;
    position: relative;
    transition-property: transform;
    display: block;
}
    .main-notice .banner-wrap .banner02-swiper .swiper-slide .desc .btn-more {
        padding: 0 20px;
        width: fit-content;
        height: 32px;
        color: var(--color-white);
    }
		.main-notice .banner-wrap .banner02-swiper .swiper-slide .desc .btn-more span {
    display: block;
}

    .main-brandstory {
        margin-top: 46px;
    }
    .main-brandstory .banner-wrap {
        grid-template-columns: 1fr;
    }
    .main-brandstory .banner-wrap .text p {
        width: 80%;
        margin-top: 8px;
    }
    .main-image-banner {
       
    }
    .main-image-banner .banner-wrap .list {
        grid-template-columns: repeat(2, 1fr);
    }
    .main-image-banner .banner-wrap .list li:first-child {
        grid-area: auto;
    }
      .main-notice .banner02-swiper {
    overflow: hidden;
  }
  .main-notice .banner02-swiper .swiper-wrapper {
    display: flex;
  }
  .main-notice .banner02-swiper .swiper-slide {
    width: 80%;
  }
  

 .pr-content-wrap {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    height: auto !important;
    overflow: visible !important;
  }

  .pr-content-l,
  .pr-content-r {
    width: 100% !important;
    position: static !important;
    height: auto !important;
    overflow: visible !important;
  }

.p_content{position:relative; padding:0px}

.banner-wrap .title h3 {
        transform: none;
        font-size: 1.4rem !important;
        margin-bottom: 20px !important;
    }

.main-image-banner .banner-wrap .list li:last-child {display:none;}
.main-product .banner-wrap {
    display: flex;
    flex-flow: row nowrap;
    gap: 10px;
    flex-direction: column;
    padding-right: 10px;
}
	
.main_product_list { display: grid;grid-template-columns: repeat(2, 1fr); /* 2열 */gap: 16px;}
.main_product_list .m_product_area {width: 100%;}

.main-library .swiper-container {overflow: hidden;}
.main-library .swiper-slide { width: 100% !important;}
}

/* ───────────────
   GAREET Archive Layout
   PC: 좌우 2단 sticky 스크롤형
   MOBILE: 단일 세로형
──────────────── */

ul.archive {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* 각 섹션(li) */
ul.archive > li {
    width: 100%;
    display: flex;
    position: sticky;
    top: 0;
    background: #fff;
    overflow: hidden;
}

/* 좌우 분할 영역 */
ul.archive > li > div {
    width: 50%;
    box-sizing: border-box;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s ease;
}

/* 짝수번째(li) → 이미지와 텍스트 순서 반전 */
ul.archive > li:nth-child(even) > div:first-child {
    order: 2;
}
ul.archive > li:nth-child(even) > div:last-child {
    order: 1;
}

/* 이미지 스타일 */
.archiveimg img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    display: block;
}

/* 설명 블록 */
.archivedesc {
    font-size: 15px;
    line-height: 1.6;
    padding: 40px 80px;
    text-align: center;
    color: #000;
}

.archivedesc .inner {
    max-width: 600px;
    margin: 0 auto;
}

.archivedesc .inner_title p:first-child {
    /* font-weight: bold; */
    font-size: 13px;
}

.archivedesc .inner_title p:last-child {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

.archivedesc .archive-name span {
    font-size: 24px;
    /* font-weight: bold; */
}

.archivedesc .info {
    font-size: 16px;
    margin-top: 10px;
}

/* hover시 살짝 강조 */
ul.archive > li:hover .archivedesc {
    color: #000;
    transform: translateY(-2px);
}

/* ───────────── 반응형 (Mobile ≤768px) ───────────── */
@media (max-width: 768px) {
	.padding-l {padding-left: 10px !important;}
	.main_product_list{display: flex;gap: 12px;flex-direction: row;}
	
    ul.archive > li {
        flex-direction: column;
        padding: 0 20px 30px 20px;
         width: 100%;
        top: 50px;
        background: #fff;
    }

    .archive li:nth-child(2) {
        margin-top: 0;
    }

    ul.archive > li > div {
        width: 100%;
        flex: none;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .archivedesc {
        display: block;
        padding: 30px 0;
        background: #fff;
        color: #000;
        font-size: 12px;
        line-height: 1.7;
        text-align: left;
    }

    .archivedesc .prd-name {
        margin-bottom: 10px;
    }

    .archivedesc .prd-name span {
        font-size: 15px !important;
        line-height: 1;
        font-weight: 500;
    }

    /* 순서 반전 처리 */
    ul.archive > li:nth-child(even) > div:first-child {
        order: 2;
    }
    ul.archive > li:nth-child(even) > div:last-child {
        order: 1;
    }
    ul.archive > li:nth-child(odd) > div:first-child {
        order: 2;
    }
    ul.archive > li:nth-child(odd) > div:last-child {
        order: 1;
    }

    ul.archive > li:last-child > div:last-child {
        padding-bottom: 0;
    }

    .archiveimg img {
        height: 100%;
        width: 100%;
        aspect-ratio: 1;
        object-fit: cover;
    }
}

/*라이브러리*/
 .swiper-container .swiper-slide {
            display: block;
        }
.certificate_table {
			width: 100%;
		}

		.certificate_table th {
			color: #222;
		}

		.certificate .certificate_box {
			border: none;
		}

		.certificate_table .certi_tit {
			border-top: none;
			border-bottom: none;
		}

		.fn_nick {
			font-family: 'Noto Sans KR';
			font-weight: 500;
			color: #c39659 !important;
		}

		.certificate_box .c_title {
			font-family: "Noto Sans KR";
			font-weight: 800;
			font-size: 2.4rem;
			line-height: 2.4rem;
			color: #373737;
		}

		.ce_number {
			font-size: 1.2rem;
		}

		.certificate_content {
			background-color: #f9f5f3;
			border-radius: 15px;
			padding: 20px 20px 30px 20px;
			margin-bottom: 20px;
		}

		.logo_symbol {
			margin-bottom: 64px;
			opacity: 0.75;
		}
