@charset "UTF-8";
/* Choei News: list and single post pages */

.news-page,
.news-list-page,
.news-single {
	background: var(--white);
	overflow: hidden;
}

.news-page__content,
.news-article-body {
	padding: 96px 0;
	background: var(--white);
}

.news-single__container {
	max-width: 828px;
}

.news-single__article-header {
	max-width: 780px;
	margin: 0 auto 42px;
	padding-bottom: 32px;
	border-bottom: 1px solid var(--gray-border);
}

.news-single__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
	margin-bottom: 18px;
}

.news-single__meta .news-date {
	min-width: 0;
}

.news-single__title {
	margin: 0;
	color: var(--navy);
	font-size: clamp(1.65rem, 3.3vw, 2.35rem);
	font-weight: 800;
	line-height: 1.55;
	letter-spacing: 0.035em;
	overflow-wrap: anywhere;
}

.news-single__thumbnail {
	max-width: 780px;
	margin: 0 auto 44px;
	overflow: hidden;
	border-radius: var(--radius);
	box-shadow: var(--shadow-md);
}

.news-single__image {
	display: block;
	width: 100%;
	height: auto;
}

.news-single__page-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	max-width: 780px;
	margin: 32px auto 0;
}

.news-single__page-links > * {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--gray-border);
	border-radius: 6px;
}

.news-page__hero .lower-hero__content,
.news-article-header .lower-hero__content {
	width: min(100%, 1148px);
}

.news-article-header .lower-hero__title {
	max-width: 880px;
	font-size: clamp(1.75rem, 3.6vw, 2.55rem);
	overflow-wrap: anywhere;
}

.news-article-header .news-row__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	align-items: center;
	margin-top: 18px;
}

.news-article-header .news-date,
.news-article-header .news-row__date {
	min-width: 0;
	color: var(--gray-mid);
}

.news-page .news-list,
.news-list-page .news-list {
	max-width: 920px;
	margin: 0 auto;
	border-top: 1px solid var(--gray-border);
}

.news-item {
	margin: 0;
	padding: 0;
}

.news-page .news-row,
.news-list-page .news-row {
	position: relative;
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: 82px;
	padding: 20px 12px;
	border-bottom: 1px solid var(--gray-border);
	color: inherit;
	transition: background-color 0.25s, box-shadow 0.25s;
}

.news-page a.news-row:hover,
.news-list-page a.news-row:hover {
	background: var(--ice);
	box-shadow: inset 3px 0 0 var(--blue);
}

.news-page .news-row__meta,
.news-list-page .news-row__meta {
	display: flex;
	align-items: center;
	gap: 20px;
	flex: 0 0 auto;
}

.news-page .news-date,
.news-list-page .news-date,
.news-page .news-row__date,
.news-list-page .news-row__date {
	min-width: 100px;
	font-family: var(--font-en);
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--gray-mid);
}

.news-page .news-title,
.news-list-page .news-title,
.news-page .news-row__title,
.news-list-page .news-row__title {
	min-width: 0;
	flex: 1 1 auto;
	margin: 0;
	color: var(--gray-dark);
	font-size: 0.95rem;
	font-weight: 500;
	line-height: 1.75;
	overflow-wrap: anywhere;
	transition: color 0.25s;
}

.news-page a.news-row:hover :is(.news-title, .news-row__title),
.news-list-page a.news-row:hover :is(.news-title, .news-row__title),
.news-page a.news-row:focus-visible :is(.news-title, .news-row__title),
.news-list-page a.news-row:focus-visible :is(.news-title, .news-row__title) {
	color: var(--blue);
}

.news-page .news-row__arrow,
.news-list-page .news-row__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	margin-left: auto;
	color: var(--blue);
	flex: 0 0 24px;
	transition: transform 0.25s;
}

.news-page a.news-row:hover .news-row__arrow,
.news-list-page a.news-row:hover .news-row__arrow {
	transform: translateX(3px);
}

.news-empty {
	max-width: 920px;
	margin: 0 auto;
	padding: 48px 24px;
	border: 1px solid #d8e6f2;
	border-radius: var(--radius);
	background: var(--ice);
	color: var(--gray-mid);
	font-size: 0.92rem;
	line-height: 1.9;
	text-align: center;
}

.utility-page__empty {
	max-width: 760px;
	margin: 0 auto;
	padding: 48px 32px;
	border: 1px solid #d8e6f2;
	border-radius: var(--radius);
	background: var(--ice);
	text-align: center;
}

