@charset "UTF-8";

.company__message {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
}
.company__message-heading {
    margin-bottom: 20px;
    font-size: 2rem;
}

.company__section-title {
    margin-bottom: 30px;
    border-bottom: 1px solid #000;
    text-align: center;
}

/* 600px以上：タブレット
------------------------------ */
@media screen and (min-width: 600px) {
    .company__message-heading {
        margin-bottom: 50px;
        font-size: 3.5rem;
        text-align: center;
    }

    .company__section-title {
        margin-bottom: 50px;
        font-size: 2.5rem;
    }
}
/*******************************
sec-mes
 *******************************/
.company__message-text {
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.company__message-text:nth-last-child(1) {
    margin-bottom: 0;
}

.company__message-author {
    margin-bottom: 30px;
    font-size: 1.5rem;
    text-align: right;
}

.company__image img {
    width: 100%;
}

/* 600px以上：タブレット
------------------------------ */
@media screen and (min-width: 600px) {
    .company__message-text {
        margin-bottom: 40px;
        font-size: 1.6rem;
    }

    .company__message-author {
        margin-bottom: 50px;
        font-size: 1.6rem;
    }
}
/*******************************
 sec-com
 *******************************/

.company__info {
    width: 90%;
    max-width: 800px;
    margin: 30px auto 0;
}


.company__info-table, .company__info-tbody, .company__info-row, .company__info-heading, .company__info-data {
    display: block;
}

.company__info-table {
    width: 100%;
    margin-bottom: 30px;
    border-top: 1px solid #aaa;
    font-size: 1.5rem;
    text-align: left;
}

.company__info-row {
    padding: 10px 0;
    border-bottom: 1px solid #aaa;
}



/* 600px〜959px：タブレット
------------------------------ */
@media screen and (min-width:600px) {
    .company__info {
        margin: 80px auto 0;
    }

    .company__info-table {
        display: table;
        margin-bottom: 50px;
    }
    .company__info-tbody {
        display: table-row-group;
    }
    .company__info-row {
        display: table-row;
        padding: 0;
    }
    .company__info-heading, .company__info-data {
        display: table-cell;
        padding: 10px 0;
    }

    .company__info-heading {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        color: inherit;
    }

    .company__info-heading::after {
        display: block;
        width: 2px;
        height: 23px;
        background: #00a7eb;
        content: "";
    }

    .company__info-data {
        padding-left: 25px;
    }
}

/* 960px〜1279px：小型PC
------------------------------ */
@media screen and (min-width:960px) {
    .company__info-heading {
        padding-left: 35px;
    }
}
