@charset "utf-8";

/* ---------------------------------------------
nw-media
--------------------------------------------- */
.nw-media {
	position: fixed;
	z-index: 70;
	right: 0;
	bottom: 10rem;
	display: block;
	width: clamp(10rem, 13vw - 2.6rem, 16.1rem);
	padding: 3.7rem clamp(0.6rem, 0.7vw, 1rem) 3rem;
	background: var(--red-alt) url("../img/news/contact-bg-01.png") no-repeat center / cover;
	text-align: center;
	color: #fff;
	transition: opacity .3s;
}
.nw-media:hover {
	opacity: .85;
}
.nw-media__title {
	display: block;
	margin-bottom: 1.8rem;
	font-size: clamp(1.3rem, 1.25vw, 1.8rem);
	font-weight: 700;
	line-height: 1.5;
}
.nw-media__text {
	display: block;
	font-size: clamp(1.1rem, 0.97vw, 1.4rem);
	line-height: 1.5;
}


/* ---------------------------------------------
card（TOPICS の大・小・横長カード，関連記事のカード。1枚が1記事）
--------------------------------------------- */
.nw-card {
	position: relative;
}
.nw-card--lg {
	display: flex;
	flex-direction: column;
}
.nw-card--sm {
	display: grid;
	column-gap: 3rem;
	grid-template-columns: minmax(0, 40%) minmax(0, 1fr);
	grid-template-rows: auto auto auto auto 1fr;
	grid-template-areas:
		"thumb title"
		"thumb date"
		"desc desc"
		"tags tags"
		"more more";
}
.nw-card--wide {
	display: grid;
	align-items: start;
	column-gap: 3.2rem;
	grid-template-columns: minmax(0, 507fr) minmax(0, 442fr);
	grid-template-rows: auto auto auto auto 1fr;
	grid-template-areas:
		"thumb title"
		"thumb date"
		"thumb desc"
		"thumb tags"
		"thumb more";
}
.nw-card__thumb {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	transition: opacity .3s;
}
.nw-card--sm .nw-card__thumb,
.nw-card--wide .nw-card__thumb {
	grid-area: thumb;
}
.nw-card__title {
	font-size: clamp(2rem, 1.94vw, 2.8rem);
}
.nw-card--lg .nw-card__title {
	margin-top: 3rem;
}
.nw-card--sm .nw-card__title,
.nw-card--wide .nw-card__title {
	grid-area: title;
}
.nw-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}
.nw-card__date {
	display: block;
	margin-top: 0.8rem;
	font-size: 1.2rem;
}
.nw-card--sm .nw-card__date {
	align-self: end;
	grid-area: date;
	margin-top: 0;
}
.nw-card--wide .nw-card__date {
	grid-area: date;
}
.nw-card > p {
	margin-bottom: 0;
}
.nw-card--sm > p,
.nw-card--wide > p {
	grid-area: desc;
}
.nw-card .tags {
	column-gap: 2.8rem;
	margin-top: 1.6rem;
}
.nw-card--sm .tags,
.nw-card--wide .tags {
	grid-area: tags;
}
.nw-card .more {
	padding-top: 2rem;
}
.nw-card--lg .more {
	margin-top: auto;
}
.nw-card--sm .more {
	align-self: end;
	grid-area: more;
}
.nw-card--wide .more {
	justify-content: flex-start;
	grid-area: more;
}
.nw-card:hover .nw-card__thumb {
	opacity: .8;
}
.nw-card:hover .more::after,
.nw-card:has(a:focus-visible) .more::after {
	animation: arrow-dot-slide 1s cubic-bezier(.22, 1, .36, 1);
}


