@charset "UTF-8";
/* =========================================================
   アプティ派遣 LP スタイル
   1. Tokens      色・文字・余白・角丸・サイズの基本の値
   2. Base        ページ全体の初期設定
   3. Layout      幅・section の余白
   4. Components  部品（ボタン・見出し・各ブロック）
   5. Utilities   小さな補助
   スマホ基準 → 768px / 1024px で拡張
   ========================================================= */

/* =========================================================
   1. Tokens
   ========================================================= */
:root {
  /* color */
  --c-main: #00A0C2;
  --c-accent: #4ABBD3;
  --c-cta: #FF7504;
  --c-text: #333333;
  --c-mute: #666666;
  --c-border: #DDDDDD;
  --c-bg: #FFFFFF;
  --c-bg2: #EBEBEB;
  --c-on-dark: rgba(255, 255, 255, .88);

  /* font */
  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", "YuGothic", "Meiryo", sans-serif;
  --font-en: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --fs-xs: 14px;
  --fs-s: 14px;
  --fs-base: 16px;
  --fs-m: 17px;
  --fs-l: 19px;
  --fs-xl: 22px;
  --lh-base: 1.85;
  --lh-tight: 1.45;

  /* space */
  --sp-xs: 8px;
  --sp-s: 16px;
  --sp-m: 24px;
  --sp-l: 40px;
  --sec-pad: 64px;

  /* shape */
  --r-s: 2px;
  --r-m: 4px;

  /* size */
  --container: 1120px;
  --gutter: 20px;
  --header-h: 64px;
  --fixed-cta-h: 64px;
  --tap: 56px;
  --hero-h-pc: 520px;

  /* motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 768px) {
  :root { --gutter: 32px; --sec-pad: 96px; }
}
@media (min-width: 1024px) {
  :root { --header-h: 80px; }
}

/* =========================================================
   2. Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  padding-bottom: var(--fixed-cta-h);
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  letter-spacing: .03em;
  color: var(--c-text);
  background: var(--c-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 1024px) { body { padding-bottom: 0; } }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; letter-spacing: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--c-main); outline-offset: 3px; }

.ic { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* =========================================================
   3. Layout
   ========================================================= */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }
.section { padding: var(--sec-pad) 0; }
.section--gray { background: var(--c-bg2); }

/* =========================================================
   4. Components
   ========================================================= */

