/* CTA Section Text Fix */
.cta-section {
    color: white !important;
}

.cta-title,
.cta-description {
    color: white !important;
}

.cta-section .btn-primary {
    background: white !important;
    color: #1e3a8a !important;
    border: none !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    padding: 18px 40px !important;
    box-shadow: 
        0 8px 25px rgba(255, 255, 255, 0.5),
        0 15px 40px rgba(0, 0, 0, 0.2) !important;
    transform: translateY(-5px) !important;
    transition: all 0.3s ease !important;
}

.cta-section .btn-primary:hover {
    background: #ffffff !important;
    transform: translateY(-8px) !important;
    box-shadow: 
        0 12px 35px rgba(255, 255, 255, 0.6),
        0 20px 50px rgba(0, 0, 0, 0.25) !important;
}

.cta-section .btn-primary i {
    color: #f97316 !important;
    font-size: 20px !important;
}

/* Reasons Section Styling */
.reasons-section {
    padding: 80px 20px;
    background: linear-gradient(to bottom, #f9fafb 0%, #ffffff 100%);
}

/* 選ばれる理由セクションのコンテナに左右40px余白を強制 */
.reasons-section .container {
    padding-left: 40px !important;
    padding-right: 40px !important;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.reason-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reason-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.reason-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 48px;
    font-weight: 900;
    color: #d1d5db;
    opacity: 1;
}

.reason-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #fcd34d 0%, #f97316 50%, #c2410c 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.reason-icon i {
    font-size: 36px;
    color: white;
}

.reason-title {
    font-size: 22px;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 15px;
    line-height: 1.4;
}

.reason-description {
    font-size: 15px;
    line-height: 1.8;
    color: #606366;
    margin-bottom: 20px;
}

.reason-highlight {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(249, 115, 22, 0.05));
    border-left: 4px solid #f97316;
    border-radius: 8px;
}

.reason-highlight i {
    color: #f97316;
    font-size: 18px;
}

.reason-highlight span {
    font-weight: 600;
    color: #1e3a8a;
}

/* Footer Styling */
.footer {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
    padding: 60px 20px 30px;
    border-top: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

.footer-logo-image {
    height: auto;
    width: 100%;
    max-width: 350px;
    margin-bottom: 15px;
    background: transparent;
}

.footer-company-name {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.footer-company-info {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    margin-top: 0;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

/* モバイル：適度な間隔に最適化 */
@media (max-width: 768px) {
    .footer-links li,
    .footer-contact li {
        margin-bottom: 5px !important;
    }
    
    .footer-links a,
    .footer-contact a {
        font-size: 13px !important;
        line-height: 1.4 !important;
    }
    
    .footer-links h4,
    .footer-contact h4 {
        margin-bottom: 10px !important;
    }
}

.footer-links a:hover {
    color: #fbbf24;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-phone {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    background: transparent;
}

.footer-phone i {
    font-size: 24px;
    color: #fbbf24;
}

.footer-phone-label {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
}

.footer-phone-number {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-phone-number:hover {
    color: #fbbf24;
}

.footer-cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 25px;
    background: linear-gradient(135deg, #fcd34d 0%, #f97316 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-cta-button:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #ea580c 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}

@media (max-width: 768px) {
    .reasons-section .container {
        padding-left: 40px !important;
        padding-right: 40px !important;
    }
    
    .reasons-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-logo-image {
        width: 150px;
    }
}
