@charset "utf-8";
/* CSS Document */
#sp_box {
	display:none;
}
/**************************************
	ハンバーガーアイコン
***************************************/

#spicon {
	position:fixed;
	right:40px;
	top:40px;
	background-color:#00439e;
	background-position:50% 0;
	background-repeat:no-repeat;
	background-size:cover;
	width:60px;
	height:60px;
	z-index:9999;
	cursor:pointer;
}

#spicon span {
	position:absolute;
	border-bottom:2px solid #FFF;
	width:30px;
	height:2px;
	left:15px;
	transition: all .4s;
}

#spicon span:nth-child(1) {
	top:17px;
}

#spicon span:nth-child(2) {
	top:27px;
}

#spicon span:nth-child(3) {
	top:37px;
}

#spicon.m_active span:nth-child(1) {
  -webkit-transform: translateY(12px) rotate(-45deg);
  transform: translateY(12px) rotate(-45deg);
}

#spicon.m_active span:nth-child(2) {
	opacity:0;
}

#spicon.m_active span:nth-child(3) {
  -webkit-transform: translateY(-6px) rotate(-135deg);
  transform: translateY(-6px) rotate(-135deg);
}


/**************************************
	メニューオープン
***************************************/


#open_menu {
	background-position:50% 0;
	background-repeat:no-repeat;
	background-size:cover;
	position:fixed;
	z-index:9990;
	top:0;
	left:0;
	width:100%;
}


/***********/

#close {
	bottom:-20px;
	font-size:14px;
}

#center_box {
	text-align:left;
	color:#00439e;
	background-color:#fff001;
	position:fixed;
	left:0;
	top:0;
	width:100%;

	height:100vh;
	display:block;
	overflow:scroll;
	padding:80px 20px;
}


/**************************************
	メニューオープン
***************************************/

#close {
	position:absolute;
	text-align:center;
	bottom:-15px;
	left:0;
	width:100%;
	color:#FFF;
	font-size:18px;
	opacity:0;
	display:none;
}

/**************************************
	メニューテキストエリア
***************************************/

#center_box .page_link li {
	padding:5px 0;
}
#center_box .page_link a {
	color:#00439e;
	text-decoration:none;
	position:relative;
}

/**************************************
	MENU ANIMATION
***************************************/

.sp_box {
	background-color:#FFF;
	padding:20px;
	color:#000;
	width:94%;
	max-width:480px;
	margin:0 auto;
}

.sptel {
	padding-top:5px;
}

	.sptel a{
		color:#00439e !important;
		font-size:22px;
	}
	
	
@media only screen and (max-width: 1024px){


#sp_box {
	display:block;
}



#spicon {
	position:fixed;
	right:20px;
	top:17px;
	width:40px;
	height:40px;
}

#spicon span {
	border-bottom:1px solid #FFF;
	width:20px;
	height:2px;
	left:10px;
}

#spicon span:nth-child(1) {
	top:10px;
}

#spicon span:nth-child(2) {
	top:18px;
}

#spicon span:nth-child(3) {
	top:26px;
}

#spicon.m_active span:nth-child(1) {
  -webkit-transform: translateY(10px) rotate(-45deg);
  transform: translateY(10px) rotate(-45deg);
}
#spicon.m_active span:nth-child(3) {
  -webkit-transform: translateY(-5px) rotate(-135deg);
  transform: translateY(-5px) rotate(-135deg);
}

#open_menu {
	position:fixed;
	z-index:9990;
	top:0;
	left:0;
	width:100%;
}


/***********/

#close {
	bottom:-30px;
	left:-3px;
	font-size:14px;
	color:#00439e;
}

#center_box .page_link li {
	padding:10px 0;
	font-size:16px;
	position:relative;
}
#center_box .page_link li:after {
	content:"";
	border-bottom:1px solid #00439e;
	position:absolute;
	top:50%;
	right:0;
	transform:translateY(-50%);
	width:100%;
	z-index:10;
}
#center_box .page_link a {
	background-color:#fff001;
	padding:0 40px 0 0;
	position:relative;
	z-index:100;
}
#center_box a:after {
	top:10px;
}

#center_box p {
	font-size:12px
}


.m_img img {
	display:none;
}



#sns_sp {
	position:absolute;
	left:15px;
	top:10px;
}



/*********/

.sp_plan {
	margin-top:60px;
	position:relative;
	border:1px solid #00439e;
	padding:30px 0;
}

.sp_midashi {
	font-size:16px !important;
	text-align:center;
	color:#000;
	position:absolute;
	top:-30px;
	left:0;
	width:100%;
}

.sp_midashi span{
	background-color:#fff001;
	padding:0 20px;
	display:block;
	width:100%;
	max-width:240px;
	margin:0 auto;
}
.img90 {
	text-align:center;
	margin-top:20px;
}
.img90 img {
	width:90%;
	height:auto;
}

#sp_tel {
	position:fixed;
	right:80px;
	top:13px;
	z-index:99999;
	font-size:34px;
}

#sp_tel a{
	text-decoration:none;
	color:#00439e;
}

#sp_contact {
	position:fixed;
	right:130px;
	top:13px;
	z-index:99999;
	font-size:34px;
}

#sp_contact a{
	text-decoration:none;
	color:#00439e;
}

}


@media only screen and (max-width: 740px){
#center_box a:after {
	top:10px;
}
#center_box .m_ac a:after{
	top:10px;
}


#spicon {
	right:14px;
	top:7px;
}

#sp_tel {
	top:3px;
}

#sp_contact {
	top:3px;
}


}


