*, 
*::before, 
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "游ゴシック体", "Yu Gothic", "メイリオ", sans-serif;
  color: #222;
  background-color: #ffffff;
  line-height: 1.7;
  font-size: 15px;
}

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

a {
  color: #005c99;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 92%;
  max-width: 1120px;
  margin: 0 auto;
}

.section {
  padding: 56px 0;
}

.section-title {
  font-size: 26px;
  margin: 0 0 12px;
  text-align: center;
  letter-spacing: 0.08em;
}

.section-lead {
  max-width: 720px;
  margin: 0 auto 32px;
  text-align: center;
  font-size: 15px;
  color: #555;
}

/* --------------------
   ヘッダー
-------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #e2e5ea;
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
}

.logo-main {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #005c99;
}

.logo-sub {
  font-size: 11px;
  color: #777;
}

.site-nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
}

.site-nav a {
  text-decoration: none;
  color: #333;
  position: relative;
  padding-bottom: 2px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00a3e0, #f8c10f);
  transition: width 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  width: 100%;
}

.site-nav a.is-active {
  color: #005c99;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 7px 0;
  background-color: #333;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* --------------------
   スライダー
-------------------- */

.hero-slider {
  position: relative;
  overflow: hidden;
  background-color: transparent;
  padding: 32px 0;
}

