/* ============================================================
   ワザキャリ – top-page.css
   (SWELL child theme – global reset removed; custom header included)
   ============================================================ */

/* ----------------------------------------------------------
   4. Header（カスタムヘッダー）
   ---------------------------------------------------------- */
.wz-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  height: 3.5rem;
  transition:
    background-color 0.35s ease,
    box-shadow 0.35s ease;
}

.wz-header--scrolled,
.wz-header--page {
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.04),
    0 2px 16px rgba(0, 0, 0, 0.07);
}

.wz-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.wz-header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.wz-header__logo-img {
  height: 2rem;
  width: auto;
  display: block;
  min-width: 7rem;
  filter: brightness(0) invert(1);
  transition: filter 0.35s ease;
}

.wz-header--scrolled .wz-header__logo-img,
.wz-header--page .wz-header__logo-img {
  filter: none;
}

@media (min-width: 768px) {
  .wz-header__logo-img {
    height: 2.25rem;
  }
}

.wz-header__nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.wz-btn--nav-cta {
  background-color: var(--wz-primary) !important;
  color: var(--wz-text-white) !important;
  border: 2px solid var(--wz-primary) !important;
  padding: 0.45rem 1.25rem !important;
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  border-radius: 2rem !important;
  min-height: 0 !important;
  line-height: 1.5 !important;
  box-shadow: 0 2px 10px rgba(0, 205, 210, 0.35) !important;
  display: inline-flex !important;
  align-items: center !important;
  text-decoration: none !important;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (hover: hover) {
  .wz-btn--nav-cta:hover {
    background-color: var(--wz-primary-dark);
    border-color: var(--wz-primary-dark);
    box-shadow: 0 4px 14px rgba(0, 205, 210, 0.45);
    transform: translateY(-1px) scale(1.03);
  }
}

@media (hover: none) {
  .wz-btn--nav-cta:active {
    background-color: var(--wz-primary-dark) !important;
    border-color: var(--wz-primary-dark) !important;
  }
}

@media (min-width: 768px) {
  .wz-header {
    height: 4.5rem;
  }
}

/* ----------------------------------------------------------
   1. Custom Properties
   ---------------------------------------------------------- */
:root {
  /* ---- カラー ---- */
  --wz-primary: #00CDD2;
  --wz-primary-dark: #00A8AD;
  --wz-primary-deeper: #008B8F;
  --wz-primary-light: #E0F7F8;
  --wz-primary-bg: #F0FBFC;
  --wz-text: #1A1A1A;
  --wz-text-sub: #6B7280;
  --wz-text-white: #FFFFFF;
  --wz-bg-white: #FFFFFF;
  --wz-bg-light: #FAFAFA;
  --wz-bg-tint: #F0FBFC;
  --wz-footer-bg: #1A1A1A;
  --wz-footer-bg-dark: #111827;
  --wz-border: #E5E7EB;
  --wz-font: 'Noto Sans JP', sans-serif;

  /* ---- レイアウト ---- */
  --wz-content-max-width: 76rem;
  --wz-section-padding: 6rem;
  --wz-container-padding: 1.375rem;
  --wz-card-gap: 1.5rem;
  --wz-radius: 0.5rem;
  --wz-radius-lg: 0.75rem;

  /* ---- タイポグラフィ ---- */
  --wz-font-size-hero: clamp(2.125rem, 7vw + 0.5rem, 5rem);
  --wz-font-size-section-title: clamp(1.5rem, 2.5vw + 0.5rem, 2rem);
  --wz-font-en: 'Inter', sans-serif;
  --wz-font-size-body: 1rem;

  /* ---- シャドウ（Soft UI / 多層） ---- */
  --wz-shadow-sm:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 4px 12px rgba(0, 0, 0, 0.04);
  --wz-shadow-md:
    0 2px 6px rgba(0, 0, 0, 0.03),
    0 8px 24px rgba(0, 0, 0, 0.06),
    0 16px 40px rgba(0, 0, 0, 0.04);
  --wz-shadow-lg:
    0 4px 12px rgba(0, 0, 0, 0.04),
    0 12px 32px rgba(0, 0, 0, 0.07),
    0 24px 56px rgba(0, 0, 0, 0.05);
  --wz-shadow-primary:
    0 4px 12px rgba(0, 205, 210, 0.25),
    0 8px 28px rgba(0, 205, 210, 0.15);
  --wz-shadow-primary-hover:
    0 6px 16px rgba(0, 205, 210, 0.35),
    0 12px 36px rgba(0, 205, 210, 0.2);
}

@media (min-width: 768px) {
  :root {
    --wz-section-padding: 10rem;
    --wz-card-gap: 2rem;
  }
}

/* ----------------------------------------------------------
   2. Font Override（SWELLのフォント設定を上書き）
   ---------------------------------------------------------- */
body .wz-main,
body .wz-header,
body .wz-footer {
  font-family: 'Noto Sans JP', sans-serif !important;
}

body .wz-main h1,
body .wz-main h2,
body .wz-main h3,
body .wz-main h4,
body .wz-main h5,
body .wz-main h6 {
  font-family: 'Noto Sans JP', sans-serif !important;
  line-height: 1.4 !important;
  letter-spacing: 0.04em !important;
}

body .wz-main p,
body .wz-main span,
body .wz-main a,
body .wz-main li,
body .wz-main button {
  font-family: 'Noto Sans JP', sans-serif !important;
}

/* ----------------------------------------------------------
   3. Common Components
   ---------------------------------------------------------- */

/* Container */
.wz-container {
  max-width: var(--wz-content-max-width);
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--wz-container-padding);
  padding-left: var(--wz-container-padding);
}

