@charset "utf-8";

/* 通常のテーブル */
.table tbody tr th,
.table tbody tr td {
    padding: 8px 15px;
    border: 1px solid #cccccc;
}

/* モバイル時のテーブル */
@media screen and (max-width: 767px) {
    .table.mobile-table {
        display: block;
    }

    .table.mobile-table tbody {
        display: block;
    }

    .table.mobile-table tbody tr {
        display: block;
    }

    .table.mobile-table tbody tr th,
    .table.mobile-table tbody tr td {
        display: block;
        width: auto!important;
    }
}

/* 担当名と電話のみのテーブル */

.table.tel-table {
    width: 80%;
}

.table.tel-table tbody tr td {
    padding-top: 15px;
    padding-bottom: 15px;
    vertical-align: middle;
}

.table.tel-table tbody tr td:first-child {
    width: 40%;
    font-weight: bold;
    background-color: #f7f7ee;
}

.table.tel-table tbody tr td:last-child {
    text-align: center;
}

@media screen and (max-width: 767px) {
    .table.tel-table tbody tr td:first-child {
        text-align: center;
        width: auto;
        border-bottom: none
    }
}

@media screen and (max-width: 480px) {
    .table.tel-table {
        width: 100%;
    }
}

/* コース案内 */
.table.dock-course tbody tr th,
.table.dock-course tbody tr td {
    padding-right: 10px;
    padding-left: 10px;
}

.table.dock-course tbody tr th {
    background-color: #f7f7ee;
    text-align: center;
    vertical-align: middle;
}

.table.dock-course tbody tr th:nth-last-child(1),
.table.dock-course tbody tr th:nth-last-child(2),
.table.dock-course tbody tr th:nth-last-child(3) {
    white-space: nowrap;
}

.table.dock-course tbody tr td:nth-last-child(1),
.table.dock-course tbody tr td:nth-last-child(2),
.table.dock-course tbody tr td:nth-last-child(3) {
    text-align: center;
}

.table.dock-course tbody tr td.first-cell {
    white-space: nowrap;
}

.table.dock-course tbody tr td.second-cell {
    white-space: nowrap;
}

@media screen and (max-width: 630px) {
    .dock-course-table-area {
        width: 100%;
        margin-bottom: 15px;
        overflow-y: hidden;
        -ms-overflow-style: -ms-autohiding-scrollbar;
        min-height: .01%;
        overflow-x: auto;
    }

    .dock-course-table-area .table.dock-course {
        margin-bottom: 0;
    }
}

/* オプション検査 */
.table.dock-option tbody tr th {
    background-color: #f7f7ee;
    text-align: center;
    vertical-align: middle;
}

.table.dock-option tbody tr th:nth-child(2) {
    white-space: nowrap;
}

.table.dock-option tbody tr td:nth-child(2) {
    text-align: center;
}

@media screen and (max-width: 767px) {
    .table.dock-option tbody tr th {
        border-bottom: none;
    }

    .table.dock-option tbody tr td {
        border-bottom: none;
    }

    .table.dock-option tbody tr td:first-child {
        font-weight: bold;
    }

    .table.dock-option tbody tr:last-child td:last-child {
        border-bottom: 1px solid #cccccc;
    }
}

/* 定期健康診断 */
.table.office-regular tbody tr th {
    background-color: #f7f7ee;
    text-align: center;
    vertical-align: middle;
}

.table.office-regular tbody tr th:nth-child(2) {
    white-space: nowrap;
}

.table.office-regular tbody tr td:nth-child(2) {
    text-align: center;
}

@media screen and (max-width: 767px) {
    .table.office-regular tbody tr th {
        border-bottom: none;
    }

    .table.office-regular tbody tr td {
        border-bottom: none;
    }

    .table.office-regular tbody tr td:first-child {
        font-weight: bold;
    }

    .table.office-regular tbody tr:last-child td:last-child {
        border-bottom: 1px solid #cccccc;
    }
}

/* 生活習慣病予防健診 */
.table.office-life tbody tr th {
    background-color: #f7f7ee;
    text-align: center;
    vertical-align: middle;
}

@media screen and (max-width: 767px) {
    .table.office-life tbody tr th {
        border-bottom: none;
    }

    .table.office-life tbody tr td {
        border-bottom: none;
    }

    .table.office-life tbody tr td:nth-last-child(4) {
        font-weight: bold;
    }

    .table.office-life tbody tr:last-child td:last-child {
        border-bottom: 1px solid #cccccc;
    }
}

