/*---------------------------------------
 基本HTMLタグ
---------------------------------------*/

abbr,
acronym {
	cursor: help;
}

address {
	font-style: normal;
}

big {
	font-size: 1.25em;
}


blockquote {
	font-style: italic;
	margin: 1em;
	padding: 1.5em 2.5em;
	position: relative;
	quotes: '' '';
	border-radius: 0.5em;
	background: #f5f5f5;
}

blockquote:before,
blockquote:after {
	color: #999;
	font-family: 'ヒラギノ明朝 Pro W3', 'Hiragino Mincho Pro', 'HG明朝E', 'ＭＳ Ｐ明朝', 'ＭＳ 明朝', serif;
	font-size: 4em;
	line-height: 1;
	position: absolute;
}


blockquote:before {
	content: '“';
	top: 0.1em;
	left: 0.1em;
}

blockquote:after {
	content: '”';
	right: 0.35em;
	bottom: -0.4em;
}

blockquote cite {
	font-weight: 600;
	font-style: normal;
	margin-top: 0.5em;
	display: block;
}

.wp-block-quote:not(.is-large):not(.is-style-large) {
	padding: 1.5em 2.5em;
	border: none;
}

em {
	font-weight: 700;
	font-style: normal;
}

mark,
ins {
	text-decoration: none;
	background: #eee;
}

pre {
	font-size: 0.9375rem;
	line-height: 1.6;
	white-space: pre-wrap;
	word-wrap: break-word;
	overflow: auto;
}

q {
	quotes: '“' '”' '‘' '’';
}

sup {
	vertical-align: -0.25em;
}



/*---------------------------------------
　WP基本クラス類
---------------------------------------*/

/* 先頭固定記事クラス */

.sticky {
	padding: 16px;
	position: relative;
	background: #f5f5f5;
}

/* コメント関連 */

.bypostauthor {
	padding: 2px;
	/* 管理人コメントクラス */
	border: 1px solid #333;
}

/* スクリーンリーダー用テキストクラス*/
.screen-reader-text {
	width: 1px;
	height: 1px;
	position: absolute;
	clip: rect(1px, 1px, 1px, 1px);
}

/* ページ編集リンククラス */

.post-edit-link {
	text-align: center;
	display: block;
	clear: both;
}

/* 画像ギャラリー */

.gallery {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;

	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;

	margin-bottom: 16px;
}

.gallery-columns-2 > figure {
	width: 49%;
	margin-right: 2%;
}

.gallery-columns-3 > figure {
	width: 32%;
	margin-right: 2%;
}

.gallery-columns-4 > figure {
	width: 24.25%;
	margin-right: 1%;
}

.gallery-columns-5 > figure {
	width: 19.2%;
	margin-right: 1%;
}

.gallery-columns-6 > figure {
	width: 15.83%;
	margin-right: 1%;
}

.gallery-columns-7 > figure {
	width: 13.42%;
	margin-right: 1%;
}

.gallery-columns-8 > figure {
	width: 12.0625%;
	margin-right: 0.5%;
}

.gallery-columns-9 > figure {
	width: 10.66%;
	margin-right: 0.5%;
}

.gallery-columns-2 > figure:nth-child(2n),
.gallery-columns-3 > figure:nth-child(3n),
.gallery-columns-4 > figure:nth-child(4n),
.gallery-columns-5 > figure:nth-child(5n),
.gallery-columns-6 > figure:nth-child(6n),
.gallery-columns-7 > figure:nth-child(7n),
.gallery-columns-8 > figure:nth-child(8n),
.gallery-columns-9 > figure:nth-child(9n) {
	margin-right: 0;
}

