@charset "utf-8";

/* -------------------------------------------------- パソコン */
@media screen and (min-width:768px){
	/* 表示領域が768px以上の場合に適用するスタイル */
	#nav-drawer {
	display:none;
	}
}

/* プリント */
@media print {
	#nav-drawer {
	display:none;
	}

}


/* -------------------------------------------------- スマートフォン */
@media screen and (max-width:768px) {
	/* 表示領域が768px未満の場合に適用するスタイル */

#nav-drawer {
	position: relative;
	background: #223870;
	margin:-10px 0 5px 0;
	padding:10px;
	text-align:left;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
	}

/*チェックボックス等は非表示に*/
.nav-unshown {
	display:none;
	}

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

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

#nav-open span:before {
	bottom: -8px;
	}

#nav-open span:after {
	bottom: -16px;
	}

/*閉じる用の薄黒カバー*/
#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 {
	overflow: auto;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;/*最前面に*/
	width: 90%;/*右側に隙間を作る*/
	max-width: 330px;/*最大幅*/
	height: 100%;
	background: #fff;/*背景色*/
	transition: .3s ease-in-out;/*滑らかに表示*/
	-webkit-transform: translateX(-105%);
	transform: translateX(-105%);/*左に隠しておく*/
	opacity: .92;
	}

/*チェックが入ったらもろもろ表示*/
#nav-input:checked ~ #nav-close {
	display: block;/*カバーを表示*/
	opacity: .5;
	}

#nav-input:checked ~ #nav-content {
	-webkit-transform: translateX(0%);
	transform: translateX(0%);/*中身を表示*/
	box-shadow: 6px 0 25px rgba(0,0,0,.15);
	}

#nav-content .title{
	width: 94%;
	margin:3%;
	padding:14px;
	background: #223870;
	color:#FFFFFF;
	font-size:1.8rem;
	font-weight:bold;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
	}

#nav-content ul{
	margin:0 0 15px 3%;
	}

#nav-content ul:last-child {
	margin: 0 0 50px 3%;
	}

#nav-content ul li{
	margin:0 0 5px 0;
	font-size:1.4rem;
	color:#223870;
	line-height:160%;
	}

#nav-content ul li a{
	color:#223870;
	text-decoration:none;
	}

#nav-content ul li.top_nav{
	padding: 0 0 0 22px;
	background: url(../img/left_point04.jpg) left 3px no-repeat;
	font-size:1.5rem;
	font-weight:bold;
	}

/* 無料相談実施中 */
#nav-content .sp_about{
	width: 94%;
	margin:3% 3% 15% 3%;
	padding: 10px;
	border: #223870 double 7px;	
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
	clear: both;
	text-align:center;
	}

#nav-content .sp_about .about_title {
	position: relative;
	color: #E83015;
	font-size: 2.2rem;
	font-weight: bold;
	display: inline-block;
	margin:20px 0;
	text-shadow: 0 0 2px white;
	}

#nav-content .sp_about .about_title:before {
	content: "";
	position: absolute;
	background: #FFD69D;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	top: 50%;
	left: 50%;
	-moz-transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	-o-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
	z-index: -1;
	}

#nav-content .sp_about p{
	color: #333333;
	font-size: 1.3rem;
	line-height: 160%;
	}

#nav-content .sp_about ul{
	padding:10px 0;
	}

#nav-content .sp_about li{
	color: #223870;
	font-size: 1.2rem;
	line-height: 160%;
	}

#nav-content .sp_about li.tel a{
	color: #223870;
	font-size: 2.0rem;
	font-weight: bold;
	text-decoration: none;
	}

}