/* ==========================================================================
   CSS Variables & Resets
   ========================================================================== */
:root {
    /* Colors */
    --primary-color: #0d47a1;
    /* Clean Blue */
    --primary-hover: #1565c0;
    --secondary-color: #00bfa5;
    /* Emerald Green */
    --text-main: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --border-green: #84c7bc;

    /* Typography */
    --font-family: 'Inter', 'Noto Sans JP', sans-serif;

    /* Spacing */
    --section-padding: 80px 0;

    /* Transitions */
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

main {
    position: relative;
}

.scroll-top {
    position: fixed;
    right: 24px;
    bottom: 15px;
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, right 0.25s ease, bottom 0.25s ease;
    z-index: 1100;
}

.scroll-top i {
    font-size: 1.2rem;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top.absolute {
    position: absolute;
    bottom: 24px;
}

.scroll-top:hover {
    transform: translateY(-2px);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.bg-light {
    background-color: var(--bg-light);
}
.bg-secondary {
    background-color: var(--secondary-color);
}

.section-padding {
    padding: var(--section-padding);
}

.text-center {
    text-align: center;
}

/* utility */
.sp_only {
    display: none;
}
@media (max-width: 768px) {
    .sp_only {
        display: inline;
    }
}

/* ==========================================================================
   Typography & Titles
   ========================================================================== */
.section-header {
    margin-bottom: 50px;
}

.section-subtitle {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.bg-secondary .section-subtitle {
    color: var(--white);
}

.bg-secondary .section-title::after {
    background-color: var(--white);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: var(--white);
}

.btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 4%;
    height: 100px;
}

.header-logo a {
    display: flex;
    flex-direction: column;
}

.logo-subtext {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 2px;
}

.logo-main {
    font-size: 2rem;
    font-weight: 900;
    color: var(--secondary-color);
    letter-spacing: 1px;
    line-height: 1;
}

.logo-prefix {
    font-size: 0.7em;
    margin-right: 4px;
    font-weight: 700;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.header-top {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 5px;
}

.header-contact {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.header-contact i {
    color: var(--secondary-color);
}

.header-buttons {
    display: flex;
    gap: 10px;
}

.header-nav ul {
    display: flex;
    gap: 24px;
}

.header-nav a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    position: relative;
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.header-nav a:hover::after {
    width: 100%;
}

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    position: relative;
    z-index: 1005;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    padding: 100px 20px 40px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 1002;
    overflow-y: auto;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav a {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-contact-info {
    margin-top: 20px;
    border: none;
}

.mobile-contact-info p {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 15px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/mv2_v2.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}
@media screen and (max-width: 768px) {
    .hero-bg {
        background-position: 77% 0;
    }
    
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    max-width: 650px;
}

.hero-subtext {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-main);
    line-height: 1.2;
    margin-bottom: 30px;
}

.hero-title span {
    color: var(--primary-color);
}

.hero-features {
    margin-bottom: 30px;
}

.feature-lead {
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.feature-cards {
    display: flex;
    gap: 15px;
}

.feature-card {
    flex: 1;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 20px 10px;
    text-align: left;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.5;
    gap: 8px;
}

.feature-card i {
    color: var(--secondary-color);
    font-size: 1.6rem;
}

.hero-cta .btn {
    gap: 10px;
}

/* ==========================================================================
   Pain Points
   ========================================================================== */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.pain-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-top: 3px solid var(--border-color);
}

.pain-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.pain-icon {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 20px;
    transition: var(--transition);
}

.pain-card:hover .pain-icon {
    color: var(--primary-color);
}

.pain-card p {
    font-weight: 600;
}

.pain-solution h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.solution-arrow {
    font-size: 2rem;
    color: var(--secondary-color);
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-15px);
    }

    60% {
        transform: translateY(-7px);
    }
}

/* ==========================================================================
   Why Us
   ========================================================================== */
.reason-item {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
}

/* Decorative triangle in the top corner */
.reason-item {
    position: relative;
    overflow: visible;
    --triangle-size: 70px;
}

.reason-item > * {
    position: relative;
    z-index: 1;
}

.reason-item::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 100%;
    height: 5px;
    background-color: var(--secondary-color);
    z-index: 1;
    border-radius: 5px;
}

.reason-item:last-child {
    margin-bottom: 0;
}

.reason-item:last-child::after {
    display: none;
}

.reason-item.reverse {
    flex-direction: row-reverse;
}

.reason-image {
    flex: 1;
}

.placeholder-img {
    background-color: var(--bg-light);
    height: 300px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.2rem;
    border: 2px dashed var(--border-color);
}

.placeholder-img i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    opacity: 0.5;
}

.reason-content {
    flex: 1;
}

.reason-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--secondary-color);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: -20px;
}

