.main-header {
  height: 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 0;
  padding: 0 1.5rem;
  z-index: 7777;
  background: #fff;
}
.main-header h1 {
  width: 15rem;
}
.main-header h1 a {
  width: 100%;
}
.main-header h1 a img {
  width: 100%;
}

.bannerImg {
  width: 100%;
  padding: 1.5rem 0;
}
.bannerImg a {
  width: 100%;
}
.bannerImg a img {
  width: 100%;
}

.sub-header {
  height: 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 0;
  padding: 0 1.5rem;
  z-index: 7888;
  background: #fff;
  display: none;
}

.sub-header a {
  width: max-content;
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
}

.sub-header img {
  max-width: 100%;
  height: auto;
}

.sub-header button {
  flex: 0;
  margin: 0;
  padding: 0;
}

header #menuBtn {
  width: 2.5rem;
  position: absolute;
  right: 1.5rem;
}
header #menuBtn img {
  width: 100%;
}
header #subMenuBtn {
  width: 2.5rem;
  position: absolute;
  right: 1.5rem;
}
header #subMenuBtn img {
  width: 100%;
}
header #prevBtn {
  width: 2.5rem;
  position: absolute;
  left: 1.5rem;
}
header #prevBtn img {
  width: 100%;
}

.navBg {
  background: rgba(0, 0, 0, 0.3);
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  z-index: 8888;
}
nav {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 70%;
  height: 100%;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 9999;
  padding: 0 1.5rem;
}
nav button {
  width: 2.5rem;
  height: 6rem;
  margin-left: auto;
}
nav button img {
  width: 100%;
}
nav a {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 2.5rem;
}
nav a img {
  height: 1.6rem;
  margin-right: 1rem;
}
nav a:nth-of-type(5) img {
  margin-right: 0.5rem;
}
nav a img.arrow {
  height: 1rem;
  margin-left: auto;
  margin-right: 0;
}
nav a span {
  font-size: 1.6rem;
  font-weight: 400;
}
/* 기본적으로 숨겨두기 */
.sub-menu-content {
  display: none;
  padding: 1rem 2rem;
}
.sub-menu-content a {
  display: block;
}
.sub-menu-content.open {
  display: block;
}

main {
  padding: 0 1.5rem 10rem;
}

/* common */
h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
em {
  color: #ff5e15;
}
b {
  font-weight: 700;
}
mark {
  color: #ebfcff;
  background-color: #ff5c01;
  border-radius: 50%;
  padding: 0.1rem 0.6rem 0.1rem 0.5rem;
  margin-right: 0.5rem;
}

/* home.php */
.home-news-section {
  height: 20rem;
  padding: 0 1.5rem;
}
.swiper.mySwiper {
  width: 100%;
  /* height: 30%; */
}
.swiper-pagination .pagination {
  position: relative;
  margin-top: 5rem;
}
.swiper-pagination .swiper-pagination-bullet {
  width: 1.5rem;
  height: 1.5rem;
  background-color: #edeef0;
  opacity: 1;
}
.swiper-pagination .swiper-pagination-bullet-active {
  width: 2.5rem;
  border-radius: 1rem;
  background-color: #ff5c01;
}
.num-pagination {
  text-align: center;
  margin-top: 2rem;
}
.num-pagination a {
  padding: 1.5rem;
  color: #969696;
  font-size: 2rem;
  font-weight: 500;
}
.num-pagination a.current-page {
  color: #ff7124;
  font-weight: 600;
}

