@charset "UTF-8";
/* CSS Document */

.side-search{
    display: none;
}

@media print, screen and (min-width : 768px ) {
.for_sp {
    display: none !important;
}

.header{
    min-width: 980px;
}
}
@media screen and (max-width : 1280px ) {
.global-nav .page_item a {
    width: 113px;
    font-size: 0.8rem;
}

.header #keymsg p {
    background:none!important;
}
}
@media screen and (max-width : 767px ) {
.header #keymsg{
    height: 115px;
    background: url("../images/bg_keymsg_20180606.jpg"),url("../images/dpi_wind.jpg");
    background-repeat: repeat-x,no-repeat;
    background-position: left bottom ,50% 9%;
    background-size: 400px ,350px;
}

.for_pc {
    display: none!important;
}
}
/*-----------------------------------------------------
TopPage
-----------------------------------------------------*/
@media screen and (max-width : 767px ) {
main ul, main ol, main dl {
    margin: 1em 1em;
}

.slideout-hamburger{
    background: #007700;
}

.slideout-open .slideout-menu{
    background: #007504!important;
}

.l-gnavi__menu{
    padding: 50px 0;
    width: 92%;
    margin:auto;
}

.l-gnavi__menu a,
.l-gnavi__menu span{
    color: #fff;
    text-decoration: none;
    border-bottom: none;
    display: block;
    line-height: 1;
}

.l-gnavi__menu span{
    padding: 15px 10px;
}
.l-gnavi__menu span{    
    border-bottom: 1px solid #1E9A3A;
}

.l-gnavi__menu > li{
    font-size: 18px;
    font-weight: 600;
}

    .l-gnavi__menu .in_list > li{
        font-size: 16px;
        font-weight: 600;
        padding-left: 22px;
    }

.l-gnavi__menu > li span,
.l-gnavi__menu .in_list > li span{
    position: relative;
}

.l-gnavi__menu > li > span:before,
.l-gnavi__menu .in_list > li > span:before,
.l-gnavi__menu > li > span:after,
.l-gnavi__menu .in_list > li > span:after{
    content: "";
    background: #fff;
    display: block;
    position: absolute;
    top:50%;
    transform: translateY(-50%);
}

.l-gnavi__menu > li > span:before,
.l-gnavi__menu .in_list > li > span:before{
    width: 2px;
    height: 14px;
    right: 6px;
}

.l-gnavi__menu > li > span:after,
.l-gnavi__menu .in_list > li > span:after{
    width: 14px;
    height: 2px;
    right: 0;
}
.l-gnavi__menu > li > span.open:before,
.l-gnavi__menu .in_list > li > span.open:before{
    display: none;
}

.l-gnavi__menu .in_list02 > li{
    font-size: 15px;
    font-weight: 500;
    padding-left: 25px;
}



.bannerTitle{
    font-size: 18px;
}

.header{
    background: #fff;
    padding: 45px 0 0;
    position: relative;
    box-shadow:none;
}
.header #keymsg{
    float: none;
    width: 100%;
    position: relative;
    margin-bottom: 1.5rem;
}
.header #keymsg p{
    margin-left: 0;
    margin-right: 0;
    padding: 0;
    font-weight: bold;
    text-align: center;
    width: 100%;
    position: absolute;
    left: 50%;
    top: 28%;
    line-height: 1.3;
    transform: translateX(-50%);
    z-index: 2;
}
.header #keymsg p span{
    display: block;
    background: none;
    font-size: 16px;
    height: auto;
    padding: 0;
}
.header #keymsg img{
    width: 100%;
}
.l-header__toggle{
    position: absolute;
    right: 0;
    top: 0;
    z-index: 9999;
}
.logo{
    float: none;
    margin: 0;
    width: 100%;
    position: absolute;
    left: 0;
    top: 5px;
    background: #fff;
    padding-left: 10px;
}
.logo a{
    display: inline-block;
    width: auto;
}
.logo img{
    object-fit: contain;
    object-position: left;
    height: 50px;
}

.c-btn a{
    background: #007504;
    width: 100%;
    display: block;
    text-align: center;
    color: #fff;
    padding: 0.5em;
}

.wrapper{
    width: 92%;
    margin: 0 auto;
}
.main{
    width: 100%;
    margin: 0;
    float: none;
}

.kakomi{
    margin: 0 0 1.5em 0;
    padding: 1em;
}
.bosyu-list li{
    background: url("../images/bullet.png") left 14% no-repeat;
}
.listing-item .category-display a{
    font-size: 0.9rem;
}
.listing-item{
    min-height: 190px;
}
.listing-item .image {
    width: 39%;
}
.listing-item .image ~ * {
    float: right;
    width: 55%;
    margin: 0;
}
.listing-item h3{
    margin: 0.4em 0 0 0!important;
    line-height: 1.5;
    font-size: 1.1rem;
}
.listing-item:after {
    content: "";
    display: block;
    clear: both;
}
.listing-item .date, .main .date {
    display: block;
    font-weight: 600;
    font-size: 14px;
}
.listing-item .excerpt{
    display: none!important;
}

.listing-item.news .txt p:nth-child(5),
.listing-item p:nth-child(6){
    display: none;
}

.home .book-topic{
    float: none;
    width: 100%;
    height: auto;
    margin: 2em 0em 0em 0;
    padding-bottom: 1em;
    display: flex;
    border-bottom: 1px solid #A5A5A5;
}
.home .book-topic:last-child{
    border:none;
}
.home .book-topic a{
    margin-right: 1em;
}