.hero-slider-inner {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

.hero-track {
  display: flex;
  transition: transform 0.6s ease;
  will-change: transform;
}

.hero-slide {
  position: relative;
  flex: 0 0 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  padding: 72px 0;
  background-size: cover;
  background-position: center;
}

/* 1枚目：薄い黄色グラデーション */
.hero-slide-1 {
  background-image: linear-gradient(
    to right,
    #fff9e6 0%,
    #ffeebd 40%,
    #ffdd8c 70%,
    #ffcd5e 100%
  );
}

/* 2枚目：少し濃いめ黄色 */
.hero-slide-2 {
  background-image: linear-gradient(
    to right,
    #fff7e0 0%,
    #ffe7aa 40%,
    #ffd372 70%,
    #ffbf4a 100%
  );
}

/* 3枚目：さらにわずかに濃い黄色 */
.hero-slide-3 {
  background-image: linear-gradient(
    to right,
    #fff5da 0%,
    #ffe39e 40%,
    #ffcc66 70%,
    #ffb73d 100%
  );
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right,
    rgba(255, 220, 128, 0.25),
    transparent 55%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-kicker {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #0086c3;
  margin: 0 0 10px;
  line-height: 1.2;
}

.hero-content h1,
.hero-heading {
  font-size: 28px;
  line-height: 1.3;
  margin: 0 0 12px;
  color: #12304a;
}

.hero-text {
  max-width: 640px;
  font-size: 14px;
  color: #4a4f55;
  margin: 0 0 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn.primary {
  background: linear-gradient(90deg, #00a3e0, #0075be);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 94, 153, 0.35);
}

.btn.primary:hover {
  box-shadow: 0 6px 18px rgba(0, 94, 153, 0.45);
}

.btn.ghost {
  background-color: rgba(255, 255, 255, 0.9);
  color: #005c99;
  border-color: #00a3e0;
}

.btn.ghost:hover {
  background-color: #ffffff;
}

/* ===========================
   スライダー矢印：中央配置＆枠内左右
   =========================== */

.slider-nav {
  position: absolute;
  top: 50%;                    /* 縦の中央 */
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #005c99;
  transition: background-color 0.2s ease, transform 0.1s ease;
  z-index: 5;
}

/* ホバー時は拡大のみ（上下ズレ防止） */
.slider-nav:hover {
  background-color: #ffffff;
  transform: translateY(-50%) scale(1.05);
}

/* スライダー枠の左端 */
.slider-nav.prev {
  left: 10px;
}

/* スライダー枠の右端 */
.slider-nav.next {
  right: 10px;
}


/* --- スライダーのドット --- */
.slider-controls {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 5;
}

.slider-dots {
  display: flex;
  gap: 10px;
}

.slider-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  border: 1px solid #000;
  background-color: #ffffff;
  cursor: pointer;
  box-sizing: border-box;
}

.slider-dots .dot.is-active {
  background-color: #e60012; /* トヨタ赤 */
  border-color: #000;
}

.slider-pause {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  padding: 4px 9px;
  border: 1px solid rgba(0, 92, 153, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #005c99;
  font-size: 11px;
  cursor: pointer;
}

.slider-pause:hover,
.slider-pause:focus-visible {
  background: #fff;
  outline: 2px solid #0086c3;
  outline-offset: 2px;
}

.slider-pause:disabled {
  cursor: default;
  opacity: 0.75;
}

@media (prefers-reduced-motion: reduce) {
  .hero-track {
    transition: none !important;
  }
}

/* --------------------
   各セクション
-------------------- */

.intro {
  background-color: #f8fafc;
}

.intro-inner {
  max-width: 800px;
}

.intro h2 {
  font-size: 24px;
  margin: 0 0 12px;
  text-align: left;
}

.intro p {
  margin: 0 0 10px;
  color: #444;
}

.capabilities {
  background-color: #ffffff;
}

/* --------------------
   トップページ・設備力
-------------------- */

.home-facility {
  background: linear-gradient(135deg, #eef8fc 0%, #ffffff 70%);
}

.home-facility-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.section-eyebrow {
  margin: 0 0 5px;
  color: #0086c3;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.home-facility-heading .section-lead {
  max-width: 820px;
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;
}

.home-facility-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.home-facility-stat {
  padding: 24px;
  border: 1px solid #d8e8f0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(18, 48, 74, 0.06);
}

.home-facility-stat--primary {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc(50% - 10px);
}

.home-facility-number {
  margin: 0 0 4px;
  color: #0075be;
  line-height: 1;
}

.home-facility-number strong {
  font-size: 48px;
}

.home-facility-number span {
  margin-left: 5px;
  font-size: 16px;
  font-weight: 700;
}

.home-facility-stat h3 {
  margin: 10px 0 8px;
  color: #12304a;
  font-size: 18px;
}

.home-facility-stat p:last-child {
  margin: 0;
  color: #555;
}

.home-facility-note {
  margin: 12px 0 0;
  color: #68727d;
  font-size: 12px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.card-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: auto 0 0;
  padding-top: 16px;
  border-radius: 6px;
  object-fit: cover;
}

.card-photo--jig {
  object-position: center 45%;
}

.card {
  display: flex;
  flex-direction: column;
  background-color: #f9fbfe;
  border-radius: 8px;
  padding: 18px 18px 16px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03);
}

.card h3 {
  font-size: 18px;
  margin: 0 0 8px;
  color: #12304a;
}

.card p {
  font-size: 14px;
  margin: 0 0 8px;
  color: #444;
}

.card ul {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  color: #555;
}

/* --------------------
   トップページ・自動化
-------------------- */

.home-automation {
  color: #ffffff;
  background:
    radial-gradient(circle at 85% 15%, rgba(0, 157, 220, 0.2), transparent 32%),
    linear-gradient(135deg, #102c46 0%, #0a4265 100%);
}

.home-automation-heading {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.home-automation .section-eyebrow {
  color: #67d1ff;
}

.home-automation .section-title {
  color: #ffffff;
}

.home-automation .section-lead {
  max-width: 820px;
  color: #e2eef5;
}

.home-automation-highlight {
  display: inline-block;
  margin: 0 0.15em;
  padding: 0.08em 0.45em;
  border-radius: 4px;
  background: #ffe06b;
  color: #102c46;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
  font-weight: 700;
}

.home-automation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.home-automation-item {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
}

.home-automation-number {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: #67d1ff;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
}

.home-automation-number::after {
  width: 42px;
  height: 2px;
  background: #67d1ff;
  content: "";
}

.home-automation-item h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.home-automation-item p:last-child {
  margin: 0;
  color: #d5e4ed;
  font-size: 14px;
}

.home-automation-action {
  margin-top: 28px;
  text-align: center;
}

.home-automation .btn.primary {
  border-color: #ffffff;
  background: #ffffff;
  color: #07557e;
}

.home-automation .btn.primary:hover {
  background: #e9f7fd;
}

.quality {
  background: linear-gradient(180deg, #f5f9ff, #ffffff);
}

.quality-inner {
  max-width: 820px;
}

.quality-text p {
  margin: 0 0 10px;
  color: #444;
}

/* 会社概要＋地図 */

.company-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 24px;
  align-items: flex-start;
}

.company-dl {
  margin: 0 0 12px;
}

.company-dl div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dashed #dde3ec;
}

.company-dl dt {
  font-weight: 600;
  color: #333;
}

.company-dl dd {
  margin: 0;
  color: #444;
}

.company-link {
  margin: 4px 0 0;
  font-size: 13px;
}

/* 地図画像 */

.company-map .map-figure {
  margin: 0;
  text-align: center;
}

.company-map .map-image {
  width: 100%;
  max-width: 520px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  margin: 0 auto;
}

.company-map .map-caption {
  margin-top: 8px;
  font-size: 13px;
  color: #566276;
  line-height: 1.6;
}

.company-map .map-caption a {
  color: #005c99;
  text-decoration: underline;
}

/* お問い合わせカード（トップページ用） */

.contact {
  background-color: #f8fafc;
}

.contact-inner {
  max-width: 840px;
}

.contact-box {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.contact-item {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 18px 18px 14px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03);
}

.contact-item h3 {
  font-size: 16px;
  margin: 0 0 10px;
  color: #12304a;
}

.contact-item p {
  margin: 0 0 6px;
  color: #444;
  font-size: 14px;
}

.contact-phone {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #005c99;
}

/* --------------------
   設備紹介ページ
-------------------- */

.facility-intro,
.facility-narrow {
  max-width: 960px;
}

.page-kicker {
  margin: 0 0 6px;
  color: #0075be;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.facility-summary {
  background-color: #ffffff;
}

.facility-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 22px;
}

.facility-feature {
  position: relative;
  padding: 22px 20px 18px;
  overflow: hidden;
  background: #f9fbfe;
  border-top: 3px solid #0075be;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.facility-feature-number {
  position: absolute;
  top: 6px;
  right: 12px;
  color: rgba(0, 117, 190, 0.1);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}

.facility-feature h3 {
  position: relative;
  margin: 0 0 8px;
  color: #12304a;
  font-size: 18px;
}

.facility-feature p {
  position: relative;
  margin: 0;
  color: #555;
  font-size: 14px;
}

.facility-list {
  background: linear-gradient(180deg, #f5f9ff, #ffffff);
}

.equipment-group {
  margin-top: 38px;
}

.facility-featured-machine {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
  max-width: 920px;
  margin: 30px auto 10px;
  padding: 22px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 3px 14px rgba(18, 48, 74, 0.1);
}

.facility-featured-image {
  overflow: hidden;
  border-radius: 6px;
  background: #eef3f7;
}

.facility-featured-image img {
  display: block;
  width: 100%;
  height: auto;
}

.facility-featured-machine figcaption h3 {
  margin: 0 0 10px;
  color: #12304a;
  font-size: 24px;
}

.facility-featured-machine figcaption > p:last-child {
  margin: 0;
  color: #566276;
}

.equipment-photo-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 24px;
  align-items: center;
  max-width: 760px;
  margin: 20px auto 24px;
  padding: 20px;
  border: 1px solid #dbe4ee;
  border-radius: 8px;
  background: #ffffff;
}

.equipment-photo-card-image {
  overflow: hidden;
  border-radius: 6px;
  background: #eef3f7;
}

.equipment-photo-card-image img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: contain;
}

.equipment-photo-card h4 {
  margin: 0 0 10px;
  color: #12304a;
  font-size: 22px;
}

.equipment-photo-card figcaption > p:last-child {
  margin: 0;
  color: #566276;
}

.equipment-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 20px 0 24px;
}

.equipment-photo-item {
  margin: 0;
  overflow: hidden;
  border: 1px solid #dbe4ee;
  border-radius: 8px;
  background: #ffffff;
}

.equipment-photo-item img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: contain;
  background: #eef3f7;
}

.equipment-photo-item figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 5px 12px;
  padding: 13px 15px;
}

