@charset "utf-8";
/* CSS Document */

.h_menu{
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	margin: auto;
	max-width: 540px;
	z-index: 9999;
}

.h_menu i{
	font-size: 40px;
	color: #268C9C;
}

.h_menu .row a{
	font-size: 14px;
	color: #313131;
	text-decoration: none;
	font-weight: 500;
}

#g-nav{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:absolute;
    z-index: 999;
    /*ナビのスタート位置と形状*/
	top:0;
	right: -120%;
	width:100%;
    height: 100vh;
	background:rgba(189,227,229,0.90);
    /*動き*/
    opacity: 0;
    transition: all .5s ease;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
    opacity: 1;
	right: 0;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: relative;
    z-index: 999; 
    width: 100%;
    height: 100vh;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
    z-index: 999;
	padding :50px 0 0;
	width: 100%;
	margin: 0;
}

/*リストのレイアウト設定*/

#g-nav li{
	list-style: none;
    text-align: center;
	font-weight: 500;
	border-bottom: 1px dashed #969696;
}

#g-nav li a{
	color: #313131;
	text-decoration: none;
	padding:10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

/*========= ボタンのためのCSS ===============*/
.openbtn{
	position:relative;
    z-index: 9999;/*ボタンを最前面に*/
	top:0;
	right: 0;
	cursor: pointer;
    width: 80px;
    height:50px;
}
	
/*×に変化*/	
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 0;
    height: 2px;
	background-color: #37839A;
  	width: 45%;
  }

.openbtn span:nth-of-type(1) {
	top:20px;	
}

.openbtn span:nth-of-type(2) {
	top:28px;
}

.openbtn span:nth-of-type(3) {
	top:36px;
}

.openbtn.active span{
	background-color: #37839A;
}

.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 0;
    transform: translateY(6px) rotate(-45deg);
    width: 40%;
}

.openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 0;
    transform: translateY(-6px) rotate(45deg);
    width: 40%;
}

/*========= アコーディオン ===============*/
.accordion-area{
    list-style: none;
    width: 100%;
    margin:0 auto;
	transition: all 0.6s;
}

.accordion-area li{
    margin: 10px 0;
}

.accordion-area section {
	border: 1px solid #ccc;
}

/*アコーディオンタイトル*/
.title {
    position: relative;/*+マークの位置基準とするためrelative指定*/
    cursor: pointer;
    font-size:14px;
    padding: 10px;
    transition: all .5s ease;
	color: #313131;
	font-weight: 500;
}

/*アイコンの＋と×*/
.title::before,
.title::after{
    position: absolute;
    content:'';
    width: 10px;
    height: 2px;
    background-color: #313131;
    transition: all .5s ease;
    
}
.title::before{
    top:48%;
    right: 15px;
    transform: rotate(0deg);
    
}
.title::after{    
    top:48%;
    right: 15px;
    transform: rotate(90deg);

}
/*　closeというクラスがついたら形状変化　*/
.title.close::before{
	transform: rotate(45deg);
}

.title.close::after{
	transform: rotate(-45deg);
}

/*アコーディオンで現れるエリア*/
.box {
    display: none;/*はじめは非表示*/
	background:rgba(221,248,255,0.90);
	margin:0 3% 3% 3%;
    padding: 0!important;
}

.box li{
	border-bottom: 1px dotted #BBBABA!important;
}