@charset "UTF-8";
/* 
CSS Document 
ページ共通CSS
ヘッダ, フッタ, サイド
*/
@font-face { font-family: "Yu Gothic"; src: local("Yu Gothic Medium"); font-weight: 100; }

@font-face { font-family: "Yu Gothic"; src: local("Yu Gothic Medium"); font-weight: 200; }

@font-face { font-family: "Yu Gothic"; src: local("Yu Gothic Medium"); font-weight: 300; }

@font-face { font-family: "Yu Gothic"; src: local("Yu Gothic Medium"); font-weight: 400; }

@font-face { font-family: "Yu Gothic"; src: local("Yu Gothic Bold"); font-weight: bold; }

html { -webkit-font-feature-settings: "palt"; 
	/* font-feature-settings: "palt"; */
	font-size: 62.5%; }

/* @media screen and (min-width: 375px) and (max-width: 767px), print { html { font-size: calc( 0.50em + (100vw - 375px)/196); } } */

/* @media screen and (max-width: 374px) { html { font-size: 50%; height:auto; overflow:scroll;} } */

body { font-family: 'Yu Gothic', YuGothic,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","HiraKakuPro-W3","メイリオ",Meiryo,"ＭＳ Ｐゴシック","MS PGothic",Arial, Helvetica,sans-serif; color: #000; font-size: 1.7rem; line-height: 1.8; -webkit-text-size-adjust: 100%; font-weight: 500; }

/* @media print, screen and (min-width: 768px) { body { padding-top: 105px; } } */
@media print, screen and (min-width: 768px) { body { padding-top: 0px; }}
@media screen and (max-width: 767px), print { body { font-size: 1.7rem; height:auto;} }

@media print, screen and (min-width: 768px) { a { -webkit-transition: opacity .4s ease-in-out,background .4s ease-in-out,color .4s ease-in-out,-webkit-transform .4s ease-in-out; transition: opacity .4s ease-in-out,background .4s ease-in-out,color .4s ease-in-out,-webkit-transform .4s ease-in-out; -o-transition: transform .4s ease-in-out,opacity .4s ease-in-out,background .4s ease-in-out,color .4s ease-in-out; transition: transform .4s ease-in-out,opacity .4s ease-in-out,background .4s ease-in-out,color .4s ease-in-out; transition: transform .4s ease-in-out,opacity .4s ease-in-out,background .4s ease-in-out,color .4s ease-in-out,-webkit-transform .4s ease-in-out; } }

@media print, screen and (min-width: 768px) { 
	/* article{ padding-top: 142px; } */
	#front article{ padding-top: 0px; }
	#contactConf article{ padding-top: 30px; }
	#contact  article{ padding-top: 0; }	
}
@media print, screen and (min-width: 939px){
	article{ padding-top: 75px; }
}
@media print, screen and (max-width: 938px) and (min-width: 768px){
	article{ padding-top: 75px; }
}

/*=====================================================
 
 header
 
=====================================================*/

@media screen and (max-width: 930px) and (min-width: 768px) { .head-left-logo { max-width: 300px; } }


header { background-color: #051c31; }

@media print, screen and (min-width: 768px) { 
	header { padding: 10px 0; position: relative; /* top: 0; left: 0; */ z-index: 100; width: 100%; }
	#contact header,
	#contactComp header,
	#contactConf header{ position: relative; top: 0; left: 0; }
	
	.pc{ display: block; }
	.smp{ display: none;}
}

@media print, screen and (max-width: 767px) { 
	header { position: fixed; width: 100%; top: 0; left: 0; padding: 5px 0; z-index: 200; } 
	#contactConf header,
	#contactComp header,
	#contact header{ position: relative; }
	#contactComp #wrapper{ position: relative;}
	
	.pc{ display: none; }
	.smp{ display: block;}
}

header > div{
  display: flex;
	margin-right: auto;
	margin-left: auto;
	width: 96%;
}
@media print, screen and (min-width: 1300px) {
	header > div{ max-width: 1300px; }
}
@media print, screen and (max-width: 1299px) {
	header > div{ max-width: 1200px; }
}
@media print, screen and (min-width: 1065px) {
	header > div{ width: 98%; }
}
@media print, screen and (max-width: 530px){
  header > div{ height: 100%; }
}

/*  ヘッダー要素（ロゴなど）*/

.head-left {}

@media print, screen and (min-width: 768px){
	.head-left{ font-size: 0; }
	.head-left > a{ display: inline-block; vertical-align: middle; } 
}
@media print, screen and (min-width: 768px) and (max-width: 1064px) {
	.head-left { width: calc(100% - 20px - 12rem); }
}
@media print, screen and (min-width: 501px) and (max-width: 767px) {
	.head-left { width: calc(100% - 40px - 18rem); }
}
@media screen and (min-width: 591px) and (max-width: 640px) { .head-left { margin-top: 0.5rem; } }
@media screen and (max-width: 500px) { .head-left { width: calc(100% - 155px); line-height: 1; } }
@media screen and (max-width: 375px) { #contactConf .head-left { width: calc(100% - 120px); } }
@media screen and (min-width: 301px) and (max-width: 340px) { .head-left { margin-top: 0.25rem; } }
@media screen and (max-width: 300px) { .head-left { margin-top: 1rem; } }

.head-left > a > h2{
  display: flex;
  align-items: center;
}

.head-left > a > h2 > p.logo01{ max-width: 100px; }

.head-left > a > h2 > .logoFont01{ max-width: 210px; }
.head-left > a > h2 > .logoFont01 > p{
  font-size: 0;
  line-height: 1;
  width: 100%;
}
.head-left > a > h2 > .logoFont01 > p:first-of-type{ border-bottom: 1px solid #ffffff; }
@media print, screen and (min-width: 321px){
  .head-left > a > h2 > p.logo01{ width: calc( 100% - 70% - 7px ); }
  .head-left > a > h2 > .logoFont01{
    margin-left: 14px;
    width: calc( 100% - 30% - 7px );
  }
}

@media print, screen and (max-width: 320px){
  .head-left > a > h2 > p.logo01{ width: calc( 100% - 70% - 2px ); }
  .head-left > a > h2 > .logoFont01{
    margin-left: 4px;
    width: calc( 100% - 30% - 2px );
  }
}

.head-left-text { color: #fff; display: block; font-size: 1.2rem; line-height: 1.5; margin-bottom: .5rem; }
@media print, screen and (max-width: 767px) { .head-left-text { font-size: 10px; } }

/* ロゴ要素等のヘッダー左側の要素 */
@media print, screen and (min-width: 641px){
  .head-right-numberLink{ display: inline-block; }
}
@media print, screen and (min-width: 768px){
  .head-right-numberLink{ max-width: 220px; }
}
@media print, screen and (min-width: 641px)  and (max-width: 1064px) {
  .head-right-numberLink{ vertical-align: middle; }
}
@media print, screen and (min-width: 301px) and (max-width: 767px){
  .head-right-numberLink { margin-top: 0.5rem; }
}

@media print, screen and (min-width: 768px)  and (max-width: 1064px) {
  .head-right-numberLink{ width: calc( 100% - 210px - 4rem - 0.1px ); }
}
@media print, screen and (min-width: 1065px) {
  .head-right-numberLink{ width: calc( 100% - 70px - 20px - 0.1px ); }
}

@media print, screen and (max-width: 767px){
  .head-right-numberLink{ width: 100%; }
}
@media print, screen and (min-width: 501px)  and (max-width: 767px){
  .head-right-numberLink { max-width: 200px; }
}
@media print, screen and (max-width: 640px) {
  .head-right-numberLink{ display: block; }
}
@media print, screen and (max-width: 500px){
	.head-right-numberLink { height: auto; max-width: 170px; }
}

/* 年間相続税申告件数 2,373件(令和4年実績) 業界トップクラスの画像(ロゴ右隣) */
@media print, screen and (min-width: 1065px) {
	.head-right-numberPc{ 
		display: inline-block;
		vertical-align: middle;
		width: 70px;
		height: auto;
		margin: 0 10px;
		padding-top: 10px;
		position: relative;
	}

	@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Display:ital,wght@1,900&display=swap');

	.head-right-numberPc-title {
		color: white;
    font-size: 7.5px;
    position: absolute;
    top: 15%;
    text-align: center;
    left: 22%;
    line-height: 1.2;
    font-family: 'Noto Serif Display', serif;
    opacity: 0.9;

	}
	.head-right-numberPc-num {
		color: white;
    font-size: 16px;
    position: absolute;
    top: 41%;
    left: 16%;
    background-image: url(/https/chester-tax.com/assets/images/common/head-number_bg.png);
    background-size: 100%;
    background-position: center;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(1px 1px 0px rgba(0, 0, 0, 0.5));
    line-height: 1;
    font-family: 'Noto Serif Display', serif;
    font-style: italic;
    font-weight: 900;
    /*letter-spacing: -0.03em;*/
    transform: scale(1, 1.1);
	}
	.head-right-numberPc-text1 {
		color: white;
    font-size: 4px;
    position: absolute;
    top: 40%;
    right: 18%;
    font-family: 'Noto Serif Display', serif;
    opacity: 0.9;
	}
	.head-right-numberPc-text2 {
		color: white;
		font-size: 7px;
		position: absolute;
		top: 48%;
		right: 17%;
		font-family: 'Noto Serif Display', serif;
		opacity: 0.9;
	}
	.head-right-numberPc-text3 {
		color: white;
		font-size: 7.5px;
		position: absolute;
		bottom: 12px;
		left: 28%;
		text-align: center;
		line-height: 1.1;
    font-family: 'Noto Serif Display', serif;
    opacity: 0.9;
	}
}
@media print, screen and (max-width: 1064px) {
  .head-right-numberPc{ display: none; }
}


/* 全国○○拠点各事務所アクセス() */
@media print, screen and (min-width: 768px) and (max-width: 1064px){
	.head-right-numberSmt{
		border: 1px solid #ffffff;
		border-radius: 5px;
		margin-left: 4rem;
		padding: 5px;
		text-align: center;
		cursor: pointer;
    width: 210px;
	}
	.head-right-numberSmt .sp-site-text{ font-size: 1.8rem; }
}
@media print, screen and (min-width: 1065px){
  .head-right-numberSmt .sp-site-text{ display: none;}
}
@media print, screen and (max-width: 1064px){
  .head-right-numberSmt{
		display: inline-block;
		vertical-align: middle;
	}
	#contact .head-right-numberSmt{ display: none; }
	
	.head-right-numberSmt img { display: none;}
	.head-right-numberSmt .sp-site-text{
		display: block;
		line-height: 1.4;
		color: #fff;
  }
}

@media print, screen and (max-width: 767px) { .head-right-numberSmt{ display: none; } }

/*追加地域タップ*/
.area-mainVisual{
	display: none;
	position: fixed;
	z-index: 900;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
	background-color: #051c31;
}
.area-mainVisual .area-wrap{
	display: none;
}
.area-mainVisual .closePreBtn{
	font-size: 100px;
	position: absolute;
	top: -10px;
	right: 10px;
	width: 30px;
	height: 30px;
	border: 3px solid #accdec;
	background-color: #ffffff;
	border-radius: 100%;
}
.area-mainVisual .closePreBtn:after,.area-mainVisual .closePreBtn:before{
	content: '';
	background-color: #39a9d6;
	position: absolute;
}
.area-mainVisual .closePreBtn:after{
	top: 5px;
	left: 10px;
	width: 4px;
	height: 16px;
	transform: rotate(225deg);
}
.area-mainVisual .closePreBtn:before{
	top: 11px;
	left: 4px;
	width: 16px;
	height: 4px;
	transform: rotate(45deg);
}
.area-selection-title{
	color: #fff;
	padding: 10px 0;
	text-align: center;
	font-size: 14px;
}
.area-selection-list ul.area-buttons{
	display: flex;
	flex-wrap: wrap;
	padding: 0 15px 10px;
}
.area-selection-list ul.area-buttons li{
	margin-right: 3%;
	margin-bottom: 10px;
}

@media print, screen and (min-width: 768px) and (max-width: 1064px){
	.area-selection-list ul.area-buttons li{ width: calc( 91% / 4 - 0.1px ); }
	.area-selection-list ul.area-buttons li:nth-of-type(4n){ margin-right: 0; }
}
@media print, screen and (min-width: 661px) and (max-width: 767px){
	.area-selection-list ul.area-buttons li{ width: calc( ( 88% / 5 ) - 0.1px ); }
	.area-selection-list ul.area-buttons li:nth-of-type(5n){ margin-right: 0; }
}
@media print, screen and (min-width: 480px) and (max-width: 660px){
	.area-selection-list ul.area-buttons li{ width: calc( ( 91% / 4 ) - 0.1px ); }
	.area-selection-list ul.area-buttons li:nth-of-type(4n){ margin-right: 0; }
}
@media print, screen and (max-width: 479px){
	.area-selection-list ul.area-buttons li{ width: calc( ( 94% / 3 ) - 0.1px ); }
	.area-selection-list ul.area-buttons li:nth-of-type(3n){ margin-right: 0; }
}

.area-selection-list ul.area-buttons li a{
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	height: 45px;
	background-color: #fff;
	border-radius: 6px;
	font-size: 16px;
	font-weight: bold;
	color: #051c31;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	text-decoration: none!important;
}

.area-selection-list ul.area-buttons li a > span{
	position: relative;
}

.area-selection-list ul.area-buttons li a > span:after{
	content: "";
	width: 5px;
	height: 5px;
	display: block;
	border-top: 2px solid #051c31;
	border-right: 2px solid #051c31;
	position: absolute;
	top: 50%;
	right: -10px;
	transform: rotate(45deg);
	transform-origin: top right;
}

@media print, screen and (max-width: 320px){
	.area-selection-list ul.area-buttons li a > span{
		display: block;
		line-height: 1.2;
		padding: 0 15px 0 10px;
		width: 100%;
	}
	.area-selection-list ul.area-buttons li a > span > span{
		display: inline-block;
	}
	.area-selection-list ul.area-buttons li a span:after{
		right: 7px;
	}
}

@media print, screen and (max-width: 1064px){
	.area-mainVisual .area-wrap{ display: block; }
}

.head-right { width: calc(100% - 410px);text-align: right }

/* ヘッダー右側*/
@media screen and (max-width: 1053px) and (min-width: 1051px) { .head-right { width: calc(100% - 370px); } }
@media screen and (max-width: 1050px) and (min-width: 931px) { .head-right { width: 415px; } }
@media screen and (max-width: 930px) and (min-width: 768px) { .head-right { /* width: 415px; */width: 390px; } }


/* ------------------------------------
20/05/07追記部分
------------------------------------ */

/* 電話アイコンアニメーション
------------------------------------------------------------ */

@keyframes callSupportSignal {
  8%, 64% { opacity: 1; }
  78% { opacity: 0; }
}


/* ヘッダー電話アイコン
------------------------------------------------------------ */

.head-info-tel > span.tel-icon{
	background: url(/https/chester-tax.com/assets/images/common/phone-icon01.png) left top no-repeat; 
	background-size: 20px auto;
	height: 30px;
	width: 40px;
	position: relative;
}

.head-info-tel > span.tel-icon > span.signal-icon{
	position: absolute;
	top: 11px;
	left: 15px;
	color: #ffffff;
	transform: rotate(50deg);
}

.head-info-tel > span.tel-icon > span.signal-icon:before,
.head-info-tel > span.tel-icon > span.signal-icon:after{
	content: '';
	position: absolute;
	border: 1px solid transparent;
	border-top: solid 1px currentColor;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	opacity: 0;
	animation-name: callSupportSignal;
	animation-duration: 1.4s;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
}
.head-info-tel > span.tel-icon > span.signal-icon:first-of-type:before{
	width: 10px;
	height: 10px;
	animation-delay: -1.16s;
}
.head-info-tel > span.tel-icon > span.signal-icon:first-of-type:after{
	width: 19px;
	height: 19px;
	animation-delay: -1.08s;
}
.head-info-tel > span.tel-icon > span.signal-icon:last-of-type:before{
	width: 28px;
	height: 28px;
	animation-delay: -1.00s;
}

.head-info-tel > span.tel-icon > span.signal-icon:last-of-type:after{ content: none; }

/* ヘッダー電話アイコンここまで
   フッター電話アイコンここから
------------------------------------------------------------ */

.foot-contact-left p.foot-tel{ font-size: 0; }
.foot-contact-left p.foot-tel > span{
	display: inline-block;
	font-size: 3.84rem;
	vertical-align: middle;
}

.foot-contact-left p.foot-tel > span.tel-icon {
	width: 40px;
	position: relative;
}

/*.foot-contact-left p.foot-tel > span:last-of-type{
	font-size: 2rem;
	line-height: 5.84rem;
	vertical-align: bottom;
}*/

.foot-contact-left p.foot-tel > span.tel-icon{
	background: url(/https/chester-tax.com/assets/images/common/phone-icon02.png) left top no-repeat;
	background-size: 30px auto;
	height: 40px;
	width: 50px;
	position: relative;
}

@media print, screen and (max-width: 767px) {
	.foot-contact-left p.foot-tel > span.tel-icon{
		background-size: 25px auto;
		height: 35px;
		width: 40px;
	}
	.foot-contact-left p.foot-tel > span:last-of-type{
		line-height: 2rem;
		vertical-align: middle;
	}
}
@media print, screen and (max-width: 406px) {
	.foot-contact-left p.foot-tel{ margin-bottom: 20px; }
	.foot-contact-left p.foot-tel > span:last-of-type{
		line-height: 1rem;
		vertical-align: middle;
	}
}

.foot-contact-left p.foot-tel > span.tel-icon > span.signal-icon{
	position: absolute;
	top: 16px;
	left: 22px;
	color: #0a2a47;
	transform: rotate(50deg);
}

.foot-contact-left p.foot-tel > span.tel-icon > span.signal-icon:before,
.foot-contact-left p.foot-tel > span.tel-icon > span.signal-icon:after{
	content: '';
	position: absolute;
	border: 2px solid transparent;
	border-top: solid 2px currentColor;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	opacity: 0;
	animation-name: callSupportSignal;
	animation-duration: 1.4s;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
}

.foot-contact-left p.foot-tel > span.tel-icon > span.signal-icon:first-of-type:before{
	width: 16px;
	height: 16px;
	animation-delay: -1.16s;
}
.foot-contact-left p.foot-tel > span.tel-icon > span.signal-icon:first-of-type:after{
	width: 29px;
	height: 29px;
	animation-delay: -1.08s;
}
.foot-contact-left p.foot-tel > span.tel-icon > span.signal-icon:last-of-type:before{
	width: 41px;
	height: 41px;
	animation-delay: -1.00s;
}

@media print, screen and (max-width: 767px) {
	.foot-contact-left p.foot-tel > span.tel-icon > span.signal-icon{
		top: 14px;
		left: 18px;
	}

	.foot-contact-left p.foot-tel > span.tel-icon > span.signal-icon:before,
	.foot-contact-left p.foot-tel > span.tel-icon > span.signal-icon:after{
		border: 1px solid transparent;
		border-top: solid 1px currentColor;
	}

	.foot-contact-left p.foot-tel > span.tel-icon > span.signal-icon:first-of-type:before{
		width: 10px;
		height: 10px;
	}
	.foot-contact-left p.foot-tel > span.tel-icon > span.signal-icon:first-of-type:after{
		width: 19px;
		height: 19px;
	}
	.foot-contact-left p.foot-tel > span.tel-icon > span.signal-icon:last-of-type:before{
		width: 28px;
		height: 28px;
	}
}

.foot-contact-left p.foot-tel > span.tel-icon > span.signal-icon:last-of-type:after{ content: none; }

/* ------------------- フッター電話アイコンここまで ------------------- */

.head-right-access { margin-top: 15px; margin-right: 10px; float: right; width: 200px; }

@media print, screen and (max-width: 1053px) { .head-right-access { display: none; } }

/* ------------------------------------
20/05/07追記部分
22/02/10変更追記部分
------------------------------------ */

header .head-right-box{
	display: inline-block;
}

header .head-right-info{
	display: -webkit-flex;
	display: flex;
	align-items: flex-start;
	justify-content: flex-end;
	padding-right: 50px;
	font-size: 0;
	padding-bottom: 19px;
}

header .head-info-hours.time{
	width: 210px;
	height: 42px;
	display: -webkit-flex;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 16px;
	font-weight: bold;
	color: #fff;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	background: url("/https/chester-tax.com/assets/images/common/header-content-arrow-bg01.png") no-repeat center center;
	padding-right: 4px;
	margin-right: 7px;
}

.head-info-tel-box{
	position: relative;
	padding-left: 47px;
	margin-right: 19px;
}

.head-info-tel-box:before{
	position: absolute;
	top: 0;
	left: 0;
	content: '全国\A共通';
	display: -webkit-flex;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 42px;
	height: 42px;
	font-size: 14px;
	line-height: 16px;
	font-weight: bold;
	line-height: 1.2;
	white-space: pre;
	color: #fff;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	border: 1px solid #fff;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;

}

.head-info-tel-box .head-info-tel{
	display: inline-block;
}

.head-info-tel-box .head-info-tel a,
.head-info-tel-box .head-info-tel span{
	display: block;
	font-size: 32px;
	line-height: 1;
	font-weight: bold;
	color: #fff;
	padding-top: 5px;
}

.head-info-tel-box .openTime{
	text-align: center;
	font-size: 12px;
	line-height: 1;
	font-weight: bold;
	color: #fff;
	margin-top: 10px;
}

.head-right-corp{
	font-weight: bold;
	color: #BEBF9A;
	line-height: 1;
	text-align: center;
	padding: 6px 9px 7px 36px;
	border: 1px solid #BEBF9A;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	background: url("/https/chester-tax.com/assets/images/common/header-location-icon.png") no-repeat left 8px center;
	-webkit-transition: .3s ease-in-out;
	-moz-transition: .3s ease-in-out;
	-o-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}

.head-right-corp:hover{
	opacity: 0.8;
}

.head-right-corp .head-right-corp-txt01{
	font-size: 14px;
	letter-spacing: 1px;
}

.head-right-corp .head-right-corp-txt02{
	font-size: 12px;
	letter-spacing: -1px;
	margin-top: 2px;
}

.head-right-corp .head-right-corp-txt01 .head-right-corp-num{
	font-size: 27px;
	padding: 0 6px 0 1px;
	letter-spacing: 0;
}

.head-right-btn{
	position: relative;
	display: -webkit-flex;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-right: 50px;
	padding-top: 11px;
}

.head-right-btn:before{
	content: '';
	position: absolute;
	width: calc(100% - 28px);
	height: 1px;
	background-color: #707070;
	top : 0;
	left: 0;
}

.head-right-btn .head-right-btn-siryou{
	display: block;
	width: 135px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	font-size: 14px;
	line-height: 1;
	font-weight: bold;
	color: #fff;
	background: url("/https/chester-tax.com/assets/images/common/header-content-arrow01.png") no-repeat left 10px center,linear-gradient(to bottom,#520000,#9C0009);
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
	border: 1px solid #BEBF9A;
	padding: 4px 10px 4px 23px;
	-webkit-transition: .3s ease-in-out;
	-moz-transition: .3s ease-in-out;
	-o-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}

.head-right-btn .head-right-btn-siryou:hover{
	-webkit-transition: .3s ease-in-out;
	-moz-transition: .3s ease-in-out;
	-o-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
	background: url("/https/chester-tax.com/assets/images/common/header-content-arrow01.png") no-repeat left 12px center,linear-gradient(to bottom,#520000,#9C0009);
}

.head-right-btn .head-nav{
	display: -webkit-flex;
	display: flex;
}

.head-right-btn .head-nav>li:not(:last-of-type){
	margin-right: 15px;
}

.head-right-btn .head-nav>li a{
	display: -webkit-flex;
	display: flex;
	align-items: center;
	position: relative;
	font-size: 13px;
	line-height: 1;
	min-height: 20px;
	font-weight: bold;
	color: #DDDDDD;
	padding-left: 25px;
	overflow: visible;
}

.head-right-btn .head-nav>li a:before{
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	width: 20px;
	height: 20px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	border: 1px solid #FFFFFF;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	background: url("/https/chester-tax.com/assets/images/common/header-content-arrow01.png") no-repeat center center,linear-gradient(to bottom,#C1C19C,#868359);
}

.head-right-btn .head-nav>li a.to-share:after{
	content: '';
	display: inline-block;
	width: 13px;
	height: 13px;
	background: url("/https/chester-tax.com/assets/images/common/header-share-icon.png") no-repeat center center;
	padding-left: 5px;
}

@media print, screen and (max-width: 1200px) {
	.head-info-tel-box .head-info-tel a,
	.head-info-tel-box .head-info-tel span {
		font-size: 30px;
	}
}

@media print, screen and (max-width: 1129px){

	header .head-right-info {
		padding-right: 28px;
	}

	.head-right-btn {
		padding-right: 28px;
	}

	.head-right {
		float: right;
		width: calc(100% - 370px);
	}
}

@media print, screen and (max-width: 1064px){
	.head-right{
		display: none !important;
	}

	.head-right-btn{
		display: none;
	}
}

/* ------------------------------------
20/05/07追記部分
20/05/22変更追記部分
------------------------------------ */

/*フォーム専用header*/
.head-right-access1 { 
	margin-top: 30px;
	margin-right: 10px;
	float: right;
	width: 200px;
}

.head-info-tel1 {
	text-align: center;
	color: #fff;
	font-size: 2.8rem;
	letter-spacing: 0.05em;
	line-height: 1;
	margin-bottom: 0.5rem;
	margin-top: 15px;
}

.pc-navi { display: block !important; }
.sp-navi { display: none !important; }

.drawer-nav{
    color: #fff !important;
}

.first_navi{
    width: 20%;
    height: 380px;
    float: left;
    box-sizing: border-box;
    font-size: 20px;
    padding: 14% 3%;
    border: 2px solid #fff;
    color: #fff;
    vertical-align: middle; 
}

ul.plan_list{
    margin: 0 0 40px 22%;
}

ul.plan_udlist{
    margin: 0 0 30px 22%;
}

ul.plan_list li.m_navi{
    width: 22%;
    margin:0 5px;
    display: inline-block;
    vertical-align: top;
}

ul.other_list{
    margin: 45px 0;
}

ul.other_list li.m_navi{
    /* width: 24%; */
    display: inline-block;
    vertical-align: top;
}

li p.m_navitxt{
    padding: 5% 5px;
    font-size: 1.5rem;
    border: 2px solid #fff;
    color: #fff;
    height: 75px;
    display: flex;
    align-items: center;
}


ul.plan_udlist li{
    /* width: 47%; */
	width: calc( ( 92% - 30px ) / 3 - 0.1px );
    margin:0 5px;
    display: inline-block;
    vertical-align: bottom;
    /* padding: 2% 5px; */
    font-size: 1.5rem;
    border: 2px solid #fff;
    color: #fff;
}

ul.plan_udlist li p.m_navitxt{
    border: none;
}

ul.s_navi{
    margin: 10px 22px;
}

ul.s_navi li{
    position: relative;
    font-size: 14px;
    color: #fff;
}

ul.s_navi li::after,ul.drawer-dropdown-menu li a::after{
    display: block;
    content: '';
    position: absolute;
    top: .5em;
    left: -1em;
    width: 6px;
    height: 6px;
    background-color: #3498db;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

ul.drawer-dropdown-menu li a::after{
    left: 0em;
}

.btn_hover {
    color: #fff;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all .3s;
    transition: all .3s;
}
.btn_hover:hover {
    background-color: #3498db;
}

ul.drawer-menu{
  width:100%;
}

@media only screen and (max-width: 1016px) { ul.plan_udlist li.lipd01,ul.plan_udlist li.lipd02{ padding: calc( 0.9em + 2% ) 5px; } }
@media only screen and (max-width: 940px) { ul.plan_udlist li.lipd01{ padding: 2% 5px; } }

@media only screen and (max-width: 750px) {

.pc-navi { display: none !important; }
.sp-navi { display: block !important; }

.sp-navi-br01{ display: inline-block; }

nav ul{
 height: 100%;
 overflow: auto;
 -webkit-overflow-scrolling: touch;
}

.first_navi{
	background: #ffffff;
	color: #1d3142;
	font-size: 18px;
	font-weight: bold;
    float: none;
	margin-bottom: 15px;
    padding: 5% 3%;
    text-align: center;
	width: 100%;
	height: auto;
}

li.drawer-item{
  border: 2px solid #fff;
}

li.drawer-dropdown button.drawer-item-box{
    color: #fff !important;
    border: 2px solid #fff;
    font-size: 12px;
    width: 100%;
    text-align: left;
    height: 70px;
    padding: 0 15px;
}

.drawer-item-dropdown{
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 49%;
  -ms-flex: 0 0 49%;
  flex: 0 0 49%;
  margin-bottom: 20px;
}
	
li.drawer-single01{ padding: 2% 15px; }
li.drawer-single02{ padding: calc( 0.8em + 2% ) 15px; }

}
@media only screen and (max-width: 360px) {
	.first_navi{
		font-size: 16px;
	}
}
@media only screen and (max-width: 346px) {
	.sp-navi-br01{ display: inline; }
}

/*=====================================================
 
 gl-nav
 
=====================================================*/
.br951,
.br950-768,
.br850 { display: none; }
@media screen and (min-width: 951px ){ .br951{ display: inline; } }
@media screen and (max-width: 950px ) and (min-width: 768px ){ .br950-768{ display: inline; } }
@media screen and (max-width: 850px ){ .br850{ display: inline; } }

#gl-nav { background-color: #fff; /* height: 75px; */ position: absolute; width: 100%; z-index: 90; }
#gl-nav.fixed{ position: fixed; top: 0; }

#gl-menu{
	display: -webkit-box;
	display: flex;
	margin-right: auto;
	margin-left: auto;
	width: 100%;
	height: 75px;
}
@media screen and (min-width: 991px ){
	#gl-menu { max-width: 1200px; }
}

[class*=gl-item] {
	-webkit-box-sizing:border-box;
	box-sizing: border-box;
	border-top: 1px solid #fff;
	border-bottom: 1px solid #efefef;
	padding-right: 1px;
	position: relative;
	height: 100%;
}

[class*=gl-item]:after {
	content: '';
	display: block;
	position: absolute;
	right: 0; top: 29px;
	background-color: #244868;
	width: 1px; height: 20px;
}

@media screen and (min-width: 1100px){
	[class*=gl-item]{ width: calc( 100% / 9 - 0.1px ); }
}
@media screen and (max-width: 1099px) and (min-width: 1010px){
	[class*=gl-item]{ width: calc( ( 100% - 118px ) / 8 - 0.1px ); }
	#gl-menu .gl-item-contact{ width: 118px; }
}
@media screen and (max-width: 1009px) and (min-width: 951px){
	[class*=gl-item]{ width: calc( ( 100% - 470px ) / 4 - 0.1px ); }
	.gl-item:nth-of-type(1){ width: 70px; }
	.gl-item:nth-of-type(6){ width: 90px; }
	.gl-item:nth-of-type(7){ width: 90px; }
	.gl-item:nth-of-type(8){ width: 100px; }
	.gl-item:nth-of-type(9){ width: 120px; }
}
@media screen and (max-width: 950px) and (min-width: 768px){
	.gl-item:nth-of-type(1){ width: 60px; }
	.gl-item:nth-of-type(9){ width: 120px; }
}
@media screen and (max-width: 950px) and (min-width: 861px){
	[class*=gl-item]{ width: calc( ( 100% - 360px ) / 5 - 0.1px ); }
	.gl-item:nth-of-type(7){ width: 90px; }
	.gl-item:nth-of-type(8){ width: 90px; }
}
@media screen and (max-width: 860px) and (min-width: 768px){
	[class*=gl-item]{ width: calc( ( 100% - 400px ) / 4 - 0.1px ); }
	.gl-item:nth-of-type(3){ width: calc( ( ( 100% - 400px ) / 4 ) + 10px - 0.1px ); }
	.gl-item:nth-of-type(4){ width: calc( ( ( 100% - 400px ) / 4 ) - 10px - 0.1px ); }
	.gl-item:nth-of-type(6){ width: 60px; }
	.gl-item:nth-of-type(7){ width: 75px; }
	.gl-item:nth-of-type(8){ width: 85px; }
}
.gl-item__first,
.gl-item__first01 { padding-left: 1px; }

.gl-item__first:before,
.gl-item__first01:before { content: ''; display: block; position: absolute; left: 0; top: 29px; width: 1px; height: 20px; }

.gl-item__first:before{ background-color: #244868; }

.gl-item__first01:before{ background-color: #ffffff; }

.gl-item__first{ min-width: 70px; }
@media screen and (max-width: 950px) and (min-width: 768px){
	.gl-item__first{ min-width: auto; }
}

[class*=gl-link] {
	cursor: pointer;
	color: #051c31;
	display: -webkit-box;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	-webkit-box-pack: center;
	justify-content: center;
	font-size: 1.5rem;
	line-height: 1.4;
	padding: 0 0.6em;
	text-align: center;
	text-decoration: none;
	height: 100%;
}
[class*=gl-link] p{
}

[class*=gl-link]:hover,
[class*=gl-link].current {
	background-color: #051c31;
	color: #fff;
}
.gl-link__row2.bg01,
.bg01.current{
	background-color: #dc9610;
	color: #ffffff;
}
.gl-link__row2.bg01:hover{
	background-color: #ffffff;
	color: #dc9610;
}

.gl-item__hc:after{ content: ''; background-color: #ffffff; }
.gl-link.bg02{ background-color: #367cbb; color:#ffffff; }
.gl-link.bg02:hover{ background-color: #051C33; }

.gl-link__logoImg { position: relative; }
.gl-link__logoImg:before{
	content: '';
	background: url("/https/chester-tax.com/assets/images/common/icon-home02.png") left top no-repeat;
	background-size: contain;
	display: block;
	position: absolute;
	top: calc( ( 100% - 30px ) / 2 - 0.5em );
	left: calc( ( 100% - 30px ) / 2 );
	width: 30px;
	height: 30px;
}
.gl-link__logoImg:hover:before {
	background: url("/https/chester-tax.com/assets/images/common/icon-home02_hover.png") left top no-repeat;
	background-size: contain;
}

.gl-link__logoImg > p{
	padding-top: 40px;
}
@media screen and (max-width: 950px) and (min-width: 861px){ [class*=gl-link] { font-size: 1.3rem; } }
@media screen and (max-width: 860px) and (min-width: 768px){ [class*=gl-link] { font-size: 1.25rem; } }

.gl-link__row2 {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

/*=====================================================
 
gl-nav-contents
 
=====================================================*/

/* 共通
------------------------------------------------ */

.gl-nav-contents{ 
	display: none;
	visibility: hidden;
	opacity: 0;
	padding: 20px;
}

.gl-nav-contents.is_show{
	display: block;
	opacity: 1;
	visibility: visible;
}

.gl-nav-contents.is_show a{
	cursor: pointer;
}

/* 
@keyframes fadeIn{
	form{ opacity: 0; }
	to{ opacity: 1; }
}
.gl-nav-contents.is_show{
	display: block;
	visibility: visible;
	animation: fadeIn 0.7s linear 0s;
	animation-fill-mode: forwards;
}
.gl-nav-contents.is_show02{
	display: block;
	visibility: visible;
	opacity: 1
}
 */

.gl-nav-contents .mb10px{ margin-bottom: 10px; }

.overlay{
	position: fixed;
	top: 0;
	left: 0;
	z-index: 25;
	visibility: hidden;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.4);
	opacity: 0;
	transition: all 0.2s;
}

@media print, screen and (max-width: 1200px){
	.gl-nav-contents{ padding: 20px 0; }
}
@media print, screen and (max-width: 767px){
	.gl-nav-contents{ display: none; }
}

.gl-nav-contents .fs0{ font-size: 0; }
.gl-nav-contents .inline-block{
	display: inline-block;
	font-size: 1.6rem;
}

#gl-nav-palan a,
#gl-nav-corp a{ text-decoration: underline; }


/* プラン
------------------------------------------------ */
#gl-nav-palan .gl-nav-palan-supplement,
#gl-nav-palan .gl-nav-palanLeft{
	width: calc( 100% - 30% - 20px );
}

#gl-nav-palan .gl-nav-palanLeft,
#gl-nav-palan .gl-nav-palanRight{
	vertical-align: top;
}
#gl-nav-palan .gl-nav-palanLeft{
	margin-right: 20px;
}
#gl-nav-palan .gl-nav-palanLeft > ul > li{
	margin-right: 2%;
	vertical-align: top;
	width: calc( ( 100% - 40% - 2%  ) / 2 );
}
#gl-nav-palan .gl-nav-palanLeft > ul > li:first-of-type{ width: calc( 100% - 60% - 2% ); }
#gl-nav-palan .gl-nav-palanLeft > ul > li:last-of-type{ margin-right: 0; }
#gl-nav-palan .gl-nav-palanLeft > ul > li > p{
	color: #ffffff;
	line-height: 1.2;
	height: 58px;
	padding: 0.7em 0;
	text-align: center;
}
#gl-nav-palan .gl-nav-palanLeft > ul > li:first-of-type > p{
	padding: 1.2em 0;
}

#gl-nav-palan .gl-nav-palanLeft > ul > li > div{
	background-color: #f6f9fb;
	padding: 2rem;
}
#gl-nav-palan .gl-nav-palanLeft > ul > li > div >ul > li.left-arrow__dullBlue{
    background: url(/https/chester-tax.com/assets/images/common/arrow-dullBlue_left.png) no-repeat left center/13px 13px;
    padding: 0 0 0 2rem;
}
#gl-nav-palan .gl-nav-palanRight{
	width: calc( 100% - 70% );
}

#gl-nav-palan .gl-nav-palanRight .btn-type3-arrow__left {
	display: block;
	border: 1px solid #565656;
	background: #fff url(/https/chester-tax.com/assets/images/common/arrow-blue_left.png) no-repeat left 2rem center/13px 13px;
	padding: 0 3rem 0 5rem;
	text-decoration: none;
	-webkit-transition: all .3s ease-in-out;
		-o-transition: all .3s ease-in-out;
		transition: all .3s ease-in-out;
}
	
#gl-nav-palan .gl-nav-palanRight .btn-type3-arrow__left:hover {
	background: #0b2e4e url(/https/chester-tax.com/assets/images/common/arrow-white_left.png) no-repeat left 2rem center/13px 13px;
	color: #fff;
}

@media print, screen and (max-width: 1120px) and (min-width: 768px){
	#gl-nav-palan .gl-nav-palan-supplement,
	#gl-nav-palan .gl-nav-palanLeft.inline-block,
	#gl-nav-palan .gl-nav-palanRight.inline-block{
		display: block;
		width: 100%;
	}
	#gl-nav-palan .gl-nav-palanRight{ margin-top: 20px; }
	#gl-nav-palan .gl-nav-palanRight > ul{ font-size: 0; }
	#gl-nav-palan .gl-nav-palanRight > ul > li{
		display: inline-block;
		font-size: 1.6rem;
		margin-right: 20px;
		vertical-align: top;
		width: calc( ( 100% - 20px ) / 2 );
	}
	#gl-nav-palan .gl-nav-palanRight > ul > li:last-of-type{ margin-right: 0; }
	#gl-nav-palan .gl-nav-palanRight .btn-type3-arrow__left{ padding: 1.5rem 3rem 1.5rem 5rem; }
}

