/* ==========================================================================
   体験予約フォーム（reservation/trial-booking.php デザイン準拠）
   ========================================================================== */

/* 予約ページ専用ヘッダー */
.trial-booking-page .site-header,
.trial-booking-page .site-footer,
.trial-booking-page .mobile-fixed-cta {
    display: none !important;
}

.trial-header {
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 10;
}

.trial-header__inner {
    max-width: 640px;
    margin: 0 auto;
    padding: 14px 16px;
    display: flex;
    align-items: center;
}

.trial-header__back {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-right: 12px;
    color: #374151;
}

.trial-header__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

/* 全体背景 */
.trial-booking-section {
    background: #fff;
    padding: 0 0 80px;
}

.trial-booking-section .container {
    max-width: 640px;
}

/* バナー */
.trial-banner-top {
    background: linear-gradient(to right, #f97316, #ec4899);
    color: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.trial-banner-top__icon {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trial-banner-top__title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.trial-banner-top__desc {
    font-size: 0.85rem;
    opacity: 0.9;
    margin: 0;
}

/* プログレスバー（元デザイン準拠：ライン型） */
.trial-progress {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
}

.trial-progress__bar {
    flex: 1;
    height: 4px;
    border-radius: 4px;
    background: #e5e7eb;
    transition: background 0.3s;
}

.trial-progress__bar.active {
    background: #14b8a6;
}

.trial-progress__label {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 20px;
}

/* ステップ表示制御 */
.trial-step {
    display: none;
}

.trial-step.active {
    display: block;
}

/* メニュー選択カード */
.trial-menu-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.trial-menu-card {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.trial-menu-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.trial-menu-card.selected {
    border-color: #14b8a6;
    background: #f0fdfa;
}

.trial-menu-card input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.trial-menu-card__name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 6px;
}

.trial-menu-card__info {
    display: flex;
    gap: 16px;
    margin-bottom: 6px;
    font-size: 0.85rem;
    color: #6b7280;
}

.trial-menu-card__desc {
    font-size: 0.82rem;
    color: #9ca3af;
    line-height: 1.5;
}

.trial-menu-card__check {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.trial-menu-card.selected .trial-menu-card__check {
    background: #14b8a6;
    border-color: #14b8a6;
}

.trial-menu-card.selected .trial-menu-card__check svg {
    stroke: #fff;
}

/* 日時選択 */
.trial-date-group {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.trial-date-group__label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #14b8a6;
    margin-bottom: 12px;
}

.trial-date-group__fields {
    display: flex;
    gap: 12px;
    align-items: center;
}

.trial-date-group__fields input[type="date"],
.trial-date-group__fields select {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: #fff;
    min-height: 44px;
}

.trial-date-group__fields input[type="date"]:focus,
.trial-date-group__fields select:focus {
    outline: none;
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

/* お客様情報入力 */
.trial-customer-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.trial-form-group {
    margin-bottom: 20px;
}

.trial-form-group:last-child {
    margin-bottom: 0;
}

.trial-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #374151;
    font-size: 0.9rem;
}

.trial-form-group .required {
    color: #ef4444;
    font-size: 0.75rem;
    margin-left: 4px;
}

.trial-form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    min-height: 44px;
    box-sizing: border-box;
}

.trial-form-group input:focus {
    outline: none;
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

/* 確認画面 */
.trial-confirm-highlight {
    background: linear-gradient(to right, #fff7ed, #fdf2f8);
    border: 1px solid #fed7aa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.trial-confirm-highlight__icon {
    color: #ea580c;
    flex-shrink: 0;
    margin-top: 2px;
}

.trial-confirm-highlight__title {
    font-weight: 700;
    color: #9a3412;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.trial-confirm-highlight__desc {
    font-size: 0.82rem;
    color: #c2410c;
    margin: 0;
}

.trial-confirm-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    margin-bottom: 16px;
}

.trial-confirm-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1f2937;
}

.trial-confirm-table {
    width: 100%;
    border-collapse: collapse;
}

.trial-confirm-table tr {
    border-bottom: 1px solid #f3f4f6;
}

.trial-confirm-table tr:last-child {
    border-bottom: none;
}

.trial-confirm-table th,
.trial-confirm-table td {
    padding: 12px 0;
    text-align: left;
    font-size: 0.9rem;
}

.trial-confirm-table th {
    color: #6b7280;
    font-weight: 500;
    width: 35%;
}

.trial-confirm-table td {
    color: #1f2937;
    font-weight: 500;
}

.trial-privacy {
    margin: 20px 0;
    padding: 16px 20px;
    background: #f9fafb;
    border-radius: 8px;
}

.trial-privacy label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.88rem;
    color: #374151;
}

.trial-privacy input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    accent-color: #14b8a6;
}

/* ボタン */
.trial-nav {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.trial-nav .btn-prev {
    flex: 1;
    background: #fff;
    color: #374151;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
}

.trial-nav .btn-next,
.trial-nav .btn-submit {
    flex: 1;
    background: linear-gradient(to right, #f97316, #ec4899);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.trial-nav .btn-next:hover,
.trial-nav .btn-submit:hover {
    opacity: 0.9;
}

/* 完了画面 */
.trial-success {
    text-align: center;
    padding: 48px 20px;
}

.trial-success__icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(to right, #fff7ed, #fdf2f8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.trial-success__icon svg {
    width: 32px;
    height: 32px;
    stroke: #ea580c;
    stroke-width: 2.5;
    fill: none;
}

.trial-success__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1f2937;
}

.trial-success__sub {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 4px;
}

.trial-success__highlight {
    font-size: 0.85rem;
    color: #ea580c;
    margin-bottom: 24px;
}

.trial-success__details {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    text-align: left;
}

/* ハニーポット */
.ffc-hp {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

/* レスポンシブ */
@media screen and (max-width: 600px) {
    .trial-banner-top {
        padding: 16px;
    }

    .trial-banner-top__title {
        font-size: 1rem;
    }

    .trial-date-group__fields {
        flex-direction: column;
        gap: 8px;
    }

    .trial-nav {
        flex-direction: column-reverse;
    }

    .trial-nav .btn-prev,
    .trial-nav .btn-next,
    .trial-nav .btn-submit {
        width: 100%;
        min-width: auto;
    }
}
