/* ================================================================
   reserve.css  –  スキャンブース予約ページ専用スタイル
   配置先: ./assets/css/reserve.css
   依存:   top.css（.page-header / .container 等）
   takuhai.css のデザインシステムに準拠・ブルーアクセント版
   ================================================================ */

:root {
    --rs-accent:       #1a73e8;
    --rs-accent-dark:  #0d47a1;
    --rs-accent-light: #e8f0fe;
    --rs-warn:         #d93025;
    --rs-warn-bg:      #fff4f3;
    --rs-warn-border:  #f5c2be;
    --rs-text:         #1a1a1a;
    --rs-text-sub:     #555;
    --rs-text-muted:   #888;
    --rs-border:       #e0e0e0;
    --rs-bg-tint:      #f8f9fa;
    --rs-radius:       10px;
    --rs-shadow:       0 2px 16px rgba(0,0,0,.07);
}

/* ── ヒーロー ────────────────────────────────── */
.rs-hero {
    background: linear-gradient(135deg, #0d47a1 0%, #1a73e8 60%, #42a5f5 100%);
    color: #fff;
    padding: 52px 0 44px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.rs-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.rs-hero__inner {
    position: relative;
}

.rs-hero__label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.35);
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.rs-hero__title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 900;
    line-height: 1.25;
    margin: 0 0 16px;
    letter-spacing: -0.01em;
}

.rs-hero__sub {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    line-height: 1.8;
    opacity: 0.92;
    margin: 0 0 36px;
}

.rs-hero__sub strong {
    font-size: 1.2em;
    background: rgba(255,255,255,0.2);
    padding: 2px 8px;
    border-radius: 4px;
}

.rs-hero__badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.rs-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.rs-hero__badge-icon {
    font-size: 1.1rem;
}

/* ── CTAボタン共通 ──────────────────────────── */
.rs-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: #fff;
    color: var(--rs-accent);
    font-size: 1.05rem;
    font-weight: 800;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 6px 24px rgba(0,0,0,.2);
    transition: transform 0.18s, box-shadow 0.18s;
    letter-spacing: 0.02em;
}

.rs-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(0,0,0,.25);
}

.rs-cta-btn__arrow {
    font-size: 1.2rem;
    transition: transform 0.18s;
}

.rs-cta-btn:hover .rs-cta-btn__arrow {
    transform: translateX(4px);
}

/* ── セクション共通 ──────────────────────────── */
.rs-section {
    padding: 64px 0 20px;
}

.rs-section--tinted {
    padding-top: 20px;
    background: var(--rs-bg-tint);
}

.rs-section__title {
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 900;
    color: var(--rs-text);
    text-align: center;
    margin: 0 0 40px;
    position: relative;
    padding-bottom: 16px;
}

.rs-section__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 4px;
    background: var(--rs-accent);
    border-radius: 2px;
}

.rs-section__lead {
    text-align: center;
    font-size: 1rem;
    color: var(--rs-text-sub);
    line-height: 1.9;
    margin: -20px 0 40px;
}

/* ── 目安カード ──────────────────────────────── */
.rs-guide-cards {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.rs-guide-card {
    background: #fff;
    border-radius: var(--rs-radius);
    padding: 24px 20px;
    text-align: center;
    box-shadow: var(--rs-shadow);
    border-top: 4px solid var(--rs-accent);
    flex: 1 1 180px;
    max-width: 210px;
}

.rs-guide-card__icon {
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 10px;
}

.rs-guide-card__label {
    font-size: 1.0rem;
    font-weight: 600;
/*    color: var(--rs-text-muted); */
    margin: 0 0 4px;
}

.rs-guide-card__time {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--rs-accent);
    line-height: 1;
    margin: 0 0 6px;
}

.rs-guide-card__desc {
    font-size: 0.82rem;
    color: var(--rs-text-sub);
    line-height: 1.6;
    margin: 0;
}

/* ── ステップリスト ──────────────────────────── */
.rs-flow-subtitle {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--rs-text);
    margin: 0 0 20px;
    padding: 10px 16px;
    background: var(--rs-accent-light);
    border-radius: 6px;
}

.rs-steps {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 24px;
}

.rs-steps__item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: #fff;
    border-radius: var(--rs-radius);
    padding: 20px 24px;
    box-shadow: var(--rs-shadow);
    border-left: 4px solid var(--rs-accent);
}

.rs-steps__num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: var(--rs-accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 900;
    margin-top: 2px;
}

.rs-steps__body {
    flex: 1;
    min-width: 0;
}

