@charset "UTF-8";
/* CSS Document */

#header li:nth-child(3) a {
  -webkit-transform: translateY(-5px);
  transform: translateY(-5px);
  /* move the element up by 5px */
	color: #008842;
	display: inline-block;
	pointer-events: none;
}
#header li:nth-child(3) a:before {
  opacity: 1;
  -webkit-transform: translateY(5px);
  transform: translateY(5px);
  /* move the element down by 5px (it will stay in place because it's attached to the element that also moves up 5px) */
}

#mainimage{
padding-top:58px;
}
#mainimage .inner{
background-color:#1f932f;
padding-bottom:70px;
color:#fff;
}
#mainimage .images{
margin-left:10%;
background-image:url(img/mainimage.jpg);
background-repeat:no-repeat;
background-position:50%;
background-size:cover;
position:relative;
top:-58px;
}
#mainimage .images:before {
    content: "";
    display: block;
    padding-top: 33.8%;
}

#mainimage h1{
font-size:2rem;
text-align:left;
padding-left:6%;
margin-top:-50px;
}
#mainimage h1 span{
font-weight:900;
font-size:6rem;
line-height:1.2;
}

#plan .box01 {
    display: table;
}

#plan .box01 .float-right {
    width: 660px;
    display: table-cell;
    vertical-align: middle;
    padding-left:30px;
	float:none;
}

#plan .box01 .float-left {
    width: 300px;
    display: table-cell;
	float:none;
}

#plan .box01 .float-right img {
    padding:10px;
}



@media only screen and (max-width: 767px) {

#mainimage{
padding-top:54px;
}
#mainimage .inner{
padding-bottom:20px;
}
#mainimage .images{
margin-left:0;
height:150px;
position:relative;
top:auto;
}
#mainimage .images:before {
    content: "";
    display: none;
    padding-top: 0;
}

#mainimage h1{
font-size:1.6rem;
padding-left:15px;
margin-top:20px;
}
#mainimage h1 span{
font-size:2.4rem;
line-height:1.2;
}

#plan .box01 {
    display: block;
}

#plan .box01 .float-right {
    width: auto;
    display: block;
    padding-left:0px;
}

#plan .box01 .float-left {
    width: auto;
    display: block;
}

}



/*-----------------------*----*----*----*----*----*----*----*----*----* 独自 */

