@charset "UTF-8";

.w320 {
    display: none;
}

.block {
    margin-top: 45px;
}

.mainImg img {
    display: block;
    margin: auto;
    width: 100%;
}

.slick-prev {
    z-index: 2;
    left: 15px;
}

.slick-next {
    z-index: 2;
    right: 20px;
}

.slick-prev:before,
.slick-next:before {
    color: #e7e7e7;
    font-size: 32px;
}

.slick-dots li {
    width: 30px;
}

.slick-dots li button:before {
    font-size: 35px;
}

.work,
.about {
    margin-top: 80px;
}

.content {
    margin: 30px auto;
}

.about {
    padding-top: 50px;
}

.outline {
    margin: 50px auto;
    font-size: 14px;
}

.outline td {
    padding: 10px;
}

.rh {
    text-align: left;
}

.map {
    display: block;
    margin: 30px auto;
    max-width: 100%;
}

.workLogo {
    max-width: 300px;
}

.abousUs {
    max-width: 220px;
}

.work-block{
    margin-bottom: 60px;
}

.work img {
    width: 85%;
    display: block;
    margin: auto;
}

.no-single-img{
    width: 100% !important;
}

.work > h2 > img{
    width: 200px;
}
.about > h2 > img{
    width: 125px;
}

.single-item-work img{
    width: 100%;
}

.workImg {
    position: relative;
    /* 相対位置指定 */
}

.workImg .caption {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 130%;
    line-height: 175%;
    letter-spacing: 0.1em;
    color: #fff;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 20px;
}

.workImg .mask {
    width: 85%;
    height: 100%;
    position: absolute;
    /* 絶対位置指定 */
    top: 0;
    left: 7.5%;
    opacity: 0;
    /* マスクを表示しない */
    background-color: rgba(0, 0, 0, 0.4);
    /* マスクは半透明 */
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.workImg:hover .mask {
    opacity: 1;
    /* マスクを表示する */
}

.lock {
    overflow: hidden;
}

.modal-content {
    position: relative;
    display: none;
    width: 90%;
    max-height: 90%;
    padding: 10px 0px;
    border: 2px solid #474643;
    background: #626059;
    border-radius: 0px;
    overflow: auto;
    z-index: 9999;
}

::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 7px;
}

::-webkit-scrollbar-thumb {
    border-radius: 0px;
    background-color: rgba(192, 192, 192, 1);
    box-shadow: 0 0 1px rgba(255, 255, 255, .5);
}

.modal-content p {
    margin: 0;
    padding: 0;
}

.modal-content img {
    width: 100%;
}

.modal-overlay {
    z-index: 1;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-color: rgba(0, 0, 0, 0.75);
}

.modal-wrap {
    z-index: 2;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
}

.modal-open {
    height: 100%;
}

.modal-open:hover {
    cursor: pointer;
}

.modal-non {
    height: 100%;
}

.modal-non:hover,
.modal-non:active {
    cursor: default;
}

.modal-p {
    text-align: right;
}

.modal-close {
    color: #f2f2f2;
    font-size: 40px;
    position: fixed;
    right: 11%;
}

.modal-close:hover {
    cursor: pointer;
    color: #333;
}
div.work-pic{
    width: 85%;
    margin: auto;
}
div.work-block{
    margin-top:65px;
}
p.work-tittle{
    font-size: 16px;
    letter-spacing: .5px;
}
p.work-tittle span{
    padding-right: 10px;
}
p.work-photo{
    font-size: 16px;
    letter-spacing: 1px;
}

@media only screen and (max-width: 800px) {
    .mainImg {
        margin-top: 40px;
    }
    .slick-dots li{
        width: 7px;
    }
    .logoMenu img {
        height: 14px;
    }
    .aboutMenu img {
        height: 10px;
    }
    .workLogo {
        max-width: 200px;
    }
    .abousUs {
        max-width: 150px;
    }
    .work-block{
        margin-bottom: 30px;
    }
    .block {
        margin-top: 40px;
    }
    .slick-prev:before,
    .slick-next:before {
        font-size: 24px;
    }
    .workImg .caption {
        position: static;
        bottom: auto;
        right: auto;
        left: auto;
        padding: 0;
    }
    .modal-content {
        width: 100%;
        max-height:none;
    }
    .modal-open {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }
    .modal-non {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
    }
    .captionL {
        display: inline;
        position: static;
        bottom: auto;
        left: auto;
    }
    .captionR {
        display: inline;
        position: static;
        bottom: auto;
        right: auto;
    }
    .workImg .caption {
        font-size: 80%;
        color: #fff;
    }
    .outline td {
        padding: 10px 5px;
        font-size: 12px;
    }
    .work,
    .about {
        margin-top: 40px;
    }
    .about {
        padding-top: 25px;
    }
    div.work-block{
        margin-top:45px;
    }
    p.work-tittle{
        font-size: 12px;
    }
    p.work-photo{
        font-size: 12px;
    }
}

@media only screen and (max-width: 320px) {
    .logoMenu img {
        height: 11px;
    }
    .aboutMenu img {
        height: 10px;
    }
    .outline td {
        font-size: 10px;
    }
    .w320 {
        display: block;
    }
}