/*
Theme Name: eases5-child
Template: eases5
Description: 大分財産コンサル 様
*/
/* 初期設定 ----------------------------------------------------------------------------------- */
:root {
	--es-wrap-max-width: 1024px;
	--es-main-max-width: 660px;
	--es-side-max-width: 340px;
	--es-main-font-color: #555;
	--es-primary-color: #295210;
	--es-secondary-color: #006acd;
	--es-header-color: rgba(32, 32, 32, 0);
	--es-header-font-color: #cc0d2c;
	--es-side-color: rgba(32, 32, 32, 0);
	--es-side-font-color: #555;
	--es-side-a-color: #555;
	--es-footer-color: #295210;
	--es-footer-font-color: white;
	--es-header-hmg-color: white;
	--es-mobile-menu-color: #335b22;
}

#main ul, #main ol {
	margin-bottom:20px;
	padding-left: 30px; }

#main li { padding-left: 5px; }

hr {
    margin-top: 20px;
    margin-bottom: 20px;
    width: 80%!important; }

table {
	width: 100%;
    border-collapse: collapse;
    font-size: 1.6rem; }


/* contents ------------------------------------------------------------------------------------- */

/* ■ h1 - h5
-------------------------------------------------------------- */

.hgroup h1 { line-height: 1.2; }

.hgroup h1 a {
	color: #fff; }

#image-area h2 {
	margin-bottom: 10px;
	text-align: center;
	color: red;
	font-size: clamp(20px, calc( 20px + ((1vw - 3.2px) * 0.994)), 27px);
    line-height: 1.4; }
	@media screen and (min-width: 1024px) {
		#image-area h2 {
			text-align: left; } }

#main h2 {
	margin: 0 auto 20px;
	padding: 10px 20px 13px 20px!important;
	color: #fff;
	background: #579133;
	font-size: clamp(20px, calc( 20px + ((1vw - 3.2px) * 0.994)), 27px);
	text-decoration: none;
	text-shadow: 1px 1px 1px rgb(0 0 0 / 30%);
	line-height: 1.4; }


#sidebar .side-box h2 {
	border-radius: 10px 10px 0 0;
	padding: 10px;
	font-size: 1.8rem; }

#footer h2 { font-size: 2.2rem; }

#single-page h2 {
	background-color: #808670;
	color: white; }

#main h3 {
	position: relative;
	margin: 0 auto 10px;
	padding: 5px 10px 5px 30px!important;
	color: #3e8114;
	font-size: clamp(20px, calc( 20px + ((1vw - 3.2px) * 0.994)), 27px);
	text-decoration: none;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
	font-family: 'icomoon' !important;
	speak: none;
	font-style: normal;
	font-variant: normal;
	text-transform: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale; }

#main h3:before {
	position: absolute;
	top: 5px;
	left: 0;
	content: "\e939"; }

#main h4 {
	margin: 24px 10px 12px 0px;
	padding: 5px 10px;
	background-color: #ffe7d6;
	font-size: 1.8rem;
	font-weight: bold; }

#main h5 {
	padding: 0px 10px;
	margin: 14px 10px 12px 0px;
	border-bottom: 1px dotted crimson;
	color: crimson;
	font-size: 1.8rem;
	font-weight: bold; }


/* レイアウト
-------------------------------------------------------------- */
#header {
	margin-bottom: 20px;
	background-color: var(--es-primary-color);
	color: #fff;
	text-align: center; }
	@media screen and (min-width: 600px) {
		#header {
			text-align: left; } }

#header .hgroup {
	margin-bottom: 10px;
	padding: 10px 0; }

#header .hgroup figure {
	margin: 0 10px 0 0; }



#header .hgroup img.logo_img {
	max-width: 284px;
	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 .title {
	display: flex;
	align-items: center; }
	@media screen and (max-width: 400px) {
		#header .hgroup .title {
			width: 350px;
			margin: 0 auto; } }

p.description {
	font-size: clamp(14px, calc( 14px + ((1vw - 4px) * 0.96)), 20px);
	text-align: center; }

.hgroup .information { display: none; }
	@media screen and (min-width: 768px) {
		.hgroup .information {
			display: block;
			text-align: right; } }

