@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css");

body{
    font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    margin:0;
    padding:0;
    color:#1c1c1c;
    background-color: #ffffff;
}

.header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding:1rem 3rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #ffffff;
}
.header.scrolled {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter:blur(0.5rem);
}
.gnb{
    display: flex;
    gap:5rem;
}

.gnb a{
    color:#1c1c1c;
    font-size:1.5rem;
    font-weight:700;
    transition: all 0.2s;

}
.gnb a:hover{
    color:#019eee;
}


/* 기본 메뉴 아이템 스타일 */
.submenu-wrap {
  position: relative;
  display: inline-block;
}

/* 드롭다운 메뉴 기본 스타일 */
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: -2.2rem;
  background-color: white;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 8px 0;
}

/* 드롭다운 메뉴 내부 링크 스타일 */
.submenu a {
  display: block;
  padding: 12px 20px;
  text-decoration: none;
  color: #333;
  transition: background-color 0.2s;
  font-size: 1rem;
  text-align: center;
}

/* 드롭다운 메뉴 링크 hover 스타일 */
.submenu a:hover {
  background-color: #f5f5f5;
}

/* hover 시 드롭다운 메뉴 표시 */
.submenu-wrap:hover .submenu {
  display: block;
}


.visual{
    overflow: hidden;
    width:100%;
    height:758px;
    position:relative;
    margin-top:120px;
}
.visual img{
    object-fit: cover;
    width:100%;
    height:100%;
    display:none;
}
.visual img.active{
    display:block;
}
.visual .swiper{
    position:absolute;
    bottom:0;
    width:100%;
    margin-bottom:1.5rem;
}
.visual .swiper .swiper-wrap{
    display: flex;
    justify-content: center;
    margin:0 auto;
}
.visual .swiper a{
    width:3rem;height:0.5rem;background:#777777; float:left; margin-left:2px; box-shadow: 0 0 5px rgba(0,0,0,0.3); 
}
.visual .swiper a.active{
    width:5rem;background-color: #ffffff;
}

/* */
.visual {
    position: relative;
    overflow: hidden;
}

.visual img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.visual img.active {
    opacity: 1;
    position: relative;
}

.visual img:first-child {
    position: relative;
}

.swiper-wrap a {
    cursor: pointer;
    transition: all 0.5s;
}

.swiper-wrap a.active {
    opacity: 1;
}




.event{
    padding:4rem 0;
    max-width:80rem;
    margin:0 auto;
}
.event .event-title-wrap{
    position:relative;
    text-align: center;
    margin-bottom:2rem;
}
.event .event-title-wrap h2{
    font-size:2.7rem;
    line-height: 2.25rem;
    font-weight:700;
}
.event .event-title-wrap .more{
    background-color:#ebebeb;
    width:2.75rem;
    height:2.75rem;
    border-radius: 9999px;
    display:flex;
    justify-content: center;
    align-items: center;
    position:absolute;
    right:0;
    top:0;
}
.event .event-title-wrap .more:hover{
    background-color: #ffffff;
    border:1px solid #1c1c1c;
    transition: all 0.5s;
}
.event .event-content{
    display:grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap:0.1rem;
}
.event .event-content .event-wrap{
    overflow:hidden;
    position:relative;
}
.event .event-content .event-wrap img{
    width:100%;
    height:100%;
    object-fit: cover;
}
.event .event-content .event-wrap .event-item{
    position:absolute;
    padding:1.5rem;
    color:#ffffff;
    display:flex;
    justify-content: flex-end;
    flex-direction: column;
    inset:0px;
    --tw-gradient-to:transparent var(--tw-gradient-to-position);
    --tw-gradient-from:rgb(0 0 0 / 0.8) var(--tw-gradient-from-position);
    --tw-gradient-to:rgb(0 0 0 / 0) var(--tw-gradient-to-position);
    --tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to);
    background-image:linear-gradient(to top, var(--tw-gradient-stops));
    text-align: center;
}
.event .event-content .event-wrap .event-item .item-title1{
    color:#ffffff;
    font-weight: 700;
    font-size:1.5rem;
    line-height:2rem;
}
.event .event-content .event-wrap .event-item .item-title2{
    opacity:0.9;
    font-weight:500;
}

