@charset "utf-8";

body {
  color: #333;
}

/* 전체 공통 */
.pdinner {
  max-width: 1400px;
  width: calc(100% - 32px);
  position: relative;
  margin: 0 auto;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .pdinner {
    width: calc(100% - 40px);
  }
}

@media (min-width: 1200px) {
  .pdinner {
    width: calc(100% - 80px);
  }
}

@media (min-width: 1600px) {
  .pdinner {
    width: calc(100% - 100px);
  }
}

/* ==========================================
   1. 공통 레이아웃 (.pdinner) & 모바일 기본
   ========================================== */
#main .visual {
  width: 100%;
  overflow: hidden;
}

#main .main_wrap {
  padding-top: 60px;
}

#main .visual .pdinner {
  max-width: 1820px;
}

@media (min-width: 1200px) {
  #main .visual .pdinner {
    /* padding-left: 50px; */
    /* padding-right: 50px; */
  }
}

.visual-swiper {
  position: relative;
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
}

.visual-swiper .swiper-slide {
  position: relative;
  width: 100%;
  height: 450px; /* 모바일 높이 */
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.visual-content {
  position: absolute;
  left: 8%;
  z-index: 2;
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* 버튼이 왼쪽 정렬되도록 설정 */
}

@media (max-width: 767px) {
  .visual-content {
    top: 34%;
    transform: translateY(-50%);
  }
}

.vis_sub_tit {
  margin-bottom: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.02rem;
}

.vis_tit {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02rem;
  margin-bottom: 12px;
}

.vis_tit .accent {
color:var(--col02);
}

/* 선택자 변경: .vis_p */
.vis_p {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
  color: #333;
  margin-bottom: 20px; /* 버튼과의 간격 확보 */
}

.vis_btn {
}

.vis_btn:hover {
  background-color: var(--col02);
}

.visual-theme-green .vis_tit,
.visual-theme-green .vis_tit .accent {
  color: #2f8f5b;
}

.visual-theme-green .vis_btn {
  background: #2f8f5b;
}

.visual-theme-green .vis_btn:hover,
.visual-theme-green .vis_btn:focus {
  background: #227347;
}

.visual-theme-orange .vis_tit,
.visual-theme-orange .vis_tit .accent {
  color: #df7a22;
}

.visual-theme-orange .vis_btn {
  background: #df7a22;
}

.visual-theme-orange .vis_btn:hover,
.visual-theme-orange .vis_btn:focus {
  background: #bd6218;
}

.visual-theme-brown .vis_tit,
.visual-theme-brown .vis_tit .accent {
  color: #9b7953;
}

.visual-theme-brown .vis_btn {
  background: #9b7953;
}

.visual-theme-brown .vis_btn:hover,
.visual-theme-brown .vis_btn:focus {
  background: #7d5f3f;
}

.visual-theme-coral .vis_tit,
.visual-theme-coral .vis_tit .accent {
  color: #e56f62;
}

.visual-theme-coral .vis_btn {
  background: #e56f62;
}

.visual-theme-coral .vis_btn:hover,
.visual-theme-coral .vis_btn:focus {
  background: #c95549;
}

.visual-theme-blue .visual-content,
.visual-theme-blue .vis_sub_tit,
.visual-theme-blue .vis_tit,
.visual-theme-blue .vis_tit .accent,
.visual-theme-blue .vis_p {
  color: #fff;
}

.visual-theme-blue .vis_btn {
  background: #8a5728;
  color: #fff;
}

.visual-theme-blue .vis_btn:hover,
.visual-theme-blue .vis_btn:focus {
  background: #6f421d;
}

html.visual-motion-ready .visual-swiper .visual-content > .vis_sub_tit,
html.visual-motion-ready .visual-swiper .visual-content > .vis_p,
html.visual-motion-ready .visual-swiper .visual-content > .vis_btn {
  opacity: 0;
  transform: translate3d(-34px, 0, 0);
  transition: opacity 0.85s ease, transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

html.visual-motion-ready .visual-swiper .swiper-slide.is-visual-animated .visual-content > .vis_sub_tit,
html.visual-motion-ready .visual-swiper .swiper-slide.is-visual-animated .visual-content > .vis_p,
html.visual-motion-ready .visual-swiper .swiper-slide.is-visual-animated .visual-content > .vis_btn {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

html.visual-motion-ready .visual-swiper .visual-content > .vis_sub_tit {
  transition-delay: 0.08s;
}

html.visual-motion-ready .visual-swiper .visual-content > .vis_p {
  transition-delay: 0.28s;
}

html.visual-motion-ready .visual-swiper .visual-content > .vis_btn {
  transition-delay: 0.46s;
}

@media (prefers-reduced-motion: reduce) {
  html.visual-motion-ready .visual-swiper .visual-content > .vis_sub_tit,
  html.visual-motion-ready .visual-swiper .visual-content > .vis_p,
  html.visual-motion-ready .visual-swiper .visual-content > .vis_btn {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.btnBlue,
.btn_blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  min-height: 43px;
  padding: 0 20px;
  border-radius: 6px;
  background: var(--col02);
  color: #fff;
  font-size: 1rem;
  /* font-weight: 600; */
  line-height: 1.2;
  text-align: center;
  box-sizing: border-box;
  transition: 0.2s;
}

.btnBlue:hover,
.btnBlue:focus,
.btn_blue:hover,
.btn_blue:focus {
  background: var(--col01);
  color: #fff;
}

/* 컨트롤러 스타일 */
.visual-swiper .swiper-button-prev,
.visual-swiper .swiper-button-next {
  width: 54px;
  height: 54px;
  background-color: #3333335e;
  border-radius: 50%;
  color: #fff;
}

.visual-swiper .swiper-button-prev::after,
.visual-swiper .swiper-button-next::after {
  font-size: 16px;
}

.visual-swiper .swiper-button-prev {
  left: 15px;
}
.visual-swiper .swiper-button-next {
  right: 15px;
}

.visual-swiper .swiper-pagination-bullet-active {
  background: var(--col02);
}
/* main_visu */

/* ==========================================
   main scroll reveal
========================================== */

#main.main-animate-ready .main-reveal-title,
#main.main-animate-ready .main-reveal-item {
  opacity: 0;
}

#main.main-animate-ready .main-reveal-title {
  will-change: opacity;
}

#main.main-animate-ready .main-reveal-item {
  transform: translate3d(0, 34px, 0);
  will-change: opacity, transform;
}

#main.main-animate-ready .main-section-revealed .main-reveal-title {
  animation: mainRevealFade 1500ms cubic-bezier(0.19, 1, 0.22, 1) both;
}

