@charset "utf-8";

.sp{display: block;}
.pc{display: none;}

.none{display: none;}

img{
    width: 100%;
    height: auto;
}

*{
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

/*******************打ち消し用******************/
#res-main #globalnavi2{
    display: none;
}
#res-main #container,#res-main #head,#res-main #mini_infomation{
    width: 100%;
    height: auto;
    max-width: 1024px;
}
#res-main #head{
    background: none;
    height: auto;
}
#res-main #head_navi{
    height: auto;
    padding: 0;
}
#res-main #head_navi ul{
    margin: 0;
}
#res-main #head_navi h1{
    background: none;
    text-indent: 0;
    margin: 0;
    height: auto;
}
#res-main #head_left{
    width: 100%;
    height: auto;
}
#res-main #head_left{
    float: none;
}
#res-main #head_left h1{
    text-indent: 0;
    background: none;
    margin: 0;
    height: auto;
    display: none;
}
#res-main .bx-wrapper img{
    padding: 0;
}
#res-main #mini_infomation{
    margin: 0;
    padding: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    padding: 0 2.5%;
}
#res-main #mini_infomation_l,#res-main #mini_infomation_r{
    width: 100%;
    float: none;
    padding: 0;
    font-size: 100%;
    text-align: left;
    margin: 10px 0 0;
    border-left: 5px solid #0c3758;
    padding-left: 5px;
}
#res-main #mini_infomation_r{
    margin: 0 0 10px;
}
#res-main #mini_infomation_l p,#res-main #mini_infomation_r p{
    font-size: 14px;
    line-height: 1.5;
}
#res-main .bx-wrapper{
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    height: auto;
    overflow: hidden;
}
#res-main .bx-wrapper .bx-pager{
    display: none;
}

#res-main #caution_login #info_box{
    width: 100%;
    max-width: 1024px;
    float: none;
    margin: 0 auto;
}
#res-main #caution_login #login{
    float: none;
    width: 100%;
    margin: 30px auto;
    position: relative;
}
#res-main #caution_login #login_btn{
    margin: 0;
    float: none;
}
#res-main #login_r{
    margin: 0;
    height: auto;
    width: 100%;
    max-width: 165px;
    float: none;
    padding: 0;
    text-align: center;
    clear: both;
    padding-top: 15px;
}
#res-main .search1_box,#res-main #businesscard_title{
    width: 100%;
}
#res-main #businesscard_title{
    float: none;
    margin: 0;
    padding: 0;
    margin-bottom: 30px;
    max-width: 650px;
}
#res-main .search_group{
    width: 100%;
    max-width: 750px;
}
#res-main .search1_txt{
    width: 25%;
    max-width: 150px;
    text-align: left;
}
#res-main #search_container .search_group .search1_txt{
    text-align: left;
    max-width: 100px;
}
#res-main .search1_btn{
    margin: 15px auto 10px;
}
#res-main .gyousyu{
    width: 100%;
}
#res-main #news div img,#res-main #press_footer img{
    max-width: 9px
}
#res-main #info_con,#res-main #caution_login{
    width: 100%;
}
#res-main #login_l{
    width: auto;
    float: none;
    padding: 0;
    font-size: 100%;
}
/*******************ここまで打ち消し用******************/
#res-main #head_navi{
    width: 100%;
    background-color: #0c3758;
    padding: 2.5%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
