/* =============================================================
   ヤマトオートワークス沖縄株式会社 採用LP
   style.css
   ============================================================= */

/* ----- Variables ----- */
:root {
  --color-blue: #0F59B5;
  --color-blue-dark: #0A3D85;
  --color-yellow: #FCCF00;
  --color-yellow-dark: #F5C400;
  --color-text: #1A1A1A;
  --color-text-sub: #555;
  --color-bg: #FFFFFF;
  --color-bg-gray: #F0F0F0;
  --color-bg-gray-light: #F7F7F7;
  --color-border: #E0E0E0;

  --font-jp: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック",
             "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "Meiryo",
             sans-serif;
  --font-en: "Albert Sans", "Helvetica Neue", Arial, sans-serif;

  --header-h: 135px;
  --container: 1100px;
  --radius: 16px;
  --radius-lg: 32px;
  --radius-xl: 5em;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .06);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, .10);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, .15);

  --z-header: 100;
  --z-fab: 110;
  --z-menu: 1000;
  --z-modal: 2000;

  --ease: cubic-bezier(.4, .0, .2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg { max-width: 100%; height: auto; vertical-align: middle; }

a { color: inherit; text-decoration: none; transition: opacity .2s var(--ease), color .2s var(--ease); }
a:hover { opacity: .75; }

button {
  border: 0; padding: 0; background: transparent; cursor: pointer;
  font-family: inherit; color: inherit;
}

ul, ol, dl { list-style: none; margin: 0; padding: 0; }
dt, dd { margin: 0; }

h1, h2, h3, h4, h5, h6, p { margin: 0; }

iframe { display: block; }

/* スクロール時のセクション位置調整（固定ヘッダー分） */
section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

/* body lock */
body.is-locked { overflow: hidden; }

/* ----- Utility ----- */
@media (max-width: 767px) { .pc-only { display: none !important; } }
@media (min-width: 768px) { .sp-only { display: none !important; } }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Section common ===== */
.section {
  padding: 128px 0;
  margin-top: -30px;
  border-radius: 32px 32px 0 0;
}
.section--message { background: #F0F0F0; border-radius: 32px 32px 0 0; }
.section--jobs { background: #FFFFFF; }
.section--interview { background: #FFFFFF; padding-top: 0; }
.section--recruit { position: relative; padding: 90px 0; overflow: hidden; }
.section--company { background: #FFFFFF; }
.section--contact { background: var(--color-blue); padding: 80px 0 90px; }

/* ===== Heading common ===== */
.heading {
  text-align: center;
  margin-bottom: 56px;
  line-height: 1;
}
.heading__en {
  display: block;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: clamp(44px, 6vw, 72px);
  color: var(--color-blue);
  letter-spacing: -.01em;
  line-height: 1;
}
.heading__jp {
  display: block;
  margin-top: 14px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: .12em;
}
.heading--white .heading__en { color: #fff; }
.heading--white .heading__jp { color: #fff; }

/* ============================================================
   Header
   ============================================================ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(140%) blur(6px);
  z-index: var(--z-header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px 0 18px;
}
.header__brand {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  text-decoration: none;
}
.header__logo {
  width: 300px; height: 38px; flex-shrink: 0;
}
.header__title {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px;
  font-weight: 700;
  font-size: 18px;
  color: var(--color-text);
  letter-spacing: .02em;
}
.header__title-bar { color: #BFBFBF; margin: 0 2px; }

/* Hamburger (SP) */
.hamburger {
  display: none;
  width: 64px; height: 64px;
  position: relative;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-blue);
  border: 2px solid #fff;
}
.hamburger__line {
  position: absolute;
  left: 14px; right: 14px;
  height: 1px;
  background: #fff;
  transition: transform .3s var(--ease), opacity .3s var(--ease), top .3s var(--ease);
}
.hamburger__line:nth-child(1) { top: 20px; }
.hamburger__line:nth-child(2) { top: 30px; }
.hamburger__line:nth-child(3) { top: 40px; }

/* ============================================================
   ENTRY Floating Button（追従）
   ============================================================ */
.entry-fab {
  position: fixed;
  top: 32px;
  right: 32px;
  z-index: var(--z-fab);
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--color-blue);
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.entry-fab:hover {
  opacity: 1;
  transform: scale(1.06);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .22);
}
.entry-fab__text {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: .04em;
  color: var(--color-yellow);
}

/* ============================================================
   MV (Hero)
   ============================================================ */
.mv {
  position: relative;
  margin-top: var(--header-h);
  height: clamp(420px, 74vh, 676px);
}
.mv__slides {
  position: absolute;
  inset: 0;
  border-radius: 32px 32px 0 0;
  overflow: hidden;
}
.mv__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease;
}
.mv__slide.is-active {
  opacity: 1;
}
@keyframes mv-zoom-in {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}
@keyframes mv-zoom-out {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}
.mv::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, .15) 100%);
  pointer-events: none;
}

.mv h1 {
  position: absolute;
  z-index: 10;
  left: 0;
  right: 0;
  margin: 30px auto 0;
  text-align: center;
  font-size: 22px;
  color: #fff;
}


/* セクションナビ（MV下部にオーバーレイ／PCのみ） */
.section-nav {
  position: absolute;
  left: 50%;
  bottom: 96px;
  transform: translateX(-50%);
  z-index: 5;
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: 8px 28px;
  width: min(985px, 92%);
}
.section-nav__list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.section-nav__list li {
  flex: 1;
  text-align: center;
  position: relative;
}
.section-nav__list a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 8px 2px;
  font-weight: 700;
  line-height: 180%;
  transition: color .2s var(--ease);
}
.section-nav__list .en {
  font-family: var(--font-en);
  font-size: 22px;
  color: var(--color-blue);
  letter-spacing: .02em;
}
.section-nav__list .jp {
  font-size: 16px;
  color: #555;
}
.section-nav__list a:hover { opacity: 1; color: var(--color-blue-dark); }
.section-nav__list a:hover .en { color: var(--color-blue-dark); }

