/* お近くのスクール検索（体験の流れページ） */
.p-school-finder {
	box-sizing: border-box;
	width: 100%;
	margin: 0 0 24px;
	padding: 18px 14px 16px;
	border: 2px solid #1d4294;
	border-radius: 10px;
	background-color: #f3f6fc;
	font-family: "Zen Maru Gothic", sans-serif;
	color: #333;
}

.p-school-finder *,
.p-school-finder *::before,
.p-school-finder *::after {
	box-sizing: border-box;
}

.p-school-finder__ttl {
	margin: 0 0 6px;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.05em;
	line-height: 1.4;
	text-align: center;
	color: #1d4294;
}

.p-school-finder__lead {
	margin: 0 0 14px;
	font-size: 13px;
	line-height: 1.6;
	text-align: center;
	color: #444;
}

.p-school-finder__geoBtn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 46px;
	margin: 0;
	padding: 10px 16px;
	border: 2px solid #1d4294;
	border-radius: 30px;
	background-color: #1d4294;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.3;
	color: #fff;
	cursor: pointer;
	transition: opacity .2s;
}

.p-school-finder__geoBtn:disabled {
	border-color: #9aa4ae;
	background-color: #9aa4ae;
	cursor: not-allowed;
}

.p-school-finder__geoBtn:not(:disabled):hover {
	opacity: .85;
}

.p-school-finder__geoIcon {
	display: inline-block;
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffe500'%3E%3Cpath d='M12 2C8.1 2 5 5.1 5 9c0 5.2 7 13 7 13s7-7.8 7-13c0-3.9-3.1-7-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") no-repeat center / contain;
}

.p-school-finder__or {
	margin: 14px 0 10px;
	font-size: 12px;
	line-height: 1.5;
	text-align: center;
	color: #777;
}

.p-school-finder__row {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.p-school-finder .p-school-finder__select {
	width: 100%;
	min-height: 42px;
	padding: 9px 36px 9px 12px;
	border: 1px solid #c3c3c3;
	border-radius: 5px;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23c3c3c3' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 12px 8px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 0.05em;
	line-height: 1.4;
	color: #333;
	appearance: none;
	-webkit-appearance: none;
}

.p-school-finder .p-school-finder__select:disabled {
	background-color: #eceff3;
	color: #9aa4ae;
}

.p-school-finder__searchBtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 46px;
	margin: 0;
	padding: 10px 20px;
	border: 2px solid #1d4294;
	border-radius: 30px;
	background-color: #ffea16;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.3;
	color: #000;
	cursor: pointer;
	transition: opacity .2s;
}

.p-school-finder__searchBtn:disabled {
	border-color: #9aa4ae;
	background-color: #eceff3;
	color: #9aa4ae;
	cursor: not-allowed;
}

.p-school-finder__searchBtn:not(:disabled):hover {
	opacity: .85;
}

.p-school-finder__status {
	min-height: 1em;
	margin: 10px 0 0;
	font-size: 13px;
	line-height: 1.5;
	text-align: center;
	color: #1d4294;
}

.p-school-finder__status:empty {
	margin: 0;
	min-height: 0;
}

.p-school-finder__selected {
	margin: 14px 0 0;
	padding: 12px 14px;
	border: 1px solid #1d4294;
	border-radius: 6px;
	background-color: #fff;
	font-size: 14px;
	line-height: 1.7;
}

.p-school-finder__selected[hidden] {
	display: none;
}

.p-school-finder__selectedRow {
	margin: 0;
}

.p-school-finder__selectedLabel {
	font-weight: 700;
	color: #1d4294;
}

.p-school-finder__selectedName {
	font-weight: 700;
}

.p-school-finder__clear {
	margin: 2px 0 0;
	padding: 0;
	border: 0;
	background: none;
	font-family: inherit;
	font-size: 12px;
	line-height: 1.5;
	color: #1d4294;
	text-decoration: underline;
	cursor: pointer;
}

.p-school-finder__selectedGuide {
	margin: 8px 0 0;
	font-weight: 700;
	color: #1d4294;
}

