/*投稿フロント用CSS*/
.entry_content{
	font-size: 15px;
	color: #434343;
}
.entry_content p{
	margin-bottom: 35px;
	line-height: 2;
}
.entry_content img{
	max-width: 100% !important;
	height: auto;
	margin-bottom: 30px;
}
.entry_content p img{
	margin-bottom: 0;
}
.entry_content a img{
	transition: all 0.4s;
}
.entry_content a:hover img{
	opacity: 0.7;
	transition: all 0.4s;
}

/*見出し*/
.entry_content h3{
	margin-bottom: 30px !important;
	line-height: 1.6 !important;
	border-left: 4px solid #2f63b9;
	padding: 5px 0 8px 15px;
	font-weight: 500;
}
.entry_content h4{
	margin-bottom: 30px !important;
	font-weight: 500;
}
.entry_content h3 a,
.entry_content h4 a{
	color: #000;
	text-decoration: none;
}
.entry_content h3{ font-size: 2.2rem; }
.entry_content h4{ font-size: 2rem; }

/*リスト*/
.entry_content ol,
.entry_content ul{
	margin: 0 0 30px 20px !important;
	padding: 0;
	line-height: 2;
}
.entry_content li > ul,
.entry_content li > ol{
	margin-bottom: 0　!important;
}
.entry_content li{
	list-style: inherit !important;
}

/*テーブル*/
.entry_content table{
	margin-bottom: 20px;
	width: 100%;
}
.entry_content th,
.entry_content td {
	border: 1px solid #ccc;
	line-height: 1.6;
	width: auto !important;
}
.entry_content th{
	background: #eee;
}
.entry_content th,
.entry_content caption {
	font-weight: normal;
	border: 1px solid #ccc;
	padding: 8px 10px !important;
	text-align: left;
	vertical-align: middle;
}
.entry_content table td{
	border: 1px solid #ccc;
	padding: 8px 10px !important;
	vertical-align: middle;
}
.entry_content th p,
.entry_content td p{
	margin-bottom: 0 !important;
}

/*引用*/
blockquote {
	background: #f5f5f5;
	color: #777;
	font-style: italic;
	line-height: 1.8 !important;
	margin:0 0 20px 0 !important;
	overflow: hidden;
	padding: 20px;
}

blockquote p{ color: #777; }
blockquote p:last-child{ margin-bottom: 0 !important; }
blockquote:before,
blockquote:after {
	content: "";
	display: table;
}
blockquote:after { clear: both; }
blockquote strong,
blockquote b {
	font-weight: bold;
}
blockquote cite,
blockquote small{
	color: #1a1a1a;
	line-height: 1.8;
}
blockquote em,
blockquote i,
blockquote cite {
	font-style: normal;
}

/*iframe*/
.entry_content iframe{
	width: 100% !important;
}

/*水平線*/
.entry_content　hr{
	background-color: #959595 !important;
	border: 0;
	height: 1px;
	margin-bottom: 10px !important;
}

/*配置*/
.alignleft{ float: left; }
.alignright{ float: right; }
.aligncenter{
	clear: both;
	display: block;
	margin-right: auto;
	margin-left: auto;
}

@media screen and (max-width: 768px){

	.entry_content{
		font-size: 15px;
	}
	.entry_content p{
		line-height: 1.8;
		margin-bottom: 20px;
	}
	.entry_content ol,
	.entry_content ul{
		margin: 0 0 20px 20px !important;
		line-height: 1.8;
	}
	.entry_content h3{ font-size: 2rem; }

	.entry_content th,
	.entry_content caption {
		min-width: inherit;
	}

}/*END*/

@media screen and (max-width: 599px){

	.entry_content{
		font-size: 14px;
	}
	.entry_content h3{ font-size: 1.8rem; }


}/*END*/


/*----------------------------------------
	ギャラリー
----------------------------------------*/

.gallery{
	margin-bottom: 40px !important;
}
.gallery br{
	display: none;
}
.gallery-item{
	float: none !important;
	position: relative;
	width: auto !important;
	margin-top: 0 !important;
}
.gallery-icon{
	width: 100%;
	aspect-ratio: 1/1;
	background: #eee;
	overflow: hidden;
}
.gallery-icon img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	border: none !important;
	margin-bottom: 0 !important;
}
.gallery-icon a{
	display: block;
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 100%;
}
.entry_content .gallery-item:hover{
	opacity: 0.7;
}

.gallery-columns-1{
	width: 100%;
}
.gallery-columns-2{
	display: grid;
	grid-template-columns: repeat(2,1fr);
	gap: 20px;
}
.gallery-columns-3{
	display: grid;
	grid-template-columns: repeat(3,1fr);
	gap: 20px;
}
.gallery-columns-4{
	display: grid;
	grid-template-columns: repeat(4,1fr);
	gap: 20px;
}
.gallery-columns-5{
	display: grid;
	grid-template-columns: repeat(5,1fr);
	gap: 15px;
}
.gallery-columns-6{
	display: grid;
	grid-template-columns: repeat(6,1fr);
	gap: 15px;
}
.gallery-columns-7{
	display: grid;
	grid-template-columns: repeat(7,1fr);
	gap: 15px;
}
.gallery-columns-8{
	display: grid;
	grid-template-columns: repeat(8,1fr);
	gap: 10px;
}
.gallery-columns-9{
	display: grid;
	grid-template-columns: repeat(9,1fr);
	gap: 10px;
}
.gallery-caption{
	padding-top: 8px;
	font-size: clamp(1.2rem, 1.36vw, 1.4rem);
	color: #333;
	line-height: 1.4;
}