﻿/* グローバルナビ用  
   ========================================================================== */
nav.globalMenuSp {
	display: block;
    position: fixed;
    z-index: 990;
    top: 0;
    right: 0;
    color:#333;
	background: linear-gradient(45deg, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0.8) 100%);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	background-color: rgba(255,255,255,0.49);
    transform: translateX(100%);
    transition: all 0.6s;
    width: 100%;
	height: 100vh;
}
nav.globalMenuSp .sp_main {
    margin: 60px auto;
    padding: 0;
    width: calc(100% - 30px);
	max-width: 500px;
}
nav.globalMenuSp .sp_main li {
    font-size: 1em;
	font-weight: 500;
	line-height: 130%;
    list-style-type: none;
    padding: 0;
    width: 100%;
	text-align: center;
	margin-bottom: 1rem;
}
nav.globalMenuSp .sp_main li span{
	text-transform: uppercase;
	color: #ee9c00;
	font-size: 80%;
}
nav.globalMenuSp .sp_main li a{
    display: block;
    color: #333;
	text-decoration-line: none;
	transition:all 0.5s;
}
nav.globalMenuSp .sp_main li:hover span{
	color: #007abe;
}


 ul.inner{
	margin: 15px auto;
	width: 100%;
	display: flex;
	justify-content: center;
}
 ul.inner li{
	 font-size: 0.9em!important;
	 background: #2e98e5;
	 color: #fff;
	 width: calc(100% - 6px);
	 margin: 3px;
}
ul.inner li a{
	padding: 0.5em;
	color: #fff!important;
}
ul.inner li:hover{
	opacity: 0.6!important;
}

.btn_header_sp{
	display: block;
	text-align: center;
	width: calc(100% - 30px);
	max-width: 350px;
	background-color:#fff;
	color: #1a1a1a;
	border: solid 1px #2e98e5;
	padding: 0.5em;
	border-radius: 30px;
	margin: 20px auto;
	position: relative;
}
.btn_header_sp::after{
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	content: "\f105";
	position: absolute;
	top: 50%;
	right: 15px;
	transform: translateY(-50%);
	transition: .5s;
}
.btn_header_sp:hover{
	
	color: #2e98e5;
	transition: .5s;
}
.btn_header_sp:hover::after{
	right: 10px;
	transition: .5s;
}


/* このクラスを、jQueryで付与・削除する */
nav.globalMenuSp.active {
    transform: translatey(0%);
}



/* ハンバーガー用
   ========================================================================== */

.navToggle {
    display: block;
    position: fixed;    /* bodyに対しての絶対位置指定 */
    right: 10px;
    top: 10px;
    width: 58px;
    height: 58px;
    cursor: pointer;
    z-index: 995;
    background-color: transparent;
    text-align: center;
}
 
.navToggle span {
    display: block;
    position: absolute;    /* .navToggleに対して */
    width: 46px;
    border-bottom: solid 3px #1a1a1a;
    transition: .35s ease-in-out;
    left: 6px;
}
 
.navToggle span:nth-child(1) {
    top: 9px;
}
 
.navToggle span:nth-child(2) {
    top: 18px;
}
 
.navToggle span:nth-child(3) {
    top: 27px;
}
 
.navToggle span:nth-child(4) {
    border: none;
    color: #1a1a1a;
    font-size: 14px;
    top: 32px;
	font-weight: 500;
}

/* タップした後 
   ========================================================================== */

/* 最初のspanをマイナス45度に */
.navToggle.active span:nth-child(1) {
    top: 18px;
    left: 6px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
 
/* 2番目と3番目のspanを45度に */
.navToggle.active span:nth-child(2),
.navToggle.active span:nth-child(3) {
    top: 18px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}