/* CSS Document */
.category_nav {
    margin-top: 6em;
}

.company .contents_inner {
    margin-bottom: 3em;
}

.company .contents_inner h3 {
    color: #0075CA;
    text-align: center;
    line-height: 1.8;
}

.company .contents_inner h3+p {
    text-align: center;
}

.company .identity {
    margin: 2em auto .5em;
    padding-left: .5em;
    border-left: 4px solid #0075CA;
}

.category_nav.flex .item {
    background: #EBEBEB;
    margin-bottom: 15px;
}

.category_nav .inline-flex {
    -webkit-justify-content: center;
    justify-content: center;
}

.category_nav a {
    width: 100%;
    padding: 1em 0;
    text-align: center;
    position: relative;
}

.company_list {
    display: -ms-grid;
    display: grid;
    gap: 2em;
    -ms-grid-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.company_list .company_img {
    display: block;
    padding-top: 120%;
    background: #ccc;
    background: url("../image/keyV_02.jpg") center right /cover no-repeat;
    margin-bottom: 1em;
}

.company_caption h3 {
    margin-bottom: 0;
}

.company_caption p {
    color: #858585;
    line-height: 1.6;
}

.company_table {
    margin-bottom: 3em;
    width: 100%;
}

.company_table .flex:not(:last-child) {
    border-bottom: 1px solid #ccc;
}

.company_table .flex {
    -webkit-align-items: stretch;
    align-items: stretch;
}

.company_table .flex:nth-child(2n) {
    background: #F8F8F8;
}

.company_table .flex:nth-child(2n-1) {
    background: #FBFBFB;
}

.company_table dt,.company_table td:nth-child(1) {
    width: calc(100% - 75%);
    text-align: right;
    padding: 1em 2em;
    border-right: 1px solid #ccc;
}

.company_table dd,.company_table td:nth-child(2) {
    flex: 1;
    padding: 1em 2em;
}

.company_table .num_list {
    list-style: decimal;
    list-style-position: inside;
}

.company_table .seihin li {
    display: inline-block;
}

.company_table .seihin li:not(:last-child)::after {
    content: "";
}

.category_nav .item .ionicon {
    font-size: 2rem;
    color: #fff;
    margin-left: 1em;
    position: absolute;
    right: 2em;
}

.mission h3,
.vision h3 {
    text-align: center;
    margin-bottom: 1em;
}

.spilit .inner1000 {
    /*padding: 3em 0;*/
    /*border: 1px solid #ccc;*/
    border-radius: 20px;
}

.spilit .item {
    margin-bottom: 15px;
}

.spilit dt {
    width: 30%;
}

.spilit dd {
    width: 70%;
    text-align: left;
}

/***********************
 *
 *     access
 *
 ***********************/
.history .history_wrap {
    margin-bottom: 3em;
}

.history .history_inner {
    padding: 10px 0;
}

.history .history_inner:not(:last-child) {
    border-bottom: 1px solid #ccc;
}

.history dt {
    width: 30%;
}

.history dd {
    width: 70%;
}

/***********************
 *
 *     access
 *
 ***********************/
.access dt {
    margin: 2em 0 .5em;
    padding-left: .5em;
    border-left: 4px solid #0075CA;
}

.access .map_wrap {
    position: relative;
    padding-top: 50%;
}

.access .map_wrap>iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.access .address_info {
    margin-top: 2em;
    line-height: 1.6;
}

/***********************
 *
 *     message
 *
 ***********************/
.message h3 {
    margin-bottom: 1em;
    color: #0075CA;
    text-align: center;
}

.message_box.flex {
    -webkit-align-items: stretch;
    align-items: stretch;
    margin-bottom: 3em;
}

.message_img {
    width: 30%;
}

.message_img .img {
    margin-bottom: 1em;
}

.message_img .caption {
    margin-bottom: 1em;
    text-align: right;
}

.message_img .caption dd {
    margin-bottom: 10px;
}

.message_caption {
    width: 65%;
    line-height: 1.6;
}

.message_caption p:not(:last-of-type) {
    margin-bottom: 1em;
}

@media screen and (max-width:768px) {

    .spilit dt,
    .spilit dd {
        width: 100%;
    }
}

@media screen and (max-width:480px) {
    .company_list {
        grid-template-columns: 1fr 1fr;
        grid-column-gap: 1em;
    }

    .company_table dt,.company_table td:nth-child(1) {
        width: 100%;
        text-align: left;
        padding: 1em 2em 0;
        border-right: none;
    }

    .flex.clm3 .item {
        width: calc(100% / 2 - 2%);
    }

    .category_nav .item .ionicon {
        right: .5em;
    }

    /***********************
 *
 *     message
 *
 ***********************/
    .message_ceo {
        margin-top: 3em;
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        -webkit-justify-content: space-between;
        justify-content: space-between;
        -webkit-align-items: flex-end;
        align-items: flex-end;
        -webkit-align-content: center;
        align-content: center;
    }

    .message_caption {
        width: 100%;
    }

    .message_img {
        width: 100%;
    }

    .message_img .img {
        width: 40%;
        order: 1;
        margin-bottom: 0;
    }

    .message_img .caption {
        width: 55%;
        margin-bottom: 0;
    }

    .history dt,
    .history dd {
        width: 100%;
    }

    .history dd {
        padding-left: 20px;
        position: relative;
    }

    .history dd::before {
        content: "└";
        position: absolute;
        top: 0;
        left: 0;
    }

    .spilit_list.clm2 .item {
        width: 100%;
    }

    .spilit .inner800 {
        width: 100%;
    }

    .name_img {
        width: 130px;
    }
}