/* セクションナビ分の余白を Message に持たせる */
.section--message { padding-top: 130px; margin-top: -30px; }

/* ============================================================
   Message Section
   ============================================================ */
.message__body {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  line-height: 2.1;
  color: var(--color-text);
}
.message__body p + p { margin-top: 1.6em; }

/* YouTube block */
.youtube-block {
  margin: 0 auto;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  /* ↓ 背景画像は後日 images/ フォルダの画像に差し替えてください */
  background-image: url('../images/youtube-bg.webp');
  background-size: cover;
  background-position: center;
  /* フォールバック：画像が未設定の場合はブルーで表示 */
  background-color: var(--color-blue-dark);
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px rgba(15, 77, 168, .2);
}
.youtube-block__header {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 32px 20px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.youtube-block__bar-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.youtube-block__icon {
  flex-shrink: 0;
}
.youtube-block__title {
  font-weight: 700;
  font-size: 28px;
  letter-spacing: .04em;
}
.youtube-block__subtitle {
  font-weight: 700;
  font-size: 28px;
  color: #fff;
  letter-spacing: .04em;
}
.youtube-block__video {
  position: relative;
  z-index: 1;
  aspect-ratio: 16 / 9;
  max-width: 588px;
  width: 100%;
  margin: 0 auto 32px;
  border-radius: 16px;
  overflow: hidden;
}
.youtube-block__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* YouTube facade */
.youtube-facade {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.youtube-facade__thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.youtube-facade__play {
  position: relative;
  z-index: 1;
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease;
}
.youtube-facade:hover .youtube-facade__play,
.youtube-facade:focus .youtube-facade__play {
  transform: scale(1.1);
}
.youtube-facade:focus {
  outline: 3px solid var(--color-yellow);
  outline-offset: -3px;
}

/* ============================================================
   Jobs Section
   ============================================================ */
.job-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}
.job-card {
  background: var(--color-blue);
  color: #fff;
  border-radius: var(--radius);
  padding: 26px 24px 28px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.job-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 77, 168, .22);
}
.job-card__title {
  background: var(--color-yellow);
  color: var(--color-blue);
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  padding: 5px 16px;
  border-radius: var(--radius-xl);
  margin-bottom: 16px;
  letter-spacing: .04em;
}
.job-card__desc {
  font-size: 14px;
  line-height: 1.85;
}