#main.main-animate-ready .main-section-revealed .main-reveal-item {
  animation: mainRevealFloat 1500ms cubic-bezier(0.19, 1, 0.22, 1) both;
}

@keyframes mainRevealFade {
  to {
    opacity: 1;
  }
}

@keyframes mainRevealFloat {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  #main.main-animate-ready .main-reveal-title,
  #main.main-animate-ready .main-reveal-item {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

@media (max-width: 767px) {
  #main.main-animate-ready .main-reveal-title {
    font-size: 1.5rem;
  }
}

/* ==========================================
   sec01, sec02 공통
========================================== */

#main .sec01-02 {
  position: relative;
  padding: 70px 0;
}

#main .sec01-02 .pdinner {
  position: relative;
  z-index: 1;
}

#main .sec01-02 .txt_box {
  width: 100%;
}

#main .sec01-02 .sub_tit {
  display: block;
  /* margin-bottom: 10px; */
  font-size: 1.75rem;
  font-weight: 600;
  /* color: #444; */
}

#main .main_section_title {
  font-size: 1.125rem;
  line-height: 1.4;
  font-weight: 600;
  word-break: keep-all;
  margin-bottom: 20px;
}

#main .main_section_title strong {
  color: var(--col02);
  font-weight: 700;
}

#main .sec01-02 .sub_tit.main_section_title {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0;
}

@media all and (min-width: 1200px) {
  #main .main_section_title {
    font-size: 2.25rem;
    line-height: 1.35;
  }
}

#main .sec01-02 .btn_wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  margin-top: 20px;
}

#main .sec01-02 .main_mobile_title,
.sec03 .sec_tit .main_mobile_title {
  font-size: 1.35rem;
  line-height: 1.45;
  font-weight: 700;
  color: #222;
  margin-bottom: 12px;
}

#main .sec01-02 .sub_tit.main_mobile_title {
  margin-bottom: 6px;
}

@media all and (max-width: 767px) {
  #main .main_section_title {
    font-size: 1.35rem;
    line-height: 1.45;
    font-weight: 700;
    margin-bottom: 12px;
  }

  #main .sec01-02 .sub_tit.main_section_title {
    font-size: 1.35rem;
    margin-bottom: 6px;
  }
}

#main .sec01-02 .link_txt {
  font-size: 1rem;
  /* font-weight: 500; */
  color: #3452b7;
}

#main .sec01-02 .btn {
}

.bg_line {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.bg_line img {
  display: block;
  width: 100%;
}

/* ==========================================
   sec01
========================================== */

#main .sec01 {
  background: #fff;
}

#main .sec01 .img_box {
  width: 100%;
}

#main .sec01 .img_box img {
  display: block;
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  max-height: 440px;
}

.sec01 .bg_line {
  bottom: 0;
  left: -330px;
  width: 700px;
}