.equipment-photo-item figcaption strong {
  color: #12304a;
}

.equipment-photo-item figcaption span {
  color: #68727d;
  font-size: 12px;
}

.automation-photo-section {
  background: #f5f9ff;
}

.automation-photo-inner {
  max-width: 920px;
}

.automation-photo {
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(0, 0.9fr);
  gap: 28px;
  align-items: center;
  margin: 0;
  padding: 22px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 3px 14px rgba(18, 48, 74, 0.1);
}

.automation-photo img {
  display: block;
  width: 100%;
  border-radius: 6px;
}

.automation-photo h2 {
  margin: 0 0 10px;
  color: #12304a;
  font-size: 23px;
}

.automation-photo figcaption > p:last-child {
  margin: 0;
  color: #566276;
}

/* --------------------
   自動化・無人運転ページ
-------------------- */

.automation-hero {
  background: linear-gradient(135deg, #eef8fc 0%, #ffffff 72%);
}

.automation-hero-inner {
  max-width: 860px;
  text-align: center;
}

.automation-hero .section-lead {
  max-width: 820px;
}

.automation-systems {
  background: #ffffff;
}

.automation-system-list {
  display: grid;
  gap: 26px;
  margin-top: 30px;
}

.automation-system {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  gap: 30px;
  align-items: center;
  padding: 28px;
  border: 1px solid #d8e8f0;
  border-radius: 12px;
  background: #f9fcfe;
  box-shadow: 0 8px 24px rgba(18, 48, 74, 0.06);
}

.automation-system--robot {
  display: block;
}

.automation-system--reverse .automation-system-copy {
  order: 2;
}

.automation-system--reverse .automation-system-image {
  order: 1;
}

.automation-system-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
}

.automation-system-number {
  min-width: 62px;
  margin: 0;
  color: #008dcc;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.automation-system-label {
  margin: 0 0 3px;
  color: #008dcc;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.automation-system h3 {
  margin: 0;
  color: #12304a;
  font-size: 24px;
}

.automation-system-copy > p:not(.automation-system-note),
.automation-system-lead {
  color: #4d5c68;
}

.automation-system-lead {
  max-width: 820px;
  margin: 0 0 22px;
}

.automation-system-note {
  display: inline-block;
  margin: 8px 0 0;
  padding: 5px 10px;
  border-radius: 999px;
  background: #e5f5fb;
  color: #0875a5;
  font-size: 12px;
  font-weight: 700;
}

.automation-robot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.automation-robot-grid figure,
.automation-system-image {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #ffffff;
}

.automation-robot-grid img,
.automation-system-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.automation-system-image--gantry img {
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #e7edf1;
}

.automation-robot-grid figcaption,
.automation-system-image figcaption {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  color: #68727d;
  font-size: 12px;
}

.automation-robot-grid figcaption strong {
  color: #12304a;
  font-size: 14px;
}

.automation-benefits {
  text-align: center;
  background: linear-gradient(135deg, #102c46 0%, #0a4265 100%);
}

.automation-benefits .section-eyebrow {
  color: #67d1ff;
}

.automation-benefits .section-title {
  color: #ffffff;
}

.automation-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
  text-align: left;
}

.automation-benefit-grid article {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
}

.automation-benefit-grid h3 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 18px;
}

.automation-benefit-grid p {
  margin: 0;
  color: #d5e4ed;
}

.automation-benefit-note {
  max-width: 820px;
  margin: 24px auto 0;
  color: #d5e4ed;
  font-size: 13px;
}

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

