@charset "UTF-8";
@import './tokens.css';

/* ---- 레이아웃 및 전체 설정 ---- */
#wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  background: var(--background-white);
  position: relative;
  min-height: 100vh;
}

#container {
  display: flex;
  position: relative;
  overflow: hidden;
  height: 100vh;
  flex: 1;
  align-items: stretch;
}

#lnb {
  width: 256px;
  background: #f6f7fb;
  padding: 0 var(--padding-7);
  border-right: 1px solid var(--border-gray-light);
  display: flex;
  flex-direction: column;
  z-index: 100;
  position: relative;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 100%;
  flex-shrink: 0;
  overflow-y: auto;
}

#lnb.lnb-open {
  width: 256px;
}

#lnb.lnb-close {
  width: 80px;
  align-items: center;
  overflow-x: hidden;
  overflow: visible;
}

#lnb .btn-menu,
#lnb .btn-navi {
  width: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  border: none;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  transition: all 0.3s;
}

#right-content {
  flex: 1;
  height: 100vh;
  overflow: hidden;
}

#right-content > section {
  width: 100%;
  height: 100%;
}

@media (max-width: 1379.98px) {
  #wrapper {
    overflow-x: hidden;
    overflow-y: auto;
  }
  #container {
    display: block;
  }

  #lnb {
    border-right: none;
    border-bottom: 1px solid #eaeaea;
  }

  #lnb,
  #lnb.lnb-open,
  #lnb.lnb-close {
    width: 100%;
  }

  #lnb.lnb-close,
  #lnb.lnb-open {
    height: 4rem;
  }

  #right-content {
    height: calc(100vh - 4rem);
  }
}

/* ---- 좌측 사이드바 ---- */
/* -- 로고 / 접기 버튼 -- */
#lnb .side-top {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 3.5rem;
}

#lnb .side-top .side-logo {
  display: inline-block;
}

#lnb.lnb-close .side-top .side-logo {
  display: none;
}

#lnb .answer_scroll_side {
  display: none;
  pointer-events: none;
}
#lnb.lnb-close .answer_scroll_side {
  display: flex;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 80px;
  height: 4rem;
  align-items: center;
  justify-content: center;
  background: transparent;
  pointer-events: none;
  z-index: 100;
  overflow: hidden;
  width: calc(100% - 80px);
}

#lnb.lnb-close .answer_scroll_side.active {
  opacity: 1;
  visibility: visible;
}

#lnb.lnb-open .answer_scroll_side {
  display: none !important;
}

#lnb.lnb-close .answer_scroll_side p {
  font-size: 1rem;
  font-weight: var(--typo-weight-bold);
  text-align: center;
  background: var(--surface-white);
  padding: 0 var(--padding-8);
  width: auto;
  max-width: 600px;
  height: 2.5rem;
  line-height: 2.5rem;
  border-radius: var(--radius-large);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -5px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

#lnb .side-top .side-logo a {
  display: flex;
  align-items: center;
  gap: var(--gap-3);
  text-decoration: none;
  position: relative;
}

#lnb .side-top .side-logo a:focus-visible::after,
#lnb .side-top .side-logo a:hover::after {
  content: attr(data-title);
  display: block;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background-color: #333333;
  color: var(--white);
  padding: var(--number-2) var(--number-4);
  border-radius: var(--number-3);
  font-size: var(--pc-fs-body-xxsmall);
  font-weight: var(--typo-weight-regular);
  white-space: nowrap;
  width: auto;
  z-index: 100;
  pointer-events: none;
  animation: fadeInDown 0.2s ease-out;
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(-5px);
  }

  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

#lnb .side-top .side-logo .hd-logo {
  display: block;
  width: 160px;
  height: var(--number-12);
  background: url('../images/common/logo_mfds.svg') no-repeat center center / contain;
  flex-shrink: 0;
}

#lnb .side-top .side-open-btn {
  position: relative;
}

#lnb.lnb-close .side-top .side-open-btn {
  background: #e6e8ef;
  border-radius: 10px;
  width: 2.25rem;
  height: 2.25rem;
}

#lnb .side-top .side-open-btn:focus-visible::after,
#lnb .side-top .side-open-btn:hover::after {
  content: '사이드바 닫기';
  display: block;
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  background-color: #333333;
  color: var(--white);
  padding: var(--number-2) var(--number-4);
  border-radius: var(--number-3);
  font-size: var(--pc-fs-body-xxsmall);
  font-weight: var(--typo-weight-regular);
  white-space: nowrap;
  width: auto;
  z-index: 100;
  pointer-events: none;
  animation: fadeInDown2 0.2s ease-out;
  line-height: 1.3;
}

#lnb.lnb-close .side-top .side-open-btn:focus-visible::after,
#lnb.lnb-close .side-top .side-open-btn:hover::after {
  content: '사이드바 열기';
  right: unset;
  left: 0;
}

@keyframes fadeInDown2 {
  0% {
    opacity: 0;
    transform: translateY(-5px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1379.98px) {
  #lnb .side-top {
    height: var(--header--container-height-m);
  }
  #lnb.lnb-close .answer_scroll_side {
    background: transparent;
  }
}

