/* =========================================
   株式会社ニドア 採用LP - STEP3 デザイン完成版
   配色: ネイビー (#134b87) + オレンジアクセント (#f07000)
   フォント: Noto Sans JP
   ========================================= */

/* === CSS カスタムプロパティ === */
:root {
  --navy:       #134b87;
  --navy-dark:  #0c3460;
  --navy-light: #1a5fa8;
  --orange:     #f07000;
  --orange-h:   #d96000;
  --white:      #ffffff;
  --bg:         #f4f6f9;
  --bg-alt:     #eef1f7;
  --surface:    #ffffff;
  --text:       #1a1a2e;
  --text-mid:   #3d4966;
  --muted:      #6b7a9a;
  --line:       #dce2ef;
  --placeholder:#c8cedc;
  --placeholder-text: #7a88a8;
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --shadow-sm:  0 2px 8px rgba(19,75,135,.08);
  --shadow-md:  0 6px 24px rgba(19,75,135,.12);
  --shadow-lg:  0 12px 40px rgba(19,75,135,.18);
  --transition: .25s ease;
}

/* === リセット & ベース === */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p, ul, ol, h1, h2, h3, h4 {
  margin-top: 0;
}

address {
  font-style: normal;
}

/* === レイアウト === */
.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.section--tight {
  padding-top: 0;
  padding-bottom: 40px;
}

.section--alt {
  background: var(--bg-alt);
}

.section--contact {
  background: var(--navy-dark);
}

/* === プレースホルダー === */
.placeholder {
  background: var(--placeholder);
  border: 2px dashed var(--placeholder-text);
  color: var(--placeholder-text);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

.placeholder--hero {
  aspect-ratio: 16 / 9;
  min-height: 480px;
  background: linear-gradient(135deg, #1a3a6e 0%, #0c2a55 100%);
  border: none;
  color: rgba(255,255,255,.3);
  position: relative;
}

.placeholder--slide {
  aspect-ratio: 4 / 3;
  min-width: 220px;
  flex-shrink: 0;
}

.placeholder--image {
  aspect-ratio: 4 / 3;
  width: 100%;
}

/* === ヘッダー === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.97);
  border-bottom: 3px solid var(--navy);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 52px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.site-brand {
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--navy);
  white-space: nowrap;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
}

.site-logo {
  height: 36px;
  width: auto;
  display: block;
}

.site-header__navwrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  font-weight: 500;
}

.site-nav a {
  position: relative;
  padding: 4px 0;
  color: var(--text-mid);
  transition: color var(--transition);
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width var(--transition);
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--navy);
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px !important;
  background: var(--orange);
  color: var(--white) !important;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--orange-h);
  transform: translateY(-1px);
}

/* ハンバーガーボタン */
.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  border: 2px solid var(--navy);
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 8px;
  cursor: pointer;
  transition: background var(--transition);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle .menu-toggle__text {
  width: auto;
  height: auto;
  background: transparent;
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.08em;
  line-height: 1;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* === セクション見出し === */
.section-heading {
  margin-bottom: 48px;
}

.section-heading--center {
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  line-height: 1.3;
  color: var(--navy);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 14px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  border-radius: 999px;
}

.subsection-heading {
  margin: 56px 0 32px;
}

.subsection-heading h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 700;
  color: var(--navy);
  padding-left: 16px;
  border-left: 4px solid var(--orange);
  margin-bottom: 0;
}

/* === CTA ボタン === */
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.cta-buttons--center {
  justify-content: center;
}

.cta-buttons--hero {
  justify-content: center;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  cursor: pointer;
}

.cta-button--primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(240,112,0,.35);
}

.cta-button--primary:hover {
  background: var(--orange-h);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(240,112,0,.45);
}

.cta-button--tel {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--navy);
  box-shadow: var(--shadow-sm);
}

.cta-button--tel:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* === ヒーロー === */
.hero {
  padding: 0;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #1a3a6e;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 20, 0.45);
  z-index: 0;
}

.hero-copy {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: min(800px, calc(100% - 48px));
  text-align: center;
  z-index: 2;
}

.hero-eyebrow {
  background: rgba(255,255,255,.2);
  color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.4);
}

