@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:#000; 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;}
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; }
_:-ms-input-placeholder, * {
	font-family:"メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif" !important;
}

/* 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;}
.fg {font-family: Arial, Helvetica, "sans-serif";}

.kenburnshover {position: relative;}
	.kenburnshover::after { position: absolute; content:""; display: block; width: 100%; height: 100%; top: 0; background-repeat:no-repeat; background-position: center center; background-size: cover; transition: all .3s ease-out; z-index: 0;}
		.kenburnshover:hover::after {transform: scale(1.1);}
	.kenburnshover a { position: relative;z-index: 1;}

/* 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; background: #FFF;}
	nav { display:flex; justify-content: space-between; width:100%; padding: 0; margin: 0 auto;}
	#hlogo { display:flex; max-width:240px; align-items: center; padding-left: 10px;}

main { display: block; width: 100%; text-align: center;}

#title { display: flex; justify-content: center; align-items: center; width: 100%; background: url("../images/title-bg.jpg") no-repeat center center / cover; color:#FFF;}
	#title h1 { display: block; width: 100%; max-width:1100px; padding:12px 20px 0 20px; margin: 0; font-size:28px; line-height: 20px; text-align: center;}
		#title h1 span.fg { display: block; padding: 10px 0 0 2px; font-size:14px; font-weight: normal;}

.finquiry { background:url("../images/finquiry-bg.jpg") no-repeat center / cover;}
	.finquiry h2 { display: block; max-width: 800px; padding:10px 0 15px 0; margin: 0 auto; text-align: center;}
	.finquiry p { display: block; max-width: 800px;  padding:5px 0; font-size: 16px; margin: 0 auto;}
		p.finquiry-btn a { display: inline-block; width:100%; max-width: 240px; font-size:14px; padding:6px 0; text-align: center; text-decoration: none; color:#FFF; border:1px solid #B0201E; border-radius:40px; background:#B0201E;}
			p.finquiry-btn a::before {content:"...　";}
			p.finquiry-btn a:hover { color:#B0201E; background:#FFF;}

footer { width: 100%; text-align: center; margin: 0 auto;}
	footer ul { width: 100%; margin: 0 auto; padding: 0; list-style:none;}
		footer li { padding: 10px 0; font-size:14px; line-height: 1.5em;}
		footer strong { display:inline-block; padding-bottom: 5px; font-size: 18px;}
		footer a { display: inline-block; padding: 0; text-decoration: none; color:#666;}
			footer a:before { content: "〉";}
			footer a:hover { color:#B0201E; text-decoration: underline;}
		footer .fg { display: block; font-size:12px; color:#666;}


.pagetop { display: none; position: fixed; z-index: 20; text-decoration: none; text-align: center; font-family: Arial, Helvetica, "sans-serif";}

.inner960, .inner1080, .inner1200 { padding: 20px; margin: 0 auto; text-align: center;}
.inner960 { max-width: 1000px;}
.inner1080 { max-width: 1120px;}
.inner1200 { max-width: 1240px;}


/* 320 + settings */
@media all and (min-width:320px){
	header { height: 80px;}
	#title { height: 120px;}
	.inner960, .inner1080, .inner1200{ padding:30px 20px;}
	.finquiry h2 { font-size:20px; }
	.footer ul { display: block;}
}

/* 640 + settings */
@media all and (min-width:640px){
	#title { height: 150px;}
	.inner960, .inner1080, .inner1200{ padding:40px 20px;}
	.finquiry h2 { font-size:22px; }
}

/* 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 { height: 80px;}
		#hnavsp { width: 80px; padding:0; }
			#hnavsp p { margin: 0; padding:0; text-align: center; color: #333;}
			#hnavsp label { display: block; width:80px; height: 80px; padding:26px 20px 0 20px; text-align: center; font-size: 12px; cursor: pointer;}
				#hnavsp span { display: block; width: 100%; height: 4px; border-radius: 0; margin-bottom:8px; background:#000;}

	.finquiry h2 { font-size:22px; }
	footer { padding:20px 20px;}
	
	.pagetop { width: 100%; bottom: 0; left: 0; padding: 10px 0; border-top:1px solid #FFF; color:#FFF; background:#555;}
		.pagetop:before { content: "PAGE TOPへ"; font-size:12px;}
		.pagetop:hover { color:#FFF; background:#0064B7;}

	#wrapper { padding-bottom: 44px;}
}


/* 960px+ settings */
@media all and (min-width:960px) {
	.onlysp {display: none;}
	header {height: 70px;}
	nav { max-width: 1200px;}
		nav ul { width: 620px; display: flex; justify-content: flex-end;}
		nav li { padding: 0 0 0 5px;}

	#title { height: 150px;}

	footer { padding:40px 0;}
	
	.pagetop {bottom: 30px; right: 30px; width: 80px; height: 80px; border: 1px solid #FFF; border-radius:40px; color: #FFF; background:#555;}
		.pagetop:after { content: "PAGE TOP"; display: block; padding:0; font-size: 12px; }
		.pagetop:before { content: "↑"; display: block; padding:14px 0 0 0; font-size: 14px; }
		.pagetop:hover { color:#FFF; background:#0064B7;}

	.inner960, .inner1080, .inner1200{ padding:50px 20px;}
	footer ul { max-width:1200px; display: flex; justify-content:space-between; align-items: flex-end; }
			footer li:first-of-type { text-align: left;}
			footer li:last-of-type { text-align: right;}
}

/* print only settings */
@media print{
	.pagetop {display:none; }
}