@import "./reset.css";

/* 웹폰트 (Noto Sans KR / Crimson Text) */
@import url("https://fonts.googleapis.com/css2?family=Crimson+Text:wght@400;600;700&family=Noto+Sans+KR:wght@400;500;700&display=swap");

/* font-family: 'Nanum Myeongjo', serif; */
@import url("https://fonts.googleapis.com/css2?family=Nanum+Myeongjo:wght@400;700;800&display=swap");

/* 미디어쿼리 */
.web-only {
  display: none;
}

/* 기본 css style */
:root {
  --main-color: #006640;
  --text-light: #666;
}

body {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 15px;
}

h1 {
  font-size: 22px;
  font-weight: 700;
}

h1 .crimson,
h1.crimson {
  font-family: "Crimson Text", serif;
  font-size: 26px;
  font-weight: 600;
}

h2 {
  font-size: 22px;
  font-weight: 500;
}

h3 {
  font-size: 22px;
  font-weight: 700;
}

h4 {
  font-size: 20px;
  font-weight: 700;
}

a {
  color: #000;
}

.ft-bold {
  font-weight: 700;
}

.color-white {
  color: #fff;
}

.container {
  width: 100%;
  position: relative;
}

/* ::::::::::::::: 서브 공통 스타일 ::::::::::::::: */
/* ##### header ##### */

#main-header {
  height: 80px;
}

#main-header .container {
  height: 100%;
  display: flex;
  padding: 0 20px;
  justify-content: space-between;
  align-items: center;
  border-bottom: 0.5px solid #ccc;
}

#main-header h1 img {
  width: 115px;
}

#gnb {
  display: none;
}

/* ##### site-map ##### */

#site-map {
  position: absolute;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  top: 0;
}

#site-map .container {
  position: relative;
  width: 100%;
  background-image: url(../images/sitemap-bg-mob.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
}

#site-map .header-cover {
  width: 100%;
  height: 80px;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#site-map .header-cover h1 img {
  width: 115px;
}

#site-map .header-cover .btn-close {
  border: none;
  background: none;
}

#site-map .site-map-menu {
  padding: 0 20px;
  height: calc(100% - 80px);
}

#site-map .site-map-menu .depth1 {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

#site-map .site-map-menu .depth1 > li > a {
  font-size: 18px;
  font-weight: 700;
  line-height: 40px;
}

#site-map .site-map-menu .depth2 {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

#site-map .site-map-menu .depth2 > li > a {
  font-size: 14px;
  color: #444444;
  line-height: 30px;
}

/* 사이트맵 전환 효과 */
#site-map {
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: 0.3s;
}
#site-map.show {
  height: 100vh;
  overflow: visible;
  opacity: 1;
}

/* ##### wrap ##### */
/* 본문 전체 */
.wrap {
  width: 100%;
}

/* ##### lnb ##### */

.lnb h3 {
  border-bottom: 2px solid var(--main-color);
  line-height: 52px;
  font-size: 15px;
  padding: 0 20px;
  background: var(--main-color);
  color: #fff;
}
.lnb h3 a {
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lnb .lnb-list {
  border-bottom: 2px solid var(--main-color);
}
.lnb .lnb-list li {
  padding: 15px 20px;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.3);
}

.lnb .lnb-list li.active {
  background: rgba(0, 102, 64, 0.1);
  font-weight: 500;
}

.lnb .lnb-list li.active > a {
  color: var(--main-color);
}

.lnb .lnb-list li:hover {
  background: rgba(0, 102, 64, 0.1);
  font-weight: 700;
}

/* 2뎁스 메뉴 가리기 */
.lnb .lnb-list {
  display: none;
}

.lnb .lnb-list.view {
  display: block;
}

/* ##### main ##### */
main {
  width: 100%;
  padding: 0 20px;
}

.sub-title {
  width: 100%;
  padding: 24px 0;
  border-bottom: 0.5px solid #000;
}

.sub-path {
  height: 53px;
  /* padding-left: 10px; */
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

.sub-path a {
  height: 20px;
}

/* ##### footer ##### */
#main-footer {
  margin-top: 50px;
  background: #393939;
}

#main-footer .container {
  padding: 35px 20px;
  color: #999;
  font-size: 12px;
}

#main-footer .footer-menu {
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  border-bottom: 0.1px solid #666;
  padding-bottom: 5px;
}

#main-footer .footer-menu .text-box {
  display: flex;
  gap: 10px;
}

#main-footer .footer-menu a {
  color: #999;
}

#main-footer .footer-menu a.ft-str {
  font-weight: 700;
  color: #ffcc33;
}

