@charset "UTF-8";

:root {
	--color-body-1: #333;
	--color-gray-1: #666666;
	--color-gray-2: #ccc;
	--color-gray-3: #cacaca;
	--color-gray-4: #f9f9f9;
	--color-theme-1: #dc0e0e;
	--color-theme-2: #eb519b;
	--color-theme-3: #52a4ef;
	--color-theme-4: #abe660;

	--gothic: "Noto Sans JP", sans-serif;
	--en: "Montserrat", "Noto Sans JP", sans-serif;
	--op: 0.6;
	--ts: 0.3s;

	--content-w: 1080px;
	--container: var(--content-w);
	--padding: 20px;
	--stack: 50px;
}

b,
strong {
	font-weight: 600;
}

.editor-styles-wrapper {
	font-family: var(--gothic);
}

:where(.wp-block-group, .wp-block-column):where(.editor-styles-wrapper *) {
	border: 1px dashed gray;
}

:is(.wp-block-group) :first-child {
	margin-top: 0;
}

:is(.wp-block-group) :last-child {
	margin-bottom: 0;
}

h2:where(.wp-block-heading):where(.is-style-default, :not([class*="is-style"])) {
	border-left: 5px solid var(--color-theme-1);
	font-size: 36px;
	font-weight: 600;
	line-height: 1.55;
	margin-block: 56px;
	padding: 0 0 0 40px;
	@media (max-width: 540px) {
		font-size: 22px;
		margin-block: 40px;
		padding-left: 20px;
	}
}

h3:where(.wp-block-heading):where(.is-style-default, :not([class*="is-style"])) {
	font-size: 32px;
	font-weight: 700;
	line-height: 1.85;
	margin-block: 48px;
	@media (max-width: 540px) {
		font-size: 20px;
		margin-block: 32px;
	}
}

.wp-block-group {
	margin-block: 20px;
}

.wp-block-separator {
	border-top: 1px solid var(--color-gray-2);
	opacity: 1;
}

.wp-block-embed {
	margin-block: 20px;
	iframe {
		aspect-ratio: 16/9;
		height: auto;
		width: 100%;
	}
}

/* lazy blocks */
.member {
	display: grid;
	gap: 32px;
	padding-block: 64px 24px;
	@media (max-width: 540px) {
		gap: 24px;
		padding-block: 56px 16px;
	}
}

.member-title {
	border-left: 2px solid var(--color-theme-1);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.6;
	padding: 0 0 0 16px;
}

.member-list {
	display: contents;
}

.member-item {
	display: grid;
	gap: 10px 24px;
	&:has(.member-img) {
		grid-template-columns: 100px 1fr;
		@media (min-width: 541px) {
			grid-template-columns: 120px 1fr;
			padding: 0 0 0 20px;
		}
	}
}

.member-img {
	grid-row: span 2;
	@media (min-width: 991px) {
		align-self: center;
	}
	img {
		aspect-ratio: 1;
		border-radius: 50%;
		object-fit: cover;
		width: 100%;
	}
}

.member-position {
	font-size: 13px;
	font-weight: 500;
	line-height: 1.7;
	white-space: pre-wrap;
	@media (max-width: 540px) {
		font-size: 11px;
	}
}

.member-name {
	align-items: baseline;
	display: flex;
	gap: 20px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.7;
	@media (max-width: 540px) {
		display: grid;
		gap: 0;
		font-size: 13px;
	}
}

.member-name-en {
	font-size: 12px;
	font-weight: 600;
	line-height: 1.7;
	@media (max-width: 540px) {
		font-size: 10px;
	}
}

.member-body {
	font-size: 14px;
	font-weight: 500;
	line-height: 1.7;
	white-space: pre-wrap;
	@media (max-width: 540px) {
		font-size: 11px;
	}
}

