/* ----------------------------- */
/* キャストカードの一覧レイアウト */
/* ----------------------------- */
/* スケジュールページのカード一覧：グリッドレイアウト */
.daily-sch-grid {
    display: grid !important;
    /* デフォルト（スマホ）は2列 */
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important; /* カード同士の隙間（適宜調整してください） */
}

/* PC・タブレット：画面が広いときは列を増やす */
@media screen and (min-width: 783px) {
    .daily-sch-grid {
        /* PCでは4列（または5列など、お好みで） */
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 20px !important;
    }
}

/* カードの中の画像がはみ出さないように調整 */
.cast-card-link-wrapper img {
    width: 100% !important;
    height: auto !important;
    display: block;
}

.no-cast-message {
    width: 100%;
    display: flex;
    justify-content: center; /* 左右中央 */
    align-items: center;     /* 上下中央（必要であれば） */
    padding: 100px 0;        /* 前後の余白を広めにとる */
}

.no-cast-message p {
    font-size: 16px;
    color: #888;
    margin: 0;
    text-align: center;
    padding-bottom: 80px;
}

/* ----------------------------- */
/* 1週間スケジュールデザイン（整理版） */
/* ----------------------------- */

/* --- ベースの表形式（PC・スマホ共通） --- */
.c-schedule-table {
    display: flex;
    flex-wrap: wrap; 
    border-top: 1px solid var(--wp--preset--color--primary);
    border-left: 1px solid var(--wp--preset--color--primary);
    margin: 20px 0;
}

.c-schedule-table__row {
    border-right: 1px solid var(--wp--preset--color--primary);
    border-bottom: 1px solid var(--wp--preset--color--primary);
    background: #fff;
    display: flex;
    flex-direction: column;
}

/* 日付エリアの共通設定 */
.c-schedule-table__date-box {
    position: relative;
    z-index: 1;
    padding: 6px;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

/* 日付エリアの背景（透過） */
.c-schedule-table__date-box::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: var(--wp--preset--color--primary);
    opacity: 0.1; 
    z-index: -1;
}

/* 時間・予約状況エリアの共通設定（縦積み） */
.c-schedule-table__time {
    flex: 1;
    display: flex;
    flex-direction: column; /* 縦に積む */
    align-items: center;    /* 中央揃え */
    justify-content: center;
    padding: 15px 10px;
    font-size: 13px;
    font-weight: bold;
    gap: 6px;               /* 時間とラベルの隙間 */
}

.c-schedule-table__time > div:first-child {
    line-height: 1.2;
}

/* 予約状況ラベル */
.res-status-label {
    margin: 0 !important;
    display: inline-block;
}

/* --- PC表示（横に7つ並べる） --- */
@media screen and (min-width: 783px) {
    .c-schedule-table__row {
        flex: 1; 
        min-width: 0;
    }
    .c-schedule-table__date-box {
        border-bottom: 1px solid var(--wp--preset--color--primary);
    }
}

/* --- スマホ表示（縦に積み上げる） --- */
/* --- スマホ表示（縦に積み上げる） --- */
@media screen and (max-width: 782px) {
    .c-schedule-table {
        flex-direction: column;
    }

    .c-schedule-table__row {
        flex-direction: row; /* 日付と時間を横に並べる */
        width: 100%;
    }

    .c-schedule-table__date-box {
        width: 100px; /* 左側の日付エリアの幅 */
        border-right: 1px solid var(--wp--preset--color--primary);
        border-bottom: none;
    }

    .c-schedule-table__time {
        align-items: center;    /* ★左寄せから中央揃えに変更 */
        padding-left: 10px;      /* ★左パディングを10px（左右均等）に修正 */
        padding-right: 10px;
        text-align: center;      /* テキスト自体も中央に */
    }
}



/* --- 今日の強調表示 --- */
.is-today {
    outline: 2px solid var(--wp--preset--color--primary);
    outline-offset: -1px;
    z-index: 1;
}

