/* 詳細内容表示 */
.entry{
    font-weight:400;
	font-size:18px;
	line-height:34px;
}
.entry.under{
	font-size: 17px;
	font-weight: 700;
	line-height: 36px;
}
.entry sub,.entry sub *{ vertical-align:sub; }
.entry sup,.entry sup *{ vertical-align:super; }
.entry sub,.entry sub *,
.entry sup,.entry sup *{
	font-size:70%;
}
.entry h1,.entry h1 *,
.entry h2,.entry h2 *,
.entry h3,.entry h3 *,
.entry h4,.entry h4 *,
.entry h5,.entry h5 *,
.entry h6,.entry h6 *{
	font-weight:bold;
	letter-spacing:2px;
	line-height:150%;
}
.entry h1,.entry h1 * { font-size:30px;}
.entry h2,.entry h2 * { font-size:24px;}
.entry h3,.entry h3 * { font-size:20px;}
.entry h4,.entry h4 * { font-size:18px;}
.entry h5,.entry h5 * { font-size:16px;}
.entry h6,.entry h6 * { font-size:14px;}
.entry ul,.entry ul li { list-style:disc outside none; margin-left:20px; }
.entry ol,.entry ol li { list-style:decimal outside; margin-left:20px; }


.entry h2{
	font-size: 26px;
	line-height: 50px;
	padding: 12px 0 18px;
	padding-left: 22px;
	background-color: #253038;
	color: #fff;
}
.entry h3{
	font-size: 26px;
	padding-left: 20px;
	line-height: 50px;
	border-left: solid 6px #6eb82b;
}

.entry p + h2{
    margin-top: 30px !important;
}
.entry h2 + p,
.entry h2 + .wp-block-image{
    margin-top: 30px !important;
}

.entry p + h3{
    margin-top: 30px !important;
}
.entry h3 + p,
.entry h3 + .wp-block-image{
    margin-top: 15px !important;
}

.entry p + h4{
    margin-top: 30px !important;
}
.entry h4 + p,
.entry h4 + .wp-block-image{
    margin-top: 15px !important;
}

.entry p + h5{
    margin-top: 30px !important;
}
.entry h5 + p,
.entry h5 + .wp-block-image{
    margin-top: 10px !important;
}

.entry p + h6{
    margin-top: 30px !important;
}
.entry h6 + p,
.entry h6 + .wp-block-image{
    margin-top: 5px !important;
}

.wp-block-image,
.wp-block-embed{
    margin-top: 1em !important;
}

.entry div.photo_left {
	width:100%;
	text-align:left;
}
.entry div.photo_center {
	width:100%;
	text-align:center;
}
.entry div.photo_right {
	width:100%;
	text-align:right;
}
.entry div.photo_fleft {
	float:left;
	padding:0px 50px 0px 0px;
}
.entry div.photo_fright {
	float:right;
	padding:0px 0px 0px 60px;
}
.entry blockquote{
	margin:10px 0 10px 50px;
	padding:1em 1em 1em 2em;
	border-left:7px solid #ccc;
	font-style:oblique;
}
.entry img{
	width:auto;
	height:auto;
	max-width:100%;
	max-height:100%;
}
.entry a{
    color: #3499c3;
    text-decoration: underline !important;
}
@media only screen and (max-width:767px){
	.entry{
		font-size:15px;
		line-height:30px;
	}
	.entry h1,.entry h1 *{ font-size:22px;}
	.entry h2,.entry h2 *{ font-size:20px;}
	.entry h3,.entry h3 *{ font-size:18px;}
	.entry h4,.entry h4 *{ font-size:16px;}
	.entry h5,.entry h5 *{ font-size:14px;}
	.entry h6,.entry h6 *{ font-size:12px;}
	.entry div.photo_fleft{
		float:none;
		padding:0 0 10px;
		text-align: center;
	}
	.entry div.photo_fright{
		float:none;
		padding:0 0 10px;
		text-align: center;
	}
	.entry h3{
		font-size: 16px;
		padding-left: 0;
		line-height: 26px;
		border-left: 0;
	}
	.entry h2{
		font-size: 16px;
		line-height: 30px;
		padding: 8px 0 12px;
		padding-left: 20px;
	}
	.entry.under{
		font-size: 12px;
		line-height: 26px;
	}
}

.entry span.background-color{
    opacity: 0;
}

/* 目次用 */
#toc_container{
    max-width: 800px !important;
	width: 100% !important;
    margin: 10px auto 50px !important;
    padding: 30px 50px !important;
}
#toc_container p.toc_title{
    font-size: 20px;
    padding: 0 0 20px !important;
    border-bottom: 1px solid #aaa;
}
#toc_container ul ul{
    margin-left: 0 !important;
}
#toc_container .toc_list li{
    font-size: 15px;
    position: relative;
    padding-left: 1.3em;
}
#toc_container .toc_list li::before{
    content: "└ ";
    position: absolute;
    top: 0;
    left: 0;
}
#toc_container .toc_list > li{
    padding-left: 1em;
}
#toc_container .toc_list > li::before{
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    background: #253038;
    top: 12px;
}
#toc_container a{
    color: #3499c3;
    text-decoration: underline !important;
}
@media only screen and (max-width:767px){
    #toc_container{
        width: 100% !important;
        margin: 10px auto 20px !important;
        padding: 15px 20px !important;
    }
    #toc_container p.toc_title{
        font-size: 16px;
        padding: 0 0 10px !important;
    }
    #toc_container .toc_list li{
        font-size: 13px;
    }
}

/* エディタ用 */
.wp-block-embed-youtube{
    display: flex;
}
.wp-block-embed-youtube.alignleft{
    justify-content: flex-start;
}
.wp-block-embed-youtube.aligncenter{
    justify-content: center;
}
.wp-block-embed-youtube.alignright{
    justify-content: flex-end;
}
.wp-block-embed-youtube .wp-block-embed__wrapper{
    position: relative;
    width: 800px;
    height: 450px;
}
.wp-block-embed-youtube iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}
@media only screen and (max-width:900px){
    .wp-block-embed-youtube .wp-block-embed__wrapper{
        position: relative;
        width: 100%;
        height: 0;
        padding-top: 56.25%;
    }
}

.entry table{
    margin: 1em 0;
}
.entry table th,
.entry table td{
    border:solid 1px #000;
    padding: 10px;
}
@media only screen and (max-width:767px){
    .entry table th,
    .entry table td{
        padding: 5px;
    }
}

/* wordpress対応 */
.entry .aligncenter {
	display: block;
	margin-right: auto;
	margin-left: auto;
}
.entry .alignright {
	float: right;
	margin-bottom: 20px;
	margin-left: 20px;
}
.entry .alignleft {
	float: left;
	margin-right: 20px;
	margin-bottom: 20px;
}
.entry .wp-caption,
[class*='wp-image'] {
	display: block;
	max-width: 100% !important;
	margin-top: 1.5em;
	text-align: center;
}
.entry .wp-caption-text {
	margin-top: 0;
}