@charset "utf-8";
* {box-sizing: border-box}
body { font-family: Arial; margin:0;  }
  .legalContents.contents {
    font-size: 12px;
}
#privacyModal {
  touch-action: none;  /* 모달 위에서 터치 시 뒤에 이벤트 전달 안 함 */
}    
    
      .legalContents.contents {
    font-size: 12px;
}

/* pdf_book 영역만 적용 */
#pdf_book {
  overflow-y: scroll; /* 세로 스크롤 필수 */
}

/* 스크롤바 가로 너비 */
#pdf_book::-webkit-scrollbar {
    width: 20px;       /* 두껍게 설정 */
}

/* 스크롤바 막대 */
#pdf_book::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: #555;
}

/* 막대 hover */
#pdf_book::-webkit-scrollbar-thumb:hover {
    background-color: #f54;
}

/* 막대 active */
#pdf_book::-webkit-scrollbar-thumb:active {
    background-color: #f00;
}

/* 스크롤바 트랙 */
#pdf_book::-webkit-scrollbar-track {
    background-color: #fff;
}

#pdf_book::-webkit-scrollbar-track:hover {
    background-color: #eee;
}

    iframe {pointer-events:none}
span.togglePlayer {
    /* background-color: #ff0000; */
    display: inline-block;
    padding: 10px 20px;
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    height: 100%;
}
    /* 기본 버튼 스타일 */
  #nextBtn, #quizBtn1 {
    background-color: #006400;
    transition: background-color 0.3s;
  }

  /* 비활성화 상태 스타일 */
  #nextBtn:disabled, #quizBtn1:disabled {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
  }
    .con_top p.red, p.red {
    color: #ff0000;
    font-size: 12px; text-align: center;
}
.progress-container { position: fixed; top:0; left:0; width:100%; height:8px; background:#ddd; z-index:10; }
.progress-bar { height:8px; background:#4caf50; width:0%; transition: width 0.3s ease; }

.slider { display:flex; transition: transform 0.6s ease; width:100%; }
.slide {flex:0 0 100%;/*min-height:100vh;*/box-sizing:border-box;padding:0 20px;display:flex;flex-direction:column;/* justify-content:center; *//* align-items:center; */text-align:center;}
.swiper-slide .logo img {
    width: 120px;
}
.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.2%;
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
h1.main_tit {
    font-size: 1.5em;
}
button {
    margin: 5px;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    width: calc(50% - 13px);
    border: 0;
    background-color: #006400;
    color: #fff;
    border-radius: 30px;
}
button {
    margin: 5px;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    width: calc(50% - 13px);
    border: 0;
    background-color: #006400;
    color: #fff;
    border-radius: 30px;
}
button#quizBtn1 {
    /*width: calc(65% - 13px);*/
}
button:hover {
    background-color: #003b00;
}    
p { font-size:1.2rem; margin-bottom:20px; }
input[type=text], textarea {
    width: calc(100% - 40px);
    padding: 12px 8px;
    margin: 5px 0;
    font-size: 1rem;
    border: 1px solid #006400;box-sizing: border-box;
    border-radius: 6px;
}
.pinfo_input input[type=text] {
    max-width: 260px;
}    
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.radio-option {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;    text-align: left;
}

.radio-option input {
  margin-right: 10px;
}
.radio-option input[type=text],
.checkbox-option input[type=text] {
    margin-left: 10px;
    margin-right: 0;
    border: 0;
    border-radius: 3px;
    max-width: 180px;
    padding: 6px 8px;
}
.radio-option.selected {
  background-color: #006400; /* 진한 녹색 */
  color: white;
  font-weight: bold;
}
    
/* 체크박스 옵션 스타일 */
.checkbox-option {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  margin-bottom: 6px; /* 옵션 간 간격 */
  text-align: left;    
}

.checkbox-option input {
  margin-right: 10px;
}

/* 체크박스 선택 시 스타일 */
.checkbox-option.selected {
  background-color: #006400; /* 진한 녹색 */
  color: white;
  font-weight: bold;
}
    
.nav-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.prev-btn, .next-btn {
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  transition: background-color 0.3s;
}

.prev-btn {
  background-color: #ccc;
  color: #333;
}

.prev-btn:disabled {
  background-color: #eee;
  cursor: not-allowed;
}

.next-btn {
  background-color: #006400;
  color: white;
}

.next-btn:hover {
  background-color: #008000;
}  
    
.con_top p.main_txt {
    font-size: 1.2em;
    font-weight: 600;
    color: #006400;
    margin-bottom: 3em;
    text-align: center;
}

.pinfo_input p {
    margin: 0 0 5px;
    font-size: 16px;
}

.pinfo_input {
    margin-bottom: 3em;
}

.pinfo_input p.red {
    color: #ff0000;
    font-size: 12px;
}

.quiz-buttons {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.quiz-buttons button {
  flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #006400;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.quiz-buttons button:hover {
  background: ##0d290d;
  color: #fff;
}
span#closeModal2 {
    background-color: #006400;
    color: #fff;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
}
span#closeModal2:hover {
    background-color: #003900;
}    
.con_top h2 {
   /*font-size: 2.5em;*/    word-break: keep-all; text-align: left;
}    
ul.edu_list {
    list-style: decimal;
    text-align: left;
    font-size: 1.4em;
    line-height: 1.5em;
    color: #003700;
    font-weight: bold;
    border: 2px solid #919691;
    border-radius: 6px;
    padding: 20px;
    box-sizing: border-box;
    padding-left: 3em;
}  
ul.edu_list li {
    margin: 0.5em 0;    word-break: keep-all;
}
.con_top p {
    font-size: 1.2em;
    text-align: left;
    word-break: keep-all;
}    

