@charset "UTF-8";

/* header-globals */
:root {
  --header-position: fixed;
}

.sub {
  margin-top: 140px;
}

.header-main {
  position: var(--header-position);
  top: 0;
  left: 0;
  width: 100%;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 50px;
  z-index: 9;
  transition: 0.5s ease;
  /* background: #ffffff7a; */
  background: transparent;
  z-index: 9999;
}

.header-main.header-main_sub {
  background-color: #fff;
}

.header-main.active {
  background-color: #fff;
  box-shadow: 0px 2px 5px 1px rgba(0, 0, 0, 0.25);
  -webkit-box-shadow: 0px 2px 5px 1px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 0px 2px 5px 1px rgba(0, 0, 0, 0.25);
}

/* .header-main.header-main_sub.active {
  padding-top: 10px;
  padding-bottom: 10px;
}

.header-main.header-main_sub.active .nav-box .contact-box {
  height: 80px;
}

.header-main.header-main_sub.active .nav-box .contact-box a img {
  height: 20px;
}

.header-main.header-main_sub.active .nav-box .contact-box a {
  font-size: 14px;
}

.header-main.header-main_sub.active .nav-list a {
  font-size: 14px;
} */

.header-main .inner-fw {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-main .h1_logo {
  transition: 0.5s ease;
}

.header-main .h1_logo img {
  max-width: fit-content;
}

.header-main .h1_logo:hover {
  /* transform: scale(0.95); */
  opacity: 0.7;
}

.header-main .nav-box {
  display: flex;
  align-items: center;
  gap: 30px;
}

.header-main .nav-box .contact-box {
  display: flex;
  width: 300px;
  height: 100px;
}

.header-main .nav-box .contact-box a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 50%;
  row-gap: 15px;
  color: #fff;
  transition: all 0.5s;
}

.header-main .nav-box .contact-box a img {
  height: 30px;
  transition: 0.5s ease;
}

.header-main .nav-box .contact-box a.search {
  background-color: var(--color-01);
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
}

.header-main .nav-box .contact-box a.mail {
  background-color: var(--color-02);
}

.header-main .nav-box .contact-box a:hover {
  opacity: 0.8;
}

/* .header-main .nav-box .contact-box a:hover img {
  animation: floating 3s ease infinite;
} */

/* @keyframes floating {
  0% {
    transform: translate(0, 0px);
  }
  50% {
    transform: translate(0, 5px);
  }
  100% {
    transform: translate(0, -0px);
  }
} */

.header-main .nav-list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.header-main .nav-list a {
  color: #000;
  font-size: 16px;
  font-weight: bold;
}

/* footer-start */

.footer {
  background-color: #fff;
}

.footer .contact-box {
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.footer .contact-box a {
  color: #000;
  font-size: 46px;
  font-weight: bold;
}

.footer .contact-box p {
  width: 100%;
  text-align: center;
  margin-bottom: 10px;
  font-weight: bold;
}

.footer .ft-nav a {
  color: #fff;
}

.copyright {
  font-size: 14px;
  color: #fff;
}

@media screen and (max-width: 1250px) {
  .header-main {
    padding-left: 25px;
  }

  .header-main .nav-box .contact-box {
    max-width: 250px;
  }

  .header-main .h1_logo img {
    max-width: 260px;
  }

  .header-main .nav-list {
    gap: 15px;
  }
}

@media screen and (max-width: 1000px) {
  .sub {
    margin-top: 86px;
  }

  .header-main .nav-wrap {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 9;
    background-color: #0f3773;
    width: 50%;
    min-width: 265px;
    height: 100vh;
    /* overflow-y: scroll; */
  }

  .header-main .nav-wrap .nav-list {
    flex-direction: column;
    justify-content: center;
    height: 100%;
    row-gap: 30px;
  }

  .header-main .nav-wrap .nav-list li a {
    color: #fff;
  }

  .header-main .nav-wrap .nav-list li:nth-of-type(even) {
    display: none;
  }

  .header-main .nav-box .contact-box {
    max-width: 220px;
    height: auto;
    position: relative;
    z-index: 9;
  }

  .header-main .nav-box .contact-box a {
    row-gap: 10px;
    height: 75px;
  }

  .header-main .nav-box .contact-box a img {
    height: 20px;
  }

  .header-main.header-main_sub .sp-menu {
    bottom: -65px;
  }

  .header-main.active .sp-menu {
    bottom: -75px;
  }

  .sp-menu {
    width: 50px;
    height: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: absolute;
    right: 25px;
    bottom: -60px;
    cursor: pointer;
    transition: 0.5s ease;
  }

  .sp-menu span {
    width: 50%;
    height: 3px;
    background-color: var(--color-02);
    transition: 0.5s ease;
  }

  .sp-menu.active {
    gap: 0;
  }

  .sp-menu.active span:nth-of-type(1) {
    transform: rotate(-45deg);
  }

  .sp-menu.active span:nth-of-type(2) {
    display: none;
  }

  .sp-menu.active span:nth-of-type(3) {
    transform: rotate(45deg);
    margin-top: -3px;
  }
}

@media screen and (max-width: 768px) {
  .header-main .nav-box .contact-box a.search {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
  }

  .header-main .nav-box .contact-box a .txt {
    display: none;
  }

  .header-main .nav-box .contact-box {
    max-width: 120px;
  }

  .header-main .nav-box .contact-box a {
    height: 45px;
    outline: none;
  }

  .header-main .nav-box .contact-box a:focus {
    outline: none;
  }

  .footer .ft-nav a {
    width: 100%;
    text-align: center;
  }

  .footer .contact-box p {
    font-size: 16px;
  }

  .footer .contact-box a {
    font-size: 32px;
    text-align: center;
    width: 100%;
    display: block;
  }
}

@media screen and (max-width: 430px) {
  .header-main .h1_logo img {
    max-width: 200px;
  }
}
