@charset "UTF-8";
html, body {
    overflow-x: hidden;
}

/* 기본 색상 */
:root {
    --main-color: #6e888e;
    --accent-color: #9d8aae;
    --dark-main-color: #3e6974;
    --text-bright-color: #fff;
    --icon-color: #fff;
    --icon-bk-color: #ddd;
    --gray-color: #ddd;
    --large-width: 1000px;
    --middle-width: 800px;
}

/* header 헤더 */
header{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    background-color: #fff;
}

.nohero header{
    position: static;
    border-bottom: solid 1px #ddd;
}

/* headerA 사이트 이름 */
.headA{
    display: inline-block;
    line-height: 60px; /* PC/Mobile 헤더 높이 일관성 위해 수정 */
    padding: 0 15px; /* 패딩 축소 */
    background-color: #fff;
    color: #434343;
    font-family: 'Libertinus Serif Display', serif;
    font-size: 20px; /* 폰트 사이즈 축소 */
    text-decoration: none;
}

/*headB 네비게이션 메뉴*/

.headB ul{
    margin: 0;
    padding: 0;
    list-style: none;
}
.headB a{
    display: block;
    padding: 12px; /* 패딩 축소 */
    color: inherit;
    font-size: 11px; /* 폰트 사이즈 축소 */
    text-decoration: none;
}
.headB a:hover{
    background-color: rgba(0,0,0,0.1);
}

/* headB 네비게이션 메뉴 - pc */
@media (min-width: 768px){
    header .container{
        display: flex;
        align-items: center;
        justify-content: space-between;
        max-width: 1000px;
        margin: 0 auto;
        height: 60px; /* PC 헤더 높이 조정 */
    }
    .headB ul{
        display: flex;
    }
}

/* headC 토글버튼 */
@media (max-width: 767px){
    /*모바일 설정*/
    header .container-small{
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: #ddd;
        height: 60px; /* Mobile 헤더 높이 조정 */
    }
    .headC{
        margin-right: 10px;
        padding: 0;
        border: none;
        outline: none;
        background: none;
        font-size: 24px; /* 폰트 사이즈 축소 */
        opacity: 0.5;
        cursor: pointer;
    }
    .headC :hover{
        opacity: 0.3;
    }
    .headB{
        display: none;
    }
}

/*PC 설정*/
@media (min-width: 768px){
    .headC{
        display: none;
    }
    .headB{
        display: block !important;
    }
}



/* 기본 설정: 폰트 크기 - 전체적으로 축소 */
@media (max-width: 599px) {
    :root {
        font-size: 13px; /* 축소 */
    }
}

@media (min-width: 600px) and (max-width: 799px) {
    :root {
        font-size: 14px; /* 축소 */
    }
}

@media (min-width: 800px) {
    :root {
        font-size: 16px; /* 축소 */
    }
}

body {
    font-size: 14px; /* 기본 body 폰트 축소 */
    margin: 0;
    font-family: '맑은 고딕','Apple SD Gothic Neo','sans-serif';
}


/* 콘텐츠A: main-banner-image 히어로 이미지(Mobile)*/
.conA {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90vh; /* 높이 약간 축소 */
    min-height: 400px; /* 최소 높이 축소 */
    background-image: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.1)),url(img/main_img.jpg);
    background-position: center;
    background-size: cover;
}

.conA.compact {
    height: 400px; /* 높이 축소 */
    min-height: 0;
    background-image: linear-gradient(rgba(0,0,0,0.4),rgba(0,0,0,0.1)),url(img/coffee.jpg);
}

.conA img{
    width: 280px; /* 이미지 크기 축소 */
    margin-bottom: 10px; /* 마진 축소 */
}


/* Mobile size -콘텐츠A: main-banner-image(PC)*/
@media (max-width: 768px) {

    .conA {
        height: 50vh; /* 높이 약간 축소 */
        min-height: 280px; /* 최소 높이 축소 */
        background-attachment: scroll;
        background-size: cover;
        background-position: top center;
    }
    .conA img {
        width: 140px; /* 이미지 크기 축소 */
    }
    .conA p {
        font-size: 13px; /* 폰트 사이즈 축소 */
    }

}

/* Mobile - 콘텐츠B: 개요(icon+text) */
.conB .container {
    padding-top: 60px; /* 패딩 축소 */
    padding-bottom: 20px;
}

.conB .text {
    padding-left: 15px; /* 패딩 축소 */
    padding-right: 15px; /* 패딩 축소 */
    padding-bottom: 40px; /* 패딩 축소 */
    text-align: center;
}

.conB h2 {
    margin-top: 0;
    margin-bottom: 8px; /* 마진 축소 */
    font-size: 16px; /* 폰트 사이즈 유지/축소 */
    font-family: 'Old Standard TT',serif;
    letter-spacing: 0.1em;
}

.conB p {
    margin-top: 0;
    margin-bottom: 15px; /* 마진 축소 */
    font-size: 13px; /* 폰트 사이즈 축소 */
    line-height: 1.7; /* 줄 간격 축소 */
    opacity: 0.8;
}

.conB a {
    color: #666;
    text-decoration: none;
}

.conB a:hover {
    text-decoration: underline;
}

.conB .icon {
    width: 40%; /* 아이콘 크기 축소 */
    max-width: 100px;
    color: #787878;
    margin-bottom: 10px; /* 마진 축소 */
    transform: scale(0.9);
    transition: 0.3s;
}

.conB .icon:hover {
    transform: scale(1.1); /* 호버 스케일 축소 */
    color: #B81574;
}

/* PC - 콘텐츠B:개요(icon+text) [width=768px] 기준 */
@media (min-width: 768px) {
    .conB .container{
        display: flex;
        max-width: 1000px;
        max-width: var(--large-width);
        margin-left: auto;
        margin-right: auto;
    }
    .conB .text {
        flex: 1;
    }
}

