@charset "utf-8";
/* CSS Document */

/* -------------------------------------------------

inquiry/form/index.php CSS

------------------------------------------------- */
.mainArea{
	padding:20px 20px 40px;
}

/* ----------
firstText
------------ */
.firstText{
	margin-bottom: 30px;
}
.firstText p{
	margin-bottom: 20px;
}
.firstText dl{
	margin-bottom: 20px;
}
.firstText ul li{
	text-indent: -1em;
	padding-left: 1em;
}
/* ----------
form Reset
------------ */
input[type="text"],
input[type="tell"],
input[type="email"],
input[type="submit"],
textarea,
select {
  border-radius: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  outline: none;
  background-color: transparent;
}

input[type="text"]:focus,
input[type="tell"]:focus,
input[type="email"]:focus,
input[type="submit"]:focus,
textarea:focus,
select:focus {
  outline: none;
}

/* ----------
formArea
------------ */
.formArea table{
	width:100%;
	border-collapse:collapse;
	margin-bottom: 30px;
}
.formArea table th,
.formArea table td{
	border:1px solid #d9d9d9;
	font-weight:normal;
	text-align: left;
	vertical-align: top;
	box-sizing: border-box;
}
.formArea table th{
	width:200px;
	background-color:#e8e8e8;
	position: relative;
	padding: 10px 10px 10px 50px;
}
.formArea table th.required::before{
	content: "必須";
	color:#fff;
	font-weight: bold;
	font-size: 12px;
	line-height: 100%;
	padding: 2px 5px;
	background: #f00;
	border-radius: 5px;
	position: absolute;
	left: 10px;
	top:10px;
}
.formArea table td{
	padding: 10px;
}
.formArea table td input,
.formArea table td textarea,
.formArea table td select{
	border:1px solid #ccc;
	padding: 8px 10px;
	border-radius: 10px;
	box-sizing: border-box;
}
.formArea table td .sizeS{
	width: 80px;
}
.formArea table td .sizeM{
	width:150px;
}
.formArea table td .sizeL{
	width: 100%;
}
.formArea .policyText{
	text-align: center;
	margin-bottom: 20px;
}
.formArea .policy{
	margin-bottom: 20px;
}
.formArea .policy h5{
	font-size:1.5em;
	text-align: center;
	margin-bottom: 20px;
}

.check{
	text-align: center;
	font-size: 1.25em;
	font-weight: bold;
	margin-bottom: 15px;
}
.submitArea{
	display: flex;
	justify-content: center;
}
.submitArea .submitBtn{
	background-color: #deda1f;
	color:#fff;
	font-weight: bold;
	font-size: 1.2em;
	padding: 10px;
	text-align:center;
	border-radius: 10px;
	width: 250px;
	display: block;
	margin: 0 10px;
	cursor: pointer;
	transition: 0.3s;
}
.submitArea .submitBtn:hover{
	background-color: #8ec256;
}

/* ----------
okArea
------------ */
.okArea{
	padding-top: 40px;
	text-align: center;
}
.okArea h5{
	font-size: 1.6em;
	font-weight: bold;
	margin-bottom: 20px;
}

/* 768px以内（iPad） */
@media screen and (max-width:768px) {

}
/* 640px以内（iPhone） */
@media screen and (max-width:640px) {
	
/* ----------
formArea
------------ */
.formArea table th,
.formArea table td{
	display: block;
}
.formArea table th{
	width:100%;
	border-bottom: 0;
}
.submitArea .submitBtn{
	width:130px;
	margin: 0 5px;
	padding: 10px 0;
}
}

/* エラーメッセージ
-------------------------------------------------*/
.formLayout .errmsg,
.formLayout #errorMessage {
  box-sizing: border-box;
  width:100%;
  background:#FFF;
  border:3px solid #f00;
  padding:10px;
  margin:0 auto 10px auto;
  color:#F00;
}
.formLayout .errmsg a,
.formLayout #errorMessage a {
  color:#F00;
}


/* 画面別表示/非表示
-------------------------------------------------*/
.formLayout.input_now .display_check,
.formLayout.check_now .display_input{
  display:none;
}

