@charset "utf-8";

/* フォーム共通
   ========================================================================== */
.form-area .req {
	color: #f00;
	font-weight: bold;
}
.form-area table {
	width: 100%;
  font-size: 1.4rem !important;
	background: url("../img/line-dot.png") repeat-x top;
	margin-top: 1em;
}
.form-area tr {
	background: url("../img/line-dot.png") repeat-x bottom;
}
.form-area th {
	display: block;
	width: 100%;
	text-align: left;
	line-height: 1.0;
	padding: 1em 0 0.5em;
}
.form-area th .notes {
	margin-top: 0 !important;
}
.form-area td {
	display: block;
	padding-bottom: 1em;
}
.form-area input[type="text"],
.form-area input[type="email"],
.form-area textarea {
	width: 100%;
  height: 40px;
	padding: 10px;
  border: 2px solid #e5e5e5;
	border-radius: 6px;
}
.form-area input[type="text"]:focus,
.form-area input[type="email"]:focus,
.form-area textarea:focus {
	border-color: #94c9e6;
  outline: none;
}
.form-area textarea {
  height: 80px;
}
@media (min-width:769px){
	.form-area table {
		display: table;
    font-size: 1.6rem !important;
	}
	.form-area th {
		display: table-cell;
		width: 250px;
		font-weight: normal;
		line-height: 1.7;
		padding: 0 0 0 0;
	}
	.form-area th .notes {
		margin-top: 0 !important;
	}
	.form-area td {
		display: table-cell;
		width: 850px;
		padding-top: 1em;
	}
	.form-area input[type="text"],
	.form-area input[type="email"],
	.form-area textarea {
		border-radius: 8px;
	}
	.form-area input[type="text"]:hover,
	.form-area input[type="email"]:hover,
	.form-area textarea:hover {
		border-color: #94c9e6;
	}
  .form-area textarea {
    height: 150px;
  }
}


/* ラジオボタン
   ====================================== */
.wpcf7-radio {
	display: flex;
	flex-wrap: wrap;
}
.wpcf7-radio .wpcf7-list-item {
	width: calc(100% / 2);
	margin-bottom: 1em;
	margin-left: 0 !important;
}
.wpcf7-radio .wpcf7-list-item:nth-last-of-type(2),
.wpcf7-radio .wpcf7-list-item:last-of-type {
	margin-bottom: 0;
}
.form-area input[type="radio"] {
	margin-right: 6px;
}
@media (min-width:769px){
	.wpcf7-radio .wpcf7-list-item {
		width: calc(100% / 3);
	}
	.wpcf7-radio label {
		cursor: pointer;
	}
}


/* チェックボックス
   ====================================== */
.wpcf7-checkbox {
	display: flex;
	flex-wrap: wrap;
}
.wpcf7-checkbox .wpcf7-list-item {
	width: calc(100% / 2);
	margin-bottom: 0.5em;
}
.wpcf7-checkbox .wpcf7-list-item:nth-last-of-type(2),
.wpcf7-checkbox .wpcf7-list-item:last-of-type {
	margin-bottom: 0;
}
.form-area input[type="checkbox"] {
	margin-right: 6px;
}
@media (min-width:769px){
	.wpcf7-checkbox .wpcf7-list-item {
		/*width: calc(100% / 3);*/
	}
	.check-clm-2 .wpcf7-checkbox .wpcf7-list-item {
		width: calc(100% / 2);
	}
	.wpcf7-checkbox label {
		cursor: pointer;
	}

}


/* 送信ボタンエリア
   ====================================== */
.submit-area {
	margin: 20px 0 30px 0;
}
.submit-check {
	display: block;
}
@media (min-width:769px){
	.submit-area {
    text-align: center;
		margin: 40px 0 50px 0;
	}
}



/* 送信用チェックボックス */
.submit-area input[type="checkbox"] {
  display: none;
}
.submit-area input[type="checkbox"] + span {
  position: relative;
  display: inline-block;
  padding: 0 0 0 50px;
  margin-right: 0;
  cursor: pointer;
}
.submit-area input[type="checkbox"] + span::before {
  display: block;
  position: absolute;
  content: "";
  top: 50%;
  left: 0;
  width: 30px;
  height: 30px;
  margin-top: -18px;
  border: 2px solid #e5e5e5;
	border-radius: 6px;
}
.submit-area input[type="checkbox"]:checked + span::after {
  display: block;
  content: "";
  position: absolute;
  top: 50%;
  left: 6px;
  width: 19px;
  height: 10px;
  margin-top: -11px;
  border-left: 3px solid #94c9e6;
  border-bottom: 3px solid #94c9e6;
  transform: rotate(-45deg);
}
@media (min-width:769px){
	.submit-area input[type="checkbox"] + span {
		padding: 0 0 0 40px;
	}
	.submit-area input[type="checkbox"] + span::before {
		border-radius: 8px;
	}
	.submit-area input[type="checkbox"] + span:hover::before {
		border-color: #94c9e6;
	}
}

.form-area input[type="submit"] {
  width: 100%;
	background-color: #94c9e6;
	font-size: 1.6rem;
  color: #fff;
	text-align: center;
	line-height: 1.0;
	padding: calc(1em + 1px) 0 1em 0;
	margin-top: 10px;
  border: 2px solid #94c9e6;
	border-radius: 6px;
}
.form-area input[type="submit"][disabled]{
	background-color: #e5e5e5;
	color: #999;
  border: 2px solid #e5e5e5;
	transition: 0;
}
@media (min-width:768px) {
  .form-area input[type="submit"] {
		width: 300px;
		font-size: 1.8rem;
		padding: calc(1em + 3px) 0 1em 0;
		margin-top: 20px;
		border-radius: 8px;
		transition: 0.3s;
  }
  .form-area input[type="submit"]:hover {
		cursor: pointer;
    opacity: 0.6;
  }
  .form-area input[type="submit"][disabled]:hover {
		cursor: not-allowed;
    opacity: 1;
  }
}

/*cf7送信完了メッセージ*/
.form-area .wpcf7-mail-sent-ok {
	display:none !important;/*非表示*/
}



/* 注意書き
   ====================================== */
.form-area .notice {
	padding: 11px 10px 10px;
	border: 2px solid #f89b9b;
	border-radius: 6px;
}
@media (min-width:768px) {
	.form-area .notice {
		padding: 22px 20px 20px;
		border-radius: 8px;
	}
}



/* 送信完了ページ
   ========================================================================== */
.form-area .thanks {
	margin: 20px 0;
}
.form-area .thanks p {
	font-size: 1.6rem;
}
@media (min-width:768px) {
	.form-area .thanks {
		margin: 40px 0;
	}
	.form-area .thanks p {
		font-size: 2.4rem;
		text-align: center;
	}
}



