* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #f0f4f8;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.header {
    text-align: center;
    color: white;
    margin-bottom: 40px;
    animation: fadeInDown 0.6s ease;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    color: #2d3748;
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    color: #4a5568;
}

.search-section {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    margin-bottom: 30px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.search-box {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

#stationInput {
    flex: 1;
    padding: 15px 20px;
    font-size: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

#stationInput:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.btn-primary {
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: #4a90e2;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(74, 144, 226, 0.4);
    background: #357abd;
}

.btn-primary:active {
    transform: translateY(0);
}

.current-time {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    font-weight: 500;
}

#currentTime {
    color: #4a90e2;
    font-weight: 700;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.info-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.6s ease both;
    transition: transform 0.3s ease;
}

.info-card:nth-child(1) { animation-delay: 0.3s; }
.info-card:nth-child(2) { animation-delay: 0.4s; }
.info-card:nth-child(3) { animation-delay: 0.5s; }

.info-card:hover {
    transform: translateY(-5px);
}

.info-card h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.time-info {
    color: #555;
    line-height: 1.8;
}

.time-info strong {
    color: #4a90e2;
}

.time-info small {
    color: #999;
    font-size: 0.85rem;
}

.results-section {
    animation: fadeInUp 0.6s ease 0.6s both;
}

.bank-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.bank-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.bank-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.bank-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
}

.bank-name.ufj {
    color: #e63946;
}

.bank-name.smbc {
    color: #00a651;
}

.bank-name.mizuho {
    color: #0077be;
}

.bank-name.resona {
    color: #ff6b35;
}

.bank-name.yucho {
    color: #2a9d8f;
}

.bank-name.smtb {
    color: #7209b7;
}

.bank-name.yokohama {
    color: #1e88e5;
}

.bank-name.chiba {
    color: #d81b60;
}

.bank-name.kyoto {
    color: #6a4c93;
}

.status-badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.status-open {
    background: #10b981;
    color: white;
}

.status-closed {
    background: #ef4444;
    color: white;
}

.bank-details {
    color: #666;
    line-height: 1.8;
}

.bank-details strong {
    color: #333;
}

.no-results {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 12px;
    color: #666;
}

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

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

@media (max-width: 768px) {
    .header h1 {
        font-size: 1.8rem;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
}