@charset "UTF-8";

#sub #header{
	background-image:url(../img/riha/visual.jpg);
}
#sub #headWrap h1 {
    top: calc(30% - 0px);
}
/*#topBlc {
	margin-bottom:80px;
}*/
#topBlc h2 + p + p {
	text-align:center;
	margin: 30px 0 50px;
}
#topBlc h2 + p + p img:first-child {
	margin-bottom:20px;
}
#topBlc .inner li {
    margin-bottom: 20px;
    margin-right: 4%;
}
#topBlc .inner li:nth-child(2n) {
    margin-right: 0;
}
.float_r ul {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
#topBlc .txtBox {
    width: 100%;
    float: left;
    margin-bottom: 30px;
}
#leftArea .txtContent .txtBox {
    width: 100%;
    float: unset;
    margin-bottom: 0;
}
.float_r {
    float: right;
    width: 100%;
}
#sub #contents #leftArea .first .inner {
    margin-top: 0;
}
#topBlc .none_e li {
    margin: 0;
}
#sub #contents #leftArea .second .inner {
    margin-bottom: 0;
}
.second .float_r img {
    margin-bottom: 10px;
}
@media screen and (max-width: 540px){
#topBlc .inner li {
    width: 45%;
}
}
@media screen and (max-width: 500px){
#sub #headWrap h1 {
    top: calc(27% - 0px);
}
}
@media screen and (max-width: 414px){
#topBlc .inner li {
    width: 100%;
    text-align: center;
    margin-right: 0;
}
}