.reason-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.reason-desc {
    font-size: 1.05rem;
    color: var(--text-main);
}

/* ==========================================================================
   Case Studies
   ========================================================================== */
.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.case-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-green);
}

.case-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 20px;
}

.case-header h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.case-lead {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 15px;
    border-radius: 4px;
    display: inline-block;
}

.case-image-placeholder {
    background-color: #e0e0e0;
    color: #888888;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-top: 20px;
    border-radius: 6px;
}

.case-body {
    padding: 25px 20px;
}

.case-block {
    margin-bottom: 20px;
}

.case-block:last-child {
    margin-bottom: 0;
}

.case-label {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--white);
}

.case-label.issue {
    background-color: #f44336;
}

.case-label.proposal {
    background-color: var(--secondary-color);
}

.case-label.comment {
    background-color: #ff9800;
}

.case-block p {
    font-size: 0.95rem;
    background-color: var(--bg-light);
    padding: 15px;
    border-radius: 4px;
}

/* ==========================================================================
   Services
   ========================================================================== */
.service-intro-card {
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 10px 30px rgba(13, 71, 161, 0.08);
    margin-bottom: 40px;
}

.service-subsection-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 24px;
    text-align: center;
}

.service-intro-content {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 32px;
    align-items: center;
}

.service-intro-text p {
    margin-bottom: 14px;
    font-size: 1rem;
    color: var(--text-main);
}

.service-intro-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(180px, 1fr));
    gap: 24px;
    justify-content: center;
    max-width: 1180px;
    margin: 0 auto;
    margin-bottom: 60px;
}
.service-grid:last-child {
    margin-bottom: 0;
}

.service-card {
    background: var(--white);
    padding: 32px 10px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    flex-shrink: 0;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.service-card h4 {
    font-size: 1.1rem;
    line-height: 1.5;
    color: var(--primary-color);
}

@media (max-width: 1024px) {
    .service-intro-content {
        grid-template-columns: 1fr;
    }

    .service-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-grid>.service-card:last-child {
        grid-column: 1 / -1;
        justify-self: center;
    }
}

@media (max-width: 480px) {
    .service-intro-card {
        padding: 24px 20px;
    }

    .service-card {
        min-height: 200px;
        padding: 24px 16px;
    }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border-left: 10px solid var(--secondary-color);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 25px;
    background: transparent;
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(13, 71, 161, 0.02);
}

.faq-question i {
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 25px 25px;
    color: var(--text-main);
}

/* ==========================================================================
   Company Profile
   ========================================================================== */
.company-greeting-full {
    max-width: 900px;
    margin: 0 auto 60px;
}

.company-greeting-full p {
    font-size: 1.05rem;
    line-height: 1.8;
}

.company-greeting-full .signature {
    margin-top: 30px;
    font-weight: 700;
    text-align: right;
    font-size: 1.2rem;
    line-height: 1.6;
}

.company-content-split {
    display: flex;
    gap: 50px;
    align-items: stretch;
}

.company-info-col {
    flex: 1;
}

.company-info-col h3 {
    font-size: 2.2rem;
    color: var(--text-main);
    margin-bottom: 30px;
}

.company-map-col {
    flex: 1;
    min-height: 400px;
}

.company-map-col iframe {
    width: 100%;
    height: 100%;
    min-height: 450px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 2px solid var(--border-color);
}

.company-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.company-table th,
.company-table td {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
    vertical-align: top;
    word-break: break-all;
    overflow-wrap: break-word;
}

.company-table th {
    width: 30%;
    background-color: var(--bg-light);
    font-weight: 700;
    color: var(--primary-color);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta {
    position: relative;
    padding: 100px 0;
    color: var(--white);
    overflow: hidden;
    text-align: left;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/contact_bg.png');
    background-size: cover;
    background-position: center;
    filter: blur(12px);
    transform: scale(1.03);
    z-index: 1;
}

.cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(2, 25, 67, 0.75);
    z-index: 2;
}

.cta-inner {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr);
    gap: 40px;
    align-items: center;
}

.cta-content {
    width: 100%;
}

.cta-title {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-title span {
    color: var(--secondary-color);
    display: block;
    margin-top: 10px;
    font-size: 2.8rem;
}

.cta-desc {
    font-size: 1.25rem;
    margin-bottom: 30px;
    max-width: 560px;
}

@media (max-width: 1310px) {
    .cta-title {
        font-size: 3.4vw;
    }
    .cta-title span {
        font-size: 3.4vw;
    }
}
@media (max-width: 1080px) {
    .cta-title {
        font-size: 3.3vw;
    }
    .cta-title span {
        font-size: 3.3vw;
    }
}
@media (max-width: 1024px) {
    .cta-title,
    .cta-desc {
        text-align: center;
        width: 100%;
        max-width: 100%;
    }
}



.cta-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    padding: 35px 30px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(16px);
}

