/***********************************

mastumoto スマホ化CSS


***********************************/

@media(max-width:600px){
    
    /******************************
    
    commonn
    
    ******************************/
    
    body{
        line-height: 1.6;
    }

    .pc_content{
        display: none !important;
    }

    .sp_content{
        display: block !important;
    }
    *{
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .index {
    background: #fff;
    }
    
    
    h3{
        background: none;border-top: #7dc91c 3px solid;
        border-bottom: #7dc91c 3px solid;
        background: #f6fcee;padding: 2px 0;
        font-weight: bold;
    }
    h3 a {
    display: block;
    padding: 10px 10px;
    background: none;
    text-decoration: none;
    }
    h4{
        font-size: 16px !important;
        margin: 30px 0;
    }
    
    .section{
        margin-bottom: 15px;
    }
    
    .section img{
        height: auto;
    }
    
    .tac{
        text-align: center;
    }
    
    .pagetop {
    margin: 20px 0 30px 0;
    text-align: right;
    position: fixed;
    bottom: 60px;
    width: 40px;
    background: #eee;
    height: 40px;
    margin: 0;
    right: 10px;
    background: rgba(66, 186, 0,.77);
    border-radius: 4px;
        z-index: 99;
}
    
    .pagetop a{
        background: none;
        display: block;
        width: 100%;
        height: 100%;
        position: relative;
    }
    
    .pagetop a:before {
    font-family: ionicons;
    content: "\f3d8";
    font-size: 24px;
    color: #fff;
    position: absolute;
    top: 0;
    left: 12px;
}
    
    div.body{
        padding-bottom: 20px;
    }
    /***************************
    
    movie
    
    *****************************/
    
    .ui-widget-content{
        z-index: 99999999;
    }
    .ui-widget-overlay {
    z-index: 9999999;
    }
    /*****************************
    
    header
    
    ******************************/
    
    .header h1 img{
        max-width: 250px;
        height: auto;padding-left: 7px;
    }
    
    .header{
        box-shadow: 0px 2px 3px rgba(0,0,0,.2);
        margin-top: 0px;
        position: relative;
        padding-bottom: 10px;
        padding-top: 10px;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: #fff;
        z-index: 99999;
        min-height: 64px;
    }
    
    .header a.sp_tel{
        position: fixed;
        padding: 10px;
        bottom: 0;
        width: 100%;
        left: 0;padding-left: 20px;
        color: #fff;line-height: 1.2;
        text-decoration: none;
        font-size: 15px;text-align: center;
        background: rgba(66, 186, 0,.77);
    }
    .header a.sp_tel span{
        display: block;
        text-align: center;
        font-size: 11px;
    }
.header a.sp_tel:before {
    font-family: ionicons;
    content: "\f2ac";
    position: absolute;
    left: calc(50% - 84px);
    top: 20px;
    font-size: 18px;
    color: #fff;
}
    
    .header .spbtn{
        display: block;
        position: absolute;
        top: 10px;
        right: 10px;
        border-radius: 4px;
        z-index: 99;
        width: 40px;
        height: 40px;
        border: 1px solid  #ddd;
    }
    
    .header .spbtn:after {
    position: absolute;
    font-family: ionicons;
    content: "\f32a";
    font-size: 30px;
    left: 8px;
    top: 3px;line-height: 1.1;
    }
    
    .header .spbtn.close:after{
        content: "\f2c0";
        left: 10px;
    }
    .g-nav ul{
        display: block;
    }
    
    .g-nav ul li{
        display: block;
    }
    
    .g-nav ul li:last-child a{
        background: #f6fcee !important;
    }
    .g-nav li a{
        display: block;
        width: 100% !important;
        background: #fff!important;
        text-indent: inherit;
        font-size: 16px;padding: 12px;
        text-align: center;
        border-bottom: 1px dashed #ddd;
        font-weight: bold;color: #00aa7f;
        height: auto;
    }
    
    .g-nav li:nth-child(1) a:before{
        content: "\e88a";
        margin-right: 5px;position: relative;
        top: 2px;
        font-family: material icons;
    }
    
    .g-nav-container{
        display: none;position: fixed;
        z-index: 99;margin-top: 0;
        top: 63px;left: 0;
        width: 100%;
    }
    
    /*************************************
    
    slidder
    
    **************************************/
    
    #slide_con{
        overflow: hidden;
        margin-top: 60px;
    }
    
    #slide_con > *{
        max-width: inherit;
    }
    
    #slide_con #full{
        height: 100%;
    }

    
    #slide_con,.sp-mask,.sp-slide,.sp-image-container{
        height: 220px !important;
    }
    .sp-mask img{
        object-fit: cover;
        height: 100%!important;
        width: 100%!important;
        margin-top: 0 !important;
    }
    /************************************
    
    toppage
    
    ************************************/
    
    
    
    .index-container{
        border-radius: 4px;
        border: none;
    }
    .ad-container{
        margin: 0;
        margin-top: 0px;
        padding: 20px 0;
    }
    
    .toppage .body-container{
        margin-top: 20px;
    }
    
    .toppage .body-container .index-container{
        padding: 15px 0;
    }
    .body-container{
        padding: 0 15px;
        margin-top: 80px;
        margin-bottom: 30px;
    }
    
    .body-container h2{
        text-align: center;padding-top: 10px;
        border-bottom: 1px solid #79aa18;
        padding-bottom: 13px;
    }
    
    .body-container h3{
        text-align: center;
    }
    .body-container p{
        margin: 15px 0;
    }
    .index-container .estate-title{
        text-align: center;
    }
    /***************************
    
    leasesection
    
    ****************************/
    .lease-section{
        padding-right: 0;
    }
    
    .link_list{
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
        -webkit-flex-wrap: wrap;
        -moz-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        -o-flex-wrap: wrap;
        flex-wrap: wrap;
        justify-content: space-between;
        margin-top: 0 !important;
    }
    
    .link_list a{
        width: 49%;
        display: block;
        text-align: center;
        padding: 10px;
        border-radius: 4px;
        background: rgba(66, 186, 0,.77);
        color: #fff;
        text-decoration: none;
        margin-bottom: 5px;
    }
    
    .lease-section a.ar1,.deal-section a.ar1{
        display: block;
            line-height: 1;
    }
    
    .estate-list .img {
    width: 100px;
    float: inherit;
    margin: 0 auto;
}
    
    .estate-list .img a{
        display: block;
    }
    
    .estate-list .img a img{
        display: block;
        width: auto;
        margin: 0 auto;
    }
    
    .lease-section .title a.ar1,.deal-section .title a.ar1{
        margin-top: 15px;
        font-weight: bold;
        font-size: 15px;
        max-width: 92%;
        line-height: 1.2;
    }
    .title a.ar1{
        margin-top: 15px;
        font-weight: bold;
        font-size: 15px;
        max-width: 92%;
        line-height: 1.2;display: block;
    }
    .spec th{
        font-size: 0.9em;
        padding: 5px;
    }
    
    .spec td{
        padding: 7px 2px;
    }
    
    /*****************************
    
    deal section
    
    ****************************/
    .deal-section {
    padding: 0px;
    }
    .deal-section-container h3{
        margin-top: 20px;
    }
    
    /*******************************
    
    index corprate
    
    *******************************/
    .index-corporate {
        padding: 15px;
    }
    .index-corporate .context{
        margin: 10px 0;
    }
    
    .index-corporate .context a.ar1{
        display: block;
        text-align: center;
        padding: 15px;
        margin: 10px 0 0;
        border-radius: 4px;
        color: #fff;text-decoration: none;
        box-shadow: 2px 2px 2px rgba(0,0,0,.2);
        font-size: 16px;
        background: #6AC1B7;
    }
    
    .contact-box{
        padding: 15px;
    }
    
    .contact-box .context{
        margin: 10px 0;
    }
    /***************************************************
    
    subpage
    
    ***************************************************/
    
    .spec_wrap{
        overflow-y: scroll;
        position: relative;
    }
    
    .spec_wrap:after {
    position: absolute;
    top: auto;
    right: 3px;
    content: "\f4a1";
    transform: scale( -1, 1);
    font-family: ionicons;
    bottom: -3px;
    color: #ccc;
}
    
    table.spec{
        overflow: scroll;
        width: 500px;
    }
    
    table.spec > *{
        width: 500px;
        max-width: 500px;
    }
    
    table.spec tbody{
        width: 500px;
        max-width: 500px;
    }
    table.spec tbody tr{
        width: 500px;
        max-width: 500px;
    }
    
    h3.h3page{
        background: none;
        padding: 10px;
        font-size: 18px;
        font-weight: bold;
        border-bottom: #7dc91c 4px solid;
    }
    
    /***************************
    
    sidebar
    
    ***************************/
    .local-nav-container{
        margin-bottom: 10px;
    }
    .local-container{
        width: 100%;
    }
    
    .local-nav li{
        background: none;
        display: block;width: 100%;
    }
    
    .local-nav li a{
        display: block;
        padding: 9px 0 9px 40px;
        width: 100%;border-bottom: 1px solid  #fff;
    }
    
    .local-container .contact img{
        width: 100%;
        display: block;
        height: auto;
    }
    
    .contact_sp{
        border: 1px solid  #ddd;
        padding: 15px;
    }
    
    .contact_sp span{
        display: block;
        height: 180px;
        overflow: hidden;
    }
    
    .contact_sp span img{
        object-fit: cover;
        height: 100%;
        width: 100%;
    }
    
    .contact_sp p{
        font-size: 14px;
        margin: 10px 0 5px;
    }
    
    .contact_sp a{
        text-decoration: none;
        font-size: 18px;
        font-family: 'Yu Mincho',serif;
        font-size: 25px;
        font-weight: bold;
    }
    
    .contact_sp a img{
        position: relative;
        top: 5px;
        line-height: 0.8;
        margin-right: 5px;
    }
    /**********************************
    
    駐車場 http://www.nikken-js.com/parking/
    
    **********************************/
    
    .grid-2-2 div.left{
        margin-bottom: 15px;
    }
    
    /**********************************
    
    自販機設置 http://www.nikken-js.com/vendingmachine/
    
    **********************************/
    
    .section2 p{
        float:none !important;
        width: 92%;
        margin: 15px auto;
    }
    
    .section2 p img{
        
    }
    
    .vend_flow p img{
        width: 100%;
        display: block;
    }
    
    .vending_tit{
        padding:20px 15px;
        background: linear-gradient(rgba(0,0,0,.5),rgba(0,0,0,.5)),url(/images/vendingmachine/vending.jpg) 50% 50% no-repeat;
        -webkit-background-size: cover;background-blend-mode: multiply;
        background-size: cover;
        color: #fff;margin-bottom: 30px;
    }
    
    .vending_tit h2{
        padding: 10px;margin-top: 0;
        background: rgba(125, 201, 28,.77);
    }
    
    .vending_tit p span{
        display: block;
        text-align: center;
        font-size: 16px;
        font-weight: bold;
    }
    
    /*************************************
    
    お問い合わせフォーム
    
    ************************************/
    
    table.tbl-2,table.tbl-2 tbody,table.tbl-2 tr,table.tbl-2 th,table.tbl-2 td{
    display: block;width: 100% !important;
    }
    
    table.tbl-2 td{
        padding: 15px 0;
    }
    table.tbl-2.corporate tr td{
        padding: 12px 0;
    }
    table.tbl-2.corporate tr td:nth-of-type(1){
        background: #f6fcee;
        text-align: center;
        font-weight: bold;
    }
    
    table.tbl-2.contact td{
        line-height: 2.3;
    }
    table.tbl-2 td input[type="text"]{
        padding: 5px;border-radius: 3px;
        border: 1px solid  #ccc;
    }
    .NFTextCenter{
        background: none !important;
        width: 100%;
    }
    .NFTextLeft,.NFTextRight{
        display: none;
    }
    
    .NFTextareaTop,.NFTextareaBottom{
    width: 100% !important;
    }
    
    div.submit{
        text-align: center !important;
        margin-bottom: 30px;
    }
    
    .contact_form input[type="text"]{
        width: 100% !important;
        margin-right: 0;
        padding: 5px;margin-bottom: 5px;
    }
    /**********************************
    
    物件詳細
    
    ************************************/
    
    .swap-image-visual{
        margin: 10px 0 30px;
        padding: 0 10px;
    }
    .swap-image-thumbs{
        width: 100%;
    }
    .swap-image-thumbs .thumbs{
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
        -webkit-flex-wrap: wrap;
        -moz-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        -o-flex-wrap: wrap;
        flex-wrap: wrap;
        justify-content: space-between;
        margin-right: 0;
    }
    .swap-image-thumbs .thumbs li{
        width: 24%;
        margin: 0;
        margin-bottom: 10px;
        overflow: hidden;
        float: none;
        height: 80px;
    }
    
    .swap-image-thumbs .thumbs:after{
        display: none;
    }
    
    .swap-image-thumbs .thumbs li img{
        width: 100%;
        height: auto;
        object-fit: cover;
            height: 100%;
    }
    
    table.tbl-1{
        margin-top: 15px;
    }
    
    table.tbl-1,table.tbl-1 tbody,table.tbl-1 tr,table.tbl-1 th,table.tbl-1 td{
        display: block;
    width: 100% !important;
    }
    .tbl-1 th{
        text-align: center;
    }
    .tbl-1 td{
        padding: 10px 0;
        text-align: center;
    }
    
    .bottom-nav{
        display: block;
        margin: 20px auto;
    }
    
    .bottom-nav li {
        display: block;
        width: 250px;
        margin: 10px auto;
        padding-right: 0;
    }
    /*****************************************************
    
    footer
    
    ****************************************************/
    
    .footer{
        background: #e3e3e3;
        padding-bottom: 60px;
    }
    .footer-information ul{
        display: block;
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
        float: none;
        justify-content: space-between;
    }
    
    .footer-information ul li{
        display: block;
        float: inherit;
        width: 33%;
    }
    
    .footer-information ul li a{
        display: block;
        text-align: center;
    }
    
    .copyright{
        text-align: center;
        float: inherit;
        width: 100%;
        margin-top: 20px;
    }
    
    .footer-container {
    margin: 0 auto 0 auto;
    clear: both;
    height: 80px;background: #e3e3e3;
    
    }
    
    
    
    
    
    
    
    
    
    
}/*600pxここまで*/