/* 会社概要
------------------------------------------------ */

#gl-nav-corp > div:first-of-type{ border-bottom: 1px solid #cdced1; padding-bottom: 20px; }
#gl-nav-corp > div:last-of-type{ padding-top: 20px }

#gl-nav-corp > div > div:first-of-type { margin-top: -34px; margin-right: 10px; padding-left: 15px; vertical-align: middle; width: 320px; }
#gl-nav-corp > div > div:last-of-type{ padding-right: 15px; width: calc( 100% - 320px - 10px ); }

#gl-nav-corp > div > div > p{
	font-weight: bold;
	border-left: 5px solid #134674;
	padding-left: 10px;
}

#gl-nav-corp > div > div > div{
	font-weight: bold;
	border-left: 5px solid #134674;
	padding-left: 10px;
	margin-bottom: 60px;
}

#gl-nav-corp > div > div > ul li{
	line-height: 1.4;
	margin-right: 10px;
	margin-bottom: 15px;
	padding-left: 14px;
	position: relative;
	vertical-align: middle;
	width: calc( ( 100% - 20px ) / 3 - 0.01px ); /* 0.01pxはIE対策です */
}

#gl-nav-corp > div > div > ul li:nth-of-type(3n){
	margin-right: 0;
}

#gl-nav-corp > div > div > ul li:nth-last-of-type(3),
#gl-nav-corp > div > div > ul li:nth-last-of-type(2),
#gl-nav-corp > div > div > ul li:last-of-type{
	margin-bottom: 0;
}