.is-today .c-schedule-table__date-box {
    background-color: var(--wp--preset--color--primary, #ff4444) !important;
    color: #fff; /* 強調時は文字を白抜きに */
}

/* 今日の日付ボックスの::before（半透明レイヤー）は不要なので消す */
.is-today .c-schedule-table__date-box::before {
    display: none;
}


/* ----------------------------- */
/* スケジュールページの日付カレンダー */
/* ----------------------------- */
/* --- スケジュールページ専用：枠のズレと線の重複を修正 --- */

/* 1. 全体の高さを可変にし、下線の太さを均一にする */
.daily-sch-selector.c-schedule-table {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    height: auto !important;
    border-bottom: 1px solid var(--wp--preset--color--primary) !important; /* 全体の下線を1pxに固定 */
    border-right: none !important;
}

/* 2. 各ボックスの「下線」と「アウトライン」を消す */
.daily-sch-selector .c-schedule-table__row {
    flex: 1 !important;
    min-width: 0 !important;
    height: auto !important;
    border-bottom: none !important; /* ← これで重なり（太い線）を解消 */
    outline: none !important;      /* 選択時の太い枠線も防止 */
    display: flex !important;
    flex-direction: column !important;
}

/* 3. 中身のボックスの枠線をリセット */
.daily-sch-selector .c-schedule-table__date-box {
    width: 100% !important;
    height: auto !important;
    min-height: 50px;
    padding: 12px 2px !important;
    border: none !important;        /* 内部の余計な線を消す */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

/* 4. スマホ・タブレット表示（改行） */
@media screen and (max-width: 782px) {
    .daily-sch-selector .c-schedule-table__date-box {
        flex-direction: column !important;
        line-height: 1.2 !important;
    }
}

/* 5. 選択中（is-today）の時のアウトライン重複も消す */
.daily-sch-selector .c-schedule-table__row.is-today {
    outline: none !important; 
    box-shadow: none !important;
}



/* ----------------------------- */
/* セラピスト一覧の検索フィルターのデザイン */
/* ----------------------------- */
.cast-filter-container {
    position: relative; /* 背面の膜の基準にする */
    z-index: 1;
    padding: 6px;
    margin-bottom: 30px;
    background-color: transparent; /* 親自体は透明にする */
    overflow: hidden;
}

.cast-filter-container::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* ここで変数の色と透明度を指定 */
    background-color: var(--wp--preset--color--primary);
    opacity: 0.15; /* 背景膜の透明度だけを調整 */
    z-index: -1; /* 文字の後ろに回す */
}

/* クリックするバー */
.filter-accordion-trigger {
    background-color: var(--wp--preset--color--primary);
    color: #fff;
    padding: 12px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 15px;
    transition: background 0.3s;
}

.filter-accordion-trigger:hover {
    filter: brightness(1.1);
}

/* 開閉するアイコン */
.accordion-icon {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.filter-accordion-trigger.is-active .accordion-icon {
    transform: rotate(180deg);
}

/* アコーディオンの中身（初期状態：非表示） */
.filter-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    padding: 0 20px; /* 横余白だけ持たせる */
}

/* 開いたときのスタイル */
.filter-accordion-content.is-open {
    max-height: none; /* 十分な高さを指定 */
    padding-bottom: 20px;
}

/* カテゴリと特徴の行にある要素を横いっぱいに広げる */
.cast-filter-container .filter-row:first-of-type {
    display: flex !important;
    width: 50% !important;
    gap: 10px !important;
}

.cast-filter-container .filter-row:first-of-type select {
    flex: 1 !important;    /* これで2つの枠が均等な幅で横に広がります */
    min-width: 0 !important; /* はみ出し防止 */
    box-sizing: border-box !important;
}

.filter-check-group {
    margin-bottom: 15px;
    padding: 10px;
    background: #fdfdfd;
    border-radius: 4px;
}
.filter-label {
    font-weight: bold;
    font-size: 13px;
    margin-bottom: 8px;
    color: #444;
}
.f-check {
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 5px;
    font-size: 14px;
    cursor: pointer;
}
.f-check input {
    margin-right: 4px;
}

/* スマホで2段に分けたい（縦に並べたい）場合はこちら */
@media screen and (max-width: 480px) {
    .cast-filter-container .filter-row:first-of-type {
        flex-direction: column !important;
        width: 100% !important;
    }
    .cast-filter-container .filter-row:first-of-type select {
        width: 100% !important;
    }
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
    align-items: center;
}

.filter-row select, 
.filter-row input[type="number"] {
    padding: 8px;
    border-radius: 4px;
}

.numerical-filters span {
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
}

.numerical-filters input {
    width: 65px;
}

.filter-submit {
    margin-top: 30px;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    padding-top: 20px; /* 線とボタンの間の余白 */
    border-top: 0.5px solid var(--wp--preset--color--primary);
}

.filter-btn {
    background: var(--wp--preset--color--primary, #333);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.reset-btn {
    background: #fff;
    font-size: 12px;
    color: #666;
    border: none;
    padding: 10px 10px;
    border-radius: 4px;
    text-decoration: none;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px;
    color: #999;
}

/* アンカーの位置を少し上にオフセット（ヘッダーがある場合などに有効） */
#cast-result-start {
    display: block;
    position: relative;
    top: -20px; /* 数値はヘッダーの高さなどに合わせて調整してください */
    visibility: hidden;
}

/* スムーズに動かしたい場合は以下を追加 */
html {
    scroll-behavior: smooth;
}

/* ----------------------------- */
/* 本日の出勤バッジ共通スタイル */
/* ----------------------------- */

/* 1. 【デフォルト：一覧ページ・スマホ時】一番小さく設定 */
.cast-status-badge-wrapper {
    position: absolute;
    top: 1px;
    right: 4px;
    z-index: 10; /* SNSアイコンより前面、または同等に */
    pointer-events: none !important;
}

.status-badge {
    display: inline-block !important;
    padding: 4px 16px !important;
    border-radius: 50px !important;
    font-weight: bold !important;
    text-align: center !important;
    min-width: 66px !important;
    font-size: 10px !important;
    color: #fff !important;
    margin: 0px 0 !important;
    line-height: 1.2 !important;
    pointer-events: none !important;
}

/* 2. 【一覧ページ・タブレット】※スマホより一回り大きく (iPad等) */
@media screen and (min-width: 470px) {
    .cast-status-badge-wrapper {
    top: 4px;
}
    .status-badge {
        padding: 5px 12px !important;
        min-width: 90px !important;
        font-size: 12px !important;
    }
}

@media screen and (min-width: 570px) {
    .cast-status-badge-wrapper {
    top: 6px;
}
    .status-badge {
        padding: 5px 12px !important;
        min-width: 96px !important;
        font-size: 14px !important;
    }
}

@media screen and (min-width: 660px) {
    .cast-status-badge-wrapper {
    top: 7px;
}
    .status-badge {
        padding: 7px 12px !important;
        min-width: 110px !important;
        font-size: 16px !important;
    }
}


@media screen and (min-width: 783px) {
    .cast-status-badge-wrapper {
    top: 2px;
}
    .status-badge {
        padding: 6px 16px !important;
        min-width: 66px !important;
        font-size: 11px !important;
    }
}


/* 3. 【一覧ページ・PC】※しっかり認識できるサイズ (Desktop) */
@media screen and (min-width: 900px) {
    .cast-status-badge-wrapper {
    top: 4px;
}
    .status-badge {
        padding: 6px 16px !important;
        min-width: 100px !important;
        font-size: 14px !important;
    }
}

@media screen and (min-width: 1000px) {
    .cast-status-badge-wrapper {
    top: 6px;
}
    .status-badge {
        padding: 6px 16px !important;
        min-width: 110px !important;
        font-size: 15px !important;
    }
}


/* --------------------------------------------------------------------------
   詳細ページ（single-cast）用の特別サイズ
-------------------------------------------------------------------------- */

/* 4. 【詳細ページ・スマホ】 */
body.single-cast .cast-status-badge-wrapper {
    top: 7px;
    right: 5px;
}

body.single-cast .status-badge {
    padding: 8px 18px !important;
    min-width: 120px !important;
    font-size: 17px !important;
}

/* 5. 【詳細ページ・タブレット】 */
@media screen and (min-width: 500px) {
    body.single-cast .cast-status-badge-wrapper {
    top: 8px;
    right: 5px;
}
    body.single-cast .status-badge {
        padding: 12px 20px !important;
    min-width: 150px !important;
    font-size: 22px !important;
    }
}

/* 6. 【詳細ページ・PC】 */
@media screen and (min-width: 782px) {
    body.single-cast .cast-status-badge-wrapper {
    top: 6px;
    right: 4px;
}
    body.single-cast .status-badge {
        padding: 6px 16px !important;
        min-width: 100px !important;
        font-size: 14px !important;
    }
}

@media screen and (min-width: 900px) {
    body.single-cast .cast-status-badge-wrapper {
    top: 7px;
    right: 5px;
}
    body.single-cast .status-badge {
        padding: 7px 18px !important;
        min-width: 110px !important;
        font-size: 16px !important;
    }
}

@media screen and (min-width: 1000px) {
    body.single-cast .cast-status-badge-wrapper {
    top: 8px;
    right: 6px;
}
    body.single-cast .status-badge {
        padding: 8px 18px !important;
        min-width: 120px !important;
        font-size: 18px !important;
    }
}



/* 出勤中：ゴールド */
.status-badge.status-open {
    background: linear-gradient(45deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c) !important;
    color: #5d4000 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.400);
}

/* 受付終了：グレー */
.status-badge.status-closed {
    background-color: #999 !important;
    color: #fff !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.400);
}


/* ----------------------------- */
/* キャストカードの出勤時間の枠 */
/* ----------------------------- */
/* CAST_TIMEが空（置換されて消えた状態）のとき、枠や背景を非表示にする */
.schedule-time-block:empty {
    display: none !important;
}

/* 念のため、中にタグがない場合も枠や余白をリセットする（古いブラウザ対策） */
.schedule-time-block {
    min-height: 0;
}

/* 枠や背景のデザインをこのクラス自体に付けている場合、
   中身が空なら透明にする指定 */
.schedule-time-block:empty {
    border: none !important;
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
}



/* ----------------------------- */
/* キャストカードの予約状況の枠 */
/* ----------------------------- */
/* 予約状況の親要素：中身（CAST_RES）が空なら非表示 */
.res-status-wrapper:empty {
    display: none !important;
}


/* 予約状況ラベルの基本デザイン */
.res-status-label {
    display: block;
    width: 100%;
    text-align: center;
    padding: 6px 0px;
    border-radius: 0px;
    font-weight: bold;
    font-size: 12px;
    /* デフォルトの色（例：ピンク） */
    color: #f78da7;
    border: 0px solid #f78da7;
    background-color: #fff;
}

/* --- 状況別の色分け設定 --- */

/* 満枠御礼（full）のとき */
.res-status-label[data-status="full"] {
    display: block;
    position: relative;    /* 疑似要素の基準にする */
    z-index: 1;           /* 文字を前面に出す */
    
    /* 文字色は100%の濃さ */
    color: var(--wp--preset--color--primary);
 overflow: hidden;      /* 枠からはみ出る背景をカット */
    
    /* 枠線（ここも直接変数でOK。文字と同じ濃さになります） */
    border-color: var(--wp--preset--color--primary);
}

/* 背景専用のレイヤー */
.res-status-label[data-status="full"]::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* 背景色は変数を使用 */
    background-color: var(--wp--preset--color--primary);
    /* ここで背景だけに透明度をつける */
    opacity: 0.1;   
    z-index: -1;          /* 文字の下に潜り込ませる */
}


