@charset "UTF-8";

/* header-globals */
:root {
  --main-bg-color: #115FAD;
  --shade2-bg-color: #fff;
  --header-inner: 1600px;
  --header-pd: 50px;
  --tel-bg: green;
  --mail-bg: #000;
  --text-color: #000;
  --hide-pc: none;
  --header-height: 80px;
}

.hide-pc {
  display: none;
}

.header-main {
  display: flex;
  align-items: center;
  position: fixed;
  width: 95%;
  background-color: #fff;
  z-index: 10;
  height: 90px;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  transition: 0.5s;
  padding-left: 25px;
  padding-right: 25px;
}

.header-main_sub {
  top: 0;
  height: 80px;
  width: 100%;
}

.header-main.active {
  filter: drop-shadow(0px 0px 3px black);
  transition: 0.5s;
}

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

.header-main_sub .inner {
  max-width: 1500px;
  margin: 0 auto;
}

.h1_logo {
  display: flex;
  align-items: center;
  color: #000;
  font-size: 22px;
  width: 70%;
  max-width: 400px;
}

.h1_logo img {
  width: 105%;
}

.header-main .nav-box {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 50px;
  width: 100%;
  height: 100%;
  font-weight: 500;
}

.header-main .header-nav .link-wrap {
  display: flex;
  gap: 50px;
}

.header-main .header-nav .link-wrap a {
  font-size: 20px;
  color: var(--main-bg-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.header-main_sub .header-nav .link-wrap a {
  width: fit-content;
  color: #000;
  font-size: 16px;
  font-weight: 500;
}

.header-main .header-nav .link-wrap a span {
  font-size: 16px;
  color: #000;
}

.header-main .header-nav .link-wrap .link-item {
  width: fit-content;
}

.header-main_sub .header-nav .link-wrap .link-item {
  width: fit-content;
}

.header-main_sub .header-nav .link-wrap li .separator {
  width: 1px;
  height: 100%;
  background-color: #000;
}

.header-main .contact-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 220px;
  width: 100%;
  height: 100%;
  position: relative;
}

.header-main_sub .contact-box {
  max-width: fit-content;
}

.header-main .contact-box a {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  padding: 10px 15px;
}

.header-main .contact-box a.contact-tel {
  background-color: #006fbb;
  color: #fff;
  font-size: 24px;
  gap: 10px;
  height: 100%;
}

.header-main_sub .contact-box a.contact-tel {
  font-size: 16px;
}

.header-main .contact-box a.contact-tel span {
  font-size: 16px;
}

@media screen and (max-width: 1400px) {
  .header-main .contact-box {
    max-width: 170px;
  }

  .header-main .header-nav .link-wrap {
    gap: 20px;
  }

  .header-main .contact-box a.contact-tel {
    font-size: 20px;
  }

  .header-main .header-nav .link-wrap .link-item {
    width: fit-content;
  }

  .header-main .header-nav .link-wrap a {
    font-size: 16px;
  }

  .header-main .header-nav .link-wrap a span {
    font-size: 12px;
  }
}

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

  .header-main .header-nav .link-wrap {
    gap: 13px;
  }

  .header-main .nav-box {
    gap: 25px;
  }
}

@media screen and (max-width: 1100px) {
  .header-main {
    padding-right: 20px;
    top: 0;
    width: 100%;
    height: 80px;
  }

  .header-main .nav-box {
    display: none;
    position: absolute;
    left: 0;
    top: 80px;
    background-color: #fff;
    width: 100%;
    height: fit-content;
    gap: 0;
  }

  .header-main .header-nav .link-wrap {
    padding: 30px 20px;
    justify-content: center;
    border-left: solid var(--main-bg-color);
    border-top: solid var(--main-bg-color);
    border-right: solid var(--main-bg-color);
  }

  .header-main .header-nav .link-wrap .link-item {
    width: 100%;
    background: #3332;
    padding: 10px 0;
  }

  .header-main .header-nav .link-wrap a {
    color: var(--main-bg-color);
    width: 100%;
  }

  .header-main .contact-box {
    max-width: 100%;
    height: 80px;
  }

  .sp-menu.hide-pc {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 7px;
    width: 40px;
    min-width: 40px;
    height: 40px;
    background-color: #006fbb;
    transition: 0.5s ease;
  }

  .sp-menu span {
    display: block;
    width: 50%;
    height: 2px;
    background-color: #fff;
    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: -2px;
  }
}

@media screen and (max-width: 576px) {
  .header-main .header-nav .link-wrap {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .h1_logo {
    width: fit-content;
  }

  .h1_logo img {
    max-width: 250px;
  }
}

@media screen and (max-width: 375px) {
  .h1_logo img {
    max-width: 200px;
  }
}
@media screen and (max-width: 1400px) {
.header-main .nav-box {
  gap: 25px;
}}

@media screen and (min-width: 1099px) {
.h1_logo img {
  width: 120%;
}}