/*
Theme Name: eases5-child
Template: eases5
Description: 相続・遺言手続サポートセンター 様
*/
/* 初期設定 ----------------------------------------------------------------------------------- */
:root {
	--es-wrap-max-width: 1024px;
	--es-main-max-width: 740px;
	--es-side-max-width: 260px;
	--es-primary-color: green;
	--es-secondary-color: #d6e9ca;
	--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: green;
	--es-footer-font-color: white;
	--es-url-font-color: #2d6bb1;
	--es-header-hmg-color: white;
	--es-mobile-menu-color: #335b22;
}

/* ■ h2 - h5
-------------------------------------------------------------- */
.top-page #main h2{
	margin-bottom: 20px;
	padding: 20px;
    border-radius: 5px;
    background-color: green;
    text-shadow: 1px 1px #d0af4c;
    color: white;
    line-height: 1.4; }

.fixed-page #main h2 {
	margin: 0 auto 20px;
	padding:0 20px 5px !important;
	border-bottom: 3px solid green;
	text-decoration: none;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.3); }

#main h2 span{ display: inline-block; }

#footer h2 {
	width: 100%;
	margin-bottom: 5px;
	border-bottom: 1px solid #fff;
	font-size: 2.2rem; }

.fixed-page #main h3 {
	margin: 0 auto 10px;
	padding: 5px 20px;
	text-decoration: none;
	background-color: #d6e9ca;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
	line-height: 1.5em; }

.top-page #main h3 {
	margin: 0 auto 20px;
	padding: 0 20px;
	border-bottom: 3px solid green;
	text-decoration: none;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.3); }	


/* レイアウト
-------------------------------------------------------------- */
#wrap {
	margin: 0;
	padding: 0; }

#pagebody {
	max-width: var( --es-wrap-max-width );
	margin: 0 auto 30px;
	padding: 0 10px; }

#pagebody .inner {
	display: flex;
	justify-content: space-between;
	flex-direction: row-reverse;
	gap: 10px;
	padding: 0; }

#main {  }
	@media screen and (min-width: 768px) {
		#main { max-width: var(	--es-main-max-width ); } }

/*ヘッダー*/
#header {
	border-top: 10px solid var(--es-footer-color);
	margin-bottom: 40px; }

.top-page #header {  }
	@media screen and (min-width: 768px) {
		.top-page #header{ border-bottom: 1px solid var(--es-footer-color); } }

.hgroup {
	display: flex;
	max-width: var( --es-wrap-max-width );
	padding: 0; }

.hgroup-inner {
	flex-wrap: wrap;
	padding-top: 10px; }
	@media screen and (min-width: 1000px) {
		.hgroup-inner { flex-wrap: nowrap; } }

#header .hgroup .title {
	width: 100%;	
	display: inline;
	margin-bottom: 20px;
	text-align: center; }
	@media screen and (min-width: 768px) {
		#header .hgroup .title { min-width: 550px; } }

#header .hgroup .title h1 { font-size: 2.2rem; }
	@media screen and (min-width: 400px) {
		#header .hgroup .title h1 {
			font-size: clamp(24px, calc( 24px + ((1vw - 4px) * 1.92)), 36px); } }

.description { font-size: 1.4rem; }

.hgroup .information {
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	align-items: center;
	width: 100%; }
	@media screen and (min-width: 1000px) {
		.hgroup .information{
			justify-content: space-between;
			max-width: 450px; } }

.hgroup .information a {
	display: inline-block;
	width: auto;
	padding: 8px 8px 0px;
	border-radius: 50px;
	background-color: white;
	border: 2px solid var(--es-primary-color);
	text-align: center;
	color: var(--es-primary-color);
	animation: rotateAnimation 1s ease-in-out forwards; }

.hgroup .information a:hover { color: #55b913 }

.hgroup .information a i { padding: 0;  }

.hgroup .information a i::before {
	margin: 0;
	font-size: 4rem; }

.icon-mail::before {
	content: "\e951"; }

@keyframes rotateAnimation {
	from {
		transform: rotate(0deg); }
	to {
		transform: rotate(360deg); } }

.admin {
	display: flex;
	margin-right: 20px;
	color: #555;
	font-weight: bold;
	line-height: 1.4; }

.admin div { padding: 0 5px; }

#image-area {
	display: none;
	width: 100%;
	max-width: var( --es-wrap-max-width );
	margin: 0 auto;
	padding: 10px 20px 100px; }
	@media screen and (min-width: 768px) {
		#image-area{
			display: flex;
			justify-content: center;
			align-items: flex-end;
    		padding: 0;} }

