@charset "utf-8";

/*ヘッダー*/
h1 {
  margin: auto 0;
  height: 47px;
}

header {
  font-family: 'メイリオ', sans-serif;
  height: 90px;
  background: #fff;
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 1;
  border-bottom:1px solid #998675;
}



header nav {
  display: flex;
  width: 1080px;
  text-align: center;
  justify-content: space-between;
  margin: 0 auto;
  height: 90px;
  align-items: center;
}
/*IE用*/
@media all and (-ms-high-contrast: none){
}

header h1 img {
  width: 280px;
  height: 40px;
}

header ul {
  list-style: none;
  display: flex;
}

header li {
  align-self: center;
}

header a {
  text-decoration: none;
  color: dimgrey;
  font-size: 16px;
  padding: 7px 15px;
}

header nav .sub {
  display: inline;
  position: absolute;
  background: #fff;
  opacity: 0.7;
  font-size: 15px;
  text-align: left;
  margin-top:  0; /*10px;*/
  width: 300px;
}

header.hidden .sub li {
  width: 300px;
  margin-left: 0;
  margin-top: 0;
}

header.hidden .sub li a {
  text-decoration: none;
  color: black;
  padding: 0 15px;
}

header ul.sub {
  padding-left: 0;
}

header nav .li2 {
  position: relative;
}

header .picture span {
  border: 1px solid dimgrey;
  padding: 5px 10px;
  border-radius: 3px;
}

header.hidden .picture span {
  border: 1px solid #fff;
}

/*ボタンとリンクのマウスオーバー*/
header span:hover {
  padding-bottom: 14px;
  transition: 1s;
}

header a:hover {
  background: #00A99D;
  border-bottom: 4px solid #fff;
}

header .li2 a:hover {
  border: none;
}



header .sub li:hover {
  background: #00A99D;
  transition: 1s;
}

header .sub a:hover {
  background: none;
  transition: 1s;
}

header .picture a:hover {
  background: none;
  border-bottom: none;
  transition: 1s;
}

header .picture span:hover {
  background: #ffffff;
  border-style: solid;
  border-color: #00A99D;
  border-width: 1px;
  border-radius: 3px;
  color: #00A99D;
  padding-bottom: 0px;
  transition: 1s;
  padding: 5px 10px;
}

header ul.smart_phone {
  display: none;
}

header .menu {
  display: none;
}

header .menu2 {
  display: none;
}

header.hidden {
  transition: all 0.5s ease;
  z-index: 2;

  background: -moz-linear-gradient(0% 50% 0deg, rgba(129, 221, 171, 1) 0%, rgba(59, 129, 224, 1) 100%);
  background: -webkit-linear-gradient(0deg, rgba(129, 221, 171, 1) 0%, rgba(59, 129, 224, 1) 100%);
  background: -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(0, rgba(129, 221, 171, 1)), color-stop(1, rgba(59, 129, 224, 1)));
  background: -o-linear-gradient(0deg, rgba(129, 221, 171, 1) 0%, rgba(59, 129, 224, 1) 100%);
  background: -ms-linear-gradient(0deg, rgba(129, 221, 171, 1) 0%, rgba(59, 129, 224, 1) 100%);
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#81DDAB', endColorstr='#3B81E0' ,GradientType=0)";
  background: linear-gradient(90deg, rgba(129, 221, 171, 1) 0%, rgba(59, 129, 224, 1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#81DDAB', endColorstr='#3B81E0', GradientType=1);
}

header.hidden a {
  color: #fff;
}

.logoA2 {
  display: none;
}

.logoA1 {
  display: inline;
}

.logoB1 {
  display: inline;
  z-index: 2;
}

.logoB2 {
  display: none;
}

header .white a:hover {
  color: #fff;
}

header .white .sub a:hover {
  color: #fff;
  transition: 0s;
}

header .white .sub:hover {
  opacity: 1;
}

header li.picture span:hover {
  background: #00A99D;
  color: #fff;
}

header a.logoA1 {
  padding: 0;
  margin: auto 0;
}

header a.logoA1:hover {
  background: none;
  border-bottom: none;
  opacity: 0.5;
}

header a.logoB1 {
  padding: 0;
  margin: auto 0;
}

header a.logoB1:hover {
  background: none;
  border-bottom: none;
  opacity: 0.5;
}

.breadcrumbs {
  width: 100%;
  padding: 20px 0;
}

.breadcrumbs2 {
  width: 1080px;
  margin: 0 auto;
  text-align: left;
  color: #998675;
}

.breadcrumbs a.home {
  color: #00a99d;
}

.breadcrumbs a {
  color: #00a99d;
  font-size: 14px !important;
  padding: 0;
  text-decoration: none !important;
}

.breadcrumbs2 {
  font-size: 14px !important;
}

.breadcrumbs a:hover {
  opacity: 0.5;
  background: none;
}

ul.pc li {
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 0;
  padding-left: 0;
}

/*レスポンシブ*/
@media screen and (max-width:1080px) {

  header {
    height: 50px;
  }

  header .menu_remove {
    display: none;
  }

  header .menu_add {
    display: inline;
  }

  header .menu2_add {
    display: inline;
  }

  header .menu2_remove {
    display: none;
  }

  header nav {
    width: 100%;
    padding: 10px;
    height: 50px;
  }

  header h1 img {
    width: auto;
    height: 30px;
  }

  header h1 {
    width: auto;
    height: 30px;
  }

  header ul.pc {
    display: none;
  }

  header ul.open {
    display: block;
    width: 100%;
    background: #ffffff;
    opacity: 0.9;
    text-align: center;
  }

  header ul.open li {
    background: #FFFFFF;
    border-bottom: solid #00A99D 1px;
    border-radius: 3px;
  }

  header .smart_phone li {
    margin-top: 0;
    margin-bottom: 0;
  }

  header ul.smart_phone li.picture {
    border: none;
  }

  header .open a {
    color: #00A99D;
    width: 100%;
    display: block;
    padding: 20px 0;
  }

  header .open li:hover {
    background: #00A99D;
  }



  header .open a:hover {
    background: none;
    border-bottom: none;
    color: #FFF;
    transition: 1s;
  }

  header .smart_phone .picture span {
    border: 1px solid #00A99D;
    padding: 5px 10px;
    border-radius: 3px;
  }

  header .smart_phone p {
    color: #00A99D;
    font-size: 12px;
    padding: 12px 0;
    text-align: center;
  }

  .breadcrumbs {
    padding: 12px 0 18px;
    width: 94%;
    margin: auto;
  }

  .breadcrumbs a {
    font-size: 12px !important;
  }

  .breadcrumbs2 {
    width: auto;
    margin: auto;
    font-size: 12px;
  }

}
