/**
 * ===========================================================================
 * Rental Club - CSS スタイルシート
 * ===========================================================================
 * 
 * 目次：
 * 1. ページ共通設定
 * 2. ヒーローセクション
 * 3. ボタンスタイル
 * 4. セクション・レイアウト
 * 5. カード系コンポーネント
 * 6. カレンダー UI
 * 7. フォーム
 * 8. テーブル
 * 9. 管理画面専用スタイル
 * 10. アラート・通知
 * 11. ユーティリティ
 */

/* ===========================================================================
   1. ページ共通設定
   =========================================================================== */

body.page-template-page-rental-club,
body.page-template-page-rental-club-products,
body.page-template-page-rental-club-booking,
body.page-template-page-rental-club-confirm,
body.page-template-page-rental-club-complete,
body.page-template-page-rental-club-admin {
    background-color: #f7f8fb;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

body.page-template-page-rental-club-booking .container {
    max-width: 2400px;
}

/* ===========================================================================
   2. ヒーローセクション
   =========================================================================== */

.rc-hero {
    position: relative;
    padding: 90px 0 70px;
    background: linear-gradient(135deg, #0f1f3d, #1d5bbf);
    color: #fff;
    overflow: hidden;
}

.rc-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../img/banner-in.jpg') center/cover;
    opacity: 0.18;
    z-index: 0;
}

.rc-hero__inner {
    position: relative;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
    z-index: 1;
}

.rc-hero__eyebrow {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    margin-bottom: 18px;
}

.rc-hero__headline {
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #fff;
}

.rc-hero__lead {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #fff;
    margin-bottom: 34px;
}

.rc-hero__buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.rc-products-hero {
    position: relative;
    padding: 70px 0 60px;
    background: linear-gradient(135deg, #0f1f3d, #1d5bbf);
    color: #fff;
}

/* ===========================================================================
   3. ボタンスタイル
   =========================================================================== */

.rc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    font-size: 1rem;
    cursor: pointer;
    line-height: 1.4;
}

.rc-btn--primary {
    background: #f7931e;
    color: #0f1f3d;
    border-color: #f7931e;
}

.rc-btn--primary:hover,
.rc-btn--primary:focus-visible {
    background: #e88510;
    border-color: #e88510;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(247, 147, 30, 0.3);
}

.rc-btn--outline {
    background: transparent;
    color: #0f1f3d;
    border-color: #0f1f3d;
}

.rc-btn--outline:hover,
.rc-btn--outline:focus-visible {
    background: #0f1f3d;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 31, 61, 0.2);
}

.rc-btn--outline-white {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.rc-btn--outline-white:hover,
.rc-btn--outline-white:focus-visible {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.rc-btn--ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #0f1f3d;
    border-color: rgba(15, 31, 61, 0.2);
}

.rc-btn--ghost:hover,
.rc-btn--ghost:focus-visible {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(15, 31, 61, 0.3);
}

.rc-btn--text {
    background: transparent;
    color: #1d5bbf;
    border-color: transparent;
    padding: 8px 16px;
    font-weight: 600;
}

.rc-btn--text:hover,
.rc-btn--text:focus-visible {
    background: rgba(29, 91, 191, 0.1);
    color: #0f3a7f;
}

.rc-btn.is-disabled,
.rc-btn:disabled {
    background: #cbd5e0;
    color: #a0aec0;
    border-color: #cbd5e0;
    cursor: not-allowed;
    opacity: 0.6;
    pointer-events: none;
}

.rc-btn.is-disabled:hover,
.rc-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* ===========================================================================
   4. セクション・レイアウト
   =========================================================================== */

.rc-section {
    padding: 60px 0;
}

.rc-section--alt {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(15, 31, 61, 0.08);
    margin: 40px auto;
    padding: 60px 40px;
}

.rc-section--back {
    padding: 20px 0;
}

.rc-section__title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
    color: #0f1f3d;
}

.rc-section__badge {
    display: inline-block;
    background: #e8f4ff;
    color: #1d5bbf;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-left: 12px;
}

.rc-back-nav {
    text-align: left;
}

/* ステップカード */
.rc-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.rc-step {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e1e5ee;
    padding: 24px;
    text-align: left;
    height: 100%;
    transition: all 0.2s ease;
}

.rc-step:hover {
    box-shadow: 0 4px 12px rgba(15, 31, 61, 0.1);
    transform: translateY(-2px);
}

.rc-step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1d5bbf;
    color: #fff;
    font-weight: 700;
    margin-bottom: 12px;
}

.rc-step__title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #12203c;
}

.rc-step__desc {
    color: #4f5d75;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* アクションボタングループ */
.rc-actions {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ===========================================================================
   5. カード系コンポーネント
   =========================================================================== */

/* ショーケースカード */
.rc-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.rc-showcase__card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(15, 31, 61, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
}

.rc-showcase__card:hover {
    box-shadow: 0 8px 20px rgba(15, 31, 61, 0.12);
    transform: translateY(-2px);
}

.rc-showcase__img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.rc-showcase__body {
    padding: 18px;
}

.rc-showcase__title {
    font-weight: 700;
    margin-bottom: 8px;
    color: #12203c;
}

.rc-showcase__meta {
    font-size: 0.9rem;
    color: #4f5d75;
}

/* カテゴリカード */
.rc-category-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.rc-category-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #e1e5ee;
    box-shadow: 0 2px 8px rgba(15, 31, 61, 0.05);
}

.rc-category-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #12203c;
}

