*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	font-family: "Avenir", Verdana, "NotoSansCJKjp", Yu Gothic Medium, "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, sans-serif;
	line-height: 1.6;
	background-color: #f5f7fa;
	color: #222;
	font-size: 1rem;
	padding-top: 70px;
	margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
blockquote {
	margin: 0;
	padding: 0;
}

ul {
	list-style: none;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

a {
	color: #282424;
	text-decoration: none;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.main {
	max-width: 786px;
	margin: 30px auto;
}

.navbar {
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	padding: 15px 0;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	background-color: #fff;
}

.navbar-brand img {
	height: 40px;
	display: block;
}

.navbar-collapse {
	display: flex;
	align-items: center;
	flex-grow: 1;
}

.navbar-nav {
	display: flex;
	margin: 0 auto;
}

.navbar-nav li {
	padding: 0 15px;
}

.navbar-nav a {
	display: block;
	padding: 10px;
	transition: background-color 0.3s;
	white-space: nowrap;
}

.position-relative {
	position: relative;
}

.dropdown-menu {
	display: none;
	position: absolute;
	top: 65px;
	left: 15px;
	width: calc(100% - 30px);
	background-color: white;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	border-radius: 4px;
	padding: 8px 0;
	z-index: 1001;
}

.dropdown-menu ul {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
}

.dropdown-menu.show {
	display: block;
}

.dropdown-menu a {
	padding: 5px 16px;
}

.navbar-right {
	display: flex;
	align-items: center;
}

.search-box {
	position: relative;
	margin-right: 15px;
}

.search-box i {
	position: absolute;
	left: 10px;
	top: 50%;
	transform: translateY(-50%);
	color: #aaa;
}

.search-box input {
	background-color: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 8px 8px 8px 35px;
	transition: width 0.3s;
	width: 150px;
	font-size: 14px;
	border-radius: 20px;
}

.search-box input:focus {
	outline: none;
	width: 200px;
}

.login-button {
	background-color: #20d2b3;
	color: white;
	border-radius: 4px;
	transition: background-color 0.3s;
	white-space: nowrap;

	display: inline-flex;
	align-items: center;

	font-size: 14px;
	padding: 6px 15px;
	border: 1px solid #20d2b3;
	border-radius: 20px;
}

.login-button i {
	margin-right: 8px;
}

.navbar-toggler {
	display: none;
	background: none;
	border: none;
	font-size: 24px;
	cursor: pointer;
}

@media screen and (max-width: 768px) {
	.container {
		flex-wrap: wrap;
	}

	.navbar-toggler {
		display: block;
	}

	.navbar-collapse {
		display: none;
		flex-direction: column;
		width: 100%;
		margin-top: 20px;
		align-items: stretch;
	}

	.navbar-collapse.show {
		display: flex;
	}

	.navbar-nav {
		margin: 0;
		flex-direction: column;
		width: 100%;
	}

	.navbar-nav li {
		text-align: center;
		border-top: 1px solid #eee;
	}

	.dropdown-menu {
		position: static;
		display: none;
		box-shadow: none;
		width: 100%;
		background-color: transparent;
	}

	.dropdown-menu a {
		padding: 0;
		padding-top: 10px;
		padding-bottom: 10px;
	}

	.dropdown-menu.show {
		display: block;
	}

	.navbar-right {
		flex-direction: column;
		width: 100%;
		padding: 15px 0;
		border-top: 1px solid #eee;
	}

	.search-box {
		margin-right: 0;
		margin-bottom: 15px;
		width: 100%;
	}

	.search-box input {
		width: 100%;
	}

	.search-box input:focus {
		width: 100%;
	}

	.login-button {
		width: 100%;
		justify-content: center;
	}
}


.tabs {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #fff;
	border-radius: 4px;
	padding: 8px 10px;
	margin-bottom: 15px;
	box-shadow: 0px 0px 2px rgb(98 124 153 / 10%);
}

.tab {
	padding: 5px 15px;
	cursor: pointer;
	border-radius: 20px;
	font-size: 14px;
}


.tab.active {
	background-color: #314DB4;
	color: white;
}

.tab-item {
	display: flex;
	align-items: center;
}

.tab-item .tab {
	background-color: #f4f4f4;
	margin-left: 10px;
	border-radius: 4px;
}


.list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
}

.card {
	background-color: #fff;
	border-radius: 8px;
	padding: 15px;
	display: flex;
	transition: all 0.3s;
	box-shadow: 0px 0px 2px rgb(98 124 153 / 10%);
}

.card:hover {
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.card-image {
	width: 80px;
	height: 80px;
	margin-right: 15px;
	border-radius: 4px;
	overflow: hidden;
	flex-shrink: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.card-body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.card-title {
	font-size: 15px;
	font-weight: 500;
	margin-bottom: 8px;
	line-height: 1.4;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.card-meta {
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: #767676;
	font-size: 12px;
}

.card-meta span {
	display: flex;
	align-items: center;
	margin-right: 15px;
}

.card-meta i {
	margin-right: 3px;
}

.card-title a {
    padding-bottom: 8px;
    display: block;
}

.card-meta a {
    padding: 8px;
    margin: -8px;
    display: inline-block;
}

.footer {
	background-color: #fff;
	box-shadow: 0px 0px 2px rgb(98 124 153 / 10%);
	font-size: 14px;
	color: #282424;
	padding: 20px 0;
}

.footer a {
	margin-left: 15px;
}

@media (max-width: 768px) {
	.list {
		grid-template-columns: 1fr;
	}

	.footer .container {
		display: flex;
		justify-content: unset;
		text-align: center;
		flex-wrap: wrap;
	}

	.footer .container span {
		width: 100%;
	}

	.footer a {
		margin: 0 10px;
	}

	.footer span:last-child {
		margin-top: 15px;
	}
}

.grid-columns-single {
	grid-template-columns: 1fr;
}

.fw-bold {
	font-weight: 600;
}

.card-text {
	font-size: 14px;
	color: #666;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	line-height: 1.5;
	margin: 10px 0 15px 0;
}

.pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	list-style: none;
	margin-top: 30px;
	font-size: 14px;
	gap: 8px;
}

.page-item {
	margin: 0;
}

.page-link {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 32px;
	padding: 0 12px;
	border-radius: 4px;
	background-color: #f7f7f8;
	color: #999;
	text-decoration: none;
	transition: all 0.3s ease;
}

.page-link:hover {
	color: #4e6ef2;
	border-color: #4e6ef2;
}

.page-item.active .page-link {
	background-color: #4e6ef2;
	border-color: #4e6ef2;
	color: #fff;
}

.category-name {
	font-size: inherit;
	font-weight: normal;
}

.article {
	background-color: #fff;
	box-shadow: 0px 0px 2px rgb(98 124 153 / 10%);
	padding: 20px;
}

.article-title {
	margin-bottom: 20px;
	font-size: clamp(1.2rem, 2vw, 1.4rem);
}

.article-meta {
	color: #767676;
	margin-bottom: 15px;
	font-size: 14px;
}

.article-meta span:last-child {
	margin-left: 20px;
}

.article-text {
	border-bottom: 1px solid #F5F6F7;
	padding-bottom: 20px;
	line-height: 1.8;
	overflow-wrap: break-word;
}

.article-text p,
.article-text ul,
.article-text ol,
.article-text h2,
.article-text table,
.article-text blockquote {
	margin-bottom: 20px;
}

.article-comment {
	padding-top: 20px;
}

.article-comment .user {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
}

.article-comment .user img {
	display: inline-block;
	margin-right: 15px;
}

..article-text p:not(:last-child) {
	margin-bottom: 20px;
}

.note {
	background-color: #fafafa;
	padding: 15px;
	font-size: 0.875rem;
	color: #324646;
	line-height: 1.8;
	margin-top: 20px;
	border-radius: 4px;
	box-shadow: 0px 0px 2px rgb(98 124 153 / 10%);
}


.related {
	background-color: #fff;
	box-shadow: 0px 0px 2px rgb(98 124 153 / 10%);
	display: grid;
	grid-template-rows: auto;
	gap: 10px;
	padding: 15px;
	margin-top: 20px;
}

.related li::before {
  content: "";
  display: inline-block;
  position: static;
  margin-right: 4px;
  margin-top: -3px;
  width: 12px;
  height: 12px;
  vertical-align: middle;
  background:
url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAM1BMVEUAAAD/YGD/Xl7/X1//a2v/X1//enr/X1//YGD/X1//b2//X1//X1//YGD/YWH/Xl7/Xl6tC6eVAAAAEHRSTlMAgOzLE2YCmTV5CqWTUkk2rbJclgAAAIRJREFUSMftlMEKgCAQRMtVU0vb///aIII5tnNYKPCdffAQnWXyFVrdUyTOZ1HVkLJZ6HojxSqs+rBFSkCXTUAXIaCLEND1LqCLENBFCOiyCOgiBHRRgoZuFMDJCgctOCeF4XqtUlyeBmpcnjdqPL+oFI+ZqeyQDXYqG8bYPvc1LpN/cQEDvh+z6ML+gAAAAABJRU5ErkJggg==) no-repeat 50%;
    background-size: auto;
  background-size: auto;
  background-size: auto;
  background-size: cover;
}