/* sdgs */
.sdgs-lead {
  margin: 0 auto 28px;
  max-width: 820px;
  text-align: center;
  background: var(--c-yellow2);
  border: 1.5px solid var(--c-ink);
  padding: 6px 18px;
  font-weight: 900;
  font-size: clamp(18px, 3.5vw, 28px);
}

.sdgs-lead br {
  display: none;
}


.sdgs-hero {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-inline: auto;
}

.sdgs-hero figure {
  display: block;
  /* margin: auto; */
  padding: 0;
}

.sdgs-hero img {
  max-width: 100%;
  height: auto;
}

.sdgs-hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}


.sdgs-hero__content ul {
  width: 430px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, auto);
  gap: 10px;
}

.sdgs-hero__menu-item {
  margin: 0;
  padding: 0;
}

.sdgs-hero__menu-btn {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  line-height: 0;
  border-radius: 4px;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
}

.sdgs-hero__menu-btn img {
  width: 100%;
  height: auto;
  display: block;
}

.sdgs-hero__menu-btn:hover {
  transform: translateY(-2px);
}

.sdgs-hero__menu-btn:focus-visible {
  outline: 2px solid var(--c-ink);
  outline-offset: 3px;
}

.sdgs-hero__menu-item.is-active .sdgs-hero__menu-btn {
  box-shadow: 0 0 0 3px var(--c-ink);
}

.sdgs-hero__menu-item--static {
  pointer-events: none;
}

.sdgs-hero__menu-item--static img {
  width: 100%;
  height: auto;
  display: block;
}

.sdgs-panels {
  margin-bottom: 40px;
}

.sdgs-initiatives {
  position: relative;
  display: none;
  width: 1000px;
  max-width: calc(100% - 40px);
  margin: 0 auto 40px;
  border: 2px solid var(--c-red);
  padding: 120px 40px 40px 40px;
}

.sdgs-initiatives.is-active {
  display: block;
}

.sdgs-initiatives--1 {
  border-color: #e5243b;
}

.sdgs-initiatives--3 {
  border-color: #4c9f38;
}

.sdgs-initiatives--4 {
  border-color: #c5192d;
}

.sdgs-initiatives--5 {
  border-color: #ff3a21;
}

.sdgs-initiatives--6 {
  border-color: #26bde2;
}

.sdgs-initiatives--7 {
  border-color: #fcc30b;
}

.sdgs-initiatives--8 {
  border-color: #a21942;
}

.sdgs-initiatives--10 {
  border-color: #dd1367;
}

.sdgs-initiatives--11 {
  border-color: #fd9d24;
}

.sdgs-initiatives--13 {
  border-color: #3f7e44;
}

.sdgs-initiatives--16 {
  border-color: #00689d;
}

.sdgs-initiatives--1 .sdgs-initiative h3 {
  color: #e5243b;
}

.sdgs-initiatives--3 .sdgs-initiative h3 {
  color: #4c9f38;
}

.sdgs-initiatives--4 .sdgs-initiative h3 {
  color: #c5192d;
}

.sdgs-initiatives--5 .sdgs-initiative h3 {
  color: #ff3a21;
}

.sdgs-initiatives--6 .sdgs-initiative h3 {
  color: #26bde2;
}

.sdgs-initiatives--7 .sdgs-initiative h3 {
  color: #b8860b;
}

.sdgs-initiatives--8 .sdgs-initiative h3 {
  color: #a21942;
}

.sdgs-initiatives--10 .sdgs-initiative h3 {
  color: #dd1367;
}

.sdgs-initiatives--11 .sdgs-initiative h3 {
  color: #fd9d24;
}

.sdgs-initiatives--13 .sdgs-initiative h3 {
  color: #3f7e44;
}

.sdgs-initiatives--16 .sdgs-initiative h3 {
  color: #00689d;
}

.sdgs-initiatives__head {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

.sdgs-initiatives__head img {
  width: 120px;
  height: auto;
  flex-shrink: 0;
}

.sdgs-initiatives__head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  color: #e5243b;
}

.sdgs-initiative {
  display: grid;
  grid-template-columns: 203px 1fr;
  gap: 24px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.sdgs-initiative:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.sdgs-initiative img {
  width: 100%;
  height: auto;
  border: 1px solid #ddd;
}

.sdgs-initiative h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 900;
  color: #e5001e;
}

.sdgs-initiative p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
}

