.company_bg {
    background: #eaf6fd url('../img/company_back.jpg') left top / contain no-repeat;
    margin-top: 4rem;
}

.table_profile {
    border-width: 1px 0px;
    border-color: #a0a0a0;
    border-style: solid;
    width: 100%;
}

.table_profile tr {
    border-width: 1px 0px;
    border-color: #a0a0a0;
    border-style: solid;
}

.table_profile tr.noborder_bottom {
    border-bottom: none;
}

.table_profile tr.noborder_top {
    border-top: none;
}

.table_profile th,
.table_profile td {
    padding-top: 1.2em;
    padding-bottom: 1.2em;
    font-size: 0.9rem;
}

.table_profile th {
    width: 15%;
    text-align: left;
    padding-left: 1em;
    white-space: nowrap;
}

.table_profile td {
    padding-left: 1.5em;
}

.table_profile th,
.table_history th {
    vertical-align: top;
}

.googlemap {
    width: 100%;
    height: 250px;
}

.president {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
}

.pr_name h3 {
    font-size: 1em;
    margin-top: 1.2em;
}

.pr_name h2 {
    font-size: 2em;
    white-space: nowrap;
    letter-spacing: 0.4em;
}

.message_body {
    padding-top: 2rem;
}

.message_body p {
    margin-block-end: 2em;
    line-height: 2em;
    text-indent: 1em;
}

/******************* タブレット用 ***************/
@media (min-width: 415px) {
    .company_bg {
        margin-top: 4rem;
    }

    .googlemap {
        width: 85%;
    }

    .president {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-around;
        width: 90%;
        margin: 0 auto;
    }

    .pr_name h3 {
        margin-top: 0;
    }
}

/********************** PC用 ******************/
@media (min-width: 1024px) {
    .company_bg {
        margin-top: 120px;
    }

    .table_profile th {
        width: 15%;
        padding-left: 3em;
    }

    .table_profile th,
    .table_profile td {
        font-size: 1rem;
    }

    .googlemap_box {
        display: flex;
        justify-content: space-around;
    }

    .googlemap {
        width: 60%;
    }

    .president {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-around;
        width: 90%;
        margin: 0 auto;
    }

    .pr_name h3 {
        margin-top: 0;
    }
}