.utility-page__empty p {
	margin: 0 0 28px;
	color: var(--gray-mid);
	font-size: 0.95rem;
	line-height: 2;
}

.utility-page__empty .btn-outline {
	justify-content: center;
}

.news-pagination {
	display: flex;
	justify-content: center;
	margin-top: 40px;
}

.news-pagination .nav-links,
.news-pagination ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.news-pagination ul.page-numbers li { margin: 0; }

.news-pagination a.page-numbers,
.news-pagination span.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--gray-border);
	border-radius: 6px;
	background: var(--white);
	color: var(--blue);
	font-family: var(--font-en);
	font-size: 0.84rem;
	font-weight: 700;
	line-height: 1;
	transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}

.news-pagination a.page-numbers:hover {
	border-color: var(--blue);
	background: var(--ice);
}

.news-pagination span.page-numbers.current {
	border-color: var(--navy);
	background: var(--navy);
	color: var(--white);
}

.news-content {
	max-width: 780px;
	margin: 0 auto;
	color: var(--gray-dark);
	font-size: 1rem;
	line-height: 2.05;
	overflow-wrap: anywhere;
}

.news-content > *:first-child { margin-top: 0; }
.news-content > *:last-child { margin-bottom: 0; }

.news-content p { margin: 0 0 1.8em; }

.news-content h2 {
	position: relative;
	margin: 3.4em 0 1.1em;
	padding: 0 0 15px;
	border-bottom: 1px solid var(--gray-border);
	color: var(--navy);
	font-size: clamp(1.35rem, 2.4vw, 1.7rem);
	font-weight: 700;
	line-height: 1.55;
	letter-spacing: 0.04em;
	overflow-wrap: anywhere;
}

.news-content h2::after {
	content: '';
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 36px;
	height: 3px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--blue), var(--sky));
}

.news-content h3 {
	margin: 2.5em 0 0.9em;
	padding-left: 14px;
	border-left: 3px solid var(--blue);
	color: var(--navy);
	font-size: 1.16rem;
	font-weight: 700;
	line-height: 1.65;
	letter-spacing: 0.03em;
}

.news-content h4,
.news-content h5,
.news-content h6 {
	margin: 2em 0 0.8em;
	color: var(--navy);
	font-weight: 700;
	line-height: 1.7;
}

