/* メールフォーム==================== */
.contents_mail{
	max-width: 960px;
	padding: 10px 10px 30px;
	margin: auto;
}
/* TEL FAX */
.phone_wrap .phone{
	margin-left: 30px;
	color: #fff;
	border-bottom: dashed 1px #666;
	display: block;
	opacity: 1;
	transition: .5s;
}
.phone_wrap .phone:hover{
	opacity: 0.5;
}
.phone_wrap .phone .nb{
	font-weight: 600;
	font-size: clamp(1.6rem, 1.15rem + 1.6vw, 2.6rem);
}
.phone_wrap .phone .txt{
	font-size: 1rem;
	vertical-align:bottom;
}



/* フォーム============================================================  */
#mailformpro{
	width: 100%;
	padding: 20px;
}
#mailformpro table{
	width: 100%;
	font-size: 1rem;
	border-collapse: collapse;
	border-spacing: 0;
}
#mailformpro table tr{
	border-bottom: dashed 1px #666;
}
#mailformpro table tr:last-child{
	border-bottom:none;
}
#mailformpro table th{
	width: 250px;
	text-align: left;
	padding:1em 0.5em;
	vertical-align: middle;
	line-height: 120%;
	font-weight: 400;
}
#mailformpro table td{
	padding: 1em;
}
.flex_btn{
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	width: 100%;
}
#mailformpro .radio{
	padding: 0 2rem 0 0;
}
#mailformpro .checkbox{
	padding: 0 2rem 0 0;
}
#mailformpro .form_input,#mailformpro textarea{
	background:#333;
	color: #fff;
	width: 100% !important;
	padding: 15px 10px;
	border: none;
}
#mailformpro .form_input.mini{
	width: 150px !important;
}
#mailformpro span.form_required{
	display: inline-block;
	font-size: 60%;
	font-weight: normal;
	color: #fff;
	background:#028760;
	padding: 3px 8px;
	margin-left: 0.5rem;
	border-radius: 5px;
}
input[type='submit']{
	display: block;
	width: 100%;
	max-width: 300px;
	padding: 1em;
	font-weight: 400;
	background: #fff;
	border:solid 1px #1a1a1a;
	color:#1a1a1a;
	border-radius: 50px;
	margin: 0 auto;
	transition: .5s;
}
input[type='submit']:hover{
	background:#028760;
	color: #fff;
}
input[type='radio']{
	accent-color: #028760;
}

input[type='checkbox']{
	accent-color: #028760;
}
input[type='file']{
	width: 100%;
	margin-bottom: 0.6em;
}
.infobox{
	margin-bottom: 30px;
}
.infobox h4{
	text-align: center;
	font-size: 1em !important;
	padding-bottom: 1em;
}
.infobox h5{
	font-weight: 500;
	margin-top: 1em;
}
.infobox h5 i{
	color: #028760;
}
.infobox p{
	font-size: 0.8em !important;
	padding: 0.5em 0;
}
.postcord{
	width:150px !important;
	margin-bottom: 5px;
	padding: 1em;
	background:#fff;
	border-radius: 5px;
	border: none;
}
.postcord_btn{
	font-size: 0.7em;
	font-weight: 700;
	border-radius: 30px;
	background:#666;
	padding: 0.25em 1em;
	color: #fff;
}
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;
  }
}
details summary h4::before{
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	content: '\f067';
	padding-right: 15px;
}
details[open] summary h4::before{
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	content: '\f068';
	padding-right: 15px;
}

@media (max-width: 960px){
	#mailformpro{
		padding: 10px 0;
	}
	#mailformpro table th,
	#mailformpro table td{
		display: block;
		width: 100%;
		padding: 0.5rem 0;
	}
	#mailformpro table td{
		padding-bottom: 1rem;
	}
	
	input[type='text'] ,input[type='date'] , textarea{
		width: 100% ;
	}
}