#main-footer .footer-menu .sns-icon {
  display: flex;
  gap: 10px;
}

#main-footer .footer-menu .sns-icon img {
  width: 30px;
}

#main-footer .address {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 20px;
}

#main-footer .copy {
  font-weight: 700;
}

/* ::::::::::::::: 서브 개별 스타일 ::::::::::::::: */

/* sub1-1 */
/* ##### section1 ##### */
#sub1-1 .section1 {
  padding: 30px 0 50px;
}

#sub1-1 .section1 .section1-title {
  display: flex;
  flex-direction: column;
}

#sub1-1 .section1 .sub-main-visual {
  width: 100%;
  margin-bottom: 10px;
}

#sub1-1 .section1 .sub-main-visual img {
  width: 100%;
  object-fit: cover;
}

#sub1-1 .section1 .textbox {
  position: relative;
}

#sub1-1 .section1 h1 {
  margin-top: 30px;
  margin-bottom: 15px;
}

#sub1-1 .section1 h1 .main-color {
  color: var(--main-color);
}

#sub1-1 .section1 h2 {
  color: var(--text-light);
  margin-bottom: 10px;
}

#sub1-1 .section1 .line {
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
}

#sub1-1 .section1 > p {
  margin-top: 15px;
  padding-right: 10px;
  word-break: keep-all;
}

/* ##### section2 ##### */

#sub1-1 .section2 {
  padding: 50px 0;
}

#sub1-1 .section2 .content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#sub1-1 .section2 .img {
  order: 1;
  /* width: 200px; */
}

#sub1-1 .section2 .text-box {
  width: 100%;
  text-align: center;
  order: 2;
}

#sub1-1 .section2 .text-box hr {
  width: 200px;
  margin: 0 auto;
  margin-top: 5px;
  margin-bottom: 15px;
}

#sub1-1 .section2 .text-box p {
  word-break: keep-all;
}

#sub1-1 .section2 .text-box .btn-link {
  width: 115px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px auto;
  gap: 10px;
  border-radius: 5px;
  box-shadow: 3px 3px 3px #ccc;
  outline: 0.1px solid #ccc;
}

#sub1-1 .section2 .text-box .btn-link img {
  width: 20px;
}

/* ::::::::::::::::::::::::::::::::::::::::::::::::: */

/* sub1-2  */
/* ##### sub1-2 section1 ##### */

#sub1-2 .section1 {
  padding: 30px 0 50px;
}

#sub1-2 .section1 .section1-title {
  display: flex;
  flex-direction: column;
}

#sub1-2 .section1 .sub-main-visual {
  width: 100%;
  margin-bottom: 10px;
}

#sub1-2 .section1 .sub-main-visual img {
  width: 100%;
  object-fit: cover;
}

#sub1-2 .section1 .textbox {
  position: relative;
}

#sub1-2 .section1 h1 {
  margin-top: 30px;
  margin-bottom: 15px;
}

#sub1-2 .section1 h1 .main-color {
  color: var(--main-color);
}

#sub1-2 .section1 h2 {
  color: var(--text-light);
  margin-bottom: 10px;
}

#sub1-2 .section1 .line {
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
}

/* ##### sub1-2 section2 ##### */
/* 학과연혁 */

#sub1-2 #history > h3 {
  margin-bottom: 50px;
}

#history .annual {
  display: flex;
  flex-wrap: wrap;
}

#sub1-2 #history .box2 {
  width: 100%;
  display: flex;
  padding: 0px 50px 50px 50px;
  margin-bottom: 50px;
}

#sub1-2 #history > h4 {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 20px;
  margin-bottom: 50px;
}

#sub1-2 #history .box2 > h4 {
  margin-bottom: 8px;
}

#sub1-2 #history .annual .box2 > ul .history-list {
  margin-left: 25px;
}

#sub1-2 #history .annual .box2 > ul li:first-child {
  width: 100%;
  display: flex;
  margin-bottom: 8px;
}

#sub1-2 #history .annual .box2 > ul li > img {
  width: 15px;
  height: 15px;
  margin-top: 10px;
  margin-right: 10px;
}

/* ::::::::::::::::::::::::::::::::::::::::::::::::: */

/* sub1-3 */
/* ##### sub1-3 section1 ##### */

#sub1-3 .section1 {
  padding: 30px 0 50px;
}

#sub1-3 .section1 .section1-title {
  display: flex;
  flex-direction: column;
}

#sub1-3 .section1 .sub-main-visual {
  width: 100%;
  margin-bottom: 10px;
}

#sub1-3 .section1 .sub-main-visual img {
  width: 100%;
  object-fit: cover;
}

