/*********************************/
/* HERO */
/*********************************/

.service-hero {
    height: 420px;
    background: linear-gradient( rgba(255,255,255,.70), rgba(255,255,255,.70) ), url("assets/yokohama.png");
    background-size: cover;
    background-position: center;
    position: relative;
}


.breadcrumb {
    max-width: 1200px;
    margin: auto;
    padding: 30px 20px;
    font-size: 12px;
}


.hero-content {
    max-width: 1200px;
    margin: auto;
    padding: 20px 20px;
}


.hero-text h1 {
    font-size: 80px;
    color: #004ca5;
    margin-bottom: 20px;
    margin-top: -50px;
}


.hero-text h2 {
    font-size: 42px;
    color: #004ca5;
    margin-bottom: 20px;
}


.hero-text p {
    max-width: 600px;
    line-height: 2;
}


/****************/

.section {
    padding: 60px 20px;
    background: #f7f9fc;
}

    .service-section h2 {
        text-align: center;
        font-size: 42px;
        color: #004ca5;
    }


.title-line {
    width: 70px;
    height: 4px;
    background: #004ca5;
    margin: 25px auto 60px;
}


.feature-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 30px;
}


.feature-card {
    background: #fff;
    padding: 50px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 5px 18px rgba(0,0,0,.08);
}


    .feature-card img {
        max-width: 150px;
        margin: auto;
        max-height: 105px;
    }


    .feature-card h3 {
        font-size: 28px;
        margin: 30px 0;
    }


    .feature-card p {
        line-height: 1.8;
    }


/****************/

.flow-section {
    padding: 90px 0;
}


    .flow-section h2 {
        text-align: center;
        font-size: 42px;
        color: #004ca5;
    }


.flow-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 30px;
}


.flow-item {
    text-align: center;
    position: relative;
}


    .flow-item:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 40px;
        right: -20px;
        width: 40px;
        height: 2px;
        border-top: 2px dashed #3d84e7;
    }


.flow-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #004ca5;
    color: #fff;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 28px;
}


.flow-item h3 {
    margin: 30px 0 20px;
}


.flow-item p {
    line-height: 1.8;
}


/*************/

@media(max-width:900px) {

    .hero-container {
        grid-template-columns: 1fr;
    }


    .feature-grid {
        grid-template-columns: repeat(2,1fr);
    }


    .flow-grid {
        grid-template-columns: 1fr;
    }

    .flow-item::after {
        display: none;
    }
}


@media(max-width:640px) {

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .hero-left h1 {
        font-size: 42px;
    }
}

@media(max-width:640px){

  /* HERO */
  .service-hero {
    height: 300px;
    background-position: center;
  }

  .breadcrumb {
    padding: 20px 16px;
    font-size: 10px;
  }

  .hero-content {
    padding: 10px 16px;
  }

  .hero-text h1 {
    font-size: 40px;
    margin-top: -20px;
  }

  .hero-text h2 {
    font-size: 22px;
  }

  .hero-text p {
    font-size: 14px;
    line-height: 1.7;
    max-width: 100%;
  }

  /* SECTION */
  .section {
    padding: 50px 16px;
  }

  .service-section h2 {
    font-size: 26px;
  }

  .title-line {
    width: 50px;
    height: 3px;
    margin: 18px auto 40px;
  }

  /* FEATURE GRID */
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-card {
    padding: 30px;
  }

  .feature-card img {
    max-width: 120px;
    max-height: 80px;
  }

  .feature-card h3 {
    font-size: 20px;
    margin: 20px 0;
  }

  .feature-card p {
    font-size: 14px;
    line-height: 1.6;
  }

  /* FLOW */
  .flow-section {
    padding: 50px 16px;
  }

  .flow-section h2 {
    font-size: 26px;
  }

  .flow-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .flow-item::after {
    display: none;
  }

  .flow-icon {
    width: 60px;
    height: 60px;
    font-size: 22px;
  }

  .flow-item h3 {
    font-size: 18px;
    margin: 20px 0 10px;
  }

  .flow-item p {
    font-size: 14px;
    line-height: 1.6;
  }
}