/* ============================================================
   Interview Section
   ============================================================ */
.interview-scroll {
  margin-top: 8px;
  padding: 16px 0 8px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  /* scroll-snap-type: x mandatory; */
  scrollbar-width: thin;
  scrollbar-color: #BBB transparent;
}
.interview-scroll::-webkit-scrollbar { height: 8px; }
.interview-scroll::-webkit-scrollbar-thumb { background: #CCC; border-radius: 4px; }

.interview-scroll__track {
  display: flex;
  gap: 24px;
  padding: 12px 24px 32px;
  margin: 0 auto;
  /*
  padding: 12px max(24px, calc((100vw - var(--container)) / 2 + 24px)) 32px;
  */
  width: max-content;
}

.interview-card {
  flex: 0 0 320px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
  overflow: hidden;
  text-align: left;
  scroll-snap-align: start;
  position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.interview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .14);
}
.interview-card:hover .interview-card__photo img { transform: scale(1.06); }
.interview-card__photo {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #EEE;
}
.interview-card__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.interview-card__body {
  padding: 18px 22px 26px;
  position: relative;
  min-height: 138px;
}
.interview-card__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--color-blue);
  padding-right: 56px;
}
.interview-card__arrow {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--color-blue);
  display: grid;
  place-items: center;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.interview-card:hover .interview-card__arrow {
  background: var(--color-blue-dark);
  transform: scale(1.08);
}

/* ============================================================
   Recruit Section
   ============================================================ */
.section--recruit {
  padding: 110px 0;
  color: #fff;
  text-align: center;
}
.recruit__bg {
  position: absolute;
  inset: 0;
  background: url(../images/recruit-bg.webp) center / cover no-repeat;
  filter: blur(.5px);
}
.recruit__overlay {
  /*
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 77, 168, .85) 0%, rgba(15, 77, 168, .92) 100%);
  */
}
.recruit__inner {
  position: relative;
}
.recruit__cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--color-yellow);
  color: var(--color-blue);
  font-weight: 700;
  font-size: 17px;
  padding: 18px 56px;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  letter-spacing: .03em;
}
.recruit__cta:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .3);
  background: var(--color-yellow-dark);
}
.recruit__cta-arrow {
  display: inline-block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  position: relative;
}
.recruit__cta-arrow::before {
  content: '';
  position: absolute;
  inset: 0;
  background: currentColor;
  clip-path: polygon(
    50.72% 50%,
    38.93% 38.22%,
    44.82% 32.32%,
    62.5%  50%,
    44.82% 67.68%,
    38.93% 61.78%
  );
}

/* ============================================================
   Company Section
   ============================================================ */
.company__name {
  color: var(--color-blue);
  text-align: center;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 28px;
}
.company__table {
  max-width: 1000px;
  margin: 0 auto 56px;
  overflow: hidden;
}
.company__row {
  display: grid;
  grid-template-columns: 170px 1fr;
  background: var(--color-bg-gray);
  border-radius: 8px;
  margin-bottom: 8px;
}
.company__row:last-child { margin-bottom: 0; }
.company__row dt {
  color: var(--color-blue);
  font-weight: 700;
  padding: 18px 22px;
}
.company__row dd {
  padding: 18px 22px;
}

