@charset "utf-8";

:root {
  --main-color: #2c3e50;
  --accent-color: #f39c12;
  --light-gray: #f7f8fa;
  --dark-gray: #7f8c8d;
  --text-color: #2d2d2d;
  --font-main: 'Pretendard', 'Noto Sans KR', sans-serif;
}


.sv { position: relative; overflow: hidden; }

#sub .sub-vis {
  width: 100%;
  height: 450px;
  background-size: cover;
  background-position: center;
  transform: scale(1.1);
  animation: sv-bg-change 80s infinite ease-in-out;
}

@media screen and (max-width: 768px) {
  #sub .sub-vis { height: 250px; }
}

#sub .sv_tit_wrap {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  text-align: center;
}

#sub .sv_tit_wrap h2 {
  font-size: 42px;
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.03em;
}

#sub .sv_tit_wrap h2 em {
  display: block;
  margin-top: 15px;
  font-size: 18px;
  font-weight: 400;
  color: #ddd;
}

@keyframes sv-bg-change {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.lnbWrap { position: relative; background: #fff; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }

#lnb {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 10px 0;
  gap: 10px;
}

#lnb > li {
  min-width: 180px;
  text-align: center;
}

#lnb > li a {
  display: block;
  padding: 14px 20px;
  background: var(--light-gray);
  color: var(--text-color);
  border-radius: 8px;
  font-size: 16px;
  transition: background 0.3s;
}

#lnb > li.active a,
#lnb > li a:hover {
  background: var(--accent-color);
  color: #fff;
}

.flex_con {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}
.flex_lt, .flex_rt,
.flex_lt2, .flex_rt2 {
  flex: 1;
  min-width: 300px;
}

.box_txt {
  background: #34495e;
  color: #fff;
  padding: 40px;
  border-radius: 20px;
  text-align: center;
}

.box_list li {
  background: #ffffff;
  padding: 25px 30px;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  margin-top: 20px;
}

.map_li ul,
.member_box ul,
.card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.map_li li {
  flex: 1 1 50%;
  background: #ecf0f1;
  padding: 30px;
  border-radius: 16px;
}

.map_li1 { background: #ffeaa7; }
.map_li2 { background: #fab1a0; }

.member_box li {
  flex: 1 1 calc(50% - 20px);
  background: #bdc3c7;
  padding: 40px 20px;
  border-radius: 16px;
  height: 450px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.white_box {
  background: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  width: auto;
  margin: 0 auto;
}

.txt_box {
  background: rgba(0, 0, 0, 0.6);
  color: #f1c40f;
  padding: 5px 10px;
  border-radius: 8px;
}

.card li {
  flex: 1 1 calc(33.33% - 20px);
  padding: 0;
  margin-bottom: 20px;
}
.card li img {
  width: 100%;
  border-radius: 12px;
}

.form_list {
  padding: 60px;
  border-radius: 20px;
  background: #f9f9f9;
}
.form_list input {
  width: 100%;
  padding: 15px;
  font-size: 18px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-top: 15px;
}
.form_list button {
  width: 100%;
  padding: 18px;
  font-size: 20px;
  background: var(--accent-color);
  border: none;
  color: #fff;
  border-radius: 40px;
  margin-top: 25px;
  font-weight: bold;
  cursor: pointer;
}

@media screen and (max-width: 820px) {
  .flex_con { flex-direction: column; }
  .member_box li,
  .card li {
    flex: 1 1 100%;
  }
  #lnb > li { min-width: 100px; }
  #lnb > li a { font-size: 14px; padding: 10px; }
}