/* ==========================================================================
   教室一覧（taxonomy-wpseo_locations_category）
   SWELLのアーカイブカード相当の見た目を踏襲
   ========================================================================== */

/* ページ見出し ----------------------------------------------------------- */
.location-archive-header {
	margin: 0 0 32px;
	padding: 0;
}

.location-archive-header__inner {
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.location-archive-header__title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 0;
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.4;
	color: #004D28;
}

.location-archive-header__logo {
	flex-shrink: 0;
	width: auto;
	height: 1em;
	display: block;
}

.location-archive-header__text {
	display: inline-block;
}

@media (max-width: 600px) {
	.location-archive-header__title {
		font-size: 1.4rem;
		gap: 8px;
	}
}
@media (max-width: 959px) {
	.location-archive-header__title {
		padding-top: 32px;
	}
}


/* カード一覧 ------------------------------------------------------------- */
.location-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px 24px;
}

@media (max-width: 600px) {
	.location-list {
		grid-template-columns: 1fr;
		gap: 28px;
	}
}

.location-card {
	list-style: none;
	margin: 0;
	padding: 0;
	background-color: #fff;
	border-radius: 6px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
	overflow: hidden;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.location-card:hover {
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

.location-card__link,
.location-card__link:hover,
.location-card__link:focus,
.location-card__link:active {
	display: block;
	color: inherit;
	text-decoration: none;
}

/* サムネイル ------------------------------------------------------------- */
.location-card__thumb {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background-color: #d9d9d9;
	margin-bottom: 0;
}

/* aspect-ratio 非対応ブラウザ用フォールバック */
@supports not (aspect-ratio: 16 / 10) {
	.location-card__thumb {
		padding-top: 62.5%;
		height: 0;
	}
	.location-card__thumb > * {
		position: absolute;
		inset: 0;
	}
}

.location-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.location-card__placeholder {
	width: 100%;
	height: 100%;
	background-color: #d9d9d9;
}

/* テキスト ------------------------------------------------------------- */
.location-card__body {
	padding: 16px 18px 18px;
}

.location-card__title {
	font-size: 1.3rem;
	font-weight: 600;
	margin: 0 0 10px;
	line-height: 1.5;
	color: #004D28;
}

.location-card__meta {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.85rem;
	color: #555;
	line-height: 1.7;
}

.location-card__meta > li {
	list-style: none;
	margin: 0 0 14px;
	padding: 0;
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.location-card__meta > li:last-child {
	margin-bottom: 0;
}

.location-card__label {
	flex: 0 0 5em;
	width: 5em;
	box-sizing: border-box;
	padding: 1px 6px;
	font-size: 0.75rem;
	font-weight: 500;
	color: #fff;
	background-color: #004D28;
	border-radius: 3px;
	text-align: center;
	line-height: 1.5;
	white-space: nowrap;
}

.location-card__value {
	flex: 1;
	min-width: 0;
}