/* 検索結果モーダル（JS で body 直下へ移動） */
.p-school-finder-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none;
	font-family: "Zen Maru Gothic", sans-serif;
	color: #333;
}

.p-school-finder-modal.is-open {
	display: block;
}

html.is-school-finder-modal-open,
html.is-school-finder-modal-open body {
	overflow: hidden;
}

.p-school-finder-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .55);
}

.p-school-finder-modal__panel {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 92%;
	max-width: 560px;
	max-height: 84vh;
	overflow-y: auto;
	padding: 22px 18px 20px;
	border-radius: 12px;
	background: #fff;
	transform: translate(-50%, -50%);
	-webkit-overflow-scrolling: touch;
	box-sizing: border-box;
}

.p-school-finder-modal__close {
	position: absolute;
	top: 6px;
	right: 12px;
	padding: 0;
	border: 0;
	background: none;
	font-size: 26px;
	line-height: 1;
	color: #888;
	cursor: pointer;
}

.p-school-finder-modal__ttl {
	margin: 0 0 14px;
	padding-right: 24px;
	font-size: 17px;
	font-weight: 700;
	color: #1d4294;
}

.p-school-finder-modal__loading {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 0;
	padding: 40px 0;
	font-size: 14px;
	font-weight: 700;
	color: #1d4294;
}

.p-school-finder-modal__spinner {
	width: 22px;
	height: 22px;
	border: 3px solid #cfd8ee;
	border-top-color: #1d4294;
	border-radius: 50%;
	animation: p-school-finder-spin .8s linear infinite;
}

@keyframes p-school-finder-spin {
	to {
		transform: rotate(360deg);
	}
}

.p-school-finder-modal__guide {
	margin: 0 0 14px;
	padding: 12px;
	border: 1px dashed #1d4294;
	border-radius: 8px;
	background: #f3f6fc;
	text-align: center;
}

.p-school-finder-modal__guideTxt {
	margin: 0 0 8px;
	font-size: 13px;
	line-height: 1.6;
	color: #333;
}

.p-school-finder-modal__guideBtn {
	display: inline-block;
	width: 100%;
	padding: 10px 14px;
	border: 2px solid #1d4294;
	border-radius: 30px;
	background: #fff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	color: #1d4294;
	cursor: pointer;
	transition: opacity .2s;
}

.p-school-finder-modal__guideBtn:hover {
	opacity: .8;
}

.p-school-finder-modal__note {
	margin: 0 0 10px;
	font-size: 12px;
	line-height: 1.6;
	color: #777;
}

.p-school-finder-modal__empty {
	margin: 0;
	padding: 24px 0;
	font-size: 14px;
	line-height: 1.6;
	text-align: center;
	color: #555;
}

.p-school-finder-card {
	margin: 0 0 12px;
	padding: 14px;
	border: 1px solid #d8e2ec;
	border-radius: 8px;
}

.p-school-finder-card__name {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 4px 10px;
	margin: 0 0 8px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
}

.p-school-finder-card__distance {
	font-size: 12px;
	font-weight: 400;
	color: #777;
}

.p-school-finder-card__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
	line-height: 1.6;
}

.p-school-finder-card__table th {
	width: 5em;
	padding: 2px 8px 2px 0;
	text-align: left;
	vertical-align: top;
	white-space: nowrap;
	font-weight: 700;
	color: #1d4294;
}

.p-school-finder-card__table td {
	padding: 2px 0;
	vertical-align: top;
}

.p-school-finder-card__actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	margin-top: 10px;
}

.p-school-finder-card__select {
	width: 100%;
	padding: 9px;
	border: 2px solid #1d4294;
	border-radius: 30px;
	background: #ffea16;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	color: #000;
	cursor: pointer;
	transition: opacity .2s;
}

.p-school-finder-card__select:hover {
	opacity: .85;
}

.p-school-finder-card__link {
	font-size: 12px;
	line-height: 1.5;
	color: #1d4294;
	text-decoration: underline;
}