#gl-nav-corp > div > div > ul li:before{
	content: '';
    display: block;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-left: 8px solid #043057;
    border-bottom: 6px solid transparent;
    position: absolute;
	top: calc( 50% - 6px );
	left: 0;
}

/* お問い合わせ
------------------------------------------------ */
#gl-nav-contact{  }
#gl-nav-contact .gl-nav-contactMenu > div {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	align-items: center;
	width: 100%;
}

#gl-nav-contact .gl-nav-contactMenu > div > div.gl-nav-contact-forOther{ margin-right: 3rem; }
#gl-nav-contact .gl-nav-contactMenu > div > div.gl-nav-contact-formBtn-wrap > div:nth-of-type(1),#gl-nav-contact .gl-nav-contactMenu > div > div.gl-nav-contact-formBtn-wrap > div:nth-of-type(2){ margin-right: 2rem; }
#gl-nav-contact .gl-nav-contactMenu > div > div.gl-nav-contact-formBtn-wrap > div:nth-of-type(3n){ margin-right: 0; }

#gl-nav-contact .gl-nav-contactMenu > div > div.gl-nav-contact-formBtn-wrap{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	width: calc(76% - 3rem);
}
#gl-nav-contact .gl-nav-contactMenu > div > div > div.gl-nav-contact-formBtn{
	border: 1px solid #0b2e4e;
	width: calc( ( 100% - 4rem ) / 3 - 0.1px );
}
#gl-nav-contact .gl-nav-contactMenu > div > div.gl-nav-contact-forOther{ width: 24%; }

