@charset "UTF-8";

/*
 * バリアフリー推進事業トップ専用
 * 共通ヘッダー・下層ナビ・パンくず・フッターは既存CSSをそのまま利用。
 * 本ファイルでは本文領域だけを定義する。
 */

/* ヒーロー：ページ全体を薄い緑でつなぎ、左右で背景色を分割しない */
.bf-hero {
  position: relative;
  overflow: hidden;
  margin-top: 18px;
  border-top: 1px solid #edf4ea;
  border-bottom: 1px solid #e5eee1;
  background: #f3f8ed;
}

.bf-hero::before,
.bf-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(72, 135, 76, 0.10);
  border-radius: 50%;
}

.bf-hero::before {
  width: 720px;
  height: 260px;
  right: -110px;
  bottom: -205px;
}

.bf-hero::after {
  width: 560px;
  height: 220px;
  left: -120px;
  top: -175px;
}

.bf-hero__inner {
  position: relative;
  min-height: 315px;
}

.bf-hero__copy {
  position: relative;
  z-index: 2;
  width: 66%;
  padding: 72px 0 64px;
}

.bf-hero__copy h1 {
  position: relative;
  margin: 0;
  padding-bottom: 17px;
  color: var(--hr-green-900);
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.3;
  letter-spacing: 0.045em;
}

.bf-hero__copy h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 94px;
  height: 3px;
  border-radius: 999px;
  background: var(--hr-green-700);
}

.bf-hero__copy p {
  max-width: 700px;
  margin: 28px 0 0;
  color: #303b33;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 2;
}

.bf-hero__character {
  position: absolute;
  z-index: 1;
  right: 25px;
  bottom: 8px;
  width: 270px;
  opacity: 0.86;
}

.bf-hero__character img {
  display: block;
  width: 100%;
  height: auto;
}

/* 新着情報 */
.bf-news-section {
  padding: 62px 0 68px;
  background: #f8fbf7;
}

.bf-section-head {
  margin-bottom: 22px;
}

/* 主な取り組み */
.bf-programs {
  padding: 64px 0 78px;
  background: var(--hr-white);
}

.bf-programs__head {
  margin-bottom: 28px;
}

.bf-programs__head .hr-subsection-title {
  margin-bottom: 10px;
  border-bottom: 0;
  padding-bottom: 9px;
  position: relative;
  color: var(--hr-ink);
}

.bf-programs__head .hr-subsection-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 84px;
  height: 3px;
  border-radius: 999px;
  background: var(--hr-green-700);
}

.bf-programs__head p {
  margin: 0;
  color: var(--hr-muted);
  font-size: 0.95rem;
}

.bf-program-group {
  display: flex;
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid #dbe6d9;
  border-radius: 14px;
  background: var(--hr-white);
}

.bf-program-group__label {
  display: flex;
  flex: 0 0 210px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 24px 20px;
  background: #edf6df;
  color: var(--hr-green-900);
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.bf-program-group__items {
  flex: 1 1 auto;
  min-width: 0;
}

.bf-program-row {
  position: relative;
  display: flex;
  min-height: 62px;
  align-items: center;
  padding: 10px 48px 10px 22px;
}

.bf-program-row + .bf-program-row {
  border-top: 1px solid #e3e8e2;
}

.bf-program-no {
  display: inline-flex;
  flex: 0 0 46px;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  border-radius: 999px;
  background: var(--hr-green-800);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
}

.bf-program-links {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--hr-ink);
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.7;
}

.bf-program-links a {
  color: inherit;
  text-decoration-color: #9cab9e;
  text-underline-offset: 3px;
}

.bf-program-links a:hover,
.bf-program-links a:focus-visible {
  color: var(--hr-green-800);
  text-decoration-thickness: 2px;
}

.bf-program-separator {
  margin: 0 8px;
  color: #9ba49d;
}

.bf-program-chevron {
  position: absolute;
  top: 50%;
  right: 22px;
  color: var(--hr-green-800);
  font-size: 1.45rem;
  line-height: 1;
  transform: translateY(-50%);
}

.bf-program-external {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 8px;
  vertical-align: -2px;
}

.bf-program-external img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 980px) {
  .bf-hero {
    margin-top: 10px;
  }

  .bf-hero__inner {
    min-height: 285px;
  }

  .bf-hero__copy {
    width: 69%;
    padding: 58px 0 54px;
  }

  .bf-hero__character {
    right: 10px;
    width: 235px;
  }

  .bf-program-group__label {
    flex-basis: 165px;
    font-size: 1.1rem;
  }
}

