@charset "UTF-8";

.re-header {
  position: relative;
  background-color: #fff;
  width: 100%;
  height: 150px;
  z-index: 10000;
}

.re-header .header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 80px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 50px;
}
.re-header .header-top .logo {
  display: flex;
  align-items: center;
  width: 360px;
  white-space: nowrap;
}
.re-header .header-top .logo img {
  width: 200px;
}
.re-header .header-top .logo p {
  margin-left: 15px;
  font-size: 12px;
  line-height: 1.5;
  text-align: left;
  color: #888;
}
.re-header .header-top .menu {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: calc(100% - 360px);
}
.re-header .header-top .menu ul {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  width: calc(100% - 200px);
  padding-right: 20px;
  font-size: 14px;
  line-height: 1;
}
.re-header .header-top .menu ul a {
  display: block;
  padding: 0 15px;
  text-decoration: none;
  color: #555;
}
.re-header .header-top .menu ul a:hover {
  text-decoration: underline;
  color: #80b419;
}
.re-header .header-top .menu ul li {
  border-left: 1px solid #ccc;
  margin: 2px 0;
}
.re-header .header-top .menu ul li:first-child {
  border: none;
}
.re-header .header-top .menu .info {
  width: 200px;
}
.re-header .header-top .menu .info a {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid #80b419;
  border-radius: 5px;
  background-color: #80b419;
  width: 200px;
  height: 50px;
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
  color: #fff;
}
.re-header .header-top .menu .info a:hover {
  background-color: #fff;
  color: #80b419;
}

.re-header .header-menu {
  position: relative;
  display: block;
  border-top: 2px solid #80b419;
  border-bottom: 2px solid #80b419;
  background-color: #80b419;
  width: 100%;
  height: 70px;
  -webkit-transition: 0.2s linear;
  transition: 0.2s linear;
}
.re-header .header-menu ul {
  display: flex;
  width: 100%;
  height: 66px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 50px;
}
.re-header .header-menu ul li {
  position: relative;
  background-color: #fff;
  width: 100%;
  height: 66px;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.3;
  text-align: center;
}
.re-header .header-menu ul li:before {
  content: "";
  position: absolute;
  top: 13px;
  right: 0;
  display: block;
  background-color: #ddd;
  width: 1px;
  height: 40px;
}
.re-header .header-menu ul li:last-of-type:before {
  display: none;
}
.re-header .header-menu a {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 0;
  background-color: #fff;
  width: 100%;
  height: 66px;
  padding: 5px 10px;
  text-decoration: none;
  color: #333;
}
.re-header .header-menu li.active:before {
  display: none;
}
.re-header .header-menu li.active a {
  background-color: #e3eecc;
  color: #80b419;
}
.re-header .header-menu li.navi a {
  color: #80b419;
}
.re-header .header-menu li.navi a {
  background: url(/img/renew/ico_blank_g.png) 97% center no-repeat;
  background-size: 20px;
  padding-right: 30px;
}
.re-header .header-menu a:hover {
  background-color: #80b419 !important;
  color: #fff !important;
}
.re-header .header-menu li.navi a:hover {
  background-image: url(/img/renew/ico_blank.png);
  background-color: #fd8e26 !important;
  color: #fff !important;
}
.re-header .header-menu li.logo {
  display: none;
}
.re-header .header-menu li.home {
  display: block;
}