.gallery > figure:last-child,
.gallery-columns-2 > figure:nth-last-child(2),
.gallery-columns-3 > figure:nth-last-child(2),
.gallery-columns-3 > figure:nth-last-child(3),
.gallery-columns-4 > figure:nth-last-child(2),
.gallery-columns-4 > figure:nth-last-child(3),
.gallery-columns-4 > figure:nth-last-child(4),
.gallery-columns-5 > figure:nth-last-child(2),
.gallery-columns-5 > figure:nth-last-child(3),
.gallery-columns-5 > figure:nth-last-child(4),
.gallery-columns-5 > figure:nth-last-child(5),
.gallery-columns-6 > figure:nth-last-child(2),
.gallery-columns-6 > figure:nth-last-child(3),
.gallery-columns-6 > figure:nth-last-child(4),
.gallery-columns-6 > figure:nth-last-child(5),
.gallery-columns-6 > figure:nth-last-child(6),
.gallery-columns-7 > figure:nth-last-child(2),
.gallery-columns-7 > figure:nth-last-child(3),
.gallery-columns-7 > figure:nth-last-child(4),
.gallery-columns-7 > figure:nth-last-child(5),
.gallery-columns-7 > figure:nth-last-child(6),
.gallery-columns-7 > figure:nth-last-child(7),
.gallery-columns-8 > figure:nth-last-child(2),
.gallery-columns-8 > figure:nth-last-child(3),
.gallery-columns-8 > figure:nth-last-child(4),
.gallery-columns-8 > figure:nth-last-child(5),
.gallery-columns-8 > figure:nth-last-child(6),
.gallery-columns-8 > figure:nth-last-child(7),
.gallery-columns-8 > figure:nth-last-child(8),
.gallery-columns-9 > figure:nth-last-child(2),
.gallery-columns-9 > figure:nth-last-child(3),
.gallery-columns-9 > figure:nth-last-child(4),
.gallery-columns-9 > figure:nth-last-child(5),
.gallery-columns-9 > figure:nth-last-child(6),
.gallery-columns-9 > figure:nth-last-child(7),
.gallery-columns-9 > figure:nth-last-child(8),
.gallery-columns-9 > figure:nth-last-child(9) {
	margin-bottom: 0;
}


/*---------------------------------------
 wpウィジェット類
---------------------------------------*/

/* カレンダーウィジェット */

.calendar_wrap { margin: 8px; }

.wp-calendar-table { width: 100%; }

.wp-calendar-table caption {
	font-size: 1.0625em;
	font-weight: 700;
	margin-bottom: 0.3em;
}

.wp-calendar-table tbody td,
.wp-calendar-table .pad {
	text-align: center;
}

.wp-calendar-table tbody tr:not(:last-child) td {
	border-bottom: 1px solid #ccc;
}

.wp-calendar-table thead tr:last-child th {
	border-bottom: 1px solid #ccc;
}

.wp-calendar-table tfoot td {
	border-top: 1px solid #ccc;
}

.wp-calendar-table tfoot td:last-child {
	text-align: right;
}


/*---------------------------------------
　コメント設定
---------------------------------------*/

.comments-area {
	margin-top: 40px;
	padding: 16px;
	padding-top: 40px;
	border-top: 3px solid #ccc;
	background: #f5f5f5;
}

.comments-title,
.comment-reply-title {
	font-size: 22px;
	font-size: 1.37rem;
}

.commentlist {
	margin: 0 0 0;
	padding-left: 0;
}

.commentlist,
.commentlist ol {
	list-style: none;
}

.commentlist > li {
	counter-increment: wpp-list-a;
}

.commentlist > li:before {
	content: counter( wpp-list-a );
}

.commentlist > li > ol > li {
	counter-increment: wpp-list-b;
}
.commentlist > li > ol > li:before {
	content: counter( wpp-list-b );
}

.commentlist > li > ol > li > ol > li {
	counter-increment: wpp-list-c;
}
.commentlist > li > ol > li > ol > li:before {
	content: counter( wpp-list-c );
}

.commentlist > li > ol > li > ol > li > ol > li {
	counter-increment: wpp-list-d;
}

.commentlist > li > ol > li > ol > li > ol > li:before {
	content: counter( wpp-list-d );
}

.commentlist > li > ol > li > ol > li > ol > li > ol > li {
	counter-increment: wpp-list-e;
}

.commentlist > li > ol > li > ol > li > ol > li > ol > li:before {
	content: counter( wpp-list-e );
}

.commentlist li:before,
.commentlist li:after {
	content: '';
	display: table;
	clear: both;
}


.commentlist li:before {
	font-size: 1.25em;
	line-height: 1.6;
	margin: 0 0.2em 0 0;
	display: block;
	float: left;
}


.commentlist .comment-body {
	margin-bottom: 1em;
	padding-bottom: 1em;
	overflow: hidden;
	border-bottom: 1px dotted #ccc;
}

.comment-author {
	font-size: 18px;
	font-size: 1.125rem;
}

.avatar {
	margin: 0 1em 0 0;
	float: right;
}

.reply,
.form-submit {
	text-align: right;
}

.required {
	color: #f00;
}
