/* CSS Reset */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}

img {
	vertical-align: bottom;
}

input[type="submit"] {
    -webkit-appearance: none;
    border-radius: 0;
}


/* HTML */

body {
	font-family: serif !important;
	background-color: black;
	font-size: 20px;
	color: #EEEEEE;
	text-align: left;
}

@media screen and (max-width: 500px) {
	body {
		font-size: 4vw;
	}
}

a {
	color: #EEEEEE;
	text-decoration: none;
}

.site-content-contain {
	background-color: black !important;
	background-image: url(/_img/bg-bottom_fade.png) !important;
	background-repeat: no-repeat !important;
	background-size: 100%  !important;
}



/* Header */

div.Header {
	width: 100%;
	margin: 0 0 50px 0;
}

div.Header img {
	width: 100%;
}

img#headerImg-web {
	display: block;
}

img#headerImg-sp {
	display: none;
}

div.Header p {
	text-align: center;
	margin: 20px;
}

@media screen and (max-width: 1020px) {
	img#headerImg-web {
		display: none;
	}
	img#headerImg-sp {
		display: block;
	}
	div.Header p {
		text-align: left;
	}
}



/* FAQ Category */

ul.Category {
	max-width: 980px;
	margin: 50px auto 20px auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	list-style: none;
}

@media screen and (max-width: 1020px) {
	ul.Category {
		margin-left: 20px;
		margin-right: 20px;
	}
}

ul.Category li {
	width: calc((100% - 80px) / 3);
	margin-bottom: 20px;
	background-color: black;
	align-items: center;
}

ul.Category li a {
	line-height: 70px;
	display: block;
	border: 1px solid #EEEEEE;
	font-size: 1.2em;
	text-align: center;
	color: white;
	text-decoration: none;
}

@media screen and (max-width: 960px) {
	ul.Category li {
		width: calc((100% - 20px) / 2);
	}
}

@media screen and (max-width: 510px) {
	ul.Category li a {
		height: 3em;
		line-height: 3em;
	}
}

ul.Category li a:hover {
	background-color: #570E08;
}

ul li:nth-child(1) a {
	background-color: red;
}

ul#CategoryID8 li:nth-child(2) a {
	background-color: red;
}

ul#CategoryID6 li:nth-child(3) a {
	background-color: red;
}

ul#CategoryID9 li:nth-child(4) a {
	background-color: red;
}

ul#CategoryID7 li:nth-child(5) a {
	background-color: red;
}

ul#CategoryID10 li:nth-child(6) a {
	background-color: red;
}

ul#CategoryID8 li:nth-child(1) a {
	background-color: initial;
}

ul#CategoryID6 li:nth-child(1) a {
	background-color: initial;
}

ul#CategoryID9 li:nth-child(1) a {
	background-color: initial;
}

ul#CategoryID7 li:nth-child(1) a {
	background-color: initial;
}

ul#CategoryID10 li:nth-child(1) a {
	background-color: initial;
}



/* FAQ Search */

div.Search {
	max-width: 980px;
	margin: 20px auto 50px auto;
}

div.Search p {
	width: 170px;
	margin: 10px 5px 10px auto;
	text-align: right;
	cursor: pointer;
}

div.Search img {
	width: 30px;
	height: auto;
	margin-left: 10px;
}

div.Search img:last-child {
	transform: rotate(0deg);
}

@media screen and (max-width: 1020px) {
	div.Search {
		margin-left: 20px;
		margin-right: 20px;
	}
}

div.SearchWindow {
	margin: 10px auto;
	background-color: rgba(83, 77, 77, 0.5);
	padding: 20px;
}

div.SearchWindow form {
	text-align: center;
	display: flex;
	justify-content: center;
}

div.SearchWindow input:nth-child(1) {
	width: 70%;
	background-color: #EEEEEE;
	height: 50px;
	font-size: 1.2em;
	border: none;
	padding: 0 20px;
	font-family: serif;
	outline-color: #773976;
	color: black !important;
	border-radius: 0;
}

div.SearchWindow input:nth-child(1)::placeholder {
	font-family: serif;
	color: darkgray;
}

div.SearchWindow input:nth-child(3) {
	width: 15%;
	margin-left: 15px;
	background-color: #05255F;
	height: 50px;
	border: 1px solid #EEEEEE;
	color: #EEEEEE;
	font-size: 1em;
	font-family: serif;
	outline-color: #773976;
	border-radius: 0px;
}

@media screen and (max-width: 780px) {
	div.SearchWindow input:nth-child(1) {
		width: 100%;
	}
	div.SearchWindow input:nth-child(3) {
		width: 100%;
		margin-left: 0;
		margin-top: 15px;
	}
}

@media screen and (max-width: 780px) {
	div.SearchWindow form {
		display: inline;
	}
}



/* FAQ List */

