@charset "utf-8";
/* ナビゲーション、リンク関連 */
.btn {width: 90%;cursor: pointer;padding: 3px 0;display: block;margin: 5px auto;box-sizing: border-box;text-align: center;
background:#8f1536;color: #fff!important;border-radius:5px;}
.btnhead{width: auto;cursor: pointer;padding: 3px 10px;box-sizing: border-box;text-align: center;font-weight: 900;font-size: 0.8em;
background:#8f1536;color: #fff!important;border-radius:5px;}

.tel{background: url("../img/common/tel.png")no-repeat 25px center #8f1536;width: 90%;cursor: pointer;padding: 10px 25px;display: block;margin: 15px auto;font-weight: 700;box-sizing: border-box;font-size: 1.2em;text-align: right;
-webkit-transition: all 0.7s;-moz-transition: all 0.7s;transition: all 0.7s;}
.btn:hover, .btnhead:hover{background:#5a0d22;
-webkit-transition: all 0.7s;-moz-transition: all 0.7s;transition: all 0.7s;}
.tel:hover{background: url("../img/common/tel.png")no-repeat 25px center #5a0d22;}
 a.btn{color: #fff!important;}

#headnavi{position: relative}
/*==========================================================================================
モバイル タブレット
==========================================================================================*/
@media screen and (max-width:1199px){
#headnavi{background: #8f1536;width: 92%;margin: 10px auto;border-radius: 5px;}
#headnavi ul{width:100%;display:none}
#headnavi ul li{width:100%;border-top:1px solid #fff;}
#headnavi ul li:hover{background:#5a0d22;transition:0.7s;}
#headnavi ul ul li,#headnavi li:hover > ul > li{height:auto;}
#headnavi ul li a,#headnavi ul ul li a{border-bottom:0;color: #fff;display: block;text-align: center;padding: 8px;}
#headnavi > ul > li{float:none}
#headnavi ul ul li a{padding-left:25px}
#headnavi ul ul li{background:#333!important;}
#headnavi ul ul li:hover{background:#5a0d22!important;}
#headnavi ul ul ul li a{padding-left:35px}
#headnavi ul ul li a{color:#ddd;background:none}
#headnavi ul ul li:hover > a,#headnavi ul ul li.active > a{color: #8f1536!important}
#headnavi ul ul,#headnavi ul ul ul{position:relative;left:0;width:100%;margin:0;text-align:left}
#headnavi #head-mobile{display:block;padding:5px;color:#ddd;font-size:22px;font-weight:700}

/*-----  ベーススタイル -----*/
.button{cursor:pointer;z-index: 9999;padding: 5px 0 0 0;}
.button:hover{background: #5a0d22;border-radius: 5px;transition: all 0.3s}
.button .menu_icon {position: relative;width: 50px;height: 20px;margin: auto;}
.button .border {position: absolute;left: 0;display: inline-block;width: 100%;height: 4px;border-radius: 5px;transition: all 0.3s;background: #ffffff;}
.button .border1 {top: 0;}
.button .border2 {top: 0;bottom: 0;margin: auto;}
.button .border3 {bottom: 0px;}
.button .text {width: 100%;text-align: center;font-size: 12px;color: #ffffff;transition: all 0.3s;}
.button .text::after {display: block;content: "MENU";}
.menu-opened  .text::after {content: "CLOSE";}

/*-----  ベーススタイルここまで -----*/
.menu-opened .border1 {transform: translateX(0) translateY(8px) rotate(45deg) !important;width: 28px;left: 20%}
.menu-opened .border2 {opacity: 0;}
.menu-opened .border3 { transform: translateX(0px) translateY(-8px) rotate(-45deg) !important;width: 28px;left: 20%}


#naviwrap{width: 100%;z-index: 999;margin-bottom: 10px}
.fixed{position: fixed;top: -10px;}
.fixed > #headnavi{width: 100%!important}
}


/*==========================================================================================
PC
==========================================================================================*/

@media screen and (min-width:1200px){
.menutxt{display: none}
#naviwrap{border-top: 1px solid #b5b5b5;border-bottom: 1px solid #b5b5b5}
#headnavi{width: 1200px;margin: auto}
#headnavi,#headnavi ul,#headnavi ul li,#headnavi ul li a,#headnavi #head-mobile{border:0;list-style:none;line-height:1;display:block;position:relative;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}
#headnavi:after,#headnavi > ul:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}
#headnavi #head-mobile{display:none}
#headnavi > ul > li{float:left;text-align: center;}
#headnavi > ul > li > a{padding:20px 28px;font-size:20px;text-decoration:none;color:#8f1536;}
#headnavi > ul > li > a.sub {padding:10px 28px;}
#headnavi > ul > li:hover > a,#headnavi ul li.active a{color:#fff}
#headnavi > ul > li:hover,#headnavi ul li.active:hover,#headnavi ul li.active,#headnavi ul li.has-sub.active:hover{background:#8f1536!important;-webkit-transition:background .3s ease;-ms-transition:background .3s ease;transition:background .3s ease;}
#headnavi > ul > li.has-sub > a{padding-right:30px}
#headnavi > ul > li.has-sub > a:after{position:absolute;top:22px;right:11px;width:8px;height:2px;display:block;background:#ddd;content:''}
#headnavi > ul > li.has-sub > a:before{position:absolute;top:19px;right:14px;display:block;width:2px;height:8px;background:#ddd;content:'';-webkit-transition:all .25s ease;-ms-transition:all 0s ease;transition:all .25s ease}
#headnavi > ul > li.has-sub:hover > a:before{top:23px;height:0}
#headnavi ul ul{position:absolute;left:-9999px}
#headnavi ul ul li{height:0;-webkit-transition:all .25s ease;-ms-transition:all .25s ease;background:#333;transition:all .25s ease}
#headnavi ul ul li:hover{}
#headnavi li:hover > ul{left:auto}
#headnavi li:hover > ul > li{height:35px}
#headnavi ul ul ul{margin-left:100%;top:0}
#headnavi ul ul li a{border-bottom:1px solid rgba(150,150,150,0.15);padding:11px 15px;width:170px;font-size:22px;text-decoration:none;color:#ddd;font-weight:400;}
#headnavi ul ul li:last-child > a,#headnavi ul ul li.last-item > a{border-bottom:0}
#headnavi ul ul li:hover > a,#headnavi ul ul li a:hover{color:#fff}
#headnavi ul ul li.has-sub > a:after{position:absolute;top:16px;right:11px;width:8px;height:2px;display:block;background:#ddd;content:''}
#headnavi ul ul li.has-sub > a:before{position:absolute;top:13px;right:14px;display:block;width:2px;height:8px;background:#ddd;content:'';-webkit-transition:all .25s ease;-ms-transition:all .25s ease;transition:all .25s ease}
#headnavi ul ul > li.has-sub:hover > a:before{top:17px;height:0}
#headnavi ul ul li.has-sub:hover,#headnavi ul li.has-sub ul li.has-sub ul li:hover{background:#363636;}
#headnavi ul ul ul li.active a{border-left:1px solid #333}
#headnavi > ul > li.has-sub > ul > li.active > a,#headnavi > ul ul > li.has-sub > ul > li.active> a{border-top:1px solid #333}
}