@charset "utf-8";
/* CSS Document */
	
/*-------------------------------------------
税理士紹介
---------------------------------------------*/
#ZeirishiSyoukai p{
	margin-bottom: 0px;
	}

#ZeirishiSyoukai > img {
	display: block;
	width: 980px;
	margin-left: auto;
	margin-right: auto;
}
#ZeirishiSyoukai ul {
	width: 960px;
	margin-left: auto;
	margin-right: auto;
	padding-top: 30px;
	overflow: hidden;
 display: flex;
 justify-content: space-between;
 flex-wrap: wrap
}
#ZeirishiSyoukai ul li {
	width: 475px;
 display: flex;
 flex-direction: column;
	padding: 10px 5px 10px;
	background: #fff;
	position: relative;
	margin-bottom: 10px;
	border: 1px solid #E2E2E2;
}

#ZeirishiSyoukai ul li {
	margin-top: 20px;
}
#ZeirishiSyoukai ul li:nth-child(5) {
	background: none;
	box-shadow: none;
}
#ZeirishiSyoukai h3 {
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	padding-left: 5px;
	font-size: 28px;
	font-weight: normal;
	margin-bottom: 8px;
	line-height: 1.0
}
#ZeirishiSyoukai h3 span.small {
	font-size: 15px;
}
#ZeirishiSyoukai h3 span.large {
	font-size: 32px;
	font-weight: bold;
	color: #f58003;
}
#ZeirishiSyoukai .name_box {
	width: 100%;
	overflow: hidden;
	padding: 5px 10px 0px 50px;
	margin-bottom: 5px;
}
#ZeirishiSyoukai a {
	display: block;
	margin-left: auto;
	margin-right: auto;
	padding: 5px 5px 0px 20px;
	width: 132px;
	height: 30px;
	color: #fff;
	margin-top: 10px;
	border-radius: 15px;
	text-align: center;
	text-decoration: none;
	position: relative
}
#ZeirishiSyoukai a:before {
	position: absolute;
	content: "";
	width: 4px;
	height: 7px;
	top: 12px;
	left: 25px;
	background-image: url(../img/link_arrow.gif);
	background-repeat: no-repeat;
	background-position: left center;
}
#ZeirishiSyoukai li#Tsuruta .name_box {
	background: rgb(20,149,22);
	background-image: -moz-linear-gradient( 7deg, rgb(20,149,22) 0%, rgb(24,191,28) 100%);
	background-image: -webkit-linear-gradient( 7deg, rgb(20,149,22) 0%, rgb(24,191,28) 100%);
	background-image: -ms-linear-gradient( 7deg, rgb(20,149,22) 0%, rgb(24,191,28) 100%);
}
#ZeirishiSyoukai li#Tsuruta a {
	background: rgb(20,149,22);
}
#ZeirishiSyoukai li#Tsuruta a:hover {
	background: rgb(24,191,28);
}
#ZeirishiSyoukai li#Okamoto .name_box {
	background: rgb(28,100,199);
	background-image: -moz-linear-gradient( 7deg, rgb(28,100,199) 0%, rgb(0,135,230) 100%);
	background-image: -webkit-linear-gradient( 7deg, rgb(28,100,199) 0%, rgb(0,135,230) 100%);
	background-image: -ms-linear-gradient( 7deg, rgb(28,100,199) 0%, rgb(0,135,230) 100%);
}
#ZeirishiSyoukai li#Okamoto a {
	background: rgb(28,100,199);
}
#ZeirishiSyoukai li#Okamoto a:hover {
	background: rgb(0,135,230);
}
#ZeirishiSyoukai li#Higaki .name_box {
	background: rgb(233,86,32);
	background-image: -moz-linear-gradient( 7deg, rgb(233,86,32) 0%, rgb(242,145,37) 100%);
	background-image: -webkit-linear-gradient( 7deg, rgb(233,86,32) 0%, rgb(242,145,37) 100%);
	background-image: -ms-linear-gradient( 7deg, rgb(233,86,32) 0%, rgb(242,145,37) 100%);
}
#ZeirishiSyoukai li#Higaki a {
	margin-top: 30px;
	background: rgb(233,86,32);
}
#ZeirishiSyoukai li#Higaki a:hover {
	background: rgb(242,145,37);
}
#ZeirishiSyoukai li#Nitta .name_box {
	background: rgb(136,51,49);
	background-image: -moz-linear-gradient( 7deg, rgb(136,51,49) 0%, rgb(197,76,73) 100%);
	background-image: -webkit-linear-gradient( 7deg, rgb(136,51,49) 0%, rgb(197,76,73) 100%);
	background-image: -ms-linear-gradient( 7deg, rgb(136,51,49) 0%, rgb(197,76,73) 100%);
}