.rc-category-card p {
    color: #4f5d75;
    line-height: 1.6;
}

.rc-category-card__meta {
    margin-top: 8px;
    font-size: 0.9rem;
    color: #4f5d75;
}

/* 商品カード */
.rc-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.rc-products-grid--compact {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
}

@media (min-width: 1200px) {
    .rc-products-grid--compact {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .rc-products-grid--compact {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 14px;
    }
}

.rc-product-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(15, 31, 61, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
}

.rc-product-card:hover {
    box-shadow: 0 8px 20px rgba(15, 31, 61, 0.12);
    transform: translateY(-2px);
}

.rc-product-card--compact {
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(15, 31, 61, 0.06);
}

.rc-product-card__header {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px;
}

.rc-product-card__thumb {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
    background: #eef2f8;
}

.rc-product-card__info {
    flex: 1;
    min-width: 0;
}

.rc-product-card__code {
    font-size: 0.8rem;
    color: #718096;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 2px;
    display: none;
}

.rc-product-detail__code {
    display: none;
}

.rc-product-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #12203c;
    margin-bottom: 2px;
    line-height: 1.3;
}

.rc-product-card__brand {
    font-size: 0.85rem;
    color: #4a5568;
    margin-bottom: 4px;
}

.rc-product-card__price {
    font-size: 1rem;
    font-weight: 700;
    color: #f7931e;
}

.rc-product-card__body {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rc-product-card__body--compact {
    padding: 0 12px 10px;
}

.rc-product-card__specs {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.8rem;
    color: #2c3e50;
}

.rc-product-card__specs li {
    margin-bottom: 3px;
    line-height: 1.4;
}

.rc-product-card__specs strong {
    font-weight: 600;
    margin-right: 6px;
    color: #1a365d;
}

.rc-product-card__specs--compact {
    font-size: 0.75rem;
    margin-top: 4px;
}

.rc-product-card__specs-toggle {
    margin: 0;
}

.rc-product-card__specs-toggle summary {
    cursor: pointer;
    font-size: 0.8rem;
    color: #1d5bbf;
    font-weight: 600;
    list-style: none;
}

.rc-product-card__specs-toggle summary::-webkit-details-marker {
    display: none;
}

.rc-product-card__specs-toggle summary::before {
    content: "▸";
    display: inline-block;
    margin-right: 6px;
    transition: transform 0.2s ease;
}

.rc-product-card__specs-toggle[open] summary::before {
    transform: rotate(90deg);
}

.rc-product-card__specs-toggle--header summary {
    font-size: 0.78rem;
}

.rc-product-card__specs-toggle--header .rc-product-card__specs {
    margin-top: 4px;
}

.rc-product-card__meta {
    color: #1d5bbf;
    font-weight: 600;
    font-size: 0.85rem;
}

.rc-product-card__meta--compact {
    color: #4a5568;
    font-weight: 500;
    font-size: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    line-height: 1.25;
}

.rc-product-card__meta--compact span {
    white-space: nowrap;
}

.rc-product-card__footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.rc-product-card__actions--compact {
    display: flex;
    gap: 8px;
}

.rc-product-card__status {
    font-size: 0.8rem;
    color: #4a5568;
    margin-top: 6px;
    font-weight: 500;
}

/* 商品カードの状態 */
.rc-product-card--unavailable,
.rc-product-card--dates-required {
    opacity: 0.6;
    pointer-events: none;
}

.rc-product-card--selected {
    border: 2px solid #2f9344;
    background: #f0fbf4;
    box-shadow: 0 4px 16px rgba(47, 147, 68, 0.18);
}

.rc-product-card--unavailable .rc-product-card__status,
.rc-product-card--dates-required .rc-product-card__status {
    color: #c53030;
    font-weight: 600;
}

/* 在庫バッジ */
.rc-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
}

.rc-stock small {
    font-weight: 400;
    opacity: 0.85;
}

.rc-stock--available {
    background: #2f9344;
}

.rc-stock--limited {
    background: #d97706;
}

.rc-stock--maintenance,
.rc-stock--hidden,
.rc-stock--unavailable {
    background: #c53030;
}

/* 選択サマリー */
.rc-selection-info {
    background: #f7fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 20px 0;
    margin-bottom: 20px;
}

.rc-selection-info__body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
}

.rc-selection-info__stats {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    text-align: center;
}

.rc-selection-info__stats strong {
    color: #1d5bbf;
    font-size: 1.1rem;
}

.rc-selection-info__empty {
    color: #718096;
    font-size: 0.9rem;
}

