@charset "UTF-8";


/* サブページの共通のレイアウトはsub_page.cssに記述 */

/* ---------------------------------------------
  メールフォームのcss
--------------------------------------------- */

.mail_form h2 {
	font-size: 1.2rem;
	text-align: center;
	line-height: 1.8rem;
}
.mail_form p {
	text-align: center;
}

/* 米印 */
.fa-asterisk {
	color: #880000;
	font-size: .8rem;
}

/* チェックアイコン */
.icon_design {
	font-size: .9rem;
}

/* 警告メッセージ */
#msg-title,
#msg-name,
#msg-tel,
#msg-email,
#msg-text {
	color: #880000;
	font-size: .9rem;
}

/* 警告アイコン */
.error::before {
  content: "\f071"; 
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: .2rem;
	color: #880000;
}

#formWrap {
	width: 70%;
	margin: 0 auto;
	font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 1rem;
  color: #404040;
}
.main-form {
	margin: 2.5rem 0;
  background: #fff;
  padding: 3rem 3rem 2rem 3rem;
  border-radius: 1rem;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.05),
    0 2px 8px rgba(0, 0, 0, 0.04);
}
.form-item {
	margin: .2rem 0;
}

/* 項目名 */
.col-form-label {
	display: flex;
	align-items: center;
	background-color: #fad3c0;
	border-radius: .2rem;
}

/* 入力欄 */
.form-input {
	padding: .5rem 0 .5rem 1rem;
}

/* 送信・リセットボタン */
.btn-submit {
	display: flex;
	justify-content: center;
	padding: 1.5rem 0;
}
.btn-submit input {
	width: 120px;
	padding: .4rem;
	margin: 0 1rem;
	border-radius: .375rem;
	color: #fff;
  background-color: #952223;
	border: none;
  outline: none; /* フォーカス時の青い枠も消す */
  box-shadow: none; /* Bootstrap対策 */
	transition: background .5s, color .5s;
}
.btn-submit input:hover {
  color: #fff !important;
  background: #cc4244;
	transition: background .8s, color .8s;
}



/* タブレット（pro横向き以外） */
@media (min-width: 768px) and (max-width: 1199.98px) {
	#formWrap {
		width: 80%;
	}
}
/* タブレット（ipad縦・Air縦のみ） */
@media (min-width: 768px) and (max-width: 991px) and (orientation: portrait) {
	#formWrap {
		width: 90%;
	}
}

/* スマートフォン */
@media (max-width: 767px) {
	.mail_form h2 {
		padding: 0 1rem;
	}
	#formWrap {
		width: 95%;
	}
	.main-form {
		margin: 2.5rem 0;
		padding: 3rem 1.5rem 2rem 1.5rem;
	}
	/* 入力欄 */
	.form-input {
		padding: 1rem 0;
	}
}