.renkei .wrapper__inner {
  container-type: inline-size;
}

.renkei .footer {
  margin-top: 0;
}

.renkei-content {
  width: 86.667%;
  margin-inline: auto;
  padding-block: 3.2cqw 6.4cqw;
  color: #000;
  font-size: max(12px, 2.933cqw);
  line-height: 1.35;
}
.renkei-content__title {
  width: 101.7%;
  margin-left: -0.85%;
  margin-bottom: 2.4cqw;
}
.renkei-content__intro {
  margin-top: 2.4cqw;
}
.renkei-content__sdgs {
  margin-top: 5.6cqw;
  text-align: center;
}
.renkei-content__sdgs a {
  display: inline-block;
  padding: 1.5cqw 2.6cqw;
  border-radius: 6cqw;
  background: #9dffe2;
  box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.4);
  color: #009fd0;
  font-size: max(12px, 3.2cqw);
  font-weight: 900;
  line-height: 1.35;
}

.renkei-initiatives {
  margin-top: 4cqw;
  overflow: hidden;
  border: 2px solid #00a0d5;
  border-radius: 3.2cqw;
}
.renkei-initiatives h3 {
  padding: 0.6cqw 1cqw;
  background: #009ed0;
  color: #fff;
  text-align: center;
  font-size: max(16px, 4cqw);
  font-weight: 900;
}
.renkei-initiatives ol {
  padding: 0 3cqw;
  counter-reset: initiative;
}
.renkei-initiatives li {
  position: relative;
  padding: 2cqw 0 2cqw 3.5cqw;
  counter-increment: initiative;
}
.renkei-initiatives li + li {
  border-top: 2px dotted #8dd3e8;
}
.renkei-initiatives li::before {
  position: absolute;
  top: 2.55cqw;
  left: 0;
  width: 2.8cqw;
  min-width: 12px;
  border-radius: 1px;
  background: #00a0d5;
  color: #fff;
  content: counter(initiative);
  font-weight: 700;
  line-height: 1;
  text-align: center;
}
.renkei-initiatives h4 {
  color: #009ed0;
  font-size: max(12px, 2.933cqw);
  font-weight: 900;
  letter-spacing: -0.06em;
}
.renkei-initiatives p {
  margin-top: 0.4cqw;
  font-size: max(12px, 2.667cqw);
  line-height: 1.5;
  letter-spacing: -0.04em;
}

.renkei-gallery {
  margin-top: 7.6cqw;
}
.renkei-gallery h3 {
  display: flex;
  align-items: center;
  gap: 2cqw;
  margin-bottom: 1.6cqw;
  color: #009ed0;
  font-size: max(16px, 3.733cqw);
  font-weight: 900;
}
.renkei-gallery h3::before, .renkei-gallery h3::after {
  flex: 1;
  height: 1px;
  background: #00a0d5;
  content: "";
}
.renkei-gallery__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5cqw;
}
.renkei-gallery__button {
  position: relative;
  display: block;
  width: 100%;
  cursor: zoom-in;
}
.renkei-gallery__button span {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 18px;
  height: 18px;
  border: 0.75px solid #000;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  pointer-events: none;
}
.renkei-gallery__button span::before, .renkei-gallery__button span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1.75px;
  background: #000;
  content: "";
  transform: translate(-50%, -50%);
}
.renkei-gallery__button span::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.renkei-lightbox {
  position: fixed;
  inset: 0;
  margin: auto;
  padding: 44px 12px 12px;
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - 24px);
  overflow: auto;
  border: 0;
  border-radius: 8px;
  background: #fff;
}
.renkei-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.75);
}
.renkei-lightbox__image {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(100dvh - 100px);
  object-fit: contain;
  outline: none;
}
.renkei-lightbox__close {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  color: #000;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.renkei-gallery__button:focus-visible,
.renkei-content__sdgs a:focus-visible,
.renkei-lightbox__close:focus-visible {
  outline: 3px solid #005c80;
  outline-offset: 3px;
}