.swiper-wrapper {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  height: 100%;
}
.swiper-slide {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.home-news-container {
  width: 100%;
  height: 16rem;
  padding: 1rem;
  border-radius: 1rem;
  background-color: #edeef0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  overflow: hidden;
}
.home-news-img {
  width: 30%;
  height: 100%;
}
.home-news-content {
  width: 70%;
  padding-left: 1.5rem;
}
.home-news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.home-news-content {
  height: 100%;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}
.home-news-content h6 b {
  font-size: 1.6rem;
}
.home-news-content p {
  font-size: 1.6rem;
  font-weight: 300;
}
.news-content p.date {
  font-size: 1.4rem;
  font-weight: 300;
}

.home-top-section {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  padding: 1.5rem 1.5rem 0.5rem 1.5rem;
  margin: 1rem 0 1.5rem;
  background-color: #edeef0;
}
.home-top-section a {
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  align-items: center;
  width: calc(100% / 2 - 0.5rem);
  padding: 2rem 0;
  background-color: #fff;
  border-radius: 1rem;
  margin-bottom: 1rem;
}
.home-top-section img {
  width: 4rem;
}
.home-top-section span {
  font-size: 1.6rem;
  font-weight: 600;
  margin-top: 1rem;
}

.home-middle-section {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}
.home-middle-section .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-radius: 1rem;
  margin-bottom: 1rem;
}
.home-middle-section .wrapper:nth-of-type(1) {
  background-color: #ff5c01;
}
.home-middle-section .wrapper:nth-of-type(2) {
  background-color: #ff7e0e;
}
.home-middle-section .text {
  display: flex;
  flex-direction: column;
}
.home-middle-section .wrapper h5 {
  font-size: 1.6rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01rem;
}
.home-middle-section .inText {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  width: 12rem;
  padding: 0 1rem;
  border-radius: 3rem;
}
.home-middle-section .wrapper:nth-of-type(1) span {
  font-size: 1.4rem;
  font-weight: 400;
  color: #ff5c01;
}
.home-middle-section .wrapper:nth-of-type(2) span {
  font-size: 1.4rem;
  font-weight: 400;
  color: #ff7e0e;
}
.home-middle-section .inText img {
  width: 2rem;
}

.home-middle-section img {
  width: 5rem;
}

.home-qna-section {
  display: flex;
  flex-direction: column;
}
.qna-wrapper:nth-of-type(1) {
  border-top: 0.1rem solid #e7e9ec;
}
.qna-wrapper {
  border-bottom: 0.1rem solid #e7e9ec;
}
.qna-wrapper h3 {
  font-size: 1.6rem;
  font-weight: 500;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.3rem;
  padding: 1.5rem;
}
.qna-wrapper h3 em {
  font-size: 1.6rem;
  font-weight: 500;
  align-self: flex-start;
}
.qna-wrapper img {
  width: 1.5rem;
  margin-left: auto;
}
.qna-wrapper pre {
  font-size: 1.6rem;
  font-weight: 300;
  padding: 1.5rem;
}
.home-qna-section a {
  width: 100%;
  padding: 1.5rem;
  background-color: #d4d7dc;
  border-radius: 1rem;
  margin-top: 1rem;
  text-align: center;
}
.home-qna-section a span {
  font-size: 1.8rem;
  font-weight: 600;
}
/* news.php */
.news-container {
  width: 100%;
  height: 25%;
  padding: 1rem;
  border-radius: 1rem;
  background-color: #edeef0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  overflow: hidden;
}
.news-img {
  width: 30%;
  height: 100%;
}
.news-content {
  width: 70%;
  padding-left: 1.5rem;
}
.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.news-content h6 b {
  font-size: 1.6rem;
}
.news-content p {
  font-size: 1.6rem;
  font-weight: 300;
}
.news-content p.date {
  font-size: 1.4rem;
  font-weight: 300;
}

/* news_detail.php */
.news-detail-container {
  padding: 1.5rem;
  background-color: #edeef0;
  border-radius: 1rem;
}
.news-detail-img {
  width: 100%;
  margin-bottom: 1.5rem;
}
.news-detail-container h6 b {
  font-size: 1.6rem;
}
.news-detail-container pre {
  font-size: 1.5rem;
  font-weight: 300;
}
.news-detail-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.news-detail-link a {
  width: calc(100% / 2 - 0.5rem);
  border-radius: 1rem;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  margin-top: 2rem;
}
.news-detail-link a:nth-of-type(1) {
  background-color: #ff5c01;
}
.news-detail-link a:nth-of-type(2) {
  background-color: #ff7e0e;
}

/* qna.php */
.qna-section {
  display: flex;
  flex-direction: column;
}
.qna-section p {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}
.qna-section em {
  font-size: 1.6rem;
}

/* happiness.php */
.happiness-section {
  display: flex;
  flex-direction: column;
}
.happiness-section h2 {
  margin-top: 1.5rem;
}
.happiness-section .happiness-wrapper {
  margin-bottom: 4rem;
}
.happiness-section .happiness-wrapper pre {
  font-size: 1.6rem;
  font-weight: 300;
}
.happiness-section > a {
  width: 100%;
  padding: 1.5rem 0;
  border-radius: 1rem;
  text-align: center;
  margin-bottom: 2rem;
}
.happiness-section > a:nth-of-type(1) {
  background-color: #ff5c01;
}
.happiness-section > a:nth-of-type(2) {
  background-color: #ff7e0e;
}
.happiness-section > a span {
  font-size: 1.8rem;
  font-weight: 500;
  color: #fff;
}