#lnb.lnb-close .mob-absolute {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#lnb .side-action {
  display: flex;
  align-items: center;
  gap: var(--header--action-gap);
  margin-top: var(--gap-2);
}

#lnb .side-action li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--gap-2);
}

#lnb .side-action .btn-navi {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--gap-3);
  padding: var(--padding-2);
  background: transparent;
  border: 0;
  color: var(--text-basic);
  font-size: var(--fs-base);
  color: #4762e7;
}

#lnb .side-action .btn-navi .icon-area {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#lnb .side-action .btn-navi .svg-icon {
  margin-top: -2px;
  transition: all 0.3s;
}

#lnb .side-action li:hover .svg-icon {
  transform: translateY(-4px);
}

#lnb .side-action .btn-navi span {
  transition: var(--transition-base);
}

#lnb.lnb-close .side-action {
  margin-top: var(--gap-4);
}

#lnb.lnb-close .side-action .btn-navi {
  padding: 0;
  flex-direction: column;
}

#lnb.lnb-close .side-action .btn-navi .icon-area {
  background: #e6e8ef;
  border-radius: 10px;
  width: 2.25rem;
  height: 2.25rem;
}

#lnb.lnb-close .side-action .btn-navi i.svg-icon {
  background-image: url(../images/component/icon/ico_chat_gray.png);
  background-color: transparent !important;
  background-size: contain;
  background-repeat: no-repeat;
  -webkit-mask: none;
  mask: none;
}

#lnb.lnb-close .side-action .btn-navi span {
  display: inline-flex;
  font-size: 0.6875rem;
  text-align: center;
  color: #3d424a;
}

#lnb.lnb-close .side-action .btn-navi span.close-del {
  display: none;
}

/* -- 메뉴 -- */
#lnb .side-nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--gap-4);
  margin-top: var(--gap-4);
}

#lnb.lnb-open .side-nav ul li .btn-menu {
  width: 100%;
  border-radius: var(--number-6);
  padding: var(--number-5) var(--number-11);
  text-align: left;
  font-size: var(--fs-base);
  font-weight: var(--typo-weight-bold);
  background: white;
  color: #3d424a;
  position: relative;
  transition: all 0.3s;
  display: flex;
  flex-direction: row; /* 가로 배치 */
  align-items: center;
}

#lnb.lnb-open .side-nav ul li.on .btn-menu {
  background: linear-gradient(132deg, #b26eff -5.07%, #5a4aff 40.14%, #3a61ff 82.76%);
  color: white;
}

#lnb.lnb-open .side-nav ul li .btn-menu::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.25) 50%, transparent 100%);
  transition: none;
  pointer-events: none;
}

#lnb.lnb-open .side-nav ul li .btn-menu:hover {
  background: linear-gradient(132deg, #b26eff -5.07%, #5a4aff 40.14%, #3a61ff 82.76%);
  color: white;
}

#lnb.lnb-open .side-nav ul li .btn-menu:hover::after {
  animation: shine 0.9s ease-in-out;
}

#lnb.lnb-open .side-nav ul li .btn-menu .svg-icon {
  display: none;
}

/* 메뉴 - close */
#lnb.lnb-close .side-nav ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap-4);
  margin-top: var(--gap-4);
}

#lnb.lnb-close .btn-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--gap-3);
  width: 100%;
  background: transparent;
}

#lnb.lnb-close .side-nav ul li .btn-menu .icon-area {
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 10px;
  width: 2.25rem;
  height: 2.25rem;
  transition: all 0.1s ease;
  flex-shrink: 0;
}

#lnb.lnb-close .side-nav ul li .btn-menu .icon-area::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.25) 50%, transparent 100%);
  transition: none;
  pointer-events: none;
}

#lnb.lnb-close .side-nav ul li .btn-menu .svg-icon {
  display: inline-flex;
}

#lnb.lnb-close .side-nav ul li.on .btn-menu .icon-area {
  background: linear-gradient(132deg, #b26eff -5.07%, #5a4aff 40.14%, #3a61ff 82.76%);
}

#lnb.lnb-close .side-nav ul li .btn-menu:hover .icon-area {
  background: linear-gradient(132deg, #b26eff -5.07%, #5a4aff 40.14%, #3a61ff 82.76%);
  color: white;
}

#lnb.lnb-close .side-nav ul li .btn-menu:hover .icon-area::after {
  animation: shine 0.8s ease-in-out;
}
#lnb.lnb-close .side-nav ul li.on .btn-menu .svg-icon,
#lnb.lnb-close .side-nav ul li .btn-menu:hover .svg-icon {
  filter: brightness(100);
}

#lnb.lnb-close .side-nav ul li .btn-menu span {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 0.6875rem;
  text-align: center;
  color: #3d424a;
  line-height: 1.5;
  white-space: normal;
  word-break: keep-all;
}

@keyframes shine {
  from {
    left: -150%;
  }

  to {
    left: 150%;
  }
}

