@charset "utf-8";
/* CSS Document */

@media screen and (min-width: 769px) {
main{
	background: url(../images/title.png);
    background-repeat: no-repeat;
    background-size: 400px;
    background-position: top left;
    margin: 0 auto 30px;
    overflow: hidden;
    position: relative;
}
main:after{
	content: "Restoration";
	color: rgba(0, 108, 185, 0.1);
	font-size: 120px;
	font-weight: bold;
	position: absolute;
	top: 50%;
	right: -30px;
	transform: translate(0,-50%);
	z-index: -1;
}
main .maintitle{
	border-left:10px solid #004bb7;
}
main .maintitle h1{
	color:#004bb7;
}
main .main_list{
	justify-content: flex-end;
}
/*-----------------------------------
restore
----------------------------------*/
h2{
	position: relative;
}
h2:before{
	content: "";
    border-radius: 300px;
    width: 90px;
    height: 90px;
    position: absolute;
    top: -30px;
    left: -10px;
}
#menu03 h2:before{
	background:url(../images/icon01.png?1121);
	background-repeat: no-repeat;
	background-size:cover;
	background-position: center;
}
#menu04 .top h2:before{
	background:url(../images/icon02.png?1121);
	background-repeat: no-repeat;
	background-size:cover;
	background-position: center;
}
}

@media screen and (max-width: 768px) {
main{
	background: url(../images/title.png);
    background-repeat: no-repeat;
    background-size: 400px;
    background-position: top left;
    margin: 0 auto 30px;
    overflow: hidden;
    position: relative;
}
main:after{
	content: "Restoration";
    color: rgba(0, 108, 185, 0.1);
    font-size: 48px;
    font-weight: bold;
    position: absolute;
    bottom: 0;
    right: -8px;
    z-index: -1;
}
main .maintitle{
	border-left:10px solid #004bb7;
}
main .maintitle h1{
	color:#004bb7;
}
/*-----------------------------------
restore
----------------------------------*/
h2{
	position: relative;
}
h2:before{
	content: "";
    border-radius: 300px;
    width: 70px;
    height: 70px;
    position: absolute;
    top: -10px;
    left: -10px;
}
#menu03 h2:before{
	background:url(../images/icon01.png?1121);
	background-repeat: no-repeat;
	background-size:cover;
	background-position: center;
}
#menu04 .top h2:before{
	background:url(../images/icon02.png?1121);
	background-repeat: no-repeat;
	background-size:cover;
	background-position: center;
}
}
