@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");

/* font-flamily: "ehwa" */
@font-face {
  font-family: "ehwa";
  src: url(../fonts/ewha.ttf);
}

/* 미디어쿼리 */
.web-only {
  display: none;
}

/* 기본 css style */
:root {
  --main-color: #006640;
  --text-light: #666;
}

body {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 15px;
  padding-top: 80px;
}

h1 {
  font-family: "ehwa", "Noto Sans KR", sans-serif;
  font-size: 20px;
  font-weight: 700;
}

h1 .crimson,
h1.crimson {
  font-family: "Crimson Text", serif;
  font-size: 30px;
  font-weight: 600;
}

h2 {
  font-size: 26px;
  font-weight: 700;
}

h2 .crimson,
h2.crimson {
  font-family: "Crimson Text", serif;
  font-size: 26px;
  font-weight: 600;
}

h3 {
  font-size: 18px;
  font-weight: 400;
}

h3.nanum {
  font-family: "Nanum Myeongjo", serif;
  font-size: 32px;
  font-weight: 700;
}

a {
  color: #000;
}

.ft-bold {
  font-weight: 700;
}

.color-white {
  color: #fff;
}

.container {
  max-width: 100%;
  position: relative;
}

/* ##### header ##### */
#main-header {
  width: 100vw;
  height: 80px;
  position: fixed;
  top: 0;
  background: #fff;
  z-index: 9999;
  border-bottom: 0.5px solid #ccc;
}

#main-header .container {
  width: 100%;
  height: 100%;
  display: flex;
  padding: 0 20px;
  justify-content: space-between;
  align-items: center;
}

#main-header h1 img {
  width: 115px;
}

#gnb {
  display: none;
}

/* ##### site-map ##### */

#site-map {
  position: fixed;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  top: 0;
}

#site-map .container {
  position: relative;
  width: 100%;
  background-image: url(../images/sitemap-bg-mob.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  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: 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: 45px;
}

#site-map .site-map-menu .depth2 {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

#site-map .site-map-menu .depth2 > li > a {
  font-size: 16px;
  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;
}

/* ##### main-visual ##### */
#main-visual {
  height: 740px;
  background: #000;
}

#main-visual .container {
  height: 100%;
  background-image: url("../images/main-visual-1.jpg");
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  margin-bottom: 50px;
  transition: 1.5s;
}

#main-visual h1 {
  color: #fff;
  text-align: center;
  line-height: 2em;
}

#main-visual .main-visual-line {
  background: #fff;
  height: 1px;
  width: 80px;
  display: inline-block;
  position: relative;
  bottom: 5px;
}

/* ##### section1 ##### */
.section1 .container {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 50px 20px;
  justify-content: space-between;
}

/* 공지사항 */
.section1 .notice-box {
  width: 100%;
  position: relative;
  margin-bottom: 20px;
}

.section1 .notice-box .notice-title-list {
  border-bottom: 0.3px solid #888;
  margin-bottom: 10px;
}

.section1 .notice-box .notice-title-list li {
  display: inline-block;
  margin-right: 30px;
  padding: 5px;
  cursor: pointer;
}

.section1 .notice-box .notice-title-list li.active {
  font-weight: 700;
  border-bottom: 3px solid var(--main-color);
}

.section1 .notice-box .btn-plus {
  width: 30px;
  height: 30px;
  font-size: 20px;
  color: #888;
  border: 1px solid #888;
  background: #fff;
  position: absolute;
  top: 0px;
  right: 0px;
  cursor: pointer;
}

.section1 .notice-box .notice-list {
  font-size: 14px;
}

.section1 .notice-box .notice-list li {
  height: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  gap: 10px;
}

.section1 .notice-box .notice-list li:last-child {
  margin-bottom: 0px;
}

