@charset "UTF-8";

/* ===========================================================================
  e案件 TOPリニューアル：最初のブロック専用CSS
=========================================================================== */

.mv-renewal {
  /* --- 配色（指定カラー） --- */
  --mv-bg: #f5f7f8;        /* 背景色・パーツ背景（アイスグレー） */
  --mv-accent: #009aa3;    /* アクセントカラー(ターコイズ)*/
  --mv-text: #333333;      /* 基本の文字色 */
  --mv-theme: #83d3e2;     /* e案件テーマカラー */

  /* --- レイアウト調整値（後から変更しやすい） --- */
  --mv-content-max: 1200px;  /* PCコンテンツ最大幅 */
  --mv-sp-gutter: 20px;      /* SP左右余白 */
  --mv-card-line: #757575;   /* 白枠内の区切り線 */

  color: var(--mv-text);
  background: var(--mv-bg);
  /* フォントは既存body(Noto Sans JP)を継承するため指定しない */
}

/* 共通：内側コンテンツ幅 */
.mv-hero__inner,
.mv-status-section__inner {
  width: 100%;
  max-width: var(--mv-content-max);
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 20px;
}

/* PCでは改行しない */
.br-sp {
  display: none;
}
/* スマホ（例：幅600px以下）の時だけ改行を表示する */
@media screen and (max-width: 900px) {
  .br-sp {
    display: inline;
  }
}

/* ===========================================================================
   スクリーンリーダー専用（画面非表示・見出し構造維持用）
=========================================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===========================================================================
   TOPデザイン
=========================================================================== */
.mv-hero {
  /* MV〜サービス状況上部まで続くティール地 */
  background-color: var(--mv-accent);
}

.mv-hero__visual {
  width: 100%;
  max-width: none;
  margin: 0;

  background-image: url("/images/top/main-visual-pc.webp?v=4");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: contain;
}

/* ボタン帯 */
.mv-hero__cta-wrap {
  margin-top: 0;
  padding: 16px 0 40px;
  background-color: var(--mv-accent);
}

.mv-hero__canvas {
  width: 100%;
}

/* ボタン群と企業向けリンク */
.mv-hero__cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 20px;
}

.mv-hero__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ボタン */
.mv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 200px;
  padding: 14px 28px;

  border-radius: 6px;
  box-sizing: border-box;

  background-color: var(--orange_c);
  color: #fff;

  font-size: 18px;
  font-weight: 500;
  text-decoration: none;

  transition: opacity 0.2s;
}

.mv-btn:hover {
  opacity: 0.85;
}

/* 企業向けページへの導線 */
.mv-hero__company-link {
  position: relative;
  display: inline-block;

  padding-left: 1.4em;

  color: #fff;
  font-size: 1.4rem;
  font-weight: 500;
  text-decoration: none;
}

.mv-hero__company-link::before {
  content: "";

  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);

  border-style: solid;
  border-width: 5px 0 5px 7px;
  border-color: transparent transparent transparent #fff;
}

.mv-hero__company-link:hover {
  text-decoration: underline;
}

/* 
   PC表示時の調整
 */

@media screen and (min-width: 901px) {
  /* 画面幅に合わせながら、一定以下では画像サイズを維持 */
  .mv-hero__visual {
    height: clamp(450px, 31.25vw, 600px);
    background-size: cover;
  }

  /* ボタン位置の共通設定 */
  .mv-hero__actions-inner {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-right: 20px;
    box-sizing: border-box;
  }

  /* ボタン全体を画面幅に合わせて縮小 */
  .mv-btn {
    min-width: clamp(170px, 13.9vw, 200px);

    padding:
      clamp(11px, 0.97vw, 14px)
      clamp(18px, 1.95vw, 28px);

    border-radius: clamp(4px, 0.42vw, 6px);
    font-size: clamp(15px, 1.25vw, 18px);
  }

  .mv-hero__btns {
    gap: clamp(10px, 1.1vw, 16px);
  }

  .mv-hero__cta {
    flex-direction: column;
    align-items: flex-start;
    row-gap: clamp(12px, 1.1vw, 16px);
  }

  .mv-hero__company-link {
    font-size: clamp(14px, 1.1vw, 16px);
    line-height: 1.5;
  }
}

/* 901〜1440px：画像内の説明文にボタンの左端を合わせる */
@media screen and (min-width: 901px) and (max-width: 1440px) {
  .mv-hero__actions-inner {
    padding-left: max(20px, calc(47.5vw - 411px));
  }
}

/* 1441px以上：画像内の説明文にボタンの左端を合わせる */
@media screen and (min-width: 1441px) {
  .mv-hero__actions-inner {
    padding-left: 19vw;
  }
}

/* ===========================================================================
   現在のサービス状況
=========================================================================== */
.mv-status-section {
  --mv-teal-stop: 268px; /* セクション上端からティールが続く高さ（白カードの横線位置に合わせる） */
  background: linear-gradient(
    to bottom,
    var(--mv-accent) 0,
    var(--mv-accent) var(--mv-teal-stop),
    var(--mv-bg) var(--mv-teal-stop),
    var(--mv-bg) 100%
  );
  padding: 32px 0 48px;
}
/* カード内タイトル（上部中央） */
.mv-status__header {
  text-align: center;
  margin-bottom: 20px; 
}
.mv-status__eyebrow {
  font-size: 1.2rem;
  letter-spacing: 0.15em;
  font-weight: 700;
  color: var(--mv-theme); /* 白カードの上なのでテーマカラー */
}
.mv-status__title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--mv-text);
  margin: 0;
}

/* 白カード（タイトル→数値一覧を縦に並べる） */
.mv-status {
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  /* 上部：タイトル上20〜30px / 左右・下部：従来の余白を維持 */
  padding: 24px 16px;
  box-sizing: border-box;
}
/* 数値一覧（3項目の横並び） */
/* PC：3項目を横並び。viewport/track はSPカルーセル用のラッパだが、
   PCでは通常フローのまま track を flex コンテナにして3項目を横並びにする（SPのラッパ追加でPC表示が崩れないようにする）。 */
.mv-status__list {
  display: block;
}
.mv-status__viewport {
  /* PCではただのブロック（overflow・高さ固定はSPメディアクエリでのみ付与） */
}
.mv-status__track {
  display: flex;
}
.mv-status__item {
  flex: 1 1 0;
  min-width: 0; /* 中間幅でのはみ出し防止 */
  text-align: center;
  padding: 0 16px;
  box-sizing: border-box;
}
/* 区切り線（項目間、#757575） */
.mv-status__item + .mv-status__item {
  border-left: 1px solid var(--mv-card-line);
}
.mv-status__head {
  /* アイコンの下にタイトルを配置（縦並び・中央寄せ） */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 8px;
}
.mv-status__icon {
  width: 70px;
  height: auto;
  flex: none;
}
.mv-status__label {
  font-size: 1.5rem;
  font-weight: 500;
  color: #696969;
  margin: 0;
}
.mv-status__value {
  margin: 0 0 8px;
  line-height: 1.1;
  white-space: nowrap;
  /* 累計数の下に横線（中央寄せで短め） */
  padding-bottom: 10px;
  position: relative;
}
.mv-status__value::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 190px; /* PC: 累計数の下の横線 */
  height: 1px;
  background: var(--mv-card-line);
}
.mv-status__num {
  font-size: 3.4rem;
  font-weight: 700;
  color: var(--mv-text);
}
.mv-status__unit {
  font-size: 1.6rem;
  font-weight: 700;
  margin-left: 2px;
}
.mv-status__diff {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin: 6px 0 0;
  font-size: 2.4rem;
  font-weight: 700;
  white-space: nowrap;
}
.mv-status__label-sub {
  font-size: 1.2rem;
  font-weight: 500;
  color: #888;
  margin-right: 6px;
}
/* 上向き矢印 */
.mv-status__arrow {
  width: 28px;
  height: 28px;
  border: none;
  background: url("/images/top/increase-arrow.svg")
    center / contain no-repeat;
}

/* --- 状態：増加（1以上） --- */
.mv-status__item.is-increase .mv-status__diff {
  color: var(--mv-accent);
}
.mv-status__item.is-increase .mv-status__arrow,
.mv-status__item.is-increase .mv-status__plus {
  display: inline-block;
}

