@charset "UTF-8";

/*==================================================
 入力フィールド
================================================== */

.contact-mailForm select,
.contact-mailForm textarea,
.contact-mailForm input[type='tel'],
.contact-mailForm input[type='text'],
.contact-mailForm input[type='email'],
.contact-mailForm input[type='url'] {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 16px;
	max-width: 100%;
	padding: 8px;
	border: 1px solid #dfdfdf;
	/* border-radius: 2px; */
	/* box-shadow: 0 1px 1px rgba(150,150,150,.1) inset; */
	box-sizing: border-box;
}

.contact-mailForm textarea {
	width: 100%;
	min-height: 150px;
	padding: 8px !important;
}


/* ボタン
-------------------------------------------------- */

.contact-mailForm input[type='button'],
.contact-mailForm input[type='submit'],
.contact-mailForm button[type='button'] {
	font-family: 'Noto Sans JP', sans-serif;
	letter-spacing: .1em;
	margin: 0 4px;
	padding: 1em 2em;
	font-size: 16px;
	border: none;
	border-radius: 2px;
	-webkit-appearance: none;
	transition: opacity 0.4s ease;
	background-color: #093591;
	color: #fff;
	margin: 5px;
}

.contact-mailForm input[type='button']:hover,
.contact-mailForm input[type='submit']:hover,
.contact-mailForm button[type='button']:hover {
	opacity: .8;
	cursor: pointer;
}

.contact-mailForm input[type='button'][disabled],
.contact-mailForm input[type='submit'][disabled],
.contact-mailForm button[type='button'][disabled] {
	opacity: .7;
	pointer-events: none;
}


/* チェックボックス・ラジオボタン
-------------------------------------------------- */

.contact-mailForm input[type=radio],
.contact-mailForm input[type=checkbox] {
	display: inline-block;
	margin-right: 6px;
}

.contact-mailForm input[type=radio] + label,
.contact-mailForm input[type=checkbox] + label {
	position: relative;
	display: inline-block;
	margin-right: 12px;
	line-height: 30px;
	cursor: pointer;
}

.contact-mailForm input[type=radio],
.contact-mailForm input[type=checkbox] {
	display: none;
	margin: 0;
}

.contact-mailForm input[type=radio] + label,
.contact-mailForm input[type=checkbox] + label {
	margin-bottom: 5px;
	padding: 0 0 0 24px;
}

.contact-mailForm input[type=radio] + label::before,
.contact-mailForm input[type=checkbox] + label::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	display: block;
	width: 18px;
	height: 18px;
	margin-top: -9px;
	background: #FFF;
}

.contact-mailForm input[type=radio] + label::before {
	border: 2px solid #ccc;
	border-radius: 30px;
}

.contact-mailForm input[type=checkbox] + label::before {
	border: 2px solid #ccc;
}

.contact-mailForm input[type=radio]:checked + label::after,
.contact-mailForm input[type=checkbox]:checked + label::after {
	content: "";
	position: absolute;
	top: 50%;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	display: block;
}

.contact-mailForm input[type=radio]:checked + label::after {
	left: 5px;
	width: 8px;
	height: 8px;
	margin-top: -4px;
	background: #e74c3c;
	border-radius: 8px;
}

.contact-mailForm input[type=checkbox]:checked + label::after {
	left: 3px;
	width: 16px;
	height: 8px;
	margin-top: -8px;
	border-left: 3px solid #e74c3c;
	border-bottom: 3px solid #e74c3c;
	-webkit-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
}


/*==================================================
 テーブル
================================================== */

.contact-mailForm .contact-form-table {
	width: 100%;
	table-layout: fixed;
	border: solid 1px #e9e9e9;
	background: #fff;
}

.contact-mailForm .contact-form-table tr th{
	width: 35%;
	background: #eee;
}

.contact-mailForm .contact-form-table tr th,
.contact-mailForm .contact-form-table tr td{
	line-height: 24px;
	vertical-align: middle;
}

.contact-mailForm .contact-form-table tr th{
	padding: 15px 3%;
}

.contact-mailForm .contact-form-table tr td{
	padding: 15px;
}

.contact-mailForm .contact-form-table tr:not(:last-child) th,
.contact-mailForm .contact-form-table tr:not(:last-child) td{
	border-bottom: solid 1px #ddd;
}