/* Section Header */
.wz-section-header {
  text-align: center;
  margin-bottom: 4.5rem;
}

.wz-section-header__label {
  display: inline-block;
  color: rgba(0, 0, 0, 0.28);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  padding: 0;
  border: none;
  border-radius: 0;
  background-color: transparent;
}

.wz-section-header__title {
  font-size: var(--wz-font-size-section-title);
  font-weight: 900;
  color: var(--wz-text);
  line-height: 1.4;
}

/* Buttons */
.wz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--wz-radius);
  padding: 0.875rem 2.25rem;
  font-family: var(--wz-font);
  font-weight: 700;
  font-size: var(--wz-font-size-body);
  line-height: 1.4;
  min-height: 2.75rem;
  letter-spacing: 0.04em;
  transition:
    background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.3s ease,
    box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 2px solid transparent;
  text-align: center;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.wz-btn:active {
  transform: translateY(1px) scale(0.98) !important;
}

.wz-btn--primary {
  background-color: var(--wz-primary);
  color: var(--wz-text-white);
  border-color: var(--wz-primary);
  box-shadow: var(--wz-shadow-primary);
}

.wz-btn--cta-primary {
  background-color: var(--wz-bg-white);
  color: var(--wz-primary);
  border-color: var(--wz-bg-white);
  padding: 1rem 3rem;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.08),
    0 6px 20px rgba(0, 0, 0, 0.06);
}

.wz-btn--outline {
  background-color: transparent;
  color: var(--wz-text-white);
  border: 2px solid rgba(255, 255, 255, 0.8);
  padding: 1rem 3rem;
}

@media (hover: hover) {
  .wz-btn--primary:hover {
    background-color: var(--wz-primary-dark);
    border-color: var(--wz-primary-dark);
    box-shadow: var(--wz-shadow-primary-hover);
    transform: translateY(-2px);
  }

  .wz-btn--cta-primary:hover {
    background-color: var(--wz-bg-white);
    box-shadow:
      0 0 0 5px rgba(255, 255, 255, 0.22),
      0 4px 16px rgba(0, 0, 0, 0.1),
      0 8px 28px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
  }

  .wz-btn--outline:hover {
    background-color: var(--wz-bg-white);
    color: var(--wz-primary);
    border-color: var(--wz-bg-white);
    transform: translateY(-2px);
    box-shadow:
      0 4px 12px rgba(0, 0, 0, 0.1),
      0 8px 24px rgba(0, 0, 0, 0.08);
  }
}

/* Scroll Fade-in
   プログレッシブエンハンスメント方式:
   JSが有効な場合のみ .wz-js クラスが <html> に付与され、
   フェードアニメーションが有効になる。
   JSなし / 読み込み失敗時はコンテンツを常に表示。 */
.wz-js .wz-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  visibility: hidden;
}

.wz-js .wz-fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

/* ----------------------------------------------------------
   6. Main
   ---------------------------------------------------------- */
.wz-main {
  display: block;
}

/* ----------------------------------------------------------
   7. Hero Section
   ---------------------------------------------------------- */
