@charset "utf-8";

:root {
  --kca-navy: #071c31;
  --kca-blue: #4b8ee8;
  --kca-cyan: #54e5f0;
  --kca-sky: #71cdf5;
  --kca-white: #ffffff;
}

body {
  background: var(--kca-navy);
}

.page-wrap {
  width: 100%;
  min-height: 100vh;
}

.mobile-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
}

.common-btn {
  width: 100%;
  height: 72px;
  border-radius: 999px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.common-btn.white {
  background: #fff;
  color: var(--kca-blue);
}

.blind {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* =========================================================
   ÇÏ´Ü QR ÆË¾÷
========================================================= */

.nav-qr {
  border: 0;
  cursor: pointer;
}

.bottom-qr-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 92px 28px 36px;
}

.bottom-qr-modal.is-open {
  display: flex;
}

.bottom-qr-dim {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.72);
}

.bottom-qr-box {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 374px;
  max-height: calc(100vh - 126px);
  overflow-y: auto;
  padding: 42px 22px 24px;
  border: 1px solid #45a7ef;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(0,0,0,.26);
  text-align: center;
  animation: bottomQrUp .22s ease both;
}

@keyframes bottomQrUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bottom-qr-x {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.bottom-qr-x span::before,
.bottom-qr-x span::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 18px;
  width: 24px;
  height: 3px;
  border-radius: 999px;
  background: #111;
}

.bottom-qr-x span::before {
  transform: rotate(45deg);
}

.bottom-qr-x span::after {
  transform: rotate(-45deg);
}

.bottom-qr-head {
  padding: 0 36px;
  margin-bottom: 24px;
}

.bottom-qr-head h2 {
  color: #222;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.07em;
}

.bottom-qr-head p {
  margin-top: 8px;
  color: #555;
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: -0.05em;
  word-break: keep-all;
}

.bottom-qr-image-box {
  width: 260px;
  height: 260px;
  margin: 0 auto;
  padding: 14px;
  border: 1px solid #e2e8f4;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(27, 103, 186, .10);
}

.bottom-qr-image-box img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bottom-qr-name {
  display: block;
  margin-top: 18px;
  color: #222;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.06em;
}

.bottom-qr-url {
  margin-top: 8px;
  color: #888;
  font-size: 11px;
  line-height: 1.4;
  word-break: break-all;
}

.bottom-qr-empty {
  padding: 48px 16px;
  border: 1px solid #dbe9f8;
  border-radius: 18px;
  background: #f8fbff;
}

.bottom-qr-empty strong {
  display: block;
  color: #222;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.bottom-qr-empty p {
  margin-top: 8px;
  color: #777;
  font-size: 14px;
  letter-spacing: -0.04em;
}

.bottom-qr-close-btn {
  width: 100%;
  height: 58px;
  margin-top: 28px;
  border: 0;
  border-radius: 6px;
  background: #3f86ed;
  color: #fff;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.06em;
  cursor: pointer;
}

@media (max-width: 380px) {
  .bottom-qr-modal {
    padding-left: 22px;
    padding-right: 22px;
  }

  .bottom-qr-image-box {
    width: 230px;
    height: 230px;
  }

  .bottom-qr-head h2 {
    font-size: 22px;
  }

  .bottom-qr-close-btn {
    height: 54px;
    font-size: 20px;
  }
}

/* =========================================================
   °øÅë ÇÏ´Ü ³×ºñ°ÔÀÌ¼Ç
========================================================= */

.bottom-nav {
  position: fixed;
  z-index: 80;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 65px;
  padding: 6px 8px 5px;
  background: rgba(255,255,255,.96);
  border-radius: 18px 18px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr 78px 1fr 1fr;
  align-items: center;
  box-shadow: 0 -8px 18px rgba(0,0,0,.16);
  overflow: visible;
  box-sizing: border-box;
}

.nav-item {
  height: 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  gap: 3px;
  color: #496dfa;
  text-decoration: none;
  opacity: .72;
}

.nav-item.active {
  opacity: 1;
}

.nav-icon-img {
  display: block;
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.nav-item em,
.nav-qr em {
  display: block;
  font-style: normal;
  font-size: 9px;
  line-height: 1.2;
  color: #101a48;
  letter-spacing: -0.05em;
  white-space: nowrap;
}

.nav-qr {
  position: relative;
  z-index: 2;
  width: 78px;
  height: 78px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(180deg, #638bff 0%, #4569f5 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #fff;
 /*  box-shadow: 0 8px 18px rgba(57, 90, 230, .42); */
  transform: translateY(-20px);
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  font-family: inherit;
}

.nav-qr-img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.nav-qr em {
  color: #fff;
  font-size: 9px;
  font-weight: 600;
}

/* =========================================================
   °øÅë ÇÏ´Ü QR ÆË¾÷
========================================================= */

body.modal-open {
  overflow: hidden;
}

.bottom-qr-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 92px 28px 36px;
  box-sizing: border-box;
}

.bottom-qr-modal.is-open {
  display: flex;
}

.bottom-qr-dim {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.72);
}

.bottom-qr-box {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 374px;
  max-height: calc(100vh - 126px);
  overflow-y: auto;
  padding: 42px 22px 24px;
  border: 1px solid #45a7ef;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(0,0,0,.26);
  text-align: center;
  animation: bottomQrUp .22s ease both;
  box-sizing: border-box;
}

