@charset "UTF-8";

/*
 * Classic Editor content styles
 * Scope all rules to .entry-content so they do not affect theme components.
 */

/* Google Fonts Load
---------------------------------------------------------------------------*/
@font-face {
    font-family: 'M PLUS 1';
    src: url('../fonts/M_PLUS_1/MPLUS1-VariableFont_wght.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Josefin Sans';
    src: url('../fonts/Josefin_Sans/JosefinSans-Light.woff2') format('woff2');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
    font-family: 'Josefin Sans';
    src: url('../fonts/Josefin_Sans/JosefinSans-Regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

html, body {
    font-size: 14px;
}

body {
	font-family: "M PLUS 1", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;	/*フォント種類*/
	font-weight: 300;
	font-optical-sizing: auto;
	letter-spacing: 0.1rem;
	text-indent: 0.1rem;
	-webkit-text-size-adjust: none;
    background-color: #E0E0E0;
}

.entry-content {
	--editor-text-color: #262626;
	--editor-muted-color: #666;
	--editor-border-color: #d8d8d8;
	--editor-accent-color: #c90000;
	color: var(--editor-text-color);
	font-size: 1.2rem;
	line-height: 1.8;
	overflow-wrap: anywhere;
}

.entry-content::after {
	display: table;
	clear: both;
	content: "";
}

/* Text */
.entry-content > :first-child {
	margin-top: 0;
}

.entry-content > :last-child {
	margin-bottom: 0;
}

.entry-content p,
.entry-content address,
.entry-content pre,
.entry-content table,
.entry-content blockquote,
.entry-content dl,
.entry-content ul,
.entry-content ol,
.entry-content figure,
.entry-content .wp-caption,
.entry-content .gallery {
	margin-top: 0;
	margin-bottom: 1.5em;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	clear: both;
	margin: 2em 0 0.75em;
	padding: 0;
	color: var(--editor-text-color);
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.45;
}

.entry-content h1 {
	font-size: clamp(1.8rem, 4.8vw, 2.4rem);
}

.entry-content h2 {
	padding-bottom: 0.35em;
	border-bottom: 2px solid var(--editor-text-color);
	font-size: clamp(1.6rem, 4.2vw, 2.1rem);
}

.entry-content h3 {
	padding-left: 0.75em;
	border-left: 4px solid var(--editor-accent-color);
	font-size: clamp(1.4rem, 3.7vw, 1.8rem);
}

.entry-content h4 {
	font-size: clamp(1.3rem, 3.4vw, 1.6rem);
}

.entry-content h5 {
	font-size: 1.2rem;
}

.entry-content h6 {
	color: var(--editor-muted-color);
	font-size: 1.1rem;
}

.entry-content strong,
.entry-content b {
	font-weight: 700;
}

.entry-content em,
.entry-content i {
	font-style: italic;
}

.entry-content small {
	font-size: 0.85em;
}

.entry-content sub,
.entry-content sup {
	position: relative;
	font-size: 0.75em;
	line-height: 0;
	vertical-align: baseline;
}

.entry-content sup {
	top: -0.5em;
}

.entry-content sub {
	bottom: -0.25em;
}

.entry-content mark {
	padding: 0.1em 0.25em;
	background: #fff2a8;
	color: inherit;
}

.entry-content abbr[title],
.entry-content acronym[title] {
	text-decoration: underline dotted;
	cursor: help;
}

.entry-content del,
.entry-content s {
	opacity: 0.7;
}

.entry-content ins {
	text-decoration: underline;
}

.entry-content address {
	font-style: normal;
}

/* Links */
.entry-content a {
	color: var(--editor-accent-color);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.entry-content a:hover {
	text-decoration: none;
}

.entry-content a:focus-visible {
	border-radius: 2px;
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

/* Lists */
.entry-content ul,
.entry-content ol {
	padding-left: 2em;
}

.entry-content ul {
	list-style: disc;
}

.entry-content ol {
	list-style: decimal;
}

.entry-content li {
	margin: 0.35em 0;
}

.entry-content li > ul,
.entry-content li > ol {
	margin-top: 0.35em;
	margin-bottom: 0.35em;
}

.entry-content ul ul {
	list-style: circle;
}

.entry-content ul ul ul {
	list-style: square;
}

.entry-content dt {
	margin-top: 1em;
	font-weight: 700;
}

.entry-content dd {
	margin: 0.35em 0 1em 1.5em;
}

/* Quotes and separators */
.entry-content blockquote {
	padding: 1.2em 1.5em;
	border-left: 4px solid var(--editor-accent-color);
	background: #f5f5f5;
	color: #444;
}

.entry-content blockquote > :first-child {
	margin-top: 0;
}

.entry-content blockquote > :last-child {
	margin-bottom: 0;
}

.entry-content blockquote cite {
	display: block;
	margin-top: 0.75em;
	color: var(--editor-muted-color);
	font-size: 0.9em;
	font-style: normal;
}

.entry-content hr {
	clear: both;
	height: 0;
	margin: 2.5em 0;
	border: 0;
	border-top: 1px solid var(--editor-border-color);
}

/* Code */
.entry-content code,
.entry-content kbd,
.entry-content samp,
.entry-content pre {
	font-family: Consolas, Monaco, "Courier New", monospace;
}

.entry-content code,
.entry-content kbd,
.entry-content samp {
	padding: 0.15em 0.35em;
	border-radius: 3px;
	background: #f1f1f1;
	font-size: 0.9em;
}

.entry-content kbd {
	border: 1px solid #bbb;
	box-shadow: 0 1px 0 #bbb;
}

.entry-content pre {
	max-width: 100%;
	padding: 1.25em;
	overflow: auto;
	border: 1px solid var(--editor-border-color);
	background: #f5f5f5;
	font-size: 0.9em;
	line-height: 1.65;
	white-space: pre;
}

.entry-content pre code {
	padding: 0;
	background: transparent;
	font-size: inherit;
}

/* Media */
.entry-content img {
	max-width: 100%;
	height: auto;
}

.entry-content figure {
	max-width: 100%;
}

.entry-content p img,
.entry-content figure img,
.entry-content .wp-caption img {
	display: block;
}

.entry-content .alignnone {
	margin: 0 0 1.5em;
}

.entry-content .aligncenter {
	display: block;
	margin: 0 auto 1.5em;
}

.entry-content .alignleft {
	float: left;
	margin: 0.35em 1.5em 1em 0;
}

.entry-content .alignright {
	float: right;
	margin: 0.35em 0 1em 1.5em;
}

.entry-content .wp-caption {
	max-width: 100%;
}

.entry-content .wp-caption.aligncenter {
	margin-right: auto;
	margin-left: auto;
}

.entry-content .wp-caption img {
	width: 100%;
}

.entry-content .wp-caption-text,
.entry-content figcaption,
.entry-content .gallery-caption {
	margin: 0.6em 0 0;
	color: var(--editor-muted-color);
	font-size: 0.9em;
	line-height: 1.6;
	text-align: center;
}

.entry-content audio,
.entry-content video {
	display: block;
	width: 100%;
	max-width: 100%;
	margin-bottom: 1.5em;
}

.entry-content iframe,
.entry-content embed,
.entry-content object {
	max-width: 100%;
}

/* Classic Editor gallery shortcode */
.entry-content .gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25em;
}

.entry-content .gallery-item {
	float: none;
	width: 100%;
	margin: 0;
	text-align: center;
}

.entry-content .gallery-icon img {
	display: block;
	width: 100%;
}

.entry-content .gallery-columns-2 .gallery-item {
	width: calc((100% - 1.25em) / 2);
}

.entry-content .gallery-columns-3 .gallery-item {
	width: calc((100% - 2.5em) / 3);
}

.entry-content .gallery-columns-4 .gallery-item,
.entry-content .gallery-columns-5 .gallery-item,
.entry-content .gallery-columns-6 .gallery-item,
.entry-content .gallery-columns-7 .gallery-item,
.entry-content .gallery-columns-8 .gallery-item,
.entry-content .gallery-columns-9 .gallery-item {
	width: calc((100% - 3.75em) / 4);
}

/* Tables */
.entry-content table {
	display: block;
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	border-collapse: collapse;
	white-space: normal;
}

.entry-content caption {
	margin-bottom: 0.6em;
	font-weight: 700;
	text-align: left;
}

.entry-content th,
.entry-content td {
	min-width: 8em;
	padding: 0.75em 1em;
	border: 1px solid var(--editor-border-color);
	text-align: left;
	vertical-align: top;
}

.entry-content th {
	background: #efefef;
	font-weight: 700;
}

.entry-content thead th {
	border-bottom-width: 2px;
}

.entry-content tbody tr:nth-child(even) {
	background: #fafafa;
}

/* WordPress utility classes */
.entry-content .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	border: 0;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

@media screen and (max-width: 599px) {
	.entry-content .alignleft,
	.entry-content .alignright {
		float: none;
		max-width: 100%;
		margin: 0 auto 1.5em;
	}

	.entry-content .gallery-columns-3 .gallery-item,
	.entry-content .gallery-columns-4 .gallery-item,
	.entry-content .gallery-columns-5 .gallery-item,
	.entry-content .gallery-columns-6 .gallery-item,
	.entry-content .gallery-columns-7 .gallery-item,
	.entry-content .gallery-columns-8 .gallery-item,
	.entry-content .gallery-columns-9 .gallery-item {
		width: calc((100% - 1.25em) / 2);
	}

	.entry-content th,
	.entry-content td {
		padding: 0.6em 0.75em;
	}
}