.hgroup ul.menu {
	display: flex;
	border-left: 1px solid #555; }

.hgroup .information a {
	width: 130px;
	border-right: 1px solid #555;
	border-radius: 0;
	background-color: transparent;
	color: #555; }

#image-area {
	margin-bottom: 40px;
	border-bottom: 5px solid var(--es-primary-color); }

#image-area .inner {
	width: 96%;
	margin: 0 auto;
	overflow: hidden; }
	@media screen and (min-width: 1024px) {
		#image-area .inner {
			position: relative;
			width: 1024px; } }

.Pres { 
	text-align: center; }
	@media screen and (min-width: 1024px) {
		.Pres { 
	        position: absolute;
	        right: 0;
	        bottom: 0; } }


#image-area ul {
	position: relative;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 100%;
    min-height: 270px;
    margin: 0 0 30px;
	padding: 10px 20px 10px 40px;
    border: 4px solid #594631;
    border-radius: 10px;
    font-size: 1.6rem;
    list-style: decimal; }
	@media screen and (min-width: 750px) {
		#image-area ul {
    		height: 270px; } }
	@media screen and (min-width: 1024px) {
		#image-area ul {
    		width: 750px;
    		height: 270px;
    		margin: 0 0 20px; } }




#image-area ul:before {
	content: "";
	position: absolute;
	bottom: -43px;
	left: 35%;
	margin-left: -12px;
	border: 15px solid transparent;
	border-top: 29px solid #FFF;
	z-index: 2;}

#image-area ul:after {
	content: "";
	position: absolute;
	bottom: -55px;
	left: 35%;
	margin-left: -17px;
	border: 20px solid transparent;
	border-top: 35px solid #555;
	z-index: 1; }

	@media screen and (min-width: 1024px) {
		#image-area ul:before {
			content: "";
			position: absolute;
			top: 35%;
			right: -46px;
			bottom: auto;
			left: auto;
			margin-top: -12px;
			border: 15px solid transparent;
			border-top: -1px;
			border-left: 32px solid #FFF;
			z-index: 2; }

		#image-area ul:after {
			content: "";
			position: absolute;
			top: 34%;
			right: -55px;
			bottom: auto;
			left: auto;
			margin-top: -11.5px;
			border: 17px solid transparent;
			border-top: -1px;
			border-left: 34px solid #555;
			z-index: 1; } }






#image-area li {
    width: 100%;
    margin-right: 40px; }
	@media screen and (min-width: 750px) {
		#image-area li {
    		width: 48%;
    		margin-right: 40px; } }

#globalnavi { background-color: #31a636; }

#globalnavi ul {
	display: block;
	width: 1024px;
	margin: 0 auto;
	overflow: visible; }

#globalnavi ul > li {
	position: relative;
	float: left;
	width: 16.66%;
	border-bottom: 1px solid #fff;
	border-left: 1px solid #fff;
	background-color: #31a636;
	font-size: 1.4rem;
	line-height: 1.4; }

#globalnavi ul li:last-of-type {
	border-right: 1px solid #fff; }

#globalnavi ul > li a {
	display: block;
	padding: 20px 0; }

#globalnavi ul > li a:hover { background-color: #98cb8f; }


#globalnavi ul.sub-menu {
    display: none;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999; }

li#menu-item-29:hover ul.sub-menu {
    display: flex;
    flex-direction: column; }

#globalnavi ul.sub-menu li {
	width: 225px;
	border-bottom: 1px solid white;
	background-color: #14ad1a;
	font-size: 1.4rem; }

#globalnavi ul.sub-menu li a {
	padding: 10px 5px;
	text-align: left; }



#pagebody .inner{
	width: 100%;
	height: 100%; }
	@media screen and (min-width: 780px) {
		#pagebody .inner {
			display: flex;
		    flex-direction: row-reverse;
		    justify-content: space-between;
			max-width: var( --es-wrap-max-width );
			margin: 0 auto;
			padding: 0 0 40px; } }


#main,
#single-page,
#index-page {
	width: 100%;
	margin: 0 auto; }
	@media screen and (min-width: 780px) {
		#main,
		#single-page,
		#index-page {
			max-width: var(	--es-main-max-width );
			margin: 0 0 0 20px; } }



#main p {
	padding: 0 10px; }

#sidebar {
	margin-bottom:40px;
	padding: 40px 10px 0; }
	@media screen and (min-width: 780px) {
		#sidebar {
			display: block;
			max-width: var(	--es-side-max-width );
			padding: 0; } }

