@charset "UTF-8";

/* 원스토어체 */
@font-face {
  font-family: 'ONE-Mobile-POP';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2105_2@1.0/ONE-Mobile-POP.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

html,
body {
  width: 100%;
  height: 100%;
  min-width: 1300px;
}

/* width 1200 */
.w1120 {
  max-width: 1120px;
  margin: 0 auto;
}

.music_ele {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  /* overflow: hidden; */
  position: relative;
  min-height: 100%;
}

.all_container {
  /* display: flex;
    flex-direction: column;
    justify-content: space-between; */
  width: 100%;
  height: 100%;
}

.header {
  position: relative;
  z-index: 5;
  height: 100px;
  background-color: #FFFFFF;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.head {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  padding: 20px 0;
}

.head_container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.head_t {
  font-weight: 800;
  font-size: 50px;
  line-height: 60px;
  color: #3D302C;
  margin-left: 33px;
  font-family: 'ONE-Mobile-POP';
  font-weight: 400;
}

/* 학년 탭 */
.music_ele .tab {
  height: 100px;
  background-color: #FFD600;
}

.music_ele .tab_container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 100%;
  gap: 25px;
}

.music_ele .tab_btn {
  background-color: #ffffff;
  border-radius: 50px;
}

.music_ele .tab_t {
  font-weight: 900;
  font-size: 33px;
  color: #857F7F;
  display: block;
  cursor: pointer;
  padding: 15px 15px;
}

/* addClass*/
.music_ele .tab_btn.active {
  background-color: #FF951A;
}

.music_ele .tab_btn.active .tab_t {
  color: #ffffff;
}

/* hover */
.music_ele .tab_btn:hover {
  background-color: #FF951A;
}

.music_ele .tab_btn:hover .tab_t {
  color: #ffffff;
}

/* 컨텐츠 */
.music_ele .contents {
  position: relative;
  z-index: 5;
  /* height: 82%; */
  height: auto;
  min-height: calc(100% - 307px);
  padding-bottom: 107px;
}

.contents .container {
  padding: 15px 0 36px;
}

.music_ele .main_container {
  height: 100%;
  /* margin-top: 28px;
    margin-bottom: 44px; */
  /* display: flex;
  justify-content: flex-start; */
}

/* 단원 버튼 */
.music_ele .left_container {
  /* width: 205px; */
  /* margin-right: 20px; */
  /* display: flex; */
  border-bottom: 1px solid #868686;
  width: 100%;
  /* height: 50px; */
}

.music_ele .btn_box {
  display: flex;
  /* width: 100%; */
  align-content: center;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}

.music_ele .btn_box .cate_btn {
  display: flex;
  justify-content: center;
  /* height: 84px; */
  /* background-color: #D9D9D9; */
  /* border-radius: 25px; */
  /* margin-bottom: 24px; */
  align-items: center;
  font-size: 24px;
  color: #857F7F;
  padding: 10px 0;
  font-family: 'S-CoreDream-5Medium';
}

.music_ele .btn_box .cate_btn.active {
  font-family: 'S-CoreDream-7ExtraBold';
}

.music_ele .btn_box .cate_btn:hover {
  font-family: 'S-CoreDream-7ExtraBold';

}

/* .music_ele .btn_box .cate_t {
  display: block;
  font-weight: 800;
  font-size: 24px;
  line-height: 28px;
  color: #857F7F;
  margin-left: 16px;
  text-align: center;
} */

/* 음악리스트 */
.music_ele .right_container {
  padding-top: 30px;
}

.music_ele .music_box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.music_ele .music_box .music_ct {
  /* height: 218px; */
  /* padding: 11px 8px; */
  border-radius: 22px;
  padding: 15px 10px;
}

.music_ele .music_box .num_box {
  border-radius: 15px;
  width: 90px;
  padding: 8px 0;
  text-align: center;
  font-weight: 800;
  font-size: 22px;
  text-align: center;
  color: #ffffff;
}

.music_ele .music_box .num {}

.music_ele .music_box .t_box {
  margin: 14px 0;
}

.music_ele .music_box .unit_t {
  display: block;
  font-weight: 800;
  font-size: 24px;
  text-align: justify;
  color: #3D302C;
}

.music_ele .music_box .music_list {
  display: flex;
  flex-wrap: wrap;
  grid-gap: 9px;
  width: 100%;
}

.music_ele .music_box .music_list>li {
  width: 100%;
}

