@charset "utf-8";

/* =========================== MAIN VISUAL */
#mainVisual {
  position: relative;
  padding: 0 20px 0;
}
#mainVisual .visual-inner {
  position: relative;
  max-width: var(--widesize);
  margin: 0 auto;
  border-radius: 30px;
  overflow: hidden;
}
#mainVisual .visual-bg {
  display: block;
  width: 100%;
  height: 82.3rem;
  object-fit: cover;
  transform: scale(1.15);
  animation: kenBurns 6s ease-out forwards;
}
@keyframes kenBurns {
  from {
    transform: scale(1.15);
  }
  to {
    transform: scale(1);
  }
}

#mainVisual .visual-txt {
  position: absolute;
  left: 6.5%;
  top: 33%;
  max-width: 600px;
  color: #fff;
}
#mainVisual .visual-txt h1 {
  display: flex;
  flex-direction: column;
  font-weight: 300;
  font-size: clamp(3.2rem, 5vw, 7rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}
#mainVisual .visual-txt h1 strong {
  font-weight: 800;
}
#mainVisual .visual-txt h1 .type-line {
  display: block;
  min-height: 1.25em;
}
#mainVisual .visual-txt h1 .type-line.typing::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 0.9em;
  margin-left: 4px;
  background: #fff;
  vertical-align: -0.1em;
  animation: blinkCursor 0.8s step-end infinite;
}
@keyframes blinkCursor {
  50% {
    opacity: 0;
  }
}

#mainVisual .visual-txt p {
  margin-top: 3rem;
  font-size: clamp(1.6rem, 1.6vw, 2.4rem);
  font-weight: 500;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
#mainVisual .visual-txt p.show {
  opacity: 1;
  transform: translateY(0);
}

#mainVisual .btn-download {
  position: absolute;
  z-index: 0;
  right: 6.5%;
  bottom: 6%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 35rem;
  height: 60px;
  padding: 0 30px;
  border-radius: 50px;
  background: var(--primary);
  color: #fff;
  font-size: 1.8rem;
  font-weight: 600;
}
#mainVisual .btn-download:before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: #0097ef;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
#mainVisual .btn-download img {
  width: 36px;
  height: 36px;
}
@media (hover: hover) {
  #mainVisual .btn-download:hover:before {
    transform: scaleX(1);
  }
}

.visual-quick-bar {
  max-width: var(--widesize);
  margin: 20px auto 0;
  position: relative;
  z-index: 2;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(2, 48, 105, 0.15);
}
.visual-quick-bar ul {
  display: flex;
}
.visual-quick-bar li {
  flex: 1;
}
.visual-quick-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 80px;
  background: var(--primary);
  color: #fff;
  font-size: 1.8rem;
  font-weight: 600;
  transition:
    background-color 0.2s,
    color 0.2s;
}
.visual-quick-bar a img {
  width: 22px;
  transition: transform 0.2s;
}
@media (hover: hover) {
  .visual-quick-bar a:hover {
    background: #0097ef;
  }
  .visual-quick-bar a:hover img {
    transform: translateY(-4px);
  }
}

/* =========================== SERVICE (inc01) */
#inc01 {
  padding: 12rem 0 10rem;
}

.service-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  padding-bottom: 5rem;
}
#inc01 .eyebrow {
  text-align: left;
}
#inc01 .sec-head h2 {
  font-size: clamp(2.4rem, 3vw, 4rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}

.service-swiper-wrap {
  max-width: var(--mainsize);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}
.tab-menu {
  display: flex;
  flex-shrink: 0;
  gap: 2px;
  margin-bottom: 0;
}
.tab-menu li {
  padding: 1rem 3rem;
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--txt);
  cursor: pointer;
  border-bottom: 3px solid transparent;
}
.tab-menu li.on {
  color: var(--primary);
  font-weight: 600;
  border-color: var(--primary);
}

.ServiceSwiper {
  overflow: visible;
}
.ServiceSwiper .swiper-slide {
  width: 96%;
  display: flex;
  align-items: center;
  gap: 8rem;
  height: auto;
}
.ServiceSwiper .thumb {
  flex: 0 0 53%;
  border-radius: 20px;
  overflow: hidden;
}
.ServiceSwiper .thumb img {
  display: block;
  width: 100%;
  height: 46.2rem;
  object-fit: cover;
}
.ServiceSwiper .txt {
  flex: 1;
}
.ServiceSwiper .txt h3 {
  font-family: var(--e-font);
  font-size: clamp(2.4rem, 3vw, 4rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.6rem;
}
.ServiceSwiper .txt p {
  font-size: 1.8rem;
  line-height: 1.6;
  color: var(--txt);
}
.ServiceSwiper .btn-more {
  position: relative;
  overflow: hidden;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  margin-top: 4rem;
  padding: 2rem 3rem;
  border-radius: 50px;
  background: var(--primary);
  color: #fff;
  font-family: var(--e-font);
  font-size: 1.4rem;
  font-weight: 700;
}
.ServiceSwiper .btn-more:before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: #0097ef;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.ServiceSwiper .btn-more img {
  width: 5px;
  transition: transform 0.25s ease;
}
@media (hover: hover) {
  .ServiceSwiper .btn-more:hover:before {
    transform: scaleX(1);
  }
  .ServiceSwiper .btn-more:hover img {
    transform: translateX(4px);
  }
}