/* event-wrap 기본 설정 */
.event-wrap {
    overflow: hidden;
    position: relative;
}

.event-wrap a {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
}

/* 이미지 기본 상태 */
.event-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

/* 호버 시 이미지 확대 */
.event-wrap a:hover img {
    transform: scale(1.1);
}



.introduce-wrap{
    position:relative;
    overflow: hidden;
    background:#def4ff;
}

.introduce{
    background:url("../image/bg1.png") right bottom no-repeat #def4ff;
    padding: 5rem 0;
    display: flex;
    align-items: center;
    max-width: 80rem;
    margin:0 auto;
    color:#1c1c1c;
}
.introduce .introduce-content{
    width:50%;
}
.introduce .text1{
    font-size:2.7rem;
    font-weight: 700;
    color:#019ded;
    margin:1.5rem 0;
}

.introduce p{
    margin-bottom:25px;
    font-size:1.3rem;
    font-weight: 500;
}

.introduce .business{
    display: flex;
    margin-top:3.5rem;
    gap:3rem;
}

.introduce .business .business-icon{
    border-radius: 9999px;
    display: flex;
    align-items:center;
    justify-content: center;
    width:10rem;
    height:10rem;
    background-color:#25c9ff;
    margin:0 auto 1rem;
}

.introduce .business p{
    font-size:1.2rem;
}

.notice-wrap{
    grid-template-columns:repeat(1, minmax(0, 1fr));
    padding:5rem 0;
    gap:4rem;
    max-width: 80rem;
    display: grid;
    margin:0 auto;
}
.notice-wrap .notice-title{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom:1.5rem;
}
.notice-wrap .notice-title h2{
    font-size:2.5rem;
    font-weight: 700;
    color:#1c1c1c;
    line-height: 2rem;
}
.notice-wrap .notice-title .more{
    background-color:#ebebeb;
    width:2.75rem;
    height:2.75rem;
    border-radius: 9999px;
    display:flex;
    justify-content: center;
    align-items: center;
}
.notice-wrap .notice-title .more:hover{
    background-color: #ffffff;
    border:1px solid #1c1c1c;
    transition: all 0.5s;
}
.notice-wrap .borderBB{
    padding-bottom:1.5rem;
    border-bottom:1px solid #1c1c1c;
}
.notice-wrap .notice-content-first{
    display: flex;
    padding-bottom:1.5rem;
    border-bottom:1px solid #dadbdb;
}
.notice-wrap .notice-content-first a{
    display: flex;
}
.notice-wrap .notice-content-first img{
    width:11rem;
    height:7.75rem;
    object-fit: cover;
}
.notice-wrap .notice-content-first .notice-item{
    flex: 1 1 0%;
    --tw-space-x-reverse:0;
    margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)));
}
.notice-wrap .notice-content-first .notice-item h3{
    font-size:1.5rem;
    font-weight:700;
    line-height:2rem;
    margin-bottom:0.75rem;
    color:#1c1c1c;
}
.notice-wrap .notice-content-first .notice-item p{
    overflow:hidden;
    display: -webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    margin-bottom:0.5rem;
    font-size:1.1rem;
    line-height:1.5rem;
    color:#1c1c1c;
}
.notice-wrap .notice-content-first .notice-item p.date{
    font-size:0.8rem;
    color:#797979;
}
.notice-wrap .notice-content{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding:1.5rem 0;
    border-bottom:1px solid #dadbdb;
}
.notice-wrap .notice-content p{
    color:#1c1c1c;
    font-size:1.3rem;
    font-weight: 600;
}
.notice-wrap .notice-content p.date{
    font-size:0.8rem;
    color:#797979;
    font-weight: 500;
}
.promo-video{
    position:relative;
    background-color: #d8d8d8;
}
.promo-video video{
    aspect-ratio:16/9;
    width:100%;
    object-fit: cover;
}