/* Mobile - 콘텐츠C: 개요(icon+text) */
.conC {
    background: url(img/conC_bg.jpg);
    background-attachment: fixed;
    min-height: 400px; /* 최소 높이 축소 */
    color: #fff;
    color: var(--text-bright-color);
    background-size: cover;
}

.conC .text {
    padding: 15px; /* 패딩 축소 */
}

.conC h2 {
    margin-top: 0;
    margin-bottom: 8px; /* 마진 축소 */
    font-size: 20px; /* 폰트 사이즈 축소 */
    font-family: 'Old Standard TT',serif;
    line-height: 1.8; /* 줄 간격 축소 */
}

.conC p {
    margin-top: 0;
    margin-bottom: 15px; /* 마진 축소 */
    font-size: 13px; /* 폰트 사이즈 축소 */
    line-height: 1.7; /* 줄 간격 축소 */
    opacity: 0.8;
}

.conC a {
    display: inline-block;
    margin-top: 15px; /* 마진 축소 */
    padding: 8px 25px; /* 패딩 축소 */
    border: solid 1.5px currentColor;
    border-radius: 6px;
    color: #fff;
    font-size: 13px; /* 폰트 사이즈 축소 */
    text-decoration: none;
}

.conC a:hover {
    background-image: linear-gradient(rgba(255,255,255,0.2),rgba(255,255,255,0.2));
}

.conC .photo {  
    position: center;
    padding: 40px; /* 패딩 축소 */
}

/* pc - 콘텐츠C: 개요(icon+text) */ 
@media (min-width:768px){
    .conC .container{ 
        display: flex;
        max-width: 1000px;
        max-width: var(--large-width);
        margin-left: auto;
        margin-right: auto;
    }
    .conC .photo{  
        flex: 3;
        padding-top: 80px; /* 패딩 축소 */
    }

    .conC .text{ 
        flex: 2;
        padding: 80px 0; /* 패딩 축소 */
    }
}


/* Mobile - 콘텐츠D: 개요(icon+text) */
.conD{
    background-color: #f3f3f3;
}


.conD .container{
    padding-top: 2px;
}

.conD h2 {
    color: #363636;
    margin-top: 0;
    margin-bottom: 8px; /* 마진 축소 */
    font-size: 20px; /* 폰트 사이즈 축소 */
    font-family: 'Libertinus Serif Display', serif;
}

.conD .text {
    color: #363636;
    padding: 15px; /* 패딩 축소 */
}

.conD p {
    margin-top: 0;
    margin-bottom: 15px; /* 마진 축소 */
    font-size: 13px; /* 폰트 사이즈 축소 */
    line-height: 1.7; /* 줄 간격 축소 */
    opacity: 0.8;
}

.conD a {
    display: inline-block;
    margin-top: 15px; /* 마진 축소 */
    padding: 8px 25px; /* 패딩 축소 */
    border: solid 1.5px currentColor;
    border-radius: 6px;
    color: #a31d6b;
    font-size: 13px; /* 폰트 사이즈 축소 */
    text-decoration: none;
}

.conD a:hover {
    background-image: linear-gradient(rgba(163, 29, 107,0.1),rgba(163, 29, 107,0.1));
}

.conD .photo {  
    min-height: 180px; /* 최소 높이 축소 */
    background-image: url(img/h.jpg);
    background-position: center;
    background-size: cover;
}

/* pc - 콘텐츠D: 개요(icon+text) */

@media (min-width: 768px){
    .conD .container{
        display: flex;
        flex-direction: row-reverse;
        max-width: 1000px;
        max-width: var(--large-width);
        margin-left: auto;
        margin-right: auto;
        padding-top: 30px; /* 패딩 축소 */
        padding-bottom: 30px; /* 패딩 축소 */
    }

    .conD .photo{ 
        flex: 0 0 350px; /* 이미지 크기 축소 */
    }

    .conD .text{
        flex: 1;
        padding: 40px; /* 패딩 축소 */
    }
}

/* conE : 비디오 */
.conE{
    background-color: var(--main-color);
    color: var(--text-bright-color);
}

.conE video{
    width: 100%;
    position: center;
}

/*pc conE [width-768px] 기준으로 */
@media (min-width:768px){
    .conE .container{
        display: block;
        width: 100px;
        margin-left: auto;
        margin-right: auto;
    }
}

/*conF - M*/
.conF {
    width: 100%;
    background: #f3f3f3;
    padding: 40px 0; /* 패딩 축소 */
}



.conF .title {
    margin: 0 auto 15px auto; /* 마진 축소 */
    display: flex;
    text-align: center;
    justify-content: center;
    letter-spacing: .2rem;
}


.conF .container {
    width: 90%; /* 너비 확대 */
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px; /* 간격 축소 */
}