@keyframes bottomQrUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bottom-qr-x {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.bottom-qr-x span::before,
.bottom-qr-x span::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 18px;
  width: 24px;
  height: 3px;
  border-radius: 999px;
  background: #111;
}

.bottom-qr-x span::before {
  transform: rotate(45deg);
}

.bottom-qr-x span::after {
  transform: rotate(-45deg);
}

.bottom-qr-head {
  padding: 0 36px;
  margin-bottom: 24px;
}

.bottom-qr-head h2 {
  color: #222;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.07em;
}

.bottom-qr-head p {
  margin-top: 8px;
  color: #555;
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: -0.05em;
  word-break: keep-all;
}

.bottom-qr-image-box {
  width: 260px;
  height: 260px;
  margin: 0 auto;
  padding: 14px;
  border: 1px solid #e2e8f4;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(27, 103, 186, .10);
  box-sizing: border-box;
}

.bottom-qr-image-box img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bottom-qr-name {
  display: block;
  margin-top: 18px;
  color: #222;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.06em;
}

.bottom-qr-url {
  margin-top: 8px;
  color: #888;
  font-size: 11px;
  line-height: 1.4;
  word-break: break-all;
}

.bottom-qr-empty {
  padding: 48px 16px;
  border: 1px solid #dbe9f8;
  border-radius: 18px;
  background: #f8fbff;
}

.bottom-qr-empty strong {
  display: block;
  color: #222;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.bottom-qr-empty p {
  margin-top: 8px;
  color: #777;
  font-size: 14px;
  letter-spacing: -0.04em;
}

.bottom-qr-close-btn {
  width: 100%;
  height: 58px;
  margin-top: 28px;
  border: 0;
  border-radius: 6px;
  background: #3f86ed;
  color: #fff;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.06em;
  cursor: pointer;
}

@media (max-width: 380px) {
  .bottom-qr-modal {
    padding-left: 22px;
    padding-right: 22px;
  }

  .bottom-qr-image-box {
    width: 230px;
    height: 230px;
  }

  .bottom-qr-head h2 {
    font-size: 22px;
  }

  .bottom-qr-close-btn {
    height: 54px;
    font-size: 20px;
  }
}


/* =========================
   PC COMMON LAYOUT
========================= */

.pc-header,
.pc-common-hero,
.pc-common-side,
.pc-footer {
  display: none;
}

@media (min-width: 1024px) {
  .pc-header {
    display: block;
    width: 100%;
    height: 72px;
    background: #fff;
    border-bottom: 1px solid #e8eef7;
  }

  .pc-header-inner {
    width: 100%;
    max-width: 1360px;
    height: 72px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .pc-logo a {
    display: flex;
    align-items: center;
  }

  .pc-logo img {
    display: block;
    width: 168px;
    height: auto;
    object-fit: contain;
  }

  .pc-nav {
    margin-left: auto;
    margin-right: 34px;
    display: flex;
    align-items: center;
    gap: 48px;
  }

  .pc-nav a {
    color: #111;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.04em;
    text-decoration: none;
  }

  .pc-logout-btn {
    width: 96px;
    height: 40px;
    border-radius: 7px;
    background: #063f84;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .pc-common-hero {
    display: block;
    width: 100%;
    height: 162px;
    background: url("../images/main_top.png") center center / cover no-repeat;
  }

  .pc-common-hero-inner {
    width: 100%;
    max-width: 1360px;
    height: 162px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .pc-common-hero h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 30px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.05em;
  }

  .pc-common-hero p {
    color: rgba(255,255,255,.9);
    font-size: 18px;
    line-height: 1.45;
    font-weight: 400;
    letter-spacing: -0.04em;
  }

  .pc-common-side {
    display: block;
    width: 216px;
  }

  .pc-common-side-menu {
    border: 1px solid #d5e5f8;
    border-radius: 5px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 0 8px rgba(58, 123, 255, .12);
  }

  .pc-common-side-menu a {
    height: 74px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid #e5e7eb;
    color: #111827;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.04em;
    text-decoration: none;
  }

  .pc-common-side-menu a:last-child {
    border-bottom: 0;
  }

  .pc-common-side-menu a img {
    width: 33px;
    height: 33px;
    object-fit: contain;
  }

  .pc-common-side-menu a.is-active {
    background: #f2f8ff;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(42, 107, 220, .08);
  }

  .pc-common-inquiry {
    margin-top: 18px;
    padding: 30px 20px 24px;
    border-radius: 5px;
    background: #043a78;
    color: #fff;
  }

  .pc-common-inquiry strong {
    display: block;
    margin-bottom: 18px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.05em;
  }

  .pc-common-inquiry p {
    margin-bottom: 20px;
    color: rgba(255,255,255,.86);
    font-size: 15px;
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: -0.04em;
  }

  .pc-common-inquiry button {
    width: 160px;
    height: 38px;
    border: 1px solid #008CFF;
    border-radius: 4px;
    background: transparent;
    color: #75aefb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
  }

  .pc-common-inquiry button img {
    width: 14px;
    height: 14px;
    object-fit: contain;
  }

  .pc-footer {
    display: block;
    width: 100%;
    height: 78px;
    background: #171b2a;
  }

  .pc-footer-inner {
    width: 100%;
    max-width: 1360px;
    height: 78px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
  }

  .pc-footer-inner img {
    width: 160px;
    height: auto;
    object-fit: contain;
  }
}