/* ご予約可能（available）のとき */
.res-status-label[data-status="available"] {
    color: #fff;
    background-color: #f78da7;
    border-color: #f78da7;
}

/* 残りわずか（few1, few2）のとき：個別に変えることも可能 */
.res-status-label[data-status="few1"],
.res-status-label[data-status="few2"] {
    color: #f78da7;
    background-color: #fff0f3;
    border-color: #f78da7;
}

/* ----------------------------- */
/* キャストランクの帯デザイン */
/* ----------------------------- */

/* --- ランキングページ：カード「内部」のランク帯だけを狙って消す --- */

/* カードのリンク（.cast-card-link-wrapper）や
   カードの中身のグループ（.wp-block-group）の中にあるランク帯だけを非表示にします。
*/
.ranking-grid .cast-card-link-wrapper .cast-rank-ribbon,
.ranking-grid .wp-block-group .cast-rank-ribbon {
    display: none !important;
}

/* --- ランキングページ：カード「上部」のラベルは強制表示 --- */

/* .ranking-item-wrapper 直下にあるラベル（カードの外側）は表示。
   詳細度を最大に高めて上書きします。
*/
.ranking-grid .ranking-item-wrapper > .ranking-top-label.cast-rank-ribbon {
    display: flex !important;
    visibility: visible !important;
    height: 50px !important;
    align-items: center !important;
    justify-content: center !important;
    /* 共通設定のパディングや行高が邪魔をするのでリセット */
    padding: 0 !important;               
    line-height: 1 !important;
}