.rc-selection-info__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.rc-selection-info__list li {
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    padding: 8px 12px;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.rc-selection-info__list button {
    border: none;
    background: none;
    color: #c53030;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.rc-selection-info__list button:hover {
    background: #fed7d7;
}

.rc-selection-info__actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.rc-selection-info__terms {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 0 !important;
}

.rc-selection-info__terms input[type="checkbox"] {
    margin: 0;
    width: 16px;
    height: 16px;
    display: inline-block;
    appearance: auto;
}

@media (min-width: 768px) {
    .rc-selection-info__terms {
        white-space: nowrap;
    }
}

/* ===========================================================================
   6. カレンダー UI
   =========================================================================== */

.rc-calendar-shell {
    border: 1px solid #e1e5ee;
    border-radius: 16px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(15, 31, 61, 0.06);
}

.rc-calendar__nav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.rc-calendar__nav .rc-btn {
    min-width: 120px;
}

.rc-calendar {
    border: 1px solid #e6ebf5;
    border-radius: 12px;
    padding: 20px;
    background: #fff;
}

.rc-calendar__legend {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e6ebf5;
}

.rc-calendar__legend span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4f5d75;
    font-size: 0.9rem;
}

.rc-calendar__legend i {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    display: inline-block;
}

.rc-calendar__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.rc-calendar__month {
    border: 1px solid #e1e5ee;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.rc-calendar__month-header {
    background: #f5f7fb;
    padding: 12px 16px;
    font-weight: 600;
    color: #12203c;
    text-align: center;
}

.rc-calendar__table {
    width: 100%;
    border-collapse: collapse;
}

.rc-calendar__table th {
    padding: 10px 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #718096;
    text-align: center;
}

.rc-calendar__table td {
    padding: 4px;
    text-align: center;
}

.rc-calendar__day {
    width: 100%;
    border-radius: 6px;
    padding: 8px 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    border: 2px solid transparent;
    background: transparent;
}

.rc-calendar__day[data-status="available"] {
    background: #e2f7d3;
    color: #1c3d1c;
}

.rc-calendar__day[data-status="available"]:hover {
    background: #c9f0b3;
    border-color: #2f9344;
}

.rc-calendar__day[data-status="limited"] {
    background: #fff4d6;
    color: #7a4b00;
}

.rc-calendar__day[data-status="limited"]:hover {
    background: #ffe8a8;
    border-color: #d97706;
}

.rc-calendar__day[data-status="unavailable"] {
    background: #ffe0e0;
    color: #811f1f;
    cursor: not-allowed;
}

.rc-calendar__day[data-status="excluded"] {
    background: #e2e8f0;
    color: #a0aec0;
    cursor: not-allowed;
    opacity: 0.6;
}

.rc-calendar__day[aria-disabled="true"] {
    background: #e2e8f0;
    color: #a0aec0;
    cursor: not-allowed;
    opacity: 0.6;
}

.rc-calendar__day--muted {
    background: transparent;
    color: #cbd5e0;
    cursor: default;
}

.rc-calendar__day.is-start,
.rc-calendar__day.is-end,
.rc-calendar__day.is-selected {
    background: #1d5bbf;
    color: #fff;
    font-weight: 700;
}

.rc-calendar__day.is-start:hover,
.rc-calendar__day.is-end:hover,
.rc-calendar__day.is-selected:hover {
    background: #164a9a;
}

/* カレンダーサマリー */
.rc-calendar-summary {
    margin-top: 24px;
    border: 1px solid #e1e5ee;
    border-radius: 16px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(15, 31, 61, 0.06);
}

.rc-calendar-summary__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.rc-calendar-actions {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.rc-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.rc-summary__card {
    border-radius: 12px;
    border: 1px solid #cbd5e0;
    padding: 16px;
    background: #f7fafc;
}

.rc-summary__label {
    font-size: 0.85rem;
    color: #718096;
    margin-bottom: 6px;
    font-weight: 500;
}

.rc-summary__value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #12203c;
}

/* ===========================================================================
   7. フォーム
   =========================================================================== */

.rc-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.rc-form__section {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    border: 1px solid #e1e5ee;
    box-shadow: 0 2px 8px rgba(15, 31, 61, 0.06);
}

.rc-form__section h2 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #0f1f3d;
    font-weight: 700;
}

.rc-form__grid {
    --rc-form-min: 240px;
    --rc-form-gap: 16px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(var(--rc-form-min), 1fr));
    gap: var(--rc-form-gap);
    width: 100%;
}

.rc-form__grid--2col {
    --rc-form-min: 260px;
}

.rc-form__grid--3col {
    --rc-form-min: 220px;
}

/* 配送・受取情報 3段構成 */
.rc-form__grid--delivery-3rows {
    --rc-form-min: 220px;
}

.rc-form__delivery-address textarea {
    resize: none;
}

.rc-form__grid label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 1rem;
    color: #4f5d75;
    font-weight: 500;
}

.rc-form__grid label > span {
    font-weight: 600;
    font-size: 1.05rem;
}

