@charset "utf-8";

/* ------------------------------
reset
------------------------------ */

a{
	color: #464646;
	text-decoration: none;
}
a:hover {
	text-decoration: none;
} 
html{
	font-size: 62.5%;
}
body, h1, h2, h3, h4, h5, h6, p, address,
ul, ol, li, dl, dt, dd,
table, th, td, img, form {
	margin: 0;
	padding: 0;
	border: none;
	line-height: 100%;
	list-style-type: none;  
	font-style: normal;
	font-family: helvetica,-apple-system,"Hiragino Sans","メイリオ", sans-serif;
	font-weight: 400;
	text-align: left;
	color: #464646;
}
textarea { font-size: 100%; }
img { vertical-align: bottom; }

/* ------------------------------
base
------------------------------ */

body{
	position: relative;
	font-size: 1.0rem;
	min-width: 1200px;
	overflow-x: hidden;
}
p,table,dl,ol,ul li  {
	font-size: 1.5rem;
	line-height: 1.7;
}

/* ------------------------------
contents
------------------------------ */

.wrap{
	width: 1140px;
	box-sizing: border-box;
	margin: 0 auto;
}
#header{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
}
#header .logo{
	padding: 23px 0 0;
}
#toggle {
	display: none;
	position: fixed;
	top: 3.5vw;
	right: 4vw;
	justify-content: center;
	align-items: center;
	width: 6.6vw;
	height: 5.8vw;
	cursor: pointer;
	z-index: 101;
	transition: 0.3s;
	box-sizing: border-box;
	border-radius: 100%;
}
#toggle div {
	position: relative;
	width: 22px;
	height: 18px;
	margin: 0;
}
#toggle span {
	display: block;
	position: absolute;
	height: 2px;
	width: 100%;
	background: #00468C;
	left: 50%;
	transition: .35s ease-in-out;
	transform: translateX(-50%);
	border-radius: 3px;
}
#toggle span:nth-child(1) {
	top: 0;
}
#toggle span:nth-child(2) {
	top: 50%;
	margin-top: -1px;
}
#toggle span:nth-child(3) {
	bottom: 0;
}
#toggle p{
	width: 100%;
	text-align: center;
	font-size: 1.0rem;
	line-height: 1.0;
	letter-spacing: -0.02em;
	color: #fff;
	margin-top: 0.5em;
}
.open #toggle span:nth-child(1) {
	top: 2.75vw;
	left: 0;
	transform: rotate(45deg);
}
.open #toggle span:nth-child(2) {
	width: 0;
	left: 50%;
}
.open #toggle span:nth-child(3) {
	bottom: 2.75vw;
	left: 0;
	transform: rotate(-45deg);
}
.open #gnav {
	-moz-transform: translateY(100vh);
	-webkit-transform: translateY(100vh);
	transform: translateY(100vh);
}
.open #gnav {
	-moz-transform: translateY(100vh);
	-webkit-transform: translateY(100vh);
	transform: translateY(100vh);
}
#header #gnavi {
	position: relative;
	z-index: 2;
}
#header #gnavi .menu{
	padding: 175px 0 0;
}
#header #gnavi .menu li {
	position: relative;
	font-size: 1.5rem;
	text-align: right;
}
#header #gnavi .menu li + li{
	margin-top: 1.2em;
}
#header #gnavi .menu li img{
	width: 47px;
	height: auto;
}
#header #gnavi .menu li a{
	transition: 0.3s;
	box-sizing: border-box;
}
#header #headerWrap{
	position: relative;
	max-width: 1140px;
	margin: 0 auto;
}
#header #headerInner{
	position: absolute;
	top: 0;
	right: 0;
	width: 400px;
}
#header .contact{
	position: absolute;
	top: 0;
	right: -70px;
	width: 400px;
	height: 151px;
	background: url(../img/bg_header.jpg) 0 0 no-repeat;
	background-size: 100% auto;
	padding: 24px 0 0;
	box-sizing: border-box;
}
#header .contact .tel{
	font-size: 2.8rem;
	font-weight: 700;
	margin: 0 0 10px;
}
#header .contact .tel a{
	pointer-events: none;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #00468C;
}
#header .contact .tel a img{
	margin-right: 10px;
}
#header .contact .tel a span{
	display: inline-block;
	letter-spacing: 0.1em;
}
#header .contact .txt{
	text-align: center;
	font-size: 1.4rem;
	color: #00468C;
	line-height: 1.5;
}
main{
	display: block;
}


#footer{
	background: #EBF2F1;
	position: relative;
	padding: 60px 0 20px;
}
#footer p{
	text-align: center;
}
#footer .name{
	font-size: 2.5rem;
	line-height: 1.4;
}
#footer .tel{
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2.8rem;
	font-weight: 700;
	margin-top: 0.5em;
}
#footer .tel a{
	pointer-events: none;
	letter-spacing: 0.1em;
	margin-left: 0.5em;
}
#footer .copy{
	margin-top: 2em;
}

@media screen and (min-width : 768px){

	.pc{
		display:block!important;
		line-height: 0;
	}
	.sp{
		display:none!important;
		line-height: 0;
	}
	a{
		transition: all 0.3s ease;
		text-decoration: none;
	}
	a:hover{
		opacity: 0.7;
	}
}