/* ==========================================
   sec02
========================================== */

#main .sec02 {
  background: #edf3fb;
  text-align: left;
}

#main .sec02 .pdinner {
  display: grid;
  justify-items: center;
  /* gap: 30px; */
}

#main .sec02 .txt_box {
  width: min(100%, 920px);
  margin-bottom: 20px;
}

#main .sec02 .card_wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  width: min(100%, 1040px);
  text-align: left;
}

#main .sec02 .relation_wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-self: start;
  gap: 12px;
  margin-bottom: 0;
}

#main .sec02 .card {
  position: relative;
  min-height: 160px;
  padding: 25px;
  border-radius: 20px 27px 20px 20px;
  background: #fff;
  transition: 0.2s;
  overflow: hidden;
}

#main .sec02 .card.active {
  background: var(--col02);
  color: #fff;
}

#main .sec02 .card .icon {
  margin-bottom: 20px;
}

#main .sec02 .card .icon img {
  width: 48px;
}

#main .sec02 .card.active .icon img {
  filter: brightness(0) invert(1);
}

#main .sec03 .txt {
  padding: 26px 24px;
  background-color: #ffffff;
  border-radius: 0 0 20px 20px;
  border : 1px solid #E7E7E7;
}
#main .sec02 .card h3 {
  margin-bottom: 5px;
  font-size: 1.125rem;
  font-weight: 600;
  color: #333;
}

#main .sec02 .card p {
  margin-top: 0;
  font-size: 1.125rem;
  line-height: 1.6;
   color: #888;
}
#main .sec03 .btn_plus {
  border : 1px solid #E7E7E7;
  transition: transform 0.2s, background-color 0.2s, border-color 0.2s;
}

#main .sec03 .card:hover .btn_plus,
#main .sec03 .card.active .btn_plus {
  transform: rotate(90deg);
  border-color: var(--col02);
  background-color: var(--col02);
  box-shadow: none;
}

#main .sec03 .card:hover .btn_plus img,
#main .sec03 .card.active .btn_plus img {
  filter: brightness(0) invert(1);
}

#main .sec02 .card:hover h3 {
  color: #ffffff;
}

#main .sec02 .card:hover p {
  color: #ffffffb8;
}
#main .sec02 .btn_area {
  background-color: #edf3fb;
}
#main .sec02 .btn_area::before {
  box-shadow: 16px -16px 0 16px #edf3fb;
}

#main .sec02 .btn_area::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -32px;
  width: 32px;
  height: 32px;
  border-radius: 0 30px 0 0;
  box-shadow: 16px -16px 0 16px #edf3fb;
}
  .sec01 .bg_line {
    opacity: 0.5;
    top: 0;
    left: -140px;
    width: 150%;
  }

/* sec01-02 */

.sec03 {
  position: relative;
  padding: 70px 0;
  overflow: hidden;
}

.sec03::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;

  width: 100%;
  height: 43.9%; /* 배경 높이 절반 */

  background: #f9f9f9;
  z-index: -1;
}

.sec03 .sec_tit {
  text-align: left;
  margin-bottom: 35px;
}

.sec03 .sec_tit h2 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  color: #222;
  margin-bottom: 8px;
}

.sec03 .sec_tit h2 span {
  color: #3a4a9d;
}

.sec03 .sec_tit p {
  color: #888;
  font-size: 1rem;
  line-height: 1.5;
}

.sec03 .tab_wrap {
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
}

.sec03 .tab {
  border: 0;
  background: none;
  padding: 0;
  color: #888;
  font-size: 1.125rem;
  cursor: pointer;
  font-weight: 500;
}

.sec03 .tab.active {
  color: var(--col02);
  font-weight: 700;
}

.sec03 .tab.active::before {
  content: "•";
  margin-right: 4px;
}

/* 카드 */

/* .sec03 .swiper{
    overflow:visible;
}
 */
.sec03 .news_templates {
  display: none;
}

.sec03 .news_swiper {
  overflow: hidden;
}

.sec03 .news_swiper .swiper-wrapper {
  align-items: stretch;
}

.sec03 .swiper-slide {
  height: auto;
}

.sec03 .news_swiper .swiper-slide {
  display: flex;
  height: auto;
  list-style: none;
}

.sec03 .card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
}

/* 썸네일 */

.sec03 .thumb {
  position: relative;
  flex-shrink: 0;
  height: 180px;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
}

.sec03 .thumb > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px 30px 0 0;
}

/* 텍스트 */

.sec03 .txt {
  display: block;
  padding: 24px;
}

.sec03 .cate {
  display: block;
  margin-bottom: 12px;
  color: #5676dc;
  font-size: 1rem;
  font-weight: 500;
}

.sec03 .cate.report {
  color: #9cb7ef;
}

