/*投稿フロント用CSS*/

.entry_content p{
	margin-bottom: 1.8rem;
	line-height: 2;
}
.entry_content img{
	max-width: 100% !important;
	height: auto;
	margin-bottom: 20px;
}
.entry_content p img{
	margin-bottom: 0;
}

/*見出し*/
.entry_content h2{
	margin-bottom: 40px !important;
	line-height: 1.6 !important;
}
.entry_content h3,
.entry_content h4,
.entry_content h5{
	margin-bottom: 18px !important;
	line-height: 1.6 !important;
}
.entry_content h2 a,
.entry_content h3 a,
.entry_content h4 a,
.entry_content h5 a{
	color: #000;
	text-decoration: none;
}
.entry_content h2 a:hover,
.entry_content h3 a:hover,
.entry_content h4 a:hover,
.entry_content h5 a:hover{
	color: #555;
}
.entry_content h2{ font-size: 3rem; }
.entry_content h3{ font-size: 2.6rem; }
.entry_content h4{ font-size: 2.2rem; }
.entry_content h5{ font-size: 1.8rem; }

/*リスト*/
.entry_content ol,
.entry_content ul{
	margin: 0 0 20px 20px !important;
	padding: 0;
	line-height: 1.8;
}
.entry_content　li > ul,
.entry_content　li > ol{
	margin-bottom: 0!important;
}
.entry_content ul li{
	list-style: inherit;
}
/*テーブル*/
.entry_content table{
	margin-bottom: 20px;
	width: 100%;
}
.entry_content th,
.entry_content td {
	border: 1px solid #ccc;
	line-height: 1.6;
}
.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 {
	border-left: 4px solid #999;
	color: #777;
	font-style: italic;
	line-height: 1.8 !important;
	margin:0 0 15px 0 !important;
	overflow: hidden;
	padding: 5px 0 5px 10px;
}

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{
	max-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 h2{ font-size: 2.0rem; }
	.entry_content h3{ font-size: 1.8rem; }
	.entry_content h4{ font-size: 1.7rem; }
	.entry_content h5{ font-size: 1.6rem; }
	.entry_content h2,
	.entry_content h3,
	.entry_content h4,
	.entry_content h5{
		margin-bottom: 10px !important;
	}

}/*END*/



/*----------------------------------------
	　ギャラリー　
----------------------------------------*/
.entry_frame .gallery {
	display: flex;
	flex-wrap: wrap;
}

.entry_frame .gallery-item:hover {
	opacity: 0.7;
}
.gallery-columns-1 .gallery-item {
	width: 100%;
	margin-bottom: 4%;
}

.gallery-columns-2 {
	margin-left: -3%;
}

.gallery-columns-2 .gallery-item {
	width: 47%;
	margin-left: 3%;
	margin-bottom: 4%;
}

.gallery-columns-3 {
	margin-left: -3%;
}

.gallery-columns-3 .gallery-item {
	width: 30%;
	margin-left: 3%;
	margin-bottom: 4%;
}

.gallery-columns-4 {
	margin-left: -3%;
}

.gallery-columns-4 .gallery-item {
	width: 22%;
	margin-left: 3%;
	margin-bottom: 4%;
}

.gallery-columns-5 {
	margin-left: -3%;
}

.gallery-columns-5 .gallery-item {
	width: 17%;
	margin-left: 3%;
	margin-bottom: 4%;
}

.gallery-columns-6 {
	margin-left: -3%;
}

.gallery-columns-6 .gallery-item {
	width: 13.66%;
	margin-left: 3%;
	margin-bottom: 4%;
}

.gallery-columns-7 {
	margin-left: -2%;
}

.gallery-columns-7 .gallery-item {
	width: 12.28%;
	margin-left: 2%;
	margin-bottom: 4%;
}

.gallery-columns-8 {
	margin-left: -2%;
}

.gallery-columns-8 .gallery-item {
	width: 10.5%;
	margin-left: 2%;
	margin-bottom: 4%;
}

.gallery-columns-9 {
	margin-left: -2%;
}

.gallery-columns-9 .gallery-item {
	width: 9.1%;
	margin-left: 2%;
	margin-bottom: 4%;
}



.gallery-icon a {
	display: block;
	position: relative;
	overflow: hidden;
	background: #eee;
	width: 100%;
	padding: 100% 0 0;
}

/*
.gallery-icon{
	position: relative;
	overflow: hidden;
	background: #eee;
	width: 100%;
	padding: 100% 0 0;
}
*/
.gallery-item img {
	object-fit: cover;
	height: 100%;
	width: 100%;
	position: absolute;
	left: 50%;
	top: 50%;
	-webkit-transform: translate3d(-50%, -50%, 0);
	-ms-transform: translate3d(-50%, -50%, 0);
	transform: translate3d(-50%, -50%, 0);
}


.entry_frame figcaption {
	font-size: 1.5rem;
	line-height: 1.5;
	padding: 8px 0 0 0;
}


/* 追加 */
.entry_content {
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.entry_content a{
	overflow-wrap: break-word;
}
