/* =========================================
   floating-cta--typeB (wrapper)
   ========================================= */
.floating-cta--typeB {
  position: fixed;
  z-index: 100;
  bottom: 5.6rem;
  display: flex;
  justify-content: center;
  max-width: 184rem;
  width: 100%;
  padding: 0 10rem;
}

/* =========================================
   cta-pill
   ========================================= */
.cta-pill {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 153rem;
  width: 100%;
  height: 13.6rem;
  border-radius: 10rem;
  background: #ff1493;
  box-shadow: 0 2rem 4rem 0 rgba(0, 0, 0, 0.16);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.cta-pill .cta-pill__inner {
  font-family: var(--font-family-point);
}

/* .is-reduced 붙을때 */
.floating-cta--typeB.is-reduced .cta-pill {
  max-width: 48rem;
  height: 11.2rem;
}

/* =========================================
   상태 1: 넓은 형태 (--full)
   ========================================= */

.cta-pill__inner--full {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2em;

  padding: 2rem 2rem 2rem 26.8rem;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.18s ease;
}

/* .is-reduced 붙을때 cta-pill__inner--full 상태 */
.floating-cta--typeB.is-reduced .cta-pill__inner--full {
  opacity: 0;
  pointer-events: none;
}
.floating-cta--typeB.is-reduced .cta-pill__inner--full .ani__icon-apply,
.floating-cta--typeB.is-reduced .cta-pill__inner--full .hero__cta-text,
.floating-cta--typeB.is-reduced .cta-pill__inner--full .hero__cta-link {
  display: none;
}
/* // .is-reduced 붙을때 cta-pill__inner--full 상태 */

.cta-pill__inner--full .ani__icon-apply {
  position: absolute;
  width: 22rem;
  height: 22rem;
  top: 0;
  left: 0;
  transform: translateY(-50%);
  pointer-events: none;
}

.cta-pill__inner--full .ani__icon-apply img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cta-pill__inner--full .hero__cta-text {
  font-size: 3rem;
  color: #fff;
  text-align: left;
  margin: 0;
}

.cta-pill__inner--full .hero__cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3.8rem;
  flex-shrink: 0;

  max-width: 37.2rem;
  width: 100%;

  padding: 2.8rem 3.2rem 2.8rem 4.8rem;
  border-radius: 10rem;
  background: #fff;
}