.rc-form__grid input,
.rc-form__grid select,
.rc-form__grid textarea {
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 1.1rem;
    line-height: 1.5;
    min-height: 52px;
    min-width: 0;
    width: 100%;
    transition: all 0.2s ease;
    background: #fff;
    box-sizing: border-box;
}

.rc-form__grid input:focus,
.rc-form__grid select:focus,
.rc-form__grid textarea:focus {
    border-color: #1d5bbf;
    outline: none;
    box-shadow: 0 0 0 3px rgba(29, 91, 191, 0.1);
}

.rc-form__grid input[readonly],
.rc-form__grid select:disabled {
    background: #f7fafc;
    color: #4a5568;
    cursor: not-allowed;
}

.rc-form__grid textarea {
    resize: vertical;
    min-height: 100px;
}

.rc-form__full {
    grid-column: 1 / -1;
}

.rc-form__span-2 {
    grid-column: span 2;
}

.rc-form__span-3 {
    grid-column: span 3;
}

.rc-form__span-4 {
    grid-column: span 4;
}

.rc-form__stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.rc-form__wide input,
.rc-form__wide textarea {
    width: 100%;
}

/* Booking page container override (page-specific). */
.rc-section > .container {
    max-width: none !important;
    width: 95% !important;
}

/* Member info layout tuning (booking page). */
.rc-member-info label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 1rem;
    color: #4f5d75;
    font-weight: 500;
}

.rc-member-info label > span {
    font-weight: 600;
    font-size: 1.05rem;
}

.rc-member-info .rc-input {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 1.1rem;
    line-height: 1.5;
    min-height: 52px;
    min-width: 0;
    width: 100%;
    background: #fff;
    color: #4a5568;
    box-sizing: border-box;
}

.rc-member-info__grid {
    grid-template-columns: 1fr;
}

.rc-member-info__email {
    grid-template-columns: 1fr;
}

@media screen and (min-width: 768px) {
    .rc-member-info__grid {
        grid-template-columns: 1fr 1fr !important;
        width: 100%;
    }

    .rc-member-info__email {
        grid-template-columns: 1fr !important;
        width: 100%;
    }

    .rc-member-info .rc-input {
        max-width: 80%;
    }
}

@media screen and (min-width: 1024px) {
    .rc-member-info__grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

.rc-member-info__email .rc-input {
    max-width: 80%;
}

.rc-section .rc-member-info .rc-input {
    max-width: 100% !important;
    width: 100% !important;
}

.rc-form__textarea-short textarea {
    min-height: 70px;
}

/* 選択済みアイテム表示 */
.rc-selected-items {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    background: #f7fafc;
    min-height: 100px;
}

.rc-selected-items--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #718096;
    font-style: italic;
}

.rc-selected-items ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.rc-selected-items li {
    background: #fff;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

/* 料金サマリー */
.rc-price-summary {
    margin-top: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f9fbff;
    padding: 20px;
}

.rc-price-summary > div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #e2e8f0;
}

.rc-price-summary > div:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.rc-price-summary__total {
    font-weight: 700;
    font-size: 1.15rem;
    padding-top: 10px;
    border-top: 2px solid #cbd5e0;
    margin-top: 10px;
}

.rc-price-summary strong {
    font-family: 'IBM Plex Mono', 'Monaco', 'Courier New', monospace;
    color: #1d5bbf;
}

/* サマリーリスト（確認画面） */
.rc-summary-list {
    background: #f7fafc;
    border-radius: 12px;
    padding: 20px;
}

.rc-summary-list dl {
    margin: 0;
    display: grid;
    gap: 14px;
}

.rc-summary-list dt {
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 4px;
}

.rc-summary-list dd {
    margin: 0;
    color: #1a202c;
    padding-bottom: 14px;
    border-bottom: 1px solid #e2e8f0;
}

.rc-summary-list dd:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

/* ===========================================================================
   8. テーブル
   =========================================================================== */

.rc-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(15, 31, 61, 0.06);
}

.rc-table thead {
    background: #f5f7fb;
}

.rc-table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    color: #4a5568;
    font-size: 0.9rem;
    border-bottom: 2px solid #e2e8f0;
}

.rc-table td {
    padding: 14px 16px;
    color: #2d3748;
    font-size: 0.95rem;
    border-bottom: 1px solid #f7fafc;
}

.rc-table tbody tr:last-child td {
    border-bottom: none;
}

.rc-table--striped tbody tr:nth-child(even) {
    background: #f7fafc;
}

.rc-table--striped tbody tr:hover {
    background: #edf2f7;
}

.rc-table__numeric {
    text-align: right;
    font-family: 'IBM Plex Mono', 'Monaco', 'Courier New', monospace;
}

.rc-table__actions {
    text-align: right;
    white-space: nowrap;
}

.rc-table--orders th {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: #94a3b8;
}

.rc-orders__detail-head,
.rc-orders__detail-cell {
    width: 90px;
}

.rc-orders__detail-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #eef2ff;
    color: #1d4ed8;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.rc-orders__detail-btn:hover {
    background: #e0e7ff;
    color: #1e3a8a;
}