/* --- 状態：0件 --- */
.mv-status__item.is-zero .mv-status__num,
.mv-status__item.is-zero .mv-status__unit {
  color: #9e9e9e; /* 数値をグレー表示 */
}
.mv-status__item.is-zero .mv-status__diff {
  color: #9e9e9e;
}
.mv-status__item.is-zero .mv-status__arrow,
.mv-status__item.is-zero .mv-status__plus {
  display: none; /* 矢印と＋を非表示 */
}

/* サービス状況下の説明文 */
.mv-status-section__note {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--mv-text);
  margin: 25px 0 0;
}

/* ===========================================================================
   PayPayキャンペーンバナー:旧デザイン使用（base2025.css）
=========================================================================== */

/* ===========================================================================
   レスポンシブ（SP：既存ルール優先 max-width:900px）
=========================================================================== */
@media screen and (max-width: 900px) {
  .mv-status-section__inner,
  .mv-hero__actions-inner {
    padding-left: var(--mv-sp-gutter);
    padding-right: var(--mv-sp-gutter);
    box-sizing: border-box;
  }

  /* 背景画像をSP用に切替 */
  .mv-hero__visual {
    max-width: 100%;
    aspect-ratio: 390 / 640; /* SP画像実寸比 */
    background-image: url(/images/top/main-visual-sp.webp?v=2); /* ?v= はキャッシュ対策 */
    /*background-size: 100% 100%;*/
  }
  /* 空白除去*/
  main.mv-renewal > section.mv-hero {
    padding: 0;
  }
  
  /* SP：ボタン領域を背景画像内 */
  .mv-hero {
    position: relative;
    background-color: transparent;
  }
  .mv-hero__cta-wrap {
    position: absolute;
    left: var(--mv-sp-gutter); 
    bottom: -2%;
    width: calc(100% - (var(--mv-sp-gutter) * 2));
    padding: 0;
    margin-top: 0; 
    background: none; 
    z-index: 2;
  }
  /* 内側のラッパは透過。幅はcta-wrap側で管理 */
  .mv-hero__canvas,
  .mv-hero__actions-inner {
    position: static;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
  }
  .mv-hero__cta {
    flex-direction: column;
    align-items: flex-start; /* 左端揃え */
    gap: 0;
  }
  /* ボタン2つ */
  .mv-hero__btns {
    width: 55%; 
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .mv-btn {
    width: 100%;
    min-width: 0;
    padding: 11px 16px;
    font-size: 1.65rem;
    font-weight: 500;
  }
  /* 企業リンク */
  .mv-hero__company-link {
    margin-top: 8px;
    margin-left: 0;
    font-size: 1.35rem;
  }

  /* 横線はSPでは短く（PCの190pxを上書き） */
  .mv-status__value::after {
    width: 48px;
  }

  /* SP：ティール境界を白カードの縦罫線の中ほどに合わせる（新レイアウトのカード高に合わせて調整。目測） */
  .mv-status-section {
    --mv-teal-stop: 250px;
  }

  /* =========================================================================
     現在のサービス状況 (SP)
  ========================================================================= */
  
  /* 白カード */
  .mv-status {
    padding: 20px 18px;
    border-radius: 16px;
  }
  
  /* 見出し */
  .mv-status__eyebrow {
    font-size: 1.2rem !important;
    margin-bottom: 3px !important;
    letter-spacing: 0.15em;
    font-weight: 700;
    color: var(--mv-theme);
  }
  
  .mv-status__title {
    font-size: 2.2rem !important;
    font-weight: 700;
    color: var(--mv-text);
    margin: 0;
  }
  
  /* 一覧 */
  .mv-status__list {
    display: block;
  }
  
  /* 表示枠 */
  .mv-status__viewport {
    overflow: hidden;
    width: 100%;
    min-height: 150px;
    display: flex;
    align-items: center;
  }
  
  /* 横移動する一覧 */
  .mv-status__track {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    will-change: transform;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  /* 各項目 */
  .mv-status__item {
    flex: 0 0 100%;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* PC用の項目間罫線を解除 */
  .mv-status__item + .mv-status__item {
    border-left: none;
  }
  
  /* 左カラム */
  .mv-status__head {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 0;
    padding: 10px 8px;
    box-sizing: border-box;
  }
  
  .mv-status__icon {
    width: 80px;
  }
  
  .mv-status__label {
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.4;
  }
  
  /* 右カラム */
  .mv-status__body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 6px 10px 18px;
    border-left: 1px solid var(--mv-card-line);
    box-sizing: border-box;
  }
  
  /* 累計数 */
  .mv-status__value {
    width: 100%;
    margin: 0;
    padding-bottom: 10px;
    text-align: center;
    white-space: nowrap;
    position: relative;
  }
  
  /* 累計数の下の横線 */
  .mv-status__value::after {
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
  }
  
  .mv-status__num {
    font-size: 3.6rem;
    line-height: 1;
  }
  
  .mv-status__unit {
    font-size: 1.7rem;
    margin-left: 3px;
  }
  
  /* ========================================
     直近30日・増加数
  ======================================== */
  
  /* ラベルは上段、数値は下段 */
  .mv-status__diff {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline; /* 数字と単位の下端を揃える */
    justify-content: center;
    width: 100%;
    column-gap: 3px;
    row-gap: 4px;
    /*margin: 10px 0 0;*/
    font-size: 1.6rem;
    white-space: nowrap;
  }
  
  /* 「直近30日」「うち承認」 */
  .mv-status__label-sub {
    flex: 0 0 100%;
    width: 100%;
    margin: 0;
    font-size: 1.3rem;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
  }
  
  /* 増加数の色 */
  .mv-status__item.is-increase .mv-status__arrow,
  .mv-status__item.is-increase .mv-status__plus,
  .mv-status__item.is-increase .mv-status__diff-num,
  .mv-status__item.is-increase .mv-status__diff-unit {
    color: var(--mv-accent);
  }
  
  /* 数値 */
  .mv-status__diff-num {
    font-size: 2.8rem;
    font-weight: 700;
  }
  
  /* 単位 */
  .mv-status__diff-unit {
    font-size: 1.5rem;
    font-weight: 700;
  }
  
  /* 上向き矢印 */
  .mv-status__arrow {
    border-width: 0 6px 10px 6px;
  }
  
  /* ========================================
     その他
  ======================================== */
  
  /* サービス状況下の説明文 */
  .mv-status-section__note {
    font-size: 1.65rem !important;
    text-align: center;
    line-height: 1.6;
  }
  
  /* PayPayバナー */
  .mv-paypay__link {
    width: 100%;
  }
  
  .mv-renewal .present-bar.pT30 {
    padding-top: 40px !important;
  }

/* =========================================================================
   今、企業から注目されているエンジニア（SP版）
========================================================================= */

  /* セクション全体 */
  .scout-eng {
    padding: 40px 0 48px;
    overflow-x: hidden;
    --scout-sp-content-width: min(100%, 290px);
  }
  
  .scout-eng .scout-eng__inner {
    padding: 0 20px;
  }
  /* ========================================
     見出し
  ======================================== */
  
  .scout-eng .scout-eng__header {
    margin-bottom: 20px;
  }
  
  .scout-eng .scout-eng__title {
    font-size: 2.2rem !important;
    line-height: 1.4;
  }
  
  .scout-eng .scout-eng__subtitle {
    font-size: 1.4rem;
    margin-top: 6px;
  }
  
  /* SP専用改行 */
  .scout-eng .scout-eng__br-sp {
    display: inline;
  }
  
  /* ========================================
     スライダー
  ======================================== */
  
  .scout-eng .scout-eng__slider {
    display: block;
    position: relative;
    gap: 0;
  }
  
  /* カード表示枠 */
  .scout-eng .scout-eng__list {
    width: var(--scout-sp-content-width);
    max-width: 100%;
    margin-inline: auto;
    gap: 0;
    overflow: hidden;
    padding: 0;
  }
  
  /* カード幅 */
  .scout-eng .scout-eng__item {
    width: var(--scout-sp-content-width);
    max-width: var(--scout-sp-content-width);
  }
  
  /* ========================================
     白カード
  ======================================== */
  
  .scout-eng .scout-eng__card {
    min-height: 430px;
    padding: 0 14px 14px;
  }
  
  /* 更新日時 */
  .scout-eng .scout-eng__regist {
    min-height: 42px;
    margin: 14px 0 16px;
    padding: 6px 10px;
  }
  
  .scout-eng .scout-eng__regist-datetime {
    font-size: 1.4rem;
  }
  
  .scout-eng .scout-eng__regist-suffix {
    font-size: 1.3rem;
  }
  
  /* ========================================
     人物アイコン・活動状況
  ======================================== */
  
  .scout-eng .scout-eng__avatar {
    margin: 0 0 12px;
  }
  
  .scout-eng .scout-eng__avatar img {
    width: 88px;
    height: 88px;
  }
  
  /* 活動状況エリア */
  .scout-eng .scout-eng__active-area {
    min-height: 40px;
    margin: 0 0 12px;
  }
  
  /* 積極的に活動中アイコン */
  .scout-eng .scout-eng__active-icon {
    width: 180px;
    height: auto;
    max-width: 100%;
  }
  
  /* ========================================
     エンジニア基本情報
  ======================================== */
  
  .scout-eng .scout-eng__facts {
    column-gap: 20px;
    row-gap: 12px;
    margin: 0 0 12px;
  }
  
  .scout-eng .scout-eng__fact-label {
    font-size: 1.3rem;
  }
  
  .scout-eng .scout-eng__fact-value {
    font-size: 1.5rem;
  }
  
  /* ========================================
     スカウトを送るボタン
  ======================================== */
  
  .scout-eng .scout-eng__btn {
    min-height: 48px;
    margin-top: auto;
    padding: 11px 14px;
    font-size: 1.5rem;
  }
  
  /* ========================================
     スライダー左右矢印
  ======================================== */
  
  .scout-eng .scout-eng__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    z-index: 2;
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  }
  
  /* 左矢印 */
  .scout-eng .scout-eng__arrow--prev {
    left: calc(50% - (var(--scout-sp-content-width) / 2) - 20px);
    right: auto;
  }
  
  /* 右矢印 */
  .scout-eng .scout-eng__arrow--next {
    right: calc(50% - (var(--scout-sp-content-width) / 2) - 20px);
    left: auto;
  }
  
  /* ========================================
     スカウトを受け取るボタン
  ======================================== */
  
  .scout-eng .scout-eng__footer {
    margin-top: 22px;
  }
  
  .scout-eng .scout-eng__receive-btn {
    min-width: 0;
    width: var(--scout-sp-content-width);
    max-width: var(--scout-sp-content-width);
    min-height: 48px;
    padding: 11px 20px;
    font-size: 1.6rem;
  }

   /* =========================================================================
     e案件の3つの特徴（SP版）
  ========================================================================= */
  
  /* セクション全体 */
  .eanken-feature {
    position: relative;
    padding: 40px 0 48px;
    overflow: visible;
  }
  
  /* 下部の吹き出し三角形 */
  .eanken-feature::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -24px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 24px 28px 0 28px;
    border-color: #009aa3 transparent transparent transparent;
    z-index: 2;
  }
  
  /* コンテンツ幅 */
  .eanken-feature .eanken-feature__inner {
    padding: 0 20px;
  }
  
  /* ========================================
     見出し
  ======================================== */
  
  .eanken-feature .eanken-feature__header {
    text-align: center;
    margin-bottom: 20px;
  }
  
  /* メインタイトル */
  .eanken-feature .eanken-feature__title {
    font-size: 2.4rem !important;
    line-height: 1.4;
    margin: 0 0 8px;
  }
  
  /* サブタイトル */
  .eanken-feature .eanken-feature__subtitle {
    font-size: 1.2rem !important;
    line-height: 1.6;
    font-weight: 400;
  }
  
  /* ========================================
     スライダー
  ======================================== */
  
  .eanken-feature .eanken-feature__slider {
    position: relative;
  }
  
  /* カードの表示領域 */
  .eanken-feature .eanken-feature__viewport {
    overflow: hidden;
  }
  
  /* カード一覧 */
  .eanken-feature .eanken-feature__track {
    gap: 16px;
    align-items: flex-start;
  }
  
  /* カード幅 */
  .eanken-feature .eanken-feature__item {
    width: 100%;
  }
  
  /* ========================================
     カード本体
  ======================================== */
  
  .eanken-feature .eanken-feature__card {
    padding: 20px 18px 24px;
    border-radius: 10px;
    height: auto;
  }
  
  /* 番号＋見出し */
  .eanken-feature .eanken-feature__head {
    gap: 30px;
    margin-bottom: 14px;
  }
  
  /* 01・02・03の数字 */
  .eanken-feature .eanken-feature__num {
    font-size: 5.2rem !important;
  }
  
  /* 数字横の見出し */
  .eanken-feature .eanken-feature__card-title {
    font-size: 1.9rem;
    line-height: 1.4;
    min-height: calc(1.9rem * 1.4 * 2);
  }
  
  /* ========================================
     イラスト
  ======================================== */
  
  .eanken-feature .eanken-feature__image {
    height: 140px;
    margin: 0 0 14px;
  }
  
  .eanken-feature .eanken-feature__image img {
    width: 60%;
    max-width: 140px;
  }
  
  /* ========================================
     説明文
  ======================================== */
  
  .eanken-feature .eanken-feature__desc {
    font-size: 1.35rem !important;
    line-height: 1.8;
    text-align: left;
  }
  
  /* ========================================
     スライド位置ドット
  ======================================== */
  
  .eanken-feature .eanken-feature__dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
  }
  
  /* 未選択ドット */
  .eanken-feature .eanken-feature__dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
  }
  
  /* 選択中ドット */
  .eanken-feature .eanken-feature__dot.is-active {
    background: #ffffff;
  }

