@charset "utf-8";

header {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 15;
}

header #head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 40px);
  max-width: 1440px;
  margin: 0 auto;
  padding: 25px 0;
  transition:all 0.3s;
}
header.fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: auto;
  box-shadow: rgb(0 0 0 / 12%) 2px 2px 6px 3px;
  z-index: 15;
}
header.fixed #head {
  padding: 10px 0;
}
header #head .head_top {
  width: 27.5%;
  max-width: 368px;
  min-width: 158px;
}

header #head .page_logo {
  text-align: center;
  display: block;
  width:100%;
  /*padding: 20px 10px;*/
}
header #head .page_logo a {
  display: block;
}
header #head nav {
  display: flex;
  align-items: center;
  flex-wrap:wrap;
  width:70%;
  max-width:850px;
}
header #head nav #gnav {
  display: flex;
  align-items: center;
  justify-content:space-between;
  flex-wrap: wrap;
  gap:0 15px;
  width:100%;
}

header #head nav ul#gnav li {
  display:flex;
  text-align: center;
}
header #head nav ul#gnav li.nav_item a,header #head nav ul#gnav li.navpare > a {
  color: #000;
  padding: 0 0 10px;
  transition: all 0.3s;
}
header #head nav ul#gnav li.nav_item a:hover,
header #head nav ul#gnav li.nav_item.np > a {
  color: #000;
}
header #head nav ul#gnav li a span {
  font-size:15px;
  display:inline-block;
}
header #head nav ul#gnav li.nav_item a span {
  font-size:15px;
  display:inline-block;
  padding:7px 0;
  position:relative;
}

header #head nav ul#gnav li.nav_item a span:after {
  content: "";
  display: block;
  width: 0;
  height: 3px;
  margin: 0 auto;
  background-color: #ca5142;
  border-radius:9999px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  transition: all 0.3s;
}
header #head nav ul#gnav li > a:hover span:after,
header #head nav ul#gnav li.np > a span:after {
  width: 30px;
}

/*header #head nav ul#gnav li.navpare > a:hover span:after {
  width:0;
}*/
header #head nav ul#gnav li.navpare {
  position: relative;
}

header #head nav ul#gnav li.navpare > a span {
  padding:7px 15px 7px 0;
  padding-right:15px;
  position: relative;
}
header #head nav ul#gnav li.navpare > a span:after {
  content:"";
  display:block;
  width:12px;
  height:8px;
  background:url(../imgs/common/nav_arrow.svg) 0 0 no-repeat;
  background-size:contain;
  position:absolute;
  right:0;
  top:50%;
  transform: translateY(-50%);
  transition: all 0.4s;
}
header #head nav ul#gnav li.navpare:hover > a span:after {
  transform: translateY(-50%) rotate(180deg);
}

header #head nav ul#gnav li.navpare .subnav {
  visibility: hidden;
  opacity: 0;
  display: flex;
  flex-direction:column;
  width: 200px;
  height:150px;
  padding: 10px 20px;
  background-color:#CA5142;
  border-radius:20px;
  position: absolute;
  top: 35px;
  left: 80%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  z-index: 2;
  transition: all 0.7s;
}
header #head nav ul#gnav li.navpare:hover .subnav{
  visibility: visible;
  opacity: 1;
}



header #head nav ul#gnav li.navpare .subnav li {
  padding: 0 0;
}
header #head nav ul#gnav li.navpare .subnav li:not(:last-child) {
  border-bottom:1px solid #fff;
}
header #head nav ul#gnav li.navpare .subnav li a {
  color:#fff;
  font-weight:400;
  padding: 7px 0;
  transition:all 0.5s;
}
header #head nav ul#gnav li.navpare .subnav li a:hover {
  color:#dd7366;
}

header #head_btm {
  display: flex;
  align-items:center;
  justify-content:flex-end;
  gap:20px;
  width:100%;
}
header #head .btn.header_consul {
  padding:10px 20px;
}
header #head .header_sns {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 150px;
}
header #head  .header_sns a {
  max-width:40px;
  transition:all 0.3s;
}
header #head  .header_sns a:hover {
  opacity:0.8;
}

header #head a#menu_btn,
header #head a#menu_btn span {
  display: inline-block;
  transition: all 0.4s;
}

header #head a#menu_btn {
  display: none;
  width: 49px;
  height: 49px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}

header #head a#menu_btn span {
  width: 40px;
  height: 2px;
  margin: 0 auto;
  border-radius: 10px;
  background-color: #ca5142;
  position: absolute;
  left: 0;
  right: 0;
}

header #head a#menu_btn span:nth-of-type(1) {
  top: 15px;
}

header #head a#menu_btn span:nth-of-type(2) {
  top: 24px;
}

header #head a#menu_btn span:nth-of-type(3) {
  top: 32px;
}

header.fixed #head a#menu_btn {
  /*background-color: rgba(0, 0, 0, 0.5);*/
}

header.active #head a#menu_btn.active {
  background-color: transparent;
  opacity: 1;
}

header #head a#menu_btn.active span {
  /*background-color: #fff;*/
  background-color:#ca5142;
}

header #head a#menu_btn.active span:nth-of-type(1) {
  transform: translateY(9px) rotate(-315deg);
}