@media (max-width: 1379.98px) {
  #lnb {
    height: 4rem !important;
    overflow: visible !important;
  }

  #lnb.lnb-open .side-nav ul li.on .btn-menu,
  #lnb.lnb-open .side-nav ul li .btn-menu {
    padding: var(--number-7) var(--number-11);
  }

  .svg-icon.ico-close {
    transform: rotate(90deg);
  }

  .svg-icon.ico-open {
    transform: rotate(90deg);
  }

  #lnb.lnb-close .side-top .side-logo {
    display: inline-block;
  }

  #lnb.lnb-open .side-nav {
    margin-bottom: var(--padding-7);
  }

  #lnb.lnb-close .mob-absolute {
    display: none;
  }

  #lnb.lnb-open .mob-absolute {
    width: 100%;
    height: 100vh;
    display: block;
    position: absolute;
    padding: 0 var(--padding-7);
    left: 0;
    top: 100%;
    background: #f6f7fb;
    z-index: 9999;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: var(--padding-7);
    box-shadow: 0 20px 20px #6f778b1a;
  }

  #lnb.lnb-open .side-top .side-open-btn {
    background: #e6e8ef;
    border-radius: 10px;
    width: 2.25rem;
    height: 2.25rem;
  }

  #lnb .side-top .side-logo a:focus-visible::after,
  #lnb .side-top .side-logo a:hover::after,
  #lnb .side-top .side-open-btn:focus-visible::after,
  #lnb .side-top .side-open-btn:hover::after {
    display: none;
  }
}

/* ---- 우측 콘텐츠 영역 ---- */
/* -- bg -- */
#right-content::before,
#right-content::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 1;
  pointer-events: none;
}

#right-content::before {
  bottom: -68%;
  left: -10%;
  background-image: url(../images/common/bg_left.png);
  background-position: center;
}

#right-content::after {
  bottom: -68%;
  right: -25%;
  background-image: url(../images/common/bg_right.png);
  background-position: center;
}

@media (max-width: 991px) {
  #right-content::before {
    bottom: -50%;
    left: -10%;
  }
  #right-content::after {
    bottom: -50%;
    right: -25%;
  }
}

/* -- 콘텐츠 - 메뉴별 탭 전황 -- */
#right-content > .page {
  display: none;
}
#right-content > .page.on {
  display: flex;
  flex-direction: column;
}

/* -- 콘텐츠 - 헤더 -- */
.header-container .tab-logo {
  display: inline-block;
}
.header-container .tab-logo a {
  display: flex;
  align-items: center;
  gap: var(--number-4);
}
.header-container .tab-logo .tab-hd-logo {
  display: block;
  width: 146px;
  height: var(--number-10);
  background: url('../images/content/header_txt01.svg') no-repeat center center / contain;
  flex-shrink: 0;
}

.page02 .header-container .tab-logo .tab-hd-logo,
.mob-on-header .header-container .tab-logo .tab-hd-logo.menu02 {
  width: 131px;
  background: url('../images/content/header_txt02.svg') no-repeat center center / contain;
}

.header-container .tab-logo .badge {
  padding: var(--number-2) var(--padding-3);
  background: #f0f3ff;
  color: #5a4aff;
  border-radius: 6px;
  font-size: var(--pc-fs-body-small);
  font-weight: 400;
}

.header-container .header-action .ques {
  position: relative;
  display: flex;
  align-items: center;
}
.header-container .header-action .ques .btn-hover {
  position: absolute;
  right: 0;
  bottom: -30px;
  display: block;
  width: fit-content;
  white-space: nowrap;
  padding: 0 var(--padding-3);
  font-size: var(--pc-fs-body-xxsmall);
  font-weight: var(--typo-weight-regular);
  line-height: 1.5;
  letter-spacing: -0.13px;
  background-color: #333333;
  color: var(--white);
  border-radius: var(--number-3);
  transition: 0.5s;
  opacity: 0;
}

.header-container .header-action .ques:focus .btn-hover,
.header-container .header-action .ques:hover .btn-hover {
  opacity: 1;
}
.header-container .header-action .ques .ico-question,
.header-container .header-action .ques .btn-hover {
  transition: 0.5s;
}

/* 콘텐츠 - 헤더 - 모바일 */
.mob-on-header {
  display: none;
  width: 96%;
  position: absolute;
  bottom: 6rem;
}

.mob-on-header .header-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.mob-on-header .header-container .tab-logo .tab-hd-logo {
  width: 130px;
}
.mob-on-header .header-container .tab-logo .tab-hd-logo.menu02 {
  width: 116px;
}
.mob-on-header .header-container .tab-logo .badge {
  font-size: var(--pc-fs-body-xxsmall);
}
.mob-on-header .header-container .tab-logo .badge {
  font-size: var(--pc-fs-body-xxsmall);
}
.mob-on-header .header-container .header-action .ques {
  cursor: default;
  align-items: flex-start;
}
.mob-on-header .header-container .header-action .ques {
  cursor: default;
  align-items: flex-start;
}
.mob-on-header .header-container .header-action .ques .btn-hover {
  opacity: 1;
  background: transparent;
  color: #686868;
  position: relative;
  right: unset;
  bottom: unset;
  font-size: 1rem;
  white-space: wrap;
  text-align: left;
}