.conF .photo {
    width: 100%;
    height: 400px; /* 이미지 높이 축소 */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.conF img {
    width: 100%
}

.conF .text {
    padding: 20px; /* 패딩 축소 */
    min-height: 200px; /* 최소 높이 축소 */
    display: flex;
    flex-direction: column;
    grid-column: 3;
}

.conF h2{
    font-family: 'Old Standard TT',serif;
    font-size: 18px; /* 폰트 사이즈 축소 */
}

.conF .text h3 {
    margin-top: 0;
    margin-bottom: 10px; /* 마진 축소 */
    font-size: 16px; /* 폰트 사이즈 축소 */
}

.conF .text p {
    line-height: 1.6;
    margin-bottom: 15px; /* 마진 축소 */
    font-size: 13px; /* 폰트 사이즈 축소 */
}

.conF a {
    color: #666;
    text-decoration: none;
}

.conF a:hover {
    color: #232323;
    text-decoration: underline;
}

.conF .hover-img {
    position: relative;
    overflow: hidden;
}

.conF .hover-img img {
    width: 100%;
    display: block;
}

.conF .hover-img .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px; /* 폰트 사이즈 축소 */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.conF .hover-img:hover .overlay {
    opacity: 1;
}

/*conF - pc*/
@media (max-width: 1023px) {
    .conF .container {
        display: flex;
        flex-direction: column;
        gap: 15px; /* 간격 축소 */
    }

    .conF .photo {
        height: auto;
    }

    .conF .photo img {
        width: 100%;
        height: auto;
    }

    .conF .text-wrapper {
        width: 100%;
        margin-top: 5px; /* 마진 축소 */
        padding: 15px 10px; /* 패딩 축소 */
    }

    .conf .overlay-text {
        font-size: 13px; /* 폰트 사이즈 축소 */
    }
}

/*conG - M */
.conG{
    width: 100%;
    padding: 15px 0; /* 패딩 축소 */
    background-image: url("img/conC_bg.jpg");
    background-attachment: fixed;
    background-position: center;
}

.conG .text{
    padding: 60px 200px; /* 패딩 축소 */
    text-align: center;
    line-height: 20px; /* 줄 간격 축소 */
    font-size: 16px; /* 폰트 사이즈 축소 */
    color: #ffffff;
}

.conG p{
    font-family: 'Old Standard TT',serif;
    font-style: italic;
    line-height: 1.7; /* 줄 간격 축소 */
}

/*conG - pc */
@media (max-width: 1023px) {
    .conG {
      height: auto;     
      padding: 30px 15px; /* 패딩 축소 */
      background-attachment: scroll; 
    }
  
    .conG .text {
      padding: 30px 15px; /* 패딩 축소 */
      text-align: center;
      font-size: 14px; /* 폰트 사이즈 축소 */
      line-height: 1.6;
    }
  
    .conG h3 {
      font-size: 18px; /* 폰트 사이즈 축소 */
      margin-bottom: 8px; /* 마진 축소 */
    }
  }
  
  @media (max-width: 600px) {
    .conG {
      padding: 20px 10px; /* 패딩 축소 */
    }
  
    .conG .text {
      padding: 15px 8px; /* 패딩 축소 */
      font-size: 13px; /* 폰트 사이즈 축소 */
      align-items: center;
    }
  
    .conG h3 {
      font-size: 14px; /* 폰트 사이즈 축소 */
    }
  }

/*conH - m */
.conH {
    width: 100%;
    padding: 60px 0; /* 패딩 축소 */
}

.conH .container {
    width: 90%;
    max-width: 1000px; /* 최대 너비 축소 */
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 30px; /* 간격 축소 */
}

.conH .img img {
    width: 100%;
    max-width: 500px; /* 이미지 최대 너비 축소 */
    height: auto;
    display: block;
    object-fit: cover;
}

.conH .text {
    color: #363636;
    flex: 1;  
}

.conH .text h3 {
    font-size: 22px; /* 폰트 사이즈 축소 */
    font-family: 'Libertinus Serif Display', serif;
    line-height: 1.7; /* 줄 간격 축소 */
}

.conH .text p {
    line-height: 1.6; /* 줄 간격 축소 */
    font-size: 13px; /* 폰트 사이즈 축소 */
}


.conH p {
    line-height: 1.6;
}

/*conH - pc */
@media (max-width: 768px) {
    .conH .container {
      flex-direction: column;
      padding: 0 15px; /* 패딩 축소 */
    }
  
    .conH .photo{
        flex: none;
        width: 100%;
    }
    
    .conH .text {
      flex: none;
      width: 100%;
    }
  
    .conH .text {
      padding-top: 8px; /* 패딩 축소 */
    }
  
    .conH .text h3 {
      font-size: 18px; /* 폰트 사이즈 축소 */
    }
  
    .conH .text p {
      font-size: 13px; /* 폰트 사이즈 축소 */
      line-height: 1.5; /* 줄 간격 축소 */
    }
  }

/*conJ - M*/
.conJ .text {
    flex: 1;
}

.conJ .text h3 {
    font-size: 20px; /* 폰트 사이즈 축소 */
    margin-bottom: 12px; /* 마진 축소 */
}

.conJ .right {
    width: 90%;
    max-width: 1000px; /* 최대 너비 축소 */
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px; /* 간격 축소 */
}

.conJ .right .img img {
    width: 100%;
    max-width: 500px; /* 이미지 최대 너비 축소 */
    display: block;
}

.conJ .left {
    width: 90%;
    max-width: 1000px; /* 최대 너비 축소 */
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px; /* 간격 축소 */
    flex-direction: row-reverse;
}

.conJ .left .img img {
    width: 100%;
    max-width: 500px; /* 이미지 최대 너비 축소 */
    display: block;
    object-fit: cover;
}

.conJ .text p {
    font-size: 13px; /* 폰트 사이즈 축소 */
    line-height: 1.6; /* 줄 간격 축소 */
}

.conJ .quoteBox {
    text-align: center;
    padding: 80px 15px; /* 패딩 축소 */
}

.conJ .quoteText {
    font-size: 18px; /* 폰트 사이즈 축소 */
    font-style: italic;
    line-height: 1.6;
    display: inline-block;
    white-space: pre-line;
    border-right: 2px solid rgba(255,255,255,0.6); 
    padding-right: 4px; /* 패딩 축소 */
    animation: blink 0.8s infinite;
}

@keyframes blink {
    0% { border-color: rgba(255,255,255,0.6); }
    50% { border-color: transparent; }
    100% { border-color: rgba(255,255,255,0.6); }
}

/*conJ - pc */
@media (max-width: 768px) {

.conJ {
    padding: 0 0 8px; /* 패딩 축소 */
}

.conJ .right {
    flex-direction: column;
    text-align: center;
    gap: 20px; /* 간격 축소 */
    margin: 15px auto; /* 마진 축소 */
}


.conJ .left {
    flex-direction: column;
    text-align: center;
    gap: 20px; /* 간격 축소 */
    margin: 15px auto; /* 마진 축소 */
}

.conJ .text {
    margin-top: 8px; /* 마진 축소 */
}

    .conJ .center {
    margin: 60px auto; /* 마진 축소 */
    }
}

/* conK */
   .conK {
    width: 100%;
    padding: 100px 20px; /* 패딩 축소 */
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
}

.conK .quoteText {
    display: inline-block;
    max-width: 800px; /* 최대 너비 축소 */
    font-size: 28px; /* 폰트 사이즈 축소 */
    font-style: italic;
    text-align: center;
    white-space: pre-wrap;
    line-height: 1.7; /* 줄 간격 축소 */
    letter-spacing: .1rem;
    padding-right: 6px; /* 패딩 축소 */
    font-family: 'Pinyon Script', serif;
    color: #a31d6b;
    ;
}


/*conK - M*/
@media (max-width: 768px) {
    .conK {
        padding: 60px 15px; /* 패딩 축소 */
    }
    .conK .quoteText {
        font-size: 16px; /* 폰트 사이즈 축소 */
    }
}

/*conL*/
.conL {
    width: 100%;
    overflow: hidden;
    padding: 60px 0 40px; /* 패딩 축소 */
    background: #fff;
    position: relative;
}

.conL h2 {
    text-align: center;
    font-size: 26px; /* 폰트 사이즈 축소 */
    letter-spacing: .2rem;
    margin-bottom: 40px; /* 마진 축소 */
    font-family: 'Libertinus Serif Display', serif;
}

.conL .scrollTrack {
    display: flex;
    align-items: center;
    gap: 15px; /* 간격 축소 */
    width: max-content;
    animation: conLscroll 30s linear infinite;
}

.conL .scrollTrack img {
    height: 400px; /* 이미지 높이 축소 */
    width: auto;
    object-fit: cover;
    flex-shrink: 0;
}

@keyframes conLscroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-30%);
    }
}

