/* =================
  タブレット
================= */

@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;
  }

/* =================
  header
================= */

.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;
  }

}

/* =========================
 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: 46px;
    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;
  }

}