.rc-orders__detail-icon {
    font-size: 0.95rem;
    line-height: 1;
}

.rc-orders__number {
    font-family: "SFMono-Regular","Roboto Mono",monospace;
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
}

.rc-orders__subtext {
    margin-top: 4px;
    font-size: 0.75rem;
    color: #94a3b8;
}

.rc-order-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.rc-order-badge--web,
.rc-order-badge--golf_desk {
    background: #ecfccb;
    color: #4d7c0f;
}

.rc-order-badge--rakuten_gora {
    background: #ffe4e6;
    color: #be123c;
}

.rc-order-badge--lgt {
    background: #fff1c9;
    color: #b45309;
}

.rc-order-badge--other,
.rc-order-badge--tour_company {
    background: #e0f2fe;
    color: #0369a1;
}

.rc-order-badge--unknown {
    background: #e5e7eb;
    color: #374151;
}

.rc-orders__status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.rc-orders__status--received {
    background: #fef3c7;
    color: #b45309;
}

.rc-orders__status--payment_pending,
.rc-orders__status--return_check {
    background: #dbeafe;
    color: #1d4ed8;
}

.rc-orders__status--in_use,
.rc-orders__status--completed {
    background: #dcfce7;
    color: #15803d;
}

.rc-orders__status--cancelled,
.rc-orders__status--expired {
    background: #fee2e2;
    color: #b91c1c;
}

.rc-orders__status--default {
    background: #f3f4f6;
    color: #374151;
}

.rc-orders__name-placeholder {
    color: #94a3b8;
    font-style: italic;
}

/* ===========================================================================
   9. 管理画面専用スタイル
   =========================================================================== */

.rc-section--admin {
    padding: 40px 0;
}

.rc-admin__header {
    margin-bottom: 32px;
    text-align: center;
}

.rc-admin__header h1 {
    font-size: 2rem;
    color: #0f1f3d;
    margin-bottom: 8px;
}

/* タブナビゲーション */
.rc-admin__nav {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    border-bottom: 2px solid #e2e8f0;
    justify-content: center;
    flex-wrap: wrap;
}

.rc-admin__nav a {
    padding: 12px 24px;
    text-decoration: none;
    color: #4a5568;
    font-weight: 600;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s ease;
    border-radius: 8px 8px 0 0;
}

.rc-admin__nav a:hover {
    color: #1d5bbf;
    background: #f7fafc;
}

.rc-admin__nav a.is-active {
    color: #1d5bbf;
    border-bottom-color: #1d5bbf;
    background: #f7fafc;
}

.rc-admin__body {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(15, 31, 61, 0.06);
}

/* 管理画面パネル */
.rc-admin__panel {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    border: 1px solid #e2e8f0;
    margin-bottom: 24px;
}

.rc-admin__panel h2 {
    font-size: 1.4rem;
    color: #0f1f3d;
    margin-bottom: 20px;
    font-weight: 700;
}

.rc-admin__panel--list {
    max-height: 600px;
    overflow-y: auto;
}

.rc-admin__panel--wide {
    max-width: 1400px;
    margin: 0 auto;
}

.rc-admin-status-block {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    background: #f9fbff;
}

.rc-admin-status-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 14px;
    align-items: start;
}

.rc-admin-status-steps {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.rc-admin-status-step {
    padding: 10px 8px;
    border-radius: 10px;
    background: #eef2ff;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: #3f3f46;
}

.rc-admin-status-step.is-current {
    background: #e7f0ff;
    color: #1d5bbf;
    border: 1px solid #c7ddff;
}

.rc-admin-status-step.is-done {
    background: #ecfdf3;
    color: #16a34a;
}

.rc-admin-dialog {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.rc-admin-dialog.is-visible {
    display: flex;
}

.rc-admin-dialog__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.35);
}

.rc-admin-dialog__panel {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 20px 22px;
    width: min(420px, calc(100% - 32px));
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.18);
    z-index: 1;
}

.rc-admin-dialog__title {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 700;
    color: #0f1f3d;
}

.rc-admin-dialog__message {
    margin: 0;
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.5;
}

.rc-admin-dialog__actions {
    margin-top: 16px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* 分割レイアウト（商品管理画面） */
.rc-admin__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 1024px) {
    .rc-admin__split {
        grid-template-columns: 1fr;
    }
}

/* フィルター */
.rc-admin__filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    background: #f7fafc;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.rc-admin__filters .rc-admin-filter {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.9rem;
    color: #4a5568;
    font-weight: 500;
    min-width: 0;
    width: 100%;
}
.rc-admin__filters .rc-admin-filter--label {
    pointer-events: auto;
}

.rc-admin__filters .rc-admin-filter > span {
    font-weight: 600;
}

.rc-admin__filters .rc-admin-filter input,
.rc-admin__filters .rc-admin-filter select {
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 0.95rem;
    background: #fff;
    position: relative;
    z-index: 2;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
}