/*conL - M*/
@media (max-width: 768px) {
    .conL-title {
        font-size: 18px; /* 폰트 사이즈 축소 */
        margin-bottom: 20px; /* 마진 축소 */
    }

    .scrollContent img {
        height: 200px; /* 이미지 높이 축소 */
        gap: 10px; /* 간격 축소 */
    }
}



/*conM - pc*/
.conM {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 0;
}

.conM .title{
    text-align: center;
    font-size: 30px;
    margin-bottom: 60px;
    font-family: 'Libertinus Serif Display', serif;
    letter-spacing: .2rem;
}

.conM .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 0;
}

.conM .row.reverse {
    flex-direction: row-reverse;
}

.conM .row.reverse .textbox {
    direction: ltr;
}

.conM .imgbox {
    flex: 1;
    height: 420px;
    overflow: hidden;
}

.conM .imgbox img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.conM .textbox {
    flex: 1;
    padding: 30px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.conM .textbox h3 {
    font-size: 20px;
}

.conM .textbox p {
    line-height: 1.6;
    color: #555;
}
/*conM - m*/

@media (max-width: 768px) {
    .conM .title {
        font-size: 24px;
        margin-bottom: 40px;
    }
    .conM .imgbox {
        height: 200px;
    }
    .conM .textbox {
        padding: 30px 10px;
    }
    .conM .textbox h3 {
        font-size: 14px;
    }
    .conM .textbox p {
        font-size: 12px;
    }
}

/*conN - pc*/
.conN {
    width: 100%;
    height: 300px; /* 높이 축소 */
    background: #c4c4c4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
    background-image: url(img/conC_bg.jpg);
    
}

.conN h2 {
    font-size: 24px; /* 폰트 사이즈 축소 */
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px; /* 마진 축소 */
    font-family: 'Libertinus Serif Display', serif;
}

.conN p{
    font-size: 15px; /* 폰트 사이즈 축소 */
    line-height: 1.6; /* 줄 간격 축소 */
    color: #fff;
}

.conN a {
    max-width: 180px; /* 너비 축소 */
    display: inline-block;
    margin-top: 15px; /* 마진 축소 */
    padding: 8px 18px; /* 패딩 축소 */
    border: solid 1.5px currentColor;
    border-radius: 5px;
    color: #fff;
    font-size: 13px; /* 폰트 사이즈 축소 */
    text-decoration: none;
}

.conN a:hover {
    background-image: linear-gradient(rgba(255,255,255,0.2),rgba(255,255,255,0.2));
}

/*conN - M*/
@media (max-width: 768px) {
    .conN {
        height: auto;
        padding: 40px 15px; /* 패딩 축소 */
    }

    .conN h2 {
        font-size: 20px; /* 폰트 사이즈 축소 */
    }

    .conN p {
        font-size: 14px; /* 폰트 사이즈 축소 */
        max-width: 480px;
    }

    .conN a {
        margin-top: 12px; /* 마진 축소 */
        padding: 6px 14px; /* 패딩 축소 */
        font-size: 12px; /* 폰트 사이즈 축소 */
    }
}

/*rm - pc*/
.rm {
    width: 100%;
    height: 300px; /* 높이 축소 */
    background: #c4c4c4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
    background-image: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)),url(img/runwaymonet.jpg);
    background-attachment: fixed;
    
}

.rm h2 {
    font-size: 24px; /* 폰트 사이즈 축소 */
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px; /* 마진 축소 */
    font-family: 'Libertinus Serif Display', serif;
}

.rm p{
    font-size: 15px; /* 폰트 사이즈 축소 */
    line-height: 1.6; /* 줄 간격 축소 */
    color: #fff;
}

.rm a {
    max-width: 180px; /* 너비 축소 */
    display: inline-block;
    margin-top: 15px; /* 마진 축소 */
    padding: 8px 18px; /* 패딩 축소 */
    border: solid 1.5px currentColor;
    border-radius: 5px;
    color: #fff;
    font-size: 13px; /* 폰트 사이즈 축소 */
    text-decoration: none;
}

.rm a:hover {
    background-image: linear-gradient(rgba(255,255,255,0.2),rgba(255,255,255,0.2));
}

