/* CSS Document */

main {
	padding-bottom: 64px;
}

#link {
	display: grid;
	grid-template-columns: 1fr var(--wrap) 1fr;
	grid-row-gap: 56px;
	padding: 56px 0;
}

@media (min-width: 992px) {
	#link {
		padding: 72px 0;
		grid-row-gap: 72px;
	}
}

#link > * {
	grid-column: 2;
}

#link h2 {
	justify-self: center;
	display: grid;
	grid-template-columns: 1.25em 1fr;
	grid-gap: 0.5em;
	font-weight: 700;
	font-size: 24px;
	letter-spacing: 0.1em;
}

@media (min-width: 992px) {
	#link h2 {
		font-size: 32px;
	}
}

#link h2:before {
	content: "";
	aspect-ratio: 1;
	background: var(--color-theme);
	-webkit-mask: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="-3 -3 16 16"><path d="M3,0h7v7c0,1.66-1.34,3-3,3H0V3C0,1.34,1.34,0,3,0Z"/></svg>') center no-repeat;
	-webkit-mask-size: contain;
	transform: translateY(0.25em);
}

#link section {
	grid-column: 2;
	display: grid;
	grid-row-gap: 32px;
	background: #fff;
}

#link h3 {
	position: relative;
	margin-left: 24px;
	color: #5ab6b6;
	font-weight: 700;
	font-size: 24px;
	letter-spacing: 0.08em;
}

@media (min-width: 1200px) {
	#link h3 {
		margin-left: 0;
	}
}

#link h3:before {
	content: "";
	position: absolute;
	top: 10px;
	right: calc(100% + 32px);
	width: 100vw;
	height: 28px;
	background: currentColor;
	-webkit-mask: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 8 10"><circle cx="6.5" cy="1.5" r="1.5"/></svg>') top right;
	-webkit-mask-size: 8px 10px;
}

#link h4 {
	display: grid;
	grid-template-columns: 6px 1fr;
	grid-gap: 0 16px;
	font-weight: 700;
	font-size: 20px;
	letter-spacing: 0.05em;
}

#link h4:before {
	content: "";
	margin: 0.25em 0 0.15em 0;
	background: #5ab6b6;
}

#link h4 + div {
	margin-top: 16px;
}

#link ul {
	display: grid;
	grid-gap: 16px 24px;
}

@media (min-width: 576px) {
	#link ul {
		grid-template-columns: repeat(2, 1fr);
	}
}

#link a {
	display: grid;
	grid-template-columns: 16px auto;
	grid-gap: 8px;
	color: inherit;
}

#link a:before {
	content: "";
	aspect-ratio: 1;
	background: #5ab6b6;
	-webkit-mask-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" style="fill: none; stroke: black; stroke-linejoin: round; stroke-width: 2px;"><rect x="5" y="1" width="10" height="10"/><polyline points="1 5 1 15 11 15"/></svg>');
	-webkit-mask-size: contain;
	transform: translateY(0.35em);
}




