/****************************************** お問い合わせフォーム ***********************************************************/

* html body dl.form dd div{
   display:inline-block;
}

dl.form {
	margin-top: 30px;
}

dl.form dt {
	float:left;
	width:16em;
	padding-top:10px;
	padding-left:10px;
	font-weight: bolder;
	line-height: 1.5em;
}
dl.form dd {
   margin-left:16em;
   padding:10px 0px 10px 10px;
}
dl.form dd span.rei {
	font-size: 80%;
	color: #666;
}
.hissu {
	font-size: 80%;
	font-weight: normal;
	color: #F00;
	margin-left: 2px;
}

dl.form2 {
	border:1px solid #ccc;
	border-top:0;
	background:#F5F5F5;
	margin-bottom: 10px;
}

dl.form2 dt {
	padding-top:10px;
	padding-left:10px;
	font-weight: bolder;
	line-height: 1.5em;
	padding-bottom: 10px;
}
dl.form2 dd {
   padding:10px;
   border-top:1px solid #ccc;
   background:#ffffff;
}

.thanks {
	background-color: #e1f9f6;
	text-align: center;
	padding: 100px;
}



button, input, select, textarea {
	margin: 0;
	font-size: 100%;
	vertical-align: middle
}

dl.form dd ul li {
	margin-bottom: 5px;
	margin-top: 5px;
}
ul.areacheck li {
	float: left;
	white-space:nowrap;
	margin-right: 10px;
}
ul.areacheck li.areaTTL {
	background-color: #eee;
	width: 12em;
	font-size: 13px;
	text-align: center;
}

dl.form textarea, dl.form input[type="text"], dl.form input[type="tel"], dl.form input[type="email"] , dl.form input[type="url"] {
	display: inline-block;
	width:100%;
	height: 35px;
	padding: 4px 6px;
	font-size: 14px;
	line-height: 20px;
	color: #555555;
	vertical-align: middle;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}
dl.form select {
	height: 35px;
	border: 1px solid #cccccc;
	display: inline-block;
	height: 35px;
	padding: 4px 6px;
	font-size: 14px;
	line-height: 20px;
	color: #555555;
	vertical-align: middle;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}
dl.form textarea,dl.form input[type="text"],dl.form input[type="tel"],dl.form input[type="email"],dl.form input[type="url"]{
	background-color: #f7f7f7;
	border: 1px solid #cccccc;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	-webkit-transition: border linear .2s, box-shadow linear .2s;
	-moz-transition: border linear .2s, box-shadow linear .2s;
	-o-transition: border linear .2s, box-shadow linear .2s;
	transition: border linear .2s, box-shadow linear .2s;
}
dl.form textarea {
	width: 95%;
	height: 7em;
}
/* -------------------------------------------------------------------------*/
/* FORM BLOCK 2024/08/01追加
/* -------------------------------------------------------------------------*/
.form_block {
  width: 100%;
  height: 1580px;
  text-align: center;
}

.form_block iframe {
  width: 100%;
  max-width: 850px !important;
  border: 1px solid #000;
  max-height: auto !important;
  max-height: initial !important;
}
/****************************************** 送信ボタン ***********************************************************/
#submitBtn input {
	font-size: 1.6em;
	background-color: #00ac97;
	color: #fff;
	border-style: none;
	cursor: pointer;
	margin-top: 20px;
	margin-bottom: 30px;
	padding-top: 20px;
	padding-right: 100px;
	padding-bottom: 20px;
	padding-left: 100px;
	-webkit-transition: 0.3s ease-in-out;  
       -moz-transition: 0.3s ease-in-out;  
         -o-transition: 0.3s ease-in-out;  
            transition: 0.3s ease-in-out;
	border-radius: 5px;
}
#submitBtn input:hover {
    background-color: #53cabb;
    color: #fff;
}

