@charset "UTF-8";
/* CSS Document */
/* メールフォーム============================================================ */

.contents_mail{
	max-width: 960px;
	padding: 10px 10px 30px;
	margin: auto;
}
.tel_button{
    position: relative;
	overflow: hidden;
	text-decoration: none;
	display: block;
    width: 100%;
	max-width: 500px;
    background:#47c5db;
	font-weight: 700;
	color:#fff;
	border-radius: 50px;
    padding: 10px;
    text-align: center;
	margin: 16px auto;
    outline: none;
    transition: ease .2s;
	cursor: pointer;
	font-size: 1.3em;
}
/*ボタン内spanの形状*/
.tel_button span {
	position: relative;
	z-index: 3;
	color:#fff;
}
/*== 背景が流れる*/
.bgleft:before {
 	content: '';
 	position: absolute;
 	top: 0;
 	left: 0;
 	z-index: 2;
 	background:#5cd5ab;
 	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;
}
#mailform table{
	width: 100%;
	font-size: 1rem;
	border-collapse: collapse;
	border-spacing: 0;
}
#mailform table tr{
	border-bottom: solid 1px #ccc;
}
#mailform table tr:last-child{
	border-bottom:none;
}
#mailform table th{
	width: 200px;
	text-align: left;
	padding:1em 0.5em;
	vertical-align: middle;
	line-height: 120%;
}
#mailform table td{
	width: calc(100% - 210px);
	padding: 1em;
}
.flex_btn{
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	width: 100%;
}
#mailform .radio{
	padding: 0 1rem;
}
#mailform .checkbox{
	padding: 0 1rem;
}
#mailform .form_input,#mailform textarea{
	background:#f5f5f5;
	width: 100% !important;
	padding: 5px 10px;
	border-radius: 5px;
	border: none;
}
#mailform span.form_required{
	font-size: 60%;
	font-weight: normal;
	color: #fff;
	background:#47c5db;
	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:#47c5db;
	color:#fff ;
	border-radius: 20px;
	border: none;
	margin: 0 auto;
	transition: .5s;
}
input[type='submit']:hover{
	color: #fff;
	background:#5cd5ab;
}
.infobox{
	margin-bottom: 30px;
}
.infobox h4{
	text-align: center;
	color: #333 !important;
	font-size: 1em !important;
	padding-bottom: 1em;
}
.infobox h5{
	color: #333;
	margin-top: 1em;
}
.infobox h5 i{
	color: #47c5db;
}
.infobox p{
	font-size: 0.8em !important;
	color: #333;
	padding: 0.5em 0;
}
.postcord{
	width:150px !important;
	margin-bottom: 5px;
	padding: 5px 10px;
	background:#f5f5f5;
	border-radius: 5px;
}
.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 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: #666;
	opacity: 0;
	height: 14px;
	width: 14px;
	left: 8px;
	transition: ease .2s;
}

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


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

label.check-label:before {
  content: "";
  display: block;
  position: absolute;
  left: 5px;
  width: 20px;
  height: 20px;
  top: 3px;
  border: solid 2px #ccc;
  border-radius: 3px;
  transition: all ease-in-out.5s;
}

label.check-label:after {
  content: "";
  position: absolute;
  top: 12px;
  left: 11px;
  transform: rotate(-45deg) scaleX(0);
  transform-origin: left;
  width: 12px;
  height: 6px;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transition: transform 0.125s ease-in-out;
}

input:checked + label.check-label:before {
  background-color: #0642bb;
  border-color: #0642bb;
}

input:checked + label.check-label:after {
  transform: rotate(-45deg) scaleX(1);
}

@media (max-width: 959px){
	.contents_mail{
		padding: 10px;
	}
	.tel_button{
		width: 95%;
	}
	input[type='text'] ,input[type='date'] , textarea{
		width: 100% !important;
	}
	#mailform table th,
	#mailform table td{
		display: block;
		width: 100%;
	}
	
@media (max-width: 750px){
	.contact_top ul{
		flex-direction: column;
	}
	.contact_top ul li{
		margin: 10px;
	}
	.contact_top ul li :last-child{
		margin: 10px;
	}
	.mailform{
		padding: 10px;
	}
	input[type='text'] ,input[type='date'] , textarea{
		width: 100% !important;
	}
	.tel_button{
		width: 100%;
		max-width: 600px;
	}
	.tel_button a{
		width: 100%;
	}
		
	}
}



