/* search_area 검색창 공통 */
.search_area {
  flex-shrink: 0;
  width: 100%;
}
.search_area > form {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
}
.search_input_wrap {
  background-color: #f5f6f8;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  border-radius: 1rem;
  padding: 1.8rem 2rem;
  box-sizing: border-box;
  height: 6rem;
}
.search_input_wrap input {
  flex: 1;
  min-width: 0;
  background-color: transparent;
  font-size: 1.4rem;
  padding-right: 1rem;
}
.search_input_wrap input::placeholder {
  color: #777;
  font-weight: 300;
}
.search_input_wrap img {
  width: 1.6rem;
  aspect-ratio: 1/1;
}
.filter_wrap {
  display: flex;
  align-items: center;
}
.filter_wrap .select_wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.filter_wrap .select_wrap::after {
  content: "";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5rem;
  height: 1.5rem;
  background: url(../assets/img/arrow-3.png) no-repeat center / contain;
  pointer-events: none;
}
.filter_wrap select {
  appearance: none;
  -webkit-appearance: none;
  background: #f5f6f8;
  font-size: 1.4rem;
  border-radius: 1rem;
  padding: 1.8rem 3.5rem 1.8rem 1rem;
  border: 0;
  width: auto;
  min-width: 11rem;
  height: 6rem;
  outline: none;
  color: #777;
}
.filter_wrap select option {
  font-size: 1.6rem;
  background-color: #fff;
}

