.nav_open {
  overflow: hidden;
  @media screen and (min-width: 600px) {}
  @media screen and (min-width: 1025px) {
    overflow: auto;
  }
}

.nav_open .sidemenu {
  overflow: auto !important;
  right: 0;
  height: 100%;
  @media screen and (min-width: 600px) {}
  @media screen and (min-width: 1025px) {
    height: auto;
    box-shadow: 0px 10px 10px -6px rgba(0, 0, 0, 0.1);
  }
}

/*------------------------------------
ヘッダー a hover:下線アンダーライン ↓
------------------------------------*/

header ul li a {
  position: relative;
  display: inline-block;
  text-decoration: none;
}

/*------------------------------------
ヘッダー spハンバーガーメニュー ↓
------------------------------------*/

header .sp_nav {
  /*   text-align: center; */
}

.sidemenu {
  padding: 80px 10%;
  position: fixed;
  right: -100%;
  /*メニュー幅*/
  transition: all 0.5s;
  top: 0;
  width: 100%;
  /*メニュー幅*/
  z-index: 2;
  background-color: #fff;
  @media screen and (min-width: 600px) {
    padding: 80px 15%;
  }
  @media screen and (min-width: 1025px) {
    padding: 15px 20px;
    position: fixed;
    right: -18vw;
    /*メニュー幅*/
    border-left: solid 1px #0c193c;
    border-bottom: solid 1px #0c193c;
    transition: all 0.5s;
    top: 0;
    width: 18vw;
    /*メニュー幅*/
    z-index: 2;
    background-color: #fff;
  }
}

.hamburger {
  cursor: pointer;
  height: 60px;
  position: absolute;
  right: 2%;
  top: 4px;
  width: 60px;
  z-index: 3;
}

.hamburger span {
  background-color: #000;
  height: 4px;
  transform: scaleY(0.5) translateY(2px);
  left: 15px;
  position: absolute;
  transition: all 0.6s;
  width: 38px;
}

.hamburger_linetop {
  top: 10px;
}

.hamburger_linecenter {
  top: 20px;
}

.hamburger_linebottom {
  top: 31px;
}

.hamburger p {
  position: absolute;
  top: 38px;
  font-weight: 500;
  font-size: 12px;
  left: 16px;
  letter-spacing: 0.06em;
}

/*------------------------------------
メニュークリックした後 ↓
------------------------------------*/

.nav_open .hamburger_linetop {
  height: 2px;
  top: 26px;
  transform: rotate(45deg);
}

.nav_open .hamburger_linecenter {
  left: 50%;
  width: 0;
}

.nav_open .hamburger_linebottom {
  height: 2px;
  top: 26px;
  transform: rotate(-45deg);
}

.nav_open .overlay {
  opacity: 0.8;
  visibility: visible;
}

.nav_open .hamburger p {
  display: none;
}

/*------------------------------------
メニュークリック後メニュー外の背景 ↓
------------------------------------*/

.overlay {
  background-color: #000;
  cursor: pointer;
  height: 100vh;
  left: 0;
  opacity: 0.5 !important;
  position: fixed;
  top: 0;
  transition: all 0.6s;
  visibility: hidden;
  /*   width: 100vw; */
  width: 0;
  z-index: 1;
}

/*------------------------------------
サイドメニューレイアウト
------------------------------------*/

.m_ttl {
  font-size: 20px;
  font-weight: 700;
}

.nav_ul>li {
  font-size: 16px;
  font-weight: 500;
  border-bottom: solid 1px #0c193c;
  padding-top: 5px;
  padding-bottom: 5px;
}

.nav_ul li a {
  display: block;
  color: #55350b;
  position: relative;
}

.nav_ul>li>a:after, .nav_ul>li>span a:after {
  content: '';
  position: absolute;
  display: block;
  top: 24%;
  right: 2%;
  width: 11px;
  height: 12px;
  background-image: url(../img/pc/ya.png);
  background-repeat: no-repeat;
}

.nav_ul>li>a, .nav_ul>li>span a {
  top: 0;
  transition: 0.4s all ease;
}

.nav_ul>li>a:hover, .nav_ul>li>span a:hover {
  text-decoration: none;
  padding-left: 1em;
  transition: 0.4s all ease;
  opacity: 0.6;
}

.sidemenu li a:hover {
  text-decoration: none;
  opacity: 0.6;
}

.sub_ul {
  margin: 5px 0;
}

.sub_ul li {
  font-weight: 500;
  display: inline-block;
  margin-bottom: 5px;
}

.sub_ul li a {
  margin-right: 3px;
  color: #0c1a3d;
  display: block;
  height: 32px;
  line-height: 32px;
  font-size: 15px;
  background: #FAF0E2;
  padding: 0 12px;
  border-radius: 32px;
}

/*------------------------------------
検索窓
------------------------------------*/

.search-box {
  position: relative;
}

.searchform {
  position: relative;
}

.searchfield {
  position: relative;
  font-size: 14px;
  width: 100%;
  margin: 3px;
  padding: 5px 10px;
  border: solid 1px #bbb;
  border-radius: 15px;
  background-color: #fff;
}

.searchfield button {
  position: absolute;
  top: 5px;
  right: 5%;
  cursor: pointer;
}

.searchfield button::after {
  content: '';
  position: absolute;
  display: block;
  top: 0;
  right: 0;
  width: 22px;
  height: 22px;
  background-image: url(../img/megane.png);
  background-repeat: no-repeat;
}

/*------------------------------------
スマホメニューバナー
------------------------------------*/

.sp_ban {
  padding-top: 10px;
  @media screen and (min-width: 600px) {
    padding-top:15px;
    padding-left: 15% !important;
    padding-right: 15% !important;
  }
}

.sp_ban img {
  display: block;
  margin-top: 10px;
  max-width: 100%;
}