/* 各ページアイキャッチ画像＋タイトル・サブタイトル
------------------------------------- */
#mainimg {
 width: 100%;
 margin:0 auto;
 display: block; /*ブロック要素に変更*/
 height: 600px;  /*背景画像の高さを指定*/
 background-position: top 50% center;
 background-size: cover; 
 background-repeat: no-repeat;
 overflow: hidden;
 text-align: center;
 position: relative;
}
.mainimg-ttl-area {
	position:absolute;
	bottom:10%;
	left: 4%;	
	width: 92%;
}
main #mainimg h1{
    position: relative;
    margin: 0;
  margin-bottom: 0 !important;
    padding:0;
    background: none !important;
    text-align:left;
    color: #10296d;
    line-height: 120%;
    font-size: 45px;
    font-size: 4.5rem;
    font-weight: 800;
}
main #mainimg h1 span{
    display: inline-block;
    padding-top: 0;
    font-size: 45px;
    font-size: 4.5rem;
}
#mainimg h2{
    position: relative;
    margin: 0;
    padding: 0;
    text-align:left;
    line-height: 130%;
    color: #FFF;
    font-size: 25px;
    font-size: 2.5rem;
    font-weight: 800;
}
#mainimg h2 span{
    display: inline-block;
    padding-top: 0.5em;
    color: #fff;
   font-size: 25px;
    font-size: 2.0rem;
}
main #mainimg h1:after,main #mainimg h2:after{
	display: none;
}
/* 各ページタイトル */
main #page-ttl h1{
	margin-bottom: 0 !important;
    padding: 0.7em 4%;
   font-size: 30px;
    font-size: 3rem;
  font-weight: 800;
  text-align:center;
  background:#10296D;
}
main #page-ttl h1:after{
  display: none;
}
@media (max-width: 767px){
/* 各ページアイキャッチ画像＋タイトル・サブタイトル
------------------------------------- */
#mainimg {
 width: 100%;
 margin:0 auto;
 display: block; /*ブロック要素に変更*/
height: 280px;  /*背景画像の高さを指定*/
 background-position: top 50% center;
 background-size: 180% auto; 
 background-repeat: no-repeat;
 overflow: hidden;
 text-align: center;
 position: relative;
}
.mainimg-ttl-area {
	position:absolute;
	bottom:10%;
	left: 4%;	
	width: 92%;
}
main #mainimg h1{
  margin-bottom: 10px !important;
    font-size: 30px;
    font-size: 3rem;
}
main #mainimg h1 span{
    font-size: 30px;
    font-size: 3rem;
}
#mainimg h2{
    font-size: 16px;
    font-size: 1.6rem;
}
#mainimg h2 span{
    font-size: 16px;
    font-size: 1.6rem;
}
/* 各ページタイトル */
main #page-ttl h1{
	margin-bottom: 0 !important;
    padding: 0.7em 4%;
   font-size: 23px;
    font-size: 2.3rem;
}
}
p { line-height:1.7
 !important; }