/*
Theme Name: YGU
Version: 1.0.0
*/

/* 
------------------------
投稿ページスタイル
------------------------
*/
.p-entry h2:not([class]) {
	position: relative;
	color: #000;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.4;
	background: var(--c-primary) url('./assets/img/common/bg_pattern.png') left center repeat-y;
	background-size: auto 12px;
	margin-bottom: 1em;
	padding: 14px 14px 14px 42px;
	z-index: 1;
	clear: both;
}
.p-entry h2:not([class])::before,
.p-entry h2:not([class])::after {
	position: absolute;
	content: '';
}
.p-entry h2:not([class])::before {
	top: 0;
	left: 0;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 20px 20px 0 0;
	border-color: #000 transparent transparent transparent;
}
.p-entry h2:not([class])::after {
	top: 50%;
	left: 20px;
	width: 8px;
	height: 72%;
	background-color: #000;
	transform: translateY(-50%);
}
.p-entry h3:not([class]) {
	position: relative;
	color: var(--c-primary);
	font-size: 1.375rem;
	font-weight: 700;
	line-height: 1.4;
	border: 1px solid currentColor;
	margin-bottom: 1em;
	padding: 8px 8px 8px 28px;
	z-index: 1;
	clear: both;
}
.p-entry h3:not([class])::before {
	position: absolute;
	top: 50%;
	left: 12px;
	content: '';
	width: 6px;
	height: 65%;
	background-color: var(--c-primary);
	transform: translateY(-50%);
}
.p-entry h4:not([class]) {
	position: relative;
	color: var(--c-primary);
	font-size: 1.375rem;
	font-weight: 700;
	line-height: 1.4;
	border-bottom: 1px solid currentColor;
	margin-bottom: 1em;
	padding: 8px 8px 8px 18px;
	z-index: 1;
	clear: both;
}
.p-entry h4:not([class])::before {
	position: absolute;
	top: 50%;
	left: 0;
	content: '';
	width: 6px;
	height: 65%;
	background-color: var(--c-primary);
	transform: translateY(-50%);
}
.p-entry h5:not([class]),
.p-entry h6:not([class]) {
	position: relative;
	color: var(--c-primary);
	font-size: 1.063rem;
	font-weight: 500;
	line-height: 1.4;
	border-bottom: 1px solid currentColor;
	margin-bottom: 1em;
	padding-bottom: 8px;
	z-index: 1;
	clear: both;
}
.p-entry h5:not([class])::after,
.p-entry h6:not([class])::after {
	position: absolute;
	bottom: 3px;
	left: 0;
	display: block;
	content: '';
	width: 100%;
	height: 1px;
	background-color: var(--c-primary);
}
.p-entry p:not([class]) {
	padding: 0 1em 0 1em;
	margin-bottom: 1.5em;
}
.p-entry table:not([class]) {
	line-height: 1.4;
	margin-bottom: 1.5em;
}
.p-entry table:not([class]) th,
.p-entry table:not([class]) td {
	padding: 6px;
	border: 4px solid #000;
}
.p-entry table:not([class]) th {
	font-size: 0.875rem;
	font-weight: 700;
	background-color: var(--c-primary);
	text-align: center;
}
.p-entry table:not([class]) td {
	font-size: 0.875rem;
	background-color: #333333;
	text-align: center;
}
.p-entry ul:not([class]) {
	list-style-type: inherit;
	padding: 0 1em 0 2.5em;
	margin-bottom: 1.5em;
}
.p-entry ol:not([class]) {
	list-style-type: dicimal;
	padding: 0 1em 0 2.5em;
	margin-bottom: 1.5em;
}

/* PC */
@media screen and (min-width: 834px) {
	.p-entry h2:not([class]) {
		font-size: 1.75rem;
		padding: 14px 14px 14px 68px;
	}
	.p-entry h2:not([class])::after {
		left: 29px;
	}
	.p-entry h3:not([class]) {
		font-size: 1.5rem;
		padding: 12px 12px 12px 48px;
	}
	.p-entry h3:not([class])::before {
		left: 20px;
	}
	.p-entry h4:not([class]) {
		font-size: 1.5rem;
		padding: 8px 8px 8px 32px;
	}
	.p-entry h5:not([class]),
	.p-entry h6:not([class]) {
		font-size: 1.375rem;
	}
	.p-entry table:not([class]) th,
	.p-entry table:not([class]) td {
		padding: 10px;
		border-width: 8px;
	}
	.p-entry table:not([class]) th {
		font-size: 1.188rem;
	}
	.p-entry table:not([class]) td {
		font-size: 1rem;
	}
	.p-entry img.aligncenter {
		display: block;
		margin-left: auto;
		margin-right: auto;
	}
	.p-entry img.alignright {
		float: right;
		margin-left: 1.5rem;
	}
	.p-entry img.alignleft {
		float: left;
		margin-right: 1.5rem;
	}
}
