@charset "UTF-8";
/* Header */
header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  height: 90px;
  margin: 0 auto;
  padding: 0px;
  background-color: #fff;
  z-index: 777;
}
@media screen and (max-width: 767px) {
  header {
    height: 70px;
  }
}

/* IE 用 */
@media all and (-ms-high-contrast: none) {
  header {
    position: relative;
  }
}
.l-header__inner {
  display: flex;
  justify-content: space-between;
  padding: 0 40px;
}
@media screen and (max-width: 1090px) {
  .l-header__inner {
    padding: 0 20px;
  }
}
.l-header__left {
  width: 250px;
}
.l-header__branding {
  margin: 0px 0px 0 0px;
  padding: 29px 0 0 0;
}
@media screen and (max-width: 767px) {
  .l-header__branding {
    padding: 21px 0 0 0;
  }
}
.l-header__branding > a:hover {
  opacity: 1;
}
.l-header__right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  padding: 25px 0 0px 0;
}

/*  Navi Menu PC */
.c-nav .menu {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  margin: 0 0px 0 0;
  padding: 0px 0 0 0px;
}
@media screen and (max-width: 767px) {
  .c-nav .menu {
    display: none;
  }
}
.c-nav .menu > li {
  position: relative;
  padding: 0 0px;
  /* sub menu */
  /* ↑ sub menu */
}
.c-nav .menu > li > a {
  display: block;
  position: relative;
  padding: 10px 20px 36px 20px;
  color: #000;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
}
@media screen and (max-width: 1090px) {
  .c-nav .menu > li > a {
    padding: 10px 16px 36px 16px;
  }
}
.c-nav .menu > li.menu-item-has-children {
  position: relative;
  padding-right: 20px;
}
.c-nav .menu > li.menu-item-has-children::after {
  content: "";
  position: absolute;
  top: 17px;
  right: 23px;
  width: 6px;
  height: 6px;
  border-top: 2px solid #00479d;
  border-right: 2px solid #00479d;
  transform: rotate(135deg);
}
.c-nav .menu > li > .sub-menu {
  display: none;
  list-style-type: none;
  padding: 17px 17px 7px;
  position: absolute;
  top: 100%;
  left: 50%;
  right: 0;
  width: 220px;
  margin: auto;
  border-radius: 10px;
  background-color: #fff;
  z-index: 777;
  translate: -50% 0;
  font-size: 15px;
  font-weight: bold;
}
.c-nav .menu > li > .sub-menu.is-open {
  display: block;
}
.c-nav .menu > li > .sub-menu > li {
  padding: 0px;
}
.c-nav .menu > li > .sub-menu > li:last-child {
  border-bottom: none;
}
.c-nav .menu > li > .sub-menu > li > a {
  display: block;
  position: relative;
  padding: 0px 0px 15px 0px;
  text-decoration: none;
  text-align: center;
  color: #000;
}
.c-nav .menu > li.menu-item-contact > a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 150px;
  height: 40px;
  margin: 0 0 0 40px;
  padding: 0;
  border-radius: 20px;
  border: solid 1px #00479d;
  font-size: 15px;
  font-weight: bold;
  line-height: 2.13;
  text-align: left;
  color: #00479d;
}
@media screen and (max-width: 1090px) {
  .c-nav .menu > li.menu-item-contact > a {
    margin: 0 0 0 8px;
  }
}

/* 表示中のメニュー
.current-menu-item {
  &>a {
    display: block;
    position: relative;
    padding: 0px 10px 10px 10px;
    //border-bottom: 5px solid $main-color;
    color: #000;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    overflow: hidden;

    &::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      width: 100%;
      height: 5px;
      border-bottom: 5px solid $main-color;
      transition: all 0.2s ease-in-out;
      transform: translateX(0%);

      @include sp {
        display: none;
      }
    }

    &:hover::after {
      transform: translateX(0%);
    }
  }
}

.sub-menu .current-menu-item {
  &>a {
    text-align: left;
  }
}
*/
/* Navigation Menu SP */
/* sp ボタン  */
.c-nav-button__wrap {
  display: none;
}

.c-nav-sp {
  display: none;
}

@media screen and (max-width: 767px) {
  .c-nav-button__wrap {
    display: block;
    position: absolute;
    top: 0;
    right: 0px;
    width: 70px;
    height: 70px;
    z-index: 999;
  }
  .c-nav-button {
    position: absolute;
    top: 26px;
    left: 0;
    right: 0;
    margin: auto;
    width: 20px;
    height: 18px;
    border: none;
    background: none;
  }
  .c-nav-button span {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #000000;
    transition: 0.3s ease-in;
  }
  .c-nav-button span:nth-child(2) {
    top: 50%;
    width: 100%;
  }
  .c-nav-button span:nth-child(3) {
    top: 100%;
  }
  .c-nav-button.is-close span {
    top: 50%;
    background: #fff;
    transform: rotate(45deg);
  }
  .c-nav-button.is-close span:nth-child(2) {
    width: 0;
  }
  .c-nav-button.is-close span:nth-child(3) {
    top: 50%;
    transform: rotate(-45deg);
  }
  .c-nav-button__text {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 8px;
    margin: auto;
    color: #fff;
    font-size: 11px;
    text-align: center;
  }
  /* sp ナビ */
  .c-nav-sp {
    display: block;
    position: fixed;
    top: 0px;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 775;
    padding: 100px 30px 50px 30px;
    background-color: #00479d;
    transform: translateX(110%);
    transition: all 0.2s ease-in;
    overflow-y: auto;
  }
  .c-nav-sp.is-open {
    transform: translateX(0%);
  }
  .c-nav-sp__brand {
    width: 240px;
    margin-inline: auto;
    padding: 0px 0 20px 0;
    text-align: center;
    border-bottom: 1px solid #fff;
  }
  .c-nav-sp .menu {
    display: block;
    width: 240px;
    margin-inline: auto;
    padding: 0;
  }
  .c-nav-sp .menu > li {
    margin: 0;
    border-bottom: 1px solid #fff;
  }
  .c-nav-sp .menu > li > a {
    display: block;
    padding: 20px 0px 20px 0px;
    color: #fff;
    font-size: 18px;
    text-align: left;
    text-align: center;
  }
  .c-nav-sp .menu .menu-item-has-children {
    position: relative;
  }
  .c-nav-sp .menu .menu-item-has-children .sub-menu {
    display: block;
    list-style: none;
    padding-bottom: 5px;
  }
  .c-nav-sp .menu .menu-item-has-children .sub-menu li {
    margin-bottom: 5px;
  }
  .c-nav-sp .menu .menu-item-has-children .sub-menu li a {
    display: block;
    padding: 10px 0px 10px 0px;
    color: #fff;
    font-size: 15px;
    text-align: center;
  }
  .c-nav-sp .menu .sub-menu-sp-btn {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    z-index: 666;
  }
  .c-nav-sp .menu .sub-menu-sp-btn::after {
    content: "";
    position: absolute;
    top: 22px;
    right: 21px;
    width: 9px;
    height: 9px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(135deg);
    transition: 0.3s ease;
  }
  .c-nav-sp .menu .sub-menu-sp-btn.is-open::after {
    transform: rotate(315deg);
  }
}