/********************************

  국립공원 통합 예약가이드 home.php

********************************/
.fund-home {
}

.page-title {
  margin-bottom: 24px;
}

.section-title {
  margin-bottom: 12px;
}

.fund-info-section,
.main-fund-check-section,
.fund-support-section {
  margin-bottom: 24px;
  margin-top: 0;
}

.fund-product-section {
  margin-bottom: 1rem;
}

.fund-info-list {
  display: flex;
  flex-direction: column;
}

.fund-info-item + .fund-info-item {
  border-top: 1px solid var(--border-light);
}

.fund-info-link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 2.4rem 0;
}

.fund-info-icon {
  flex: 0 0 3rem;
  width: 3rem;
  height: 3rem;
}

.fund-info-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.fund-info-text-group {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  gap: 0.4rem;
}

.fund-info-title {
  display: block;
  color: var(--font-dark);
  font-size: 1.4rem;
  font-weight: 600;
}

.fund-info-description {
  display: block;
  color: var(--font-grey);
  font-size: 1.3rem;
  font-weight: 300;
}

.fund-info-arrow {
  flex: 0 0 0.9rem;
  width: 0.9rem;
}

.fund-info-arrow img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.fund-support-list {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.fund-support-item {
  min-width: 0;
}

.fund-support-item:first-child .fund-support-link {
  background: #e5f5ff;
}

.fund-support-item:last-child .fund-support-link {
  background: #fdf8e6;
}

.fund-support-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 72px;
  padding: 16px;
  border-radius: 12px;
}

.fund-support-text-group {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  gap: 0.54rem;
}

.fund-support-title {
  display: block;
  color: var(--font-dark);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.01rem;
}

.fund-support-description {
  display: block;
  color: var(--font-grey);
  font-size: 1.3rem;
  font-weight: 300;
  letter-spacing: 0.01rem;
}

.fund-support-arrow {
  flex: 0 0 0.9rem;
  width: 0.9rem;
}

.fund-support-arrow img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 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;
}

/* 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;
}

/* 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: var(--brand-color);
  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: var(--brand-color);
  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: var(--brand-color);
  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: var(--brand-color);
  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: var(--brand-color);
  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: var(--brand-color);
  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: var(--brand-color);
}
.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: var(--brand-color);
  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: var(--brand-color);
}
.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: var(--brand-color);
  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;
}
/* 공통 모달 및 숨김 패널 */
/* 결과 패널 스타일 */
.result-panel {
  display: none;
  margin: 3rem 0;
}

.result-panel .calc-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 2.4rem;
}

.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: var(--brand-color);
  font-weight: 200;
  letter-spacing: 0.02px;
  font-size: 1rem;
  cursor: pointer;
  padding: 0.4rem 1.2rem;
}

/* 모달 스타일 */
.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;
}
