@charset "UTF-8";
/* CSS Document */

h2 {
	margin-bottom: 0.75em;
	font-size: 1.25em;
	color: #ff8c00;
	text-align: center;
	font-weight: bold;
}

.lead {
	text-align: center;
}

.faq-container {
	margin-left: 0.25em;
	margin-right: 0.25em;
	margin-top: 1em;
}

/* タブの切り替え　ここから */
.faq-menu {
	display: flex;
	flex-wrap: wrap;
}

.faq-menu:after {
	content: '';
	width: 100%;
	height: 3px;
	background: #ff4500;
	display: block;
	order: -1;
}

.faq-menu-label {
	color: #ffffff;
	background: #ffa500;
	font-weight: bold;
	line-height: 2.5em;
	text-shadow: 0 -1px 0 rgba(0,0,0,.2);
	text-align: center;
	order: -1;
	position: relative;
	z-index: 1;
	cursor: pointer;
	border-radius: 0.5em 0.5em 0 0;
	flex: 1;
}

.faq-menu-label:not(:last-of-type) {
	margin-right: 5px;
}

.faq-menu-list {
	width: 100%;
	height: 0;
	overflow: hidden;
	opacity: 0;
}

/* アクティブなタブ */
.faq-menu-switch:checked+.faq-menu-label {
	background: #ff4500;
}

.faq-menu-switch:checked+.faq-menu-label+.faq-menu-list {
	height: auto;
	overflow: auto;
	border: solid 2px #ff4500;
	opacity: 1;
	transition: .5s opacity;
	box-shadow: 0 0 3px rgba(0,0,0,.2);
}

/* ラジオボタン非表示 */
.faq-menu-switch {
	display: none;
}
/* タブの切り替え　ここまで */

/* Q&Aの表示　ここから */
.faq-item {
	margin: 10px;
}

.faq-list {
	color: #333333;
	background: #f0e68c;
	font-weight: bold;
	margin-bottom: -1px;
	padding: 0.5em;
	border: 1px solid #bdb76b;
	cursor: pointer;
	display: block;
}

.faq-list:before {
	content: 'Q';
	font-weight: bold;
	margin-right: 1em;
	display:inline-block;
}

.faq-item-switch:checked+.faq-list:before {
	transform:rotate(0);
}

.faq-list-item {
	height: 0;
	padding: 0.25em 1em;
	overflow: hidden;
	opacity: 0;
}

.faq-list-item:before {
	content: 'A';
	font-weight: bold;
	margin-right: 1em;
	display:inline-block;
}

/* アクティブなタブ */
.faq-item-switch:checked+.faq-list {
	color: #ffffff;
	background: #bdb76b;
}

.faq-item-switch:checked+.faq-list+.faq-list-item {
	height: auto;
	overflow: auto;
	margin-bottom: -1px;
	padding: 15px;
	opacity: 1;
	transition: .5s;
	border-right: 1px solid #bdb76b;
	border-left: 1px solid #bdb76b;
}

/* ラジオボタン非表示 */
.faq-item-switch {
	display: none;
}
/* Q&Aの表示　ここまで */