.mob-on-header .svg-icon.ico-question {
  width: 1rem;
  height: 1rem;
  margin-top: 3px;
}

@media (max-width: 1379.98px) {
  .header {
    display: none;
  }
  .mob-on-header {
    display: block;
  }
}

@media (max-width: 991px) {
  .mob-on-header .header-container .header-action .ques .btn-hover {
    font-size: 0.9375rem;
  }
  .mob-on-header {
    width: 90%;
  }
}

/* -- 콘텐츠 - 채팅 -- */
.main-content {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 20vh;
}

.main-content .inner {
  width: 100%;
  height: auto;
  max-width: 860px;
  margin: 0 auto;
}
.main-content .main-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.main-content .main-wrap .item-center {
  color: #000519;
  width: 100%;
  max-width: 860px;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.main-content.chat-scroll-area {
  flex: 1;
  height: 100%;
  overflow-y: auto;
  scrollbar-width: thin;
  padding-top: var(--size-height-3);
  padding-bottom: 220px;
}

@media (max-width: 430px) {
  .main-content {
    padding-top: 25vh;
  }
}
@media (max-width: 360px) {
  .main-content {
    padding-top: 20vh;
  }
}

/* -- 콘텐츠 - 검색 화면 -- */
.main-content .main-wrap .center-title .title {
  font-size: 35px;
  line-height: 1.4;
  font-weight: var(--typo-weight-medium);
  letter-spacing: -1px;
  text-align: center;
}

.main-content .main-wrap .center-title .title > span {
  font-size: var(--number-10);
}
.main-content .main-wrap .center-sub-title {
  text-align: center;
}
.main-content .main-wrap .center-sub-title .sub-title {
  font-size: var(--pc-fs-body-small);
  line-height: 1.5;
  letter-spacing: -0.16px;
}

.main-sch-wrapper {
  width: 100%;
  margin-top: var(--gap-8);
  position: relative;
  height: auto;
}
.main-sch-wrapper .search-btn.is-active {
  background: rgba(30, 33, 36, 1);
}
.main-sch-wrapper .search-btn:hover,
.main-sch-wrapper .search-btn:focus {
  background: rgba(0, 5, 25, 1);
}
.main-sch-wrapper .custom_input.expanded {
  border-radius: 20px;
}
.main-sch-wrapper .custom_input:focus-visible {
  outline: none;
}

@media (max-width: 1379.98px) {
  .main-content .main-wrap .item-center {
    gap: var(--gap-4, 16px);
  }
}

@media (max-width: 500px) {
  .main-sch-wrapper {
    position: absolute;
    bottom: 32px;
    width: 90%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99;
  }

  .main-sch-wrapper {
    position: absolute;
    bottom: 20px;
    margin-top: 20px;
  }
  .main-sch-wrapper .search-btn {
    right: 46px;
  }
}

/* 검색바 하단 카테고리 */
.agent-item-list {
  margin-top: var(--number--25);
}
.agent-item-list ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.agent-item-list ul li button {
  background: #ecf3fd;
  border: 1px solid #e1e9f5;
  color: #42498c;
  font-size: var(--number--28);
  padding: var(--padding-3) var(--padding-5);
  border-radius: var(--number-8);
  transition: all 0.3s;
}

.agent-item-list ul li:hover button {
  background: #ddeaf8;
}
.agent-item-list ul li.on button {
  background: #42498c;
  color: white;
  font-weight: var(--typo-weight-bold);
}

@media (max-width: 860px) {
  .agent-item-list ul {
    justify-content: center;
    gap: var(--gap-4);
  }
}

@media (max-width: 480px) {
  .agent-item-list ul li button {
    padding: var(--padding-2) var(--padding-5);
  }
}

/* 채팅 콘텐츠 영역 (질문/답변) */
.chat-content-area {
  display: flex;
  flex-direction: column;
  gap: var(--gap-4);
  padding: 20px 0;
}
.questions {
  align-self: flex-end;
  max-width: 80%;
}
.questions .que-txt {
  background-color: #f5f7fd;
  padding: var(--padding-5) 15px;
  border-radius: 16px;
  font-size: var(--pc-fs-body-small);
  line-height: 1.5;
  letter-spacing: -0.16px;
  color: var(--text-basic);
  display: block;
}

/* 답변 (System/AI) */
.answer_box {
  display: flex;
  align-items: center;
  gap: var(--gap-3);
  margin: var(--gap-4) 0;
  flex-wrap: wrap;
}
.answer_box:not(:first-child) {
  box-sizing: border-box;
  padding-bottom: var(--gap-7);
  border-bottom: 1px solid #d2d5d3;
}
.as-img {
  flex-shrink: 0;
  height: auto;
}
.as-txt {
  width: 100%;
  font-size: var(--pc-fs-body-small);
  font-weight: var(--typo-weight-medium);
  color: #292630;
  margin: 0;
}

@media (max-width: 768px) {
  .as-img {
    width: 130px;
  }
}
@media (max-width: 436px) {
  .as-txt .mob-br {
    display: block;
  }
}

/* 답변 내 리스트 스타일 */
.answer_box .list {
  margin-top: 6px;
}
.list_title,
.sub_list_title,
.list_text,
.sub_list_text {
  color: var(--text-basic);
}
.list_title {
  font-size: var(--pc-fs-body-small);
  line-height: 1.8;
  display: inline-block;
}
.sub_list_title {
  font-size: var(--pc-fs-body-small);
  line-height: 1.6;
  font-weight: var(--typo-weight-regular);
}
.list_text,
.sub_list_text {
  position: relative;
  padding-left: 25px;
  font-size: var(--pc-fs-body-small);
  font-weight: var(--typo-weight-regular);
}
.list_text::before,
.sub_list_text::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--text-basic);
  position: absolute;
  top: 11px;
  left: 9px;
}

