/* ==========================================================================
   スター精機 コーポレートサイト / 一般事業主行動計画ページ

   ★貼る場所に注意
     「外観 > カスタマイズ > 追加CSS」の
     いま入っているものは消さずに、その一番下に足してください。

     順番は star-top → star-company → star-products → star-network
            → star-history → star-sustainability → star-group
            → star-action（これ）

     ページのタイトル・パンくずは star-company.css のものをそのまま使います。
     （HTMLの一番外側に class="st-cmp st-act" と書いてあるため）

   ★このページは法律で公表が義務づけられている内容です。
     読みやすさだけを考えて、装飾は最小限にしています。
   ========================================================================== */


/* 写真の指定は star-images.css にまとめています（2026-10-02）。写真台帳.md も参照 */

/* タイトルの大きな英字を ACTION PLAN に差し替え（大きさ・位置は star-company.css の共通の指定。2026-10-14 から ::before の1か所だけ） */
body:has(.st-act) .page-header > *:first-child::before{
  content: "ACTION PLAN";
}

/* ジャンプリンクから飛んだときに、ヘッダーの下へ隠れないように */
.st-act [id]{ scroll-margin-top: 100px; }


/* ---- Lightningが見出しや表に付ける装飾を打ち消す -------------------------- */
.st-act h3, .st-act h4, .st-act dl, .st-act dt, .st-act dd,
.st-act table, .st-act th, .st-act td{
  margin: 0;
  padding: 0;
  background: none !important;
  font-family: inherit;
}
.st-act h3::before, .st-act h3::after{ content: none !important; }
.st-act h3{ border: 0 !important; }

/* WordPressが差し込む余計な要素でレイアウトが崩れないように */
.st-act .act-jump > :not(.act-jump__item),
.st-act .act-step > :not(.act-step__row),
.st-act .act-term > :not(.act-term__dt):not(.act-term__dd){ display: none !important; }


/* ---- 導入 ---------------------------------------------------------------- */
.st-act .act-intro{ padding: 64px 0 0; }
.st-act .act-intro__lead{
  font-size: 15px;
  line-height: 2.1;
  font-weight: 500;
  color: #2b2b2b;
  max-width: 46em;
  /* 2026-10-14：タイトルを中央にしたので、導入文も中央に。意味のまとまりで折り返し、行の長さをそろえる */
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  word-break: auto-phrase;
  text-wrap: balance;
}

/* ページ内のジャンプリンク */
.st-act .act-jump{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  justify-content: center;
}
.st-act .act-jump__item{
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  border: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  transition: border-color .2s ease;
}
.st-act .act-jump__item:hover{ border-color: var(--ink); }


/* ---- 各セクション --------------------------------------------------------- */
.st-act .act-sec{ padding: 76px 0 0; }

.st-act .act-note{
  font-size: 14.5px;
  line-height: 2;
  font-weight: 500;
  color: #2b2b2b;
  max-width: 46em;
  margin-bottom: 28px;
}

