@charset "UTF-8";

:root {
	--color-body: #1F1B1B;
	--color-theme-1: #E0BD7B;
	--color-theme-2: #FFFBF3;
	--color-gray-1: #F4F4F4;
	--color-gray-2: #ACACAC;

	--font-family: "Zen Old Mincho", serif;
    --noto-sans: "Noto Sans JP", sans-serif;
	--noto-serif: "Noto Serif JP", serif;
	--roboto: "Roboto", sans-serif;

	--container: 1130px;
	--padding: 15px;
}

::after,
::before,
* {
	--font-size: calc((var(--fs)/16) * 1rem);
	font-size: var(--font-size);
}

.editor-styles-wrapper {
	--fs: 16;
	font-family: var(--font-family) !important;
	font-weight: 400;
}

@media(max-width: 767px) {
	.editor-styles-wrapper {
		--fs: 15;
	}
}

:where(.editor-styles-wrapper [class*="is-style-group"]) {
	border: 1px dashed #ccc;
}

.wp-embed-aspect-1-1 iframe {
	aspect-ratio: 1 / 1;
	height: auto;
	width: 100%;
}

.wp-embed-aspect-1-2 iframe {
	aspect-ratio: 1 / 2;
	height: auto;
	width: 100%;
}

.wp-embed-aspect-4-3 iframe {
	aspect-ratio: 4 / 3;
	height: auto;
	width: 100%;
}

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

.wp-embed-aspect-18-9 iframe {
	aspect-ratio: 18 / 9;
	height: auto;
	width: 100%;
}

.wp-embed-aspect-21-9 iframe {
	aspect-ratio: 21 / 9;
	height: auto;
	width: 100%;
}

.color-body {
	color: var(--color-body);
}

.color-theme-1 {
	color: var(--color-theme-1);
}


h2:where(.wp-block-heading):where(.is-style-default, :not([class*="is-style"])),
.is-style-h-2 {
	--fs: 30;
	font-size: var(--font-size);
	line-height: calc(48 / 32);
	font-weight: 500;
}

* + h2:where(.wp-block-heading):where(.is-style-default, :not([class*="is-style"])),
* + .is-style-h-2 {
	margin-top: 80px;
}

@media(max-width: 767px) {
	h2:where(.wp-block-heading):where(.is-style-default, :not([class*="is-style"])),
	.is-style-h-2 {
		--fs: 24;
	}
	* + h2:where(.wp-block-heading):where(.is-style-default, :not([class*="is-style"])),
	* + .is-style-h-2 {
		margin-top: 50px;
	}
}

h3:where(.wp-block-heading):where(.is-style-default, :not([class*="is-style"])),
.is-style-h-3 {
	display: flex;
	--fs: 25;
	font-size: var(--font-size);
	font-weight: 600;
	position: relative;
	padding-bottom: 20px;
	margin-bottom: 40px;
}

h3:where(.wp-block-heading):where(.is-style-default, :not([class*="is-style"]))::before,
.is-style-h-3::before {
	content: "";
	width: 150px;
	height: 3px;
	background: var(--color-theme-1);
	position: absolute;
	bottom: 0;
	left: 0;
}

h3:where(.wp-block-heading):where(.is-style-default, :not([class*="is-style"])).has-text-align-center,
.is-style-h-3.has-text-align-center {
	justify-content: center;
}

h3:where(.wp-block-heading):where(.is-style-default, :not([class*="is-style"])).has-text-align-center::before,
.is-style-h-3.has-text-align-center::before {
	left: 50%;
	transform: translateX(-50%);
}

h3:where(.wp-block-heading):where(.is-style-default, :not([class*="is-style"])).has-text-align-right,
.is-style-h-3.has-text-align-right {
	justify-content: end;
}

h3:where(.wp-block-heading):where(.is-style-default, :not([class*="is-style"])).has-text-align-right::before,
.is-style-h-3.has-text-align-right::before {
	left: auto;
	right: 0;
}

* + h3:where(.wp-block-heading):where(.is-style-default, :not([class*="is-style"])),
* + .is-style-h-3 {
	margin-top: 50px;
}

@media(max-width: 767px) {
	h3:where(.wp-block-heading):where(.is-style-default, :not([class*="is-style"])),
	.is-style-h-3 {
		--fs: 20;
		margin-bottom: 40px;
	}
}

h4:where(.wp-block-heading):where(.is-style-default, :not([class*="is-style"])),
.is-style-h-4 {
	gap: 10px;
	--fs: 24;
	font-size: var(--font-size);
	margin-bottom: 20px;
}

h4:where(.wp-block-heading):where(.is-style-default, :not([class*="is-style"]))::before,
.is-style-h-4::before {
	content: "";
	display: inline-block;
	width: 12px;
	height: 12px;
	background: var(--color-theme-1);
	border-radius: 50%;
	margin-right: 10px;
	margin-bottom: 3px;
}

* + h4:where(.wp-block-heading):where(.is-style-default, :not([class*="is-style"])),
* + .is-style-h-4 {
	margin-top: 50px;
}

@media(max-width: 767px) {
	h4:where(.wp-block-heading):where(.is-style-default, :not([class*="is-style"])),
	.is-style-h-4 {
		--fs: 20;
	}
	h4:where(.wp-block-heading):where(.is-style-default, :not([class*="is-style"]))::before,
	.is-style-h-4::before {
		width: 10px;
		height: 10px;
		margin-right: 8px;
		margin-bottom: 2px;
	}
}

h5:where(.wp-block-heading):where(.is-style-default, :not([class*="is-style"])),
.is-style-h-5 {
	display: flex;
	gap: 10px;
	--fs: 20;
	font-size: var(--font-size);
	margin-bottom: 20px;
}