/* =========================================================================
   直接つながる流れ（SP版）
========================================================================= */

  /* セクション全体 */
  .direct-flow {
    padding: 48px 0 56px;
    overflow-x: hidden;
  }
  
  .direct-flow .direct-flow__inner {
    padding: 0 20px;
  }
  
  /* ========================================
     見出し
  ======================================== */
  
  .direct-flow .direct-flow__header {
    text-align: center;
    margin-bottom: 24px;
  }
  
  .direct-flow .direct-flow__title {
    font-size: 2.4rem !important;
    line-height: 1.4;
    margin: 0 0 10px;
  }
  
  .direct-flow .direct-flow__subtitle {
    font-size: 1.4rem !important;
    line-height: 1.7;
  }
  
  /* ========================================
     PHASE枠
  ======================================== */
  
  .direct-flow .direct-flow__phase {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 20px 16px 24px;
    border-radius: 12px;
    box-sizing: border-box;
  }
  
  .direct-flow .direct-flow__phase-label {
    width: 100%;
    margin: 0 0 16px;
    gap: 10px;
    text-align: center;
  }
  
  /* PHASE 01・02 */
  .direct-flow .direct-flow__phase-no {
    font-size: 2.2rem !important;
  }
  
  /* e案件で出会う・企業と直接進める */
  .direct-flow .direct-flow__phase-name {
    font-size: 1.8rem !important;
  }
  
  /* ========================================
     STEPカード
  ======================================== */
  
  .direct-flow .direct-flow__step {
    width: 100%;
    max-width: 100%;
    min-height: 120px;
    margin: 0;
    padding: 18px 12px;
  
    display: flex;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
  }
  
  /* STEP番号：左側に固定 */
  .direct-flow .direct-flow__step-num {
    flex: 0 0 45px;
    min-width: 45px;
    font-size: 4.5rem;
    line-height: 1;
    text-align: center;
  }
  
  /* 見出し・説明文 */
  .direct-flow .direct-flow__step-text {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
  
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  
    text-align: center;
    padding: 0;
  
    /* STEP番号を避けながら中央寄りに調整 */
    transform: translateX(-5px);
  }
  
  /* 無料会員登録などのタイトル */
  .direct-flow .direct-flow__step-title {
    font-size: 1.7rem !important;
    line-height: 1.4;
    margin: 0 0 6px;
    transform: none;
  }
  
  /* 説明文 */
  .direct-flow .direct-flow__step-desc {
    font-size: 1.3rem !important;
    line-height: 1.6;
    margin: 0;
    transform: none;
  }
  
  /* STEP03上部 */
  .direct-flow .direct-flow__step-main {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
  }
  /* SP版：STEP04の説明文2行目を非表示 */
  .direct-flow .direct-flow__desc-pc {
    display: none;
  }

  /* ========================================
     STEP03：エントリー・スカウト
  ======================================== */
  
  .direct-flow .direct-flow__step--03 {
    display: block;
    min-height: 0;
  }
  
  .direct-flow .direct-flow__approve {
    flex-direction: column;
    gap: 12px;
  }
  
  .direct-flow .direct-flow__approve-title {
    font-size: 1.6rem;
  }
  
  .direct-flow .direct-flow__approve-step {
    font-size: 1.3rem;
  }
  
  /* ========================================
     人物イラスト
  ======================================== */
  
  /* PHASE01 */
  .direct-flow .direct-flow__illust--01 {
    width: 65px;
    left: auto;
    right: 4px;
    top: 2px;
    z-index: 3;
  }
  
  /* STEP01：イラストとの重なり防止 */
  .direct-flow .direct-flow__phase--01
  .direct-flow__step:first-of-type
  .direct-flow__step-text {
    padding-right: 48px;
  }
  
  /* PHASE02 */
  .direct-flow .direct-flow__illust--02 {
    width: 58px;
    left: auto;
    right: -4px;
    bottom: 6px;
    z-index: 3;
  }
  
  /* STEP05：イラストとの重なり防止 */
  .direct-flow .direct-flow__phase--02
  .direct-flow__step:last-of-type
  .direct-flow__step-desc {
    padding-right: 18px;
  }
  
  /* ========================================
     PHASE間のオレンジ矢印
  ======================================== */
  
    /* 四角形部分 */
  .direct-flow .direct-flow__divider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  
    width: 200px;
    max-width: calc(100% - 40px);
    height: 42px;
  
    margin: 24px auto 44px;
    padding: 0;
  
    background: #f39800;
    box-sizing: border-box;
  
    /* 以前の切り抜き設定を解除 */
    clip-path: none;
  }
  
  /* 下向き三角形 */
  .direct-flow .direct-flow__divider::after {
    content: "";
    position: absolute;
  
    top: 100%;
    bottom: auto;
    left: 50%;
    transform: translateX(-50%);
  
    width: 0;
    height: 0;
  
    border-style: solid;
    border-left: 115px solid transparent;
    border-right: 115px solid transparent;
    border-top: 30px solid #f39800;
    border-bottom: 0;
  }
  
  /* 矢印内の文字 */
  .direct-flow .direct-flow__divider-text {
    position: relative;
    z-index: 1;
  
    font-size: 1.3rem !important;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    transform: translateY(5px);
  }
  .direct-flow__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 300px !important;          
    padding: 15px 40px;        
    border-radius: 6px;
    background: var(--orange_c); 
    color: #ffffff;
    font-size: 1.9rem;         
    font-weight: 700;
    text-decoration: none;
    box-sizing: border-box;
    transition: opacity 0.2s;
  }
  .direct-flow__btn:hover {
    opacity: 0.85;
  }

  /* =========================================================================
     コンテンツ（SP版 / 基準 design_sp_04.png・375px）
     ========================================================================= */
  /* セクション：SP用の上下余白＋横スクロール防止 */
  .top-content {
    padding: 48px 0 56px;    /* SP：上下余白 */
    overflow-x: hidden;      /* はみ出しによる横スクロールを防ぐ */
  }
  .top-content .top-content__inner {
    padding: 0 20px;         /* SP左右余白（画面左右に20px確保） */
  }

  /* 見出し：中央揃え・SP向けに縮小、タイトル下の余白を調整 */
  .top-content .top-content__header {
    text-align: center;
    margin-bottom: 24px;     /* SP：タイトル〜カード一覧の間隔 */
  }
  .top-content .top-content__title {
    font-size: 2.0rem;       /* SP：タイトル文字サイズ */
  }

  /* カード一覧：1列・縦積み（PCの2列flexを上書き） */
  .top-content .top-content__list {
    display: block;          /* 1列（横並び解除） */
    gap: 0;                  /* 間隔は item 側の margin で管理 */
  }
  /* カード枠：幅いっぱい（左右位置を揃える）。カード間の縦余白を設定 */
  .top-content .top-content__item {
    width: 100%;             /* SP：1列（枠幅いっぱい）。PC版calcを上書き */
  }
  .top-content .top-content__item + .top-content__item {
    margin-top: 20px;        /* カード間の縦余白 */
  }
  /* SPは先頭から最大2件のみ表示。3件目以降はレイアウトからも除外（display:none）。
     __list 直下の __item のみを数えるため、見出し・もっと見るボタンは対象外。 */
  .top-content .top-content__item:nth-child(n + 3) {
    display: none;
  }
  /* SP：4件すべて表示（1列・縦積み）。以前の「3件目以降非表示」は解除した。 */

  /* カード本体：SP向けに余白を調整（白背景・枠線・角丸はPC版を維持） */
  .top-content .top-content__card {
    gap: 14px;               /* サムネイルと情報の間隔（SP） */
    padding: 14px;           /* SP：カード内の余白 */
  }

  /* サムネイル：2件とも同一サイズ・SP向けに縮小（object-fit:coverはPC版で設定済み） */
  .top-content .top-content__thumb {
    width: 120px;            /* SP：サムネイル横幅（情報側の幅を確保し折り返しすぎを防ぐ） */
    height: 90px;            /* SP：サムネイル高さ（4:3） */
  }

  /* カテゴリーラベル：SP向けに縮小（横長・白文字・中央は維持） */
  .top-content .top-content__category {
    height: 24px;            /* SP：ラベル高さ */
    line-height: 24px;
    font-size: 1.2rem;       /* SP：ラベル文字 */
    margin-bottom: 10px;     /* カテゴリー〜公開日の間隔 */
  }
  /* 公開日・タイトル：SP向けに縮小（はみ出し防止はPC版で設定済み） */
  .top-content .top-content__date {
    font-size: 1.3rem;       /* SP：公開日 */
    margin-bottom: 6px;
  }
  .top-content .top-content__text {
    font-size: 1.3rem;       /* SP：タイトル・概要 */
    line-height: 1.6;
  }

  /* もっと見るボタン：SPで表示（PCのdisplay:noneを上書き）・中央揃え */
  .top-content .top-content__footer {
    display: block;          /* SPで表示 */
    text-align: center;      /* 中央揃え */
    margin-top: 28px;        /* カード一覧〜ボタンの間隔 */
  }
  .top-content .top-content__more {
    display: inline-block;
    width: 60%;              /* SP：横長ボタン（中央に配置） */
    max-width: 320px;
    padding: 14px 24px;
    border-radius: 8px;      /* 角丸 */
    background: #6b6b6b;     /* グレー背景（カテゴリーラベルと同系） */
    color: #ffffff;          /* 白文字 */
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;   /* 下線なし */
    box-sizing: border-box;
    transition: opacity 0.2s;
  }
  .top-content .top-content__more:hover {
    opacity: 0.85;
  }

  /* =========================================================================
     FAQ・企業様向け情報の案内（SP版 )
     ========================================================================= */
  
  /* セクション全体 */
  .guide-links {
    padding: 40px 0 48px;
    overflow-x: hidden;
  }
  
  .guide-links .guide-links__inner {
    padding: 0 20px;
  }
  
  /* カード一覧 */
  .guide-links .guide-links__list {
    display: block;
    gap: 0;
  }
  
  .guide-links .guide-links__item {
    width: 100%;
  }
  
  .guide-links .guide-links__item + .guide-links__item {
    margin-top: 20px;
  }
  
  /* カード本体 */
  .guide-links .guide-links__card {
    min-height: 0;
    gap: 12px;
    padding: 20px 20px;
  }
  
  /* テキストエリア */
  .guide-links .guide-links__text {
    text-align: left;
  }
  
  /* 英字見出し（FAQ / FOR COMPANIES） */
  .guide-links .guide-links__eyebrow {
    font-size: 1.6rem !important;
    margin-bottom: 4px;
  }
  
  /* メイン見出し */
  .guide-links .guide-links__title {
    font-size: 2.0rem !important;
    margin-bottom: 10px;
  }
  
  /* 説明文 */
  .guide-links .guide-links__desc {
    font-size: 1.3rem !important;
    line-height: 1.7;
  }
  
  /* イラスト */
  .guide-links .guide-links__illust {
    width: 96px;
    height: 110px;
  }
}
/* ===========================================================================
  今、企業から注目されているエンジニア（PC版）
=========================================================================== */
.scout-eng {
  /* --- 配色（既存トーンに合わせる） --- */
  --se-bg: #f5f7f8;          /* セクション背景 */
  --se-card-bg: #ffffff;     /* カード背景 */
  --se-card-border: #d9e0e3; /* カード枠線 */
  --se-accent: #009aa3;      /* アクセント（ティール） */
  --se-navy: #1f2b5b;        /* スカウトを送るボタン（ネイビー） */
  --se-text: #333333;        /* 基本文字色 */
  --se-sub: #666666;         /* 補助文字色 */

  /* サイズは各クラスに直接記載する方針（開発者ツールでそのまま確認・調整できる）。
     同時表示枚数4枚・カード間20pxは .scout-eng__list / .scout-eng__item に直書き。 */

  background: var(--se-bg);
  color: var(--se-text);
  padding: 75px 0;
}

