

/*********************************header***********************************/
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.header_box {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 0;
}

.header_box h1 a {
  font-size: 20px;
  color: #fff;
  display: flex;
  align-items: center;
  font-weight: 800;
  gap: 10px;
  letter-spacing: -1px;
}

nav {
  display: flex;
  gap: 40px;
}

nav ul {
  display: flex;
  align-items: center;
  gap: 40px;
}

nav ul li {
  position: relative;
}

nav ul li span,
nav ul li a,
nav ul li ul li a {
  color: #fff;
  font-size: 15px;
  cursor: pointer;
}

nav ul li span svg {
  stroke: #fff;
  width: 12px;
  height: 12px;
}

nav ul li ul {
  position: absolute;
  top: 46px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  width: 100%;
  min-width: 140px;
  background: #fff;
  border-radius: 0 0 8px 8px;
}

nav ul li ul li a {
  display: block;
  color: #212121;
  padding: 1em 1em 0.5em 1em;
  text-align: center;
}

nav ul li ul li:last-of-type a {
  padding: 1em;
}

.header_ai_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #3770fb;
  color: #fff;
  width: 124px;
  height: 32px;
  font-size: 15px;
  text-align: center;
  border-radius: 8px;
}

.mobile_logo,
.mobile_menu,
.mobile_menu_close {
  display: none;
}

.scroll_on {
  background: #fff;
}

.scroll_on .header_box h1 a {
  color: #212121;
}

.scroll_on nav ul li span,
.scroll_on nav ul li a,
.scroll_on nav ul li ul li a {
  color: #212121;
}

.scroll_on .mobile_menu svg {
  fill: #212121;
}

/*********************************footer***********************************/

footer {
  position: relative;
  width: 100%;
  background: #191919;
}