footer{
    background-color: #2f2f2f;
    padding:3rem;
    color:#7d7d7d;
}
footer .footer-wrap{
    max-width: 80rem;
    margin:0 auto;
    display: flex;
    justify-content:space-between;
    align-items: center;
    flex-direction: row;
}
footer .footer-wrap .footer-info{
    display: flex;
    align-items: flex-start;
    gap:3rem;
}
footer .footer-wrap .footer-info .footer-content{
    font-size:0.85rem;
    line-height:1.3rem;
}
footer .footer-wrap .privacy{
    display: flex;
    margin-top:0rem;
    gap:2rem;
    font-size:0.8rem;
    color:#039eee;
    font-weight: 600;
}

/* 햄버거 버튼 */
.hamburger{
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 2.2rem;
    height: 2.2rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}
.hamburger span{
    display: block;
    width: 100%;
    height: 2px;
    background-color: #1c1c1c;
    border-radius: 2px;
    transition: all 0.3s;
    transform-origin: center;
}
/* 열렸을 때 X 모양 */
.hamburger.open span:nth-child(1){
    transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2){
    opacity: 0;
}
.hamburger.open span:nth-child(3){
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1024px){
    .header{
        padding:1rem;
    }
    .gnb{
        gap:2rem;
    }
    .gnb a{
        font-size:1.1rem;
    }
}