.wz-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Ken Burns: 背景画像を ::after に分離してアニメーション */
.wz-hero::after {
  content: '';
  position: absolute;
  inset: -6%;
  background-image: url('../images/mainvisual.webp');
  background-size: cover;
  background-position: center center;
  z-index: 0;
  will-change: transform;
  animation: wz-kenburns 30s ease-in-out infinite alternate;
}

@keyframes wz-kenburns {
  0%   { transform: scale(1); }
  100% { transform: scale(1.1); }
}

@media (prefers-reduced-motion: reduce) {
  .wz-hero::after { animation: none; }
}

/* Dark overlay */
.wz-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(8, 18, 22, 0.78) 0%,
    rgba(8, 18, 22, 0.60) 55%,
    rgba(0, 30, 35, 0.48) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.wz-hero__inner {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding-top: 8rem;
  padding-bottom: 9rem;
  width: 100%;
}

.wz-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 42rem;
}

/* ラベル: "FOR SKILLED PROFESSIONALS" */
.wz-hero__label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--wz-primary);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  padding: 0.35em 1em;
  border: 1px solid rgba(0, 205, 210, 0.55);
  border-radius: 2rem;
  background-color: rgba(0, 205, 210, 0.1);
}

.wz-hero__title {
  font-size: var(--wz-font-size-hero);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.45;
  color: #FFFFFF;
}

/* タイトル前半を折り返し禁止（PCで1行に収める） */
.wz-hero__title-nowrap {
  white-space: nowrap;
}

/* 「技」: グラデーションアクセント + グロー */
.wz-hero__title-accent {
  display: inline-block;
  background: linear-gradient(135deg, #00E8EE 0%, var(--wz-primary) 50%, #00A8AD 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.1em;
  letter-spacing: 0.02em;
  line-height: 1;
  filter: drop-shadow(0 0 14px rgba(0, 232, 238, 0.65));
}

.wz-hero__subtitle {
  font-size: clamp(0.875rem, 2vw + 0.25rem, 1.0625rem);
  color: rgba(255, 255, 255, 0.8);
  margin-top: 1.75rem;
  line-height: 1.9;
}

/* 2ボタン横並び */
.wz-hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.75rem;
  align-items: center;
}

/* Hero primary button */
.wz-btn--hero-primary {
  background-color: var(--wz-primary);
  color: var(--wz-text-white);
  border: 2px solid var(--wz-primary);
  padding: 0.9375rem 2.5rem;
  border-radius: 0.375rem;
  box-shadow: none;
  cursor: pointer;
}

/* Hero outline button */
.wz-btn--hero-outline {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid rgba(255, 255, 255, 0.72);
  padding: 0.9375rem 2.5rem;
  border-radius: 0.375rem;
}

@media (hover: hover) {
  .wz-btn--hero-primary:hover {
    background-color: var(--wz-bg-white);
    color: var(--wz-primary);
    border-color: var(--wz-primary);
    box-shadow: none;
    transform: translateY(-2px);
  }

  .wz-btn--hero-outline:hover {
    background-color: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
  }
}

@media (hover: none) {
  .wz-btn--hero-primary:active {
    background-color: var(--wz-bg-white);
    color: var(--wz-primary);
    border-color: var(--wz-primary);
  }

  .wz-btn--hero-outline:active {
    background-color: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.95);
  }
}

/* Scroll indicator */
.wz-hero__scroll-indicator {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  z-index: 10;
}

.wz-hero__scroll-text {
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
}

.wz-hero__scroll-line {
  width: 1px;
  height: 2.75rem;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6) 0%, transparent 100%);
  transform-origin: top;
  animation: wz-scroll-drop 2.2s ease-in-out infinite;
}

@keyframes wz-scroll-drop {
  0%   { transform: scaleY(0); opacity: 0; }
  35%  { opacity: 1; }
  100% { transform: scaleY(1); opacity: 0.15; }
}

/* モバイル用 hero 調整 */
@media (max-width: 767px) {
  .wz-hero::after {
    background-position: 62% center;
  }

  .wz-hero__inner {
    padding-top: 6.5rem;
    padding-bottom: 6rem;
  }

  /* ボタンを縦並び全幅に（タップしやすく） */
  .wz-hero__buttons {
    flex-direction: column;
    width: 100%;
  }

  .wz-btn--hero-primary,
  .wz-btn--hero-outline {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
  }
}