.cta-banner {
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    padding: 24px 10px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 35px;
    line-height: 1.5;
    text-align: center;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.btn-cta {
    background-color: #ff9800;
    color: var(--white);
    padding: 18px 42px;
    font-size: 1.5rem;
    border-radius: 999px;
    border: none;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
    animation: pulse 2.5s infinite;
    text-align: center;
}

.btn-cta p {
    margin-bottom: -4px;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 900;
}

.btn-cta:hover {
    background-color: #f57c00;
    transform: translateY(-2px);
}

.btn-cta .btn-cta_phone-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: var(--white);
    margin-top: 5px;
}
.btn-cta .btn-cta_phone-number i {
    display: inline-block;
    padding-right: 8px;
}

.cta-email {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 20px 22px;
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
}

.cta-email_text {
    font-size: 1.25rem;
    font-weight: 900;
}


@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 152, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 152, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 152, 0, 0);
    }
}

@media (max-width: 1024px) {
    .cta-inner {
        grid-template-columns: 1fr;
    }

    .cta-card {
        padding: 30px 25px;
    }
}

@media (max-width: 768px) {
    .cta {
        padding: 60px 0;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-title span {
        font-size: 2rem;
    }

    .cta-desc {
        font-size: 1.05rem;
    }

    .cta-banner {
        font-size: 1rem;
    }

    .btn-cta {
        width: 100%;
        justify-content: center;
    }

    .phone-number {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .cta-title {
        font-size: 8vw;
    }

    .cta-title span {
        font-size: 8vw;
    }

    .cta-desc {
        font-size: 4.1vw;
    }

    .cta-banner {
        font-size: 4vw;
    }
    .btn-cta p {
        font-size: 5vw;
    }
    .btn-cta .btn-cta_phone-number {
        font-size: 6.7vw;
    }

    .cta-email {
        padding: 20px 12px;
    }

    .cta-email_text {
        font-size: 5.2vw;
    }

}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: #1a1a1a;
    color: #e0e0e0;
    padding: 60px 0 20px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-logo {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-info p {
    margin-bottom: 10px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #bdbdbd;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
    .header-container {
        height: 70px;
    }

    .header-right {
        display: none;
        /* Hide desktop nav and top header */
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .company-content-split {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 50px 0;
    }

    .logo-subtext {
        font-size: 0.65rem;
    }

    .hero {
        padding-top: 160px;
    }

    .hero-overlay {
        background: rgba(255, 255, 255, 0.85);
        /* More opaque for readability on mobile */
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtext {
        font-size: 1rem;
    }

    .feature-cards {
        flex-direction: row;
        gap: 10px;
    }

    .feature-card {
        flex-direction: column;
        gap: 8px;
    }

    .reason-item,
    .reason-item.reverse {
        flex-direction: column;
        gap: 30px;
    }

    .reason-number {
        font-size: 3rem;
    }

    .reason-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .cta-title {
        font-size: 1.6rem;
    }

    .cta-title span {
        font-size: 1.8rem;
    }

    .btn-cta {
        padding: 15px 30px;
        font-size: 1.2rem;
        width: 100%;
    }

    .phone-number {
        font-size: 2rem;
    }

    .company-table th,
    .company-table td {
        display: block;
        width: 100%;
    }

    .company-table th {
        border-bottom: none;
        padding-bottom: 5px;
    }

    .company-table td {
        padding-top: 5px;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-grid>.service-card:nth-child(n) {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 6.4vw;
    }

    .cta-title {
        font-size: 6.2vw;
    }

    .cta-title span {
        font-size: 6.4vw;
    }

    .pain-grid,
    .case-grid {
        grid-template-columns: 1fr;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-grid>.service-card:nth-child(n) {
        grid-column: span 1;
    }
}

.sp-fix-cta {
    display: none;
}

@media (max-width: 768px) {
    .sp-fix-cta {
        display: block;
        position: fixed;
        left: 7%;
        bottom: 16px;
        transform: translateX(-50%);
        z-index: 1200;
        width: calc(100% - 152px);
        max-width: 420px;
    }

    .sp-fix-cta a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 14px 18px;
        border-radius: 999px;
        background-color: #ff9800;
        color: #ffffff;
        font-weight: 700;
        font-size: 1rem;
        box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
    }

    .sp-fix-cta a i {
        margin-right: 10px;
        font-size: 1.1rem;
    }
}

