@charset "UTF-8";

:root {
	--color-body-1: #000;
	--font-family: YakuHanJP,"Noto Sans JP", sans-serif;
	--noto-serif: YakuHanMP,"Noto Serif JP", serif;
	--bodoni: "Bodoni Moda", serif;
	--inter: "Inter", sans-serif;
	--padding: 15px;
	--container: 1130px;
	--p: 16;

	--bs-border-radius: 10px;
}

::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);
}


h1:where(.wp-block-heading):where(.is-style-default, :not([class*="is-style"])),
.is-style-h-1 {
	position: relative;
	--fs: 30;
	font-size: var(--font-size);
	line-height: calc(45 / 30);
	letter-spacing: 0.1em;
	text-align: center;
	padding-bottom: 40px;
	margin-bottom: 25px;
}

h1:where(.wp-block-heading):where(.is-style-default, :not([class*="is-style"]))::before,
.is-style-h-1::before {
    content: "";
    width: 100%;
    height: 27px;
    background: linear-gradient(45deg, var(--color-theme-1) 25%, transparent 25%, transparent 75%, var(--color-theme-1) 75%), linear-gradient(45deg, var(--color-theme-1) 25%, transparent 25%, transparent 75%, var(--color-theme-1) 75%);
    background-size: 18px 18px;
    background-position: 0 0, 9px 9px;
    background-color: #FFF;
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
}

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

@media(max-width: 767px) {
	h1:where(.wp-block-heading):where(.is-style-default, :not([class*="is-style"])),
	h1.is-style-h-1 {
		margin-top: 50px;
	}
	h1:where(.wp-block-heading):where(.is-style-default, :not([class*="is-style"])),
	.is-style-h-1 {
		--fs: 25;
		padding-bottom: 25px;
	}
	h1:where(.wp-block-heading):where(.is-style-default, :not([class*="is-style"]))::before,
	.is-style-h-1::before {
		height: 18px;
	}
	* + h1:where(.wp-block-heading):where(.is-style-default, :not([class*="is-style"])),
	* + .is-style-h-1 {
	}
}

h2:where(.wp-block-heading):where(.is-style-default, :not([class*="is-style"])),
.is-style-h-2 {
	--fs: 35;
	font-size: var(--font-size);
	font-weight: 500;
	font-family: var(--noto-serif);
	line-height: calc(34 / 21);
	letter-spacing: 0.1em;
	margin-bottom: 50px;
}

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

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

h3:where(.wp-block-heading):where(.is-style-default, :not([class*="is-style"])),
.is-style-h-3 {
	position: relative;
	display: grid;
	justify-content: center;
	align-items: center;
	--fs: 32;
	line-height: 1.3;
	font-size: var(--font-size);
	font-family: var(--noto-serif);
	font-weight: 500;
	min-width: 515px;
	max-inline-size: max-content;
	min-height: 65px;
	letter-spacing: 0.1em;
	padding: 5px 10px;
	margin-inline: auto;
	margin-bottom: 90px;
}

h3:where(.wp-block-heading):where(.is-style-default, :not([class*="is-style"]))::before,
.is-style-h-3::before {
	content: "";
	width: calc(100% - 50px);
	height: calc(100% + 55px);
	border-left: 1px solid #000;
	border-right: 1px solid #000;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%) skewX(-35deg);
}

.is-style-h-3.text-white::before,
.is-style-h-3.text-white::after {
	border-color: #FFF;
}

h3:where(.wp-block-heading):where(.is-style-default, :not([class*="is-style"]))::after,
.is-style-h-3::after {
	content: "";
	width: 100%;
	height: 100%;
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	transform: skewX(-35deg);
}

* + 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: 18;
		min-width: 300px;
		min-height: 40px;
		margin-bottom: 40px;
	}
	h3:where(.wp-block-heading):where(.is-style-default, :not([class*="is-style"]))::before,
	.is-style-h-3::before {
		width: calc(100% - 30px);
		height: calc(100% + 30px);
	}
}

h4:where(.wp-block-heading):where(.is-style-default, :not([class*="is-style"])),
.is-style-h-4 {
	position: relative;
	--fs: 30;
	font-size: var(--font-size);
	font-weight: 500;
	letter-spacing: 0.075em;
	padding: 15px 0 20px 110px;
	margin-bottom: 30px;
}

h4:where(.wp-block-heading):where(.is-style-default, :not([class*="is-style"]))::before,
.is-style-h-4::before {
	content: "";
	width: 70px;
	height: 1px;
	background: #000;
	position: absolute;
	top: 50%;
	left: 30px;
}

