﻿@media screen and (max-width: 1000px) {

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

/* pcメニューを消す */
.pc-navi {
display: none !important;
}
.toggle,
.sp_menu {
display: block !important;
}

#sp_area {
position: relative;
}

/* クリックされていないときのトグルスイッチ */
.toggle {
position: relative;
width: 100%;
height: 34px;
background-color:#9c0429;
}
.toggle .ttl {
position: absolute;
top: 50%;
transform: translateY(-50%);
-webkit- transform: translateY(-50%);
left: 10px;
font-size: 12px;
font-weight: bold;
letter-spacing: 2px;
color: #fff;
}
.toggle div {
width: 40px;
height: 40px;
position: absolute;
top: 50%;
transform: translateY(-50%);
-webkit- transform: translateY(-50%);
right: 10px;
}
.toggle span {
transition: .35s ease-in-out;
-webkit-transition: .35s ease-in-out;
-moz-transition: .35s ease-in-out;
display: block;
width: 70%;
position: absolute; /* .toggleに対して */
right: 7px;
padding-top: 5px;
border-bottom: solid 2px #fff;
}
.toggle span:nth-child(1) {
top: 5px;
}
.toggle span:nth-child(2) {
top: 14px;
}
.toggle span:nth-child(3) {
top: 23px;
}
.toggle span:nth-child(4) {
top: 35px;
padding-top: 0;
font-size: 9px;
text-align: center;
letter-spacing: 2px;
color: #fff;
border-bottom: 0;
}

/* クリックされたときのトグルスイッチ */
.toggle.active {
}
.toggle.active span {
position: absolute;
}
/* 最初のspanをマイナス45度に */
.toggle.active span:nth-child(1) {
top: 15px;
right: 8px;
-webkit-transform: rotate(-45deg);
-moz-transform: rotate(-45deg);
transform: rotate(-45deg);
border-bottom: solid 2px #fff;
}
/* 2番目と3番目のspanを45度に */
.toggle.active span:nth-child(2),
.toggle.active span:nth-child(3) {
top: 15px;
right: 5px;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
transform: rotate(45deg);
border-bottom: solid 2px #fff;
}

/* クリックされていないときのグローバルメニュー */
/* .sp-navi */
.sp-navi {
display:none;
/*
transform: translateY(-100%);
transition: all 0.8s;
z-index: 2;
*/
/*
width: 100%;
position: fixed;
top: 0;
left: 0;
padding-top: 50px;
text-align: center;
color: #000;
background: #b0f3b8;
*/
}
/*
.sp-navi .nav_li {
width: 100%;
padding: 10px;
list-style-type: none;
}
.sp-navi .nav_li a {
display: block;
color: #000;
}
*/

/* クリックされたときのグローバルメニュー */
/* .sp-naviに.activeが追加 */
.sp-navi.active {
z-index: 99999;
display: block;
width: 100%;
height: auto;
overflow: auto;
position: absolute;
sright: 0;
transform: translateY(0%);
transition: transform 10s;
/*
max-width: 100%;
height: 100vh;
color: #fff;
background-color: #B22400;
*/
}

.sp-navi ul {
color: #000;
background-color: #fff;
border: 1px solid #ccc;
}
.sp-navi ul a {
display: inline-block;
width: 100%;
height: 100%;
padding: 5px 20px;
color: inherit !important;
}
.sp-navi li {
display: block;
font-size: 15px;
line-height: 1.3;
text-align: left;
}
.sp-navi li:last-child {
border-bottom: 0;
}
.sp-navi li p {
padding: 5px 5px 5px 25px;
font-weight: bold;
background-color: #eee;
background-image: url(../img/arrow03.png);
background-repeat: no-repeat;
background-position: left 10px center;
background-size: 10px auto;
}
.sp-navi li:nth-of-type(even) p {
background-color: #e3e3e3;
}



.black_bg {
}
.black_bg.active {
/*
opacity: 0.5;
top: 0;
left: 0;
width: 100%;
z-index: 100;
transition: all .6s;
cursor: pointer;
position: absolute;
height: 100vh;
*/
}


}
/**********************************************************************/
/**********************************************************************/
@media screen and (max-width: 400px) {

.sp-navi_li_tel {
width: 100%;
}
.sp-navi_li_blog {
width: 100%;
}






}