@charset "utf-8";
/* CSS Document */


/*h2タイトル設定*/
#consult h2 {
	clear: both;
	margin: 10px 20px 40px 20px;	/*上下、左右への余白*/
	font-size: 160%;	/*文字サイズ*/
    line-height: 1.2em;
	color: #1f2c5c;		/*文字色*/
    text-align: center;
    border-bottom: 1px solid #999999;	/*枠線の幅、線種、色*/
}
#consult h2 span {
    font-size: 70%;	/*文字サイズ*/
	line-height: 1em;
}
#consult h2 span::before {
	content: "\A" ;
	white-space: pre;
}

#consult h3 {
	clear: both;
    color: #1f2c5c;
	margin-bottom: 20px;
	padding: 5px 20px;	/*上下、左右への余白*/
	font-size: 120%;	/*文字サイズ*/  
    background: #eeeeee;
    text-align: center;
    border-bottom: 1px solid #999999;	/*枠線の幅、線種、色*/
    border-radius: 0px;	/*角丸のサイズ。この行を削除すれば角が尖った長方形になります。*/
    border-left: none;
    border-top: none;
    border-right: none;
}
#consult h3::first-letter {
	border-left: none;	/*左の線の幅、線種、色*/
	padding-left: 0px;				/*線とテキストとの余白*/
}

/*コンテンツのh4タグ設定*/
#consult h4 {
	clear: both;
	color: #1f2c5c;
    font-size: 110%;	/*文字サイズ*/
    margin-left: 20px;
    margin-bottom: 6px;
    border-bottom: 1px solid #1f2c5c;	/*枠線の幅、線種、色*/
}
#consult h4:before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f061";
  margin-right: 8px;
}

/*文中の文字を囲む*/
a.moji_kakomi{
	border: 0.5px solid #fff; /* 枠の線の太さ・種類・色 */
	font-size: 0.8em;	/* フォントの大きさ */
	color: #FFFFFF;
	text-decoration: none;
}

/*吹き出し　
------------------------------------------------------------------------------------------------------------------------------------------------------*/
/*吹き出し*/
.flow_waku, .flow_waku2 {
  position: relative;
  display: inline-block;
  margin: 1.0em 0;
  padding: 1.5em 10px;
  text-align: center;
  line-height: 1.2em;
  width: 100%;
  background: #6a79b1;
  border: solid 1px #6a79b1;
  box-sizing: border-box;
  color: #fff;
}

.flow_waku:before, .flow_waku2:before, .flow_waku2:after {
  content: "";
  position: absolute;
  bottom: -29px;
  margin-left: -17px;
  border: 14px solid transparent;
  border-top: 14px solid #6a79b1;
  z-index: 2;
}
/*赤*/
.flow_blue, .flow_blue_end {
  position: relative;
  display: inline-block;
  margin: 1.0em 0;
  padding: 1.5em 10px;
  text-align: center;
  line-height: 1.2em;
  width: 100%;
  background: #ff7700;
  border: solid 1px #ff7700;
  box-sizing: border-box;
  color: #fff;
}

.flow_blue:before {
  content: "";
  position: absolute;
  bottom: -29px;
  margin-left: -17px;
  border: 14px solid transparent;
  border-top: 14px solid #ff7700;
  z-index: 2;
}
/*緑*/
.flow_green, .flow_green_end {
  position: relative;
  display: inline-block;
  margin: 1.0em 0;
  padding: 1.5em 10px;
  text-align: center;
  line-height: 1.2em;
  width: 100%;
  background: #43b934;
  border: solid 1px #43b934;
  box-sizing: border-box;
  color: #fff;
}

.flow_green:before {
  content: "";
  position: absolute;
  bottom: -29px;
  margin-left: -17px;
  border: 14px solid transparent;
  border-top: 14px solid #43b934;
  z-index: 2;
}

/* 全体を半分で囲わないとレイアウトが崩れる */
.flow_left, .flow_right {
  width: 50%;
  float: left;
}

.flow_waku:before {
  left: 50%;
}

.flow_waku2:before {
  left: 24.5%;
}
.flow_waku2:after {
  left: 75.5%;
}

.flow_waku_half {
  width: 99%;
}
.flow_waku_quarter {
  width: 49%;
}
.flow_space_l {
  float: right;
  margin-left: 1%;
}
.flow_space_r {
  float: left;
  margin-right: 1%;
}


#main .flow_waku p, #main .flow_waku2 p, #main .flow_blue p, #main .flow_green p, #main .flow_blue_end p, #main .flow_green_end p {
  margin: 0px;
  padding: 0px;
}

.flow_moji {
  font-size: 120%;
  font-weight: bold;
  text-align: center;
  color: #1f2c5c;
}

/*事業承継（M&A）全般の支援の流れ
------------------------------------------------------------------------------------------------------------------------------------------------------*/

#consult .consultation-ti {
  position: relative;
  overflow: hidden;
  padding: 0.5rem 1rem 0.5rem 10rem;
  margin: 30px;
  border: 2px solid #003b76;
  font-size: 1.5rem;
  background: #FFF;
  text-align: left;
}

#consult .consultation-ti:before {
  position: absolute;
  top: -150%;
  left: -100px;
  width: 200px;
  height: 300%;
  content: '';
  -webkit-transform: rotate(25deg);
  transform: rotate(25deg);
  background: #003b76;
}

#consult .consultation-ti span {
  font-size: 2rem;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  display: block;
  padding-top: 1px;
  padding-left: 16px;
  color: #fff;
}


/*申込フォームボタン　設定*/
.btn_form {
	color: #fff;
	width: 300px;
	margin: 0 auto 1em;
	background-color: #113893;
	font-size: 1.2em;
	padding: 0.5em 1em;
	text-align: center;
	border-radius: 10px;
	cursor:pointer;
}
.btn_form a {
	display:block;
	text-decoration: none;
	color: #FFFFFF;
}

.btn_form:hover {
  color: #fff;
  background: #5e7aba;
}

/*画面幅900px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:900px){



}


/*画面幅800px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:800px){



}


/*画面幅767px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:767px){



}


/*画面幅480px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:480px){




}