/* 内側コンテンツ幅（1200px中央配置） */
.scout-eng__inner {
  width: 100%;
  max-width: 1200px;       /* コンテンツ最大幅 */
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 20px;
}

/* 見出し */
.scout-eng__header {
  text-align: center;
  margin-bottom: 32px;
}
.scout-eng__title {
  font-size: 3.5rem;     /* ブロックタイトルの文字サイズ */
  font-weight: 700;      /* タイトル：太字 */
  color: var(--se-text);
  margin: 0 0 10px;
}
/* タイトル内のSP専用改行：PCでは改行させない（1行表示を維持） */
.scout-eng__br-sp {
  display: none;
}
.scout-eng__subtitle {
  font-size: 1.75rem;     /* サブタイトルの文字サイズ */
  font-weight: 500;
  color: var(--se-sub);
  margin: 0;
}

/* スライダー領域（左右矢印＋カード一覧を横並び）
   align-items:center で矢印をカード一覧の高さに対し上下中央に配置。
   gap を左右共通値にすることで、矢印とカードの間隔を左右で揃える。 */
.scout-eng__slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;               /* 矢印とカード一覧の間隔（左右共通） */
}

/* カード一覧：4枚分の幅だけ見せ、5枚目以降は領域外にクリップ */
.scout-eng__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;               /* カード間の余白 */
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden; /* 5枚目以降を表示領域外として隠す */
}

