@charset "UTF-8";

/* お問合せフォーム */
.page-template-page-contact .breadcrumb {
	display: none;
}

.contact-page {
	width: 100%;
	color: #f0e8de;
}

.contact-page__title {
	position: relative;
	min-height: 428px;
}

.contact-page__title-inner {
	box-sizing: border-box;
	width: 100%;
	padding: 173px 50px 0;
	font-family: "Noto Serif JP", serif;
	font-weight: 700;
	line-height: 1.2;
}

.contact-page__title-lead,
.contact-page__title-heading,
.contact-page__intro p {
	margin: 0;
}

.contact-page__title-lead {
	font-size: 26px;
	letter-spacing: -1.3px;
}

.contact-page__title-heading {
	font-size: 80px;
	letter-spacing: -4px;
	white-space: nowrap;
}

.contact-page__breadcrumb {
	position: absolute;
	bottom: 40px;
	left: 50px;
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1;
	white-space: nowrap;
}

.contact-page__breadcrumb a {
	color: inherit;
	text-decoration: none;
}

.contact-page__breadcrumb a:focus-visible {
	outline: 2px solid #caa366;
	outline-offset: 4px;
}

.contact-page__breadcrumb-separator {
	display: block;
	width: 8px;
	height: 1px;
	background-color: currentColor;
}

.contact-page__title-decoration {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 20px;
	background: url("../imgs/common/separator.png") center bottom / 1920px 20px repeat-x;
}

.contact-page__body {
	box-sizing: border-box;
	width: 100%;
	min-height: 1040px;
	padding: 73px 30px 120px;
}

.contact-page__intro {
	font-family: "Noto Sans JP", sans-serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 2;
	text-align: center;
}

.contact-page .contact-page__intro a.tel {
	color: #f0e8de;
}

.contact-page__sp-break {
	display: none;
}

@media (min-width: 768px) {
	.contact-page .contact-page__intro a.tel {
		pointer-events: none;
	}
}

.contact-page__form {
	width: 100%;
	max-width: 748px;
	margin: 56px auto 0;
	font-family: "Noto Sans JP", sans-serif;
}

.contact-page__form .wpcf7,
.contact-page__form .contact-form {
	width: 100%;
}

.contact-page__form form,
.contact-page__form .wpcf7-form {
	margin: 0;
}

.contact-page__form p {
	margin: 0;
}

.contact-form__row {
	display: grid;
	grid-template-columns: 240px minmax(0, 500px);
	gap: 8px;
	align-items: stretch;
	margin-bottom: 8px;
}

.contact-form__label {
	box-sizing: border-box;
	display: flex;
	min-height: 54px;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px;
	border: 1px solid #666;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
}

.contact-form__required,
.contact-form__optional {
	box-sizing: border-box;
	display: inline-flex;
	min-width: 36px;
	min-height: 26px;
	align-items: center;
	justify-content: center;
	padding: 4px;
	font-size: 14px;
	font-style: normal;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
}

.contact-form__required {
	color: #f0e8de;
	background-color: #a90101;
}

.contact-form__optional {
	color: #131313;
	background-color: #caa366;
}

.contact-form__field,
.contact-form__name-fields {
	min-width: 0;
}
.contact-page .contact-form__field {
	margin: 0;
	padding: 0;
}

.contact-page .contact-form__field > p {
	margin: 0;
}

.contact-page .contact-form__field br {
	display: none;
}

.contact-page .contact-form__field .wpcf7-form-control-wrap {
	display: block;
	line-height: 1;
}

.contact-page .contact-form__field .wpcf7-form-control {
	vertical-align: top;
}
.contact-form__row:first-child .contact-form__field {
	display: flex;
	min-height: 132px;
	justify-content: center;
	flex-direction: column;
	padding: 16px 0;
}

