/*
Theme Name: eases5-child
Template: eases5
Description: おおいた相続相談センター 様
*/
/* 初期設定 ----------------------------------------------------------------------------------- */
:root {
	--es-wrap-max-width: 1024px;
	--es-main-max-width: 720px;
	--es-side-max-width: 330px;
	--es-main-font-color: #555;
	--es-primary-color: #198a4d;
	--es-secondary-color: #c1c1c1;
	--es-header-color: rgba(32, 32, 32, 0);
	--es-header-font-color: #4c3f29;
	--es-side-color: rgba(32, 32, 32, 0);
	--es-side-font-color: #555;
	--es-side-a-color: #555;
	--es-footer-color: #074736;
	--es-footer-font-color: white;
	--es-header-hmg-color: white;
	--es-mobile-menu-color: #335b22;
}

ul, ol {
	padding: 0; }

/* contents ------------------------------------------------------------------------------------- */

/* ■ h2 - h5
-------------------------------------------------------------- */
#main h2 {
	margin: 0 auto 20px;
	padding: 5px 20px!important;
	background-color: #808670;
	box-shadow: 0px 0px 3px 2px #b0b0b0;
	color: white;
	text-decoration: none;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.3); }

#footer h2 { font-size: 2.2rem; }

#main h3 {
	margin: 0 auto 20px;
	padding: 5px 20px!important;
	border-bottom: 3px solid var( --es-primary-color );
	text-decoration: none;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.3); }

#main h3 {
  font-weight:bold;
  font-size:120%;  
  color:#000000;  
  background-color: #97ca8e;
  line-height: 44px;/*hタグの高さ*/
  padding-left:20px;  
  padding-bottom:16px; 
}
#main h4 {
  font-weight:bold;
  font-size:120%;  
  color: #000000;
  background-color: #dae8d8;
  line-height: 36px;/*hタグの高さ*/
  padding-left:20px;
  margin-bottom:16px; 

}
#main h5{
  font-size:110%;
  height:auto;
  line-height:33px;
  font-weight:bold;
  color: #084423;  
  margin-bottom:16px; 

}
#main h6 {
  font-size:100%;
  padding-left:1em;
  font-weight:bold;
}

/* レイアウト
-------------------------------------------------------------- */
#pagebody{
flex-direction: row-reverse;}

.title span{
	color: #555;
	font-size: 0.8em;
}

.wp-block-image .alignleft {
	display: block;
    float: none;
    text-align: center; }
	@media screen and (min-width: 500px) {
		.wp-block-image .alignleft {
			display: inline;
    		float: left;
    		text-align: left; } }

#wrap {
	margin: 0;
	padding: 0; }

#header {
	border-top: 13px solid var(--es-primary-color);
	text-align: center; }
	@media screen and (min-width: 600px) {
		#header { text-align: left; } }

.hgroup .information a:hover { background-color: #f0d88e; }



#image-area {
	max-width: var( --es-wrap-max-width );
	margin: 0 auto;
	padding: 10px 20px 0; }

#image-area p {
	margin: 0 0 30px;
	color: #198a4d;
	color: #198a4d;
	font-size: 2rem;
	font-weight:bold;
	line-height: 1.5; }

#globalnavi {
	margin-bottom: 40px;
	background-color: var( --es-secondary-color ); }

#globalnavi ul {
	width: 100%;
	max-width: var( --es-wrap-max-width );
	margin: 0 auto; }

#globalnavi li {
	width: 20%;
	background-color: var( --es-secondary-color );
	font-size: 1.4rem; }

#globalnavi li a {
	display: block;
	width: 100%;
	padding: 15px 0; }

#globalnavi li a:hover {
	background-color: var( --es-primary-color ); }

#globalnavi li.current-menu-item a {
	background-color: var( --es-primary-color ); }

#pagebody .inner { 
	max-width: var( --es-wrap-max-width );
	margin: 0 auto 40px; }
	@media screen and (min-width: 768px) {
		#pagebody .inner {
			display: flex;
			justify-content: space-between; } }

#sidebar .menu a {
    display: block;
	margin: 3px;
    padding: 5px 20px;
    background-color: #f2eed1;
    color: #555; }

#sidebar .menu a:hover a:active{
    display: block;
    background-color: #198a4d;
    color: #fff;
    box-shadow: 0 3px 5px #999999;
    transform: translate(0, -5px); }

#sidebar .menu a:active{
    color: #fff; }

#sidebar .menu a:active { color: white; }