.music_ele .music_box .music_btn {
  display: flex;
  font-weight: 600;
  /* font-size: 22px; */
  font-size: 1.29em;
  color: #3D302C;
  padding: 8px 0;
  background-color: #ffffff;
  border-radius: 22px;
  justify-content: center;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

/* .music_ele .music_box .column {
  flex-direction: column;
  gap: 10px;
  padding: 10px 0;
  gap: 15px;
} */

.music_ele .music_box .music_btn p {
  font-size: 20px;
  font-size: 14px;
  margin-left: 10px;
}

.music_ele .music_box .music_btn p span {
  border-radius: 15px;
  color: #3D302C;
  padding: 3px 10px;
  margin-right: 7px;
}

.music_ele .music_box .music_btn span {
  border-radius: 20px;
  color: #3D302C;
  padding: 10px 1px;
  margin-right: 7px;
  margin-left: 7px;
  font-size: 14px;
  background-color: #D9D9D9;
  color: #000000 !important;
  width: 88px;
}


.ele_container {
  display: none;
}

.ele_container.active {
  display: block;
}

.ab_box {
  display: none;
}

.ab_box.active {
  display: block;
}

.popup {
  display: none;
  /* 처음에는 보이지 않음 */
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* 회색 배경 */
  justify-content: center;
  align-items: center;
  pointer-events: auto;
}

.popup_content {
  background-color: #F4C720;
  padding: 4px;
  border-radius: 10px;
  text-align: center;
  position: relative;
  /* max-width: 500px; */
  /* width: 90%; */
  width: auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  pointer-events: auto;
}

.close {
  cursor: pointer;
  font-size: 40px;
  position: absolute;
  /* padding: 10px; */
  right: -11px;
  top: -11px;
}

.margin {
  /* margin-right: 7px;
  margin-left: 10px; */
  margin-right: 0px !important;
}

.margin2 {
  margin-left: 4px !important;
}

/* 각 학년별 색깔 */
/* 3학년 */
.music_ele .ele_03 .btn_box .cate_btn:hover {
  color: #FD6B51;
}

.music_ele .ele_03 .btn_box .cate_btn.active {
  border-bottom: 3px solid #FD6B51;
  color: #FD6B51;

}

.music_ele .ele_03 .music_box .num_box {
  background-color: #FD6B51;
}

.music_ele .ele_03 .music_box .music_ct {
  background-color: #FFDCD6;
}

.music_ele .ele_03 .music_box .music_btn:hover {
  color: #ffffff;
  background-color: #FD6B51;
}

/* 4학년 */
/* .music_ele .ele_04 .btn_box .cate_btn:hover,
.music_ele .ele_04 .btn_box .cate_btn:focus {
  background-color: #6F9A13;
} */

.music_ele .ele_04 .btn_box .cate_btn:hover {
  color: #6F9A13;
}

.music_ele .ele_04 .btn_box .cate_btn.active {
  border-bottom: 3px solid #6F9A13;
  color: #6F9A13;
}

.music_ele .ele_04 .music_box .num_box {
  background-color: #6F9A13;
}

.music_ele .ele_04 .music_box .music_ct {
  background-color: #D7F0A2;
}

.music_ele .ele_04 .music_box .music_btn:hover {
  color: #ffffff;
  background-color: #6F9A13;
}

/* 5학년 */

.music_ele .ele_05 .btn_box .cate_btn:hover {
  color: #1B7FC7;
}

.music_ele .ele_05 .btn_box .cate_btn.active {
  border-bottom: 3px solid #1B7FC7;
  color: #1B7FC7;
}

.music_ele .ele_05 .music_box .num_box {
  background-color: #1B7FC7;
}

.music_ele .ele_05 .music_box .music_ct {
  background-color: #B4E4FF;
}

.music_ele .ele_05 .music_box .music_btn:hover {
  color: #ffffff;
  background-color: #1B7FC7;
}

/* 6학년 */

.music_ele .ele_06 .btn_box .cate_btn:hover {
  color: #916AE3;
}

.music_ele .ele_06 .btn_box .cate_btn.active {
  border-bottom: 3px solid #916AE3;
  color: #916AE3;

}

.music_ele .ele_06 .music_box .num_box {
  background-color: #916AE3;
}

.music_ele .ele_06 .music_box .music_ct {
  background-color: #DBCDFA;
}

.music_ele .ele_06 .music_box .music_btn:hover {
  color: #ffffff;
  background-color: #916AE3;
}


/* 푸터 */
.footer {
  background-color: #5B5B5B;
  /* 하단 고정 */
  /* position: fixed;
    bottom: 0; */
  width: 100%;
  z-index: 200;
  position: relative;
  transform: translateY(-100%);
}

.foot {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  /* height: 100%; */
  height: 97px;
}

.logo_container {
  margin-right: 25px;
}

.foot_container strong {
  color: #ffffff;
  margin-bottom: 5px;
  display: block;
}

.foot_container p {
  font-size: 14px;
  line-height: 1.4;
  color: #ffffff;
}