.list_text span,
.sub_list_text span {
  font-weight: var(--typo-weight-semibold);
}
.summary_tit {
  display: flex;
  align-items: center;
  gap: var(--gap-2);
  margin-bottom: var(--gap-4);
}
.summary_icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  background: url('../images/content/summary.svg') no-repeat center / contain;
}
.summary .list_text {
  padding-left: 0;
}
.summary .list_text::before {
  display: none;
}
.ps_box {
  display: flex;
  align-items: center;
  background-color: #e9e9f0;
  border-radius: var(--radius-medium);
  padding: var(--padding-3) var(--padding-6);
  width: 100%;
  box-sizing: border-box;
}
.ps_text {
  font-family: var(--typo-font-type);
  font-size: var(--pc-fs-caption-small);
  font-weight: var(--typo-weight-regular);
  color: var(--text-subtle);
  line-height: 1.5;
  margin: 0;
  word-break: keep-all;
}

/* 피드백 영역 */
.feedback_box {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.feedback_txt {
  color: #3d424a;
  font-size: var(--pc-fs-caption-small);
}
.feedback_btns {
  display: flex;
  gap: 0.5rem;
}
.btn-feedback {
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.btn-feedback.like {
  background: url(../images/content/ico_like.svg) center center no-repeat;
}
.btn-feedback.dislike {
  background: url(../images/content/ico_dislike.svg) center center no-repeat;
}
.btn-feedback.like.on,
.btn-feedback.like:hover,
.btn-feedback.like:focus {
  background: url(../images/content/ico_like_fill.svg) center center no-repeat;
}
.btn-feedback.dislike.on,
.btn-feedback.dislike:hover,
.btn-feedback.dislike:focus {
  background: url(../images/content/ico_dislike_fill.svg) center center no-repeat;
}
.btn-feedback:focus-visible::after,
.btn-feedback:hover::after {
  content: '좋은 응답';
  display: block;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background-color: #333333;
  color: var(--white);
  padding: var(--number-2) var(--number-4);
  border-radius: var(--number-3);
  font-size: var(--pc-fs-body-xxsmall);
  font-weight: var(--typo-weight-regular);
  white-space: nowrap;
  width: auto;
  z-index: 100;
  box-shadow: var(--alpha-shadow2);
  pointer-events: none;
  animation: fadeInDown 0.2s ease-out;
}
.btn-feedback.dislike:focus-visible::after,
.btn-feedback.dislike:hover::after {
  content: '별로인 응답';
}

/* 하단 검색바 (Fixed) */
.search_box_fixed {
  position: fixed;
  bottom: 60px;
  left: calc(50% + (80px / 2));
  transform: translateX(-50%);
  width: calc(100vw - 80px);
  z-index: 99;
  transition: all 0.3s;
}
#right-content.extend .search_box_fixed {
  width: calc(100vw - 256px);
  left: calc(50% + (256px / 2));
}
.search_box_fixed::before {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 0;
  width: 100%;
  height: 200px;
  z-index: -1;
  backdrop-filter: blur(10px);
  background: linear-gradient(to top, #edecfe 0%, #edecfe 90%, rgba(237, 236, 254, 0.98) 100%, rgba(247, 247, 251, 00) 100%);
  -webkit-mask-image: linear-gradient(to top, black 0%, black 40%, transparent 100%);
  mask-image: linear-gradient(to top, black 0%, black 40%, transparent 100%);
  opacity: 1;
  transition: all 0.4s ease;
  pointer-events: none;
}
.search_box_fixed.is-scrolled::before {
  opacity: 1;
}
.search_box_fixed.is-scrolled.is-scrolled-fin::before {
  height: 0;
}
.search_box_fixed .inner {
  max-width: 860px;
  margin: 0 auto;
}
.sch-input {
  display: flex;
  align-items: flex-end;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border: 2px solid #fff;
  border-radius: 20px;
  padding: 8px 12px;
  box-shadow: 1px 1px 15px 1px rgba(0, 0, 0, 0.15);
  transition: border-color 0.3s;
}
.custom_input {
  flex: 1;
  min-height: 40px;
  max-height: 200px;
  font-size: var(--pc-fs-body-small);
  line-height: 1.5;
  border: none;
  background: transparent;
  resize: none;
  overflow-y: auto;
  padding: 8px 10px;
}
.custom_input:focus {
  outline: none;
}

.footer_info_fixed {
  position: fixed;
  bottom: 0;
  z-index: 99;
  padding-bottom: 24px;
  pointer-events: none;
  left: calc(50% + (80px / 2));
  transform: translateX(-50%);
  width: calc(100vw - 80px);
  transition: all 0.3s;
}
#right-content.extend .footer_info_fixed {
  width: calc(100vw - 256px);
  left: calc(50% + (256px / 2));
}
.footer_info_fixed .inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.footer_info_fixed .info_txt {
  font-size: 13px;
  color: var(--gray-60);
  line-height: 1.5;
  word-break: keep-all;
  margin: 0;
  font-family: var(--typo-font-type);
  letter-spacing: -0.025em;
}

@media (max-width: 1379.98px) {
  .search_box_fixed,
  #right-content.extend .search_box_fixed,
  .footer_info_fixed,
  #right-content.extend .footer_info_fixed {
    left: 0;
    transform: unset;
    width: 100%;
  }
}