#main {  }
	@media screen and (min-width: 768px) {
		#main {
			max-width: var(	--es-main-max-width );
			margin: 0 20px; } }

#sidebar { display: none; }
	@media screen and (min-width: 768px) {
		#sidebar {
			display: block;
			max-width: var(	--es-side-max-width ); } }

.link-banner { margin-left: 10px; }
	@media screen and (min-width: 768px) {
		.link-banner { margin-left: 0; } }

.link-banner li {
	margin-bottom: 10px; }

#footer { padding: 40px 0 20px; }

#footer .inner {
	max-width: var( --es-wrap-max-width );
	margin: 0 auto;
	padding-left: 3em; }

#wrap .inner > footer .inner section {
	display: flex;
	flex-direction: column-reverse; }
	@media screen and (min-width: 768px) {
		#wrap .inner > footer .inner > section {
			flex-direction: row;
			align-items: flex-start; } }

footer .inner > section section:nth-child(1) { margin: 0; }
footer .inner > section section:nth-child(2) { margin: 0; }
	@media screen and (min-width: 400px) {
		footer .inner > section section:nth-child(1) { width: 100%; }
		footer .inner > section section:nth-child(2) { width: 100%; } }
	@media screen and (min-width: 768px) {
		footer .inner > section section:nth-child(1) { width: 100%; }
		footer .inner > section section:nth-child(2) { width: 100%; } }
	@media screen and (min-width: 1024px) {
		footer .inner > section section:nth-child(1) { width: 100%; }
		footer .inner > section section:nth-child(2) { width: 100%; } }
		
#footer #block-27 { display: none; }
	@media screen and (min-width: 768px) {
		#footer #block-27  {
			display: block;} }

th {
	background-color: #f0f0f1;
	font-weight: bold;
}

@media screen and (min-width: 768px){
.hgroup .information{
	width: 40%;
	margin-top: 20px;
}}

@media screen and (min-width: 768px){
.title h1 span:nth-child(1) {
    font-size: 0.6em;
}}

@media screen and (min-width: 768px){
.title h1 span:nth-child(2) {
	margin-top: 5px;
}}
@media screen and (min-width: 768px){
.title h1 a {
	display:flex;
	flex-flow: column;
}}

/*削除されたcss*/
.title {
	width: 100%;
	display: flex;
	align-items: center; }
@media screen and (min-width: 768px) {
	.title { width: 50%; } }

#header .hgroup img.logo_img {
	max-width: 100px;
	height: 33px!important; }
	@media screen and (min-width: 430px) {
		#header .hgroup img.logo_img { height: 40px!important; } }
	@media screen and (min-width: 768px) {
		#header .hgroup img.logo_img { height: 45px!important; } }
	@media screen and (min-width: 1024px) {
		#header .hgroup img.logo_img { height: 60px!important; } }

#header .hgroup .logo-h1 {
	display: flex;
    align-items: center; }

#header .hgroup .logo-h1 h1 span { display: inline-block; }

.hgroup .information img { width: 100%; }

.navi-contents { background-color: #eee; }
	@media screen and (max-width: 1000px) {
		.navi-contents { height: calc( 100dvh - 70px ); }
		.sp-menu #drawer-close { height: calc( 100dvh - 70px ); } }


/* コンテンツ
-------------------------------------------------------------- */

#main {
	padding: 0 10px;
}

#main p{
	padding: 0 10px;
}
@media screen and (min-width: 768px){
#main p{
	padding: 0 20px;
}
}

#main p.covid‑19 {
	margin-bottom: 40px;
	border: 1px solid #e32076; }



.wp-block-image .alignleft {
	display: block;
    float: none;
    text-align: center; }
	@media screen and (min-width: 500px) {
		.wp-block-image .alignleft {
			display: inline;
    		float: left;
    		text-align: left; } }

.wp-block-image figcaption { font-size: 1.4rem; }

.wp-block-image .alignleft>figcaption { display: block; }

.wp-block-table,.wp-block-flexible-table-block-table { margin: 0 1em 2em; }

.wp-block-button a:hover {
    color: #555!important; }

.wp-block-button a::after {
    background: var(--es-secondary-color); }

table { font-size: 1.6rem; }

form p img,
.link-anime img { vertical-align: baseline; }

.nayami li {
    padding-left: 28px;
    background-image: url(http://oita-souzoku-center.jp/ews/uploads/2022/11/hatena1.gif);
    background-repeat: no-repeat;
    list-style: none;}
	
.wp-block-group__inner-container{
	padding-left: 0;
	padding-right: 0;}

.wp-block-group {
    margin-bottom: 10px;
	padding: 20px 0;
}
/* リストスタイル */
#main #page ul {
	list-style-type: disc;
	margin: 0 0 10px 10px; }

	
/* お問い合わせ */
.wpcf7 {
	width: 100%;
	max-width: 600px;
	margin: 0 auto; }

.contact input,
.contact textarea {
	width: 100%; }

input[type="submit"] {
	display: block;
	width: 170px;
	margin: 0 auto;
	padding: 15px; }

input[type="submit"]:hover {
	background-color: var(--es-primary-color)!important;
}

/* ブログ */
.post-categories ul span[class*="label-"], .post-categories ul a[class*="label-"]{
	border:none;
	background-color: #FE7316;
}
.profile{
	font-size: 15px;
}

.post-footer {
	text-align: center;
	}
#comment{
	width: 90%;
	margin: 0 auto;
}

#index-page,#single-page{
	padding: 0 1em;

}
/* サイドバー */
.navi-contents,.navi-contents figcaption{
    color: #fff;
}

