@charset "UTF-8";
/* CSS Document */
/* メールフォーム　================================================== */
#form h3{
	font-family: 'Noto Serif JP', serif;
	margin-bottom: 20px;
}
#form h3 i{
	color: #decb5a;
}

.tel_button{
    display: block;
	text-align: center;
	width: 100%;
	max-width: 500px;
	background-color:rgba(0,0,0,1.0);
	color: #fff;
	padding: 0.5em;
	text-shadow: 2px 2px 5px #000;
	position: relative;
	border: solid 1px #fff;
	border-radius: 30px;
	margin: auto;
}
.tel_button::after{
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	content: "\f105";
	position: absolute;
	top: calc(50% - 0.5em);
	right: 15px;
	transition: .5s;
}
.tel_button:hover{
	color: #000;
	text-shadow: 2px 2px 5px #fff;
	background:rgba(255,255,255,1.0);
	transition: .5s;
}
.tel_button:hover::after{
	right: 10px;
	transition: .5s;
}
#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 td{
	width: calc(100% - 210px);
	padding: 0.5em 1em;
}
.flex_btn{
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
}
#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:#d11100;
	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:#000;
	color:#fff ;
	border-radius: 30px;
	margin: 0 auto;
	border: solid 1px #fff;
	transition: .5s;
}
input[type='submit']:hover{
	color: #000;
	background:#fff;
}

.infobox{
	margin-bottom: 30px;
	color: #fff;
}
.infobox h4{
	text-align: center;
	color: #fff !important;
	font-size: 1em !important;
	padding: 1em 0;
}
.infobox h5{
	color: #ccc;
}
.infobox p{
	font-size: 0.8em !important;
	color: #ccc;
	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;
  }
}
details summary h4::before{
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	content: '\f067';
	padding-right: 15px;
}
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: #fa8072;
	opacity: 0;
	height: 12px;
	width: 12px;
	left: 9px;
	transition: ease .2s;
}

input:checked + label.radio-label::after {
  opacity: 1;
}

@media (max-width: 959px){
	#mailform{
		padding: 30px 10px;
		margin: 10px;
	}
	input[type='text'] ,input[type='date'] , textarea{
		width: 100% !important;
	}
	#mailform table th,
	#mailform table td{
		display: block;
		width: 100%;
	}
	
}

@media (max-width: 750px){
	#mailform{
		padding: 30px 0;
	}
	#mailform table td{
		padding: 0.5em;
	}
}