.news-content a:not(.wp-block-button__link) {
	color: var(--blue);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.news-content ul,
.news-content ol {
	margin: 0 0 1.8em;
	padding-left: 1.6em;
}

.news-content li { margin: 0.45em 0; }
.news-content li::marker { color: var(--blue); }
.news-content :is(ul, ol) :is(ul, ol) { margin: 0.55em 0; }

.news-content blockquote,
.news-content .wp-block-quote {
	margin: 2em 0;
	padding: 22px 24px;
	border: 0;
	border-left: 4px solid var(--sky);
	border-radius: 0 8px 8px 0;
	background: var(--ice);
	color: var(--gray-dark);
}

.news-content blockquote > :last-child { margin-bottom: 0; }
.news-content blockquote cite { color: var(--gray-mid); font-size: 0.8rem; }

.news-content figure { margin: 2em 0; }
.news-content img {
	max-width: 100%;
	height: auto;
	border-radius: var(--radius);
}
.news-content .wp-block-image img { box-shadow: var(--shadow-md); }
.news-content figcaption {
	margin-top: 9px;
	color: var(--gray-mid);
	font-size: 0.76rem;
	line-height: 1.7;
	text-align: center;
}

.news-content .alignwide {
	width: min(960px, calc(100vw - 48px));
	max-width: none;
	margin-right: 50%;
	margin-left: 50%;
	transform: translateX(-50%);
}

.news-content .wp-block-table { overflow-x: auto; }
.news-content table {
	width: 100%;
	margin: 2em 0;
	border-collapse: collapse;
	font-size: 0.9rem;
	line-height: 1.75;
}
.news-content :is(th, td) {
	padding: 13px 15px;
	border: 1px solid var(--gray-border);
	text-align: left;
	vertical-align: top;
}
.news-content th { background: var(--ice); color: var(--navy); font-weight: 700; }

.news-content .wp-block-separator {
	margin: 3em auto;
	border: 0;
	border-top: 1px solid var(--gray-border);
}

.news-content .wp-block-button__link {
	border-radius: 6px;
	background: linear-gradient(135deg, var(--blue), var(--navy));
	color: var(--white);
	font-size: 0.9rem;
	font-weight: 700;
}

.news-content :is(iframe, video) { max-width: 100%; }
.news-content .wp-block-embed__wrapper { overflow: hidden; border-radius: var(--radius); }

.news-back {
	display: flex;
	justify-content: center;
	max-width: 780px;
	margin: 56px auto 0;
	padding-top: 32px;
	border-top: 1px solid var(--gray-border);
}

.news-back a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 12px 30px;
	border: 1px solid var(--blue);
	border-radius: 6px;
	color: var(--blue);
	font-size: 0.88rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	transition: color 0.25s, background-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.news-back a:hover {
	background: var(--blue);
	color: var(--white);
	transform: translateY(-2px);
	box-shadow: 0 4px 14px rgba(0,104,183,0.25);
}

.news-page a.news-row:focus-visible,
.news-list-page a.news-row:focus-visible,
.news-pagination a:focus-visible,
.news-back a:focus-visible,
.news-content a:focus-visible,
.news-single__page-links a:focus-visible,
.news-single .lower-cta__tel:focus-visible,
.news-single .lower-cta .btn-outline:focus-visible {
	outline: 3px solid rgba(63,169,245,0.48);
	outline-offset: 3px;
}

@media (max-width: 768px) {
	.news-page__content,
	.news-article-body { padding: 64px 0; }

	.news-page .news-row,
	.news-list-page .news-row {
		flex-wrap: wrap;
		gap: 7px 12px;
		min-height: 84px;
		padding: 18px 40px 18px 4px;
	}

	.news-page .news-row__meta,
	.news-list-page .news-row__meta {
		flex: 0 0 100%;
		flex-wrap: wrap;
		gap: 7px 12px;
	}

	.news-page .news-date,
	.news-list-page .news-date,
	.news-page .news-row__date,
	.news-list-page .news-row__date { min-width: 0; }

	.news-page .news-title,
	.news-list-page .news-title,
	.news-page .news-row__title,
	.news-list-page .news-row__title {
		flex: 0 0 100%;
		font-size: 0.9rem;
		line-height: 1.7;
	}

	.news-page .news-row__arrow,
	.news-list-page .news-row__arrow {
		position: absolute;
		top: 50%;
		right: 4px;
		margin: 0;
		transform: translateY(-50%);
	}

	.news-page a.news-row:hover .news-row__arrow,
	.news-list-page a.news-row:hover .news-row__arrow { transform: translate(3px, -50%); }

	.news-empty { padding: 38px 20px; text-align: left; }
	.news-pagination { margin-top: 32px; }
	.news-pagination .nav-links,
	.news-pagination ul.page-numbers { gap: 6px; }

	.news-content { font-size: 0.94rem; line-height: 2; }
	.news-content h2 { margin-top: 2.9em; }
	.news-content h3 { margin-top: 2.2em; font-size: 1.08rem; }
	.news-content blockquote,
	.news-content .wp-block-quote { padding: 19px 18px; }
	.news-content .wp-block-table table { min-width: 560px; }
	.news-back { margin-top: 44px; padding-top: 28px; }
	.news-single__article-header { margin-bottom: 34px; padding-bottom: 26px; }
	.news-single__title { font-size: 1.55rem; }
	.news-single__thumbnail { margin-bottom: 34px; }
	.utility-page__empty { padding: 38px 22px; text-align: left; }
	.utility-page__empty .btn-outline { width: 100%; }
}

@media (max-width: 480px) {
	.news-pagination .nav-links,
	.news-pagination ul.page-numbers { gap: 5px; }
	.news-content h2 { font-size: 1.25rem; }
	.news-content .alignwide { width: calc(100vw - 48px); }
	.news-back a { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.news-page .news-row,
	.news-list-page .news-row,
	.news-page :is(.news-title, .news-row__title, .news-row__arrow),
	.news-list-page :is(.news-title, .news-row__title, .news-row__arrow),
	.news-pagination a.page-numbers,
	.news-back a { transition: none; }

	.news-page a.news-row:hover .news-row__arrow,
	.news-list-page a.news-row:hover .news-row__arrow { transform: none; }

	.news-page [data-reveal],
	.news-list-page [data-reveal],
	.news-single [data-reveal] {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
	.news-page .news-row__arrow,
	.news-list-page .news-row__arrow,
	.news-page a.news-row:hover .news-row__arrow,
	.news-list-page a.news-row:hover .news-row__arrow { transform: translateY(-50%); }
}
