@charset "utf-8";
/* CSS Document */

/* =========================
   タブ切替UI（ts-）
========================= */

.ts-tabs {
    border: 1px solid #ccc;
	border-top: none;
    background: #f9f9f9;
    max-width: 900px;
    margin: 0 auto;
}

/* タブ */
.ts-tabs-nav {
    display: flex;
    border-bottom: 1px solid #ccc;
}

/* ボタン */
.ts-tab-btn {
    flex: 1;
    padding: 15px;
    background: #eee;
    border: none;
    border-right: 1px solid #ccc;
    cursor: pointer;
    font-weight: bold;
    transition: 0.2s;
}

.ts-tab-btn:last-child {
    border-right: none;
}

.ts-tab-btn:hover {
    background: #ddd;
}

/* アクティブ */
.ts-tab-btn.is-active {
    background: #e60000;
    color: #fff;
}

/* コンテンツ */
.ts-tabs-content {
    padding: 40px 20px;
    min-height: 250px;
    background: #fff;
}

/* パネル */
.ts-tab-panel {
    display: none;
}

.ts-tab-panel.is-active {
    display: block;
}


/* =========================
   レスポンシブ対応
========================= */
@media (max-width: 768px) {

    /* 横スクロール対応 */
    .ts-tabs-nav {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .ts-tab-btn {
        flex: 0 0 auto;
        white-space: nowrap;
        padding: 10px 15px;
        font-size: 14px;
    }

    .ts-tabs-content {
        padding: 25px 15px;
    }

}