#menu_btn{
    width: 50px;
    height: 50px;
    position: fixed;
    top: 2%;
    right: 5%;
    z-index: 100;
}
#menu_btn button{
    -webkit-appearance:none;
    border: none;
    border-radius: 0;
    background-color: transparent;
    background-color: #405667;
    border-radius: 5px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    position: relative;
}
#menu_btn button::before,#menu_btn button::after{
    content: "";
    width: 30px;
    height: 1px;
    background-color: #fff;
    position: absolute;
    top: 40%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    -webkit-transition: .5s;
    transition: .5s;
}
#menu_btn button::after{
    width: 20px;
    top: 50%;
    left: 38%;
    -webkit-transform: translateX(-38%) translateY(-50%);
    transform: translateX(-38%) translateY(-50%);
}
#menu_btn .cls_btn::before,#menu_btn .cls_btn::after{
    -webkit-transition: .5s;
    transition: .5s;
    top: 50%;
    -webkit-transform: translate(-50%,-50%) rotate(45deg);
    transform: translate(-50%,-50%) rotate(45deg);
}
#menu_btn .cls_btn::after{
    width: 30px;
    left: 50%;
    -webkit-transform: translate(-50%,-50%) rotate(-45deg);
    transform: translate(-50%,-50%) rotate(-45deg);
}
#res-main #head_navi h1 img{
    max-width: 220px;
}
#res-main #head_navi nav{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0c3758;
    z-index: 99;
    overflow-y: scroll;
}
#res-main #head_navi nav ul{
    margin-top: 100px;
    text-align: center;
}
#res-main #head_navi nav ul li{
    float: none;
    line-height: 30px;
    margin: 30px 0;
}
.topbn img{
    max-width: 240px;
    display: block;
    margin: 0 auto;
}
#res-main #head_navi nav ul li a{
    color: #fff;
    font-size: 18px;
    text-decoration: none;
}
/*スマホ版月刊三誌ボックス*/
#sp_mb{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    padding: 5%;
}
#sp_mb div{
    width: 49%;
    margin-right: 2%;
}
#sp_mb div:nth-of-type(even){
    margin-right: 0;
}
#sp_mb h2{
    width: 100%;
    font-size: 18px;
    color: #fff;
    margin-bottom: 10px;
    font-family: serif;
}
#sp_mb p{
    font-size: 12px;
    color: #fff;
    max-width: 240px;
    text-align: left;
    margin: 5px auto 30px;
    line-height: 1.5;
}
#sp_mb p span{
    display: block;
    text-align: center;
    font-size: 16px;
    margin-bottom: 5px;
}
/*スマホ版月刊三誌ボックスここまで*/
#res-main #res-wrapper{
    padding: 0 2.5%;
}
/*検索*/
#res-main .logout_please{
    text-align: left;
    text-indent: -1em;
    padding-left: 1em;
}
#res-main .search1_box{
    padding: 0 2%
}
#res-main #login{
    width: 100%;
    height: auto;
    background-image: none;
    padding-top: 0;
    background-color: #eaeaea;
    margin-bottom: 30px;
    }
#res-main #login #log_title{
    line-height: 44px;
    background-color: #015dc1;
    color: #fff;
    font-size: 20px;
    padding-left: 10px;
    margin-bottom: 30px;
    }
#res-main #login .log_pass_box p{
    padding-left: 10px;
}
#res-main #login .log_pass_box p span{
    display: block;
    margin: 0;
}
#res-main .log_pass_box p span input{
    width: 100%;
    max-width: 250px;
    }
#res-main #login_r{
    text-align: left;
    padding-left: 10px;
}
#login_r input{
    margin: 0;
}
/*名刺情報*/
#res-main #businesscard{
    width: 100%;
    max-width: 750px;
    float: none;
    margin-left: 0;
    margin: 0 auto 20px;
    background: url(http://www.e-gyousyu.net/img/businesscard_title.jpg) no-repeat top left/100%;
    background-color: #f4f4f4;
}
/*サブコンテンツ*/
.sub-content{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
}
.sub-content #news{
    width: 100%;
    margin: 0 auto 30px;
    background: url(http://www.e-gyousyu.net/img/news_title.jpg) no-repeat top left/100%;
    background-color: #f4f4f4;
}
.sub-content #press{
    width: 100%;
}
.sub-content #press_title img{
    max-width: 10px;
    margin-right: 5px;
    line-height: 1;
}
.sub-content #press_title ul{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    width: 100%;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.sub-content #press_title ul li{
    float: none;
    margin: 0;
    padding: 0;
    width: 32%;
    margin-right: 2%;
    line-height: 1;
}
.sub-content #press_title ul li:last-of-type{
    margin-right: 0;
}
.sub-content #fb_box{
    width: 100%;
    height: auto;
    margin-top: 30px;
}
#res-main .hotlinkbox3{
    width: 100%;
    max-width: 225px;
    margin: 0 auto;
    text-align: center;
    float: none;
}
#res-fcr{
    font-size: 14px;
    text-align: center;background-color: #0c3758;
    color: #fff;
    height: 30px;
    margin: 0 auto;
    padding: 0;
}
#res-fcr small{
    line-height: 30px;
}
#res-main .clearfix:after{
    display: none;
}





@media screen and (min-width:750px){
#res-main #businesscard_title{
    max-width: 730px;
}
#res-main #businesscard ul{
    padding-top: 75px;
    }
#res-main #news tabel{
    margin-top: 25px;
    }
}





@media screen and (min-width:960px){
.sp{display: none;}
.pc{display: block;}


#res-main .bx-wrapper img{
    max-width: 970px;
}
#res-main #head{
    max-width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}
