/* =============================================================
   Workout Manager - フロントエンド CSS
   デザイン: 大人の体育 / カラー #02b5d8 / BG #ecf3fa
   ============================================================= */

/* ── CSS変数 ───────────────────────────────────────────────── */
:root {
    --wt-primary:      #02b5d8;
    --wt-primary-dark: #019ab8;
    --wt-bg-light:     #ecf3fa;
    --wt-orange:       #f05a28;
    --wt-white:        #ffffff;
    --wt-text:         #333333;
    --wt-text-mid:     #555555;
}

/* =============================================================
   ナビゲーション
   ============================================================= */
.workout-nav {
    background: var(--wt-primary);
    padding: 0 16px;
    display: flex;
    align-items: flex-end;
    gap: 0;
    justify-content: center;
}

.workout-nav__item {
    display: block;
    padding: 14px 18px 12px;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
    white-space: nowrap;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.2s;
    cursor: pointer;
}

.workout-nav__item--active {
    color: #fff;
    border-bottom: 3px solid #fff;
    padding-bottom: 11px;
}

.workout-nav__item:hover:not(.workout-nav__item--active) {
    color: #fff;
    text-decoration: none;
}

.workout-nav a.workout-nav__item[href="#"] {
    display: none;
}

@media (min-width: 768px) {
    .workout-nav {
        padding: 0 40px;
    }
    .workout-nav__item {
        font-size: 14px;
        padding: 16px 28px 14px;
    }
}

/* =============================================================
   ヒーローセクション（本日のワークアウト・青背景100%）
   ============================================================= */

/* 青背景を幅100%に拡張するラッパー */
.workout-hero-outer {
    background: var(--wt-primary);
    width: 100%;
}

/* 内部コンテンツの幅制限 */
.workout-hero {
    max-width: 480px;
    margin: 0 auto;
    padding: 28px 20px 32px;
}

.workout-hero__title {
    text-align: center;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.3;
    margin-bottom: 6px;
}

.workout-hero__date {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}

/* ── ワークアウトカード ─────────────────────────────────── */
.workout-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

/* 終了済み（dim表示）
.workout-card.workout-past {
    opacity: 0.55;
    filter: grayscale(40%);
} */
.workout-card.workout-past .btn-cta-white {
    display: none;
} 

/* 画像エリア */
.workout-card__image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.workout-card__image img {
    width: 100%;
    display: block;
}

/* 画像なし placeholder */
.workout-card__image-placeholder {
    width: 100%;
    height: 100%;
    background: #c8d8e8;
}

/* グラデーションオーバーレイ（SP のみ） */
.workout-card__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        transparent 30%,
        rgba(2, 181, 216, 0.55) 60%,
        rgba(2, 181, 216, 0.92) 100%
    );
}

