:root {
	--epsdt-accent: #1476a8;
	--epsdt-accent-dark: #0d567d;
	--epsdt-ink: #1f2933;
	--epsdt-muted: #66727d;
	--epsdt-line: #d9e0e5;
	--epsdt-soft: #f4f7f9;
	--epsdt-danger: #c23b38;
	--epsdt-radius: 14px;
}

html.epsdt-modal-open {
	overflow: hidden;
}

.epsdt-source {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.epsdt-widget,
.epsdt-dialog {
	box-sizing: border-box;
	font-family: inherit;
}

.epsdt-widget *,
.epsdt-dialog * {
	box-sizing: border-box;
}

.epsdt-widget {
	width: 100%;
}

.epsdt-trigger {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 10px;
	align-items: center;
	width: 100%;
	min-height: 58px;
	padding: 10px 14px;
	color: var(--epsdt-ink);
	background: #fff;
	border: 2px solid #aab6bf;
	border-radius: 10px;
	font: inherit;
	text-align: left;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.epsdt-trigger:hover {
	border-color: var(--epsdt-accent);
}

.epsdt-trigger:focus-visible,
.epsdt-day:focus-visible,
.epsdt-time-button:focus-visible,
.epsdt-month-button:focus-visible,
.epsdt-close:focus-visible,
.epsdt-confirm:focus-visible,
.epsdt-clear:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--epsdt-accent) 35%, transparent);
	outline-offset: 2px;
}

.epsdt-trigger-icon {
	position: relative;
	display: block;
	width: 28px;
	height: 28px;
	color: var(--epsdt-accent-dark);
}

.epsdt-trigger-icon::before {
	position: absolute;
	inset: 4px 3px 2px;
	content: "";
	border: 2px solid currentColor;
	border-radius: 4px;
	box-shadow: inset 0 5px 0 -3px currentColor;
}

.epsdt-trigger-icon::after {
	position: absolute;
	top: 1px;
	left: 8px;
	width: 2px;
	height: 7px;
	content: "";
	background: currentColor;
	border-radius: 2px;
	box-shadow: 10px 0 0 currentColor;
}

.epsdt-trigger-icon.is-choice-number {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	color: var(--epsdt-choice, var(--epsdt-accent-dark));
	background: var(--epsdt-choice-soft, var(--epsdt-soft));
	border-radius: 50%;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.04em;
}

.epsdt-trigger-icon.is-choice-number::before,
.epsdt-trigger-icon.is-choice-number::after {
	display: none;
}

.epsdt-trigger-text {
	min-width: 0;
	font-weight: 600;
	line-height: 1.45;
}

.epsdt-trigger-action {
	color: var(--epsdt-accent-dark);
	font-size: 0.86em;
	font-weight: 700;
	white-space: nowrap;
}

.epsdt-widget.epsdt-choice-1 {
	--epsdt-choice: #345b6b;
	--epsdt-choice-soft: #edf3f5;
}

.epsdt-widget.epsdt-choice-2 {
	--epsdt-choice: #657d83;
	--epsdt-choice-soft: #f0f4f4;
}

.epsdt-widget.epsdt-choice-3 {
	--epsdt-choice: #8a7e70;
	--epsdt-choice-soft: #f5f2ee;
}

.epsdt-widget.epsdt-choice-1 .epsdt-trigger,
.epsdt-widget.epsdt-choice-2 .epsdt-trigger,
.epsdt-widget.epsdt-choice-3 .epsdt-trigger {
	background: #fff;
	border-color: #c5cdd1;
	box-shadow: none;
}

.epsdt-widget.epsdt-choice-1 .epsdt-trigger-action,
.epsdt-widget.epsdt-choice-2 .epsdt-trigger-action,
.epsdt-widget.epsdt-choice-3 .epsdt-trigger-action {
	color: var(--epsdt-choice);
}

.epsdt-widget.epsdt-choice-1 .epsdt-trigger:hover,
.epsdt-widget.epsdt-choice-2 .epsdt-trigger:hover,
.epsdt-widget.epsdt-choice-3 .epsdt-trigger:hover,
.epsdt-widget.epsdt-choice-1 .epsdt-trigger:focus-visible,
.epsdt-widget.epsdt-choice-2 .epsdt-trigger:focus-visible,
.epsdt-widget.epsdt-choice-3 .epsdt-trigger:focus-visible {
	border-color: var(--epsdt-choice);
}

.epsdt-widget.has-value.epsdt-choice-1 .epsdt-trigger,
.epsdt-widget.has-value.epsdt-choice-2 .epsdt-trigger,
.epsdt-widget.has-value.epsdt-choice-3 .epsdt-trigger {
	background: var(--epsdt-choice-soft);
	border-color: var(--epsdt-choice);
}