#res-main .bx-wrapper .bx-viewport{
    height: 540px;
}
#res-main #head_navi{
    padding: 1% 0;
    height: 100px;
    }
#res-main .header_mw{
    width: 100%;
    max-width: 970px;
    margin: 0 auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
}
#res-main #head_navi h1{
    width: 18%;
    margin-right: 2%;
    }
#res-main #head_navi nav:last-of-type{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    position: static;
    top: auto;
    left: auto;
    width: 80%;
    height: 30px;/*疑似要素の見切れ防止*/
    background: transparent;
    overflow: inherit;
}
#res-main #head_navi nav ul{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    margin: 0;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
#res-main #head_navi nav ul li a{
    font-size: 14px;
    }
#res-main #head_navi nav ul li{
    margin: 0;
    margin-right: 30px;
    line-height: 1;
    position: relative;
    }
    #res-main #head_navi nav ul li:last-of-type{
    margin-right: 0;
    }
#res-main #head_navi nav ul li::after{
    content: "";
    position: absolute;
    top: 115%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #fff;
    -webkit-transition: .5s;
    transition: .5s;
    opacity: 0;
    }
    #res-main #head_navi nav ul li:hover::after{
    -webkit-animation: linkbar .5s 1 alternate;
    animation: linkbar .5s 1 alternate;
    opacity: 1;
    }
/****************************更新情報**********************/
#res-main #mini_infomation{
    margin-top: 100px;
}
/****************************メインコンテンツ**********************/
#res-main #res-wrapper{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    margin: 10px auto;
    max-width: 970px;
    padding: 0;
}
#res-main #caution_login,#res-main #info_con{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    max-width: 970px;
}
#res-main #caution_login #info_box{
    width: 70%;
    max-width: 680px;
    margin: 0;
    }
#res-main #caution_login #login,#res-main #businesscard{
    width: 28%;
    max-width: 270px;
    margin: 0;
    margin-left: 2%;
    }
/*ログインボックス*/
#res-main #login_r{
    padding-top: 10px;
    }
#res-main #forgot_pw{
    margin: 0;
    margin-left: 10px;
    width: 85%;
    }
/*名刺検索ボックス*/
#res-main #businesscard_title{
    max-width: 650px;
}
#res-main #info_con{
    margin: 20px auto;
}
#res-main #businesscard_title{
/*    max-width: 680px;*/
    width: 50%;
    max-width: 468px;
    margin: 0;
    }
#res-main #login{
    width: 19.5%;
    margin-right: 2%;
    margin-bottom: 0;
    }
#res-main .log_pass_box p span input{
    width: 100%;
    max-width: 160px;
    }
#res-main #businesscard{
    background: url(http://www.e-gyousyu.net/img/businesscard_title.jpg) no-repeat top left/185%;
    background-color: #f4f4f4;
    height: auto;
    }
/*サブコンテンツ*/
#res-main .sub-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 350px 1fr;
    grid-gap: 20px 30px;
}

.sub-content #news {
    margin: 0;
    overflow-y: scroll;
}

.sub-content #press {
    grid-area: 1/2/2/3;
    /*【row-start/column-start/row-end/column-end】*/
    overflow-y: scroll;
}

.sub-content #left_side_footer2 {
    width: 100%;
    grid-area: 3/1/2/3;
}

.sub-content #left_side_footer3 {
    width: 100%;
    grid-area: 3/1/2/4;
}

#res-main .hotlinkbox3 {
    margin: 0;
}

.sub-content #fb_box {
    grid-area: 2/2/3/3/;
}

.sub-content #ad_box2 {
    grid-area: 3/2/3/2;
}
/*
#res-main .sub-content #news{
    width: 50%;
    margin: 0;
    }
    #res-main .sub-content #magazine-box{
    width: 50%;
    margin: 0;
    }
#res-main .sub-content #fb_box,#res-main .sub-content #press{
    width: 48%;
    margin-left: 2%;
    }
*/
    
    
    
}
@-webkit-keyframes linkbar{
    0%{right: 0;width: 10%;}
    25%{right: 0;width: 25%;}
    50%{right: 0;width: 50%;}
    75%{right: 0;width: 75%;}
    100%{right: 0;width: 100%;}
}
@keyframes linkbar{
    0%{right: 0;width: 10%;}
    25%{right: 0;width: 25%;}
    50%{right: 0;width: 50%;}
    75%{right: 0;width: 75%;}
    100%{right: 0;width: 100%;}
}