@import url('/css/variables.css');

/* ============================================================
   遊休ロボット 活用・お預かり 登録受付ページ
   プレフィックス: rsh-
   ============================================================ */

/* ステータスバッジ */
/* DESIGN-GUIDE §8: 左帯アクセント禁止。区別は見出し色・ステータスバッジで行う */

.rsh-status-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fffbeb;
    border: 1px solid var(--warning-color);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    margin-top: 20px;
}

.rsh-status-label {
    font-size: 13px;
    font-weight: 600;
    color: #92400e;
    white-space: nowrap;
}

.rsh-status-text {
    font-size: 14px;
    font-weight: 700;
    color: #92400e;
}

/* 対象機種グリッド */
.rsh-robot-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 24px 0;
}

.rsh-robot-card {
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: 20px 16px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.rsh-robot-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: var(--primary-color);
}

.rsh-icon-serving {
    background-color: #0668E1;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.5 3H6a5 5 0 0 0-5 5v7a5 5 0 0 0 5 5h12.5A5.5 5.5 0 0 0 24 14.5V8.5A5.5 5.5 0 0 0 18.5 3zM22 14.5a3.5 3.5 0 0 1-3.5 3.5H6a3 3 0 0 1-3-3V8a3 3 0 0 1 3-3h12.5A3.5 3.5 0 0 1 22 8.5v6zM8 12a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm8 0a2 2 0 1 0 0-4 2 2 0 0 0 0 4z'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.5 3H6a5 5 0 0 0-5 5v7a5 5 0 0 0 5 5h12.5A5.5 5.5 0 0 0 24 14.5V8.5A5.5 5.5 0 0 0 18.5 3zM22 14.5a3.5 3.5 0 0 1-3.5 3.5H6a3 3 0 0 1-3-3V8a3 3 0 0 1 3-3h12.5A3.5 3.5 0 0 1 22 8.5v6zM8 12a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm8 0a2 2 0 1 0 0-4 2 2 0 0 0 0 4z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.rsh-icon-cleaning {
    background-color: #10b981;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3C/svg%3E") center/contain no-repeat;
}

.rsh-icon-drone {
    background-color: #6366f1;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 8.5a3.5 3.5 0 1 0 0 7 3.5 3.5 0 0 0 0-7zM4 4h3l2 2H4V4zm13 0h3v2h-5l2-2zM4 20v-2h5l-2 2H4zm13 2l-2-2h5v2h-3z'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 8.5a3.5 3.5 0 1 0 0 7 3.5 3.5 0 0 0 0-7zM4 4h3l2 2H4V4zm13 0h3v2h-5l2-2zM4 20v-2h5l-2 2H4zm13 2l-2-2h5v2h-3z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.rsh-icon-humanoid {
    background-color: #f59e0b;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='4' r='2'/%3E%3Cpath d='M10 9h4l2 5h-2l-1-2v8h-2v-8l-1 2H8l2-5z'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='4' r='2'/%3E%3Cpath d='M10 9h4l2 5h-2l-1-2v8h-2v-8l-1 2H8l2-5z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.rsh-robot-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.rsh-robot-desc {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 利用の流れ（3ステップ） */
.rsh-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 24px 0;
    position: relative;
}

.rsh-steps::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 48px;
    bottom: 48px;
    width: 2px;
    background: var(--border-color);
}

.rsh-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px 0;
}

.rsh-step-number {
    background: var(--primary-color);
    color: white;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.rsh-step-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.rsh-step-content p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 15px;
}

/* 注意事項リスト */
.rsh-caution-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 24px 0;
}

.rsh-caution-item {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: var(--radius-md);
    padding: 20px 24px;
}

.rsh-caution-title {
    font-size: 16px;
    font-weight: 700;
    color: #9a3412;
    margin-bottom: 8px;
}

.rsh-caution-item p {
    font-size: 14px;
    color: #7c2d12;
    line-height: 1.7;
    margin: 0;
}

/* CTA セクション */
.rsh-cta-section {
    background: var(--bg-tertiary);
    border: 2px solid var(--primary-color);
}

.rsh-cta-buttons {
    margin: 20px 0 12px;
}

.rsh-cta-note {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

/* レスポンシブ */
@media (max-width: 992px) {
    .rsh-robot-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .rsh-robot-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .rsh-status-badge {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .rsh-steps::before {
        display: none;
    }

    .rsh-step {
        flex-direction: column;
        gap: 10px;
    }
}
