@charset "UTF-8";
/* ==========================================================
   株式会社良美工業  contact.css
   お問い合わせページ (contact.html) 専用のスタイル
   ( 電話案内 / 入力フォーム / 個人情報の取り扱い / 送信ボタン )

   デザインカンプ幅: 1920px
   ブレークポイント
     PC            : 1025px 以上
     タブレット縦  : 768px 〜 1024px
     スマホ        : 767px 以下
   読み込み順: common.css の後に、このファイル(contact.css)を読み込む
   ========================================================== */

/* ==========================================================
   PC
   ========================================================== */

/* ---------- 見出し(ティールの角丸ラベル) ---------- */
.contactPill {
	display: block;
	width: fit-content;
	height: 40px;
	padding: 0 30px;
	border-radius: 20px;
	background: var(--teal);
	color: #fff;
	font-size: 26px;
	font-weight: 500;
	line-height: 38px;
	letter-spacing: .06em
}

/* ---------- お電話でのお問い合わせ ---------- */
.contactTel {
	background: var(--mint)
}

.contactTel__inner {
	width: min(1120px, calc(100% - 80px));
	margin: 0 auto;
	padding: 40px 0 37px
}

.contactTel__num {
	margin-top: 14px;
	color: var(--teal);
	line-height: 1
}

.contactTel__label {
	margin-right: 1px;
	font-size: 32px;
	font-weight: 500;
	letter-spacing: .02em
}

.contactTel__num a {
	font-size: 58px;
	font-weight: 700;
	letter-spacing: .027em
}

/* ---------- お問い合わせフォーム ---------- */
.contactForm {
	padding: 60px 0 81px
}

.contactForm__inner {
	width: min(1120px, calc(100% - 80px));
	margin: 0 auto
}

.contactForm__lead {
	margin-top: 13px;
	font-size: 18px;
	line-height: 29px;
	color: #333
}

.form {
	margin-top: 25px
}

.form__row:last-child .form__field {
	padding-bottom: 19px
}

.form__row {
	display: flex;
	margin-bottom: 2px
}

.form__row:last-child {
	margin-bottom: 0
}

.form__label {
	flex: 0 0 260px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 20px;
	background: var(--teal);
	color: #fff;
	font-size: 18px;
	font-weight: 400;
	letter-spacing: .05em
}

.form__req {
	display: block;
	flex: none;
	width: 40px;
	height: 20px;
	background: #db0b00;
	color: #fff;
	font-size: 13px;
	font-weight: 400;
	line-height: 20px;
	letter-spacing: 0;
	text-align: center
}

.form__field {
	flex: 1;
	min-width: 0;
	display: flex;
	align-items: center;
	padding: 20px 22px;
	background: #fff
}

.form__inline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 20px
}

.form__inline--seq {
	flex-wrap: nowrap;
	gap: 0
}

.form__pair {
	display: flex;
	align-items: center;
	gap: 9px
}

.form__sub {
	font-size: 18px;
	color: #333
}

.form__sep {
	flex: none;
	width: 25px;
	font-size: 16px;
	line-height: 1;
	text-align: center;
	color: #333
}

.form__input,
.form__select {
	box-sizing: border-box;
	height: 40px;
	padding: 0 12px;
	border: 1px solid #a4a4a4;
	border-radius: 8px;
	background: #fff;
	color: #333;
	font-family: inherit;
	font-size: 18px;
	line-height: 1.4
}

.form__input:focus,
.form__select:focus {
	border-color: var(--teal);
	outline: 2px solid rgba(0, 154, 172, .35);
	outline-offset: 0
}

.form__input--s {
	flex: 0 1 160px;
	min-width: 0;
	width: 160px
}

.form__input--m {
	flex: 0 1 130px;
	min-width: 0;
	width: 130px
}

.form__input--l {
	width: 100%;
	max-width: 750px
}

.form__input--mail {
	width: 100%;
	max-width: 440px
}

.form__textarea {
	display: block;
	width: 100%;
	max-width: 750px;
	height: 250px;
	padding: 10px 12px;
	resize: vertical
}

.form__select {
	width: 210px;
	max-width: 100%;
	padding: 0 38px 0 15px;
	appearance: none;
	-webkit-appearance: none;
	background: #fff url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='10' viewBox='0 0 18 10'%3E%3Cpath d='M1 1l8 8 8-8' fill='none' stroke='%23333' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat right 11px center;
	cursor: pointer
}

/* ---------- 個人情報の取り扱い ---------- */
.contactPrivacy {
	margin-top: 61px
}

.privacy {
	box-sizing: border-box;
	height: 240px;
	margin-top: 20px;
	padding: 14px 20px;
	overflow-y: auto;
	background: #fff;
	color: #444;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: .02em
}

.privacy p+p {
	margin-top: 24px
}

/* ---------- 同意・送信 ---------- */
.form__agree {
	display: flex;
	justify-content: center;
	margin-top: 19px
}

