/**
 * お知らせ一覧・詳細 / お役立ち情報（同一Figmaデザイン）.
 */

.miya-news-page .miya-detail-hero-inner {
	width: min(1400px, calc(100% - 48px));
}

.miya-news-page .miya-detail-script {
	width: fit-content;
	margin: 0 0 4px;
	color: #0091d5;
	font-family: "Signatura Monoline Script", "Signatura Monoline", cursive;
	font-size: 34px;
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0;
	transform: rotate(-5deg);
	transform-origin: left center;
}

.miya-news-page .miya-detail-hero h1 {
	color: #191e6d;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 52px;
	font-weight: 500;
	line-height: 1.45;
	letter-spacing: 5.2px;
	white-space: nowrap;
}

.miya-news-page .miya-detail-hero-lead {
	max-width: 974px;
	margin-top: 18px;
	padding-left: 16px;
	border-left-width: 1px;
	line-height: 30px;
	letter-spacing: 1.6px;
}

.miya-news-page .miya-detail-breadcrumb {
	gap: 15px;
	margin-top: 30px;
	color: #0091d5;
	font-size: 14px;
	line-height: 1.5;
	letter-spacing: 1.4px;
}

.miya-news-section {
	position: relative;
	min-height: 1297px;
	padding: 76px 0 120px;
	background: linear-gradient(to left, #eff8f9 0 100px, #fff 100px 100%);
	box-sizing: border-box;
}

.miya-news-inner {
	width: min(1200px, calc(100% - 48px));
	margin: 0 auto;
}

.miya-news-mini-title {
	display: flex;
	align-items: center;
	gap: 15px;
	margin: 0 0 50px;
	color: #1b1464;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 2.4px;
}

.miya-news-mini-title::before {
	display: block;
	width: 1px;
	height: 30px;
	background: #0091d5;
	content: "";
}

.miya-news-layout {
	display: grid;
	grid-template-columns: minmax(0, 852px) 300px;
	gap: 48px;
	align-items: start;
}

.miya-news-main-column {
	min-width: 0;
}

.miya-news-list {
	display: grid;
	gap: 30px;
}

.miya-news-card {
	margin: 0;
	padding: 0 0 30px;
	border-bottom: 1px solid #ccc;
}

.miya-news-card-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.miya-news-meta {
	display: flex;
	align-items: center;
	gap: 15px;
	margin: 0 0 13px;
}

.miya-news-meta time {
	color: #aaa;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 26px;
	letter-spacing: 1.6px;
}

.miya-news-category {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 26px;
	padding: 2px 10px;
	border-radius: 10px;
	background: #00aeff;
	color: #fff;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 22px;
	letter-spacing: 1.4px;
	box-sizing: border-box;
}

.miya-news-card h3 {
	margin: 0 0 10px;
	color: #222;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.7;
	letter-spacing: 1.8px;
}

.miya-news-card p {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	color: #222;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 25px;
	letter-spacing: 1.6px;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.miya-news-sidebar {
	display: flex;
	flex-direction: column;
	gap: 40px;
	width: 300px;
}

.miya-news-widget h2 {
	margin: 0 0 14px;
	color: #222;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 2px;
}

.miya-news-widget-box {
	width: 300px;
	padding: 22px 25px;
	border-radius: 10px;
	background: #eff8f9;
	box-sizing: border-box;
}

.miya-news-widget-box ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.miya-news-widget-box li + li {
	margin-top: 8px;
}

.miya-news-widget-box a,
.miya-news-widget-box p {
	margin: 0;
	color: #666;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 32px;
	letter-spacing: 1.8px;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.miya-news-archive-select {
	position: relative;
	width: 300px;
	height: 32px;
}

.miya-news-archive-select::after {
	position: absolute;
	top: 13px;
	right: 13px;
	display: block;
	width: 12px;
	height: 6px;
	border-right: 1px solid #222;
	border-bottom: 1px solid #222;
	content: "";
	pointer-events: none;
	transform: rotate(45deg) translateY(-4px);
}

.miya-news-archive-select select {
	width: 300px;
	max-width: 100%;
	height: 32px;
	margin: 0;
	padding: 0 36px 0 12px;
	border: 1px solid #767676;
	border-radius: 0;
	background: #fff;
	box-sizing: border-box;
	color: #666;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 16px;
	letter-spacing: 1.8px;
	appearance: none;
	-webkit-appearance: none;
}

.miya-news-pagination {
	margin-top: 50px;
}

.miya-news-pagination .page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.miya-news-pagination a.page-numbers,
.miya-news-pagination span.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 37px;
	height: 37px;
	background: #d9d9d9;
	color: #fff;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 2px;
	text-decoration: none;
	box-sizing: border-box;
}

.miya-news-pagination span.page-numbers.current {
	background: #00aeff;
}

.miya-news-empty {
	margin: 0;
	font-size: 16px;
	line-height: 1.8;
}

.miya-news-detail-section {
	padding-top: 76px;
}

.miya-news-detail h1 {
	margin: 0;
	padding: 0 0 24px;
	border-bottom: 1px solid #ccc;
	color: #1b1464;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 2.4px;
}

.miya-news-detail > .miya-news-meta {
	margin: 15px 0 40px;
}

.miya-news-entry-content {
	color: #222;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 25px;
	letter-spacing: 1.6px;
}

.miya-news-entry-content > *:first-child {
	margin-top: 0;
}

.miya-news-entry-content img {
	max-width: 100%;
	height: auto;
}

.miya-news-post-nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 413px));
	gap: 25px;
	margin-top: 70px;
}