.sec03 .txt h3 {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.5;
  font-weight: 600;
  /* color: #222; */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 52px;
}

.sec03 .date {
  display: block;
  margin-top: 20px;
  padding-top: 0;
  color: #b7b7b7;
  font-size: 0.875rem;
}

/* 하단 컨트롤 */

.sec03 .slide_control {
  margin-top: 28px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.sec03 .progress_wrap {
  flex: 1;
  height: 2px;
  background: #ddd;
  position: relative;
}

.sec03 .progress_bar {
  position: absolute;
  left: 0;
  top: 0;

  width: 25%;
  height: 100%;

  background: #324aa8;
  transform: translateX(0);
  transition: transform 0.3s;
}

/* 화살표 */

.sec03 .arrow_wrap {
  display: flex;
  gap: 10px;
}

.sec03 .news_prev,
.sec03 .news_next {
  width: 54px;
  height: 54px;

  border: 1px solid #e5e5e5;
  border-radius: 50%;

  background: #fff;
  position: relative;
  cursor: pointer;
}

.sec03 .news_prev::before,
.sec03 .news_next::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;

  width: 8px;
  height: 8px;

  border-top: 2px solid #999;
  border-right: 2px solid #999;
}

.sec03 .news_prev::before {
  transform: translate(-35%, -50%) rotate(-135deg);
}

.sec03 .news_next::before {
  transform: translate(-65%, -50%) rotate(45deg);
}

.sec03 .news_prev:hover,
.sec03 .news_next:hover {
  background: #324aa8;
}

.sec03 .news_prev:hover::before,
.sec03 .news_next:hover::before {
     border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
}

@media (min-width: 768px) {
  .visual-swiper .swiper-slide {
    height: 550px;
  }
  .visual-content {
    left: 10%;
  }
  .vis_tit {
    font-size: 2.2rem;
    margin-bottom: 16px;
  }
  .vis_sub_tit {
    margin-bottom: 10px;
    font-size: 1rem;
  }
  .vis_p {
    font-size: 1.125rem;
    margin-bottom: 25px;
  }
  .vis_btn {
    padding: 12px 32px;
    font-size: 1rem;
  }

  #main .sec01 .pdinner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  #main .sec01-02 {
    padding: 90px 0;
  }

  #main .sec01-02 h2 {
    font-size: 2.25rem;
  }
  #main .sec02 .card h3 {
    font-size: 1.5rem;
  }
  .sec03 .txt h3 {
    font-size: 1.25rem;
  }
  #main .sec03 .tab {
    font-size: 1.25rem;
  }
  #main .sec01-02 h2 > br {
    display: block;
  }

  #main .sec01-02 p {
    font-size: 1.125rem;
    /* margin-bottom: 20px; */
  }
  #main .sec01-02 .link_txt,
  .sec03 .sec_tit p {
    font-size: 1.125rem;
  }
  #main .sec02 {
    display: block;
    text-align: center;
  }

  #main .sec02 .card_wrap {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #main .sec02 .card {
    padding: 30px;
  }

  #main .sec02 .relation_wrap {
    justify-self: center;
    justify-content: center;
  }

  #main .sec02 .card .icon img {
  }

  .sec01 .bg_line {
  top: auto;
    bottom: -1px;
    left: calc(50% - 639px);
    width: 700px;
  }

  .sec02 .bg_line {
    top: -1px;
    left: calc(50% + 58px);
    width: 803px;
  }
  .sec03 {
    padding: 90px 0;
  }

  .sec03::before {
  height: 42.1%; /* 배경 높이 절반 */
}

  .sec03 .sec_tit {
    text-align: center;
    margin-bottom: 35px;
  }

  .sec03 .sec_tit h2 {
    font-size: 2.5rem;
  }

  .sec03 .thumb {
    height: 220px;
  }

  .sec03 .txt,
  #main .sec03 .txt {
    padding: 30px;
  }

  .sec03 .cate {
    margin-bottom: 12px;
  }

  .sec03 .slide_control {
    margin-top: 35px;
  }
}