/* 画像上のクラス名・星（SP） */
.workout-card__image-text {
    position: absolute;
    bottom: 14px;
    left: 18px;
    right: 18px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.workout-card__class-name {
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

/* クラス名ラベル（ドット＋クラス名） */
.workout-card__class-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    margin: 0;
    line-height: 1.3;
}

.workout-card__class-dot {
    display: inline-block;
    flex-shrink: 0;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    /* 色はインラインスタイル（class_schedule_color）で指定 */
    background: #02b5d8;
}

.workout-card__stars {
    display: flex;
    gap: 2px;
    font-size: 18px;
    line-height: 1;
}

.workout-card__stars .s-on  { color: #fff; }
.workout-card__stars .s-off { color: rgba(255, 255, 255, 0.4); }

/* カード本文 */
.workout-card__body {
    background: var(--wt-primary);
    padding: 18px 20px 24px;
}
.workout-card__body h3 {
    color: #fff;
    font-weight: 600;
    padding: 0 0 20px;
}

/* 効果タグ（[workout_today]） */
.workout-effects {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 14px;
}

.workout-effect-tag {
    display: inline-block;
    background: #fff;
    color: var(--wt-primary);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    padding: 6px 14px;
    border-radius: 999px;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.workout-card__desc {
    color: rgba(255, 255, 255, 1);
    font-size: 13.5px;
    line-height: 1.75;
    margin-bottom: 0;
}

.workout-card__desc + .workout-card__desc {
    margin-top: 12px;
}

/* CTAボタン（白地・シアン文字） */
.btn-cta-white {
    display: block;
    width: 100%;
    margin-top: 22px;
    padding: 17px 20px;
    background: #fff;
    color: var(--wt-primary) !important;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    border-radius: 50px;
    letter-spacing: 0.04em;
    text-decoration: none !important;
    transition: opacity 0.2s;
    border: none;
    cursor: pointer;
}

.btn-cta-white:hover {
    opacity: 0.88;
    color: var(--wt-primary) !important;
    text-decoration: none !important;
}

/* =============================================================
   スケジュールセクション（薄青背景）
   ============================================================= */
.workout-schedule {
    background: var(--wt-bg-light);
    padding: 28px 16px 16px;
}
@media (min-width: 768px) {
    .workout-schedule-inner {
        max-width: 1000px;
        margin: auto;
    }
}

.workout-schedule__item {
    background: #fff;
    border: 2px dashed var(--wt-primary);
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 10px;
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 0 14px;
    align-items: start;
}

/* 日付ブロック */
.schedule-date {
    text-align: center;
    line-height: 1.2;
}

.schedule-date__day {
    font-size: 20px;
    font-weight: 700;
    color: var(--wt-primary);
    display: block;
}

.schedule-date__dow {
    font-size: 11px;
    font-weight: 700;
    color: var(--wt-primary);
    display: block;
    margin-top: 2px;
}

/* スケジュールテキスト */
.schedule-body {
    min-width: 0;
}

.schedule-body__class-label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 600;
    color: var(--wt-text-mid);
    margin: 0 0 3px;
    line-height: 1;
}

.schedule-body__class-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
}

.schedule-body__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--wt-text);
    line-height: 1.4;
    margin-bottom: 4px;
}

/* 効果タグ（[workout_today] スケジュール部分） */
.schedule-effects {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 5px 0 4px;
}