@media (max-width: 767px){
    .hamburger{
        display: flex;
    }
    /* 언어선택 + 햄버거 묶음 */
    .header-right{
        display: flex;
        align-items: center;
        gap: 0.7rem;
    }
    .gnb{
        display: none;
        flex-direction: column;
        gap: 0;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #ffffff;
        justify-content: center;
        align-items: center;
        z-index: 1050;
    }
    .gnb.open{
        display: flex;
    }
    .gnb a{
        font-size: 1.5rem;
        font-weight: 700;
        padding: 1.2rem 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
    }
    .gnb a:last-child{
        border-bottom: none;
    }
}
@media (max-width: 1280px){
    .introduce .introduce-content{
        width:100%;
        text-align: center;
    }
    .introduce{
        background-position: center bottom;
        padding:3rem 1rem 20rem;
    }
    .event{
        padding:4rem 1rem;
    }
    .notice-wrap{
        padding:5rem 1rem;
    }
    .introduce .business{
        justify-content: center;
    }
}
@media (max-width: 767px){
    footer .footer-wrap{
        flex-direction: column;
    }
    footer .footer-wrap .privacy{
        margin-top:2rem;
    }
    .introduce .business{
        gap:1rem;
        flex-direction: column;
    }
    .event .event-content{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .event .event-content .event-wrap .event-item .item-title1{
        font-size: 1.1rem;
        line-height: 1.5rem;
    }

}

@media (min-width: 768px){
    .notice-wrap{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
}



/*sub*/

.sub{
    margin-top:120px;
    background:#e0f4ff;
    position:relative;
    overflow: hidden;
    height:16rem;
}
.sub .sub-title-wrap{
    background: url(../image/sub-bg.png) right bottom no-repeat #e0f4ff;
    max-width: 80rem;
    display: flex;
    align-items: center;
    height:100%;
    margin:0 auto;
    position:relative;
    z-index:10;
}
.sub .sub-title-wrap .sub-title{
    font-size:2.5rem;
    line-height: 2.75rem;
    font-weight: 700;
    color:#1c1c1c;
}

.content-submenu{
    max-width: 80rem;
    margin:1rem auto;
    position:relative;
}
.content-submenu ul{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap:2px;

}
.content-submenu ul li a{
    display: block;
    text-align: center;
    font-size:1.2rem;
    padding:1rem 0;
    border:1px solid #d8d8d8;
}
.content-submenu ul li a.active{
    color:#ffffff;
    background-color: #25c9ff;
    border:1px solid #25c9ff;
    font-weight: 700;
}

.sub-content{
    max-width: 80rem;
    margin:0 auto;
    padding:5rem 0;
}
.gallery{
    display: grid;
    column-gap: 1.3rem;
    row-gap: 3rem;
    grid-template-columns:repeat(4, minmax(0, 1fr));
}
.gallery-image{
    overflow: hidden;
    margin-bottom:0.75rem;
    aspect-ratio: 5/4;
}
.gallery-image img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.gallery-text{
    color:#1c1c1c;
    font-weight:600;
    font-size:1rem;
    line-height: 1.5rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.paging{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 4rem;
    gap:0.5rem;
}
.paging a{
    color:#666666;
    display: flex;
    width:2rem;
    height: 2rem;
    justify-content: center;
    align-items: center;
}
.paging a:hover{
    color:#1c1c1c;
}
.paging a.now{
    color:#1c1c1c;
    font-weight: 700;
    text-decoration: underline;
}
.paging a.prev, .paging a.next{
    border-radius: 9999px;
    background:#ebebeb;
    transition: all 0.3s;
}
.paging a.prev:hover, .paging a.next:hover{
    background:#ffffff;
    border:1px solid #1c1c1c;
}
.board table{
    width:100%;
    border-top:1px solid #1c1c1c;
    border-bottom:1px solid #1c1c1c;
    font-size:0.9rem;
}
.board table thead{
    display: none;
}
.board table tr{
    border-top:1px solid #dadbdb;
}
.board table tr:first-child{
    border-top:0px none;
}
.board table tr td{
    padding:1rem 0;
}
.board table .num{
    text-align: center;
}
.board table .title{
    font-size:1.1rem;
    font-weight: 600;
}
.board table .date{
    color:#797979;
    text-align: right;
    padding-right: 2rem;
}

.detail table{
    width:100%;
    border-top:1px solid #1c1c1c;
    font-size:0.9rem;
}
.detail table tr{
    border-bottom:1px solid #dadbdb;
}
.detail table tr td{
    padding:1rem;

}
.detail table .title{
    font-weight: 700;
    font-size:1.5rem;
}
.detail table .date{
    text-align: right;
    color:#797979;
}
.detail table .detail-contents{
    padding:3rem 1rem;
    line-height: 1.5rem;
}
.detail table .detail-contents img{
    padding:1rem 0;
}
.detail .list-btn{
    text-align: right;
    padding-top:3rem;
}
.detail .list-btn a{
    display: inline-block;
    background-color:#1c1c1c;
    color:#ffffff;
    font-weight:600;
    padding:0.7rem 2rem;
    transition: all 0.3s;
}
.detail .list-btn a:hover{
    background-color:#039eee;

}

.intro{
    color:#666666;
}
.intro > div{
    margin-bottom:2rem;
}
.intro p{
    margin-bottom:1rem;
    line-height: 1.7rem;
}
.intro p.intro-title{
    font-weight:700;
    font-size:2.5rem;
    color:#1c1c1c;
    margin-bottom:1.8rem;
    line-height: 2.5rem;
}
.intro .intro1{
    display: flex;
    align-items: center;
    gap:4rem;
}
.intro .intro1 img{
    width:60%;
}
.intro .intro2{
    display: flex;
    align-items: center;
    gap:4rem;
    justify-content: flex-end;
}
.intro .intro2 img{
    width:60%;
}
.intro .intro2 > div{
    width:40%;
}
.intro .intro3{
    display: flex;
    align-items: center;
    gap:4rem;
    background:url(../image/intro3.png) left bottom no-repeat;
    height:38rem;
}
.intro .bar{
    width:2px;
    height:5rem;
    background-color: #1c1c1c;
    margin:3rem auto;
}

.business-content{
    background-color: #f6f6f6;
    display: flex;
    align-items: center;
    margin-bottom:1.5rem;
}
.business-text{
    padding:2rem;
}
.business-text p{
    color:#666666;
}
.business-text p.business-title{
    color:#1c1c1c;
    font-size:2.5rem;
    font-weight: 700;
    line-height: 2.7rem;;
}
.business-text p.business-sub-title{
    color:#1c1c1c;
    font-weight: 700;
    margin-bottom:1.5rem;
}

.donation{
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.donation img{
    margin-bottom:2.5rem;
}
.donation p{
    font-size:1.25rem;
    font-weight: 600;
    margin-bottom:2.5rem;
}
.donation .btn-donation{
    font-size:1.15rem;
    color:#ffffff;
    padding:1.2rem 2.2rem;
    background: #1c1c1c;
    transition: all 0.3s;
}
.donation .btn-donation:hover{
    background: #019ded;
}

@media (max-width: 1280px){
    .sub-content{
        padding:4rem 1rem;
    }
    .sub .sub-title-wrap{
        padding:0 1rem;
    }
}
@media (max-width: 1024px){
    .gallery{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
    .business-content{
        display: block;
    }
    .business-content img{
        width:100%;
    }
}
@media (max-width: 768px){
    .gallery{
        grid-template-columns:repeat(1, minmax(0, 1fr));
    }
    .board table .date{
        padding:0;
    }
    .sub .sub-title-wrap{
        justify-content: center;
    }
    .intro .intro1{
        display:block;
        text-align: center;
    }
    .intro .intro1 img{
        width:100%;
        margin-bottom:1rem;
    }
    .intro .intro2{
        display:block;
        text-align: center;
    }
    .intro .intro2 img{
        width:100%;
    }
    .intro .intro2 > div{
        width:100%;
    }
}


/* Modal Overlay */
      .policy-modal-overlay {
        display: none;
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100%;
        background: rgba(0, 0, 0, 0.55);
        z-index: 9999;
        align-items: center;
        justify-content: center;
        padding: 20px;
        box-sizing: border-box;
      }
      .policy-modal-overlay.active {
        display: flex;
      }

      /* Modal Box */
      .policy-modal {
        background: #fff;
        width: 100%;
        max-width: 780px;
        max-height: 85vh;
        display: flex;
        flex-direction: column;
        box-shadow: 0 20px 60px rgba(0,0,0,0.25);
        animation: modalFadeIn 0.25s ease;
        overflow: hidden;
      }

      @keyframes modalFadeIn {
        from { opacity: 0; transform: translateY(-18px); }
        to   { opacity: 1; transform: translateY(0); }
      }

      /* Modal Header */
      .policy-modal-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 22px 28px;
        border-bottom: 2px solid #019ded;
        background: #fff;
        flex-shrink: 0;
      }
      .policy-modal-header h2 {
        font-size: 18px;
        font-weight: 700;
        color: #019ded;
        margin: 0;
        font-family: 'Pretendard Variable', sans-serif;
        letter-spacing: -0.3px;
      }
      .policy-modal-close {
        background: none;
        border: none;
        cursor: pointer;
        padding: 4px;
        color: #555;
        font-size: 22px;
        line-height: 1;
        transition: color 0.2s;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        border-radius: 50%;
      }
      .policy-modal-close:hover {
        color: #019ded;
        background: #f0f4fc;
      }

      /* Modal Body */
      .policy-modal-body {
        overflow-y: auto;
        padding: 28px 28px 32px;
        flex: 1;
        font-family: 'Pretendard Variable', sans-serif;
        font-size: 14px;
        line-height: 1.8;
        color: #2f2f2f;
      }
      .policy-modal-body::-webkit-scrollbar {
        width: 6px;
      }
      .policy-modal-body::-webkit-scrollbar-track {
        background: #f5f5f5;
      }
      .policy-modal-body::-webkit-scrollbar-thumb {
        background: #cccccc;
        border-radius: 3px;
      }

      /* Policy Content Styles */
      .policy-section {
        margin-bottom: 24px;
      }
      .policy-section h3 {
        font-size: 15px;
        font-weight: 700;
        color: #019ded;
        margin-bottom: 10px;
      }
      .policy-section p {
        margin-bottom: 8px;
        color: #444;
      }

      /* Modal Footer */
      .policy-modal-footer {
        padding: 16px 28px;
        border-top: 1px solid #eaeef8;
        display: flex;
        justify-content: center;
        flex-shrink: 0;
        background: #fff;
      }
      .policy-modal-footer button {
        background: #019ded;
        color: #fff;
        border: none;
        padding: 10px 40px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        font-family: 'Pretendard Variable', sans-serif;
        transition: background 0.2s;
        letter-spacing: 0.3px;
      }
      .policy-modal-footer button:hover {
        background: #019ded;
      }

      /* Responsive */
      @media (max-width: 600px) {
        .policy-modal-header { padding: 16px 18px; }
        .policy-modal-body   { padding: 18px 18px 24px; }
        .policy-modal-footer { padding: 14px 18px; }
        .policy-modal-header h2 { font-size: 16px; }
      }