.rc-admin__filters .rc-admin-filter select {
    cursor: pointer;
    display: block;
}


.rc-admin__filters-actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* 結果カウント */
.rc-admin__results-count {
    padding: 12px 0;
    font-weight: 600;
    color: #4a5568;
    text-align: right;
}

/* ページネーション */
.rc-admin__pagination {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.rc-admin__pagination a,
.rc-admin__pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    transition: all 0.2s ease;
}

.rc-admin__pagination a:hover {
    background: #f7fafc;
    border-color: #1d5bbf;
    color: #1d5bbf;
}

.rc-admin__pagination .current {
    background: #1d5bbf;
    color: #fff;
    border-color: #1d5bbf;
}

/* 詳細リスト */
.rc-detail-list {
    display: grid;
    gap: 14px;
    background: #f7fafc;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.rc-detail-list dt {
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 4px;
}

.rc-detail-list dd {
    margin: 0;
    color: #1a202c;
    padding-bottom: 14px;
    border-bottom: 1px solid #e2e8f0;
}

.rc-detail-list dd:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

/* 管理画面フォーム */
.rc-admin__form {
    display: grid;
    gap: 18px;
}

.rc-admin__form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.95rem;
    color: #4a5568;
    font-weight: 500;
    width: 100%;
    min-width: 0;
}

.rc-admin__form label > span {
    font-weight: 600;
}

.rc-admin__form input,
.rc-admin__form select,
.rc-admin__form textarea {
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 0.95rem;
    background: #fff;
    width: 100%;
    min-width: 0;
}

.rc-admin__form input:focus,
.rc-admin__form select:focus,
.rc-admin__form textarea:focus {
    border-color: #1d5bbf;
    outline: none;
    box-shadow: 0 0 0 3px rgba(29, 91, 191, 0.1);
}

.rc-admin__form textarea {
    resize: vertical;
    min-height: 80px;
}

.rc-admin__form--inline {
    display: block;
}

.rc-admin__form--inline label {
    margin-bottom: 14px;
}

/* デスクトップ専用管理フォーム */
.rc-admin-form {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    max-width: 1400px;
    margin: 0 auto;
}

.rc-admin-form__main {
    flex: 1 1 900px;
}

.rc-admin-form__sidebar {
    flex: 0 0 320px;
    position: sticky;
    top: 24px;
}

.rc-admin-section {
    background: #fff;
    border: 1px solid #d7dee9;
    border-radius: 14px;
    padding: 24px 28px;
    margin-bottom: 24px;
    box-shadow: 0 2px 6px rgba(15, 31, 61, 0.04);
}

.rc-admin-section__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0f1f3d;
    margin: 0 0 18px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
}

.rc-admin-section.is-disabled,
.rc-admin-fieldset.is-disabled,
.rc-admin-row.is-disabled {
    opacity: 0.55;
}

.rc-admin-section.is-disabled input,
.rc-admin-section.is-disabled select,
.rc-admin-section.is-disabled textarea,
.rc-admin-section.is-disabled button,
.rc-admin-fieldset.is-disabled input,
.rc-admin-fieldset.is-disabled select,
.rc-admin-fieldset.is-disabled textarea,
.rc-admin-fieldset.is-disabled button {
    pointer-events: none;
}

.rc-order-type-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.rc-order-type-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 16px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: #fff;
    cursor: pointer;
    min-width: 180px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rc-order-type-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.rc-order-type-card small {
    font-size: 0.75rem;
    color: #64748b;
}

.rc-order-type-card.is-active {
    border-color: #3b82f6;
    box-shadow: 0 12px 26px rgba(15, 31, 61, 0.12);
}

.rc-order-type-card__badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #0f172a;
}

.rc-order-type-card__badge--web {
    background: #dbeafe;
    color: #1d4ed8;
}

.rc-order-type-card__badge--golf {
    background: #dcfce7;
    color: #15803d;
}

.rc-order-type-card__badge--rakuten {
    background: #ffe4e6;
    color: #be123c;
}

.rc-order-type-card__badge--lgt {
    background: #fff1c9;
    color: #b45309;
}

.rc-order-type-card__badge--tour {
    background: #e0f2fe;
    color: #0369a1;
}

.rc-order-type-note {
    margin-top: 12px;
    font-size: 0.85rem;
    color: #475569;
    background: #f8fafc;
    border-radius: 10px;
    padding: 12px 16px;
}

.rc-admin-help-inline {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-left: 6px;
}

.rc-admin-row {
    margin-bottom: 18px;
}

.rc-admin-row:last-child {
    margin-bottom: 0;
}

.rc-admin-field {
    width: 100%;
}

.rc-admin-field input,
.rc-admin-field select,
.rc-admin-field textarea {
    width: 100%;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 0.95rem;
    background: #fff;
}

.rc-admin-field textarea {
    min-height: 90px;
    resize: vertical;
}

.rc-admin-field select {
    position: relative;
    z-index: 2;
}

.rc-field-readonly {
    background: #f4f7fb !important;
    color: #475467;
    cursor: not-allowed;
}