.form__check {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 17px;
	line-height: 1;
	color: #333;
	cursor: pointer
}

.form__check input {
	appearance: none;
	-webkit-appearance: none;
	position: relative;
	flex: none;
	width: 20px;
	height: 20px;
	margin: 0;
	border: 1px solid #a4a4a4;
	border-radius: 4px;
	background: #fff;
	cursor: pointer
}

.form__check input:checked {
	border-color: var(--teal);
	background: var(--teal)
}

.form__check input:checked::after {
	content: "";
	position: absolute;
	left: 6px;
	top: 2px;
	width: 5px;
	height: 10px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg)
}

.form__check input:focus-visible {
	outline: 2px solid rgba(0, 154, 172, .45);
	outline-offset: 2px
}

.form__submit {
	margin-top: 42px;
	text-align: center
}

.formBtn {
	position: relative;
	display: inline-block;
	width: 294px;
	height: 68px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: var(--yellow);
	color: #333;
	font-family: inherit;
	font-size: 22px;
	font-weight: 700;
	line-height: 68px;
	letter-spacing: .07em;
	text-align: center;
	cursor: pointer;
	transition: opacity .2s
}

.formBtn::after {
	content: "";
	position: absolute;
	right: 11px;
	top: 50%;
	margin-top: -6px;
	border-style: solid;
	border-width: 6px 0 6px 7px;
	border-color: transparent transparent transparent #333
}

.formBtn:hover {
	opacity: .75
}

/* ==========================================================
   タブレット縦 (768px〜1024px)
   ========================================================== */
@media (max-width: 1024px) {

	.contactPill {
		height: 36px;
		padding: 0 26px;
		border-radius: 18px;
		font-size: 22px;
		line-height: 36px
	}

	.contactTel__inner {
		width: calc(100% - 80px);
		padding: 32px 0 30px
	}

	.contactTel__num {
		margin-top: 12px
	}

	.contactTel__label {
		font-size: 28px
	}

	.contactTel__num a {
		font-size: 50px
	}

	.contactForm {
		padding: 48px 0 64px
	}

	.contactForm__inner {
		width: calc(100% - 80px)
	}

	.contactForm__lead {
		margin-top: 10px;
		font-size: 16px;
		line-height: 1.7
	}

	.form {
		margin-top: 20px
	}

	.form__label {
		flex-basis: 220px;
		padding: 0 16px;
		font-size: 15px;
		letter-spacing: .02em
	}

	.form__field {
		padding: 16px 18px
	}

	.contactPrivacy {
		margin-top: 48px
	}

	.privacy {
		margin-top: 16px;
		height: 220px
	}

	.form__agree {
		margin-top: 16px
	}

	.form__submit {
		margin-top: 32px
	}
}

/* ==========================================================
   スマホ (〜767px)
   ========================================================== */
@media (max-width: 767px) {

	.contactPill {
		height: 32px;
		padding: 0 20px;
		border-radius: 16px;
		font-size: 17px;
		line-height: 32px;
		letter-spacing: .05em
	}

	.contactTel__inner {
		width: calc(100% - 40px);
		padding: 24px 0 24px
	}

	.contactTel__num {
		margin-top: 10px
	}

	.contactTel__label {
		margin-right: 4px;
		font-size: 20px
	}

	.contactTel__num a {
		font-size: 36px
	}

	.contactForm {
		padding: 36px 0 48px
	}

	.contactForm__inner {
		width: calc(100% - 40px)
	}

	.contactForm__lead {
		margin-top: 10px;
		font-size: 14px
	}

	.form {
		margin-top: 16px
	}

	.form__row {
		display: block;
		margin-bottom: 10px
	}

	.form__label {
		display: flex;
		flex: none;
		min-height: 44px;
		padding: 0 16px;
		font-size: 15px
	}

	.form__field {
		display: block;
		padding: 14px 16px 16px
	}

	.form__inline {
		flex-wrap: nowrap;
		gap: 10px
	}

	.form__pair {
		flex: 1;
		min-width: 0
	}

	.form__input--s {
		flex: 1 1 0;
		width: 100%
	}

	.form__input--l,
	.form__input--mail,
	.form__textarea,
	.form__select {
		width: 100%;
		max-width: none
	}

	.form__textarea {
		height: 200px
	}

	.form__input,
	.form__select {
		font-size: 16px
	}

	.contactPrivacy {
		margin-top: 36px
	}

	.privacy {
		height: 200px;
		margin-top: 14px;
		padding: 12px 14px;
		font-size: 14px;
		line-height: 22px;
		letter-spacing: .01em
	}

	.privacy p+p {
		margin-top: 22px
	}

	.form__agree {
		margin-top: 16px
	}

	.form__check {
		font-size: 16px
	}

	.form__submit {
		margin-top: 28px
	}

	.formBtn {
		width: min(294px, 100%);
		height: 60px;
		font-size: 20px;
		line-height: 60px
	}
}