#ZeirishiSyoukai li#Hosomi .name_box {
	background: rgb(0,174,166);
	background-image: -moz-linear-gradient( 7deg, rgb(0,174,166) 0%, rgb(94,204,199) 100%);
	background-image: -webkit-linear-gradient( 7deg, rgb(0,174,166) 0%, rgb(94,204,199) 100%);
	background-image: -ms-linear-gradient( 7deg, rgb(0,174,166) 0%, rgb(94,204,199) 100%);
}
#ZeirishiSyoukai li#Hosomi a {
	margin-top: 30px;
	background: rgb(0,174,166);
}
#ZeirishiSyoukai li#Hosomi a:hover {
	background: rgb(94,204,199);}


#ZeirishiSyoukai li#Nitta a {
	margin-top: 30px;
	background: rgb(136,51,49);
}
#ZeirishiSyoukai li#Nitta a:hover {
	background: rgb(197,76,73);
}

#ZeirishiSyoukai li#Tanabe .name_box {
	background: rgb(143,195,31);
	background-image: -moz-linear-gradient( 7deg, rgb(143,195,31) 0%, rgb(174,212,93) 100%);
	background-image: -webkit-linear-gradient( 7deg, rgb(143,195,31) 0%, rgb(174,212,93) 100%);
	background-image: -ms-linear-gradient( 7deg, rgb(143,195,31) 0%, rgb(174,212,93) 100%);
}
#ZeirishiSyoukai li#Tanabe a {
	margin-top: 30px;
	background: rgb(143,195,31);
}
#ZeirishiSyoukai li#Tanabe a:hover {
	background: rgb(174,212,93);}


#ZeirishiSyoukai li#Murakami .name_box {
	background: rgb(127,90,27);
	background-image: -moz-linear-gradient( 7deg, rgb(127,90,27) 0%, rgb(196,139,43) 100%);
	background-image: -webkit-linear-gradient( 7deg, rgb(127,90,27) 0%, rgb(196,139,43) 100%);
	background-image: -ms-linear-gradient( 7deg, rgb(127,90,27) 0%, rgb(196,139,43) 100%);
}
#ZeirishiSyoukai li#Murakami a {
	margin-top: 30px;
	background: rgb(127,90,27);
}
#ZeirishiSyoukai li#Murakami a:hover {
	background: rgb(196,139,43);
}
#ZeirishiSyoukai .syozoku {
	color: #fff;
	font-size: 12px;
	height: 16px;
	line-height: 1.4
}
#ZeirishiSyoukai .name {
	color: #fff;
	font-size: 26px;
	display: flex;
	height: 36px;
	padding-left: 30px;
	line-height: 1.2
}
#ZeirishiSyoukai .name span {
	color: #fff;
	font-size: 12px;
	margin-right: 30px;
	padding-top: 10px;
}
#ZeirishiSyoukai p.honbun {
	padding: 5px;
 text-align: left;
}
#ZeirishiSyoukai li#Tsuruta img {
	position: absolute;
	top: -10px;
	right: 10px;
	z-index: 99;
	width: 138px;
	height: auto
}
#ZeirishiSyoukai li#Okamoto img {
	position: absolute;
	top: -8px;
	right: 10px;
	z-index: 99;
	width: 138px;
	height: auto
}
#ZeirishiSyoukai li#Higaki img {
	position: absolute;
	top: -8px;
	right: 10px;
	z-index: 99;
	width: 138px;
	height: auto
}

#ZeirishiSyoukai li#Hosomi img {
	position: absolute;
	top: -8px;
	right: 10px;
	z-index: 99;
	width: 138px;
	height: auto
}

#ZeirishiSyoukai li#Nitta img {
	position: absolute;
	top: -8px;
	right: 10px;
	z-index: 99;
	width: 138px;
	height: auto
}

#ZeirishiSyoukai li#Tanabe img {
	position: absolute;
	top: -8px;
	right: 10px;
	z-index: 99;
	width: 138px;
	height: auto
}

#ZeirishiSyoukai li#Murakami img {
	position: absolute;
	top: 3px;
	right: 10px;
	z-index: 99;
	width: 138px;
	height: auto
}
#ZeirishiSyoukai #ZeirishiAisatsu {
	padding: 20px;
	box-sizing: border-box;
	width: 100%;
	height:auto;
}
#ZeirishiSyoukai #ZeirishiAisatsu p {
	background-image: none;
	width: auto;
	height: auto;
}
#ZeirishiSyoukai #ZeirishiAisatsu p:first-child {
	font-size: 25px;
	line-height: 1.2;
	margin-bottom: 20px;
	font-weight: bold
}	
	

