@charset "utf-8";
* {box-sizing: border-box}
body { font-family: Arial; margin:0; overflow-x:hidden; }
.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; }
    .logo img {
    width: 120px;
}
.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 52.8%;
}
.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: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;
}

.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; /* 옵션 간 간격 */
}

.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;
}  
    
p.main_txt {
    font-size: 1.2em;
    font-weight: 600;
    color: #006400;
    margin-bottom: 3em;
}

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

.pinfo_input {
    margin-bottom: 3em;
}

.pinfo_input p.red {
    color: #ff0000;
    font-size: 12px;
}
    /* 슬라이드 전체 컨테이너 */
#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;
}
.con_top, .con_mid, .con_btm {
    width: 100%;
    min-height: 50px;
    position: relative;
}
.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-bottom: 24px;
}
    .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;
}
/* 반응형 */
@media (max-width:768px){p{font-size:1rem;}button{font-size:0.9rem;padding:8px 16px;} }
@media (max-width:480px){p{font-size:0.9rem;}button{font-size:0.8rem;padding:6px 12px;}
    textarea {
max-width: 280px;}}