#sidebar #block-16,
#sidebar #block-26 { display: none; }
	@media screen and (min-width: 780px) {
		#sidebar #block-16,
		#sidebar #block-26 { display: block; } }


#sidebar .menu { margin-bottom: 20px; }

#sidebar .menu li { padding-bottom: 1px; }

#sidebar .menu a {
	display: block;
	padding: 10px;
	background-color: #579133;
	color: white; }

#sidebar .menu a:hover {
	background-color: #295210; }

#sidebar .menu li a:before {
	content: "\e935";
	margin-right: 5px;
	font-family: 'icomoon' !important;
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale; }

#sidebar .menu li.current_page_item a {
	background-color: rgba( 51, 91, 34, 1 ); }


.mobile-menu-hbg2 .menu-side_menu-container { display: none; }
.mobile-menu-hbg2 .point-menu { display: none; }
.navi-contents2 { padding: 0 10px; }
.navi-contents2 .wp-block-embed figcaption { color: white; }

#menu-drawer_menu ul.sub-menu {
	margin: 0 0 0 20px; }

.menu-footer_menu-container {
	max-width: var(	--es-main-max-width );
	margin: 0 auto; }

#footer { padding: 40px 0 20px; }

#footer .inner {
	max-width: var(	--es-wrap-max-width );
	margin: 0 auto; }

#wrap .inner > footer .inner > section {
	display: block; }
	@media screen and (min-width: 400px) {
		#wrap .inner > footer .inner > section {
			display: flex;
			flex-wrap: nowrap;
			align-items: flex-start; } }


footer .widgets_footer:nth-child(1) {
	width: 100%;
	padding: 0 20px; }
footer .widgets_footer:nth-child(2) { display: none; }
footer .widgets_footer:nth-child(3) { display: none; }
	@media screen and (min-width: 768px) {
		footer .widgets_footer:nth-child(1) { width: 40%; }
		footer .widgets_footer:nth-child(2) {
			display: block;
			width: 25%; }
		footer .widgets_footer:nth-child(3) {
			display: block;
			width: 35%;
			margin-right: 0!important; } }

#footer li.menu-item {
	position: relative;
	padding-left: 20px; }
#footer li.menu-item:before {
	content: "\e935";
	position: absolute;
    top: 0;
    left: 0;
	margin-right: 5px;
	font-family: 'icomoon' !important;
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale; }

.icon-tel:before {
    content: "\e907";
    font-size: 2.8rem; }

footer .copyright { padding: 20px 0 100px; }
	@media screen and (min-width:1000px) {
		footer .copyright { padding: 20px 0; } }

/* コンテンツ
-------------------------------------------------------------- */
.top-page #main li {
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px dashed #a9a9a9; }

.wp-block-table { margin: 0 1em 2em; }

.wp-block-button__link span {
	font-weight: bold;
	font-size: 2.0rem; }

.news_posts {
	margin: 0px 10px; }

.post-categories ul span.label-digest,
.post-categories ul a.label-digest {
	border: 1px solid green;
	background-color: green; }

@media screen and (max-width: 380px) {
	.enry-post { flex-direction: column; } }

.navi-contents img {
	width: 100%;
	max-width: var(	--es-side-max-width );
	height: auto; }

.rps-left { text-align: left; }
	@media screen and (min-width: 780px) {
		.rps-left {
			text-align: right; } }

.top-page #main ul { margin: 0 0 40px 20px; }


@media screen and (min-width: 768px) {
#index-page .inner {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
}

#index-page section[id^="post-"] {
	max-width: 48%; } }
	
	
.w_auto{
    font-size: unset!important;
    width: 100%; }
@media screen and (min-width: 768px) {
.w_auto{
	font-size:clamp(20px, calc( 20px + ((1vw - 3.2px) * 0.994)), 27px)!important;
	width: auto;}
}

/* リストスタイル */
.list-parentheses li {
	list-style-type: decimal;
	margin-left: 40px;
	padding-left: 10px; }
	
@media screen and (min-width: 780px) {
.list-parentheses li {
	list-style-type: none;
	counter-increment: cnt; }

.list-parentheses li::marker {
	content: "(" counter(cnt) ")"; }
}

