header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 2;
}
header.active {
  background: #fff;
  z-index: 999999999;
}
header.active .header-nav-link.color {
  color: #191919;
}
header.active .header-drop-menu-link {
  color: #191919;
}
header.active .header-drop-menu-link.color {
  color: #191919;
}
header.active .header-drop-menu-link.color::before {
  background: #191919;
}
header.active .header-logo-b {
  display: block;
}
header.active .header-logo-b.off {
  display: block;
}
header.active .header-logo-w {
  display: none;
}
header.active .header-logo-w.on {
  display: none;
}
header.active .header-line-icon.color .black {
  display: block;
}
header.active .header-line-icon.color .white {
  display: none;
}
@media (hover: hover) {
  header.active .header-nav-link.color:hover .text-line::after {
    background: #191919;
  }
  header.active .header-nav-list:hover .header-drop-menu {
    background: #fff;
    padding-left: 10px;
    padding-bottom: 10px;
  }
}
header .header-inner {
  position: relative;
  padding: 20px 0;
}
header .header-logo {
  position: absolute;
  width: 26px;
  left: 55px;
}
header .header-logo-b.off {
  display: none;
}
header .header-logo-w {
  display: none;
}
header .header-logo-w.on {
  display: block;
}
header .header-nav {
  max-width: 840px;
  width: 100%;
  margin: 0 auto;
}
header .header-nav-ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
header .header-nav-list {
  position: relative;
}
header .header-nav-list.line {
  width: 25px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
header .header-line-icon {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
header .header-line-icon.color .black {
  display: none;
}
header .header-line-icon.color .white {
  display: block;
}
header .header-line-icon .black {
  display: block;
}
header .header-line-icon .white {
  display: none;
}
header .header-nav-link {
  font-size: 16px;
  letter-spacing: 0.1em;
  line-height: 1.875;
  font-weight: 400;
}
header .header-nav-link.color {
  color: #fafcfc;
}
header .header-nav-link.color .text-line::after {
  background: #fafcfc;
}
header .header-nav-link.color.now {
  color: #b3b3b3;
}
header .header-nav-link.now {
  color: #808080;
}
header .header-nav-link .text-line {
  position: relative;
}
header .header-nav-link .text-line::after {
  position: absolute;
  left: 0;
  content: "";
  width: 100%;
  height: 1px;
  background: #191919;
  bottom: -4px;
  -webkit-transform: scale(0, 1);
          transform: scale(0, 1);
  -webkit-transform-origin: left top;
          transform-origin: left top;
  -webkit-transition: -webkit-transform 0.3s;
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s;
}
@media (hover: hover) {
  header .header-nav-link:hover .text-line::after {
    -webkit-transform: scale(1, 1);
            transform: scale(1, 1);
  }
}
header .header-drop-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin: 0;
  padding: 0;
  width: 330px;
  padding-left: 10px;
  height: 0;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
header .header-drop-menu-link {
  font-size: 14px;
  letter-spacing: 0.12em;
  line-height: 2.2857142857;
}
header .header-drop-menu-link::before {
  content: "";
  display: inline-block;
  background: #191919;
  height: 1px;
  width: 3px;
  vertical-align: middle;
  margin-right: 3px;
}
header .header-drop-menu-link.color {
  color: #fff;
}
header .header-drop-menu-link.color::before {
  background: #fff;
}
@media (hover: hover) {
  header .header-nav-list:hover .header-drop-menu {
    visibility: inherit;
    opacity: 1;
    height: auto;
    padding-top: 10px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
  }
}
@media (max-width: 1024px) {
  header .header-nav {
    max-width: 780px;
  }
}
@media (max-width: 980px) {
  header.active .header-logo-b {
    display: none;
  }
  header.active .header-logo-b.off {
    display: none;
  }
  header.active .header-logo-w {
    display: none;
  }
  header.active .header-logo-w.on {
    display: none;
  }
  header.active .header-logo .spv {
    display: block;
  }
  header.active .header-logo .spv.color svg path {
    fill: #B4976B !important;
  }
  header.active .sp_header_tel_img_w {
    display: none;
  }
  header.active .sp_header_tel_img_w.on {
    display: none;
  }
  header.active .sp_header_tel_img_b {
    display: block;
  }
  header.active .sp_header_tel_img_b.off {
    display: block;
  }
  header.active .toggle.color span:nth-child(1) {
    background: #191919;
  }
  header.active .toggle.color span:nth-child(2) {
    background: #191919;
  }
  header .header-logo {
    width: 33px;
    position: static;
    left: 20px;
  }
  header .header-logo .spv {
    display: block;
  }
  header .header-logo .spv.color svg path {
    fill: #fff !important;
  }
  header .header-inner {
    padding: 12px 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
  header .header-nav {
    max-width: 740px;
  }
  header .header-nav-link {
    font-size: 15;
    letter-spacing: 0.05em;
  }
  header .header-right-box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}
@media (max-width: 850px) {
  header .header-nav {
    max-width: 700px;
  }
  header .header-nav-link {
    font-size: 14px;
  }
}
@media (max-width: 767px) {
  header .header-logo .pcv {
    display: none;
  }
  header .header-logo .spv {
    display: block;
  }
  header .header-logo .spv.color svg path {
    fill: #fff !important;
  }
  header .header-nav {
    display: none;
  }
  header .tel-header {
    display: block;
    width: 100%;
    max-width: 144px;
    font-size: 11px;
    letter-spacing: 0.15em;
    font-weight: 300;
    margin-right: 15px;
  }
  header .tel-header.color {
    color: #fff;
  }
  header .sp_header_tel_img_w {
    display: none;
  }
  header .sp_header_tel_img_w.on {
    display: block;
  }
  header .sp_header_tel_img_b.off {
    display: none;
  }
  header .toggle {
    width: 33px;
    height: 30px;
    position: relative;
    margin-left: auto;
    cursor: pointer;
  }
  header .toggle.color span:nth-child(1) {
    background: #fff;
  }
  header .toggle.color span:nth-child(2) {
    background: #fff;
  }
  header .toggle span:nth-child(1) {
    width: 33px;
    background: #191919;
    height: 1px;
    display: block;
    position: absolute;
    top: 10px;
  }
  header .toggle span:nth-child(2) {
    width: 25px;
    background: #191919;
    height: 1px;
    display: block;
    position: absolute;
    top: 18px;
  }
}

.sp-menu {
  background: #333838;
  height: 0;
  opacity: 0;
  overflow-y: auto;
  visibility: hidden;
  -webkit-transition: opacity 0.4s ease, visibility 0.4s ease;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.sp-menu.active {
  position: fixed;
  width: 100%;
  padding: 24px 40px 50px;
  padding-right: 34px;
  height: 100vh;
  opacity: 1;
  visibility: visible;
  z-index: 999999999;
}
.sp-menu.active .open-toggle {
  width: 33px;
  height: 50px;
  cursor: pointer;
  margin-left: auto;
  margin-bottom: 85px;
}
.sp-menu.active .open-toggle span:nth-child(1) {
  width: 33px;
  background: #fff;
  height: 1px;
  display: block;
  position: absolute;
  top: 0px;
  right: -12px;
  -webkit-transform: translateY(5px) rotate(-13deg);
          transform: translateY(5px) rotate(-13deg);
}
.sp-menu.active .open-toggle span:nth-child(2) {
  width: 33px;
  background: #fff;
  height: 1px;
  display: block;
  position: absolute;
  top: 10px;
  -webkit-transform: translateY(-5px) rotate(13deg);
          transform: translateY(-5px) rotate(13deg);
  right: -12px;
}
.sp-menu.active .sp-menu-logo {
  display: block;
}
.sp-menu .sp-menu-inner {
  position: relative;
}
.sp-menu .sp-menu-logo {
  position: absolute;
  display: none;
  width: 44px;
  right: 30px;
  top: 60px;
}
.sp-menu .sp-menu-ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-bottom: 36px;
}
.sp-menu .sp-menu-list {
  width: 100%;
}
.sp-menu .sp-menu-list .sp-menu-link {
  width: 48%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 46px;
  border-bottom: 1px solid #fff;
  font-size: 15px;
  letter-spacing: 0.1em;
  font-weight: 400;
  color: #fff;
}
.sp-menu .sp-menu-list:first-child .sp-menu-link {
  border-top: 1px solid #fff;
}
.sp-menu .sp-menu-list:nth-child(5) .sp-menu-link {
  border-top: 1px solid #fff;
}
.sp-menu .sp-menu-list:nth-child(5) .sp-menu-link, .sp-menu .sp-menu-list:nth-child(7) .sp-menu-link, .sp-menu .sp-menu-list:nth-child(9) .sp-menu-link, .sp-menu .sp-menu-list:nth-child(11) .sp-menu-link {
  padding-left: 7px;
  position: relative;
}
.sp-menu .sp-menu-list:nth-child(5) .sp-menu-link::before, .sp-menu .sp-menu-list:nth-child(7) .sp-menu-link::before, .sp-menu .sp-menu-list:nth-child(9) .sp-menu-link::before, .sp-menu .sp-menu-list:nth-child(11) .sp-menu-link::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 32px;
  background: #fff;
  position: absolute;
  left: -3px;
  top: 0;
  bottom: 0;
  margin: auto;
}
.sp-menu .sp-menu-list:nth-child(n+4) {
  width: 50%;
}
.sp-menu .sp-menu-list:nth-child(n+4) .sp-menu-link {
  width: 95%;
}
.sp-menu .sp-menu-search {
  border: 1px solid #191919;
  background-color: #fff;
  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;
  height: 45px;
  width: 100%;
  font-size: 16px;
  letter-spacing: 0.15em;
  color: #191919;
  margin-bottom: 20px;
}
.sp-menu .sp-menu-search .search-btn {
  width: 20px;
  height: 20px;
  margin-left: 13px;
}
.sp-menu .sp-menu-contact-title {
  font-size: 12px;
  letter-spacing: 0.05em;
  line-height: 3.3333333333;
  font-weight: 300;
  color: #fff;
}
.sp-menu .sp-menu-tel-btn {
  background: #333838;
  border: 1px solid #fff;
  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;
  height: 45px;
  width: 100%;
  margin-bottom: 45px;
}
.sp-menu .sp-menu-tel-icon {
  width: 180px;
}
.sp-menu .sp-menu-group-link {
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.1em;
  line-height: 1.7;
  display: block;
  margin-bottom: 7px;
  color: #fff;
}
.sp-menu .sp-menu-group-link::after {
  content: "";
  display: inline-block;
  background: url(../img/header/sp-menu-search-btn.png);
  background-repeat: no-repeat;
  background-size: 20px 20px;
  background-position: center;
  width: 20px;
  height: 20px;
  margin-left: 5px;
  margin-bottom: -4px;
}
.sp-menu .sp-menu-site-faq-link {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 15px;
  margin-top: 15px;
  color: #fff;
}
.sp-menu .sp-menu-site-link-ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-bottom: 20px;
}
.sp-menu .sp-menu-site-link {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: #fff;
}
.sp-menu .sp-menu-sns-ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-top: 30px;
}
.sp-menu .sp-menu-sns-list {
  width: 26px;
}
.sp-menu .sp-menu-sns-list:nth-child(n+2) {
  margin-left: 20px;
}
.sp-menu .sp-menu-sns-link {
  display: block;
}
@media (max-width: 767px) {
  .sp-menu.active {
    padding: 24px 40px 120px;
    overflow-y: scroll;
    scroll-behavior: smooth;
  }
}