.hero-copy h1 {
  margin-bottom: 20px;
  font-size: clamp(1.8rem, 4.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.25;
  color: var(--white);
  text-shadow: 0 2px 16px rgba(0,0,0,.4);
}

.hero-lead {
  margin-inline: auto;
  max-width: 680px;
  color: rgba(255,255,255,.9);
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  text-shadow: 0 1px 6px rgba(0,0,0,.3);
  margin-bottom: 0;
}

/* === スライダー === */
.slider-area {
  background: var(--navy-dark);
  overflow: hidden;
}

.slider-outer {
  overflow: hidden;
  padding: 24px 0;
}

.slider-track {
  display: flex;
  gap: 12px;
  animation: slide-loop 32s linear infinite;
  width: max-content;
}

.slider-item {
  flex-shrink: 0;
  width: 220px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 6px;
}

.slider-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider-track:hover {
  animation-play-state: paused;
}

@keyframes slide-loop {
  0%   { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 8px)); }
}

/* === 1カラムメディアブロック（About / おわりに） === */
.single-media-block {
  display: grid;
  gap: 36px;
}

.single-media-block__text {
  display: grid;
  gap: 1em;
  font-size: 1.025rem;
}

.single-media-block__text p {
  margin-bottom: 0;
}

/* === こんな方歓迎リスト === */
.welcome-list {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.welcome-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.welcome-list li:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.welcome-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  line-height: 1;
}

/* === 職種ナビ === */
.job-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.job-nav-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
}

.job-nav-card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.job-nav-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 4px;
}

.job-nav-card p {
  color: var(--text-mid);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.job-nav-badge {
  display: inline-block;
  padding: 4px 14px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 999px;
  align-self: flex-start;
}

.job-nav-badge--sales {
  background: var(--orange);
}

.job-nav-arrow {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  opacity: .7;
}

/* === 職種セクション見出し === */
.job-section-head {
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--line);
}

.job-section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 0;
}

/* === ジグザグリスト === */
.zigzag-list {
  display: grid;
  gap: 64px;
}

.zigzag-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.zigzag-item.is-reverse {
  direction: rtl;
}

.zigzag-item.is-reverse > * {
  direction: ltr;
}

.zigzag-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}

.zigzag-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.zigzag-content {
  display: grid;
  gap: 12px;
}

.step-label {
  display: inline-block;
  padding: 3px 12px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  border-radius: 999px;
  align-self: flex-start;
}

.zigzag-content h4 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 0;
}

.zigzag-content p {
  color: var(--text-mid);
  margin-bottom: 0;
}

/* === カードグリッド === */
.card-grid {
  display: grid;
  gap: 24px;
}

.card-grid--three {
  grid-template-columns: repeat(3, 1fr);
}

/* === infoカード共通 === */
.info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.info-card__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.info-card__img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.info-card__body {
  padding: 24px;
  display: grid;
  gap: 10px;
  flex: 1;
}

.info-card__body h3,
.info-card__body h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.45;
  margin-bottom: 0;
}

.info-card__body p {
  color: var(--text-mid);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.card-step {
  display: inline-block;
  padding: 3px 12px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  border-radius: 999px;
}

/* merit カード */
.info-card--merit .info-card__body h3 {
  font-size: 1.15rem;
}

/* member カード */
.member-card .info-card__body h3 {
  font-size: 1rem;
  color: var(--orange);
}

/* === CTA ボックス === */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
}

.cta-box {
  text-align: center;
}

.cta-box .section-heading h2 {
  color: var(--white);
}

.cta-box .eyebrow {
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.4);
}

.cta-lead {
  color: rgba(255,255,255,.85);
  font-size: 1rem;
  margin-bottom: 0;
}

/* === タイムラインカード === */
.timeline-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.timeline-group {
  padding: 36px 32px;
}

.timeline-group:first-child {
  border-right: 2px solid var(--line);
}

.timeline-role {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  padding-bottom: 16px;
  border-bottom: 2px solid var(--navy);
  margin-bottom: 24px;
}

.timeline-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-time {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.timeline-text {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* === 募集要項カード === */
.requirements-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.requirements-role {
  padding: 32px 36px;
}

.requirements-role + .requirements-role {
  border-top: 3px solid var(--bg-alt);
}

.requirements-role-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--navy);
}

.requirements-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.requirements-row:last-child {
  border-bottom: none;
}

