@charset "UTF-8";
/* fiz-css-bundle 59e2058bbfec5c160bf5d72c25677c70 */
/* 自動でまとめたファイル（inc/css-bundle.php）。直すときは元のファイルを直す。ここを直しても次に作り直されて消える */

/* ---- /assets/styles/css/page/service-recruiting-ads.css ---- */
/* ============================================================
   採用広告運用代行 ページだけの見た目（2026-11-11）。
   ほかは部品（service-parts/）を使う。値は fiz-tokens.css（src/tokens.css の写し）を使う。
   ============================================================ */

/* 見出し「採用広告運用代行」は、「採用広告」と「運用代行」の間（<wbr>）でだけ折り返す。「行」「代」だけが2行目に落ちるのを防ぐ
   （リスティング広告運用代行と同じやり方） */
.svc-page--recruiting-ads .svc-hero__title {
  word-break: keep-all;
}

/* ---- /assets/styles/css/service-parts/motion.css ---- */
/* ============================================================
   サービスの絵の動き・共通の所（2026-10-21 meta から）
   使う場所：サービス各ページのヒーロー（template-parts/service/hero.php）と、サービス一覧の行（service-row.php）。
   飾りの組み方は template-parts/service/motion-<名前>.php、絵ごとの動きは service-parts/motion-<名前>.css。
   飾りのファイルがある絵だけ動く。読み込みは functions.php（飾りのファイルがあるページだけ、この CSS と絵ごとの CSS を読む）。
   決まり：
   - 動きは5秒以内に全部止める。自動で5秒を超えて動き続けるものには止める手段が要るため（WCAG 2.2.2）。
     止めるボタンを付ける案もあったが、見た目を変えずに済む「自動で止める」を本人が選んだ（2026-10-21）
   - 赤は小さな目印だけ（tokens.css の赤の使い方の決まり）
   - 重くしない：画像・JS・書体を足さない。動きは位置と透明度の変化を基本にする
   ============================================================ */

/* 絵と飾りをまとめて包む箱。全体がふわっと1回浮く */
.svc-motion__float {
  position: relative;
  animation: svc-motion-float 4s ease-in-out 1 both;
}

/* ヒーローは画像を枠に絶対配置で入れている（meta は切り抜き）ので、包む箱も枠いっぱいにする */
.svc-hero__visual > .svc-motion__float {
  position: absolute;
  inset: 0;
}

/* 一覧の行は画像が流れの中にあり、最大幅が 460px（service-row.css の .svc-service__img と同じ）。
   包む箱も同じ幅にして、行が 460px より広いときに飾りが画像からずれないようにする */
.svc-service__media > .svc-motion__float {
  width: 100%;
  max-width: 460px;
}

/* 飾りの層（SVG）。絵と同じ枠に重ねる */
.svc-motion__fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

@keyframes svc-motion-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* 一覧の行：画像が画面に半分入るまで止めておく（外すのは service-pages.js）。
   一覧は下に長く、読み込んですぐ動かすと、下の行は見る前に5秒たって止まってしまうため。
   JS が動かないときは止まったまま＝静止画で出る（飾りは最初の透明な状態のまま）。
   絵ごとの CSS が後から animation を書くので、クラス2つ分の強さで止める */
.svc-motion__float.svc-motion--wait,
.svc-motion--wait .svc-motion__fx * {
  animation-play-state: paused;
}

/* 端末で「視差効果を減らす」を設定している人には、動きを出さず静止画だけにする */
@media (prefers-reduced-motion: reduce) {
  .svc-motion__float {
    animation: none;
  }
  .svc-motion__fx {
    display: none;
  }
}

/* ---- /assets/styles/css/service-parts/motion-recruiting-ads.css ---- */
/* ============================================================
   採用広告運用代行の絵の動き（2026-11-11 作成・2026-11-12 絵を案C に替えて作り直し）
   飾りの組み方は template-parts/service/motion-recruiting-ads.php、どの絵でも同じ所は service-parts/motion.css。
   採用広告運用代行のページと、サービス一覧で読み込む（functions.php）。
   Safari でも同じに動くよう、CSS の変数やまとめた指定は使わない（リスティング広告と同じ書き方）。
   始まる時刻：APPLY ボタンのクリック 0秒・点線（求人票→履歴書）0.6秒・履歴書の光 1.5秒・2.0秒・2.5秒・
   数字の知らせの輪 3.1秒・3.5秒。4.4秒で全部止まる（5秒以内）。
   ============================================================ */