/* 1枚のカード枠（foreachの1ループ分）。
   カードの横幅：4枚ぴったり並ぶ算出幅＝(100% - カード間20px×3) ÷ 4枚 */
.scout-eng__item {
  flex: 0 0 auto;
  width: calc((100% - (20px * 3)) / 4);
  box-sizing: border-box;
}

/* カード本体 */
.scout-eng__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;            
  min-height: 415px;       
  background-color: #ffffff;            
  border: 1px solid #d8e0e2;             
  border-radius: 14px;                     
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04); 
  overflow: visible;
  padding: 0 14px 20px;   
  box-sizing: border-box;
  text-align: center;
}

/* 更新日時エリア */
.scout-eng__regist {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 5px;

  width: 100%;
  margin: 14px 0 18px;
  padding: 6px 12px;
  box-sizing: border-box;

  background-color: #e2f7f8;
  border: 1px solid #70cbd1;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 153, 163, 0.1);

  color: #009ca6;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

/* 更新日時の日付・時間を太字に */
.scout-eng__regist strong {
  font-weight: 700;
}
/* 登録日時＋「に更新！」：ターコイズ(#009ca6を継承)・1行。PCで4枚に収まるよう clamp。 */
.scout-eng__regist-datetime,
.scout-eng__regist-suffix {
  color: inherit;           /* .scout-eng__regist の #009ca6 を継承 */
  font-weight: 700;
  letter-spacing: 0;
}
/* 日時*/
.scout-eng__regist-datetime {
  font-size: clamp(1.2rem, 2.7vw, 1.5rem);
  font-weight: 800;
}
/* 「に更新！」 */
.scout-eng__regist-suffix {
  flex: none;
  font-size: clamp(1.05rem, 2.3vw, 1.3rem);
}

/* 人物アイコン（円形・性別で画像出し分け） */
.scout-eng__avatar {
  margin: 0 0 14px; 
}
.scout-eng__avatar img {
  width: 88px;             
  height: 88px;
}

/* 活動状況エリア */
.scout-eng__active-area {
  display: flex;
  align-items: center;
  justify-content: center; 
  width: 100%;
  min-height: 48px;        
  margin: 0 0 16px;        
}
/* 活動中アイコン */
.scout-eng__active-icon {
  display: block;
  width: auto;             
  height: 43px;
  max-width: 100%;         
  object-fit: contain;
}

/* DB3項目（経験年数／都道府県／希望単価）を縦3行・中央寄せの2列グリッド。
   1列目＝項目名／2列目＝値。縦線なし。項目名・値の開始位置を3行で揃える。 */
.scout-eng__facts {
  display: grid;
  grid-template-columns: max-content max-content; /* 項目名列・値列（内容幅） */
  justify-content: center; /* 2列のかたまりをカード中央へ */
  align-content: start;
  column-gap: 18px;        /* 項目名〜値の間隔（16〜20px目安） */
  row-gap: 12px;           /* 各行の縦余白（10〜12px目安） */
  width: 100%;
  margin: 0 0 18px;
  padding: 0;
}
.scout-eng__fact {
  display: contents;       /* 親グリッドへ dt/dd を直接並べる */
}
/* ラベル：グレー系・左寄せ・改行させない */
.scout-eng__fact-label {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--se-sub);
  line-height: 1.5;
  text-align: left;
  white-space: nowrap;
  margin: 0;
}
/* 値：濃色の太字・左寄せ（値の開始位置を3行で揃える）・改行させない */
.scout-eng__fact-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--se-text);
  line-height: 1.5;
  text-align: left;
  white-space: nowrap;     /* 都道府県・希望単価を途中で改行しない */
  margin: 0;
}

/* スカウトを送るボタン*/
.scout-eng__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;      
  margin-top: auto;        
  padding: 14px 16px;     
  border-radius: 6px;
  background: var(--se-navy);
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  box-sizing: border-box;
  transition: opacity 0.2s;
}
.scout-eng__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 8px 16px;
  box-sizing: border-box;
  background: var(--se-navy);
  color: #ffffff;
}
.scout-eng__btn:hover {
  opacity: 0.85;
}

/* 左右矢印（見た目のみ・JS未実装） */
.scout-eng__arrow {
  flex: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--se-card-border);
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
  position: relative;
  padding: 0;
  transition: background 0.2s, border-color 0.2s;
}
.scout-eng__arrow:hover {
  border-color: var(--se-accent);
}
/* 矢印の山（CSS描画） */
.scout-eng__arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--se-accent);
  border-right: 2px solid var(--se-accent);
}
.scout-eng__arrow--prev::before {
  transform: translate(-30%, -50%) rotate(-135deg); /* 左向き */
}
.scout-eng__arrow--next::before {
  transform: translate(-70%, -50%) rotate(45deg);   /* 右向き */
}

/* スカウトを受け取るボタン（下部中央・オレンジ：既存変数を使用） */
.scout-eng__footer {
  text-align: center;
  margin-top: 36px;
}
.scout-eng__receive-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  padding: 15px 32px;
  border-radius: 6px;
  background: var(--orange_c); /* 既存変数（#f29603）を流用 */
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 700;
  text-decoration: none;
  box-sizing: border-box;
  transition: opacity 0.2s;
}
.scout-eng__receive-btn:hover {
  opacity: 0.85;
}

/* ===========================================================================
  e案件の3つの特徴（PC版）
=========================================================================== */

/* ブロック全体：ティール背景。下部中央の三角形(::after)の基準にするため relative */
.eanken-feature {
  position: relative;
  background: #009aa3;     /* ブロック全体の背景色 */
  padding: 75px 0 95px;    /* 上下の余白 */
}
/* 下部中央の三角形（ティールが下へ尖る。CSSで作成） */
.eanken-feature::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -36px;           /* ブロック下端から下へ飛び出す量＝三角形の高さ */
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 36px 40px 0 40px; /* 高さ36px / 底辺80px の下向き三角形 */
  border-color: #009aa3 transparent transparent transparent;
}

/* 内側コンテンツ幅（1200px中央配置） */
.eanken-feature__inner {
  width: 100%;
  max-width: 1200px;       /* コンテンツ最大幅 */
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 20px;
}

/* 見出し（中央寄せ・白文字） */
.eanken-feature__header {
  text-align: center;
  margin-bottom: 36px;
}
.eanken-feature__title {
  font-size: 3.5rem;       /* タイトル：太字・白 */
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 14px;
}
.eanken-feature__subtitle {
  font-size: 1.75rem;
  font-weight: 500;
  color: #ffffff;
  margin: 0;
  line-height: 1.6;
}

