/* ==========================================
   Asset Lab シミュレーター専用スタイル
   ========================================== */
.al-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.chart-container {
    position: relative;
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    height: 320px;
}
@media (min-width: 768px) {
    .chart-container { height: 360px; }
}
.step-container { display: none !important; }
.step-container.active {
    display: block !important;
    animation: alFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes alFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.radio-card input[type="radio"] { display: none; }
.radio-card label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    background-color: #ffffff;
}
.radio-card label:hover {
    border-color: #93c5fd;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}
.radio-card input[type="radio"]:checked + label {
    border-color: #1e3a8a;
    background-color: #eff6ff;
    box-shadow: 0 4px 14px rgba(30, 58, 138, 0.12);
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* クイック選択ボタンスタイル */
.quick-btn {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-weight: 700;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
    cursor: pointer !important;
    pointer-events: auto !important;
}
.quick-btn:hover {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
}
.quick-btn.selected {
    background-color: #1e3a8a !important;
    border-color: #1e3a8a !important;
    color: #ffffff !important;
}

/* 処方箋タスクカードスタイル */
.al-task-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.875rem;
    overflow: hidden;
    transition: all 0.25s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}
.al-task-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 16px -2px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

/* 最優先No.1特大カード */
.al-priority-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid #d97706;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

/* 下部コンテンツ用スタイル */
.am-bottom-content { max-width: 896px; margin: 0 auto; padding: 0 16px 40px 16px; }
.am-section-title { font-size: 1.35rem; font-weight: 800; color: #0f172a; margin: 40px 0 20px 0; border-bottom: 2px solid #e2e8f0; padding-bottom: 8px; letter-spacing: -0.01em; }
.am-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 50px; }
.am-feature-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px; box-shadow: 0 2px 4px rgba(0,0,0,0.04); }
.am-icon-wrap { width: 44px; height: 44px; border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.am-feature-title { font-size: 0.95rem; font-weight: 700; color: #1e293b; margin-bottom: 6px; }
.am-feature-desc { font-size: 0.82rem; color: #64748b; line-height: 1.5; margin: 0; }

.am-articles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 50px; }
.am-article-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit; transition: all 0.3s ease; display: flex; flex-direction: column; }
.am-article-card:hover { box-shadow: 0 10px 18px -3px rgba(0,0,0,0.1); transform: translateY(-3px); }
.am-article-thumb { height: 160px; background-color: #0f172a; position: relative; overflow: hidden; }
.am-article-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.am-article-card:hover .am-article-thumb img { transform: scale(1.05); }
.am-thumb-category { position: absolute; top: 10px; left: 10px; color: #fff; font-size: 0.7rem; font-weight: 700; padding: 3px 8px; border-radius: 4px; z-index: 2; }
.am-article-body { padding: 16px; display: flex; flex-direction: column; flex-grow: 1; }
.am-article-title { font-size: 0.95rem; font-weight: 700; color: #0f172a; line-height: 1.4; margin: 0 0 6px 0; }
.am-article-desc { font-size: 0.8rem; color: #64748b; margin: 0; flex-grow: 1; line-height: 1.5; }

@media (max-width: 640px) {
    .am-features { grid-template-columns: 1fr; }
    .am-articles { grid-template-columns: 1fr; }
}