@media (max-width: 1023px) {
  .answer_box {
    gap: var(--mobile-gap-title-body-medium);
  }
  .as-txt {
    font-size: var(--mobile-fs-body-small);
  }
}

@media (max-width: 768px) {
  .content .answer_box .list {
    margin-top: var(--gap-5);
  }
  .search_box_fixed {
    bottom: 50px;
  }
  .search_box_fixed::before {
    bottom: -50px;
    height: 320px;
  }
  .footer_info_fixed {
    padding-bottom: 16px;
  }
  .footer_info_fixed .inner {
    padding: 0 20px;
  }
  .footer_info_fixed .info_txt {
    font-size: 11px;
    color: var(--gray-70);
    line-height: 1.4;
    opacity: 0.8;
    display: block;
    padding-top: 12px;
  }
}

@media (max-width: 430px) {
  .main-content.chat-scroll-area {
    padding-bottom: 120px;
    padding-top: 0;
  }
  .questions .que-txt,
  .as-txt,
  .list_title,
  .list_text span,
  .sub_list_text span {
    font-size: var(--pc-fs-body-xsmall);
  }
}

@media (max-width: 390px) {
  .footer_info_fixed {
    padding-bottom: 8px;
  }
}

/* ---- 인트로 설정 ---- */
.is-intro #wrapper {
  height: auto !important;
  overflow-y: auto !important;
}

#intro.intro {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  background: #f5fafe;
}
#intro .intro-inner {
  width: calc(100% - 400px);
  margin: 0 auto;
  margin-right: 280px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3.5rem;
  position: relative;
  z-index: 1;
}
#intro::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: url(../images/content/intro_bg01.png) center center no-repeat;
  left: 0;
  top: 0;
  background-size: cover;
}
#intro::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: url(../images/content/intro_bg02.png) center center no-repeat;
  right: 0;
  top: 0;
  background-size: cover;
}

@media (max-width: 1920px) {
  #intro .intro-inner {
    width: calc(100% - 200px);
    margin-right: auto;
  }
}
@media (max-width: 1640px) {
  #intro::after {
    background-size: 150%;
  }
}
@media (max-width: 1400px) {
  #intro::after {
    background-size: 190%;
  }
}
@media (max-width: 1200px) {
  #intro::after {
    display: none;
  }
}

/* ---- 좌측 히어로 영역 ---- */
.is-intro .intro-hero {
  width: 560px;
  height: auto !important;
  min-height: 100vh;
  position: relative;
  padding: 3rem;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
}
.hero-top .hero-logo .hd-logo {
  display: block;
  width: 240px;
  height: var(--number-17);
  background: url('../images/common/logo_mfds_wh.svg') no-repeat center center / contain;
  flex-shrink: 0;
}
.hero-content {
  margin-top: 84px;
}
.hero-sub {
  font-family: 'Paperlogy';
  font-size: 2.875rem;
  line-height: 1;
  white-space: nowrap;
}
.hero-sub span[lang='en'] {
  margin-top: 0.5em;
  display: block;
  opacity: 0.6;
  letter-spacing: 0.02em;
  font-family: 'Paperlogy';
  font-size: 1.95rem;
  white-space: nowrap;
}
.hero-title {
  margin: 1rem 0;
  letter-spacing: -0.13em;
  font-family: 'Paperlogy';
  font-size: 7.5rem;
  font-weight: 600;
  white-space: nowrap;
}
.hero-title span {
  opacity: 0.7;
}
.hero-mob-only-txt {
  display: none;
  font-family: 'Paperlogy';
  font-size: 1rem;
  color: #ffffff71;
  letter-spacing: 0;
}
.hero-mob-only-txt span {
  color: #fff;
  display: inline;
}
.hero-mascot {
  width: 400px;
  height: 460px;
  background: url(../images/content/intro_cha.png) center center no-repeat;
  background-size: contain;
  z-index: 9999;
}
.hero-copyright {
  color: rgba(230, 230, 230, 0.7);
  font-size: 0.8125rem;
  letter-spacing: -0.00813rem;
}
.hero-copyright.mob-only {
  display: none;
  margin-top: 3rem;
}