#gl-nav-contact .gl-nav-contactMenu > div > div > div.gl-nav-contact-formBtn > a{
	padding: 1rem 1rem 1rem 4rem;
	position: relative;
	text-decoration: none;
	height: 100%;
}
#gl-nav-contact .gl-nav-contactMenu > div > div > div.gl-nav-contact-formBtn:hover{ background: #0b2e4e; }
#gl-nav-contact .gl-nav-contactMenu > div > div > div.gl-nav-contact-formBtn:hover > a{ color: #ffffff }

#gl-nav-contact .gl-nav-contactMenu > div > div > div.gl-nav-contact-formBtn > a:before{
	content: '';
	background: #ffffff url(/https/chester-tax.com/assets/images/common/arrow-blue_left.png) no-repeat;
	background-size: contain;
	display: block;
	position: absolute;
	top: calc( 50% - 10px );
	left: 10px;
	width: 20px;
	height: 20px;
}
#gl-nav-contact .gl-nav-contactMenu > div > div > div.gl-nav-contact-formBtn:hover > a:before{
	background: #134674 url(/https/chester-tax.com/assets/images/common/arrow-white_left.png) no-repeat;
	background-size: contain;
}

#gl-nav-contact .gl-nav-contactMenu > div > div > div.gl-nav-contact-formBtn > a div{
	margin: 0 auto 0.8rem;
	text-align: center;
	width: 100%;
}
#gl-nav-contact .gl-nav-contactMenu > div > div > div.gl-nav-contact-formBtn > a div.gl-nav-contact-formBtn01{
	background: url("/https/chester-tax.com/assets/images/common/icon-nav-contact01_hover.png") no-repeat top center;
	background-size: contain;
	max-width: 38px;
}
#gl-nav-contact .gl-nav-contactMenu > div > div > div.gl-nav-contact-formBtn > a div.gl-nav-contact-formBtn02{
	background: url("/https/chester-tax.com/assets/images/common/icon-nav-contact06_hover.png") no-repeat top center;
	background-size: contain;
	max-width: 47px;
}
#gl-nav-contact .gl-nav-contactMenu > div > div > div.gl-nav-contact-formBtn > a div.gl-nav-contact-formBtn03{
	background: url("/https/chester-tax.com/assets/images/common/icon-nav-contact05_hover.png") no-repeat top center;
	background-size: contain;
	max-width: 47px;
}

#gl-nav-contact .gl-nav-contactMenu > div > div > div.gl-nav-contact-formBtn:hover a div img{ visibility: hidden; }

#gl-nav-contact .gl-nav-contactMenu > div > div.gl-nav-contact-forOther > ul{
	border-right: 1px solid #0b2e4e;
	padding: 0.5rem 2rem 0.5rem 0;
}

#gl-nav-contact .gl-nav-contactMenu > div > div.gl-nav-contact-forOther > ul > li.left-arrow__dullBlue{
    background: url(/https/chester-tax.com/assets/images/common/arrow-dullBlue_left.png) no-repeat left center/13px 13px;
    padding: 0 0 0 2rem;
}

/*=====================================================
 
drawer-nav 
 
=====================================================*/
.drawer-nav .w1200-wrap { padding-top: 35px; }

@media print, screen and (max-width: 767px) { .drawer-nav .w1200-wrap { padding-top: 90px; padding-left: 15px; position: absolute;} }

.hamburger-icon { display: block; position: relative; line-height: 1; width: 6rem; height: 6rem; }

@media print, screen and (min-width: 768px) { 
	.hamburger-icon {
		background-color: #051c31;
		border: 1px solid #ffffff;
		border-right: 0;
		border-radius: 5px 0 0 5px;
	}
}

@media print, screen and (max-width: 767px) { .hamburger-icon { background-color: #051c31; border: 1px solid #ffffff; } }

[class*=hamburger-line] { display: block; width: 40%; height: 3px; border-radius: 3px; position: absolute; left: 30%; -webkit-transition: all .4s ease-in-out; -o-transition: all .4s ease-in-out; transition: all .4s ease-in-out; }

@media print, screen and (min-width: 768px) { [class*=hamburger-line] { background-color: #fff; } }

@media print, screen and (max-width: 767px) { [class*=hamburger-line] { background-color: #ffffff; } }

.hamburger-line1 { top: 1rem; }

.hamburger-line2 { top: 1.8rem; }

.hamburger-line3 { top: 2.6rem; }

.drawer-open .hamburger-line1 { top: 1.8rem; -webkit-transform: rotate(225deg); -ms-transform: rotate(225deg); transform: rotate(225deg); }

.drawer-open .hamburger-line2 { left: 300px; }

.drawer-open .hamburger-line3 { top: 1.8rem; -webkit-transform: rotate(-225deg); -ms-transform: rotate(-225deg); transform: rotate(-225deg); }

@media print, screen and (min-width: 768px) { .drawer-open .hamburger-text:before { content: '閉じる'; } }

@media print, screen and (max-width: 767px) { .drawer-open .hamburger-text:before { font-size: 1.1rem; content: 'CLOSE'; } }

.hamburger-text { position: absolute; width: 100%; text-align: center; bottom: 1rem; left: 0; line-height: 1; }

@media print, screen and (min-width: 768px) { .hamburger-text { color: #fff; }
  .hamburger-text:before { content: 'メニュー'; } }

@media print, screen and (max-width: 767px) { .hamburger-text { color: #ffffff; }
  .hamburger-text:before { font-size: 1.1rem; content: 'MENU'; } }

@media screen and (max-width: 500px) { .hamburger-text { bottom: .2rem; font-size: 1.6rem; } }

@media screen and (max-width: 500px) { .hamburger-line1 { top: 5px; }
  .hamburger-line2 { top: 11px; }
  .hamburger-line3 { top: 17px; }
  .drawer-open .hamburger-line1 { top: 11px; }
  .drawer-open .hamburger-line3 { top: 11px; } }

#hamburger-btn { right: 10px; top: 23px; }

@media print, screen and (min-width: 768px) {
	#hamburger-btn {
		display: block!important;
		right: 0px;
	}
}

#phone-btn,
#contact-btn { width: 6rem; height: 6rem; background-color: #f1b201; text-align: center; font-size: 1.2rem; z-index: 504; }

/* #contactComp #hamburger-btn,
#contactComp #phone-btn,
#contactComp #contact-btn { position: absolute; }
 */

@media print, screen and (min-width: 1065px) { 
	#phone-btn{display: none;}
	#contact-btn { display: none!important;right: 16px; top: calc(190px + 6rem); }
	#contact-btn span { display: inline-block; padding-top: .7rem; font-weight: bold;}
}

@media print, screen and (min-width: 768px) and (max-width: 1064px) {
	#phone-btn,
	#contact-btn{
		position: absolute;
	}
}
@media print, screen and (max-width: 767px) {
	#phone-btn,
	#contact-btn{ position: fixed; }
}

#favorite-btn { position: fixed; width: 6rem; height: 6rem; background-color: #ea0101; text-align: center; font-size: 1.1rem; z-index: 504; }
#favorite-btn span { display: inline-block; padding-top: 1rem; font-weight: bold;}
@media print, screen and (min-width: 768px) { #favorite-btn { display: block!important;right: 16px; top: calc(190px + 6rem); } }

@media print, screen and (max-width: 767px) { #favorite-btn { display: none!important; } }

@media print, screen and (max-width: 1064px) { 
	#phone-btn,
	#contact-btn{
		z-index: 499;
		top: 23px;
	}
	#phone-btn{
		right: calc(20px + 6rem);
		background: #367cbb url(/https/chester-tax.com/assets/images/common/head-phone-icon.png) no-repeat top 5px center;
		background-size:40%; 	
	}
	
	#contact-btn { 
		right: 10px;
		background: #dc9710 url(/https/chester-tax.com/assets/images/common/head-mail-icon.png) no-repeat top 0.75rem center;
	}
	
	#contact-btn:hover{ cursor: pointer; }
	.contact-text { color: #ffffff; }
	.contact-text:before { content: '無料面談'; font-size: 1.2rem; } 
	#phone-btn .contact-text:before{ content: 'お電話'; }
}

@media print, screen and (max-width: 767px) {
	#phone-btn{ right: calc(30px + 12rem); }
	#contact-btn { right: calc(20px + 6rem); }
}

@media screen and (max-width: 640px){
	#hamburger-btn,
	#phone-btn,
	#contact-btn{ top: 12px; }
	.hamburger-icon{ top: 0; }
}

@media screen and (max-width: 590px){
	#hamburger-btn,
	#phone-btn,
	#contact-btn{ top: 5px; }
}

@media screen and (max-width: 530px){
	#hamburger-btn,
	#phone-btn,
	#contact-btn{ top: 15px; }
}

.contact-text {
    position: absolute;
    width: 100%;
    text-align: center;
    bottom: 0.5rem;
    left: 0;
    line-height: 1;
}

@media screen and (max-width: 500px) { 
	header{ height: 62px; }
	
	#phone-btn, #contact-btn, .hamburger-icon { width: 40px; height: 40px; }
	#hamburger-btn, #phone-btn, #contact-btn{ top: 11px; }
	#contact-btn {
		background-size: 25px auto;
		background-position: top 4px center;
		right: 55px;
	}
	
	#phone-btn{
		background-position: center top 3px;
		background-size: 15.5px auto;
		right: 105px;
	}
	
	#hamburger-btn { right: 5px; }
	.contact-text{ bottom: 0.2rem; }
	.contact-text:before { font-size: 1rem; } 
}

/* スマホ用拠点アイコン追加 */
@media print, screen and (min-width: 768px) {
	#head-areaSmtBtn{ display: none; }
}

@media print, screen and (max-width: 767px) {
	#head-areaSmtBtn{
		border: 2px solid #d9dadc;
		background: #051c31 url(/https/chester-tax.com/assets/images/common/haed-mappin.png) no-repeat top 3px center;
		background-size: 25px;
		padding: 30px 0 0 0;
		position: fixed;
		right: 10px;
		top: 110px;
		width: calc( 6rem + 4px );
		height: calc( 6rem + 4px );
		z-index: 499;
	}
	#head-areaSmtBtn:hover{
		cursor: pointer;
	}
	#head-areaSmtBtn p.contact-text{
		bottom: 2px;
	}
	#head-areaSmtBtn p.contact-text:before{
		content: '各事務所\A案内';
		display: block;
		white-space: pre;
	}
}
@media print, screen and (min-width: 501px) and (max-width: 767px){
	#head-areaSmtBtn p.contact-text:before{
		line-height: 1.2;
	}
}
@media print, screen and (max-width: 640px) {
	#head-areaSmtBtn{ top: 85px; }
}
@media print, screen and (max-width: 590px) {
	#head-areaSmtBtn{ top: 77px; }
}

@media print, screen and (max-width: 570px) {
	#head-areaSmtBtn{ top: 115px; }
}
@media print, screen and (max-width: 530px) {
	#head-areaSmtBtn{ top: 140px; }
}
@media print, screen and (max-width: 500px) {
	#head-areaSmtBtn{
		background-position: top 2px center;
		background-size: 16px;
		padding: 18px 0 0 0;
		width: 44px;
		height: 44px;
		top: 115px;
		right: 5px;
	}
}

@media screen and (min-width: 1130px) { 
	.br-1129-411{ display: none; }
	.br-1129-768{ display: none; }
}
@media screen and (max-width: 767px){ .br-1129-768{ display: none; } }
@media screen and (max-width: 750px){
	.none750{ display: none; }
}
@media screen and (min-width: 411px) and (max-width:1129px){ .br-1129-411{ display: inline; } }

@media screen and (max-width: 410px) { .br-856-411{ display: none; } }

#drawer-menu01,
#drawer-menu02 { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; }