/* 計画期間。1行だけの項目なので、線で囲まず余白で見せます */
.st-act .act-term{
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
.st-act .act-term__dt{
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .06em;
  color: var(--red);
  flex: none;
  min-width: 90px;
}
.st-act .act-term__dd{
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

/* 小見出し */
.st-act .act-sub{
  font-size: 17px;
  font-weight: 900;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 18px;
  padding-bottom: 12px !important;
  border-bottom: 1px solid var(--line) !important;
}
.st-act .act-sub + .act-goal{ margin-top: 0; }


/* ---- 目標と対策 -----------------------------------------------------------
   目標を見出し、対策を「時期 → 内容」の2列で並べています
   -------------------------------------------------------------------------- */
.st-act .act-goal{ margin-bottom: 36px; }

.st-act .act-goal__head{
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-size: 15.5px;
  line-height: 1.85;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
}
.st-act .act-goal__no{
  flex: none;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  color: var(--red);
  /* 番号の幅をそろえて、目標の文章の頭を一直線にします */
  min-width: 56px;
}

.st-act .act-step{
  /* 目標の番号のぶんだけ右へ寄せて、親子関係を見せます */
  margin-left: 72px;
}
.st-act .act-step__row{
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid #ededed;
}
.st-act .act-step__row:first-child{ border-top: 1px solid #ededed; }
.st-act .act-step__dt{
  font-size: 13px;
  line-height: 1.95;
  font-weight: 700;
  color: var(--ink-soft);
}
.st-act .act-step__dd{
  font-size: 14.5px;
  line-height: 1.95;
  font-weight: 500;
  color: #2b2b2b;
}


/* ---- 数字の表 -------------------------------------------------------------
   法定の公表事項なので、飾らずに読めることだけを考えています
   -------------------------------------------------------------------------- */
.st-act .act-table{
  /* せまい画面では表だけ横にスクロールします */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 40px;
}
.st-act .act-tbl{
  width: 100%;
  border-collapse: collapse;
  min-width: 420px;
}
.st-act .act-tbl th,
.st-act .act-tbl td{
  padding: 14px 18px !important;
  border-bottom: 1px solid #ededed !important;
  font-size: 14.5px;
  line-height: 1.8;
  text-align: left;
  vertical-align: middle;
}
.st-act .act-tbl thead th{
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: .04em;
  color: var(--ink);
  background: #f6f7f7 !important;
  border-bottom: 1px solid #e2e4e5 !important;
}
.st-act .act-tbl tbody th{
  font-weight: 700;
  color: var(--ink);
  width: 42%;
}
.st-act .act-tbl tbody td{
  font-weight: 500;
  color: #2b2b2b;
}

.st-act .act-aside{
  font-size: 12px;
  line-height: 1.9;
  font-weight: 500;
  color: #9a9a9a;
}


/* ---- 下部の導線 -----------------------------------------------------------
   他の下層ページと同じ、画面いっぱいの薄い帯です */
.st-act .act-links{
  --st-wrap: 1180px;
  background: #f6f7f7;
  margin-top: 90px;
  width: auto;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 54px max(24px, calc((100vw - var(--st-wrap)) / 2)) 58px;
}
.st-act .act-links__inner{
  width: auto;
  max-width: none;
  display: flex;
  align-items: center;
  /* 2026-10-14：左右に分けず、文とボタンの組ごと中央に */
  justify-content: center;
  gap: 24px 56px;
  flex-wrap: wrap;
}
.st-act .act-links__lead{
  font-size: 15px;
  line-height: 2;
  font-weight: 600;
  color: var(--ink);
}
.st-act .act-links__btn{
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-width: 250px;
  padding: 17px 24px;
  border: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  flex: none;
  transition: background .22s ease, color .22s ease;
}
/* 乗せたとき：黒の塗りつぶしは強いので、薄いグレーの面に。矢印が少し右へ（2026-10-14） */
.st-act .act-links__btn:hover{ background: #f1f2f3; }
.st-act .act-links__btn .ar{ transition: transform .22s ease; }
.st-act .act-links__btn:hover .ar{ transform: translateX(4px); }
.st-act .act-links__btn .ar{ color: var(--red); font-size: 16px; }


/* ---- スマホ --------------------------------------------------------------- */
@media (max-width: 620px){
  .st-act .act-intro{ padding: 36px 0 0; }
  .st-act .act-intro__lead{ font-size: 14px; line-height: 2; }
  .st-act .act-jump{ gap: 8px; margin-top: 22px; }
  .st-act .act-jump__item{ width: 100%; padding: 12px 16px; }

  .st-act .act-sec{ padding: 52px 0 0; }
  .st-act .act-note{ font-size: 14px; }
  .st-act .act-term{ gap: 4px; }
  .st-act .act-term__dt{ min-width: 0; width: 100%; }
  .st-act .act-sub{ font-size: 16px; }

  /* せまい画面では、目標の番号を上に出して文章を折り返さないように */
  .st-act .act-goal__head{ flex-direction: column; gap: 4px; font-size: 15px; }
  .st-act .act-goal__no{ min-width: 0; }
  /* 対策の字下げはやめます */
  .st-act .act-step{ margin-left: 0; }
  .st-act .act-step__row{
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 0;
  }
  .st-act .act-step__dd{ font-size: 14px; }

  .st-act .act-tbl th,
  .st-act .act-tbl td{ padding: 12px 14px !important; font-size: 14px; }

  .st-act .act-links{
    margin-top: 56px;
    padding: 40px max(16px, calc((100vw - var(--st-wrap)) / 2)) 44px;
  }
  .st-act .act-links__inner{ flex-direction: column; align-items: stretch; gap: 22px; }
  .st-act .act-links__lead{ text-align: center; }
  .st-act .act-links__btn{ width: 100%; }
}