/* small_loan.php */
.loan-top-section h2 {
  margin-top: 1.5rem;
}
.loan-top-section b {
  font-size: 1.6rem;
}
.loan-top-section pre {
  font-size: 1.6rem;
  font-weight: 300;
}
.loan-bottom-section {
  background-color: #edeef0;
  padding: 1.5rem;
  margin-bottom: 10rem;
}
.loan-bottom-section .loan-type-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.loan-type-wrapper .loan-type-item {
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  align-items: center;
  width: calc(100% / 3 - 0.5rem);
  padding: 2rem;
  background-color: #fff;
  margin-bottom: 1rem;
  border-radius: 1rem;
}
.loan-type-wrapper .loan-type-item span {
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 1rem;
  box-sizing: border-box;
}
.loan-type-wrapper .loan-type-item img {
  width: 5.5rem;
}
.loan-type-wrapper .loan-type-item:nth-of-type(2) img {
  width: 3rem;
}
.loan-type-wrapper .loan-type-item:nth-of-type(4) img {
  width: 5rem;
}
.loan-type-wrapper .loan-type-item:nth-of-type(5) img {
  width: 4.5rem;
}
.loan-type-wrapper .loan-type-item:nth-of-type(7) img {
  width: 6rem;
}
.loan-type-wrapper .loan-type-item:nth-of-type(8) img {
  width: 6rem;
}

/* debt.php */
.category-section {
  display: flex;
  justify-content: center;
  align-items: center;
}
.category-section a {
  width: 50%;
  padding: 1.5rem;
  background-color: #edeef0;
  text-align: center;
}
.category-section a:nth-of-type(1) {
  border-radius: 1rem 0 0 1rem;
}
.category-section a:nth-of-type(2) {
  border-radius: 0 1rem 1rem 0;
}
.category-section span {
  font-size: 1.6rem;
  font-weight: 500;
  color: #000;
}

.debt-top-section {
  margin-top: 2rem;
}
.debt-top-section h2 {
  margin-bottom: 0.5rem;
}
.debt-top-section pre {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.8;
  padding: 1rem;
  background-color: #edeef0;
  border-radius: 1rem;
}
.debt-top-section b {
  font-size: 1.5rem;
  font-weight: 400;
}

.debt-middle-section {
  display: flex;
  flex-direction: column;
}
.debt-middle-section h2 {
  padding-top: 2rem;
  margin-bottom: 0.5rem;
}
.debt-middle-section pre {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}
.debt-middle-section b {
  font-size: 1.5rem;
}
.debt-middle-section em {
  font-size: 1.5rem;
  font-weight: 600;
}
.debt-middle-section .c-1-pre:nth-of-type(1),
.debt-middle-section .c-1-pre:nth-of-type(4) {
  margin-bottom: 2rem;
}
.debt-middle-section h2:nth-of-type(2) {
  border-top: 0.1rem solid #e7e9ec;
}
.c-2-item {
  border-radius: 1rem;
  border: 0.1rem solid #ff9f6a;
  padding: 1.5rem 1rem;
  margin-top: 1rem;
}

.debt-bottom-section {
  display: flex;
  flex-direction: column;
}
.debt-bottom-section h2 {
  padding-top: 2rem;
  margin-bottom: 0.5rem;
}
.debt-bottom-section img {
  width: 100%;
}
.debt-bottom-section span {
  margin-top: 3rem;
}
.debt-bottom-section em {
  font-size: 1.5rem;
  font-weight: 600;
}
.debt-bottom-section pre {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

/* document.php */
.document-section {
  display: flex;
  flex-direction: column;
  margin-top: 1.5rem;
}
.document-section a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  border-radius: 1rem;
  border: 0.1rem solid #ff9f6a;
  padding: 1.5rem 1rem;
  margin-top: 1rem;
}
.document-section img {
  width: 2rem;
}
.document-section .document-detail {
  padding: 1.5rem 1rem;
  background-color: #edeef0;
  border-radius: 1rem;
}
.document-section pre {
  font-size: 1.5rem;
  font-weight: 400;
}
#moveToList {
  margin-top: 2rem;
  justify-content: center;
  background-color: #ff5c01;
  color: #fff;
}