@media (min-width: 1200px) {
  .visual-swiper .swiper-slide {
    height: 650px;
  }
  .vis_tit {
    font-size: 2.8rem;
    margin-bottom: 20px;
  }
  .vis_sub_tit {
    font-size: 1.125rem;
  }
  .vis_p {
    font-size: 1.125rem;
    margin-bottom: 30px;
  }
  #main .main_wrap {
    padding-top: 120px;
  }
  #main .sec01 {
    padding: 100px 0;
  }

   #main .sec02 {
    /* padding: 120px 0; */
    text-align: center;
  }

  #main .sec02 .pdinner {
    display: grid;
    justify-items: center;
    align-items: center;
  }

  #main .sec01 .txt_box {
    width: 45%;
  }

  #main .sec02 .txt_box {
    width: min(100%, 920px);
  }

  #main .sec02 .relation_wrap {
    justify-content: center;
    margin-top: 40px;
  }

  #main .sec01 .img_box {
    width: 45%;
  }

  #main .sec02 .card_wrap {
    width: min(100%, 1040px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
  }

  #main .sec02 .card .icon {
    margin-bottom: 80px;
  }
  #main .sec02 .card .icon img {
  width: 60px;
}
#main .sec01-02 .btn_wrap {
  margin-top: 40px;
  margin-bottom: 0;
}
  .sec01 .bg_line {
    left: calc(50% - 1350px);
    width: 1158px;
  }

  .sec02 .bg_line {
    left: calc(50% - 194px);
    width: 1503px;
  }

  #main .sec01-02 h2 {
    font-size: 2.25rem;
    margin-bottom: 40px;
  }

  #main .sec01-02 p {
    font-size: 1.125rem;
  }

  #main .sec02 .card h3 {
  margin-bottom: 10px;
}
#main .sec02 .txt_box {
  margin-bottom: 40px;
}
  
  .sec03 {
    padding: 100px 0;
  }
    .sec03::before {
  height: 45.1%; /* 배경 높이 절반 */
}
  .sec03 .tab_wrap {
    justify-content: flex-end;
    gap: 24px;
    margin-bottom: 28px;
  }
  .sec03 .thumb {
    height: 180px;
  }

  .sec03 .news_prev,
  .sec03 .news_next {
    width: 54px;
    height: 54px;
  }
}

@media (min-width: 1600px) {
  .visual-swiper .swiper-slide {
    height: 720px;
  }
  .vis_tit {
    font-size: 3.375rem;
  }
  .vis_p {
    font-size: 1.25rem;
  }

  #main .sec01 h2 > br {
    display: none;
  }

  #main .sec01-02 p {
    font-size: 1.25rem;
  }

    #main .sec01 p {
   margin-bottom: 1rem;
  }
  #main .sec01-02 .link_txt,
  .sec03 .sec_tit p {
    font-size: 1.25rem;
  }

  #main .sec02 .card {
    min-height: 220px;
  }
}
/* sub_top */
/* ========================================
   SUB VISUAL
======================================== */

#sub_vis {
  position: relative;
  overflow: visible;
  background: #eef5f2; /* 이미지가 로딩되기 전 보일 기본 배경색 */
  min-height: 190px;
  margin-top: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* 가상 요소의 공통 레이아웃 설정 (url 속성은 제거) */
#sub_vis::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  z-index: 1;
}

#sub_vis::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
  pointer-events: none;
}

/* ========================================
   페이지별 배경 이미지 분기 (원하셨던 스타일!)
======================================== */
#sub_vis.sub01::before {
  background: url("../img/suv_vis01.jpg") no-repeat center center;
  background-size: cover;
}
#sub_vis.sub02::before {
  background: url("../img/sub_vis02.jpg") no-repeat center center;
  background-size: cover;
}
#sub_vis.sub03::before {
  /* 기본(모바일 포함): 모바일 전용 이미지를 우선 사용하여 다른 sub_vis와 동일한 동작을 유지합니다. */
  background: url("../img/suv_vis03m.jpg") no-repeat center center;
  background-size: cover;
}
#sub_vis.sub04::before {
  background: url("../img/suv_vis04.jpg") no-repeat center center;
  background-size: cover;
}
#sub_vis.sub10::before {
  background: url("../img/suv_vis10.jpg") no-repeat center center;
  background-size: cover;
}

/* 데스크톱에서만 적용되는 예외 레이아웃: 이미지 왼쪽, 텍스트는 오른쪽에 배치하고
   좌우에 브라운톤 그라데이션을 추가합니다. (min-width:1200px 이상) */