header #head a#menu_btn.active span:nth-of-type(2) {
  opacity: 0;
}

header #head a#menu_btn.active span:nth-of-type(3) {
  transform: translateY(-8px) rotate(315deg);
}

header.fixed #head a#menu_btn {
  /*background-color: rgba(0, 0, 0, 0.5);*/
}
header.fixed #head a#menu_btn span,
header.active #head a#menu_btn span {
  /*background-color: #fff;*/
}


@media screen and (max-width: 1440px) {
  header #head {
    width: 100%;
    padding: 15px 20px;
  }
  header.fixed #head {
    padding: 5px 20px;
  }
}


@media screen and (max-width: 1260px) {
header #head_btm {
    width:auto;
}  
  
  
}


@media screen and (max-width: 980px) {
  /* -------------------------------------
header
------------------------------------- */
header #head,header.fixed #head {
  /*padding:10px 0 10px;*/
}
header #head .head_top {
    width: 100%;
    max-width: 100%;
    position:relative;
    z-index:3;
}
  header #head .page_logo {
    width: 30%;
    max-width: 394px;
    min-width: 200px;
    padding:0;  
  }
  header #head a#menu_btn {
    display: block;
  }
  header #head nav {
    display: none;
    height: 100vh;
    width: 100%;
    max-width:100%;
    /*background-color: #ca5142;*/
    background-color: #fff;
    position: absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
    /*color: #fff;*/
  }
  header.active #head nav {
    display:flex;
    align-items:flex-start;
    justify-content:center;
    padding-top:70px;
  }
  header.active #head nav .sclblk {
    height:calc(100svh - 70px);
    overflow-y:auto;
  }
  header.active #head nav #gnav {
    flex-direction:column;
    width:90%;
    max-width:300px;
    gap:0;
  }
  header.active #head nav ul#gnav li.nav_item {
    text-align:left;
    display:block;
    width:100%;
    padding: 0 30px;
    border-bottom:1px solid #ca5142;
  }
  header.active #head nav ul#gnav li.nav_item a {
    /*color: #fff;*/
    display:block;
    padding:10px;
  }
  header.active #head nav ul#gnav li.nav_item a span:after {
    display: none;
  }
  
  header.active #head nav ul#gnav li.navpare {
    color:#000;
    text-align:left;
    flex-direction:column;
    width:100%;
    padding:10px 30px;
    border-bottom:1px solid #ca5142;
  }
  header.active #head nav ul#gnav li.navpare > a {
    padding:0 10px;
  }
  header.active #head nav ul#gnav li.navpare > a span:after {
    display:none;
  }
  header.active #head nav ul#gnav li.navpare .subnav {
    visibility: visible;
    opacity:1;
    width: 100%;
    height: auto;
    padding-bottom:0;
    background-color: transparent;
    border-radius: 0;
    position: static;
    top: 35px;
    left: 80%;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
}
header.active #head nav ul#gnav li.navpare .subnav li:not(:last-child) {
    border-bottom:none;
}
header #head nav ul#gnav li.navpare .subnav li {
  margin-bottom:5px;
}
header #head nav ul#gnav li.navpare .subnav li a {
    color:#000;
    padding: 10px 10px 10px 20px;
    position:relative;
}
header #head nav ul#gnav li.navpare .subnav li a:before {
  content:"";
  display:block;
  width:10px;
  height:2px;
  border-radius:9999px;
  background-color:#ca5142;
  position:absolute;
  left:0;
  top:50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}
header #head nav ul#gnav li.navpare .subnav li a:hover {
    color: #000;
}
header #head nav ul#gnav li#head_btm {
    flex-direction:column;
    padding-top:15px;
}


}



@media screen and (max-width: 880px) {

}


@media screen and (max-width: 768px) {
  

  
}


@media screen and (max-width: 640px) {
  header #head nav .menu_ttl .jp {
    font-size: 12px;
    text-align: left;
  }

  /* header #head nav ul#gnav {
    max-width: 350px;
    max-height: 400px;
  } */
  header #head nav ul#gnav li {
    /*margin-bottom: 12px;*/
    /*padding: 0 30px;*/
  }
  header #head nav ul#gnav li a span.en {
    font-size: 18px;
  }
  header #head nav ul#gnav li a span.jp {
    font-size: 12px;
  }
  header #head nav ul#gnav li.navpare .subnav li a {
    padding: 0 0 0 20px;
  }
  header #head nav ul#gnav li.navpare .subnav li a span.jp {
    font-size: 12px;
  }
}


@media screen and (max-width: 480px) {
  header #head nav ul#gnav {
    width: 95%;
    max-width: 380px;
  }
  header #head nav ul#gnav li {
    padding: 0 15px;
  }

  header.active #head nav ul#gnav li.navpare {
    padding:10px 15px;
  }


}
@media screen and (max-width: 400px) {

}
@media screen and (max-width: 375px) {

  }
}
@media screen and (max-width: 350px) {

}

@media screen and (max-width: 320px) {
  header #head nav ul#gnav {
    top: 20%;
  }
}


@media screen and (min-width: 981px) {
  header #head nav {
    display: flex !important;
  }
}
