.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) {
}
}

/*------------------------------------
ヘッダー a hover:下線アンダーライン ↓
------------------------------------*/
header ul li a {
  position: relative;
  display: inline-block;
  text-decoration: none;
}

/*------------------------------------
ヘッダー spハンバーガーメニュー ↓
------------------------------------*/

/* header .sp_nav {
@media screen and (min-width: 600px) {
}
@media screen and (min-width: 1025px) {
display:none;
}
}
 */

.sidemenu {
  padding: 40px 5%;
  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: 80px 22%;
}
}

.hamburger {
  cursor: pointer;
  height: 56px;
  position: absolute;
  right: 0;
  top: 0;
  width: 60px;
  z-index: 3;
  background:#004892;
}

.hamburger span {
  background-color: #fff;
  height: 4px;
  transform: scaleY(0.5) translateY(2px);
  left: 11px;
  position: absolute;
  transition: all 0.6s;
  width: 38px;
}
.hamburger_linetop {
  top: 12px;
}
.hamburger_linecenter {
  top: 23px;
}
.hamburger_linebottom {
  top: 34px;
}

.hamburger p {
position:absolute;
top:38px;
font-weight:500;
font-size:12px;
left:15px;
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;
}


.sidemenu li a:hover{
text-decoration:none;
opacity:0.6;
}

/*------------------------------------
アコーディオン
------------------------------------*/
#menu {
    width: 100%;
  }

#menu .accordion {
  background-color: #fff;
  color: #333;
  cursor: pointer;
  padding: 12px 18px;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom:dotted 1px #999;
}

#menu .accordion:hover{
background-color:#fbfaec;
}

#menu .symbol {
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}
#menu .symbol span {
  display: block;
  background-color: #333;
  width: 100%;
  height: 2px;
  transition: all 0.4s ease;
}
#menu .symbol span:nth-of-type(1) {
  transform: translateX(15px);
}
#menu .symbol span:nth-of-type(2) {
  transform: rotate(-90deg);
}
#menu .accordion.active .symbol span:nth-of-type(2) {
  transform: rotate(0deg);
}

#menu .panel {
  list-style-type: none;
  margin: 0;
  padding: 0;
  background-color: #fff;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease;
  text-align:left !important;
}
#menu .panel li {
  margin: 0;
  border-bottom:dotted 1px #999;
}

#menu .panel li a{
  display:block;
  padding: 8px 0px 8px 30px;
  color:#333;
}


#menu .panel li a:before{
  position: absolute;
  content:"\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  top:50%;
  right:7%;
  transform:translatey(-50%);
}


/*------------------------------------
アコーディオン 大枠
------------------------------------*/

.toggle_contents {
	background:#040A5D;
}
.toggle_title {
	position: relative;
	padding: 12px 10px;
	cursor: pointer;
	font-size: 2.0rem;
	text-align: center;
	line-height: 1.4;
	color:#fff;
}
.toggle_btn {
	position: absolute;
	top: 50%;
	right: 20px;
	transform: translateY(-50%);
	background:#040A5D;
	display: block;
	width: 24px;
	height: 24px;
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
	border-radius: 50%;
}
.toggle_btn:before, .toggle_btn:after {
	display: block;
	content: '';
	background-color: #fff;
	position: absolute;
	width: 20px;
	height: 2px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.toggle_btn:before {
	width: 2px;
	height: 20px;
}
.toggle_title.selected .toggle_btn:before {
	content: normal;
}
.toggle_contents dd {
	display: none;
}

.sp_add_menu {
  background-color: #fff;
  color: #333;
  border-bottom:dotted 1px #999;
}


.sp_add_menu a{
background:#fff !important;
color:#333;
display:block;
position:relative;
width:100%;
text-align:left;
  padding: 12px 18px;
}

.sp_add_menu a:hover{
text-decoration:none;
background-color:#fbfaec !important;
opacity:1;
}

.sp_add_menu a:before{
  font-size:20px;
  position: absolute;
  content:"\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  top:50%;
  right:4%;
  transform:translatey(-50%);
}


/*------------------------------------
アコーディオンの外のメニュー
------------------------------------*/
.sp_sub_menu{
margin-top:0;
}

.sp_sub_menu h2{
margin-bottom:20px;
}

.sp_sub_menu h2 img{
width:220px;
height:auto;
}

.sp_sub_menu li a{
background:#fff !important;
color:#333;
display:block;
position:relative;
width:100%;
text-align:left;
padding: 20px 18px;
border-bottom:solid 1px #ccc;
}

.sp_sub_menu li a:hover{
text-decoration:none;
background-color:#fbfaec !important;
opacity:1 !important;
}

.sp_sub_menu li a:before{
  font-size:20px;
  position: absolute;
  content:"\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  top:50%;
  right:4%;
  transform:translatey(-50%);
}

.sp_sub_menu li a img{
height:20px;
width:auto;
}


/*------------------------------------
ハンバーガーメニュー内社名・電話 ↓
------------------------------------*/

.sp_sub_menu .div01{
margin-top:25px;
margin-bottom:15px;
}

.sp_sub_menu .div01{
width:70%;
margin-left:auto;
margin-right:auto;
@media screen and (min-width: 600px) {
}
@media screen and (min-width: 1025px) {
width:40%;
}
}

.sp_sub_menu .div02{
width:80%;
margin-left:auto;
margin-right:auto;
@media screen and (min-width: 600px) {
}
@media screen and (min-width: 1025px) {
width:50%;
}
}
