@charset "utf-8";

/*お問い合せ
-------------------------------------------------------------------------------------*/

.page_contact{
  max-width: 1100px;
  margin: auto;
  padding-top: 2em;
  padding-bottom: 2em;
  
}

.contact_txt{}
.contact_txt p{
  font-size:16px;
  margin-bottom: 1em;
  line-height: 1.4;
}


.box_form{}


.box_form h5{
	font-size:20px;
	font-weight:bold;
	color:#000;
	padding:10px 0 10px 10px;
	margin-bottom:8px;
	text-align:left;
	border-bottom:1px solid #CCCCCC;
	}

/*フォームテーブル*/
.box_form table{
	border-collapse:collapse;
	margin-bottom:20px;
	width:100%;
}
.box_form table th,
.box_form table td{
	border:1px solid #E3E3E3;
	padding:0.5em 1em;
	line-height:1.2;
	vertical-align:top;
}
.box_form table th p,
.box_form table td p{ margin: 0;}

.box_form table td{
	background-color:#FCFCFC;
	padding:10px 20px;
	vertical-align: middle;
	}
.box_form table td .th_name {
	background-color:#FCFCFC;
	width:15%;
	}
.box_form table th{
	vertical-align:middle;
	background-color:#E8FBFF;
	padding:10px 10px;
	font-weight:bold;
	font-size:18px;
	border-width:1px 0px 1px 1px ;
	width:30%;
	}
.box_form table th p {
	display: flex;
	justify-content: space-between;
	align-items: center;
	}

.box_form table th span {
	display:inline-block;
	padding: 5px 10px;
  line-height: 1.2;
	}
.box_form table th .icon{
	border-radius: 6px;
	background-color:#F0674C;
	border:1px solid #E3E3E3;
	color:#FFF;
	padding: 5px 20px;
	}
.box_form table th .icon-nini{
	background-color:#85B4C9;
	}
.box_form table td{
	border-width:1px 1px 1px 1px ;
	text-align:left;
	}

/*フォームテーブル*/
.box_form p.txt-naiyou {
	font-size:16px;
	font-weight:bold;
	color:#000;
	padding:10px 0 10px 10px;
	margin-bottom:8px;
	text-align:center;

}
	
/*table in table*/
.box_form table table{ margin:0;}
.box_form table table th,
.box_form table table td{
	vertical-align:middle;
	padding:0 5px 3px 5px;
	border:0;
	}
.box_form table table th{ text-align:center; vertical-align:middle;}	

/*エラー*/	
.box_form .err_txt{ font-size:11px; color:#FF0000;}

/*
input関連*/
label:hover{ cursor:pointer;}
input[type="radio"]{cursor:pointer;}

.box_form input[type="text"],
.box_form select,
.box_form textarea{
	border:0;
	padding:0.5em;
	font-size:1.0em;
	color:#333;
	border:solid 1px #AAA;
	margin:0 0 3px;
	width:300px;
	/*font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;*/
	color:#666;
	border-radius: 3px;
	box-shadow: inset 1px 4px 9px -6px rgba(0,0,0,0.5);
}
.box_form select{width:80px;}

.box_form input:focus,
.box_form textarea:focus{
  border:solid 1px #EEA34A;
	/*padding:3px;*/
	color:#333;
}

.box_form .btn{ text-align:center; padding:10px;}
.box_form .btn input{
	text-align:center;
	/*display:block;*/
	border:solid 1px #FFF;
	padding:15px 60px;
	margin:0 auto 20px auto;
	font-size:1.2em;
	/*text-transform:uppercase;*/
	font-weight:bold;
	color:#FFF;
	cursor:pointer;	
	border-radius: 30px;
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;

	background-color:#E08D4C;


	}
.box_form .btn input:hover{
	filter:alpha(opacity=75);
	-moz-opacity:0.75;
	opacity:0.75;	
	}

	
.box_form input.sizeS{ width:100px;}


.bnr_waribiki{
/*	position:relative;*/
margin-top:12px;
	}


.bnr_waribiki p{
	/*position:absolute;*/
	}
.bnr_waribiki a{
	display:block;
	line-height:104px;
	
	/*
	background-color:#F90;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(1.00, #F90), color-stop(0.00, #F30));
	background: -webkit-linear-gradient(#F90, #F30);
	background: -moz-linear-gradient(#F90, #F30);
	background: -o-linear-gradient(#F90, #F30);
	background: -ms-linear-gradient(#F90, #F30);
	background: linear-gradient(#F90, #F30);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#F90', endColorstr='#F30', GradientType=0);
	*/
	
	background:url(../img/bg_btn_waribiki.png) no-repeat;
	color:#FFF;
	font-weight:bold;
	text-align:center;
	text-decoration:none;
	
}
.bnr_waribiki a:hover{
	

	filter:alpha(opacity=75);
	-moz-opacity:0.75;
	opacity:0.75;	
	
	
	}
.bnr_waribiki .line1{ font-size:26px;}
.bnr_waribiki .line2a{ font-family:"Arial Black", Gadget, sans-serif;  font-size:40px;}
.bnr_waribiki .line2b{ font-size:26px;}



@media (max-width: 768px){
  
  .page_contact{
    margin: 10px;
  }
  .box_form table th,
  .box_form table td{
    display: block;
    width: 100%;
    border: 1px solid #DDD;
    }

  .box_form table th{ border-bottom: 0; }
  .box_form table td{ margin-bottom:  5px;}

  .box_form table .sub_tbl th,
  .box_form table .sub_tbl td{
  /*  display:table-cell;*/
    width: 100%;
    text-align: left;
    }
  .box_form table .sub_tbl th.th_name{
    font-size: 13px;
  }
  
  
  .box_form table th p {
	  justify-content: flex-start;
	}
  .box_form table th .form-title{ order: 2; }
  .box_form table th .icon{ order: 1;	}
    
  .box_form input[type="text"]{
    width:100%;
  }
  
  .box_form p.txt-naiyou{
    text-align:left;
    margin-bottom: 0;
  }

  
}
  