@media (min-width: 1200px) {
  /* 데스크탑에서도 모바일용 이미지를 그대로 사용하되, 좌측 정렬로 위치만 조정합니다. */
  #sub_vis.sub03 {
    --sub03-photo-width: 66%;
    --sub03-photo-position: right center;
    --sub03-photo-fade-mid: 34%;
    --sub03-photo-fade-solid: 54%;
    --sub03-grad-strong: 36%;
    --sub03-grad-soft: 56%;
    background: linear-gradient(180deg, #d3ad6b 0%, #bf8543 58%, #a8622f 100%);
  }

  #sub_vis.sub03::before {
    left: auto;
    right: 0;
    width: var(--sub03-photo-width);
    background-position: var(--sub03-photo-position);
    background-size: cover;
    -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.55) var(--sub03-photo-fade-mid), #000 var(--sub03-photo-fade-solid), #000 100%);
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.55) var(--sub03-photo-fade-mid), #000 var(--sub03-photo-fade-solid), #000 100%);
  }

  #sub_vis.sub03 > .pdinner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
  }

  #sub_vis.sub03 .sub_tit {
    /* width: 42%; */
    text-align: center;
    /* padding: 0 28px 0 max(40px, calc((100% - 1400px) / 2)); */
  }

  #sub_vis.sub03 .sub_tit p,
  #sub_vis.sub03 .sub_tit h2 {
    text-align: center;
  }

  /* 기존의 어둡게 덮는 ::after를 덮어써서 좌우 브라운 그라데이션 + 중앙 음영을 만듭니다. */
  #sub_vis.sub03::after {
    background:
      linear-gradient(180deg, rgba(214, 180, 111, 0.18) 0%, rgba(191, 126, 59, 0.06) 48%, rgba(150, 80, 34, 0.22) 100%),
      linear-gradient(90deg, rgba(164, 91, 41, 0.94) 0%, rgba(183, 111, 48, 0.78) var(--sub03-grad-strong), rgba(199, 143, 76, 0.34) var(--sub03-grad-soft), rgba(211, 173, 107, 0.08) 70%, rgba(211, 173, 107, 0) 100%);
    z-index: 1;
    pointer-events: none;
  }
}

/* 텍스트가 이미지 뒤로 숨지 않도록 z-index 조정 */
#sub_vis .pdinner {
  position: static;
  z-index: 2;
  width: 100%;
  max-width: none;
  padding: 45px 20px 90px;
}

#sub_vis .sub_tit {
  position: relative;
  z-index: 2;
}

#sub_vis .sub_tit p {
  /* margin-bottom: 10px; */
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
}

#sub_vis .sub_tit h2 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
}

/* ========================================
   SUB MENU
======================================== */

#sub_vis .menu_wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0;
  height: 50px;
  padding: 0 max(15px, calc((100% - 1400px) / 2));
  background: #fff;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  z-index: 5;
}

#sub_vis .menu_wrap .pdinner {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 100%;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

#sub_vis .menu_wrap .home {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  width: 60px;
  height: 100%;
  padding: 0;
  border-left: 1px solid #e5e5e5;
  border-right: 1px solid #e5e5e5;
  font-size: 0;
  box-sizing: border-box;
}

#sub_vis .menu_wrap .home::before {
  content: "home";
  font-family: var(--ic);
  font-size: 22px;
  color: #222;
}

#sub_vis .submenu {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 180px;
  width: auto;
  max-width: 280px;
  height: 100%;
  border-right: 1px solid #e5e5e5;
  box-sizing: border-box;
  text-align: left;
}

#sub_vis .submenu.depth1_menu {
  width: 220px;
}

#sub_vis .submenu.depth2_menu {
  width: 280px;
}

#sub_vis .submenu.depth3_menu {
  width: 280px;
}

#sub_vis .submenu .arr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: 0 20px;
  background: #fff;
  border: 0;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  text-align: left;
  box-sizing: border-box;
}

#sub_vis .submenu .arr::after {
  content: "keyboard_arrow_down";
  font-family: var(--ic);
  font-size: 18px;
  margin-left: auto;
  transition: 0.2s;
}

#sub_vis .submenu.on .arr::after {
  transform: rotate(180deg);
}

#sub_vis .submenu .arr span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#sub_vis .submenu .list {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  max-height: 60vh;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-top: 0;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 15px 35px rgb(0 0 0 / 10%);
}

#sub_vis .submenu.on .list {
  display: block;
}

#sub_vis .submenu .depth2_link,
#sub_vis .submenu.depth1_menu .list > a,
#sub_vis .submenu.depth3_menu .list > a,
#sub_vis .submenu .depth3 a {
  display: block;
  color: #222;
  line-height: 1.35;
}

#sub_vis .submenu .depth2_link,
#sub_vis .submenu.depth1_menu .list > a,
#sub_vis .submenu.depth3_menu .list > a {
  padding: 13px 20px;
  border-top: 1px solid #f0f0f0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#sub_vis .submenu.depth1_menu .list > a.on,
#sub_vis .submenu.depth1_menu .list > a:hover,
#sub_vis .submenu.depth3_menu .list > a.on,
#sub_vis .submenu.depth3_menu .list > a:hover,
#sub_vis .submenu .depth2.on .depth2_link,
#sub_vis .submenu .depth2_link:hover {
  color: var(--col01);
}

#sub_vis .submenu .depth3 {
  display: none;
  padding: 4px 0 12px;
  background: #f8faf9;
}

#sub_vis .submenu .depth2.on .depth3,
#sub_vis .submenu .depth2:hover .depth3 {
  display: block;
}

