* {
  box-sizing: border-box;
}

html {
  width: 100%;
  height: 100%;
  display: flex;
}

body {
  width: 100dvw;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: "NanumSquare", sans-serif;
  background-color: #f2f3f5;
  color: #2a2a2a;
  max-width: 1900px;
  margin: 0 auto;
  padding: 0 2rem;
}

button {
  font-family: "NanumSquare", sans-serif;
}

.header {
  width: 100%;
  height: 110px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1670px;
  min-width: 1395px;
  margin: 0 auto;
}

#header-title {
  font-size: 22px;
  font-weight: 500;
  text-decoration: none;
  color: #606060;
  display: flex;
  align-items: end;
  line-height: 1;
  position: relative;
}

.header .logo {
  width: 130px;
  margin-right: 10px;
}

.header .link {
  display: flex;
  gap: 0.5rem;
}

.header .link a {
  text-decoration: unset;
  color: #000;
  vertical-align: middle;
  font-weight: 700;
}

.link img {
  width: 175px;
}

.main {
  max-width: 1670px;
  margin: 3vw auto auto;
  display: flex;
  flex-direction: column;
  padding-bottom: 3vw;
  /* height: calc(100vh - 6rem); */
}

.tabs {
  display: flex;
  gap: 1.2rem;
  margin-left: 0.8rem;
}

.tab {
  background: none;
  border: 0;
  padding: 5px 0;
  font-size: 1.1rem;
  cursor: pointer;
  position: relative;
}

/* 언더바 */
.tab::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 3px;
  background: #ccc;
  transition: background-color 0.2s ease;
}

.tab.active {
  font-weight: 600;
}

.tab.active::after {
  background: #4472c4;
}

.box {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  border-radius: 25px;
  background: #fff;
  padding: 2rem;
  flex-grow: 1;
}

.left .box {
  display: none;
  position: relative;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.left .box.active {
  display: flex;
}

.login-box {
  margin-top: calc(29px + 1rem);
}

.layout {
  /* display: grid;
	grid-template-columns: 0.45fr 0.25fr 0.3f; */
  display: flex;
  gap: 1rem;
  width: 100%;
  align-items: stretch;
  height: 660px;
}

.layout > .center,
.layout > .left,
.layout > .right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-self: stretch;
}

.layout > .center {
  flex: 1;
  min-width: 320px;
}

.layout > .left {
  flex: 2;
  min-width: 725px;
}

.layout > .right {
  flex: 1.2;
  min-width: 340px;
}

.center .tab {
  align-self: start;
}

#mobile-notice {
  display: none;
  align-items: start;
  gap: 10px;
  background-color: #dae3f3;
  border-radius: 10px;
  line-height: 1;
  padding: 15px;
  font-size: 15px;
  height: 45px;
  overflow: hidden;
}

#mobile-notice .notice-list {
  flex-direction: column;
  transition: transform 0.5s ease;
  align-items: center;
  gap: 10px;
  width: 100%;
  overflow: hidden;
}

.notice-item {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  height: 45px;
  line-height: 1;
}

.inquiry-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
  height: inherit;
  padding: 0px;
  overflow: hidden;
}

.inquiry-box h1 {
  font-weight: 900;
  text-align: center;
  color: #333;
  font-size: 44px;
  margin: 0 0 1rem 0;
}

.inquiry-tag {
  background-color: #002060;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  white-space: nowrap;
}

.inquiry-body {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 18px;
}

.inquiry-body span {
  line-height: 1;
}

#login-form,
.form-group {
  display: flex;
  flex-direction: column;
}

#login-form {
  gap: 1rem;
}

.form-group {
  gap: 0.8rem;
}

.form-control {
  display: block;
  width: 100%;
  height: 48px;
  padding: 0.375rem 0.75rem;
  font-weight: 400;
  line-height: 1.5;
  background: rgba(0, 0, 0, 0.05);
  color: #000;
  font-size: 16px;
  border-radius: 3px;
  -webkit-box-shadow: none;
  box-shadow: none;
  border: none;
  padding-left: 20px;
  padding-right: 20px;
}

.form-control:focus {
  outline: none;
  border: none;
}

#login-btn {
  background-color: #002060;
  border: none;
  border-radius: 6px;
  font-size: 20px;
  color: #fff;
  padding: 1rem 0;
  cursor: pointer;
}

.login-features {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 30px;
  margin-top: 1rem;
}

.form-check {
  line-height: 1;
  display: flex;
  align-items: center;
}

.form-check-label {
  cursor: pointer;
  font-size: 16px;
  color: #2a2a2a;
}

input#rememberId {
  margin: 0 5px;
}