@media (min-width: 768px) {
  .wz-hero__inner {
    padding-top: 10rem;
    padding-bottom: 10rem;
  }

  .wz-hero__content {
    max-width: 48rem;
  }
}

/* ----------------------------------------------------------
   8. Job Select Section
   ---------------------------------------------------------- */
.wz-job-select {
  background-color: var(--wz-bg-white);
  padding: var(--wz-section-padding) 0;
}

.wz-job-select__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--wz-card-gap);
}

@media (max-width: 767px) {
  .wz-card {
    padding: 2rem 1.75rem;
  }

  .wz-card__icon {
    height: 7rem;
  }
}

@media (min-width: 768px) {
  .wz-job-select__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Cards */
.wz-card {
  background-color: var(--wz-bg-white);
  border-radius: 1rem;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.03),
    0 8px 24px rgba(0, 0, 0, 0.05),
    0 24px 60px rgba(0, 0, 0, 0.06);
  padding: 2.75rem 2.5rem;
  text-align: center;
  position: relative;
  transition:
    box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.wz-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 9.5rem;
  overflow: hidden;
  border-radius: 0.75rem;
}

.wz-card__icon-img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.wz-card__title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--wz-text);
  margin-top: 1.25rem;
}

.wz-card__desc {
  font-size: 0.875rem;
  color: var(--wz-text-sub);
  line-height: 1.8;
  margin-top: 0.75rem;
}

.wz-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: 1.75rem;
  color: var(--wz-primary);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  border: 1.5px solid var(--wz-primary);
  background-color: transparent;
  cursor: pointer;
  transition:
    background-color 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.wz-card__arrow {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-size: 0.9em;
}

.wz-card__cta:active {
  transform: scale(0.97);
}

.wz-card__cta:active .wz-card__arrow {
  transform: translateX(4px);
}

@media (hover: hover) {
  .wz-card:hover {
    box-shadow:
      0 2px 6px rgba(0, 0, 0, 0.04),
      0 20px 50px rgba(0, 0, 0, 0.09),
      0 40px 80px rgba(0, 205, 210, 0.12);
    transform: translateY(-10px) scale(1.02);
  }

  .wz-card:hover .wz-card__icon-img {
    transform: scale(1.08);
  }

  /* CTAリンク：ホバー時にピル型ボタンへ変化 */
  .wz-card__cta:hover {
    background-color: var(--wz-primary);
    color: var(--wz-text-white);
    box-shadow: 0 4px 14px rgba(0, 205, 210, 0.35);
    transform: translateY(-1px);
  }

  .wz-card__cta:hover .wz-card__arrow {
    transform: translateX(5px);
  }
}

.wz-card:active {
  transform: translateY(-2px) scale(1.005);
}

@media (hover: none) {
  .wz-card__cta:active {
    background-color: var(--wz-primary);
    color: var(--wz-text-white);
    box-shadow: 0 4px 14px rgba(0, 205, 210, 0.35);
  }

  .wz-card__cta:active .wz-card__arrow {
    transform: translateX(5px);
  }
}

/* ----------------------------------------------------------
   9. Reasons Section
   ---------------------------------------------------------- */
.wz-reasons {
  background-color: var(--wz-primary-bg);
  padding: var(--wz-section-padding) 0;
}

.wz-reasons__list {
  max-width: 52rem;
  margin: 0 auto;
}

.wz-reasons__item {
  display: flex;
  gap: 2rem;
  padding: 2.75rem 0;
  border-bottom: 1px solid rgba(0, 205, 210, 0.18);
  align-items: flex-start;
}

.wz-reasons__item:last-child,
.wz-reasons__item--last {
  border-bottom: none;
}

/* 数字 + アイコン の左ブロック */
.wz-reasons__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
  flex-shrink: 0;
  width: 3.75rem;
}

.wz-reasons__number {
  font-family: var(--wz-font-en);
  font-size: 2rem;
  font-weight: 900;
  color: var(--wz-primary);
  line-height: 1;
  letter-spacing: -0.02em;
  user-select: none;
}

.wz-reasons__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background-color: var(--wz-bg-white);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.06),
    0 4px 12px rgba(0, 0, 0, 0.05);
  font-size: 1.1rem;
  color: var(--wz-primary);
  flex-shrink: 0;
}

/* タイトル + 説明の右ブロック */
.wz-reasons__body {
  flex: 1;
  padding-top: 0.25rem;
}

