﻿@import url('https://fonts.googleapis.com/css2?family=Allura&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Tangerine&display=swap');

/*====================

main

====================*/
main {
	padding: 0;
	width: 100%;
}
.title_box {
	width: 100%;
	margin-bottom: 260px;
}

.title_box img {
	width: 100%;
	margin-top: 400px;
}

.title_text {
	background: #fff;
	width: 600px;
	height: 500px;
	margin: -650px auto 0;
	box-shadow: 0px 0px 40px #E6E6E6;
	position: relative;
	z-index: 999;
	align-items: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

h1{
	font-size: 40px;
	font-weight: 500;
	margin: 0px auto 80px;
	letter-spacing: 0.2em;
	line-height: 48px;
	font-family: 'Marcellus', serif;
	text-align: center;
	color: #666;
}

.menu_list {
	text-align: left;
}

h2 {
	color: #666;
	font-size: 20px;
	margin: 0 auto 4px;
	letter-spacing: 0.1em;
	font-family: 'Marcellus', serif;
	text-align: left;
}

h2::before {
	content: "";
	display: inline-block;
	width: 1em;
	border-top: 1px solid;
	vertical-align: middle;
	margin-right: 1em;
	padding-bottom:4px;
	color:#c99;
}

#qa1, #qa2, #qa3 {
	padding: 100px;
}

.cp_qa *, .cp_qa *:after, .cp_qa *:before {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.cp_qa .cp_actab {
	position: relative;
	overflow: hidden;
	width: 100%;
	margin: 0 0 30px 0;
	color: #333;
}

.cp_qa .cp_actab input {
	position: absolute;
	opacity: 0;
}

/* 質問 */
.cp_qa .cp_actab label {
	font-weight: bold;
	line-height: 40px;
	position: relative;
	display: block;
	margin: 0 0 0 0;
	padding: 20px 60px;
	cursor: pointer;
	text-indent: 20px;
	border-radius: 8px;
	background: #FFCCCC;
	color: #333;
}
.cp_qa .cp_actab label::before {
	font-family: serif;
	font-size: 20px;
	margin-left: -40px;
	padding-right: 10px;
	content: 'Q.';
}
.cp_qa .cp_actab label:hover {
	transition: all 0.3s;
	color: #FF3366;
}
/* --質問の＋アイコン */
.cp_qa .cp_actab label::after {
	font-size: 24px;
	font-weight: bold;
	line-height: 24px;
	position: absolute;
	top: 24px;
	right: 30px;
	content: '＋';
	display: inline-block;
	width: 40px;
	height: 40px;
	-webkit-transition: transform 0.4s;
	transition: transform 0.4s;
}
/* 答え */
.cp_qa .cp_actab .cp_actab-content {
	position: relative;
	overflow: hidden;
	max-height: 0;
	padding: 0 0 0 68px;
	-webkit-transition: max-height 0.2s;
	transition: max-height 0.2s;
	border-radius: 0 0 0.5em 0.5em;
}
.cp_qa .cp_actab .cp_actab-content::before {
	font-family: serif;
	font-size: 1.5em;
	position: absolute;
	margin: 0.4em 0 0 -1.6em;
	padding: 0;
	content: 'A.';
	color: #c99;
}
.cp_qa .cp_actab .cp_actab-content p {
	margin: 0.6em 1em 1em 0;
	color: #666;
}
/* 質問を開いた時の仕様 */
/* --答えの高さ */
.cp_qa .cp_actab input:checked ~ .cp_actab-content {
	max-height: 40em;
	background: #fff;
	border: 10px solid #fff;
}
/* 質問をクリックした時のアイコンの動き */
.cp_qa .cp_actab input:checked ~ label {
	color: #333;
	border-radius: 0.5em 0.5em 0 0;
}
/* 質問をクリックした時の+の動き */
.cp_qa .cp_actab input[type=checkbox]:checked + label::after {
	-webkit-transform: rotateZ(45deg);
	transform: rotateZ(45deg);
	-webkit-transform-origin: 75% 25%;
	transform-origin: 75% 25%;
}

/*========PCここまで========*/








/*====================

スマートフォン対応

====================*/

@media screen and (max-width: 768px) {
	#wrap {
		font-size: 16px;
		margin: 0 auto;
		padding: 0;
	}
	

/*====================

main

====================*/
main {
	font-size: 16px;
}

.title_box {
	width: 100%;
	margin: 0 0 80px 0;
	position: relative;
	top: 60px;
}

.title_box img {
	display: none;
}

.title_text {
	width: 90%;
	height: auto;
	margin: 0px auto;
	padding: 24px;
}

h1{
	margin: 0px auto 16px;
	line-height: 48px;
	font-size: 24px;
}

h2 {
	font-size: 16px;
	white-space: nowrap;
	letter-spacing: 1px;
}

h2::before {
	content: "";
	display: inline-block;
	width: 0.8em;
	border-top: 1px solid;
	vertical-align: middle;
	margin-right: 12px;
	padding-bottom:4px;
	color:#c99;
}


#qa1, #qa2, #qa3 {
	margin: 80px auto 0;
	padding: 0;
	width: 90%;
}