.miya-news-post-nav-link {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 60px;
	padding: 5px 10px;
	border: 1px solid #ccc;
	background: #fff;
	color: #222;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 25px;
	letter-spacing: 1.4px;
	text-decoration: none;
	box-sizing: border-box;
}

.miya-news-post-nav-link--next {
	grid-column: 2;
	text-align: right;
}

.miya-news-post-nav-link strong {
	overflow: hidden;
	font: inherit;
	text-overflow: ellipsis;
	white-space: nowrap;
}

@media (max-width: 1279px) {
	.miya-news-layout {
		grid-template-columns: minmax(0, 852px);
		justify-content: center;
		gap: 64px;
	}

	.miya-news-sidebar {
		width: 100%;
	}
}

@media (max-width: 767px) {
	.miya-news-page .miya-detail-hero-inner,
	.miya-news-inner {
		width: min(100% - 36px, 1200px);
	}

	.miya-news-page .miya-detail-hero h1 {
		font-size: clamp(28px, 8vw, 38px);
		line-height: 1.45;
		letter-spacing: 0.08em;
		white-space: normal;
	}

	.miya-news-page .miya-detail-script {
		font-size: 28px;
	}

	.miya-news-page .miya-detail-hero-lead {
		font-size: 14px;
		line-height: 1.9;
	}

	.miya-news-section {
		min-height: 0;
		padding: 64px 0;
		background: #fff;
	}

	.miya-news-mini-title {
		margin-bottom: 36px;
		font-size: 22px;
	}

	.miya-news-layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 52px;
	}

	.miya-news-card {
		padding: 0 0 24px;
	}

	.miya-news-card h3 {
		font-size: 17px;
	}

	.miya-news-card p {
		font-size: 14px;
		line-height: 1.9;
		letter-spacing: 0.08em;
	}

	.miya-news-sidebar,
	.miya-news-widget-box,
	.miya-news-archive-select,
	.miya-news-archive-select select {
		width: 100%;
	}

	.miya-news-detail h1 {
		font-size: 21px;
		letter-spacing: 0.08em;
	}

	.miya-news-entry-content {
		font-size: 15px;
		line-height: 1.9;
		letter-spacing: 0.08em;
	}

	.miya-news-post-nav {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.miya-news-post-nav-link--next {
		grid-column: 1;
	}
}

/* Motion enhancement (2026-07-22): subtle hover feedback for news list/detail interactive
   elements. reduced-motion is already handled globally in style.css. */
.miya-news-card h3 {
	transition: color 220ms ease;
}

.miya-news-card-link:hover h3,
.miya-news-card-link:focus-visible h3 {
	color: #0091d5;
}

.miya-news-widget-box a {
	transition: color 220ms ease;
}

.miya-news-widget-box a:hover,
.miya-news-widget-box a:focus-visible {
	color: #0091d5;
}

.miya-news-pagination a.page-numbers {
	transition: background-color 220ms ease;
}

.miya-news-pagination a.page-numbers:hover,
.miya-news-pagination a.page-numbers:focus-visible {
	background: #00aeff;
}

.miya-news-post-nav-link {
	transition: border-color 220ms ease, background-color 220ms ease;
}

.miya-news-post-nav-link:hover,
.miya-news-post-nav-link:focus-visible {
	border-color: #0091d5;
	background: #f7fcff;
}