.automation-related-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.equipment-group h3 {
  margin: 0 0 12px;
  padding-left: 12px;
  border-left: 4px solid #0075be;
  color: #12304a;
  font-size: 20px;
}

.equipment-table-wrap {
  overflow-x: auto;
  border: 1px solid #dbe4ee;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(18, 48, 74, 0.05);
}

.equipment-table-wrap:focus {
  outline: 3px solid rgba(0, 163, 224, 0.25);
  outline-offset: 2px;
}

.equipment-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  color: #3d4652;
  font-size: 13px;
  line-height: 1.6;
}

.equipment-table th,
.equipment-table td {
  padding: 12px 10px;
  border-right: 1px solid #e5ebf2;
  border-bottom: 1px solid #e5ebf2;
  text-align: left;
  vertical-align: top;
}

.equipment-table th:last-child,
.equipment-table td:last-child {
  border-right: 0;
}

.equipment-table tbody tr:last-child td {
  border-bottom: 0;
}

.equipment-table th {
  background: #12304a;
  color: #ffffff;
  font-weight: 600;
  white-space: nowrap;
}

.equipment-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.equipment-table td:nth-child(5) {
  white-space: nowrap;
}

.equipment-related-link {
  margin: 12px 0 0;
  text-align: right;
}

.equipment-related-link a {
  color: #005c99;
  font-weight: 600;
}

.facility-contact {
  background-color: #f8fafc;
}

.facility-contact-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 26px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.facility-contact-box h2 {
  margin: 0 0 8px;
  color: #12304a;
  font-size: 21px;
}

.facility-contact-box p {
  margin: 0;
  color: #555;
}

.facility-contact-box .btn {
  flex: 0 0 auto;
}

/* --------------------
   フッター
-------------------- */

.site-footer {
  background-color: #101820;
  color: #e0e4eb;
  padding: 18px 0;
  margin-top: 24px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
}

.footer-info {
  flex: 1 1 280px;
}

.footer-name {
  margin: 0;
  font-weight: 600;
}

.footer-address {
  margin: 0;
  color: #b8c0cf;
}

.footer-address a,
.footer-links a {
  color: inherit;
}

.footer-links {
  display: flex;
  flex: 1 1 420px;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px 16px;
}

.footer-links a {
  text-underline-offset: 3px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #fff;
}

.footer-copy {
  flex-basis: 100%;
  text-align: right;
  margin: 0;
  color: #95a0b5;
}

.footer-tools-link {
  flex-basis: 100%;
  margin: 2px 0 0;
  text-align: right;
}

.footer-tools-link a {
  color: #aeb8c8;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-underline-offset: 3px;
}

.footer-tools-link a:hover,
.footer-tools-link a:focus-visible {
  color: #ffffff;
}

/* --------------------
   はじめてのお客様へ
-------------------- */

.firsttime-narrow {
  max-width: 920px;
}

.firsttime-hero {
  padding: 76px 0;
  text-align: center;
  background: linear-gradient(135deg, #eef8fc 0%, #fff9e8 100%);
}

.firsttime-hero h1 {
  margin: 0 0 18px;
  color: #12304a;
  font-size: clamp(30px, 4vw, 44px);
}

.firsttime-hero .section-eyebrow {
  margin-bottom: 8px;
}

.firsttime-hero-lead {
  margin: 0 auto 12px;
  color: #394b59;
  font-size: 17px;
  line-height: 1.9;
}

.firsttime-target {
  margin: 0 0 24px;
  color: #68727d;
  font-size: 13px;
}

.firsttime-concerns {
  background: #fff;
}

.firsttime-concern-grid,
.firsttime-capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.firsttime-concern-grid article,
.firsttime-capability-grid article {
  padding: 22px;
  border: 1px solid #dbe7ef;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(18, 48, 74, 0.05);
}

.firsttime-concern-grid span {
  color: #0086c3;
  font-size: 13px;
  font-weight: 700;
}

.firsttime-concern-grid h3,
.firsttime-capability-grid h3 {
  margin: 8px 0;
  color: #12304a;
  font-size: 17px;
}

.firsttime-concern-grid p,
.firsttime-capability-grid p {
  margin: 0;
  color: #555;
}

.firsttime-guidance {
  background: #f7fafc;
}

.firsttime-capability-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.firsttime-detail-link {
  margin: 20px 0 0;
  text-align: center;
}

.firsttime-detail-link a {
  color: #0075be;
  font-weight: 700;
}

.firsttime-notice {
  margin-top: 30px;
  padding: 22px 24px;
  border-left: 5px solid #e6a700;
  border-radius: 6px;
  background: #fff8df;
}

.firsttime-notice h3 {
  margin: 0 0 9px;
  color: #533c00;
  font-size: 18px;
}

.firsttime-notice p {
  margin: 7px 0 0;
}

.firsttime-flow {
  background: #fff;
}

.firsttime-flow-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.firsttime-flow-grid article {
  position: relative;
  padding: 22px 16px;
  border-top: 3px solid #0086c3;
  background: #f6fafc;
}

.firsttime-flow-grid span {
  color: #0086c3;
  font-size: 13px;
  font-weight: 700;
}

.firsttime-flow-grid h3 {
  margin: 7px 0;
  color: #12304a;
  font-size: 16px;
}

.firsttime-flow-grid p {
  margin: 0;
  color: #555;
  font-size: 13px;
}

.firsttime-preparation {
  background: #eef7fb;
}

.firsttime-preparation-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 48px;
}