.schedule-effect-tag {
    display: inline-block;
    background: rgba(2, 181, 216, 0.12);
    color: var(--wt-primary);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.schedule-body__desc {
    font-size: 12px;
    color: var(--wt-text-mid);
    line-height: 1.6;
    margin: 0;
}

/* 星（スケジュール・縦並び） */
.schedule-stars {
    /* display: flex; */
    flex-direction: column;
    align-items: center;
    gap: 1px;
    padding-top: 2px;
    flex-shrink: 0;
}

.schedule-stars span {
    font-size: 13px;
    line-height: 1;
}

.schedule-stars .s-on  { color: var(--wt-primary); }
.schedule-stars .s-off { color: #cce8f0; }

/* =============================================================
   下部CTAボタン群
   ============================================================= */
.workout-bottom-cta {
    padding: 8px 16px 40px;
    background: var(--wt-bg-light);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* オレンジ塗りつぶし */
.btn-cta-orange {
    display: block;
    width: 100%;
    padding: 18px 20px;
    background: var(--wt-orange);
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    border-radius: 50px;
    letter-spacing: 0.03em;
    text-decoration: none !important;
    transition: opacity 0.2s;
}

.btn-cta-orange:hover {
    opacity: 0.88;
    color: #fff !important;
    text-decoration: none !important;
}

/* シアン枠ボタン */
.btn-cta-outline {
    display: block;
    width: 100%;
    padding: 17px 20px;
    background: #fff;
    color: var(--wt-primary) !important;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    border-radius: 50px;
    border: 2.5px solid var(--wt-primary);
    letter-spacing: 0.03em;
    text-decoration: none !important;
    transition: background 0.2s, color 0.2s;
}

.btn-cta-outline:hover {
    background: var(--wt-primary);
    color: #fff !important;
    text-decoration: none !important;
}

/* =============================================================
   共通：エラー・空メッセージ
   ============================================================= */
.workout-empty {
    color: rgba(255, 255, 255, 0.8);
    padding: 20px 0;
    margin: 0;
    text-align: center;
}

/* スケジュール・ボトムCTA内の空メッセージは暗色 */
.workout-schedule .workout-empty,
.workout-archive-section .workout-empty {
    color: #888;
}

/* =============================================================
   PC 2カラムレイアウト（768px以上）
   ============================================================= */
@media (min-width: 768px) {

    /* ヒーローコンテンツ幅を拡張 */
    .workout-hero {
        max-width: 1000px;
        padding: 40px 40px 44px;
    }

    .workout-hero__title {
        font-size: 36px;
        margin-bottom: 8px;
    }

    .workout-hero__date {
        font-size: 16px;
        margin-bottom: 32px;
    }

    /* カードを2カラムに */
    .workout-card {
        padding: 20px 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        border-radius: 0;
        min-height: 420px;
    }
    .workout-card__image img {
        border-radius: 16px;
    }

    /* PC：画像グラデーションなし・高さ100% */
    .workout-card__image {
        aspect-ratio: auto;
        height: 100%;
    }

    .workout-card__image::after {
        display: none;
    }

    /* PC：画像上テキスト非表示（本文側に移動） */
    .workout-card__image-text {
        display: none;
    }

    /* PC：クラス名・星を本文側で表示 */
    .workout-card__pc-header {
        display: block !important;
    }

    /* PC：本文レイアウト */
    .workout-card__body {
        padding: 0 36px 36px;
        display: flex;
        flex-direction: column;
        /* justify-content: center; */
    }

    /* スケジュール */
    .workout-schedule {
        padding: 40px 40px 20px;
    }

    .workout-schedule__item {
        grid-template-columns: 72px 1fr auto;
        padding: 18px 22px;
        gap: 0 20px;
    }

    .schedule-date__day { font-size: 24px; }
    .schedule-date__dow { font-size: 12px; }
    .schedule-body__title { font-size: 15px; }
    .schedule-body__desc  { font-size: 13px; }

    /* ボトムCTA横並び */
    .workout-bottom-cta {
        padding: 12px 40px 56px;
        flex-direction: row;
        gap: 16px;
    }

    .btn-cta-orange,
    .btn-cta-outline {
        flex: 1;
    }
}

/* =============================================================
   クラス一覧 [workout_classes]
   ============================================================= */

.workout-classes-section {
    margin: 0 0 48px;
}

/* PR枠（今月のワークアウト） */
.workout-class-pr {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%);
    color: #fff;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 36px;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.workout-pr-badge {
    display: block;
    width: 100%;
    background: var(--wt-orange);
    color: #fff;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 8px;
    letter-spacing: 0.08em;
}

.workout-class-pr-image {
    flex: 0 0 45%;
    max-width: 45%;
}

.workout-class-pr-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.workout-class-pr-body {
    flex: 1;
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.workout-class-pr-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 14px;
    color: #fff;
    line-height: 1.3;
}

.workout-class-pr-desc {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 6px;
}

/* 通常クラスグリッド */
.workout-class-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.workout-class-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.workout-class-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.workout-class-card-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.workout-class-card-body {
    padding: 18px 20px 22px;
}

.workout-class-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 10px;
    color: #222;
}

.workout-class-card-desc {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.7;
    margin: 0 0 4px;
}

/* CTAボタン（クラス一覧用） */
.workout-cta-btn {
    display: inline-block;
    margin-top: 14px;
    padding: 12px 24px;
    background: var(--wt-primary);
    color: #fff !important;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none !important;
    border-radius: 50px;
    transition: background 0.2s;
}

.workout-cta-btn:hover {
    background: var(--wt-primary-dark);
    color: #fff !important;
    text-decoration: none !important;
}

.workout-cta-btn-pr {
    padding: 14px 32px;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .workout-class-pr {
        flex-direction: column;
    }
    .workout-class-pr-image {
        flex: none;
        max-width: 100%;
        height: 220px;
    }
    .workout-class-pr-image img {
        height: 220px;
    }
    .workout-class-pr-body {
        padding: 20px 20px 24px;
    }
    .workout-class-pr-title {
        font-size: 1.25rem;
    }
    .workout-class-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================================
   アーカイブ [workout_archive]
   ============================================================= */

.workout-archive-section {
    margin: 0 0 48px;
}

.workout-section-title {
    font-size: 1.4rem;
    font-weight: 700;
    border-left: 5px solid var(--wt-primary);
    padding: 4px 0 4px 14px;
    margin: 0 0 24px;
    color: #222;
}

/* 月フィルター */
.workout-archive-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.workout-filter-btn {
    display: inline-block;
    padding: 6px 16px;
    border: 2px solid #ddd;
    border-radius: 20px;
    font-size: 0.88rem;
    color: #555;
    text-decoration: none;
    background: #fff;
    transition: all 0.2s;
}

.workout-filter-btn:hover,
.workout-filter-btn.active {
    border-color: var(--wt-primary);
    color: var(--wt-primary);
    background: #e8f8fc;
    text-decoration: none;
}

.workout-archive-day {
    margin-bottom: 24px;
}

.workout-archive-date {
    font-size: 1rem;
    font-weight: 700;
    color: #444;
    border-bottom: 2px solid #eee;
    padding-bottom: 6px;
    margin: 0 0 12px;
}

.workout-archive-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.workout-archive-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 4px;
    background: #fafafa;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.workout-archive-time {
    font-size: 0.88rem;
    color: #666;
    min-width: 90px;
    flex-shrink: 0;
}

.workout-archive-class {
    font-size: 0.82rem;
    color: #888;
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 3px;
    flex-shrink: 0;
}

.workout-archive-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #555;
    flex: 1;
}

