@font-face {
    font-family: 'GabiaMaeumgyeol';
    src: url('https://cdn.jsdelivr.net/gh/woffz/a1@main/Gabia/GabiaMaeumgyeol.woff2') format('woff2');
    font-weight: normal;
    font-style: Regular;
}

@keyframes fadeIn {
    from {
        opacity: 0;       /* 투명도 0 (안 보임) */
        transform: translateY(20px); /* 약간 아래에서 시작 */
    }
    to {
        opacity: 1;       /* 투명도 1 (다 보임) */
        transform: translateY(0);    /* 제자리로 */
    }
}

.gabia-font {
    font-family: 'GabiaMaeumgyeol', serif;
}

.img {
    height: auto;
    max-width: 100%;
}

#check_box {
  display: none;
}

#check_box + label {
    position: fixed; 
    top: 20px;
    left: 20px;
    display: block;
    width: 60px;
    height: 40px;
    cursor: pointer;
    z-index: 3;
}

#check_box + label > span {
  position: absolute;
  display: block;
  width: 100%;
  height: 5px;
  background: black;
  border-radius: 5px;
  transition: all 300ms;
}

#check_box + label > p {
    position: absolute;
    display: inline;
    transition: all 300ms;
    white-space: nowrap;
}

#check_box:checked + label > span:nth-child(1) {
    top: 50%;
    right: 10%;
    transform: translate(0, -50%);
    transform: rotate(-65deg);
}

#check_box + label > span:nth-child(2) {
    top: 50%;
    right: 0%;
    transform: translate(0, -50%);
}

#check_box:checked + label > span:nth-child(2) {
    top: 40%;
    right: -10%;
    width: 85%;
    transform: rotate(80deg);
}

#check_box + label > span:nth-child(3) {
    bottom: 0;
}

#check_box:checked + label > span:nth-child(3) {
    width: 80%;
    top: 80%;
    right: 20%;
    transform: translate(0, -50%);
    transform: rotate(15deg);
}

#check_box + label > span:nth-child(4) {
    top: 50%;
    opacity: 0%;
}

#check_box:checked + label > span:nth-child(4) {
    opacity: 100%;
    top: 40%;
    right: -50%;
    width: 150%;
    transform: rotate(-15deg);
}

#check_box + label > span:nth-child(5) {
    top: 50%;
    opacity: 0%;
}

#check_box:checked + label > span:nth-child(5) {
    opacity: 100%;
    top: 80%;
    right: 25%;
    width: 70%;
    height: 4.5px;
    transform: rotate(-50deg);
}   

#check_box + label > p:nth-child(6) {
    top: 70%;
    opacity: 0;
}

#check_box:checked + label > p:nth-child(6) {
    opacity: 1;
    top: 30%;
    right: -100%;
    width: 85%;
    height: 4.5px;
}

#slide-menu {
    position: fixed;
    display: block;
    background-color: whitesmoke;
    top: 0px;
    z-index: 2;
    height: 100%;
    width: 270px;
    left: -270px;
    transition: all 300ms;
    padding: 80px 20px 20px 10px;
    box-sizing: border-box;
}

#check_box:checked ~ #slide-menu {
    left: 0;
}

.a_no_line {
    text-decoration: none;
    color: black;
}

.slide-window {
    position: relative;
    width: 100%;
    max-width: 620px;
    margin: 20px auto;
    overflow: hidden;
}

.slide-film {
    display: flex;
    transition: transform 0.5s ease;
}

.slide-img {
    width: 100%;
    flex-shrink: 0;
}

.next-bt, .prev-bt {
    position: absolute;
    top: 50%;
    transform: translateY(-10%);

    background-color: rgba(0, 0, 0, 0);
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 25px;
    z-index: 10;
}

.next-bt {
    left: 10px;
}

.prev-bt {
    right: 10px;
}

.slidehr {
    border: none;

    height: 5px;
    background-color: black;
    width: 100%;
    margin: auto;
}