#sidebar .menu li.current_page_item a {
    color: #fff;
	background-color: rgba( 51, 91, 34, 1 );
}


/* ■ スマホ用フッター固定メニューにサイドバーボタン追加
-------------------------------------------------------------- */
.mobile-menu-btn2 {
	display: flex;
	align-items: center;
	flex-direction: column;
	width: 100%;
	font-size: 10px;
	color: var( --es-primary-color );
	line-height: 1.2;
	text-align: center; }

.mobile-menu ul > .mobile-menu-hbg2 {
	display: flex;
	align-items: center;
	flex-direction: column;
	width: 100%;
	line-height: 1.2; }

.mobile-menu-btn2 a,
.mobile-menu-hbg2 a {
	display: block;
	text-decoration: none; }

.mobile-menu-btn2 span,
.mobile-menu-hbg2 > span {
	display: block;
	font-size: 10px;
	color: var( --es-primary-color ); }

.icon-home:before {
	content: "\e90a";
	font-size: 2.8rem; }
	
.icon-tel:before {
    content: "\e907";
    font-size: 2.8rem;}

.icon-up:before {
	content: "\e91c";
	font-size: 2.8rem; }
	
.sub-menu {
	margin-left: 20px;
}
.mobile-menu-hbg2 .menu-side_menu-container { display: none; }
.mobile-menu-hbg2 .point-menu { display: none; }


/* :::::: toggle button :::::: */
#drawer-checkbox2 {
	display: none; }

#drawer-icon2 {
	cursor: pointer;
	display: inline-block;
	height: 26px;
	position: relative;
	width: 26px; }

#drawer-icon2 span {
	background: var( --es-mobile-menu-color );
	border-radius: 4px;
	display: block;
	height: 16%;
	right: 0;
	margin: -8% 0 0 -42%;
	position: absolute;
	top: 50%;
	transition: all 0.3s ease-in-out;
	width: 40%; }

#drawer-icon2 span::before,
#drawer-icon2 span::after {
	-webkit-transform: rotate(0);
	background: var( --es-mobile-menu-color );
	border-radius: 4px;
	content: "";
	display: block;
	height: 100%;
	margin: -8% 0 0 -50%;
	position: absolute;
	top: 50%;
	transform: rotate(0);
	transition: all 0.3s ease-in-out;
	width: 100%; }

#drawer-icon2 span::before {
	left: -50%;
	width: 200%;
	margin-top: -80%; }

#drawer-icon2 span::after {
	right: 0%;
	width: 100%;
	margin-top: 35%; }

#drawer-checkbox2:checked ~ #drawer-icon2 span {
	background: rgba(51, 51, 51, 0); }

#drawer-checkbox2:checked ~ #drawer-icon2 span::before,
#drawer-checkbox2:checked ~ #drawer-icon2 span::after {
	content: "";
	display: block;
	height: 100%;
	left: -50%;
	margin: -8% 0 0 -42%;
	position: absolute;
	top: 50%;
	width: 200%; }

#drawer-checkbox2:checked ~ #drawer-icon2 span::before {
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg); }

#drawer-checkbox2:checked ~ #drawer-icon2 span::after {
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg); }

#drawer-close2 {
	display: none;
	position: fixed;
	z-index: 39;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #000;
	opacity: 0;
	transition: all 0.3s ease-in-out 0s; }

#drawer-checkbox2:checked ~ #drawer-close2 {
	display: block;
	opacity: 0.3; }