/* Factory */
.factory {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto 32px;
  align-items: start;
}
.factory__photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.factory__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.factory__info {}
.factory__title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-blue);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 16px;
}
.factory__title-mark {
  width: 8px; height: 8px;
  background: var(--color-yellow);
  border-radius: 1px;
}
.factory__zip { font-size: 12px; color: var(--color-text-sub); }
.factory__address { margin-bottom: 16px; }
.factory__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 24px;
}
.factory__contact li {
  display: flex; align-items: center; gap: 8px;
}
.factory__contact a { color: var(--color-text); }
.factory__contact svg { width: 24px; height: 24px; flex-shrink: 0; }
.factory__services {
  border-radius: 8px;
  padding: 16px;
  background: #F0F0F0;
  position: relative;
}
.factory__services-label {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 3px 20px;
  font-weight: 700;
  color: var(--color-blue);
  letter-spacing: .08em;
}
.factory__services-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 20px;
  margin-top: 16px;
  font-size: 13px;
}
.factory__services-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.4;
}
.factory__services-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

/* Map */
.company__map {
  max-width: 1000px;
  margin: 0 auto;
  aspect-ratio: 16 / 7;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .06);
}
.company__map iframe {
  width: 100%; height: 100%;
  border: 0;
}

/* ============================================================
   Contact Section
   ============================================================ */
.contact-block {
  text-align: center;
  color: #fff;
}
.contact-block__row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
}
.contact-block__row:last-child { margin-bottom: 0; }
.contact-block__pill {
  color: #fff;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: .12em;
  text-transform: lowercase;
  border-bottom: 1px solid rgba(255, 255, 255, .7);
  padding: 0 16px 4px;
}
.contact-block__main {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.2;
  margin-top: 4px;
}
.contact-block__main a { color: #fff; }
.contact-block__sub { font-size: 18px; color: rgba(255, 255, 255, .9); margin-top: -2px; }
.contact-block__main--sm { font-size: 28px; display: flex; align-items: center; }
.contact-block__note { font-size: 18px; font-weight: 400; margin-left: 4px; }
.contact-block__note--block { display: block; margin-left: 0; margin-top: 2px; }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--color-blue);
  padding: 80px 24px 40px;
  text-align: center;
  border-radius: 32px 32px 0 0;
}
.footer__inner {}
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 64px;
  margin-bottom: 48px;
  font-weight: 700;
  font-size: 15px;
}
.footer__name span {
  font-size: 28px;
  color: #fff;
  margin-left: 4px;
}
.footer__copyright {
  font-family: var(--font-en);
  color: #fff;
  letter-spacing: .04em;
}

