.bgw{
  background-color: #fff;
}
.contactPage {
  max-width: 1300px;
  margin: 0 auto;
  padding: 58px 40px 90px;
  color: #111;
  font-family: "Noto Serif JP", "Yu Mincho", "YuMincho", serif;
}

.contactHero {
  display: grid;
  grid-template-columns: 210px 1fr;
  align-items: center;
  gap: 44px;
  margin-bottom: 30px;
}

.contactHero__title {
  font-size: 40px;
  font-weight: 400;
  letter-spacing: 0.22em;
  white-space: nowrap;
  font-family: "UD デジタル 教科書体 N", "UD Digi Kyokasho N-R", "BIZ UDPGothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  z-index:999;
}

.contactHero__image {
  overflow: hidden;
  border-radius: 10px;
}

.contactHero__image img {
  display: block;
  width: 100%;
  height: 138px;
  object-fit: cover;
}

.contactLead {
  background: #fbfbfb;
  border-radius: 8px;
  padding: 42px 48px;
  margin-bottom: 56px;

  font-size: 15px;
  line-height: 1.2;
  letter-spacing: 0.08em;
}

.contactLead p {
  margin-bottom: 10px;
}

.contactLead p:nth-of-type(3) {
  margin-bottom: 26px;
}

.contactLead p:last-child {
  margin-bottom: 0;
}

.contactLead__media {
  margin-top: 0;
}


.contactLead a {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contactFormSec {
  max-width: 1060px;
  margin: 0 auto;
}

.contactSecTitle {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.16em;
  border-bottom: 1px solid #aaa;
  padding-bottom: 12px;
  margin-bottom: 30px;
}

.formBlock {
  margin-bottom: 26px;
}

.formLabel {
  display: block;
  margin-bottom: 12px;
  font-size: 17px;
  letter-spacing: 0.12em;
}

.formLabel span {
  color: #c91515;
}

.formBlock label {
  display: block;
  font-size: 17px;
  line-height: 1.9;
  letter-spacing: 0.08em;
}

.formBlock input[type="text"],
.formBlock input[type="email"],
.formBlock input[type="tel"],
.formBlock textarea {
  width: 100%;
  border: 1px solid #bbb;
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 16px;
  background: #fff;
}

.formBlock textarea {
  min-height: 165px;
  resize: vertical;
}

.formNote,
.formExample {
  margin-top: 6px;
  color: #484848;
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 0.6;
}

.privacyBlock {
  margin-top: 48px;
}

.privacyBox {
  height: 260px;
  overflow-y: auto;
  border: 1px solid #aaa;
  border-radius: 4px;
  padding: 10px 28px;
  font-size: 13px;
  line-height: 2;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  background-color: #f8f8f8;
}

.privacyBox p + p {
  margin-top: 20px;
}

.privacyCheck {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.submitArea {
  text-align: center;
  margin-top: 46px;
}

.submitArea button {
  width: min(360px, 100%);
  height: 68px;
  border: none;
  border-radius: 3px;
  background: #c8191f;
  color: #fff;
  font-size: 19px;
  letter-spacing: 0.24em;
  cursor: pointer;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.submitArea button:hover {
  opacity: 0.86;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .contactPage {
    padding: 36px 20px 70px;
  }

  .contactHero {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .contactHero__title {
    font-size: 26px;
  }

  .contactHero__image img {
    height: 120px;
  }

  .contactLead {
    padding: 22px 20px;
  }

  .contactSecTitle {
    font-size: 21px;
  }

  .privacyBox {
    height: 230px;
    padding: 20px;
  }
}


.contactForm__systemError {
	margin-bottom: 32px;
	padding: 20px 24px;
	border: 1px solid #b8463c;
	background: #fff7f6;
	color: #9f332a;
	font-size: clamp(14px, 1vw, 16px);
	line-height: 1.8;
}

.contactForm__systemError p {
	margin: 0;
	font-weight: 700;
}

.contactForm__systemError ul {
	margin: 8px 0 0;
	padding-left: 1.5em;
}



/* =========================================
   お問い合わせ確認画面
========================================= */

.confirmBox {
	width: min(100%, 920px);
	margin: 0 auto;
	border-top: 1px solid #ddd;
	background: #fff;
}

.confirmRow {
	display: grid;
	grid-template-columns: 220px 1fr;
	border-bottom: 1px solid #ddd;
}

.confirmRow__label {
	padding: 22px 24px;
	background: #f7f5f2;
	font-size: clamp(15px, 1vw, 17px);
	font-weight: 700;
	line-height: 1.7;
	color: #333;
}

.confirmRow__value {
	padding: 22px 28px;
	font-size: clamp(15px, 1vw, 17px);
	line-height: 1.8;
	color: #333;
	word-break: break-word;
}

.confirmRow--message .confirmRow__value {
	min-height: 130px;
}


/* ボタン */
.confirmAction {
	width: min(100%, 920px);
	margin: 48px auto 0;
}

.confirmButtons {
	display: grid;
	grid-template-columns: 1fr 1.5fr;
	gap: 24px;
	max-width: 620px;
	margin: 0 auto;
}

.confirmButton {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 60px;
	border: 0;
	text-decoration: none;
	font-size: clamp(15px, 1vw, 17px);
	font-family: inherit;
	letter-spacing: .08em;
	cursor: pointer;
	transition:
		background-color .25s ease,
		color .25s ease,
		border-color .25s ease;
}

.confirmButton--back {
	border: 1px solid #bbb;
	background: #fff;
	color: #555;
}

.confirmButton--back:hover {
	background: #f5f5f5;
}

.confirmButton--submit {
	background: #cf1920;
	color: #fff;
}

.confirmButton--submit:hover {
	background: #aa141a;
}


/* =========================================
   SP
========================================= */

@media screen and (max-width: 767px) {

	.confirmBox {
		width: 100%;
	}

	.confirmRow {
		display: block;
	}

	.confirmRow__label {
		padding: 12px 16px;
		font-size: clamp(14px, 4vw, 16px);
	}

	.confirmRow__value {
		padding: 16px;
		font-size: clamp(14px, 4vw, 16px);
	}

	.confirmRow--message .confirmRow__value {
		min-height: 100px;
	}

	.confirmAction {
		margin-top: 32px;
	}

	.confirmButtons {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.confirmButton {
		min-height: 54px;
	}

	.confirmButton--submit {
		order: 1;
	}

	.confirmButton--back {
		order: 2;
	}

}