/* 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(../img/arrow-1.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 */
.banner .first { width: 100%; background: #eeebff url(../img/main-icon-6.png) no-repeat right 2rem center; height: 12rem; border-radius: 1rem; padding: 2rem; background-size: 11rem; box-sizing: border-box; margin-bottom: 2.5em; position: relative; }
.banner .first a { display: block; }
.banner .first a::after { content: ''; position: absolute; inset: 0; }
.banner .first p { font-size: 1.5rem; color: #333; margin-bottom: 1rem; font-weight: 500; }
.banner .first strong { font-size: 2rem; font-weight: bold; color: #333; margin-bottom: 1.5rem; display: block; }
.banner .first .button { background: #8166e7; width: 9rem; box-sizing: border-box; border-radius: 2rem; text-align: center; line-height: 3rem; }
.banner .first .button p { color: #fff; line-height: 2.5rem; }
.banner .second { width: 100%; background: #eef4ff url(../img/main-icon-7.png) no-repeat right 2rem center; height: 12rem; border-radius: 1rem; padding: 2rem; background-size: 11rem; box-sizing: border-box; margin-bottom: 2.5rem; position: relative; }
.banner .second a { display: block; }
.banner .second a::after { content: ''; position: absolute; inset: 0; }
.banner .second p { font-size: 1.5rem; color: #333; margin-bottom: 1rem; font-weight: 500; }
.banner .second strong { font-size: 2rem; font-weight: bold; color: #333; margin-bottom: 1.5rem; display: block; }
.banner .second .button { background: #32328c; width: 9rem; height: 2.5rem; box-sizing: border-box; border-radius: 2rem; text-align: center; }
.banner .second .button p { color: #fff; line-height: 2.5rem; }

/* side-menu */
.side-menu { display: flex; justify-content: space-between; }
.side-menu .calc { background: #f5f6fa url(../img/main-icon-4.png) no-repeat right 2rem top 2rem; width: calc((100% - 2.5rem) / 2); height: 10rem; background-size: 4rem; padding: 1.5rem; border-radius: 1rem; position: relative; }
.side-menu .calc a { display: block; }
.side-menu .calc a::after { content: ''; position: absolute; inset: 0; }
.side-menu .calc p { font-size: 1.6rem; color: #333; margin-bottom: 0.5rem; padding-top: 3rem; }
.side-menu .calc strong { font-size: 1.8em; font-weight: bold; color: #333; }
.side-menu .faq { background: #f5f6fa url(../img/main-icon-5.png) no-repeat right 2rem top 2rem; width: calc((100% - 2.5rem) / 2); height: 10rem; background-size: 4rem; padding: 1.5rem; border-radius: 1rem; position: relative; }
.side-menu .faq a { display: block; }
.side-menu .faq a::after { content: ''; position: absolute; inset: 0; }
.side-menu .faq p { font-size: 1.6rem; color: #333; margin-bottom: 0.5rem; padding-top: 3rem; }
.side-menu .faq strong { font-size: 1.7em; font-weight: bold; color: #333; }

/* 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: #8166e7; padding-left: 0.5rem; }

/* center list */
.list { margin-top: 3rem; }
.list ul li { margin-bottom: 4rem; }
.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; background: #eeebff; border-radius: 0.5rem; width: 5.5rem; height: 2.5rem; text-align: center; line-height: 2.5rem; color: #8166e7; 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: 1rem; font-size: 1.6rem; color: #464646; 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: #8166e7; border-color: #8166e7; color: #fff; 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: #333; }
.pg-btn.disabled { opacity: 0.8; 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 { display: block; background: #8166e7; border-radius: 1rem; height: 6rem; text-align: center; line-height: 6rem; color: #fff; font-size: 1.8rem; text-decoration: none; flex: 1; }
.btn2 a:hover, .btn2 a:active { background: #6a50d0; }
.btn2 a:first-child { background: #7c7c7c; color: #fff; flex: 1; }
.btn2 a:first-child:hover { background: #7c7c7c; }
.btn2 a: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: #8166e7; 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: #8166e7; 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: #8166e7; 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: #8166e7; 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: #8166e7; 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: #8166e7; }
.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: #8166e7; 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: #8166e7; }
.result p { font-size: 1.2rem; text-align: center; color: #777; line-height: 1.6rem; margin-top: 1rem; }

/* calculator */
.calc-list { margin-top: 1rem; }
.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 input { background: #f5f6f8; width: 100%; height: 5rem; border-radius: 1rem; color: #333; font-size: 1.5rem; font-weight: 600; padding-left: 1.5rem; }
.blank .input-wrapper .suffix { position: absolute; bottom: 1.5rem; right: 1.5rem; color: #777; font-size: 1.4rem; }

/* 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: #8166e7; 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; }