/* ============================================================
   Modal
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.modal.is-open {
  display: flex;
  opacity: 1;
}
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  cursor: pointer;
}
.modal__content {
  position: relative;
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  width: min(1080px, 100%);
  max-height: min(86vh, 720px);
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: translateY(10px);
  transition: transform .3s var(--ease);
}
.modal.is-open .modal__content { transform: translateY(0); }

.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #DDD;
  display: grid;
  place-items: center;
  z-index: 2;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.modal__close:hover { background: #F0F0F0; }

.modal__photo {
  position: relative;
  background: #DDD;
  min-height: 100%;
}
.modal__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.modal__body {
  padding: 44px 44px 40px;
  overflow-y: auto;
  max-height: min(86vh, 720px);
}
.modal__title {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 28px;
  color: var(--color-text);
}
.qa { margin-bottom: 22px; }
.qa:last-child { margin-bottom: 0; }
.qa__q {
  color: var(--color-blue);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 10px;
  line-height: 1.5;
}
.qa__a {
  font-size: 14px;
  line-height: 1.95;
  color: var(--color-text);
}
.qa__a .mark {
  background: linear-gradient(transparent 60%, rgba(255, 213, 0, .55) 60%);
  font-weight: inherit;
  padding: 0 1px;
}

/* ============================================================
   Mobile Menu
   ============================================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  background: #fff;
  display: flex;
  flex-direction: column;
  padding: 80px 24px 0;
  transform: translateX(100%);
  transition: transform .35s var(--ease);
  visibility: hidden;
  overflow-y: auto;
}
.mobile-menu.is-open {
  transform: translateX(0);
  visibility: visible;
}
.mobile-menu__close {
  position: fixed;
  top: 16px; right: 16px;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--color-blue);
  border: 2px solid #fff;
  display: grid;
  place-items: center;
  z-index: 1;
}
.mobile-menu__nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu__nav ul {
  text-align: center;
  width: 100%;
}
.mobile-menu__nav li { margin-bottom: 22px; }
.mobile-menu__nav a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.mobile-menu__nav .en {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 22px;
  color: var(--color-blue);
}
.mobile-menu__nav .jp {
  font-size: 12px;
  color: var(--color-text);
  font-weight: 700;
  letter-spacing: .1em;
}
.mobile-menu__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 0;
  border-top: 1px solid var(--color-border);
  font-weight: 700;
  font-size: 15px;
}
.mobile-menu__brand img { margin-bottom: 4px; width: 200px; height: auto; }
.mobile-menu__brand small { font-size: 18px; font-weight: 600; }
.mobile-menu__contact {
  background: var(--color-blue);
  color: #fff;
  border-radius: var(--radius);
  padding: 22px 16px 24px;
  margin-bottom: 24px;
}
.mobile-menu__contact-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 12px;
}
.mobile-menu__contact-row:last-child { margin-bottom: 0; }
.mobile-menu__contact-pill {
  display: inline-block;
  background: #fff;
  color: var(--color-blue);
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 14px;
  padding: 0px 32px;
  border-radius: 999px;
  margin-bottom: 6px;
  letter-spacing: .12em;
}
.mobile-menu__contact-row a {
  display: inline-block;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  margin: 4px 4px 0;
}
.mobile-menu__contact-row small {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, .9);
  margin-top: 2px;
}

/* ============================================================
   Job Detail Pages (共通：自動車整備士／電装整備士／車体整備士)
   ============================================================ */
.job-page { padding-top: var(--header-h); }

.breadcrumb { padding: 18px 0; }
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--color-text-sub);
}
.breadcrumb a { color: var(--color-blue); font-weight: 600; }
.breadcrumb__sep { color: #BBB; }
.breadcrumb__current { color: var(--color-text-sub); }

/* Page header (h1 + catch + MV image) */
.job-hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 8px;
}
.job-hero__img {
  width: 100%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
  display: block;
}
.job-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 40, 90, .1) 0%, rgba(10, 40, 90, .6) 100%);
}
.job-hero__inner {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 36px;
  color: #fff;
}
.job-hero__catch {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--color-yellow);
  margin-bottom: 8px;
}
.job-hero__title {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.3;
}

/* Article-style section wrapper */
.article-section { padding: 56px 0; }
.article-section--gray { background: var(--color-bg-gray-light); border-radius: var(--radius-lg); }
.article-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
  color: var(--color-blue);
  margin-bottom: 28px;
}
.article-heading::before {
  content: '';
  width: 8px;
  height: 28px;
  background: var(--color-yellow);
  border-radius: 2px;
  flex-shrink: 0;
}

.article-body {
  max-width: 760px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.95;
  color: var(--color-text);
}
.article-body p + p { margin-top: 1.4em; }
.article-body strong { color: var(--color-blue); }

/* 1日の流れ */
.day-flow {
  max-width: 760px;
  margin: 28px auto 0;
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
}
.day-flow__title { font-weight: 700; color: var(--color-blue); margin-bottom: 14px; font-size: 15px; }
.day-flow__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
}
.day-flow__list li { display: flex; align-items: center; gap: 6px; }
.day-flow__list li:not(:last-child)::after { content: '→'; color: var(--color-blue); margin-left: 6px; font-weight: 400; }

/* 募集要項テーブル・扱う車両設備・応募資格などは company__table / company__row を流用 */

