/* CSS Document */


/* MainVisual */

#top{
	background:url("../images/top/top_background_dota.jpg") no-repeat center center;
	background-size:cover;
	/*height:700px;*/
	padding-top:80px;
	margin-top:0;
	text-align: center;
}


#mainvisual span{
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	text-shadow: 0 0 20px #888;
    letter-spacing: 0.1em;
}
@media screen and (max-width:575px){
    #top{
        background:url("../images/top/top_background.jpg") no-repeat center top;
        background-size:cover;
        height:300px;
        padding-top:80px;
        margin-top:0;
        text-align: center;
    }
    #mainvisual span{
		font-size: 14px;
        line-height: 150px;
	}
}
@media screen and (min-width:575px){
	#mainvisual{
		
		height:550px;
		padding-top:60px;
	}
	
	#mainvisual span{
		font-size: 26px;
	}
}
@media screen and (min-width:768px){
	#mainvisual{
		height:550px;
		padding-top:120px;
	}
	#mainvisual span{
		font-size: 32px;
	}
}

/* TOPページ */

#topAbout{
	background-color:white;
	margin-top:-70px;
	margin-bottom: 40px;
    box-shadow: 0 0 20px 20px rgba(51,102,102,0.05);
}
#topAbout h1{
	border-left : 2px solid #018843;
	border-right: 2px solid #018843;
	
	padding: 15px 0;
	margin-top: 50px;
	margin-bottom: 50px;
	
	color:#018843;
	font-size:26px;
	text-align: center;
	letter-spacing: 0.15em;
	font-weight: bold;
}

#topAbout h1 strong{
	display: block;
	color:black;
	font-size: 40px;
}

#topAbout p{
	font-size: 20px;
	margin-bottom: 50px;
	line-height: 200%;
}

#topAbout>div{
	max-width: 1200px;
	margin-left:auto;
	margin-right:auto;
	padding-top:40px;
}

#topAbout a{
    /*
	width: 100%;
	height: 65px;
	padding-left: 30px;
	padding-right: 30px;
	line-height: 65px;
	color:black;
	font-weight: bold;
    */
}

#topNewsWrap dl{
    display: flex;
}
#topNewsWrap dl dt{
    padding-left: 30px;
    width: 200px;
    font-weight: normal;
}
#topNewsWrap dl dd{
    flex:1;
    text-align: left;
    
}
#topNewsWrap dl dd a{
    color: black;
	text-decoration: underline;
}

@media screen and (min-width:576px) and (max-width:991px){
	#topAbout{
		margin-top: -100px;
	}
	#topAbout h1{
		margin-left: 20px;
		margin-right: 20px;
	}
	#topAbout p{
		font-size:18px;
		margin-left: 20px;
		margin-right: 20px;
	}
}
@media screen and (max-width:575px){
	#topAbout{
		margin-top:0;
	}
	#topAbout h1{
		font-size:18px;
		margin-top: 0;
		margin-bottom: 20px;
	}
	#topAbout h1 strong{
		font-size:28px;
	}
	#topAbout p{
		font-size:16px;
		margin-bottom: 20px;
	}
	#topAbout a{
		width: 100%;
	}

}


/* TOPページ NEWS */

#topNewsWrap{
	max-width: 1200px;
	background-color: #fff;
	margin-left:auto;
	margin-right:auto;
	margin-bottom:40px;
	padding: 40px;
}
#topNewsWrap h2{
	color: #0e3f72;
	border-bottom: 2px solid #0e3f72;
	padding-bottom: 10px;
	margin-bottom: 25px;
    text-align: left;
}
@media screen and (max-width:575px){
    #topNewsWrap{
        max-width: 1200px;
        background-color: #fff;
        margin-left:auto;
        margin-right:auto;
        margin-bottom:40px;
        padding: 10px;
    }
}
/* TOPページ Product */
#product{
    margin-top:    60px;
    margin-bottom: 60px;
}
#product .title{
	display: inline-block;
    text-align: left;
    position: relative;
    padding-left: 40px;
    font-size: 36px;
    font-weight: bold;
    color: #0e3f72;
	line-height: 40px;
}
#product .title .j{
	vertical-align: top;
	display: inline-block;
    font-size: 14px;
	margin-left: 10px;
    padding-left:40px;
	background: url("../images/top/slash.png") no-repeat center left;
	line-height: 40px;
}
@media screen and (min-width:576px){
	/*
#product .title::before{
    background: #000;
    position: absolute;
    left: 285px;
    top: 0;
    bottom: 0;
    margin: auto;
    content: "";
    width: 1px;
    height: 40px;
    transform: skewX(
    -20deg
    )
}*/
}
@media screen and (max-width:575px){
    #product .title{
		
        text-align: left;
        position: relative;
        padding-left: 10px;
        font-size: 26px;
        font-weight: bold;
        color: #0e3f72;
    }
    #product .title .j{
        font-size: 14px;
        padding-left:20px;
    }
}

.bannerWrap{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.bannerWrap div{
    width: 50%;
    padding: 25px;
}
@media screen and (max-width:575px){
    .bannerWrap div{
        width: 100%;
        padding: 10px;
    }
}

#company .title{
	display: inline-block;
    text-align: left;
    position: relative;
    padding-left: 40px;
    font-size: 36px;
    font-weight: bold;
    color: #0e3f72;
	line-height: 40px;
}
#company .title .j{
	vertical-align: top;
	display: inline-block;
    font-size: 14px;
    padding-left:40px;
	margin-left: 10px;
	background: url("../images/top/slash.png") no-repeat center left;
	line-height: 40px;
}
@media screen and (min-width:576px){
	/*
#company .title::before{
    background: #000;
    position: absolute;
    left: 265px;
    top: 0;
    bottom: 0;
    margin: auto;
    content: "";
    width: 1px;
    height: 40px;
    transform: skewX(
    -20deg
    )
}*/
}
#company p{
    text-align: left;
    padding-left: 40px;
}


#companyBackground{
    background-color: #fafafa;
    background-image: url("../images/top/companyBackground.jpg");
    background-position: right;
    background-repeat: no-repeat;
    
    position: relative;
}

.companyBox{
    height:570px;
    position: relative;
}
.companyBox .content{
    
    position: absolute;
    top:180px;
    left:0;
}
.companyBox .content .title{
    margin-bottom: 47px;
}

@media screen and (min-width:576px){
    .photo{
        position: absolute;
        top:80px;
        left:50%;

        box-shadow: 0 0 10px 10px rgba(51,102,102,0.2);
        overflow: hidden;
        border-radius: 20px;
    }
}
@media screen and (max-width:575px){
    .companyBox{
        height:auto;
        position: relative;
    }
    .companyBox .content{
        padding-top: 40px;
        padding-bottom: 40px;
        position: relative;
        top:auto;
        left:auto;
    }
    #companyBackground{
        padding-bottom: 25px;   
    }
    #company .title{
        font-size: 26px;
        padding-left: 10px;
    }
    #company .title .j{
        padding-left:10px;
    }
    #company p{
        padding-left: 10px;
    }
    .companyBox .content .title{
        margin-bottom: 10px;
    }
    .photo{
        /*position: absolute;
        top:0;
        left:auto;
        */
        box-shadow: 0 0 10px 10px rgba(51,102,102,0.2);
        overflow: hidden;
        border-radius: 20px;
        margin: 20px;
    }
}
