.hwsd-diagnosis {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333;
    border: 1px solid #eef2f6;
    position: relative;
}

.hwsd-intro {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.hwsd-is-intro {
    padding-top: 50px;
    padding-bottom: 50px;
}

.hwsd-is-intro .hwsd-intro {
    border-bottom: none;
    margin-bottom: 40px;
}

.hwsd-is-intro .hwsd-intro h1 {
    font-size: 1.8rem;
    color: #1a365d;
    margin-bottom: 20px;
}

.hwsd-is-intro .hwsd-intro p {
    font-size: 1.1rem;
    color: #4a5568;
    max-width: 450px;
    margin: 0 auto;
}

.hwsd-is-intro .hwsd-navigation {
    justify-content: center;
    margin-top: 10px;
}

.hwsd-start-btn {
    background: #f56565 !important;
    font-size: 1.3rem !important;
    padding: 18px 60px !important;
    border-radius: 50px !important;
    box-shadow: 0 10px 25px rgba(245, 101, 101, 0.4) !important;
    margin: 0 auto !important;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.hwsd-is-intro #hwsd-progress-bar {
    display: none;
}

.hwsd-intro h1 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.hwsd-intro p {
    font-size: 0.95rem;
    color: #718096;
    line-height: 1.6;
    margin: 0;
}

.hwsd-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #ebf8ff;
    color: #3182ce;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.hwsd-diagnosis h2 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: #2d3748;
    text-align: left;
    display: flex;
    align-items: center;
}

.hwsd-diagnosis h2::before {
    content: "Q";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #4299e1;
    color: #fff;
    border-radius: 50%;
    margin-right: 12px;
    font-size: 0.9rem;
}

.hwsd-question-item {
    margin-bottom: 25px;
    animation: fadeIn 0.5s ease;
}

.hwsd-option {
    display: block;
    padding: 15px 20px;
    margin-bottom: 12px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hwsd-option:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
}

.hwsd-option.selected {
    background: #ebf8ff;
    border-color: #4299e1;
    color: #2b6cb0;
}

.hwsd-input-group {
    margin-bottom: 15px;
}

.hwsd-input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 0.9rem;
}

.hwsd-input-group input,
.hwsd-input-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 1rem;
    font-family: inherit;
}

.hwsd-input-group textarea {
    resize: vertical;
}

.hwsd-navigation {
    display: flex !important;
    justify-content: space-between;
    margin-top: 30px;
    gap: 15px;
    clear: both;
}

.hwsd-navigation button {
    display: inline-block !important;
    flex: 1;
    padding: 18px 25px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    line-height: 1;
    text-align: center;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

#hwsd-next {
    background: #0073aa !important;
    color: #ffffff !important;
}

#hwsd-next:hover {
    background: #005177 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,115,170,0.2);
}

#hwsd-prev {
    background: #ffffff !important;
    color: #4a5568 !important;
    border: 2px solid #e2e8f0 !important;
}

#hwsd-prev:hover {
    background: #f8fafc !important;
    border-color: #cbd5e0 !important;
}

.hwsd-start-btn {
    flex: 0 1 auto !important;
    min-width: 280px;
    background: #f56565 !important;
    color: #ffffff !important;
    font-size: 1.3rem !important;
    padding: 20px 40px !important;
    border-radius: 50px !important;
    box-shadow: 0 10px 20px rgba(245, 101, 101, 0.3) !important;
    margin: 0 auto !important;
}

#hwsd-progress-bar {
    height: 6px;
    background: #edf2f7;
    border-radius: 3px;
    margin-top: 25px;
    overflow: hidden;
}

#hwsd-progress-inner {
    height: 100%;
    background: #4299e1;
    width: 0;
    transition: width 0.3s ease;
}

.hwsd-promo-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #bae6fd;
    margin-bottom: 10px;
}

.hwsd-promo-lead {
    font-weight: bold;
    color: #0369a1;
    font-size: 1.1rem;
    margin-bottom: 15px !important;
}

.hwsd-promo-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
}

.hwsd-promo-list li {
    margin-bottom: 10px !important;
    font-size: 0.95rem;
    color: #334155;
}

.hwsd-promo-footer {
    font-size: 0.9rem;
    color: #64748b;
    font-style: italic;
    margin: 0 !important;
}

.hwsd-result-box {
    text-align: center;
}

.hwsd-cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #f56565;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(245, 101, 101, 0.3);
}

.hwsd-cta-button:hover {
    background: #e53e3e;
    color: #fff;
}
