@charset "UTF-8";

/* temp font */
@font-face {
    font-family: 'Pretendard-Regular';
    src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
    
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'NANUM_DB';
    src: url('../font/NANUMSQUAREROUNDB.TTF') format('truetype');
    
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NANUM_EB';
    src: url('../font/NANUMSQUAREROUNDEB.TTF') format('truetype');
    
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NANUM_L';
    src: url('../font/NANUMSQUAREROUNDL.TTF') format('truetype');
    
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NANUM_R';
    src: url('../font/NANUMSQUAREROUNDR.TTF') format('truetype');
    
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    margin:0;
    padding:0;
}

body {
    user-select: none;
    font-size: 16px;
}

h1 {
    font-family: 'Pretendard-Regular';
    font-size:4rem;
}

h2 {
    font-family: 'Pretendard-Regular';
    font-size:3rem;
}

h3 {
    font-family: 'Pretendard-Regular';
    font-size:2.25rem;
}

h4 {
    font-family: 'Pretendard-Regular';
    font-size:1.75rem;
}

h5 {
    font-family: 'Pretendard-Regular';
    font-size:1.5rem;
}

h6 {
    font-family: 'Pretendard-Regular';
    font-size:1.19rem;
}

a, a:link, a:visited, a:active, a:hover {
    text-decoration:none;
    color:#000;
}

ol, ul {
    list-style:none;
}

small {
    font-size: 0.75em;
}

section {
    margin-top:10px;
    position: relative;
    z-index: 20;
    text-align: center;
}

h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
}

p {
    font-size: 1.5rem;
    color: #ccc;
}
  
.tab-btn:hover {
    background-color: #efefef;
}
  
.tab-btn.active {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.tab-content {
    display: none;
    background-color: white;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
  
.tab-content.active {
    display: block;
}
  
/* 날짜와 내용 스타일 */
h6 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 5px;
}
  
p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}
  
  /* 구분선 스타일 */
hr {
    border: 0;
    border-top: 1px solid #ddd;
    margin: 20px 0;
}  
  
  /* 푸터 */
footer {
    text-align: center;
    font-size: 0.9rem;
    color: #aaa;
    margin-top: 30px;
}
  
/* GNB */
header {
    width:100vw;
    height: 80px;
    text-align: center;
    position:fixed;
    margin:auto;
    background-color:white;
    z-index: 100;
    top:0px;
    left:0px;
}

.menu {
    color: #000;
    display:flex;
    justify-content: space-between;
    height:100%;
    align-items: center;
    margin: 0 auto;
    max-width:1200px;
    padding: 0 100px;
}

.menu>div>a {
    height:80px;
    width:100px;
    background-color:transparent;
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    background-image:url(../img/Logo.png);
    cursor:pointer;
    display:block;
    align-content: center;
}

.menu>a {
    height:30%;
    width:80px;
    padding:5px 10px;
    border:0px;
    border-radius:5px;
    background-color:lightgray;
    font-family: 'Pretendard-Regular';
    font-size:1.1rem;
    display:flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.menu-trigger {
    display:none;
}
nav ul {
    display:inline-flex;
    margin: 0 auto;
}

nav ul li a {
    display:flex;
    width:150px;
    justify-content:center;
    font-family: 'Pretendard-Regular';
    font-size:1.1rem;
}

h6 {
    color:rgb(255, 94, 0);
}

.ham-menu {
    display:none;
    position: fixed;
    background-color:#fff;
    width:250px;
    height:100%;
    right:0;
    padding:10px 0;
    border-left:1px solid lightgray;
    z-index:50;
    transform: translateX(330px);
    transition: all 0.8s;
}

.ham-menu.on {
    transform: translateX(0px);
    display:none;
}

.ham-menu ul li {
    font-family: 'Pretendard-Regular';
    font-size:1.2rem;
    padding: 15px 30px;
    color:gray;
}

.ham-menu button {
    width:80%;
    margin-top:20px;
    left: 10%;
    position: absolute;
}
/* //GNB */
/* footer */
footer {
    border-top : 1px solid lightgray;
    padding: 30px 15%;
}

footer>span>h5 {color: #666666;}
footer>div {display:flex;padding-top:25px;gap:50px;}
footer .left, footer .right {
    display: flex;
    flex-direction: column;
    color:#999999;
    font-family: 'Pretendard-Regular';
}

footer div span {padding-top:5px;}
/* //footer */
/* button */
button {
    height:34px;
    width:150px;
    border: 0px;
    border-radius: 5px;
    background-color: lightgray;
    font-family: 'Pretendard-Regular';
    font-size: 1.1rem;
    white-space: nowrap;
    cursor:pointer;
}
/* //button */
/* table */
table {
    width:100%;
    text-align: center;
    border-collapse:collapse;
    font-family: 'Pretendard-Regular';
}

th {background-color:#f6f6f6;}
th,td {height:40px;}
/* //table */
@media screen and (max-width:850px){
    html {font-size: 14px;}
    nav ul li a {width:110px;}
    .menu {padding: 0 20px;}
    footer {padding: 30px 5%;}
    footer>div {gap:25px;}
    h1 {font-size:3.25rem;}
    th, td {height:35px;font-size:14px;}
}

@media screen and (max-width:580px){
    div.menu>div>a {background-size: 70%;}
    th, td{height:30px;font-size:10px;}
    h1{font-size:20px;}
    h2{font-size:18px;}
    html{font-size:12px;}
    .menu>a{display:none;}
    nav{display:none;}
    .ham-menu{display:block;}
    .menu-trigger,
    .menu-trigger span {
        display: inline-block;
        transition: all .4s;
        box-sizing: border-box;
}

.menu-trigger {
    cursor:pointer;
    position: relative;
    width: 30px;
    height: 24px;
}
.menu-trigger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #000000;
    border-radius: 4px;
}
    .menu-trigger span:nth-of-type(1) {top: 0;}
    .menu-trigger span:nth-of-type(2) {top: 10px;}
    .menu-trigger span:nth-of-type(3) {bottom: 0;}
    .menu-trigger.active-1 span:nth-of-type(1) {
        -webkit-transform: translateY (10px) rotate (-45deg);
        transform: translateY(10px) rotate(-45deg);
    }
    .menu-trigger.active-1 span:nth-of-type(2) {opacity: 0;}
    .menu-trigger.active-1 span:nth-of-type(3) {
        -webkit-transform: translateY(-10px) rotate(45deg);
        transform: translateY(-10px) rotate(45deg);
    }
    footer{font-size:8px;}
    h5{font-size:12px;}
}

.image-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
  
.image-gallery img {
    object-fit: cover;
    margin: 10px;
    cursor: pointer;
    border: 1px solid #ddd;
    transition: transform 0.3s ease;
    width: 500px; /* 원하는 크기로 설정 */
    height: 400px; /* 원하는 크기로 설정 */
}

.contact-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0); /* 투명 배경 */
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    z-index: 999; /* 팝업 창보다 아래에 나타나도록 z-index 조정 */
    background-image: url('../img/talk.png'); /* 이미지 URL */
    background-size: contain; /* 이미지 원래 크기 유지 */
    background-repeat: no-repeat; /* 이미지 반복 방지 */
    background-position: center; /* 이미지 가운데 정렬 */
    width: 80px; /* 원하는 너비로 설정 */
    height: 80px; /* 원하는 높이로 설정 */
}
