@charset "UTF-8";

/* basic settings */
html, body, h1, h2, h3, h4, h5, h6,
a, p, span, em, small, strong, sub, sup,
mark, del, ins, strike, abbr, dfn,
blockquote, q, cite, code, pre,
ol, ul, li, dl, dt, dd,
div, section, article,
header, main, aside, nav, footer,
img, figure, figcaption,
address, time,
audio, video,
canvas, iframe,
details, summary,
fieldset, form, label, legend,
table, caption,tbody, tfoot, thead,tr, th, td { margin: 0; padding: 0; border: 0; }

html { font-size: 62.5%; width: 100%; min-width: 320px; min-height:100%; -webkit-text-size-adjust:100%; }
body { font-size: 16px; line-height: 1.5; width: 100%; min-height:100%; min-width: 320px; overflow-x: hidden; color:#333; background:#FFF; font-family:'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', 'メイリオ', Meiryo, sans-serif;}
* { box-sizing: border-box; font-family: inherit; font-size: inherit; line-height: inherit; }
*:before, *:after { box-sizing: inherit; }
article, aside, footer, header, nav, section, main { display: block;}
a, a:visited, a img { color: inherit; transition: all .3s; word-break: break-all;}
table { border-collapse: collapse; border-spacing: 0; }
ol, ul { list-style: none; }
img, video { max-width: 100%; }
img { border-style: none; vertical-align: middle;}
blockquote, q { quotes: none; }
	blockquote:after, blockquote:before, q:after, q:before { content: ""; content: none; }
[hidden] { display: none !important; }
[disabled] { cursor: not-allowed; }
:focus:not(:focus-visible) { outline: none; }

/* local class */
.red { color: #F00;}
.blue { color: #165EA2;}
.green { color:#060;}
.tar { text-align:right;}
.tal { text-align:left;}
.tac { text-align:center;}
.f8 {font-size:8px;}
.f9 {font-size:9px;}
.f10 {font-size:1px;}
.f11 {font-size:11px;}
.f12 {font-size:12px;}
.f13 {font-size:13px;}
.f14 {font-size:14px;}
.f15 {font-size:15px;}
.f16 {font-size:16px;}
.f18 {font-size:18px;}
.f20 {font-size:20px;}
.f22 {font-size:22px;}
.f24 {font-size:24px;}
.f26 {font-size:26px;}
.f28 {font-size:28px;}
.f32 {font-size:32px;}
.f36 {font-size:36px;}
.f42 {font-size:42px;}
.fb { font-weight: bold;}
.fg {font-family: Arial, Helvetica, "sans-serif";}

/* responsible settings */
#globalcheck[type="checkbox"] { display: none; }
#globalnav-close { display: none; height: 100%; top: 0; bottom: 0; position: fixed; right: 0; left: 0; padding: 0; background-color: #FFF; z-index:2; transition: transform 0.5s ease-in-out; cursor: pointer;}


/* layout settings */
#wrapper { width: 100%; min-height:100%; z-index: 0; transition: transform 0.5s ease-in-out; }

header { width: 100%; text-align: center; z-index: 1;  border-top:2px solid #E60012;}
	nav { display:flex; width:100%; padding: 0; margin: 0 auto;}
	#hlogo { display:flex; justify-content: center; width:100%; max-width:320px; height: 100%; align-items: center; padding:0 10px;}

main { display: block; width: 100%; text-align: center;}	
#layout { width: 100%; text-align: center; padding:0 20px;}


.fcontact { border-top:2px solid #E60012; border-bottom:2px solid #E60012; padding: 20px 0;}
	.fcontact .inner { width: 100%; max-width: 680px; margin: 0 auto; display: flex; justify-content: center; flex-wrap: wrap;}
		.ftel, .finquiry { padding: 10px 10px;}
	.fcontact p { display: block; font-size: 16px; padding:5px 0; text-align: center;}
		.fcontact p strong { font-size:20px; }
		.fcontact p img { padding: 5px 0;}
		.finquiry a { display: block; width: 100%; max-width: 280px; color:#FFF; text-decoration: none; background:#E60039; padding:20px 0; margin: 0 auto;}
		.finquiry a:hover {background:#A90000; }

footer { width: 100%; text-align: center; padding: 40px 0;}
	footer .inner { width: 100%; max-width: 1200px; padding: 20px 0; margin: 0 auto;}
	footer p { font-size: 16px; padding:10px 0;}
		footer p span { display: inline-block; padding: 0 .5em; white-space: nowrap;}
		footer p strong { font-size:20px; padding: 0 .5em; }
		footer p .fg { font-size: 12px;}
		footer p a { color:#000; text-decoration: none;}
			footer p a:hover { color:#A90000; text-decoration: underline;}


.pagetop { display: none; position: fixed; text-decoration: none; text-align: center; font-family: Arial, Helvetica, "sans-serif";}


#title { display: flex; justify-content: center; align-items: center; width: 100%; padding:10px 0; color: #000; background:#E60039;}
	#title h1 { display: block; width: 100%; max-width: 1200px; text-align: left; color: #FFF; font-size: 24px; background:#E60039 url("../images/title-pt.svg") right / contain no-repeat;}
		#title h1::after { display: block; font-size: 14px; font-weight: normal; text-align: left;}

h2.title { display: block; width: 100%; max-width:960px; padding:30px 0 10px 0; margin: 0; font-size: 20px; text-align: left; border-bottom: 1px solid #CCC;}



.anchornav { padding:20px 0 40px 0; text-align: left;}
	.anchornav p { font-size: 16px; padding: 10px 0; background:#EEE;}
		.anchornav p a { display: inline-block; color:#333; text-decoration: none; padding:5px 20px; white-space: nowrap;}
			.anchornav p a::before { content:"〉"; font-size: 12px;}
			.anchornav p a:hover { color:#E60039; text-decoration: underline;}

.pagenavi {width:100%; clear:both; padding:20px 0;}
	.pagenavi p { display: flex; flex-wrap: wrap; justify-content:flex-start; font-size:12px; line-height:2em; padding:0; margin:0; text-align: center; }
	.pagenavi a { min-width: 3em; padding:5px 2px; margin:0 0 5px 5px; color:#333; text-decoration:none; background:#CCC; white-space: nowrap;}
			.pagenavi a:hover { color:#FFF; background:#555;}
	.pagenavi strong { min-width: 3em; padding:5px 2px; margin:0 0 5px 5px; color:#FFF; text-decoration:none; background:#555; white-space: nowrap;}

.inner { margin: 0 auto;}


/* 320 + settings */
@media all and (min-width:320px){
	.inner { padding-top: 20px; padding-bottom: 20px;}
	.ftel, .finquiry { width: 100%;}
	#title h1 { padding: 40px 20px;}
}

/* 640 + settings */
@media all and (min-width:640px){
	.onlyssp {display: none;}
	.inner { padding-top:30px; padding-bottom: 30px;}
	.ftel { width: 50%;}
	.finquiry { border-left: 1px solid #CCC; width: 50%;}
	#title h1 { padding: 60px 20px;}
		
}

/* 960- settings */
@media all and (max-width:960px){
	.onlypc {display: none;}

	input#globalcheck[type="checkbox"]:checked ~ #wrapper { transform: translateX(-300px); opacity:.2; }
	input#globalcheck[type="checkbox"]:checked ~ #globalnav { transform: translateX(-300px); }
	input#globalcheck[type="checkbox"]:checked ~ #globalnav-close { transform: translateX(-300px); display: block; opacity:0;}

	#globalnav { background: #FFF; border-left:1px solid #999; position: fixed; top: 0; bottom: 0; right:-300px; padding:0; width:299px; height:100%; overflow-y: auto; z-index:2; transition: transform 0.5s ease-in-out;}
		#globalnav p { display: block; box-sizing: border-box; width: 100%; padding:10px; border-top: 1px solid #CCC; font-size: 16px; }
			#globalnav p a { display:flex; justify-content: space-between; color:#333; text-decoration: none; padding-left:20px; padding-right:10px;}
				#globalnav p a::after {content:" 〉"; font-weight: bold;}
			#globalnav ul { padding: 0 0 15px 40px;}
				#globalnav li { padding: 2px 0; font-size: 14px;}
					#globalnav li::before { content:"+ ";}
				#globalnav li a { padding:5px 0; text-decoration: none;}
					#globalnav li a:hover { text-decoration: underline;}
	header {}
		nav { justify-content: space-between; height: 70px; }
		#hnavsp { width: 60px; padding:0; }
			#hnavsp p { margin: 0; padding:0; text-align: center; color: #333;}
			#hnavsp label { display: block; width:60px; height: 70px; padding:26px 18px 0 18px; text-align: center; font-size: 12px; cursor: pointer;}
				#hnavsp span { display: block; width: 100%; height:3px; border-radius: 10px; margin-bottom:5px; background:#000;}

	.pagetop { width: 100%; bottom: 0; left: 0; padding: 10px 0; border-top:1px solid #CCC; color:#999; background:#FFF;}
		.pagetop:before { content: "PAGE TOPへ"; font-size:12px;}
		.pagetop:hover { color:#FFF; background:#E60039;}

	#wrapper { padding-bottom: 44px;}
}


/* 960px+ settings */
@media all and (min-width:960px) {
	.onlysp {display: none;}
	nav { max-width: 1200px; justify-content: space-between; height: 70px;}
	#hnavpc { width: calc(100% - 300px); max-width: 640px; }
	#hnavpc ul { display: flex; width: 100%; margin: 0 auto; justify-content: space-between;}
	#hnavpc li { font-size: 15px; padding:0 0;}
		#hnavpc li a {display:block; padding: 0 5px; text-align: center; text-decoration: none; color:#000;}
			#hnavpc li a::before { content:""; display: block; width: 3px; height: 12px; overflow: hidden; margin: 0 auto 12px auto; background:rgba(255,255,255,0);}
			#hnavpc li.active a::before, #hnavpc li a:hover::before { background:#E60039;}

	.pagetop {bottom: 10px; right: 30px; width: 120px; height: 120px; border: 1px solid #CCC; border-radius:120px; color: #333; background:#FFF;}
		.pagetop:before { content: "PAGE TOP"; display: block; padding:20px 0 0 0; font-size: 12px; }
		.pagetop:after { content: ""; display: block; width: 64px; height: 64px; background: url("../images/pagetop.svg") center left / contain no-repeat; margin: 0 0 0 32px;}
		.pagetop:hover { color:#FFF; background:#E60039;}
	
	.pagenavi p {  justify-content:center;}

	.inner { padding-top:40px; padding-bottom: 40px;}
}

/* 1200 + settings */
@media all and (min-width:1200px){
}

/* print only settings */
@media print{
	.pagetop {display:none; }
}