#submitBtn .back_button input {
	background-color: #ddf7f4;
	color: #00ac97;
	cursor: pointer;
	margin-bottom: 30px;
	padding-top: 20px;
	padding-right: 30px;
	padding-bottom: 20px;
	padding-left: 30px;
	border-style: none;
}
#submitBtn .back_button input:hover {
    background-color: #c4e8e4;
}

.err {
	padding: 10px;
	border: 1px solid #F00;
}

#submitBtn {
	position: relative;
	overflow: hidden;
	margin-right: auto;
	margin-left: auto;
	margin-top: 30px;
	
	display: flex;
	flex-wrap: wrap;
}

#submitBtn .submit_button input {
	flex: 1 1 auto;
	text-align: center;
	transition: 0.5s;
	background-size: 200% auto;
	color: white;
	display: block;
	cursor:pointer ; 
}
#submitBtn .submit_button input:hover.moreBtn {
	text-decoration: none;
}
#submitBtn .submit_button input:hover {
	background-position: right center; /* change the direction of the change here */
}
#submitBtn .submit_button input {
	background-image: linear-gradient(to right, #00ac97 0%, #12e291 51%, #04937d 100%);
}
 
#submitBtn ul {
	float:left;
	left:50%;
	position:relative;
}
 
#submitBtn li {
	float:left;
	left:-50%;
	position:relative;
	margin-right: 10px;
	margin-left: 10px;
}

/****************************************** 画像添付ボタン ***********************************************************/
.file-btn {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 5px;
    color: #ffffff;
    background: #00ac97;
    cursor: pointer;
}
.file-btn input {
    display: none;
}


/* 同意チェック
----------------------------------------------------*/
dl.agree_check {
	margin-bottom: 30px;
	margin-top: 40px;
	padding-right: 100px;
	padding-left: 100px;
}
dl.agree_check dt {
	float:left;
	width:1.5em;
}
dl.agree_check dd {
   margin-left:1.5em;
}

/* チェックボックス
----------------------------------------------------*/
input[type="checkbox"]{
	position: relative;
	top: -2px;
	margin-right: 3px;
}


/********************************************************************************************************************/
/****************************************** MEDIA QUERIES ***********************************************************/
/********************************************************************************************************************/

/*==================================== PHONES ====================================================*/

@media (max-width: 768px) {
/* TEL
----------------------------------------------------*/
.tel_con2 .tel_cap2 {
	margin-left: 0px;
}
.tel_con2 .tel_box2 {
	float: none;
	width: 100%;
	margin-right: 0px;
	margin-left: 0px;
}

.thanks {
	padding: 10px;
}


/****************************************** メールお問い合わせフォーム ***********************************************************/

dl.form {
	border:none;
}
dl.form dt {
	float:none;
	width:100%;
	padding-top:0px;
	padding-left:0px;
}
dl.form dd {
   margin-left:0px;
   padding:10px 0px 10px 0px;
}
dl.form dd ul li {
	margin-bottom: 5px;
	margin-top: 5px;
}
ul.areacheck li {
	float: none;
	margin-right: 0px;
}
ul.areacheck li.areaTTL {
	width: 100%;
}

/****************************************** 送信ボタン ***********************************************************/
#submitBtn {
	display: block;
	padding-top: 0px;
	padding-bottom: 0px;
	margin-top: 20px;
}
#submitBtn .submit_button input {
	display: inline-block;
}
 
#submitBtn ul {
	float:none;
	left:0;
	text-align: center;
}
 
#submitBtn li {
	float:none;
	left:0;
	margin-right: auto;
	margin-left: auto;
}
#submitBtn input {
	font-size: 110%;
}

/* 同意チェック
----------------------------------------------------*/
dl.agree_check {
	padding-right: 0px;
	padding-left: 0px;
}
dl.agree_check dt {
	float:none;
	width:auto;
	text-align: center;
	background-color: #eee;
	padding-top: 10px;
	padding-bottom: 10px;
}
dl.agree_check dd {
   margin-left:0;
}

}

/* トップに戻る
----------------------------------------------------*/
.topback {
	text-align: center;
	margin-top: 30px;
}