@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; }

* { box-sizing: border-box; font-family: inherit; font-size: inherit; line-height: inherit; font-weight: 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; }

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: "Noto Sans Japanese", sans-serif;}

/* 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";}


/* layout settings */
#wrapper { width: 100%; min-height:100%; z-index: 0; transition: transform 0.5s ease-in-out; }

header { }


main { display: block; width: 100%; text-align: center;}	
#layout { width: 100%; text-align: center; padding:0 20px;}

.fbox { z-index: 0; background:#E5F3FF url("../images/fbox.jpg") no-repeat center top / cover; width: 100%;}
	.fbox .inner { display: flex; padding: 20px; width: 100%; max-width: 1200px; margin: 0 auto;}
		.finquiry { position: relative; background: rgba(255,255,255,.5); text-align: center;}
			.finquiry h2 {font-size: 14px; font-weight: bold; padding: 10px 0;}
			.finquiry p { width: 100%; max-width: 280px; font-size: 14px; padding: 10px 0; margin: 0 auto;text-align: left;}
		.finfo { position: relative; text-align: left; background: rgba(255,255,255,.5);}
			.finfoinner { max-width: 280px; margin: 0 auto;}
			.finfo h2 {font-size: 16px; font-weight: bold; padding:20px 0 2px 20px;}
				.finfo h2::before { content: "■"; margin-left: -1.5em; float: left;}
			.finfo h3 { font-size: 14px; padding: 2px 20px;}
			.finfo p { font-size: 14px; padding: 2px 0 20px 20px;}
				.finfo p a { color: #09C; text-decoration: none; opacity: 1; transition: .3s;}
				.finfo p a:hover { opacity: .6;}

footer { width: 100%; text-align: center; padding:20px; position: relative; z-index: 0;}
	footer p { font-size:14px; padding:4px 0; text-align: center;}
	footer img { padding: 20px;} 

.pagetop { display: none; position: fixed; text-decoration: none; text-align: center; font-family: Arial, Helvetica, "sans-serif"; color: #FFF !important;}
	.pagetop a {color:#FFF; }

.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:#777; text-decoration:none; white-space: nowrap;}
			.pagenavi a:hover { color:#000;}
	.pagenavi strong { min-width: 3em; padding:5px 2px; margin:0 0 5px 5px; color:#000; text-decoration:none; white-space: nowrap;}

.inner { margin: 0 auto;}

.hidesvg { display: none;}

/* 320 + settings */
@media all and (min-width:320px){
	header h1 { width: 100%; height: calc(100vh - 56px); overflow: hidden; background:#BBB url("../images/header-image-sp.jpg") center bottom / cover;}
	header img { width: 36%; height: 36%; margin-top: 10%; filter: drop-shadow(0px 3px 10px rgba(0,0,0,.8));}
	
	.inner { padding-top: 20px; padding-bottom: 20px;}	
}

/* 640 + settings */
@media all and (min-width:640px){
	header { width: 100%; background: url("../images/header-image-sp-bg.jpg") bottom repeat-x;}
	header h1 { width: 640px; height: 100vh; margin: 0 auto; overflow: hidden; background:#BBB url("../images/header-image-sp.jpg") center bottom / cover;}
	header img { margin-top: 10%;}
	.inner { padding-top:30px; padding-bottom: 30px;}
		
}



/* 760- settings */
@media all and (max-width:760px){
	.onlypc {display: none;}
	nav { width: 100%; position: fixed; bottom: -1px; z-index: 100;}
	.navpc { display: none;}
	.navsp { width: 100%; display: flex; justify-content:space-around; z-index: 10;}
		.navsp li { display: block;}
			.navsp li a { display: block; text-align: center; padding: 5px; opacity:1; transition: .3s; vertical-align: bottom;}
			.navsp li a:hover{ opacity: .7;}
		.navsp li:nth-of-type(1) { width:28%;}
			.navsp li:nth-of-type(1) a { background:#F5E5E7;}
		.navsp li:nth-of-type(2) { width:28%;}
			.navsp li:nth-of-type(2) a { background:#DADEE3;}
		.navsp li:nth-of-type(3) { width:28%;}
			.navsp li:nth-of-type(3) a { background:#DBE8E8;}
		.navsp li:nth-of-type(4) { width:15%;}
			.navsp li:nth-of-type(4) a { background:#F5E5E7;}

	#wrapper { padding-bottom: 44px;}
}


/* 760px+ settings */
@media all and (min-width:760px){
	.onlysp {display: none;}
		
	header { width: 100%; background:#BBB url("../images/header-pc-bg.jpg") center bottom / cover;}
	header h1 { width:720px; padding:0 20px; height: 100vh; margin: 0 auto; overflow: hidden; background:none; text-align: left;}
	header img { width: auto; height: auto; margin-top: 100px;}
	
	nav { width: 50px; position: fixed; right: 0; top: 0; z-index: 100;}
	.navsp { display: none;}
	.navpc { width:50px; height: 100vh; position: relative;}
		.navpc li a { display: block; padding: 1px 0 0 0; opacity: 1; transition: .3s;}
		.navpc li a:hover {opacity: .7;}
		.navpc li:nth-of-type(1) { position: absolute; top: calc(50% - 175px);}
		.navpc li:nth-of-type(2) { position: absolute; bottom: 0;}
	
	.pagenavi p {  justify-content:center;}

	.inner { padding-top:40px; padding-bottom: 40px;}

}


/* 960 + settings */
@media all and (min-width:960){
}

/* 1200 + settings */
@media all and (min-width:1200px){
}

/* print only settings */
@media print{
	.pagetop {display:none; visibility: hidden;}
}