/*
Theme Name: AFFINGER Child
Template: affinger
Description: AFFINGER6 Child
Version: 20210719
*/

.wpcf7 input[name="your-name"],
.wpcf7 input[name="your-email"],
.wpcf7 input[name="your-subject"] {
	width: 100%;
	max-width: 640px;
	height: 40px;
	padding: 8px 10px;
	box-sizing: border-box;
	border: 1px solid #c9d3cf;
	border-radius: 4px;
	background: #fff;
}

.wpcf7 textarea[name="your-message"] {
	width: 100%;
	max-width: 640px;
	min-height: 240px;
	padding: 10px;
	box-sizing: border-box;
	border: 1px solid #c9d3cf;
	border-radius: 4px;
	background: #fff;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 input[type="number"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
	outline: 2px solid #79a88f;
	outline-offset: 1px;
	border-color: #4f8f72;
}

.wpcf7 input[name="birth-year"] {
	width: 7em !important;
	max-width: 7em !important;
	height: 40px;
	padding: 8px 10px;
	box-sizing: border-box;
}

.wpcf7 p {
	margin-bottom: 18px;
}

.wpcf7 .wpcf7-submit {
	display: inline-block;
	min-width: 220px;
	padding: 12px 24px;
	border: 0;
	border-radius: 4px;
	background: #3f7f65;
	color: #fff;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
	cursor: pointer;
	transition: background-color .2s ease, opacity .2s ease;
}

.wpcf7 .wpcf7-submit:hover,
.wpcf7 .wpcf7-submit:focus {
	background: #2f6750;
	color: #fff;
}

.wpcf7 .wpcf7-submit:disabled {
	opacity: .65;
	cursor: not-allowed;
}

.wpcf7-not-valid-tip {
	margin-top: 6px;
	font-size: 13px;
}

.wpcf7 form .wpcf7-response-output {
	margin: 18px 0 0;
	padding: 12px 14px;
	border-radius: 4px;
}

.wpcf7 select,
.wpcf7 .wpcf7-select {
	width: auto !important;
	max-width: 14em;
	min-width: 6em;
	height: 40px;
	padding: 6px 28px 6px 10px;
	box-sizing: border-box;
	border: 1px solid #c9d3cf;
	border-radius: 4px;
	background-color: #fff;
}

.date-container {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	flex-wrap: wrap;
}

.date-container br {
	display: none;
}

.date-container .wpcf7-form-control-wrap {
	display: inline-block;
	width: auto !important;
	max-width: none;
}

.date-container select,
.date-container .wpcf7-select {
	padding: 5px;
	font-size: 14px;
	width: auto !important;
	min-width: 5.5em !important;
	border: 1px solid #c9d3cf;
	border-radius: 4px;
	background: #fff;
}

.date-container .wpcf7-form-control-wrap:first-of-type select,
.date-container select:first-of-type,
.date-container .wpcf7-select:first-of-type {
	min-width: 6.8em !important;
	max-width: 7.6em !important;
}

.date-container .wpcf7-form-control-wrap:not(:first-of-type) select,
.date-container select:not(:first-of-type),
.date-container .wpcf7-select:not(:first-of-type) {
	min-width: 4.8em !important;
	max-width: 5.6em !important;
}

.date-container .wpcf7-not-valid-tip {
	display: block;
	width: 100%;
	margin-top: 4px;
	white-space: normal;
}

.date-container .date-field {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	min-height: 40px;
}

.date-container .date-field .wpcf7-form-control-wrap {
	display: inline-block;
	position: relative;
}

.date-container .date-field .wpcf7-not-valid-tip {
	display: block;
	position: absolute;
	left: 0;
	top: 100%;
	width: max-content;
	max-width: 16em;
	margin-top: 4px;
	line-height: 1.4;
}

.date-container:has(.date-field .wpcf7-not-valid-tip) {
	margin-bottom: 30px;
}

a[href*="reserve"],
a[href*="booking"],
a[href*="contact"],
a[href*="line.me"] {
	text-underline-offset: 3px;
}

.st-mybtn,
.rankstlink-r2 a,
.rankstlink-l2 a {
	transition: opacity .2s ease, transform .2s ease;
}

.st-mybtn:hover,
.rankstlink-r2 a:hover,
.rankstlink-l2 a:hover {
	opacity: .88;
	transform: translateY(-1px);
}

@media (max-width: 600px) {
	.wpcf7 input[name="your-name"],
	.wpcf7 input[name="your-email"],
	.wpcf7 input[name="your-subject"],
	.wpcf7 textarea[name="your-message"] {
		max-width: none;
	}

	.wpcf7 .wpcf7-submit {
		width: 100%;
	}

	.date-container {
		flex-direction: row;
		align-items: center;
		gap: 4px;
		flex-wrap: nowrap;
	}

	.date-container .wpcf7-form-control-wrap {
		flex: 0 1 auto;
		width: auto !important;
	}

	.date-container .date-field {
		flex: 0 0 auto;
		gap: 2px;
		font-size: 13px;
	}

	.date-container input[name="birth-year"] {
		width: 5.8em !important;
		max-width: 5.8em !important;
		min-width: 0 !important;
		padding: 6px 7px;
		font-size: 14px;
	}

	.date-container .wpcf7-not-valid-tip {
		font-size: 12px;
		max-width: 14em;
	}

	.date-container .date-field .wpcf7-not-valid-tip {
		width: 14em;
		white-space: normal;
	}

	.date-container select,
	.date-container .wpcf7-select {
		width: auto !important;
		min-width: 3.8em !important;
		max-width: 4.4em !important;
		padding: 5px 18px 5px 6px;
		font-size: 13px;
	}

	.date-container .wpcf7-form-control-wrap:first-of-type select,
	.date-container select:first-of-type,
	.date-container .wpcf7-select:first-of-type {
		min-width: 3.8em !important;
		max-width: 4.4em !important;
	}
}

/* ===== P1408: スマホフッター固定CTA ===== */
#st-footermenubox {
  padding-top: 0;
  padding-left: 0;
  padding-right: 0;
}

#st-footermenubox .shinnou-sticky-line {
  background: #008A3D;
}

#st-footermenubox .shinnou-sticky-tel {
  background: #005A9E;
}

#st-footermenubox .shinnou-sticky-line a,
#st-footermenubox .shinnou-sticky-tel a {
  display: block;
  padding: 14px 8px;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  line-height: 1.2;
}

body.page-id-572 #st-footermenubox,
body.page-id-3142 #st-footermenubox,
body.page-id-1034 #st-footermenubox,
body.page-id-2956 #st-footermenubox {
  display: none !important;
}