.btn-text {
  color: #2a2a2a;
  background: transparent;
  border: none;
  font-size: 16px;
  position: relative;
  padding: 0;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.btn-text::before {
  content: "";
  position: absolute;
  display: block;
  height: 15px;
  width: 1px;
  left: -15px;
  top: 2px;
  background: #666666;
}

table {
  width: 100%;
  table-layout: fixed;
}

thead {
  background: rgba(221, 225, 230, 0.3);
}

thead th {
  font-weight: 600;
}

td {
  padding: 0.5rem 1rem;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

th {
  padding: 0.7rem 1rem;
}

.modalInfo {
  text-align: end;
  color: gray;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 180ms ease,
    visibility 0s linear 180ms;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 180ms ease,
    visibility 0s;
}

.modal {
  width: min(580px, 100%);
  max-height: min(80vh, 720px);
  height: 100%;
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  outline: none;
  transform: translateY(10px) scale(0.98);
  opacity: 0;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
  will-change: transform, opacity;
  display: flex;
  flex-direction: column;
}

#modalDescription {
  flex: 1;
  overflow: auto;
}

.modal-overlay.is-open .modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal .modal-actions {
  display: flex;
  justify-content: flex-end;
}

#close-btn {
  color: #6d6d6d;
  background-color: #e8e8e8;
  border-color: #e8e8e8;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  padding: 0.5rem 1.5rem;
  cursor: pointer;
}

.banner-slide {
  position: relative;
  max-height: 190px;
  width: 100%;
  height: 100%;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.banner-slide a {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.banner-slide a.active {
  opacity: 1;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: auto;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .modal-overlay,
  .modal {
    transition: none;
  }
}

.tags {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.box.second .tags {
  gap: 0.3rem;
}

.tag {
  font-size: 1rem;
  line-height: 1;
  background-color: #002060;
  color: white;
  border-radius: 50px;
  padding: 0.8rem 1.2rem;
  line-height: 1;
  font-weight: 300;
}

.main-img {
  width: 100%;
}

.left h1 {
  margin-top: 0;
  font-weight: 800;
  word-break: keep-all;
}

.bubble-tag {
  font-size: 1rem;
  font-weight: 700;
  position: absolute;
  border-radius: 50px;
  color: white;
  padding: 0.8rem 1.5rem;
  line-height: 1;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.3);
  position: absolute;
}

.bubble-tag.first {
  background-color: #0087ef;
  left: 6%;
  top: 40%;
}

.bubble-tag.second {
  background-color: #84c5f7;
  left: 6%;
  top: 50%;
}

.bubble-tag.third {
  background-color: #51aaee;
  right: 5%;
  top: 36%;
}

.bubble-tag.first:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 0;
  border: 20px solid transparent;
  border-top-color: #0087ef;
  border-bottom: 0;
  border-right: 0;
  margin-left: -25%;
  margin-bottom: -20px;
}

.bubble-tag.second:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 0;
  border: 20px solid transparent;
  border-top-color: #84c5f7;
  border-bottom: 0;
  border-right: 0;
  margin-left: -10px;
  margin-bottom: -20px;
}

.bubble-tag.third:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 0;
  border: 20px solid transparent;
  border-top-color: #51aaee;
  border-bottom: 0;
  border-left: 0;
  margin-left: 10%;
  margin-bottom: -20px;
}

.img-box-container {
  display: flex;
  margin-top: 2rem;
  justify-content: space-between;
  width: 100%;
}

.img-box-container.second {
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.img-box-container.second {
  margin-top: 0px;
  margin-left: 190px;
}

.img-box-container.second > .main-img {
  width: 25%;
}

.img-box-container .img-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: fit-content;
}

.img-box.second {
  position: relative;
  width: 100%;
  height: 100%;
}

.img-box-container .img-box img {
  width: 75%;
}

.img-box-container .img-box.third img {
  width: 120px;
}

.img-box-container > .img-box:first-of-type {
  background-color: #dae3f3;
  border-radius: 30px;
  width: 97%;
  min-width: 275px;
}

.box.second ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  height: calc(4 * 1.5em);
  padding: 0;
}

.box.second li {
  position: relative;
  line-height: 1.5em;
  padding: 0 20px;
  letter-spacing: -0.02em;
}

.box.second li::before {
  content: "✔";
  position: absolute;
  left: 4px;
  top: 0;
  color: #3b82f6;
  font-weight: 600;
}

.box.third .img-box {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
}

.box.second {
  position: relative;
}

.box.second h3 {
  margin: 1rem 0 0 0;
  font-weight: 700;
}

.arrow {
  position: absolute;
  width: 45%;
  height: 2px;
  background-color: #002060;
  transform: rotate(var(--arrow-rotate, 0deg));
}

.arrow::after {
  content: "";
  position: absolute;
  right: 5px;
  top: -12px;
  width: 2px;
  height: 17px;
  background: #002060;
  transform: rotate(125deg);
}

.arrow.first::before,
.arrow.third::before {
  content: "지정배차";
}

.arrow.second::before {
  content: "위탁";
}

.arrow::before {
  background-color: white;
  z-index: 1;
  position: absolute;
  left: 50%;
  bottom: 50%;
  transform: translate(-50%, 50%) rotate(calc(-1 * var(--arrow-rotate, 0deg)));
  padding: 5px 10px;
  font-weight: 700;
  white-space: nowrap;
}