.re-header .header-menu.active {
  position: fixed;
  top: -70px;
  left: 0;
  height: 50px;
}
.re-header .header-menu.active.hide {
  top: -70px;
}
.re-header .header-menu.active.hide.view {
  top: 0;
}
.re-header .header-menu.active a {
  height: 46px;
  padding: 4px 5px;
}
.re-header .header-menu.active ul {
  height: 46px;
}
.re-header .header-menu.active ul li {
  height: 46px;
  font-size: 14px;
}
.re-header .header-menu.active ul li:before {
  top: 8px;
  height: 30px;
}
.re-header .header-menu.active ul li.logo {
  display: block;
}
.re-header .header-menu.active ul li.logo a {
  background-color: #fff !important;
}
.re-header .header-menu.active ul li.logo img {
  width: 120px;
}
.re-header .header-menu.active ul li.home {
  display: none;
}
.re-header .header-menu.active ul li.navi a {
  background-image: url(/img/renew/ico_blank_g.png);
  background-size: 16px;
  padding-right: 24px;
}
.re-header .header-menu.active ul li.navi a:hover {
  background-image: url(/img/renew/ico_blank.png);
}




@media screen and (max-width: 1130px) {
  .re-header .header-top .logo {
    width: 320px;
  }
  .re-header .header-top .logo img {
    width: 180px;
  }
  .re-header .header-top .logo p {
    margin-left: 10px;
    font-size: 10px;
  }
  .re-header .header-top .menu {
    width: calc(100% - 320px);
  }
  .re-header .header-top .menu ul {
    width: calc(100% - 170px);
    padding-right: 5px;
  }
  .re-header .header-top .menu ul a {
    padding: 0 10px;
  }
  .re-header .header-top .menu .info {
    width: 170px;
  }
  .re-header .header-top .menu .info a {
    width: 170px;
    font-size: 14px;
  }
  .re-header .header-top .menu ul {
    font-size: 12px;
  }

  .re-header .header-menu ul li {
    font-size: 14px;
  }
  .re-header .header-menu ul li.navi br {
    display: none;
  }

  .re-header .header-menu.active ul li {
    font-size: 12px;
  }
  .re-header .header-menu.active ul li.navi a {
    background-image: url(/img/renew/ico_blank_g.png);
    background-size: 12px;
    padding-right: 18px;
  }
  .re-header .header-menu.active ul li.navi a:hover {
    background-image: url(/img/renew/ico_blank.png);
  }
}




