/* CSS Document */

#main{
	margin-bottom: clamp(64px, calc(128 / 1200 * 100dvw), 128px);
}

#topics{
	display: grid;
	& h2{
		display: grid;
		grid-template-columns: var(--wrap);
		justify-content: center;
		padding: 24px 0;
		background: var(--variable-color-sub);
		color: #fff;
		font-weight: 700;
		font-size: clamp(28px, calc(36 / 768 * 100dvw), 36px);
		letter-spacing: 0.05em;
		text-align: center;
	}
}

#list{
	display: grid;
	grid-template-columns: var(--wrap);
	justify-content: center;
	margin-top: clamp(48px, calc(64 / 1200 * 100dvw), 64px);
	& section{
		position: relative;
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		grid-gap: 8px;
		min-height: 104px;
		padding: 16px 48px 16px 96px;
		border-top: 1px solid #ccc;
		&:last-child{
			border-bottom: 1px solid #ccc;
		}
	}
	& h3{
		order: 1;
		width: 100%;
		font-weight: 700;
	}
	& h3+div{
		display: contents;
		& ul{
			display: contents;
		}
		& li{
			font-weight: 500;
			font-size: 12px;
			line-height: 1;
			&[class]{
				padding: 2px 0.5em;
				color: #fff;
				text-transform: uppercase;
			}
			&:not([class]){
				display: grid;
				grid-template-columns: auto 1fr auto;
				column-gap: 0.25em;
				&:before,
				&:after{
					content: "-";
				}
			}
			&.tagCheck{
				background: #436aca;
			}
			&.tagNew{
				background: #5c9937;
			}
		}
		& time{
			font-weight: 500;
			font-size: 12px;
		}
		& a{
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			color: inherit;
			font-size: 0;
			&:before,
			&:after{
				content: "";
				position: absolute;
				top: 50%;
				right: 0;
				aspect-ratio: 1;
				width: 40px;
				transition: all 0.2s ease-out;
				transform: translateY(-50%);
			}
			&:before{
				background: var(--variable-color);
				border-radius: 100%;
			}
			&:after{
				content: "";
				background: currentColor;
				-webkit-mask: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 10" style="fill: none; stroke: black; stroke-linecap: round; stroke-linejoin: round;"><polyline points="7 2.5 9.5 5 7 7.5"/><line x1=".5" y1="5" x2="9.5" y2="5"/></svg>') no-repeat center / 10px;
			}
			&:hover{
				&:before{
					background: var(--color);
				}
				&:after{
					background: #fff;
				}
			}
		}
	}
	& figure{
		position: absolute;
		top: 16px;
		left: 0;
		& img{
			aspect-ratio: 1;
			width: 72px;
			object-fit: cover;
			border-radius: 100%;
		}
	}
}

#pagenation{
	display: grid;
	grid-template-columns: var(--wrap);
	justify-content: center;
	margin-top: clamp(48px, calc(64 / 1200 * 100dvw), 64px);
}