.slidein1 {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 15;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: rgba(155, 155, 155, 0.7);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.act {
    background-color: black;
    transform: scale(1.1);
}

.big_container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.box_who {
    background-color: black;
    width: 80%;
    max-width: 800px;
    padding: 70px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    animation: fadeIn 1.5s ease-out forwards;
}

.notice-box {
    background-color: white;
    width: 100%;
    min-height: 100vh;
    padding: 60px;
    
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); /* 아주 은은한 그림자 */
    
    /* 아까 배운 등장 애니메이션 적용! */
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

/* 페이지 제목 ("공지사항") */
.page-title {
    text-align: center;
    font-size: 30px;
    margin-bottom: 50px;
    font-weight: bold;
}

/* 리스트 한 줄 한 줄의 스타일 */
.notice-item {
    display: flex;          /* 날짜와 제목을 가로로 배치 */
    border-bottom: 1px solid #ddd; /* 바닥에 회색 줄 긋기 */
    padding: 20px 10px;     /* 줄 간격 넉넉하게 */
    transition: background-color 0.3s; /* 색깔 부드럽게 변하기 */
}

/* 마우스를 올렸을 때 효과 */
.notice-item:hover {
    background-color: #f9f9f9; /* 아주 연한 회색으로 변함 */
}

/* 날짜 스타일 */
.notice-item .date {
    color: #888;            /* 회색 글씨 */
    margin-right: 30px;     /* 제목이랑 거리 두기 */
    font-size: 14px;
    min-width: 100px;       /* 날짜 공간 확보 (줄 안 삐뚤어지게) */
}

/* 제목 스타일 */
.notice-item .title {
    text-decoration: none;  /* 밑줄 없애기 */
    color: #333;            /* 진한 회색 */
    font-size: 16px;
    flex-grow: 1;           /* 남은 공간 꽉 채우기 */
}

/* 제목에 마우스 올리면 진해지게 */
.notice-item:hover .title {
    color: black;
    font-weight: bold;
}


/* ------------------------------------ */
/* help.html (고객지원) 전용 스타일 */
/* ------------------------------------ */

/* FAQ 리스트 전체 테두리 */
.faq-list {
    border-top: 2px solid black;
}

/* 질문 하나하나의 박스 */
.faq-item {
    border-bottom: 1px solid #ddd;
}

/* 질문 (클릭하는 부분) */
.faq-question {
    padding: 20px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer; /* 손가락 모양 커서 */
    display: flex;
    justify-content: space-between; /* 질문과 화살표 양끝 배치 */
    align-items: center;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #f9f9f9; /* 마우스 올리면 살짝 회색 */
}

/* 답변 (평소에는 숨겨둠!) */
.faq-answer {
    display: none; /* ★ 핵심: 안 보이게 함 */
    padding: 20px;
    background-color: #f1f1f1; /* 답변은 회색 배경으로 구분 */
    color: #555;
    font-size: 16px;
    line-height: 1.6;
}

/* ★ 활성화(Active) 되었을 때 스타일! */
/* 자바스크립트가 .faq-item에 'active'라는 클래스를 붙여줄 거예요 */

.faq-item.active .faq-answer {
    display: block; /* 숨겨뒀던 답변을 보여줘라! */
}

.faq-item.active .arrow {
    transform: rotate(180deg); /* 화살표를 뒤집어라! */
}

/* 이메일 문의 버튼 꾸미기 */
.contact-btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: black;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: transform 0.2s;
}

.contact-btn:hover {
    transform: scale(1.05); /* 마우스 올리면 살짝 커짐 */
}

.no_answer-box {
    width: 100%;
    z-index: 0;
    min-height: 100vh;
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    background-color: #838383;
}

.no_answer-box h1 {
    display: block;
    z-index: 1;
    background-color: #0f0f0f;
    position: absolute;
    align-items: center;
    font-size: 25px;
    color: rgb(247, 247, 247);
    padding: 20px;
    border-radius: 20px 20px;
}

.no_answer-box p {
    display: block;
    z-index: 1;
    background-color: #0f0f0f;
    position: absolute;
    align-items: center;
    font-size: 15px;
    color: rgb(247, 247, 247);
    margin-top: 30px;
}

.no_answer-box hr {
    height: 3px;
    z-index: 1;
    position: relative;
    text-align: center;
    background-color: white;
    width: 100%;
    margin: auto;
    margin-top: 70px;
    margin-bottom: 10px;
}

.no_answer-box h2 {
    display: inline;
    z-index: 1;
    background-color: #0f0f0f;
    position: relative;
    align-items: bottom;
    font-size: 15px;
    color: rgb(247, 247, 247);
    margin-top: 10px;
}