@charset "utf-8";
/* 専門サイト・運営サイト・運営メディア */

/* ---------- 共通：タイル ---------- */
.lw-sites__list {
	display: grid;
	grid-template-columns: repeat(var(--cols, 5), 1fr);
	background: #f3f6fb;
	border-radius: 10px;
	overflow: hidden;
	margin: 0;
	padding: 0;
	list-style: none;
}
.lw-sites__item {
	display: flex;
	background: var(--color-blue_u);
}
.lw-sites__item:nth-child(even) {
	background: #f3f6fb;
}
.lw-sites__item a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.25rem;
	width: 100%;
	min-height: 0;
	padding: 1.1rem 1.25rem;
	text-align: center;
	text-decoration: none;
	color: var(--color-main);
	transition: background 0.3s, color 0.3s;
}
.lw-sites__item a:hover {
	background: var(--color-main);
	color: #fff;
}
.lw-sites__label {
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	color: #6b7290;
	line-height: 1.5;
}
.lw-sites__item a:hover .lw-sites__label {
	color: rgba(255, 255, 255, 0.75);
}
.lw-sites__name {
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.5;
	color: var(--color-blue);
}
.lw-sites__item a:hover .lw-sites__name {
	color: #fff;
}
.lw-sites__ext {
	display: inline-block;
	width: 0.85em;
	height: 0.85em;
	margin: 0 0 0 0.35em;
	vertical-align: -0.05em;
}
.lw-sites__desc {
	font-size: 0.85rem;
	line-height: 1.7;
	color: #4b516f;
	margin: 0.35rem 0 0;
}
.lw-sites__item a:hover .lw-sites__desc {
	color: rgba(255, 255, 255, 0.85);
}

/* ---------- トップページ ---------- */
.home-sites {
	background: #fff;
}
.home-sites .inner {
	padding: 5.5rem 0;
}
.lw-sites + .lw-sites {
	margin-top: 3.5rem;
}
.lw-sites__head {
	margin: 0 0 1.5rem;
}
.lw-sites__title {
	font-size: 1.6rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1.3;
	white-space: nowrap;
	margin: 0;
}
.lw-sites__title small {
	display: block;
	font-family: var(--ff-en);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	color: var(--color-blue);
	margin: 0 0 0.4rem;
}
.lw-sites__more {
	display: flex;
	justify-content: center;
	margin: 1.5rem 0 0;
}
.lw-sites__more .link-btn__s {
	width: auto;
	min-width: 16rem;
	gap: 1.5rem;
}

/* ---------- 下層ページ ---------- */
.lw-sites-page__lead {
	text-align: center;
	margin: 0 0 3rem;
}
.lw-sites__list.is-page {
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
	background: none;
	border-radius: 0;
	overflow: visible;
}
.lw-sites__list.is-page .lw-sites__item {
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	border-top: 3px solid var(--color-blue);
}
.lw-sites__list.is-page .lw-sites__item a {
	min-height: 0;
	padding: 1.75rem 1.75rem;
}
.lw-sites__list.is-page .lw-sites__name {
	font-size: 1.2rem;
}
.lw-sites-page__other {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 1rem;
	margin: 4rem 0 0;
}
.lw-sites-page__other .link-btn__s {
	width: auto;
	min-width: 16rem;
	gap: 1.5rem;
}

/* ページ見出しの英字 */
.special-site.subpage .sub-title h2:before {
	content: "SPECIAL SITE";
}
.site.subpage .sub-title h2:before {
	content: "OUR SITES";
}
.media.subpage .sub-title h2:before {
	content: "OUR MEDIA";
}

/* ---------- レスポンシブ ---------- */
@media screen and (max-width: 1100px) {
	.lw-sites__list {
		grid-template-columns: repeat(var(--cols-tab, 3), 1fr);
	}
	.lw-sites__list.is-page {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media screen and (max-width: 768px) {
	.home-sites .inner {
		padding: 4rem 0;
	}
	.lw-sites + .lw-sites {
		margin-top: 3rem;
	}
	.lw-sites__head {
		margin: 0 0 1rem;
	}
	.lw-sites__title {
		font-size: 1.4rem;
	}
	.lw-sites__list {
		grid-template-columns: 1fr;
	}
	.lw-sites__item a {
		min-height: 0;
		gap: 0.2rem;
		padding: 1rem 1.25rem;
	}
	.lw-sites__name {
		font-size: 1rem;
	}
	.lw-sites__more {
		margin: 1.5rem 0 0;
	}
	.lw-sites__more .link-btn__s {
		width: 100%;
		min-width: 0;
	}
	.lw-sites__list.is-page {
		grid-template-columns: 1fr;
		gap: 1rem;
	}
	.lw-sites__list.is-page .lw-sites__item a {
		min-height: 0;
		padding: 1.75rem 1.25rem;
	}
	.lw-sites-page__other .link-btn__s {
		min-width: 0;
		width: 100%;
	}
}
