@charset "utf-8";

/*下層ページpageTitle
-----------------------------------------------------------*/
#pageTitle {
	background: url("../../contact/images/bg_pagetitle.jpg") 50% 50% no-repeat;
	background-size: cover;
}



body#pageContact {
}
body#pageContact section#contact div.innerNarrow {
	margin-bottom: 60px;
}
body#pageContact section#contact div.innerNarrow p {
	line-height: 2;
}
body#pageContact section#contact div.innerNarrow span.required {
	display: inline-block;
	margin: 0 2px;
	padding: 1px 8px;
	color: #FFF;
	background-color: var(--color-secondary);
	font-size: 0.75rem;
	line-height: 1.6;
	border-radius: 2px;
	vertical-align: middle;
}
body#pageContact section#contact div.sectionInner {
	margin-bottom: 100px;
}


/*フォームテーブル
-----------------------------------------------------------*/
body#pageContact table.formTable {
	width: 100%;
}
body#pageContact table.formTable tr th {
	width: 260px;
	vertical-align: top;
}
body#pageContact table.formTable tr th span.required {
	display: inline-block;
	margin-left: 8px;
	padding: 1px 8px;
	color: #FFF;
	background-color: var(--color-secondary);
	font-size: 0.75rem;
	font-weight: normal;
	line-height: 1.6;
	border-radius: 2px;
	vertical-align: middle;
}
body#pageContact table.formTable tr td {
	vertical-align: top;
}
body#pageContact table.formTable input[type="text"],
body#pageContact table.formTable input[type="email"],
body#pageContact table.formTable input[type="tel"],
body#pageContact table.formTable textarea,
body#pageContact div.selectBox select {
	width: 100%;
	max-width: 480px;
	padding: 12px 15px;
	border: 1px solid #CCC;
	border-radius: 2px;
	color: var(--color-text);
	font-size: 1rem;
	font-family: "Noto Sans JP", sans-serif;
	box-sizing: border-box;
	background-color: #FFF;
}
body#pageContact table.formTable input[type="text"]:focus,
body#pageContact table.formTable input[type="email"]:focus,
body#pageContact table.formTable input[type="tel"]:focus,
body#pageContact table.formTable textarea:focus,
body#pageContact div.selectBox select:focus {
	outline: none;
	border-color: var(--color-primary);
}
body#pageContact table.formTable textarea {
	max-width: 100%;
	resize: vertical;
}
body#pageContact div.selectBox {
	position: relative;
	display: inline-block;
	width: 100%;
	max-width: 480px;
}
body#pageContact div.selectBox select {
	max-width: 100%;
	padding-right: 40px;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: url("../images/icon_select_arrow.png");
	background-repeat: no-repeat;
	background-position: right 18px center;
	background-size: 10px 8px;
	cursor: pointer;
}
body#pageContact p.errorText {
	margin-top: 8px;
	color: var(--color-secondary);
	font-size: 0.875rem;
}

/*ハニーポット（ボット対策の非表示項目）
-----------------------------------------------------------*/
body#pageContact div.honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/*個人情報同意チェックボックス
-----------------------------------------------------------*/
body#pageContact div.contactAgree {
	margin-top: 40px;
	text-align: center;
}
body#pageContact div.contactAgree label {
	cursor: pointer;
	font-size: 1rem;
}
body#pageContact div.contactAgree input[type="checkbox"] {
	position: relative;
	width: 18px;
	height: 18px;
	margin-right: 8px;
	vertical-align: middle;
	background-color: #FFF;
	border: 1px solid #CCC;
	border-radius: 2px;
	box-sizing: border-box;
	cursor: pointer;
}
body#pageContact div.contactAgree input[type="checkbox"]:checked {
	background-color: var(--color-primary);
	border-color: var(--color-primary);
}
body#pageContact div.contactAgree input[type="checkbox"]:checked::after {
	content: "";
	position: absolute;
	left: 5px;
	top: 1px;
	width: 5px;
	height: 9px;
	border-right: 2px solid #FFF;
	border-bottom: 2px solid #FFF;
	transform: rotate(45deg);
}
body#pageContact div.contactAgree a {
	color: var(--color-primary);
	text-decoration: underline;
}
body#pageContact div.contactAgree p.errorText {
	text-align: center;
}

/*送信ボタン（linkBtnをbutton要素に適用）
-----------------------------------------------------------*/
body#pageContact .linkBtn button {
	display: inline-flex;
	align-items: center;
	border: none;
	background: none;
	padding: 0;
	cursor: pointer;
}
body#pageContact .linkBtn button span {
	font-family: "Manrope", sans-serif;
	font-size: 1.25rem;
	font-weight: bold;
	line-height: 1;
	color: var(--color-primary);
	display: inline-flex;
	align-items: center;
}
body#pageContact .linkBtn button span::after {
	content: "";
	width: 33px;
	aspect-ratio: 67 / 11;
	background: url("../images/arrow.png") center / contain no-repeat;
	margin-left: 10px;
	transition: transform 0.3s ease;
}
body#pageContact .linkBtn button:hover span::after {
	transform: translateX(10px);
}

/*確認画面
-----------------------------------------------------------*/
body#pageContact table.formTableConfirm tr td {
	line-height: 1.8;
}
body#pageContact p.contactConfirmBtns {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 50px;
}
body#pageContact .linkBtn button.backBtn span {
	color: #999;
}
body#pageContact .linkBtn button.backBtn span::after {
	content: none;
}
body#pageContact .linkBtn button.backBtn:hover span {
	opacity: 0.7;
}

/*送信完了メッセージ
-----------------------------------------------------------*/
body#pageContact p.contactSentMessage {
	text-align: center;
	line-height: 2;
	margin-bottom: 20px;
}



/* PC 小
------------------------------------------------------------------------------------------------- */
@media screen and (min-width:1001px) and (max-width:1199px) {
	body#pageContact table.formTable tr th {
		width: 220px;
	}
}



/* SP
------------------------------------------------------------------------------------------------- */
@media screen and (max-width:1000px) {
	body#pageContact section#contact div.innerNarrow {
		margin-bottom: 40px;
	}
	body#pageContact section#contact div.sectionInner {
		margin-bottom: 60px;
	}
	body#pageContact table.formTable,
	body#pageContact table.formTable tbody,
	body#pageContact table.formTable tr,
	body#pageContact table.formTable tr th,
	body#pageContact table.formTable tr td {
		display: block;
		width: 100%;
	}
	body#pageContact table.formTable tr th {
		padding-bottom: 8px;
		border-bottom: none;
	}
	body#pageContact table.formTable tr td {
		padding-top: 0;
	}
	body#pageContact table.formTable input[type="text"],
	body#pageContact table.formTable input[type="email"],
	body#pageContact table.formTable input[type="tel"],
	body#pageContact table.formTable textarea,
	body#pageContact div.selectBox,
	body#pageContact div.selectBox select {
		max-width: 100%;
	}
}