#sub_vis .submenu .depth3 a {
  position: relative;
  padding: 7px 20px 7px 34px;
  font-size: 13px;
  color: #555;
}

#sub_vis .submenu .depth3 a::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 1.05rem;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #aaa;
}

#sub_vis .submenu .depth3 a.on,
#sub_vis .submenu .depth3 a:hover {
  color: var(--col01);
  font-weight: 700;
}

#sub_vis .submenu .depth3 a.on::before,
#sub_vis .submenu .depth3 a:hover::before {
  background: var(--col01);
}

@media (max-width: 768px) {
  #sub_vis .menu_wrap {
    padding: 0;
  }

  #sub_vis .menu_wrap .home {
    min-width: 44px;
    width: 44px;
  }

  #sub_vis .submenu,
  #sub_vis .submenu.depth1_menu,
  #sub_vis .submenu.depth2_menu,
  #sub_vis .submenu.depth3_menu {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    max-width: none;
  }

  #sub_vis .submenu .arr {
    padding: 0 10px;
    font-size: 13px;
  }

  #sub_vis .submenu .arr::after {
    flex: 0 0 auto;
    font-size: 16px;
  }

  #sub_vis .submenu .depth2_link,
  #sub_vis .submenu.depth1_menu .list > a,
  #sub_vis .submenu.depth3_menu .list > a {
    padding: 12px 10px;
    font-size: 13px;
  }

  #sub_vis .submenu .list {
    position: fixed;
    z-index: 1000;
    border: 1px solid #dfe5ee;
    border-radius: 12px;
    box-shadow: 0 18px 45px rgba(21, 34, 64, 0.18);
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  #sub_vis .submenu .depth2_link,
  #sub_vis .submenu.depth1_menu .list > a,
  #sub_vis .submenu.depth3_menu .list > a {
    display: block;
    min-height: 44px;
    line-height: 20px;
    color: #222;
    background: #fff;
    box-sizing: border-box;
  }

  #sub_vis .submenu.depth1_menu .list > a.on,
  #sub_vis .submenu.depth3_menu .list > a.on,
  #sub_vis .submenu .depth2.on .depth2_link {
    background: #eef5fc;
    color: var(--col01);
  }
}

/* ========================================
   SUB CONTENT
======================================== */

.subwrap {
  width: 100%;
  margin: 0 auto;
  padding: 50px 0;
}

.sub_con {
  width: 100%;
}

/* ========================================
   TABLET (769px~1199px)
======================================== */

@media (min-width: 769px) {
  #sub_vis {
    min-height: 205px;
  }

  #sub_vis .pdinner {
    padding: 50px 20px 80px;
  }

  #sub_vis .sub_tit p {
    font-size: 16px;
  }

  #sub_vis .sub_tit h2 {
    /* font-size: 42px; */
  }

  #sub_vis .menu_wrap {
    height: 55px;
  }

  #sub_vis .submenu .arr,
  #sub_vis .submenu .depth2_link {
    font-size: 13px;
  }

  .subwrap {
    padding: 70px 0;
  }
}

/* ========================================
   PC (1200px~)
======================================== */

@media (min-width: 1200px) {
  .btnBlue,
  .btn_blue {
    font-size: 1.125rem;
  }
  #sub_vis {
    min-height: 205px;
    margin-top: 120px;
  }

  #sub_vis .pdinner {
    padding: 100px 0 160px;
  }

  #sub_vis .sub_tit p {
    font-size: 1.5rem;
    /* margin-bottom: 12px; */
  }

  #sub_vis .sub_tit h2 {
   font-size: 3rem;
  }

  #sub_vis .menu_wrap {
    height: 60px;
    padding: 0 max(40px, calc((100% - 1400px) / 2));
  }

  #sub_vis .menu_wrap .pdinner {
    padding: 0;
  }

  #sub_vis .submenu .arr,
  #sub_vis .submenu .depth2_link,
  #sub_vis .submenu.depth3_menu .list > a {
    font-size: 1rem;
  }

  #sub_vis .submenu .depth2_link,
  #sub_vis .submenu.depth3_menu .list > a {
    min-height: 48px;
    padding-top: 13px;
    padding-bottom: 13px;
    line-height: 20px;
    box-sizing: border-box;
  }

  .subwrap {
    padding: 80px 0;
  }
}

/* ==========================================
   기본 스타일 (모바일 - 767px 이하)
========================================== */
#footer {
  background: #3a3a3a;
  color: #c7c7c7;
  font-size: 1rem;
  text-align: center;
}
#footer strong {
  color: #fff;
  font-weight: 600;
  margin-right: 5px;
}

