/* Button Components */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
}

.btn-primary {
    background: #2471a3; /* より濃い青色でコントラスト比を改善 - WCAG AA対応 */
    color: white;
}

.btn-primary:hover {
    background: #1a5276; /* さらに濃い色でhover時もコントラスト比を維持 */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(36, 113, 163, 0.25);
}

.btn-outline {
    background: transparent;
    color: #2471a3; /* より濃い青色でコントラスト比を改善 - WCAG AA対応 */
    border: 2px solid #2471a3;
}

.btn-outline:hover {
    background: #2471a3; /* より濃い青色でコントラスト比を改善 */
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(36, 113, 163, 0.2);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-white:hover {
    background: white;
    color: #1a2b3c;
}

.btn-text {
    background: none;
    color: #2471a3; /* より濃い青色でコントラスト比を改善 - WCAG AA対応 */
    padding: 0;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-text:hover {
    color: #1a5276; /* hover時も適切なコントラスト比を維持 */
}

.arrow {
    transition: transform 0.3s ease;
}

.btn-text:hover .arrow {
    transform: translateX(5px);
}

/* CTA Button */
.c-btn {
    text-align: center;
}

.c-btn-anchor {
    background: #1a2b3c;
    color: white !important;
    display: inline-block;
    font-weight: bold;
    padding: 15px 20px;
    text-decoration: none;
    transition: 0.2s;
    max-width: 500px;
    width: 280px;
    border-radius: 4px;
}

.c-btn-anchor:hover {
    background: #2471a3; /* より濃い青色でコントラスト比を改善 - WCAG AA対応 */
}

/* Responsive Design */
@media (max-width: 768px) {
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .c-btn-anchor {
        width: 90%;
    }
}

@media (min-width: 768px) {
    .c-btn-anchor {
        width: 35%;
    }
}