.list-disc{
	list-style-type: disc;
	margin-left: 40px;
	padding-left: 10px;
}

.list-circle{
	list-style-type: circle;
	margin-left: 40px;
	padding-left: 10px;
}


/* 相続相談のポイント */
#wrap[class*="point"] #main th {
	padding: 5px;
	border: 1px #98cb8f solid;
	background-color: #dbe9d9;
	text-align: center; }

#wrap[class*="point"] #main td {
	padding: 5px;
	border: 1px #98cb8f solid; }

.point1 #main ol ul { list-style: lower-alpha; }

.point2 #main th {
	width: 20%; }

.point2 #main td {
	border: 1px #98cb8f solid; }

.point6 td img { width: 100%; }

.point7 .zouyo th { width: 50%; }

.point10 th { width: 20%; }

.point11 td {
	width: 12%;
	text-align: center; }

.point11 tr td:last-child { background-color: pink; }


/* お問い合わせ */
.wpcf7 {
	width: 100%;
	max-width: 600px;
	margin: 0 auto; }

.contact input,
.contact textarea {
	width: 100%; }

input[type="submit"] {
	display: block;
	width: 100px;
	margin: 0 auto;
	padding: 15px; }

input[type="submit"]:hover {
	background-color: var(--es-primary-color)!important;
}


/* 無料セミナーブロック */
.seminar .wp-block-group__inner-container { padding: 0; }

@media screen and (min-width: 768px) {
.wp-block-gallery {
    width: 90%;
    margin: 0 auto; } }


/* 引用ブロックデザイン変更 */
.fugon,
.wp-block-quote {
    margin: 0 10px 20px;
	padding: 3px;
    border: 2px solid #888888;
    background-color: #e7f0f6;
}
@media screen and (min-width: 768px) {
.fugon,
.wp-block-quote {
    margin: 0 20px 20px;
    padding: 1em;
}}

/* 会社概要 */
.aboutus th { width: 30%; }

/* 社長プロフィール */
.profile th { width: 20%; }


/* ■ スマホ用フッター固定メニュー
-------------------------------------------------------------- */
.navi-contents { background-color: #eee; }
	@media screen and (max-width: 1000px) {
		.navi-contents { height: calc( 100dvh - 70px ); }
		.sp-menu #drawer-close { height: calc( 100dvh - 20px ); } }

.navi-contents ul { width: 290px; }

.navi-contents li { padding: 10px 0; }

/* ■ スマホ用フッター固定メニューにサイドバーボタン追加
-------------------------------------------------------------- */
.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: row;
	justify-content: center;
	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-up:before {
	content: "\e91c";
	font-size: 2.8rem; }


/* :::::: toggle button :::::: */
#drawer-checkbox2 {
	display: none; }

#drawer-icon2 {
	cursor: pointer;
	display: inline-block;
	height: 26px;
	position: relative;
	width: 26px;
	margin-right: 5px; }

#drawer-icon2 span:first-of-type {
	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:first-of-type::before,
#drawer-icon2 span:first-of-type::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:first-of-type::before {
	left: -50%;
	width: 200%;
	margin-top: -80%; }

#drawer-icon2 span:first-of-type::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:first-of-type span::before,
#drawer-checkbox2:checked ~ #drawer-icon2:first-of-type 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:first-of-type span::before {
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg); }

#drawer-checkbox2:checked ~ #drawer-icon2:first-of-type 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; }

/* :::::: Drawer Menu :::::: */
.navi-contents2 {
	overflow: auto;
	position: fixed;
	top: 0;
	right: 0;
	z-index: -1;
	width: 70%;
	max-width: 90%;
	height: 100%;
	background: rgba(0,0,0,.8);
	transition: all 0.3s ease-in-out 0s;
	transform: translateX(100%);
	-webkit-overflow-scrolling : touch;
	line-height: 1.8; }

.navi-contents2 li {
	border-bottom: 1px solid #000;
	text-align: left; }

.navi-contents2 .menu li a {
	display: block;
	padding: 10px 10px;
	color: white; }

.navi-contents2 .menu li a:hover {
	background-color: #4e4e4e; }

.navi-contents2 li i {
	padding-right: 10px; }


#drawer-checkbox2:checked ~ .navi-contents2 {
	transform: translateX(0);
	box-shadow: 6px 0 25px rgba(0, 0, 0, 0.16); }