/* loanGuard.php */
.loanGuard-top-section {
  display: flex;
  flex-direction: column;
}
.loanGuard-top-section h2:nth-of-type(2) {
  margin-top: 3rem;
}
.loanGuard-pre:nth-of-type(2),
.loanGuard-pre:nth-of-type(3) {
  padding: 1.5rem 1rem;
  background-color: #edeef0;
  border-radius: 1rem;
  margin-bottom: 2rem;
}
.loanGuard-top-section pre {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.6;
}
.loanGuard-top-section b {
  font-size: 1.5rem;
  font-weight: 600;
}
.loanGuard-top-section em {
  font-size: 1.5rem;
  font-weight: 600;
}
.loanGuard-top-section a {
  font-size: 1.6rem;
  font-weight: 400;
  border-radius: 1rem;
  padding: 1.5rem 1rem;
  background-color: #ff5c01;
  color: #fff;
  text-align: center;
}

.loanGuard-bottom-section {
  display: flex;
  flex-direction: column;
  margin-top: 4rem;
}
.loanGuard-bottom-section h2 {
  margin-bottom: 0.5rem;
}
.loanGuard-bottom-section pre {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.6;
}
.loanGuard-bottom-section pre:nth-of-type(1) {
  margin-bottom: 0.5rem;
}
.loanGuard-bottom-section span {
  font-size: 1.5rem;
  font-weight: 600;
}
.loanGuard-bottom-section span:nth-of-type(1) {
  margin-bottom: 0.5rem;
}
.loanGuard-bottom-section em {
  font-size: 1.5rem;
  font-weight: 600;
}

/* loanGuard_info.php */
.loanGuard-info-section {
  display: flex;
  flex-direction: column;
  margin: 2rem 0;
}
.loanGuard-info-section h2 {
  margin-top: 1.5rem;
}
.loanGuard-info-section .chart {
  width: 100%;
  margin-bottom: 2rem;
}
.loanGuard-info-section pre {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.4;
}
.loanGuard-info-section .info-E-1 pre:nth-of-type(1) {
  padding-bottom: 2.5rem;
  border-bottom: 0.1rem solid #e7e9ec;
}
.loanGuard-info-section em {
  font-size: 1.5rem;
  font-weight: 600;
}
.loanGuard-info-section b {
  font-size: 1.5rem;
  font-weight: 600;
}

.loanGuard-info-button {
  margin-top: 2rem;
}
.loanGuard-info-button .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-radius: 1rem;
  margin-bottom: 1rem;
}
.loanGuard-info-button .wrapper:nth-of-type(1) {
  background-color: #ff5c01;
}
.loanGuard-info-button .wrapper:nth-of-type(2) {
  background-color: #ff7e0e;
}
.loanGuard-info-button .text {
  display: flex;
  flex-direction: column;
}
.loanGuard-info-button .wrapper h5 {
  font-size: 1.6rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01rem;
}
.loanGuard-info-button .inText {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  width: 12rem;
  padding: 0 1rem;
  border-radius: 3rem;
}
.loanGuard-info-button .wrapper:nth-of-type(1) span {
  font-size: 1.4rem;
  font-weight: 400;
  color: #ff5c01;
}
.loanGuard-info-button .wrapper:nth-of-type(2) span {
  font-size: 1.4rem;
  font-weight: 400;
  color: #ff7e0e;
}
.loanGuard-info-button .inText img {
  width: 2rem;
}

.loanGuard-info-button img {
  width: 5rem;
}

/* loanType.php */
.loan-type-section h2 {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}
.loan-type-section pre {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.4;
}
.loan-type-section pre.bold {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.8;
  padding: 1rem;
  background-color: #edeef0;
  border-radius: 1rem;
}
.loan-type-button {
  margin-top: 3rem;
}
.loan-type-button .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-radius: 1rem;
  margin-bottom: 1rem;
}
.loan-type-button .wrapper:nth-of-type(1) {
  background-color: #ff5c01;
}
.loan-type-button .wrapper:nth-of-type(2) {
  background-color: #ff7e0e;
}
.loan-type-button .text {
  display: flex;
  flex-direction: column;
}
.loan-type-button .wrapper h5 {
  font-size: 1.6rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01rem;
}
.loan-type-button .inText {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  width: 12rem;
  padding: 0 1rem;
  border-radius: 3rem;
}
.loan-type-button .wrapper:nth-of-type(1) span {
  font-size: 1.4rem;
  font-weight: 400;
  color: #ff5c01;
}
.loan-type-button .wrapper:nth-of-type(2) span {
  font-size: 1.4rem;
  font-weight: 400;
  color: #ff7e0e;
}
.loan-type-button .inText img {
  width: 2rem;
}

.loan-type-button img {
  width: 5rem;
}