h5:where(.wp-block-heading):where(.is-style-default, :not([class*="is-style"]))::before,
.is-style-h-5::before {
	content: "";
	display: block;
	min-width: 6px;
	height: 26px;
	background: var(--color-theme-1);
}

* + h5:where(.wp-block-heading):where(.is-style-default, :not([class*="is-style"])),
* + .is-style-h-5 {
	margin-top: 30px;
}

@media(max-width: 767px) {
	h5:where(.wp-block-heading):where(.is-style-default, :not([class*="is-style"])),
	.is-style-h-5 {
		--fs: 18;
		gap: 8px;
		margin-bottom: 15px;
	}
	h5:where(.wp-block-heading):where(.is-style-default, :not([class*="is-style"]))::before,
	.is-style-h-5::before { 
		min-width: 5px;
		height: 24px;	
	}
	* + h5:where(.wp-block-heading):where(.is-style-default, :not([class*="is-style"])),
	* + .is-style-h-5 {
		margin-top: 15px;
	}
}

/*		table		*/
figure:where(.wp-block-table):where(.is-style-default, :not([class*="is-style"])) table,
.is-style-table-1 table {
	width: 100%;
	border-collapse: separate!important;
	border-spacing: 3px;
	margin-left: -3px;
	margin-right: -3px;
}

figure:where(.wp-block-table):where(.is-style-default, :not([class*="is-style"])) thead,
.is-style-table-1 thead {
	border-bottom: 0!important;
}

figure:where(.wp-block-table):where(.is-style-default, :not([class*="is-style"])) tr th,
.is-style-table-1 tr th {
	--fs: 16;
	font-weight: 600;
	color: #FFF;
	background: var(--color-theme-1);
	text-align: center;
	border-radius: 3px;
	padding: 10px 15px;
}

figure:where(.wp-block-table):where(.is-style-default, :not([class*="is-style"])) tr td,
.is-style-table-1 tr td {
	--fs: 16;
	font-weight: 400;
	background: #FFF;
	border: none!important;
	border-radius: 3px;
	padding: 15px 20px!important;
}

.editor-styles-wrapper figure:where(.wp-block-table):where(.is-style-default, :not([class*="is-style"])) tr td,
.editor-styles-wrapper .is-style-table-1 tr td {
	background: var(--color-gray-1);
}

.page-id-16 figure:where(.wp-block-table):where(.is-style-default, :not([class*="is-style"])) tr td,
.page-id-16 .is-style-table-1 tr td {
	background: var(--color-gray-1);
}

figure:where(.wp-block-table):where(.is-style-default, :not([class*="is-style"])):not(:has(thead)) td:first-child,
.is-style-table-1:not(:has(thead)) td:first-child {
	--fs: 16;
	font-weight: 600;
	color: #FFF;
	background: var(--color-theme-1);
	white-space: nowrap;
	text-align: center;
	border-radius: 3px;
	padding: 10px 15px;
}

figure:where(.wp-block-table):where(.is-style-default, :not([class*="is-style"])) tr:has(th) td,
figure:where(.wp-block-table):where(.is-style-default, :not([class*="is-style"])) table:has(thead) tr td,
.is-style-table-1 tr:has(th) td,
.is-style-table-1 table:has(thead) tr td {
	border-color: #D6D6D6!important;
}

figure:where(.wp-block-table):where(.is-style-default, :not([class*="is-style"])) .wp-element-caption,
.is-style-table-1 .wp-element-caption {
	--fs: 14;
	margin-top: 10px;
}

@media(max-width: 767px) {
	figure:where(.wp-block-table):where(.is-style-default, :not([class*="is-style"])) tr th,
	.is-style-table-1 tr th {
		--fs: 15;
		padding: 5px 10px;
	}
	figure:where(.wp-block-table):where(.is-style-default, :not([class*="is-style"])) tr td,
	.is-style-table-1 tr td {
		--fs: 14;
		padding: 10px!important;
	}
}

/*		button		*/
.wp-block-button:not([class*=is-style]) .wp-block-button__link,
.is-style-button-1 .wp-block-button__link {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	--fs: 18;
	color: #FFF;
	text-decoration: none;
	font-size: var(--font-size);
	font-weight: 500;
	font-family: var(--zen-maru);
	max-inline-size: max-content;
	min-width: 320px;
	min-height: 77px;
	background: var(--color-theme-1);
	border-radius: 50px;
	padding: 5px 45px;
}

.wp-block-button:not([class*=is-style]) .wp-block-button__link::after,
.is-style-button-1 .wp-block-button__link::after {
	content: "";
	width: 20px;
	aspect-ratio: 1 / 1;
	-webkit-mask: no-repeat center center / contain;
    mask: no-repeat center center / contain;
    -webkit-mask-image: url(img/icon-arrow.svg);
    mask-image: url(img/icon-arrow.svg);
	background: #FFF;
	position: absolute;
	top: 50%;
	right: 15px;
	transform: translateY(-50%);
}

.wp-block-button:not([class*=is-style]) .wp-block-button__link:hover,
.is-style-button-1 .wp-block-button__link:hover {
	opacity: 0.7;
}
 
@media(max-width: 767px) {
	.wp-block-button:not([class*=is-style]) .wp-block-button__link,
	.is-style-button-1 .wp-block-button__link {
		min-width: 280px;
		min-height: 60px;
		--fs: 16;
		padding: 5px 35px;
	}
	.wp-block-button:not([class*=is-style]) .wp-block-button__link::after,
	.is-style-button-1 .wp-block-button__link::after {
		right: 10px;
		width: 16px;
	}
}

/*		group		*/

.editor-styles-wrapper .wp-block-group {
	border: 1px dashed;
	border-radius: 2px;
	padding: 10px;
}