#image-area a { display: block; }

.josei img { width: 180px; }

a.soudan { margin-bottom: 40px; }

.soudan img { max-width: 420px; }

a.family { margin-bottom: 10px; }

.family img { max-width: 420px; }

.family { display: none!important; }
	@media screen and (min-width: 1024px) {
		.family { display: block!important; } }

/*サイドバー*/
#sidebar { display: none; }
	@media screen and (min-width: 768px) {
		#sidebar {
			display: block;
			max-width: var(	--es-side-max-width ); } }

#sidebar .menu li { padding-bottom: 1px; }

#sidebar .menu a {
	position: relative;
	display: block;
	padding: 10px;
	border-radius: 5px;
	background: green;
	overflow: hidden;
	font-size: 1.7rem;
	color: white;
	transition-duration: .2s;
	z-index: 2; }

#sidebar .menu a::after {
	content: "";
	position: absolute;
	display: block;
	top: 50%;
	left: 0;
	right: 0;
	width: 100%;
	height: 0;
	padding-top: 100%;
	margin: auto;
	border-radius: 50%;
	background: #004400;
	opacity: 0;
	pointer-events: none;
	z-index: -1;
	transform: translateY(-50%) scale(0.1);
	transition: opacity .3s, transform 0s;
	transition-delay: 0s, .4s; }

#sidebar .menu a:hover::after {
	opacity: 1;
	transform: translateY(-50%) scale(1.1);
	transition-delay: 0s;
	transition: opacity .8s, transform .6s ease-in-out; }

#sidebar .menu li.current_page_item a {
	background-color: #004400;
	color: white;}

.taio_aria {
	margin: 30px 0 ;
	border: solid 2px green; }

.taio_aria h2 {
	padding: 5px;
    background-color: green;
	color: white; }

.taio_aria h3 {
	padding: 5px;
	background-color: #d6e9ca;
	font-size: 1.8rem; }

.taio_aria p { 
	padding: 5px;
	font-size: 1.6rem;
	color: #555; }

.taio_aria div {
	padding: 0;
	margin: 0; }

.office { text-align: center; }

.office img { 
	margin: 10px auto; }

.office img:hover {
	box-shadow: 0px 0px 15px 2px rgba(0, 0, 0, 0.2);
	transform: scale(0.9);  }

/* フッター */
#footer { padding: 40px 1em 20px; }

#footer .inner {
	max-width: var(--es-wrap-max-width);
	margin: 0 auto; }

#footer .inner > section {
	display: flex;
	gap: 20px; }
	@media screen and (max-width: 767px) {
		#footer .inner > section { justify-content: center; } }

#footer .widgets_footer {
	width: 100%;
	max-width: 500px; }
	@media screen and (min-width: 768px) {
		#footer .widgets_footer { width: 50%; } }

@media screen and (max-width: 767px) {
	#footer #block-9 { display: none; } }

@media screen and (min-width: 768px) {
	ul#menu-footer_menu{
		display: flex;
		flex-wrap: wrap; } }

ul#menu-footer_menu li{ 
	width: 50%;
	font-size: 1.4rem; }

#footer p { font-size: 1.4rem; }

/*画像*/
.images_a img {  }
	@media screen and (max-width: 540px) {
		.images_a { display: none; } }

/*url*/
.url_in a {
	padding-bottom: 5px;
	position: relative;
	color: var(--es-url-font-color) }

.url_in a::before {
	background: var(--es-url-font-color);
	content: '';
	width: 100%;
	height: 2px;
	position: absolute;
	left: 0;
	bottom: 0;
	margin: auto;
	transform-origin: right top;
	transform: scale(0, 1);
	transition: transform .3s; }

.url_in a:hover::before {
	transform-origin: left top;
	transform: scale(1, 1); }

/*リストスタイル*/
.alpha{ list-style-type: lower-alpha; }