/* アーカイブ内の星 */
.workout-stars {
    display: inline-flex;
    gap: 2px;
    font-size: 13px;
    line-height: 1;
}

.workout-stars .star-on  { color: var(--wt-primary); }
.workout-stars .star-off { color: #cce8f0; }

@media (max-width: 768px) {
    .workout-archive-item {
        gap: 6px;
    }
    .workout-archive-time {
        min-width: 70px;
    }
}


/* =============================================================
   [workout_classes] 開催クラス一覧  wc-* スタイル
   デザイン: code_sandbox_light (otona-taiiku 開催クラスページ)
   ============================================================= */

/* ── ページ全体ラッパー ───────────────────────────────────── */
.wc-page-wrapper {
    max-width: 480px;
    margin: 0 auto;
    background-color: var(--wt-primary);
}

/* ── トップナビゲーション ────────────────────────────────── */
.wc-top-nav {
    display: flex;
    width: 100%;
    background-color: var(--wt-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.wc-nav-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 6px;
    font-size: 11.5px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    min-height: 50px;
    cursor: pointer;
}

.wc-nav-item:last-child {
    border-right: none;
}

.wc-nav-item--active {
    background-color: #ffffff;
    color: var(--wt-primary) !important;
    font-weight: 900;
    text-decoration: none !important;
}

.wc-nav-item:not(.wc-nav-item--active):hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    text-decoration: none;
}

/* ── メインコンテンツラッパー ────────────────────────────── */
.wc-main-content {
    width: 100%;
    overflow: hidden;
    background-color: var(--wt-primary);
}
@media (min-width: 769px) {
    .wc-main-content {
        max-width: 1000px;
        margin: auto;
    }
}


/* ── 今月の見出し ────────────────────────────────────────── */
.wc-month-header {
    text-align: center;
    padding: 28px 20px 14px;
}

.wc-month-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.06em;
    line-height: 1.2;
    margin: 0;
}

.wc-month-date {
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
    margin-top: 5px;
    letter-spacing: 0.1em;
    opacity: 0.9;
}

/* ── スペシャルバナー ─────────────────────────────────────── */
.wc-special-banner-section {
    padding: 2px 20px 18px;
    display: flex;
    justify-content: center;
}

.wc-special-banner {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #ffffff;
    color: var(--wt-primary);
    font-weight: 900;
    padding: 10px 24px;
    border-radius: 50px;
    letter-spacing: 0.06em;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
    white-space: nowrap;
}

.wc-star {
    font-size: 14px;
    color: var(--wt-primary);
    flex-shrink: 0;
}

.wc-banner-text {
    font-size: 13px;
    font-weight: 900;
    color: var(--wt-primary);
}

/* ── スペシャルクラスセクション ──────────────────────────── */
.wc-special-class-section {
    margin: 0 5% 26px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.22);
}

.wc-special-class-inner {
    display: block;
}

/* SP: 背景画像エリア（オーバーレイ+テキスト内包） */
.wc-special-class-bg {
    position: relative;
    background-size: cover;
    background-position: center top;
    background-color: #019ab5;
}

.wc-color-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.8;
    background-color: #019ab5;
}
@media (min-width: 769px) {
        .wc-color-overlay {
        position: absolute;
        inset: 0;
        z-index: 1;
        opacity: 0;
        background: none;
    }
}
    

/* テキストエリア共通（z-index: 2 で重ねる） */
.wc-special-class-content {
    position: relative;
    z-index: 2;
    padding: 26px 20px 28px;
}

/* SP用テキスト: SP表示 / PC非表示 */
.wc-sp-content {
    display: block;
}

