@import url("reset.css");
@import url("font.css");

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* 가로 스크롤 방지 */
html, body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  width: 100%;
}

h1, h2, h3, h4, h5, h6, p, span, div {
  line-height: 1.3;
  letter-spacing: -0.01em;
  word-break: keep-all;
}

/* color */
.darkblue {
  color: #253C8E;
}
.blue {
  color: #1260CE;
}
.skyblue {
  color: #778CCA;
}
.black {
  color: #000000;
}
.darkgray {
  color: #555555;
}
.lightgray {
  color: #888888;
}
.white {
  color: #FFFFFF;
}

.bg-skyblue {
  background-color: #F3F6FF;
}
.bg-lightgray {
  background-color: #F8F8F9;
}

/* font size */
.fs-28 {
  font-size: 28px;
}
.fs-24 {
  font-size: 24px;
}
.fs-20 {
  font-size: 20px;
}
.fs-18 {
  font-size: 18px;
}
.fs-16 {
  font-size: 16px;
}
.fs-14 {
  font-size: 14px;
}
.fs-13 {
  font-size: 13px;
}
.fs-12 {
  font-size: 12px;
}

/* font-weight */
.fw-bold {
  font-weight: 700;
}
.fw-semibold {
  font-weight: 600;
}
.fw-regular {
  font-weight: 400;
}

/* text-align */
.ta-left {
  text-align: left;
}
.ta-center {
  text-align: center;
}
.ta-right {
  text-align: right;
}

/* header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: transform 0.3s ease;
  padding: 20px;
  width: 100%;
  height: 68px;
  background-color: #FFFFFF;
  border-bottom: 1px solid #B1B1B1;
}
header.hide {
  transform: translateY(-100%);
}
header.show {
  transform: translateY(0);
}
header > .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header .logo-sqisoft img {
  width: auto;
  height: 20px;
}

header.header-main {
  background: rgba(255, 255, 255, 0.1);
  border-bottom: 0;
}

nav {
  position: fixed;
  top: 67px;
  left: 0;
  padding-bottom: 100px;
  width: 100%;
  height: calc(100vh - 67px);
  border-top: 1px solid #B1B1B1;
  background-color: #FFFFFF;
  overflow-y: auto;
  z-index: 10;
  display: none;
}
nav::-webkit-scrollbar {
  display: none;
}
nav > ul {
  padding: 0 20px;
}
.nav-list {
  padding: 12px 0;
}
.nav-list:not(:last-child) {
  padding-bottom: 12px;
  border-bottom: 1px solid #999999;
}
.nav-list div {
  max-height: 0;
  transition: transform 0.3s ease-in-out, max-height 0.3s ease-in-out;
}
.nav-list div.is-open {
  overflow: hidden;
  max-height: 100vh;
}
.nav-list div.is-closed {
  overflow: hidden;
  max-height: 0;
}
.nav-list > a {
  display: flex;
  align-items: center;
  padding: 12px 0;
}
.btn-submenu::after {
  content: '';
  position: absolute;
  right: 20px;
  width: 24px;
  height: 24px;
  background: url('/resources/images/mobile/icon/ic_chevron-up.png') center top;
  background-size: 100% auto;
  transition: transform 0.3s ease-in-out;
}
.btn-submenu.closed::after {
  transform: rotate(180deg);
}
.nav-list-item li {
  display: flex;
  align-items: center;
  padding: 12px 0;
}
.nav-list-item li:last-child {
  padding-bottom: 20px;
}
.nav-list-item a {
  width: 100%;
}
.nav-list-item a:hover {
  color: #000000;
}

/* section */
.subpage-container {
  margin-top: 68px;
}
section {
  padding: 20px;
}
.sec-title {
  margin-bottom: 12px;
}

/* footer */
footer {
  padding: 30px 20px;
  width: 100%;
  color: #9CA0AA;
  background-color: #F2F3F6;
}
.footer-upper {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-bottom: 25px;
  border-bottom: 1px solid #DEE1E4;
}
.footer-upper span {
  display: inline-block;
}
footer .company-link {
  display: flex;
  gap: 24px;
  margin: 24px 0;
}
footer .company-link a {
  position: relative;
  color: #9CA0AA;
  text-decoration: underline;
}
footer .company-link a:first-child::after {
  content: '';
  position: absolute;
  display: inline-block;
  top: 2px;
  left: 42px;
  margin-left: 20px;
  width: 1px;
  height: 15px;
  background-color: #DEE1E4;
}
footer .contact, footer .address {
  display: flex;
  flex-direction: column;
}
footer .contact {
  margin-bottom: 20px;
}
footer .contact span {
  margin-bottom: 4px;
}
footer .address span:first-child {
  margin-bottom: 4px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding-top: 25px;
  width: 100%;
}
.footer-bottom a {
  text-decoration: underline;
}
.footer-bottom span {
  text-align: right;
}