/*モバイルメニュー*/
.navi-contents {
	height: calc(100vh - 70px);
	background: #f9f9f9; }

.navi-contents ul {
	position: relative;
	width: calc(100% - 40px);
	min-width: auto;
	margin: 60px 0 0 30px; }

/* コンテンツ
-------------------------------------------------------------- */
table { font-size: 1.2rem; }
	@media screen and (min-width: 481px) {
		table { font-size: 1.4rem; } }
		@media screen and (min-width: 768px) {
			table { font-size: 1.6rem; } }

form p img,
.link-anime img { vertical-align: baseline; }

span { display: inline-block; }

#main ul,#main ol { padding-left: 40px; }

/* WP */
.wp-block-group { padding: 0 0 20px;}

.wp-block-table { margin: 0 1em 2em; }

.wp-block-image { margin: 0 8px; }

.wp-block-image figcaption { font-size: 1.4rem; }

.wp-block-buttons { margin: 20px 0 40px; }

.wp-block-buttons>.wp-block-button.wp-block-button__width-75 {
	width: 100%; }
	@media screen and (min-width: 768px) {
		.wp-block-buttons>.wp-block-button.wp-block-button__width-75 {
			width: calc(75% - var(--wp--style--block-gap, .5em) * .25); } }

.wp-block-button span {
	display: inline-block;
	font-size: 1.4rem; }

.wp-block-button__link {
	padding: 10px 0 20px;
	background-color: #dd204b; }

.wp-block-button a {
	font-size: clamp(18px, calc( 18px + ((1vw - 3.2px) * 5.56)), 28px);
	line-height: 1.2; }

.wp-block-button a::after { background: var(--es-secondary-color); }

.wp-block-button a:hover::after {
	background-color: #ff537a;
	color: white!important; }

/*トップページ*/
.question { 
	margin-bottom: 20px;
	list-style-type: none; }

.question li {
	padding: 10px 0 10px 38px!important;
    background: url(../../../images/qa_mark.gif) left center no-repeat; }


/*相続手続きの基本的な流れ*/
.souzoku_nagare {
	position: relative;
	padding: 0;
	margin: 0; }

.souzoku_nagare p {
	margin-bottom: 0!important;
	padding: 0 10px!important; }

.clearfix {
	margin-bottom: 10px;
	padding: 10px;
	clear: both; }

.flowsub {
	float: left;
    overflow: hidden;
    display: inline-block;
    background: #e6e6e6;
    font-size: 12px;
    margin: 10px 0 0 10px;
    padding: 1px 5px 1px 5px!important; }

.title_nagare a {
	float: left;
	clear: both;
	overflow: hidden;
	position: relative;
	z-index: 1;
	padding: 0 10px;
	background: var(--es-url-font-color);
	color: #fff; }

.title_nagare a::before {
	background: #fff;
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	bottom: 0;
	margin: auto;
	transform: scale(0, 1);
	transform-origin: right top;
	transition: transform .3s;
	z-index: -1;
	border-bottom: 3px solid var(--es-url-font-color); }

 .title_nagare a:hover {

	color: var(--es-url-font-color); }

.title_nagare a:hover::before {
	transform-origin: left top;
	transform: scale(1, 1); }

/*生前贈与*/
.isihyouji img{ display: block; }

/*遺言執行・相続調査*/
.zaisanmokuroku{
	display: flex;
    gap: 2em!important;
    flex-wrap: nowrap!important;
    align-items: center!important; }

/*相続の手続一覧表*/
.wp-block-flexible-table-block-table th, .wp-block-flexible-table-block-table td {
    padding: 5px;
    border: 1px solid #555 }

/*事例・料金*/
.jireisyoukai{
	margin: 0;
	padding: 0; }

.arrow img{ margin-bottom: 10px; }	

/*事務所紹介*/
.tsuchiya figure{ margin:10px 0 20px 10px!important; }

.seo figure{ margin:10px 0 20px 10px!important; }

/* お問い合わせ */
.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-secondary-color)!important; }

input, button, textarea, select { width: 100%;}

/* ブログ */
.post-categories ul span[class*="label-"], .post-categories ul a[class*="label-"]{
	border:none;
	background-color: #FE7316; }
.profile{
	font-size: 1,5rem; }

.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; }
