@charset "UTF-8";


/**************************************************
　eyecatch
***************************************************/

.eyecatch {
	background: url( './../image/qa/eyecatch-bg.jpg' ) no-repeat center center;
	background-size: cover;
}

/**************************************************
　よくある質問
***************************************************/

.qa-block h2 {
	display: block;
	position: relative;
	text-align: center;
	width: 180px;
}
.qa-block h2::before {
	background-position: 0 -31px;
	left: calc( 100% - 180px );
}
/* 項目リンク */
.link-block li {
	background-color: #19386E;
	border-radius: 5px;
	display: block;
	height: 45px;
	line-height: 45px;
	text-align: center;
}
.link-block a {
	color: #fff;
	display: block;
}
.link-block li span {
	display: block;
	height: 100%;
}

/* Q&Aコンテンツ */
.qa .contents {
	font-weight: bold;
}
.qa .each-box {
	border: 3px solid #19386E;
}
.qa .question,
.qa .answer {
	color: #19386E;
	position: relative;
	padding-left: 60px;
}
.qa .question {
	cursor: pointer;
}
.qa .question::before,
.qa .answer::before {
	border-radius: 50%;
	color: #fff;
	display: block;
	height: 40px;
	left: 0;
	line-height: 40px;
	position: absolute;
	text-align: center;
	top: 0;
	width: 40px;
}
.qa .question::after {
	bottom: 15px;
	content: "";
	display: block;
	font-weight: bold;
	height: 8px;
	position: absolute;
	right: 5px;
	transform: rotate( 45deg );
	width: 8px;
}
.closing::after {
	border-bottom: solid 3px #19386E;
	border-right: solid 3px #19386E;
}
.opening::after {
	border-top: solid 3px #19386E;
	border-left: solid 3px #19386E;
}
.qa .answer {
	border-top: 2px solid #19386E;
	display: none;
	margin-top: 20px;
	padding-top: 20px;
}
.qa .question::before {
	background-color: #19386E;
	content: "Q";
}
.qa .answer::before {
	background-color: #C6A36B;
	content: "A";
	margin-top: 20px;
}
.qa .answer a {
	color: #19386E;
	display: inline-block;
	margin-top: 13px;
	text-decoration: underline;
}

/**************************************************
　デバイス振り分け設定
***************************************************/

/* ■■ SP ■■ */
@media (max-width: 767px) {

	/* よくある質問 */
	.qa-block {
		padding: 0 0 80px;
	}
		/* 項目リンク */
	.qa-block h2 {
		margin: 100px auto 0;
	}
	.link-block {
		margin: 40px auto;
	}
	.link-block li {
		margin: 10px auto;
		width: 70vw;
	}
		/* QAコンテンツ */
	.qa .contents {
		margin: 30px auto 60px;
		width: calc( 90vw - 40px );
	}
	.qa .each-box {
		margin: 15px auto;
		padding: 15px 20px;
	}
	.opening::after,
	.closing::after {
		display: none !important;
	}
}
@media (max-width: 320px) {

	/* 幅狭スマホ */

}
@media (min-width: 321px) and (max-width: 767px) {

	/* 幅広スマホ */
}


/* ■■ タブレット＆ブラウザ ■■ */
@media screen and (min-width: 768px) {

	/* よくある質問 */
	.link-block {
		margin: 0 auto;
	}
	.link-block li {
		float: left;
		margin-left: 20px;
	}
	.link-block li:nth-of-type( 1 ) {
		margin-left: 0
	}
	.qa .question {
		height: 40px;
		line-height: 40px;
	}
}


/* ■■ (狭いブラウザとタブレット向け) ■■ */
@media (max-width: 1020px) and (min-width: 768px) {

	/* よくある質問 */
	.qa-block {
		padding: 0 0 100px;
	}
		/* 項目リンク */
	.link-block {
		padding: 60px 0 30px;
		width: 675px;
	}
	.link-block li {
		margin-left: 15px;
		padding: 0 20px;
	}
	.qa h2 {
		margin: 60px auto 0;
	}
		/* QAコンテンツ */
	.qa .contents {
		margin: 30px auto 100px;
		width: 660px;
	}
	.qa .each-box {
		margin: 15px auto;
		padding: 15px 35px;
	}
}

/* ■■ PC ■■ */
@media screen and (min-width: 1021px) {

	/* よくある質問 */
	.qa-block {
		padding: 0 0 120px;
	}
		/* 項目リンク */
	.link-block {
		padding: 60px 0 20px;
		width: 765px;
	}
	.link-block li span {
		padding: 0 30px;
	}
	.qa h2 {
		margin: 80px auto 0;
	}
		/* QAコンテンツ */
	.qa .contents {
		margin: 30px auto 120px;
		width: 980px;
	}
	.qa .each-box {
		margin: 20px auto;
		padding: 25px 35px;
	}
}
