@charset "UTF-8";

/* -----------------------------------------------
contact.php(スマホ画面)
----------------------------------------------- */

@media print, screen and (max-width: 767px){
	.none767{ display: none; }
	table.form-wrap td > p { margin-bottom: 1rem; }
	#form-contents label{
		display: inline-block;
		text-indent: -3.75rem;
		padding-left: 3.75rem;
	}
	#form-contents .checkbox-item, #form-contents .radio-item{
		margin-top: -0.2rem;
		margin-right: 0.75rem;
	}
	#form-contents th, #form-contents td{ padding: 1.5rem; }
	input[type="checkbox"],input[type="radio"]{width: 3rem; height: 3rem;}
  
  /* スマホのみフッター非表示 2023/12/19 */
  #foot-bottom .foot-bottom-list{ display: none; }
  #foot-bottom #copy{ padding-top: 3rem; }
}


/* -----------------------------------------------
取材文表示
----------------------------------------------- */

.contactInterview{ display: none; }

.place-help-link {
    margin-left: 15px;
    display: inline-grid;
    background-color: #ff9900;
	padding: 0 5px;
    text-align: center;
    color: white;
    font-weight: 900;
    border: 1px solid #cc3300;
	border-radius: 5px;
	line-height: 1.2;
	-webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
	-khtml-user-select: none; /* Konqueror HTML */
	-moz-user-select: none; /* Old versions of Firefox */
	-ms-user-select: none; /* Internet Explorer/Edge */
	user-select: none; /* Non-prefixed version, currently supported by Chrome, Opera and Firefox */
}

/* -----------------------------------------------
20220325 new add
----------------------------------------------- */
.tel-list{
	width: 100%;
	overflow: hidden;
	clear: both;
}
.tel-list li{
	width: 48%;
	float: left;
	margin-right: 4%;
}
.tel-list li:nth-of-type(even){
	margin-right: 0;
}
.tel-date{
	border-radius: 5px;
}
.tel-list-sp{
	display: none;
}
@media only screen and (min-width: 806px) {
	.foot-contact-inner{
		font-size: initial;
		padding: 2rem 3rem;
	}
	.foot-contact-right-attention{
		display: block;
	}
}
@media only screen and (min-width: 769px) {
	.tel-list .lh1 {
		display: flex;
	}
	.tel-list .lh1 span.tel-addr {
		min-width:5.5em;
	}
}
@media only screen and (max-width: 989px) {
	.tel-list span.fs130{
		font-size: 110%;
	}
}
@media only screen and (max-width: 898px) {
	.tel-list span.fs110{
		font-size: 80%;
	}
	.tel-list span.fs130{
		font-size: 95%;
	}
}
@media only screen and (max-width: 768px) {
	.tel-list{
		display: none;
	}
	.tel-list-sp{
		display: block !important;
	}
	.tel-list-sp a{
		text-decoration: none;
		background-color: #ffffff;
		display: block;
		margin-left: 0;
		border-radius: 4px;
		padding: 6px 2px 3px;
		border: 1px solid #134674;
	}
	.tel-list-sp li{
		margin-bottom: 0.8rem;
	}
	.lh1 {
    position: relative;  /* 追加: 疑似要素の位置を制御するために相対位置を設定 */
}

.lh1 a.tel-number {
    padding-left: 80px;  /* 追加: アイコンと余白の分だけ左パディングを増やす */
}

.lh1 a.tel-number::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;  /* 絶対位置指定 */
    margin-right:20px;
    left: 20px;  /* 左から 30px の位置 */
    top: 50%;  /* 親要素の上から 50% の位置 */
    transform: translateY(-50%);  /* 自身の高さの 50% 分上に移動 */
}
.lh1 a.tel-number::before {
        display: block;  /* スマホ表示時のみアイコンを表示 */
    }
}
@media screen and (max-width: 767px) {
  .lh1 a.tel-number {
    padding-left: 0;  /* 767px以下のときはパディングを0に */
  }
  .lh1 a.tel-number::before { content: none; }
}