/* PC用テキスト: SP非表示 / PC表示 */
.wc-pc-content {
    display: none;
}

.wc-special-class-title {
    font-size: 22px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.04em;
    margin-bottom: 16px;
    line-height: 1.3;
    text-align: center;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.wc-special-class-desc {
    font-size: 12.5px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.85;
    letter-spacing: 0.03em;
    margin-bottom: 22px;
    white-space: pre-line;
}

.wc-special-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.wc-btn-outline {
    display: block;
    width: 88%;
    max-width: 290px;
    text-align: center;
    padding: 13px 20px;
    border: 2px solid #ffffff;
    border-radius: 50px;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    background-color: transparent;
    text-decoration: none !important;
    transition: background-color 0.25s ease, color 0.25s ease;
    box-sizing: border-box;
}

.wc-btn-outline:hover,
.wc-btn-outline:focus {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
    text-decoration: none !important;
    outline: none;
}

/* ── フィルタータブ ───────────────────────────────────────── */
.wc-filter-section {
    padding: 10px 0 6px;
}

.wc-filter-scroll-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 6px 14px 10px;
}

.wc-filter-scroll-wrap::-webkit-scrollbar {
    display: none;
}

.wc-filter-tabs {
    display: flex;
    gap: 8px;
    width: max-content;
}

.wc-filter-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: 8px 20px;
    border-radius: 50px;
    border: 2px solid #ffffff;
    font-size: 12.5px;
    font-weight: 700;
    color: #ffffff;
    background-color: transparent;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.wc-filter-tab--active,
.wc-filter-tab:hover,
.wc-filter-tab:focus {
    background-color: #ffffff;
    color: var(--wt-primary);
    text-decoration: none;
    outline: none;
}

/* ── クラスカード一覧 ────────────────────────────────────── */
.wc-class-list {
    display: flex;
    flex-direction: column;
    margin-top: 14px;
    padding: 0 5%;
}

.wc-class-card {
    overflow: hidden;
    margin-bottom: 0;
}

/* カード間の区切り線 */
.wc-class-card + .wc-class-card {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

/* 画像エリア */
.wc-class-card-image {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.wc-class-card-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

.wc-class-card-image-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
}

/* グラデーション（画像→本文エリアへのシームレスな接続） */
.wc-card-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 75%;
    background: linear-gradient(
        to bottom,
        rgba(2, 181, 216, 0)    0%,
        rgba(2, 181, 216, 0.35) 30%,
        rgba(2, 181, 216, 0.72) 58%,
        rgba(2, 181, 216, 0.93) 80%,
        #02b5d8                 100%
    );
    z-index: 1;
}

/* カード本文エリア */
.wc-class-card-body {
    background-color: var(--wt-primary);
    padding: 2px 18px 30px;
}

.wc-class-card-title {
    font-size: 19px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.07em;
    margin-bottom: 12px;
    line-height: 1.25;
}

.wc-class-card-desc {
    font-size: 12.5px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.9;
    letter-spacing: 0.02em;
    margin-bottom: 10px;
    opacity: 0.96;
}

.wc-empty-msg {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 32px 20px;
    font-size: 14px;
}

/* ── 来月の開催クラス（Coming Soon）─────────────────────── */
.wc-next-month-section {
    text-align: center;
    padding: 42px 20px 56px;
    margin-top: 10px;
    border-top: 2px solid rgba(255, 255, 255, 0.22);
    background-color: var(--wt-primary);
}

.wc-next-month-title {
    font-size: 23px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
    line-height: 1.2;
}

.wc-next-month-date {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 26px;
    letter-spacing: 0.08em;
}

.wc-coming-soon-box {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.wc-coming-soon-text {
    font-size: 21px;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.12em;
}

.wc-countdown-text {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.05em;
    opacity: 0.92;
}

.wc-countdown-days {
    font-size: 19px;
    font-weight: 900;
    margin: 0 3px;
}

/* ── 翌月クラス一覧（20日〜月末）────────────────────────── */
.wc-next-month-list {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wc-next-month-item {
    background: rgba(255,255,255,0.12);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.wc-next-month-item-image {
    width: 100%;
    overflow: hidden;
}

.wc-next-month-item-image img {
    width: 100%;
    height: auto;
    display: block;
}

.wc-next-month-item-body {
    padding: 16px 20px 20px;
}

.wc-next-month-item-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 8px;
    letter-spacing: 0.04em;
}

.wc-next-month-item-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.88);
    margin: 0 0 4px;
    line-height: 1.6;
}

