@charset "UTF-8";

/* header-globals */
:root {
  --main-bg-color: #425FA2;
  --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: 100%;
  background-color: #fff;
  z-index: 10;
  height: 90px;
  top: 0;
  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;
  max-width: 1500px;
  margin: 0 auto;
  
  header .inner {
    max-width: 1500px;
  margin: 0 auto;
};
}

.header-main_sub .inner {
  max-width: 1500px;
  margin: 0 auto;
}

.h1_logo {
  display: flex;
  align-items: center;
  color: #000;
  font-size: 22px;
  width: 100%;
  max-width: 600px;
}

.h1_logo img {
  width: 100%;
  max-width: 380px;
}

.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: 16px;
  color: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.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: 15px;
}

.header-main .contact-box a.contact-tel {
  background-color: var(--main-bg-color);
  color: #fff;
  font-size: 16px;
  gap: 10px;
  height: fit-content;
  border-radius: 100vh;
}

.header-main_sub .contact-box a.contact-tel {
  font-size: 16px;
}

.header-main .contact-box a.contact-tel span {
  font-size: 16px;
}

.contact_btn-sp {
  display: none;
}

@media screen and (max-width: 1400px) {
  .header-main .contact-box {
    max-width: 170px;
  }

  .header-main .header-nav .link-wrap {
    gap: 30px;
  }

  .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: 20px;
  }

  .header-main .header-nav .link-wrap {
    /* gap: 20px; */
  }

  .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-top: 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;
    /* display: none; */
  }

  .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: var(--main-bg-color);
    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;
  }

  .h1_logo img {
    width: 200px;
  }

  .contact_btn-sp {
    display: flex;
    width: 100%;
    justify-content: flex-end;
    gap: 10px;
    margin-right: 20px;
  }

  .contact_btn-sp a {
    width: fit-content;
    display: flex;
  }

  .contact_btn-sp a img {
    width: 100%;
    max-width: 70px;
  }
}

@media screen and (max-width: 1000px) {
  .header__navi--box.flex {
    display: none;
    background: white;
    padding-top: var(--half-padding);
  }
  
  .header .sp-menu.sp span {
    width: 100%;
    height: 2px;
    display: block;
    background: #000;
    position: absolute;
    left: 0;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
  }
  
  .header .sp-menu.sp {
    height: 25px;
    width: 25px;
    margin: 0 3% 0 0;
    position: relative;
  }
  
  .header .sp-menu.sp span:nth-child(1) {
    top: 4px;
  }
  
  .header .sp-menu.sp span:nth-child(2) {
    top: 12px;
  }
  
  .header .sp-menu.sp span:nth-child(3) {
    bottom: 3px;
  }
  
  .header__navi--list {
    padding: 20px 3% 20px;
  }
  
  .header__navi--box {
    position: absolute;
    top: 60px;
    background: #fff;
    display: none;
    width: 100%;
  }
}

@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;
  }
}

@media screen and (max-width: 375px) {
  .h1_logo img {
    max-width: 3400px;
  }

  .contact_btn-sp {
    margin-right: 10px;
  }

  .contact_btn-sp a img {
    width: 100%;
    max-width: 50px;
  }

  .header-main {
    padding-left: 10px;
    padding-right: 10px;
  }
}

header .inner {
  max-width: 1500px;
  margin: 0 auto;
}