.wz-reasons__title {
  font-size: 1.1875rem;
  font-weight: 900;
  color: var(--wz-text);
  line-height: 1.45;
}

.wz-reasons__desc {
  font-size: 0.9375rem;
  color: var(--wz-text-sub);
  line-height: 2.0;
  margin-top: 0.875rem;
}

@media (max-width: 767px) {
  .wz-reasons__item {
    gap: 1.25rem;
    padding: 2.25rem 0;
  }

  .wz-reasons__left {
    width: 3rem;
    gap: 0.625rem;
  }

  .wz-reasons__number {
    font-size: 1.625rem;
  }

  .wz-reasons__icon {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 0.9375rem;
  }
}

@media (min-width: 768px) {
  .wz-reasons__item {
    gap: 2.75rem;
  }

  .wz-reasons__left {
    width: 4.25rem;
  }

  .wz-reasons__number {
    font-size: 2.25rem;
  }
}

/* ----------------------------------------------------------
   10. Steps Section
   ---------------------------------------------------------- */
.wz-steps {
  background-color: var(--wz-bg-white);
  padding: var(--wz-section-padding) 0;
}

.wz-steps__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
}

/* SP: 垂直タイムライン形式 */
@media (max-width: 767px) {
  /* グリッドコンテナにタイムライン縦線を描画 */
  .wz-steps__grid {
    position: relative;
    gap: 0;
    padding-left: 0;
    border-left: none;
    margin-left: 0;
  }

  .wz-steps__grid::before {
    content: '';
    position: absolute;
    left: 1.375rem;         /* 数字円の中心（2.75rem ÷ 2） */
    top: 2.75rem;           /* 最初の数字円の下端 */
    bottom: 2.75rem;        /* 最後の数字円の上端 */
    width: 1px;
    background: linear-gradient(
      to bottom,
      var(--wz-primary-light) 0%,
      var(--wz-border)        50%,
      var(--wz-primary-light) 100%
    );
    z-index: 0;
  }

  /* 各ステップ：数字円を絶対配置、コンテンツは左にオフセット */
  .wz-step {
    display: block;
    position: relative;
    padding-left: 3.75rem;  /* 数字円(2.75rem) + 余白(1rem) */
    padding-bottom: 2.75rem;
    text-align: left;
  }

  /* 数字円：タイムライン上に絶対配置 */
  .wz-step__number {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1rem;
    margin: 0;
    z-index: 1;
    flex-shrink: 0;
  }

  /* アイコン：インラインブロックでタイトルの直前に添える */
  .wz-step__icon {
    display: inline-block;
    vertical-align: middle;
    font-size: 1rem;
    color: var(--wz-primary);
    margin-right: 0.375rem;
    line-height: 1;
  }

  /* タイトル：インラインでアイコンと同行 */
  .wz-step__title {
    display: inline;
    vertical-align: middle;
    font-size: 1.0625rem;
    margin-top: 0;
  }

  /* 説明文：ブロックでアイコン＋タイトル行の下 */
  .wz-step__desc {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.75;
  }
}

@media (min-width: 768px) {
  .wz-steps__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    border-left: none;
    padding-left: 0;
    margin-left: 0;
  }

  .wz-step {
    text-align: center;
    position: relative;
  }

  .wz-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 1.5rem;
    left: calc(50% + 2rem);
    right: calc(-50% + 2rem);
    height: 2px;
    background: linear-gradient(
      90deg,
      var(--wz-primary) 0%,
      var(--wz-primary-light) 65%,
      transparent 100%
    );
    opacity: 0.7;
    border-radius: 1px;
  }
}

.wz-step__number {
  font-family: var(--wz-font-en);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #00E0E5 0%, var(--wz-primary) 45%, var(--wz-primary-dark) 100%);
  box-shadow: 0 3px 10px rgba(0, 205, 210, 0.4);
  color: var(--wz-text-white);
  font-size: 1.125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.wz-step__icon {
  display: block;
  font-size: 2rem;
  color: var(--wz-primary);
}

.wz-step__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--wz-text);
  margin-top: 0.75rem;
}

.wz-step__desc {
  font-size: 0.875rem;
  color: var(--wz-text-sub);
  margin-top: 0.5rem;
  line-height: 2.0;
}

/* ----------------------------------------------------------
   11. FAQ Section
   ---------------------------------------------------------- */
