@charset "utf-8";
/* CSS Document */
header {
  position: fixed;
  padding: 15px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 9997;
  background: #fff;
  border-radius: 50px;
  width: 80%;
  margin: auto;
  right: 0;
  left: 0;
  top: 20px;
  box-shadow: 0px 16px 24px rgb(0 0 0 / 8%);
  -webkit-box-shadow: 0px 9px 26px rgb(0 0 0 / 39%);
  -moz-box-shadow: 0px 9px 10px -5px rgba(0, 0, 0, 0.10);
}

#lppage header {
  position: relative;
  padding: 20px 25px 20px;
  font-size: 0.9rem;
  z-index: 9997;
  background: #fff;
  font-weight: 500;
  top: 0;
  width: auto;
  border-radius: 0;
  box-shadow: 0px 9px 10px -5px rgba(0, 0, 0, 0.10);
    -webkit-box-shadow: 0px 9px 10px -5px rgba(0, 0, 0, 0.10);
    -moz-box-shadow: 0px 9px 10px -5px rgba(0, 0, 0, 0.10);
}

header .wrap{
  width: 100%;
  max-width: 1280px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header img{
  max-width: 180px;
  margin-left: 10px;
  vertical-align: top;
}

header a {
  color: #333;
}

a {
  text-decoration: none;
}

*:focus {
  outline: none;
}

.button {
  background-color: #297fb9;
  color: #fff;
}

.communication {
  display: flex;
  justify-content: flex-end;
  margin: 0 auto;
  min-width: 1024px;
  max-width: 1280px;
  margin-bottom: 10px;
  font-size: 1rem;
  color: #484848;
}

.communication div {
  position: relative;
  display: inline-block;
  text-decoration: none;
  margin-left: 30px;
}

.communication div::after {
  position: absolute;
  bottom: 0px;
  left: 0;
  content: '';
  width: 100%;
  height: 1px;
  background: #0a8ab1;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform .3s;
}
.communication div:hover::after {
  transform-origin: left top;
  transform: scale(1, 1);
}


.communication a{
  color: #484848;
}

.communication img {
    width: 14px;
}

#pc_nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  list-style-type: none;
  position: relative;
}

#pc_nav li{
  padding: 0px 10px;
  color: #333;
}

#pc_nav li a {
  display: block
}

#pc_nav>li:hover:not(.button) {

}

#pc_nav>li:not(.button){
  position: relative;
  display: inline-block;
  text-decoration: none;
}
#pc_nav>li:not(.button)::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  content: '';
  width: 100%;
  height: 1px;
  background: #0a8ab1;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform .3s;
}
#pc_nav>li:hover:not(.button)::after {
  transform-origin: left top;
  transform: scale(1, 1);
}

#pc_nav .button,
#sp_nav .button {
  font-weight: 600;
  text-align: center;
  padding: 7px 50px;
  border-radius: 30px;
}

#pc_nav .button a,
#sp_nav .button a {
  color: #fff;
}

#pc_nav .single-menu .sub-menu {
  display: grid;
  position: absolute;
  visibility: hidden;
  opacity: 0;
  text-align: left;
  padding-top: 10px;
  left: 0;
  width: 250px;
  background: #fff;
  box-shadow: 0px 8px 8px rgb(206 206 206 / 55%);
  -webkit-transition: .2s ease;
  transition: .2s ease;
}

#pc_nav .single-menu:hover .sub-menu {
  visibility: visible;
  opacity: 1;
}

#pc_nav .single-menu .sub-menu li {
  padding: 8px 15px;
  background: #fff;
  border-bottom: solid 1px #e0e0e0;
}

#pc_nav .single-menu .sub-menu li:hover {
  box-shadow: 0px 0px 5px #ccc;
  font-weight: 600;
  transform: scale(1.01)
}

.sub-menu li,
.sub-menu li::before,
.sub-menu li::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .2s;
  transition: all .2s;
}

/*ハンバーガーメニュー*/

#sp_nav {
  position: relative;
}

#sp_nav li:hover {
  color: #0a8ab1;
  font-weight: 600;
}

#sp_nav {
  display: none;
}

#sp_nav .sub-menu{
  display: none;
}

.nav_ac {
  display: none;
}

#nav-content p {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 40px;
  letter-spacing: 0.07em;
  margin-bottom: 40px;
  color: #297fb9;
}

#sp_nav li {
  color: #297fb9;
  text-align: left;
  letter-spacing: 0.1rem;
  margin: 10px 15px 0 15px;
  padding-bottom: 10px;
  font-size: 1rem;
  font-weight: 600;
  border-bottom: dashed 1.2px #297fb9;
}

#sp_nav .sub-menu li {
  font-size: 0.85rem;
  margin: 0;
  padding: 10px 0 10px 5px;
  border-bottom: solid 2px;
}

#sp_nav .sub-menu li:first-child {
  margin-top: 10px;
}

.nav_ac:after {
  content: '\f067';
  display: block;
  font-family: "Font Awesome 5 Free";
  position: relative;
  right: -105px;
  text-align: center;
  font-size: 1.3rem;
  top: 2px;
}
.nav_ac.on:after {
  content: '\f068';
}

.nav-unshown {
  display:none;
}

#nav-open {
  display: inline-block;
  width: 30px;
  height: 19px;
  vertical-align: middle;
}

#nav-open span, #nav-open span:before, #nav-open span:after {
  position: absolute;
  height: 3px;
  width: 27px;
  border-radius: 3px;
  background: #080404;
  display: block;
  content: '';
  cursor: pointer;
}

#nav-open span:before {
  bottom: -8px;
}

#nav-open span:after {
  bottom: -16px;
}

#nav-close {
  display: none;
  position: fixed;
  z-index: 99;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  opacity: 1.0;
  transition: .3s ease-in-out;
}

#nav-content {
  overflow: auto;
  position: fixed;
  top: 0;
  right: -330px;
  z-index: 99;
  width: 90%;
  max-width: 280px;
  height: 100%;
  background: #fff;
  transition: .4s ease-in-out;
  -webkit-transform: translateX(120%);
  transform: translateX(120%);
}

#nav-input:checked ~ #nav-close {
  display: block;
  opacity: .3;
}

#nav-input:checked ~ #nav-content {
  -webkit-transform: translateX(-330px);
  transform: translateX(-330px);
  box-shadow: 6px 0 25px rgba(0,0,0,.15);
}

@media screen and (max-width: 1170px){
  #sp_nav {
    display: inline;
  }

  .nav_ac {
    display: block;
    height: 0;
  }

  #pc_nav{
    display: none;
  }

  #sp_nav .button {
    margin: 20px 30px;
  }

  header .wrap{
    min-width: initial;
  }

  .communication {
    display: none;
  }
}

/*ハンバーガーメニュー終了*/

@media screen and (max-width: 480px){
  header {
    padding: 10px 25px;
  }

  header img {
    width: 120px;
    margin-top: 5px;
    margin-left: 0px;
  }

  #nav-open {
    height: 19px;
  }


}