.drawer-tit { text-align: center; font-size: 2.8rem; margin-bottom: 4rem; color: #fff; }

.drawer-tit:before { content: ''; display: inline-block; width: 50px; height: 2px; background-color: #fff; margin-right: 10px; vertical-align: middle; }

.drawer-tit:after { content: ''; display: inline-block; width: 50px; height: 2px; background-color: #fff; margin-left: 10px; vertical-align: middle; }

.drawer-item { -webkit-box-flex: 0; -webkit-flex: 0 0 23%; -ms-flex: 0 0 23%; flex: 0 0 23%; width: 23%; margin-bottom: 20px; }

@media print, screen and (min-width: 641px) { .drawer-item {-webkit-box-flex: 0; -webkit-flex: 0 0 49%; -ms-flex: 0 0 49%; flex: 0 0 49%; margin-bottom: 20px; font-size: 12px; padding: 0 15px; height: 70px;} }

@media print, screen and (max-width: 640px) { .drawer-item { -webkit-box-flex: 0; -webkit-flex: 0 0 49%; -ms-flex: 0 0 49%; flex: 0 0 49%; width: 49%; height: 70px; padding: 0 15px; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center;} }

@media print, screen and (max-width: 640px) { 
	.drawer-item-box { font-size: 12px; }
	a.drawer-item-box {
		display: block;
		width: 100%
	}
 }

@media print, screen and (max-width: 330px){
	.drawer-item,
	li.drawer-dropdown button.drawer-item-box{ height: 90px; }
	
}

.drawer-dropdown .drawer-item-box { position: relative; }

.drawer-dropdown .drawer-item-box:after { content: '＋'; font-weight: bold; font-size: 1.8rem; color: #fff; position: absolute; right: 5px; bottom: 0; }

.drawer-dropdown.open .drawer-item-box:after { content: 'ー'; }

.drawer-dropdown-menu { padding: 15px 5px 10px; }

.drawer-dropdown-item { color: #fff; font-size: 1.5rem; position: relative; margin-left: 1.6rem; padding-left: 1.6rem; }

#drawer-menu01:not(:target),
#drawer-menu02:not(:target) { overflow: hidden\9; }

.drawer-item:not(:target) { float: left\9; width: 23.5%\9; margin-right: 1%\9; margin-bottom: 20px\9; }

@media print, screen and (min-width: 641px) and (max-width: 767px) { .drawer-item:not(:target) { width: 32%\9; } }

@media print, screen and (max-width: 640px) { .drawer-item:not(:target) { width: 49%\9; } }

.drawer-item-box:not(:target) { display: block\9; padding-top: 5px\9; }

/*=====================================================
 
footer
 
=====================================================*/
footer { background-color: #555555; }

#foot-link-list { background-color: #fff; padding: 4rem 0; }

.foot-link-wrap { float: left; width: 24.2%; margin-right: 1%; }

.foot-link-wrap.last-wrap { margin-right: 0; }

@media screen and (max-width: 900px) { .foot-link-nowrap{ width: 0%!important;} }

@media screen and (max-width: 900px) { .foot-link-wrap { width: 48%; } }

.foot-link-tit { position: relative; border-bottom: 2px solid #dfdfdf; margin: 2rem 0 1rem; padding-bottom: 1rem; padding-left: 20px; font-size: 1.4rem; background: url(/https/chester-tax.com/assets/images/common/arrow-blue_left.png) no-repeat left 5px/13px 13px; }

.foot-link-tit:after { content: ''; display: block; position: absolute; bottom: -2px; left: 0; width: 50px; height: 2px; background-color: #043057; }

.foot-link-tit2 { position: relative; border-bottom: 2px solid #dfdfdf; margin: 2rem 0 1rem; padding-bottom: 1rem; font-size: 1.4rem; }

.foot-link-tit2:after { content: ''; display: block; position: absolute; bottom: -2px; left: 0; width: 50px; height: 2px; background-color: #043057; }

.foot-link-text { font-size: 1.4rem; padding-left: 35px; position: relative; }

.foot-link-text:before { content: ''; display: block; width: 0; height: 0; border-top: 4px solid transparent; border-left: 6px solid #043057; border-bottom: 4px solid transparent; position: absolute; left: 18px; top: 7px; }

#foot-bottom { color: #fff; }

@media print, screen and (min-width: 768px) { #foot-bottom { padding: 5rem 0; max-width: 1200px; margin-left: auto; margin-right: auto; width: 94%; } }

@media print, screen and (min-width: 768px) {
	.foot-bottom-list { margin-bottom: 3rem; text-align: center; letter-spacing: -0.4em; font-size: 1.4rem; }
	.foot-bottom-list li { letter-spacing: normal; display: inline-block; padding: 0 10px; border-right: 1px solid #fff; }
	.foot-bottom-list li:last-child { border-right: none; }
	.footer-bottom-br { display: none; } }

@media print, screen and (max-width: 767px) { .foot-bottom-list { margin-bottom: 4rem; }
  .foot-bottom-list li { border-bottom: 1px solid #727272; }
  .foot-bottom-list li a { display: block; padding: 20px 10px; background: url(/https/chester-tax.com/assets/images/common/arrow-white_left.png) no-repeat right 10px center/30px 30px; } }
@media print, screen and (max-width: 767px) { .foot-bottom-list{ overflow: hidden; clear: both; }
	.foot-bottom-list li{ width: 50%; float: left; }
	.foot-bottom-list li a{ padding-right: 40px; box-sizing: border-box; }
	.footer-bottom-br { display: block; }
}
@media print, screen and (max-width: 640px) { .foot-bottom-list li a{ background-size: 20px; } }
@media print, screen and (max-width: 350px) {
	.foot-bottom-list li{
		float: none;
		width: 100%;
	}
}

#copy { text-align: center; color: #fff; font-size: 1.4rem; }

@media print, screen and (max-width: 767px) { #copy { padding-bottom: 30px; } }

#pagetopButton {
 display: none;
 position: fixed;
 z-index: 300;
 right: 5px;
 bottom: 105px;
 width: 60px; }

@media print, screen and (min-width: 768px) { #pagetopButton { cursor: pointer; } }

@media print, screen and (max-width: 767px) { #pagetopButton { width: 40px; } .lh25{ line-height: 25px; }.br::before { content: "\A" ; white-space: pre ; }}

@media print, screen and (max-width: 767px) {   }


/*=====================================================
 
その他
 
=====================================================*/
::-moz-selection { background-color: rgba(11, 47, 80, 0.5); color: #fff; }
::selection { background-color: rgba(11, 47, 80, 0.5); color: #fff; }

::-moz-selection { background-color: rgba(11, 47, 80, 0.5); color: #fff; }


header a, nav a, footer a, a.btn-type-dullBlue{ text-decoration: none; }

@media screen and (max-width: 767px) { #wrapper { overflow-y:scroll; height:100%;} }


li.hnavi{
line-height:120%;
}

#former {
  margin-top:-100px;
  padding-top:100px;
}

/*=====================================================
 
ハンバーガーメニュー
 
=====================================================*/
@media screen and (max-width: 767px){ .drawer-open .drawer-overlay{ background: rgba(200, 200, 200, 0.5); } }
.drawer--right.drawer-open .drawer-nav.sp-navi{ right: -15%; }
.drawer--right.drawer-open .drawer-nav.sp-navi > div.w1200-wrap { width: calc( 96% - 15% ); }

/*=====================================================
 
ハンバーガーメニュー（拠点紹介）
 
=====================================================*/

ul.other_list li.m_navi.baseIntroPc{ margin-top: -2em; padding-left: 4px; }
ul.other_list li.m_navi.baseIntroPc > p{ line-height: 0.5; }

@media screen and (max-width: 851px) and (min-width:821px) {
	_:lang(x)::-internal-media-controls-overlay-cast-button, ul.other_list li.m_navi.baseIntroPc{ margin-top: -4em; }
}

.drawer-dropdown-menu > li.baseIntroSmt{ line-height: 0; text-indent: 0; padding-top: 8px; padding-left: 0; }
.drawer-dropdown-menu > li.baseIntroSmt > p,
.drawer-dropdown-menu > li.baseIntroSmt > ul,
.drawer-dropdown-menu > li.baseIntroSmt > ul li{ line-height: 1; }
.drawer-dropdown-menu > li.baseIntroSmt > ul li{ padding-top: 1.5rem; }
.drawer-dropdown-menu > li.baseIntroSmt > ul li > a:after{ top: calc( ( 100% - 6px ) / 2 ); }

/*=====================================================
	
ページ下部CTA
(フォームが入っているページ以外)
	
=====================================================*/

#footer-cta .ctaFlex{ 
	display: flex;
	justify-content: center;
}

/* IE限定 */
@media all and (-ms-high-contrast: none) {
	#footer-cta .ctaFlex{ justify-content: flex-start; }
}

#footer-cta.cta .sp-img{
	margin: 0 auto 20px auto;
	max-width: 640px;
}

#footer-cta .CTA3 a{
  max-width: 680px;
  display: inline-block;
  text-align: center;
  background-color: #dc9610;
  font-size: 20px;
  color: #FFF;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 15px;
  border-radius: 4px;
  border-bottom: 6px solid #7C4036;
  transition:all 0.2s;
     /* CTA 文字の黒縁取り用記述　*/
text-shadow: #555555 1px 0px,  #555555 -1px 0px,
    #555555 0px -1px, #555555 0px 1px,
    #555555 1px 1px , #555555 -1px 1px,
    #555555 1px -1px, #555555 -1px -1px,
    #555555 0px 1px,  #555555 -0px 1px,
    #555555 0px -1px, #555555 -0px -1px,
    #555555 1px 0px,  #555555 -1px 0px,
    #555555 1px -0px, #555555 -1px -0px;
}

#footer-cta .CTA3:hover {
    transform: translateY(4px);
    border-bottom: none;
}

/*  ----- footer-are、02 cta部分変更(20.11.02) -----  */

#footer-cta .ctaFlex.cta-bb01{
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	border-bottom: 1px solid #000000;
}
#footer-cta .ctaFlex .pc-imgLeft,
#footer-cta .ctaFlex .pc-imgRight{ max-width: 210px; }

/* IE限定 */
@media all and (-ms-high-contrast: none) {
	#footer-cta .ctaFlex .pc-imgLeft,
	#footer-cta .ctaFlex .pc-imgRight{ width: 100%; }
}

@media print, screen and (min-width: 768px){
	#footer-cta .ctaFlex .cta-center-pc{
		margin: 0 20px;
		max-width: 300px;
	}
}
@media print, screen and (max-width: 767px) {
	#footer-cta .ctaFlex .cta-center-pc{ margin: 0 5px; }
}

#footer-cta div.ctaHeading,
#foot-area02{ background: #0a2a47; }
#footer-cta div.ctaHeading p{
	color: #ffffff;
	font-size: 110%;
	line-height: 1.4;
	margin: 0 auto 30px;
	padding: 10px;
	max-width: none;
}

@media print, screen and (max-width: 512px){ #footer-cta p.ctaHeading{ font-size: 140%; } }

#foot-area02{ padding: 3rem 0; }
#foot-area02 div.foot-area02-box {
	border: 1px solid #ffffff;
	border-radius: 5px;
}

#foot-area02 div.foot-area02-box .footer-area02-txt02 .footer-area02-txt02-span{ padding: 0 3px; }

@media print, screen and (min-width: 768px){
	#footer-cta .ctaFlex.footer-cta-btn > div{
		max-width: 350px;
		width: calc( ( 100% - 3rem ) / 2 - 0.1px );
	}
}
@media print, screen and (max-width: 767px){
	#footer-cta .ctaFlex.footer-cta-btn{
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-direction: column;
		flex-direction: column;
	}
	#footer-cta .ctaFlex.footer-cta-btn > div{
		max-width: 350px;
		width: 100%;
	}
}

@media print, screen and (min-width: 768px){
	#footer-cta .ctaFlex.footer-cta-btn .footer-cta-btn-tel a{ pointer-events: none; }
}

@media all and (-ms-high-contrast: none) {
	#footer-cta .ctaFlex.footer-cta-btn .footer-cta-btn-web a img{ pointer-events:auto; }
}

#footer-cta .ctaFlex.footer-cta-btn a:hover img{
	position : relative;
	top : 3pt;
	left : 3pt;
}

#footer-cta .footer-cta-ns{ border: 1px solid #404040; }
#footer-cta .footer-cta-ns p{ position: relative; }
#footer-cta .footer-cta-ns p:before{
	content: '【全国対応可能】';
	color: #ffffff;
	background: #404040;
	display: block;
	padding: 5px 0;
	position: absolute;
	top: 0;
	left: 0;
	width: 160px;
	height: auto;
}

@media print, screen and (min-width: 768px){
	#footer-cta .footer-cta-ns p{ padding: 5px 5px 5px 170px; }
	#footer-cta .footer-cta-ns p:before{
		text-align: center;
		width: 160px;
		height: auto;
	}
}
@media print, screen and (max-width: 767px){
	#footer-cta .footer-cta-ns p{
		padding: 45px 5px 5px 5px;
		text-align: center;
	}
	#footer-cta .footer-cta-ns p:before{
		width: 100%;
		height: 25px;
	}
}

.max-il-700,
.max-il-520{ display: none; }
@media print, screen and (max-width: 700px) { .max-il-700{ display: inline; } }
@media print, screen and (max-width: 520px) { .max-il-520{ display: inline; } }

@media print, screen and (max-width: 460px) { .max-none-460{ display: none; } }

/*  ----- footer-are、02 cta部分変更(21.09.30) -----  */

#footer-cta .footer-staff > p{
	background: #0a2a47;
	border-radius: 6px;
	color: #ffffff;
	padding: 0.5rem;
}
#footer-cta .footer-staff > ul{
	margin: 0 auto;
	max-width: 630px;
	width: 100%;
}

@media print, screen and (max-width: 767px){
	#footer-cta .footer-staff > ul > li:nth-of-type(4),
	#footer-cta .footer-staff > ul > li:nth-of-type(5){ display: none; }
	#footer-cta .footer-staff > ul > li:nth-of-type(7){ order: 6; }
	#footer-cta .footer-staff > ul > li:nth-of-type(8){ order: 7; }
}

/*=====================================================
	
対象リンクをhoverすると枠で囲われる
（トップとフォームのみ）

=====================================================*/

.hoverFrame{ border-color: rgba(0,0,0,0); border-style: solid; border-width: 3px; }
.hoverFrame:hover{ border-color: #ff8c16; }

/*=====================================================
	
電話バナー（固定）
お問い合わせ以外全ページ右サイド固定

=====================================================*/

/* 固定バナーアニメーション */
@keyframes fadeIn{
	0% {opacity: 0}
    100% {opacity: 1}
}

.tel-area{
	position: fixed;
	right: 0;
	z-index: 504;
}

/* tel-area a[href^="tel:"] { pointer-events: none; } */
@media screen and (max-width: 767px){ .tel-area{ display: none; } }

.tel-area .tel-btn{ display: none; }

/* ------------- 2020/06/09追加ここから ------------- */

.tel-area .tel-bannar{
	background-color: #051c31;
	border: 1px solid #ffffff;
	border-right: 0;
	border-radius: 5px 0 0 5px;
	padding: 10px 5px;
	width: 6rem;
	max-height: 400px;
}

.tel-area .tel-bannar:before,
.tel-area .tel-bannar:after{
	content: '';
	display: block;
	position: absolute;
}
.tel-area .tel-bannar:before{
	background: url("/https/chester-tax.com/assets/images/common/tel-bannar-img01.png") no-repeat;
	background-size: contain;
	top: 65px;
	left: -4px;
	width: 13px;
	height: 30px;
}

.tel-area .tel-bannar:after{
	background: url("/https/chester-tax.com/assets/images/common/tel-bannar-img02.png") no-repeat;
	background-size: contain;
	bottom: 110px;
	left: -51px;
	width: 61px;
	height: 140px;
}

.tel-area .tel-bannar div.tel-ban-icon02{ width: 30px; }
.tel-area .tel-bannar div.tel-ban-icon01 img,
.tel-area .tel-bannar div.tel-ban-icon02 img{ vertical-align: middle;}
.tel-area .tel-bannar p{
	color: #ffffff;
	line-height: 1.2;
	text-align: center;
}
.tel-area .tel-bannar p.tel-ban-txt01{ font-size: 12px; }
.tel-area .tel-bannar p.tel-ban-txt02{ font-size: 12px; }
.tel-area .tel-bannar p.tel-ban-num{
	font-size: 20px;
	margin: 0 auto;
	writing-mode: vertical-rl;
	-ms-writing-mode: tb-rl;
	-webkit-writing-mode:vertical-rl;
	width: 24px;
	max-height: 300px;
}

@media screen and (min-width: 0\0) and (min-resolution: +72dpi) {
  .tel-area .tel-bannar p.tel-ban-num{
	  margin: 0 9px;
	  max-height: 150px;
	}
}

.tel-area .tel-bannar div.tel-ban-icon01 .tel-icon{
	display: block;
	background: url(/https/chester-tax.com/assets/images/common/phone-icon03.png) left 0px top 0px no-repeat;
	background-size: contain;
	height: 30px;
	margin: auto;
	width: 30px;
	position: relative;
}
.tel-area .tel-bannar div.tel-ban-icon01 .tel-icon > .signal-icon{
	position: absolute;
	top: 14px;
	left: 18px;
	color: #ffffff;
	transform: rotate(45deg);
}

.tel-area .tel-bannar div.tel-ban-icon01 .tel-icon > .signal-icon:before,
.tel-area .tel-bannar div.tel-ban-icon01 .tel-icon > .signal-icon:after{
	content: '';
	position: absolute;
	border: 3px solid transparent;
	border-top: solid 3px currentColor;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	opacity: 0;
	animation-name: callSupportSignal;
	animation-duration: 1.4s;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
}
.tel-area .tel-bannar div.tel-ban-icon01 .tel-icon > .signal-icon:first-of-type:before{
	width: 11px;
	height: 11px;
	animation-delay: -1.16s;
}
.tel-area .tel-bannar div.tel-ban-icon01 .tel-icon > .signal-icon:first-of-type:after{
	width: 24px;
	height: 24px;
	animation-delay: -1.08s;
}

/* ------------- 2020/06/09追加ここまで ------------- */

@media screen and (min-width: 768px) and (max-width: 1249px), (max-height: 860px){
	.tel-area .tel-bannar,.tel-area .tel-bannar *{ display: none; }
	.tel-area .tel-area-box,.tel-area .tel-area-box *{ display: none; }
	
	.tel-area .tel-btn{
		display: block;
		background-color: #051c31;
		border: 1px solid #ffffff;
		border-right: 0;
		border-radius: 5px 0 0 5px;
		height: 6rem;
		padding: 5px;
		width: 6rem;
	}
	.tel-area .tel-btn .tel-icon{
		display: block;
		background: url(/https/chester-tax.com/assets/images/common/phone-icon03.png) left 0px top 3px no-repeat;
		background-size: contain;
		height: 30px;
		margin: auto;
		width: 25px;
		position: relative;
	}
	.tel-area .tel-btn .tel-icon > .signal-icon{
		position: absolute;
		top: 15px;
		left: 15px;
		color: #ffffff;
		transform: rotate(45deg);
	}

	.tel-area .tel-btn .tel-icon > .signal-icon:before,
	.tel-area .tel-btn .tel-icon > .signal-icon:after{
		content: '';
		position: absolute;
		border: 3px solid transparent;
		border-top: solid 3px currentColor;
		border-radius: 50%;
		transform: translate(-50%, -50%);
		opacity: 0;
		animation-name: callSupportSignal;
		animation-duration: 1.4s;
		animation-iteration-count: infinite;
		animation-timing-function: linear;
	}
	.tel-area .tel-btn .tel-icon > .signal-icon:first-of-type:before{
		width: 11px;
		height: 11px;
		animation-delay: -1.16s;
	}
	.tel-area .tel-btn .tel-icon > .signal-icon:first-of-type:after{
		width: 24px;
		height: 24px;
		animation-delay: -1.08s;
	}
	/* 
	.tel-area .tel-btn .tel-icon > .signal-icon:last-of-type:before{
		width: 33px;
		height: 33px;
		animation-delay: -1.00s;
	}
	.tel-area .tel-btn .tel-icon > .signal-icon:last-of-type:after{ content: none; }
	*/
	
	.tel-area .tel-btn > p{
		color: #ffffff;
		font-size: 12px;
		font-weight: bold;
		line-height: 1.2;
		margin-top: 5px;
		text-align: center;
	}
}
.tel-area .tel-btn-contets{
	display: none;
	color: #ffffff;
	background-color: rgba(5,28,49,0.85);
	padding: 15px;
	position: absolute;
	right: 6rem;
	top: 0;
	width: 380px;
}

.tel-area-top .tel-btn-contets{
	width: 400px;
}

.tel-btn-contets > div:first-of-type{ font-size: 0; }
.tel-btn-contets > div > p{
	display: inline-block;
	font-size: 1.6rem;
	vertical-align: middle;
}
.tel-btn-contets > div > p.telTitle{ font-size: 1.8rem; }

.tel-btn-contets > div p.telNumber a{ 
	display: block;
	text-decoration: none;
}

.tel-btn-contets p.tabTap{ border-top: 1px solid #ffffff; }

@media screen and (min-width: 768px) and (max-width: 1249px), (max-height: 860px){
	
	.tel-area .tel-btn:hover~.tel-btn-contets{
		animation: fadeIn 0.8s ease 0s 1 normal;
		-webkit-animation: fadeIn 0.8s ease 0s 1 normal;
	}
	.tel-area .tel-btn:hover~.tel-btn-contets,
	.tel-btn-contets:hover{ display: block; }
}

/*=====================================================
	
全拠点ver.のTEL一覧

=====================================================*/

.tel_Banner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.tel_area_column {
  width: 380px;
  margin: 10px;
  text-align: center;
}

.area_phone-numbers ul {
  display: inline-block;
  vertical-align: top;
  margin: 0 18px 0 0;
  padding: 0;
}

.area_phone-numbers ul:last-child {
  margin: 0;
}

.area_phone-numbers li {
  color:#fff;
  font-size:1.7rem;
}

.tel_h2 {
  font-size: 1.8rem;
  margin-top: 0;
}

.area_tel_time {
  margin-top: 0;
  font-size: 14px;
  color:#fff;
}

/*=====================================================
	
グロナビ上部のテレビ面談

=====================================================*/

@media screen and (min-width: 768px) { .tv_mendan_child-smt{ display: none; } }
 
#gl-nav > .tv_mendan_child{
    background-color:#ffff99;
	box-sizing: border-box;
	border-bottom: 1px solid #efefef;
}

#gl-nav > .tv_mendan_child > p:before,
.tv_mendan_child-smt > p:before{
	content: "NEW！";
	color: #ff0000;
	font-size: 90%;
	font-weight: bold;
	padding-right: 5px;
	-webkit-animation:blink 0.7s linear infinite alternate;
	-moz-animation:blink 0.7s linear infinite alternate;
	animation:blink 0.7s linear infinite alternate;
}

@-webkit-keyframes blink{
	0% {opacity:0;}
    100% {opacity:1;}
}
@-moz-keyframes blink{
	0% {opacity:0;}
    100% {opacity:1;}
}

@keyframes blink{
    0% {opacity:0;}
    100% {opacity:1;}
}

/*=====================================================
	
右側（固定）
面談時の3密対策
お問い合わせ以外全ページ右サイド固定

=====================================================*/

.virus-area{
	background-color: #051c31;
	border: 1px solid #ffffff;
	border-right: 0;
	border-radius: 5px 0 0 5px;
	color: #ffffff;
	font-size: 12px;
	line-height: 1.2;
	position: fixed;
	right: 0px;
	text-align: center;
	width: 6rem;
	height: 6rem;
	z-index: 504;
}

.virus-area > a{
	padding: 6px 0;
	display: block;
	text-decoration: none;
}

.virus-area > a img{ width: 37px; }
.virus-area > a p{
	font-weight: bold;
	margin-top: 5px;
}

@media print, screen and (max-width: 767px){ .virus-area{ display: none; } }

/* 20240702 計算ツール追加 */
@media print, screen and (min-width: 768px){
  .calc-link-area{
    background-color: #051c31;
    border: 1px solid #ffffff;
    border-right: 0;
    border-radius: 5px 0 0 5px;
    position: fixed;
    right: 0px;
    text-align: center;
    width: 6rem;
    height: 7.6rem;
    z-index: 504;
  }
  
  .calc-link-area > a{
    display: block;
    padding: 6px 0;
    text-decoration: none;
  }
  
  .calc-link-area p{
    color: #ffffff;
    line-height: 1.2;
    text-align: center;
  }
  .calc-link-area > a p.calc-icon-img{
    margin: 0 0 5px 8px;
    height: 30px;
  }
  .calc-link-area > a p.calc-icon-img img{ height: 100%; }
  .calc-link-area > a p.calc-icon-txt{ font-size: 0; }
  .calc-link-area > a p.calc-icon-txt > span{
    display: inline-block;
    font-size: 12px;
    font-weight: bold;
  }

}
@media print, screen and (max-width: 767px){ .calc-link-area{ display: none; } }



/*=====================================================
	
相続大辞典フッター

=====================================================*/

.foot-info{
	display: none;
	background-color: #051c31;
	padding: 25px 10px 10px 10px;
	position: fixed;
	bottom: 0;
	left: 0;
	max-width: 400px;
	width: 100%;
	z-index:1000;
}
@media print, screen and (min-width: 768px) { .foot-info{ display: none; } }

.foot-info .foot-btn{ font-size: 0; }
.foot-info .foot-btn > div{
	color: #fff;
	display: inline-block;
	font-size: 12px;
	line-height: 1.2;
	margin-left: 10px;
	text-align: center;
	vertical-align: middle;
	width: 60px;
	height: 60px;
}

.foot-info .foot-btn > div:first-of-type{ margin-left: 0; }

.foot-info .foot-btn > div.foot-btn-dial,
.foot-info .foot-btn > div.foot-btn-contact,
.foot-info .foot-btn > div.foot-btn-siryou{ border-radius: 2px; }

.foot-info .foot-btn > div.foot-btn-dial{ background-color: #367cbb; }
.foot-info .foot-btn > div.foot-btn-contact{ background-color: #dc9610; }
.foot-info .foot-btn > div.foot-btn-siryou{ background-color: #319745 }
.foot-info .foot-btn > div.foot-other{
	color: #ffffff;
	text-align: left;
	text-decoration: underline;
	width: calc( 100% - 210px );
}
.foot-info .foot-btn>div.foot-other02 {
	color: #fff;
	text-align: center;
	width: calc(100% - 80px);
	font-size: 1.7rem;
	line-height: 1.6;
	margin-left: 40px;
}


.foot-info .foot-btn > div > a{
	display: block;
	padding: 1.5px 0;
	text-decoration: none;
}
.foot-info .foot-btn > div > a >img,
.foot-info .foot-btn > div > img{ height: 27px;}
.foot-info .foot-btn > div > a > p{
	font-size: 12px;
	margin-top: 2px;
}
.foot-info .foot-btn > div.foot-btn-dial> a > p > span,
.foot-info .foot-btn > div.foot-btn-dial> p > span{ letter-spacing: -3.5px; }
.foot-info .foot-btn > div.foot-other a{ display: block; }

.foot-info .foot-access{}
.foot-info .foot-access > ul{ font-size: 0; }

.foot-info .foot-access > ul > li {
    color: #ffffff;
    display: inline-block;
    font-size: 0;
    margin-top: 10px;
    vertical-align: middle;
    width: calc( ( 100% - 10px ) / 2 );
    position: relative;  /* 追加：相対位置指定 */
}
.foot-info .foot-access > ul > li:nth-of-type(even){ margin-left: 10px; }
.foot-info .foot-access > ul > li:first-of-type{
	/*display: block;*/
	/*margin-top: 0;*/
	/*margin-left: 0;*/
	/*width: 100%;*/
}

.foot-info .foot-access > ul > li div {
    background-color: #fff;
    border-radius: 4px;
    color: #051c31;
    display: block;
    text-align: center;
}
.foot-info .foot-access > ul > li a.telhref::before {
    content: "";  /* 追加：疑似要素のコンテンツ */
    background: url('/https/chester-tax.com/assets/images/top/ifn1015.svg') no-repeat center; /* 追加：背景画像にSVGアイコンを設定 */
    background-size: contain; /* 追加：アイコンがコンテナに収まるようにサイズ指定 */
    width: 20px;  /* 追加：アイコンの幅を指定 */
    height: 20px;  /* 追加：アイコンの高さを指定 */
    position: absolute;  /* 追加：絶対位置指定 */
    left: 20px;  /* 追加：左から20pxの位置 */
    top: 50%;  /* 追加：親要素の上から50%の位置 */
    transform: translateY(-50%);  /* 追加：自身の高さの50%分上に移動 */
    display: none;  /* 追加：デフォルトで非表示 */
}

@media print, screen and (max-width: 767px) {
    .foot-info .foot-access > ul > li a.telhref::before {
        display: block;  /* 追加：スマホ表示時のみアイコンを表示 */
    }
}

.foot-info .foot-access > ul > li a{ text-decoration: none; display: block; padding: 6px 2px 3px;}
.foot-info .foot-access > ul > li a,
.foot-info .foot-access > ul > li span{
	color: #051c31;
	font-size: 14px;
	font-weight: bold;
	line-height: 1.1;
	vertical-align: middle;
}
/* .foot-info .foot-access > ul > li a:first-of-type{
	background-color: #ffffff;
	border-radius: 2px;
	color: #051c31;
	display: inline-block;
	margin-right: 10px;
	padding: 2px;
	text-align: center;
	max-width: 74px;
	width: 40%;
} */

.foot-info .foot-info-close{
	font-size: 100px;
	position: absolute;
	top: -20px;
	right: 5px;
	width: 40px;
	height: 40px;
	border: 3px solid #accdec;
	background-color: #ffffff;
	border-radius: 100%;
}

.foot-info .foot-info-close:before,
.foot-info .foot-info-close:after{
	content: '';
	background-color: #39a9d6;
	position: absolute;
}

.foot-info .foot-info-close:before{
	top: 15px;
	left: 7px;
	width: 20px;
	height: 5px;
	transform: rotate(45deg);
}
.foot-info .foot-info-close:after{
	top: 7px;
	left: 15px;
	width: 5px;
	height: 20px;
	transform: rotate(225deg);
}

@media print, screen and (max-width: 375px){
	.foot-info .foot-access > ul > li a:first-of-type{
		/* margin-right: 8px;
		width: 35%; */
	}
	.foot-info .foot-access > ul > li a, .foot-info .foot-access>ul>li>span{
		/* font-size: 11px; */
	}
}

/*=====================================================
	
料金表修正

=====================================================*/
@media print, screen and (min-width: 768px) { span.price-td{ display: inline-block;} }

/*=====================================================
	
paraLink
スクロール対応

=====================================================*/
@media print, screen and (max-width: 767px) { #wrapper.visible767{ overflow-y: visible;} }


/*=====================================================
	
メニューレイアウト変更

=====================================================*/

@media print, screen and (min-width: 751px){
  ul.other_list li.m_navi.baseIntroPc,
  ul.other_list li.m_navi.navi_list04{
    width: calc( ( 100% - 40px ) / 5 - 0.1px );
  }
  ul.other_list li.m_navi{
    width: calc( ( 100% - 30px ) / 4 - 0.1px );
    margin-left: 10px;
  }
  ul.other_list li.m_navi:first-of-type{ margin-left: 0; }
}
@media print, screen and (max-width: 1170px) { .br1170{ display: none; } }


/*=====================================================
	
story.html
back、nextボタン復活

=====================================================*/
img.slide-arrow{ pointer-events: auto; }


/*=====================================================
	
/include/header.php
/include/header02.php
/include/header04.php
スマホ用グロナビ設置

=====================================================*/
@media print, screen and (min-width: 768px){
	.menu-smt{ display: none;}
}
.menu-smt{ background: linear-gradient(to bottom, #4e7598 0%,#03203c 100%); }

.menu-smt > ul{
	font-size: 0;
	line-height: 0;
	margin: 0 auto;
	max-width: 400px;
	width: 100%;
	height: 56px;
}

.menu-smt > ul > li{
	/* border-left: 1px solid #ffffff; */
	display: inline-block;
	font-size: 1.5rem;
	line-height: 1.2;
	font-weight: bold;
	text-align: center;
	vertical-align: middle;
	position: relative;
	width: 25%;
	height: 100%;
}
.menu-smt > ul > li:last-of-type{
	/* border-right: 1px solid #ffffff; */
	width: calc( 100% - ( 25% + 29% + 29% ) );
}

.menu-smt > ul > li:before,
.menu-smt > ul > li:last-of-type:after{
	content: '';
	display: block;
	background: #ffffff;
	position: absolute;
	top: 0;
	width: 1px;
	height: 100%;
}
.menu-smt > ul > li:before{
	left: 0;
}

.menu-smt > ul > li:last-of-type:after{
	right: 0;
}

@media print, screen and (max-width: 400px){
	.menu-smt > ul > li:first-of-type:before,
	.menu-smt > ul > li:last-of-type:after{ content: none; }
}
.menu-smt > ul > li a{
	color: #ffffff;
	padding: 1rem 0.25rem;
	position: relative;
	text-decoration: none;
	width: 100%;
	height: 100%;
}

.menu-smt > ul > li a:hover{
	color: #03203c;
	background: #ffffff;
}

.menu-smt > ul > li a > p{
	display: inline;
	position: absolute;
	top: calc( 50% - 9px );
	left: 0;
	width: 100%;
	height: 10%;
}

.menu-smt > ul > li:first-child a > p{ top: 1rem; }

/* 採用情報 */
.menu-smt > ul > li:last-of-type a > p{ top: 1rem; }

@media print, screen and (max-width: 298px){
	.menu-smt > ul > li:first-of-type a > p{ top: 1rem; }
}

@media print, screen and (max-width: 244px){
	.menu-smt > ul > li:nth-of-type(2) a > p{ top: 1rem; }
}

/*=====================================================
	
\wp-content\themes\mytheme\index.php
アコーディオンメニュー設置（PC）

=====================================================*/
label.accordion-pc01{
	display: block;
	font-size: 105%;
	margin: 0 auto 2rem auto;
	padding: 0.5em;
	text-align: center;
	max-width: 400px;
	width: 100%;
}
label.accordion-pc01{
	border: 1px solid #ffffff;
	color: #ffffff;
}

label.accordion-pc01 > span{
	position: relative;
	padding-right: 20px;
}
label.accordion-pc01 > span:after{
	content: '';
	border: 2px solid;
	display: block;
	position: absolute;	
	top: calc( 50% - 9.9px );
	right: 0;
	transform: rotate(135deg);
	width: 8px;
	height: 8px;
}
label.accordion-pc01 > span:after{ border-color: #ffffff #ffffff transparent transparent; }
input.accordion-pc[type="checkbox"]{ display: none; }

/* \wp-content\themes\mytheme\index.php */
@media print, screen and (min-width: 768px){
	
	ul.flx-accrdn-pc li,
	#accordion-menu03 ~ div.mendan-btn > div a{
		overflow: hidden;
		-webkit-transition: all 0.5s;
		-moz-transition: all 0.5s;
		-ms-transition: all 0.5s;
		-o-transition: all 0.5s;
		transition: all 0.5s;
	}
	#accordion-menu03 ~ div.mendan-btn > div a{ display: none;}
	
	#accordion-menu03:checked ~ ul.flx-accrdn-pc li,
	#accordion-menu03:checked ~ div.mendan-btn > div a{
		display: block;
		opacity: 1;
	}
	
	ul.flx-accrdn-pc li{
		max-height: 0;
		margin-bottom: 0;
	}
	#accordion-menu03:checked ~ ul.flx-accrdn-pc li{
		margin-bottom: 2rem;
		height: auto;
		max-height: 500px;
	}
}

@media print, screen and (max-width: 767px){
	label.accordion-pc01{ display: none; }
}

/*=====================================================
	
\wp-content\themes\mytheme\index.php
\mitsumori2.html
\plan\all.html
\flow.html
アコーディオンメニュー設置（PC、スマホ）

=====================================================*/
label.accordion-smt01,
label.accordion-smt02{
	display: block;
	font-size: 105%;
	margin: 0 auto 2rem auto;
	padding: 0.5em;
	text-align: center;
	max-width: 400px;
	width: 100%;
}
label.accordion-smt01{
	border: 1px solid #ffffff;
	color: #ffffff;
}
label.accordion-smt02{
	border: 1px solid #000000;
	color: #000000;
}
label.accordion-smt01 > span,
label.accordion-smt02 > span{
	position: relative;
	padding-right: 20px;
}
label.accordion-smt01 > span:after,
label.accordion-smt02 > span:after{
	content: '';
	border: 2px solid;
	display: block;
	position: absolute;	
	top: calc( 50% - 9.9px );
	right: 0;
	transform: rotate(135deg);
	width: 8px;
	height: 8px;
}
label.accordion-smt01 > span:after{ border-color: #ffffff #ffffff transparent transparent; }
label.accordion-smt02 > span:after{ border-color: #000000 #000000 transparent transparent; }

input.accordion-smt[type="checkbox"],
input#accordion-menu02{ display: none;}

/* \wp-content\themes\mytheme\index.php */
@media print, screen and (max-width: 767px){
	ul.flx-accrdn-smt li{
		overflow: hidden;
		max-height: 0;
		margin-bottom: 0;
		-webkit-transition: all 0.5s;
		-moz-transition: all 0.5s;
		-ms-transition: all 0.5s;
		-o-transition: all 0.5s;
		transition: all 0.5s;
	}
	#accordion-menu01:checked ~ ul.flx-accrdn-smt li{
		display: block;
		margin-bottom: 2rem;
		height: auto;
		max-height: 500px;
		opacity: 1;
	}
}

/* /mitsumori2.html
/plan/all.html */

div.accrdn-smt{
	overflow: hidden;
	max-height: 0;
	margin-bottom: 0;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-ms-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}
#accordion-menu02:checked ~ div.accrdn-smt{
	display: block;
	height: auto;
	max-height: 1000px;
	opacity: 1;
}

/* flow.html */
label.accordion04{
	background: #ffffff;
	border: 1px solid #134674;
	box-shadow: 4px 4px 6px 1px rgba(0, 0, 0, 0.4);
	color: #000000;
	display: block;
	margin: 2rem auto 2rem auto;
	padding: 0.5em;
	text-align: center;
	width: 100%;
}
label.accordion04 > span{
	position: relative;
	padding-right: 20px;
}

@media print, screen and (max-width: 640px){
	label.accordion04 > span{ display: block; }
}
label.accordion04 > span:after{
	content: '';
	border: 2px solid;
	display: block;
	position: absolute;	
	top: calc( 50% - 9.9px );
	right: 0;
	transform: rotate(135deg);
	width: 8px;
	height: 8px;
}
label.accordion04 > span:after{ border-color: #000000 #000000 transparent transparent; }

input.accordion[type="checkbox"]{ display: none;}

div.accrdn01{
	overflow: hidden;
	max-height: 0;
	margin-bottom: 0;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-ms-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}
#accordion-menu04:checked ~ div.accrdn01,
#accordion-menu05:checked ~ div.accrdn01{
	display: block;
	height: auto;
	max-height: 1000px;
	opacity: 1;
}

/*=====================================================
	
No.220 headerのjs外すためにheight固定

=====================================================*/
@media print, screen and (max-width: 767px) and (min-width: 641px){
	#header01,
	#header02,
	#header03,
	#header05,
	#header06{ height: 105px; }
	#header04{ height: 104px; }
	
	#header01 ~ .menu-smt,
	#header02 ~ .menu-smt,
	#header03 ~ #lp,
	#header05 ~ .menu-smt{ padding-top: 105px; }
	#header04 ~ .menu-smt{ padding-top: 104px; }
  #header06 ~ .menu-smt{ padding-top: 0; }
}

@media print, screen and (max-width: 640px) and (min-width: 591px){
	#header01,
	#header02,
	#header03,
	#header05,
	#header06{ height: 80px; }
	
	#header01 ~ .menu-smt,
	#header02 ~ .menu-smt,
	#header03 ~ #lp,
	#header05 ~ .menu-smt{ padding-top: 80px; }
  #header06 ~ .menu-smt{ padding-top: 0; }
}

@media print, screen and (max-width: 640px) and (min-width: 501px){
	#header04{ height: 84px; }
	#header04 ~ .menu-smt{ padding-top: 84px; }
}

@media print, screen and (max-width: 590px) and (min-width: 531px){
	#header01,
	#header02,
	#header03,
	#header05,
	#header06{ height: 72px; }
	
	#header01 ~ .menu-smt,
	#header02 ~ .menu-smt,
	#header03 ~ #lp,
	#header05 ~ .menu-smt{ padding-top: 72px; }
  #header06 ~ .menu-smt{ padding-top: 0; }
}

@media print, screen and (max-width: 530px) and (min-width: 501px){
	#header01,
	#header02,
	#header03,
	#header05,
	#header06{ height: 82px; }
	
	#header01 ~ .menu-smt,
	#header02 ~ .menu-smt,
	#header03 ~ #lp,
	#header05 ~ .menu-smt{ padding-top: 82px; }
  #header06 ~ .menu-smt{ padding-top: 0; }
}

@media print, screen and (max-width: 500px){
	#header01,
	#header02,
	#header03,
	#header04,
	#header05,
	#header06{ height: 62px; }
	
	#header01 ~ .menu-smt,
	#header02 ~ .menu-smt,
	#header03 ~ #lp,
	#header04 ~ .menu-smt,
	#header05 ~ .menu-smt{ padding-top: 62px; }
  #header06 ~ .menu-smt{ padding-top: 0; }
}
@media print, screen and (max-width: 767px) {
	#contactComp #header01 ~ .menu-smt{ padding: 0; }
}

/*=====================================================
	
スマホ版無料面談メニュー

=====================================================*/

.foot-info02{
	display: none;
	background-color: #f0f0f0;
	padding: 2.5rem 1rem;
	position: fixed;
	bottom: 0;
	left: 0;
	max-width: 400px;
	width: 100%;
	z-index:1200;
}
@media print, screen and (min-width: 768px) { .foot-info02{ display: none; } }

.foot-info02 .foot-info02-btn{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	margin: 0 auto 3rem auto;
	max-width: 340px;
	width: 100%;
}

.foot-info02 .foot-info02-btn > div{
	border-radius: 6px;
	box-shadow: 5px 5px 10px 0px rgba(80, 80, 95, 0.4);
	position: relative;
	width: calc( 50% - 1rem );
}
.foot-info02 .foot-info02-btn > div:first-of-type{ margin-right: 2rem; }

.foot-info02 .foot-info02-btn > div.foot-info02-btn01{ background-color: #f2ac00; }
.foot-info02 .foot-info02-btn > div.foot-info02-btn02{ background-color: #004a6a; }

.foot-info02 .foot-info02-btn > div > a > div{ margin: 0 auto 0.5rem; }
.foot-info02 .foot-info02-btn > div.foot-info02-btn01 > a > div{
	max-width: 50px;
	width: 44%;
}
.foot-info02 .foot-info02-btn > div.foot-info02-btn02 > a > div{
	max-width: 68px;
	width: 60%;
}

.foot-info02 .foot-info02-btn > div > a{
	padding: 1rem 1rem 1rem 3.5rem;
	position: relative;
	text-decoration: none;
	width: 100%;
	height: 100%;
}
.foot-info02 .foot-info02-btn > div > a:before{
	content: '';
	background: #ffffff url(/https/chester-tax.com/assets/images/common/arrow-blue_left.png) no-repeat;
	background-size: contain;
	display: block;
	position: absolute;
	top: calc( 50% - 10px );
	left: 10px;
	width: 20px;
	height: 20px;
}
.foot-info02 .foot-info02-btn > div:hover > a:before{
	background: #134674 url(/https/chester-tax.com/assets/images/common/arrow-white_left.png) no-repeat;
	background-size: contain;
}


.foot-info02 .foot-info-close02{
	font-size: 100px;
	position: absolute;
	top: -50px;
	right: 20px;
	width: 40px;
	height: 40px;
	border: 3px solid #8d8d8d;
	background-color: #ffffff;
	border-radius: 100%;
}

.foot-info02 .foot-info-close02:before,
.foot-info02 .foot-info-close02:after{
	content: '';
	background-color: #8d8d8d;
	position: absolute;
}

.foot-info02 .foot-info-close02:before{
	top: 15px;
	left: 7px;
	width: 20px;
	height: 5px;
	transform: rotate(45deg);
}
.foot-info02 .foot-info-close02:after{
	top: 7px;
	left: 15px;
	width: 5px;
	height: 20px;
	transform: rotate(225deg);
}

.foot-info02 hr{
	border-top: 1px solid #d8d8d8;
	display: block;
	margin: 0 auto 2rem;
	max-width: 200px;
	width: 80%;
}

.foot-info02 .foot-info02-link > ul{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}
.foot-info02 .foot-info02-link > ul > li{
	margin-top: 1rem;
	padding-left: 1em;
	position: relative;
	width: calc( 50% - 0.5rem );
}
.foot-info02 .foot-info02-link > ul > li.w100p{ width: 100%; }
.foot-info02 .foot-info02-link > ul > li:first-of-type,
.foot-info02 .foot-info02-link > ul > li:nth-of-type(2){ margin-top: 0; }
.foot-info02 .foot-info02-link > ul > li:nth-of-type(odd){ margin-right: 1rem; }

.foot-info02 .foot-info02-link > ul > li:before{
	content: '';
	border-top: 0.5em solid transparent;
	border-bottom: 0.5em solid transparent;
	border-left: 0.5em solid #0b2e4f;
	display: block;
	position: absolute;
	top: calc( 50% - 0.5em );
	left: 0;
}

/*目次コンテンツ*/
.attention {
	border: 2px solid #145494;
	background: #fff;
	padding: 18px 26px;
	margin-bottom: 32px;
	overflow-wrap: break-word;
	max-width:800px;
}
.attention.a-2 { border-color: #ddd; }

.attention.a-3 { background: #f7fbfe; }

.attention li {
   font-size:1.7rem;
}

.line_none {
  text-decoration: none;
  }
  
  @media screen and (max-width: 546px){
.notext {display:none}
}

  @media screen and (min-width: 547px){
.pcfs80 {font-size:80%}
}

.navi_width_13 {width:13% !important}
.navi_width_13 > a {line-height: 1.01}
.navi_width_29 {width:29% !important}

.txt-pcolor{
	color: #fff !important;
}

.tel-area.tel-area-top .tel-bannar{
	width: 80px;
	border: none !important;
	padding: 0;
}

.tel-area .tel-area-box{
	display: -webkit-flex;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #051c31;
	border: 1px solid #ffffff;
	border-right: 0;
	border-radius: 5px 0 0 5px;
	padding: 15px 10px 15px 15px;
	width: 100px;
	max-height: 400px;
}

.tel-area .tel-bannar-box{
	display: -webkit-flex;
	display: flex;
	justify-content: space-between;
	margin-top: 15px;
}

.tel-area .tel-area-box-txt{
	text-decoration: underline;
	font-size: 16px;
	color: #fff;
	writing-mode: vertical-rl;
	-ms-writing-mode: tb-rl;
	-webkit-writing-mode: vertical-rl;
}

.tel-area .tel-bannar-itit{
	font-size: 12px;
}

#tel-contanct .tel-contanct-line{
	display: -webkit-flex;
	display: flex;
	align-items: center;
	line-height: 1.2;
}

#tel-contanct .tel-contanct-line-txt{
	font-size: 12px;
	line-height: 1.2;
	margin-right: 6px;
}

#tel-contanct .tel-contanct-left-item-tit01{
	font-size: 17px;
	font-weight: bold;
}

#tel-contanct .tel-contanct-left-item-tit02{
	font-size: 14px;
	font-weight: bold;
}

#tel-contanct .tel-contanct-left-item:not(:last-of-type){
	margin-bottom: 20px;
}

#tel-contanct .tel-contanct-left-link-box{
	text-align: center;
}

#tel-contanct .tel-contanct-line-sp{
	display: none;
}

#tel-contanct .txt-pgray{
	color: #4c4c4c;
}

#tel-contanct .txt-fwb{
	font-weight: bold;
}

@media screen and (max-width: 768px){
	#tel-contanct .tel-contanct-line-sp{
		display: block;
	}

	#tel-contanct {
		display: block !important;
		text-align: center;
	}

	#tel-contanct .tel-contanct-line{
		justify-content: center;
	}

	#tel-contanct .tel-contanct-right{
		margin-top: 20px;
	}
}