.svc-motion-recruiting-ads__btn--1 {
  animation-name: svc-motion-recruiting-ads-ring-click;
  animation-duration: 0.9s;
  animation-timing-function: ease-out;
  animation-delay: 0s;
  animation-iteration-count: 1;
  animation-fill-mode: both;
  transform-box: fill-box;
  transform-origin: 45px 13.5px;
}
.svc-motion-recruiting-ads__btn--2 {
  animation-name: svc-motion-recruiting-ads-ring-pop;
  animation-duration: 0.9s;
  animation-timing-function: ease-out;
  animation-delay: 0.2s;
  animation-iteration-count: 1;
  animation-fill-mode: both;
  transform-box: fill-box;
  transform-origin: 45px 13.5px;
}
.svc-motion-recruiting-ads__streak {
  animation-name: svc-motion-recruiting-ads-streak;
  animation-duration: 1s;
  animation-timing-function: linear;
  animation-delay: 0.6s;
  animation-iteration-count: 1;
  animation-fill-mode: both;
  transform-box: view-box;
  transform-origin: 0px 0px;
  stroke-dasharray: 14px, 110px;
}
.svc-motion-recruiting-ads__band--1 {
  animation-name: svc-motion-recruiting-ads-glint-card;
  animation-duration: 0.8s;
  animation-timing-function: ease-in-out;
  animation-delay: 1.5s;
  animation-iteration-count: 1;
  animation-fill-mode: both;
}
.svc-motion-recruiting-ads__band--2 {
  animation-name: svc-motion-recruiting-ads-glint-card;
  animation-duration: 0.8s;
  animation-timing-function: ease-in-out;
  animation-delay: 2.0s;
  animation-iteration-count: 1;
  animation-fill-mode: both;
}
.svc-motion-recruiting-ads__band--3 {
  animation-name: svc-motion-recruiting-ads-glint-card;
  animation-duration: 0.8s;
  animation-timing-function: ease-in-out;
  animation-delay: 2.5s;
  animation-iteration-count: 1;
  animation-fill-mode: both;
}
.svc-motion-recruiting-ads__ring--1 {
  animation-name: svc-motion-recruiting-ads-ring-out;
  animation-duration: 0.9s;
  animation-timing-function: ease-out;
  animation-delay: 3.1s;
  animation-iteration-count: 1;
  animation-fill-mode: both;
  transform-box: fill-box;
  transform-origin: 20px 20px;
}
.svc-motion-recruiting-ads__ring--2 {
  animation-name: svc-motion-recruiting-ads-ring-out;
  animation-duration: 0.9s;
  animation-timing-function: ease-out;
  animation-delay: 3.5s;
  animation-iteration-count: 1;
  animation-fill-mode: both;
  transform-box: fill-box;
  transform-origin: 20px 20px;
}

@keyframes svc-motion-recruiting-ads-ring-out {
  0% { opacity: 0; transform: scale(0.9); }
  12% { opacity: 0.9; transform: scale(1); }
  100% { opacity: 0; transform: scale(2); }
}
@keyframes svc-motion-recruiting-ads-ring-click {
  0% { opacity: 0; transform: scale(1); }
  15% { opacity: 0.95; transform: scale(1.04); }
  100% { opacity: 0; transform: scale(1.3); }
}
@keyframes svc-motion-recruiting-ads-ring-pop {
  0% { opacity: 0; transform: scale(1); }
  15% { opacity: 0.9; transform: scale(1.06); }
  100% { opacity: 0; transform: scale(1.5); }
}
@keyframes svc-motion-recruiting-ads-streak {
  0% { stroke-dashoffset: 14; opacity: 0; }
  4% { opacity: 1; }
  72% { stroke-dashoffset: -96; opacity: 1; }
  78%, 100% { stroke-dashoffset: -96; opacity: 0; }
}
@keyframes svc-motion-recruiting-ads-glint-card {
  0% { transform: translateX(0px); }
  100% { transform: translateX(370px); }
}
