﻿.Top:not(#ProductDetail .Top) .Container {
    background: -moz-linear-gradient(left, rgb(80 119 162 / 60%) 33%, transparent 100%);
    background: -webkit-linear-gradient(left, rgb(80 119 162 / 60%) 33%, transparent 100%);
    background: linear-gradient(to right, rgb(80 119 162 / 60%) 33%, transparent 100%);
}

#Location h3 {
    margin: 0 0 50px 0;
}

#Location .Top {
    background-image: url(../../_Image/company/location_banner.jpg);
}

#Location .Location {
    padding: 100px;
}

#Location .Location .Container {
    width: 100%;
}

#Location .Location .LocationList .LocationItem {
    padding: 30px 0;
    border-bottom: 1px solid #ddd;
    font-size: 0;
}

#Location .Location .LocationList .LocationItem:nth-last-child(1) {
    border-bottom: none;
}

#Location .Location .LocationList .LocationItem::before {
    content: '';
    display: inline-block;
    height: 100%;
    width: 0;
    vertical-align: middle;
}

#Location .Location .LocationList .LocationItem>img {
    vertical-align: middle;
    display: inline-block;
    width: 430px;
}

#Location .Location .LocationList .LocationItem>img:hover {
    cursor: pointer;
}

#Location .Location .LocationList .LocationItem h4 {
    vertical-align: middle;
    display: inline-block;
    margin: 0 30px;
    width: 260px;
    font-size: 24px;
    font-weight: 500;
}

#Location .Location .LocationList .LocationItem h4 span {
    margin: 0 0 .4em 0;
    display: block;
    color: #777;
    font-size: 20px;
    font-weight: 400;
}

#Location .Location .LocationList .LocationItem h4 .Title {
    margin: 0 0 10px 0;
}

#Location .Location .LocationList .LocationItem h4 .HeadOffice {
    padding: 8px 15px;
    background-color: #333;
    color: #fff;
    font-size: 16px;
    font-weight: 300;
    background: -moz-linear-gradient(right, #e04078 0%, #60174f 100%);
    background: -webkit-linear-gradient(right, #e04078 0%, #60174f 100%);
    background: linear-gradient(to left, #e04078 0%, #60174f 100%);
}

#Location .Location .LocationList .LocationItem .InfoList {
    vertical-align: middle;
    display: inline-block;
    width: calc(100% - 755px);
    color: #333;
    font-size: 16px;
    line-height: 26px;
}

#Location .Location .LocationList .LocationItem .InfoList .InfoItem span:nth-child(1) {
    margin: 0 10px 0 0;
    padding: 0 10px 0 0;
    border-right: 1px solid #b80000;
}

#Location .Location .LocationList .LocationItem .InfoList .InfoItem span:nth-child(2) {
    padding: 0 10px 0 0;
}

#Location .Location .LocationList .LocationItem .InfoList .InfoItem a {
    padding: 0 19px 0 0;
    color: #b80000;
    font-weight: 500;
    background-image: url(../../_Image/company/map.svg);
    background-repeat: no-repeat;
    background-position: 98% center;
    background-size: 13px auto;
    white-space: nowrap;
    transition: .2s all;
}

#Location .Location .LocationList .LocationItem .InfoList .InfoItem a:hover {
    background-image: url(../../_Image/company/map_select.svg);
}

#Location .Location .ImgEnlargement {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

#Location .Location .ImgEnlargement .Wapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    z-index: 998;
}

#Location .Location .ImgEnlargement .Wapper::after {
    content: "×";
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 40px;
    font-size: 30px;
    font-weight: 200;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

#Location .Location .ImgEnlargement .Wapper img {
    max-height: calc(100vh - 160px);
    max-width: calc(100vw - 160px);
}

#Location .Gallery {
    padding: 100px 0 150px 0;
    width: 100%;
    background-color: #333;
    overflow: hidden;
}

#Location .Gallery h3 {
    margin: auto auto 80px auto;
    width: 1280px;
    color: #fff;
    box-sizing: border-box;
}

#Location .Gallery .GalleryItem .Info {
    padding: 10px 10px 12px 10px;
    display: block;
    transform: translateY(-34.5px);
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: 10px;
    line-height: 12px;
    background-color: rgba(0, 0, 0, 0.5);
    border-top: 0.5px solid rgba(255, 255, 255, 0.7);
}

#Location .Gallery .GalleryItem .Info.TooLong {
    transform: translateY(-47px);
}

@media screen and (max-width:1699px) {
    #Location .Location .Container {
        padding: 0;
    }
}