h4:where(.wp-block-heading):where(.is-style-default, :not([class*="is-style"]))::after,
.is-style-h-4::after {
	content: "";
	width: 1px;
	height: 100%;
	background: #000;
	position: absolute;
	top: 0;
	left: 50px;
	transform: skewX(-35deg);
}

@media(max-width: 767px) {
	h4:where(.wp-block-heading):where(.is-style-default, :not([class*="is-style"])),
	.is-style-h-4 {
		--fs: 21;
		padding: 10px 0 15px 80px;
		margin-bottom: 20px;
	}
	h4:where(.wp-block-heading):where(.is-style-default, :not([class*="is-style"]))::before,
	.is-style-h-4::before {
		width: 50px;
		left: 20px;
	}
	h4:where(.wp-block-heading):where(.is-style-default, :not([class*="is-style"]))::after,
	.is-style-h-4::after {
		left: 30px;
	}
}

/*		table		*/
figure:where(.wp-block-table):where(.is-style-default, :not([class*="is-style"])) table,
.is-style-table-1 table {
	
}

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

figure:where(.wp-block-table):where(.is-style-default, :not([class*="is-style"])) tr th,
.is-style-table-1 tr th {
}

figure:where(.wp-block-table):where(.is-style-default, :not([class*="is-style"])) tr td,
.is-style-table-1 tr td {
}

.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 {
}

.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 {
}

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 {
}

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 {
}

figure:where(.wp-block-table):where(.is-style-default, :not([class*="is-style"])) .wp-element-caption,
.is-style-table-1 .wp-element-caption {
}

@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 {
	}
	figure:where(.wp-block-table):where(.is-style-default, :not([class*="is-style"])) tr td,
	.is-style-table-1 tr td {
	}
}

/*		button		*/
.wp-block-button:not([class*=is-style]) .wp-block-button__link,
.is-style-button-1 .wp-block-button__link {
	display: inline-grid;
	place-items: center;
	--fs: 15;
	font-size: var(--font-size);
	font-weight: 500;
	line-height: 1.3;
	min-width: 260px;
	min-height: 53px;
	color: #000;
	background: #FFF;
	border: 2px solid #000;
	border-radius: 40px;
	padding: 5px 15px;
}

.is-style-button-2 .wp-block-button__link {
	display: inline-grid;
	place-items: center;
	--fs: 15;
	font-weight: 500;
	font-size: var(--font-size);
	line-height: 1.3;
	min-width: 250px;
	min-height: 53px;
	background: var(--color-theme-1);
	color: #FFF;
	border-radius: 50px;
	padding: 5px 15px;
}

.is-style-button-2.design .wp-block-button__link,
.is-style-button-2.original .wp-block-button__link,
.is-style-button-2.paper .wp-block-button__link,
.is-style-button-2.die-cut .wp-block-button__link,
.is-style-button-2.acrylic .wp-block-button__link {
	background: var(--theme-color);
}

@media(max-width: 767px) {
	.wp-block-button:not([class*=is-style]) .wp-block-button__link,
	.is-style-button-1 .wp-block-button__link {
	}
	.wp-block-button:not([class*=is-style]) .wp-block-button__link::after,
	.is-style-button-1 .wp-block-button__link::after {
	}
}

/*		table		*/


.wp-block-table:not([class*=is-style-table]) {
	width: 100%;
}

.wp-block-table:not([class*=is-style-table]) .has-fixed-layout {
	table-layout: auto;
}

.wp-block-table:not([class*=is-style-table]) th,
.wp-block-table:not([class*=is-style-table]) tr td:first-child{
	min-width: 100px;
	background: var(--color-body-1);
	color: #FFF;
	border-bottom: 1px solid #FFF;
}

.wp-block-table:not([class*=is-style-table]) tr:last-child th,
.wp-block-table:not([class*=is-style-table]) tr:last-child td:first-child{
	border-bottom: 1px solid var(--color-body-1);
}

.wp-block-table:not([class*=is-style-table]) td,
.wp-block-table:not([class*=is-style-table]) th {
	--fs: 16;
	border: 1px solid var(--color-body-1);
	padding: 15px;
}

.wp-block-table:not([class*=is-style-table]):not(.is-style-stripes) td {
	background-color: #fff;
}

.wp-block-table:not([class*=is-style-table]) th {
	color: #FFF;
	background-color: var(--color-body-1);
}

@media(max-width: 991px) {
	.wp-block-table:not([class*=is-style-table]) td,
	.wp-block-table:not([class*=is-style-table]) th {
		--fs: 14;
		padding: 15px;
	}
}

@media(max-width: 767px) {
	.wp-block-table:not([class*=is-style-table]) td,
	.wp-block-table:not([class*=is-style-table]) th {
		display: block;
		margin-top: -1px;
	}
}

/*		group		*/

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