@charset "utf-8";

input{
	padding:10px;
}
select{
	padding:10px;
}


#contact table {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid #bcbcbc;
}

#contact table th {
	padding: 15px;
	font-size: 16px;
	font-weight: normal;
	color: #000;
	background-color: #F7F7F7;
	text-align: left;
	line-height: 1.6;
	vertical-align: top;
	border-right: 1px solid #bcbcbc;
	border-bottom: 1px solid #bcbcbc;
}

#contact table td {
	padding: 15px;
	font-size: 16px;
	line-height: 1.6;
	vertical-align: top;
	border-bottom: 1px solid #bcbcbc;
	background-color: #fff;
}

#contact table th {
	width: 25%;
	font-size: 14px;
	text-align: left;
}
#contact.recruitmentform table th{
	width: auto;
}
#contact table td {
	width: 75%;
}

.required {
	color: #FFF;
	float: right;
	font-size: 12px;
	background-color: red;
	padding: 2px 4px;
	border-radius: 5px;
}
.note{
	color:#888888;
}

#contact table td input,
#contact table td select,
#contact table td textarea {
	padding: 10px;
	max-width: 90%;
}

#contact .submit {
	width: 400px;
	padding: 20px 30px;
	border-radius: 30px;
	background-color: #3071b7;
	color: #ffffff;
	font-size: 24px;
	font-weight: normal;
	text-align: center;
	vertical-align: middle;
	border: none;
	cursor: pointer;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	line-height: 1;
	margin-top: 1em;
}
#contact .submit:hover {
	opacity: 0.7;
}
#contact .submit.backbtn {
	background-color: #C0C0C0;
	color: #333;
}

.deadline{
	text-align:center;
	padding:10px 0;
}
.deadline span{
	padding:10px 20px;
	color:#FF0000;
	font-weight:bold;
	font-size:120%;
	border:solid 2px #FF0000;
	background-color:#ffff00;
}
#contact .btnbox{
	text-align:center;
	padding:30px 0;
}
.error_message {
	color: #FF0000;
	font-weight: bold;
	padding: 5px;
	margin: 0;
	line-height: 1.4;
	background-color: #FFFF80;
	display: block;
	margin-top: 10px;
}
.completemsg{
	margin:30px 0;
	color:#950000;
}
.alert{
	color:#FF0000;
}


/* ナビなど */
.progressbar {
	position: relative;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-bottom:50px;
	z-index:1;
}
.progressbar li {
	position: relative;
	list-style-type: none;
	text-align: center;
	text-transform: uppercase;
	width: 33.333%;
	color: #999999;
	font-weight: bold;
	font-size: 16px;
}
.progressbar li:before {
	display: block;
	width: 18px;
	height: 18px;
	margin: 7px auto 20px auto;
	content: '';
	text-align: center;
	border-radius: 50%;
	background-color: #C0C0C0;
}
.progressbar li:after {
	position: absolute;
	z-index: -1;
	top: 15px;
	left: -50%;
	width: 100%;
	height: 2px;
	content: '';
	background-color: #C0C0C0;
}
.progressbar li:first-child:after {
	content: none;
}
.progressbar li.active,
.progressbar li.complete{
	color: #3071b7;
}
.progressbar li.active:before,
.progressbar li.complete:before {
	background-color: #3071b7;
}
.progressbar li.active:after,
.progressbar li.complete:after {
	background-color: #3071b7;
}

.contact_description,
.alert,
.recruitbox p{
	display: block;
	font-size: 16px;
	line-height: 1.8;
	margin:10px 0;
	text-align:left;
}
.contact_description,
.comment,
.inq_container .title,
.inq_container .inq_description{
	color: var(--ink);
}

.mt2em{
	margin-top:2em;
}

.buttonbox{
	display: flex;
	justify-content: space-between;
	flex-flow: row-reverse;
}

#contact .submitbutton.backbutton{
	background-color:#E2E2E2;
	color:#333;
}

#contact table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #cccccc;
  margin-top: 80px;
}

#contact table th {
  width: 25%;
  font-size: 16px;
  font-weight: normal;
  color: var(--ink);
  padding: 12px 10px;
  background-color: #f4f4f4;
  vertical-align: top;
  line-height: 1;
  text-align: left;
  position: relative;
  border-right: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
}

#contact table th span {
  display: inline-block;
  padding: 5px 10px;
  color: #fff;
  font-size: 14px;
  background-color: var(--brand-bright);
  text-align: center;
  position: absolute;
  right: 10px;
}
#contact table th span.hissu {
  background-color: #FF0000;
}
#contact table td {
  width: 75%;
  font-size: 16px;
  font-weight: normal;
  color: #000;
  padding: 12px 10px;
  vertical-align: middle;
  line-height: 1;
  border-bottom: 1px solid #cccccc;
}

#contact table td input {
  width: 60%;
  padding: 10px 5px;
  border-radius: 3px;
  border: 1px solid #8f8f9d;
}
#contact table td p{
	margin:5px 0;
}

#contact table td .wauto input,
#contact table td input[type=checkbox],
#contact table td input[type=radio] {
  width: auto;
}
#contact table td label{
  margin-right: 20px;
}
#contact table td.indent_td input {
  width: 10%;
  display: inline-block;
}

#contact table td.indent_td span {
  display: inline-block;
  margin: 0 5px;
}

#contact table td.indent_td span.indent_txt {
  display: inline-block;
  margin: 0 5% 0 0;
  width: 10%;
}

#contact table td.indent_td input {
  display: inline-block;
}

#contact table td input.input_long {
  width: 84%;
}

#contact table td input.input_long2 {
  width: 70% !important;
}

#contact table td textarea {
  width: 100%;
  padding-left: 10px 5px;
  border: 1px solid #8f8f9d;
  border-radius: 3px;
}

#contact p.privacy_check {
  display: block;
  font-size: 18px;
  margin-bottom: 2em;
  text-align: center;
}

#contact button,
#contact .submitbutton {
  display: block;
  max-width: 480px;
  width: 100%;
  margin: 50px auto 30px;
  padding: 20px;
  background-color: #142f57;
  text-align: center;
  font-size: 24px;
  color: #fff;
  position: relative;
  cursor: pointer;
  outline: none;
  appearance: none;
}

/***************** スマートフォン ********************** */
@media screen and (max-width: 640px) {
	#contact table th,
	#contact table td {
		display:block;
		width:100%;
	}
	#contact table th {
		border-right:none;
	}
	#contact table {
		border-bottom:none;
	}
	#contact table td input[type="text"],
	#contact table td input[type="password"],
	#contact table td textarea {
		width: 90%;
	}
	#contact table td p{
		line-height:1.5;
	}
	#contact table td p input[type="text"],
	#contact table td p input[type="password"],
	#contact table td p textarea {
		margin:10px 0 0;
	}
	#contact table td .wauto input[type="text"],
	#contact table td .wauto input[type="password"],
	#contact table td .wauto textarea {
		width: auto;
		margin:0;
	}

	#contact button, #contact .submitbutton {
		font-size: 18px;
	}
}