/*rm - M*/
@media (max-width: 768px) {
    .rm {
        width: 100%;
        height: auto;
        padding: 40px 15px; /* 패딩 축소 */
        background-position: center;
    }

    .rm h2 {
        font-size: 20px; /* 폰트 사이즈 축소 */
    }

    .rm p {
        font-size: 14px; /* 폰트 사이즈 축소 */
        max-width: 480px;
    }

    .rm a {
        margin-top: 12px; /* 마진 축소 */
        padding: 6px 14px; /* 패딩 축소 */
        font-size: 12px; /* 폰트 사이즈 축소 */
    }
}

/*camp1 - pc*/
.camp1 {
    width: 100%;
    height: 300px; /* 높이 축소 */
    background: #c4c4c4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
    background-image: url(img/camp.jpg);
    background-attachment: fixed;
    
}


.camp1 p{
    font-size: 18px; /* 폰트 사이즈 축소 */
    line-height: 1.6; /* 줄 간격 축소 */
    color: #fff;
}

.camp1 a {
    max-width: 180px; /* 너비 축소 */
    display: inline-block;
    margin-top: 15px; /* 마진 축소 */
    padding: 8px 18px; /* 패딩 축소 */
    border: solid 1.5px currentColor;
    border-radius: 5px;
    color: #fff;
    font-size: 13px; /* 폰트 사이즈 축소 */
    text-decoration: none;
}

.camp1 a:hover {
    background-image: linear-gradient(rgba(255,255,255,0.2),rgba(255,255,255,0.2));
}

/*camp1 - M*/
@media (max-width: 768px) {
    .camp1 {
        height: auto;
        padding: 40px 15px; /* 패딩 축소 */
    }

    .camp1 h2 {
        font-size: 20px; /* 폰트 사이즈 축소 */
    }

    .camp1 p {
        font-size: 14px; /* 폰트 사이즈 축소 */
        max-width: 480px;
    }

    .camp1 a {
        margin-top: 12px; /* 마진 축소 */
        padding: 6px 14px; /* 패딩 축소 */
        font-size: 12px; /* 폰트 사이즈 축소 */
    }
}

/*arh1 - pc*/
.arh1 {
    padding: 20px; /* 패딩 축소 */
}

.arh1 .maintitle {
    font-size: 26px; /* 폰트 사이즈 축소 */
    margin-bottom: 15px; /* 마진 축소 */
    font-family: 'Libertinus Serif Display', serif;
    line-height: 1.6; /* 줄 간격 축소 */
    text-align: center;
}

.arh1 .grid-layout {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px; /* 간격 축소 */
}

.arh1 .big-box {
    width: 100%;
    grid-column: span 6;
    height: 320px; /* 이미지 높이 축소 */
    position: relative;
    overflow: hidden;
    cursor: pointer;

    opacity: 0;
    transform: translateY(30px); /* 이동 거리 축소 */
    transition: 0.8s ease; /* 전환 시간 축소 */
}

.arh1 .small-box {
    grid-column: span 4;
    height: 200px; /* 이미지 높이 축소 */
    position: relative;
    overflow: hidden;
    cursor: pointer;

    opacity: 0;
    transform: translateY(30px); /* 이동 거리 축소 */
    transition: 0.8s ease; /* 전환 시간 축소 */
}


.arh1 .big-box.show,
.arh1 .small-box.show {
    opacity: 1;
    transform: translateY(0);
}

.arh1 .grid-layout img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease, filter .5s ease; /* 전환 시간 축소 */
}

.arh1 .big-box:hover img,
.arh1 .small-box:hover img {
    transform: scale(1.05); /* 확대율 축소 */
    filter: brightness(0.75);
}


.arh1 .big-box::after,
.arh1 .small-box::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    transition: background .5s ease; /* 전환 시간 축소 */
}

.arh1 .big-box:hover::after,
.arh1 .small-box:hover::after {
    background: rgba(0,0,0,0.25);
}

.overlay-text {
    position: absolute;
    bottom: 15px; /* 위치 조정 */
    left: 50%;

    transform: translate(-50%, 15px); /* 이동 거리 축소 */
    opacity: 0;

    color: #fff;
    font-size: 16px; /* 폰트 사이즈 축소 */
    font-family: 'Libertinus Serif Display', serif;
    text-align: center;

    transition: .5s ease; /* 전환 시간 축소 */
    pointer-events: none;
}

.big-box:hover .overlay-text,
.small-box:hover .overlay-text {
    transform: translate(-50%, 0);
    opacity: 1;
}


/*arh1 - m */

@media (max-width: 768px) {
    .arh1 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* big-box : 1열 */
    .arh1 .big-box {
        grid-column: span 12;
        height: 250px; /* 이미지 높이 축소 */
    }

    /* small-box : 1열 */
    .arh1 .small-box {
        grid-column: span 12;
        height: 180px; /* 이미지 높이 축소 */
    }
    
    .overlay-text {
        font-size: 14px; /* 폰트 사이즈 축소 */
    }
}

/*arh2 - pc*/
.arh2 {
    display: flex;
    justify-content: center;
    background-color: #EFEAEA;
    padding: 30px 0; /* 패딩 축소 */
    align-items: center;
    gap: 30px; /* 간격 축소 */
}

.arh2-inner {
    width: 90%;
    max-width: 1000px; /* 최대 너비 축소 */
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px; /* 간격 축소 */
}