/* =========================== NEWS (inc02) */
#inc02 {
  padding: 10rem 0;
  background: url("../img/news_bg.png") bottom/contain var(--bg-light);
  background-repeat: no-repeat;
}
#inc02 .sec-head {
  text-align: center;
}
#inc02 .sec-head h2 {
  font-size: clamp(2.4rem, 3vw, 4rem);
  font-weight: 400;
  color: var(--dark);
}
#inc02 .sec-head h2 b {
  font-weight: 700;
}

.news-tab {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
}
.news-tab li {
  padding: 1rem 4rem;
  border-radius: 50px;
  background: #dceef9;
  color: #77b4d8;
  font-size: 2rem;
  font-weight: 500;
  cursor: pointer;
}
.news-tab li.on {
  background: var(--primary);
  color: #fff;
}

.news-swiper-wrap {
  max-width: var(--mainsize);
  margin: 5rem auto 0;
  padding: 0 20px;
  position: relative;
}
.NewsSwiper .news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 30rem;
  padding: 3rem;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #eee;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
@media (hover: hover) {
  .NewsSwiper .news-card:hover {
    border-color: var(--primary);
    box-shadow: 0 15px 10px rgba(0, 151, 239, 0.1);
  }
}
.news-card .badge {
  align-self: flex-start;
  margin-bottom: 2rem;
  padding: 0.3rem 1.5rem;
  border-radius: 30px;
  background: var(--bg-light);
  color: var(--primary);
  font-size: 1.4rem;
  font-weight: 600;
}
.news-card .tit {
  margin-bottom: 1.5rem;
  max-height: 5.6rem;
  font-size: 2rem;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.news-card .desc {
  /* flex:1(flex-basis:0%)이 column 안에서 세로 크기를 결정해버려 line-clamp가 무력화되므로
	   max-height로 정확히 2줄까지만 나오도록 이중으로 제한 */
  flex: 1;
  max-height: 4.8rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--txt);
}
/* 카드마다 타이틀/내용 줄 수가 달라도 항상 카드 하단에서 45px 지점에 고정 */
.news-card .date {
  position: absolute;
  left: 3rem;
  right: 3rem;
  bottom: 4.5rem;
  font-size: 1.6rem;
  color: var(--sub);
}
.news-empty {
  display: none;
  padding: 6rem 0;
  text-align: center;
  font-size: 1.8rem;
  color: var(--sub);
}

.news-swiper-wrap .swiper-scrollbar {
  position: relative;
  height: 4px;
  margin-top: 4rem;
  background: #dceef9;
  border-radius: 10px;
}
.news-swiper-wrap .swiper-scrollbar-drag {
  background: var(--primary);
  border-radius: 10px;
}

/* =========================== 카드결제 내역조회 (inc03) */
#inc03 {
  padding: 10rem 0;
}
#inc03 .check-box {
  position: relative;
  max-width: var(--widesize);
  margin: 0 auto;
  padding: 12rem;
  border-radius: 30px;
  overflow: hidden;
  color: #fff;
}
#inc03 .check-box:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url(../img/card_check_bg.jpg) center/cover;
}
#inc03 .check-box:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}
#inc03 .check-box > * {
  position: relative;
  z-index: 1;
}
.check-box-inner {
  display: flex;
  justify-content: space-between;
  gap: 4rem;
  max-width: var(--mainsize);
  margin: 0 auto;
}
.check-left {
  flex: 0 1 auto;
  max-width: 50rem;
}
.check-left h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.4rem, 3vw, 4rem);
  font-weight: 700;
}
.check-left .desc {
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.6);
}

.check-right {
  flex: 0 0 auto;
  width: 100%;
  max-width: 59rem;
  margin-left: auto;
}

