/* ==============================================
   My Menu Table - Frontend Styles
   Designed for beauty salon / nail salon LP
   ============================================== */

.mmtp-menu-table {
    width: 100%;
}

/* ==============================================
   タブボタン（Blossom Spa Pro スタイル）
   ============================================== */

/* ピル型コンテナ */
.mmtp-tab-btn-wrap {
    text-align: center;
    background: #fff;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    display: table;
    margin: 0 auto 30px;
    position: relative;
}

.mmtp-tab-btn {
    background: transparent;
    border: none;
    border-radius: 50px;
    color: #262525;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.8888em;
    font-weight: 700;
    line-height: 1.5;
    padding: 13px 25px;
    transition: background 0.2s, color 0.2s;
}

.mmtp-tab-btn:hover,
.mmtp-tab-btn.is-active {
    background: var(--primary-color, #9cbe9c);
    color: #fff;
}

/* モバイル：横並び維持・収まらない場合は横スクロール */
@media (max-width: 600px) {
    .mmtp-tab-btn-wrap {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        scrollbar-width: none; /* Firefox */
    }

    .mmtp-tab-btn-wrap::-webkit-scrollbar {
        display: none; /* Chrome / Safari */
    }

    .mmtp-tab-btn {
        flex-shrink: 0;
        white-space: nowrap;
    }
}

/* ==============================================
   タブパネル
   ============================================== */
.mmtp-tab-panel {
    display: none;
}

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

/* ==============================================
   カテゴリタイトル（タブなし・1カテゴリ時）
   ============================================== */
.mmtp-cat-title {
    font-size: 0.8em;
    font-weight: 600;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 14px;
}

/* ==============================================
   メニューリスト
   ============================================== */
.mmtp-items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mmtp-item {
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.mmtp-item:last-child {
    border-bottom: none;
}

/* --- サービス名・点線・料金の横並び --- */
.mmtp-item-row {
    display: flex;
    align-items: baseline;
}

.mmtp-item-name {
    font-size: 0.9444em;
    font-weight: 600;
    color: #333;
    flex-shrink: 0;
    line-height: 1.5;
}

.mmtp-item-dots {
    flex: 1;
    border-bottom: 1px dotted #ccc;
    margin: 0 8px 3px;
    min-width: 16px;
}

.mmtp-item-price {
    font-size: 0.9444em;
    font-weight: 700;
    color: var(--primary-color, #9cbe9c);
    flex-shrink: 0;
    line-height: 1.5;
}

/* --- 説明文 --- */
.mmtp-item-desc {
    margin: 5px 0 0;
    font-size: 0.8em;
    color: #999;
    line-height: 1.6;
}

/* ==============================================
   フッターなどの暗背景コンテキスト
   ============================================== */
.site-footer .mmtp-tab-btn-wrap {
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
}

.site-footer .mmtp-tab-btn {
    color: rgba(255, 255, 255, 0.6);
}

.site-footer .mmtp-tab-btn:hover,
.site-footer .mmtp-tab-btn.is-active {
    background: var(--primary-color, #9cbe9c);
    color: #fff;
}

.site-footer .mmtp-item {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.site-footer .mmtp-item-name {
    color: rgba(255, 255, 255, 0.9);
}

.site-footer .mmtp-item-dots {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.site-footer .mmtp-item-price {
    color: var(--primary-color, #9cbe9c);
}

.site-footer .mmtp-item-desc {
    color: rgba(255, 255, 255, 0.5);
}