@media screen and (max-width: 767px) and (min-width: 351px) {
  /* スマホのみ電話アイコン調整 */
  .lh1 a.tel-number > span.tel-addr { position: relative; }
  
  .lh1 a.tel-number > span.tel-addr:before{
    content: '';
    display: inline;
    background: url('/https/chester-tax.com/assets/images/top/ifn1015.svg') no-repeat center;  /* 背景画像に SVG アイコンを設定 */
    background-size: contain;  /* アイコンがコンテナに収まるようにサイズ指定 */
    position: absolute;  /* 絶対位置指定 */
  }
}
@media screen and (max-width: 767px) and (min-width: 481px) {
  .lh1 a.tel-number > span.tel-addr { padding-left: 22.7px; }
  .lh1 a.tel-number > span.tel-addr:before{
    top: calc( 50% - 11px );  /* 親要素の上から 50% の位置から高さの半分を上部の配置 */
    left: 0;  /* 左から 30px の位置 */
    width: 15.7px;  /* アイコンの幅を指定 */
    height: 20px;  /* アイコンの高さを指定 */
  }
}
@media screen and (max-width: 480px) and (min-width: 351px) {
  .lh1 a.tel-number > span.tel-addr { padding-left: 19.1px; }
  .lh1 a.tel-number > span.tel-addr:before{
    top: calc( 50% - 10px );  /* 親要素の上から 50% の位置から高さの半分を上部の配置 */
    left: 0;  /* 左から 30px の位置 */
    width: 14.13px;  /* アイコンの幅を指定 */
    height: 18px;  /* アイコンの高さを指定 */
  }
}

@media screen and (max-width: 350px){}

@media only screen and (max-width: 767px) {
	.pc-navi{
		display: none !important;
	}
	.tel-list-sp li{
		text-align: center;
	}
}
@media only screen and (max-width: 480px) {
	.tel-list-sp .fs80{
		font-size: 70%;
	}
	.tel-list-sp .fs95{
		font-size: 76%;
	}
}
@media only screen and (max-width: 366px) {
	.tel-list li a{
		margin: 5px 0;
	}
}
/* -----------------------------------------------
20220901 new add
----------------------------------------------- */
@media print, screen and (max-width: 767px){
	.cntArrow_box02 {
	    display: block;
	}
	#serviceChester span:not(:last-of-type){
		display: none;
	}
	.cntArrow_box02:before, .cntArrow_box02:after, .cntArrow_box02 > div:before, .cntArrow_box02 > div:after, .cntArrow_box02 > div > div:after{
		display: none;
	}
}

/* -----------------------------------------------
20230710 new add
----------------------------------------------- */

.tel-ph-box{
	display: -webkit-flex;
	display: flex;
}

.tel-common-cbox{
	flex: none;
	width: 350px;
}

.tel-common-cbox .tel-common-cb-tit01{
	font-size: 25px;
	font-weight: bold;
}

.tel-common-cbox .tel-common-cb-tit03{
	font-weight: bold;
	font-size: 24px;
	line-height: 1.3;
}

.tel-common-cbox .tel-common-cb-num{
	font-size: 36px;
	line-height: 1.2;
	font-weight: bold;
	text-decoration: none;
}

.tel-common-cbox .tel-common-cb-num_2{
	font-size: 26px;
	line-height: 1.2;
	font-weight: bold;
	text-decoration: none;
}

.tel-common-cbox .tel-common-cb-num01{
	font-size: 34px;
	font-weight: bold;
	line-height: 1;
}

#foot-area-contact .tel-common-cbox {
	width: 370px;
}

.tel-common-cbox .tel-common-cb-num-color01{
	color: #134674;
}

.tel-common-cbox .tel-common-cb-num-color02{
	color: #4c4c4c;
}

.tel-common-cbox .tel-common-cb-sp{
	display: none;
}

.tel-common-cbox .tel-common-cb-lbox{
	display: -webkit-flex;
	display: flex;
	align-items: center;
}

.tel-common-cbox .tel-common-cb-txt01,
.tel-common-cbox .tel-common-cb-txt02{
	flex: none;
}

.tel-common-cbox .tel-common-cb-txt01{
	font-size: 18px;
	margin-right: 8px;
}

.tel-common-cbox .tel-common-cb-txt02{
	width: 90px;
	font-size: 20px;
}

.tel-common-cbox .tel-common-cb-tit02{
	font-size: 18px;
	font-weight: bold;
}

.tel-common-cbox .tel-common-cb-txt04{
	font-size: 14px;
	margin-right: 8px;
}