@media screen and (max-width : 767px){

	html{ overflow:auto; }
	body{ min-width: inherit; overflow: hidden;}
	p, table, dl, ol, ul li{ font-size: 3.8vw; text-align: justify;}
	img{ width:100%; height: auto; }
	main{
		display: block;
	}
	.wrap{
		width: auto;
		padding: 0 5vw;
	}
	.pc{
		display:none!important;
		line-height: 0;
	}
	.sp{
		display: block!important;
		line-height: 0;
	}
	.fixed {
		position: fixed;
		width: 100%;
		/*height: 100%;*/
	}
	#header{
		pointer-events: none;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		z-index: 100;
		overflow: initial;
		background: #fff;
	}
	#header #headerWrap{
		position: relative;
		pointer-events: all;
	}
	#header #headerWrap::before{
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 3px;
		background: url(../img/common/border_01.png) center center repeat-x;
		background-size: auto 3px;
		z-index: 10;
	}
	#header #headerWrap::after{
		content: none;
	}
	#header.open #headerInner{
		transform: translate(0); 
	}
	#header #headerInner {
		display: block;
		position: fixed;
		top: 14vw;
		right: 0;
		width: 100%;
		height: calc(100vh - 14vw);
		text-align: center;
		padding: 5vw 5vw 25vw;
		background-color: #fff;
		transition: all 0.5s;
		transform: translate(100%);
		box-sizing: border-box;
		z-index: 100;
		overflow-y: scroll;
		-webkit-overflow-scrolling: touch;
	}
	#header .logo{
		width: auto;
		height: 10vw;
		padding: 2vw 0 2vw 4vw;
	}
	#header .logo a{
		display: block;
	}
	#header .logo img{
		width: auto;
		height: 10vw;
	}  
	#toggle{
		display: block;
	}
	#header #gnavi{
		display: block;
		width: auto;
		padding: 0;
	}
	#header #gnavi .menu{
		display: block;
		width: auto;
		padding: 10vw 0 0;
	}
	#header #gnavi .menu li{
		width: auto;
		font-size: 5vw;
		text-align: left;
		margin: 0 auto;
	}
	#header #gnavi .menu li a{
		display: block;
	}
	#header #gnavi .menu li+li{
		margin-top: 1em;
	}
	#header .contact{
		right: 0;
		display: block;
		width: 40vw;
		height: 25vw;
		background: url(../img/bg_header_bg.png) 0 0 no-repeat;
		background-size: 100% auto;
		margin: 0;
		padding: 3vw 0 0;
		z-index: 101;
	}
	#header .contact .tel{
		width: 5vw;
		margin: 0 0 0 18vw;
	}
	#header .contact .tel a{
		pointer-events: all;
		font-size: 0;
	}
	#header .contact .tel a img{
		margin: 0;
	}
	#header .contact .txt{
		font-size: 2.6vw;
		transform: scale(0.75);
		margin: 0 0 0 8vw;
	}

	#header .number{
		display: block;
		margin: 5vw 0;
	}
	#header .number p{
		font-size: 6.4vw;
		color: #fff;
		justify-content: center;
	}
	#header .number .tel{
		font-size: 6.4vw;
		margin-bottom: 0.5em;
	}
	#header .number .tel a{
		pointer-events: all;
		color: #fff;
	}
	#header .number img{
		height: 9vw;
		margin-right: 3vw;
	}
	#header .time{
		display: inline-block;
		margin-right: 30vw;
	}
	#header .time li+li{
		margin: 1em 0 0 0;
	}
	#header .time .detail{
		font-size: 4.2vw;
		color: #fff;
	}
	#header .time .info{
		font-size: 3.6vw;
		width: 20vw;
		background-size: 100% 100%;
		margin-right: 1em;
		line-height: 2.0;
	}

	.container{
		padding-top: 14vw;
	}
	#footer{
		padding: 12vw 0 5vw;
	}
	#footer .name{
		font-size: 6.6vw;
	}
	#footer .address{
		margin-top: 1.2em;
	}
	#footer .tel{
		font-size: 6.6vw;
		margin: 0.8em 0 0.4em;
	}
	#footer .tel img{
		width: auto;
		height: 1.2em;
	}
	#footer .tel a{
		pointer-events: all;
		margin-left: 0.2em;
	}
	#footer .copy{
		position: relative;
		bottom: 0;
		left: 0;
		width: auto;
		font-size: 2.6vw;
		text-align: center;
		margin: 1em 0 0;
	}

}

@media (orientation: landscape) and (max-width : 767px){

	#header #headerInner{
		padding-bottom: 10vw;
	}

}

.fontplus-trial-banner{
	display: none!important;
}

.clear{
	clear:both;
}
/* ------------------------------
clearfix
------------------------------ */

.cf:after{
	content: "."; 
	display: block; 
	height: 0; 
	font-size:0;	
	clear: both; 
	visibility:hidden;
}

.cf {display: inline-block;} 

/* Hides from IE Mac */
* html .cf {height: 1%;}
.cf {display:block;}
/* End Hack */ 