.entry-title{
  font-size: 28px;
  margin: 0;
}

.entry-title:first-letter,
#topExplain .sub_title:first-letter,
#topExplain .cmnTitle04:first-letter{
	color: #e3322c;
}

/* contact-form */
.contact-box section h2{
    margin: 20px 0!important;
    font-size: 1.5em;
    font-weight: bold;
}

.contact-box section h3{
    font-size: 1.17em;
    margin: 20px 0!important;
    font-weight: bold;
}

.contact-box section .contact-no{
    margin: 20px 0;
    font-size: 30px;
    font-weight: 700;
    color: #333;
}

.contact-box section .lh{
	line-height: 1.5em;
}

.form-btn-box{
    margin: 20px 10px 50px;
}

/* contact*/

#contact-box {
	margin-top: 4.5rem;
	margin-left: 0;
	margin-right: 0;
}

@media (min-width: 576px) {
	#contact-box {
		margin-top: 5rem;
		margin-left: 10%;
		margin-right: 10%;
	}
}

@media (min-width: 768px) {
	#contact-box {
		margin-top: 100px;
	}
}

#contact-box .pageback {
	margin: 0 0 35px 0;
	font-weight: bold;
}

/* ------------------------------
　　お問い合わせ
------------------------------ */
.contact-box .message {
	margin: 0 0 35px 0;
	font-weight: bold;
	color: #C41134;
}

.contact-box .contact-no {
	margin: 0;
	font-size: 30px;
	font-weight: bold;
	color: #333;
}
.contact-box .contact-no a {
	color: inherit;
}

.contact-box .error-text {
	/* エラー文 */
	margin: 5px 0 0 0;
	color: #C41134;
}

.contact-form {
	width: 100%;
	margin: 0 0 20px 0;
	padding: 0;
	list-style: none;
	background: #E5E5E5;
}

.contact-form-group {
	background: #E5E5E5;
}

.contact-form-label {
	display: block;
	text-align: left;
	margin: 0;
	padding: 10px 10px 0 10px;
}

.contact-form-control {
	display: block;
	padding: 10px;
	border-bottom: 1px solid #FFF;
}

.contact-form-label {
	font-weight: bold;
}

.contact-form-grid {
	margin: 0 -5px;
}

.contact-form-col,
.acms-entry .contact-form-col {
	margin: 0 0 10px 0;
	padding: 0 5px;
}
.contact-form-col:last-child,
.acms-entry .contact-form-col:last-child {
	margin: 0;
}

@media screen and (min-width: 768px) {
	.contact-form {
		display: table;
		width: 100%;
	}
	.contact-form-group {
		display: table-row;
	}
	.contact-form-label,
	.contact-form-control {
		display: table-cell;
	}
	.contact-form-label {
		width: 33.33333%;
		padding: 25px 15px 15px 15px;
		vertical-align: top;
		border-bottom: 1px solid #FFF;
	}
	.contact-form-control {
		width: 66.66667%;
		padding: 15px;
	}
	.contact-form-col {
		margin: 0;
	}
}

/* ステップ
------------------------------ */
.contact-box .mail-step {
	margin: 0 0 35px 0;
	padding: 0 10px;
	background: #E5E5E5;
	/* カウンターの設定 */
	counter-reset: mailStep;
}

.contact-box .mail-step-item {
	float: left;
	list-style: none;
	margin: 0 10px;
	padding: 18px 0 14px;
	color: #999;
	font-size: 16px;
	font-weight: bold;
	border-bottom: 4px solid transparent;
}
.contact-box .mail-step-item:before {
	/* カウンターの設定 */
	counter-increment: mailStep;
	content: counter(mailStep) ".";
}

.contact-box .mail-step-item-current {
	color: #333;
	border-bottom: 4px solid #333;
}

@media screen and (min-width: 768px) {
	.contact-box .mail-step {
		height: 60px;
	}
}

/* 送信ボタン
------------------------------ */
.form-btn-box {
	margin: 0 10px 50px 10px;
	text-align: center;
}

.form-btn {
	display: inline-block;
	background-color: unset;
	width: unset;
}

.form-btn-return {
	float: left;
}

.form-btn-send {
	float: right;
}

@media screen and (min-width: 768px) {
	.form-btn-return {
		float: none;
	}
	.form-btn-send {
		float: none;
		max-width: 360px;
		width: 100%;
	}
}

.btn-attention-block-large {
	background-color: var(--color-primary);
}

.btn-attention-block-large:active, .btn-attention-block-large:focus, .btn-attention-block-large:hover {
	background-color: var(--color-primary);
}

/* ラベル
------------------------------ */
.label-required {
	margin: 0 5px;
	padding: 2px 8px;
	color: #FFF;
	font-size: 12px;
	border-radius: 3px;
	background: #C41134;
}

@media screen and (min-width: 768px) {
	.label-required {
		float: right;
	}
}

/* フォーム要素
------------------------------ */
.contact-box select[required]:required {
	border: 1px solid #C49511;
}

.contact-box select.focused:invalid {
	border: 1px solid #C41134;
}

.contact-box select[required]:valid {
	border: 1px solid #A7A7AA;
}

.contact-box input[required]:required,
.contact-box textarea[required]:required {
	background: #FFFDEB;
}

.contact-box input.focused:invalid,
.contact-box textarea.focused:invalid {
	background: #FFEBEE;
}

.contact-box input[required]:valid,
.contact-box textarea[required]:valid {
	background: #FFF;
}

.contact-box input[type="text"],
.contact-box input[type="password"],
.contact-box input[type="datetime"],
.contact-box input[type="datetime-local"],
.contact-box input[type="date"],
.contact-box input[type="month"],
.contact-box input[type="time"],
.contact-box input[type="week"],
.contact-box input[type="number"],
.contact-box input[type="email"],
.contact-box input[type="url"],
.contact-box input[type="search"],
.contact-box input[type="tel"] {
	font-size: 16px;
	padding: 14px 5px 10px 5px;
}

.contact-box textarea {
	font-size: 16px;
	padding: 5px 5px 4px;
}

.contact-box select {
	font-size: 16px;
	padding: 11px 30px 11px 10px;
	vertical-align: top;
}

/* バリデーター
------------------------------ */
.valid-mark {
	display: none;
}

.valid-mark.valid {
	display: inline;
	color: #5CB85C;
	float: right;
}

.invalid {
	background: #FFEBEE !important;
}