.footer_banner {
  width: 90%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 2rem 0;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.footer_banner ul {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.footer_banner ul li {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer_banner ul li img {
  width: 100%;
  max-width: 180px;
}

.footer_banner span {
  font-size: 12px;
  color: #fff;
  display: block;
  padding: 0.2rem 0;
  text-align: center;
  line-height: 1.5;
}

/*********************************input***********************************/

input[type="text"],
input[type="number"] {
  width: 100%;
  max-width: 780px;
  height: 48px;
  border-radius: 10px;
  margin: 1rem auto 0 auto;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

textarea {
  border: 1px solid rgba(0, 0, 0, 0.2);
  resize: none;
  text-align: center;
}

select {
  position: relative;
  width: 100%;
  height: 48px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: #212121;
  font-size: 15px;
  background: #fff url("../images/arrow_black.svg") calc(100% - 10px) center no-repeat;
  background-size: 24px;
  border-radius: 10px;
  outline: 0 none;
}
select option {
  border: 1px solid #dbdbdb;
  background: #fff;
  color: #515151;
}

@media screen and (max-width:768px) {
  input[type="text"],
  input[type="number"],
  select {
    height: 42px;
  }
}

@media screen and (max-width:500px) {
  input[type="text"],
  input[type="number"],
  select {
    height: 38px;
  }
}

/*********************************paging***********************************/

.paging_box {
  position: relative;
  display:flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 3.5rem 0 0.5rem 0;
}

.paging_box ul {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  margin: 0 1.2rem;
}

.paging_box ul li button {
  background: transparent;
  border: 0;
  font-size: 16px;
  color: rgba(104, 104, 104, 0.5);
  font-weight: 500;
  padding: 1rem 0.5rem;
}

.paging_box ul li button img {
  margin-top: 3px;
}

.paging_box ul li .paging_on {
  color: #000 !important;
}

.paging_arrow {
  display:flex;
  justify-content: center;
  align-items: center;
  width:45px;
  height:45px;
  background:#B8B8B8;
  border:0;
  border-radius: 10px;
}

.paging_arrow img {
  width:100%;
  max-width:24px;
}

@media screen and (max-width:420px) {
  .paging_box ul {
    margin: 0 5px;
  }
  .paging_arrow {
    width: 30px;
    height: 30px;
  }
  .paging_arrow img {
    max-width: 18px;
  }
  .paging_box ul li button {
    font-size: 14px;
    padding: 0.4rem;
  }
}

@media screen and (max-width:320px) {
  .paging_arrow {
    width: 24px;
    height: 24px;
  }
  .paging_arrow img {
    max-width: 14px;
  }
}

/**********************************popup************************************/

.popup_container {
    position:fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background:rgba(11,11,11,.8);
    z-index: 99;
    display:none;
}

.popup_content {
    position:absolute;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);
    width:90%;
    max-width:493px;
    height:auto;
    max-height:90vh;
    background:#fff;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(11,11,11,.2);
    text-align:center;
    overflow-x: hidden;
    overflow-y: auto;
    display: none;
    padding:3rem;
}

.popup_content h3 {
  font-size:24px;
  font-weight:700;
  margin-bottom:2.5rem;
}

.popup_content span {
  display:block;
  font-size:16px;
  margin-bottom:2.5rem;
  line-height: 1.2;
}

.popup_content button{
  width:129px;
  height:46px;
  border-radius: 10px;
  border:1px solid rgba(0, 0, 0, 0.1);
  background:#3770FB;
  color:#fff;
  font-size:18px;
  font-weight:500;
}

.popup_content .popup_close {
  background:#9B9B9B;
  margin-left:0.8rem;
}

@media screen and (max-width: 420px) {
  .popup_content {
    padding:2rem;
  }
  .popup_content h3 {
    font-size: 22px;
    margin-bottom: 1.5rem;
  }
  .popup_content span {
    font-size: 14px;
    margin-bottom: 1.5rem;
  }
  .popup_content button {
    width: 110px;
    height: 40px;
    font-size: 16px;
  }
}

@media screen and (max-width: 340px) {
  .popup_content button {
    width: 100px;
    height: 40px;
    font-size: 16px;
  }
}

@media screen and (max-width: 310px) {
  .popup_content {
    padding:1.5rem;
  }
  .popup_content h3 {
    font-size: 20px;
    margin-bottom: 1rem;
  }
  .popup_content span {
    margin-bottom: 1rem;
  }
  .popup_content button {
    width: 90px;
    height: 36px;
    font-size: 14px;
  }
  .popup_content .popup_close {
    margin-left:0.5rem;
  }
}

/*********************************media header / footer***********************************/

@media screen and (max-width: 1090px) {
  nav,
  nav ul {
    gap: 20px;
  }
}

@media screen and (max-width: 1000px) {
  .header_box h1 a img {
    width: 30px;
  }
  .header_box h1 a {
    font-size: 18px;
  }
}

@media screen and (max-width: 940px) {
  .mobile_menu {
    display: block;
    width: 24px;
    height: 24px;
  }

  .mobile_menu svg {
    fill: #fff;
    width: 24px;
  }
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 11, 11, 0.8);
    display: none;
    z-index: 9;
  }
  .mobile_menu_close {
    position: absolute;
    right: 15px;
    top: 15px;
    z-index: 999;
    display: block;
    width: 24px;
  }
  nav {
    position: fixed;
    right: -240px;
    top: 0;
    width: 240px;
    height: 100vh;
    background: #fff;
    z-index: 99;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    transition: all linear 0.3s;
  }
  .mobile_menu_open {
    right: 0;
    transition: all linear 0.3s;
  }
  .mobile_logo {
    position: relative;
    display: flex;
    gap: 10px;
    font-size: 18px;
    font-weight: 800;
    color: #212121;
    margin-top: 44px;
    padding: 0 20px 20px 20px;
  }
  nav ul {
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
    padding: 0 20px;
    gap: 0;
  }
  nav ul li {
    width: 100%;
  }
  nav ul li span,
  nav ul li a,
  nav ul li ul li a {
    color: #212121;
    font-size: 15px;
  }
  nav ul li span,
  nav ul li a {
    padding: 20px 0;
    display: block;
  }
  .menu_open {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  nav ul li span svg {
    fill: transparent;
    stroke: #212121;
  }
  .header_ai_btn {
    margin: 20px;
    width: calc(100% - 40px);
  }
  nav ul li ul {
    position: relative;
    top: 0;
    left: 0;
    transform: translateX(0);
    display: none;
    width: 100%;
    min-width: 100%;
    background: #f6f6f6;
    border-radius: 0;
    border-top: 1px solid #ececec;
    border-bottom: 1px solid #ececec;
    padding: 0;
  }
  nav ul li ul li a {
    text-align: left;
  }
  .footer_banner ul {
    flex-wrap: wrap;
  }
  .footer_banner ul li {
    width: calc(100% / 5 - 10px);
  }
}

@media screen and (max-width: 720px) {
  .footer_banner ul li {
    width: calc(100% / 4 - 10px);
  }
}

@media screen and (max-width: 510px) {
  .footer_banner ul li {
    width: calc(100% / 3 - 10px);
  }
}

@media screen and (max-width: 420px) {
  .footer_banner ul li {
    width: calc(100% / 2 - 10px);
  }
}

@media screen and (max-width: 320px) {
  .header_box h1 a img {
    width: 26px;
  }
  .header_box h1 a {
    font-size: 16px;
  }
}

td{
  text-align: left;
}
