@charset "utf-8";

.title {
    height: 310px;
    background-image: url(../images/about-tecs/AboutTECS-top_2640x840.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color:#000000;
    text-shadow: 1px 1px 10px #4b2c14;
}

.title h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: bold;
}

.title p {
    font-size: 14px;
    margin-top: 15px;
}

.message {
    display: flex;
    justify-content: space-between;
    width: 930px;
    max-width: 90%;
    margin-top: 75px;
    margin-left: auto;
    margin-right: auto;
    align-items: flex-start;
}

.message img {
    width: 360px;
}

.message-text {
    max-width: 500px;
    margin-right: 40px;
}

.message-text h2 {
    font-size: 22px;
    font-weight: bold;
    line-height: 30px;
}

.message-text h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background-color: #000000;
    margin-top: 5px;
}

.message-text p {
    font-size: 15px;
    line-height: 28px;
    margin-top: 25px;
}

.message-text {
    max-width: 400px;
    margin-right: 40px;
}

.message-text h2 {
    font-size: 22px;
    font-weight: bold;
    line-height: 30px;
}

.message-text h2::after {
    content: '';
    display: block;
    width: 300px;
    height: 3px;
    background-color: #f85206ce;
    margin-top: 5px;
}

.company-outline h2 {
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    margin-top: 80px;
}

.company-outline h2::after {
    content: '';
    display: block;
    width: 90px;
    height: 3px;
    background-color: #f85206ce;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
}

.company-list {
    width: 400px;
    max-width: 100%;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
    display: grid;
    grid-template-columns: repeat(1, 400px);
    row-gap: 20px;
    justify-content: center;
}

.company-list dl {
    margin-top: 20px;
}

.company-list dt {
    font-weight: bold;
    text-align: center;
    background-color: #fcb14f9c;
    line-height: 25px;
}

.company-list dd {
    font-size: 15px;
    line-height: 20px;
    margin-top: 10px;
}

.company-list li {
    position: relative;
}


.company-principle h2 {
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    margin-top: 80px;
}

.company-principle h2::after {
    content: '';
    display: block;
    width: 90px;
    height: 3px;
    background-color: #f85206ce;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
}

.principle-list {
    width: 960px;
    max-width: 100%;
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, 200px);
    column-gap: 20px;
    justify-content: center;
}

.principle-list dl {
    margin-top: 20px;
}

.principle-list dt {
    font-weight: bold;
}

.principle-list dd {
    font-size: 15px;
    line-height: 20px;
    margin-top: 10px;
}

.principle-list li {
    position: relative;
}

@media (max-width: 800px) {
    .message {
        display: block;
        width: 500px;
        margin-top: 45px;
    }

    .message-text {
        margin-right: 0;
    }

    .message img {
        width: 100%;
        height: auto;
        margin-top: 25px;
    }

}