.wc-next-month-empty {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    margin: 0;
}

/* ── 小さい端末向け（360px以下）────────────────────────── */
@media (max-width: 360px) {
    .wc-month-title {
        font-size: 21px;
    }
    .wc-special-class-title {
        font-size: 19px;
    }
    .wc-filter-tab {
        font-size: 11.5px;
        padding: 7px 14px;
    }
    .wc-class-card-title {
        font-size: 17px;
    }
}

/* =============================================================
   PC レイアウト（769px 以上）[workout_classes]
   ============================================================= */
@media (min-width: 769px) {

    /* ページラッパーを 1000px に拡張 */
    .wc-page-wrapper {
        max-width: none;
        box-shadow: none;
    }

    /* ナビゲーション */
    .wc-top-nav {
        max-width: 1000px;
        margin: 0 auto;
    }

    .wc-nav-item {
        font-size: 14px;
        min-height: 56px;
        padding: 12px 10px;
    }

    /* 今月の見出し */
    .wc-month-title {
        font-size: 34px;
    }

    .wc-month-date {
        font-size: 18px;
    }

    /* スペシャルバナー */
    .wc-special-banner {
        padding: 12px 36px;
    }

    .wc-banner-text {
        font-size: 16px;
    }

    .wc-star {
        font-size: 16px;
    }

    /* スペシャルクラスセクション: PC は左=画像 右=テキスト */
    .wc-special-class-section {
        margin: 0 0 36px;
        border-radius: 0;
        box-shadow: none;
    }

    .wc-special-class-inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        min-height: 420px;
    }

    /* 左カラム: 背景画像 + オーバーレイ（SPテキスト非表示） */
    .wc-special-class-bg {
        position: relative;
        min-height: 420px;
        display: block;
        border-radius: 16px;
        overflow: hidden;
        margin: 20px 0 20px 20px;
    }

    /* SP用テキスト: PC では非表示 */
    .wc-sp-content {
        display: none;
    }

    /* PC用テキスト: PC では表示 */
    .wc-pc-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 40px 44px;
        background-color: var(--wt-primary);
        position: static;
        z-index: auto;
    }

    .wc-special-class-title {
        font-size: 28px;
        text-align: left;
        margin-bottom: 20px;
    }

    .wc-special-class-desc {
        font-size: 14px;
        line-height: 1.9;
        margin-bottom: 28px;
    }

    .wc-special-buttons {
        flex-direction: row;
        gap: 16px;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .wc-btn-outline {
        width: auto;
        max-width: none;
        white-space: nowrap;
        padding: 13px 28px;
        font-size: 14px;
    }

    /* フィルタータブ */
    .wc-filter-section {
        padding: 14px 0 8px;
    }

    .wc-filter-scroll-wrap {
        padding: 8px 0 12px;
    }

    .wc-filter-tabs {
        gap: 10px;
    }

    .wc-filter-tab {
        font-size: 14px;
        padding: 10px 26px;
    }

    /* クラスカード: PC は2カラム交互配置 */
    .wc-class-list {
        margin-top: 20px;
        gap: 0;
    }
    .wc-class-list article {
        max-width: none;
    }

    .wc-class-card {
        display: grid;
        min-height: 360px;
        border-top: 1px solid rgba(255, 255, 255, 0.18);
    }

    .wc-class-card:first-child {
        border-top: none;
    }

    /* 画像エリア: グリッド列に合わせて自動 / 角丸 */
    .wc-class-card-image {
        height: auto;
        min-height: 300px;
        border-radius: 16px;
        overflow: hidden;
        margin: 20px 0 20px 20px;
    }

    /* card-right は画像が右側 */
    .wc-card-right .wc-class-card-image {
        margin: 20px 20px 20px 0;
    }

    /* PC ではグラデーション非表示 */
    .wc-card-gradient {
        display: none;
    }

    /* テキストエリア: 縦中央寄せ */
    .wc-class-card-body {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 40px 44px;
    }

    .wc-class-card-title {
        font-size: 24px;
        margin-bottom: 18px;
    }

    .wc-class-card-desc {
        font-size: 14px;
        line-height: 1.9;
        margin-bottom: 14px;
    }

    /* card-left: 左=画像 / 右=テキスト */
    .wc-card-left {
        grid-template-columns: 1fr 1fr;
    }

    .wc-card-left .wc-class-card-image {
        order: 1;
    }

    .wc-card-left .wc-class-card-body {
        order: 2;
    }

    /* card-right: 右=画像 / 左=テキスト */
    .wc-card-right {
        grid-template-columns: 1fr 1fr;
    }

    .wc-card-right .wc-class-card-image {
        order: 2;
    }

    .wc-card-right .wc-class-card-body {
        order: 1;
    }

    /* Coming Soon セクション */
    .wc-next-month-section {
        padding: 60px 20px 70px;
    }

    .wc-next-month-title {
        font-size: 30px;
    }

    .wc-next-month-date {
        font-size: 17px;
        margin-bottom: 32px;
    }

    .wc-coming-soon-text {
        font-size: 26px;
    }

    .wc-countdown-text {
        font-size: 16px;
    }

    .wc-countdown-days {
        font-size: 22px;
    }
}
/* ── 開催日ラベル（[workout_classes]） ── */
.wc-class-schedule-dates {
    font-size: 16px;
    color: #fff;
    font-weight: 600;
    margin: 6px 0 20px;
    line-height: 1.6;
    border: 2px solid;
    border-radius: 6px;
    padding: 10px;
}
/* ── 複数カード対応（[workout_today]） ── */
.workout-cards-wrap--multi .workout-card {
    border-top: 1px solid rgba(255,255,255,0.15);
}
.workout-cards-wrap--multi .workout-card:first-child {
    border-top: none;
}

