@charset "UTF-8";

/*==================================================
 入力フィールド
================================================== */

.top__contactForm select,
.top__contactForm textarea,
.top__contactForm input[type='tel'],
.top__contactForm input[type='num'],
.top__contactForm input[type='text'],
.top__contactForm input[type='tel'],
.top__contactForm input[type='mail'],
.top__contactForm input[type='url'],
.top__contactForm input[type='email'] {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 16px;
	max-width: 100%;
	padding: 10px 8px;
	font-size: 16px;
	border: 2px solid #000;
	border-radius: 5px;
	/* box-shadow: 0 1px 1px rgba(150,150,150,.1) inset; */
	box-sizing: border-box;
}

.top__contactForm textarea {
	width: 100%;
	min-height: 150px;
	padding: 8px !important;
}


/* ボタン
-------------------------------------------------- */
.top__contactForm button[type='button'],
.top__contactForm input[type='button'],
.top__contactForm button[type='image'],
.top__contactForm input[type='image'],
.top__contactForm button[type='submit'] ,
.top__contactForm input[type='submit']{
	font-family: 'Noto Sans JP', sans-serif;
	width: 100%;
	height: 100%;
	background: none;
	color: #fff;
	font-size: 18px;
	-webkit-appearance: none;
	transition: opacity 0.4s ease;
	padding-left: 20px;
}

.top__contactForm button[type='button']:hover,
.top__contactForm input[type='button']:hover,
.top__contactForm button[type='submit']:hover,
.top__contactForm input[type='submit']:hover {
	opacity: .8;
	cursor: pointer;
}

.top__contactForm input[type='button'][disabled],
.top__contactForm input[type='submit'][disabled] {
	opacity: .7;
	pointer-events: none;
}

.top__contactForm input::placeholder, textarea::placeholder {
	color: #c3c3c3;
	font-size: 14px;
}

.btn_input{
	width: 230px;
	max-width: 100%;
	height: 60px;
	background: #000;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}
.btn_input::after{
	content: '';
	display: block;
	width: calc(100% - 14px);
	height: calc(100% - 12px);
	border: solid 2px #fff;
	border-radius: 5px;
	position: absolute;
	top: 6px;
	left: 7px;
	z-index: -1;
}
.btn_input::before{
	content: "";
	display: inline-block;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 7px 0 7px 12px;
	border-color: transparent transparent transparent #fff;
	position: absolute;
	top: 0;
	left: 60px;
	bottom: 0;
	margin: auto 0;
	transition: .4s;
}
.btn_input:hover::before{
	opacity: .8;
}
.btn_input.btn_type_back::before{
	left: 35px;
}
.btn_input.btn_type_back,
.btn_input.btn_type_sent{
	margin: 10px;
}

@media screen and (max-width: 768px){
	.top__contactForm button[type='button'],
	.top__contactForm input[type='button'],
	.top__contactForm button[type='image'],
	.top__contactForm input[type='image'],
	.top__contactForm button[type='submit'] ,
	.top__contactForm input[type='submit']{
		font-size: 14px;
	}

	.btn_input::before{
		border-width: 5px 0 5px 8px;
	}
}


/* チェックボックス・ラジオボタン
-------------------------------------------------- */

.top__contactForm input[type=radio],
.top__contactForm input[type=checkbox] {
	display: inline-block;
	margin-right: 6px;
}

.top__contactForm input[type=radio] + label,
.top__contactForm input[type=checkbox] + label {
	position: relative;
	display: inline-block;
	margin-right: 12px;
	line-height: 30px;
	cursor: pointer;
}

.top__contactForm input[type=radio],
.top__contactForm input[type=checkbox] {
	display: none;
	margin: 0;
}

.top__contactForm input[type=radio] + label,
.top__contactForm input[type=checkbox] + label {
	margin-bottom: 5px;
	padding: 0 0 0 24px;
}

.top__contactForm input[type=radio] + label::before,
.top__contactForm 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;
}

.top__contactForm input[type=radio] + label::before {
	border: 2px solid #000;
	border-radius: 30px;
}

.top__contactForm input[type=checkbox] + label::before {
	border: 2px solid #000;
}

.top__contactForm input[type=radio]:checked + label::after,
.top__contactForm input[type=checkbox]:checked + label::after {
	content: "";
	position: absolute;
	top: 50%;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	display: block;
}

.top__contactForm input[type=radio]:checked + label::after {
	left: 5px;
	width: 8px;
	height: 8px;
	margin-top: -4px;
	background: #e74c3c;
	border-radius: 8px;
}

.top__contactForm 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);
}


/*==================================================
 テーブル
================================================== */
.top__contactForm{
	width: 890px;
	max-width: 100%;
	margin: 0 auto;
}

.top__contactForm .contact-form-table {
	width: 100%;
	table-layout: fixed;
}

.top__contactForm .contact-form-table tr th{
	width: 35%;
}

