header {
  border-bottom: 1px solid #6e6e6e;
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
  background-color: #fff;
  z-index: 9999999;
  height: 105px;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
header.fixed {
  height: 70px;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
header.fixed .header-contact {
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
header.fixed .header-flex {
  height: 70px;
}
header.fixed .header-link-list {
  margin-top: -36px;
}
header.fixed .sub-menu {
  top: 69px;
}
header .header-wrap {
  padding: 0 40px;
  width: 100%;
}
header .header-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 104px;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
header .header-logo {
  max-width: 260px;
  width: 100%;
  display: block;
}
header .header-contact {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  margin-right: -40px;
  gap: 2px;
  margin-bottom: 25px;
  opacity: 1;
  visibility: visible;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
header .header-link-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 30px;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
header .header-contact-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background-color: #e6e6e6;
  cursor: pointer;
  max-width: 200px;
  width: 100%;
  gap: 8px;
  padding: 6px 0;
  position: relative;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
header .header-contact-item:first-child {
  border-radius: 50px 0 0 50px;
}
header .header-contact-item::after {
  content: "";
  position: absolute;
  background-image: url(../img/header/arrow-b.png);
  background-repeat: no-repeat;
  background-size: cover;
  width: 8px;
  height: 12px;
  right: 10px;
}
header .header-contact-item:not(:nth-child(1)) {
  max-width: 170px;
}
header .header-contact-item:nth-child(3) {
  background-color: #fff000;
}
header .header-contact-item:nth-child(4) {
  background-color: #191919;
  color: #fff;
}
header .header-contact-item:nth-child(4)::after {
  background-image: url(../img/header/arrow-w.png);
}
header .header-con-icon {
  max-width: 18px;
  width: 100%;
}
header .header-con-text {
  font-size: 14px;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.04em;
}
header .header-link {
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
}
header .header-link > a, header .header-link > p {
  display: block;
  padding-bottom: 25px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  position: relative;
  line-height: 1;
  cursor: pointer;
}
header .header-link > a::before, header .header-link > p::before {
  content: "";
  position: absolute;
  background-color: #191919;
  width: 100%;
  height: 3px;
  left: 0;
  bottom: 0;
  opacity: 0;
}
header .header-link > a.active::before, header .header-link > p.active::before {
  opacity: 1;
}
header .header-link.child > a, header .header-link.child > p {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 5px;
}
header .header-link.child > a::after, header .header-link.child > p::after {
  content: "";
  display: block;
  background-image: url(../img/header/down-arrow.png);
  background-repeat: no-repeat;
  background-size: cover;
  width: 14px;
  height: 8px;
}
header .sub-menu {
  position: absolute;
  width: 100%;
  background: #fff;
  border-top: 1px solid #6e6e6e;
  border-bottom: 1px solid #6e6e6e;
  top: 104px;
  left: 0;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 40px;
  height: 78px;
}
header .sub-menu.is-active {
  opacity: 1;
  visibility: visible;
}
header .sub-menu-list {
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
  position: relative;
  padding-left: 12px;
}
header .sub-menu-list::before {
  content: "";
  position: absolute;
  background-color: #191919;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}
header .sub-menu-list a {
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
header .header-menu {
  display: none;
}
header .header-nav {
  display: none;
}

@media (hover: hover) {
  header .header-contact-item:hover {
    opacity: 0.7;
  }
  header .header-link > a:hover::before, header .header-link > p:hover::before {
    opacity: 1;
  }
  header .sub-menu-list a:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
  }
}
@media (max-width: 1300px) {
  header .header-wrap {
    padding: 0 20px;
  }
  header .header-link-list {
    gap: 20px;
  }
  header .header-contact {
    margin-right: -20px;
  }
}
@media (max-width: 1200px) {
  header.fixed .sub-menu {
    top: 69px;
  }
  header .header-logo {
    max-width: 208px;
  }
  header .header-link-list {
    gap: 15px;
  }
  header .header-link {
    font-size: 12px;
  }
  header .sub-menu {
    top: 102px;
  }
}
@media (max-width: 1000px) {
  header {
    height: 60px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  header .header-link-area {
    display: none;
  }
  header .header-logo {
    max-width: 180px;
  }
  header .header-flex {
    height: 60px;
  }
  header .header-menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 10px;
  }
  header .header-menu.open .header-menu-btn span {
    top: 0;
    bottom: 0;
    margin: auto;
  }
  header .header-menu.open .header-menu-btn span:nth-child(1) {
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
  }
  header .header-menu.open .header-menu-btn span:nth-child(2) {
    -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
  }
  header .header-menu-btn-text {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.02em;
  }
  header .header-menu-btn {
    width: 24px;
    height: 24px;
    position: relative;
    cursor: pointer;
  }
  header .header-menu-btn span {
    position: absolute;
    display: block;
    background-color: #191919;
    width: 100%;
    height: 2px;
    left: 0;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    top: 0;
    bottom: 0;
    margin: auto;
  }
  header .header-menu-btn span:nth-child(1) {
    top: 8px;
  }
  header .header-menu-btn span:nth-child(2) {
    bottom: 8px;
  }
  header .header-nav {
    display: block;
    position: fixed;
    top: 59px;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: scroll;
    background-color: #fff;
    z-index: 9999999;
    padding-bottom: 130px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    opacity: 0;
    visibility: hidden;
  }
  header .header-nav.is-active {
    opacity: 1;
    visibility: visible;
  }
  header .header-nav-area {
    padding-top: 10px;
    margin-bottom: 30px;
  }
  header .header-nav-item {
    border-bottom: 1px solid #b3b3b3;
    padding: 0 15px;
  }
  header .header-nav-item:nth-child(1) .header-nav-li {
    max-width: 188px;
    width: 100%;
  }
  header .header-nav-item:nth-child(2) .header-nav-li {
    max-width: 166px;
    width: 100%;
  }
  header .header-nav-ul {
    padding: 30px 0;
  }
  header .header-nav-li-ttl {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
    margin-bottom: 20px;
  }
  header .header-nav-li {
    line-height: 1;
    font-size: 14px;
    letter-spacing: 0.08em;
    padding-left: 20px;
    position: relative;
  }
  header .header-nav-li::after {
    content: "";
    position: absolute;
    background-image: url(../img/header/menu-arrow.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 6px;
    height: 12px;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
  }
  header .header-nav-li::before {
    content: "";
    position: absolute;
    background-color: #191919;
    border-radius: 50%;
    width: 4px;
    height: 4px;
    top: 0;
    bottom: 0;
    left: 10px;
    margin: auto;
  }
  header .header-nav-li:not(:last-child) {
    margin-bottom: 15px;
  }
  header .header-nav-item-link {
    display: block;
    width: 100%;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
    position: relative;
    padding: 28px 0;
  }
  header .header-nav-item-link::after {
    content: "";
    position: absolute;
    background-image: url(../img/header/menu-arrow.png);
    background-size: cover;
    background-repeat: no-repeat;
    width: 10px;
    height: 16px;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
  }
  header .header-nav-contact {
    padding: 0 15px;
  }
  header .header-nav-flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 12px 0;
    margin-bottom: 45px;
  }
  header .header-nav-con-item {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 calc(50% - 3px);
            flex: 0 0 calc(50% - 3px);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 8px;
    border-radius: 4px;
    padding: 10px 18px;
    position: relative;
  }
  header .header-nav-con-item::after {
    content: "";
    position: absolute;
    background-image: url(../img/header/menu-arrow.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 6px;
    height: 12px;
    top: 0;
    bottom: 0;
    right: 8px;
    margin: auto;
  }
  header .header-nav-con-item:nth-child(1) {
    background-color: #fff000;
  }
  header .header-nav-con-item:nth-child(2) {
    background-color: #191919;
    color: #fff;
  }
  header .header-nav-con-item:nth-child(2)::after {
    -webkit-filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7500%) hue-rotate(144deg) brightness(106%) contrast(102%);
            filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7500%) hue-rotate(144deg) brightness(106%) contrast(102%);
  }
  header .header-nav-con-item:nth-child(3), header .header-nav-con-item:nth-child(4) {
    background-color: #fff;
    border: 1px solid #191919;
  }
  header .header-nav-con-item p {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
  }
  header .header-nav-con-icon {
    max-width: 20px;
    width: 100%;
  }
  header .header-nav-tel-item:not(:last-child) {
    margin-bottom: 25px;
  }
  header .header-nav-tel-text {
    font-size: 14px;
    letter-spacing: 0.05em;
    line-height: 1;
    font-weight: 500;
    margin-bottom: 6px;
  }
  header .header-nav-tel-link {
    font-size: 20px;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.05em;
    background-color: #919191;
    border-radius: 4px;
    padding: 0.5px 12.5px;
  }
}