/* ---------------------------------------------
head（TOPICS・NEWS の見出しまわり。.sec-en ＋ h2 ＋ 説明）
--------------------------------------------- */
.nw-topics,
.nw-news {
	position: relative;
	z-index: 0;
	padding-top: 5rem;
}
.nw-news::before {
	top: -0.4rem;
}
.nw-head > p {
	margin-bottom: 0;
}
.nw-topics .nw-head h2 {
	margin-top: 0.7rem;
}
.nw-topics .nw-head > p {
	margin-top: 4rem;
}
.nw-head--side {
	display: grid;
	align-items: end;
	column-gap: 0;
	grid-template-columns: minmax(0, 540fr) minmax(0, 580fr);
}


/* ---------------------------------------------
TOPICS
--------------------------------------------- */
.nw-topics__list {
	display: grid;
	column-gap: 3rem;
	grid-template-columns: minmax(0, 449fr) minmax(0, 640fr);
	margin-top: 10rem;
}
.nw-topics__list--2 {
	column-gap: 3.2rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.nw-topics__list--1 {
	grid-template-columns: minmax(0, 1fr);
}
.nw-topics__side {
	display: flex;
	flex-direction: column;
	padding-left: 3.5rem;
	border-left: 0.1rem solid var(--gray);
}
.nw-topics__side .nw-card {
	flex: 1;
}
.nw-topics__side .nw-card:not(:last-child) {
	padding-bottom: 5rem;
}
.nw-topics__side .nw-card + .nw-card {
	padding-top: 4rem;
	border-top: 0.1rem solid var(--gray);
}


/* ---------------------------------------------
NEWS
--------------------------------------------- */
.nw-news {
	margin-top: 10rem;
}
.nw-news__body {
	display: grid;
	column-gap: 3rem;
	grid-template-columns: minmax(0, 256fr) minmax(0, 833fr);
	margin-top: 14.4rem;
}
.nw-news__main {
	min-width: 0;
}
.nw-news__main > p {
	padding-bottom: 3rem;
	border-bottom: 0.2rem solid var(--gray-mid);
}
.nw-filter {
	align-self: start;
}
.nw-filter__list {
	list-style: none;
}
.nw-filter__item a {
	display: flex;
	align-items: center;
	padding: 1.2rem 2rem 1.2rem 5.8rem;
	background: var(--gray-light);
	transition: opacity .3s;
}
.nw-filter__item a:hover {
	opacity: .7;
}
.nw-filter__item.is-current a {
	gap: 0.8rem;
	padding-left: 3.2rem;
	background: var(--gray);
}
.nw-filter__item.is-current a::before {
	content: "";
	flex: none;
	width: 1.8rem;
	height: 1.8rem;
	background: url("../img/icon-01.png") no-repeat center / contain;
}
.nw-list {
	list-style: none;
}
.nw-row {
	padding: 3rem 0;
	border-bottom: 0.1rem solid var(--text);
}
.nw-row:first-child {
	padding-top: 0;
}
.nw-row__meta {
	display: flex;
	align-items: center;
	column-gap: 2.8rem;
}
.nw-row__meta .tags {
	column-gap: 2.8rem;
}
.nw-row__title {
	display: block;
	margin-top: 0.8rem;
	font-size: 1.8rem;
	font-weight: 700;
	transition: opacity .3s;
}
.nw-row__title:hover {
	opacity: .6;
}
.nw .tags a.tag:hover,
.nd .tags a.tag:hover {
	opacity: .6;
}
.nw-pager__list {
	display: flex;
	justify-content: center;
	align-items: center;
	column-gap: 0.8rem;
	margin-top: 4rem;
	list-style: none;
}
.nw-pager__item a,
.nw-pager__item span {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 3.6rem;
	height: 3.6rem;
	border-radius: 50%;
	background: var(--gray-light);
	transition: opacity .3s;
}
.nw-pager__item a:hover {
	opacity: .7;
}
.nw-pager__item.is-current span {
	background: var(--red);
	color: #fff;
}
.nw-pager__item--dots span {
	background: none;
}
.nw-pager__item--prev,
.nw-pager__item--next {
	margin: 0 1rem;
}
.nw-pager__item--prev a,
.nw-pager__item--next a {
	background: none;
}
.nw-pager__item--prev a::before,
.nw-pager__item--next a::before {
	content: "";
	width: 1rem;
	height: 1rem;
	border-top: 0.3rem solid var(--ink);
	border-left: 0.3rem solid var(--ink);
	transform: translateX(0.2rem) rotate(-45deg);
}
.nw-pager__item--next a::before {
	transform: translateX(-0.2rem) rotate(135deg);
}


/* ---------------------------------------------
detail ヘッダ
--------------------------------------------- */
.nd-head {
	padding-bottom: 4rem;
	border-bottom: 0.1rem solid var(--gray-border);
}
.nd-head__meta {
	display: flex;
	align-items: center;
	column-gap: 2rem;
}
.nd-head__label {
	padding: 0.4rem 1.2rem;
	background: var(--gray);
}
.nd-head__title {
	margin-top: 2rem;
	font-size: clamp(2.4rem, 2.5vw, 3.6rem);
	font-weight: 700;
	line-height: 1.5;
}
.nd-head .tags {
	margin-top: 2.4rem;
}
.nd-head .tag {
	font-size: 1.6rem;
	font-weight: 400;
}


/* ---------------------------------------------
detail 本文
--------------------------------------------- */
.nd-article {
	margin-bottom: 8rem;
}
.nd-body {
	display: flow-root;
	max-width: 81rem;
	margin: 5rem auto 0;
}
.nd-body h2 {
	margin: 6rem 0 3rem 0;
	padding-bottom: 2rem;
	border-bottom: 0.1rem solid var(--gray);
	font-size: 2.8rem;
	line-height: 1.5;
	clear: both;
}
.nd-body h3 {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 3rem 0;
	padding: 1.7rem 2rem 1.7rem 0;
	background: var(--gray-light);
	font-size: 2.6rem;
	clear: both;
}
.nd-body h3::before {
	content: "";
	flex: none;
	width: 1.6rem;
	height: 0.1rem;
	background: var(--red);
}
.nd-body ul,
.nd-body ol {
	margin: 1.2em 0;
	padding-left: 2.4rem;
}
.nd-body li + li {
	margin-top: 0.6rem;
}
.nd-body p a,
.nd-body li a,
.nd-body td a {
	text-decoration: underline;
	text-underline-offset: 0.3rem;
}
.nd-body p a:hover,
.nd-body li a:hover,
.nd-body td a:hover {
	text-decoration: none;
}
.nd-body blockquote {
	display: flow-root;
	margin: 3.2rem 0;
	padding: 2rem 2.4rem;
	border-left: 0.4rem solid var(--gray);
	background: var(--gray-light);
}
.nd-body blockquote cite {
	display: block;
	margin-top: 1.2rem;
	font-size: 1.4rem;
	font-style: normal;
	text-align: right;
}
.nd-body hr {
	height: 0;
	margin: 4.8rem 0;
	border: 0;
	border-top: 0.1rem solid var(--gray);
	clear: both;
}
.nd-body .wp-block-table {
	margin: 3.2rem 0;
	overflow-x: auto;
	clear: both;
}
.nd-body .wp-block-table th,
.nd-body .wp-block-table td {
	padding: 1rem;
	border: 0.1rem solid #adb3b4;
}
.nd-body .wp-block-table thead,
.nd-body .wp-block-table tfoot {
	border: 0;
}
.nd-body .wp-block-embed {
	margin: 3.2rem 0;
	clear: both;
}
.nd-body .wp-block-embed iframe {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	border: 0;
}
.nd-body figure.wp-block-image,
.nd-body .wp-block-image > figure {
	display: block;
	width: fit-content;
	max-width: 100%;
	margin: 3rem auto;
}
.nd-body figure.alignleft,
.nd-body figure.alignright {
	max-width: 50%;
}
.nd-body figure.alignleft {
	margin: 0 3.2rem 1.6rem 0;
	float: left;
}
.nd-body figure.alignright {
	margin: 0 0 1.6rem 3.2rem;
	float: right;
}
.nd-body figcaption,
.nd-body figure.wp-block-image > figcaption,
.nd-body .wp-block-image > figure > figcaption {
	display: block;
	margin: 0.8rem 0 0;
	font-size: 1.4rem;
	text-align: center;
}
.nd-body > :first-child {
	margin-top: 0;
}
.nd-body .wp-block-file {
	margin: 6rem 0 0;
	clear: both;
}
.nd-body .wp-block-file > a:not(.wp-block-file__button) {
	display: none;
}
.nd-body .wp-block-file .wp-block-file__button {
	display: inline-flex;
	align-items: center;
	gap: 3.1rem;
	margin: 0;
	padding: 1.1rem 4.1rem 1.1rem 3.7rem;
	border: 0.1rem solid var(--gray);
	border-radius: 0;
	background: #fff;
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 1.5;
	color: var(--red);
	transition: opacity .3s;
}
.nd-body .wp-block-file .wp-block-file__button::after {
	content: "";
	flex: none;
	width: 1.7rem;
	height: 1.9rem;
	background: url("../img/icon-pdf.png") no-repeat center / contain;
}
.nd-body .wp-block-file .wp-block-file__button:hover {
	opacity: .7;
}


/* ---------------------------------------------
detail 記事の末尾
--------------------------------------------- */
.nd-foot {
	max-width: 81rem;
	margin: 1.5rem auto 0;
}
.nd-body:not(:has(> .wp-block-file:last-child)) + .nd-foot {
	margin-top: 5rem;
}
.nd-share {
	display: flex;
	align-items: center;
	column-gap: 1.2rem;
}
.nd-share__label {
	font-size: 1.2rem;
	font-weight: 700;
}
.nd-share__a {
	width: 2.6rem;
	height: 2.6rem;
	transition: opacity .3s;
}
.nd-share__a:hover {
	opacity: .6;
}
.nd-share__a--x {
	width: 2.2rem;
	height: 2.2rem;
	background: url("../img/icon-sns-01.png") no-repeat center / contain;
}
.nd-share__a--fb {
	background: url("../img/icon-sns-02.png") no-repeat center / contain;
}
.nd-prev {
	margin-top: 2rem;
}
.nd-prev a {
	display: inline-flex;
	align-items: center;
	column-gap: 1rem;
	transition: opacity .3s;
}
.nd-prev a::before {
	content: "";
	flex: none;
	width: 8.8rem;
	height: 2.1rem;
	background: url("../img/icon-08-dot.svg") no-repeat center / contain, url("../img/icon-08-line.svg") no-repeat center / contain;
	transform: scaleX(-1);
}
.nd-prev a:hover {
	opacity: .6;
}
.nd-prev a:hover::before,
.nd-prev a:focus-visible::before {
	animation: arrow-dot-slide 1s cubic-bezier(.22, 1, .36, 1);
}
.nd-back {
	margin-top: 8rem;
}


/* ---------------------------------------------
related 関連記事
--------------------------------------------- */
.nd-related {
	margin-top: 8rem;
	padding-bottom: 8rem;
}
.nd-related .label-en {
	font-size: 1.6rem;
}
.nd-related h2 {
	margin-top: 1rem;
}
.nd-related__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 5rem;
}
.nd-related__list .nw-card:first-child {
	padding-right: 5rem;
}
.nd-related__list .nw-card:last-child {
	padding-left: 5rem;
	border-left: 0.2rem solid var(--gray-light);
}
.nd-related__list .nw-card:only-child {
	padding: 0;
	border-left: 0;
}
.nd-related .nw-card--sm {
	column-gap: 2rem;
	grid-template-columns: minmax(0, 37%) minmax(0, 1fr);
}
.nd-related .nw-card__title {
	font-size: clamp(1.8rem, 1.67vw, 2.4rem);
	font-weight: 400;
}