.firsttime-preparation h2 {
  margin: 0 0 12px;
  color: #12304a;
  font-size: 25px;
}

.firsttime-preparation-grid ul {
  margin: 0;
  padding: 22px 24px 22px 46px;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(18, 48, 74, 0.06);
}

.firsttime-preparation-grid li + li {
  margin-top: 8px;
}

.firsttime-faq {
  background: #fff;
}

.firsttime-faq-list {
  margin-top: 25px;
  border-top: 1px solid #dbe4ee;
}

.firsttime-faq-list details {
  border-bottom: 1px solid #dbe4ee;
}

.firsttime-faq-list summary {
  position: relative;
  padding: 18px 42px 18px 38px;
  color: #12304a;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.firsttime-faq-list summary::-webkit-details-marker {
  display: none;
}

.firsttime-faq-list summary::before {
  content: "Q";
  position: absolute;
  left: 8px;
  color: #0086c3;
}

.firsttime-faq-list summary::after {
  content: "+";
  position: absolute;
  right: 10px;
  font-size: 20px;
}

.firsttime-faq-list details[open] summary::after {
  content: "−";
}

.firsttime-faq-list details p {
  margin: 0;
  padding: 0 38px 18px;
  color: #555;
}

.firsttime-cta {
  text-align: center;
  background: linear-gradient(135deg, #fff8e3, #eef8fc);
}

.firsttime-cta h2 {
  margin: 0 0 10px;
  color: #12304a;
  font-size: 26px;
}

.firsttime-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.firsttime-phone {
  margin: 18px 0 0;
}

.firsttime-phone a {
  color: #005c99;
  font-weight: 700;
}

/* --------------------
   レスポンシブ
-------------------- */

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

  .facility-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .company-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-box {
    grid-template-columns: minmax(0, 1fr);
  }

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

@media (max-width: 768px) {
  .facility-feature-grid {
    grid-template-columns: 1fr;
  }

  .facility-featured-machine {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 16px;
  }

  .equipment-photo-card {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .equipment-photo-card-image img {
    max-height: 360px;
  }

  .equipment-photo-grid {
    grid-template-columns: 1fr;
  }

  .equipment-photo-item img {
    height: 260px;
  }

  .automation-photo {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 16px;
  }

  .automation-system {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px;
  }

  .automation-system--reverse .automation-system-copy,
  .automation-system--reverse .automation-system-image {
    order: initial;
  }

  .automation-robot-grid,
  .automation-benefit-grid {
    grid-template-columns: 1fr;
  }

  .automation-system-heading {
    gap: 12px;
  }

  .automation-system-number {
    min-width: 50px;
    font-size: 28px;
  }

  .automation-system h3 {
    font-size: 21px;
  }

  .equipment-group {
    margin-top: 30px;
  }

  .equipment-group h3 {
    font-size: 18px;
  }

  .equipment-table {
    min-width: 820px;
  }

  .equipment-table th,
  .equipment-table td {
    padding: 10px 9px;
  }

  .facility-contact-box {
    display: block;
    padding: 22px 18px;
  }

  .facility-contact-box .btn {
    display: inline-block;
    margin-top: 18px;
  }

  .header-inner {
    height: 56px;
  }

  .site-nav {
    position: absolute;
    inset: 56px 0 auto 0;
    background-color: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #e2e5ea;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.2s ease, opacity 0.2s ease, visibility 0.2s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .site-nav ul {
    flex-direction: column;
    padding: 10px 16px 12px;
    gap: 8px;
  }

  .nav-toggle {
    display: block;
  }

  .hero-slide {
    min-width: 100%;
    min-height: 320px;
    display: flex;
    align-items: center;
    padding: 72px 0;
  }

  .hero-content h1,
  .hero-heading {
    font-size: 22px;
  }

  .home-facility-heading {
    align-items: center;
    gap: 20px;
    text-align: center;
  }

  .home-facility-heading .section-lead {
    margin-right: auto;
    margin-left: auto;
  }

  .home-facility-stats {
    grid-template-columns: 1fr;
  }

  .home-facility-stat--primary {
    grid-column: auto;
    width: 100%;
  }

  .home-automation-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-copy {
    text-align: left;
  }

  .footer-tools-link {
    text-align: left;
  }

  .slider-pause-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .slider-pause {
    width: 30px;
    justify-content: center;
    padding: 4px;
  }

  .hero-text {
    font-size: 13px;
  }

  .intro h2 {
    font-size: 20px;
  }

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

  .firsttime-hero {
    padding: 54px 0;
  }

  .firsttime-hero-lead br {
    display: none;
  }

  .firsttime-concern-grid,
  .firsttime-capability-grid,
  .firsttime-flow-grid,
  .firsttime-preparation-grid {
    grid-template-columns: 1fr;
  }

  .firsttime-preparation-grid {
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}

/* --------------------
   ロゴ画像（PC / SP）
-------------------- */

/* テキストはスクリーンリーダー用に隠す */
.site-logo .logo-main,
.site-logo .logo-sub {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* PC・タブレット */
.site-logo {
  display: block;
  width: 260px;
  height: 80px;
  background: url("../img/logo_pc.png") no-repeat left center;
  background-size: contain;
}

/* スマホ */
@media screen and (max-width: 767px) {
  .site-logo {
    width: 210px;
    height: 70px;
    background-image: url("../img/logo_sp.png");
  }
}

/* ロゴ span を視覚的に非表示 */
.site-logo span {
  display: block;
  width: 0;
  height: 0;
  overflow: hidden;
  position: absolute;
  top: -9999px;
  left: -9999px;
}

/* --------------------
   マーカー強調
-------------------- */

.marker-yellow {
  background: linear-gradient(transparent 60%, #fff4a8 60%);
  padding: 0 4px;
  font-weight: bold;
  font-size: 1.06em;
}

/* スマホ時：スライダー矢印を非表示（朝の仕様のまま） */
@media (max-width: 767px) {
  .slider-nav {
    display: none;
  }
}

.marker-blue {
  background: linear-gradient(transparent 60%, #dff3ff 60%);
  padding: 0 4px;
  font-weight: bold;
  font-size: 1.06em;
}

/* 複合旋盤カードのアンダーライン強調 */
.uline-blue {
  border-bottom: 1px solid #000;
  padding-bottom: 1px;
}

/* 1,3,5番目のカードだけ薄い黄色背景 */
.cards-grid .card:nth-child(1),
.cards-grid .card:nth-child(3),
.cards-grid .card:nth-child(5) {
  background-color: #fffbea;
}

/* ===========================
   contact.html 用スタイル
   =========================== */

/* フォーム全体の箱 */
.contact-form {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 18px 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.contact-page-intro {
  max-width: 840px;
}

.contact-form-heading {
  max-width: 796px;
  margin: 0 auto 16px;
}

.contact-form-heading p {
  margin: 0;
  color: #666;
  font-size: 13px;
}

.contact-form-heading .page-kicker {
  margin-bottom: 5px;
  color: #0086c3;
}

.contact-form-disabled {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0.62;
}

.contact-form-disabled input,
.contact-form-disabled textarea {
  cursor: not-allowed;
  background: #f2f4f6;
}

.contact-phone a {
  color: inherit;
  text-decoration: none;
}

/* 各行 */
.contact-form .form-row {
  margin-bottom: 14px;
}

.form-project {
  margin: 4px 0 18px;
  padding: 18px 16px 4px;
  border: 1px solid #dbe4ee;
  border-radius: 6px;
  background: #f8fafc;
}

.form-project legend {
  padding: 0 8px;
  color: #12304a;
  font-size: 14px;
  font-weight: 600;
}

.form-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

/* ラベル */
.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

/* 必須マーク */
.required {
  color: #e60012;
  font-size: 12px;
  margin-left: 4px;
}

/* 入力欄共通 */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="file"],
.contact-form textarea {
  width: 100%;
  font-size: 14px;
  padding: 7px 8px;
  border-radius: 4px;
  border: 1px solid #cbd2e3;
  box-sizing: border-box;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #8a94a3;
}

/* テキストエリア */
.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* フォーカス時 */
.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form input[type="file"]:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #00a3e0;
  box-shadow: 0 0 0 1px rgba(0, 163, 224, 0.25);
}

/* 送信ボタン行 */
.form-row-submit {
  text-align: center;
  margin-top: 8px;
}

.form-row-submit button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

/* 補足テキスト */
.form-note,
.form-help {
  font-size: 12px;
  color: #666;
  margin-top: 4px;
}

.privacy-consent {
  padding: 14px;
  border-radius: 6px;
  background: #f5f9ff;
}

.privacy-consent label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0;
  cursor: pointer;
}

.privacy-consent input {
  flex: 0 0 auto;
  margin-top: 3px;
}

.privacy-consent a {
  color: #005c99;
  text-decoration: underline;
}

.sales-note {
  margin: 0 0 16px;
  color: #666;
  font-size: 12px;
  text-align: center;
}

.policy-container {
  max-width: 840px;
}

.policy-section {
  margin-bottom: 30px;
}

.policy-section h2 {
  margin: 0 0 10px;
  padding-left: 12px;
  border-left: 4px solid #0075be;
  color: #12304a;
  font-size: 19px;
}

.policy-section p,
.policy-section ul {
  margin-top: 0;
  color: #444;
}

/* ===========================
   recruit.html 用スタイル
   =========================== */

.recruit-hero {
  padding: 88px 0 82px;
  background:
    linear-gradient(110deg, rgba(245, 249, 255, 0.98), rgba(255, 255, 255, 0.9)),
    linear-gradient(90deg, #dff3ff, #fff4a8);
}

.recruit-hero-inner,
.recruit-narrow {
  max-width: 960px;
}

.recruit-hero h1 {
  max-width: 760px;
  margin: 0 0 18px;
  color: #12304a;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.35;
}

.recruit-phone-notice {
  max-width: 760px;
  margin: 0 0 28px;
  padding: 24px 28px;
  border: 3px solid #0075be;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(18, 48, 74, 0.12);
  text-align: center;
}

.recruit-phone-heading {
  margin: 0 0 14px;
  color: #12304a;
  font-size: clamp(20px, 2.7vw, 28px);
  font-weight: 700;
  line-height: 1.55;
}

.recruit-phone-heading .sp-only {
  display: none;
}

.recruit-phone-label {
  margin: 0 0 4px;
  color: #455466;
  font-size: 15px;
  font-weight: 700;
}

.recruit-phone-number {
  display: inline-block;
  color: #0067a8;
  font-size: clamp(27px, 4vw, 38px);
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
}

.recruit-phone-number:hover,
.recruit-phone-number:focus-visible {
  color: #004f82;
  text-decoration: underline;
}

.recruit-hero-lead {
  max-width: 720px;
  margin: 0;
  color: #455466;
  font-size: 17px;
}

.recruit-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.recruit-ghost-btn {
  border-color: #0075be;
  background: #ffffff;
  color: #005c99;
}

.draft-notice {
  margin: 24px 0 0;
  padding: 13px 16px;
  border: 1px solid #eedb83;
  border-radius: 6px;
  background: #fffbea;
  color: #5b522e;
  font-size: 13px;
}

.recruit-job-grid,
.requirements-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.recruit-job-card {
  scroll-margin-top: 90px;
  padding: 26px 24px;
  border-top: 4px solid #0075be;
  border-radius: 8px;
  background: #f5f9ff;
  box-shadow: 0 2px 10px rgba(18, 48, 74, 0.07);
}

.recruit-job-card-light {
  border-top-color: #f8c10f;
  background: #fffdf3;
}

.recruit-job-label {
  margin: 0 0 4px;
  color: #0075be;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.recruit-job-card h3 {
  margin: 0 0 12px;
  color: #12304a;
  font-size: 24px;
}

.recruit-job-card > p:not(.recruit-job-label) {
  color: #4e5967;
}

.recruit-job-summary {
  margin: 20px 0 14px;
}

.recruit-job-summary div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  padding: 8px 0;
  border-bottom: 1px solid rgba(18, 48, 74, 0.1);
  font-size: 13px;
}

.recruit-job-summary dt {
  font-weight: 600;
}

.recruit-job-summary dd {
  margin: 0;
  color: #666;
}

.recruit-work {
  background: #f8fafc;
}

.recruit-work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.recruit-work-card {
  position: relative;
  min-height: 190px;
  padding: 24px 18px 18px;
  overflow: hidden;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(18, 48, 74, 0.06);
}

.recruit-work-number {
  position: absolute;
  top: 7px;
  right: 12px;
  color: rgba(0, 117, 190, 0.09);
  font-size: 46px;
  font-weight: 700;
}

.recruit-work-card h3 {
  position: relative;
  margin: 0 0 10px;
  color: #12304a;
  font-size: 17px;
}

.recruit-work-card p {
  position: relative;
  margin: 0;
  color: #596574;
  font-size: 13px;
}

.recruit-small-note {
  margin: 14px 0 0;
  color: #6a7380;
  font-size: 12px;
}

.recruit-culture {
  background: linear-gradient(135deg, rgba(18, 48, 74, 0.98), rgba(0, 92, 153, 0.95));
}

.recruit-culture .page-kicker {
  color: #8edaff;
}

.recruit-culture .section-title,
.recruit-culture .section-lead {
  color: #ffffff;
}

.recruit-culture .section-lead {
  max-width: 760px;
  opacity: 0.88;
}

.recruit-culture-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.culture-card {
  padding: 28px 24px 24px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
}

.culture-card-heading {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin-bottom: 16px;
}

.culture-card-heading span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #0075be;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

.culture-card-respect .culture-card-heading span {
  background: #d8a400;
}

.culture-card h3 {
  margin: 3px 0 0;
  color: #12304a;
  font-size: 19px;
  line-height: 1.5;
}

.culture-card p {
  margin: 0 0 12px;
  color: #4f5b69;
  font-size: 14px;
}

.culture-card .culture-emphasis {
  margin: 18px 0 0;
  padding: 11px 12px;
  border-left: 4px solid #00a3e0;
  background: #f5f9ff;
  color: #12304a;
  font-weight: 600;
}

.culture-card-respect .culture-emphasis {
  border-left-color: #f8c10f;
  background: #fffbea;
}

.recruit-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.video-placeholder {
  padding-bottom: 16px;
  overflow: hidden;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(18, 48, 74, 0.09);
}

.video-placeholder-screen {
  display: grid;
  aspect-ratio: 16 / 9;
  place-items: center;
  background: linear-gradient(135deg, #12304a, #0075be);
}

.video-placeholder-screen span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  min-height: 42px;
  padding: 8px 14px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.video-placeholder h3,
.video-placeholder p {
  margin-right: 16px;
  margin-left: 16px;
}

.video-placeholder h3 {
  margin-top: 15px;
  margin-bottom: 6px;
  color: #12304a;
  font-size: 16px;
}

.video-placeholder p {
  margin-top: 0;
  margin-bottom: 0;
  color: #697483;
  font-size: 13px;
}

.recruit-requirements {
  background: linear-gradient(180deg, #f5f9ff, #ffffff);
}

.recruit-environment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.recruit-environment-grid article {
  padding: 22px 20px;
  border-left: 4px solid #00a3e0;
  background: #f8fafc;
}

.recruit-environment-grid h3 {
  margin: 0 0 8px;
  color: #12304a;
  font-size: 17px;
}

.recruit-environment-grid p {
  margin: 0;
  color: #66717f;
  font-size: 13px;
}

.requirements-card {
  overflow: hidden;
  border: 1px solid #dbe4ee;
  border-radius: 8px;
  background: #ffffff;
}

.requirements-card h3 {
  margin: 0;
  padding: 14px 18px;
  background: #12304a;
  color: #ffffff;
  font-size: 18px;
}

.requirements-card dl {
  margin: 0;
}

.requirements-card dl div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  border-bottom: 1px solid #e5ebf2;
}

.requirements-card dl div:last-child {
  border-bottom: 0;
}

.requirements-card dt,
.requirements-card dd {
  padding: 11px 13px;
  font-size: 13px;
}

.requirements-card dt {
  background: #f8fafc;
  font-weight: 600;
}

.requirements-card dd {
  margin: 0;
  color: #687280;
}

.recruit-process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.recruit-process-list li {
  position: relative;
  padding: 20px 12px;
  border-radius: 7px;
  background: #f5f9ff;
  text-align: center;
}

.recruit-process-list span {
  display: grid;
  width: 32px;
  height: 32px;
  margin: 0 auto 9px;
  place-items: center;
  border-radius: 50%;
  background: #0075be;
  color: #ffffff;
  font-weight: 700;
}

.recruit-process-list strong {
  color: #12304a;
  font-size: 13px;
}

.recruit-contact {
  background: #f8fafc;
}

.recruit-contact-box {
  padding: 34px 24px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(18, 48, 74, 0.08);
  text-align: center;
}

.recruit-contact-box h2 {
  margin: 0 0 10px;
  color: #12304a;
  font-size: 24px;
}

.recruit-contact-box p:not(.page-kicker) {
  margin: 0 0 20px;
  color: #606b79;
}

@media (max-width: 768px) {
  .form-project-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .recruit-hero {
    padding: 64px 0 58px;
  }

  .recruit-phone-notice {
    padding: 20px 16px;
  }

  .recruit-phone-heading .sp-only {
    display: initial;
  }

  .recruit-hero-actions {
    display: grid;
  }

  .recruit-job-grid,
  .requirements-tabs,
  .recruit-culture-grid,
  .recruit-video-grid,
  .recruit-environment-grid {
    grid-template-columns: 1fr;
  }

  .recruit-work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .recruit-process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .recruit-work-grid,
  .recruit-process-list {
    grid-template-columns: 1fr;
  }

  .requirements-card dl div {
    grid-template-columns: 100px minmax(0, 1fr);
  }
}


/* =========================================================
   機械画像オーバーレイ（PC / SP：スライドごとに個別設定）
   ========================================================= */

/* ==============================
   🖥 PC版（769px以上）
   ============================== */

/* 1枚目 */
.hero-slide-1::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 35%;
  height: 100%;
  background: url("../img/integrex-j200s_pc.webp") no-repeat right center;
  background-size: contain;
  pointer-events: none;
  opacity: 1;
}

/* 2枚目 */
.hero-slide-2::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 35%;
  height: 100%;
  background: url("../img/robot_pc.webp") no-repeat right center;
  background-size: contain;
  pointer-events: none;
  opacity: 1;
}

/* 3枚目 */
.hero-slide-3::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 35%;
  height: 100%;
  background: url("../img/integrex-j200s_pc.webp") no-repeat right center;
  background-size: contain;
  pointer-events: none;
  opacity: 1;
}

/* ==============================
   📱 SP版（768px以下）
   ============================== */
@media (max-width: 768px) {

  /* 1枚目 */
  .hero-slide-1::after {
    content: "";
    position: absolute;
    width: 60%;
    height: 170%;
    top: 20px;
    right: 0;
    background-image: url("../img/integrex-j200s_sp.webp");
    background-position: calc(100% + 30px) top;
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
  }

  /* 2枚目 */
  .hero-slide-2::after {
    content: "";
    position: absolute;
    width: 60%;
    height: 170%;
    top: 20px;
    right: 0;
    background-image: url("../img/robot_sp.webp");
    background-position: calc(100% + 30px) top;
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
  }

  /* 3枚目 */
  .hero-slide-3::after {
    content: "";
    position: absolute;
    width: 60%;
    height: 170%;
    top: 20px;
    right: 0;
    background-image: url("../img/integrex-j200s_sp.webp");
    background-position: calc(100% + 30px) top;
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
  }
}


/* =========================================================
   hero text readability tweaks v3 (PC: 黒文字 / SP: 白ふち)
   ========================================================= */
.hero-title,
.hero-subtitle,
.hero-lead,
.hero-meta {
  color: #000;
  text-shadow: none;
}

@media (max-width: 768px) {
  .hero-title,
  .hero-subtitle,
  .hero-lead,
  .hero-meta {
    text-shadow:
      -1px -1px 0 rgba(255, 255, 255, 0.95),
       1px -1px 0 rgba(255, 255, 255, 0.95),
      -1px  1px 0 rgba(255, 255, 255, 0.95),
       1px  1px 0 rgba(255, 255, 255, 0.95);
  }
}


/* =========================================================
   hero 背景画像（右側 1/3 に配置）
   ========================================================= */
.hero-slide {
  position: relative;
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 40%;
  max-width: 640px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
}

.hero-bg-image picture,
.hero-bg-image img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-inner,
.hero-content {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .hero-bg-image {
    width: 70%;
    max-width: none;
    opacity: 0.35;
  }

  .hero-content {
    max-width: 100%;
  }
}
