@charset "UTF-8";



#nav-drawer{
	position: absolute;
	top:10px;
	left:10px;
}
#footer-nav-drawer{
	position: relative;
	bottom:0px;
	left:0px;
	margin-left:10px;
}
#skyphoto_nav-drawer{
	position: relative;
	bottom:0px;
	left:0px;
	margin-left:10px;
}
/*チェックボックス等は非表示に*/
.nav-unshown,
.footer-nav-unshown,
.skyphoto_nav-unshown {
	display:none;
}

/*アイコンのスペース*/
#nav-open,
#footer-nav-open,
#skyphoto_nav-open {
	display: inline-block;
	width: 30px;
	height: 22px;
	vertical-align: middle;
}

/*ハンバーガーアイコンをCSSだけで表現*/
#nav-open span,
#footer-nav-open span,
#skyphoto_nav-open span,
#nav-open span:before,
#footer-nav-open span:before,
#skyphoto_nav-open span:before,
#nav-open span:after,
#footer-nav-open span:after,
#skyphoto_nav-open span:after {
	position: absolute;
	height: 3px;/*線の太さ*/
	width: 25px;/*長さ*/
	border-radius: 3px;
	background: #555;
	display: block;
	content: '';
	cursor: pointer;
}
#nav-open span:before,
#footer-nav-open span:before,
#skyphoto_nav-open span:before {
	bottom: -8px;
}
#nav-open span:after,
#footer-nav-open span:after,
#skyphoto_nav-open span:after {
	bottom: -16px;
}

/*閉じる用の薄黒カバー*/
#nav-close,
#footer-nav-close,
#skyphoto_nav-close {
	display: none;/*はじめは隠しておく*/
	position: fixed;
	z-index: 99;
	top: 0;/*全体に広がるように*/
	left: 0;
	width: 100%;
	height: 100%;
	background: black;
	opacity:0;
	transition: .3s ease-in-out;
}

/*中身*/
#nav-content,
#footer-nav-content,
#skyphoto_nav-content {
	overflow: auto;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;/*最前面に*/
	width: 90%;/*右側に隙間を作る（閉じるカバーを表示）*/
	max-width: 50%;/*最大幅（調整してください）*/
	height: 100%;
	background: #fff;/*背景色*/
	transition: .3s ease-in-out;/*滑らかに表示*/
	-webkit-transform: translateX(-105%);
	transform: translateX(-105%);/*左に隠しておく*/
}

/*チェックが入ったらもろもろ表示*/
#nav-input:checked ~ #nav-close,
#footer-nav-input:checked ~ #footer-nav-close,
#skyphoto_nav-input:checked ~ #skyphoto_nav-close {
	display: block;/*カバーを表示*/
	opacity: .5;
}
#nav-input:checked ~ #nav-content,
#footer-nav-input:checked ~ #footer-nav-content,
#skyphoto_nav-input:checked ~ #skyphoto_nav-content {
	-webkit-transform: translateX(0%);
	transform: translateX(0%);/*中身を表示（右へスライド）*/
	box-shadow: 6px 0 25px rgba(0,0,0,.15);
}
/*640pxより大きい場合は非表示*/
@media screen and (min-width:640px) {
	#nav-open,
	#footer-nav-open,
	#skyphoto_nav-open {
		display:none;
	}
}
@media screen and (max-width:640px) {
	.global_nav {
		display:none;
	}
	header h1{
		position:static;
	}
	header h1 img{
		display:block;
		margin:auto;
	}
	div.header_right{
		position:static;
		margin:auto;
	}
	.skyphoto_nav{
		display:none;
		overflow:hidden;
	}
}

/*ナビオープンのデザイン*/
#nav-content ul li a,
#footer-nav-content ul li a,
#skyphoto_nav-content ul li a{
	display:block;
	padding:10px 10px;
	border-bottom:1px solid #666;
	text-decolation:0;
	color:#333;
}
#nav-content ul li a:hover,
#footer-nav-content ul li a:hover,
#skyphoto_nav-content ul li a:hover{
	font-weight:bold;
	background-color:#eee;
}



/*空撮実績のリストオープンの仕組み*/

/*チェックボタン非表示*/
#phlist-bottun{
	display: block;
	cursor: pointer;
	background-color: #CCC;
	text-align: center;
	border-left:5px #000 solid;
	border-right:5px #000 solid;
}

#phlist-contents dt,
#phlist-contents dd{
	line-height:0;
	visibility: hidden;
	opacity:0;
	padding:0;
	height:0;
	transition:all .3s ease-out;
}
#phlist-contents dt.is-open,
#phlist-contents dd.is-open{
	line-height:1.5;
	visibility: visible;
	opacity:100;
	padding-top:.2rem;
	padding-bottom:.2rem;
	height:auto;
}

@media screen and (max-width:640px) {
	#phlist-contents dt.is-open,
	#phlist-contents dd.is-open{
		line-height:0.8;
		visibility: visible;
		opacity:100;
		transition:all .3s ease-out;
	}
	#phlist-contents dt.is-open{
		padding-top:0.2rem;

	}
	#phlist-contents dd.is-open{
		padding-bottom:0.2rem;
	}
	.opened{
	height:200px;
	overflow-y:scroll;
	}
	.closed{
	height:0px;
	overflow-y:hidden;
	}

}
.remove-bottun{
	overflow:hidden;
	height:0;
}