/* menu_area */
.menu_area {
  margin-top: 1.5rem;
}
.menu_area ul {
  display: flex;
  justify-content: space-around;
  gap: 1rem;
}
.menu_area ul li {
  width: 10rem;
  height: 10rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.menu_area ul li a {
  display: block;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.menu_area ul li a::after {
  content: "";
  position: absolute;
  inset: 0;
}
.menu_area li figure {
  width: 4.5rem;
  height: 4.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  min-width: 4.5rem;
  min-height: 4.5rem;
}
.menu_area li figure img {
  width: 4.5rem;
  height: 4.5rem;
  width: 100%;
  height: 100%;
  object-fit: contain;
  aspect-ratio: 1 / 1;
}
.menu_area li span {
  font-size: 1.7rem;
  font-weight: bold;
  color: #333;
  display: block;
  padding-top: 1.5rem;
}

/* banner */
/* --- 공통 배너 스타일 --- */
.bannerLists {
  margin-top: 2rem;
  margin-bottom: 4rem;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}
.bannerLists .bannerItem {
  flex: 1;
  aspect-ratio: 1 / 1;
}
.bannerLists .bannerItem:last-child {
  margin-bottom: 0;
}
.bannerLists .bannerItem a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.bannerLists .bannerItem a i {
  aspect-ratio: 1 / 1;
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bannerLists .bannerItem a i img {
  height: 3rem;
}
.bannerLists .bannerItem:nth-child(2) a i img {
  /* width: 3.4rem; */
}
.bannerLists .bannerItem a h5 {
  font-weight: 600;
  font-size: 1.4rem;
}
.bannerLists .bannerItem p {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 1rem;
  font-weight: 500;
}
.bannerLists .bannerItem strong {
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 1.5rem;
  display: block;
}
.bannerLists .bannerItem .button {
  width: 9rem;
  height: 2.5rem;
  /* 버튼 높이 통일 */
  box-sizing: border-box;
  border-radius: 2rem;
  text-align: center;
  background: #fba31e;
}
.bannerLists .bannerItem .button p {
  color: #fff;
  line-height: 2.5rem;
  margin-bottom: 0;
}

.btm-link-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  justify-content: flex-start;
}
.btm-link-wrap .title {
  width: 100%;
  margin-right: auto;
  align-items: center;
  justify-content: flex-start;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
}
.btm-link-wrap .title .icon {
  width: min(2.2rem, 20%);
}
.btm-link-wrap .title h3 {
  font-size: 2rem;
  font-weight: 600;
}

/* --- 1. 링크 리스트 컨테이너 (기존 .side-menu 역할) --- */
.btm-link-wrap .btm-links {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.btm-link-wrap .btm-links li {
  background: #f4f4f4;
  width: calc((100% - 2rem) / 2);
  border-radius: 1rem;
  position: relative;
  box-sizing: border-box;
  /* 패딩 포함 크기 계산 */
}
.btm-link-wrap .btm-links li a {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
  padding: 2.8rem 2rem;
}
.btm-link-wrap .btm-links li a::after {
  content: "";
  position: absolute;
  inset: 0;
}
/* --- 5. 텍스트 스타일 (기존 p, strong 역할) --- */
/* .top 컨테이너 (필요 시 정렬 속성 추가 가능) */
.btm-links li a .top {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  /* a::after 위로 텍스트가 올라오도록 보장 */
}
/* 기존 p 태그 역할 */
.btm-links li a .top span {
  display: block;
  /* span은 인라인 요소이므로 block으로 변경 */
  font-size: 1.6rem;
  color: #333;
}
/* 기존 strong 태그 역할 (공통) */
.btm-links li a .top strong {
  display: block;
  font-weight: bold;
  color: #333;
  font-size: 2.2em;
}
/* (참고) 배경 이미지로 아이콘을 처리했으므로 .bottom 영역은 비워두셔도 됩니다 */
.btm-links li a .bottom {
}
.btm-links li a .bottom .icon {
  width: min(3.2rem, 22%);
  margin-left: auto;
}
.btm-links li a .bottom .icon img {
  margin-left: auto;
}

/********************
    국립공원 이용안내 
********************/
.guide-category-list {
  display: flex;
  flex-direction: column;
}

.guide-category-item + .guide-category-item {
  border-top: 1px solid #f4f4f4;
}

.guide-category-link {
  padding: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.guide-category-link .txt-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.guide-category-link .txt-wrap .icon {
  width: 2.8rem;
}

.guide-category-link .txt-wrap h4 {
  font-size: 1.5rem;
  font-weight: 600;
}

.guide-category-link > .icon {
  width: 1.6rem;
}

.guide-category-link .icon img {
}

/* title */
.title {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.title h2 {
  font-size: 2rem;
  font-weight: bold;
  color: #333;
}
.title .side a {
  display: flex;
}
.title .side a img {
  width: 2rem;
}
.title .side span {
  font-size: 1.6rem;
  color: #fba31e;
  padding-left: 0.5rem;
}

/* center list */
.list {
  margin-top: 3rem;
}
.list ul li {
  padding: 2.2rem 0;
}
.list ul li + li {
  border-top: 1px solid #cdcdcd;
}
.list ul li p {
  font-size: 1.4rem;
  color: #aaa;
  text-align: center;
  padding: 3rem 0;
}
.list ul li a {
  display: block;
}
.list ul li a .txt {
  display: flex;
  justify-content: space-between;
  color: #333;
}
.list ul li a .txt strong {
  font-size: 1.6rem;
}
.list ul li a .txt span {
  display: block;
  color: #fff;
  border-radius: 100rem;
  width: 5.5rem;
  height: 2.5rem;
  text-align: center;
  line-height: 2.5rem;
  background: #fba31e;
  font-weight: bold;
  font-size: 1.2rem;
}
.list ul li a p {
  font-size: 1.4rem;
  color: #777;
  margin-top: 0.5rem;
  line-height: 1.6rem;
  text-align: left;
  padding: 0;
}

/* pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  margin: 3.2rem 0 2.4rem;
}
.pg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.6rem;
  height: 3.6rem;
  padding: 0 0.8rem;
  border-radius: 100rem;
  font-size: 1.6rem;
  color: #9b9b9b;
  text-decoration: none;
  background: none;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
  font-weight: bold;
}
.pg-btn:hover:not(:disabled) {
  background: #f5f5f5;
}
.pg-btn.active {
  background: #f4f4f4;
  border-color: #f4f4f4;
  font-weight: 600;
  pointer-events: none;
}
.pg-btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.pg-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.6rem;
  height: 3.6rem;
  font-size: 1.4rem;
  color: #aaa;
}
.pg-btn.arrow {
  color: #9b9b9b;
}
.pg-btn.disabled {
  opacity: 0.2;
  pointer-events: none;
  cursor: default;
}

/* center information */
.inform ul li {
  display: flex;
  margin-bottom: 2rem;
  align-items: center;
}
.inform ul li img {
  width: 1.3rem;
  margin-right: 1rem;
  flex-shrink: 0;
}
.inform ul li p {
  color: #777;
  font-size: 1.3rem;
  word-break: keep-all;
  min-width: 0;
  flex: 1;
  line-height: 1.6rem;
}

/* map */
.map {
  height: 30rem;
  background: #f5f6f8;
  margin-bottom: 3rem;
  overflow: hidden;
}

/* buttons */
.btn,
.btn2 {
  position: static;
  transform: none;
  width: 100%;
  display: flex;
  gap: 1.5rem;
}
.btn a,
.btn2 a,
.btn button,
.btn2 button {
  display: block;
  background: #fba31e;
  border-radius: 1rem;
  height: 6rem;
  text-align: center;
  line-height: 6rem;
  color: #fff;
  font-size: 1.8rem;
  text-decoration: none;
  flex: 1;
  font-weight: 500;
}
.btn2 a:hover,
.btn2 a:active,
.btn2 button:hover,
.btn2 button:active {
  background: #6a50d0;
}
.btn2 a:first-child,
.btn2 button:first-child {
  background: #7c7c7c;
  color: #fff;
  flex: 1;
}
.btn2 a:first-child:hover,
.btn2 button:first-child:hover {
  background: #7c7c7c;
}
.btn2 a:last-child,
.btn2 button:last-child {
  flex: 2;
}

/* text */
.all-text {
  margin-bottom: 2rem;
}
.all-text:last-child {
  margin-bottom: 0;
}
.all-text h3 {
  font-size: 1.6rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 1rem;
}
.all-text > ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}
.all-text > ul > li {
  margin-bottom: 3rem;
}
.all-text > ul > li:last-child {
  margin-bottom: 0;
}
.all-text > ul > li > strong {
  display: block;
  font-size: 1.5rem;
  color: #fba31e;
  font-weight: 500;
  margin-bottom: 0.8rem;
}
.all-text > ul > li > ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.all-text > ul > li > ul > li {
  font-size: 1.4rem;
  color: #777;
  line-height: 2rem;
}
.all-text > ul > li > ul > li:last-child {
  margin-bottom: 0;
}
.all-text > ul > li > ul > li > ul {
  margin-top: 0.6rem;
}
.all-text > ul > li > ul > li > ul > li {
  font-size: 1.4rem;
  color: #777;
  margin-bottom: 1rem;
}
.all-text.special > ul > li {
  font-size: 1.4rem;
  color: #777;
  margin-bottom: 0.8rem;
}
.all-text.special > ul > li:last-child {
  margin-bottom: 0;
}
.general {
  margin-bottom: 2.5rem;
}
.general p {
  color: #777;
  line-height: 2rem;
  font-size: 1.4rem;
  word-break: keep-all;
}
.general span {
  color: #fba31e;
  font-size: 1.4rem;
}
.general-list {
  margin-bottom: 3.5rem;
}
.general-list:last-child {
  margin-bottom: 0;
}
.general-list ul li {
  color: #777;
  font-size: 1.4rem;
  word-break: keep-all;
  line-height: 2.5rem;
}
.steps > ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.steps > ul > li {
  margin-bottom: 3.5rem;
}
.steps > ul > li:last-child {
  margin-bottom: 0;
}
.steps > ul > li > strong {
  display: block;
  background: #eeebff;
  color: #fba31e;
  font-weight: 700;
  font-size: 1.6rem;
  border-radius: 1rem;
  height: 6rem;
  text-align: center;
  line-height: 6rem;
  margin-bottom: 2rem;
}
.steps > ul > li > ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.steps > ul > li > ul > li {
  color: #777;
  font-size: 1.4rem;
  word-break: keep-all;
  line-height: 2.3rem;
  text-align: center;
  margin-bottom: 1rem;
}
.steps > ul > li:nth-child(5) ul li {
  margin-bottom: 1.6em;
}
.steps > ul > li > ul > li:last-child {
  margin-bottom: 0;
}
.steps > ul > li > ul > li em {
  display: block;
  font-style: normal;
  color: #777;
  margin-bottom: 0.6rem;
}
.steps > ul > li > ul > li span {
  display: block;
  color: #777;
  font-size: 1.4rem;
}
.steps > ul > li > ul > li:has(em)::before {
  content: "";
}
.guide > ul > li > strong {
  font-size: 1.5rem;
}
.guide > ul > li > ul > li {
  font-size: 1.4rem;
  line-height: 2.5rem;
}
.old .general:nth-of-type(2) {
  margin-top: 2rem;
}
.credit-check {
  margin: 3rem 0;
}
.credit-check a {
  background: #eeebff;
  line-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}
.credit-check a p {
  color: #fba31e;
  font-size: 1.5rem;
  font-weight: 700;
}
.credit-check a span {
  color: #beb0ee;
  font-size: 1.2rem;
}

/* test */
.test {
  display: flex;
  flex-direction: column;
  text-align: center;
  margin-top: 4rem;
}
.test .num {
  background: #eeebff;
  width: 7rem;
  line-height: 2.5rem;
  color: #fba31e;
  border-radius: 2rem;
  margin: 0 auto;
  margin-bottom: 1.5rem;
  font-size: 1.35rem;
}
.test .question {
  font-size: 1.85rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 3.5rem;
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.test .answer {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}
.test .yes-no {
  background: #eeebff;
  border-radius: 1rem;
  width: 12rem;
  height: 12rem;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  position: relative;
  border: none;
  cursor: pointer;
}
.test .yes-no:hover,
.test .yes-no:active,
.test .yes-no:focus,
.test .yes-no.selected {
  background: #fba31e;
}
.test .answer .yes-no img {
  width: 3rem;
}
.test .yes-no:hover img,
.test .yes-no:active img,
.test .yes-no:focus img,
.test .yes-no.selected img {
  filter: brightness(0) invert(1);
}
.test .yes-no span {
  color: #fba31e;
  font-size: 1.75rem;
  font-weight: 600;
}
.test .yes-no:hover span,
.test .yes-no:active span,
.test .yes-no:focus span,
.test .yes-no.selected span {
  color: #fff;
}
.test .yes:before {
  content: "(2점)";
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  color: #777;
  letter-spacing: 0.05rem;
  font-size: 1.35rem;
}
.test .no:before {
  content: "(0점)";
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  color: #777;
  letter-spacing: 0.05rem;
  font-size: 1.35rem;
}
.test .yes:hover:before,
.test .yes.selected:before {
  color: #fff;
}
.test .no:hover:before,
.test .no.selected:before {
  color: #fff;
}

/* test result */
.result {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin: 7rem 0 12rem;
}
.result figure {
  width: 3em;
}
.result strong {
  font-size: 1.6rem;
  font-weight: 560;
  color: #333;
}
.result span {
  font-size: 1.6rem;
  font-weight: 560;
  color: #fba31e;
}
.result p {
  font-size: 1.2rem;
  text-align: center;
  color: #777;
  line-height: 1.6rem;
  margin-top: 1rem;
}

/* calculator */
.calc-list {
}
.blank {
  margin-bottom: 3rem;
}
.blank:nth-child(2) {
  margin-top: 1rem;
}
.blank .txt {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.blank .txt h4 {
  font-size: 1.6rem;
  font-weight: 600;
  color: #333;
}
.blank .txt p {
  color: #ff0000;
  font-size: 1.3rem;
}
.blank .txt .blue {
  color: #0000ff;
}
.blank .input-wrapper {
  position: relative;
}
.blank .input-wrapper span {
  color: #fba31e;
  font-size: 1.5rem;
  font-weight: 500;
}

/* 유효성 검사 실패 시 포커스 효과 */
.error-input {
  border-color: #e74c3c !important;
}
.blank .input-wrapper input,
.blank .input-wrapper select {
  width: 100%;
  height: 5rem;
  color: #333;
  font-size: 1.5rem;
  font-weight: 600;
  border: 0;
  border-bottom: 1px solid #999;
  padding: 1rem;
}
.blank .input-wrapper select option {
  font-size: inherit;
}
.blank .input-wrapper select:focus {
  outline: none;
}
.blank .input-wrapper .suffix {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  color: #999;
  font-size: 1.4rem;
}
.blank .input-wrapper select + .suffix {
  width: 1.2rem;
}

/* calculator result */
.blank .txt .point {
  color: #333;
  font-weight: 600;
  letter-spacing: 0;
}
.amount li {
  background: #eeebff;
  display: flex;
  justify-content: space-between;
  padding: 1.5rem;
  box-sizing: border-box;
  height: 5rem;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  align-items: center;
}
.amount li p {
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
}
.amount li span {
  font-size: 1.3rem;
  font-weight: 600;
  color: #fba31e;
  letter-spacing: 0;
}
.amount li .end {
  margin: 0 auto;
}

/* faq */
.faq-list li {
  background: #f5f6f8;
  height: 5rem;
  border-radius: 1rem;
  padding: 1.5rem;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  position: relative;
}
.faq-list li a {
  color: #333;
  font-size: 1.3rem;
  font-weight: 600;
  display: block;
}
.faq-list li a::after {
  content: "";
  position: absolute;
  inset: 0;
}
.faq-answer {
  height: 28rem;
}
.faq-container {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 6rem);
}
.faq-answer h6 {
  background: #f5f6f8;
  height: 5rem;
  border-radius: 1rem;
  padding: 1.5rem;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  color: #333;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 2rem;
  text-align: center;
}
.faq-answer p {
  font-size: 1.4rem;
  color: #777;
  margin-top: 1rem;
  line-height: 2rem;
}

/* 공통 모달 및 숨김 패널 */
/* 결과 패널 스타일 */
.result-panel {
  display: none;
  margin: 3rem 0;
}

.result-panel .calc-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 2rem;
}

.result-panel .calc-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  background: #fffae7;
  border-radius: 1rem;
  margin: 0;
  gap: 1rem;
}

.result-panel .calc-list li .input-wrapper {
  flex: 1;
  min-width: 0;
  text-align: right;
}

.result-panel .calc-list li .input-wrapper span {
  line-height: 1.4;
}

.result-panel .txt {
  display: flex;
  align-items: center;
  margin-bottom: 0;
  gap: 0.8rem;
  flex-shrink: 0;
}

.result-panel .blank .txt h4 {
  margin: 0;
  font-size: 1.5rem;
}

.btn-show-std {
  display: inline-block;
  color: #fff;
  border-radius: 100rem;
  text-align: center;
  background: #fba31e;
  font-weight: 200;
  letter-spacing: 0.02px;
  font-size: 1rem;
  cursor: pointer;
  padding: 0.4rem 1.2rem;
}

/* 안내 문구 스타일 */
.calc-notice {
  margin-top: 1.2rem;
}

.calc-notice p {
  font-size: 1.2rem;
  color: #ff0000;
  letter-spacing: 0.02px;
  line-height: 1.4;
}
.calc-notice p + p {
  margin-top: 0.6rem;
}

/* 모달 스타일 */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
}

.modal-content {
  background: #fff;
  width: 90%;
  max-width: 500px;
  border-radius: 1.2rem;
  padding: 4rem 2.4rem;
}

.modal-content .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.modal-content .top h3 {
  font-size: 2.6rem;
  font-weight: 700;
}

.btn-close {
  width: min(100%, 2rem);
  cursor: pointer;
}

.modal-content .bottom ul {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.std-item {
  display: flex;
  flex-direction: column;
  padding: 1.2rem 0;
  align-items: center;
  border-radius: 1rem;
}
.std-item * {
  color: #fff;
}
.std-item .status-name {
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.2px;
}
.std-item .status-value {
  font-size: 1.2rem;
  font-weight: 200;
  letter-spacing: 0.1px;
  margin-top: 0.4rem;
}
.std-item.step2 * {
  color: #222;
}
.std-item.normal {
  background: #4a80ea;
}
.std-item.step1 {
  background: #66a84e;
}
.std-item.step2 {
  background: #f2e247;
}
.std-item.step3 {
  background: #ed8530;
}
.std-item.extreme {
  background: #d33f31;
}

.std-item:last-child {
  border-bottom: none;
}
