/* 姓名判断プラグイン スタイル */
#seimei-handan-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    color: #fff;
    font-family: 'Hiragino Sans', 'Yu Gothic', sans-serif;
}

.seimei-header {
    text-align: center;
    margin-bottom: 30px;
}

.seimei-header h2 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.seimei-header p {
    font-size: 16px;
    opacity: 0.9;
    margin: 0;
}

#seimei-form {
    background: rgba(255,255,255,0.1);
    padding: 25px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 16px;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    background: rgba(255,255,255,0.9);
    color: #333;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    background: #fff;
    box-shadow: 0 0 15px rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.diagnosis-btn, .consultation-btn {
    background: linear-gradient(45deg, #ff6b6b, #ee5a52);
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 5px 15px rgba(238, 90, 82, 0.4);
}

.diagnosis-btn:hover, .consultation-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(238, 90, 82, 0.6);
}

#diagnosis-result {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-section {
    background: rgba(255,255,255,0.1);
    padding: 25px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.result-section h3 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.result-item {
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    border-left: 4px solid #ffd700;
}

.result-item h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #ffd700;
}

.star-rating {
    margin-bottom: 15px;
}

.star {
    color: #ffd700;
    font-size: 24px;
    margin-right: 5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.star.empty {
    color: rgba(255,215,0,0.3);
}

.result-text {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    color: rgba(255,255,255,0.95);
}

.consultation-section {
    text-align: center;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid rgba(255,255,255,0.2);
}

.consultation-btn {
    background: linear-gradient(45deg, #4ecdc4, #44a08d);
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.4);
    margin-top: 10px;
}

.consultation-btn:hover {
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.6);
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    #seimei-handan-container {
        margin: 10px;
        padding: 20px;
    }

    .seimei-header h2 {
        font-size: 24px;
    }

    #seimei-form {
        padding: 20px;
    }

    .result-section {
        padding: 20px;
    }

    .result-item {
        padding: 15px;
    }
}

/* ローディングアニメーション */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}