.check-form {
  width: 100%;
}
.check-form .form-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  min-width: 0;
}
.check-form .form-row:last-child {
  margin-bottom: 0;
}
.check-form .label {
  flex: 0 0 7rem;
  font-size: 1.8rem;
  font-weight: 500;
}
.check-form .radio-row {
  justify-content: flex-start;
  gap: 4rem;
}
.check-form .radio-row label {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.8rem;
  cursor: pointer;
  white-space: nowrap;
}
.check-form .radio-row input[type="radio"] {
  position: relative;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  appearance: none;
}
.check-form .radio-row input[type="radio"]:checked {
  background: #fff;
}
.check-form .radio-row input[type="radio"]:checked:after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.check-form input[type="text"],
.check-form input[type="password"] {
  width: 100%;
  min-width: 0;
  height: 50px;
  padding: 0 1.5rem;
  border: none;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.6rem;
  text-align: center;
}
.check-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
  text-align: left;
  font-size: 1.5rem;
}
.card-no-group {
  display: flex;
  flex: 1;
  min-width: 0;
  gap: 0.8rem;
}
.card-no-group input {
  flex: 1;
  min-width: 0;
  text-align: left;
}
.check-form .amount-row input {
  flex: 1;
  min-width: 0;
  text-align: left;
}
.check-form .btn-search {
  display: flex;
  flex: 0 0 auto;
  width: 11rem;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 50px;
  border: 0;
  border-radius: 5px;
  background: #fff;
  color: var(--primary);
  font-size: 1.6rem;
  font-weight: 500;
}
.check-form .btn-search img {
  width: 18px;
}

/* =========================== 카드사 로고 슬라이드 (inc04) */
#inc04 {
  padding: 0 0 10rem;
  overflow: hidden;
}
.LogoSwiper .swiper-wrapper {
  align-items: center;
}
.LogoSwiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
}
.LogoSwiper .swiper-slide img {
  width: auto;
  height: 3.4rem;
}

/* =========================== 반응형 [s] */
@media (max-width: 1200px) {
  #mainVisual .visual-txt {
    top: 28%;
    max-width: 52%;
  }
  .ServiceSwiper .thumb img {
    height: 38rem;
  }
}

@media (max-width: 1024px) {
  #mainVisual .visual-bg {
    height: 60rem;
  }
  #mainVisual .visual-txt {
    left: 20px;
    right: 20px;
    top: 20%;
    max-width: none;
  }
  #mainVisual .btn-download {
    right: 20px;
    width: auto;
    padding: 0 24px;
  }

  .service-head-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 2.5rem;
  }
  .tab-menu {
    flex-wrap: nowrap;
  }
  .tab-menu li {
    padding: 1rem 1.8rem;
  }
  .ServiceSwiper .swiper-slide {
    flex-direction: column;
    align-items: stretch;
    gap: 3rem;
  }
  .ServiceSwiper .thumb {
    flex: none;
    width: 100%;
  }
  /* PC 폭에 맞춰 넣어둔 강제 줄바꿈이 좁아진 모바일 폭에서 이중으로 꺾여 보이는 것 방지 */
  .ServiceSwiper .txt p .pc-br {
    display: none;
  }

  #inc03 .check-box {
    padding: 4rem 3rem;
  }
  .check-box-inner {
    flex-direction: column;
    gap: 3rem;
  }
  .check-left {
    max-width: none;
  }
  .check-right {
    max-width: none;
  }
  .check-form .radio-row {
    justify-content: flex-start;
  }

  .LogoSwiper .swiper-slide img {
    height: 2.6rem;
  }
}

@media (max-width: 768px) {
  #mainVisual {
    padding: 0 10px 0;
  }
  #mainVisual .visual-inner,
  #mainVisual .visual-bg {
    border-radius: 16px;
  }
  #mainVisual .visual-bg {
    height: 50rem;
  }
  #mainVisual .visual-txt h1 {
    font-size: 2.8rem;
  }
  #mainVisual .btn-download {
    bottom: 16px;
    height: 44px;
    padding: 0 20px;
    font-size: 1.3rem;
  }
  #mainVisual .btn-download img {
    width: 24px;
    height: 24px;
  }

  .visual-quick-bar {
    margin-top: 20px;
    border-radius: 14px;
  }
  .visual-quick-bar a {
    flex-direction: column;
    gap: 4px;
    height: 60px;
    font-size: 1.3rem;
  }
  .visual-quick-bar a img {
    width: 18px;
  }

  #inc01,
  #inc02,
  #inc03,
  #inc04 {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
  #inc04 {
    padding-top: 0;
  }

  .tab-menu li {
    padding: 1rem 1.2rem;
    font-size: 1.5rem;
  }
  .ServiceSwiper {
    overflow: hidden;
  }

  .check-form .form-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .check-form .label {
    flex: none;
  }
  .card-no-group {
    width: 100%;
  }
  /* form-row가 column이 되면 flex:1(flex-basis:0%)이 세로축(높이)에 적용돼 인풋이 찌그러지므로 해제 */
  .check-form .amount-row input {
    flex: none;
    width: 100%;
  }
  .check-form .btn-search {
    width: 100%;
    flex: none;
  }

  .news-tab li {
    padding: 1rem 3rem;
    font-size: 1.7rem;
  }

  .LogoSwiper .swiper-slide img {
    height: 2.2rem;
  }
}

@media (max-width: 480px) {
  .tab-menu li {
    padding: 1rem 0.8rem;
    font-size: 1.3rem;
  }
  .news-tab li {
    padding: 0.8rem 2.4rem;
    font-size: 1.5rem;
  }
}
/* =========================== 반응형 [e] */
