﻿iframe {
    height: 450px;
}

h1 {
    font-size: 40px;
    font-weight: 500;
    line-height: 70px;
    text-align: center;
    color: #174c76;
}

input,
select,
textarea {
    color: #276ca5;
    font-family: 'Roboto', 'Noto Sans TC', 'sans-serif';
}

input:focus,
select:focus,
textarea:focus {
    border-radius: 2px;
    outline: 1px solid #333;
}

#Contact .Description {
    margin: 0 0 50px 0;
}

#Contact .Container {
    margin: auto;
    padding: 100px 0 200px 0;
    width: 1024px;
}

#Contact .Container .InfoList {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    color: #333;
    gap: 20px;
}

#Contact .Container .InfoList .InfoItem {
    width: calc(50% - 10px);
    padding: 50px;
    background-color: #e9eaef;
}

#Contact .Container .InfoList .InfoItem:nth-child(1) {
    width: 100%;
}

#Contact .Container .InfoList .InfoItem h2 {
    margin: 0 0 15px 0;
    color: #174c76;
    font-size: 20px;
    font-weight: 500;
}

#Contact .Container .InfoList .InfoItem h6 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 16px;
    font-weight: 500;
}

#Contact .Container .InfoList .InfoItem table {
    border-collapse: collapse;
    width: 100%;
}

#Contact .Container .InfoList .InfoItem table tbody tr th,
#Contact .Container .InfoList .InfoItem table tbody tr td {
    border-bottom: 8px solid transparent;
    line-height: 1.5em;
}

#Contact .Container .InfoList .InfoItem table tbody tr th {
    padding: 0 .7em 0 0;
    text-align: left;
    font-weight: 500;
    border-right: 1px solid #b80000;
}

#Contact .Container .InfoList .InfoItem table tbody tr td {
    padding: 0 0 0 .7em;
}

#Contact .Container .InfoList .InfoItem table tfoot tr td {
    text-align: right;
}

#Contact .Container .InfoList .InfoItem select {
    padding: 5px;
    font-size: 16px;
    color: #333;
    background-color: transparent;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #999;
}

#Contact .Container .InfoList .InfoItem:nth-child(1) a {
    display: inline-block;
    margin: -2px 0 0 10px;
    padding: 0 19px 0 0;
    color: #b80000;
    font-size: 16px;
    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;
}

#Contact .Container .InfoList .InfoItem:nth-child(1) a:hover {
    background-image: url(../../_Image/company/map_select.svg);
}

@media screen and (max-width:1249px) {
    #Contact .Container {
        padding: 100px 100px 200px 100px;
        width: 100%;
    }
}

@media screen and (max-width:1023px) {
    #Contact .Container .InfoList .InfoItem {
        width: 100%;
    }
}

@media screen and (max-width:767px) {
    iframe {
        height: 100vw;
    }

    #Contact .Container {
        padding: 5.3vw;
    }

    #Contact .Container .InfoList .InfoItem {
        padding: 4vw;
    }

    #Contact .Container .InfoList .InfoItem>.MainButton {
        margin: 0 0 15px 0;
    }

    #Contact .Container .InfoList .InfoItem table {
        border-collapse: separate;
        border-spacing: 0 5px;
    }
}

@media screen and (max-width:430px) {
    #Contact .Content .InfoList .InfoItem .Row.Add .Content {
        width: calc(100% - 50px);
    }

    #Contact .Content .InfoList .InfoItem .Row a {
        float: right;
        margin: 10px 0 0 0;
    }
}

@media screen and (max-width:365px) {
    #Contact .Content .InfoList .InfoItem .Row .Content {
        letter-spacing: 0;
    }
}