
/* Contact page */

.top-title {
	width: 100%;
	padding: 5%;
	border: 2px solid #B3B3B3;
	margin-bottom: 30px;
}

.req-icon {
  display: inline-block;
  background: #E50019;
  padding: 2px 20px;
  margin-left: 5px;       /* 先行する文字列との間隔 */
  vertical-align: middle; /* 先行する文字列と上下中央揃え */
  font-size: 0.8em;
  //font-weight: bold;
  color: #fff;
  border-radius: 12px;     /* アイコンの角を丸める */
}

table.contact-table {
	border-collapse:separate;
	width:100%;
	margin-bottom:80px;
}

table.contact-table td {
	border-bottom:2px #B3B3B3 solid;
	vertical-align:middle;
	text-align:left;
	padding:20px;
	margin:0;
	color:#FFF;
}

.contact_form {
	width:100%;
}

.contact_form2 {
	width:100%;
}

.col1 {
	width:40%;
}

.col2 {
	width:60%;
	background:#000;
}

.col-top-left {
}
.col-top-right {
}
.col-bottom-right {
}
.col-bottom-left {
}

.btn {
	color:#333;
	background: #CCC;
}
.btn:hover {
	background: #AAA;
}

.error_text {
	color:#F00 !important;
	font-weight:bold !important;
	padding:10px 0 !important;
	margin:0 !important;
}

#main input[type="text"], #main select, #main textarea {
	background:#eeeeee;
	color:#000;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
border:none !important;
padding:3px 5px;
}

/*
.btn {
  display: inline-block;
  background: #650205;
  padding: 10px 60px;
  margin-left: 5px;
  vertical-align: middle;
  font-size: 1.2em;
  //font-weight: bold;
  color: #fff;
  border-radius: 20px;
}

.btn:hover {
	opacity:0.6;
	color:#eee !important;
}
*/

@media (max-width: 768px) {

	.req-icon {
		font-size:0.5em;
	}
	table.contact-table .col1 {
		background:none;
	}
	table.contact-table .col2 {
		padding-bottom:15px;
	}
		
	table.contact-table th,
	table.contact-table td {
			display:block;
			border:none;
			width:100%;
			padding:0;
			margin:0;
	}
	table.contact-table td {
		padding-bottom:0;
	}

	#main input[type="text"], #main select, #main textarea {
		background:#FFF;
		padding:3px 5px;
		border:1px solid #eee !important;
	}

}
/* Protected contact form: escaped preview and an inaccessible bot trap. */
.contact_text { white-space: pre-wrap; overflow-wrap: anywhere; }
.contact-trap { display: none !important; }
#contact-status { padding: 10px 0; white-space: pre-wrap; }
#contact-fields { border: 0; padding: 0; margin: 0; min-width: 0; }
#contact-fields:disabled { opacity: .7; }
#back_btn, #send_btn { display: none; }

/* Clear completion state; the submitted details remain available underneath. */
#contact-status.contact-success {
    margin: 20px 0 28px;
    padding: 24px 20px;
    border: 2px solid #67c99a;
    border-radius: 8px;
    background: #143d2c;
    color: #f2fff8;
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    scroll-margin-top: 110px;
}
#contact-sent-title {
    margin: 0 0 18px;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
}
#contact-sent-title[hidden] { display: none; }