.cp_qa *, .cp_qa *:after, .cp_qa *:before {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.cp_qa .cp_actab {
	position: relative;
	overflow: hidden;
	width: 100%;
	margin: 0 0 18px 0;
	color: #333;
	font-size: 14px;
}

.cp_qa .cp_actab input {
	position: absolute;
	opacity: 0;
}

/* 質問 */
.cp_qa .cp_actab label {
	font-weight: bold;
	line-height: 20px;
	position: relative;
	display: block;
	margin: 0 0 0 0;
	padding: 10px 40px;
	cursor: pointer;
	text-indent: 20px;
	border-radius: 8px;
	background: #FFCCCC;
	color: #333;
}
.cp_qa .cp_actab label::before {
	font-family: serif;
	font-size: 20px;
	margin-left: -40px;
	padding-right: 10px;
	content: 'Q.';
}
.cp_qa .cp_actab label:hover {
	transition: all 0.3s;
	color: #FF3366;
}
/* --質問の＋アイコン */
.cp_qa .cp_actab label::after {
	font-size: 20px;
	font-weight: bold;
	line-height: 20px;
	position: absolute;
	top: 10px;
	right: 20px;
	content: '＋';
	display: inline-block;
	width: 40px;
	height: 40px;
	-webkit-transition: transform 0.4s;
	transition: transform 0.4s;
}
/* 答え */
.cp_qa .cp_actab .cp_actab-content {
	position: relative;
	overflow: hidden;
	max-height: 0;
	padding: 0 0 0 40px;
	-webkit-transition: max-height 0.2s;
	transition: max-height 0.2s;
	border-radius: 0 0 0.5em 0.5em;
	line-height: 20px;
	letter-spacing: 1px;
}
.cp_qa .cp_actab .cp_actab-content::before {
	font-family: serif;
	font-size: 1.5em;
	position: absolute;
	margin: 0.4em 0 0 -1.4em;
	padding: 0;
	content: 'A.';
	color: #c99;
}
.cp_qa .cp_actab .cp_actab-content p {
	margin: 0.6em 1em 1em 0;
	color: #666;
}
/* 質問を開いた時の仕様 */
/* --答えの高さ */
.cp_qa .cp_actab input:checked ~ .cp_actab-content {
	max-height: 40em;
	background: #fff;
	border: 10px solid #fff;
}
/* 質問をクリックした時のアイコンの動き */
.cp_qa .cp_actab input:checked ~ label {
	color: #333;
	border-radius: 0.5em 0.5em 0 0;
}
/* 質問をクリックした時の+の動き */
.cp_qa .cp_actab input[type=checkbox]:checked + label::after {
	-webkit-transform: rotateZ(45deg);
	transform: rotateZ(45deg);
	-webkit-transform-origin: 75% 25%;
	transform-origin: 75% 25%;
}


}



