@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: "grave";
	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 #006cb9;
}
main .maintitle h1{
	color:#006cb9;
}
/*-----------------------------------
restore
----------------------------------*/
h2{
	position: relative;
}
h2:before{
	content: "";
    border-radius: 300px;
    width: 90px;
    height: 90px;
    position: absolute;
    top: -30px;
    left: -10px;
}
.top h2:before{
	background:url(../images/icon01.png);
	background-repeat: no-repeat;
	background-size:cover;
	background-position: center;
}
.sub h2:before{
	background:url(../images/icon01-sub.png);
	background-repeat: no-repeat;
	background-size:cover;
	background-position: center;
}
.imgbox_triple li{
	width:31%!important;
}
.imgbox_triple li span{
	padding: 0 0 10px!important;
}
.attention{
	background: #e7f1f7;
	text-align: center;
	margin: 0 0 30px;
	padding: 5px 0;
	width: 100%;
}
.contents_wrap .sub{
	border-top: none;
    line-height: 1.4em;
    margin: unset;
    padding: unset;
}
}

@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: "grave";
    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 #006cb9;
}
main .maintitle h1{
	color:#006cb9;
}
/*-----------------------------------
restore
----------------------------------*/
h2{
	position: relative;
}
h2:before{
	content: "";
    border-radius: 300px;
    width: 70px;
    height: 70px;
    position: absolute;
    top: -10px;
    left: -10px;
}
.top h2:before{
	background:url(../images/icon01.png);
	background-repeat: no-repeat;
	background-size:cover;
	background-position: center;
}
.sub h2:before{
	background:url(../images/icon01-sub.png);
	background-repeat: no-repeat;
	background-size:cover;
	background-position: center;
}
.attention{
	background: #e7f1f7;
	text-align: center;
	margin: 0 0 3%;
	padding: 5px 0;
	width: 100%;
}
.contents_wrap .sub{
	border-top: none;
    line-height: 1.4em;
    margin: unset;
    padding: unset;
}
}
