@charset "utf-8";

.topics__relation {
	margin-top: 80px;
}
.topics__label {
	font-size: 24px;
	line-height: 1.4;
	letter-spacing: 0.05em;
	font-weight: 700;
	color: #F99800;
	text-align: center;
	margin-bottom: 30px;
}
.topics__list {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	width: 100%;
}
.topics__item {
	width: calc((100% - 60px) / 4);
}
.topics__link {
	height: 100%;
	display: block;
	background-color: #F5F7FB;
}
.topics__link:hover {
	text-decoration: none;
}
.topics__thumbnail {
	width: 100%;
	height: 0;
	position: relative;
	overflow: hidden;
	padding-top: calc(173 / 260 * 100%);
	background-color: #ffffff;
}
.topics__thumbnail img {
	width: 100%;
	height: 100%;
	left: 0;
	object-fit: cover;
	position: absolute;
	top: 0;
	width: 100%;
	vertical-align: bottom;
}
.topics__category {
	position: absolute;
	font-size: 15px;
	font-weight: 700;
	color: #ffffff;
	background: linear-gradient(170.59deg, #f7ad09e6 -1.66%, #ec6400e6 89.95%);
	z-index: 2;
	padding: 6px 10px;
	display: block;
	top: 0;
	right: 0;
	letter-spacing: 0.05em;
	border-radius: 10px;
}
.topics__text-area {
	padding: 16px 8px;
}
.topics__title {
	font-size: 18px;
	font-weight: 700;
	color: #333333;
	/* display: -webkit-box;
	-webkit-box-orient: vertical;
	overflow: hidden;
	-webkit-line-clamp: 2; */
	line-height: 1.4;
	word-break: break-all;
	margin-top: 4px;
}
.topics__alert {
	font-size: 14px;
	font-weight: bold;
	color: #ffffff;
	background-color: #ff0000;
	line-height: 1;
	display: inline-block;
	padding: 2px 10px;
	border-radius: 10px;
}
.topics__badge {
	font-size: 13px;
	margin-top: 12px;
	line-height: 1.4;
	color: #333333;
}
.topics__text-tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}
.topics__text-tag {
	color: #ffffff;
	background-color: #569328;
	padding: 4px 10px;
	display: inline-block;
	width: fit-content;
	border-radius: 10px;
}
.topics__text {
	margin-top: 8px;
	color: #333333;
	font-size: 16px;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	overflow: hidden;
	-webkit-line-clamp: 3;
	line-height: 1.4;
	word-break: break-all;
}
.topics__nav-wrapper {
	margin-bottom: 10px;
	width: 100%;
}
.topics__nav-title {
	display: none;
}
.topics__nav-scroll {
	overflow-x: auto;
	overflow-y: hidden;
	width: 100%;
}
.topics__nav {
	white-space: nowrap;
	height: 100%;
	display: flex;
	align-items: center;
}
.topics__nav li:last-child {
	padding-right: 15px;
}
#page #container .nav_01.topics__nav {
	margin-bottom: 10px;
}
.topics__container {
	position: relative;
}
.topics__tag {
	width: 100%;
	overflow-y: hidden;
	overflow-x: auto;
	margin-bottom: 20px;
}
.topics__tag-list {
	display: flex;
	gap: 0 6px;
	line-height: normal;
	white-space: nowrap;
	margin-bottom: 12px;
}
.topics__tag-link {
	border: 1px solid #F99800;
	border-radius: 10px;
	padding: 2px 6px;
	display: flex;
}
.topics_single__tag-list li{
	float:left;
	margin: 0 3px 3px;
	border: 1px solid #F99800;
  	border-radius: 10px;
  	padding: 2px 6px;
  	display: flex;
}
/* 回り込みを解除する */
.topics_single__tag-list::after {
  content: "";
  display: block;
  clear: both;
}

.accordion-002 {
    max-width: 500px;
    margin-bottom: 7px;
    border-bottom: 1px dotted #ccc;
}

.accordion-002 summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em;
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2028%2028%22%3E%0A%20%20%20%20%3Ccircle%20cx%3D%2214%22%20cy%3D%2214%22%20r%3D%2214%22%20style%3D%22fill%3A%23ff8000%3B%22%2F%3E%0A%3C%2Fsvg%3E');
    background-position: right calc(2em - 7px) center;
    background-size: 22px;
    background-repeat: no-repeat;
    color: #000;
    cursor: pointer;
}

.accordion-002 summary::-webkit-details-marker {
    display: none;
}

.accordion-002 summary::before,
.accordion-002 summary::after {
    position: absolute;
    right: calc(2em + 2.5px);
    width: 3px;
    height: 10px;
    border-radius: 5px;
    background-color: #fff;
    content: '';
}

.accordion-002 summary::before {
    rotate: 90deg;
}

.accordion-002 summary::after {
    transition: rotate .3s;
}

.accordion-002[open] summary::after {
    rotate: 90deg;
}

.accordion-002 p {
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: 0 2em 1.5em;
    color: #333333;
    transition: transform .5s, opacity .5s;
}

.accordion-002[open] p {
    transform: none;
    opacity: 1;
}


@media screen and (max-width: 768px) {
	.topics {
		padding-bottom: 60px;
		word-break: break-all;
	}
	.topics__inner {
		padding-bottom: 60px;
	}
	.topics__btn {
		top: auto;
		bottom: 0;
		left: 0;
		margin-left: auto;
		margin-right: auto;
	}
	.topics__label {
		margin-bottom: 25px;
	}
	.topics__list {
		gap: 10px;
	}
	.topics__item {
		width: calc((100% - 10px) / 2);
	}
	.topics__category {
		font-size: 13px;
	}
	.topics__title {
		font-size: 15px;
		line-height: 1.3;
	}
	.topics__badge {
		font-size: 12px;
		margin-top: 4px;
	}
	.topics__text {
		font-size: 14px;
		line-height: 1.2;
		margin-top: 6px;
	}
	.topics__text-area {
		padding: 12px 8px 16px 8px;
	}
	.topics__alert {
		font-size: 12px;
	}
	#page #container li .topics__category {
		padding-left: 10px !important;
		padding-right: 10px !important;
	}
	#page #container li .topics__alert {
		padding-left: 4px !important;
		padding-right: 4px !important;
	}
	#page #container li .topics__text-tag {
		padding-left: 10px !important;
		padding-right: 10px !important;
	}
	#page #container li .topics__text-area {
		padding-left: 8px !important;
		padding-right: 8px !important;
	}
	#page #container li .topics__tag-link {
		padding-left: 6px !important;
		padding-right: 6px !important;
	}
	#page #container ul.topics__tag-list {
		padding-left: 0 !important;
	}
	.topics__tag {
		margin-left: 20px;
	}
	.topics__text-tag {
		font-size: 12px;
	}
	.topics__nav-wrapper {
		display: grid;
		grid-template-columns: auto 1fr;
		padding-left: 20px;
	}
	.topics__nav-title {
		display: block;
		background-color: #F99800;
		color: #ffffff;
		padding: 2px 4px;
		border-radius: 6px;
		margin-right: 10px;
	}
	#page #container .nav_01 li {
		margin-bottom: 0;
	}
	#page #container ul.topics__nav {
		padding-left: 0;
		padding-right: 0;
	}
}
