@charset "utf-8";

body{}
/* CSS Document */
#g-nav{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 99;
    /*ナビのスタート位置と形状*/
	/*top:0;
    right: -120%;*/
	width:100%;
	max-width: 700px;
    /*height: 0;*/ /*ナビの高さ*/
	background:#bfadae;
    /*動き*/
	transition: all 0.6s;
	opacity: 0.9;
	/*top: 100px;*/
	padding: 40px 0;
	height: calc(184px + 0px );
	top:-120%;
	margin:0 auto;
	left:calc( (100% - 700px) / 2);
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
    /*right: 0;*/
	
	top:0px;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/*========= ボタンのためのCSS ===============*/

.openbtn{
	display: block;
}

#g-nav a{
	display: block;
	width:auto;
	border:1px solid #fff;
	text-align: center;
	margin:2px;
	text-decoration: none;
	color:#333;
	background-color:none;
	padding:4px 0;
	transition: 0.4s;
}

#g-nav a:hover{
	background-color:#fff;
}



/*=========================================*/

@media screen and (max-width:700px){
	#g-nav{
	left:0;
	max-width:none;}
}

.openbtn{
	display: inherit;
	position:fixed;
	z-index: 100;/*ボタンを最前面に*/
	top:0px;
	right: 0px;
	cursor: pointer;
	width: 40px;
	height:36px;
	background-color: #333;
	padding-top: 0px;
}
	
/*×に変化*/	
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 10px;
    height: 3px;
    border-radius: 3px;
	background-color: #fff;
  	width: 50%;
  }

.openbtn span:nth-of-type(1) {
	top:calc(15px + 0px - 6px);	
}

.openbtn span:nth-of-type(2) {
	top:calc(23px + 3px - 10px);
}

.openbtn span:nth-of-type(3) {
	top:calc(31px + 5px - 12px);
}

.openbtn.active span:nth-of-type(1) {
    /*top: 18px;
    left: 18px;*/
	top:calc(18px - 9px);
    transform: translateY(6px) rotate(-45deg);
    width: 48%;
}

.openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.openbtn.active span:nth-of-type(3){
    /*top: 30px;
    left: 18px;*/
	top:calc(30px - 9px);
    transform: translateY(-6px) rotate(45deg);
    width: 48%;
}




/*アコーディオン全体*/
.accordion-area{
    list-style: none;
    width: 96%;
    max-width: 800px;
    margin:0 auto;
	padding: 0;
}

.accordion-area li{
    margin: 4px 0;
}

.accordion-area section {
	border: 1px solid #ccc;
	background-color: #fff;
}

.accordion-area a{
	text-decoration: none;
	color:#333;
	display: inline-block;
	width: 100%;
	border: 1px solid #333;
	padding: 3px;
}

.accordion-area a:hover {
	background-color: #ddd;
}

/*アコーディオンタイトル*/
.title {
    position: relative;/*+マークの位置基準とするためrelative指定*/
    cursor: pointer;
    font-size:1rem;
    font-weight: normal;
    padding: 4px 4px 4px 50px;
    transition: all .5s ease;
}

/*アイコンの＋と×*/
.title::before,
.title::after{
    position: absolute;
    content:'';
    width: 15px;
    height: 2px;
    background-color: #333;
    
}
.title::before{
    top:48%;
    left: 15px;
    transform: rotate(0deg);
    
}
.title::after{    
    top:48%;
    left: 15px;
    transform: rotate(90deg);

}

/*　closeというクラスがついたら形状変化　*/

.title.close::before{
	transform: rotate(45deg);
}

.title.close::after{
	transform: rotate(-45deg);
}

/*アコーディオンで現れるエリア*/
.box {
    display: none;/*はじめは非表示*/
    /*background: #f3f3f3;*/
	margin:0 1% 1% 1%;
    padding: 0;
}


.box p{
	/*background-color: #fff;
	border: 1px solid #333;
	padding: 2px 4px;*/
	margin:0 10px 3px 0px;
}


/* popup-info */
.popupInfo {
display: block;
width: 600px;
max-width: 100%;
height: 240px;
position: fixed;
z-index: 120;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
/* margin: -200px 0 0 -200px; */
background: white;
box-shadow: 0 0 60px 10px rgba(0, 0, 0, 0.9);
	
	
	transition: 0.5s;
}
.closed {
  display: none;
}

.popupInfo-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 110;
background: rgba(0, 0, 0, 0.6);
}
.popupInfo-guts {
position: absolute;
top: 0;
left: 0;
width: 100%;
overflow: auto;
padding: 20px 20px 0px 20px;
}

.popupInfo-guts span{
	font-weight: bold;
	color:#333;
}

.popupInfo-guts strong{
	color: crimson;
	display: block;
	border-top:1px solid #666;
	border-bottom:1px solid #666;
	padding: 3px 10px;
	width: calc(100% - 70px - 40px);
}

.popupInfo-guts p{
	width: calc(100% - 80px);
	margin:20px 0 10px 20px;
}


.popupInfo .close-button {
position: absolute;
z-index: 1;
top: 10px;
right: 10px;
border: 0;
background: black;
color: white;
padding: 0px 8px;
font-size: 2rem;
	
	cursor:pointer;
}
.open-button {
border: 0;
background: lightgreen;
color: white;
padding: 0px;
font-size: 21px;
}

.open-button img{
	margin-bottom:-5px;
}

#open-button{
	cursor:pointer;
}

.popupInfo .caption{
	font-size:90%;
	display: inline-block;
	padding-top: 12px;
	color: #666;
	font-weight: bold;
}



@media screen and (max-width:480px){
	.popupInfo {
max-width: calc(100% - 20px);
		height: 280px;
}
	
	.popupInfo-guts {
padding: 30px 50px 20px 20px;
}
	
	.popupInfo-guts strong{
	padding: 3px 0px;
	width: calc(100% - 50px - 40px);
}

.popupInfo-guts p{
	width: 80%;
	margin:20px 0 10px 0%;
}

}