#sub1-3 .section1 .textbox {
  position: relative;
}

#sub1-3 .section1 h1 {
  margin-top: 30px;
  margin-bottom: 15px;
}

#sub1-3 .section1 h1 .main-color {
  color: var(--main-color);
}

#sub1-3 .section1 h2 {
  color: var(--text-light);
  margin-bottom: 10px;
}

#sub1-3 .section1 .line {
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
}

/* ##### sub1-3 section2 ##### */
/* 교수진 */

#sub1-3 #professor h4 {
  margin-bottom: 50px;
}

#sub1-3 #professor .profile {
  width: 100%;
  margin-bottom: 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#sub1-3 #professor .profile .profile-box {
  width: 100%;
  height: 200px;
  outline: 0.3px solid #444;
  box-shadow: 5px 5px #006640;
  margin-bottom: 50px;
  display: flex;
  align-items: center;
}

#sub1-3 #professor .profile .profile-box > ul {
  list-style: disc;
  margin-left: 20px;
}

#sub1-3 #professor .profile .profile-box > .profile-img > img {
  width: 100px;
  height: 130px;
  padding: 10px;
}

#sub1-3 #professor .profile .profile-box > ul li:first-child {
  list-style: none;
  margin-bottom: 10px;
  font-size: 20px;
  margin-bottom: 10px;
}

#sub1-3 #professor .profile .profile-box > ul li:last-child {
  list-style: none;
}

#sub1-3 #professor .profile .profile-box > ul .profile-list {
  margin-left: 20px;
}

#sub1-3 #professor .profile .profile-box > ul p {
  margin-top: 20px;
  font-size: 10px;
}

/* ::::::::::::::::::::::::::::::::::::::::::::::::: */

/* sub2-1 */
/* ##### sub2-1 section1 ##### */

#sub2-1 .section1 {
  padding: 30px 0 50px;
}

#sub2-1 .section1 .section1-title {
  display: flex;
  flex-direction: column;
}

#sub2-1 .section1 .sub-main-visual {
  width: 100%;
  margin-bottom: 10px;
}

#sub2-1 .section1 .sub-main-visual img {
  width: 100%;
  object-fit: cover;
}

#sub2-1 .section1 .textbox {
  position: relative;
}

#sub2-1 .section1 h1 {
  margin-top: 30px;
  margin-bottom: 15px;
}

#sub2-1 .section1 h1 .main-color {
  color: var(--main-color);
}

#sub2-1 .section1 h2 {
  color: var(--text-light);
  margin-bottom: 10px;
}

#sub2-1 .section1 .line {
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
}

/* ##### sub2-1 section2 ##### */

/* 교과과정 */

#sub2-1 .section2 {
  display: flex;
  flex-direction: column;
  padding: 0 20px;
}

#sub2-1 .section2 img {
  margin: 50px 0;
}

/* ::::::::::::::::::::::::::::::::::::::::::::::::: */

/* sub4-1 */
/* ##### section1 ##### */
#sub4-1 .section1 {
  padding: 30px 0 50px;
}

#sub4-1 .section1 .section1-title {
  display: flex;
  flex-direction: column;
}

#sub4-1 .section1 .sub-main-visual {
  width: 100%;
  margin-bottom: 10px;
}

#sub4-1 .section1 .sub-main-visual img {
  width: 100%;
  object-fit: cover;
}

#sub4-1 .section1 .textbox {
  position: relative;
}

#sub4-1 .section1 h1 {
  margin-top: 30px;
  margin-bottom: 15px;
}

#sub4-1 .section1 h1 .main-color {
  color: var(--main-color);
}

#sub4-1 .section1 h2 {
  color: var(--text-light);
  margin-bottom: 10px;
}

#sub4-1 .section1 .line {
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
}

/* ##### section2 ##### */
#sub4-1 .section2 h3 {
  margin-bottom: 10px;
}

#sub4-1 .section2 p {
  word-break: keep-all;
  padding: 20px;
  line-height: 25px;
  font-size: 13px;
  /* outline: 1px solid #000; */
  border-radius: 20px;
  box-shadow: 4px 4px 5px #ccc;
}

#sub4-1 .section2 p > .colorBlue {
  color: blue;
}

#sub4-1 .section2 p > .colorRed {
  color: red;
}

#sub4-1 .section2 p > .text-light {
  color: var(--text-light);
}

#sub4-1 .section3 {
  width: 100%;
  height: 150px;
  display: flex;
  /* outline: 1px solid red; */
}

.button-style {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
}