#tel-contanct .tel-contanct-left-link{
	line-height: 1.1;
	display: inline-block;
	border-bottom: 1px solid #000;
	font-size: 16px;
	color: #000;
	text-decoration: none;
}

.tel-area .tel-btn-contets{
	text-align: center;
}

.tel-common-cbox01 div{
	height: auto;
}

.tel-common-cbox01{
	display: inline-block;
	text-align: left;
}

.tel-common-cb01-tit01{
	font-size: 22px;
	font-weight: bold;
	color: #fff;
}

.tel-common-cb01-tit01_01 {
    font-size: 14px;
    color: #fff;
}


.tel-common-cb01-lbox{
	display: -webkit-flex;
	display: flex;
	align-items: center;
}

.tel-common-cb01-txt01{
	font-size: 14px;
	line-height: 1;
	margin-right: 10px;
}

.tel-common-cb01-num{
	font-size: 36px;
	line-height: 1;
	font-weight: bold;
	color: #fff;
}

.tel-common-cb01-num_2{
	font-size: 26px;
	line-height: 1;
	font-weight: bold;
	color: #fff;
}

/*a.tel-common-cb01-num{
	text-decoration: none;
}*/
a.tel-common-cb01-sp.tel-common-cb01-num.tel-common-cb01-num-color01 {
    text-decoration: underline;
}

