/*
 Theme Name: SWELL Child
 Template: swell
 Version: 1.0.0
 Description: SWELL用子テーマ
 Author: Your Name
 Text Domain: swell-child
*/

.dj-home-guide {
	align-items: center;
	background: #f5faf7;
	border: 1px solid #d9e8df;
	border-radius: 8px;
	display: flex;
	gap: 24px;
	justify-content: space-between;
	margin: 0 0 32px;
	padding: 24px;
}

.dj-home-guide__body {
	flex: 1 1 auto;
	min-width: 0;
}

.dj-home-guide__label {
	color: #23734f;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0;
	margin: 0 0 8px;
}

.dj-home-guide__title {
	font-size: clamp(22px, 3vw, 30px);
	line-height: 1.35;
	margin: 0 0 10px;
}

.dj-home-guide__text {
	color: #40534a;
	font-size: 15px;
	line-height: 1.8;
	margin: 0;
}

.dj-home-guide__link {
	background: #23734f;
	border-radius: 6px;
	color: #fff;
	display: inline-flex;
	flex: 0 0 auto;
	font-weight: 700;
	line-height: 1.4;
	padding: 12px 18px;
	text-decoration: none;
	transition: background-color .2s ease, transform .2s ease;
}

.dj-home-guide__link:hover,
.dj-home-guide__link:focus {
	background: #17583a;
	color: #fff;
	transform: translateY(-1px);
}

@media (max-width: 768px) {
	.dj-home-guide {
		align-items: stretch;
		flex-direction: column;
		gap: 16px;
		padding: 20px;
	}

	.dj-home-guide__link {
		justify-content: center;
		width: 100%;
	}
}

.single-spot .c-postTitle__date {
	display: none;
}

.single-spot .p-breadcrumb__list {
	flex-wrap: wrap;
	row-gap: 4px;
}

.single-spot .p-breadcrumb__item:last-child .p-breadcrumb__text {
	overflow: visible;
	text-overflow: clip;
	white-space: normal;
}

.dj-area-hero {
	background: #f5faf7;
	border: 1px solid #d9e8df;
	border-radius: 8px;
	margin: 0 0 28px;
	padding: 28px;
}

.dj-area-hero__label {
	color: #23734f;
	font-size: 13px;
	font-weight: 700;
	margin: 0 0 8px;
}

.dj-area-hero__title {
	font-size: clamp(28px, 4vw, 40px);
	line-height: 1.3;
	margin: 0 0 12px;
}

.dj-area-hero__text {
	color: #40534a;
	line-height: 1.8;
	margin: 0;
}

.dj-area-hero__meta {
	color: #23734f;
	font-weight: 700;
	margin-top: 14px;
}

.dj-area-links,
.dj-area-city-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 32px;
}

.dj-area-links a,
.dj-area-city-list a {
	background: #fff;
	border: 1px solid #d9e8df;
	border-radius: 6px;
	color: #23734f;
	font-weight: 700;
	padding: 9px 12px;
	text-decoration: none;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.dj-area-links a:hover,
.dj-area-links a:focus,
.dj-area-city-list a:hover,
.dj-area-city-list a:focus {
	background: #23734f;
	border-color: #23734f;
	color: #fff;
}

.dj-area-section {
	margin: 40px 0 0;
}

.dj-area-section__title {
	font-size: 24px;
	margin: 0 0 18px;
}

.dj-area-card-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.dj-area-card {
	background: #fff;
	border: 1px solid #e5e7e6;
	border-radius: 8px;
	box-shadow: 0 8px 22px rgba(32, 45, 40, .06);
	color: inherit;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	text-decoration: none;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.dj-area-card:hover,
.dj-area-card:focus {
	border-color: #b9d4c4;
	box-shadow: 0 14px 30px rgba(32, 45, 40, .1);
	color: inherit;
	transform: translateY(-2px);
}

.dj-area-card__thumb {
	aspect-ratio: 16 / 10;
	background: #eef4f7;
	color: #66736d;
	display: grid;
	font-size: 13px;
	font-weight: 700;
	place-items: center;
}

.dj-area-card__thumb img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.dj-area-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 14px;
}

.dj-area-card__body h3 {
	font-size: 16px;
	line-height: 1.5;
	margin: 0 0 8px;
}

.dj-area-card__body p {
	color: #54635c;
	font-size: 13px;
	line-height: 1.7;
	margin: 0;
}

.dj-area-card__noimage {
	align-items: center;
	display: inline-flex;
	gap: 6px;
	letter-spacing: 0;
}

.dj-area-pagination {
	margin-top: 28px;
	text-align: center;
}

.dj-area-pagination .page-numbers {
	border: 1px solid #d9e8df;
	border-radius: 6px;
	color: #23734f;
	display: inline-block;
	font-weight: 700;
	margin: 0 3px 6px;
	padding: 8px 11px;
	text-decoration: none;
}

.dj-area-pagination .page-numbers.current {
	background: #23734f;
	color: #fff;
}

.dj-pref-grid {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.dj-pref-grid__item {
	align-items: baseline;
	background: #fff;
	border: 1px solid #e5e7e6;
	border-radius: 6px;
	color: inherit;
	display: inline-flex;
	font-size: 14px;
	font-weight: 700;
	gap: 1px;
	line-height: 1.35;
	min-width: 0;
	padding: 8px 10px;
	text-decoration: none;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.dj-pref-grid__item:hover,
.dj-pref-grid__item:focus {
	background: #f5faf7;
	border-color: #b9d4c4;
	color: #23734f;
}

.dj-pref-grid__name {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.dj-pref-grid__count {
	color: #66736d;
	flex: 0 0 auto;
	font-size: 12px;
	font-weight: 600;
}

.c-widget .dj-pref-grid {
	gap: 6px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.c-widget .dj-pref-grid__item {
	border-color: #edf0ee;
	font-size: 13px;
	padding: 7px 8px;
}

.c-widget .dj-pref-grid__count {
	font-size: 11px;
}

@media (max-width: 768px) {
	.dj-area-hero {
		padding: 22px;
	}

	.dj-area-card-grid {
		gap: 14px;
		grid-template-columns: 1fr;
	}

	.dj-area-links,
	.dj-area-city-list {
		gap: 8px;
		margin-bottom: 28px;
	}
}

.dj-recent-spots {
	display: grid;
	gap: 10px;
}

.dj-recent-spots li {
	line-height: 1.6;
}

.dj-recent-spots a {
	color: inherit;
	font-weight: 700;
	text-decoration: none;
}

.dj-recent-spots time {
	color: #6b7280;
	display: block;
	font-size: 12px;
	margin-top: 2px;
}

.dj-spot-area-links {
	background: #f7faf8;
	border: 1px solid #d9e6dc;
	border-radius: 8px;
	margin: 32px 0 0;
	padding: 18px 20px;
}

.dj-spot-area-links__title {
	color: #1f3326;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.5;
	margin: 0 0 12px;
}

.dj-spot-area-links__items {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.dj-spot-area-links__items a {
	background: #fff;
	border: 1px solid #c9dbcf;
	border-radius: 999px;
	color: #225a33;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	padding: 8px 13px;
	text-decoration: none;
	transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.dj-spot-area-links__items a:hover,
.dj-spot-area-links__items a:focus {
	background: #225a33;
	border-color: #225a33;
	color: #fff;
}