.sidemenu{
    float: none;
    width: 100%;
}
.sidemenu .in_box:nth-child(4) .bannerTitle{
    display: none;
}
.sidemenu .in_box:nth-child(2){
    margin-bottom: 30px;
}
.side-box{
    width: 100%;
}
.side-box .side-content {
    padding-bottom: 10px;
}
.side-box form {
    padding-bottom: 10px;
}
.side-box input#mailadd{
    width: 89%;
    font-size: 15px;
    padding: 5px;
}
.side-box .heading{
    font-size: 16px;
}
.widget_media_image{
    width: 49%;
    display: inline-block;
    margin-right: 2%;
    vertical-align: middle;
    text-align: center;
}
.widget_media_image:nth-child(odd){
    margin-right: 0;
}
.widget_media_image a{
    display: block;
}
.widget_media_image img{
max-width: 100%;
height: auto;   
}

.txt_block{
    display: block;
}
.img_sm{
    width: 50%;
    margin: auto!important;
}

.pageTop{
    width: 92%;
    text-align: center;
    margin-top: 30px;
}
.pageTop a{
    width: 35%;
    display: block;
    margin: auto;
}
.pageTop img{
    width: 100%;
    height: auto;
}
.copyright{
    border-top: 2px solid #007504;
    padding-top: 18px;
}

.left {
    float: none;
    margin-right: 0em;
    margin-top: 0em;
}
.right {
    float: none;
    width: 100%;
    margin: auto;
    text-align: center;
}

.main h1 {
    font-size: 1.3rem;
    padding: 1em 0;
    line-height: 1.4;
}
.main h2{
    background: url("../images/bg_h2.png") left top no-repeat;
    background-size: 27px 27px;
    font-size: 1.2rem;
}
.main .slogan{
    text-align: left;
    padding: 0.3em 0.5em;
}
.main iframe{
    width: 100%;
}

.main img{
    max-width: 100%;
    height: auto;
    float: none!important;
    display: block;
    width: 100%;
}

.greenbtn {
    width: 100%;
    font-size: 1.2em;
    margin: 1.5em auto;
}
.bluebtn{
    width: 100%;
    font-size: 1.2em;
    margin: 1.5em auto;
}

.area_wrap {
    background: #070;
    padding: 15px;
    color: #fff;
}
.area_wrap:before {
    display: block;
    content: "";
    font-weight: 700;
    font-size: 22px;
}
.area{
    width: 100%;
    display: block;
    margin:0;
}
.area a{
    display: block;
    width: 100%;
    padding: 1em;
    text-align: left;
    background: none;
    color: #fff;
    margin-right: 0.5%;
    margin-left: 0;
    height: auto;
    line-height: 1;
}
.area a:nth-child(2n){
    margin-right: 0;
}

.table-scroll{
    overflow: auto; 
    white-space: nowrap; 
    width:100%;
    border: 2px solid #ddd;
    padding: 4px;
}

.c-tbl{
    width: 100%!important;
}
.c-tbl tr,
.c-tbl th,
.c-tbl td{
    display: block;
    width: 100%!important;
    height: auto!important;
}
.c-tbl textarea,
.c-tbl input[type="text"],
.c-tbl input[type="email"] {
    width: 100%;
}

.c-tbl_02{
    width: 100%!important;
}
.responsive_table .inner {
    width: 100%;
    overflow-x: auto;
}

.responsive_table table {
    width: auto;
    max-width: 1000%;
}

.responsive_table table th,.responsive_table table td {
    white-space: nowrap;
}

.responsive_table:before {
    display: block;
    content: "横スクロールできます";
    background: #777;
    color: #fff;
}

/*-----------------------------------------------------

-----------------------------------------------------*/


.activ{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.activ a.working{
    width: 49%;
    margin: 10px 0 40px;
    float: none;
    height: auto;
    display: block;
    line-height: 1.3;
}
.activ a.working img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-bottom: 10px;
}


.wp_rp_wrap ul.related_post{
    width: 100%;
}
.wp_rp_wrap ul.related_post li{
    width: 100%!important;
}
.wp_rp_wrap ul.related_post li:last-child{
    margin-right: 0!important;
}
.wp_rp_wrap ul.related_post li img{
    max-width: 100%!important;
    height: auto!important;
}
ul.related_post li a{
    border-bottom: none;
}
ul.related_post li a:nth-child(1) {
    margin-right: 1rem;
    width: 40%;
}

.navPage span{
    font-weight: 600;
    color: #007700;
}
.navPage .prev{
    border: 1px solid #070;
    border-radius: 5px;
    padding: 1em;
    margin-bottom: 1rem;
}
.navPage .next{
    border: 1px solid #070;
    border-radius: 5px;
    padding: 1em;
}

hr.gray{
    width: 100%;
}

.wp-pagenavi{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.wp-pagenavi a, .wp-pagenavi span {
    padding: 3px 14px;
}
#navSub{
    width: 100%;
}
.single-post .main img{
    max-width: 100%;
    height: auto;
}

.joinus{
    width: 100%;
    float: none;
}

a.bglist{
    width: 100%;
    height: auto;
    float: none;
    text-align: center;
}
a.bglist img{
    margin:auto;
}

.excerpt.news{
    display: none;
}

.book-goods .bglist img{
    width: 50%;
}

.footer-sitemap{
    display: none;
}

      /* news追加 */

    .news-box{
        width: 100%;
    }
    .global-nav{
        display: none;
    }

    .header-func{
        display: none;
    }

    .side-search{
        margin: 30px 0;
        display: block;
    }
}