.arh2 .img {
    flex: 1 1 50%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.arh2 .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.arh2 .text .title {
    font-size: 20px; /* 폰트 사이즈 축소 */
    margin-bottom: 10px; /* 마진 축소 */
    font-weight: 600;
}

.arh2 .text .line {
    width: 100%;
    height: 1px;
    background: rgb(194, 192, 192);
    margin-bottom: 20px; /* 마진 축소 */
}

.arh2 .text p {
    font-size: 13px; /* 폰트 사이즈 축소 */
    line-height: 1.7; /* 줄 간격 축소 */
    color: #333;
}


/*arh2 - m*/
@media (max-width: 768px) {

    .arh2 {
        width: 100%;
        padding: 30px 0; /* 패딩 축소 */
        background: #e4e4e4;
    }

    .arh2-inner {
        display: block;
        width: 90%;
        max-width: 900px;
        margin: 0 auto;
    }

    .arh2-inner .img {
        width: 100%;
        margin-bottom: 20px; /* 마진 축소 */
    }

    .arh2-inner .img img {
        flex: 1 1 50%;
        aspect-ratio: 3 / 2;
        object-fit: cover;
    }

    .arh2-inner .text {
        width: 100%;
        padding-left: 0;
    }

    .arh2-inner .title {
        font-size: 18px; /* 폰트 사이즈 축소 */
        margin-bottom: 8px; /* 마진 축소 */
    }

    .arh2-inner .line {
        width: 100%;
        height: 1px;
        background: #c9c9c9;
        margin-bottom: 15px; /* 마진 축소 */
    }

    .arh2-inner p {
        font-size: 13px; /* 폰트 사이즈 축소 */
        line-height: 1.6; /* 줄 간격 축소 */
    }
}

/*arh3 - pc*/
.arh3 {
    width: 100%;
    height: 300px; /* 높이 축소 */
    background: #c4c4c4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
    background-image: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)),url(img/arh3.jpg);
    background-attachment: fixed;
}

.arh3 h2 {
    font-size: 24px; /* 폰트 사이즈 축소 */
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px; /* 마진 축소 */
    font-family: 'Libertinus Serif Display', serif;
}

.arh3 p{
    font-size: 15px; /* 폰트 사이즈 축소 */
    line-height: 1.6; /* 줄 간격 축소 */
    color: #fff;
}

.arh3 a {
    max-width: 180px; /* 너비 축소 */
    display: inline-block;
    margin-top: 15px; /* 마진 축소 */
    padding: 8px 18px; /* 패딩 축소 */
    border: solid 1.5px currentColor;
    border-radius: 5px;
    color: #fff;
    font-size: 13px; /* 폰트 사이즈 축소 */
    text-decoration: none;
}

.arh3 a:hover {
    background-image: linear-gradient(rgba(255,255,255,0.2),rgba(255,255,255,0.2));
}

/*arh3 - M*/
@media (max-width: 768px) {
    .arh3 {
        height: auto;
        padding: 40px 15px; /* 패딩 축소 */
    }

    .arh3 h2 {
        font-size: 20px; /* 폰트 사이즈 축소 */
    }

    .arh3 p {
        font-size: 14px; /* 폰트 사이즈 축소 */
        max-width: 480px;
    }

    .arh3 a {
        margin-top: 12px; /* 마진 축소 */
        padding: 6px 14px; /* 패딩 축소 */
        font-size: 12px; /* 폰트 사이즈 축소 */
    }
}

/*campaign - pc*/
.campaign {
    width: 100%;
    max-width: 1000px; /* 최대 너비 축소 */
    margin: 0 auto;
    padding: 60px 20px; /* 패딩 축소 */
    text-align: center;
    opacity: 0;
    transform: translateY(30px); /* 이동 거리 축소 */
    transition: opacity 0.7s ease, transform 0.7s ease; /* 전환 시간 축소 */
}

.campaign.revealed {
    opacity: 1;
    transform: translateY(0);
}

.campaign .title {
    font-size: 20px; /* 폰트 사이즈 축소 */
    font-weight: 600;
    margin-bottom: 20px; /* 마진 축소 */
    font-family: 'Libertinus Serif Display', serif;
}

.campaign p {
    font-size: 16px; /* 폰트 사이즈 축소 */
    line-height: 1.6;
    max-width: 600px; /* 최대 너비 축소 */
    margin: 0 auto 30px; /* 마진 축소 */
}

.campaign .grid {
    display: flex;
    justify-content: space-between;
    gap: 20px; /* 간격 축소 */
}

.campaign .container {
    width: 33.33%;
    text-align: center;
}

.campaign .img {
    width: 100%;
    height: 220px; /* 이미지 높이 축소 */
    border-radius: 4px;
    margin-bottom: 15px; /* 마진 축소 */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.campaign .img img{
    width: 100%;
    height: 100%;
    object-fit: contain;   /* 이미지 전체 보이게 */
}


.campaign .text {
    font-size: 13px; /* 폰트 사이즈 축소 */
    line-height: 1.5;
    text-align: center;
}



/*campaign - m*/
@media (max-width: 768px) {

    .campaign {
        padding: 20px 10px; /* 패딩 축소 */
    }

    .campaign .grid {
        display: flex; /* flex 유지 */
        flex-direction: column; /* 모바일에서 세로로 정렬 */
        gap: 15px; /* 간격 축소 */
    }
    
    .campaign .container {
        width: 100%; /* 모바일에서 전체 너비 사용 */
    }

    .campaign .img {
        height: 180px; /* 이미지 높이 축소 */
    }

    .campaign .text {
        font-size: 12px; /* 폰트 사이즈 축소 */
    }
}


/*conslider - pc*/
.conslider {
    width: 100%;
    padding: 60px 0; /* 패딩 축소 */
    position: relative;
}

.conslider h2{
    text-align: center;
    font-size: 22px; /* 폰트 사이즈 축소 */
    font-family: 'Libertinus Serif Display', serif;
}

.conslider .slider {
    overflow: hidden;
    width: 100%;
    position: relative;
    z-index: 1;
}

.conslider .slide-track {
    display: flex;
    gap: 15px; /* 간격 축소 */
    transition: transform 0.3s ease; /* 전환 시간 축소 */
    z-index: 1;
}

.conslider .slide {
    flex: 0 0 auto;
    width: 250px; /* 너비 축소 */
    height: 400px; /* 높이 축소 */
    background: #ddd;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.conslider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    position: relative;
}

.conslider .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px; /* 크기 축소 */
    height: 30px; /* 크기 축소 */
    border-radius: 50%;
    border: none;
    background: #fff;
    font-size: 16px; /* 폰트 사이즈 축소 */
    cursor: pointer;

    z-index: 9999; 
    pointer-events: auto;
}

