/*
Theme Name: JOBLIUM Career
Theme URI: https://joblium.net/career/
Author: Millebrains
Description: 企業向け障害者雇用支援サービスのコーポレートページ用テーマ。法人向けコンサルティング会社のトーンに合わせ、カード多用・中央揃え・影・角丸を意図的に抑えている。
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: joblium-career
*/

/* ==========================================================================
   1. デザイントークン
   ★方針（2026-08-22 改訂）
   SaaS系LPではなく、法人向けコンサルティング会社の見え方にする。
   緑の面積を減らす（白70% / 淡緑15-20% / ブランド緑5-10%）。
   角丸・影・中央揃え・同型カードの反復を避ける。
   ========================================================================== */
:root {
  /* ブランド */
  --brand:      #4a982f;  /* ブランドグリーン。トップ・outsource と共通 */
  --brand-dark: #388520;  /* 濃いグリーン。同上 */
  --brand-deep: #2F4B28;  /* 最も濃い。outsource のフッターと同色 */
  --brand-mid:  #4a982f30; /* 罫線アクセント用 */
  --tint:       #F8FCF5;  /* ごく薄いグリーン背景。同上 */
  --tint-2:     #EEF8E8;  /* 淡い区切り */

  /* 文字と線 */
  --ink:    #252525;  /* 本文。トップと同値 */
  --ink-2:  #252525;  /* 見出し。トップは本文と同色 */
  --muted:  #6f786d;  /* 補助文字。トップと同値 */
  --line:   #E6EBE3;  /* 境界線。同上 */
  --line-2: #F1F5EF;  /* さらに薄い境界線 */

  --font-sans: "Hiragino Maru Gothic ProN", "Yu Gothic", YuGothic,
               "BIZ UDPGothic", Meiryo, system-ui, sans-serif;

  /* 幅は意図的に揃えない（全部同じ max-width はテンプレートに見える） */
  --w-wide:  1180px;  /* タイムライン */
  --w-base:  1120px;  /* 通常コンテンツ */
  --w-form:  1050px;  /* フォーム */
  --w-about:  920px;  /* 運営者 */
  --w-faq:    900px;  /* FAQ */
  --w-text:   820px;  /* 文章主体 */
  --w-article: 1240px; /* コラム（本文＋サイドバー） */

  /* CTA用のオレンジ。トップ・outsource と共通 */
  --orange:      #ff6a00;
  --orange-lite: #ff7f1f;
  --orange-soft: #fff2e7;
  --yellow:      #f7d875;
  --lime:        #8bcf4f;

  /* 角丸は控えめに。ピル型はラベルだけ */
  --r:    12px;
  --r-md: 14px;
  --r-lg: 20px;  /* トップの --radius と同値 */
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.85;
  font-feature-settings: "palt" 1;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.4; margin: 0 0 .7em; color: var(--ink-2); }
h1 { font-weight: 800; }
h2 { font-weight: 800; }
h3 { font-weight: 800; }
h4 { font-weight: 700; }
p { margin: 0 0 1.3em; }
ul, ol { margin: 0 0 1.3em; padding-left: 1.4em; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}

