@charset "utf-8";
/* CSS Document */

/*h2タイトル設定*/
#m_a h2 {
	clear: both;
	margin: 10px 20px 10px 20px;	/*上下、左右への余白*/
	font-size: 160%;	/*文字サイズ*/
    /*line-height: 1.2em;*/
	color: #1f2c5c;		/*文字色*/
    text-align: center;
    border-bottom: 1px solid #999999;	/*枠線の幅、線種、色*/
}
#m_a h2 span {
    font-size: 70%;	/*文字サイズ*/
	line-height: 1em;
}
#m_a h2 span::before {
	content: "\A" ;
	white-space: pre;
}

#m_a h3, #consultation 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;
}
#m_a h3::first-letter, #consultation h3::first-letter {
	border-left: none;	/*左の線の幅、線種、色*/
	padding-left: 0px;				/*線とテキストとの余白*/
}

#m_a h4, #jisseki h4, #consultation h4 {
	clear: both;
	color: #1f2c5c;
    font-size: 110%;	/*文字サイズ*/
    margin-left: 20px;
    margin-bottom: 6px;
    border-bottom: 1px solid #1f2c5c;	/*枠線の幅、線種、色*/
}
#m_a h4:before, #jisseki h4:before, #consultation h4:before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f061";
  margin-right: 8px;
}

/*あいち事業承継総合支援センターとはのリスト項目(トップページから移植)
---------------------------------------------------------------------------*/
#m_a .towalist {
    margin-top: -1em;
    list-style-type: disc;
    padding-left : 40px;
    color: #1f2c5c;
    font-weight: bold;
}

/*Q&A
------------------------------------------------------------------------------------------------------------------------------------------------------*/
.cp_qa {
    margin-left: 26px;
}

.cp_qa *, .cp_qa *:after, .cp_qa *:before {
    font-family: 'FontAwesome', sans-serif;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}
.cp_qa dt {
	position: relative;
	margin: 0 0 1.5em 0;
}
.cp_qa dd {
	position: relative;
	margin: 0 0 2em 0;
	padding: 0 0 1.5em 2em;
	border-bottom: 1px dotted #1f2c5c;
}
.cp_qa dt::before, .cp_qa dd::before {
	font-size: 1.2em;
	margin: 0 0.5em 0 0;
	color: #ffffff;
	border-radius: 50%;
	display: inline-block;
	width: 1.3em;
	height: 1.3em;
	line-height: 1.2em;
}
.cp_qa dt::before {
	padding: 0.1em 0.3em;
	content: 'Q';
	background: #f57c00;
}
.cp_qa dd::before {
	padding: 0.14em 0.3em;
	content: 'A';
	background: #0097a7;
}
.cp_qa dt::after, .cp_qa dd::after {
	position: absolute;
	top: 0.5em;
	display: inline-block;
	width: 0;
	height: 0;
	content: '';
	border-width: 5px 0 5px 5px;
	border-style: solid;
}
.cp_qa dt::after {
	left: 1.5em;
	border-color: transparent transparent transparent #f57c00;
}
.cp_qa dd::after {
	left: 3.5em;
	border-color: transparent transparent transparent #0097a7;
}

/* メリット　デメリット */
#jisseki .merit {
	float: left;
    margin-left: 30px;
    width: 46%;
}
#jisseki .merit .merit-ti {
    background: #b1b9d7;
    color: #fff;
    line-height: 0px;
    padding-top: 20px;
}

#jisseki .demerit {
	float: left;
    width: 46%;
    margin-left: 2%;
}
#jisseki .demerit .demerit-ti {
    background: #6a79b1;
    color: #fff;
    line-height: 0px;
    padding-top: 20px;
}

#jisseki .merit ul, #jisseki .demerit ul {
    list-style-type: disc;
    padding-left: 24px;
}


/*サブコンテンツ
---------------------------------------------------------------------------*/
/*ブロック１個あたりの設定*/
#btn_area {
    
}