.requirements-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  text-align: center;
  align-self: flex-start;
  white-space: nowrap;
  letter-spacing: 0.05em;
}

.requirements-value {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.85;
}

/* === 応募フォーム === */
.section--contact .section-heading h2 {
  color: var(--white);
}

.section--contact .section-heading .eyebrow {
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.4);
}

.contact-lead {
  text-align: center;
  color: rgba(255,255,255,.85);
  margin-bottom: 32px;
}

/* honeypot 非表示 */
.form-honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.required {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 999px;
  vertical-align: middle;
}

.optional {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  background: var(--muted);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 999px;
  vertical-align: middle;
}

.form-input,
.form-textarea {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(19,75,135,.12);
}

.form-input.is-invalid,
.form-textarea.is-invalid {
  border-color: #e03030;
}

.form-error {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
  color: #e03030;
  font-weight: 500;
  min-height: 1.2em;
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.form-actions {
  margin-top: 8px;
  text-align: center;
}

.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  padding: 18px 36px;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(240,112,0,.4);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.submit-button:hover {
  background: var(--orange-h);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(240,112,0,.5);
}

.submit-button:disabled {
  background: var(--placeholder);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* === フッター === */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.7);
  padding: 40px 0;
  text-align: center;
}

.site-footer__inner {
  display: grid;
  gap: 8px;
}

.site-footer__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0;
}

.site-footer__address {
  font-size: 0.85rem;
  margin-bottom: 0;
}

.site-footer__copy {
  font-size: 0.8rem;
  margin-bottom: 0;
}

/* === 強調テキスト === */
strong {
  font-weight: 700;
  color: var(--orange);
}

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

/* タブレット */
@media (max-width: 960px) {
  .card-grid--three {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline-card {
    grid-template-columns: 1fr;
  }

  .timeline-group:first-child {
    border-right: none;
    border-bottom: 2px solid var(--line);
  }

  .requirements-row {
    grid-template-columns: 100px 1fr;
  }
}

/* スマホ */
@media (max-width: 768px) {
  .section {
    padding: 56px 0;
  }

  .site-header__inner {
    min-height: 48px;
  }

  .site-logo {
    height: 30px;
  }

  /* ハンバーガーメニュー表示 */
  .menu-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    z-index: 200;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 16px;
  }

  .site-nav li {
    border-bottom: 1px solid var(--line);
  }

  .site-nav li:last-child {
    border-bottom: none;
    padding-top: 12px;
  }

  .site-nav a {
    display: block;
    padding: 14px 8px;
    font-size: 1rem;
  }

  .nav-cta {
    display: flex;
    justify-content: center;
    padding: 14px 8px !important;
  }

  /* ヒーロー */
  .hero-copy h1 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .hero-lead {
    font-size: 0.875rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-button {
    min-width: 280px;
    width: 100%;
    max-width: 360px;
  }

  /* ジグザグ → 縦積み（写真→文章） */
  .zigzag-item {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* 写真を必ず上に */
  .zigzag-item .zigzag-media { order: -1; }
  .zigzag-item.is-reverse { direction: ltr; }
  .zigzag-item.is-reverse .zigzag-media { order: -1; }

  /* カードグリッド → 1カラム */
  .card-grid--three {
    grid-template-columns: 1fr;
  }

  /* 職種ナビ → 縦積み */
  .job-nav-grid {
    grid-template-columns: 1fr;
  }

  /* タイムライン */
  .timeline-group {
    padding: 28px 20px;
  }

  .timeline-item {
    grid-template-columns: 60px 1fr;
  }

  /* 募集要項 */
  .requirements-role {
    padding: 24px 20px;
  }

  .requirements-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .requirements-label {
    align-self: auto;
    display: inline-flex;
    width: auto;
  }

  /* フォーム */
  .contact-form {
    padding: 28px 20px;
  }

  .submit-button {
    min-width: auto;
    width: 100%;
  }
}

/* 小さめのスマホ */
@media (max-width: 480px) {
  .hero-visual {
    min-height: 380px;
  }

  .placeholder--hero {
    min-height: 380px;
  }

  .section-heading h2 {
    font-size: 1.5rem;
  }
}

/* アクセシビリティ: フォーカスリング */
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

/* アニメーション: スクロールフェードイン */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6px ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .6s ease, transform .6s ease;
}