@media screen and (min-width:810px) and ( max-width:980px)  {
h2 {
  font-size:calc(100vw * 30 / 980);
}

#Contents.zeirishi_s_content{
padding:calc(100vw * 60 / 980) calc(100vw * 10 / 980);
}

#ZeirishiSyoukai ul {
	width: 100%;
	padding-top: calc(100vw * 10 / 980);
}
#ZeirishiSyoukai ul li {
	width:49%;
	padding:calc(100vw * 10 / 980) calc(100vw * 5 / 980) calc(100vw * 10 / 980);
	margin-bottom:calc(100vw * 10 / 980);
}
#ZeirishiSyoukai ul li {
	margin-top: calc(100vw * 20 / 980);
}

#ZeirishiSyoukai h3 {
	padding-left: calc(100vw * 5 / 980);
	font-size:calc(100vw * 28 / 980);
	margin-bottom:calc(100vw * 8 / 980);
}

#ZeirishiSyoukai h3 span.small {
	font-size:calc(100vw * 15 / 980);
}
#ZeirishiSyoukai h3 span.large {
	font-size:calc(100vw * 32 / 980);
}

#ZeirishiSyoukai .name_box {
	padding:calc(100vw * 5 / 980) calc(100vw * 10 / 980) 0px calc(100vw * 50 / 980);
	margin-bottom:calc(100vw * 5 / 980);
}


#ZeirishiSyoukai li#Higaki a {
	margin-top:calc(100vw * 30 / 980);
}

#ZeirishiSyoukai li#Hosomi a {
	margin-top:calc(100vw * 30 / 980);
}

#ZeirishiSyoukai li#Nitta a {
	margin-top: calc(100vw * 30 / 980);
}

#ZeirishiSyoukai li#Tanabe a {
	margin-top:calc(100vw * 30 / 980);
}

#ZeirishiSyoukai li#Murakami a {
	margin-top: calc(100vw * 30 / 980);
}

#ZeirishiSyoukai .syozoku {
	font-size:calc(100vw * 12 / 980);
	height: calc(100vw * 16 / 980);
}
#ZeirishiSyoukai .name {
	font-size: calc(100vw * 26 / 980);
	height:calc(100vw * 36 / 980);
	padding-left:calc(100vw * 30 / 980);
}

#ZeirishiSyoukai .name span {
	font-size:calc(100vw * 12 / 980);
	margin-right:calc(100vw * 30 / 980);
	padding-top:calc(100vw * 10 / 980);
}

#ZeirishiSyoukai p.honbun {
	padding:calc(100vw * 5 / 980);
}
#ZeirishiSyoukai li#Tsuruta img {
	top:calc(100vw * -10 / 980);
	right:calc(100vw * 10 / 980);
	width:calc(100vw * 138 / 980);
}
#ZeirishiSyoukai li#Okamoto img {
	top:calc(100vw * -8 / 980);
	right:calc(100vw * 10 / 980);
	width:calc(100vw * 138 / 980);
}

#ZeirishiSyoukai li#Higaki img {
	top:calc(100vw * -8 / 980);
	right:calc(100vw * -10 / 980);
	width:calc(100vw * 138 / 980);
}

#ZeirishiSyoukai li#Hosomi img {
	top:calc(100vw * -8 / 980);
	right:calc(100vw * 1 / 980);
	width:calc(100vw * 138 / 980);

}

#ZeirishiSyoukai li#Nitta img {
	position: absolute;
	top:calc(100vw * -8 / 980);
	right: calc(100vw * 10 / 980);
	width:calc(100vw * 138 / 980);
}

#ZeirishiSyoukai li#Tanabe img {
	top:calc(100vw * -8 / 980);
	right:calc(100vw * 10 / 980);
	width:calc(100vw * 138 / 980);
}

#ZeirishiSyoukai li#Murakami img {
	top:calc(100vw * 3 / 980);
	right:calc(100vw * 10 / 980);
	width:calc(100vw * 138 / 980);
}
#ZeirishiSyoukai #ZeirishiAisatsu {
	padding: calc(100vw * 20 / 980);
}

#ZeirishiSyoukai #ZeirishiAisatsu p:first-child {
	font-size:calc(100vw * 30 / 980);
	margin-bottom:calc(100vw * 20 / 980);
}	
}


@media screen and (max-width: 810px) {
#ContentsZ{
	width: 96%;
	margin-right: auto;
	margin-left: auto;	
	}
	
#ContentsZ h2{
	font-size: 18px;
	font-weight: bold;

	}
	/*------------------------------------------
税理士紹介
------------------------------------------*/
#ZeirishiSyoukai p {
margin-bottom: 0px;
}