.tel-common-cb01-num-color01{
	color: #fff;
}

.tel-common-cb01-num-color02{
	color: #ced1ee;
}

.tel-common-cb01-sp{
	display: none;
}

.tel-common-cb01-tit02{
	font-size: 18px;
	font-weight: bold;
	color: #ced1ee;
}

.tel-common-cb01-link{
	font-size: 20px;
	color: #fff;
	text-decoration: none;
	border-bottom: 1px solid #fff;
}

.tel-common-cb01-line{
	margin-bottom: 20px;
}

.foot-info .foot-btn>div.foot-other02{
	width: auto;
	height: auto;
	margin-left: 0;
}

.foot-info .foot-btn{
	text-align: center;
}

.foot-info .tel-common-cbox01{
	text-align: center;
}

.foot-info .tel-common-cb01-line:first-of-type {
	margin-top: 10px;
}

.foot-info .tel-common-cb01-line{
	margin-bottom: 15px;
}

@media screen and (min-width: 768px) and (max-width: 1249px), (max-height: 860px){
	.tel-area .tel-area-box,
	.tel-area .tel-area-box * {
		display: none;
	}
}

@media only screen and (max-width: 767px) {
	.tel-common-cb01-sp{
		display: block !important;
	}

	.tel-common-cb1-pc{
		display: none;
	}
}