.arrow.first {
  left: 2%;
  top: 32%;
  width: 100%;
}

.arrow.second {
  left: -5%;
  top: 80%;
  --arrow-rotate: 45deg;
  transform: rotate(var(--arrow-rotate));
}

.arrow.third {
  left: 63%;
  top: 81%;
  --arrow-rotate: 315deg;
  transform: rotate(var(--arrow-rotate));
}

.infograph-box {
  position: relative;
}

.infograph-box .label {
  position: absolute;
  font-weight: 700;
}

.label.first {
  left: 50%;
  transform: translateX(-50%);
  top: -20px;
}

.label.second {
  top: 94%;
}

.label.third {
  top: 94%;
  right: 0;
}

.label.center {
  left: 50%;
  top: 52%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 0.9rem;
}

.order-1 {
  order: 1;
}

.order-2 {
  order: 2;
}

.order-3 {
  order: 3;
}

.mobile-inquiry {
  display: none;
}

.msg_wrap {
  background: white;
  color: #5c82d5;
  margin: 1px 10px;
  font-size: 0.85em;
  width: 95%;
}

.layer_area {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0px;
  top: 0px;
  display: none;
  z-index: 101;
}

.layer_area > .modal_area {
  position: absolute;
  width: 700px;
  height: 700px;
  top: calc(50% - 350px);
  left: calc(50% - 350px);
  background-color: white;
  border: 1px solid #757575;
  box-shadow: 3px 0px 7px -2px #a7a7a7;
  user-select: none;
}

.modal_area > .modal_top {
  background-color: #e4e4e4;
  height: 35px;
}

.modal_area > .modal_top > span {
  padding: 0px 10px;
  line-height: 35px;
  font-size: 15px;
  font-weight: bold;
}

.modal_area > .modal_top > .close_btn {
  float: right;
  margin: 2px 7px;
  padding: 5px 5px;
  cursor: pointer;
  font-size: 20px;
}

.modal_area > .modal_content {
  width: 100%;
  height: calc(100% - 35px);
}

.modal_area > .modal_content > iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.footer {
  height: 88px;
  width: 100%;
}

.footer_inner {
  width: 60%;
  margin: 0 auto;
  text-align: center;
}

.footer_inner > div {
  display: inline-block;
  margin-top: 10px;
}

.footer_inner > div:nth-child(1) {
  width: 20%;
}

.footer_inner > div:nth-child(2) {
  font-size: 12px;
  vertical-align: top;
  width: 40%;
  text-align: left;
}

.footer_inner > div:nth-child(3) {
  width: 35%;
  font-weight: 600;
  vertical-align: top;
}

.footer_inner > span {
  font-size: 12px;
  display: block;
}

@media (max-width: 768px) {
  body {
    padding: 0 1.2rem;
  }
  .header {
    height: unset;
    padding: 10px 0;
    min-width: unset;
  }
  #header-title span {
  	display: none;
  }
  .header .logo {
    width: 100px;
    padding: 0;
  }
  .link img {
    display: none;
    width: 140px;
  }
  .layout {
    flex-wrap: wrap;
    height: auto;
  }
  .order-mb-1 {
    order: 1;
  }
  .order-mb-2 {
    order: 2;
  }
  .order-mb-3 {
    order: 3;
  }
  .box {
    padding: 1rem;
  }
  .img-box,
  .box.first .main-img,
  .box.second .img-box-container,
  .box.third .img-box,
  .bubble-tag,
  .inquiry-box {
    display: none;
  }
  .layout > .left,
  .layout > .center,
  .layout > .right {
    min-width: 100%;
    gap: 15px;
  }
  .login-box {
    margin-top: 0;
  }
  .left h1 {
    font-size: 20px;
    margin-bottom: 15px;
  }
  .tags {
    gap: 0.5rem;
  }
  .tag {
    font-size: 14px;
    padding: 10px 15px;
  }
  .tab {
    font-size: 1rem;
  }
  .main {
    width: 100%;
    margin-top: 0;
    padding-top: 0;
  }
  label.form-label {
    display: none;
  }
  .login-features .btn-text {
    display: flex;
  }
  .login-features .btn-text:before {
    display: none;
  }
  .mobile-inquiry {
    display: block;
    font-size: 22px;
  }
  .mobile-inquiry > a {
    text-decoration: none;
    color: #2a2a2a;
  }
  .msg_wrap {
    display: none;
  }
  .form-check-label,
  .login-features .btn-text {
    font-size: 14px;
  }
  .layout > .center {
    height: calc(100vw / 2 - 2.4rem);
  }
  #find_user {
    display: none;
  }
  #desktop-notice {
    display: none;
  }
  #mobile-notice {
    display: inline-flex;
  }
  #mobile-tabs {
    display: none;
  }
  #login-btn {
    font-size: 18px;
    padding: 12px 0;
  }
  .banner-slide {
    display: block;
  }
  #modalTitle {
    font-size: 20px;
  }
  .modalInfo {
    text-align: start;
    font-size: 15px;
  }
}
