/* body
----------------------------------------------- */
body {
    box-sizing: border-box;
}

/* ボタン
----------------------------------------------- */
.tab_btns {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
    margin-bottom: 50px;
    gap: 20px;
}

.tab__btn {
    width: 224px;
    padding: 15px;
    border: 1px solid #15489f;
}

.tab__btn:hover {
    color: white;
    background-color: #15489f;
}

.tab__btn.js-tab-button.is-active {
    color: white;
    background-color: #15489f;
}

.tab__btn:active {
    color: white;
    background-color: #15489f;
}

.tab__btn {
    display: block;
    width: 100%;
    height: 100%;
    padding: 15px;
    transition: .3s;
}

/* 稼働中事業のCSS
----------------------------------------------- */
.event_caption {
    width: 100%;
    text-align: left;
    color: #15489f;
    font-weight: bold;
    font-size: 1.3em;
}


/* ボタン下のタブ
----------------------------------------------- */
.tab_item {
    display: none;
}

.tab_item.is-active {
    display: block;
}

/* ロボットカテゴリー
----------------------------------------------- */
.robots_title {
    margin-bottom: 50px;
}

.robots_lists {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    gap: 30px;
    align-items: stretch;
}

/* 2つしかない所を左に詰めるため
----------------------------------------------- */
.robots_lists.last_line {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 30px;
    gap: 30px;
}

.robots_lists.only_line {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 30px;
}


/* ロボットの内容
----------------------------------------------- */
.robots_lists a {
    flex-direction: column;
    box-sizing: border-box;
    width: 380px;
    border: 1px solid #c9c9c9;
    border-radius: 10px;
    background-color: #e8effc;
    box-shadow: 2px 2px #c9c9c9;
}

a.robot {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
}

a.robot:hover {
    opacity: .7;
}

.robot:active {
    top: 2px;
    box-shadow: none;
}

.robot_info {
    margin-top: 10px;
    text-align: left;
}

.robot p {
    text-align: start;
}

.robot_desc {
    font-weight: bold !important;
    margin-top: 10px !important;
}

.robot_img {
    width: 100%;
    border-radius: 10px;
    -o-object-fit: cover;
    object-fit: cover;
}

.robot_cat {
    font-size: .7rem;
    line-height: 1;
    display: inline-block;
    width: 30%;
    margin-bottom: 10px;
    padding: 5px 10px;
    text-align: center;
    vertical-align: middle;
    letter-spacing: .04rem;
    color: #333;
    border: 1px solid #c9c9c9;
    border-radius: 10px;
}

.robot_company {
    font-size: .8rem;
    line-height: 1;
    display: block;
    margin-bottom: 10px;
    text-align: start;
    letter-spacing: .04rem;
    color: #15489f;
}

/* レスポンシブ
----------------------------------------------- */

@media screen and (max-width: 746px) {
    .tab_btns {
        flex-direction: column;
        width: 100%;
        margin: 0 auto;
        margin-bottom: 50px;
    }

    .mt {
        margin-top: 25px !important;
    }

    a.robot {
        padding: 10px 10px;
    }
    .event_caption {
        font-size: 12px;
        text-align: left;
        padding-right: 0;
    }
}