@media (max-width: 640px) {
  .bf-hero {
    margin-top: 6px;
  }

  .bf-hero__inner {
    min-height: 350px;
  }

  .bf-hero__copy {
    width: 100%;
    padding: 42px 0 150px;
  }

  .bf-hero__copy h1 {
    font-size: 2rem;
  }

  .bf-hero__copy p {
    margin-top: 22px;
    font-size: 0.96rem;
    line-height: 1.85;
  }

  .bf-desktop-break {
    display: none;
  }

  .bf-hero__character {
    right: 12px;
    bottom: 0;
    width: 165px;
    opacity: 0.72;
  }

  .bf-news-section {
    padding: 44px 0 48px;
  }

  .bf-programs {
    padding: 48px 0 58px;
  }

  .bf-program-group {
    display: block;
    margin-top: 14px;
    border-radius: 12px;
  }

  .bf-program-group__label {
    min-height: 54px;
    justify-content: flex-start;
    padding: 14px 18px;
    text-align: left;
  }

  .bf-program-row {
    min-height: 60px;
    padding: 11px 36px 11px 16px;
  }

  .bf-program-no {
    flex-basis: 40px;
    min-height: 28px;
    margin-right: 12px;
    font-size: 0.78rem;
  }

  .bf-program-links {
    font-size: 0.91rem;
  }

  .bf-program-separator {
    margin-inline: 5px;
  }

  .bf-program-chevron {
    right: 15px;
  }
}

/* 先行公開時の暫定対応：既存の「報告書等リスト」への導線 */
.bf-report-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
    width: 100%;
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
  box-sizing: border-box;
padding: 20px 24px;
  border: 1px solid #dbe6d9;
  border-radius: 14px;
  background: #f8fbf7;
}

.bf-report-link__copy h3 {
  margin: 0;
  color: var(--hr-green-900);
  font-size: 1.05rem;
  line-height: 1.5;
}

.bf-report-link__copy p {
  margin: 5px 0 0;
  color: var(--hr-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.bf-report-link__action {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--hr-green-900);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.bf-report-link__action:hover,
.bf-report-link__action:focus-visible {
  text-decoration-thickness: 2px;
}

.bf-report-link__action span {
  font-size: 1.35em;
  line-height: 1;
}

@media (max-width: 640px) {
  .bf-report-link {
    display: block;
    margin-top: 22px;
    padding: 18px;
  }

  .bf-report-link__action {
    margin-top: 12px;
  }
}

/* 新着情報と同じリンク表示に統一
   内部リンク：CSSで描画する右向き矢印
   外部リンク：共通の外部リンクアイコン */
.bf-program-status {
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
}

.bf-program-status .hr-news__arrow {
  color: var(--hr-green-800);
}

.bf-report-link__action .hr-news__status {
  flex: 0 0 26px;
}

.bf-report-link__action .hr-news__arrow {
  color: var(--hr-green-800);
}

@media (max-width: 640px) {
  .bf-program-status {
    right: 10px;
  }
}

/* 05・06：多言語ページのリンク表示
   各言語リンクごとに、新着情報と同じ右向き矢印を表示する。 */
.bf-program-row--multilang {
  align-items: flex-start;
}

.bf-program-row--multilang .bf-program-no {
  margin-top: 5px;
}

.bf-program-title {
  display: block;
  color: var(--hr-ink);
  font-size: inherit;
  font-weight: 500;
  line-height: 1.7;
}

.bf-language-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  margin-top: 6px;
}

.bf-language-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-height: 30px;
  color: var(--hr-ink);
  font-size: inherit;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: #9cab9e;
  text-underline-offset: 3px;
}

.bf-language-link:hover,
.bf-language-link:focus-visible {
  color: var(--hr-green-800);
  text-decoration-thickness: 2px;
}

.bf-language-link__status {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
}

.bf-language-link__status .hr-news__arrow {
  color: var(--hr-green-800);
}

@media (max-width: 640px) {
  .bf-program-row--multilang {
    padding-right: 16px;
  }

  .bf-language-links {
    gap: 4px 12px;
  }
}



/* 中文は環境によって別フォントへフォールバックし、細く見えることがあるため補正 */
.bf-language-link [lang="zh-Hant"] {
  font-family: inherit;
  font-weight: 600;
}