.tel-common-cb-sp{
	display: none;
}

.tel-common-cb-txt03{
	font-size: 16px;
	line-height: 1.25;
	margin-top: 30px;
}

.tel-common-cb-link{
	display: inline-block;
	font-size: 16px;
	line-height: 1;
	text-decoration: none;
	border-bottom: 1px solid #000;
	margin-left: 40px;
	margin-top: 5px;
}

.tel-common-mb25{
	margin-bottom: 25px;
}

.tel-common-mb15{
	margin-bottom: 15px;
}

.ph-box-img-border{
	width: 290px;
	border: 1px solid #000000;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

.foot-contact-flexBox{
	display: -webkit-flex;
	display: flex;
	justify-content: center;
}

.ph-box .ph-box_img.ph-box-img-flexBox{
	display: -webkit-flex;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 10px 18px;
}

.foot-contact-right-attention{
	font-size: 18px;
	margin-bottom: 16px;
	padding: 2px 5px;
	text-align: center;
}

.foot-contact-right-attention-txt{
	font-size: 18px;
	display: inline-block;
	/*text-align: left;*/
}

.foot-contact-right-attention-txt span{
	display: inline-block;
}

.foot-contact-right-attention-txt span:last-of-type{
	margin-top: 15px;
}

.foot-area-contact .tel-common-cbox{
	width: 340px;
}

.tel-common-cb-lbox01,
.tel-common-cb-lbox04{
	flex-wrap: wrap;
}

.tel-common-cb-lbox .tel-common-cb-lbox_column > div {
    display: flex;
    flex-direction: column;
}

.tel-common-cb-lbox_column .fs70 {
    order: 3; /* 順序を調整 */
}

@media (max-width: 351px) {
    .tel-common-cb-lbox_column {
        flex-direction: column;
    }
    .tel-common-cbox .tel-common-cb-lbox {
        align-items: flex-start;
}
}

.tel-common-cb-ltbox{
	width: 85px;
	flex: none;
	line-height: 1;
}

.tel-common-cb-ltbox>img,
.tel-common-cb-ltbox>picture{
	width: 30px;
	display: none;
}

@media only screen and (min-width: 768px) and (max-width: 820px) {
	.foot-contact-flexBox{ flex-wrap: wrap; }
	.foot-contact-flexBox > div{ width: 100%; }
	
	#foot-area-contact .tel-common-cbox{
		margin-right: auto;
		margin-left: auto;
		max-width: 360px;
		width: 100%;
	}
	
	.ph-box .ph-box_img.ph-box-img-flexBox{
		padding-top: 10px;
		padding-bottom: 10px;
	}
	
	.foot-contact-right-attention{
		margin: 0 auto;
		max-width: 300px;
		width: 100%;
	}
	.foot-contact-right-attention-txt > br{
		display: none;
	}
	.foot-contact-right-attention-txt > span:last-of-type{
		display: inline-block;
	}
}

@media only screen and (max-width: 768px) {
	.tel-common-cb-sp{
		display: block !important;
	}

	.tel-common-cb-pc{
		display: none;
	}

	.tel-common-cbox .tel-common-cb-tit01 {
		font-size: 20px;
	}

	.tel-common-cbox .tel-common-cb-num{
		font-size: 30px;
		text-decoration: underline;
	}

	.tel-ph-box{
		display: block;
		text-align: center;
	}

	.tel-common-cbox{
		display: inline-block;
		width: auto;
		text-align: left;
	}

	.tel-common-cb-ltbox{
		width: 120px;
		padding: 5px 0;
	}

	.tel-common-cb-ltbox>img,
  .tel-common-cb-ltbox>picture{
		width: 30px;
		display: inline-block;
	}
}