.rc-field-readonly:focus {
    box-shadow: none;
    border-color: #d0d5dd;
}

.rc-admin-input--compact {
    max-width: 140px;
    width: 100%;
}

.rc-admin-select--medium {
    max-width: 280px;
    width: 100%;
}

.rc-admin-native-select,
.rc-admin-status-select {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    -webkit-appearance: auto;
    appearance: auto;
}

.rc-admin-native-select.no-nice-select,
.no-nice-select {
    -webkit-appearance: auto;
    appearance: auto;
}

.rc-admin-native-select + .nice-select,
.no-nice-select + .nice-select {
    display: none !important;
}

.rc-admin__filters .rc-admin-filter select.rc-admin-native-select {
    width: 100% !important;
    max-width: none !important;
}

/* 予約詳細画面のrc-booking-status-selectの幅を確実に100%にする */
#rc-booking-status-select {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
}

.rc-product-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
    border: 1px dashed #cbd5e0;
    border-radius: 10px;
    background: #f9fafc;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 14px;
    text-align: center;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.rc-product-placeholder.is-active {
    border-color: #1d5bbf;
	color: #1d5bbf;
}

.rc-product-placeholder.is-hidden {
	display: none;
}

.rc-availability-summary {
    margin: 16px 0;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid #d6e3f5;
    background: #f8fbff;
    font-size: 0.95rem;
    color: #0f1f3d;
    transition: background 0.2s ease, color 0.2s ease;
}

.rc-availability-summary.is-idle {
    color: #64748b;
    border-color: #e2e8f0;
    background: #f9fafb;
}

.rc-availability-summary.is-warning {
    border-color: #fcd34d;
    background: #fffbeb;
    color: #92400e;
}

.rc-availability-summary.is-error {
    border-color: #fca5a5;
    background: #fef2f2;
    color: #b91c1c;
}

.rc-admin-help--success {
    color: #15803d;
}

.rc-admin-help--error {
    color: #b91c1c;
}

.rc-availability-summary strong {
    font-weight: 600;
    color: inherit;
}

.rc-product-list--disabled {
    pointer-events: none;
    opacity: 0.45;
    filter: grayscale(0.1);
}

.rc-product-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.rc-product-item.is-selected {
    border-color: #1d5bbf;
    box-shadow: 0 6px 18px rgba(29, 91, 191, 0.15);
}

.rc-product-item__info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #0f1f3d;
}

.rc-product-item__price {
    font-weight: 600;
    color: #1d5bbf;
}

.rc-product-item__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.8rem;
    color: #475467;
}

.rc-product-item__meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #eef2ff;
    color: #334155;
    font-weight: 600;
}

.rc-product-item__toggle {
    min-width: 84px;
}

.rc-selected-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border: 1px solid #d1d9e6;
    border-radius: 12px;
    background: #f8fafc;
}

.rc-selected-card + .rc-selected-card {
    margin-top: 12px;
}

.rc-selected-card--empty {
    justify-content: center;
    color: #94a3b8;
    font-weight: 600;
    border-style: dashed;
}

.rc-selected-card__title {
    font-weight: 600;
    color: #0f1f3d;
    margin-bottom: 4px;
}

.rc-selected-card__body {
    flex: 1;
    min-width: 0;
}

.rc-selected-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.9rem;
    color: #475467;
}

.rc-selected-card__meta strong {
    color: #1d5bbf;
}

.rc-selected-card__remove {
    white-space: nowrap;
}

.rc-admin-field input:focus,
.rc-admin-field select:focus,
.rc-admin-field textarea:focus {
    border-color: #1d5bbf;
    outline: none;
    box-shadow: 0 0 0 3px rgba(29, 91, 191, 0.12);
}

.rc-admin-row--inline .rc-admin-field {
    display: flex;
    gap: 12px;
}

.rc-admin-field-grid {
    display: grid;
    gap: 16px;
}

.rc-admin-field-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rc-admin-field-grid--2-wide {
    grid-template-columns: 1.5fr 1fr;
}

.rc-admin-field-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rc-admin-field-grid--3-wide {
    grid-template-columns: 1.2fr 1.2fr 1fr;
}

.rc-admin-field-grid--4 {
    grid-template-columns: repeat(4, minmax(150px, 1fr));
}

.rc-admin-field-grid--delivery {
    grid-template-columns: repeat(4, minmax(220px, 1fr));
}

.rc-admin-field-grid--double-wide {
    grid-template-columns: repeat(2, minmax(360px, 1fr));
}

.rc-admin-field-grid--no-gap {
    gap: 0;
}

.rc-admin-fieldset {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.9rem;
    color: #4a5568;
    width: 100%;
}

.rc-admin-fieldset > span {
    font-weight: 600;
}

.rc-admin-fieldset textarea {
    min-height: 110px;
}

.rc-admin-actions {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.rc-admin-section__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
}

.rc-admin-section__actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.rc-admin-section__actions .rc-btn {
    padding: 6px 16px;
    font-size: 0.9rem;
    line-height: 1.2;
    height: 34px;
}