@media (max-width: 1920px) {
  .intro-hero {
    width: 520px;
  }
  .hero-content {
    margin-top: 0;
  }
  #intro .intro-inner {
    width: calc(100% - 150px);
  }
  .hero-sub {
    font-size: 2.2rem;
  }
  .hero-sub span[lang='en'] {
    font-size: 1.48rem;
  }
  .hero-title {
    font-size: 5.8rem;
  }
  .hero-mascot {
    width: 320px;
    height: 340px;
  }
}

@media (max-width: 1640px) {
  .intro-hero {
    padding: 3rem 0;
  }
}
@media (max-width: 1200px) {
  #intro.intro {
    background: linear-gradient(283deg, #40cacd -5.86%, #172494 94.97%);
  }
  .is-intro #intro .intro-inner {
    flex-wrap: wrap;
    width: 90%;
    min-height: auto;
  }
  .is-intro .intro-hero {
    width: 100%;
    min-height: auto;
    height: auto;
    overflow: visible;
    gap: 1.5rem 0;
    padding: 2rem 0;
  }
  .hero-top {
    margin-bottom: 0.5rem;
  }
  .hero-top .hero-logo .hd-logo {
    width: 200px;
  }
  .hero-mascot {
    position: absolute;
    width: 250px;
    height: 300px;
    bottom: 40px;
    right: 0;
  }
  .hero-title {
    margin: 0;
  }
  .hero-copyright {
    display: none;
  }
  .hero-copyright.mob-only {
    display: block;
  }
}

@media (max-width: 680px) {
  #intro .intro-inner {
    padding: var(--number-10) 0;
  }
  .hero-top .hero-logo .hd-logo {
    width: 170px;
  }
  .is-intro .intro-hero {
    padding: 0 0 2.5rem;
  }
  .hero-sub {
    font-size: 1.5rem;
  }
  .hero-sub span[lang='en'] {
    font-size: 1.02rem;
  }
  .hero-title {
    font-size: 3rem;
    letter-spacing: -0.1em;
  }
  .hero-mob-only-txt {
    display: block;
  }
  .hero-mascot {
    width: 150px;
    height: 180px;
    background: url(../images/content/intro_cha_mob.png) center center no-repeat;
    background-size: contain;
    right: 0;
  }
}

@media (max-width: 430px) {
  .hero-mascot {
    width: 120px;
    height: 150px;
  }
}
@media (max-width: 390px) {
  .hero-mascot {
    width: 90px;
    height: 120px;
  }
}
@media (max-width: 360px) {
  .hero-mascot {
    width: 70px;
    height: 100px;
    bottom: 70px;
  }
}
@media (max-width: 300px) {
  .hero-mascot {
    display: none;
  }
}

/* ---- 우측 카드 영역 ---- */
.intro-cards {
  min-width: 60%;
  display: flex;
  justify-content: center;
  padding: var(--number-14) 0;
}
.card-list {
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 4rem;
}
.card {
  position: relative;
}
.card-link {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 30px;
  box-shadow: -15px 15px 16px rgba(129, 155, 194, 0.2);
  height: 100%;
  transition: all 0.3s;
}
.card-link:hover,
.card-link:focus {
  border-radius: 30px;
  transform: translateY(-3px);
}
.card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.card-head .bg-full {
  flex: 1;
  background: white;
  height: 103px;
  border-radius: 30px 0 0 0;
  display: flex;
  align-items: center;
  padding: var(--padding-7) var(--number-13);
}
.card-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.card-icon img {
  width: 1.25rem;
  height: 1.25rem;
}
.card-link:hover .card-icon,
.card-link:focus .card-icon {
  background: #e6e8ef;
}
.card-body {
  background: white;
  padding: var(--padding-2) var(--number-13) var(--number-18) var(--number-13);
  border-radius: 0 0 30px 30px;
  margin-top: -1px;
}
.card-thumb {
  border-radius: 23px;
  overflow: hidden;
  background: #e9eef7;
  height: 200px;
}
.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card-title {
  margin: 30px 0 20px 0;
  font-family: 'Paperlogy';
  color: #3d424a;
  font-size: 2.1875rem;
  font-weight: 700;
  line-height: 150%;
  display: flex;
  align-items: center;
  gap: 0 0.7rem;
}
.card-title strong {
  color: #4762e7;
}
.card-title .badge {
  display: inline-flex;
  height: 30px;
  font-family: 'Pretendard';
  padding: var(--number-2) var(--padding-3);
  background: #f0f3ff;
  color: #5a4aff;
  border-radius: 6px;
  font-size: var(--pc-fs-body-small);
  font-weight: 400;
  align-items: center;
  justify-content: center;
}