.cta-pill__inner--full .text-apply {
  color: var(--color-text-highlighted, #ff1493);
  font-size: var(--font-size-h4-pc, 2.6rem);
  letter-spacing: -0.026rem;
  line-height: 1;
  text-decoration: none;

  text-box-edge: cap alphabetic;
  text-box-trim: trim-both;
}
.cta-pill__inner--full .arrow__icon-apply {
  background: url('/resources/front/images/common/button_arrow__pink.svg') no-repeat 50%
    50% / contain;
  max-width: 4rem;
  width: 100%;
  height: 4rem;
}

.cta-pill__inner--full .hero__cta-link:focus-visible {
  outline: 2px dotted #474747;
  outline-offset: -0.4rem;
  border-radius: 10rem;
}

/* =========================================
   상태 2: 축소형 (--small)
   ========================================= */

.cta-pill__inner--small {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.2rem;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  transition:
    opacity 0.2s ease,
    visibility 0s linear 0.2s;
}

.floating-cta--typeB.is-reduced .cta-pill__inner--small {
  opacity: 1;
  pointer-events: auto;
  transition:
    opacity 0.22s ease 0.16s,
    visibility 0s linear 0s;
}

.cta-pill__inner--small .floating-cta__text {
  font-family: var(--font-family-point);
  font-size: 3.2rem;
  font-weight: 400;
  color: #fff;
  margin: 0;
  text-box-edge: cap alphabetic;
  text-box-trim: trim-both;
}

.cta-pill__inner--small .floating-cta__icon {
  background: url('/resources/front/images/common/icon_arrow_floating.svg') no-repeat 50%
    50% / contain;
  width: 4.8rem;
  height: 4.8rem;
}

.cta-pill__inner--small:focus-visible {
  outline: 2px dotted #fff;
  outline-offset: -0.4rem;
  border-radius: 999px;
}

.floating-cta--typeB.is-reduced .cta-pill__inner--small:hover {
  opacity: 0.8;
}

/* 태블릿 (768px ~ 1199px) */
@media screen and (min-width: 768px) and (max-width: 1199px) {
  .floating-cta--typeB {
    padding: 0 5rem;
  }
  .cta-pill {
    max-width: 100rem;
    width: 100%;
  }
  .cta-pill__inner--full {
    gap: 1rem;
    padding: 2rem 2rem 2rem 24rem;
  }
}

/* iPad mini 세로 (768px ~ 820px) */
@media screen and (min-width: 768px) and (max-width: 820px) {
  .floating-cta--typeB {
    padding: 0 4rem;
  }

  .cta-pill {
    max-width: 68rem;
    height: 11.2rem;
  }

  /* 넓은 형태 */
  .cta-pill__inner--full {
    padding: 2rem 2rem 2rem 14rem;
  }

  .cta-pill__inner--full .ani__icon-apply {
    width: 15rem;
    height: 15rem;
  }

  .cta-pill__inner--full .hero__cta-text {
    font-size: 2.4rem;
    text-align: left;
  }

  .cta-pill__inner--full .hero__cta-link {
    gap: 2rem;
    padding: 2rem;
    max-width: 23rem;
  }
  .cta-pill__inner--full .text-apply {
    font-size: 2rem;
    line-height: 1.2;
  }
  .cta-pill__inner--full .arrow__icon-apply {
    max-width: 3.2rem;
    height: 3.2rem;
  }
}

/* 모바일 (~ 767px) */
@media screen and (max-width: 767px) {
  .mo-only {
    display: block;
  }

  .floating-cta--typeB {
    padding: 0;
    bottom: 2.4rem;
  }

  .cta-pill {
    width: calc(100vw - 3.2rem);
    max-width: 50rem;
    height: 19.4rem;
    border-radius: 4rem;
    box-shadow: 0 1rem 2rem 0 rgba(0, 0, 0, 0.13);
  }

  .floating-cta--typeB.is-reduced .cta-pill {
    width: 30rem;
    border-radius: 10rem;
    height: 7.2rem;
  }

  .cta-pill__inner--full {
    flex-direction: column;
    padding: 5.6rem 2rem 2rem 2rem;
    justify-content: flex-end;
    gap: 1.6rem;
  }

  .cta-pill__inner--full .ani__icon-apply {
    width: 12rem;
    height: 12rem;
    left: 50%;
    top: -8%;
    transform: translate(-50%, -50%);
  }

  .cta-pill__inner--full .hero__cta-text {
    font-size: 2rem;
    line-height: 1.36;
    text-align: center;
  }

  .cta-pill__inner--full .hero__cta-link {
    gap: 1.2rem;
    justify-content: center;

    padding: 1.4rem 4rem 1.4rem 4.8rem;
    max-width: none;
    width: 100%;
  }
  .cta-pill__inner--full .text-apply {
    font-size: var(--font-size-h4-mo, 1.8rem);
  }
  .cta-pill__inner--full .arrow__icon-apply {
    width: 2rem;
    height: 2rem;
  }

  /* 축소형 */
  .cta-pill__inner--small {
    gap: 1.6rem;
  }

  .cta-pill__inner--small .floating-cta__text {
    font-size: 2rem;
  }

  .cta-pill__inner--small .floating-cta__icon {
    width: 3.2rem;
    height: 3.2rem;
  }
}

/* ========================================================= 
header
========================================================= */
#header {
  position: fixed;
  top: 0;
  display: flex;
  align-items: center;
  max-width: 192rem;
  width: 100%;
  margin: 0;
  height: 12rem;
  box-sizing: border-box;
  background: none;
  z-index: 1000;
  background-color: #fff;
}
#header .header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  margin: 0 auto;
  padding: 3.2rem 6.4rem;
  width: 100%;
}
#header .logo {
  display: block;
  background: url(/resources/front/images/common/Logo_linaGo.svg) no-repeat 0 center /
    contain;
  cursor: pointer;
  max-width: 18.72rem;
  width: 100%;
  height: 4rem;
}
#header .logo a {
  display: block;
  height: 4rem;
  width: 18.72rem;
}

#header .logo a:focus-visible {
  outline: 1px dotted #474747;
  border-radius: 0.1rem;
  outline-offset: 1px;
}

#header .gnb {
  display: block;
}
#header .gnb.is-scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  padding: 1rem 3rem;
}

#header .gnb-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5.6rem;
  height: 100%;
}
#header .gnb-list a {
  display: flex;
  align-items: center;
  padding: 0.85rem 0 0.65rem;
  font-size: 2rem;
  color: #1e2124;
  text-decoration: none;
  position: relative;
  font-family: var(--font-family-point);
  transition: color 0.2s ease;
}
#header .gnb-list li:hover a {
  color: var(--color-text-highlighted);
}