.rc-admin-section__header .rc-admin-section__title {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.rc-admin-help {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 0.85rem;
}

body.page-template-page-rental-club-admin .container {
    max-width: 1360px;
}

.rc-textarea-code {
    width: 100%;
    font-family: 'IBM Plex Mono', 'Monaco', 'Courier New', monospace;
    font-size: 0.85rem;
    min-height: 100px;
}

/* ===========================================================================
   10. アラート・通知
   =========================================================================== */

.rc-alert {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    border-left: 4px solid;
    font-size: 0.95rem;
}

.rc-alert ul {
    margin: 0;
    padding-left: 20px;
}

.rc-alert li {
    margin-bottom: 6px;
}

.rc-alert li:last-child {
    margin-bottom: 0;
}

.rc-alert--error {
    background: #fff5f5;
    border-left-color: #c53030;
    color: #742a2a;
}

.rc-alert--success {
    background: #f0fff4;
    border-left-color: #2f9344;
    color: #22543d;
}

.rc-alert--info {
    background: #ebf8ff;
    border-left-color: #3182ce;
    color: #2c5282;
}

.rc-alert--warning {
    background: #fffaf0;
    border-left-color: #d97706;
    color: #744210;
}

/* ===========================================================================
   11. ユーティリティ
   =========================================================================== */

.rc-note {
    color: #718096;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 8px;
}

.rc-note--alert .rc-note__alert {
    color: #c53030;
    font-weight: 700;
}

.rc-note--alert .rc-note__contact {
    color: #111827;
}

.rc-note--alert .rc-note__contact a {
    color: #111827;
    text-decoration: underline;
}

.rc-note small {
    font-size: 0.85rem;
}

.rc-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 4px rgba(15, 31, 61, 0.05);
    margin-bottom: 24px;
}

.rc-card--flush {
    margin-bottom: 0;
}

.rc-grid,
.rc-layout-grid {
    --rc-grid-min: 260px;
    --rc-grid-gap: 16px;
    display: grid;
    gap: var(--rc-grid-gap);
    grid-template-columns: repeat(auto-fit, minmax(var(--rc-grid-min), 1fr));
    width: 100%;
    align-items: flex-start;
}

.rc-grid--small {
    --rc-grid-min: 200px;
}

.rc-grid--large {
    --rc-grid-min: 320px;
}

.rc-grid--cols-2 {
    --rc-grid-min: 240px;
}

.rc-grid--cols-3 {
    --rc-grid-min: 200px;
}

.rc-grid--cols-4 {
    --rc-grid-min: 160px;
}

.rc-grid--flush {
    --rc-grid-gap: 12px;
}

.rc-grid--wide {
    --rc-grid-min: 360px;
}

.rc-grid--sidebar {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
}

.rc-grid__span-2 {
    grid-column: span 2;
}

.rc-grid__span-3 {
    grid-column: span 3;
}

.rc-grid__span-4 {
    grid-column: span 4;
}

.rc-grid__full {
    grid-column: 1 / -1;
}

.rc-mb-sm {
    margin-bottom: 14px !important;
}

.rc-mb-md {
    margin-bottom: 24px !important;
}

@media (max-width: 1024px) {
    .rc-grid--sidebar {
        grid-template-columns: 1fr;
    }

    .rc-admin-status-grid {
        grid-template-columns: 1fr;
    }

    .rc-admin-status-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .rc-form__grid,
    .rc-grid,
    .rc-layout-grid {
        grid-template-columns: 1fr;
    }

    .rc-form__span-2,
    .rc-form__span-3,
    .rc-form__span-4,
    .rc-grid__span-2,
    .rc-grid__span-3,
    .rc-grid__span-4,
    .rc-grid__full {
        grid-column: span 1;
    }
}

/* レスポンシブ調整 */
@media (max-width: 1024px) {
    .rc-admin__split {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .rc-hero {
        padding: 60px 0 50px;
    }

    .rc-hero__headline {
        font-size: 2rem;
    }

    .rc-hero__lead {
        font-size: 1rem;
    }

    .rc-section {
        padding: 40px 0;
    }

    .rc-section--alt {
        padding: 40px 20px;
        margin: 20px 10px;
    }

    .rc-form__grid,
    .rc-form__grid--2col,
    .rc-form__grid--3col,
    .rc-form__grid--delivery-3rows {
        grid-template-columns: 1fr;
    }

    .rc-form__span-2,
    .rc-form__span-3,
    .rc-form__span-4 {
        grid-column: 1 / -1;
    }

    .rc-admin__filters {
        grid-template-columns: 1fr;
    }

    .rc-calendar {
        padding: 16px;
    }

    .rc-actions {
        flex-direction: column;
    }

    .rc-btn {
        width: 100%;
        justify-content: center;
    }
    
    .rc-admin__body {
        padding: 20px;
    }
    
    .rc-admin__panel {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .rc-product-card__header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .rc-product-card__thumb {
        width: 100%;
        height: 160px;
    }
}