.top__contactForm .contact-form-table tr th,
.top__contactForm .contact-form-table tr td{
	line-height: 24px;
	vertical-align: middle;
	padding: 10px 3%;
}

.top__contactForm .contact-form-table tr th{
	font-size: 18px;
	font-weight: 600;
}

.top__contactForm .contact-form-table tr th::before{
	content: '';
	display: inline-block;
	width: 24px;
	min-width: 24px;
	height: 24px;
	background-image: url('/img/top/entry-arrow.png');
	background-size: contain;
	margin-right: 5px;
	vertical-align: middle;
}

.wrap_pp{
	text-align: center;
	font-weight: 600;
	font-size: 18px;
}


/* スマホ表示時にはテーブルを縦向きにする */
@media screen and (max-width: 768px) {
	.top__contactForm .contact-form-table,
	.top__contactForm .contact-form-table tbody,
	.top__contactForm .contact-form-table tr,
	.top__contactForm .contact-form-table th,
	.top__contactForm .contact-form-table td {
		width: auto;
		display: block;
	}

	.top__contactForm .contact-form-table tr th{
		width: 100%;
		font-size: 14px;
		border-bottom: none;
		padding: 15px 15px 10px 15px;
	}

	.top__contactForm .contact-form-table tr th::before{
		width: 15px;
		min-width: 15px;
		height: 15px;
	}

	.top__contactForm .contact-form-table tr td{
		padding: 10px;
		border-bottom: solid 1px #ddd;
	}

	.wrap_pp{
		font-size: 14px;
	}
}

/* ご住所だけ2段なのでマージンを開ける */
.top__contactForm input[name="items[address]"] {
	margin-top: 8px;
}

/* 「不正な送信です」「時間を空けて再度送信ください」などのセキュリティエラー文 */
.top__contactForm .sec-error-text {
	line-height: 80px;
	text-align: center;
	color: #fff;
	font-size: 20px;
	background: #e74c3c;
}

/* 「任意」「必須」マーク */
.top__contactForm .optional-mark,
.top__contactForm .required-mark {
	padding: 7px 15px 10px 15px;
	color: #fff100;
	font-size: 14px;
	line-height: 14px;
	font-weight: 300;
	float: right;
}

.top__contactForm .optional-mark {
	background: #3498db;
}

.top__contactForm .required-mark {
	background: #000;
}

@media screen and (max-width: 768px){
	.top__contactForm .optional-mark,
	.top__contactForm .required-mark {
		padding: 3px 5px 5px 5px;
		font-size: 12px;
		line-height: 12px;
	}
}


/* 「~が入力されていません」などの未記入エラー文 */
.top__contactForm .error-text {
	font-size: 13px;
	font-weight: 500;
	line-height: 14px !important;
	margin: 0 0 5px;
	color: #e74c3c;
}

/* 送信・確認ボタン */
.contact-submits-wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

/* プライバシーポリシー */
.top__contactForm .inline-privacy-policy {
	height: 250px;
	margin: 16px 0;
	border: 1px solid #dfdfdf;
	background: #fff;
}

.top__contactForm .inline-privacy-policy-inner {
	width: 100%;
	height: 100%;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	overflow-scrolling: touch;
	display: inline-block;
}

.top__contactForm .inline-privacy-policy iframe {
	width: 100%;
	height: 100%;
	display: block;
}

/* リキャプチャ */
.top__contactForm .contact-recaptcha-wrap {
	margin: 40px auto;
	display: table;
}

.top__contactForm .contact-recaptcha-wrap iframe{
	height: 78px;
}

@media screen and (max-width: 768px){
	.top__contactForm .contact-recaptcha-wrap{
		display: block;
	}
	.top__contactForm .g-recaptcha{
		transform-Origin:0 0;
	}
	.top__contactForm .g-recaptcha > div{
		margin: auto;
	}
}

@media screen and (max-width: 350px){
	.top__contactForm .g-recaptcha{
		transform:scale(0.92);
	}
}


/*==================================================
 画像アップロードフォーム
================================================== */

.top__contactForm .upload-item-wrap {
	font-size: 13px;
	overflow: hidden;
}

.top__contactForm .upload-item-wrap input[type="file"] {
	display: none;
}

/* アップされた画像のサムネイル */
.top__contactForm .upload-item-wrap .thumb {
	width: 220px;
	height: 220px;
	margin: 0 8px 0 0;
	position: relative;
	overflow: hidden;
	float: left;
}

.top__contactForm .upload-item-wrap .thumb img {
	max-width: none;
	height: 100%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
}

/*選択・削除ボタン  */
.top__contactForm .upload-item-wrap .ancion-btn-wrap {
	float: left;
}

.top__contactForm .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;
}

.top__contactForm .upload-item-wrap .select-file {
	background: #2ecc71;
}

.top__contactForm .upload-item-wrap .deselect-file {
	background: #e74c3c;
}

.top__contactForm .upload-item-wrap .ancion-btn:hover {
	cursor: pointer;
}