.top-image {
    height: 600px;
    background-image: url("/assets/company-top.png");
    background-position: center;
    background-size: cover;
}
.gray {
    background-color: #f5f5f5;
}
.title {
    text-align: center;
}
.eng-title {
    font-family: "Jost";
    font-weight: 400;
    letter-spacing: 1pt;
    margin-top: 4rem;
    margin-bottom: 0;
}
.sub-title {
    letter-spacing: 0.1rem;
}
.main-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.company-description {
    margin: 2rem 0 4rem 0;
    background-color: white;
}
.company-description>dl {
    margin: 0;
    padding: 0.5rem 4rem 0.5rem 4rem;
    width: 1000px;
    box-sizing: border-box;
    
    display: grid;
    grid-template:
        'trade-k     trade-v' auto
        'location-k  location-v' auto
        'tel-k       tel-v' auto
        'business-k  business-v' auto
        'establish-k establish-v' auto /
        30% 1fr;
    
    line-height: 1.8rem;
    letter-spacing: 0.1rem;
}
dl, dd {
    margin: 0;
}
.company-description>dl>dt,
.company-description>dl>dd {
    padding: 2.5rem 0 2.5rem 0;
}
.company-description>dl>dt:nth-of-type(n+2),
.company-description>dl>dd:nth-of-type(n+2) {
    border-top: 1px #e5e5e5 solid;
}
.company-description a {
    color: #2a2a2a;
    text-decoration-line: none;
}
.company-description a:hover {
    color: #2a2a2a;
    text-decoration-line: underline;
}

.company-about {
    margin: 4rem 0 10rem 0;
    display: grid;
    grid-template:
        'photo photo  sp message' auto
        'rep   career sp message' auto /
        150px 335px 60px 455px;
}
.company-about-photo {
    grid-area: photo;
    margin-bottom: 1rem;
}
.company-about-rep {
    grid-area: rep;
    display: flex;
    align-items: center;
    text-align-last: justify;
}
.company-about-rep>div>div:first-of-type {  
    font-size: small;
}
.company-about-rep>div>div:last-of-type {
    font-size: 1.2rem;
    font-weight: 800;
}
.company-about-career {
    grid-area: career;
    font-size: 0.78rem;
    text-align: justify;
}
.company-about-message {
    grid-area: message;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.company-about-message h2 {
    margin-top: 0;
    margin-bottom: 0.6rem;
    font-size: 1.1rem;
    text-align-last: justify;
}
.company-about-message p {
    margin: 0;
    font-size: 0.9rem;
    text-align: justify;
    line-height: 1.7rem;
}
.linebreak {
    display: none;
}
@media screen and (max-width: 1000px) {
    .top-image {
        width: 100%;
        height: 30vh;
        background-image: url("/assets/company-top.png");
        background-position: center;
        background-size: cover;
    }
    .company-description>dl {
        width: 100vw;
        max-width: 500px;
        padding: 0.5rem 5vw 0.5rem 5vw;

        grid-template:
            'trade-k' auto
            'trade-v' auto
            'location-k' auto
            'location-v' auto
            'tel-k' auto
            'tel-v' auto
            'business-k' auto
            'business-v' auto
            'establish-k' auto
            'establish-v' auto /
            1fr;
    }
    .company-description>dl>dt {
        padding: 2rem 0 0.5rem 0;
    }
    .company-description>dl>dd {
        padding: 0.5rem 0 2rem 0;
    }
    .company-description>dl>dt:nth-of-type(n+2) {
        border-top: 1px #e5e5e5 solid;
    }
    .company-description>dl>dd:nth-of-type(n+2) {
        border-top: none;
    }
    .company-about {
        margin: 4rem 10px 10rem 10px;
        box-sizing: border-box;
        grid-template:
            'photo' auto
            'rep' auto
            'career' auto
            'message' auto /
            100%;
        max-width: 500px;
    }
    .company-about-rep {
        margin-bottom: 1rem;
    }
    .company-about-photo {
        max-width: 100%;
    }
    .company-about-message {
        margin-top: 4rem;
        display: block;
    }
    .company-about-message h2 {
        text-align-last: left;
        margin-bottom: 1rem;
    }
    .company-about-message p {
        margin-bottom: 0.8rem;
    }
    .linebreak {
        display: block;
    }
}