.epsdt-widget.is-invalid .epsdt-trigger {
	border-color: var(--epsdt-danger);
}

.epsdt-clear {
	margin: 8px 2px 0;
	padding: 6px 4px;
	color: var(--epsdt-muted);
	background: transparent;
	border: 0;
	font: inherit;
	font-size: 0.86em;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.epsdt-dialog {
	width: min(540px, calc(100vw - 32px));
	max-width: 540px;
	max-height: min(820px, calc(100dvh - 32px));
	margin: auto;
	padding: 0;
	color: var(--epsdt-ink);
	background: #fff;
	border: 0;
	border-radius: 20px;
	box-shadow: 0 24px 80px rgba(15, 35, 50, 0.28);
}

.epsdt-dialog::backdrop {
	background: rgba(12, 25, 34, 0.58);
	backdrop-filter: blur(2px);
}

.epsdt-dialog-fallback {
	position: fixed;
	inset: 16px;
	z-index: 999999;
}

.epsdt-dialog-shell {
	display: flex;
	flex-direction: column;
	max-height: inherit;
}

.epsdt-dialog-header {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: space-between;
	min-height: 66px;
	padding: 12px 14px 12px 20px;
	border-bottom: 1px solid var(--epsdt-line);
}

.epsdt-dialog-header h2 {
	margin: 0;
	font: inherit;
	font-size: 1.12rem;
	font-weight: 700;
}

.epsdt-close {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	color: var(--epsdt-ink);
	background: var(--epsdt-soft);
	border: 0;
	border-radius: 50%;
	font: inherit;
	font-size: 30px;
	font-weight: 300;
	line-height: 1;
	cursor: pointer;
}

.epsdt-dialog-body {
	flex: 1 1 auto;
	padding: 20px;
	overflow: auto;
	overscroll-behavior: contain;
}

.epsdt-section + .epsdt-section {
	margin-top: 26px;
}

.epsdt-section h3 {
	margin: 0 0 12px;
	font: inherit;
	font-size: 1rem;
	font-weight: 700;
}

.epsdt-month-nav {
	display: grid;
	grid-template-columns: 48px 1fr 48px;
	align-items: center;
	margin-bottom: 8px;
}

.epsdt-month-label {
	text-align: center;
	font-weight: 700;
}

.epsdt-month-button {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	color: var(--epsdt-accent-dark);
	background: transparent;
	border: 0;
	border-radius: 50%;
	font: inherit;
	font-size: 34px;
	line-height: 1;
	cursor: pointer;
}

.epsdt-month-button:disabled {
	visibility: hidden;
}

.epsdt-calendar {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 4px;
}

.epsdt-weekday {
	display: grid;
	place-items: center;
	height: 30px;
	color: var(--epsdt-muted);
	font-size: 0.78rem;
	font-weight: 700;
}

.epsdt-weekday-0,
.epsdt-day-0:not(:disabled) {
	color: #b63e3a;
}

.epsdt-weekday-6,
.epsdt-day-6:not(:disabled) {
	color: #276da3;
}

.epsdt-day,
.epsdt-day-spacer {
	aspect-ratio: 1;
	min-width: 0;
}

.epsdt-day {
	display: grid;
	place-items: center;
	padding: 0;
	color: var(--epsdt-ink);
	background: #fff;
	border: 1px solid transparent;
	border-radius: 50%;
	font: inherit;
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.epsdt-day:hover:not(:disabled) {
	background: #eaf4f9;
}

.epsdt-day.is-today {
	border-color: var(--epsdt-accent);
}

.epsdt-day.is-selected,
.epsdt-day.is-selected:hover {
	color: #fff;
	background: var(--epsdt-accent);
	border-color: var(--epsdt-accent);
}

.epsdt-day:disabled {
	color: #b8c0c6;
	background: transparent;
	cursor: default;
}

.epsdt-date-choice {
	min-height: 1.5em;
	margin: -4px 0 12px;
	color: var(--epsdt-muted);
	font-size: 0.9rem;
}

.epsdt-time-section.is-pending .epsdt-times {
	display: none;
}

.epsdt-times {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
}

.epsdt-time-button {
	min-height: 48px;
	padding: 8px;
	color: var(--epsdt-ink);
	background: #fff;
	border: 1px solid #aebac2;
	border-radius: 10px;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.epsdt-time-button:hover {
	background: #eaf4f9;
	border-color: var(--epsdt-accent);
}

.epsdt-time-button.is-selected {
	color: #fff;
	background: var(--epsdt-accent);
	border-color: var(--epsdt-accent);
}

.epsdt-dialog-footer {
	flex: 0 0 auto;
	padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
	background: #fff;
	border-top: 1px solid var(--epsdt-line);
	box-shadow: 0 -8px 24px rgba(27, 48, 62, 0.06);
}

.epsdt-preview {
	min-height: 1.45em;
	margin: 0 0 9px;
	color: var(--epsdt-muted);
	font-size: 0.86rem;
	text-align: center;
}

.epsdt-confirm {
	width: 100%;
	min-height: 52px;
	padding: 12px 18px;
	color: #fff;
	background: var(--epsdt-accent);
	border: 0;
	border-radius: 11px;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.epsdt-confirm:hover:not(:disabled) {
	background: var(--epsdt-accent-dark);
}

.epsdt-confirm:disabled {
	color: #8c969d;
	background: #e6eaed;
	cursor: default;
}

@media (max-width: 640px) {
	.epsdt-dialog {
		width: 100%;
		max-width: none;
		height: 100dvh;
		max-height: none;
		margin: 0;
		border-radius: 0;
	}

	.epsdt-dialog-shell {
		height: 100%;
		max-height: none;
	}

	.epsdt-dialog-body {
		padding: 18px 16px 28px;
	}

	.epsdt-day {
		font-size: 1rem;
	}

	.epsdt-times {
		gap: 9px;
	}

	.epsdt-dialog-footer {
		padding-right: 16px;
		padding-left: 16px;
	}
}

@media (max-width: 360px) {
	.epsdt-calendar {
		gap: 2px;
	}

	.epsdt-times {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (prefers-reduced-motion: reduce) {
	.epsdt-dialog *,
	.epsdt-widget * {
		scroll-behavior: auto !important;
	}
}
/*
 * CF7 form design consolidated from Appearance > Additional CSS (2026-10-25).
 * Keep the existing location selection rule and form-specific appearance.
 */
.wpcf7 .eps-weather-policy {
	border: 1px solid #d5dde1;
	border-radius: 16px;
	background: #fff;
	padding: 32px 36px;
	margin: 28px 0;
	color: #333;
	font-family: inherit;
	font-size: 16px;
	line-height: 1.85;
	display: none !important;
}

/* The location inputs include both outdoor-only and studio + outdoor. */
.wpcf7 form:has(input[name^="checkbox-630"][value*="屋外ロケ"]:checked) .eps-weather-policy {
	display: block !important;
}

/* JS can also set hidden when the selected shooting place changes. */
.wpcf7 .eps-weather-policy[hidden] {
	display: none !important;
}

.wpcf7 .eps-weather-policy .eps753-heading {
	font-size: 18px;
	font-weight: 700;
	color: #252525;
	line-height: 1.6;
	margin: 0 0 22px;
}

.wpcf7 .eps-weather-policy > p:not(.eps753-heading) {
	font-size: 15px;
	font-weight: 400;
	color: #7b8388;
	line-height: 1.9;
	margin: 0 0 20px;
}

.wpcf7 .eps-weather-policy ul {
	list-style: none;
	padding: 0;
	margin: 24px 0;
}

.wpcf7 .eps-weather-policy li {
	font-size: 15px;
	line-height: 1.9;
	padding: 18px 0;
	border-bottom: 1px solid #e1e5e8;
}

.wpcf7 .eps-weather-policy li:first-child {
	border-top: 1px solid #e1e5e8;
}

.wpcf7 .eps-weather-policy li strong {
	font-weight: 700;
	color: #333;
}

.wpcf7 .eps-weather-policy .wpcf7-form-control-wrap {
	display: block;
	margin-top: 22px;
}

.wpcf7 .eps-weather-policy .wpcf7-list-item {
	margin-left: 0;
	font-size: 15px;
	font-weight: 600;
}

.wpcf7 .eps-weather-policy .wpcf7-list-item-label {
	font-size: 16px !important;
	font-weight: 600 !important;
	color: #333 !important;
	line-height: 1.7;
}

.wpcf7 .eps-weather-policy input[type="checkbox"] {
	width: 20px;
	height: 20px;
	vertical-align: middle;
	margin-right: 8px;
}

@media (max-width: 767px) {
	.wpcf7 .eps-weather-policy {
		padding: 24px 20px;
		border-radius: 14px;
		font-size: 15px;
	}

	.wpcf7 .eps-weather-policy .eps753-heading {
		font-size: 17px;
	}

	.wpcf7 .eps-weather-policy li {
		font-size: 14px;
	}
}

/* Contact Form 7 submission button and adjacent spinner. */
.eps-contact-submit-wrap {
	position: relative;
	text-align: center;
}

.eps-contact-submit-wrap .wpcf7-spinner {
	position: absolute;
	top: 50%;
	margin: 0 0 0 8px;
	transform: translateY(-50%);
}

.wpcf7 input.eps-contact-submit {
	width: 260px;
	max-width: 100%;
	padding: 18px 12px;
	border: 0;
	border-radius: 4px;
	background: #718b96;
	color: #fff;
}