/* -----------------------------------------------
20231101 new add
スマホ初回面談のご案内
----------------------------------------------- */
@media print, screen and (max-width: 767px){}
	.iniInterviewSmt{
		max-width: 480px;
		width: 100%;
	}
	.iniInterviewSmt > .iniInterviewTit{
		border-top: 1px solid #000000;
		border-bottom: 1px solid #000000;
	}
	.iniInterviewSmt > .iniInterviewTit > p{
		margin: 0 auto;
		padding: 0.5rem 0.25rem;
		position: relative;
		text-align: center;
		/* max-width: 230px; */
		width: 100%;
	}
	/* .iniInterviewSmt > .iniInterviewTit > p:before,
	.iniInterviewSmt > .iniInterviewTit > p:after{
		content: '';
		background: #333;
		position: absolute;
		width: 10px;
		height: 1px;
		top: calc( 50% - 1px );
		right: 6px;
		
	}
	
	.iniInterviewSmt > .iniInterviewTit > p:before{
		transform: rotate(0deg);
	}
	.iniInterviewSmt > .iniInterviewTit > p:after{
		transform: rotate(90deg);
	}
	
	.iniInterviewSmt > .iniInterviewTit.accordionClose > p:before{
		transform: rotate(45deg);
	}
	.iniInterviewSmt > .iniInterviewTit.accordionClose > p:after{
		transform: rotate(-45deg);
	}
 */
	
	.iniInterviewSmt > ul{
		/* display: none; */
		margin: 1rem auto 0 auto;
		width: 94%;
	}
	.iniInterviewSmt > ul > li{
		line-height: 1.4;
		margin-top: 0.5rem;
	}
	.iniInterviewSmt > ul > li:first-of-type{ margin-top: 0; }
	
	.iniInterviewSmt > ul > li > a{
		display: block;
		color: #00A3DD;
	}
	
	.iniInterviewSmt > ul > li > a:hover{ color: #dc9710; }

@media print, screen and (min-width: 768px){
  .iniInterviewSmt{ margin: 1rem auto 2rem 0; }
}
@media print, screen and (max-width: 767px){
  .iniInterviewSmt{ margin: 1rem auto; }
}

/* ------------------------------------------------
お問い合わせ先セレクトボタンcss
------------------------------------------------ */
select[class^="place"] optgroup{
	background: #24486A;
	color: #ffffff;
}
select[class^="place"] option{
	background: #ffffff;
	color: #000000;
}

/* ------------------------------------------------
▶TV面談・電話面談をご希望のお客様
tv_mendan.cssから抜粋、一部変更
------------------------------------------------ */
/*ラジオボタンを全て消す*/
input[name="tab_item01"] { display: none; }

@media print, screen and (max-width: 767px) {}
/*タブ切り替え全体のスタイル*/
.tabs01 {
  background-color: #fff;
  font-size: 0;
  margin: 0;
  position: relative;
}

.tabs01 > h3{
  font-size: calc( 1.6rem * 1.5 );
  line-height: 1.4;
  min-height: 40px;
  padding-left: 50px;
}
.tabs01 > h3:first-of-type{
  background: url(/https/chester-tax.com/assets/images/tv_mendan/tv_icon02.png) left top no-repeat;
  background-size: 40px;
}
.tabs01 > h3:nth-of-type(2){
  background: url(/https/chester-tax.com/assets/images/tv_mendan/tv_icon03.png) left top no-repeat;
  background-size: 40px;
}

.tab_menu01,
#tab_contents01{ font-size: 1.6rem; }

.tab_menu01{
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  max-width: 700px;
  width: 100%;
}

.tab_item01 {
  background-color: #134674;
  border: 2px solid rgba( 0,0,0,0 );
  border-radius: 5px;
  color: #ffffff;
  cursor: pointer;
  display: block;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.4;
  padding: 0.5em 2.3rem 0.5em 0.5em;
  position: relative;
  text-align: center;
  transition: all 0.2s ease;
  vertical-align: middle;
  width: 100%;
}

.tab_item01.tel01{
  margin-top: 0;
  margin-right: 0;
}

/*選択されているタブのコンテンツのみを表示*/
#zoom:checked ~ #tab_contents01 > #zoom-contents,
#google-hangouts:checked ~ #tab_contents01 > #google-hangouts-contents,
#zoom:checked ~ #tab_contents01 > #zoom-contents,
#telMendan:checked ~ #tab_contents01 > #tel-contents{
  display: block;
  opacity: 1;
  transition: opacity 0.6s;
  height: auto;
}

/*タブ切り替えの中身のスタイル*/
.tab_content01 {
  display: none;
  padding: 0 10px;
  clear: both;
  overflow: hidden;
  opacity: 0;
  transition: opacity 1s, height 0;
  height: 0;
}