/* hover */
#header .gnb-list a:hover {
  color: var(--color-text-highlighted);
}

/* 키보드 포커스 */
#header .gnb-list a:focus-visible {
  outline: 1px dotted #474747;
  border-radius: 0.1rem;
  outline-offset: 1.3rem;
}

/* .active */
#header .gnb-list .active > a {
  color: var(--color-text-highlighted);
}

#header .gnb-list a:active {
  color: var(--color-text-highlighted);
}

/* 점 표시: 현재 페이지 / 키보드 포커스 / 클릭 중 */
#header .gnb-list .active > a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -0.8rem;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background-color: var(--color-text-highlighted);
  transform: translateX(-50%);
}

/* ===============================================
모바일 메뉴  
================================================= */
/* 모바일 메뉴 피씨에서 숨기기 */
#header .m_btn_menu {
  display: none;
}

/* 햄버거 아이콘 */
#header .m_btn_menu {
  position: relative;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border: 0;
  background: none;
  background-size: 2.4rem;
  cursor: pointer;
}
#header .m_btn_menu::after {
  content: '';
  position: absolute;
  width: 2.4rem;
  height: 2.4rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: url('/resources/front/images/common/icon_menu.svg') no-repeat center /
    contain;
}
.mobile-menu__head {
  padding: 0 1.6rem;
  height: 6.4rem;
}
.mobile-menu__logo {
  background: url(/resources/front/images/common/mobile-menu_logo.png) no-repeat center /
    contain;
  width: 9.36rem;
  height: 2rem;
}
.mobile-menu__logo:focus-visible {
  outline: 1px dotted #474747;
  border-radius: 0.1rem;
  outline-offset: 1px;
}

/* 모바일 메뉴 mobile-menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1200;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}

/* 모바일 메뉴 기본 열릴때 */
.mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  background: #fff;
  padding: 0 0 2rem 0;
  width: 100%;
  max-width: 60rem;
  height: 100vh;
  overflow-y: auto;

  transform: translateX(100%);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

/*  모바일 메뉴 기본 열림 싱태 */
.mobile-menu.is-open {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
  transition:
    opacity 0.3s ease,
    visibility 0s linear 0s;
}

.mobile-menu.is-open .mobile-menu__dim {
  opacity: 1;
}
.mobile-menu.is-open .mobile-menu__panel {
  transform: translateX(0);
}

/* 닫힐 때 */
.mobile-menu.is-closing {
  pointer-events: none;
}
.mobile-menu.is-closing .mobile-menu__dim {
  opacity: 0;
}
.mobile-menu.is-closing .mobile-menu__panel {
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4rem;
}
.mobile-menu__title {
  font-size: 2rem;
  font-weight: 700;
  color: #1e2124;
}
.mobile-menu__close {
  position: relative;
  width: 2.4rem;
  height: 2.4rem;
  background: transparent;
  padding: 0;
}

.mobile-menu__close::before {
  content: '';
  background: url(/resources/front/images/common/ico-header-close.svg) no-repeat center /
    contain;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2.4rem;
  height: 2.4rem;
  background-size: 2.4rem;
}
.mobile-gnb {
  padding-top: 0.8rem;
}
.mobile-gnb__list li {
  border-bottom: 1px solid #e2e8f0;
}
.mobile-gnb__list li a {
  font-family: var(--font-family-point);
  display: block;
  padding: 2.4rem 3.2rem;
  font-size: 2rem;
  color: #1e2124;
}

.mobile-menu__close:focus-visible,
#header .m_btn_menu:focus-visible {
  outline: 1px dotted #474747;
  border-radius: 0.1rem;
}

/* 현재 페이지 */
.mobile-gnb__list .active > a {
  color: var(--color-text-highlighted);
  position: relative;
}

/* 점 표시 */
.mobile-gnb__list .active > a::after {
  content: '';
  width: 0.6rem;
  height: 0.6rem;
  margin-left: 0.8rem;
  border-radius: 50%;
  background-color: var(--color-text-highlighted);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

/* 접근성 */
.mobile-gnb__list a:focus {
  outline: none;
}

.mobile-gnb__list a:focus-visible {
  outline: 1px dotted #474747;
  border-radius: 1rem;
  outline-offset: -0.4rem;
}

/* 눌렀을 때 */
.mobile-gnb__list a:active {
  color: var(--color-text-highlighted);
}

/* 
모바일 ~ 767px 
*/
@media screen and (max-width: 767px) {
  #header {
    height: 6.4rem;
  }

  #header .header-inner {
    padding: 0 1.6rem;
  }

  #header .logo {
    min-width: 9.36rem;
    width: 9.36rem;
    height: 2rem;
  }
  #header .logo a {
    display: block;
    width: 9.36rem;
    height: 2rem;
  }

  /* 모바일에서는 메뉴 숨김 */
  #header .gnb {
    display: none;
  }

  /* 모바일 메뉴 block */
  #header .m_btn_menu {
    display: block;
  }
}