/* カードと密着させるためのマージン調整 */
.ranking-top-label {
    margin-top: 10px !important; /* カードごとの間隔 */
    margin-bottom: 0 !important; /* 下のカードと隙間を空けない */
}


/* --- ランキングラベル内のフォント設定 --- */
.ranking-top-label.cast-rank-ribbon {
    font-size: 15px !important;
    letter-spacing: -0.05em !important;
    clip-path: polygon(0 0, 100% 0, 95% 50%, 100% 100%, 0 100%, 5% 50%);
}


/* --- ランキングラベル内のアイコン設定 --- */
.ranking-top-label.cast-rank-ribbon i {
    display: inline-block !important;
    margin-right: 6px !important;    /* 文字との間隔 */
    font-weight: 900 !important;     /* FontAwesome 必須設定 */
    font-size: 1.2em !important;     /* 少し大きく */
    vertical-align: middle !important;
}

/* --- ランキングページ：カード「上部」のラベルは強制表示 --- */


/* ランク帯の共通設定 */
.cast-rank-ribbon {
    width: 100% !important; 
    text-align: center !important;
    padding: 6px 0 !important;
    font-weight: bold !important;
    font-size: 14px !important;
    color: #ffffff !important; /* 文字色は白 */
    margin: 0px 0px 6px 0px !important;
    line-height: 1.2 !important;
    display: block !important;
    clip-path: polygon(0 0, 100% 0, 98% 50%, 100% 100%, 0 100%, 2% 50%);
}

/* ランク1：金（グラデーション） */
.rank-color-1 {
    background: linear-gradient(45deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c) !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* ランク2：銀（グラデーション） */
.rank-color-2 {
    background: linear-gradient(
        45deg, 
        #b8cedc, /* a0a0a0 の代わり（落ち着いた水色シルバー） */
        #eaf2f8, /* e0e0e0 の代わり（明るいアイス白） */
        #94b2c5, /* 808080 の代わり（濃いめのブルーグレー） */
        #dbe9f4, /* d0d0d0 の代わり（中間の水色シルバー） */
        #b8cedc  /* a0a0a0 の代わり（戻り） */
    ) !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* ランク3：銅（ブロンズ系） */
.rank-color-3 {
    background: linear-gradient(45deg, #804a00, #b08d57, #6d3a00, #a07842, #804a00) !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* ランク4） */
.rank-color-4, .rank-color-5, .rank-color-6 .rank-color-7 .rank-color-8 .rank-color-9 .rank-color-10 {
    background: linear-gradient(
    45deg, 
    #d8c1c9, /* 落ち着いたローズシルバー */
    #f8f0f3, /* 明るいアイス・ピンクホワイト */
    #bda6ae, /* 濃いめのローズグレー */
    #e9dfe3, /* 中間のピンクシルバー */
    #d8c1c9  /* 戻り */
) !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}
/* ランク設定がない場合の非表示設定（枠が残らないように） */
.cast-rank-ribbon:empty {
    display: none !important;
}


/* ----------------------------- */
/* キャストルームの枠 */
/* ----------------------------- */

.cast-room-tag {
    display: block;
    position: relative; /* 疑似要素の基準 */
    padding: 2px 0px;
    font-weight: bold;
    font-size: 12px;
    width: 60%;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 12px;
    color: var(--wp--preset--color--primary);
    border-radius: 20px;
    overflow: hidden; /* 背景のはみ出し防止 */
    z-index: 1;
}

/* 背景のグラデーション層 */
.cast-room-tag::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
    /* 背景全体の透明度をここで制御（color-mixの代わり） */
    opacity: 0.15; 
    background: linear-gradient(
        90deg, 
        rgba(255, 255, 255, 0) 0%, 
        var(--wp--preset--color--primary) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
    border-radius: 20px;
}

/* 上下のライン層 */
.cast-room-tag::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
    /* ラインの透明度を少し濃いめに設定 */
    opacity: 0.3; 
    border-top: 1px solid var(--wp--preset--color--primary);
    border-bottom: 1px solid var(--wp--preset--color--primary);
border-radius: 20px;
}

/* ----------------------------- */
/* キャストポイントの枠 */
/* ----------------------------- */

/* キャストポイント全体の囲み */
.cast-point-container {
    margin: 0px 0px 6px 0px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px; /* タグ同士の隙間 */
}

/* 個別のタグのデザイン */
.cast-point-tag {
    display: inline-block;
    position: relative;
    color: var(--wp--preset--color--primary);
    padding: 4px 8px;
    font-size: 11px;
    line-height: 1.4;
    z-index: 1;
}

.cast-point-tag::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: var(--wp--preset--color--primary);
    opacity: 0.1; /* ここで背景レイヤーだけを薄くする */
    border-radius: 0px;
    z-index: -1; /* 文字の下に潜り込ませる */
}
/* ----------------------------- */
/* キャストオプションの枠 */
/* ----------------------------- */
/* キャストオプションのスタイル */
.c-cast-options-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 5px 0;
}
.c-cast-option-item {
    display: inline-block;
    background: #fff; /* 背景色 */
    color: var(--wp--preset--color--primary);      /* 文字色 */
    border: 1px solid var(--wp--preset--color--primary);
    padding: 2px 8px;
    
    border-radius: 0px;
}

/* ----------------------------- */
/* SNSアイコン：完全消滅防止版 */
/* ----------------------------- */

/* 2. SNSアイコンの箱：絶対配置 */
.sns-floating-box {
    position: absolute !important;
    /* bottom/rightを調整して、写真の右下に固定 */
    bottom: 5px !important;
    right: 5px !important;
    display: flex !important;
    gap: 4px !important;
    /* 写真の切り替え(JS)が中身を消しても、この階層は維持される */
    z-index: 100 !important; 
    pointer-events: auto !important;
}

/* 3. SNSアイコン本体 */
.sns-icon {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 30px !important;
    height: 30px !important;
    font-size: 18px !important; /* アイコン自体の大きさ */
    background-color: rgba(255, 255, 255, 0.8) !important;
    border-radius: 50% !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3) !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    text-decoration: none !important;
    z-index: 110 !important;
}