/* FAQ（モーダルの qa パーツを流用しつつ拡大） */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-list .qa { margin-bottom: 28px; }
.faq-list .qa__q { font-size: 16px; }
.faq-list .qa__a { font-size: 15px; line-height: 1.9; }

/* 応募方法 CTA */
.apply-cta { max-width: 760px; margin: 0 auto; text-align: center; }
.apply-cta__btn { margin-bottom: 40px; }
.apply-cta__note { font-size: 13px; color: var(--color-text-sub); margin-top: 14px; }
.apply-cta__contacts {
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}
.apply-cta__item { text-align: center; }
.apply-cta__label {
  display: inline-block;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: lowercase;
  color: #fff;
  background: var(--color-blue);
  padding: 2px 18px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.apply-cta__value { font-size: 24px; font-weight: 700; color: var(--color-text); }
.apply-cta__value a { color: var(--color-blue); }
.apply-cta__sub { font-size: 13px; color: var(--color-text-sub); margin-top: 2px; }

/* 他職種への回遊（job-card を再利用） */
.job-cross {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
}
a.job-card { display: block; text-align: center; }

/* LPへ戻る導線 */
.back-to-lp { text-align: center; padding: 8px 0 64px; }
.back-to-lp a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--color-blue);
  border-bottom: 1px solid var(--color-blue);
  padding-bottom: 2px;
}

/* ============================================================
   Fade-in Animation
   ============================================================ */
[data-fade] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-fade].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Responsive (SP: ~ 767px)
   ============================================================ */