.card-desc {
  line-height: 1.5;
  color: #3d424a;
  font-size: 1.4rem;
  display: inline;
  text-decoration: none;
  background-image: linear-gradient(#a5b6ee3b, #a5b6ee3b);
  background-repeat: no-repeat;
  background-size: 0% 15px;
  background-position: 0 calc(100% - 1px);
  transition: background-size 0.8s ease;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding-bottom: 2px;
}

.card-link:hover .card-desc,
.card-link:focus .card-desc {
  background-size: 100% 15px;
}
.card-desc .mob-inline {
  display: inline-flex;
}
.card-arrow {
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  width: 66px;
  height: 66px;
  border-radius: 100%;
  background: linear-gradient(145deg, #6b5bff 0%, #3b61ff 100%);
  box-shadow: 0 10px 18px rgba(59, 97, 255, 0.25);
  transition: all 0.3s;
}
.card-arrow::before {
  content: '';
  position: absolute;
  width: 0.9rem;
  height: 0.9rem;
  background: url(../images/content/card-arrow.svg) center center / contain no-repeat;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
}
.card-link:hover .card-arrow,
.card-link:focus .card-arrow {
  transform: translate(4px, -4px);
}

@media (max-width: 1920px) {
  #intro .intro-inner {
    justify-content: flex-start;
    gap: 6rem;
  }
  .card-list {
    gap: 3.5rem;
  }
  .card {
    max-width: 480px;
  }
  .card-thumb {
    height: 170px;
  }
}
@media (max-width: 1640px) {
  #intro .intro-inner {
    gap: 3.5rem;
  }
  .card-title {
    flex-wrap: wrap;
    line-height: 1.3;
  }
  .card-title strong {
    width: 100%;
  }
}
@media (max-width: 1440px) {
  .intro-cards {
    min-width: 50%;
  }
  .card-list {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .card {
    max-width: unset;
    width: 100%;
  }
  .card-body {
    padding: var(--padding-2) var(--number-13) var(--number-10) var(--number-13);
  }
  .card-thumb {
    height: 130px;
  }
  .card-title strong {
    width: fit-content;
  }
}
@media (max-width: 1200px) {
  #intro .intro-inner {
    gap: 0;
  }
  .intro-cards {
    width: 100%;
    padding: 0;
  }
  .card-list {
    gap: 2rem;
  }
  .card-body {
    padding: var(--padding-2) var(--number-13) var(--number-13) var(--number-13);
  }
  .card-desc {
    display: inline;
  }
  .card-desc .mob-inline {
    display: inline;
  }
}
@media (max-width: 680px) {
  .card-title {
    font-size: 1.5rem;
    margin: 20px 0 10px 0;
  }
  .card-title .badge {
    font-size: var(--pc-fs-body-xxsmall);
  }
  .card-desc {
    font-size: 1rem;
  }
}
@media (max-width: 430px) {
  .card-title {
    width: 100%;
    display: flex;
    align-items: center;
  }
  .card-title .badge {
    margin-left: auto;
  }
}
@media (max-width: 380px) {
  .card-head .bg-full {
    padding: var(--padding-5) var(--number-10);
    height: 80px;
  }
  .card-shape {
    height: 80px;
  }
  .card-shape img {
    height: 100%;
  }
  .card-body {
    padding: 0 var(--number-10) var(--number-10) var(--number-10);
  }
  .card-title strong {
    width: 100%;
  }
}

/* ---- 이용안내 팝업 ---- */
#modal_guide * {
  text-align: center;
}
#modal_guide.modal .modal-dialog .modal-conts {
  padding: var(--padding-8) var(--padding-9);
}
#modal_guide .modal-tit {
  font-size: 1.375rem;
  font-weight: 700;
  padding-top: 3rem;
  position: relative;
}
#modal_guide .modal-tit:before {
  content: '';
  background: url(../images/component/icon/ico_notice_document.svg) center center;
  width: 1.5rem;
  height: 1.5rem;
  position: absolute;
  left: 50%;
  top: 0.5rem;
  transform: translateX(-50%);
}
#modal_guide .modal-txt p {
  color: #444;
  font-size: 1rem;
  font-weight: 400;
  line-height: 160%;
  margin: 1rem 0;
}
#modal_guide .modal-txt p.red {
  color: #d92b2b;
  background: #fef2f2;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  display: inline;
}
#modal_guide .modal-btn-wrap {
  margin-top: 2rem;
}
#modal_guide .modal-btn-wrap .checks {
  color: #333;
  font-size: 0.9375rem;
  line-height: 1;
  font-weight: 400;
}

@media (max-width: 768px) {
  #modal_guide.modal .modal-dialog .modal-conts {
    padding: var(--padding-8);
  }
}
@media (max-width: 480px) {
  #modal_guide .modal-tit .mob-block {
    display: block;
  }
  #modal_guide.modal .modal-dialog .modal-conts {
    padding: var(--padding-8) var(--padding-5);
  }
  #modal_guide .modal-btn-wrap .checks {
    width: 100%;
  }
}

/* ---- 애니메이션 효과 ---- */
.reveal-y {
  opacity: 0;
  transform: translate3d(0, -16px, 0);
  transition: transform 800ms cubic-bezier(0.22, 1, 0.36, 1), opacity 800ms ease;
  will-change: transform, opacity;
}
.is-loaded .reveal-y {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.reveal-d1 {
  transition-delay: 160ms;
}
.reveal-d2 {
  transition-delay: 240ms;
}
.reveal-d3 {
  transition-delay: 320ms;
}
.reveal-d4 {
  transition-delay: 400ms;
}