/* スライダー（PCは表示枠・トラックともに制御不要。3枚を横並びに見せる） */
.eanken-feature__slider {
  /* PCではビューポートで隠さず全3枚を表示 */
}
.eanken-feature__viewport {
  overflow: visible;       /* PCは全カード表示（SPで隠す想定） */
}

/* カード一覧（3枚横並び・均等幅） */
.eanken-feature__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;               /* カード間の余白 */
}
/* カード枠：3等分（gap 24px×2本を差し引いて3分割）。横幅を揃える */
.eanken-feature__item {
  flex: 0 0 auto;
  width: calc((100% - (24px * 2)) / 3);
  box-sizing: border-box;
}

/* カード本体：高さ・上端・下端を揃える（flex縦並び＋height:100%） */
.eanken-feature__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #f5f7f8;     /* カード背景色 */
  border-radius: 10px;
  padding: 24px 20px 28px; /* カード内の余白 */
  box-sizing: border-box;
}

/* 番号＋見出し（横並び） */
.eanken-feature__head {
  display: flex;
  align-items: center;     /* 番号と見出しを上下中央で揃える */
  gap: 12px;
  /* 見出しを2段で高さ揃え（下の card-title の min-height と合わせる） */
  margin-bottom: 16px;
}
/* 番号（大きめ・テーマ水色） */
.eanken-feature__num {
  flex: none;
  font-size: 6.5rem;  
  font-weight: 600;
  line-height: 1;
  color: #83d3e2;          /* 番号の文字色 */
  font-family: "Oswald", sans-serif; /* 数字は既存踏襲のOswald */
}
/* 見出し：2行想定で高さを揃える */
.eanken-feature__card-title {
  font-size: 2rem;
  font-weight: 700;
  color: #333333;          /* 白地カード上なので濃色 */
  margin: 0;
  line-height: 1.4;
  /* 見出しはHTMLの<br>で2行固定。2行分の高さを確保し全カードで揃える */
  min-height: calc(1.8rem * 1.4 * 2);
}

/* 画像表示エリア：高さを固定して3枚で揃え、画像を上下左右中央に配置 */
.eanken-feature__image {
  display: flex;
  align-items: center;     /* 画像を上下中央 */
  justify-content: center; /* 画像を左右中央 */
  height: 160px;           /* 画像エリアの高さ（3枚共通で揃える） */
  margin: 0 0 18px;
}
.eanken-feature__image img {
  width: 72%;              /* カード幅に対する画像の大きさ（デザインに合わせる） */
  max-width: 150px;
  max-height: 100%;        /* エリア高さに収める */
  height: auto;            /* 縦横比を維持 */
  aspect-ratio: 1 / 1;     /* 差し替え後の画像は正方形(viewBox 150×150) */
}

/* 説明文：左揃え */
.eanken-feature__desc {
  font-size: 1.4rem;
  font-weight: 400;
  color: #333333;
  line-height: 1.8;
  text-align: left;        /* 説明は左揃え */
  margin: 0;
}

/* スライド位置ドット：PCでは非表示（SP用。SP版CSSで表示する） */
.eanken-feature__dots {
  display: none;
}

/* ===========================================================================
  直接つながる流れ（PC版）
=========================================================================== */

/* ブロック全体 */
.direct-flow {
  background: #f5f7f8;       /* ブロック全体の背景色 */
  padding: 95px 0 80px;      /* 上下の余白 */
}

/* 内側コンテンツ幅（1200px中央配置） */
.direct-flow__inner {
  width: 100%;
  max-width: 1200px;         /* コンテンツ最大幅 */
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 20px;
}

/* 見出し（中央寄せ・濃色文字） */
.direct-flow__header {
  text-align: center;
  margin-bottom: 40px;
}
.direct-flow__title {
  font-size: 3.5rem;         /* タイトル：太字 */
  font-weight: 700;
  color: #333333;
  margin: 0 0 14px;
}
.direct-flow__subtitle {
  font-size: 1.75rem;
  font-weight: 500;
  color: #333333;
  margin: 0;
  line-height: 1.6;
}

/* ---------------------------------------------------------------------------
   PHASE 枠（01：薄い水色 / 02：やや濃い水色）
--------------------------------------------------------------------------- */
.direct-flow__phase {
  max-width: 1050px;         /* PHASE枠の最大横幅（元デザインの縦長バランスに寄せる） */
  margin: 0 auto;            /* 1200pxコンテンツ内で中央配置 */
  border-radius: 16px;       /* 枠の角丸 */
  padding: 28px 32px 36px;   /* 枠内の余白 */
  box-sizing: border-box;
}
/* PHASE01：薄い水色 */
.direct-flow__phase--01 {
  background: #e4f4f6;       
}
/* PHASE02：PHASE01よりやや濃い水色 */
.direct-flow__phase--02 {
  background: #c5e8ec;        
}

/* フェーズ見出し*/
.direct-flow__phase-label {
  width: 810px;              
  max-width: 100%;
  margin: 0 auto 20px;       /* 中央配置＋下余白 */
  display: flex;
  align-items: center;
  gap: 12px;                 /* 「PHASE 01」と名称の間隔 */
  font-weight: 700;
  color: #009aa3;            /* ティール文字 */
}
.direct-flow__phase-no {
  font-size: 3rem;         
  font-family: "Oswald", sans-serif; /* 英字は既存踏襲のOswald */
  letter-spacing: 0.04em;
  position: relative;
  padding-right: 12px;      
}
/* 縦区切り線 */
.direct-flow__phase-no::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 2.6rem;
  background: #009aa3;
}
.direct-flow__phase-name {
  font-size: 3rem;        
}

/* PHASE本体：STEP群（左）と人物イラスト（右）を横並び。
   イラストははみ出し配置するため relative を基準にする */
.direct-flow__phase-body {
  position: relative;
}

/* STEP一覧：縦積み。カード幅はカード自身に指定し、PHASE内で中央配置 */
.direct-flow__steps {
  position: relative;
  z-index: 1;                /* イラストより前面でテキストを読ませる */
}

/* ---------------------------------------------------------------------------
   STEP（白カード）
--------------------------------------------------------------------------- */
.direct-flow__step {
  width: 810px;              /* STEPカードの横幅（カード自体に指定） */
  max-width: 100%;           /* 枠内に収める保険 */
  margin: 0 auto;            /* 各PHASE内で中央配置 */
  min-height: 150px;         /* STEP01/02/04/05の高さ目安 */
  display: flex;
  align-items: center;       /* 番号と見出しを上下中央で揃える */
  gap: 20px;                 /* 番号〜テキストの間隔 */
  background: #ffffff;       /* カード背景色 */
  border-radius: 10px;
  padding: 22px 28px;        /* カード内の余白 */
  box-sizing: border-box;
}
/* 番号（大きめ・薄い水色・Oswald） */
.direct-flow__step-num {
  flex: none;
  font-size: 6rem;         /* STEP番号の文字サイズ */
  font-weight: 700;
  line-height: 1;
  color: #a7dbe4;            /* STEP番号の文字色（薄い水色） */
  font-family: "Oswald", sans-serif;
  min-width: 70px;           /* 番号幅をそろえて見出し開始位置を統一 */
  text-align: center;
}
/* 見出し＋説明文のまとまり */
.direct-flow__step-text {
  flex: 1 1 auto;
  min-width: 0;
  text-align: center;       
  min-height: 72px;          
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.direct-flow__step-title {
  font-size: 2.5rem;         /* STEP見出しの文字サイズ */
  font-weight: 700;
  color: #333333;
  margin: 0 0 6px;
  line-height: 1.4;
  transform: translateX(-45px);
}
.direct-flow__step-desc {
  font-size: 1.5rem;         /* STEP説明文の文字サイズ */
  font-weight: 400;
  color: #696969;
  margin: 0;
  line-height: 1.7;
  transform: translateX(-45px);
}

/* STEP間の矢印（下向き三角・装飾用の独立要素） */
.direct-flow__step-arrow {
  width: 100%;
  height: 35px;              /* 矢印エリアの高さ＝上下の間隔 */
  position: relative;
}
.direct-flow__step-arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 15px 14px 0 14px;        /* 下向き三角のサイズ */
  border-color: #b7b7b7 transparent transparent transparent; /* 矢印の色（薄いグレー） */
}