.wz-faq {
  background-color: var(--wz-bg-tint);
  padding: var(--wz-section-padding) 0;
}

.wz-faq__list {
  max-width: 50rem;
  margin: 0 auto;
}

.wz-faq__item {
  border-bottom: 1px solid var(--wz-border);
}

.wz-faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--wz-text);
  text-align: left;
  min-height: 2.75rem;
  background: none;
  border: none;
  cursor: pointer;
}

.wz-faq__q-label {
  color: var(--wz-primary);
  font-weight: 900;
  font-size: 1.125rem;
  flex-shrink: 0;
  line-height: 1;
}

.wz-faq__q-text {
  flex: 1;
  line-height: 1.6;
}

.wz-faq__toggle {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  border: 1.5px solid var(--wz-primary);
  background-color: var(--wz-primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease;
}

.wz-faq__question[aria-expanded="true"] .wz-faq__toggle {
  background-color: var(--wz-primary);
}

.wz-faq__toggle::before,
.wz-faq__toggle::after {
  content: '';
  position: absolute;
  background-color: var(--wz-primary);
  border-radius: 1px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease, background-color 0.3s ease;
}

.wz-faq__question[aria-expanded="true"] .wz-faq__toggle::before,
.wz-faq__question[aria-expanded="true"] .wz-faq__toggle::after {
  background-color: var(--wz-text-white);
}

.wz-faq__toggle::before {
  width: 0.625rem;
  height: 2px;
}

.wz-faq__toggle::after {
  width: 2px;
  height: 0.625rem;
}

.wz-faq__question[aria-expanded="true"] .wz-faq__toggle {
  transform: rotate(45deg);
}

.wz-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.wz-faq__answer.is-open {
  max-height: 20rem;
}

.wz-faq__answer-inner {
  display: flex;
  gap: 0.75rem;
  padding-bottom: 1.25rem;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.35s ease 0.08s,
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) 0.08s;
}

.wz-faq__answer.is-open .wz-faq__answer-inner {
  opacity: 1;
  transform: translateY(0);
}

.wz-faq__a-label {
  color: var(--wz-text-sub);
  font-weight: 700;
  font-size: 1.125rem;
  flex-shrink: 0;
  line-height: 1.4;
}

.wz-faq__a-text {
  font-size: 0.9375rem;
  color: var(--wz-text-sub);
  line-height: 1.8;
}

@media (hover: hover) {
  .wz-faq__question:hover {
    background-color: rgba(0, 0, 0, 0.025);
  }
}

/* ----------------------------------------------------------
   12. CTA Section
   ---------------------------------------------------------- */
.wz-cta {
  background: linear-gradient(135deg, var(--wz-primary) 0%, var(--wz-primary-dark) 60%, var(--wz-primary-deeper) 100%);
  padding: 3.75rem 0; /* SP: 60px */
  position: relative;
  overflow: hidden;
}

/* 背景の装飾的な光のグラデーション */
.wz-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* グリッドパターン */
.wz-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M 40 0 L 0 0 0 40' fill='none' stroke='%23ffffff' stroke-width='0.5'/%3E%3C/svg%3E");
  background-size: 40px 40px;
  opacity: 0.09;
  pointer-events: none;
  z-index: 0;
}

@media (min-width: 768px) {
  .wz-cta {
    padding: 5rem 0; /* PC: 80px */
  }
}

.wz-cta__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.wz-cta__title {
  font-size: clamp(1.375rem, 3vw + 0.5rem, 1.75rem);
  font-weight: 700;
  color: var(--wz-text-white);
  line-height: 1.5;
}

.wz-cta__subtitle {
  font-size: var(--wz-font-size-body);
  color: rgba(255, 255, 255, 0.9);
  margin-top: 1rem;
}

.wz-cta__buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .wz-cta__buttons {
    flex-direction: row;
    gap: 1.5rem;
  }
}

/* ----------------------------------------------------------
   13. Employers Section
   ---------------------------------------------------------- */
.wz-employers {
  background-color: var(--wz-bg-white);
  padding: var(--wz-section-padding) 0;
}

.wz-employers__body {
  text-align: center;
}

.wz-employers__desc {
  font-size: var(--wz-font-size-body);
  line-height: 2.0;
  color: var(--wz-text-sub);
  max-width: 43.75rem;
  margin: 0 auto 2rem;
}