@media screen and (max-width: 1023px) {
	.nw-media {
		display: none;
	}
	.nw-topics__list {
		display: block;
		margin-top: 6rem;
	}
	.nw-topics__list--2,
	.nw-topics__list--1 {
		display: grid;
	}
	.nw-topics__side {
		margin-top: 4rem;
		padding-top: 4rem;
		padding-left: 0;
		border-top: 0.2rem solid var(--gray-light);
		border-left: 0;
	}
	.nw-topics__side .nw-card:not(:last-child) {
		padding-bottom: 4rem;
	}
	.nw-topics__side .nw-card + .nw-card {
		padding-top: 4rem;
	}
	.nw-news__body {
		column-gap: 2.4rem;
		grid-template-columns: 18rem minmax(0, 1fr);
		margin-top: 8rem;
	}
	.nw-filter__item a {
		padding-left: 2.4rem;
	}
	.nw-filter__item.is-current a {
		padding-left: 1.2rem;
	}
	.nw-row__meta {
		flex-wrap: wrap;
		row-gap: 0.8rem;
	}
}

@media screen and (max-width: 767px) {
	.nw-media--bottom {
		bottom: 0;
		left: 0;
		display: block;
		width: auto;
		padding: 1rem 2rem;
		background: var(--red-alt) url("../img/news/contact-bg-02.png") no-repeat right bottom / cover;
		visibility: hidden;
		transform: translateY(100%);
		transition: transform .3s, visibility 0s linear .3s;
	}
	.nw-media--bottom.is-visible {
		visibility: visible;
		transform: none;
		transition: transform .3s, visibility 0s;
	}
	.nw-media--bottom .nw-media__title {
		margin-bottom: 0;
		font-size: 1.8rem;
	}
	.nw-media--bottom .nw-media__text {
		font-size: 1.3rem;
	}
	.page:has(.nw-media--bottom) .pagetop {
		bottom: 10.1rem;
	}
	.nw-card--sm {
		column-gap: 1.3rem;
		grid-template-columns: minmax(0, 37%) minmax(0, 1fr);
		grid-template-rows: auto auto 1fr auto auto;
		grid-template-areas:
			"thumb title"
			"thumb desc"
			"thumb date"
			". tags"
			"more more";
	}
	.nw-card--wide {
		display: flex;
		flex-direction: column;
	}
	.nw-card--lg .nw-card__title,
	.nw-card--wide .nw-card__title {
		margin-top: 2rem;
		font-size: 2.4rem;
	}
	.nw-card--wide .more {
		justify-content: flex-end;
	}
	.nw-card--sm .nw-card__title {
		font-size: 1.6rem;
	}
	.nw-card--sm .nw-card__date {
		align-self: start;
		margin-top: 0.8rem;
	}
	.nd-related .nw-card--sm {
		column-gap: 1.3rem;
	}
	.nw-card--sm > p {
		margin-top: 0.8rem;
	}
	.nw-card .tags {
		column-gap: 0.8rem;
	}
	.nw-card--sm .tags {
		margin-top: 0.8rem;
	}
	.nw-topics .nw-card > p {
		display: none;
	}
	.nw-news {
		padding-top: 2rem;
	}
	.nw-news::before {
		top: 2.5rem;
	}
	.nw-topics {
		margin-top: 0;
		padding-top: 0;
	}
	.nw-topics .nw-head > p {
		margin-top: 2rem;
	}
	.nw-head .sec-en {
		font-size: 3.2rem;
	}
	.nw-head > p {
		margin-top: 1.5rem;
	}
	.nw-head--side {
		display: block;
	}
	.nw-topics__list {
		margin-top: 3rem;
	}
	.nw-topics__list--2 {
		display: block;
	}
	.nw-topics__list--2 .nw-card + .nw-card {
		margin-top: 4rem;
	}
	.nw-topics__side {
		margin-top: 2.8rem;
		padding-top: 2.8rem;
	}
	.nw-topics__side .nw-card:not(:last-child) {
		padding-bottom: 2.6rem;
	}
	.nw-topics__side .nw-card + .nw-card {
		padding-top: 2.6rem;
	}
	.nw-news {
		margin-top: 3rem;
	}
	.nw-news__body {
		display: block;
		margin-top: 4rem;
	}
	.nw-filter__list {
		display: flex;
		flex-wrap: wrap;
		gap: 0.8rem;
	}
	.nw-filter__item a {
		padding: 0.8rem;
		font-size: 1.4rem;
	}
	.nw-filter__item.is-current a {
		padding-left: 0.8rem;
	}
	.nw-list {
		margin-top: 3rem;
	}
	.nw-news__main > p {
		padding-top: 3rem;
	}
	.nw-row {
		padding: 1.2rem 0;
	}
	.nw-row:first-child {
		padding-top: 1.2rem;
	}
	.nw-row__meta {
		display: block;
	}
	.nw-row__meta .tags {
		column-gap: 0.8rem;
		margin-top: 0.8rem;
	}
	.nw-row__title {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 1.6rem;
		font-size: 1.6rem;
	}
	.nw-row__title::after {
		content: "";
		flex: none;
		width: 0.8rem;
		height: 0.8rem;
		border-top: 0.2rem solid var(--ink);
		border-right: 0.2rem solid var(--ink);
		transform: translateX(-0.4rem) rotate(45deg);
	}
	.nw-pager__list {
		margin-top: 3.8rem;
	}
	.nw-pager__item a,
	.nw-pager__item span {
		width: 3rem;
		height: 3rem;
	}
	.nd-head {
		padding-bottom: 2rem;
	}
	.nd-head__meta {
		column-gap: 1.6rem;
	}
	.nd-head__label {
		padding: 0.4rem 1.1rem;
		font-size: 1.4rem;
	}
	.nd-head__title {
		margin-top: 1.6rem;
		font-size: 2.6rem;
	}
	.nd-head .tags {
		margin-top: 1.6rem;
	}
	.nd-article {
		margin-bottom: 4rem;
	}
	.nd-body {
		margin-top: 2rem;
	}
	.nd-body h2 {
		margin: 4rem 0 2rem 0;
		padding-bottom: 1.6rem;
		font-size: 2.2rem;
	}
	.nd-body h3 {
		margin: 3rem 0 2rem 0;
		padding: 1.6rem 1.6rem 1.6rem 0;
		font-size: 2rem;
	}
	.nd-body figure.alignleft,
	.nd-body figure.alignright {
		max-width: 100%;
		margin: 3rem 0;
		float: none;
	}
	.nd-body figure.alignright {
		margin-left: auto;
	}
	.nd-body .wp-block-file {
		margin-top: 3rem;
	}
	.nd-body .wp-block-file .wp-block-file__button {
		gap: 2rem;
		padding: 1rem 3.2rem 1rem 2.4rem;
		font-size: 1.4rem;
	}
	.nd-body:not(:has(> .wp-block-file:last-child)) + .nd-foot {
		margin-top: 3rem;
	}
	.nd-back {
		margin-top: 4rem;
	}
	.nd-related {
		margin-top: 6rem;
	}
	.nd-related__list {
		display: block;
		margin-top: 3rem;
	}
	.nd-related__list .nw-card:first-child {
		padding-right: 0;
		padding-bottom: 3rem;
	}
	.nd-related__list .nw-card:last-child {
		padding-top: 3rem;
		padding-left: 0;
		border-top: 0.2rem solid var(--gray-light);
		border-left: 0;
	}
	.nd-related__list .nw-card:only-child {
		padding: 0;
		border-top: 0;
	}
	.nd-related .nw-card__title {
		font-size: 1.6rem;
		font-weight: 700;
	}
}