/* ========================================================= 
footer
========================================================= */
#footer {
  background: #1f2732;
  width: 100%;
}

.footer-inner {
  margin: 0 auto;
  font-size: var(--body-small-pc, 1.6rem);
  padding: 8rem 11.2rem 8rem 11.2rem;
  max-width: 192rem;
  width: 100%;
}

/* .footer-top  */
.footer-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 3.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  background: url(/resources/front/images/common/footer_logo.png) no-repeat center left /
    contain;
  width: 30.5rem;
  height: 3.6rem;
  display: block;
}
#footer .notice {
  display: inline-flex;
  gap: 4rem;
}
#footer .notice li span {
  margin-right: 1.2rem;
}
#footer .notice .number {
  font-family: var(--font-family-point);
  color: var(--color-text-white, #fff);
  font-size: var(--font-size-h5-pc, 2.4rem);
  line-height: 1.5;
}
#footer .notice .number a:focus-visible {
  outline: 1px dotted #fff;
  border-radius: 0.1rem;
  outline-offset: 1px;
}

/* .footer-middle  */
.footer-middle {
  padding-top: 3.2rem;
  margin-bottom: 1.6rem;
}
.footer-policy {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.footer-policy a {
  font-size: var(--body-medium-pc, 1.8rem);
  cursor: pointer;
  position: relative;
  font-weight: var(--font-weight-extrabold);
  color: var(--color-text-inverse, #fff);
}
.footer-policy a::before {
  content: '';
  width: 1px;
  height: 60%;
  background-color: var(--color-text-state-disabled);
  position: absolute;
  top: 54%;
  right: -1rem;
  transform: translateY(-50%);
}
.footer-policy a:last-child:before {
  content: none;
}

.footer-policy a:focus-visible {
  outline: 1px dotted #fff;
  border-radius: 0.1rem;
  outline-offset: 1px;
}

/* .footer-bottom */
.footer-bottom {
  display: flex;
  align-items: flex-start;
}
.list_corp {
  flex: 1 1 auto;

  font-size: var(--body-small-pc, 1.6rem);
  line-height: 1.6;
  position: relative;
  letter-spacing: -0.32px;
  color: var(--color-text-state-disabled);
}
.list_corp .address {
  margin-bottom: 0.4rem;
}

.list_corp dl {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 1.6rem;
}
.list_corp dl div {
  display: inline-flex;
}

.list_corp dl dt {
  margin-right: 0.8rem;
  font-weight: 700;
}

.copyright {
  margin-top: 2.4rem;
  color: var(--color-text-caption, #45556c);
  font-size: var(--caption-pc, 1.4rem);
  font-weight: 500;
}

/*
   태블릿 768px ~ 1199px
 */
@media (min-width: 768px) and (max-width: 1199px) {
  #footer .footer-inner {
    padding: 8rem 5rem;
  }
}

/* 
모바일 ~ 767px 
*/
@media (max-width: 767px) {
  #footer .footer-inner {
    font-size: var(--body-small-mo, 1.4rem);
    padding: 5.6rem 3.2rem;
  }

  /* .footer-top  */
  #footer .footer-top {
    padding-bottom: 2.4rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 3.2rem;
  }

  #footer .footer-logo {
    max-width: 22.9rem;
    width: 100%;
    height: 2.7rem;
  }

  #footer .notice {
    flex-direction: column;
    gap: 0.8rem;
  }

  #footer .notice .number,
  #footer .notice .fax {
    font-size: var(--font-size-h5-mo, 1.8rem);
  }

  /* .footer-middle  */
  .footer-middle {
    padding-top: 2.4rem;
    margin-bottom: 1.6rem;
  }

  #footer .footer-policy {
    line-height: 1.8;
  }

  #footer .footer-policy a {
    font-size: var(--body-medium-mo, 1.6rem);
  }

  /* .footer-bottom */
  .list_corp {
    font-size: var(--body-small-mo, 1.4rem);
    letter-spacing: -0.28px;
  }
  .list_corp dl {
    gap: 0.4rem 1.2rem;
  }
  #footer .copyright {
    margin-top: 2.4rem;
    font-size: 1.2rem;
  }
}