/* 時間ラベル（画像左上） */
.workout-card__image {
    position: relative;
}
.workout-card__time-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.04em;
    z-index: 2;
}

/* 続きを読む */
.workout-card__desc-wrap {
    margin-bottom: 12px;
}
.workout-card__desc-toggle {
    background: none;
    border: none;
    color: rgba(255,255,255,0.75);
    font-size: 13px;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    margin-top: 4px;
    display: block;
}
.workout-card__desc-toggle:hover {
    color: #fff;
}

/* ── スケジュール複数スロット対応 ── */
.schedule-body__time {
    font-size: 12px;
    color: var(--wt-primary);
    font-weight: 700;
    margin: 0 0 4px;
}
.schedule-body__divider {
    border: none;
    border-top: 1px dashed rgba(0,0,0,0.18);
    margin: 10px 0;
}

/* ── 休館日スケジュール行 ── */
.workout-schedule__item--closed {
    filter: grayscale(1);
    opacity: 0.45;
}
.schedule-body__closed {
    font-size: 14px;
    font-weight: 700;
    color: #888;
    margin: 0;
}


/* =============================================================
   [workout_archive] 新デザイン  wa-card（workout-hero 同系統）
   ============================================================= */

.workout-archive-section {
    margin: 0 0 48px;
}

/* 個別カード */
.wa-card {
    background: var(--wt-primary);
    color: #fff;
    border-radius: 0;
    margin-bottom: 32px;
    overflow: hidden;
}

/* 日付 */
.wa-card__date {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 10px 16px 6px;
    color: rgba(255,255,255,0.75);
    margin: 0;
}

/* 画像エリア（workout-card__image と同系統） */
.wa-card__image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #015f72;
}

.wa-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 本文エリア */
.wa-card__body {
    padding: 16px 16px 20px;
}

.wa-card__class-name {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.7);
    margin: 0 0 6px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.wa-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
    line-height: 1.45;
}

/* 効果タグ（[workout_archive]） */
.wa-effects {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0 0 10px;
}

.wa-effect-tag {
    display: inline-block;
    background: #fff;
    color: var(--wt-primary);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    padding: 5px 12px;
    border-radius: 999px;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.wa-card__desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
    margin: 0 0 6px;
}