.contact-form__name-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.contact-form__name-field,
.contact-page__form .wpcf7-form-control-wrap {
	display: block;
	min-width: 0;
}
.contact-page .contact-form__field input,
.contact-page .contact-form__field select,
.contact-page .contact-form__field textarea {
	display: block;
	margin: 0;
}
.contact-page__form input[type="text"],
.contact-page__form input[type="email"],
.contact-page__form input[type="tel"],
.contact-page__form select,
.contact-page__form textarea {
	box-sizing: border-box;
	display: block;
	width: 100%;
	min-width: 0;
	min-height: 54px;
	padding: 14px 16px;
	border: 1px solid transparent;
	border-radius: 0;
	color: #131313;
	background-color: #d9d9d9;
	font: inherit;
	font-size: 16px;
	line-height: 1.5;
}

.contact-page__form textarea {
	min-height: 200px;
	resize: vertical;
}

.contact-page__form input::placeholder,
.contact-page__form textarea::placeholder {
	color: #666;
	opacity: 1;
}

.contact-page__form input:focus,
.contact-page__form select:focus,
.contact-page__form textarea:focus {
	border-color: #caa366;
	outline: 2px solid #caa366;
	outline-offset: 2px;
}

.contact-page__form input:-webkit-autofill,
.contact-page__form textarea:-webkit-autofill {
	-webkit-text-fill-color: #131313;
	box-shadow: 0 0 0 1000px #d9d9d9 inset;
}

.contact-page__form .wpcf7-radio {
	display: flex;
	align-items: flex-start;
	flex-direction: column;
	gap: 8px;
}

.contact-page__form .wpcf7-list-item {
	margin: 0;
}

.contact-page__form .wpcf7-radio .wpcf7-list-item label,
.contact-form__consent .wpcf7-list-item label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
}

.contact-page__form input[type="radio"] {
	box-sizing: border-box;
	appearance: none;
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
	margin: 0;
	border: 1px solid #f0e8de;
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
}

