/*main*/
#section {display: flex;gap: 1.5rem;align-items: center;justify-content: center;flex-shrink: 0; flex-direction: column;margin: 0 auto;height: calc(100vh - 120px);transition: all .5s ease-in-out; }
#section .top_sec strong { font-family: LG El Headline;font-size: 60px; font-weight: 700; line-height: 80.4px;}
#section .bottom_sec {display:flex;gap:1.5rem;}

#section .sec01 .kv img{border-radius: 0.875rem;}
/* 1600px 이상은 크기 지정이 없어 이미지 원본 크기로 나왔다(기존 배너는 원본이 916px 라 드러나지 않음).
   디자인 kv 916×553 으로 고정한다. 1599px 이하는 main.css 가 배경으로 따로 그리므로 건드리지 않는다. */
@media (min-width: 1600px) {
  #section .sec01 .kv img{display: block;width: 57.25rem;height: 34.5625rem;object-fit: cover;}
}

#section .sec02 button{padding: 0 0.875rem;border:none;height: 6.5rem;color:#fff;border-radius: 3.25rem;}
#section .sec02 .reservationBtn{display: flex;gap: 1rem;justify-content: space-between;}
#section .sec02 .reservationBtn .check{width:11rem;background: #70737C;}
#section .sec02 .reservationBtn .vip{width: 17.8125rem;background: #EA1917;}
#section .sec02{display: inline-grid;gap: 1.5rem;flex-shrink: 0;}

#section .sec02 .noti{display: flex;gap: 1.5rem;align-items: flex-start;flex: 1 0 0;align-self: stretch;flex-direction: column;padding: 1.5rem;width: 30rem;height: 425px;background: var(--Neutral-99, #F7F7F8);border-radius: 0.875rem;}
#section .sec02 .noti .notiWrap{padding:0 0.5rem;width:100%;}
#section .sec02 .noti .notiTitle{display: flex;justify-content: space-between;margin-bottom: 0.75rem;cursor: pointer;}
#section .sec02 .noti .notiTitle .rightArrrow{cursor: pointer;}
#section .sec02 .noti .notiList{display: flex;gap: 1.33rem;align-items: flex-start;flex-direction: column;padding-top: 1.5rem;border-top: 1px solid #DBDCDF;}
#section .sec02 .noti .notiList li{display: flex;gap: 0.5rem;align-items: center; /* 세로축 기준 하단 정렬 */justify-content: space-between;width:100%;height: 1.1875rem;}
#section .sec02 .noti .notiList li a{overflow: hidden;width: 100%;max-width: 21rem;color: #171719;white-space: nowrap;text-overflow: ellipsis;}
#section .sec02 .noti .notiList li span{overflow: hidden;width: calc(100% - 21rem);vertical-align: middle;font-size: 0.875rem;color:#70737c;white-space: nowrap;text-overflow: ellipsis;}

