/* メールフォーム==================== */
.contents_mail{
	max-width: 960px;
	padding: 10px;
	margin-inline: auto;
}

#mailformpro{
	width: 100%;
	padding: 20px;
}
#mailformpro table{
	width: 100%;
	font-size: 1rem;
	border-collapse: collapse;
	border-spacing: 0;
}
#mailformpro table tr{
	border-bottom: solid 1px #ccc;
}
#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:#fff;
	width: 100% !important;
	padding: 15px 10px;
	border: none;
}
#mailformpro span.form_required{
	font-size: 60%;
	font-weight: normal;
	color: #fff;
	background:#f29130;
	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 2px #f29130;
	color:#323232;
	border-radius: 50px;
	margin: 0 auto;
	transition: .5s;
}
input[type='submit']:hover{
	background: #f29130;
	color: #fff;
}
input[type='radio']{
	accent-color: #f29130;
}

input[type='checkbox']{
	accent-color: #f29130;
}
input[type='file']{
	width: 100%;
	margin-bottom: 0.6em;
}
.infobox{
	margin-bottom: 30px;
}
.infobox h4{
	text-align: center;
	color: #1f1f1f !important;
	font-size: 1em !important;
	padding-bottom: 1em;
}
.infobox h5{
	color: #1f1f1f;
	margin-top: 1em;
}
.infobox h5 i{
	color: #f29130;
}
.infobox p{
	font-size: 0.8em !important;
	color: #1f1f1f;
	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% ;
	}
}