.rs-steps__body strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--rs-text);
    margin-bottom: 4px;
}

.rs-steps__body span {
    font-size: 0.88rem;
    color: var(--rs-text-sub);
    line-height: 1.7;
}

.rs-steps__connector {
    width: 4px;
    height: 20px;
    background: linear-gradient(to bottom, var(--rs-accent), var(--rs-accent-light));
    margin-left: 38px;
}

/* ── 補足ノート ──────────────────────────────── */
.rs-note {
    font-size: 0.82rem;
/*    color: var(--rs-text-muted); */
    background: var(--rs-bg-tint);
    border-left: 3px solid var(--rs-border);
    padding: 12px 16px;
    border-radius: 0 6px 6px 0;
/*    margin-bottom: 24px; */
    line-height: 1.8;
}

/* ── 所要時間の例 ────────────────────────────── */
.rs-examples {
    background: var(--rs-accent-light);
    border-radius: var(--rs-radius);
    padding: 20px 24px;
}

.rs-examples__lead {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--rs-text);
    margin: 0 0 14px;
}

.rs-examples__list {
    list-style: none;
    margin: 0;
    padding: 0;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rs-examples__list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--rs-text);
}

.rs-example-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 12px;
    background: var(--rs-accent);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 14px;
    white-space: nowrap;
}

.rs-example-calc {
    font-size: 0.9rem;
    font-weight: 400;
/*    color: var(--rs-text-muted); */
}

/* ── 注意事項 ────────────────────────────────── */
.rs-caution-box {
    background: var(--rs-warn-bg);
    border: 1px solid var(--rs-warn-border);
    border-left: 4px solid var(--rs-warn);
    border-radius: var(--rs-radius);
    padding: 20px 24px;
}

.rs-caution-box__title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--rs-warn);
    margin: 0 0 14px;
}

.rs-caution-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rs-caution-list li {
    display: flex;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--rs-text);
    line-height: 1.7;
}

.rs-caution-list li::before {
    content: '※';
    color: var(--rs-warn);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ── 予約カレンダー ──────────────────────────── */
.rs-calendar-notice {
    background: var(--rs-accent-light);
    border-left: 4px solid var(--rs-accent);
    border-radius: 0 var(--rs-radius) var(--rs-radius) 0;
    padding: 14px 18px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    color: var(--rs-text);
    line-height: 1.8;
}

.rs-calendar-notice small {
    display: block;
    font-size: 0.82rem;
    color: var(--rs-text-muted);
    margin-top: 4px;
}

.rs-calendar-frame {
    border: 1px solid var(--rs-border);
    border-radius: var(--rs-radius);
    overflow: hidden;
    margin-bottom: 10px;
    box-shadow: var(--rs-shadow);
}

.rs-calendar-frame iframe {
    display: block;
    width: 100%;
    height: 1050px;
}

.rs-calendar-credit {
    font-size: 0.78rem;
    color: var(--rs-text-muted);
    text-align: right;
}

.rs-calendar-credit a {
    color: var(--rs-accent);
    text-decoration: none;
}

.rs-calendar-credit a:hover {
    text-decoration: underline;
}

/* ── CTAセクション ──────────────────────────── */
.rs-cta-section {
    background: linear-gradient(135deg, #0d47a1 0%, #1a73e8 100%);
    color: #fff;
    text-align: center;
    padding: 72px 0;
}

.rs-cta-section__title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 900;
    margin: 0 0 16px;
}

.rs-cta-section__desc {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.8;
    margin: 0 0 36px;
}

.rs-cta-section .rs-cta-btn {
    font-size: 1.1rem;
    padding: 18px 48px;
}

/* ── レスポンシブ ────────────────────────────── */
@media (max-width: 768px) {
    .rs-hero {
        padding: 40px 0 36px;
    }

    .rs-section {
        padding: 48px 0;
    }

    .rs-hero__badges {
        gap: 8px;
    }

    .rs-hero__badge {
        font-size: 0.82rem;
        padding: 7px 14px;
    }

    .rs-guide-card {
        max-width: 100%;
    }

    .rs-steps__item {
        padding: 16px 16px;
        gap: 14px;
    }

    .rs-calendar-frame iframe {
        height: 700px;
    }

    .rs-cta-section .rs-cta-btn {
        width: 80%;
        justify-content: center;
        padding: 16px 24px;
    }
}

@media (max-width: 480px) {
    .rs-section {
        padding: 40px 0;
    }

    .rs-calendar-frame iframe {
        height: 1000px;
    }
}
