@charset "UTF-8";

/* ==========================================================
 * environment
 * ======================================================== */
.environment {
  color: #333;
}

.environment img {
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

.environment sub {
  bottom: -0.1em;
  line-height: 0;
  vertical-align: baseline;
}

.environment .env-sub {
  font-size: 20px;
}

@media print, screen and (min-width: 48em) {
  .environment .hero {
    margin-bottom: 120px;
  }
}

/* 章 01〜03 の地と白い枠 */
.env-bg {
  margin-bottom: 120px;
  padding: 64px 0;
  background-color: #f0f5f0;
  box-shadow: 0 0 0 100vmax #f0f5f0;
  clip-path: inset(0 -100vmax);
}

.environment .env-bg .env-chapter {
  margin-bottom: 64px;
}

.environment .env-bg .env-chapter:last-child {
  margin-bottom: 0;
}

.env-panel {
  padding: 64px;
  background-color: #fff;
}

.env-panel > :last-child {
  margin-bottom: 0;
}

/* 動画の枠 */
.env-video {
  width: 545px;
  max-width: 100%;
  margin: 0 auto 64px;
  aspect-ratio: 545 / 354;
  background-color: #d9d9d9;
}

.env-video--movie {
  aspect-ratio: 16 / 9;
  background-color: transparent;
}

.env-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* 社会の変化（2 枚の囲み） */
.env-issue {
  display: flex;
  gap: 40px;
}

.env-issue__item {
  flex: 1 1 0;
  padding: 32px;
  border: 1px solid #ccc;
  background-color: #fff;
}

.env-issue__title {
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}

.env-issue .p-list {
  row-gap: 8px;
  width: fit-content;
  margin: 0 auto;
}

/* 下向きの三角 */
.env-arrow {
  width: 48px;
  height: 24px;
  margin: 40px auto;
  background-color: #478549;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

/* 建物に求められる要件（3 つの囲み） */
.env-req {
  display: flex;
  gap: 40px;
}

.env-req__item {
  flex: 1 1 0;
  padding: 32px;
  background-color: #f0f5f0;
  text-align: center;
}

.env-req__title {
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
}

.env-req__text {
  font-size: 16px;
  line-height: 1.5;
}

/* 3 つの視点のカード */
.env-view {
  display: flex;
  gap: 40px;
}

.env-view__item {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
}

.env-view__head {
  padding: 16px;
  background-color: #478549;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.env-view__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 32px;
  border: 2px solid #478549;
  border-top: 0;
  background-color: #fff;
}

.env-view__icon {
  width: 160px;
}

.env-view__text {
  align-self: stretch;
  font-size: 16px;
  line-height: 1.5;
}

/* 章 01・章 02 の図 */
.env-diagram {
  margin: 0 auto 64px;
}

.env-diagram img {
  display: block;
  width: 100%;
}

.env-diagram--c1 {
  max-width: 904px;
}

.env-diagram--c2 {
  max-width: 784px;
}

.env-diagram--cycle {
  max-width: 862px;
}

.env-diagram--c3 {
  max-width: 940px;
}

/* フェーズの帯（線＋丸い囲み） */
.env-phase {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 64px 0 48px;
}

.env-phase::before,
.env-phase::after {
  content: "";
  flex: 1 1 0;
  height: 1px;
  background-color: #478549;
}

.env-phase__label {
  padding: 12px 32px;
  border: 1px solid #478549;
  border-radius: 70px;
  background-color: #fff;
  color: #478549;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

/* カテゴリの一覧（3 列の灰色の囲み） */
.env-cat {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 64px;
}

.env-cat__item {
  flex: 1 1 0;
  min-width: 0;
  padding: 32px;
  background-color: #f2f2f2;
}

.env-cat__title {
  margin-bottom: 24px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}

.env-cat__img {
  display: block;
  width: 100%;
  aspect-ratio: 357 / 280;
  margin-bottom: 24px;
  object-fit: cover;
}

.env-cat__list {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.env-cat__row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid #ccc;
}

.env-cat__row:first-child {
  padding-top: 0;
  border-top: 0;
}

.env-cat__row:last-child {
  padding-bottom: 0;
}

.env-cat__row > img {
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.env-cat__link {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #333;
  text-decoration: none;
}

.env-cat__link:hover {
  opacity: 0.85;
}

#container .environment a.env-cat__link:hover .env-cat__label {
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
}

.env-cat__label {
  flex: 1 1 auto;
  min-width: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.env-cat__arrow {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  background: url(/jp/common/v4/img/icon-arrow.svg) no-repeat center / contain;
}

/* 事例カード */
.env-case {
  margin-bottom: 64px;
}

.env-case--single {
  width: 556px;
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.env-case__img {
  display: block;
  width: 100%;
  aspect-ratio: 556 / 280;
  margin-bottom: 24px;
  object-fit: cover;
}

.grid--row3-pc .env-case__img {
  aspect-ratio: 357 / 280;
}

.env-case__img--tall,
.grid--row2-pc .env-case__img--tall {
  aspect-ratio: 556 / 291;
}

.env-case__title {
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
}

.env-case__title:has(.env-label) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}

.env-case__text {
  font-size: 16px;
  line-height: 1.5;
}

.env-case__note {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.7;
}

.env-case__more {
  display: inline-block;
  margin-top: 24px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.env-label {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 64px;
  background-color: #478549;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

/* 環境省ロゴ・協賛企業 */
.env-sponsor {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  margin-bottom: 64px;
}

.env-logo {
  margin-bottom: 32px;
  text-align: center;
}

.env-sponsor .env-logo {
  margin-bottom: 0;
}

.env-logo img {
  width: 357px;
  max-width: 100%;
  height: auto;
}

.env-sponsor__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  text-align: center;
}

.env-sponsor__title {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
  color: #333;
}

.env-sponsor__list {
  font-size: 16px;
  line-height: 1.5;
  color: #333;
}

/* ==========================================================
 * SP
 * ======================================================== */
@media screen and (max-width: 47.99em) {
  .environment .lead {
    padding-right: 0;
    padding-left: 0;
  }

  .environment .env-sub {
    font-size: 16px;
  }

  .env-bg {
    margin-bottom: 64px;
    padding: 48px 0;
  }

  .environment .env-bg .env-chapter {
    margin-bottom: 32px;
    padding-right: 3.2vw;
    padding-left: 3.2vw;
  }

  .env-panel {
    padding: 32px 3.2vw;
  }

  .env-video {
    margin-bottom: 32px;
  }

  .env-issue,
  .env-req,
  .env-view,
  .env-cat {
    flex-direction: column;
    gap: 16px;
  }

  .env-issue__item,
  .env-req__item,
  .env-cat__item {
    padding: 24px 16px;
  }

  .env-issue__title,
  .env-req__title,
  .env-cat__title {
    font-size: 18px;
  }

  .env-issue .p-list {
    width: auto;
  }

  .env-arrow {
    width: 32px;
    height: 16px;
    margin: 24px auto;
  }

  .env-view {
    gap: 24px;
  }

  .env-view__head {
    font-size: 18px;
  }

  .env-view__body {
    padding: 24px 16px;
  }

  .env-view__icon {
    width: 120px;
  }

  .env-diagram,
  .env-case,
  .env-cat,
  .env-sponsor {
    margin-bottom: 40px;
  }

  .env-phase {
    gap: 16px;
    margin: 40px 0 32px;
  }

  .env-phase__label {
    padding: 8px 24px;
    font-size: 16px;
  }

  .env-cat__row img {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .env-case__title {
    font-size: 18px;
  }

  .env-case__img,
  .grid--row3-pc .env-case__img {
    margin-bottom: 16px;
  }

  .env-logo img {
    width: 240px;
  }

  .env-sponsor {
    gap: 32px;
  }

  .env-sponsor__title {
    font-size: 20px;
  }

  .env-sponsor__list {
    font-size: 14px;
  }
}
