@charset "UTF-8";
/* CSS Document */
/* メールフォーム==================== */
.tel_button{
    position: relative;
	overflow: hidden;
	text-decoration: none;
	display: block;
    width: 100%;
	max-width: 500px;
    background:#e88b8b;
	border-radius: 50px;
    padding: 10px 30px;
	font-size: 1.2em;
    text-align: center;
	margin: 16px auto;
    outline: none;
    transition: ease .2s;
	cursor: pointer;
}
/*ボタン内spanの形状*/
.tel_button span {
	position: relative;
	z-index: 3;
	color:#fff;
}
/*== 背景が流れる*/
.bgleft:before {
 	content: '';
 	position: absolute;
 	top: 0;
 	left: 0;
 	z-index: 2;
 	background:#e83a3b;
 	width: 100%;
	height: 100%;
	border-radius: 50px;
    /*アニメーション*/
 	transition: transform .6s cubic-bezier(0.8, 0, 0.2, 1) 0s;
 	transform: scale(0, 1);
	transform-origin: right top;
}
.bgleft:hover:before{
	transform-origin:left top;
	transform:scale(1, 1);
}
#mailform{
	width: 100%;
	padding: 20px;
	margin: 30px 0;
}
#mailform table{
	width: 100%;
	font-size: 1rem;
	border-collapse: collapse;
	border-spacing: 0;
}
#mailform table th{
	width: 200px;
	text-align: left;
	padding: 0.5em;
	vertical-align: top;
	line-height: 120%;
}
#mailform table tr:nth-child(odd){
	background-color: #f5f5f5;
}
#mailform table td{
	width: calc(100% - 210px);
	padding: 0.5em 1em;
}
.flex_btn{
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	min-width: 480px;
}
#mailform .radio{
	padding: 0 1rem;
	margin-bottom: 0.5rem;
}
#mailform .form_input,#mailform textarea{
	background:#fff;
	width: 100% !important;
	padding: 5px 10px;
	border:solid 1px #ccc;
}
#mailform span.form_required{
	font-size: 60%;
	font-weight: normal;
	color: #fff;
	background:#e88b8b;
	padding: 3px 8px;
	margin-left: 0.5rem;
	border-radius: 5px;
}
input[type='submit']{
	display: block;
	width: 100%;
	max-width: 300px;
	padding: 5px;
	font-weight: 400;
	background:#e88b8b;
	color:#fff ;
	border-radius: 20px;
	margin: 0 auto;
}
input[type='submit']:hover{
	color: #fff;
	background:#e83a3b;
}
.postcord{
	width:150px !important;
	margin-bottom: 5px;
	padding: 5px 10px;
	border:solid 1px #ccc;
	background:#fff;
}
.postcord_btn{
	font-size: 0.8em;
	border:solid 1px #ccc;
	background:#fff;
	padding: 0.25em;
}
.infobox{
	margin-bottom: 30px;
}
.infobox h4{
	text-align: center;
	color: #333 !important;
	font-size: 1em !important;
	padding: 1em 0;
}
.infobox h5{
	color: #333;
}
.infobox p{
	font-size: 0.8em !important;
	color: #333;
	padding: 0.5em;
}
summary{
	cursor: pointer;
	display: block;
	list-style: none;
}
summary::-webkit-details-marker {
	color: transparent;
	display: none;
}
details::before{
	display: none;
}
details[open]{
	animation: fadeIn 1s ease;
}
@keyframes fadeIn {
  0% {
    opacity: 0; /* 透明 */
    transform: translateY(-10px); /* 上から表示 */
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
.infobox details summary h4::before{
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	content: '\f067';
	padding-right: 15px;
}
.infobox details[open] summary h4::before{
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	content: '\f068';
	padding-right: 15px;
}
.visually-hidden { /* 元のボタンを非表示にする*/
	position: absolute;
	white-space: nowrap;
	width: 1px;
	height: 1px;
	overflow: hidden;
	border: 0;
	padding: 0;
	clip: rect(0 0 0 0);
	clip-path: inset(50%); 
	margin: -1px;
}

label.radio-label {
	cursor: pointer;
	padding-left: 30px;
	position: relative;

}

label.radio-label::before,
label.radio-label::after {
	content: "";
	display: block;
	border-radius: 50%;
	position: absolute;
	transform: translateY(-50%);
	top: 50%;
}

label.radio-label::before {
	background-color: #fff;
	border: 1px solid #ccc;
	height: 20px;
	width: 20px;
	left: 5px;
}

label.radio-label::after {
	background-color: #e88b8b;
	opacity: 0;
	height: 12px;
	width: 12px;
	left: 9px;
	transition: ease .2s;
}

input:checked + label.radio-label::after {
  opacity: 1;
}
@media (max-width: 1239px){
	#mailform table th,#mailform table td{
		display: block;
		width: 100%;
	}
	#mailform table td{
		margin-bottom: 10px;
	}
	input[type='text'] ,input[type='date'] , textarea{
		width: 100% !important;
	}
	.postcord{
		max-width: 150px;
	}
	.tel_button{
		width: 100%;
		max-width: 500px;
		margin: 10px auto;
		flex-direction: column;
	}
	.tel_button a{
		width: 100%;
		margin: 10px 0;
	}
}

@media (max-width: 750px){
	#mailform{
		padding: 10px;
	}
	#mailform table td{
		padding: 0.5rem;
	}
	#mailform .radio{
		padding: 0;
	}
	label.radio-label{
		padding-left: 30px;
	}
	.flex_btn{
		min-width: inherit;
	}
}