/*이메일 인증*/
/* he 241018 margin-top 추가 */
.emailWrap{display: flex;gap:9vw;align-items: center;justify-content: center;min-height: calc(100vh - 116px);}
/* he 241021 width 값 수정 */
.emailWrap .emailCon{width: 23.825rem;}
.emailWrap .emailCon h1{ margin-bottom: 1.875rem;text-align: center;}
/* 이메일 입력 행. 입력칸이 남는 폭을 모두 먹고 버튼은 73px 고정이다. */
.emailWrap .emailCon .inputWrap {display: flex; gap:0.5rem; align-items: flex-start; margin-bottom: 0.5rem;}
.emailWrap .emailCon .inputWrap .emailInput{ flex:1 1 auto; min-width:0; padding:0 1rem; border:1px solid #DBDCDF; height: 2.625rem; background: #fff; color:#171719; border-radius: 0.5rem;}
/* box-sizing 을 content-box 로 두면 73px 에 좌우 padding·border 가 더 붙어 99px 가 된다. */
.emailWrap .emailCon .inputWrap .requestbtb{ flex:0 0 auto; box-sizing: border-box; padding: 0 0.5rem; border:1px solid #DBDCDF; width: 4.5625rem; height: 2.625rem; background: #fff; color:#171719; border-radius: 0.5rem;}
.emailWrap .emailCon .inputWrap .emailInput::placeholder,
.emailWrap .emailCon .numberWrap .numberInput::placeholder{color:#989ba2;}
/* 인증번호 묶음. 간격이 두 단계다 — 입력칸과 안내문 사이 6px, 안내문과 문의 안내 사이 8px.
   그래서 .numberField 로 한 겹 더 감싼다. */
.emailWrap .emailCon .numberWrap{display: flex; flex-direction: column; gap: 0.5rem;}
.emailWrap .emailCon .numberField{display: flex; flex-direction: column; gap: 0.375rem; position: relative;}
.emailWrap .emailCon .numberWrap .numberInput{ padding:0 1.125rem; border:1px solid #DBDCDF; width:100%; height: 2.625rem; background: #fff; color:#171719; border-radius: 0.5rem;}
/* 입력칸 오른쪽의 타이머 묶음(연장 버튼 + 남은 시간).
   top 은 입력칸(height:2.625rem)의 세로 중앙이다. */
.emailWrap .emailCon .numberWrap .timerBox{position: absolute; top: 1.3125rem; right: 1.125rem; display: flex; align-items: center; gap: 0.5rem; transform: translateY(-50%);}
.emailWrap .emailCon .numberWrap .counting{color:#fd322e;}
/* 시간연장 버튼. 채움 #ececec / 62x29 / radius 6 / Medium 12(#171719).
   폭은 고정하지 않고 min-width 로 둔다 — 영문 라벨(Extend)이 62px 에서 잘린다. */
.emailWrap .emailCon .numberWrap .extendBtn{display: inline-flex; align-items: center; justify-content: center; min-width: 3.875rem; height: 1.8125rem; padding: 0 0.5rem; border: 0; border-radius: 0.375rem; background: #ececec; color: #171719; cursor: pointer;}
.emailWrap .emailCon .numberWrap .extendBtn:disabled{background: #f7f7f8; color: #989ba2; cursor: default;}
/* 위 규칙의 특정도가 .hidden(0,1,0)보다 높아 display 를 덮는다 — 발송 전에도 버튼이 보였다. */
.emailWrap .emailCon .numberWrap .extendBtn.hidden{display: none;}
.emailWrap .emailCon .numberWrap p{color:#70737c;}
/* 유효시간 안내는 발송 전 중립색, 발송 후 primary 다(시안이 두 상태를 다르게 그린다). */
.emailWrap .emailCon .numberWrap p.timerNotice.on{color:#fd322e;}
.emailWrap .emailCon label{display: flex; gap:0.5rem; margin-top: 1rem; color:#171719;}
.emailWrap .emailCon input[type="checkbox"]{width:1rem; height: 1rem; border-radius: 0.25rem;accent-color: #fd322e;}
/* 문의 안내와 '문의하기' 는 8px 띄우고 아래를 맞춘다. 예전처럼 absolute 로 오른쪽 끝에
   붙이면 본문 길이와 상관없이 혼자 밀려 보인다. */
.emailWrap .emailCon .inquiryWrap{display: flex; gap: 0.5rem; align-items: flex-end;}
.emailWrap .emailCon .inquiry{
  flex: 0 0 auto;
  height: 1.25rem;
  padding: 0.125rem 0;
  border-bottom: 1px solid var(--Line-Strong, #989BA2);
  /* Line-height/12R */
  font-family: Pretendard;
  font-size: 0.75rem;
  line-height: 160%; /* 1.2rem */
  color: var(--Label-Neutral, #70737C);
  letter-spacing: -0.015rem;
  white-space: nowrap;
}
.emailWrap .emailCon .commitBtn{margin-top: 1.5rem;padding:0 0.75rem;width:100%;height: 2.625rem;background: #fd322e;color:#fff;border-radius: 0.5rem}

div.provision{
  padding:40px 32px;
  font-size: 14px;
  line-height: 160%; /* 22.4px */
  text-align:center;
}
div.provision h2{
  margin-bottom:32px;
  font-size: 24px;
}
div.provision_content{
  width: 40vw;
  height: 520px;
  display:flex;
  gap:16px;
  flex-direction:column;
  padding:16px;
  border: 1px solid var(--Line-Normal, #DBDCDF);
  font-size: 14px;
  text-align:center;
  letter-spacing: -0.28px;
  border-radius: 8px;
  overflow-y: scroll;
}
div.provision_content div{
  display: flex;
  gap: 8px;
  flex-direction: column;
  letter-spacing: -0.28px;
}
div.provision div h3{
  font-size: 14px;
  font-weight:normal;
  text-align: left;
}
div.provision  div p{
  text-align: left;
}
div.provision  div p.depth01{
  padding-left: 8px;
}
div.provision  div p.depth02{
  padding-left: 16px;
}

/*예약 신청*/
.reservationWrap{display: flex; align-items: center; justify-content: center;}
.reservationWrap .inner{ padding:5rem 0 5rem 0;width:62.5rem;}
.reservationWrap .inner h1{ margin-bottom: 1.25rem;color:#171719;}
.reservationWrap .inner .explan{color:#37383c;}
.reservationWrap .inner hr{ margin:3.5rem 0 2.5rem 0;border:1px solid #989ba2;width:100%;}
.reservationWrap .inner .reservationCon{display: flex; gap: 2rem; flex-direction: column;}
.reservationWrap .inner .reservationCon .con{display: flex; gap:1rem;}
.reservationWrap .inner .reservationCon .con>p{display: flex; align-items: center; padding-left: 0.375rem; width:7.5rem; min-width: 7.5rem;}
.reservationWrap .inner .reservationCon .con .flexStart{align-items: flex-start; padding: 0.875rem 0rem 0rem 0.375rem;}
.reservationWrap .inner .reservationCon .con input{ padding:0 1rem; border:1px solid #dbdcdf;height: 2.625rem; border-radius: 0.5rem;} 
.reservationWrap .inner .reservationCon .con select{ padding: 0 1rem; border: 1px solid #DBDCDF; outline-style: none;width:11.25rem; height: 2.625rem;background:url(/images/arrowDown.svg) no-repeat 90% 53%;color:#141414;border-radius: 0.5rem;}
.reservationWrap .inner .reservationCon .con select.business,
.reservationWrap .inner .reservationCon .con select.guide{background-position:95% 53%;}
.reservationWrap .inner .reservationCon .con .lastName,
.reservationWrap .inner .reservationCon .con .firstName{width:25rem;}
.reservationWrap .inner .reservationCon .con .inquire{display: flex; gap: 0.5rem; margin-top: 1rem;}
.reservationWrap .inner .reservationCon .con .inquire p,
.reservationWrap .inner .reservationCon .con .inquire span{color:#70737c;}
.reservationWrap .inner .reservationCon .con .inquire span{text-decoration: underline; cursor: pointer;}
.reservationWrap .inner .reservationCon .con .belong, 
.reservationWrap .inner .reservationCon .con .company {width: 40rem;}
.reservationWrap .inner .reservationCon .con .business,
.reservationWrap .inner .reservationCon .con .guide,
.reservationWrap .inner .reservationCon .con .product{width: 25rem;}
.reservationWrap .inner .reservationCon .con .sideInput{width:12.5rem}
.reservationWrap .inner .reservationCon .con .allPeople{ margin-top: 0.375rem;color:#70737c;}
.reservationWrap .inner .reservationCon .con .attendList{ display: flex; gap: 1rem; flex-direction: column;position: relative;}
.reservationWrap .inner .reservationCon .con.relative{position: relative;}
.reservationWrap .inner .reservationCon .con .plusBtn{position: absolute;top: 0.5625rem;right: -1rem;}
.reservationWrap .inner .reservationCon .con .attendList .attendItem{display: flex; gap:1rem; align-items: center;}
.reservationWrap .inner .reservationCon .con .attendList input{width: 9.25rem;}
.reservationWrap .inner .reservationCon .con input[type="radio"]{width:1rem;height: 1rem; accent-color: red;}
.reservationWrap .inner .reservationCon .con .radioWrap{display: flex; gap: 0.38rem; align-items: center; height: 2.625rem;}
.reservationWrap .inner .reservationCon .con textarea{width:54rem; height: 12.5rem;}
.reservationWrap .inner .reservationCon .con .caution{ display: flex; gap:0.3rem; flex-direction: column;}
.reservationWrap .inner .reservationCon .con .caution p{color:#70737c;}
.reservationWrap .inner .commit{ margin-top: 2.5rem; border:1px solid #DBDCDF;width:100%; border-radius: 0.5rem;}
.reservationWrap .inner .commit .agree{display: flex; gap: 0.5rem; align-items: center; padding:1.25rem 1.25rem; background: #fbfbfb; border-radius: 0.5rem 0.5rem 0 0; }
.reservationWrap .inner .commit .agree input[type="checkbox"]{width:1rem;height: 1rem; accent-color: red;}
.reservationWrap .inner .commit .agree label{color:#37383c;}
.reservationWrap .inner .commit .agree span { color:#37383c;text-decoration: underline; cursor: pointer;}
.reservationWrap .inner .commit .reservTime{display: flex; justify-content: space-between; padding:1.25rem 1.8rem;}
.reservationWrap .inner .commit .reservTime .time{display: flex;gap: 0.75rem;align-items: center;}
.reservationWrap .inner .commit .reservTime .time .gray{color:#989ba2;}
.reservationWrap .inner .commit .reservTime .time .black{color:#37383c;}
.reservationWrap .inner .commit .reservTime .time .line{color:#eaebec;}
.reservationWrap .inner .commit .reservTime button{ padding:0 0.75rem;width:7.5rem; height: 2.625rem; background: #fd322e; color:#fff; border-radius: 0.5rem;}
.essential::after{display: inline-block;width:0.375rem;height: 0.875rem;background-image: url('/images/dot.svg'); content: '';}

/*문의하기 팝업*/
.popup {display: none;padding: 2.5rem 2rem;box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.16); position: fixed;top: 50%;left: 50%;z-index: 3;width:35rem; background: #fff;border-radius: 0.75rem;transform: translate(-50%, -50%);}
.popup.on{display: block;}
.popupCon h2{text-align: center;}
.popupCon input{ padding:0 1rem; border: 1px solid #dbdcdf;height: 2.625rem;  background: #fff; border-radius: 0.5rem;}
.inputName,.inputBelong{width: 25rem;}
.popupCon .contactForm{display: flex; gap: 0.75rem; flex-direction: column; margin:1.5rem 0;}
.popupCon .contactForm .inputItem{display: flex; gap: 1rem;}
/* 항목명 칸: 5rem 이면 영문 'Department' 가 넘쳐 그 줄 입력칸만 오른쪽으로 밀렸다 — 6rem 으로 넓히고 줄어들지 않게 둔다 */
.popupCon .contactForm .inputItem p{display: flex;align-items: center;padding:0 0.25rem; width:6rem; flex-shrink: 0;}
.popupCon .contactForm .inputItem textarea{ padding:1rem;width:25rem; height: 12.5rem;}
.popupCon .contactForm .inputItem .inquire{display: flex; align-items: flex-start; padding:0.875rem 0.25rem;}
.popupCon .contactForm .inputItem .emailInput{display: flex; gap: 0.5rem; align-items: center;}
.popupCon .contactForm .inputItem .emailInput input{width:11.6rem; min-width: 0;}
.popupCon .btnWrap button{padding:0 0.75rem;width:7.5rem;height: 2.625rem; border-radius: 0.5rem;}
.popupCon .btnWrap button.cancle{border:1px solid #dbdcdf; background: #fff; color:#171719;}
.popupCon .btnWrap button.sand{background: #fd322e; color:#fff}
.popupCon .btnWrap{display: flex; gap:0.5rem; justify-content: center;} 

/*문의 접수 완료*/
.complete{display: none; padding:2.5rem 2rem; box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.16); position: fixed;top: 50%;left: 50%; z-index: 3; width:22.5rem; background: #fff; transform: translate(-50%, -50%); border-radius: 0.75rem;}
.complete.on{display: block;}
.complete .completeWrap{display: flex; align-items: center;justify-content: center; flex-direction: column; text-align: center;}
.complete .completeWrap h2{ margin-bottom: 0.75rem;color:#171719;}
.complete .completeWrap p{color:#70737c;}
.complete .completeWrap button{ margin-top: 1.5rem; padding:0 0.75rem; border:1px solid #dbdcdf;width: 7.5rem; height: 2.75rem; background:#fff; color:#171719; border-radius: 0.5rem;}

/*서비스 이용약관 팝업*/
.terms{display: none; padding:2.5rem 2rem; box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.16); position: fixed;top: 50%;left: 50%; z-index: 3; width:35rem; height: 37.5rem; background: #fff; transform: translate(-50%, -50%); border-radius: 0.75rem;}
.terms.on{display: block;}
.terms h2{ color:#171719;text-align: center;}
.terms .termsWrap p{ margin:1.5rem 0; padding:1rem; border: 1px solid #DBDCDF;overflow-y: auto; height: 25.4rem; border-radius: 0.5rem;} 
.terms .okbtn{display: flex; justify-content: center;}
.terms .okbtn button{ padding: 0rem 0.75rem;border: 1px solid #DBDCDF;width: 7.5rem;height: 2.625rem;background:#FFF; border-radius: 0.5rem;}

/*사전 예약 신청 완료*/
.wrapper{display: flex;justify-content: center;}
.contWrap{ margin: 10rem 0 5rem 0;width:62.5rem;}
.contWrap .title{margin-bottom: 2.5rem;}
.contWrap .title h1{margin-bottom: 1.25rem;}
.contWrap .title h1,.contWrap .title p{color:#171719;}
.contWrap .title_info{margin-bottom: 3.5rem;}
.contWrap .title_info p{margin-bottom: 0.6rem; color:#37383c;}
.contWrap .info_cont{padding-top: 2.5rem; border-top: 1px solid #989ba2;}
.contWrap .info_cont .compleReserv{margin:2.5rem 0 4rem 0; border-top:1px solid #eaebec; border-bottom:1px solid #eaebec;}
.contWrap .info_cont .compleReserv tbody tr{border-bottom:1px solid #eaebec;}
.contWrap .info_cont .compleReserv tbody tr th{ padding:0.75rem;width:10rem; background: #fbfbfb; color:#70737c;}
.contWrap .info_cont .compleReserv tbody tr td{padding:0.75rem 1rem; color:#171719;}
.contWrap .info_cont .compleReserv tbody .info{border-right: 1px solid #eaebec; width:13.125rem;}
.contWrap .info_cont .compleReserv tbody .info.last{border:none;}
.contWrap .info_cont .myReserv{display: flex; justify-content: center;}
.contWrap .info_cont .myReserv button{padding:0.8125rem 1rem 0.75rem 1rem; border:1px solid #dbdcdf; color:#171719; border-radius: 0.5rem;}


/*공지사항 list*/
.noticeList{ margin:0 auto; padding:10rem 0 5rem 0;width: 62.5rem;}
.noticeList .title h1{ margin-bottom: 1.25rem;color:#171719;}
.noticeList .title p{ margin-bottom: 3.5rem;color:#37383c;}
.noticeList table{table-layout: fixed;}
.noticeList table thead th,
.noticeList table tbody td{padding:0.75rem 0.5rem;}
.noticeList table thead tr{border-bottom:1px solid #989ba2;}
.noticeList table thead th{color:#70737c;}
.noticeList table thead .no{width:6.25rem;}
.noticeList table thead .views{width:9.375rem;}
.noticeList table thead .date{width:12.5rem;}
.noticeList table tbody tr{border-bottom:1px solid #eaebec; cursor: pointer;}
.noticeList table tbody td{ overflow: hidden;width: 34rem; color:#171719; text-align: center; white-space:nowrap; text-overflow: ellipsis; }
.noticeList table tbody td.title{text-align: left;}

/*공지사항 view*/
.noticeView{ margin:0 auto; padding:10rem 0 5rem 0;width: 62.5rem;}
.noticeView .title h1{ margin-bottom: 1.25rem;color:#171719;}
.noticeView .title p{ margin-bottom: 3.5rem;color:#37383c;}
.noticeView .noticeWrap {border-top: 1px solid #989ba2;}
.noticeView .noticeWrap h2{ margin-bottom: 1rem;color:#171719;}
.noticeView .noticeWrap .info {padding:2.5rem 1.25rem;}
.noticeView .noticeWrap .info .date{display: flex; justify-content: space-between;}
.noticeView .noticeWrap .info .date>p{color:#37383c;}
.noticeView .noticeWrap .info .date .views{display: flex; gap:0.5rem; align-items: center;}
.noticeView .noticeWrap .info .date .views p{color:#70737c;}
.noticeView .noticeWrap .info .date .views span{color:#37383c;}
.noticeView .noticeWrap .contents{margin-bottom: 2rem; padding:2.5rem 1.25rem; border-top: 1px solid #eaebec; border-bottom: 1px solid #eaebec;}
.noticeView .noticeWrap .contents p{word-break: break-all;}
.noticeView .listBtn{display: flex; justify-content: center;}
.noticeView .listBtn button{padding:0.81rem 1rem 0.75rem 1rem; border:1px solid #dbdcdf; background: #fff; border-radius: 0.5rem;} 


/* 공통 */
.btnBox {display: flex; gap: 8px; align-items: center; justify-content: center; margin: 30px 0; }
.btn {display: inline-block; padding: 5px 10px; border: 1px solid #000;border-radius: 10px;}
.btn01 {margin-right: 5px;}
.disabled {border: 1px solid #eee; color: #eee; pointer-events: none;}
.none {display:none;}
.width700 { width: 700px;}
.width600 { width: 600px;}
.width500 { width: 500px;}
.width400 { width: 400px;}
.width300 { width: 300px;}
.width200 { width: 200px;}
.width150 { width: 150px;}
.width100 { width: 100px;}
.caption_line { padding: 10px; color:grey; }

.item {
    margin-bottom: 10px;
}

.dim{display: none; position: fixed;top: 0;left: 0;z-index: 2;width: 100%;height: 100%;background: rgba(0, 0, 0, 0.2);}
.dim.on{display: block;}



/* .popupCon {
    display: flex;
    flex-direction: column;
    padding: 20px;
}
.popupCon h2 {
    margin: 20px;
    text-align: center;
}
.popupCon .inputItem{
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
}
.popupCon input{
  padding: 10px 20px;
  font-size: 17px;
  color: black;
  background: #F6F6F6;
  border-radius: 30px;
  margin-right: 10px;
  border:none;
  outline-style: none;
  width: 358px;
}
.popupCon label{
  width: 120px;
  padding-top: 8px;
}
.popupCon textarea{
  padding:20px;
  outline-style: none;
}
.popupCon button{
  padding:15px 25px;
  border-radius: 8px;
  border:none;
  cursor: pointer;
}
button[type="submit"]{
  margin-right: 10px;
}
.popupCon .policy-content {
   width: 80%;
   height: 70%;
   margin: 10px auto;
}
.popupCon .policy-content p{
  height: 200px;
  overflow-y: auto;
}
.policyConBtn {
  display: flex;
  justify-content: flex-end;
  padding: 5px 78px;
}
.policyConBtn button{
  padding:15px 25px;
  border:none;
  border-radius: 8px;
  cursor: pointer;
} */

.contactInfo {
    display: inline-block; /* 텍스트와 아이콘을 인라인 블록으로 표시 */
    position: relative; /* 위치 조정을 위해 relative로 설정 */
}

.contact {
    margin-left: 10px;
}

.contactInfo-icon {
    display: inline-block;
    width: 32px;  /* 아이콘의 너비를 설정 */
    height: 32px;  /* 아이콘의 높이를 설정 */
    background-image: url('/images/tooltip.png');  /* 로컬 이미지 경로 설정 */
    background-position: center;  /* 배경 이미지 위치를 중앙으로 설정 */
    background-size: cover;  /* 배경 이미지 크기를 아이콘 크기에 맞춤 */
}

.contactInfo-text {
    display: none; /* 기본적으로 숨기기 */
    padding: 10px 20px;
    position: absolute;
    top: 50%; /* 부모 요소의 세로 중앙에 배치 */
    left: 110%; /* 아이콘의 오른쪽에 배치, 너비의 110%만큼 떨어져서 위치 */
    z-index: 100;
    width: 300px; /* 필요에 따라 크기 조정 */
    background-color: #999;
    font-size: 12px;
    color: white;
    white-space: nowrap; /* 텍스트가 한 줄로 표시되도록 설정 */
    border-radius: 10px;
    transform: translateY(-50%); /* 세로 중앙 정렬을 보정하기 위해 변환 적용 */
}

.contactInfo:hover .contactInfo-text {
    display: block; /* 마우스를 올렸을 때 보이게 함 */
}

#close-popup {
    display: block;
    margin: 20px auto 0;
    padding: 10px 20px;
    border: none;
    background: #007BFF;
    color: #fff;
    cursor: pointer;
}

#close-popup:hover {
    background: #0056b3;
}

#wrapper .container #sec01 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-align: center;
}
#wrapper .login .container #sec01 .cont_wrap {
  margin: 0 auto;
  max-width: 600px;
  height: auto;
}

#wrapper .login .container #sec01 .contWrap .login_box {
  margin-top: 73px;
}

/*아이디 입력박스*/
#wrapper .login .container #sec01 .contWrap .login_box .form_box {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: space-between;
  width: 550px;
}
#wrapper .login .container #sec01 .contWrap .login_box .form_box label {
  width: 60px;
  font-size: 14px;
  text-align: left;
}

#wrapper .login .container #sec01 .contWrap .login_box .user_id label {
  margin-top :12px;
}

#wrapper .login .container #sec01 .contWrap .login_box .user_id .inputBox p {
  margin-top: 5px;
  font-size: 14px;
  text-align: left;
}


/*인풋 박스*/
#wrapper .container #sec01 .contWrap input[type=text],
#wrapper .container #sec01 .contWrap input[type=password],
#wrapper .container #sec01 .contWrap .formInput {
  margin-right: 10px;
  padding: 10px 20px;
  background: #F6F6F6;
  font-size: 17px;
  color: black;
  border-radius: 30px;
}


#wrapper .container #sec01 .contWrap input:read-only {
  color: #C5C5C5;
}


/*비밀번호 입력박스*/
#wrapper .login .container #sec01 .contWrap .login_box .user_pw,
#wrapper .login .container #sec01 .contWrap .login_box .user_email {
  margin-top: 30px;
  position: relative;
}

#wrapper .login .container #sec01 .contWrap .login_box .user_id,
#wrapper .login .container #sec01 .contWrap .login_box .user_pwdRe,
#wrapper .login .container #sec01 .contWrap .login_box .user_email{
  align-items: flex-start;
}

#wrapper .login .container #sec01 .contWrap .login_box .user_pwdRe label {
  margin-top: 3px;
}

#wrapper .login .container #sec01 .contWrap .login_box .user_pwdRe p {
  margin-top: 5px;
  font-size: 14px;
  text-align: left;
}
.inputBox {
  width: 425px;
}

/*버튼*/
.btn_box, .btn_box.two_btn{
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
}
.btn_box .btn {
  display: block;
  padding: 10px;
  width: 100%;
  background: #000;
  font-size: 16px;
  color: #fff;
  text-align: center;
  box-sizing: border-box;
  border-radius: 20px;
}
/*로그인 버튼*/
#wrapper .login .container #sec01 .contWrap .login_box .btn_box,#wrapper .login .container #sec01 .contWrap .login_box .btn_box a{
  margin-top: 20px;
}
#wrapper .login .container #sec01 .contWrap .login_box .btn_box .btn_list{
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}
#wrapper .login .container #sec01 .contWrap .login_box .btn_box .btn_list a{font-size: 14px;}


/* 이메일 입력 폼 */
#wrapper .login .container #sec01 .contWrap .login_box .user_email label {
  margin-top: 12px;
}
#wrapper .login .container #sec01 .contWrap .login_box .user_email .inputBox{
  display: flex;
  gap: 10px;
  flex-direction: column;
}

#wrapper .login .container #sec01 .contWrap .login_box .user_email .emailWrap {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  width: 425px;
  background: #F6F6F6;
  border-radius: 30px;
}
#wrapper .login .container #sec01 .contWrap .login_box .user_email .emailWrap input {
  padding: 0 5px;
  width: 100%;
  height: 100%;
  background: #F6F6F6;
}
#wrapper .login .container #sec01 .contWrap .login_box .user_email .emailWrap span{
  font-size: 14px;
}

#wrapper .login .container #sec01 .contWrap .login_box .user_email .emailWrap button {
  width: 80px;
  height: 100%;
}

#wrapper .login .container #sec01 .contWrap .login_box .user_email .emailWrap .btn02 {
  pointer-events: none;
}
#wrapper .application .contWrap{
  margin-bottom: 200px;
}
#wrapper .application .contWrap h1{ 
  margin-bottom: 60px;
}
#wrapper .application .contWrap p.sel_day{
  font-size: 24px;
  font-weight: 600; 
  text-align: left;
}
#wrapper .application .contWrap .appli_box{
  margin-top: 20px;
}
#wrapper .application .form_box{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
#wrapper .application .form_box .box_cont{
  display: flex;
  max-width: 400px;
}

#wrapper .application .form_box.number_box select{
  width: 100px;
}

#wrapper .application .container #sec01s .form_box.number_box input[type=text]{
  width: 415px;
}
#wrapper .application .name_list{
  position: relative;
}
#wrapper .application .name_list .add_btn{
  position: absolute;
  right: 20px;
}

#wrapper .application .name_box{
  margin-left: auto;
  width: 400px;
}
#wrapper .application .name_box .add_list_name {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
#wrapper .application .name_box .add_list_name .add_list {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: 5px 10px;
  background: #f66;
  border-radius: 50px;
}
#wrapper .application .name_box .add_list_name .add_list span,
#wrapper .application .name_box .add_list_name .add_list button{
  color: #fff;
}

#wrapper .application .form_box textarea{
  margin-left: auto;
  padding: 10px 20px;
  width: 400px;
  height: 200px;
  background: #F6F6F6;
  color: black;
  resize: none;
  border-radius: 10px;
}

#wrapper .request_box{
  align-items: flex-start;
}
#wrapper .caption_box{
  margin-top: 50px;
  color: #686D76;
  text-align: left;
}
#wrapper .caption_box h3{
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 500;
}

/* 예약관리 뷰, 수정페이지 */
.viewTit {
  margin: 40px 0;
}

.viewTit h3 {
  font-size: 24px;
  font-weight: 500;
}

.viewCont {
  display: flex;
  gap: 20px;
  flex-direction: column;
}

.editCont {
  margin-top: 40px;
}

.viewCont span .red {
  color:red;
}

.u {
  text-decoration: underline;
}

.viewCont .cont {
  display: flex;
  gap: 10px;
  align-items: center;
  text-align: left;
}

.viewCont .cont .left {
  padding-left: 10px;
  width: 120px;
}

.viewCont .cont .full {
  width: 1000px;
}

.viewCont .cont .right {
  width: 91.76%;
}

.viewCont .cont .right input[type="radio"] {
  margin: 10px 10px;
}

.viewCont .cont .right label {
  margin: 10px 30px 10px 0px;
}

.viewCont .cont .flexJustifyStart {
  display: flex;
  justify-content: flex-start;
}

.viewCont .cont .flexAlignCenter {
  display: flex;
  align-items: center;
}

.viewCont .cont .flexJustifyCenter {
  display: flex;
  justify-content: center;
}

.viewCont .cont .left p,
.viewCont .cont .right p {
  font-size: 14px;
}

.viewCont .cont .right input[type="text"],
.viewCont .cont .right input[type="tel"],
.viewCont .cont .right select{
  padding: 5px 10px;
  background: #e2e2e2;
  color: #000;
  border-radius: 10px;
}

.viewCont .cont .right .formSelect {
  margin-right: 10px;
  padding: 10px 20px;
  background:#F6F6F6 url('/images/modalToggleDown.svg') no-repeat 95% 50%;
  font-size: 17px;
  color: black;
  border-radius: 30px;
}

.viewCont .flexStart {
  align-items: flex-start;
}

.viewCont .flexStart .left {
  margin-top: 8px;
}

.viewCont .cont .right textarea {
  padding: 10px;
  border: 1px solid #bbb;
  width: 100%;
  border-radius: 10px;
}

.viewCont .cont .right textarea::placeholder {
  color: #bbb;
}

.attendListInput {
  margin-bottom: 10px;
  position: relative;
  width: 500px;
}

.attendListInput button {
  padding: 0 10px;
  position: absolute;
  top: 50%;
  right: 0;
  height: 100%;
  transform: translateY(-50%);
}

.addListName {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.addListName .addList {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: 5px 10px;
  background: #f66;
  border-radius: 50px;
}

.addListName .addList span,
.addListName .addList button{
  color: #fff;
}

/* 예약현황 */
.categoryDate {
  display: flex;
  gap: 10px;
}

.categoryDate li {
  padding: 0 10px;
  width: 60px;
  background: #f2f2f2;
  text-align: center;
  border-radius: 5px;
}

.categoryDate li.active {
  background: #ddd;
}

.tableWrap table tr td a.btn {
  display: inline-block;
  padding: 4px 0;
  border: 1px solid #ddd;
  width: 100px;
  font-size: 14px;
}


.tableWrap {
  margin-top: 20px;
}
.tableWrap table {
  border: 1px solid #e2e2e2;
  width: 100%;
  text-align: center;
}

.tableWrap table tr {
  border-bottom: 1px solid #e2e2e2;
}

.tableWrap table tr th{
  background: #f2f2f2;
}

.tableWrap table tr th,
.tableWrap table tr td {
  padding: 10px 0;
  border-right: 1px solid #e2e2e2;
}

.tableWrap table tr td{
  padding: 0;
}

.tableWrap table tr td .state {
  display: inline-block;
  padding: 5px 20px;
  background: #f2f2f2;
  border-radius: 50px;
}

.tableWrap table tr td .state01{
  background: #7f7f7f;
  color: #fff;
}

.tableWrap table tr td a {
  display: block;
  padding: 15px 0;
}

.pageWrap .pageNum{
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.pageWrap .pageNum li a{
  font-size: 16px;
  color: #e2e2e2;
}

.pageWrap .pageNum li.active a{
  border-bottom: 1px solid #000;
  color: #000;
}



@media screen and (max-width : 1260px) {
  .tableWrap table tr td .state {
    padding: 0.4vw 1.59vw;
    font-size: 1.11vw;
  }
  .tableWrap table tr td,
  .tableWrap table tr td a,
  .btn {
    font-size: 1.11vw;
  }

  .btn {
    padding: 0.4vw 0.8vw;
  }
}


 
@media screen and (max-width : 1024px) {  
  /* 예약신청 */
  .reservationWrap .inner{padding: 5rem 2.5rem 5rem;width: 100%;}
  .reservationWrap .inner .reservationCon{gap: 0rem;}
  .reservationWrap .inner .reservationCon .con{display: inline-block;}
  .reservationWrap .inner .reservationCon .con>p{display: flex;align-items: center;padding: 1rem 0;width: 100%;}
  .reservationWrap .inner .reservationCon .con .flexStart{padding: 1rem 0;}
  .reservationWrap .inner .reservationCon .con select{margin-bottom: 0.5rem;width: 100%;}  
  .reservationWrap .inner .reservationCon .con .business, .reservationWrap .inner .reservationCon .con .guide, .reservationWrap .inner .reservationCon .con .product{width:100%;}
  .reservationWrap .inner .reservationCon .con .lastName,
  .reservationWrap .inner .reservationCon .con .firstName{width: calc(50% - 0.5rem);}  
  .reservationWrap .inner .reservationCon .con .belong, 
  .reservationWrap .inner .reservationCon .con .company {width: 100%;}
  .reservationWrap .inner .reservationCon .con .sideInput{width:100%;}
  .reservationWrap .inner .reservationCon .con .plusBtn{position: relative;top: -1rem;left: calc(100% - 1.5rem);}  
  .reservationWrap .inner .reservationCon .con .attendList input{width: 20%;}  
  .reservationWrap .inner .reservationCon .con textarea{width:100%;}
  /* 예약신청 */

  /*문의하기 팝업*/
  .popupCon input{width: 100%;}
  .popupCon .contactForm .inputItem textarea{width: 100%;}
  .popupCon .contactForm .inputItem .emailInput{width:100%}
  .popupCon .contactForm .inputItem .emailInput input{width: 100%;}
  /*문의하기 팝업*/
  
  /* 예약신청 완료 */
  .wrapper{display: flex;justify-content: center;}
  .contWrap{padding: 0 2.5rem }
  /* 예약신청 완료 */

  /* 공지사항 리스트, 뷰 */
  .noticeList, .noticeView{
      padding: 10rem 2.5rem 5rem !important;
      width: 100%;
  }
  .noticeList, .noticeView{
    padding: 10rem 2.5rem 5rem !important;
    width: 100%;
  }
  /* 공지사항 리스트, 뷰 */
  /* 공통 */
  .btn {
    padding: 0.5vw 1vw;
  }

  .btn01 {
    margin-right: 0.5vw;
  }
  #wrapper #wrap .lnb {
    padding: 1.95vw;
    width: 29.29vw;
  }

  .contWrap h1{
    font-size: 2.34vw;
  }

  .category,
  .tableWrap,
  .addReservation{
    margin-top: 1.95vw;
  }
  /* 카테고리 */
  .category select {
    padding: 0.4vw 0.8vw;
    width: 19.53vw;
    font-size: 1.56vw;
  }

  .category button{
    padding: 1vw 0;
    width: 9.77vw;
    font-size: 1.56vw;
  }

  /* 테이블 */
  .tableWrap table tr th,
  .tableWrap table tr td {
    font-size: 1.56vw;
  }

  .tableWrap table tr td,
  .tableWrap table tr td a,
  .btn {
    font-size: 1.37vw;
  }

  .tableWrap table tr td a {
    padding: 1.46vw 0;
  }

  .addReservation a {
    padding: 0.5vw 1vw;
    font-size: 1.56vw;
  }
  /* 페이지 넘버 */
  .pageWrap .pageNum {
    gap: 1vw;
    margin-top: 1.95vw;
  }

  .pageWrap .pageNum li a {
    font-size: 1.56vw;
  }

}
/* ===== 좁은 화면(휴대폰) 보정 — 2026-10-20 =====
   ⚠️ 이 블록은 반드시 style.css 에 둔다. 화면마다 css 로드 순서가
      reset → common → main → style → (notice) 라서, main.css 에 적으면
      style.css 의 같은 특정도 규칙에 덮여 아무 효과가 없다(실제로 그랬다).
   모바일 디자인을 새로 만드는 것이 아니라 잘려서 못 보던 것을 보이게 하는 선까지다. */
/* 영문 메뉴('Contact Us')는 768px 에서도 두 줄로 접힌다 — 분기를 따로 넓게 잡는다 */
@media (max-width: 1023px) {
  .header .inner .gnb a { white-space: nowrap; }

  /* 헤더를 '로고 + 버튼 / 메뉴' 두 줄로 나눈다(로그인 후에는 버튼이 한 줄 더 생긴다).
     1199px 이하에서 로고 영역 min-width 를 풀어 둔 탓에, 한 줄에 다 안 들어가는 768~1023px 에서는
     로고가 눌려 점처럼 쪼그라들거나 사라졌다. 줄 수가 로그인 여부·폭에 따라 달라 #wrap{padding-top}
     숫자 하나로는 맞출 수 없으므로 fixed 대신 sticky 로 두어 헤더가 제 높이만큼 자리를 차지하게 한다
     (스크롤해도 위에 붙어 있는 동작은 같다). html{overflow-x:hidden} 은 뷰포트로 전파되므로 sticky 를 막지 않는다. */
  .header { position: sticky; height: auto; padding: 12px 24px 0; }
  .header .inner { flex-wrap: wrap; row-gap: 8px; justify-content: space-between; }
  .header .inner .logo-wrap { flex: 0 0 auto; }
  .header .inner .util-menu { position: static; flex: 0 0 auto; }
  .header .inner .gnb { width: 100%; order: 3; }
  .header .inner .gnb,
  .header .inner .gnb ul li,
  .header .inner .gnb ul li a { height: auto; }
  .header .inner .gnb ul li a { padding: 8px 10px; }
  #wrapper #wrap { padding-top: 0; }

  /* 팝업(문의·약관·접수완료)과 어두운 배경을 헤더(z-index:50) 위로 올린다.
     헤더가 2~3줄(최대 140px)이 되면서 화면 가운데 뜬 팝업의 제목·약관 첫 줄이 헤더 뒤에 가려졌다. */
  .dim { z-index: 60; }
  .popup, .terms, .complete { z-index: 61; }
}

@media (max-width: 767px) {

  /* 공지사항 목록: 머리글 폭(번호 6.25rem·조회수 9.375rem·등록일 12.5rem)이 데스크톱 기준이라
     합이 화면을 넘었고, table-layout:fixed 가 남은 폭이 없는 제목 칸을 0px 로 만들어
     **제목이 아예 안 보였다.** 예전 보정 'td.r14{width:6.5rem}' 은 제목 칸에도 r14 가 붙어 있어
     모든 칸에 걸렸다. 머리글 폭을 모바일 기준으로 다시 잡고 제목 칸이 나머지를 갖게 한다. */
  .noticeList { padding: 2.5rem 16px 4rem !important; } /* 1024px 이하 규칙이 !important 라 같이 써야 덮인다 */
  .noticeList table { width: 100%; table-layout: fixed; }
  .noticeList table thead .no { width: 3.5rem; } /* 영문 고정공지 표시 'Notice' 가 들어가는 폭 */
  .noticeList table thead .views { width: 3.75rem; }
  .noticeList table thead .date { width: 6rem; }
  /* 영문 머리글 'Date of registration' 이 6rem 칸을 넘는다 — 단어 단위로 두 줄을 허용한다 */
  .noticeList table thead th { white-space: normal; word-break: keep-all; }
  /* 등록일에 시각까지 붙어(2026-11-17 21:05) 한 줄에 안 들어간다 — 날짜/시각 두 줄로 둔다 */
  .noticeList table tbody td.r14 { width: auto; white-space: normal; }
  .noticeList table tbody td.title { white-space: nowrap; }
  .noticeList table a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .noticeView { padding: 2.5rem 16px 4rem !important; }
  /* 페이지 번호가 1024px 이하에서 1.56vw 라 360px 에서 5.6px 로 쪼그라들었다 */
  .pageWrap .pageNum { gap: 0.5rem; margin-top: 1.5rem; }
  .pageWrap .pageNum li a { font-size: 0.875rem; }

  /* 약관 상자: 테두리·패딩이 100% 폭에 더해져 몇 px 씩 넘쳤다 */
  .provision, .provision * { box-sizing: border-box; max-width: 100%; }
  /* 이메일 인증: 데스크톱 2단(폼 | 약관)을 세로로 쌓는다.
     .emailCon 이 23.825rem(381px) 고정이라 360·375px 폰에서는 화면보다 넓어 오른쪽이 잘렸고,
     안쪽 약관 상자는 width:40vw 라 바깥(.provision)만 100% 로 넓혀서는 156px 로 쪼그라들었다.
     폼·약관 상자 둘 다 화면 폭에 맞추고 좌우 16px 여백을 준다.
     기본 규칙이 div.provision(0,1,1) 이라 같은 특정도로 써야 덮인다. */
  .emailWrap { flex-direction: column; align-items: stretch; gap: 0; padding: 1.5rem 16px 0; min-height: 0; }
  .emailWrap .emailCon { width: 100%; }
  /* 타이머 묶음(시간연장 + 남은 시간, 약 126px)이 입력칸 위에 absolute 로 얹혀 있다.
     오른쪽을 비워 두지 않으면 영문 placeholder 가 [Extend] 밑으로 파고든다. */
  .emailWrap .emailCon .numberWrap .numberInput { padding-right: 9rem; text-overflow: ellipsis; }
  div.provision { width: 100%; min-width: 0; padding: 3rem 0 2.5rem; overflow-wrap: anywhere; }
  div.provision h2 { margin-bottom: 1.25rem; }
  div.provision_content { width: 100%; height: 400px; }

  /* 메뉴 간격이 40px 고정이라 영문(Reservation / Contact Us / Notice)에서 넘친다 */
  .header .inner .gnb ul { gap: 16px; justify-content: space-between; width: 100%; }
  .header .inner .gnb ul li a { font-size: 0.875rem; }

  /* 공지 표가 4열이라 몇 px 이 남는다. 표만 가로로 스크롤시켜 페이지를 밀지 않는다 */
  .noticeList { max-width: 100%; overflow-x: auto; }

  /* ── 입력칸·드롭박스 글자 16px: 예약 신청은 입력칸 13.3px(글자 크기 미지정 → 브라우저 기본값)·드롭박스 14px,
        예약 수정은 14px 였다. iOS 는 16px 미만 입력칸을 누르면 화면을 자동 확대해서, 드롭박스를 누를 때마다
        화면이 커지며 밀리고(목록이 엉뚱한 데서 뜨는 것처럼 보인다) 글씨도 작아 입력이 어려웠다.
        reservations.css 가 나중에 로드되며 '.reservationWrap select{font-size:.875rem}' 으로 덮으므로
        #wrapper 로 특정도를 올린다. 팝업은 레이아웃상 #wrapper 밖에 있을 수 있어 따로 쓴다. ── */
  #wrapper input:not([type="radio"]):not([type="checkbox"]),
  #wrapper select,
  #wrapper textarea,
  .popup input, .popup textarea { font-size: 16px; }

  /* 헤더 줄바꿈·sticky 는 1023px 블록에 있다. 휴대폰은 좌우 여백만 줄인다 */
  .header { padding-left: 16px; padding-right: 16px; }

  /* ── 예약 신청 (국·영 공통) ── */
  .reservationWrap .inner { padding: 2.5rem 16px 4rem; }
  /* 성·이름이 반반으로 나란히라 placeholder 가 잘렸다 — 한 줄씩 쌓는다 */
  .reservationWrap .inner .reservationCon .con .lastName,
  .reservationWrap .inner .reservationCon .con .firstName { display: block; width: 100%; }
  .reservationWrap .inner .reservationCon .con .lastName { margin-bottom: 0.5rem; }
  /* 참석자 칸 배치는 1023px 블록에 있다(태블릿도 같은 문제라 그쪽으로 옮겼다) */

  /* ── 예약 신청 완료: .contWrap 이 62.5rem(1000px) 고정에 flex 가운데 정렬이라 양옆이 화면 밖으로
        나갔고, 참석자 행은 5칸 × 13.125rem 이라 표가 1000px 를 넘었다.
        .contWrap 은 메인·로그인 화면에서도 쓰므로 이 화면 구조(.wrapper > .contWrap)로만 좁힌다.
        참석자 칸은 display:block 으로 바꿔 한 칸 안에 세로로 쌓는다(익명 셀로 묶인다). ── */
  .wrapper > .contWrap { width: 100%; margin: 2.5rem 0 4rem; padding: 0 16px; }
  /* 1024px 이하 '.contWrap h1{font-size:2.34vw}' 라 360px 에서 제목이 8.4px 로 쪼그라들었다 */
  .wrapper > .contWrap .title h1 { font-size: 1.5rem; }
  .wrapper > .contWrap .info_cont .compleReserv { width: 100%; margin: 1.5rem 0 2.5rem; }
  .wrapper > .contWrap .info_cont .compleReserv tbody tr th { width: 5.5rem; padding: 0.75rem 0.5rem; }
  .wrapper > .contWrap .info_cont .compleReserv tbody tr td { overflow-wrap: anywhere; }
  .wrapper > .contWrap .info_cont .compleReserv tbody .info { display: block; width: auto; border-right: none; padding: 0.125rem 1rem; }
  .wrapper > .contWrap .info_cont .compleReserv tbody .info:first-of-type { padding-top: 0.75rem; }
  .wrapper > .contWrap .info_cont .compleReserv tbody .info.last { padding-bottom: 0.75rem; }

  /* ── 예약하기 [약관보기] 팝업: 35rem × 37.5rem(560×600px) 고정이라 폰에서 가로·세로 모두 화면을 넘었다.
        화면 폭에 맞추고, 약관 본문(p, 25.4rem 고정)은 화면 높이 안에서 스크롤시킨다. ── */
  .terms { width: calc(100% - 32px); height: auto; max-height: calc(100% - 32px); overflow-y: auto; padding: 1.75rem 1rem; }
  /* 220px = 팝업 위아래 여백·패딩 + 제목 + 확인 버튼. dvh 는 iOS 주소창을 뺀 실제 보이는 높이다(미지원 브라우저는 vh) */
  .terms .termsWrap p { height: auto; max-height: calc(100vh - 220px); max-height: calc(100dvh - 220px); margin: 1rem 0; }
  /* ── 문의 접수 완료 팝업: 22.5rem(360px) 고정이라 360px 폰에서 화면 양끝에 붙었다 ── */
  .complete { width: calc(100% - 32px); padding: 2rem 1rem; }

  /* ── 문의하기 팝업: 35rem(560px) 고정이라 360px 화면 양옆이 68px 씩 잘렸다 ── */
  .popup { width: calc(100% - 32px); max-height: calc(100% - 32px); overflow-y: auto; padding: 1.75rem 1rem; }
  /* 항목명(p, 5rem) 옆에 width:100%(1024px 이하 규칙) 입력칸을 두니 항목명만큼 밀려 메일 줄이
     팝업 밖으로 35px 넘쳤고, 폭을 맞춰도 메일 두 칸이 글자가 안 보일 만큼 좁았다.
     항목명을 입력칸 위로 올려 입력칸이 팝업 폭을 다 쓰게 한다.
     ⚠️ 세로 flex 에서 flex:1 1 0 을 주면 basis 0 이 height 를 이겨 입력칸 높이가 0 이 된다 — flex:none */
  .popupCon .contactForm .inputItem { flex-direction: column; align-items: stretch; gap: 0.375rem; }
  .popupCon .contactForm .inputItem p,
  .popupCon .contactForm .inputItem .inquire { width: auto; padding: 0; }
  .popupCon .contactForm .inputItem > input,
  .popupCon .contactForm .inputItem > textarea,
  .popupCon .contactForm .inputItem .emailInput { width: 100%; flex: none; min-width: 0; }
  .popupCon .contactForm .inputItem .emailInput input { width: auto; flex: 1 1 0; min-width: 0; }
  .popupCon .contactForm .inputItem textarea { height: 8rem; }

  /* ── 나의 예약 목록: 7칸 표를 360px 에 그대로 넣어 상태·이름·이메일·날짜가 서로 겹쳤다.
        예약 한 건을 카드 한 장으로 바꾼다 — 위에 상태 배지와 [상세], 아래에 '항목명 값' 을 한 줄씩.
        항목명은 템플릿의 td data-label 에서 읽는다(국·영 템플릿 각각). ── */
  .tb-wrap03 table, .tb-wrap03 table tbody, .tb-wrap03 table tbody tr, .tb-wrap03 table tbody tr td { display: block; width: auto; }
  .tb-wrap03 table colgroup, .tb-wrap03 table thead { display: none; }
  .tb-wrap03 table tbody tr { position: relative; margin-bottom: 12px; padding: 14px 16px; border: 1px solid #EAEBEC; border-radius: 8px; }
  .tb-wrap03 table tbody tr td { display: flex; gap: 12px; height: auto; padding: 3px 0; text-align: left; border-bottom: none; overflow-wrap: anywhere; }
  .tb-wrap03 table tbody tr td[data-label]::before { content: attr(data-label); flex: 0 0 4.5rem; color: #70737C; font-size: 12px; line-height: 1.6; }
  /* 상태 배지는 카드 맨 위, [상세] 는 오른쪽 위 */
  .tb-wrap03 table tbody tr td:first-child { padding: 0 0 8px; }
  .tb-wrap03 table tbody tr td:last-child { position: absolute; top: 12px; right: 16px; padding: 0; }
  .tb-wrap03 tbody tr td .tag,
  .tb-wrap03 table tbody tr td .tb-btn { white-space: nowrap; overflow-wrap: normal; }
  /* 마이페이지 좌우 여백 40px(1199px 이하 규칙)을 다른 화면과 같은 16px 로 */
  .container { padding: 0 16px; }

  /* ── 예약 상세: 항목명 칸이 160px 고정(th min/max-width)이라 값 칸이 좁았고, 값(td max-width)이
        길면 화면 밖으로 나갔다. 참석자는 한 줄 5칸(20%)이라 이메일이 겹쳤다 — 한 줄에 하나씩. ── */
  .top-wrap { gap: 12px; align-items: flex-start; }
  .top-wrap > .pg-btn-wrap a { white-space: nowrap; }
  .tb-wrap table tbody tr th { min-width: 0; max-width: none; width: 5.5rem; padding: 12px 8px; }
  .tb-wrap table tbody tr td { max-width: none; overflow-wrap: anywhere; }
  .tb-wrap table tbody tr td > .wrap ul { flex-direction: column; align-items: stretch; height: auto; padding: 8px 0; }
  .tb-wrap table tbody tr td > .wrap ul + ul { border-top: 1px solid #EAEBEC; }
  .tb-wrap table tbody tr td > .wrap ul li { width: auto; min-width: 0; height: auto; padding: 2px 12px; }
  .tb-wrap table tbody tr td > .wrap ul li:not(:last-child) { border-right: none; }

  /* ── 예약 수정: 항목명(100px) 옆에 입력칸을 두니 참석자 5칸이 값이 안 보이는 빈 네모가 됐고
        −/+ 버튼은 화면 밖으로 나갔다. 항목명을 입력칸 위로 올리고 참석자는 신청 화면과 같이 쌓는다. ── */
  .write-wrap .input-list { gap: 20px; }
  .write-wrap .input-list > li { flex-direction: column; gap: 6px; }
  .write-wrap .input-list > li > div:first-child,
  .write-wrap .input-list li .input-tit { width: auto; height: auto; padding: 0; }
  .write-wrap .input-list > li input { width: 100%; }
  .write-wrap.type01 .input-list li .input-cont { width: 100%; min-width: 0; }
  /* 참석자 칸 배치는 1023px 블록에 있다 */
}

/* ── 참석자 입력칸(예약 신청·예약 수정): 1199/1024px 이하 규칙이 한 줄 5칸(width:20%)이라
      360px 에서는 칸이 50px 남짓, 768px 에서도 placeholder·이메일이 잘렸고 수정 화면의 −/+ 버튼은
      화면 밖으로 나갔다. 성함·소속은 반반, 직함·메일·비고는 한 줄씩, 버튼은 오른쪽에 둔다. ── */
@media (max-width: 1023px) {
  .reservationWrap .inner .reservationCon .con .attendList .attendItem { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; padding-bottom: 1rem; border-bottom: 1px solid #EAEBEC; }
  .reservationWrap .inner .reservationCon .con .attendList input { width: 100%; min-width: 0; }
  .reservationWrap .inner .reservationCon .con .attendList input:nth-of-type(n+3) { grid-column: 1 / -1; }
  .reservationWrap .inner .reservationCon .con .attendList .minusBtn { grid-column: 1 / -1; justify-self: end; }

  .write-wrap .input-list li .input-cont .list-wrap li { width: 100%; align-items: flex-start; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid #EAEBEC; }
  .write-wrap .input-list li .input-cont .list-wrap li .input-cont { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; flex: 1 1 auto; min-width: 0; }
  .write-wrap .input-list li .input-cont .list-wrap li .input-cont input { width: 100%; min-width: 0; }
  .write-wrap .input-list li .input-cont .list-wrap li .input-cont input:nth-of-type(n+3) { grid-column: 1 / -1; }
  .write-wrap .input-list li .input-cont .list-wrap .btn-wrap { display: flex; flex-direction: column; gap: 8px; width: auto; flex: 0 0 auto; }
}

/* 예약 수정의 수어 지원 라디오: common.css 1199px 이하 '.write-wrap .input-list > li input
   { width: calc(100% - 100px) }' 이 라디오에도 걸려, 좁은 li 안에서 폭이 0 이 되어 동그라미가
   아예 안 그려졌다(태블릿 폭도 같다). 라디오만 원래 크기로 되돌린다. */
@media (max-width: 1199px) {
  .write-wrap .input-list > li input[type="radio"] { width: 16px; height: 16px; flex: 0 0 auto; }
}

/* 예약 신청의 참석자 + 버튼: 1024px 이하 규칙이 position:relative + left:calc(100% - 1.5rem) 이라
   자기 원래 자리 기준으로 밀려 화면 밖으로 나갔다(360px 에서 576px, 768px 에서 1392px 까지 —
   페이지 전체가 가로로 밀렸다). 참석자 목록 아래 오른쪽에 둔다. */
@media (max-width: 1024px) {
  .reservationWrap .inner .reservationCon .con .plusBtn { position: static; display: block; width: fit-content; margin: 0.5rem 0 0 auto; }
}
