﻿
/*
    プロフィール
*/
div.noMessage {
    padding: 20px;
    font-weight: bold;
    font-size: 1.3em;
    box-sizing: border-box;
}

iframe.profMap {
    height: 400px;
    width: 100%;
}

div.profileMessage {
    border: 1px solid #666;
    border-radius: 4px;
    margin: 10px auto 30px;
    padding: 20px 25px;
    box-shadow: 10px 10px 0px 0px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    min-height: 200px;
    width: 95%;
}
    div.profileMessage ul {
        list-style: none;
        padding: 0;
        width: 100%;
    }
        div.profileMessage ul li {
            position: relative;
            display: inline-block;
            vertical-align: top;
            min-height: 180px;
        }
        div.profileMessage ul li:first-child {
            width: 20%;
        }
        div.profileMessage ul li:last-child {
            padding-left: 16px;
            width: 80%;
        }
            div.profileMessage ul li img {
                display: block;
                border-radius: 4px;
                height: 100%;
                width: 100%;
                object-fit: contain;
            }
@media (max-width: 559px) {
    div.profileMessage {
        width: 95%;
    }
        div.profileMessage ul li {
            display: block;
        }
            div.profileMessage ul li:first-child {
                float: left;
                padding-right: 10px;
                width: 55%;
            }
            div.profileMessage ul li:last-child {
                padding-left: 0;
                width: 100%;
            }
}

/* 会社概要 */
table:not(.nobreak) th {
    width: 20%;
}
table td.rowline:before {
    display: none;
}
@media (max-width: 559px) {
    table:not(.nobreak) th {
        width: 100%;
    }
}

ul.access {
    display: inline-block;
    margin: 0;
    padding-left: 1.0em;
    width: 100%;
}
    ul.access li {
        margin: 5px auto;
        text-indent: 0;
    }

table.tblAddInfo {
    width: 100%;
}
    table.tblAddInfo th {
        vertical-align: top;
        width: 50%;
    }
        table.tblAddInfo th div.imageWrap {
            height: 100%;
            width: 100%;
            max-width: 600px!important;
        }
            table.tblAddInfo th div.imageWrap div.sp-slides-container,
            table.tblAddInfo th div.imageWrap div.sp-slides-container div.sp-mask {
                min-height: 400px !important;
                max-width: 100%;
            }
        table.tblAddInfo th img {
            display: block;
            width: 100%;
            object-fit: contain;
        }
@media (max-width: 559px) {
    table.tblAddInfo th {
        width: 100%;
    }
        table.tblAddInfo th div.imageWrap div.sp-slides-container,
        table.tblAddInfo th div.imageWrap div.sp-slides-container div.sp-mask {
            min-height: 300px !important;
        }
}

/* スライダー */
.slider-pro {
    margin: 0 auto;
}
@media (max-width: 959px) {
    .slider-pro {
        float: none;
        margin-top: 15px !important;
        margin: 15px auto 0 auto !important;
    }
}
.sp-slide {
    text-align: center;
    height: 100% !important;
}


/*
    営業所一覧
*/
div.officeListSearch {
    position: relative;
    margin: 15px 10px 0;
    text-align: left;
}

ul.office-list {
    list-style: none;
    margin: 15px auto;
    padding: 0;
    width: 100%;
}
    ul.office-list li {
        display: inline-block;
        vertical-align: top;
        text-align: center;
        padding: 10px 5px;
        width: 25%;
        box-sizing: border-box;
    }
        ul.office-list li a:link,
        ul.office-list li a:visited {
            position: relative;
            display: block;
            border: 2px solid #295d72;
            border-radius: 15px;
            margin: 0 auto;
            text-decoration: none;
            text-align: center;
            color: #151515;
            height: 320px;
            width: 90%;
            transition: 0.2s;
            overflow: hidden;
        }
        ul.office-list li a:hover {
            color: red;
        }
        ul.office-list li a div.officeName {
            padding: 10px 0;
            font-family: 'Yu Gothic UI';
            font-weight: bold;
        }
        ul.office-list li a img {
            width: 100%;
            transition: 0.3s;
        }
        ul.office-list li a div.listAddr {
            position: absolute;
            left: 50%;
            bottom: 0;
            transform: translateX(-50%);
            -webkit-transform: translateX(-50%);
            -ms-transform: translateX(-50%);
            background-color: #295d72;
            padding: 1px 10px;
            color: #fff;
            width: 100%;
            box-sizing: border-box;
        }
@media (min-width: 960px) {
    ul.office-list li a:hover img {
        transform: scale(1.08);
    }
}
@media (max-width: 959px) {
    ul.office-list li {
        width: 50%;
    }
        ul.office-list li a:link,
        ul.office-list li a:visited {
            height: 350px;
        }
}
@media (max-width: 559px) {
    ul.office-list li a:link,
    ul.office-list li a:visited {
        height: 250px;
        width: 100%;
    }
    ul.office-list li a div.listAddr {
        font-size: 0.9em;
    }
    .office-list-clear {
        display: block;
        margin: 5px auto 0;
        width: 70%;
    }
}