#ZeirishiSyoukai ul {
	width: 90%;
}
#ZeirishiSyoukai ul li {
	width: 100%;
	float: none;
	height: auto;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 50px;
}
#ZeirishiSyoukai ul li:nth-child(even) {
	margin-right: auto;
}

#ZeirishiSyoukai .name_box {
	padding: 5px 10px 0px 5px;
	background: none
}

#ZeirishiSyoukai .syozoku {
	height: auto;
}
#ZeirishiSyoukai li#Tsuruta img, #ZeirishiSyoukai li#Okamoto img, #ZeirishiSyoukai li#Higaki img, #ZeirishiSyoukai li#Nitta img, #ZeirishiSyoukai li#Murakami img,#ZeirishiSyoukai li#Hosomi img,#ZeirishiSyoukai li#Watanebe img {
	right: 10px;
}
}
@media screen and (max-width: 610px) {
	
	#ZeirishiSyoukai ul {
	padding-top: 20px;
}
#ZeirishiSyoukai ul li {
	float: none;
	width: 100%;
	max-width: 600px;
	height: auto;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 30px;
	text-align: center;
	padding: 20px 10px;
	box-shadow: none
}
#ZeirishiSyoukai li#Tsuruta {
	border-top: 5px solid rgb(20,149,22);
}
#ZeirishiSyoukai li#Okamoto {
	border-top: 5px solid rgb(28,100,199);
}
#ZeirishiSyoukai li#Higaki {
	border-top: 5px solid rgb(233,86,32);
}
#ZeirishiSyoukai li#Nitta {
	border-top: 5px solid rgb(136,51,49);
}
#ZeirishiSyoukai li#Murakami {
	border-top: 5px solid rgb(127,90,27);
}

#ZeirishiSyoukai li#Hosomi {
	border-top: 5px solid rgb(0,174,166);
}
#ZeirishiSyoukai li#Tanabe {
	border-top: 5px solid rgb(143,195,31);
}

#ZeirishiSyoukai li#Watanebe {
	border-top: 5px solid rgb(127,90,27);
}

#ZeirishiSyoukai li#Tsuruta img, #ZeirishiSyoukai li#Okamoto img, #ZeirishiSyoukai li#Higaki img, #ZeirishiSyoukai li#Nitta img, #ZeirishiSyoukai li#Murakami img,#ZeirishiSyoukai li#Hosomi img,#ZeirishiSyoukai li#Tanabe img {
	position: static;
	margin-bottom: 10px;
	width: 200px;
 margin: 0 auto;
}

#ZeirishiSyoukai ul li:nth-child(even) {
	margin-right: auto;
}
#ZeirishiSyoukai h3 {
	padding-bottom: 10px;
	border-bottom: 1px dotted #ccc;
	margin-bottom: 0;
	line-height: 1.4
}
#ZeirishiSyoukai h3, #ZeirishiSyoukai h3 span.small, #ZeirishiSyoukai h3 span.large {
	font-size: 19px;
	font-weight: bold;
}

#ZeirishiSyoukai li#Tsuruta .name_box, #ZeirishiSyoukai li#Okamoto .name_box, #ZeirishiSyoukai li#Higaki .name_box, #ZeirishiSyoukai li#Nitta .name_box, #ZeirishiSyoukai li#Murakami .name_box,#ZeirishiSyoukai li#Hosomi .name_box,#ZeirishiSyoukai li#Tanabe .name_box {
	color: #fff;
	padding: 15px 10px;
	text-align: center
}
#ZeirishiSyoukai li#Tsuruta .name_box {
	background: rgb(20,149,22);
}
#ZeirishiSyoukai li#Okamoto .name_box {
	background: rgb(28,100,199);
}
#ZeirishiSyoukai li#Higaki .name_box {
	background: rgb(233,86,32);
}
#ZeirishiSyoukai li#Nitta .name_box {
	background: rgb(136,51,49);
}
#ZeirishiSyoukai li#Murakami .name_box {
	background: rgb(127,90,27);
}

#ZeirishiSyoukai li#Hosomi .name_box {
	background: rgb(0,174,166);
}

#ZeirishiSyoukai li#Tanabe .name_box {
	background: rgb(143,195,31);
}

#ZeirishiSyoukai .syozoku {
	display: none
}
#ZeirishiSyoukai .name {
	text-align: center;
	font-size: 16px;
	font-weight: normal;
	height: auto;
	padding-left: 10px;
	color: #fff;
	display: block
}
#ZeirishiSyoukai .name span {
	font-size: 14px;
	margin-right: 10px;
	margin-top: 4px;
	padding-top: 0px;
	color: #fff;
}
	}