.sdgs-stories {
  /* background: #1a1a1a;
  color: var(--c-white); */
  padding: 56px 20px 72px;
}

.sdgs-stories__inner {
  max-width: 1005px;
  margin: 0 auto;
}

.sdgs-stories__title {
  margin: 0 0 40px;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 900;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--c-black);
}

.sdgs-story {
  position: relative;
  margin-bottom: 48px;
}

.sdgs-story:last-child {
  margin-bottom: 0;
}

.sdgs-story h3 {
  position: relative;
  margin: 0 0 24px;
  padding: 25px 10px 25px 28px;
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 600;
  line-height: 1.45;
  color: var(--c-ink);
}

/* 見出し左アクセント：上〜20% シアン / 下〜80% 黒 */
.sdgs-story h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.12em;
  bottom: 0.12em;
  width: 5px;
  background: linear-gradient(to bottom,
      #7dd3d0 0 22%,
      var(--c-ink) 22% 100%);
}

.sdgs-story__sub {
  margin: 0 0 20px;
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.sdgs-story p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.9;
  /* color: rgba(255, 255, 255, 0.85); */
}

.sdgs-story p:last-child {
  margin-bottom: 0;
}

.sdgs-supplies {
  margin-top: 24px;
  padding-top: 20px;
  /* border-bottom: 1px solid var(--c-black); */
}

.sdgs-supplies h4 {
  margin: 0 0 16px;
  display: inline-block;
  font-size: clamp(16px, 2.5vw, 20px);
  width: 400px;
  max-width: 100%;
  margin-bottom: 16px;
  font-weight: 900;
  border-bottom: 2px solid var(--c-black);
}

.sdgs-supplies dl {
  margin: 0;
  display: grid;
  gap: 8px;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.sdgs-supplies dt {
  font-weight: 700;
  font-size: 14px;
  width: 7em;
}

.sdgs-supplies dd {
  margin: 0 0 8px;
  font-size: 14px;
  width: calc(100% - 8em);
  line-height: 1.8;
  /* color: rgba(255, 255, 255, 0.85); */
}

.sdgs-supplies dd:last-child {
  margin-bottom: 0;
  width: 100%;
}

.sdgs-kawamura {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
  margin-top: 20px;
}

.sdgs-kawamura__intro {
  background: rgba(255, 255, 255, 0.08);
  padding: 16px 20px;
  font-size: 13px;
  line-height: 1.7;
}

.sdgs-kawamura__intro strong {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
}

.sdgs-kawamura figure {
  display: block;
  margin: auto;
  padding: 0;
}

.sdgs-kawamura img {
  width: 100%;
  height: auto;
}

@media (max-width: 1023px) {
  .sdgs-hero {
    flex-direction: column;
  }

  .sdgs-hero>figure:first-child {
    max-width: 100%;
    order: 0;
    width: 100px;
    margin-inline: auto;

  }

  .sdgs-lead {
    padding: 4px 10px;
    font-size: clamp(14px, 2.5vw, 18px);
  }

  .sdgs-lead br {
    display: block;
  }


  .sdgs-initiative {
    display: grid;
    gap: 16px;
  }


  .sdgs-initiative img {
    max-width: 100%;
  }

  .sdgs-initiative h3 {
    margin: 0 0 8px;
    font-size: 18px;
  }

  .sdgs-initiative p {
    font-size: 14px;
    line-height: 1.85;
  }

  .sdgs-initiatives {
    padding: 100px 20px 20px 20px;
  }

  .sdgs-initiative {
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 0 auto 40px;
    padding: 0;
    border-bottom: 0;
  }

  .sdgs-initiative img {
    max-width: 100%;
  }


  .sdgs-initiatives__head {
    width: 80px;
    height: 80px;
  }

  .sdgs-initiatives__head img {
    width: 80px;
  }

  .sdgs-kawamura {
    grid-template-columns: 1fr;
  }

  .sdgs-story h3 {
    margin: 0 0 24px;
    padding: 15px 10px 15px 20px;
    font-size: clamp(18px, 2.5vw, 24px);
  }

  /* 見出し左アクセント：上〜20% シアン / 下〜80% 黒 */
  .sdgs-story h3::before {
    top: 0.08em;
    bottom: 0.08em;
  }

  .sdgs-kawamura__intro {
    padding: 20px 0;
  }

  .sdgs-kawamura figure,
  .sdgs-kawamura img {
    width: 100%;
  }


}