body{overflow-x: hidden;}

#banner {
  top: 0;
  left: 0;
  padding-top: 100px;
  background: url(../img/2_performance_info/backgrounds.png) no-repeat center/cover;
}

#header .menu> :nth-child(2) {
  color: #9c62ff;
}

/* ★ 1. 공연정보 섹션 */
/* (1) 장르 선택박스 */
#banner .genre {
  width: 100%;
  display: flex;
  padding: 10px 100px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  color: #f5f5f7;
  margin: 50px 0;
}

#banner p {
  color: #f5f5f7;
}

#banner .banner_text {
  display: flex;
  align-items: center;
  font-size: 48px;
  font-weight: 700;
  margin: 50px;
}

#banner .banner_text span {
  margin-left: 100px;
  font-size: 20px;
  font-weight: 500;
}


#banner .box {
  width: 100px;
  font-size: 20px;
  display: flex;
}

#banner .box2 {
  height: 30px;
}

#banner .box3 {
  width: 70%;
  flex-wrap: wrap;
  font-size: 14px;
  margin-left: 30px;
  gap: 5px 10px;
}

#banner .tab {
  display: flex;
  padding: 8px 30px;
  border-radius: 40px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5);
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
}

#banner .toggle_area {
  display: flex;
}

#banner input[type="radio"]:checked+.tab {
  background-color: var(--primary_color);
}

/* (2) 공연정보 포스터 그리드 */
#banner .poster_grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 30px;
  padding: 5%;
}
#banner .poster_grid .item {
  color: #f5f5f7;
  transition: 1s;
}

/* 포스터 이미지 박스: 비율 고정 */
#banner .poster_grid .item_img {
  border-radius: 10px;
  overflow: hidden;
}

/* 이미지가 박스를 꽉 채우게 */
#banner .poster_grid .item_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 호버 효과 */
#banner .poster_grid .item_img:hover {
  box-shadow: 0 0 20px 0 rgba(201, 201, 201, 0.5);
  transform: scale(1.03);
  filter: saturate(1.3);
}

#banner .poster_grid .item_desc {
  padding: 20px;
  font-size: 16px;
  font-weight: 300;
  color: #f5f5f7;
  line-height: 25px;
}

#banner .poster_grid .item_date,
#banner .poster_grid .item_place {
  color: #dadada;
}

#banner .poster_grid .item_title {
  font-size: 24px;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 10px;
}

/* (3) 하단 페이지 */
#banner .page input[type="radio"] {
  display: none;
}

#banner .page {
  display: flex;
  justify-content: center;
  color: #d6d6d6;
  gap: 10px;
  cursor: pointer;
  text-align: center;
}

#banner .page .number {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  transition: all 0.2s ease;
}

#banner .page input[type="radio"]:checked+.number {
  background-color: var(--primary_light3);
  color: #f5f5f7;
  font-weight: bold;
  align-items: center;
}

