/* =================
  タブレット
================= */

@media (max-width: 768px) {

  .menu-icon {
    display: block;
  }

  .footer-inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

}

/* =================
  スマホ
================= */

@media (max-width: 480px) {

  .container {
    padding: 0 15px;
  }

  .nav-en {
    font-size: 13px;
  }

  .nav-ja {
    font-size: 9px;
  }

}

@media (max-width: 768px) {
  .hero-container {
    margin-left: 20px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-en {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .about-left .section-title,
  .service-title-inner .section-title,
  .quality-left .section-title,
  .news-left .section-title {
    font-size: 40px;
    line-height: 1;
    margin-bottom: 8px;
  }

  .about-left .section-subtitle,
  .service-title-inner .section-subtitle,
  .quality-left .section-subtitle,
  .news-left .section-subtitle {
    font-size: 14px;
    margin: 0;
  }
}

/* =================
  header
================= */

@media screen and (max-width: 768px) {

  .header-nav {
    display: flex;
    position: fixed;
    top: 45px;
    right: -100%;
    width: 30%;
    height: calc(100vh - 75px);
    background: #111;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition: 0.3s;
  }

  .nav-item {
    color: #fff;
    font-size: 18px;
  }

  .header-nav.active {
    right: 0;
  }

  .hamburger {
    display: block;
  }

 .contact-btn {
    color: #000;
    background: #fff;
    margin-left: 0;
    width:75%;
    text-align: center;
    height: 50px;        
    display: flex;         
    align-items: center;   
    justify-content: center;
  }

}

@media screen and (max-width: 768px) {

  .header-nav {
    display: flex;
    position: fixed;
    top: 45px;
    right: -100%;
    width: 30%;
    height: calc(100vh - 75px);
    background: #111;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition: 0.3s;
  }

  .nav-item {
    color: #fff;
    font-size: 18px;
  }

  .header-nav.active {
    right: 0;
  }

  .hamburger {
    display: block;
  }

 .contact-btn {
    color: #000;
    background: #fff;
    margin-left: 0;
    width:75%;
    text-align: center;
    height: 50px;        
    display: flex;         
    align-items: center;   
    justify-content: center;
  }

  .page-hero {
    position: relative;
    min-height: 50vh;
    padding: 75px 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-position: center;
  }

  .page-hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .page-hero h1 {
    font-size: 28px;
    letter-spacing: 4px;
    line-height: 1.3;
    margin: 0 0 20px;
  }

  .page-hero p {
    font-size: 16px;
    margin: 0;
  }

  .scroll {
    bottom: 20px;
    font-size: 13px;
  }

  .scroll-line {
    height: 32px;
  }

  .scroll-line::after {
    height: 32px;
  }

  .company-table th {
    width: 120px;
  }

}

@media all and (max-width: 1000px) {
    .top-wrapper h1 {            
      font-size: 32px;            
     }
     .heading h2 {            
     font-size: 20px;            
      }            
     .lesson {            
     width: 50%;            
     margin-bottom: 50px;            
      }
     footer {            
     text-align: center;            
     }
   }
   @media all and (max-width: 670px) {
   .header-right {
       display: none;
     }
     
     .menu-icon {
       display: block;
     }
     .top-wrapper .btn {            
       width: 100%;            
      }            
     .facebook {            
      margin-bottom: 10px;            
      }            
     .top-wrapper {            
      text-align: left;            
     }            
     .top-wrapper h1 {            
      font-size: 24px;            
     }            
     .top-wrapper p {            
      font-size: 14px;            
    }
     .lesson {            
      width: 100%;            
    }
    .message-wrapper .btn {            
     width: 100%;            
     }
   }

   @media screen and (max-width: 768px) {
    .about-sec-1_inner {
      padding: 0 20px;
    }
   }

   @media screen and (max-width: 768px) {
    .about-sec-1 .blks-1 {
      margin-bottom: 32px;
    }
   }

   @media screen and (max-width: 768px) {
    .m-heading-1 {
      color: #7f8493;
    }
   }

   @media screen and (max-width: 768px) {
    .m-heading-1_main {
      font-size: 3rem;
      margin-bottom: 4px;
    }
   }

   @media screen and (max-width: 768px) {
    .m-heading-1_main span {
      color: #1c669c
    }
   }

   @media screen and (max-width: 768px) {
    .m-heading-1_sub {
      font-size: 1rem;
    }
   }

   @media screen and (max-width: 768px) {
    .about-sec-1 .blks-2 {
      margin-bottom: 32px;
    }
   }

   @media screen and (max-width: 768px) {
    .about-sec-1 .blks-2 .heading {
      font-size: 1.375rem;
      line-height: 1.5;
      border-width: 0 0 1px 4px;
      padding: 2px 0 8px 16px;
    }
   }

   @media screen and (max-width: 768px) {
    .about-sec-1 .blks-3 {
      margin-bottom: 32px;
    }
  }

  @media screen and (max-width: 768px) {
    .about-sec-1 .blks-3 .media {
     display: block; 
    }
  }

  @media screen and (max-width: 768px) {
    .about-sec-1 .blks-3 .media_image {
      width: 80%;
      margin: 0 auto 36px;
    }
  }

  @media screen and (max-width: 768px) {
    .about-sec-1 .blks-3
    .media_image::before {
      top: 12px;
      left: 12px;
    }
  }

  @media screen and (max-width: 768px) {
    .about-sec-1 .blks-3 .media_dtl {
      width: auto;
    }
  }

  @media screen and (max-width: 768px) {
    .about-sec-1 .blks-3 .heading {
      font-size: 1.1875rem;
      margin-bottom: 28px;
    }
  }

  @media screen and (max-width: 768px) {
    .m-txt-1 {
      font-size: 0.875rem;
      line-height: 2;
    }
  }

  @media screen and (max-width: 768px) {
    .about-sec-1 .blks-3 .media + .media {
      margin-top: 48px;
    }
  }

  @media screen and (max-width: 768px) {
    .about-sec-1 .blks-4 .name span {
      font-size: 0.625rem;
      margin-right: 16px;
    }
  }

  @media screen and (max-width: 768px) {
    .about-sec-1 .blks-4 .name em {
      font-size: 1.25rem;
    }
  }


@media (max-width: 768px) {
  .recruit-flex {
    flex-direction: column;
  }

  .recruit-img img {
    width: 100%;
  }

  .recruit-text {
    max-width: 100%;
  }
}

/* =========================
 company page responsive
========================= */

@media screen and (max-width: 768px) {

  /* 横スクロール防止 */
  html,
  body {
    width: 100%;
    overflow-x: hidden;
    background: #111;
  }

  section,
  .intro,
  .strengths,
  .flow,
  .capability,
  .quality-link,
  .cta {
    overflow-x: hidden;
  }

  /* 共通見出し */
  .section-title {
    font-size: 28px;
    margin-bottom: 30px;
    line-height: 1.05;
    word-break: break-word;
  }

  .section-title span {
    font-size: 18px;
    margin-top: 14px;
    padding-top: 14px;
  }

  .section-title span::before {
    width: 56px;
  }

  /* hero */
  .page-hero {
    min-height: 55vh;
    padding: 130px 20px 90px;
    background-position: center;
  }

  .page-hero h1 {
    font-size: 28px;
    letter-spacing: 4px;
    line-height: 1.3;
    margin: 0 0 20px;
    text-align: center;
  }

  .page-hero p {
    font-size: 15px;
  }

  /* footer */
  .footer {
    padding-bottom: 40px;
    background: #111;
  }

  .footer-nav {
    justify-content: center;
    gap: 12px;
  }

  .footer-nav a {
    font-size: 12px;
  }

  /* page top */
  .page-top {
    right: 20px;
    bottom: 20px;
    width: 55px;
    height: 55px;
  }

}


/* =================
  company header
  TOP完全統一
================= */

@media (max-width: 768px) {

  .header {
    height: 64px;
  }

  .header.hide {
    transform: none;
  }

  .header-inner {
    height: 64px;
  }

  .header-nav {
    top: 45px;
    height: calc(100vh - 75px);
  }

  .header-logo img {
    width: 240px;
    height: auto;
  }

  .header-logo {
    transform: scale(0.88);
    transform-origin: left center;
  }

  .header {
    height: 64px;
  }

  .header.hide {
    transform: none;
  }

  .header-logo img {
    width: 240px;
    height: auto;
  }

  .header-logo {
    transform: scale(0.88);
    transform-origin: left center;
  }

  .header .container {
    padding: 0 15px !important;
  }

}


@media screen and (max-width: 768px) {

  .recruit-img {
    display: none;
  }

}