@charset "utf-8";
.header {
    background: linear-gradient( to bottom, rgba(255, 255, 255, 0.9)0%,rgba(255, 255, 255, 0.9)60%, rgba(34, 139, 103, 0.9)60%, rgba(34, 139, 103, 0.9)100%);
    left: 0;
    font-family: 'Noto Sans JP', sans-serif;
    /* overflow: hidden; */
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 9999;
}

.header .header-inner {
  align-items: center;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1140px;
  padding: 15px 0;
}

.header-inner .header-logo {
    transition: 0.3s;
}

.header-inner .header-logo:hover {
    transition: 0.3s;
    opacity: 0.5;
}

.header nav,.header .g-nav {
  margin: auto;
  max-width: 1140px;
  width: 100%;
}

.header .nav-list {
  display: flex;
  flex-wrap: wrap;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 93%;
  justify-content: space-between;
  letter-spacing: 2px;
  list-style: none;
  margin-bottom: 0;
  padding: 0;
}

.header  .nav-list a:hover {
  opacity: 0.5;
}
.header .nav-list p {
    margin-bottom: 0;
}
.header .nav-list .home,
.header .nav-list .result,
.header .nav-list .company {
  width: 8%;
}

.header .nav-list .flow {
  width: 10%;
}

.header .nav-list .choice,
.header .nav-list .voice,
.header .nav-list .qa,
.header .nav-list .contact {
  width: 11%;
}

.header .nav-list .about {
  width: 18%;
}

.sp-ico {
  display: none;
}

p.sp-menu img {
    width: 130%;
}

.header  .nav-list a {
  border-bottom: 5px solid transparent;
  box-sizing: border-box;
  color: #fff;
  display: block;
  font-weight: bold;
  padding: 20px 0 20px 10px;
  position: relative;
  text-align: center;
  width: 100%;
  transition: 0.3s;
}

.header .nav-list a:hover {
  text-decoration: none;
}

.header .nav-list .contact a {
  padding-right: 10px;
}

.header .nav-list a::before {
    border-left: 1px dotted #fff;
    bottom: 0;
    content: "";
    height: 25px;
    left: 0;
    margin: auto;
    position: absolute;
    top: 0;
    width: 1px;
}

.header .nav-list .contact a::after {
    border-right: 1px dotted #fff;
    bottom: 0;
    content: "";
    height: 25px;
    right: 0;
    margin: auto;
    position: absolute;
    top: 0;
    width: 1px;
}

.has-sub {
    position: relative;
}

.has-sub a {
    display: block;
    z-index: 1;
}

.sub {
    overflow: hidden;
    position: absolute;
    left: 5px;
    top: 100%;
    width: 100%;
    min-height: 0;
    height: 0;
    z-index: 3;
    transition: min-height 0.5s;
}

.sub > div {
  background: rgba(34, 139, 103, 0.9);
}

.sub a {
    width: 100% !important;
}

.header .nav-list .sub a:hover {
    opacity: .5;
}

.sub.active {
    min-height: 180px;
}

.header .nav-list .sub a::before {
    display: none;
}

.header .header-tel {
  align-items: center;
  color: #574a3f;
  display: flex;
  flex-wrap: wrap;
  font-size: 140%;
  font-weight: bold;
  justify-content: flex-end;
  letter-spacing: 2px;
  max-width: 516px;
  position: relative;
  text-align: center;
  width: 50%;
}
.header-reserve {
  margin-bottom: 0;
}

.header .header-tel img {
  bottom: 1px;
  position: relative;
}

.header .header-inner .tel-item {
  margin: 0;
  margin-left: 10px;
  padding-top: 10px;
  width: calc(100% / 2 - 15px);
}

.header .header-inner .tel-item a {
  color: #333;
}

.header-right {
  font-family: 'Noto Sans JP', sans-serif;
  max-width: 210px;
  width: 20%;
}
.header .header-inner .tel-link {
  color: #fff;
  cursor: text;
  pointer-events: none;
}

.header .header-inner  .message {
  display: block;
  font-size: 65%;
  width: 100%;
}

.header .header-inner .tel-num {
    color: #ea7f00;
    font-family: 'Oswald', sans-serif;
    font-weight: normal;
    font-size: 125%;
    letter-spacing: 0.1em;
}

.header .header-inner .tel-item:first-child {
  margin-left: 0;
}

.header .header-inner .tel-link:hover {
  text-decoration: none;
}

span.tel-num::before {
  background-image: url(/system_panel/uploads/images/tel_icon.png);
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: 18px;
  content: "";
  display: inline-block;
  height: 30px;
  margin-right: 5px;
  position: relative;
  width: 20px;
}

.header .header-inner p {
  margin-bottom: 0;
}
@media screen and (max-width: 959px) {
  .header-right {
    display: none;
  }

  .header .g-nav {
    height: 100%;
    left: 0;
    margin: 0;
    position: absolute;
    top: 100%;
    width: 100%;
  }
  .header .nav-list {
    background-color: #298464;
    display: none;
  }
  
    .sub {
        position: relative;
        min-height: auto;
        height: auto;
    }

    .sub.active {
        min-height: auto;
    }

  .header .header-tel {
    bottom: 0;
    display: none;
    font-size: 90%;
    left: 0;
    max-width: none;
    position: fixed;
    right: 0;
    width: 100%;
  }

  .sp-ico {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-right: 10px;
    width: 100px;
  }
  
  p.sp-tel a {
    width: 50px;
}
  
  p.sp-tel img {
    width: 100%;
}

  .header .header-inner .sp-tel ,
  .header .header-inner .sp-menu {
    align-items: center;
    background-color: #fff;
    border: #574a3f;
    display: flex;
    height: 40px;
    justify-content: center;
    margin: 0;
    padding: 10px;
    text-align: center;
    width: 40px;
  }
  .header {
    background: none;
    overflow: visible;
  }
  .header .header-inner {
    justify-content: space-between;
    display: flex;
    align-items: baseline;
    padding: 10px;
  }
  .header .g-nav .nav-list.open {
    display: block;
  }
  .index-bg {
    padding-top: 76px;
  }

  .header .header-inner p:first-child {
    margin-bottom: 10px;
    max-width: 210px;
  }

  .header .header-inner p.sp-tel {
    margin-bottom: 0;
  }
  
  .header-inner img {
    width: 350%;
}
  
  .header .nav-list li,.header .nav-list div {
    width: 100% !important;
  }
  .header .nav-list a::before {
    display: none;
  }

  .header .nav-list a {
    border-bottom: 1px solid #fff;
    color: #fff;
    padding: 10px 0;
  }
  
  .header .nav-list .contact a::after {
    display: none;
}
  .header .header-inner .tel-item {
    margin: 0;
    max-width: none;
    width: calc(100% / 2);
  }

  .header .header-inner .tel-item:first-child {
    border-right: 1px solid #fff;
    box-sizing: border-box;
    margin: 0;
    max-width: none;
    width: calc(100% / 2);
  }
}

@media screen and (max-width: 640px) {
   .header-inner img {
    width: auto;
}
  .header {
   background:rgba(255, 255, 255, 0.9);
}
  
}
