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

/* メールフォーム==================== */

#mailformpro{
	width: 100%;
	padding: 20px;
}
#mailformpro table{
	width: 100%;
	max-width: 960px;
	margin-inline:auto;
	font-size: 1rem;
	border-collapse: collapse;
	border-spacing: 0;
}
#mailformpro table tr{
	border-bottom: solid 1px #666;
}

#mailformpro table th{
	width: 250px;
	text-align: left;
	padding:1em 0.5em;
	vertical-align: middle;
	line-height: 120%;
	font-weight: 700;
}
#mailformpro table td{
	padding: 1em;
}
#mailformpro .flex_btn{
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	width: 100%;
}
#mailformpro .radio{
	margin-right: 2em;
	margin-bottom: 0.5rem;
	border-bottom: dashed 1px #ccc;
}
#mailformpro .checkbox{
	margin-right: 2em;
	margin-bottom: 0.5rem;
	border-bottom: dashed 1px #ccc;
}
#mailformpro .form_input,#mailformpro textarea{
	background:#f5f5f5;
	color: #666;
	width: 100% !important;
	padding: 15px 10px;
	border: none;
}
#mailformpro textarea{
	min-height: 200px;
}
#mailformpro .form_input.mini{
	width: 150px !important;
}
#mailformpro span.form_required{
	display: inline-block;
	font-size: 60%;
	font-weight: normal;
	color: #fff;
	background:#666;
	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 #ccc;
	color:#1a1a1a;
	border-radius: 50px;
	margin: 0 auto;
	transition: .5s;
}
input[type='submit']:hover{
	background:#666;
	color: #fff;
}
input[type='radio']{
	accent-color: #666;
	cursor:pointer
}

input[type='checkbox']{
	accent-color: #666;
	cursor:pointer
}
input[type='file']{
	width: 100%;
	margin-bottom: 0.6em;
}
label {
  cursor: pointer;
}
::placeholder{
	color: #999;
}
.cp_ipselect {
	overflow: hidden;
	width: 100%;
}
.cp_ipselect select {
	color: #666;
	width: 100%;
	cursor: pointer;
	text-indent: 0.01px;
	text-overflow: ellipsis;
	border: none;
	outline: none;
	background: transparent;
	background-image: none;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
}

.cp_ipselect.cp_sl01 {
	background-color: #f5f5f5;
	position: relative;
	padding: 0.5rem;
}
.cp_ipselect.cp_sl01::before {
	position: absolute;
	top: 50%;
	right: 0.9em;
	width: 0;
	height: 0;
	padding: 0;
	content: '';
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 6px solid #666666;
	pointer-events: none;
}
.cp_ipselect.cp_sl01 select {
	padding: 8px 38px 8px 8px;
	color: #666666;
}
.cp_ipselect select option{
	padding: 0.5rem;
}
.infobox{
	margin-bottom: 30px;
	max-width: 960px;
	margin-inline:auto;
	text-align: left;
}
.infobox h4{
	text-align: center;
	font-size: 1em !important;
	padding-bottom: 1em;
}
.infobox h5{
	font-weight: 500;
	margin-top: 1em;
}
.infobox h5 i{
	color: #666;
}
.infobox p{
	font-size: 0.8em !important;
	padding: 0.5em 0;
}
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;
}

.notes{
	text-align: left;
	font-size: 0.9rem;
}
.item_title{
	width: 100%;
	text-align: left;
	font-weight: 600;
}

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