/* ---------------------------------------------------------------------------
   STEP03：見出し部＋下部のエントリー／スカウト（2カラム）
--------------------------------------------------------------------------- */
.direct-flow__step--03 {
  display: block;            /* 内部を縦積みにするため flex を解除 */
  min-height: 0;             /* STEP03は内容量に合わせて高さを確保（150px目安は適用しない） */
}
/* STEP03上部：番号＋見出し（他STEPと同じ横並び） */
.direct-flow__step-main {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;       /* 見出し〜エントリー/スカウト枠の間隔 */
}

/* エントリー／スカウト：2カラム横並び */
.direct-flow__approve {
  display: flex;
  gap: 20px;                 /* エントリー枠とスカウト枠の間隔 */
}
.direct-flow__approve-col {
  flex: 1 1 0;               /* 2カラム均等幅 */
  background: #e4f4f6;       /* 薄い水色背景 */
  border-radius: 8px;
  padding: 16px 12px 18px;
  box-sizing: border-box;
  text-align: center;
}
.direct-flow__approve-title {
  font-size: 2.25rem;         /* 「エントリー」「スカウト」見出し */
  font-weight: 700;
  color: #009aa3;            /* ティール文字 */
  margin: 0 0 8px;
}
.direct-flow__approve-step {
  font-size: 1.4rem;         /* 各ステップ文言 */
  font-weight: 500;
  color: #333333;
  margin: 0;
  line-height: 1.5;
}
.direct-flow__approve-arrow {
  font-size: 1.4rem;         /* ↓ 矢印 */
  color: #333333;
  margin: 2px 0;
  line-height: 1;
}

/* ---------------------------------------------------------------------------
   人物イラスト（各PHASEの右側に配置）
--------------------------------------------------------------------------- */
.direct-flow__illust {
  position: absolute;
  z-index: 2;                /* STEPカード(z-index:1)より前面に表示 */
  pointer-events: none;      /* 装飾のためクリックを透過（維持） */
}
.direct-flow__illust img {
  display: block;
  width: 100%;
  height: auto;              /* 縦横比を維持 */
}
/* PHASE01：右側に配置（STEP01〜02の右側に重ねる。前面表示のため文字に被らない右端寄りへ） */
.direct-flow__illust--01 {
  width: 203px;              /* イラスト幅（290px→203px＝約70%・縦横比は維持） */
  right: 8px;                /* 右端寄せ。右端からはみ出さずカード右端に重ねる */
  top: 30px;                 /* STEP01〜02にかかる高さ */
}
/* PHASE02：右下に配置（STEP04〜05の右側に重ねる。前面表示のため文字に被らない右端寄りへ） */
.direct-flow__illust--02 {
  width: 140px;              /* イラスト幅（200px→140px＝約70%・縦横比は維持） */
  right: 8px;                /* 右端寄せ。右端からはみ出さずカード右端に重ねる */
  bottom: 0;                 /* PHASE02内の下端に合わせる */
}

/* ---------------------------------------------------------------------------
   PHASE間の区切り（オレンジの下向きリボン矢印＋白文字）
--------------------------------------------------------------------------- */
.direct-flow__divider {
    position: relative;
    width: 240px;
    height: 40px;
    margin: 8px auto 25px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f39800;
}

/* 下向きの先端（オレンジの三角） */
.direct-flow__divider::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);

    width: 0;
    height: 0;

    border-left: 170px solid transparent;
    border-right: 170px solid transparent;
    border-top: 40px solid #f39800;
}
/* 区切り文言の文字サイズ */
.direct-flow__divider-text {
  margin: 0;
  font-size: 1.5rem;        
  font-weight: 700;
  color: #ffffff;            
  position: relative;
  z-index: 1;
  transform: translateY(5px); /* テキスト位置下詰め */
}

/* PHASE間の縦の間隔（divider前後） */
.direct-flow__phase--01 {
  margin-bottom: 0;
}
.direct-flow__divider {
  margin-top: 28px;
  margin-bottom: 60px;       
}

/* ---------------------------------------------------------------------------
   会員登録ボタン（ブロック最下部・中央・オレンジ）
--------------------------------------------------------------------------- */
.direct-flow__footer {
  text-align: center;
  margin-top: 40px;
}
.direct-flow__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 350px;          
  padding: 15px 40px;        
  border-radius: 6px;
  background: var(--orange_c); 
  color: #ffffff;
  font-size: 1.9rem;         
  font-weight: 700;
  text-decoration: none;
  box-sizing: border-box;
  transition: opacity 0.2s;
}
.direct-flow__btn:hover {
  opacity: 0.85;
}

/* ===========================================================================
  コンテンツ（PC版）
=========================================================================== */

/* ブロック全体：薄いグレー背景・上下余白 */
.top-content {
  background: #f5f7f8;        /* ブロック全体の背景色（薄いグレー） */
  padding: 72px 0 80px;       /* 上下の余白 */
}

/* 内側コンテンツ幅（1200px中央配置） */
.top-content__inner {
  width: 100%;
  max-width: 1200px;          /* コンテンツ最大幅 */
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 20px;            /* 左右の余白 */
}

/* 見出し（中央寄せ・太字） */
.top-content__header {
  text-align: center;
  margin-bottom: 40px;        /* 見出し〜カード一覧の間隔 */
}
.top-content__title {
  font-size: 3.0rem;          /* タイトルの文字サイズ */
  font-weight: 700;           /* 太字 */
  color: #333333;
  margin: 0;
}

/* ---------------------------------------------------------------------------
   カード一覧（2列×2段）
--------------------------------------------------------------------------- */
.top-content__list {
  list-style: none;
  margin: 0 auto;             /* コンテンツ幅内で中央配置 */
  padding: 0;
  display: flex;
  flex-wrap: wrap;            /* 2列で折り返して2段にする */
  gap: 28px;                  /* 列間・行間の均等な余白 */
}
/* 1枚のカード枠（foreachの1ループ分）。2列ぴったり並ぶ算出幅＝(100% - 列間28px) ÷ 2列 */
.top-content__item {
  width: calc((100% - 28px) / 2);
  box-sizing: border-box;
}

/* ---------------------------------------------------------------------------
   カード（<a>でカード全体リンク）
--------------------------------------------------------------------------- */
.top-content__card {
  display: flex;              /* 左：サムネイル / 右：情報 を横並び */
  align-items: stretch;       /* 左右の高さを揃える */
  gap: 20px;                  /* サムネイルと情報の間隔 */
  height: 100%;               /* 同じ段のカード高さを揃える（itemに追従） */
  background: #ffffff;        /* カード背景色（白） */
  border: 1px solid #d9e0e3;  /* 細いグレーの枠線 */
  border-radius: 12px;        /* 角丸 */
  padding: 20px;              /* カード内の上下左右の余白 */
  box-sizing: border-box;
  text-decoration: none;      /* リンクの下線を消す */
  color: #333333;             /* 基本の文字色 */
  overflow: hidden;           /* 内容がカード外へはみ出さない */
  transition: box-shadow 0.2s, opacity 0.2s; /* hover時の変化を滑らかに */
}
/* hover：デザインを崩さない範囲で影＋わずかに透明度を変化 */
.top-content__card:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  opacity: 0.92;
}
/* フォーカス：キーボード操作時にフォーカス位置を明示 */
.top-content__card:focus-visible {
  outline: 2px solid #009aa3; /* ティールのフォーカスリング */
  outline-offset: 2px;
}

/* サムネイル（カード左側・4件とも同一サイズ・グレー仮表示） */
.top-content__thumb {
  flex: none;                 /* 幅を固定（情報側が伸縮する） */
  width: 180px;               /* サムネイルの横幅（4件共通） */
  height: 135px;              /* サムネイルの高さ（4:3・4件共通） */
  background: #d4d4d4;        /* 画像未確定のグレー仮表示 */
  border-radius: 6px;         /* サムネイルの角丸 */
  overflow: hidden;           /* 画像を枠内でクリップ */
  display: block;
}
/* 将来のアイキャッチ画像：縦横比を維持しつつ枠内を埋める */
.top-content__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;          /* 縦横比を維持して枠を埋める */
}

/* 右側：情報エリア（カテゴリー→公開日→本文を縦積み） */
.top-content__body {
  flex: 1 1 auto;             /* 残り幅いっぱい */
  min-width: 0;               /* 子要素の折り返し・はみ出し防止 */
  display: flex;
  flex-direction: column;
}