@media (max-width: 1080px) {
  #banner .box {
    width: auto;
  }

  #banner .genre {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 50px auto;
    padding: 20px;
    width: 100%;
    transition: all 0.4s ease;
  }

  #banner .poster_grid{
        grid-template-columns: repeat(3, 1fr);
  }

  /* ‘장르’ 텍스트 + 화살표 */
  #banner .genre_title {
    position: relative;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    text-align: center;
  }

  #banner .genre_title::after {
    content: "expand_more";
    font-family: "Material Symbols Outlined";
    /* 구글 머티리얼 아이콘 */
    display: block;
    text-align: center;
    font-size: 24px;
    margin-top: 6px;
    transition: transform 0.4s ease;
  }

  /* box2, box3 영역 기본 상태 (닫힘) */
  #banner .toggle_area {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: all 0.4s ease;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* 체크되면 toggle_area 펼쳐짐 */
  #genre_toggle:checked~.toggle_area {
    max-height: 500px;
    opacity: 1;
  }

  /* 화살표 회전 (닫힘 ↔ 펼침) */
  #genre_toggle:checked+.box .genre_title::after {
    content: "expand_less";
    transform: rotate(180deg);
  }

  /* box2, box3 공통 스타일 */
  #banner .box2,
  #banner .box3 {
    width: auto;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    transition: all 0.5s ease;
    margin-top: 20px;
  }

  #banner .tab {
    font-size: 14px;
    padding: 6px 20px;
  }

  /* box3 하단 닫기 화살표 */
  #banner .box3::after {
    display: none;
  }

  /* 닫힌 상태에서는 하단 화살표 숨김 */
  #genre_toggle:not(:checked)~.toggle_area .box3::after {
    display: none;
  }
}
@media (max-width:860px){
    #banner .poster_grid{
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 10px;
        padding: 0;
        justify-content: center;
  }
  #banner .poster_grid .item_title{
    font-size: 18px;
  }
  #banner .poster_grid .item_desc{
    padding: 0;
  }
  #banner .poster_grid .item_desc{
    font-size: 15px;
  }
}
@media (max-width: 1050px) {
  #banner .banner_text span {
    margin-left: 20px;
  }
}
/* 공연정보 반응형 스타일 */
@media (max-width: 1560px) {
  #banner .tab {
    padding: 8px 10px;
  }
}

@media (max-width:760px){
  #banner .banner_text span {
    display: block;
    margin-left: 0;
    margin-top: 20px;   
  }
  #banner .genre {
    width: 100%;
  }
      #banner .box2, #banner .box3 {
        margin: 10px 0;
      }
 
}

/* ★ 2. 공연예술조사 타이틀 섹션 */
#performance_survay {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-bottom: 80px;
  background-color: #00040A;
}

#performance_survay .survay_img img {
    border-radius: 80px;
}


@media (max-width:760px){
#performance_survay .survay_img img  {
    height: 600px;
  }
}


#performance_survay .survay_title {
  position: absolute;
  top: 30%;
  right: 10%;
  color: #f5f5f7;
  font-size: 100px;
  font-weight: 500;
  letter-spacing: -2px;
}

#performance_survay .survay_title_eng {
  font-size: 25px;
  font-weight: 300;
  position: absolute;
  right: 2%;
  margin-top: 20px;
}


/* ★ 3. 공연예술조사 슬라이드 */
#performance_slide {
  position: relative;
  margin-bottom: 80px;
  margin-top: 50px;
  background-color: #fff;
  padding-top: 0;
}

#performance_slide .text_wrap .sub_title {
  margin-top: 80px;
}



/* 슬라이드 영역 */
#performance_slide .survay_slide {
  width: 80%;
  margin-top: 80px;
}

/* 카드 스타일 */
#performance_slide .survay_container .survay_item {
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  cursor: pointer;
  position: relative;
  transition: 0.3s;
}

#performance_slide .survay_container .survay_item:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
}

#performance_slide .survay_container .survay_item img {
  width: 100%;
  display: block;
  border-radius: 20px;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.15);
}

#performance_slide .survay_item p {
  position: absolute;
  color: #f5f5f7;
  font-size: 26px;
  font-weight: 700;
  top: 60px;
  left: 40px;
}


#performance_slide .control_btn {
  position: absolute;
  top: 62%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1400px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

#performance_slide .control_btn span {
  font-size: 50px;
  color: #ccc;
}

/* 버튼 안 아이콘 */
#performance_slide .control_btn .material-symbols-outlined {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  width: 80px;
  height: 80px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  color: #ffffff;
  transition: 0.3s;
}


/* ★ 4. 공연뉴스 타이틀 섹션 */
#news_title {
  width: 100%;
  border-radius: 150px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  padding-bottom: 0;

}

#news_title .survay_img img {
  height: 80%;
  border-radius: 80px;
}


@media (max-width:760px){
  #news_title .survay_img img {
    height: 600px;
  }
}

#news_title .survay_title {
  position: absolute;
  top: 30%;
  left: 10%;
  color: #f5f5f7;
  font-size: 100px;
  font-weight: 500;
  letter-spacing: -2px;
}

