@charset "UTF-8";

/*
 * 交通環境対策事業トップ専用
 * 共通ヘッダー・下層ナビ・パンくず・フッターは既存CSSをそのまま利用。
 * バリアフリー推進事業ページと同じレイアウトで、本文の色調のみ青系に展開。
 */

:root {
  --env-blue-900: #234f69;
  --env-blue-800: #2b6587;
  --env-blue-700: #377da1;
  --env-blue-100: #e6f2fa;
  --env-blue-050: #eef6fb;
  --env-line: #d9e7f0;
}

.env-hero {
  position: relative;
  overflow: hidden;
  margin-top: 18px;
  border-top: 1px solid #e1edf5;
  border-bottom: 1px solid #d6e5ef;
  background: var(--env-blue-050);
}

.env-hero::before,
.env-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(55, 125, 161, 0.10);
  border-radius: 50%;
}

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

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

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

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

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

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

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

.env-hero__character {
  position: absolute;
  z-index: 1;
  right: 34px;
  bottom: 1px;
  width: 205px;
  opacity: 0.86;
}

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

.env-news-section {
  padding: 62px 0 68px;
  background: #f7fbfc;
}

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

.env-programs {
  padding: 64px 0 78px;
  background: var(--hr-white);
}

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

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

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

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

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

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

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

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

.env-program-row + .env-program-row {
  border-top: 1px solid #e4eaee;
}

.env-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(--env-blue-800);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
}

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

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

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

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

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

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

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

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

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

    .env-hero__character {
    right: 18px;
    bottom: 2px;
    width: 178px;
  }

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

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

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

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

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

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

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

    .env-hero__character {
    right: 17px;
    bottom: -4px;
    width: 125px;
    opacity: 0.32;
  }

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

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

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

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

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

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

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

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

/* 先行公開時の暫定対応：既存の「報告書等リスト」への導線 */
.env-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 #d9e7f0;
  border-radius: 14px;
  background: #f7fbfc;
}

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

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

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

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

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

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

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

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

.env-program-status .hr-news__arrow {
  color: var(--env-blue-800);
}

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

.env-report-link__action .hr-news__arrow {
  color: var(--env-blue-800);
}

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