/* ----------------------------------------------------------
   15. Utility / Additional
   ---------------------------------------------------------- */

/* ステップ・FAQアイテム・理由アイテムのスタガー遅延（--delay CSS変数で制御） */
.wz-js .wz-step.wz-fade-in,
.wz-js .wz-faq__item.wz-fade-in,
.wz-js .wz-reasons__item.wz-fade-in {
  transition-delay: var(--delay, 0ms);
}

/* カード fade-in: visibility + opacity + transform を遅延付きで実行 */
.wz-js .wz-card.wz-fade-in {
  transition:
    visibility 0s linear var(--delay, 0ms),
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0ms),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0ms),
    box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* is-visible 後：フェードイン完了 → ホバー用 transition に完全移行 */
.wz-js .wz-card.wz-fade-in.is-visible {
  transition:
    box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ----------------------------------------------------------
   16. 320px 極小画面 最終調整
   ---------------------------------------------------------- */
@media (max-width: 360px) {

  /* ---- カスタムプロパティ上書き ---- */
  :root {
    --wz-container-padding: 0.9375rem;     /* 15px 固定 */
    --wz-font-size-hero: 1.5rem;
    --wz-font-size-section-title: 1.175rem;
  }

  /* ---- ヒーロー ---- */
  .wz-hero__buttons {
    gap: 0.75rem;
    width: 100%;
  }

  /* 親指フレンドリー：全幅・上下14px確保 */
  .wz-btn--hero-primary,
  .wz-btn--hero-outline {
    width: 100%;
    padding: 0.875rem 1rem;
    justify-content: center;
    font-size: 0.9375rem;
  }

  /* ---- セクション見出し ---- */
  .wz-section-header {
    margin-bottom: 2rem;
  }

  /* ---- 職種カード ---- */
  .wz-card {
    padding: 1.5rem 1rem;
  }

  .wz-card__icon {
    height: 5.5rem;
  }

  /* カードCTAも全幅・タップしやすい高さ */
  .wz-card__cta {
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 0.875rem 1rem;
  }

  /* ---- 選ばれる理由：センター縦積み ----
     数字＋アイコンを横並び中央配置、
     その下に見出し・説明文を全幅で表示
  */
  .wz-reasons__item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.875rem;
    padding: 2.5rem 0; /* 40px */
  }

  .wz-reasons__left {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: auto;
    gap: 0.75rem;
  }

  .wz-reasons__body {
    padding-top: 0;
  }

  .wz-reasons__title {
    line-height: 1.5;
  }

  .wz-reasons__desc {
    line-height: 1.75;
    font-size: 0.9rem;
  }

  /* ---- FAQ タップ領域拡大 ---- */
  .wz-faq__question {
    padding: 1.375rem 0;
    min-height: 3.5rem;
  }

}

/* ----------------------------------------------------------
   Footer（カスタムフッター）
   ---------------------------------------------------------- */
.wz-footer {
  background-color: #1e2228;
  padding: 3rem 0;
  text-align: center;
}

.wz-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
}

.wz-footer__links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 0.875rem;
}

.wz-footer__link {
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

@media (hover: hover) {
  .wz-footer__link:hover {
    opacity: 0.65;
  }
}

.wz-footer__sep {
  color: rgba(255, 255, 255, 0.35);
  font-weight: 300;
  line-height: 1;
  user-select: none;
}

.wz-footer__copyright {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 360px) {
  .wz-footer {
    padding: 2.5rem 1.25rem;
  }
  .wz-footer__links {
    flex-direction: column;
    gap: 0.625rem;
  }
  .wz-footer__sep {
    display: none;
  }
}

/* ============================================================
   コンテンツページ（プライバシーポリシー・利用規約）
   ============================================================ */
.wz-content-page {
  padding-top: calc(3.5rem + 3rem);
  padding-bottom: 5rem;
}

.wz-content-page__inner {
  max-width: 800px;
  margin: 0 auto;
}

.wz-content-page__title {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--wz-text);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--wz-primary);
}

.wz-content-page__body {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--wz-text);
}

.wz-content-page__body h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.wz-content-page__body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.wz-content-page__body p {
  margin-bottom: 1rem;
}

.wz-content-page__body ul,
.wz-content-page__body ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.wz-content-page__body li {
  margin-bottom: 0.375rem;
}

.wz-content-page__body a {
  color: var(--wz-primary);
  text-decoration: underline;
}
