@charset "utf-8";

@charset "utf-8";

/* 全要素の margin, padding をリセット */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/* 画像やメディアのデフォルトの挙動リセット */
img,
video {
	max-width: 100%;
	height: auto;
}

/* フォーム要素のリセット */
input,
button,
textarea,
select {
	font: inherit;
}

/* Features page styles */
.section-header {
	text-align: center;
	padding-top: 53px;
	padding-bottom: 24px;
}

.section-header h1 {
	font-size: 19px;
	font-weight: 500;
	letter-spacing: 1.48px;
	color: var(--primary-font-color);
}

@media screen and (max-width: 750px) {
	.section-header h1 {
		font-size: 10px;
	}
}

@media screen and (min-width: 751px) {
	.section-header {
		padding-top: 58px;
		padding-bottom: 31px;
	}
}

/* Blog filter styles */
.blog-filter {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0 60px;
}

@media screen and (min-width: 751px) {
	.blog-filter {
		margin: 0 105px;
	}
}

.blog-tags {
	position: relative;
	display: inline-block;
	text-align: left;
}

.blog-tags:hover .blog-tags-contents {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.blog-tags-title {
	font-size: 12px;
	font-weight: 300;
	letter-spacing: 1.68px;
	color: var(--primary-font-color);
	border-bottom: 1px solid;
	padding-bottom: 2px;
	font-family: 'Helvetica Neue';
}

@media screen and (min-width: 751px) {
	.blog-tags-title {
		font-size: 15px;
		letter-spacing: 2.25px;
	}
}

.blog-tags-contents {
	position: absolute;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	z-index: 10;
	opacity: 0;
	visibility: visible;
	transform: translateY(-5px);
	margin-top: 10px;
}

.blog-tags-contents a {
	text-decoration: none;
	white-space: nowrap;
	font-size: 8px;
	font-weight: 300;
	letter-spacing: 1px;
	margin-right: 10px;
	color: var(--primary-font-color);
	cursor: pointer;
	font-family: 'Helvetica Neue';
}

.blog-tags-contents a:hover {
	opacity: 0.5;
	border-bottom: 1px solid;
}

@media screen and (min-width: 751px) {
	.blog-tags-contents a {
		font-size: 12px;
		letter-spacing: 1.5px;
	}
}

.blog-title a {
	font-size: 12px;
	font-weight: 300;
	letter-spacing: 1.68px;
	color: var(--primary-font-color);
	text-decoration: none;
	padding-bottom: 2px;
	border-bottom: 1px solid;
}

@media screen and (min-width: 751px) {
	.blog-title a {
		font-size: 15px;
		letter-spacing: 2.25px;
	}
}

/* Grid layout for articles */
.grid {
	list-style: none;
	margin: 44px 0 65px 0;
	padding: 0;
	position: relative;
	z-index: 2;
}

@media screen and (min-width: 751px) {
	.grid {
		margin: 105px;
	}
}

.grid.grid--uniform {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: space-between;
}

@media screen and (min-width: 751px) {
	.grid.grid--uniform {
		gap: 30px;
	}
}

/* Grid items (articles) */
.grid__item {
	border-bottom: 1px solid #707070;
	height: auto;
	align-self: start;
	break-inside: avoid;
	background-color: #ffffff;
	padding-bottom: 24px;
	margin-bottom: 19px;
	flex: 0 1 calc(33.333% - 30px);
	box-sizing: border-box;
}

@media screen and (max-width: 750px) {
	.grid__item {
		border-bottom: 1px solid #000;
		padding: 0;
		flex: 0 1 calc(50% - 6px);
	}
}

@media screen and (min-width: 751px) {
	.grid__item {
		padding-bottom: 61px;
		margin-bottom: 70px;
	}
}

/* Article link */
.article__link {
	text-decoration: none;
	color: inherit;
	display: block;
}

/* Article image wrapper and container */
.article__grid-image-wrapper {
	width: 100%;
}

.article__grid-image-container {
	width: 100%;
	overflow: hidden;
}

.article__grid-image {
	width: 100%;
	height: auto;
	display: block;
	margin-bottom: 19.5px;
}

@media screen and (max-width: 750px) {
	.article__grid-image {
		margin-bottom: 14.5px;
	}
}

/* Article title */
.article__title {
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 1.12px;
	line-height: 24px;
	margin-bottom: 28px;
	color: var(--primary-font-color);
	padding: 0 10px;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

@media screen and (max-width: 750px) {
	.article__title {
		font-size: 9px;
		margin-bottom: 8px;
		font-weight: 600;
		padding: 0 7px;
	}
}

/* Article excerpt */
.article__grid-excerpt {
	font-family: "YuGothic", sans-serif !important;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.43px;
	line-height: 24px;
	margin-bottom: 29.5px;
	color: var(--primary-font-color);
	padding: 0 10px;
}

@media screen and (max-width: 750px) {
	.article__grid-excerpt {
		font-size: 8px;
		margin-bottom: 12.5px;
	}
}

/* Article meta buttons */
.article__meta-buttons {
	list-style: none;
	margin: 0 0 20px 0;
	padding: 0;
}

.article__meta-buttons a.btn {
	font-size: 13px;
}

.article__meta-buttons .btn
{
	font-size: 13px;
	color: var(--primary-font-color);
	text-decoration: none;
	cursor: pointer;
	font-style: normal;
	font-weight: 300;
	line-height: 15px;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.article__meta-buttons .article__date
{
	font-style: normal;
	font-weight: 300;
	line-height: 15px;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.article__meta-buttons .btn:hover {
	text-decoration: underline;
}

@media screen and (max-width: 750px) {
	.article__meta-buttons .btn,
	.article__meta-buttons a.btn {
		font-size: 9px;
	}

	.article__meta-buttons .article__date {
		font-size: 9px;
	}
}

/* Page width container */
.page-width {
	width: 100%;
	max-width: 100%;
}

/* List styles */
.list--inline {
	font-size: 13px;
	font-weight: 300;
	letter-spacing: 0.52px;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 10px;
}

@media screen and (max-width: 750px) {
	.list--inline {
		font-size: 8px;
	}
}

/* Don't apply space-between to pagination */
.list--inline:not(.pagination) {
	justify-content: space-between;
}

.pagination {
	/* make the ul act as an inline centered list */
	color: #000000;
	display: flex !important;
	justify-content: center !important;
	align-items: center;
	margin: 0;
	list-style: none;
	/* remove bullets */
	padding: 0 0 40px 0 !important;
	/* reset padding and override list--inline */
	gap: 30px;
	/* wider spacing between page numbers */
	/* remove default list indentation */
	padding-inline-start: 0;
}

@media screen and (min-width: 751px) {
	.pagination {
		padding: 0 0 140px 0 !important;
		gap: 24px;
	}
}

.pagination li {
	display: inline-block;
	font-size: 14px;
	/* override list--inline font-size */
	font-weight: 300;
	/* ensure consistent weight */
	letter-spacing: normal;
	/* reset letter-spacing */
}

@media screen and (min-width: 751px) {
	.pagination li {
		font-size: 16px;
	}
}

.pagination li a {
	display: inline-block;
	color: var(--primary-font-color);
	font-size: inherit;
	/* inherit from li */
	font-weight: 300;
	text-decoration: underline;
	/* all pages have underline */
	text-underline-offset: 4px;
	text-decoration-thickness: 1px;
	padding: 2px 0;
}

.pagination li.current a {
	background: transparent !important;
	text-decoration: none;
	/* current page has no underline */
	font-weight: 500;
	color: var(--primary-font-color);
}

/* Foundation CSS overrides for pagination */
ul.pagination li.current a {
	background: transparent !important;
	color: var(--primary-font-color) !important;
}

ul.pagination li a {
	background: transparent !important;
	font-size: 15px;
	color: #000000;
}

.pagination-dots {
	display: flex;
	gap: 12px;
}

.pagination-dots .dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: #ccc;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.pagination-dots .dot.active {
	background-color: var(--primary-font-color);
}

.pagination-dots .dot:hover {
	background-color: var(--primary-font-color);
}

.pagination-arrows {
	display: flex;
	padding: 11px;
}

.pagination-arrows .arrow-left,
.pagination-arrows .arrow-right {
	font-size: 18px;
	color: var(--primary-font-color);
	cursor: pointer;
	user-select: none;
}

.pagination-arrows .arrow-left:hover,
.pagination-arrows .arrow-right:hover {
	opacity: 0.7;
}

/* Bottom links styles */
.bottom-links {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
	padding: 40px var(--bg-line-position);
	border-top: 1px solid var(--bg-line-color);
}

@media screen and (min-width: 751px) {
	.bottom-links {
		flex-direction: row;
		justify-content: center;
		gap: 30px;
		padding: 60px 60px;
	}
}

.bottom-link-item a {
	font-size: 12px;
	letter-spacing: 0.7px;
	text-decoration: none;
	color: var(--primary-font-color);
}

.bottom-link-item a:hover {
	text-decoration: underline;
}

@media screen and (min-width: 751px) {
	.bottom-link-item a {
		font-size: 13px;
		letter-spacing: 0.8px;
	}
}