/* ---------- Button ----------
   .btn           基本（高さは --tap 以上・文言は1行）
   .btn--line     LINE（CTA カラー）
   .btn--outline  電話（白地・メインカラーの枠）
*/
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--tap); padding: 10px 24px;
  border: 2px solid transparent; border-radius: var(--r-m);
  font-size: var(--fs-base); font-weight: 700; line-height: 1.4; letter-spacing: .06em; text-align: center; white-space: nowrap;
  transition: background-color .25s var(--ease), opacity .25s var(--ease);
}
.btn .ic { width: 20px; height: 20px; }
.btn--line { background: var(--c-cta); color: #fff; }
.btn--line:hover { opacity: .85; }
.btn--outline { background: #fff; color: var(--c-text); border-color: var(--c-main); }
.btn--outline .ic { color: var(--c-main); }
.btn--outline:hover { background: var(--c-bg2); }

/* ---------- CTA unit（小さな文章＋ボタン＋補足） ----------
   .cta-unit__micro  ボタンの上の小さな文章
   .cta-unit__tel    ボタンの下の電話番号
*/
.cta-unit { display: grid; gap: 6px; text-align: center; }
.cta-unit > .btn { width: 100%; }
.cta-unit__micro { font-size: var(--fs-s); font-weight: 700; line-height: 1.5; }
.cta-unit__tel { font-family: var(--font-en); font-size: var(--fs-m); font-weight: 700; letter-spacing: .06em; line-height: 1.4; }

/* ---------- Button group ----------
   スマホ：縦並び・幅いっぱい / 768px〜：横並び・同じ幅
*/
.btn-group { display: grid; gap: 16px; align-items: start; }
.btn-group > .btn { width: 100%; }
@media (min-width: 768px) {
  .btn-group { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
}

/* ---------- Section heading ---------- */
.sec-head { margin-bottom: var(--sp-l); }
.sec-head__title { font-size: clamp(24px, 6.4vw, 38px); line-height: var(--lh-tight); font-weight: 700; color: var(--c-text); letter-spacing: .04em; }
.sec-head__lead { margin-top: 16px; color: var(--c-text); max-width: 680px; }
.sec-head--center { text-align: center; }
.sec-head--center .sec-head__lead { margin-left: auto; margin-right: auto; }
.sec-head--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; }

/* ---------- Note（補足の小さい文字） ---------- */
.note { font-size: var(--fs-xs); color: var(--c-mute); line-height: 1.7; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--c-border); box-shadow: 0 6px 20px -16px rgba(0, 0, 0, .4); }
.site-header__inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.logo { display: flex; align-items: center; gap: 10px; margin-right: auto; line-height: 1.1; }
.logo__img { display: block; width: auto; height: 28px; }
@media (min-width: 1024px) { .site-header .logo__img { height: 36px; } }

.gnav { display: none; }
@media (min-width: 1024px) {
  .gnav { display: block; }
  .gnav ul { display: flex; gap: 4px; }
  .gnav a {
    position: relative; display: flex; align-items: center;
    padding: 8px 14px; font-size: 15px; font-weight: 700; color: var(--c-text); line-height: 1.4; letter-spacing: .04em;
  }
  .gnav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; background: var(--c-main); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
  .gnav a:hover::after { transform: scaleX(1); }
}

/* ---------- Menu button（スマホ右上の「メニュー」） ---------- */
.menu-btn { position: relative; width: 52px; height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; margin-right: -8px; }
.menu-btn__bar { display: block; width: 26px; height: 2px; background: var(--c-text); transition: transform .3s var(--ease); }
.menu-btn__label { font-size: 11px; letter-spacing: .04em; font-weight: 700; color: var(--c-text); line-height: 1; margin-top: 2px; white-space: nowrap; }
.is-menu-open .menu-btn__bar:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.is-menu-open .menu-btn__bar:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
@media (min-width: 1024px) { .menu-btn { display: none; } }

/* ---------- Drawer（スマホメニューの中身） ---------- */
.drawer {
  position: fixed; inset: 0; z-index: 90;
  padding: calc(var(--header-h) + 32px) var(--gutter) 40px;
  background: var(--c-main); color: #fff;
  overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.is-menu-open .drawer { opacity: 1; visibility: visible; transform: none; }
.is-menu-open body { overflow: hidden; }
.is-menu-open .site-header { background: #fff; }
.drawer__nav a { display: flex; align-items: center; justify-content: space-between; min-height: var(--tap); padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .4); font-size: 20px; font-weight: 700; }
.drawer__nav .ic { width: 20px; height: 20px; }
.drawer__cta { margin-top: 32px; }
@media (min-width: 1024px) { .drawer { display: none; } }

/* ---------- Hero（メインビジュアル） ----------
   〜1023px：写真を背景に敷き、文字は白。写真スライダーは表示しない
   1024px〜：左に文章、右に写真スライダー
*/
.hero {
  position: relative; overflow: hidden; color: #fff;
  color: var(--c-text);
  background: #fff url("../img/img-hero-slider-sp.webp") center / cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .85); }
.hero__grid { position: relative; z-index: 1; display: grid; }
.hero__body { padding: 32px var(--gutter) 36px; }
.hero__label { font-size: var(--fs-s); font-weight: 700; }
.hero__title { margin-top: 12px; font-size: clamp(28px, 8vw, 44px); line-height: 1.42; font-weight: 800; letter-spacing: .03em; }
.hero__title em { font-style: normal; color: var(--c-main); }
.hero__lead { margin-top: 14px; }
.hero__actions { margin-top: 24px; }
.hero__visual { display: none; }
@media (min-width: 768px) {
  .hero__body { max-width: 720px; padding-top: 56px; padding-bottom: 56px; }
}
@media (min-width: 1024px) {
  .hero { color: var(--c-text); background: #fff; }
  .hero::before { display: none; }
  .hero__grid { grid-template-columns: minmax(0, 11fr) minmax(0, 12fr); min-height: var(--hero-h-pc); }
  .hero__body {
    max-width: none; display: flex; flex-direction: column; justify-content: center;
    padding: 48px 48px 48px max(var(--gutter), calc((100vw - var(--container)) / 2));
  }
  .hero__title { font-size: clamp(34px, 3.4vw, 46px); }
  .hero__title em { color: var(--c-main); }
  .hero__actions { max-width: 560px; }
  .hero__visual { display: block; position: relative; }
}

/* ---------- Slider（PC の写真スライダー。操作部分は出さない） ---------- */
.slider { position: absolute; inset: 0; overflow: hidden; background: var(--c-bg2); }
.slider__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.slider__slide.is-active { opacity: 1; z-index: 1; }
.slider__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s linear; }
.slider__slide.is-active img { transform: scale(1); }

/* ---------- Quick nav（メインビジュアル直下のメニューボタン） ---------- */
.quick-nav { padding: 16px 0; background: var(--c-bg2); border-bottom: 1px solid var(--c-border); }
.quick-nav__list { display: grid; grid-template-columns: 1fr; gap: 10px; }
.quick-nav__link {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  min-height: var(--tap); padding: 8px 12px 8px 14px;
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-m);
  font-size: var(--fs-base); font-weight: 700; line-height: 1.4; color: var(--c-text);
  transition: border-color .2s;
}
.quick-nav__link:hover { border-color: var(--c-main); }
.quick-nav__link .ic { width: 18px; height: 18px; color: var(--c-main); }
@media (min-width: 768px) {
  .quick-nav { padding: 20px 0; }
  .quick-nav__list { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .quick-nav__link { padding: 8px 16px 8px 20px; }
}

/* ---------- Pillars（サポートのカード） ---------- */
.pillars { display: grid; gap: 1px; background: var(--c-border); border: 1px solid var(--c-border); }
.pillar { background: #fff; padding: 32px 24px; }
.pillar__head { display: flex; align-items: center; gap: 14px; }
.pillar__num { flex: none; font-family: var(--font-en); font-size: 40px; font-weight: 700; line-height: 1; color: var(--c-main); }
.pillar__title { display: flex; align-items: center; gap: 8px; font-size: var(--fs-l); font-weight: 700; color: var(--c-text); line-height: 1.5; }
.pillar__text { margin-top: 16px; }
.pillar__list { margin-top: 16px; display: grid; gap: 8px; }
.pillar__list li { display: flex; gap: 8px; align-items: flex-start; }
.pillar__list .ic { color: var(--c-main); margin-top: 5px; width: 18px; height: 18px; }
@media (min-width: 768px) { .pillars { grid-template-columns: repeat(3, 1fr); } .pillar { padding: 40px 32px; } }

/* ---------- Numbers（数字の実績） ---------- */
.numbers { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--c-border); border-left: 1px solid var(--c-border); }
.number { padding: 24px 16px; border-right: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }
.number__label { font-size: var(--fs-s); color: var(--c-text); line-height: 1.5; }
.number__value { margin-top: 10px; font-family: var(--font-en); font-weight: 700; font-size: clamp(36px, 10vw, 58px); line-height: 1; letter-spacing: -.01em; color: var(--c-main); }
.number__value small { font-family: var(--font); font-size: 15px; font-weight: 700; margin-left: 4px; letter-spacing: .04em; }
@media (min-width: 768px) { .numbers { grid-template-columns: repeat(4, 1fr); } .number { padding: 36px 28px; } }

/* ---------- Steps（就業までの流れ） ---------- */
.steps { display: grid; }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding-bottom: 28px; }
.step::before { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 1px; background: var(--c-main); }
.step:last-child::before { display: none; }
.step__num { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--c-main); font-family: var(--font-en); font-weight: 700; color: #fff; font-size: 16px; line-height: 1; text-align: center; }
.step__num small { display: block; font-size: 9px; letter-spacing: .14em; margin-bottom: -10px; }
.step__title { font-size: var(--fs-m); font-weight: 700; color: var(--c-text); line-height: 1.5; padding-top: 4px; }
.step__text { margin-top: 6px; }
@media (min-width: 1024px) {
  .steps--h { grid-template-columns: repeat(5, 1fr); gap: 20px; }
  .steps--h .step { grid-template-columns: 1fr; padding-bottom: 0; }
  .steps--h .step::before { left: 56px; right: -20px; top: 28px; bottom: auto; width: auto; height: 1px; }
  .steps--h .step__title { padding-top: 0; }
}

/* ---------- Accordion（よくある質問） ---------- */
.acc { border-top: 1px solid var(--c-border); }
.acc__item { border-bottom: 1px solid var(--c-border); }
.acc__q { width: 100%; min-height: var(--tap); display: flex; align-items: flex-start; gap: 14px; padding: 20px 4px; text-align: left; font-weight: 700; color: var(--c-text); line-height: 1.65; font-size: var(--fs-base); }
.acc__q::before { content: "Q"; font-family: var(--font-en); font-size: 19px; color: var(--c-main); line-height: 1.4; flex: none; width: 18px; }
.acc__icon { margin-left: auto; position: relative; width: 22px; height: 22px; flex: none; margin-top: 3px; }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 3px; right: 3px; top: 50%; height: 2px; background: var(--c-text); transition: transform .3s var(--ease); }
.acc__icon::after { transform: rotate(90deg); }
.acc__q[aria-expanded="true"] .acc__icon::after { transform: rotate(0); }
.acc__a { height: 0; overflow: hidden; transition: height .35s var(--ease); }
.acc__a-inner { display: flex; gap: 14px; padding: 0 4px 22px; line-height: 1.9; }
.acc__a-inner::before { content: "A"; font-family: var(--font-en); font-size: 19px; color: var(--c-cta); line-height: 1.4; flex: none; width: 18px; font-weight: 700; }

/* ---------- Final CTA（最後の申込ボックス） ---------- */
.final-cta { display: grid; gap: 16px; }
.final-cta__box { padding: 36px 24px; border-radius: var(--r-m); display: flex; flex-direction: column; gap: 14px; color: var(--c-text); }
.final-cta__box--line { background: #fff; border: 1px solid var(--c-border); }
.final-cta__box--tel { background: #fff; border: 1px solid var(--c-border); }
.final-cta__box h3 { font-size: var(--fs-xl); line-height: 1.5; }
.final-cta__list { display: grid; gap: 8px; }
.final-cta__list li { display: flex; gap: 8px; align-items: flex-start; }
.final-cta__list .ic { flex: none; color: var(--c-main); margin-top: 5px; width: 18px; height: 18px; }
.final-cta__action { margin-top: auto; padding-top: 8px; }
@media (min-width: 768px) { .final-cta { grid-template-columns: 1fr 1fr; gap: 24px; } .final-cta__box { padding: 48px 40px; } }

/* ---------- Footer ---------- */
.site-footer { background: #fff; color: var(--c-text); padding: 56px 0 28px; font-size: var(--fs-s); }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-top { display: grid; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid var(--c-border); }
.footer-brand p { margin-top: 14px; line-height: 1.9; }
.footer-contact { margin-top: 18px; max-width: 360px; }
.footer-contact .btn:hover { text-decoration: none; }
.footer-nav ul { display: grid; border-top: 1px solid var(--c-border); }
.footer-nav a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: var(--tap); padding: 12px 0; border-bottom: 1px solid var(--c-border); font-size: var(--fs-base); font-weight: 700; line-height: 1.5; }
.footer-nav .ic { width: 18px; height: 18px; color: var(--c-main); }
.footer-bottom { padding-top: 24px; font-size: var(--fs-xs); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 6px 20px; }
@media (min-width: 768px) {
  .footer-top { grid-template-columns: 360px 1fr; gap: 56px; }
}

/* ---------- Fixed CTA（スマホ画面下の固定ボタン） ---------- */
.fixed-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
  background: #fff; border-top: 1px solid var(--c-border);
  transform: translateY(100%); transition: transform .4s var(--ease);
}
.fixed-cta.is-show { transform: none; }
.fixed-cta .btn { min-height: 52px; padding: 4px 8px; gap: 6px; font-size: var(--fs-s); line-height: 1.3; letter-spacing: .02em; }
.fixed-cta .btn .ic { width: 18px; height: 18px; }
@media (min-width: 1024px) { .fixed-cta { display: none; } }

/* ---------- Page top（ページの先頭へ戻るボタン） ---------- */
.pagetop { position: fixed; right: 16px; bottom: calc(var(--fixed-cta-h) + 16px); z-index: 70; width: 52px; height: 52px; display: grid; place-items: center; background: var(--c-main); color: #fff; border-radius: 50%; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.pagetop.is-show { opacity: 1; visibility: visible; }
.pagetop .ic { transform: rotate(-90deg); width: 20px; height: 20px; }
@media (min-width: 1024px) { .pagetop { bottom: 24px; right: 24px; } }

/* ---------- Reveal（スクロールで表示）。スクリプトが動くときだけ隠し、動かない環境では最初から見せる ---------- */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .slider__slide img { transition: none; transform: none; }
}

/* =========================================================
   5. Utilities
   ========================================================= */
.u-nowrap { white-space: nowrap; }
@media (min-width: 768px) { .sp-only { display: none; } }
