@charset "utf-8";
.header {
  border-top: 4px solid #54c408;
  left: 0;
  overflow: hidden;
  top: 0;
  width: 100%;
  z-index: 9999;
}

.header .header-inner {
  background-color: #fff;
  align-items: center;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 0 auto;
  padding-left: 30px;
}

.header a:hover {
    opacity: 0.5;
    text-decoration: none;
    transition: 0.2s;
}

.header a {
    transition: 0.2s;
}

.header .nav {
  margin: 0 0 0 auto;
  max-width: 930px;
  width: 100%;
}

.header .nav-list {
  display: flex;
  flex-wrap: wrap;
  font-family: "游ゴシック", YuGothic, "游ゴシック体","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ";
  justify-content: space-between;
  letter-spacing: 0.05em;
  list-style: none;
  margin-bottom: 0;
  padding: 0;
}

.header .nav-list p {
    font-weight: bold;
}

.sp-ico {
  display: none;
}

.header .nav .nav-list a {
  border-bottom: 1px solid #fff;
  box-sizing: border-box;
  color: #2d2d2d;
  display: block;
  font-weight: bold;
  padding: 20px 13px 17px 13px;
  position: relative;
  text-align: center;
  width: 100%;
}

.header nav ul.nav-list a:hover {
  text-decoration: 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 .logo img {
    max-width: 187px;
}

.header .contact-link img {
    max-width: 160px;
}

.header .header-tel img {
  bottom: 1px;
  margin-right: 10px;
  position: relative;
}
.header .header-inner .tel-item {
  background-color: #2d2d2d;
  color: #fff;
  margin: 0;
  margin-left: 30px;
  padding-top: 10px;
  width: calc(100% / 2 - 15px);
}

.contact {
  display: none;
}

.header .header-inner p {
  margin-bottom: 0;
}

@media screen and (max-width: 959px) {
  .header-right {
    display: none;
  }
  .header .nav-bg {
    background-color: transparent;
  }

.header .nav-inner {
  padding: 0;
  }

.text-center img {
  width: 100%;
}

  .header .nav {
    left: 0;
    margin: 0;
    position: absolute;
    top: 100%;
    width: 100%;
  }
  .header .nav-list {
    background-color: rgba(15, 82, 147, 0.8);
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 9999;
}

  .header .nav-list.open {
    display: block;
    align-items: stretch;
    text-align: center;
}

.header .nav-list.open a {
    background-color: rgba(80, 190, 7, 0.8);
    color: #fff;
    display: inline-block;
    padding: 0.6em;
    width: 100%;
}

.header .nav .nav-list .contact a:last-child {
    border-bottom: none;
}

.header .nav-list.open li {
    border-bottom: 1px solid #fff;
    width: 100%;
}

.header .nav-list.open li:last-child {
    border: none;
}
  
  .header .nav-list .contact {
    display: block;
}

.header .nav-list .contact a {
    background-color: rgba(237, 97, 3, 0.8);
}

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

.header .logo img {
    max-width: 40%;
}

  .sp-ico {
        align-items: center;
        display: flex;
        justify-content: space-between;
        margin-right: 0;
        margin-left: auto;
        width: 100px;
  }

  .header .header-inner .sp-tel ,
  .header .header-inner .sp-menu {
    align-items: center;
    display: flex;
    height: 40px;
    justify-content: center;
    margin: 0;
    padding: 10px;
    text-align: center;
    width: 40%;
  }

  .header .header-inner .sp-tel {
    padding: 7px 10px 13px 10px;
}

  .header {
    background-color: transparent;
    overflow: visible;
    position:absolute;
  }
  .header .header-inner {
    background-color: #fff;
    justify-content: space-between;
    padding: 10px;
  }
  .header .nav .nav-list.open {
    display: block;
  }
  .index-bg {
    padding-top: 76px;
  }

  .header .header-inner p:first-child {
    padding-left: 0;
  }

  .header .header-logo img {
    max-width: 60%;
}

  .header .header-inner p.sp-tel {
    margin-bottom: 0;
    padding: 8px;
    width: 40%;
  }
  .header nav ul.nav-list li {
    width: 100% !important;
  }
  .header nav ul.nav-list a::before {
    display: none;
  }

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

  .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: 1293px) {
/*.header .nav .nav-list a {
  padding: 20px 10px 17px 10px;
}
  
.header .nav-list p {
    margin: -10px 30px -10px 30px;
    font-size: 80%;
    }*/
.header .contact-link img {
    max-width: 220px;
}
}

/*@media screen and (max-width: 1024px) {
.header .nav .nav-list a {
  margin: -10px 46px -10px 0px;
}*/
/*.header .nav .nav-list a {
  border-bottom: none; */
/*  margin: -10px 0px -10px 40px;
  padding: 20px 10px 17px 10px;
}
  
.header .nav-list p {
    font-size: 75%;
    margin-right: 17px;
}
  
}*/

/*@media screen and (max-width: 1020px) {
.header .nav .nav-list a {
  margin: -10px 46px -10px 0px;
}
}*/

/*@media screen and (max-width: 1009px) {
.header .nav-list p {
    font-size: 76%;
    margin-right: 17px;
}
}*/

/*@media screen and (max-width: 959px) {
.header .nav .nav-list .contact a:last-child {
    border-bottom: none;
}

.header .nav-list.open li {
    border-bottom: 1px solid #fff;
    width: 100%;
}
}*/

@media screen and (max-width: 640px) {
    .header .header-logo img {
    max-width: 100%;
}
  
  .header .header-inner .sp-tel, .header .header-inner .sp-menu {
    padding: 5%;
}

  .header .header-inner .sp-tel {
    padding: 3% 5% 7% 5%;
}

.header .header-inner {
    padding: 2% 3%;
}

.header .header-inner p {
    font-size: 4vw;
}
  
}