@media screen and (max-width:1439px) {
    #Location .Location {
        padding: 50px;
    }

    #Location .Location .Container {
        width: 100%;
    }

    #Location .Location .LocationList .LocationItem>img {
        float: left;
    }

    #Location .Location .LocationList .LocationItem h4 {
        float: left;
    }

    #Location .Location .LocationList .LocationItem .InfoList {
        float: left;
        margin: 30px 0 0 30px;
        width: calc(100% - 460px);
    }

    #Location .Gallery {
        padding: 50px 0 100px 0;
    }

    #Location .Gallery h3 {
        margin: auto 30px 80px 30px;
        width: calc(100% - 60px);
    }
}

@media screen and (max-width:1249px) {
    #Location .Location .ImgEnlargement {
        top: 60px;
        height: calc(100vh - 60px);
    }
}

@media screen and (max-width:1024px) {
    #Location .Location .LocationList .LocationItem {
        position: relative;
    }

    #Location .Location .LocationList .LocationItem>img {
        width: 300px;
    }

    #Location .Location .LocationList .LocationItem h4 {
        margin: 0 0 0 20px;
    }

    #Location .Location .LocationList .LocationItem .InfoList {
        margin: 20px 0 20px 20px;
        padding: 0 0 20px 0;
        width: calc(100% - 320px);
    }

    #Location .Location .LocationList .LocationItem .InfoList .InfoItem a {
        position: absolute;
        bottom: 30px;
        right: 0;
    }
}

@media screen and (max-width:767px) {
    .Top:not(#ProductDetail .Top) .Container {
        background: rgb(80 119 162 / 60%);
    }

    .Top:not(#ProductDetail .Top) .Container::after {
        background: -moz-linear-gradient(bottom, rgb(80 119 162 / 60%), transparent 100%);
        background: -webkit-linear-gradient(bottom, rgb(80 119 162 / 60%), transparent 100%);
        background: linear-gradient(to top, rgb(80 119 162 / 60%), transparent 100%);
    }

    #Location h3 {
        margin: 0;
        font-size: 22px;
    }

    #Location .Location {
        padding: 9.3vw;
    }

    #Location .Location .LocationList .LocationItem {
        margin: 0 0 0 -30px;
        padding: 30px 30px 0 30px;
        width: calc(100% + 60px);
    }

    #Location .Location .LocationList .LocationItem:nth-child(2n) {
        background-color: #f5f5f5;
    }

    #Location .Location .LocationList .LocationItem>img {
        width: 100%;
    }

    #Location .Location .LocationList .LocationItem h4 {
        width: 100%;
        margin: 15px 0 10px 0;
    }

    #Location .Location .LocationList .LocationItem:nth-child(4) h4 {
        font-size: 22px;
    }

    #Location .Location .LocationList .LocationItem h4 span {
        font-size: 18px;
    }

    #Location .Location .LocationList .LocationItem .InfoList {
        width: 100%;
        margin: 10px 0;
        padding: 0 0 10px 0;
    }

    #Location .Location .LocationList .LocationItem .InfoList .InfoItem span:nth-child(1) {
        padding: 2px 0;
        border-bottom: 1px solid #b80000;
        border-right: none;
        color: #b80000;
    }

    #Location .Location .LocationList .LocationItem .InfoList .InfoItem span:nth-child(2) {
        padding: 5px 0 13px 0;
        display: block;
        font-size: 16px;
        letter-spacing: 0.05em;
    }

    #Location .Location .LocationList .LocationItem .InfoList .InfoItem a {
        right: 30px;
    }

    #Location .Location .ImgEnlargement .Wapper {
        width: 100%;
    }

    #Location .Location .ImgEnlargement .Wapper img {
        max-width: 100%;
        max-height: none;
    }

    #Location .Gallery {
        padding: 30px 0 50px 0;
    }

    #Location .Gallery h3 {
        margin: 0 30px 30px 30px;
    }

    #Location .Gallery section {
        margin: 19vw auto;
        transform: scaleX(2) scaleY(2);
    }

    #Location .Gallery .GalleryItem .Info {
        bottom: -25px;
        transform: scaleX(0.5) scaleY(0.5) translateY(-46px) translateX(-50%);
        width: 200.5%;
        padding: 8px 10px 10px 10px;
    }

    #Location .Gallery .GalleryItem .Info.TooLong {
        transform: scaleX(0.5) scaleY(0.5) translateY(-64px) translateX(-50%);
    }
}