/* ==========================================================================
   SNSアイコン・サイズ調整（スマホ・タブレット・PC・ページ別）
   ========================================================================== */
/* --- 2. 【一覧ページ・タブレット】 --- */
@media screen and (min-width: 400px) {
    .sns-icon {
        width: 36px !important;
        height: 36px !important;
        font-size: 20px !important;
    }
}

@media screen and (min-width: 600px) {
    .sns-icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 22px !important;
    }
}

@media screen and (min-width: 783px) {
    .sns-icon {
        width: 30px !important;
        height: 30px !important;
        font-size: 18px !important;
    }
}


@media screen and (min-width: 900px) {
    .sns-icon {
        width: 34px !important;
        height: 34px !important;
        font-size: 20px !important;
    }
}

@media screen and (min-width: 1000px) {
    .sns-icon {
        width: 36px !important;
        height: 36px !important;
        font-size: 20px !important;
    }
}


/* --------------------------------------------------------------------------
   詳細ページ（single-cast）用のサイズ
-------------------------------------------------------------------------- */

/* --- 4. 【詳細ページ・スマホ】 --- */
body.single-cast .sns-icon {
    width: 46px !important;
    height: 46px !important;
    font-size: 26px !important;
}

/* --- 5. 【詳細ページ・タブレット】 --- */
@media screen and (min-width: 430px) {
    body.single-cast .sns-icon {
        width: 48px !important;
        height: 48px !important;
        font-size: 28px !important;
    }
}

/* --- 5. 【詳細ページ・タブレット】 --- */
@media screen and (min-width: 500px) {
    body.single-cast .sns-icon {
        width: 52px !important;
        height: 52px !important;
        font-size: 30px !important;
    }
}

/* --- 6. 【詳細ページ・PC】 --- */
@media screen and (min-width: 782px) {
    body.single-cast .sns-icon {
        width: 38px !important;
        height: 38px !important;
        font-size: 24px !important;
    }
}


/* --- 6. 【詳細ページ・PC】 --- */
@media screen and (min-width: 1000px) {
    body.single-cast .sns-icon {
        width: 44px !important;
        height: 44px !important;
        font-size: 28px !important;
    }
}