@media screen and (max-width: 768px) {
  body {
    min-width: 375px;
  }

  .re-header {
    position: fixed;
    top: 0;
    right: 0;
    height: auto;
    -webkit-transition: 0.2s linear;
    transition: 0.2s linear;
  }

  .re-header .header-top {
    position: relative;
    border-bottom: 2px solid #80b419;
    background-color: #fff;
    width: 100%;
    height: 52px;
    padding: 0 0 0 20px;
  }
  .re-header .header-top .logo {
    width: 260px;
  }
  .re-header .header-top .logo img {
    width: 120px;
  }
  .re-header .header-top .logo p {
    margin-left: 10px;
    font-size: 10px;
    line-height: 1.4;
  }
  .re-header .header-top #menu-open {
    position: relative;
    background-color: #80b419;
    width: 50px;
    height: 50px;
  }
  .re-header .header-top #menu-open:before {
    content: "";
    display: block;
    position: absolute;
    top: 28%;
    left: 50%;
    background: #fff;
    width: 30px;
    height: 4px;
    margin: -2px 0 0 -15px;
    -webkit-transition: 0.1s linear;
    transition: 0.1s linear;
  }
  .re-header .header-top #menu-open:after {
    content: "";
    display: block;
    position: absolute;
    top: 72%;
    left: 50%;
    background: #fff;
    width: 30px;
    height: 4px;
    margin: -2px 0 0 -15px;
    -webkit-transition: 0.1s linear;
    transition: 0.1s linear;
  }
  .re-header .header-top #menu-open span {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    background: #fff;
    width: 30px;
    height: 4px;
    margin: -2px 0 0 -15px;
  }
  .re-header .header-top #menu-open.active:before {
    top: 50%;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  .re-header .header-top #menu-open.active:after {
    top: 50%;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  .re-header .header-top #menu-open.active span {
    display: none;
  }

  .re-header .sp-menu {
    position: absolute;
    top: 50px;
    right: -100%;
    background-color: #80b419;
    width: calc(100% - 40px);
    height: calc(100vh - 50px);
    padding: 5px 20px 20px 20px;
    font-size: 16px;
    text-align: left;
    color: #fff;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    -webkit-transition: 0.2s linear;
    transition: 0.2s linear;
  }
  .re-header .sp-menu.active {
    right: 0;
  }
  .re-header .sp-menu a {
    text-decoration: none;
    color: #fff;
  }
  .re-header .menu-main a,
  .re-header .menu-main dt {
    position: relative;
    display: block;
    font-weight: bold;
    line-height: 50px;
  }
  .re-header .menu-main a:before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width:0;
    height:0;
    border-style:solid;
    border-width: 5px 0 5px 6px;
    border-color: transparent transparent transparent #FFFFFF;
    margin-top: -5px;
  }
  .re-header .menu-main a span {
    font-size: 12px;
  }
  .re-header .menu-main li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  }
  .re-header .menu-main dt:before,
  .re-header .menu-main dt:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    display: block;
    background-color: #fff;
    width: 12px;
    height: 2px;
    margin-top: -1px;
  }
  .re-header .menu-main dt:after {
    content: "";
    transform: rotate(90deg);
  }
  .re-header .menu-main dt.active:after {
    transform: rotate(0deg);
  }
  .re-header .menu-main dd {
    display: none;
    padding-bottom: 15px;
  }
  .re-header .menu-main select {
    border-radius: 5px;
    background: #fff url(/img/renew/ico_select.png) right center no-repeat;
    background-size: 20px;
    width: 100%;
    height: 40px;
    margin-top: 4px;
    padding: 5px 25px 5px 15px;
    font-size: 16px;
    vertical-align: middle;
    color: #333;
  }
  .re-header .menu-main select:disabled {
    background-color: #eee;
    color: #bbb;
    opacity: 1;
  }
  .re-header .menu-main button {
    border-radius: 5px;
    background: linear-gradient(to bottom,  #ffcc33 0%,#ee6600 100%);
    width: 100%;
    height: 50px;
    margin-top: 8px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    color: #fff;
  }
  .re-header .menu-main button span {
    background: url(/img/renew/ico_search.png) right center no-repeat;
    background-size: 20px;
    padding-right: 26px;
    line-height: 20px;
  }
  .re-header .menu-main button:disabled {
    background: #ccc !important;
  }
  .re-header .menu-sub {
    margin-top: 20px;
    font-size: 14px;
    line-height: 1;
  }
  .re-header .menu-sub a {
    display: block;
    width: 100%;
    padding: 7px 0;
  }
  .re-header .info {
    margin-top: 15px;
  }
  .re-header .info a {
    display: block;
    border-radius: 5px;
    background-color: #fff;
    width: 100%;
    height: 50px;
    font-size: 16px;
    font-weight: bold;
    line-height: 50px;
    text-align: center;
    color: #80b419;
  }
  .re-header #menu-close {
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    margin-top: 25px;
    padding: 25px 0 80px 0;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    line-height: 1;
  }
  .re-header #menu-close span {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .re-header #menu-close span:before {
    content: "";
    display: block;
    border: 1px solid #fff;
    border-radius: 4px;
    background: url(/img/renew/ico_close.png) center center no-repeat;
    background-size: 18px;
    width: 30px;
    height: 30px;
    margin-right: 10px;
  }
  #bg-close {
    display: none;
    position: fixed;
    background-color: rgba(255, 255, 255, 0.5);
    width: 100%;
    height: 100vh;
    z-index: 9999;
    -webkit-transition: 0.2s linear;
    transition: 0.2s linear;
  }
  #bg-close.active {
    display: block;
  }

  #re-header.view,
  #re-header.view.hide {
    margin-top: 0;
  }
  #re-header.hide {
    margin-top: -75px;
  }
}