/* スマホ表示時にはテーブルを縦向きにする */
@media screen and (max-width: 768px) {
	.contact-mailForm .contact-form-table,
	.contact-mailForm .contact-form-table tbody,
	.contact-mailForm .contact-form-table tr,
	.contact-mailForm .contact-form-table th,
	.contact-mailForm .contact-form-table td {
		width: auto;
		display: block;
	}

	.contact-mailForm .contact-form-table tr th{
		width: 100%;
		border-bottom: none;
		padding: 15px 15px 10px 15px;
	}

	.contact-mailForm .contact-form-table tr td{
		padding: 10px;
		border-bottom: solid 1px #ddd;
	}
}

/* ご住所だけ2段なのでマージンを開ける */
.contact-mailForm input[name="items[address]"] {
	margin-top: 8px;
}

/* 「不正な送信です」「時間を空けて再度送信ください」などのセキュリティエラー文 */
.contact-mailForm .sec-error-text {
	line-height: 80px;
	text-align: center;
	color: #fff;
	font-size: 20px;
	background: #e74c3c;
}

/* 「任意」「必須」マーク */
.contact-mailForm .optional-mark,
.contact-mailForm .required-mark {
	padding: 4px;
	color: #fff;
	font-size: 13px;
	line-height: 13px;
	float: right;
}

.contact-mailForm .optional-mark {
	background: #3498db;
}

.contact-mailForm .required-mark {
	background: #e74c3c;
}

/* 「~が入力されていません」などの未記入エラー文 */
.contact-mailForm .error-text {
	font-size: 14px;
	font-weight: 500;
	margin: 0 0 4px;
	color: #e74c3c;
}

/* 送信・確認ボタン */
.contact-mailForm .contact-submits-wrap {
	text-align: center;
	margin-top: 40px;
}

/* プライバシーポリシー */
.contact-mailForm .inline-privacy-policy {
	height: 350px;
	margin: 16px 0;
	border: 1px solid #dfdfdf;
	background: #fff;
}

.contact-mailForm .inline-privacy-policy-inner {
	width: 100%;
	height: 100%;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	overflow-scrolling: touch;
	display: inline-block;
}

.contact-mailForm .inline-privacy-policy iframe {
	width: 100%;
	height: 100%;
	display: block;
}

/* リキャプチャ */
.contact-mailForm .contact-recaptcha-wrap {
	margin: 16px auto;
	display: table;
}

.contact-mailForm .contact-recaptcha-wrap {
	margin: 16px auto;
	display: table;
}

.contact-mailForm .contact-recaptcha-wrap iframe{
	height: 78px;
}

@media screen and (max-width: 768px){
	.contact-mailForm .contact-recaptcha-wrap{
		display: block;
	}
	.contact-mailForm .g-recaptcha{
		transform-Origin:0 0;
	}
	.contact-mailForm .g-recaptcha > div{
		margin: auto;
	}
}

@media screen and (max-width: 350px){
	.contact-mailForm .g-recaptcha{
		transform:scale(0.92);
	}
}

::placeholder {
	color: #ccc;
}


/*==================================================
 日付選択フォーム
================================================== */
.contact-mailForm .date-list{
	padding-left: inherit;
}
.contact-mailForm .date-list li{
	list-style: none;
	margin-bottom: 15px;
}
.contact-mailForm .date-list li p{
	margin-bottom: 5px;
}

/*==================================================
 画像アップロードフォーム
================================================== */

.contact-mailForm .upload-item-wrap {
	font-size: 13px;
	overflow: hidden;
}

.contact-mailForm .upload-item-wrap input[type="file"] {
	display: none;
}

/* アップされた画像のサムネイル */
.contact-mailForm .upload-item-wrap .thumb {
	width: 220px;
	height: 220px;
	margin: 0 8px 0 0;
	position: relative;
	overflow: hidden;
	float: left;
}

.contact-mailForm .upload-item-wrap .thumb img {
	max-width: none;
	height: 100%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
}

/*選択・削除ボタン  */
.contact-mailForm .upload-item-wrap .ancion-btn-wrap {
	float: left;
}

.contact-mailForm .upload-item-wrap .ancion-btn {
	margin: 0 0 8px;
	width: 110px;
	line-height: 35px;
	text-align: center;
	color: #fff;
	border-radius: 4px;
	background: #e6e6e6;
	display: block;
}

.contact-mailForm .upload-item-wrap .select-file {
	background: #2ecc71;
}

.contact-mailForm .upload-item-wrap .deselect-file {
	background: #e74c3c;
}

.contact-mailForm .upload-item-wrap .ancion-btn:hover {
	cursor: pointer;
}

/*添付ファイルの注意文  */
.contact-mailForm .upload-notice{
	margin-top: 10px;
	font-size: 0.8em;
}