.conslider .prev { left: 5px; } /* 위치 조정 */
.conslider .next { right: 5px; } /* 위치 조정 */


/*bh - pc*/
.bh {
    height: 150px; /* 높이 축소 */
    background-image: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)),url(img/bh.jpg);
    background-attachment: fixed;
    position: relative;
    padding: 60px; /* 패딩 축소 */
    color: #fff;
    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.bh h2{
    margin-bottom: 4px; /* 마진 축소 */
    font-size: 22px; /* 폰트 사이즈 축소 */
    font-family: 'Libertinus Serif Display', serif;
    letter-spacing: .1rem; /* 간격 축소 */
}

.bh p{
    margin-bottom: 8px; /* 마진 축소 */
    letter-spacing: .1rem; /* 간격 축소 */
    line-height: 1.4rem; /* 줄 간격 축소 */
    font-size: 14px; /* 폰트 사이즈 축소 */
}

.brand1 h2{
    margin-bottom: 20px; /* 마진 축소 */
    font-size: 22px; /* 폰트 사이즈 축소 */
    font-family: 'Libertinus Serif Display', serif;
    letter-spacing: .1rem; /* 간격 축소 */
}

/* reveal 애니메이션 */
.reveal-text h2,
.reveal-text p {
    opacity: 0;
    transform: translateY(30px); /* 이동 거리 축소 */
    transition: 0.8s ease; /* 전환 시간 축소 */
}

.reveal-text.active h2,
.reveal-text.active p {
    opacity: 1;
    transform: translateY(0);
}

.reveal-text.active p {
    transition-delay: 0.15s; /* 딜레이 축소 */
}



/*bh - M*/
@media (max-width: 768px) {

    /* bh 전체 레이아웃 */
    .bh {
        padding: 80px 15px; /* 패딩 축소 */
        background-size: cover; /* 배경 크기 조정 */
    }

    .bh h2 {
        font-size: 18px;    /* 제목 크기 축소 */
        margin-bottom: 8px;
    }

    .bh p {
        font-size: 13px;    /* 본문 크기 축소 */
        line-height: 1.5;
    }

    /* reveal-text 모바일 애니메이션 */
    .reveal-text h2,
    .reveal-text p {
        opacity: 0;
        transform: translateY(20px);  /* 모바일은 이동 거리 축소 */
        transition: 0.7s ease;
    }

    .reveal-text.active h2,
    .reveal-text.active p {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-text.active p {
        transition-delay: 0.1s; /* 딜레이 조금 줄임 */
    }
}

/*brand - pc*/
/* ----- 기본 구조 ----- */
.brand1 {
    width: 100%;
    padding: 60px 0; /* 패딩 축소 */
    text-align: center;
}

.brand1 .title {
    font-size: 22px; /* 폰트 사이즈 축소 */
    font-weight: 600;
    margin-bottom: 30px; /* 마진 축소 */
}

/* ----- 정사각형 그리드 ----- */
.grid-wrap {
    display: flex;
    justify-content: center;
    gap: 20px; /* 간격 축소 */
}


.grid-wrap .img {
    position: relative;
    width: 350px; /* 너비 축소 */
    aspect-ratio: 1/1;
    overflow: hidden;
    cursor: pointer;
}

.grid-wrap .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s ease; /* 전환 시간 축소 */
}

/* ----- 오버레이 ----- */
.grid-wrap .img .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.3s ease; /* 전환 시간 축소 */
}

.grid-wrap .img .overlay p {
    color: #fff;
    font-size: 18px; /* 폰트 사이즈 축소 */
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px); /* 이동 거리 축소 */
    transition: 0.3s ease; /* 전환 시간 축소 */
}

.grid-wrap .img:hover img {
    transform: scale(1.03); /* 확대율 축소 */
}

.grid-wrap .img:hover .overlay {
    opacity: 1;
}

.grid-wrap .img:hover .overlay p {
    opacity: 1;
    transform: translateY(0);
}

/*brand - m*/
@media (max-width: 768px) {
    .grid-wrap {
        flex-direction: column;
        align-items: center;
        gap: 15px; /* 간격 축소 */
    }

    .grid-wrap .img {
        width: 90%; /* 너비 확대 */
        max-width: 300px; /* 최대 너비 축소 */
        aspect-ratio: 1/1;
    }
    
    .grid-wrap .img .overlay p {
        font-size: 16px; /* 폰트 사이즈 축소 */
    }
}



/*brand-video - pc*/
.brand-video {
    max-width: 1000px; /* 최대 너비 축소 */
    margin: 0 auto;
    padding: 60px 20px; /* 패딩 축소 */
    display: flex;
    align-items: flex-start;
    gap: 30px; /* 간격 축소 */
}

.brand-video .text {
    flex: 1;
}

.brand-video .text .title {
    font-size: 20px; /* 폰트 사이즈 축소 */
    margin-bottom: 15px; /* 마진 축소 */
    font-weight: 600;
    font-family: 'Libertinus Serif Display', serif;
}

.brand-video .text p {
    line-height: 1.6; /* 줄 간격 축소 */
    color: #444;
    font-size: 13px; /* 폰트 사이즈 축소 */
}

.brand-video .video {
    flex: 1.7;
}

.brand-video .video iframe {
    width: 100%; /* 너비 조정 */
    max-width: 500px; /* 최대 너비 설정 */
    aspect-ratio: 16 / 9;
    height: auto;
    border: none;
    border-radius: 6px; /* 모서리 둥글기 축소 */
}


/*brand-video - m*/
@media (max-width: 768px) {
    .brand-video {
        display: flex;
        flex-direction: column; 
        align-items: center;
        text-align: center;
        gap: 20px; /* 간격 축소 */
        padding: 40px 15px; /* 패딩 축소 */
    }

    .brand-video .video {
        width: 100%;
        display: flex;
        justify-content: center; 
    }

    .brand-video .video iframe {
        width: 100%;
        max-width: none;
        height: auto;
        aspect-ratio: 16 / 9;
    }
}

