@charset "utf-8";

/* ---------------------------------------------------------
top styles
---------------------------------------------------------*/
.topMv {
    display: block;
    overflow: hidden;
    width: 100%;
    height: 100vh;
/*    padding-top: 120px;*/
    position: relative;
}

.topMv ul{
    margin: 0;
    padding: 0;
}

.topMv .topmain{
    display: block;
    position: relative;
    width: 100%;
    height: 100vh;
    list-style: none;
    background: url(../../images/top_main.jpg) center top / cover no-repeat;
}
.top_textBox,
.top_textBox02{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 20%;
    left: 0;
    margin: auto;
    width: 65%;
    height: 3.2rem;
    text-align: center;
}
.top_textBox02{
    bottom: 10%;
}
.top_mainTitle{
    border: 1px solid #333;
    font-size: 43px;
    font-weight: bold;
    padding: 15px 10px 10px;
    margin-bottom: 45px;
}
.top_come,
.top_comeSp{
    font-size: 16px;
    letter-spacing: 0.2em;
    line-height: 2.0;
}
.top_comeSp{display: none;}

/*-- topicsBox --*/
.topicsBox{
    border-bottom: 5px solid #dcdcdc;
    padding: 25px 0;
    box-sizing: border-box;
}
.topics_area{
    position: relative;
    padding: 0 180px 0 85px;
}
.topics_title{
    position: absolute;
    top: 10px;
    left: 0;
}

.topics_link{
    position: absolute;
    right: 0;
    top: 10px;
    z-index: 100;
}
.topics_link a{
    position: relative;
    border: 1px solid #777;
    padding: 7px 40px;
    font-size: 14px;
    text-align: center;
    color: #777;
    background: #fff;
    display: block;
    top: -5px;
}
.topics_link a:after{
    content: "";
    width: 8px;
    height: 8px;
    border: 0px;
    border-top: solid 1px #777;
    border-right: solid 1px #777;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    top: 40%;
    right: 15px;
}

/*-- ticker --*/
.ticker {
    margin: 0;
    padding: 10px 10px 10px 20px;
    width: 100%;
    text-align: left;
/*    border: #ccc 1px solid;*/
    position: relative;
    overflow: hidden;
    border-left: 1px solid #d7d7d7;
}
.ticker ul {
    width: 100%;
    position: relative;
}
.ticker ul li {
    width: 100%;
    position: relative;
    display: none;
}
.ticker ul li img{
    margin: 0 0 -3px 10px;
}
.ticker span{
    color: #a1a1a1;
    font-size: 12px;
    margin-right: 1.5em;
}


/*-- topArea --*/
.topArea{
    background: #ececec;
    padding: 90px 0 120px;
}

/*-- topService --*/
#topService,
#topCompany{
    margin-bottom: 140px;
}
#topService ul{
    width: 100%;
    font-size: 0;
    display: table;
}
#topService li{
    display: table-cell;
    vertical-align: top;
    width: 48.5%;
/*    margin-right: 3%;*/
}
#topService li.cellArea{
    width: 2.5%;
}
#topService li img{
    width: 100%;
    display: block;
}
/*
#topService li:nth-child(2n){
    margin-right: 0;
}
*/
.topServiceBox01,
.topServiceBox02{
    text-align: center;
    padding: 40px 15px;
    color: #fff;
    font-size: 14px;
    line-height: 2.0;
    box-sizing: border-box;
}
.topServiceBox01bg{background: #507495;}
.topServiceBox02bg{background: #5f9f73;}

.topServiceTitle{
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.6;
}
.topServiceBox01 a:link,
.topServiceBox01 a:visited,
.topServiceBox02 a:link,
.topServiceBox02 a:visited,
#top_topi dd a:link,
#top_topi dd a:visited{
    background: #fff;
    display: block;
    width: 240px;
    margin: 35px auto 0;
    color: #777;
    font-size: 16px;
    padding: 20px 0 15px;
    box-sizing: border-box;
    position: relative;
}
.topServiceBox01 a:hover,
.topServiceBox01 a:active,
.topServiceBox02 a:hover,
.topServiceBox02 a:active,
#top_topi dd a:hover,
#top_topi dd a:active{
    background: #777;
    color: #fff;
}

.topServiceBox01 a:after,
.topServiceBox02 a:after,
#top_topi dd a:after{
    content: "";
    width: 8px;
    height: 8px;
    border: 0px;
    border-top: solid 1px #777;
    border-right: solid 1px #777;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    top: 45%;
    right: 20px;
}
.topServiceBox01 a:hover:after,
.topServiceBox02 a:hover:after,
#top_topi dd a:hover:after{
    border-top: solid 1px #fff;
    border-right: solid 1px #fff;
}

/*-- topCompany --*/
.topCompanyBox{
    width: 100%;
    display: table;
    box-sizing: border-box;
}
.topCompanyBox a{
    display: table-cell;
    width: 24.5%;
    padding: 7% 1px 7% 0;
    text-align: center;
    vertical-align: middle;
/*    border: 1px solid #d7d7d7;*/
    border-top: 1px solid #d7d7d7;
    border-bottom: 1px solid #d7d7d7;
    border-left: 1px solid #d7d7d7;
    background: #fff;
    box-sizing: border-box;
}
.topCompanyBox a:last-child{
    border-right: 1px solid #d7d7d7;
    padding-right: 0;
}
.topCompanyBox a:hover{
    border: 1px solid #eb0000;
    background: #fef7f7;
    padding-right: 0;
}
#topCompany p{
    font-size: 20px;
    text-align: center;
}
#topCompany a img{
    max-height: 64px;
    display: block;
    margin: 0 auto 20px;
}



