@import url('reset.css');
@import url('header.css');
@import url('footer.css');
@import url('top.css');
@import url('misson.css');
@import url('member.css');
@import url('office.css');
@import url('privacy.css');
@import url('regulatory.css');
@import url('announcement.css');
@import url('announcement-detail.css');

@font-face {
  font-family: 'Sawarabi Gothic';
  src: url('../fonts/SawarabiGothic-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Sawarabi Gothic', sans-serif;
  line-height: 24px;
  color: var(--text-color);
}
p, ol, ul {
  font-size: 16px;
}
hr {
  border: none;
  height: 1px;
  color: var(--primary-color);
  background-color: var(--primary-color);
}

/* Loading Overlay */
.overlay {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  position: fixed;
  /* background: #222; */
}

.overlay__inner {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  position: absolute;
}

.overlay__content {
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.spinner {
  width: 75px;
  height: 75px;
  display: inline-block;
  border-width: 2px;
  border-color: rgba(0, 0, 0, 0.164);
  border-top-color: #525252;
  animation: spin 1s infinite linear;
  border-radius: 100%;
  border-style: solid;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* Scroll up interaction */
.animate-on-scroll-first {
  opacity: 1;
  transform: translateY(0px);
  animation: scrollup 0.5s linear;
}
@keyframes scrollup {
  0% {
    opacity: 0;
    transform: translateY(100px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-on-scroll {
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 0.6s, transform 0.6s;
}
.animate-on-scroll.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Back to top */
.back-to-top {
  position: fixed;
  top: 80%;
  right: 30px;
  background: #2D3057;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 999;
}
#scrollTopBtn {
  display: none;
}

/* banner */
.banner-container {
  position: relative;
}
.banner {
  width: 100%;
  height: 85vh;
  /* height: 800px; */
  object-fit: cover;
  object-position: 80% 0%;
}
.overlay-curve {
  width: 100%;
  position: absolute;
  bottom: -20px;
  z-index: 999;
  left: 0;
}

/* Inquery */
.inquiry-section {
  background-image: url('../images/inquiry-banner.jpeg');
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #87abc3;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.inquiry-section a {
  width: 552px;
  height: 84px;
  background: #202445;
  border-radius: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 26px;
}

/* Title */
.main-title {
  font-size: 32px;
  color: var(--primary-color);
  font-weight: 600;
}
.title-line {
  width: 130px;
  margin: 20px 0 20px 0 !important;
  border: none;
  height: 3px;
  color: var(--primary-color);
  background-color: var(--primary-color);
}
.title-label {
  font-size: 20px;
  margin-bottom: 30px;
}
.sub-title {
  font-size: 26px;
  color: var(--primary-color);
  font-weight: 600;
  margin-top: 60px;
  margin-bottom: 17px;
}

/* List */
.list-number {
  background-color: var(--primary-color);
  color: #fff;
  margin-right: 20px;
  width: 25px;
  height: 25px;
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 12px;
  flex: none;
}

@media only screen and (max-width: 1400px) {
  .banner {
    height: 600px;
  }
}
/* Tablet Devices (max-width: 1024px) */
@media only screen and (max-width: 1024px) {
  /* Your tablet styles go here */
  .banner {
    height: 240px;
  }
  .inquiry-section a {
    width: 326px;
    height: 68px;
    font-size: 20px;
  }

  /* Title */
  .main-title {
    font-size: 22px;
  }
  .sub-title {
    font-size: 18px;
    font-weight: 600;
  }
  .title-label, p, ol, ul {
    font-size: 14px;
    margin-bottom: 18px;
    line-height: 20px;
  }
  .list-number {
    margin-right: 10px;
  }
}

/* Mobile Devices (max-width: 767px) */
@media only screen and (max-width: 767px) {
  /* Your mobile styles go here */
  .banner {
    height: 240px;
  }
  .overlay-curve {
    bottom: 0;
  }
}