.screen-reader-text {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: #fff; color: var(--brand-dark); padding: .75rem 1.25rem;
  border: 1px solid var(--line); font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ==========================================================================
   3. レイアウト
   ========================================================================== */
.wrap        { max-width: var(--w-base);  margin-inline: auto; padding-inline: 1.25rem; }
.wrap-wide   { max-width: var(--w-wide);  margin-inline: auto; padding-inline: 1.25rem; }
.wrap-form   { max-width: var(--w-form);  margin-inline: auto; padding-inline: 1.25rem; }
.wrap-about  { max-width: var(--w-about); margin-inline: auto; padding-inline: 1.25rem; }
.wrap-faq    { max-width: var(--w-faq);   margin-inline: auto; padding-inline: 1.25rem; }
.wrap-text   { max-width: var(--w-text);  margin-inline: auto; padding-inline: 1.25rem; }
.wrap-article{ max-width: var(--w-article); margin-inline: auto; padding-inline: 1.25rem; }
/* 旧クラス名の互換 */
.wrap-narrow { max-width: var(--w-base);  margin-inline: auto; padding-inline: 1.25rem; }

.site { display: flex; min-height: 100vh; flex-direction: column; }
.site-main { flex: 1; }

/* 余白は章の切れ目で広く、続きものは狭く。機械的に揃えない */
.section        { padding: clamp(56px, 5vw, 88px) 0; }
.section--tight { padding: clamp(40px, 3.6vw, 64px) 0; }
.section--wide  { padding: clamp(72px, 7vw, 128px) 0; }
.section--tint  { background: var(--tint); }
.section--line  { border-top: 1px solid var(--line); }

/* 見出しは原則左揃え。中央揃えは大きな区切りだけ */
.section-head { margin-bottom: 34px; max-width: 46rem; }
.section-title { font-size: clamp(1.5rem, 1.05rem + 1.7vw, 2.25rem); margin: 0 0 .6rem; letter-spacing: .01em; }
.section-lead { color: var(--muted); margin: 0;
  font-size: clamp(16px, .6vw + 13px, 20px); line-height: 1.85; }
.section-head--center { margin-inline: auto; text-align: center; }

/* 節を数字で示す。ピル型ラベルの代わり */
.eyebrow {
  display: block; font-size: 1rem; font-weight: 800; letter-spacing: .14em;
  color: var(--brand-dark); margin-bottom: .8rem;
}

/* ==========================================================================
   4. ボタン（ピル型。トップ・outsource と共通の語彙）
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.9rem; border-radius: 999px;
  font-weight: 700; font-size: 1rem; line-height: 1.5;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease,
              background-color .15s, color .15s, border-color .15s;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }

/* 主CTAはオレンジ。緑の面の上でも背景に溶けない */
.btn--primary {
  background: linear-gradient(100deg, var(--orange-lite), var(--orange));
  color: #fff;
  box-shadow: 0 10px 24px rgb(255 106 0 / .26);
}
.btn--primary:hover {
  background: linear-gradient(100deg, var(--orange-lite), var(--orange));
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgb(255 106 0 / .34);
}

.btn--outline { background: #fff; color: var(--brand-dark); border: 2px solid #cce9ad; }
.btn--outline:hover { border-color: var(--brand); background: var(--tint); }

/* ヒーロー内（濃色背景の上） */
.btn--white { background: #fff; color: var(--brand-dark); }
.btn--white:hover { background: var(--tint); color: var(--brand-dark); }
.btn--ghost { background: transparent; color: #fff; border-color: rgb(255 255 255 / .55); }
.btn--ghost:hover { background: rgb(255 255 255 / .1); color: #fff; }

.btn--lg { padding: 1.05rem 2.2rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }

/* ==========================================================================
   5. ヘッダー（白ベース）
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid var(--line);
}
.site-header__inner {
  max-width: var(--w-wide); margin-inline: auto; padding: .85rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand__mark {
  display: flex; align-items: center; justify-content: center;
  height: 30px; width: 30px; border-radius: var(--r);
  background: var(--brand); color: #fff;
  font-size: .875rem; font-weight: 700;
}
.brand__name { font-size: 1.2rem; font-weight: 700; color: var(--ink-2); letter-spacing: .02em; }
.brand__sub {
  font-size: .75rem; color: var(--muted);
  border-left: 1px solid var(--line); margin-left: .3rem; padding-left: .65rem;
}

.nav { display: none; align-items: center; gap: 1.4rem; }
.nav a { font-size: .875rem; font-weight: 500; color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--brand-dark); text-decoration: none; }
.nav .nav-cta {
  background: linear-gradient(100deg, var(--orange-lite), var(--orange));
  color: #fff; padding: .6rem 1.35rem;
  border-radius: 999px; font-weight: 700; margin-left: .4rem;
  box-shadow: 0 8px 18px rgb(255 106 0 / .24);
  transition: transform .18s ease, box-shadow .18s ease;
}
.nav .nav-cta:hover {
  background: linear-gradient(100deg, var(--orange-lite), var(--orange));
  color: #fff; transform: translateY(-2px);
  box-shadow: 0 12px 24px rgb(255 106 0 / .32);
}

.nav-toggle {
  display: flex; align-items: center; justify-content: center;
  height: 38px; width: 38px; border: 1px solid var(--line); border-radius: var(--r);
  background: #fff; color: var(--ink); cursor: pointer;
}

.nav-mobile { display: none; background: #fff; border-top: 1px solid var(--line); }
.nav-mobile.is-open { display: block; }
.nav-mobile ul { list-style: none; margin: 0; padding: .25rem 1.25rem 1rem; }
.nav-mobile a {
  display: block; padding: .85rem .25rem; color: var(--ink); font-weight: 500;
  border-bottom: 1px solid var(--line-2); text-decoration: none;
}

@media (min-width: 900px) {
  .nav { display: flex; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none !important; }
}

/* ==========================================================================
   6. フッター（濃色）
   ========================================================================== */
.site-footer { background: var(--brand-deep); color: #e6f0e0; padding: 56px 0 40px; }
.site-footer__grid { display: grid; gap: 2.25rem; grid-template-columns: 1fr; }
.site-footer h4 { color: #fff; font-size: .9375rem; margin: 0 0 .9rem; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: .55rem; }
.site-footer a { color: rgb(255 255 255 / .68); font-size: .875rem; }
.site-footer a:hover { color: #fff; }
.site-footer__brand { display: flex; align-items: center; gap: .55rem; margin-bottom: .9rem; }
.site-footer__mark {
  display: flex; align-items: center; justify-content: center;
  height: 28px; width: 28px; border-radius: var(--r);
  background: var(--brand); color: #fff; font-size: .75rem; font-weight: 700;
}
.site-footer__desc { font-size: .875rem; line-height: 1.85; margin: 0; }
.site-footer__bottom {
  margin-top: 44px; border-top: 1px solid rgb(255 255 255 / .14);
  padding-top: 22px; font-size: .75rem;
}
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ==========================================================================
   7. 追従CTA（モバイルのみ）
   ========================================================================== */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: #fff; border-top: 1px solid var(--line); padding: .6rem 1rem;
}
.sticky-cta .btn { width: 100%; }

/* ページの先頭へ戻る */
.to-top {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 61;
  width: 44px; height: 44px; padding: 0;
  display: grid; place-items: center;
  background: #fff; color: var(--brand-dark);
  border: 1px solid var(--line); border-radius: 50%;
  cursor: pointer;
}
.to-top:hover { background: var(--tint); border-color: var(--brand); color: var(--brand-dark); }
.to-top:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* JSが動いているときだけ、少しスクロールしてから出す。
   JS無効のときは class が付かないので、最初から表示したままになる。 */
html.js .sticky-cta,
html.js .to-top {
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}
html.js .sticky-cta.is-visible,
html.js .to-top.is-visible {
  opacity: 1; visibility: visible; transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html.js .sticky-cta, html.js .to-top { transition: none; transform: none; }
}

@media (max-width: 899px) {
  body.has-sticky-cta { padding-bottom: 78px; }
  body.has-sticky-cta .to-top { bottom: 84px; }  /* 追従バーの上に逃がす */
}

@media (min-width: 900px) {
  /* 画面下いっぱいの帯だと重いので、右下の小さなボタンにする */
  .sticky-cta {
    left: auto; right: 5.25rem; bottom: 1.5rem;
    background: none; border-top: 0; padding: 0;
  }
  .sticky-cta .btn { width: auto; box-shadow: 0 6px 20px rgb(11 94 73 / .25); }
  .to-top { right: 1.5rem; bottom: 1.5rem; }
}

/* ==========================================================================
   8. 旧トークンの互換（blog.css がまだ参照しているため残す）
   新規のスタイルでは上の --brand / --ink / --line 系を使うこと。
   ========================================================================== */
:root {
  --primary-50:  #F8FCF5;
  --primary-100: #EEF8E8;
  --primary-200: #D6ECC2;
  --primary-300: #B7DD9A;
  --primary-400: #7BC24F;
  --primary-500: #57a83a;
  --primary-600: #4a982f;
  --primary-700: #3F8728;
  --primary-800: #388520;
  --primary-900: #2F4B28;

  --gray-50:  #FAFBFB;
  --gray-100: #F3F5F4;
  --gray-200: #E6EBE3;
  --gray-300: #CDD6C9;
  --gray-400: #9AA6A2;
  --gray-500: #66736E;
  --gray-600: #4E5B56;
  --gray-700: #3A463F;
  --gray-800: #24332E;
  --gray-900: #12201B;

  --amber-50:  #FDF8EC;
  --amber-200: #EDDCA8;
  --amber-700: #8A6A17;

  --radius:    12px;
  --radius-lg: 14px;
  --radius-2xl: 20px;

  --shadow-sm: 0 4px 16px rgb(30 80 50 / .05);
  --shadow:    0 8px 30px rgb(30 80 50 / .06);
  --shadow-md: 0 14px 36px rgb(30 80 50 / .10);
  --shadow-lg: 0 12px 32px rgb(0 0 0 / .16);

  --wrap: 1120px;
  --wrap-narrow: 1120px;
}

/* ===== ヘッダーロゴ（サブタイトル込みの画像に差し替え・2026-09-06） ===== */
.brand__logo { height: 44px; width: auto; display: block; }
@media (max-width: 640px) {
  .brand__logo { height: 34px; }
  .brand__sub { display: none; }
}

/* ===== フッターのロゴ（白抜き透過・2026-09-06） ===== */
.site-footer__logo { height: 46px; width: auto; display: block; }
@media (max-width: 640px) { .site-footer__logo { height: 38px; } }

/* ==========================================================================
   9. 濃色の帯（トップの .diff と同じ語彙）
   ========================================================================== */
.section--deep {
  background: linear-gradient(135deg, #3F8728 0%, #4a982f 55%, #57a83a 100%);
  color: #fff;
}
.section--deep .section-title { color: #fff; }
.section--deep .section-lead  { color: #eaf7dd; }
.section--deep .eyebrow       { color: #dcf0c8; }

/* 帯の上でも、カードは白いまま浮かせる */
.section--deep .issue { background: #fff; box-shadow: 0 14px 34px rgb(0 0 0 / .14); }
.section--deep .issue h3 { color: var(--brand-dark); }
.section--deep .issue p  { color: var(--muted); }

/* 小見出しは緑。トップは .points b / .merit-card h3 などを --deep にしている */
.block h3,
.timeline__item h3,
.issue h3 { color: var(--brand-dark); }


/* ===========================================================
   スクロールで、ふわっと出す（joblium.net トップ・outsource と同じ作り）
   JS が動かないときは何も隠さない（.js が付かないため）。
   =========================================================== */
.js :is(.section-head,.section-title,.section-lead,
  .issue-head,.issue,.block,.stance,
  .timeline__item,.timeline__note,
  .cat-row,.table-scroll,.cost__panel,.qa-item,
  .post-card,.post-item,.about__body,.about__meta,
  .form-intro,.form-card,.cta-row,.cta-note,.disclaimer,.wmarquee){
  opacity:0;transition:opacity .5s ease}
.js :is(.section-head,.section-title,.section-lead,
  .issue-head,.issue,.block,.stance,
  .timeline__item,.timeline__note,
  .cat-row,.table-scroll,.cost__panel,.qa-item,
  .post-card,.post-item,.about__body,.about__meta,
  .form-intro,.form-card,.cta-row,.cta-note,.disclaimer,.wmarquee).in{opacity:1}

@media (prefers-reduced-motion:no-preference){

  .js :is(.section-head,.section-title,.section-lead,
    .issue-head,.issue,.block,.stance,
    .timeline__item,.timeline__note,
    .cat-row,.table-scroll,.cost__panel,.qa-item,
    .post-card,.post-item,.about__body,.about__meta,
    .form-intro,.form-card,.cta-row,.cta-note,.disclaimer,.wmarquee){
    transform:translateY(20px);
    transition:opacity .72s cubic-bezier(.2,.7,.2,1),transform .72s cubic-bezier(.2,.7,.2,1)}
  .js :is(.section-head,.section-title,.section-lead,
    .issue-head,.issue,.block,.stance,
    .timeline__item,.timeline__note,
    .cat-row,.table-scroll,.cost__panel,.qa-item,
    .post-card,.post-item,.about__body,.about__meta,
    .form-intro,.form-card,.cta-row,.cta-note,.disclaimer,.wmarquee).in{transform:none}

  /* ヒーローは読み込んだ瞬間に、上から順に出す */
  @keyframes jbcRise{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
  @keyframes jbcShot{from{opacity:0;transform:translateY(26px) scale(.985)}to{opacity:1;transform:none}}
  .js .hero__eyebrow{animation:jbcRise .9s cubic-bezier(.2,.7,.2,1) both}
  .js .hero h1{animation:jbcRise .9s cubic-bezier(.2,.7,.2,1) .08s both}
  .js .hero__lead{animation:jbcRise .9s cubic-bezier(.2,.7,.2,1) .2s both}
  .js .hero__actions{animation:jbcRise .9s cubic-bezier(.2,.7,.2,1) .32s both}
  .js .hero__photo{animation:jbcShot 1s cubic-bezier(.2,.7,.2,1) .18s both}
}