/* ------------------------------------------------
23/10/11
外部サイトリンクにアイコン追加
------------------------------------------------ */
/* iconFile01→黒字
　　iconFile02→白字
　　iconFile01-01→黒地でサイズが12px
　　iconFile02-01→白地でサイズが12px
   
　　iconFile01-01-pc→768px以上表示。黒地でサイズが12px
　　iconFile02-01-smt→767px以下表示。白地でサイズが12px

   hovarIcon01→白字
   hovarIcon02→黒字
   hovarIcon01-pc→768px以上表示。白字
   hovarIcon02-smt→767px以下表示。黒字
*/
.iconFile01,
.iconFile01-01,
.iconFile02,
.iconFile02-01,
.iconFile01-01-pc,
.iconFile02-01-smt{
	position: relative;
	text-decoration: inherit;
}

.iconFile01{ padding-right: 20px; }

.iconFile01:after,
.iconFile01-01:after,
.iconFile02:after,
.iconFile02-01:after{
	content: '';
	position: absolute;
}

.iconFile01:after,
.iconFile02:after{
	width: 15px;
	height: 15px;
}

.iconFile01-01:after,
.iconFile02-01:after{
	width: 12px;
	height: 12px;
}

.iconFile01:after{
	right: 0;
}

.iconFile01-01:after,
.iconFile01:after,
.hovarIcon02:hover:after{ background: url(/https/chester-tax.com/assets/images/common/icon-file01.png) no-repeat left center/contain; }

.iconFile02:after,
.iconFile02-01:after,
.hovarIcon01:hover:after{
	background: url(/https/chester-tax.com/assets/images/common/icon-file02.png) no-repeat left center/contain;
}

.bottom02px:after{ bottom: 2px; }
.bottom03px:after{ bottom: 3px; }
.bottom04px:after{ bottom: 4px; }
.bottom06px:after{ bottom: 6px; }

@media screen and (min-width: 768px), (max-width: 750) {
	.none751-767{ display: none; }
}

@media screen and (min-width: 315px){
	.none314{ display: none; }
}
@media screen and (min-width: 321px){
	.none320{ display: none; }
}
@media screen and (min-width: 459px){
	.none460{ display: none; }
}
@media screen and (min-width: 491px),  (max-width: 450px) and (min-width: 349px) {
	.none490-450{ display: none; }
}
@media screen and (min-width: 768px){
	.iconFile01-01-pc:after{
		content: '';
		position: absolute;
	}
	.iconFile01-01-pc:after{
		width: 12px;
		height: 12px;
	}

	.iconFile01-01-pc:after{ background: url(/https/chester-tax.com/assets/images/common/icon-file01.png) no-repeat left center/contain; }
	.gl-link:hover .hovarIcon01-pc:after{ background: url(/https/chester-tax.com/assets/images/common/icon-file02.png) no-repeat left center/contain; }
	
	.inline-block-pc{ display: inline-block; }
	.bottom02px-pc:after{ bottom: 2px; }
	.bottom03px-pc:after{ bottom: 3px; }
	.bottom04px-pc:after{ bottom: 4px; }
	.bottom06px-pc:after{ bottom: 6px; }
}
@media screen and (min-width: 814px){
	.none814{ display: none; }
}
@media screen and (max-width: 767px){
	.iconFile02-01-smt:after{
		content: '';
		position: absolute;
	}
	
	.iconFile02-01-smt:after{
		width: 12px;
		height: 12px;
	}
	
	.gl-link:hover .hovarIcon02-smt:after{ background: url(/https/chester-tax.com/assets/images/common/icon-file01.png) no-repeat left center/contain; }
	
	.iconFile02-01-smt{ background: url(/https/chester-tax.com/assets/images/common/icon-file02.png) no-repeat left center/contain; }
	
	.bottom02px-smt:after{ bottom: 2px; }
	.bottom03px-smt:after{ bottom: 3px; }
	.bottom06px-smt:after{ bottom: 6px; }
}





/*serviceページ 年間相続税申告件数*/
.stat-container {
    display: flex;
    align-items: center;
    font-family: Arial, sans-serif;
    justify-content: space-between;
    width: 1000px;
    max-width: 100%;
    margin: 0 auto; 
    flex-wrap: nowrap;
    margin-bottom: 1.2rem;
}

.stat, .stat.highlight {
    border: 1px solid #ccc;
    padding: 3px 15px;
    flex: 1; 
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 5px;
    border-radius: 10px;
}

.stat .value, .stat.highlight .value {
    font-size: 35px;
    font-weight: bold;
}

.stat .description, .stat.highlight .description {
    font-size: 16px;
    line-height: 23.8px;
    text-align: center;
}

.highlight {
    background-color: #003366;
    color: #fff;
}

.operator {
    font-size: 36px;
    color: #003366;
    margin: 0 10px;
    font-weight: bold;
}


.stat sup {
    font-size: 14px;
    color: #818181;
    right: 5px;
    top: 5px;
}

.Doc_fs150 {font-size:150%;}

/* Media Queries for Responsive Adjustments */
@media (max-width: 1050px) and (min-width: 927px) {
    .stat .value, .stat.highlight .value {
        font-size: 28px;
    }

    .stat .description, .stat.highlight .description {
        font-size: 14px;
    }

    .operator {
        font-size: 28px;
    }
}

@media (max-width: 926px) {
    .stat-container {
        flex-direction: column;
        width: auto;
        text-align: center;
        max-width: 560px;
    }

    .stat, .stat.highlight, .operator {
        width: 100%;
        /*margin-top: 10px;*/
        justify-content: center;
        gap: 20px;
    }

    .stat .value, .stat.highlight .value, .operator {
        font-size: 24px;
    }

    .stat .description, .stat.highlight .description {
        font-size: 16px;
    }
}

@media (max-width: 1030px) {
    .pl35 {
        padding-left: 0;
    }
}

@media (max-width: 601px) {
    .Doc_section {
        text-align: center;
    }
    .Doc_br {
        display: block;
        width: 100%;
    }
}
