.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;
}

/* -------------------------
   contact hero
------------------------- */

.contactHero {
	position: relative;
	margin: -58px -40px 70px;
	overflow: hidden;
}

.contactHero__image {
	position: relative;
	height: 320px;
	overflow: hidden;
}

.contactHero__image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to right,
		rgba(248, 242, 229, .94) 0%,
		rgba(248, 242, 229, .82) 28%,
		rgba(248, 242, 229, .28) 52%,
		rgba(30, 20, 16, .04) 100%
	);
}

.contactHero__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.contactHero__content {
	position: absolute;
	top: 50%;
	left: 70px;
	z-index: 2;
	transform: translateY(-50%);
}

.contactHero__en {
	margin: 0 0 18px;
	color: #9c2727;
	font-family: "Noto Serif JP", serif;
	font-size: 12px;
	letter-spacing: .18em;
}

.contactHero__title {
	margin: 0;
	color: #2d211d;
	font-family: "Noto Serif JP", serif;
	font-size: 34px;
	font-weight: 500;
	letter-spacing: .1em;
	white-space: nowrap;
}

.contactHero__line {
	display: block;
	width: 54px;
	height: 1px;
	margin: 20px 0 18px;
	background: #a4252a;
}

.contactHero__copy {
	margin: 0;
	color: #4a3b35;
	font-family: "Noto Serif JP", serif;
	font-size: 15px;
	letter-spacing: .08em;
}

.contactLead {
	background: #faf6ed;
	border-radius: 0;
	padding: 42px 48px;
	margin-bottom: 56px;

	color: #433832;
	font-size: 15px;
	line-height: 1.8;
	letter-spacing: .06em;
}

.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: #7e211f;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.contactFormSec {
  max-width: 1060px;
  margin: 0 auto;
}

.contactSecTitle {
	position: relative;
	margin: 0 0 28px;
	padding: 0 0 14px 18px;
	color: #2d211d;
	font-family: "Noto Serif JP", serif;
	font-size: 24px;
	font-weight: 500;
	letter-spacing: .1em;
	border-bottom: 1px solid #d8d1c8;
}

.contactSecTitle::before {
	content: "";
	position: absolute;
	top: 3px;
	left: 0;
	width: 1px;
	height: 26px;
	background: #a4252a;
}

.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: 54px;
}

.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: 34px;
}

.submitArea button {
	width: 260px;
	padding: 15px 20px;
	border: 1px solid #a4252a;
	background: #a4252a;

	color: #fff;
	font-family: "Noto Serif JP", serif;
	font-size: 16px;
	letter-spacing: .16em;

	cursor: pointer;
	transition:
		background .3s ease,
		color .3s ease;
}

.submitArea button:hover {
  opacity: 0.86;
  transform: translateY(-2px);
  background: #fff;
  color: #a4252a;
}

@media (max-width: 768px) {
  .contactPage {
    padding: 36px 20px 70px;
  }

  .contactLead {
    padding: 22px 20px;
  }

  .contactSecTitle {
    font-size: 21px;
  }

  .privacyBox {
    height: 230px;
    padding: 20px;
  }
  .formNote,
  .formExample {
    margin-top: 6px;
    color: #484848;
    font-size: 12px;
    letter-spacing: 0.08em;
    line-height: 1.6;
  }
  .submitArea {
  	margin-top: 40px;
  	text-align: center;
  }

}

@media screen and (max-width: 767px) {

	.contactHero {
		margin: -36px -18px 50px;
	}

	.contactHero__image {
		height: 210px;
	}

	.contactHero__image img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
	}

	.contactHero__content {
		top: 50%;
		left: 24px;
		right: 24px;
		transform: translateY(-50%);
	}

	.contactHero__en {
		margin-bottom: 10px;
		font-size: 9px;
		letter-spacing: .14em;
	}

	.contactHero__title {
		margin: 0;
		font-size: 22px;
		line-height: 1.5;
		letter-spacing: .06em;
		white-space: nowrap;
	}

	.contactHero__line {
		width: 38px;
		margin: 13px 0 12px;
	}

	.contactHero__copy {
		font-size: 11px;
		line-height: 1.7;
		letter-spacing: .04em;
	}
}

/* =========================
   Large PC
========================= */
@media screen and (min-width: 1700px) {

	.contactPage {
		max-width: 1480px;
		padding-left: 50px;
		padding-right: 50px;
	}

	/* Heroの左右を本文幅に揃える */
	.contactHero {
		margin-left: 0;
		margin-right: 0;
	}

	/* リード文を少し広めに */
	.contactLead {
		padding-left: 60px;
		padding-right: 60px;
		font-size: 16px;
	}

	/* フォーム全体 */
	.contactFormSec {
		max-width: 1180px;
	}

	.contactSecTitle {
		font-size: 27px;
	}

	.formLabel,
	.formBlock label {
		font-size: 18px;
	}

	.formBlock input[type="text"],
	.formBlock input[type="email"],
	.formBlock input[type="tel"],
	.formBlock textarea {
		font-size: 17px;
	}
}

.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: 100%;
	max-width: 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: 100%;
	max-width: 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;
}

@media screen and (max-width: 767px) {

	.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;
	}

}
