@charset "UTF-8";

#contents
{
/*	font-size: clamp(1rem, 2vw, 1.3rem);*/
	padding-top: 0;
	padding-bottom: 0;
}

#contents > div > p:nth-of-type(1)
{
	font-family:  'R-M', 'GG-M', 'YU Gothic UI', 'Hiragino Sans', sans-serif;
	font-weight: 500;
	font-size: 1.1em;
	margin-bottom: 5em;
}

#contents > div > * + p:nth-of-type(1)
{
	font-family:  'R-R', 'GG-R', sans-serif;
	font-weight: 400;
	font-size: 1em;
	margin-bottom:0em;
}

#contents h2
{
/*	font-size: clamp(1.1rem, 3.5vw, 1.5rem);*/
}

* + h2.wp-block-heading,
.block-editor-block-list__layout * + h2,
#contents * + h2
{
	margin-top: 3em;
}

#contents h3
{
	font-size: 1em;
}

.wp-block-group + .wp-block-group
{
	margin-top: 1.5em;
}

.wp-block-group ul
{
	margin-top: .5em;
}

#contents >.wp-block-group > *
{
	margin: 0 auto;
	padding: clamp(2rem, 4vw, 4rem) 2rem clamp(3rem, 6vw, 6rem);
	width: 100%;
	max-width: 920px;
}

#contents >.wp-block-group:nth-of-type(2n+1)
{
	background-color: rgb(255, 255, 255);
}

#contents >.wp-block-group:nth-of-type(2n)
{
	background-color: rgb(245, 245, 245);
}

#contents >.wp-block-group:nth-of-type(2n) .wp-block-table td
{
	background-color: rgb(245, 245, 245);
}

#contents >.wp-block-group:nth-of-type(2n) .wp-block-table tr:nth-of-type(1) td
{
	background-color: rgb(255, 255, 255);
}

/********************************************************/
/************************ Footer *************************/
/********************************************************/

#contents:has(>*:nth-child(2n):last-child) + #footer
{
	background-color: rgb(255, 255, 255);
}

#contents:has(>*:nth-child(2n):last-child) + #footer:before
{
	background-image: url(../_img/project_bg.svg);
}