#sub4-1 .section3 button {
  width: 50px;
  height: 50px;
  border-radius: 25px;
  border: 2px solid #006640;
  background-color: #fff;
  color: var(--main-color);
  font-size: 12px;
}

#sub4-1 .section3 button.active {
  border: 2px solid var(--main-color);
  background-color: var(--main-color);
  color: #fff;
  box-shadow: 3px 3px 3px #ccc;
}

/* .section4 연습실 예약 */
#sub4-1 .section4 {
  width: 100%;
}

#sub4-1 .section4 .calendar-box {
  width: 100%;
}

#sub4-1 .section4 .calendar-box .calendar-title-group {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}

#sub4-1 .section4 .calendar-title-group h3 {
  font-size: 25px;
  padding-bottom: 10px;
  font-weight: 700;
  position: relative;
}

#sub4-1 .section4 .calendar-title-group h3::after {
  content: "";
  width: 100%;
  height: 5px;
  background: var(--main-color);
  position: absolute;
  bottom: 0;
  left: 0;
}

#sub4-1 .section4 .calendar-title-group .calendar-btn {
  display: flex;
  gap: 10px;
  align-items: center;
}

#sub4-1 .section4 .calendar-title-group .calendar-btn button {
  padding: 10px;
  background: var(--main-color);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
}

#sub4-1 .section4 .calendar-title-group .calendar-btn .btn-arrow {
  background: none;
}

#sub4-1 .section4 .calendar {
  font-size: 15px;
  width: 100%;
  text-align: center;
  line-height: 30px;
  border-collapse: collapse;
}

#sub4-1 .section4 .calendar th,
#sub4-1 .section4 .calendar td {
  width: calc(100% / 7);
  border: 1px solid #ccc;
  padding: 5px;
}

#sub4-1 .section4 .calendar th {
  font-weight: 600;
}

#sub4-1 .section4 .calendar td {
  text-align: right;
  vertical-align: top;
  cursor: pointer;
  height: 50px;
}

/* calendar style */

#sub4-1 .section4 .calendar .sat {
  color: #17a1fa;
}

#sub4-1 .section4 .calendar .sun {
  color: #d9534f;
}

#sub4-1 .section4 .calendar td.choosed {
  background: rgba(0, 102, 64, 0.2);
  font-weight: 700;
}

/* 예약페이지 팝업창 */

#sub4-1 .section4 .popup-reservation {
  width: 320px;
  border-radius: 20px;
  border: 0.1px solid #ccc;
  box-shadow: 4px 4px 5px #ccc;
  padding: 20px;
  background: #fff;
}

#sub4-1 .section4 .popup-reservation form {
  position: relative;
}

#sub4-1 .section4 .popup-reservation .choosed-hall {
  width: 40px;
  height: 40px;
  border-radius: 25px;
  background-color: var(--main-color);
  color: #fff;
  font-size: 13px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
}

#sub4-1 .section4 .popup-reservation .choosed-date {
  text-align: center;
  font-size: 20px;
  margin-bottom: 20px;
}
#sub4-1 .section4 .popup-reservation .btn-close {
  position: absolute;
  top: 0px;
  right: 0px;
  background: none;
  border: none;
}

#sub4-1 .section4 .popup-reservation .btn-close img {
  width: 20px;
}

#sub4-1 .section4 .popup-reservation .btn-reservation {
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 65px;
  height: 65px;
  background: var(--main-color);
  border: none;
  border-radius: 5px;
  color: #fff;
}

/* 팝업 포지션 */
#sub4-1 .section4 {
  position: relative;
}

#sub4-1 .section4 .popup-reservation {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* 팝업창 view 전환 */
#sub4-1 .section4 .popup-reservation {
  display: none;
}

#sub4-1 .section4 .popup-reservation.view {
  display: block;
}

/* ::::::::::::::::::::::::::::::::::::::::::::::::: */

/* sub5-1 */
/* ##### section1 ##### */
#sub5-1 .section1 {
  padding: 30px 0 50px;
}

#sub5-1 .section1 .section1-title {
  display: flex;
  flex-direction: column;
}

#sub5-1 .section1 .sub-main-visual {
  width: 100%;
  margin-bottom: 10px;
}

#sub5-1 .section1 .sub-main-visual img {
  width: 100%;
  object-fit: cover;
}

#sub5-1 .section1 .textbox {
  position: relative;
}

#sub5-1 .section1 .textbox h3 {
  font-size: 24px;
  margin-top: 10px;
  color: var(--main-color);
}

#sub5-1 .wrap main .section1 .textbox p {
  margin-top: 5px;
}

#sub5-1 .section1 .line {
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
}

#sub1-1 .section1 > p {
  word-break: keep-all;
}