/* カテゴリーラベル（横長のグレー背景・白文字・中央揃え） */
.top-content__category {
  display: block;
  width: 100%;                /* 横長（情報エリアの幅いっぱい・4件で揃う） */
  height: 28px;               /* ラベルの高さ（4件で揃う） */
  line-height: 28px;          /* 高さと合わせて縦中央に */
  background: #6b6b6b;        /* グレー背景 */
  border-radius: 4px;         /* 角を少し丸く */
  color: #ffffff;             /* 白文字 */
  font-size: 1.3rem;
  font-weight: 700;
  text-align: center;         /* 中央揃え */
  box-sizing: border-box;
  margin-bottom: 14px;        /* カテゴリー〜公開日の間隔 */
}

/* 公開日（太字） */
.top-content__date {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;           /* 太字 */
  color: #333333;
  margin-bottom: 8px;         /* 公開日〜本文の間隔 */
}

/* タイトル・概要（基本色・はみ出し防止） */
.top-content__text {
  font-size: 1.4rem;
  font-weight: 500;
  color: #333333;             /* 基本色 */
  line-height: 1.7;
  margin: 0;
  overflow-wrap: break-word;  /* 長い語でもカード外へはみ出さない */
  word-break: break-word;
}

/* ---------------------------------------------------------------------------
   もっと見るボタン（PC版・SPと同様にカード一覧の下へ中央配置）
--------------------------------------------------------------------------- */
.top-content__footer {
  display: block;             /* PCでも表示（カード一覧の下） */
  text-align: center;         /* 中央揃え */
  margin-top: 40px;           /* カード一覧〜ボタンの間隔 */
}
/* もっと見るボタン */
.top-content__more {
  display: inline-block;
  min-width: 200px;           
  padding: 15px 30px;         
  border-radius: 6px;         
  background: #6b6b6b;        
  color: #ffffff;             
  font-size: 1.4rem;          
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
  transition: opacity 0.2s;
}
.top-content__more:hover {
  opacity: 0.85;
}

/* ===========================================================================
  FAQ・企業様向け情報の案内（PC版）
  基準：design_pc_05.png / 画面幅1440px・コンテンツ幅1200px
  方針：
    - クラスは guide-links 接頭辞のみを対象（既存クラスには影響させない）。
    - 青緑系背景。白に近いカードを横2枚並び。
    - 各カードは <a> で全体リンク。カード内は 左：テキスト / 右：イラスト の横並び。
    - 2枚のカードは横幅・高さを揃える。
    - イラストは img（object-fit:contain）。文字の上に重ねない（左右で分離）。
    - サイズは各クラスに直接記載（変数化しない）。
  ※本指定はPC版のみ。SP版は別途対応。
=========================================================================== */

/* ブロック全体：青緑系背景・上下余白 */
.guide-links {
  background: #009aa3;        /* 青緑系の背景色（既存アクセントと同系） */
  padding: 72px 0 80px;       /* 上下の余白 */
}

/* 内側コンテンツ幅（1200px中央配置・既存ブロックと統一） */
.guide-links__inner {
  width: 100%;
  max-width: 1200px;          /* コンテンツ最大幅 */
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 20px;            /* 左右の余白 */
}

/* カード一覧：PCは横2枚並び */
.guide-links__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 40px;                  /* 2枚のカード間の余白 */
}
/* 1枚のカード枠。2枚ぴったり並ぶ算出幅＝(100% - 余白40px) ÷ 2枚 */
.guide-links__item {
  width: calc((100% - 40px) / 2);
  box-sizing: border-box;
}

/* ---------------------------------------------------------------------------
   カード（<a>でカード全体リンク）
--------------------------------------------------------------------------- */
.guide-links__card {
  display: flex;              /* 左：テキスト / 右：イラスト を横並び */
  align-items: center;        /* 上下中央で揃える */
  gap: 16px;                  /* テキストとイラストの間隔 */
  height: 100%;               /* 2枚のカード高さを揃える（itemに追従） */
  min-height: 240px;          /* カードの高さ目安（design_pc_05の縦長感に合わせる） */
  background: #f2f4f5;        /* 白に近い背景 */
  border-radius: 16px;        /* 角丸 */
  padding: 32px 52px;         /* カード内の余白 */
  box-sizing: border-box;
  text-decoration: none;      /* リンクの下線を消す */
  color: #333333;             /* 基本の文字色 */
  overflow: hidden;           /* 内容がカード外へはみ出さない */
  transition: transform 0.2s, box-shadow 0.2s; /* hover時の動きを滑らかに */
}
/* hover：少し浮き上がり＋薄い影 */
.guide-links__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
/* フォーカス：キーボード操作時にフォーカス位置を明示 */
.guide-links__card:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

/* 左：テキストエリア（英字見出し→メイン見出し→説明を縦積み） */
.guide-links__text {
  flex: 1 1 auto;             /* 残り幅いっぱい */
  min-width: 0;              /* はみ出し防止 */
}
/* 英字見出し（FAQ / FOR COMPANIES） */
.guide-links__eyebrow {
  display: block;
  font-family: "Oswald", sans-serif; 
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #83d3e2;            
  margin: 0 0 6px;
}
/* メイン見出し（よくある質問 / 企業様向け情報） */
.guide-links__title {
  font-size: 3.25rem;
  font-weight: 700;
  color: #333333;
  margin: 0 0 25px;
  line-height: 1.3;
}
/* 説明文（HTMLの<br>で改行） */
.guide-links__desc {
  font-size: 1.25rem;
  font-weight: 400;
  color: #333333;
  margin: 0;
  line-height: 1.8;
  overflow-wrap: break-word; /* 長文でもカード外へはみ出さない */
}

/* カード2（企業様向け）：英字見出しの色をオレンジにする */
.guide-links__card--company .guide-links__eyebrow {
  color: var(--orange_c);    /* 既存変数（#f29603） */
}

/* 右：イラストエリア（img を縦横比維持で収める・文字に重ねない） */
.guide-links__illust {
  flex: none;                /* 幅を固定（テキスト側が伸縮） */
  width: 180px;              /* イラストエリアの横幅 */
  height: 160px;             /* イラストエリアの高さ */
  display: flex;
  align-items: center;
  justify-content: center;
}

.guide-links__illust img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transform: scale(1.4);
}

/* ===========================================================================
  スライダー動作（JS）用の補助スタイル
  方針：
    - 既存デザインに関わるサイズ・色・余白は変更しない。
    - ここで追加するのは「スライド移動の transition」と「無効ボタンの装飾」のみ。
    - prefers-reduced-motion: reduce 指定時は、滑らかな移動アニメーションを無効化する。
  対象：
    1. 注目されているエンジニア（.scout-eng__list を scrollTo で横移動）
    2. e案件の3つの特徴（.eanken-feature__track を transform で横移動：SPのみ）
=========================================================================== */

/* --- 1. 注目されているエンジニア スライダー --- */

/* 横移動を滑らかに（scrollTo の smooth と併用。JS無効でも影響なし）。
   実際の scrollBehavior は JS 側でも付与するが、CSSでも明示しておく。 */
.scout-eng__list {
  scroll-behavior: smooth;
}

/* 矢印の無効状態（最初＝前へ無効 / 最後＝次へ無効）。
   disabled 属性に対して、透明度とカーソルで「押せない」ことを示す。 */
.scout-eng__arrow:disabled {
  opacity: 0.35;             /* 無効時は薄く表示 */
  cursor: not-allowed;       /* カーソルで操作不可を明示 */
}
/* 無効時はホバーの枠色変化を打ち消す（有効時の装飾に戻らないように） */
.scout-eng__arrow:disabled:hover {
  border-color: var(--se-card-border);
}

/* --- 2. e案件の3つの特徴 スライダー（SPで transform 移動） --- */

/* トラックの横移動を滑らかに（JS側でも transition を付与するが、CSSでも明示）。
   PCでは JS が transform/transition を設定しないため、3枚横並びのまま影響しない。 */
.eanken-feature__track {
  transition: transform 0.3s ease;
}

/* --- アニメーション抑制（prefers-reduced-motion: reduce） --- */
@media (prefers-reduced-motion: reduce) {
  /* 滑らかな移動を無効化（JS側でも 'auto'/'none' を設定するが、CSSでも保証する） */
  .scout-eng__list {
    scroll-behavior: auto;
  }
  .eanken-feature__track {
    transition: none;
  }
  /* サービス状況の横スライドを無効化（JS側でも瞬時切替にするが、CSSでも保証） */
  .mv-status__track {
    transition: none;
  }
}