/* =========================================================
   Base
========================================================= */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans JP", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Utility spacing adjustments */
section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

@media (min-width: 768px) {
    section {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
}

/* =========================================================
   Navbar
========================================================= */

.navbar-brand img {
    height: 40px;
}

.nav-link {
    color: #0a2c4d;
    font-weight: 500;
}

    .nav-link:hover {
        color: #005f91;
    }

/* =========================================================
   Hero Section
========================================================= */
.hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

    /* Optional: subtle darkening if needed */
    /*
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 25, 60, 0.3);
}
*/

    .hero h1,
    .hero p {
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    }

    /* Bottom wave clip (already handled by SVG but ensure no overlap) */
    .hero svg {
        display: block;
        line-height: 0;
    }


/* =========================================================
   Feature / Technology / Workflow Cards
========================================================= */
.feature-card,
.tech-card,
.workflow-card {
    padding: 2rem 1.5rem;
    border-radius: 12px;
    transition: background 0.2s ease, transform 0.2s ease;
}

    .feature-card:hover,
    .tech-card:hover,
    .workflow-card:hover {
        background: #f8f9fa;
        transform: translateY(-2px);
    }

/* =========================================================
   Icons
========================================================= */
.bi {
    line-height: 1;
}

/* Blue brand color */
.text-primary {
    color: #005f91 !important;
}


/* =========================================================
   CTA Section
========================================================= */
.cta {
    background: linear-gradient(135deg, #005f91 0%, #003f6f 100%);
    color: #fff;
}

    .cta h2,
    .cta p {
        color: #fff;
    }

/* =========================================================
   Contact Form
========================================================= */
form .form-control {
    border-radius: 6px;
    padding: 0.6rem 0.75rem;
}

form textarea.form-control {
    resize: vertical;
}

/* =========================================================
   Footer
========================================================= */
footer {
    font-size: 0.9rem;
}

    footer p {
        margin-bottom: 0.25rem;
    }

/* =========================================================
   Smooth Scroll
========================================================= */
html {
    scroll-behavior: smooth;
}

/* ==========================================
   FORTH のデザイン方針：角丸ゼロ
========================================== */
* {
    border-radius: 0 !important;
}

/* 特に頻度が高い要素 */
.btn,
.form-control,
textarea,
.card,
section .p-3,
section .p-4 {
    border-radius: 0 !important;
}

    /* ホバー時も丸くならない */
    .btn:hover,
    .form-control:focus {
        border-radius: 0 !important;
    }

/* 角丸なしカードのホバー */
.feature-card,
.tech-card,
.workflow-card {
    border-radius: 0 !important;
    transition: background 0.2s ease, transform 0.15s ease;
}

    .feature-card:hover,
    .tech-card:hover,
    .workflow-card:hover {
        background: #f7f7f7;
        transform: translateY(-2px);
    }