.con_top p.num_one {
    padding-left: 1em;
}
.con_top p.num_one span {
    margin-left: -1em;
}  
.con_top p.num_two {
    padding-left: 2em;
}
.con_top p.num_two span {
    margin-left: -2em;
}
.con_top p.num_three {
    padding-left: 3em;
}
.con_top p.num_three span {
    margin-left: -3em;
}    
.con_top {
    margin-bottom: 1em;
}  

h3.slide_tit {
    text-align: left;
    width: 100%;
}

h3.slide_tit span {
    color: #fff;
    background-color: #528b34;
    padding: 3px 8px;
    font-weight: 500;
    border-radius: 3px;    font-size: 18px;

}
    /* 슬라이드 전체 컨테이너 */
#slider {
  /*  touch-action: pan-y;세로 스크롤만 허용, 좌우 스와이프 차단 */
}
.slide {
  width: 100%;
 /*  height: 100vh; slide 영역을 화면 높이로 */
  /* display: flex; */
  /* justify-content: center; */
  /* align-items: center; */
}
.q_content {
    width: 100%;
    max-width: 600px;
    position: relative;
    padding: 20px 5px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    height: calc(100% - 50px);
}
.con_top, .con_mid, .con_btm {
    width: 100%;
    min-height: 50px;
    position: relative;
}
.swiper-slide .f_logo img {
    width: 100px;
}
.f_logo {
    margin-top: 2em;
}
.q_content .swiper {
  width: 100%;
  height: 100%; /* q_content 크기에 맞게 */
}
    .swiper {
      width: 100%;
     /* height: 100vh;  화면 전체 높이 */
      background: #ddd;
    }
.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    padding: 24px 20px;
}
    .swiper-slide img {
      width: 100%;
      height: auto;
      object-fit: contain;
    }
/* 하단 컨트롤 박스 */
.swiper-controls {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 400px;
    gap: 40px;
    z-index: 1;
}

/* 좌우 버튼 */
.swiper-button-next, .swiper-button-prev {
    position: static !important;
    flex: 1;
    height: 24px;
    background: rgb(0 0 0 / 50%);
    color: #fff;
    border-radius: 2px;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: background 0.3s ease;
    user-select: none;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: #555;
}

/* 기본 Swiper 아이콘(::after) 제거 */
.swiper-button-next::after,
.swiper-button-prev::after {
  display: none;
}

/* fraction 스타일 (페이지 숫자 표시) */
.swiper-pagination {
  position: absolute;
  bottom: 0; /* 컨트롤 바로 아래 */
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  font-weight: 600;
  color: #333;
  text-align: center;
  background: rgba(255, 255, 255, 0.8);
  padding: 4px 10px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  width: auto !important;
}
      /* 다운로드 버튼 */
.pdf-download {
  position: absolute;
  top: 20px;
  right: 10px;
  background: #333;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: background 0.3s ease;
  z-index: 10;
}
.pdf-download.pdf-download-left {
    left: 0px;
    width: 100px;
}
.pdf-download:hover {
  background: #555;
}
.con_top p.font_sm {
    font-size: 14px;
    margin-top: -1em;
}
.slide_finish {
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    padding: 24px 20px;
    height: 100vh;
}
#pdf_book { max-height: 500px; }
/* 반응형 */
@media (max-width:768px){p{font-size:1rem;}button{font-size:1rem;padding:8px 16px;} #pdf_book { max-height: 400px; }}
@media (max-width:480px){p{font-size:0.9rem;}button{font-size:1rem;padding:6px 12px; }
    #pdf_book { max-height: 300px; }
    textarea {
max-width: 280px;}
ul.edu_list {
    font-size: 18px;        line-height: 1.5em;
}
    h1.main_tit {
    font-size: 1.2em;
}
}