section.FaqList {
	background-color: black;
	max-width: 980px;
	margin: 50px auto;
	padding: 20px 0;
	border: 2px solid #C7B299;
}

section.FaqList h1 {
	font-size: 1.8em;
	margin: 20px auto 35px 50px;
}

div.faqResultZero {
	margin: 40px;
	text-align: left;
}

div#fsn-base-search-results {
	width: 100%;
	margin: 0 !important;
	padding: 0 !important;
}

div.search-results-summary {
	font-size: 0.95em;
	letter-spacing: 0.05em;
	margin: 20px 50px;
}

div.faqResult p {
	font-size: 1.1em;
	margin: 5px 50px 200px 50px;
}

@media screen and (max-width: 1020px) {
	section.FaqList {
		margin-left: 20px;
		margin-right: 20px;
		padding-top: 10px;
		padding-bottom: 10px;
	}
}

@media screen and (max-width: 600px) {
	section.FaqList {
		padding-top: 1px;
		padding-bottom: 1px;
	}
}



/* FAQ Contents */

div.Contents {
	margin: 20px auto;
}

div.Contents h2 {
	min-height: 40px;
	display: flex;
	padding: 0 50px 0 10px;
	margin: 20px 4%;
	align-items: center;
	border-image: url(/_img/bg-category_list.png) 20 fill;
	border-style: solid;
	border-width: 20px;
	position: relative;
}

div.Contents h2::after {
	content: "";
	background-image: url(/_img/icon-arrow_down.png);
	width: 30px;
	height: 30px;
	position: absolute;
	right: 2px;
	height: 100%;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	top: 0;
}

div.Contents h2.faqOpen {
	border-image: url(/_img/bg-category_list-open.png) 20 fill;
}

div.Contents h2.faqOpen::after {
	transform: rotate(180deg);
}

div.Contents h2:hover {
	cursor: pointer;
	opacity: 0.8;
}

div.Contents > div {
	text-align: left;
	margin: 1em 2.5em 2em 2.5em;
	padding: 0;
	display: none;
}

div.Contents:last-child > div {
	margin-bottom: 0;
}

div.Contents p {
	margin: 0 auto 0.8em auto;
	padding: 0;
}

div.Contents p:last-child {
	margin-bottom: 0;
}

div.Contents a {
	margin-left: 0.2em;
	margin-right: 0.2em;
	color: #96dcff;
	text-decoration: underline;
}

div.Contents img {
	width: 100%;
	height: auto;
	margin: 1em 0.75em 1em 0;
	max-height: 690px;
	object-fit: contain;
	object-position: left;
}

div.Contents img:last-child {
	margin-bottom: 0;
}

@media screen and (max-width: 700px) {
	div.Contents div {
		margin-left: 1.6em;
		margin-right: 1.6em;
	}
	div.Contents h2 {
		padding: 0 30px 0 1px;
	}
	div.Contents h2::after {
		width: 1.5em;
		right: -2px;
	}	
}

@media screen and (max-width: 500px) {
	div.Contents h2 {
		font-weight: bold;
	}
	div.Contents img {
		margin-top: 1.2em;
		margin-bottom: 1.2em;
	}
}



/* to Contact */

div.QuestionBtn {
	background-image: url(/_img/bg-question.png); 
	background-color: #363434;
	max-width: 980px;
	margin: 50px auto 100px auto;
	padding: 10px 0;
	text-align: center;
	background-repeat: no-repeat;
	background-position: right bottom;
	background-size: contain;
}

div.QuestionBtn img {
	width: calc(100% - 50px);
	max-width: 400px;
	margin: 10px;
}

div.QuestionBtn p {
	margin: 0 20px 20px 20px;
	font-size: 0.95em;
}

div.QuestionBtn p a:last-child {
	margin-left: 0.2em;
	margin-right: 0.2em;
	color: #96dcff;
	text-decoration: underline;
}

@media screen and (max-width: 1020px) {
	div.QuestionBtn {
		margin-left: 20px;
		margin-right: 20px;
	}
}
@media screen and (max-width: 900px) {
	div.QuestionBtn p {
		text-align: left;
	}
}



/* to Top */

p#totop {
	width: 72px;
	height: 72px;
	text-align: right;
	margin: 0;
	padding: 0;
	position: fixed;
	right: 10px;
	bottom: 10px;
}

p#totop a {
	text-align: center;
	background: url(/_img/btn-pagetop.png) no-repeat 0 0;
	background-size: cover;
	width: 100%;
	height: 0;
	margin: 0;
	padding: 72px 0 0 0;
	display: block;
	position: relative;
	overflow: hidden;
	z-index: 200;
}

p#totop a:hover {
	opacity: 0.8;
}

@media screen and (max-width: 690px) {
	p#totop {
		width: 55px;
		height: 55px;
	}
	p#totop a {
		padding-top: 55px;
	}
}