@media (max-width: 960px) {
  .pc {
    display: none !important;
  }

  .sp {
    display: block !important;
  }

  .logo {
    height: 40px;
  }
  .header-inner {
    padding: 16px 0;
  }
  .brand {
    font-size: 20px;
    gap: 8px;
  }
  .brand small {
    padding-left: 12px;
  }
  .nav {
    display: none;
  }
  .catch {
    left: 4vw;
    right: 4vw;
  }

  .catch {
    bottom: clamp(16px, 14vh, 96px);
  }

  .hero-media {
    height: 80vh;
  }

  .track {
    gap: 0;
  }

  .message {
    padding: 60px 0;
    width: 90%;
  }

  .message-inner {
    padding: 0;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .message-title {
    font-size: 28px;
    margin-bottom: 8px;
  }

  .rail-track img {
    height: 120px;
  }

  .rail-right {
    animation: marqueeL 10s linear infinite;
  }

  .jobs {
    padding: 80px 0 40px;
  }

  .jobs-inner {
    padding: 0;
  }

  .jobs-head h2 {
    font-size: 28px;
    margin: 0px 0 8px;
  }

  .job-thumb {
    order: -1; /* 画像を先に表示 */
  }

  .btn-outline {
    width: 100%;
  }

  .job-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .job-title {
    font-size: 22px;
  }

  .job-info {
    padding: 0;
  }

  .modal-dialog {
    max-width: 95%;
    padding: 20px 20px 60px;
    margin: 3vh auto;
  }

  .showroom {
    height: auto;
    padding-bottom: 0;
  }

  .showroom img {
    height: 50vh;
    object-fit: cover;
  }

  .appeal {
    padding: 80px 0 20px;
  }

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

  .appeal-head .en {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .appeal-sub {
    font-size: 14px;
  }

  .appeal-item {
    padding: 20px 16px;
  }

  .appeal-ttl {
    font-size: 18px;
    margin: 0 0 12px;
  }

  .appeal-ico {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
  }

  .workstyle-inner {
    grid-template-columns: 1fr;
  }
  .workstyle {
    padding: 40px 0 0;
  }
  .workstyle-aside {
    text-align: left;
    border: none;
    padding: 20px;
  }
  .workstyle-aside .en {
    font-size: 28px;
  }
  .workstyle-aside .sub {
    font-size: 14px;
  }
  .ws-row {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 40px 20px;
  }
  .ws-ttl {
    font-size: 20px;
  }

  .ws-row p {
    font-size: 15px;
  }
  .ws-thumb img {
    width: 100%;
  }
  .ws-list {
    line-height: 1.7;
    font-size: 15px;
  }
  #entry {
    padding: 20px;
  }
  .entry-head .en {
    font-size: 28px;
  }
  .entry-card {
    width: 100%;
    padding: 28px 16px;
  }

  .footer-logo {
    width: 200px;
  }

  .footer-links {
    display: block;
  }
  .footer-links li {
    margin-bottom: 20px;
  }
}

@media (max-width: 600px) {
  .appeal-grid {
    grid-template-columns: 1fr;
  }
  .appeal-item {
    padding: 22px 18px 26px;
  }
  .appeal-ico {
    width: 64px;
    height: 64px;
  }

  .hero-media {
    height: 58vh;
    min-height: 360px;
  }

  .catch-line {
    padding: 12px 14px;
    font-size: clamp(16px, 5.2vw, 22px);
  }
  .track {
    animation-duration: 28s;
  }
  :root {
    --brand-row-height: 48px;
  }

  .footer-inner {
    padding: 40px 14px 48px;
  }
  .sns-btn {
    width: 36px;
    height: 36px;
  }
  .sns-btn img {
    width: 18px;
    height: 18px;
  }
  .wpcf7-select {
    width: 100%;
  }
  .field label {
    font-size: 15px;
  }
  .contact-page {
    padding: 120px 0 80px;
  }
  .thanks-p {
    text-align: left;
  }
}
