/*
Theme Name: GENSEN Child
Theme URI: https://tcd-theme.com/tcd050
Template: gensen_tcd050
Author: TCD
Author URI: https://tcd-theme.com/
Description: WordPress theme "GENSEN" create a portal site with an advanced search function. The top page header can be used as an ad space for sponsors, or you can feature a close-up view of the sites that are listed.
Version: 2.1.1.0
Updated: 2025-08-07 00:00:00


/* ----------------------------------------
テキスト整形
 ----------------------------------------*/
/* text and headline */
#article p { line-height: 1.75; margin-bottom: 2em !important; }
#article h1, #article h2, #article h3, #article h4, #article h5, #article h6 { clear: none !important; line-height: 1.4 !important; margin-bottom: 24.2px !important; font-weight: bold !important; }
#article h1 { font-size: 250% !important; }
#article h2 { font-size: 200% !important; }
#article h3 { font-size: 150% !important; }
#article h4 { font-size: 100% !important; }
#article h5 { font-size: 100% !important; }
#article h6 { font-size: 100% !important; }

@media  (max-width: 767px) {
	#article h1 { font-size: 200% !important; }
	#article h2 { font-size: 175% !important; }
	#article h3 { font-size: 135% !important; }
	#article h4 { font-size: 100% !important; }
	#article h5 { font-size: 100% !important; }
	#article h6 { font-size: 100% !important; }
}
/* 記事本文 */
.post_content { font-size:16px !important; text-align: justify;}



/* ----------------------------------------
画像・キャプション調整
 ----------------------------------------*/
.content .aligncenter, .content .alignleft {
	display: table !important;
}
.content p::after {
	clear: unset !important;
}
.wp-block-image {
	margin-top: 1rem !important;
}
.wp-block-image .aligncenter>figcaption, .wp-block-image .alignleft>figcaption, .wp-block-image .alignright>figcaption, .wp-block-image.is-resized>figcaption {
	line-height: 1.3 !important;
}
#article .aligncenter {
	display: table !important;
}
.wp-block-image .wp-element-caption {
	margin: 5px 0 1.5rem;
	text-align: center;
	line-height: 1.3;
	font-size: 0.9rem;
}


/* ----------------------------------------
hr調整
 ----------------------------------------*/
hr {
	display: block !important;
	height: 1px !important;
	border: 0 !important;
	border-top: 1px solid #999 !important;
	margin: 2rem auto !important;
	padding: 0 !important;
	width: 150px !important;
	text-align: center !important;
}


/* ----------------------------------------
トップボタン
 ----------------------------------------*/
.mybtn {
	margin-top: -80px;
	text-align: center;
}
.mybtn a{
	color: #fff !important;
	display: inline-block;
	padding: 0 42px;
	min-width: 114px;
	line-height: 50px;
	text-decoration: none;
	color: #fff;
	background: #aaa;
	position: relative;
	-webkit-transition-property: background-color, color, border-color;
	-webkit-transition-duration: 0.2s;
	-webkit-transition-timing-function: ease;
	-moz-transition-property: background-color, color, border-color;
	-moz-transition-duration: 0.2s;
	-moz-transition-timing-function: ease;
	-ms-transition-property: background-color, color, border-color;
	-ms-transition-duration: 0.2s;
	-ms-transition-timing-function: ease;
	-o-transition-property: background-color, color, border-color;
	-o-transition-duration: 0.2s;
	-o-transition-timing-function: ease;
	transition-property: background-color, color, border-color;
	transition-duration: 0.2s;
	transition-timing-function: ease;
}
.mybtn a:hover {
	text-decoration: none !important;
	background-color: #b69e84;
}
.mybtn a:after {
	content: '\e910';
	font-family: 'design_plus';
	line-height: 1;
	margin-top: -0.5em;
	position: absolute;
	top: 50%;
	right: 14px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

@media only screen and (max-width: 767px){
	.mybtn {
		margin-top: -24px;
	}
	.mybtn a {
		display: inline-block;
		padding: 0 30px;
		min-width: 100px;
		line-height: 40px;
		text-decoration: none;
		color: #fff;
		background: #aaa;
		position: relative;
	}
}