@charset "UTF-8";

/* -- header -- */
#header nav ul li.menu4 a {
    color: #005bab;
}
#main_image{
    background-image: url(../images/company/main_image.jpg);
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
}
#main_image .inner {

}
#main_image_text {
    
}
.main_image .text-image {
/*    color : #2E2E32;*/
    left: auto;
    right: 20px;
    text-shadow: 0px 0px 5px #fff;
}

.table_1 {
    border-collapse: collapse;
    margin-top: 20px;
}
.table_1 th {
    width: 240px;
    border: 1px solid #eeeef2;
    border-right: none;
    padding: 20px;
    background-color: #fbfbfc;
    line-height: 2;
    vertical-align: top;
}
.table_1 td {
    width: 720px;
    border: 1px solid #eeeef2;
    border-bottom: none;
    padding: 20px;
    line-height : 2;
}
.table_1 td a {
    color: #3498DB;
}
.table_1 tr:last-of-type td {
    border-bottom: 1px solid #eeeef2;
}

iframe {
    margin-top: 40px;
    width: 960px;
    height: 400px;
}

.map_canvas {
    margin-top: 40px;
    width: 960px;
    height: 400px;
}
.map_canvas .yolp-layer img {
    width: auto;
}
.map_canvas + .credit {
    margin-top: 4px;
    margin-bottom: 15px;
    width: 125px;
    height: 17px;
}
.map_canvas + .credit a {
    display: block;
}
.map_canvas + .credit a img {
    margin: 4px 0 15px !important;
}
/*----------------------------------------
 _画面の横幅が640pxまで
----------------------------------------*/
@media screen and (max-width:640px) {
    
    /* -- header -- */
    #header{
        top: 0;
        position: absolute;
    }
    #header nav ul li.menu4 a {
        color: #ffffff;
    }
    #main_image {
        background-image: url(../images/company/main_image_sp.jpg);
    }
    #main_image .inner {

    }
    #main_image_text {
        top: 160px; 
    }
    .main_image .text-image {

    }
    
    .table_1 th {
        float: left;
        width: 100%;
        border: 2px solid #eeeef2;
        border-right: 2px solid #eeeef2;
        border-bottom: none;
        line-height: 1;
    }
    .table_1 td {
        float: left;
        width: 100%;
        border: 2px solid #eeeef2;
        border-bottom: none;
        padding: 12px 20px 12px 20px;
        line-height : 1.5;
    }
    .table_1 tr:last-of-type td {
        border-bottom: 2px solid #eeeef2;
    }
    
    iframe {
        margin-top: 60px;
        width: 600px;
        height: 400px;
    }
    
    .map_canvas {
        margin-top: 60px;
        width: 600px;
        height: 400px;
    }
    .map_canvas .yolp-layer img {
        width: auto;
    }
    .map_canvas + .credit {
        margin-top: 4px;
        margin-bottom: 15px;
        width: 125px;
        height: 17px;
    }
    .map_canvas + .credit a {
        display: block;
    }
    .map_canvas + .credit a img {
        margin: 4px 0 15px !important;
    }
}