/*選択されているタブのスタイルを変える*/
.tabs01 #zoom:checked ~ .tab_menu01 > .tab_menu01Cont > label[for="zoom"],
.tabs01 #google-hangouts:checked ~.tab_menu01 > .tab_menu01Cont > label[for="google-hangouts"],
.tabs01 #telMendan:checked ~ .tab_menu01 label[for="telMendan"]{
  background-color: #ffffff;
  border-color: #134674;
  color: #134674;
  padding-right: 3.3rem;
}

.tab_menu01 > .tab_menu01Cont:nth-of-type(1),
.tab_menu01 > .tab_menu01Cont:nth-of-type(2){ margin-bottom: 0.5rem; }

.tab_menu01 > .tab_menu01Cont > p{
  color: #134674;
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1.2;
  margin: 0 auto;
  padding: 0.5rem 2.2rem;
  position: relative;
  text-align: center;
  width: 100%;
}

.tab_menu01 > .tab_menu01Cont:first-of-type > p{ max-width: calc( 4.4rem + 200px ); }
.tab_menu01 > .tab_menu01Cont:nth-of-type(2) > p{ max-width: calc( 4.4rem + 270px ); }

.tab_menu01 > .tab_menu01Cont > p:first-of-type:before,
.tab_menu01 > .tab_menu01Cont > p:first-of-type:after,
.tab_menu01 > .tab_menu01Cont > p:nth-of-type(2):before,
.tab_menu01 > .tab_menu01Cont > p:nth-of-type(2):after{
  content: '';
  background: #134674;
  position: absolute;
  top: 0;
  width: 1px;
  height: 100%;
}

.tab_menu01 > .tab_menu01Cont > p:first-of-type:before,
.tab_menu01 > .tab_menu01Cont > p:nth-of-type(2):before{
  left: 8px;
  transform: rotate(-30deg);
}

.tab_menu01 > .tab_menu01Cont > p:first-of-type:after,
.tab_menu01 > .tab_menu01Cont > p:nth-of-type(2):after{
  right: 8px;
  transform: rotate(30deg)
}

.tab_menu01 label:after{
  content: "▼";
  border: none;
  font-size: 13px;
  position: absolute;
  top: calc( 50% - 9px );
  right: 1rem;
  bottom: auto;
  left: auto;
  z-index: 1;
  width: auto;
}
@media print, screen and (max-width: 767px) and (min-width: 641px) {}
@media print, screen and (min-width: 641px) {
	/*タブのスタイル*/
	.tab_menu01 > div{
		margin-right: 10px;
		width: calc( ( 100% - 10px ) / 2 - 0.1px );
	}
	.tab_menu01 > div:nth-of-type(even){ margin-right: 0; }

	.tab_item01.tel01{ width: calc( ( 100% - 20px ) / 2 - 0.1px ); }
	
	.tab_menu01 > .tab_menu01Cont{ align-self: flex-end; }

}

@media print, screen and (max-width: 640px) {
	.tab_menu01{ flex-direction: column; }
	
	.tab_item01{
		margin-right: 0;
		width: 100%;
	}
	
	.tab_menu01 > div:first-of-type,
	.tab_menu01 > div:nth-of-type(even){ margin-top: 0; }
	
	.tab_menu01 > .tab_menu01Cont:nth-of-type(3),
	.tab_menu01 > .tab_menu01Cont:nth-of-type(4),
	div.tab_menu01:nth-of-type(2){
		margin: 0 auto;
		max-width: 360px;
		width: 100%;
	}
	
	.tab_menu01 > .tab_menu01Cont:nth-of-type(1){ order: 0; }
	.tab_menu01 > .tab_menu01Cont:nth-of-type(2){
		order: 3;
		margin-top: 1.5rem;
	}
	.tab_menu01 > .tab_menu01Cont:nth-of-type(3){ order: 2; }
	.tab_menu01 > .tab_menu01Cont:nth-of-type(4){ order: 4; }
}

/* 『ベルフェイス』の流れ
-------------------------------------------------------------------- */

@media print, screen and (max-width: 767px) {}
.bellFace-box{
  background-color: #e2ecf6;
  border: 1px solid #134674;
  padding: 2rem;
}

.bellFace-box-num{
  padding-left: 2.75em;
  text-indent: -2.75em;
  text-align: center;
  width: 100%;
}

.bellFace-box-img{
  text-align: center;
  margin: 1em auto;
}