@media screen and (max-width:1280px) {
    .topicsBox dt{
        padding-left: 15px;
    }
}
@media screen and (max-width:1024px) {
.topMv {
    display: block;
    overflow: hidden;
    width: 100%;
    height: 100vh;
    padding-top: 65px;
}
.top_come{
    display: none;
}
.top_comeSp{
    background: #dfeee3!important;
    padding: 40px 0;
    text-align: center;
    display: block;
}
    .topics_link{
        position: static;
    }
    .topics_link a{
        position: relative;
        padding: 10px 40px;
        width: 86%;
        margin: 20px auto;
        box-sizing: border-box;
        display: block;
    }
    .topics_area{
        position: relative;
        padding: 0 10px;
    }
    .topics_title{
        position: static;
        text-align: center;
        font-size: 20px;
    }
    .ticker {
        padding: 0;
        width: 86%;
        margin: 20px auto 30px;
        border-left: none;
    }
    .ticker span{
        display: block;
    }
    .topServiceTitle{
        font-size: 22px;
    }

}

@media screen and (max-width:750px) {
/*
.topArea .inner{
    width: 94%;
}
*/
    .topMv .topmain{
        display: block;
/*        position: static;*/
        width: 100%;
        height: 100%;
        min-height: 350px;
        list-style: none;
/*        background: url(../../images/top_main.jpg) center top / no-repeat;*/
    }
    .topMv {
        padding-top: 65px;
        height: 100%;
    }
    .top_textBox{
        top: 10%;
        width: 90%;
    }
    .top_mainTitle{
        font-size: 20px;
        margin-bottom: 0;
    }
    .topicsBox{
        padding: 40px 0;
    }

.topArea{
    padding: 60px 0 60px;
}
#topService,
#topCompany{
    margin-bottom: 60px;
}

#topService li{
    display: block;
    width: 100%;
    margin-right: 0;
    margin: 0 auto 15px;
}
#topService li:nth-child(2n){
    margin-bottom: 0;
}
#topService li.cellArea{
    display: none;
}
.topServiceBox01,
.topServiceBox02{
    padding: 40px 22px;
}
.topServiceBox01 a:link,
.topServiceBox01 a:visited,
.topServiceBox02 a:link,
.topServiceBox02 a:visited{
    width: 100%;
    font-size: 16px;
    padding: 10px 0 7px;
}
.topCompanyBox{
    display: block;
}
.topCompanyBox a{
    display: block;
    width: 100%;
    border-top: 1px solid #d7d7d7;
    border-bottom: none;
    border-left: 1px solid #d7d7d7;
    border-right: 1px solid #d7d7d7;
    background: #fff;
}
.topCompanyBox a:last-child{
    border-bottom: 1px solid #d7d7d7;
}
    .topCompanyBox a:hover:last-child{
        border-bottom: 1px solid #eb0000;
    }
}

/*トピックス OYK 虫バーイ*/
#top_topi{
    margin-bottom: 140px;
}
dl.top_topiBox01,
dl.top_topiBox02{
    width: 85%;
    display: block;
    margin: 0 auto 100px;
    overflow: hidden;
}
.top_topiBox01 dt,
.top_topiBox02 dt{
    width: 55%;
    position: relative;
}
.icon_topi{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 99px;
}


.top_topiBox01 dt{
    float: right;
}
.top_topiBox02 dt{
    float: left;
}
.top_topiBox01 dt img,
.top_topiBox02 dt img{
    width: 100%;
    display: block;
}
.top_topiBox01 p,
.top_topiBox02 p{
    line-height: 2.0;
}
.top_topiBox01 dd{
    width: 40%;
}
.top_topiBox02 dd{
    margin-left: 60%;
}
.top_topiBox01 dd h1,
.top_topiBox02 dd h1{
    text-align: left;
    font-size: 20px;
    margin-bottom: 0;
    line-height: 2.0;
}
.top_topiBox01 dd h1:after,
.top_topiBox02 dd h1:after{
    content: none;
}
.top_topiBox01 dd h2,
.top_topiBox02 dd h2{
    text-align: left;
    font-size: 40px;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}
#top_topi dd a:link,
#top_topi dd a:visited{
    text-align: center;
    background: #fff;
    display: block;
    width: 100%;
    margin: 35px auto 0;
    color: #777;
    font-size: 16px;
    padding: 15px 0 10px;
    box-sizing: border-box;
    position: relative;
}
#top_topi dd a:hover,
#top_topi dd a:active{
    background: #777;
    color: #fff;
}
#top_topi dd a:after{
    content: "";
    width: 8px;
    height: 8px;
    border: 0px;
    border-top: solid 1px #777;
    border-right: solid 1px #777;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    top: 45%;
    right: 20px;
}
#top_topi dd a:hover:after{
    border-top: solid 1px #fff;
    border-right: solid 1px #fff;
}

@media screen and (max-width:750px) {
    #top_topi{
        margin-bottom: 80px;
    }
    dl.top_topiBox01,
    dl.top_topiBox02{
        width: 100%;
        margin: 0 auto;
    }
    .top_topiBox01 dt,
    .top_topiBox02 dt,
    .top_topiBox01 dd,
    .top_topiBox02 dd{
        float: none;
        width: 100%;
    }
    .top_topiBox01 dd{
        margin: 10px 0 40px;
    }
    .top_topiBox02 dd{
        margin: 10px 0 0 0;
    }
    .top_topiBox01 dd h1,
    .top_topiBox02 dd h1{
        text-align: center;
        font-size: 16px;
    }
    .top_topiBox01 dd h2,
    .top_topiBox02 dd h2{
        text-align: center;
        font-size: 30px;
    }
    
    
    
}