.btn01 {
	float: right;
	width: 30%;		/*幅*/
	overflow: auto;
	background: #fff;	/*背景色*/
	/*margin-left: 1.5%;	ボックス同士の左右間の余白*/
	margin-bottom: 20px;	/*ボックス同士の上下間の余白*/
	border: 1px solid #fff;	/*枠線の幅、線種、色*/
	border-radius: 0px;		/*角丸のサイズ。とりあえず未使用（直角）*/
	height: 60px;	/*高さ（下の「.list a」の高さと揃える）*/
	line-height: 1.4;
	position: relative;
    color: #1f2c5c;		/*文字色*/
	-webkit-box-shadow: 0px 0px 3px rgba(0,0,0,0.3);	/*影の設定。右へ、下へ、ぼかし幅。rgbaは色設定で0,0,0は黒。0.2が透明度。*/
	box-shadow: 0px 0px 3px rgba(0,0,0,0.3);			/*同上*/
}
.btn01 a {
	display: block;
	overflow: auto;
	text-decoration: none;
	height: 60px;	/*高さ（上の「.list」の高さと揃える）*/
}
.btn01 a:hover {
	background: #1f2c5c;	/*背景色*/
    background: linear-gradient(#d3d7e1, 60% , #1f2c5c);	/*背景グラデーション*/
	color: #fff;		/*マウスオン時の文字色*/
}
.btn01 .sw {
	font-size: 20px;	/*文字サイズ*/
    line-height: 60px;
    text-align: center;
}

/*テーブル
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta1 caption,
.ta2 caption {
	border: 1px solid #999;	/*テーブルの枠線の幅、線種、色*/
	border-bottom: none;	/*下線だけ消す*/
	text-align: left;		/*文字を左寄せ*/
	background: #cce6f6;		/*背景色*/
	font-weight: bold;		/*太字に*/
	padding: 10px;			/*ボックス内の余白*/
}
/*テーブル１行目に入った見出し部分（※tamidashi）*/
.ta1 th.tamidashi,
.ta2 th.tamidashi {
	width: auto;
}
/*ta1,ta2共通設定*/
.ta1,
.ta2 {
	table-layout: fixed;
	width: 60%;
	margin: 0 auto 20px;
}
.ta1, .ta1 td, .ta1 th,
.ta2, .ta2 td, .ta2 th {
	word-break: break-all;
	border: 1px solid #999;	/*テーブルの枠線の幅、線種、色*/
	padding: 10px;	/*ボックス内の余白*/
    text-align: center;
}
/*テーブル１行目に入った見出し部分*/
.ta1 th.tamidashi,
.ta2 th.tamidashi {
	width: auto;
	text-align: left;	/*左よせ*/
	background: #cce6f6;	/*背景色*/
}
/*ta1の左側ボックス*/
.ta1 th {
	/*width: 140px;	幅*/
	text-align: center;	/*センタリング*/
	background: #f0f0f0;	/*背景色*/
}
/*ta2の左側ボックス*/
.ta2 th {
	background: #fffeba;	/*背景色*/
}
/*ta2の右側ボックス*/
.ta2 td {
	text-align: center;	/*センタリング*/
}



.haigyo_ma_emphasize_left,.haigyo_ma_emphasize_right {
	float: left;
    font-size: 120%;
}

.haigyo_ma_emphasize_left {
    background: #fd3e46;
    width: 30%;
	text-align: center;
    margin: 0 1%;
    border-radius: 10px;
    line-height: 4em;
    color: #ffffff;
    font-weight: bold;
    
}
.haigyo_ma_emphasize_right {
    margin-right: 1%;
	width: 66%;
	line-height: 2em;
	text-align: left;
}

/*事業承継（M&A）全般の支援の流れ
------------------------------------------------------------------------------------------------------------------------------------------------------*/

#consultation .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;
}

#consultation .consultation-ti:before {
  position: absolute;
  top: -150%;
  left: -100px;
  width: 200px;
  height: 300%;
  content: '';
  -webkit-transform: rotate(25deg);
  transform: rotate(25deg);
  background: #003b76;
}

#consultation .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;
}

















/*画面幅1000px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:1000px){
	.haigyo_ma_emphasize_left,.haigyo_ma_emphasize_right {
		width: 96%;
		margin: 0 auto;
		float: none;
	}
	.haigyo_ma_emphasize_right {
		margin-top: 10px;
	}
}

/*画面幅900px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:900px){

	#m_a .towalist {
		margin-top: 0;
	}


	.cp_qa dt {
	  margin: 1.5em 0;
	}
	.cp_qa dd {
	  padding: 0 0 1.5em 0;
	}
	.cp_qa dd::after {
	  left: 1.5em;
	}
	
	/*コンテンツのh4タグ設定*/
	#jisseki h4 {
	  margin-left: 5px;
	
	}
	.half36 img {
	  margin: 20px 0px;
	}

	.btn01 {
		float: none;
		width: 98%;		/*幅*/
		margin: 0px 1% 1em;
	}

	/*ta1,ta2共通設定*/
	.ta1,
	.ta2 {
		width: 96%;
	}

}


/*画面幅800px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:800px){


	/* メリット　デメリット */
	#jisseki .merit, #jisseki .demerit {
	  float: none;
	  margin-left: 30px;
	  width: 98%;
	}
	
	#jisseki .merit .merit-ti, #jisseki .demerit .demerit-ti  {
	  line-height: 2em;
	  padding-top: 0px;
	}

}


/*画面幅767px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:767px){



}


/*画面幅480px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:480px){

  /*テーブル（ta1）
  ---------------------------------------------------------------------------*/
  /*テーブル１行目に入った見出し部分（※caption）*/
  .ta1 caption,
  .ta2 caption {
      padding: 5px;	/*ボックス内の余白*/
  }
  /*ta1,ta2共通設定*/
  .ta1, .ta1 td, .ta1 th,
  .ta2, .ta2 td, .ta2 th {
      padding: 5px;	/*ボックス内の余白*/
  }
  /*ta1の左側ボックス*/
  .ta1 th {
      /*width: 100px;*/
  }


}