@charset "utf-8";
/*==============================
Q&A形式(1カラム)
qaContents
==============================*/

/*===============================================
●共通
===============================================*/
.qaContents.contentsItem:not(:first-of-type) { margin-top: 6.6%;}
.qaContents .tit_q {
	display: block;
	font-weight: bold;
	background: url("../../images/mainframe/iconQ.png") no-repeat left top;
	color: #794913;
}
.qaContents .tit_a {
	display: block;
	background: url("../../images/mainframe/iconA.png") no-repeat left top ;
}

.qaContents .photoBox {
	display: flex;
	flex-wrap: wrap;
}
.qaContents .photoBox li { display: block;}
.qaContents .photoBox li a {
	display: block;
	width: 100%;
	padding-top: 67%;
	border-radius: 20px;
}

/*===============================================
●画面の横幅が729px以下(スマホのみ)
===============================================*/
@media screen and (max-width: 769px){
	
	.qaContents .tit_q {
		background-size: auto 2.12rem;
		padding: 0.25em 0 0.25em 2.6rem;
		margin-bottom: 2%;
		font-size: 1.12em;
		line-height: 1.75em;
	}
	.qaContents .tit_a {
		background-size: auto 2.12rem;
		padding: 0.2em 0 0.81em 2.6rem;
		line-height: 1.87em;
	}
	
	.qaContents .photoBox { justify-content: space-between;}
	.qaContents .photoBox { margin-top: 2em;}
	.qaContents .photoBox li {
		width: 49%;
		margin-right: 2%;
		margin-bottom: 1%;
	}
	.qaContents .photoBox li:nth-of-type(2n) {
		margin-right: 0;
		margin-bottom: 0;
	}
}

/*===============================================
●画面の横幅が770px以上(PCのみ)
===============================================*/
@media screen and (min-width: 770px){

	.qaContents .tit_q {
		background-size: auto 2.62rem;
		padding: 0.2em 0 0.2em 3.5rem;
		margin-bottom: 1%;
		font-size: 1.25em;
		line-height: 1.75em;
	}
	.qaContents .tit_a {
		background-size: auto 2.62rem;
		padding: 0.2em 0 0.81em 3.5rem;
		line-height: 1.87em;
	}
	.qaContents .photoBox { margin-top: 3em;}
	.qaContents .photoBox li {
		width: 19.2%;
		margin-right: 1%;
	}
	.qaContents .photoBox li:last-of-type { margin-right: 0;}
}

/*===============================================
●画面の横幅が920px以下(PCのみ)
===============================================*/
@media (min-width: 770px) and (max-width: 920px){
	
	.qaContents .tit_q {
		background-size: auto 2.35rem;
	}
	.qaContents .tit_a {
		background-size: auto 2.35rem;
	}
}