@media (max-width: 767px) {
  :root {
    --header-h: 86px;
    --container: 100%;

    --radius-lg: 16px;
  }

  .container { padding: 0 18px; }

  .section { padding: 64px 0; border-radius: 16px 16px 0 0; }
  .section--message { padding-top: 64px; }
  .section--interview { padding-bottom: 50px; }
  .section--recruit { padding: 80px 0; }
  .section--contact { padding: 64px 0 72px; }

  /* Header */
  .header { padding: 0 16px; }
  .header__brand { flex-direction: column; align-items: center; gap: 2px; }
  .header__logo { width: 150px; height: auto; }
  .header__title { font-size: 14px; line-height: 1; margin-top: 5px; }
  .header__title-tag { display: inline-block; }
  .hamburger { display: block; }

  /* ENTRY FAB */
  .entry-fab { display: none; }

  /* MV */
  .mv {
    height: clamp(280px, 56vh, 460px);
  }
  .mv h1 {
    font-size: 16px;
  }
  .section-nav { display: none; }

  /* Heading */
  .heading { margin-bottom: 36px; }
  .heading__en { font-size: 48px; }
  .heading__jp { font-size: 22px; }

  /* Message */
  .message__body {
    text-align: left;
    font-size: 18px;
    line-height: 1.95;
    margin-bottom: 32px;
  }
  .message__body br { display: none; }
  .youtube-block__header { padding: 16px 16px 8px; gap: 4px; }
  .youtube-block__bar-top { gap: 8px; flex-wrap: nowrap; align-items: center; }
  .youtube-block__bar-top img { width: 150px; height: auto; flex-shrink: 0; }
  .youtube-block__icon { width: 28px; height: 28px; }
  .youtube-block__title { font-size: 14px; white-space: nowrap; }
  .youtube-block__subtitle { font-size: 18px; }
  .youtube-block__video {
    max-width: 100%;
    margin: 0 auto 16px;
    width: calc(100% - 32px);
    aspect-ratio: 4 / 3;
  }
  .youtube-facade__thumb { object-position: center top; }
  .youtube-facade__play { width: 80px; height: 80px; }
  .youtube-facade__play svg { width: 80px; height: 80px; }

  /* Jobs */
  .job-cards {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 360px;
  }
  .job-card { padding: 22px 20px; }

  /* Interview */
  .interview-scroll {
    overflow-x: visible;
    overflow-y: visible;
    margin-top: 0;
    padding-top: 0;
  }
  .interview-scroll__track {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0 18px 28px;
    gap: 16px;
    align-items: stretch;
  }
  .interview-card { flex: 0 0 auto; width: 100%; position: relative; }
  .interview-card__title { font-size: 15px; padding-right: 0; }
  .interview-card__body { min-height: max-content; padding: 16px 18px; position: static; }
  .interview-card__arrow { width: 60px; height: 60px; right: auto; bottom: auto; top: 8px; left: 8px; }
  .interview-card__arrow svg { width: 25px; height: 25px; }
  .interview-card__photo { border-radius: 0 0 8px 8px; }

  /* Recruit */
  .recruit__cta {
    font-size: 14px;
    padding: 16px 28px;
    width: calc(100% - 40px);
    max-width: 380px;
    justify-content: center;
    text-align: center;
  }
  .recruit__cta-arrow { display: none; }

  /* Company */
  .company__name { font-size: 20px; margin-bottom: 23px; }
  .company__row {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
  }
  .company__row dt {
    padding: 10px 16px 4px;
  }
  .company__row dd {
    padding: 0 16px 12px;
  }

  .factory {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .factory__photo { aspect-ratio: 1 / 1; }
  .factory__contact { gap: 5px; }
  .factory__services-list { grid-template-columns: 1fr; }

  .factory__title { justify-content: center; }
  .factory__zip { text-align: center; }
  .factory__address { text-align: center; }
  .factory__contact { justify-content: center; flex-direction: column; align-items: center; }

  .company__map { aspect-ratio: 1 / 1; }

  /* Contact */
  .contact-block__row { gap: 8px; margin-bottom: 28px; }
  .contact-block__main { font-size: 28px; }
  .contact-block__main--sm { font-size: 20px; }
  .contact-block__sub { font-size: 16px; }
  .contact-block__note { display: block; margin-left: 0; font-size: 16px; }
  .contact-block__note--block { margin-top: 2px; }

  /* Footer */
  .footer { padding: 60px 16px 24px; border-radius: 16px 16px 0 0; }
  .footer__logo { width: 150px; height: auto; }
  .footer__name { font-size: 14px; }
  .footer__name span { font-size: 14px; }

  /* Modal */
  .modal { padding: 0; align-items: stretch; }
  .modal__content {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    width: 100%;
    max-height: 100vh;
    max-height: 100dvh;
    border-radius: 0;
  }
  .modal__close { top: 14px; right: 14px; }
  .modal__photo {
    aspect-ratio: 1 / 1;
    min-height: 0;
    max-height: 50vh;
  }
  .modal__body {
    padding: 24px 22px 32px;
    max-height: none;
  }
  .modal__title {
    font-size: 22px;
    margin-bottom: 22px;
  }
  .qa__q { font-size: 14.5px; }
  .qa__a { font-size: 13.5px; line-height: 1.85; }
}

/* Small phones */
@media (max-width: 374px) {
  .heading__en { font-size: 36px; }
  .interview-card { flex: 0 0 240px; }
}

/* ============================================================
   Job Detail Pages — Responsive (SP)
   ============================================================ */
@media (max-width: 767px) {
  .breadcrumb { padding: 12px 0; }
  .breadcrumb__list { font-size: 11.5px; gap: 4px; }

  .job-hero__img { aspect-ratio: 4 / 3; }
  .job-hero__inner { padding: 18px 20px; }
  .job-hero__catch { font-size: 12px; }

  .article-section { padding: 40px 0; }
  .article-heading { font-size: 20px; margin-bottom: 20px; }
  .article-body { font-size: 15px; line-height: 1.9; }

  .day-flow { padding: 18px 18px; margin-top: 20px; }
  .day-flow__list { font-size: 12px; }

  .apply-cta__contacts { gap: 32px; }
  .apply-cta__value { font-size: 19px; }

  .job-cross { grid-template-columns: 1fr; max-width: 360px; }

  .back-to-lp { padding: 8px 0 40px; }
}