/*brand2 - pc*/
.brand2 {
    width: 100%;
    height: 300px; /* 높이 축소 */
    background: #c4c4c4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
    background-image: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)),url(img/brandmore.jpg);
    background-attachment: fixed;
}

.brand2 h2 {
    font-size: 24px; /* 폰트 사이즈 축소 */
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px; /* 마진 축소 */
    font-family: 'Libertinus Serif Display', serif;
}

.brand2 p{
    font-size: 15px; /* 폰트 사이즈 축소 */
    line-height: 1.6; /* 줄 간격 축소 */
    color: #fff;
}

.brand2 a {
    max-width: 180px; /* 너비 축소 */
    display: inline-block;
    margin-top: 15px; /* 마진 축소 */
    padding: 8px 18px; /* 패딩 축소 */
    border: solid 1.5px currentColor;
    border-radius: 5px;
    color: #fff;
    font-size: 13px; /* 폰트 사이즈 축소 */
    text-decoration: none;
}

.brand2 a:hover {
    background-image: linear-gradient(rgba(255,255,255,0.2),rgba(255,255,255,0.2));
}

/*brand2 - M*/
@media (max-width: 768px) {
    .brand2 {
        height: auto;
        padding: 40px 15px; /* 패딩 축소 */
    }

    .brand2 h2 {
        font-size: 20px; /* 폰트 사이즈 축소 */
    }

    .brand2 p {
        font-size: 14px; /* 폰트 사이즈 축소 */
        max-width: 480px;
    }

    .brand2 a {
        margin-top: 12px; /* 마진 축소 */
        padding: 6px 14px; /* 패딩 축소 */
        font-size: 12px; /* 폰트 사이즈 축소 */
    }
}

/* pc - 콘텐츠C: 개요(icon+text) */ 
@media (min-width:768px){
    .brand2 .container{ 
        display: flex;
        max-width: 1000px;
        max-width: var(--large-width);
        margin-left: auto;
        margin-right: auto;
    }
    .brand2 .photo{  
        flex: 3;
        padding-top: 80px; /* 패딩 축소 */
    }

    .brand2 .text{ 
        flex: 2;
        padding: 80px 0; /* 패딩 축소 */
    }
}

/*brand-slider : pc*/
.slider {
    width: 100%;
    padding: 30px 0; /* 패딩 축소 */
    overflow: hidden;
}

.slider .title {
    font-size: 20px; /* 폰트 사이즈 축소 */
    font-weight: 600;
    margin-bottom: 30px; /* 마진 축소 */
    padding-left: 20px;
    text-align: center;
}

.slider-wrap {
    display: flex;
    gap: 15px; /* 간격 축소 */
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;

    -ms-overflow-style: none;
    scrollbar-width: none;
}

.slider-wrap::-webkit-scrollbar {
    display: none;
}

.slide {
    min-width: 250px; /* 너비 축소 */
    height: 250px; /* 높이 축소 */
    flex-shrink: 0;
    scroll-snap-align: start;
    border-radius: 8px; /* 모서리 둥글기 축소 */
    overflow: hidden;
    background: #ddd;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-bottom: 40px; /* 마진 축소 */
}

/*proposal - pc */
.proposal {
    background-color: #66CBE5;
    color: #fff;
    color: var(--text-bright-color);
    }
    .proposal video {
    width: 100%;
    position: center;
    }

/*proposal - m */
@media (min-width: 768px) {
    .proposal .container {
    display: block;
    width: 1000px; /* 너비 축소 */
    margin-left: auto;
    margin-right: auto;
    }
}

/* Mobile - footer */
footer {
    width: 100%;
    padding: 60px 0 40px; /* 패딩 축소 */
    background: #ffffff;
    text-align: center;
    position: relative;
}

footer .container {
    width: 90%;
    max-width: 700px; /* 최대 너비 축소 */
    margin: 0 auto;
    position: relative;
}

footer .container::before,
footer .container::after {
    content: "";
    position: absolute;
    top: 5px; /* 위치 조정 */
    width: 28%; /* 너비 축소 */
    height: 1px;
    background: #ccc;
}

footer .container::before { left: 0; }
footer .container::after { right: 0; }


/*footA 메뉴*/
.footA h2 {
    font-size: 18px; /* 폰트 사이즈 축소 */
    font-family: 'Old Standard TT',serif;
    letter-spacing: 3px; /* 간격 축소 */
    margin-bottom: 30px; /* 마진 축소 */
    color: #848484;
}

/*footC 메뉴*/
.footC {
    margin-top: 20px; /* 마진 축소 */
}

.footC p {
    font-size: 11px; /* 폰트 사이즈 축소 */
    color: #848484;
}


/*footD 메뉴*/
.footD {
    margin: 25px 0 25px; /* 마진 축소 */
}

.footD ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px; /* 간격 축소 */
    margin: 0;
    padding: 0;
}

.footD ul li a {
    font-size: 20px; /* 폰트 사이즈 축소 */
    color: #848484;
}


/* PC - footer */
@media (max-width: 768px) {
    footer .container::before,
    footer .container::after {
        display: none;
    }

    .footA h2 {
        font-size: 16px; /* 폰트 사이즈 축소 */
        letter-spacing: 2px;
    }

    .footD ul {
        gap: 18px; /* 간격 축소 */
    }

    .footD ul li a {
        font-size: 18px; /* 폰트 사이즈 축소 */
    }
}

@media (max-width: 480px) {
    footer {
        padding: 40px 0 30px; /* 패딩 축소 */
    }

    .footA h2 {
        font-size: 14px; /* 폰트 사이즈 축소 */
    }

    .footD ul {
        gap: 15px; /* 간격 축소 */
    }

    .footD ul li a {
        font-size: 16px; /* 폰트 사이즈 축소 */
    }

    .footC p {
        font-size: 10px; /* 폰트 사이즈 축소 */
    }
}