.result-card {
    transition: all 0.3s ease;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.result-card.show {
    opacity: 1;
    height: auto;
    padding: 1.25rem;
}

.bg-custom {
    background-color: #f0f7ff;
}

/* 入力フォームのスタイリング */
.form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* 結果表示のアニメーション */
@keyframes highlight {
    0% {
        background-color: rgba(25, 135, 84, 0.1);
    }

    100% {
        background-color: transparent;
    }
}

#resultCard .card-body {
    animation: highlight 1.5s ease-out;
}

/* 入力部分の色付け */
.input-active {
    background-color: #f8fffa;
}

.header-container {
    text-align: left;
}

/* タイトルのスタイリング */
h1.h2 {
    font-weight: 600;
    color: #1a2a4a;
}

.text-muted {
    color: #5d7599 !important;
    font-size: 0.95rem;
    margin: 0;
}

/* カードのスタイリング強化 */
.card {
    border: none;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.05) !important;
    border-radius: 0.8rem;
    overflow: hidden;
}

.card-header {
    border-bottom: none;
    padding: 1rem 1.5rem;
}

/* レスポンシブ調整 */
@media (max-width: 576px) {
    .card-body {
        padding: 1rem;
    }

    h4 {
        font-size: 1.4rem;
    }
}