/* アイコンの色 */
.x-link i { color: #000 !important; }
.insta-link i { color: #E1306C !important; }

/* ホバー効果 */
.sns-icon:hover { 
    transform: scale(1.1) !important; 
    transition: 0.2s; 
}

/* アイコン内のiタグがクリックを邪魔しないようにする */
.sns-icon i {
    pointer-events: none !important;
}




/* ----------------------------- */
/* カテゴリリボン */
/* ----------------------------- */

/* --- 3. カテゴリリボンの配置（成功時の数値を採用） --- */
/* 1. マスク（はみ出しカット）はそのまま維持 */
.cast-cat-ribbon-mask {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    z-index: 25 !important;
    pointer-events: none;
    container-type: inline-size !important;
}

/* 2. 親要素：ここを「写真の右上の四角いエリア」に限定する */
.cast-cat-ribbon {
    position: absolute !important;
    top: -19.5% !important;
    left: -27% !important;
    /* 写真の横幅に対して「35%」の正方形を作る */
    width: 50% !important; 
    height: 0 !important;
    padding-top: 50% !important; /* widthと同じ50%にすることで正方形を作る */
    
    display: block !important;
}


/* 3. リボン本体：中心にある文字を「右下」へ押し戻す */
.cast-cat-ribbon span {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    
    /* ★ここが重要：文字を正方形の「右下」に寄せることで、写真の内側に出現させます */
    align-items: flex-end !important; 
    justify-content: center !important;

    /* 文字の設定 */
    font-weight: bold !important;
    color: #fff !important;
    white-space: nowrap !important;

    /* ★回転方向と位置の微調整 */
    /* 親要素が45度回っている場合は 0deg、回っていない場合は -45deg など調整が必要ですが */
    transform: rotate(-45deg) !important; 


/* ----------------------------- */
/* カテゴリリボンの文字サイズ */
/* ----------------------------- */

    /* 古いスマホ用一覧ページ */
    font-size: 62% !important;
   /* 2. モダンなスマホ用一覧ページ */
    /* 下に書いた方が優先されるので、cqwが使えるブラウザはこっちを採用します */
font-size: 6.6cqw !important;
}


/* --- スマホのプロフィールページ（詳細画面） --- */
/* bodyに single-cast がある時だけ適用 */
body.single-cast .cast-cat-ribbon span {
    font-size: 150% !important; 
    font-size: 6.8cqw !important;
}

/* --- 4. PCブラウザ（横幅が広い時）の調整 --- */
@media screen and (min-width: 768px) {
    /* PCの一覧ページのサイズ */
    .cast-cat-ribbon span {
        font-size: 90% !important;
        font-size: 6.8cqw !important;
    }
    /* PCのプロフィールページ用 */
    body.single-cast .cast-cat-ribbon span {
        font-size: 120% !important;
        font-size: 6.5cqw !important;
    }
}

/* ----------------------------- */
/* カテゴリリボンの文字サイズ ここまで*/
/* ----------------------------- */


/* 1. 全カテゴリ共通のデフォルトカラー設定 */
.cast-cat-ribbon span {
    /* プライマリーカラーを背景にセット */
    background-color: var(--wp--preset--color--primary) !important;
     opacity: 0.8 !important; 
}

/* 4. カテゴリ別カラー：背景色だけ指定 */
.cat-color-新人 span { background: rgba(255, 123, 156, 0.7) !important; }
.cat-color-人気 span { background: rgba(234, 159, 18, 0.7) !important; }
.cat-color-イチオシ span { background: rgba(81, 136, 181, 0.7) !important; }
.cat-color-体験 span { background: rgba(209, 72, 202, 0.7) !important; }


/* ----------------------------- */
/* レビューのデザイン*/
/* ----------------------------- */

/* スライダー全体の横幅や外側の余白 */
.rv-outer {
    position: relative !important;
    width: 100% !important;
    margin: 20 auto !important;
}

/* レビューを囲む白い枠のスタイル */
.rv-win {
    overflow: hidden !important;
    width: 100% !important;
    border: 0.5px solid var(--wp--preset--color--primary) !important; /* 枠線の色と太さ */
    border-radius: 0px !important;    /* 角の丸み */
    background: #fff !important;       /* 背景色 */
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important; /* 影 */
    cursor: pointer !important;
    margin: 0 auto;
}

/* スライド1枚ずつの設定（ここで高さを調整可能） */
.rv-slide {
    flex: 0 0 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 45px 50px !important; /* 内側の余白：左右は矢印を避けるため40px以上を推奨 */
    min-height: 120px;
}

/* 矢印のデザイン（共通） */
.rv-arr {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 28px !important; /* 矢印の大きさ */
    font-family: serif !important;
    color: var(--wp--preset--color--primary) !important;    /* 矢印の色 */
    cursor: pointer !important;
    z-index: 100 !important;
    user-select: none !important;
    font-weight: bold !important;
    line-height: 1 !important;
    border: none !important;
    background: none !important;
}
.rv-arr.disabled { opacity: 0.1 !important; cursor: default !important; }
.rv-prev { left: 10px !important; }
.rv-next { right: 10px !important; }

/* 「満足度」「投稿者：」共通のラベルスタイル */
.rv-label {
    font-size: 11px !important;    /* 文字の大きさ */
    color: #888 !important;        /* 文字の色（薄いグレー） */
    margin-right: 3px !important;  /* 右側の余白 */
    font-weight: normal !important; /* 文字の太さ */
}

/* 投稿者名（太字部分）の微調整が必要な場合 */
.rv-m b {
    font-size: 13px !important;
    color: #333 !important;
}

/* 投稿者情報の行 */
.rv-m {
    font-size: 13px !important;
    margin-bottom: 12px !important;
    color: #666 !important;
}

/* 星（★）の色 */
.rv-s {
    color: #f3c612 !important;
    margin-right: 10px !important;
}

/* 追加された区切り線のデザイン */
.rv-line {
    border-top: 1px solid #eee !important; /* 線の色と太さ */
    margin-bottom: 12px !important;
    width: 100% !important;
}

/* レビュー本文のフォント設定 */
.rv-t {
    font-size: 14px !important;
    line-height: 1.7 !important;
    color: #333 !important;
    white-space: pre-wrap !important;
}

/* ドットナビの設定 */
.rv-dots {
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-top: 12px !important;
}
.rv-dot {
    width: 7px !important;
    height: 7px !important;
    background: #ccc !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    transition: 0.3s !important;
}
.rv-dot.active {
    background: var(--wp--preset--color--primary) !important;
    transform: scale(1.2) !important;
}

.rv-rail {
    display: flex !important;
    transition: transform 0.4s cubic-bezier(0.45, 0.05, 0.55, 0.95) !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}


/* ----------------------------- */
/* キャストメディア共通設定（メイン＆サムネ） */
/* ----------------------------- */

/* 1. 親要素（グリッドコンテナ）の強制リセット */
.thumb-grid-container {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important; /* 5列固定 */
    grid-template-rows: auto !important;
    gap: 8px !important;
    align-items: start !important;
    width: 100% !important;
    height: auto !important;
}

/* 2. サムネイル枠：Padding Hack（3:4の空き地を作る） */
.thumb-grid-container [class^="cast-media-box-"] {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    
    /* 比率維持の極意（aspect-ratioは使いません） */
    height: 0 !important;
    padding-top: 133.33% !important; /* 横幅の1.33倍の高さ */
    
    /* 他の指定との競合を完全に防ぐ */
    min-height: 0 !important;
    
    overflow: hidden !important;
    background-color: #f0f0f0;
}



/* 4. 画像・動画：paddingで作った領域に絶対配置で貼り付ける */
.thumb-grid-container .cast-media-content {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
}

/* --- メイン画像側（.is-main-display）も比率を崩さないよう修正 --- */
.daily-sch-grid .is-main-display,
.ranking-grid .is-main-display,
.cast-card-custom-container .is-main-display {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 0 !important;
    padding-top: 133.33% !important; /* メインも3:4に合わせる */
    overflow: hidden !important;
    min-height: 0 !important;
    -webkit-mask-image: -webkit-radial-gradient(white, black) !important;
}


/* ---中の写真・動画のフィット設定 --- */
.is-main-display img, 
.is-main-display video, 
.is-main-display .cast-media-content {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    z-index: 1 !important;
    margin: 0 !important;
}

.cast-card-custom-container > a,
.cast-full-overlay {
    display: none !important;
}

/* 動画の背景を黒にする */
video.cast-media-content {
    background-color: #000 !important;
}

/* サムネイルのみ、クリックできることがわかるようカーソルを変える */
[class^="cast-media-box-"]:hover,
[class*=" cast-media-box-"]:hover {
    cursor: pointer;
    opacity: 0.8;
}

/* --- 詳細ページ（サムネイル）用の調整 --- */
/* bodyに single-cast クラスがある時は、クリックできるように戻す */
body.single-cast [class^="cast-media-box-"],
body.single-cast [class*=" cast-media-box-"] {
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* サムネイル内の画像もクリックを受け付けるようにする */
body.single-cast .cast-media-content {
    pointer-events: auto !important;
}

/* ----------------------------- */
/* --- 料金システム全体のコンテナ --- */
/* ----------------------------- */
.om-price-container {
    width: 700px;
    margin: 20px auto;
}

/* 各セクションの余白 */
.price-section {
    margin-bottom: 100px;
}

/* 見出しのデザイン */
.price-title {
    font-size: 1.1rem;
    border-bottom: 1px solid var(--wp--preset--color--primary);
    padding-bottom: 2px; /* 文字と線の間の距離 */
    margin-bottom: 15px;
    color: var(--wp--preset--color--primary);
    display: block; /* 確実に線が横に広がるように */
    text-align: center;
}

/* テーブルの基本構造 */
.price-table {
    width: 100%;
    border: none !important;
}


.price-table,
.price-table th,
.price-table td {
    border: none !important;
    border-collapse: collapse; /* 線が重ならないように設定 */
}


.price-table td {
    padding: 25px 0px 2px 0px;  
    border-bottom: 1px dotted var(--wp--preset--color--primary)!important;
}

.price-table tr:first-child td {
    padding-top: 15px;
}


/* 項目名と金額の調整 */
.item-name {
    font-weight: bold;
    font-size: 1.1rem;
    width: 70%;
}

.item-price {
    text-align: right; /* 金額は右寄せ */
    color: var(--wp--preset--color--primary);
    font-weight: bold;
    font-size: 1.1rem;
}

/* 交通費セクションのエリア名だけ小さくする */
.transport-price .item-name {
    font-size: 1rem; /* 標準(1rem)より少し小さく設定 */
    font-weight: normal; /* 太字を解除してスッキリさせる（お好みで） */
    line-height: 1.4;    /* 2行になった時の行間を調整 */
}




/* スマホ用の微調整 */
@media screen and (max-width: 600px) {
    /* 項目名と金額の調整 */


}


/* ----------------------------- */
/* 予約ページ：レイアウト */
/* ----------------------------- */
.res-page-container {
    width: 700px;
    margin: 20px auto;
}

.res-section {
    margin-bottom: 100px;
    text-align: center;
}

.res-title {
    font-size: 1.1rem;
    border-bottom: 1px solid var(--wp--preset--color--primary);
    padding-bottom: 2px; /* 文字と線の間の距離 */
    margin-bottom: 15px;
    color: var(--wp--preset--color--primary);
    display: block; /* 確実に線が横に広がるように */
    text-align: center;
}

/* 電話・LINEリンク */
.res-tel-link {
    display: block;
    font-size: 32px;
    font-weight: bold;
    color: var(--wp--preset--color--primary);
    text-decoration: none;
}

.res-line-link {
    display: inline-block;
    background-color: #06C755;
    color: #fff;
    padding: 12px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    margin-top: 14px;
    margin-bottom: 20px;
}

.res-note {
    margin-top: 0px;
    font-size: 14px;
    color: #666;
}

/* WEBフォーム */
.res-web-form {
    text-align: left;
}

.res-web-form .f-item {
    margin-top: 30px;
}

.res-web-form label {
    display: block;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 4px;
}

.res-web-form label span {
    background: #ff4444;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
    vertical-align: middle;
}

/* 入力が不正な時のフィールドを赤枠にする */
.res-web-form input:invalid:focus {
    border-color: #ff4444;
    background-color: #fff8f8;
}

/* ブラウザのツールチップ(title属性)の補足 */
.res-web-form input[name="r_tel"]::placeholder {
    font-size: 12px;
    color: #bbb;
}

.res-web-form input,
.res-web-form select,
.res-web-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 0px;
    font-size: 16px;
}

.res-web-form textarea {
    height: 140px;
}

.res-btn {
    width: 40%;
    background: var(--wp--preset--color--primary);
    color: #fff;
    border: none;
    padding: 18px;
    border-radius: 0px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    display: block;
    margin: 50px auto 0;
}

.res-btn:hover {
    opacity: 0.8;
}



/* --- 確認画面のスタイル --- */
#res-confirm-view {
    text-align: left;
    margin-top: 50px;
}

.confirm-summary {
    margin-bottom: 20px;
}

.confirm-row {
    padding: 16px 0px 16px 0px;
    border-bottom: 1px dashed #ddd;
    display: flex;
    justify-content: space-between;
}

.confirm-row strong {
    color: #666;
    font-size: 14px;
    flex: 0 0 120px;
}

.confirm-row span {
    flex: 1;
    text-align: left;
    padding-left: 22px;
    /* --- 強制折り返しの設定 --- */
    overflow-wrap: break-word;
    word-break: break-all;
    
    /* --- Flexbox内での突き抜け防止 --- */
    min-width: 0;   /* これがないとFlex子要素は中身に合わせて広がろうとします */
    max-width: 100%; /* 親要素の幅を絶対に超えないように制限 */
}

.res-confirm-btns {
    display: flex;
    justify-content: center; /* 中央寄せ */
    gap: 10px;               /* ボタン同士の隙間（ここでお好みの間隔に調整） */
    margin-top: 60px;
}

/* 個別のボタンにかかっている中央寄せ用のmarginを解除 */
.res-confirm-btns .res-back-btn,
.res-confirm-btns .res-btn {
    margin: 0;   /* auto設定を解除してflexのgapに従わせる */
    width: 40%;  /* 2つ並ぶので少し横幅を広げるとバランスが良いです */
}

.res-back-btn {
    width: 40%;
    background: #888;
    color: #fff;
    border: none;
    padding: 18px;
    border-radius: 0px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    display: block;
    margin: 50px auto 0;
}

.res-back-btn:hover {
    opacity: 0.8;
}


.res-thanks {
    padding: 40px 0;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: var(--wp--preset--color--primary);
    line-height: 1.6;
}




/* ----------------------------- */
/* --- アクセスマップ・ショートコード用スタイル --- */
/* ----------------------------- */

/* 全体のコンテナ */
.access-maps-container {
    width: 700px;
    margin: 20px 0;
}

/* 各マップのまとまり */
.access-map-item {
    margin-bottom: 60px;
}

/* タイトル（h3） */
.access-map-title {
        font-size: 1.1rem;
    border-bottom: 1px solid var(--wp--preset--color--primary);
    padding-bottom: 2px; /* 文字と線の間の距離 */
    margin-bottom: 25px;
    color: var(--wp--preset--color--primary);
    display: block; /* 確実に線が横に広がるように */
    text-align: center;
}

/* マップをレスポンシブ（16:9）にする枠 */
.access-map-frame {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* アスペクト比 16:9 */
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid var(--wp--preset--color--primary);

}

/* 埋め込みiframeを枠いっぱいに広げる */
.access-map-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

/* 住所・テキストエリア */
.access-map-address {
    line-height: 1.5;
    font-size: 14px;
    color: #444;
    padding: 0px 5px;
}



/* ----------------------------- */
/* --- スマホ用固定フッター --- */
/* ----------------------------- */
.om-fixed-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: calc(65px + env(safe-area-inset-bottom));
    background: #fff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 9999;
    padding-bottom: env(safe-area-inset-bottom); /* iPhoneの画面下余白対応 */
    -webkit-backface-visibility: hidden; /* 古いSafari/Chromeでのチラつき防止 */
    backface-visibility: hidden;
    
    /* 画面下部に固定する力を強める */
    will-change: transform;
}