.section1 .notice-box .notice-list a {
  line-height: 30px;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.section1 .notice-box .notice-list b {
  font-size: 13px;
  border: none;
  background: #d9534f;
  color: #fff;
  margin-right: 5px;
  padding: 3px 7px;
  /* border-radius: 5px; */
}

.section1 .notice-box .notice-list .notice-date {
  width: 80px;
  text-align: right;
  white-space: nowrap;
}

/* 공지사항 전환 */
.section1 .notice-list {
  display: none;
}

.section1 .notice-list.active {
  display: block;
}

/* 학사일정 */
.section1 .schedule-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 20px;
  box-shadow: 4px 4px 5px #ccc;
  border-radius: 10px;
}

/* 학사일정-달력 */
.section1 .schedule-box .calendar-box {
  position: relative;
  padding-bottom: 20px;
  border-bottom: 0.1px solid #ccc;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section1 .schedule-box .btn-month {
  padding: 5px 5px 2px;
  border: none;
  color: #000;
  font-size: 15px;
  text-align: left;
  background: none;
  border-bottom: 5px solid var(--main-color);
}

.section1 .schedule-box .calendar {
  font-size: 12px;
  width: 250px;
  text-align: center;
  margin-top: 10px;
  line-height: 23px;
}

.section1 .schedule-box .calendar th,
td {
  width: calc(100% / 7);
}

.section1 .schedule-box .calendar th {
  font-weight: 400;
}

.section1 .schedule-box .calendar td {
  cursor: pointer;
  position: relative;
}

.section1 .calendar .sat {
  color: #17a1fa;
}

.section1 .calendar .sun {
  color: #d9534f;
}

.section1 .calendar td.choosed {
  border-radius: 15px;
  background: rgba(0, 102, 64, 0.2);
}

.section1 .calendar td.something::after {
  content: "·";
  font-size: 20px;
  font-weight: 700;
  color: var(--main-color);
  position: absolute;
  top: 10px;
  left: calc(50% - 3px);
}

/* 학사일정-세부일정 */
.section1 .schedule-box .schedule-list {
  height: 250px;
}

/* .section1 .schedule-box .schedule-list .schedule-date {
  margin-top: 15px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.section1 .schedule-box .schedule-list .schedule-date button {
  background: none;
  border: none;
} */

.section1 .schedule-box .schedule-list > a {
  display: inline-block;
  padding: 15px 5px 5px;
  text-align: center;
  color: #000;
  line-height: 21px;
  border-bottom: 5px solid var(--main-color);
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 15px;
}

.section1 .schedule-box .schedule-list > ul {
  font-size: 14px;
}

/* ##### section2 ##### */
/* 연습실 예약 */
.section2 .container {
  padding: 0px;
}

.section2 .reservation-banner {
  width: 100%;
  position: relative;
}

.section2 .reservation-banner > img {
  width: 100%;
  filter: blur(2px);
}

.section2 .reservation-banner .reservation-link {
  color: #fff;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-shadow: 0px 1px 4px #000;
  gap: 5px;
}

.section2 .reservation-banner .reservation-link > h2 {
  position: relative;
}

.section2 .reservation-banner .reservation-link > h2::before {
  content: "Reservation";
  font-family: "crimson text", serif;
  font-size: 100px;
  color: rgba(255, 255, 255, 0.3);
  position: absolute;
  left: -30px;
  top: 50px;
  text-shadow: none;
}

.section2 .reservation-banner .reservation-link > p {
  font-size: 14px;
  margin-bottom: 15px;
}

.section2 .reservation-banner .reservation-link > .btn-reservation {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 7px 10px;
  border: 0.5px solid #fff;
  font-weight: 700;
  color: #fff;
  font-size: 14px;
  text-shadow: none;
}

/* ##### section3 ##### */
/* 전공 안내 */

.section3 .container {
  padding: 50px 20px;
}

.section3 .classes {
  position: relative;
  width: 100%;
  margin-bottom: 70px;
}

.section3 .classes img {
  width: calc(100% - 50px);
  position: relative;
}

.section3 .classes h3 span {
  font-size: 64px;
  position: relative;
  bottom: 10px;
}

.section3 .classes p {
  font-family: "Nanum Myeongjo", serif;
  line-height: 1.5em;
}

/* korean-dance */