.contact-page__form input[type="radio"]:checked {
	background: radial-gradient(circle, #caa366 0 5px, transparent 6px);
}

.contact-form__consent {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 40px;
	font-size: 16px;
	line-height: 1.5;
	text-align: center;
}

.contact-form__consent .wpcf7-list-item-label {
	display: inline;
	min-width: 0;
	overflow-wrap: anywhere;
}

.contact-form__consent > .wpcf7-form-control-wrap,
.contact-form__consent .wpcf7-list-item label {
	min-width: 0;
}

.contact-form__consent input[type="checkbox"] {
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: #caa366;
}

.contact-form__consent a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.contact-form__consent a:hover {
	color: #caa366;
}

.contact-form__consent a:focus-visible,
.contact-form__consent input:focus-visible,
.contact-page__form input[type="radio"]:focus-visible {
	outline: 2px solid #caa366;
	outline-offset: 3px;
}

.contact-form__submit {
	position: relative;
	width: min(290px, 100%);
	margin: 32px auto 0;
	height: 60px;
}

.contact-form__submit::before {
	position: absolute;
	z-index: 1;
	top: 2px;
	right: 2px;
	bottom: 2px;
	left: 2px;
	border: 1px solid #131313;
	content: "";
	pointer-events: none;
}

.contact-page__form input[type="submit"] {
	box-sizing: border-box;
	display: block;
	width: 100%;
	min-height: 60px;
	padding: 0 24px;
	border: 1px solid #fff;
	border-radius: 0;
	color: #131313;
	background-color: #F0E8DE;
	font-family: "Noto Serif JP", serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.9px;
	text-align: center;
	cursor: pointer;
	transition: color .3s ease, background-color .3s ease;
}

.contact-page__form input[type="submit"]:hover {
	color: #f0e8de;
	background-color: #131313;
}

.contact-page__form input[type="submit"]:focus-visible {
	outline: 3px solid #caa366;
	outline-offset: 4px;
}

.contact-page__form input[type="submit"]:disabled {
	cursor: not-allowed;
	opacity: .55;
}

.wpcf7-not-valid-tip {
    position: absolute;
    right:16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    margin: 0;
    color: #c40000;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    pointer-events: none;
}

.contact-page__form .wpcf7-not-valid-tip::before {
	content: "! ";
}

.contact-page__form .wpcf7-response-output {
	display: none;
}

.contact-page__form .wpcf7-spinner {
	display: block;
	margin: 12px auto 0;
}


/* 12. Thanks page
---------------------------------------- */
.fc-thanks {
  padding: 120px 20px;
  color: #fff;
  text-align: center;
}

.fc-thanks__inner {
  width: min(100%, 900px);
  margin-inline: auto;
}

.fc-thanks__title {
  margin: 0 0 32px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.4;
}

.fc-thanks__text {
  margin: 0 0 48px;
  font-size: 16px;
  line-height: 2;
}

.contact-form-submit {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 290px;
	height: 60px;
	color: #131313;
	background: url("../imgs/top/shop_btn_bg.png") center / contain no-repeat;
	border: none;
	border-radius: 0;
	font-family: "Noto Serif JP", serif;
	font-size: 1.8rem;
	font-weight: 700;
	text-decoration: none;
	transition: opacity 0.3s ease;
}

.contact-form-submit:hover {
	color: #131313;
	opacity: 0.85;
}

.contact-form-submit:focus-visible {
	outline: 3px solid #caa366;
	outline-offset: 4px;
}

@media (min-width: 768px) and (max-width: 1024px) {
	.contact-page__title-heading {
		font-size: clamp(60px, 7.8125vw, 80px);
	}
}

@media (max-width: 767px) {
	.contact-page__sp-break {
		display: block;
	}

	.contact-page__title {
		min-height: 300px;
	}

	.contact-page__title-inner {
		padding: 112px 16px 0;
		text-align: center;
	}

	.contact-page__title-lead {
		font-size: clamp(16px, 5vw, 22px);
		letter-spacing: -.05em;
	}

	.contact-page__title-heading {
		margin-top: 4px;
		font-size: clamp(34px, 10.5vw, 56px);
		letter-spacing: -.05em;
		white-space: normal;
	}

	.contact-page__breadcrumb {
		bottom: 34px;
		left: 16px;
		font-size: 12px;
	}

	.contact-page__title-decoration {
		height: 14px;
		background-size: 1344px 14px;
	}

	.contact-page__body {
		min-height: 0;
		padding: 56px 15px 80px;
	}

	.contact-page__intro {
		font-size: 14px;
		line-height: 1.8;
	}

	.contact-page__intro p + p {
		margin-top: 8px;
	}

	.contact-page__form {
		margin-top: 40px;
	}

	.contact-form__row {
		display: flex;
		flex-direction: column;
		gap: 0;
		margin-bottom: 20px;
	}

	.contact-form__label {
		min-height: 48px;
		padding: 10px 0;
		font-size: 15px;
		border:none;
	}

	.contact-form__required,
	.contact-form__optional {
		min-height: 24px;
		font-size: 12px;
	}

	.contact-form__row:first-child .contact-form__field {
		min-height: 0;
		padding: 14px 12px;
	}

	.contact-page__form input[type="text"],
	.contact-page__form input[type="email"],
	.contact-page__form input[type="tel"],
	.contact-page__form select {
		min-height: 54px;
		font-size: 16px;
	}

	.contact-page__form textarea {
		min-height: 180px;
	}

	.contact-form__consent {
		align-items: flex-start;
		margin-top: 40px;
		font-size: 14px;
		text-align: left;
	}

	.contact-form__consent input[type="checkbox"] {
		width: 26px;
		height: 26px;
		flex: 0 0 auto;
	}

	.contact-form__submit {
		margin-top: 32px;
	}

	.contact-page__form input[type="submit"] {
		min-height: 56px;
		font-size: 16px;
	}

	.contact-form-submit {
		width: 250px;
		height: 50px;
		font-size: 1.4rem;
	}
}

@media (min-width: 768px) and (max-width: 820px) {
	.contact-page__body {
		padding-right: 30px;
		padding-left: 30px;
	}

	.contact-form__row {
		display: flex;
		flex-direction: column;
		gap: 0;
		margin-bottom: 20px;
	}

	.contact-form__label {
		min-height: 48px;
		padding: 10px 12px;
	}

	.contact-form__row:first-child .contact-form__field {
		min-height: 0;
		padding: 14px 12px;
	}
}

@media (max-width: 359px) {
	.contact-form__name-fields {
		grid-template-columns: minmax(0, 1fr);
	}
}