#footer .link {
  border-bottom: 1px solid rgba(222, 222, 222, 0.12);
  padding: 18px 0;
}
#footer .footer_link_inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}
#footer .link ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
#footer .link a {
  color: #fff;
  opacity: 0.9;
  text-decoration: none;
  font-weight: 600;
}
#footer .footer_family {
  position: relative;
  width: min(100%, 240px);
}
#footer .footer_family::after {
  content: "keyboard_arrow_down";
  position: absolute;
  right: 12px;
  top: 50%;
  color: #8f8f8f;
  font-family: var(--ic);
  font-size: 18px;
  line-height: 1;
  transform: translateY(-50%);
  pointer-events: none;
}
#footer .footer_family select {
  width: 100%;
  height: 45px;
  padding: 0 38px 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  background: transparent;
  color: #d7d7d7;
  line-height: 36px;
  font-size: 1rem;
}
#footer .footer_family select option {
  color: #222;
}
#footer .info {
  padding: 34px 0 54px;
}
#footer .info h5 {
  margin-bottom: 18px;
  margin-top: 0;
}
#footer .info h5 img {
  width: 200px;
  vertical-align: middle;
}
#footer .info_flex {
  display: flex;
  flex-direction: column-reverse;
  gap: 25px 0;
  align-items: center;
}
#footer .info_left {
  width: 100%;
}
#footer .info ul {
  display: flex;
  flex-direction: column;
  gap: 6px 0;
  list-style: none;
  margin: 0 0 10px 0;
  padding: 0;
}
#footer .info ul li {
  line-height: 1.45;
}
#footer p {
  font-size: 0.875rem;
  margin-top: 20px;
  margin-bottom: 0;
  opacity: 0.5;
  color: #fff;
}
#footer .info_right {
  display: flex;
  gap: 0 30px;
  align-items: center;
}
#footer .info_right a {
  display: flex;
  align-items: center;
}
#footer .info_right .gov_logo {
  max-height: 32px;
  opacity: 0.85;
}
#pageup {
  position: fixed;
  z-index: 999;
  right: 20px;
  bottom: 20px;
  width: 54px;
  height: 54px;
  background: var(--col02);
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.fixed_donation {
  position: fixed;
  right: 18px;
  bottom: 88px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  width: 112px;
  height: 112px;
  padding: 0 10px 18px;
  color: #fff;
  background: var(--col02);
  border-radius: 50%;
  box-sizing: border-box;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(30, 44, 118, 0.22);
  animation: donationFloat 3s ease-in-out infinite;
}

.fixed_donation_img {
  position: absolute;
  left: 50%;
  top: -44px;
  width: 94px;
  transform: translateX(-50%);
  pointer-events: none;
}

.fixed_donation_img img {
  display: block;
  width: 100%;
}

.fixed_donation_txt {
  position: relative;
  z-index: 1;
  display: block;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0;
}

.fixed_donation:hover,
.fixed_donation:focus {
  color: #fff;
  transform: translateY(-4px);
}

@keyframes donationFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fixed_donation {
    animation: none;
  }
}

@media all and (max-width: 767px) {
  html,
  body {
    overflow-x: hidden;
  }

  #pageup {
    right: max(14px, env(safe-area-inset-right));
    bottom: calc(14px + env(safe-area-inset-bottom));
    width: 46px;
    height: 46px;
    font-size: 0.75rem;
  }

  .fixed_donation {
    right: calc(8px + env(safe-area-inset-right));
    bottom: calc(72px + env(safe-area-inset-bottom));
    width: 100px;
    height: 100px;
    padding: 0 8px 18px;
    overflow: visible;
  }

  .fixed_donation_img {
    top: -28px;
    left: 56px;
    width: 76px;
  }

  .fixed_donation_txt {
    font-size: 1rem;
  }
}

@media all and (min-width: 768px) {
  #footer {
    text-align: left;
  }
  #footer .link {
    padding: 18px 0;
  }
  #footer .footer_link_inner {
    flex-direction: row;
    gap: 30px;
  }
  #footer .link ul {
    justify-content: flex-start;
    gap: 0 32px;
  }
  #footer .info_flex {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
  #footer .info ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0 20px;
    margin-bottom: 9px;
  }
  #footer .info ul li {
    line-height: 1.6;
  }
  #footer p {
    margin-top: 15px;
  }
  #footer .info_right {
    margin-top: 24px;
    width: 280px;
  }
  #footer .info_right .gov_logo {
    
  }
  #pageup {
    right: 30px;
    bottom: 30px;
  }
  .fixed_donation {
    right: 30px;
    bottom: 105px;
    width: 128px;
    height: 128px;
    padding-bottom: 24px;
  }
  .fixed_donation_img {
    top: -30px;
    left: 70px;
    width: 95px;
  }
  .fixed_donation_txt {
    font-size: 1.25rem;
  }
}