/* 星（アーカイブカード内） */
.wa-card__body .workout-stars {
    display: inline-flex;
    gap: 3px;
    font-size: 14px;
    margin-bottom: 10px;
}
.wa-card__body .workout-stars .star-on { color: #fff; }
.wa-card__body .workout-stars .star-off { color: rgba(255,255,255,0.3); }

/* Load More ボタン */
.workout-archive-loadmore-wrap {
    text-align: center;
    margin: 16px 0 32px;
}

.workout-archive-loadmore {
    display: inline-block;
    padding: 12px 36px;
    background: transparent;
    border: 2px solid var(--wt-primary);
    border-radius: 24px;
    color: var(--wt-primary);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.workout-archive-loadmore:hover,
.workout-archive-loadmore:focus {
    background: var(--wt-primary);
    color: #fff;
}

.workout-archive-loadmore:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* プレースホルダー（画像なし）はアーカイブでも共有 */
.wa-card__image .workout-card__image-placeholder {
    width: 100%;
    height: 100%;
    background: #015f72;
}

/* 時間ラベル（画像内左上） */
.wa-card__image .workout-card__time-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 3px;
    letter-spacing: 0.04em;
}

/* PC: 最大幅制限 */
@media (min-width: 769px) {
    .workout-archive-section {
        max-width: 640px;
        margin-left: auto;
        margin-right: auto;
    }
}


/* =============================================================
   [workout_fv_slide] FVスライド2枚目 — 新レイアウト
   全件表示・左:画像(右→左グラデ) / 右:テキスト
   ============================================================= */

/* ─ ラッパー ─ */
.fv-workout-wrap {
    width: 100%;
    padding: 0;
    box-sizing: border-box;
    color: #fff;
}

/* ─ タイトル ─ */
.fv-wo__title {
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    margin: 0 0 6px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-align: center;
}

/* ─ 日付 ─ */
.fv-wo__date {
    font-size: 15px;
    color: #fff;
    font-weight: 700;
    margin: 0 0 18px;
    text-align: center;
}

/* ─ 空メッセージ ─ */
.fv-wo__empty {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

/* ─ リスト ─ */
.fv-wo__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ─ 各アイテム（左:画像 / 右:テキスト） ─ */
.fv-wo__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

/* ─ 画像ラッパー ─ */
.fv-wo__img-wrap {
    position: relative;
    flex: 0 0 100px;
    width: 100px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

.fv-wo__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fv-wo__img--placeholder {
    background: rgba(255,255,255,0.15);
    width: 100%;
    height: 100%;
}

/* 右→左グラデーション（#00B6D8） */
.fv-wo__img-grad {
    position: absolute;
    inset: 0;
    background: linear-gradient(to left, #00B6D8 0%, rgba(0,182,216,0) 60%);
    pointer-events: none;
}

/* パターンラベル（画像左上） */
.fv-wo__pattern {
    position: absolute;
    top: 6px;
    left: 6px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    line-height: 1.6;
    white-space: nowrap;
    z-index: 1;
}

/* ─ テキストエリア ─ */
.fv-wo__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* ● クラス名 ラベル行 */
.fv-wo__class-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: rgba(255,255,255,0.85);
    margin: 0;
    line-height: 1.4;
}

.fv-wo__class-dot {
    display: inline-block;
    flex-shrink: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    /* 色はインラインスタイル（class_schedule_color）で指定 */
    background: #02b5d8;
}

/* クラス名（大） */
.fv-wo__class-name {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ワークアウト名 */
.fv-wo__workout-name {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 2px 0 0;
    line-height: 1.3;
}

/* 効果タグ（[workout_fv_slide]） */
.fv-effects {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 5px 0 0;
}

.fv-effect-tag {
    display: inline-block;
    background: #fff;
    color: var(--wt-primary);
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

/* 説明文 */
.fv-wo__desc {
    font-size: 11px;
    color: rgba(255,255,255,0.85);
    margin: 3px 0 0;
    line-height: 1.6;
}

/* ─ PC（768px 以上） ─ */
@media (min-width: 768px) {
    .fv-workout-wrap {
        padding: 36px 36px 40px;
        max-width: 560px;
    }
    .fv-wo__title {
        font-size: 36px;
        margin-bottom: 8px;
    }
    .fv-wo__date {
        font-size: 17px;
        margin-bottom: 24px;
    }
    .fv-wo__list {
        gap: 20px;
    }
    .fv-wo__item {
        gap: 16px;
    }
    .fv-wo__img-wrap {
        flex: 0 0 120px;
        width: 120px;
        height: 96px;
        border-radius: 10px;
    }
    .fv-wo__pattern {
        font-size: 11px;
        padding: 3px 10px;
    }
    .fv-wo__class-label {
        font-size: 12px;
    }
    .fv-wo__class-name {
        font-size: 14px;
    }
    .fv-wo__workout-name {
        font-size: 18px;
    }
    .fv-wo__desc {
        font-size: 12px;
    }
}