.section3 .korean-dance img {
  position: relative;
  left: 50px;
}

.section3 .korean-dance::before {
  content: "";
  width: calc(100% - 50px);
  height: calc(100vw - 90px);
  background: rgba(0, 102, 64, 0.8);
  position: absolute;
  top: 50px;
  z-index: -1;
}

.section3 .korean-dance .text-box {
  text-align: center;
  position: relative;
  margin-top: 60px;
}

.section3 .korean-dance h3 {
  position: absolute;
  left: 60px;
  top: -90px;
  color: #fff;
}

.section3 .korean-dance h3::before {
  content: "K";
  font-family: "crimson text", serif;
  font-size: 128px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.1);
  position: absolute;
  top: -50px;
  left: -60px;
}

.section3 .korean-dance h3::after {
  content: "orean Dance";
  font-family: "crimson text", serif;
  font-size: 48px;
  font-weight: 700;
  width: 300px;
  color: rgba(0, 0, 0, 0.1);
  position: absolute;
  top: 25px;
  left: 7px;
}

/* modern-dance */
.section3 .classes.modern-dance {
  display: flex;
  flex-direction: column;
}

.section3 .classes.modern-dance img {
  order: 1;
}

.section3 .modern-dance::before {
  content: "";
  width: calc(100% - 50px);
  height: calc(100vw - 90px);
  background: #dad6bc;
  position: absolute;
  top: 50px;
  left: 50px;
  z-index: -1;
}

.section3 .modern-dance .text-box {
  order: 2;
  text-align: center;
  position: relative;
  margin-top: 60px;
}

.section3 .modern-dance h3 {
  position: absolute;
  right: 50px;
  top: -85px;
  color: #fff;
  z-index: 2;
}

.section3 .modern-dance h3::before {
  content: "M";
  font-family: "crimson text", serif;
  font-size: 128px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.1);
  position: absolute;
  top: -50px;
  left: -140px;
}

.section3 .modern-dance h3::after {
  content: "odern Dance";
  font-family: "crimson text", serif;
  font-size: 48px;
  font-weight: 700;
  width: 300px;
  color: rgba(0, 0, 0, 0.1);
  position: absolute;
  top: 25px;
  left: -50px;
  z-index: -1;
}

/* ballet */
.section3 .classes.ballet {
  margin-top: 100px;
  margin-bottom: 0;
}

.section3 .ballet::before {
  content: "";
  width: calc(100% - 50px);
  height: calc(100vw - 90px);
  background: #ffdbdd;
  position: absolute;
  top: -50px;
  left: 50px;
  z-index: -1;
}

.section3 .ballet .text-box {
  text-align: center;
  position: relative;
  margin-top: 10px;
}

.section3 .ballet h3 {
  position: absolute;
  left: 50px;
  top: -90px;
  color: #fff;
}

.section3 .ballet h3::before {
  content: "B";
  font-family: "crimson text", serif;
  font-size: 128px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.2);
  position: absolute;
  top: -50px;
  left: 40px;
}

.section3 .ballet h3::after {
  content: "allet";
  font-family: "crimson text", serif;
  font-size: 48px;
  font-weight: 700;
  width: 300px;
  color: rgba(255, 255, 255, 0.2);
  position: absolute;
  top: 25px;
  left: 10px;
}

/* ##### section4 ##### */
/* 퀵메뉴 */
.section4 .container {
  padding: 50px 20px 0;
}

.section4 .quick-menu {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.section4 .quick-menu li {
  width: 70px;
  height: 70px;
  font-size: 10px;
  text-align: center;
  border-radius: 20px;
  box-shadow: 4px 4px 5px #ccc;
  padding: 8px 0;
}

.section4 .quick-menu li:nth-child(2),
.section4 .quick-menu :nth-child(3) {
  padding-bottom: 15px;
}

.section4 .quick-menu li a {
  width: 100%;
  height: 100%;
  color: var(--main-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.section4 .quick-menu li img {
  width: 25px;
}

.section4 .quick-menu li p {
  line-height: 1.2em;
}

/* ##### 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;
}
