@charset "utf-8";

.box_qanda {
	width: 100%;
	padding: 5em 5%;
}
.box_qanda article {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto 3em auto;
}
.box_qanda article h2 {
	position: relative;
	padding: 2.0rem 5.5rem 2.0rem 8.0rem;
	background-color: #99A1A9;
	color: #FFF;
	font-size: 1.2rem;
	font-weight: bold;
	text-align: left;
	cursor: pointer;
}
.box_qanda article h2::before {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 2.2em;
	content: "Q";
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
	padding: 1.3rem;
	background-color: #5F6B77;
	color: #FFF;
	font-size: 2.7rem;
	line-height: 1.0;
	vertical-align: top;
	font-weight: normal;
	text-align: center;
}
.box_qanda article h2 .transbutton {
    position: absolute;
	right: 2em;
	top: 0;
	bottom: 0;
    display: block;
	margin: auto;
    width: 1.6em;
    height: 1.6em;
    transform: rotate(0deg);
    transform-origin: center;
	transition: all 300ms 0s ease;
}
.box_qanda article h2 .transbutton::before,
.box_qanda article h2 .transbutton::after{
    position: absolute;
	top: 0;
	bottom: 0;
    left: 0;
	right: 0;
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background: #FFF;
	margin: auto;
}
.box_qanda article h2 .transbutton::before{
    width: 2px;
    height: 100%;
}
.box_qanda article h2 .transbutton::after{
    width: 100%;
    height: 2px;
}
.box_qanda article h2.active .transbutton{
    transform: rotate(45deg);
}

.box_qanda article section {
	position: relative;
	padding: 2.0rem 2.3rem 1.5rem 8.0rem;
	background-color: #F5F5F5;
	color: #5C5C5C;
	font-size: 1.0rem;
	font-weight: bold;
	text-align: left;
	display: none;
}
.box_qanda article section::before {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	height: 100%;
	width: 2.2em;
	content: "A";
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
	padding: 1.3rem;
	margin: auto;
	background-color: #99A1A9;
	color: #FFF;
	font-size: 2.7rem;
	line-height: 0.9;
	vertical-align: top;
	font-weight: normal;
	text-align: center;
}
.box_qanda article section::after {
	content: "";
	display: block;
	clear: both;
}
.box_qanda article section p {
	margin: 0 0 1em 0;
	line-height: 2;
	text-align: left;
	font-weight: normal;
}
.box_qanda article section h3 {
	font-size: 1.2em;
	margin: 1em 0 0.5em 0;
}
.box_qanda article section p strong {
	font-size: 1.1em;
}
.box_qanda article section p a {
	position: relative;
	display: inline-block;
	margin: 0 0.5em 0.5em 0;
	padding: 0.5em 3.5em 0.5em 1.5em;
	background-color: #5F6B77;
	color: #FFF;
	font-weight: bold;
	font-size: 1.1em;
	border-radius: 3em;
	transition: all 300ms 0s ease;
}
.box_qanda article section p a:hover {
	background-color: #4D5760;
}
.box_qanda article section p a::after {
	position: absolute;
	right: 1.7em;
	top: 0;
	bottom: 0;
	display: block;
	margin: auto;
	content: ">";
	color: #FFF;
	font-size: 0.8em;
	font-weight: normal;
	height: 1em;
	line-height: 0.8;
}

.insert_img {
	float: right;
	width: auto;
	max-width: 40%;
	margin: 0 0 1.5em 2em;
}
@media screen and (max-width: 700px) {
	.insert_img {
		float: none;
		width: auto;
		max-width: 100%;
		margin: 0 auto 2em auto;
		display: block;
	}
}

@media screen and (max-width: 540px) {
	.box_qanda {
		padding: 3em 5%;
	}
	.box_qanda article {
		margin: 0 auto 1em auto;
	}
	.box_qanda article h2 {
		padding: 1.0rem 2.8rem 1.0rem 4.5rem;
		font-size: 1.0rem;
	}
	.box_qanda article h2::before {
		width: 2.0em;
		padding: 0.8rem;
		font-size: 1.7rem;
	}
	.box_qanda article h2 .transbutton {
		right: 1em;
		width: 1.0em;
		height: 1.0em;
	}
	.box_qanda article section {
		padding: 1.0rem 1.0rem 0.5rem 4.5rem;
		font-size: 0.9rem;
		font-weight: normal;
	}
	.box_qanda article section::before {
		width: 2.0em;
		padding: 0.8rem;
		font-size: 1.7rem;
	}
	.box_qanda article section p {
		line-height: 1.8;
	}
	.box_qanda article section h3 {
		font-size: 1.1em;
		font-weight: bold;
	}
	.box_qanda article section p strong {
		font-size: 1.0em;
		font-weight: bold;
	}
	.box_qanda article section p a {
		padding: 0.8em 2.5em 0.8em 1.5em;
		font-size: 1.0em;
		line-height: 1;
	}
}