/* がん検診 */
.table.cancer tbody tr th,
.table.cancer tbody tr td {
    padding-right: 10px;
    padding-left: 10px;
}

.table.cancer tbody tr th {
    background-color: #f7f7ee;
    text-align: center;
    vertical-align: middle;
}

.table.cancer tbody tr td:nth-last-child(1),
.table.cancer tbody tr td:nth-last-child(2),
.table.cancer tbody tr td:nth-last-child(4) {
    text-align: center;
}

@media screen and (max-width: 630px) {
    .cancer-table-area {
        width: 100%;
        margin-bottom: 15px;
        overflow-y: hidden;
        -ms-overflow-style: -ms-autohiding-scrollbar;
        min-height: .01%;
        overflow-x: auto;
    }

    .cancer-table-area .table.cancer {
        margin-bottom: 0;
    }

    .cancer-table-area .table.cancer tbody tr td {
        white-space: nowrap;
    }
}

/* 特定保健指導の効果 */
.table.guidance-after th {
    text-align: center;
    background-color: #f7f7ee;
    font-weight: normal;
}

.table.guidance-after td {
    vertical-align: middle;
}

@media screen and (max-width: 767px) {
    .table.guidance-after th,
    .table.guidance-after td {
        width: auto;
        padding: 8px;
    }
}

/* 上越地域総合健康管理センターについて */
.table.center tbody tr td:first-child {
    background-color: #f7f7ee;
    width: 30%;
}

@media screen and (max-width: 767px) {
    .table.center tbody tr td {
        border-bottom: none;
    }

    .table.center tbody tr:last-child td:last-child {
        border-bottom: 1px solid #cccccc;
    }
}

/* 沿革 */
.table.center-history tbody tr td:first-child {
    background-color: #f7f7ee;
    width: 25%;
}

@media screen and (max-width: 767px) {
    .table.center-history tbody tr td {
        border-bottom: none;
    }

    .table.center-history tbody tr:last-child td:last-child {
        border-bottom: 1px solid #cccccc;
    }
}

/* お問い合わせ */
.table.inquiry tbody tr td:first-child {
    width: 30%;
    background-color: #f7f7ee;
}

@media screen and (max-width: 767px) {
    .table.inquiry tbody tr th,
    .table.inquiry tbody tr td {
        border-bottom: none;
    }

    .table.inquiry tbody tr:last-child td:last-child {
        border-bottom: 1px solid #cccccc;
    }
}

/* 上越地域健康づくり連絡協議会入会お申し込み */
.table.entry tbody tr td:first-child {
    width: 30%;
    background-color: #f7f7ee;
}

@media screen and (max-width: 767px) {
    .table.entry tbody tr th,
    .table.entry tbody tr td {
        border-bottom: none;
    }

    .table.entry tbody tr:last-child td:last-child {
        border-bottom: 1px solid #cccccc;
    }
}

/* 事業所健診お申し込みフォーム 確認画面 */
.table.entry-office tbody tr th {
    background-color: #76bb54;
    color: #ffffff;
    border-color: #76bb54;
}

.table.entry-office tbody tr td:first-child {
    width: 30%;
    background-color: #f7f7ee;
}

.table.entry-office tbody tr td.separate-cell {
    background-color: #cccccc;
    padding: 2px 0;
}

@media screen and (max-width: 767px) {
    .table.entry-office tbody tr th,
    .table.entry-office tbody tr td {
        border-bottom: none;
    }

    .table.entry-office tbody tr:last-child td:last-child {
        border-bottom: 1px solid #cccccc;
    }
}

/* 人間ドック健診ご予約フォーム 健診日選択 カレンダー */
.table.calendar-table {
    table-layout: fixed;
}

.table.calendar-table tbody tr td:first-child {
    width: auto!important;
}

@media screen and (max-width: 767px) {
    .table.calendar-table tbody tr th {
        border-bottom: 1px solid #cccccc;
    }

    .table.calendar-table tbody tr td:first-child {
        font-weight: normal;
        width: auto!important;
        border-bottom: 1px solid #cccccc;
    }

    .table.calendar-table tbody tr:not(:last-child) td {
        border-bottom: 1px solid #cccccc;
    }
}

@media screen and (max-width: 480px) {
    .panel-green .panel-body .tab-pane .calendar-table {
        table-layout: auto;
    }

    .panel-green .panel-body .tab-pane .calendar-table tbody tr th,
    .panel-green .panel-body .tab-pane .calendar-table tbody tr td {
        white-space: nowrap;
    }
}