#news_title .survay_title_eng {
  font-size: 25px;
  font-weight: 300;
  position: absolute;
  left: 2%;
  margin-top: 20px;
}


/* ★ 5. 공연 뉴스 테이블 섹션 */
#news_table {
  height: 100vh;
  position: relative;
  background-color: #fff;
}
#news_table .inner{
  display: flex;
  justify-content: space-between;
}
/* (2) 테이블 */
.table_wrap {
  border-collapse: collapse;
  border-top: 3px solid #3a3a3a;
}

.table_wrap tr {
  height: 160px;
}

.table_wrap tr:hover {
  background-color: var(--primary_light1);
}

.table_wrap tr .title {
  font-size: 25px;
  font-weight: 500;
  padding-left: 16%;
  color: #1c1c1c;
}

.table_wrap tr .title .desc {
  font-size: 17px;
  font-weight: 300;
  margin-top: 50px;
}

.table_wrap th,
.table_wrap td {
  border-bottom: 2px solid #d6d6d6;
}

.table_wrap tr .date {
  font-size: 50px;
  padding-left: 50px;
  text-align: center;
  font-weight: 400;
}

.table_wrap tr span {
  font-size: 25px;
  color: #aaaaaa;
}

.table_wrap tr .desc {
  font-size: 17px;
  color: #888888;
}

.table_wrap caption {
  font-size: 20px;
  font-weight: 600;
  margin-top: 20px;
}


/* ★ 6. 발간 자료 타이틀 섹션 */
#data_title {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  padding-bottom: 0;
  border-radius: 150px;
}

#data_title .survay_img img {
  height: 80%;
    border-radius:80px;
}

@media (max-width:760px){
  #data_title .survay_img img {
    height: 600px;
  }
}


#data_title .survay_title {
  position: absolute;
  top: 30%;
  right: 10%;
  color: #f5f5f7;
  font-size: 100px;
  font-weight: 500;
  letter-spacing: -2px;
}

#data_title .survay_title_eng {
  font-size: 25px;
  font-weight: 300;
  position: absolute;
  right: 2%;
  margin-top: 20px;
}



/* ★ 7. 발간 자료 테이블 섹션 */
#data_table {
  height: 100vh;
  position: relative;
  width: 100%;
  background-color: #fff;
}

#data_table .inner{
  display: flex;
  justify-content: space-between;
}
.table_wrap{width: 70%;}
footer{
 
  height: 80vh;
  background-color: #fff;
  position: relative;
  z-index: 9999;
  margin-top: 0px;

}

@media (max-width:1280px){

  #performance_slide{
    margin-bottom: 100px;
  }
  #news_table .inner{
    margin-top: 50px;
  }
  #data_title{
    margin-top: 100px;
  }
  #data_table{
    margin-top: 50px;
  }
}
@media (max-width:1024px){
  #news_table .inner{
    flex-direction: column;
  }
  #data_table .inner{
    flex-direction: column;
  }
    .table_wrap{
    width: 100%;
    margin-top: 50px;
  }
  #news_table{
    height: auto;
  }
  #data_table{
    height: auto;
  }
   #performance_survay{
height: auto;
   }

  #performance_survay .survay_title{
    font-size: 60px;
    top: 35%;
  }
  #news_title .survay_title{
    font-size: 60px;
  }
  #data_title .survay_title{
    font-size: 60px;
  }
}
 
@media (max-width:520px){
  #performance_slide .control_btn{
    width: 95%;
  }
  #performance_slide .control_btn .material-symbols-outlined{
    width: 50px; height: 50px;
    font-size: 20px;
  }
  .table_wrap tr .date{
    font-size: 30px;
  }
  .table_wrap tr .title{
    font-size: 20px;
  }
  .table_wrap tr span{
    font-size: 18px;
  }
  .table_wrap tr .title .desc{
    font-size: 15px;
  }
  .sub_title{
    margin: 0;
    font-size: 36px;
  }
}