/* 各アイテムの基本設定 */
.footer-item {
    flex: 1;
    height: 65px; /* アイコンと文字の部分だけ高さを固定 */
    text-align: center;
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

/* LINEアイコン用の専用スタイル */
.line-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-bottom: 4px; /* 他のアイコンと合わせる */
}

.line-icon-wrap svg {
    width: 28px; /* LINEロゴを少しだけ強調 */
    height: 28px;
    display: block;
}

/* アイコンのサイズ */
.footer-item i {
    font-size: 24px;
    height: 24px;
    margin-bottom: 4px;
}

/* テキストのサイズ */
.footer-item span {
    font-size: 11px;
    font-weight: bold;
}

/* ボタンごとの色付け（お好みに合わせて調整してください） */
.footer-item.tel i { color:var(--wp--preset--color--primary)}    /* 電話 */
.footer-item.line i { color: #06C755; }   /* LINE */
.footer-item.reserve i { color:var(--wp--preset--color--primary)}/* 予約 */
.footer-item.recruit i { color:var(--wp--preset--color--primary)}

/* --- PC表示（768px以上）：右下に浮かせる --- */
@media screen and (min-width: 768px) {
    /* バーを透明化して位置を調整 */
    .om-fixed-footer {
        top: auto; /* top: 50% を一度リセット（位置調整が必要なら数値を入れてください） */
        bottom: 80px;
        right: 20px;
        left: auto;
        width: auto;
        height: auto;
        background: none;
        box-shadow: none;
        display: flex !important;
        flex-direction: column; /* 縦に並べる */
        gap: 15px;
        
        /* ↓ここが重要！子要素（ボタン）が縦に引き伸ばされるのを防ぎます */
        align-items: center; 
    }

    .footer-item.recruit,
    .footer-item.reserve {
        /* 縦横を同じ数値で固定 */
        width: 80px !important;
        height: 80px !important;
        
        /* 楕円化を物理的に防ぐ */
        min-width: 80px !important;
        max-width: 80px !important;
        min-height: 80px !important;
        max-height: 80px !important;

        border-radius: 50% !important; /* 正円 */
        background-color: #fff;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        
        /* 中身の中央寄せ */
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box;
    }

       /* 電話とLINEは非表示 */
    .sp-only { display: none !important; }

    /* ホバーで少し浮かせる */
    .footer-item.recruit:hover,
    .footer-item.reserve:hover {
        transform: translateY(-5px);
        opacity: 0.9;
    }

}



/* ----------------------------- */
/* --- スライダー --- */
/* ----------------------------- */
/* スライダーの外枠 */
.om-slider-query .wp-block-post-template {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 20px; /* アイテム間の隙間 */
    padding-bottom: 10px;
}

/* 各投稿アイテム */
.om-slider-query .wp-block-post-template > li {
    flex: 0 0 100%; /* スマホなら1枚ずつ。33%なら3枚並び */
    list-style: none;
    scroll-snap-align: start;
}

/* スクロールバーを隠す場合（お好みで） */
.om-slider-query .wp-block-post-template::-webkit-scrollbar {
    display: none;
}

/* ドット全体のコンテナ */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

/* ドット単体のスタイル */
.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc; /* 通常時の色 */
    border: none;
    padding: 0;
    cursor: pointer;
    transition: 0.3s;
}

/* アクティブ（現在表示中）のドット */
.slider-dot.is-active {
    background: var(--wp--preset--color--primary); /* メインカラーに合わせる */
    transform: scale(1.2);
}

/* ----------------------------- */
/* Google reCAPTCHA v3 のバッジを非表示にする */
/* ----------------------------- */
.grecaptcha-badge { 
    visibility: hidden !important; 
}

.res-recaptcha-policy {
    color: #999;
    margin-top: 15px;
    line-height: 1.2;
    text-align: center;
    padding-top: 20px;
}
.res-recaptcha-policy a {
    font-size: 8px;
    color: #999;
    text-decoration: underline;
}