@media screen and (max-width: 768px) {
  .bg-wrapper[data-top="detail"] {
    margin-top: 96px;
    margin-top: 25.6vw;
  }
  .bg-wrapper::before {
    top: -210px;
    top: -53.8461538vw;
    height: 210px;
    height: 53.8461538vw;
  }
  .background:not([data-bg="top"]) .background--image {
    height: 280px;
    height: 74.6666666667vw;
    overflow-y: hidden;
  }
  .background:not([data-bg="top"]) .background--image::after {
    height: 120px;
    height: 32vw;
  }
  .background--image::after {
    display: block;
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    height: 32vw;
    background-image: linear-gradient(
      0deg,
      rgb(245, 247, 248),
      rgba(255, 255, 255, 0)
    );
    z-index: 1;
  }
}
.container {
  padding-top: 270px;
}
.bg-wrapper {
  margin-top: 265px;
  padding-bottom: 200px;
}
.archive {
  width: 100%;
  position: relative;
  z-index: 1;
  top: -216px;
  margin-bottom: -216px;
}
.archive__inner {
  position: relative;
  margin-left: 12.5vw;
  width: 67.5vw;
}
@media screen and (min-width: 1280px) {
  .archive__inner {
    max-width: 864px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }
}
.archive__title {
  font-family: "Leida", serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 140%;
  position: relative;
  top: 0;
  margin-bottom: 120px;
}
.archive__heading {
  font-family: "Leida", serif;
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: 110%;
  margin-bottom: 40px;
  width: 192px;
}

/* Photo Gallery Section */
.archive__gallery {
  margin-bottom: 120px;
  padding-left: 48px;
}
.archive__gallery__container {
  display: flex;
  gap: 48px;
  align-items: flex-end;
  max-width: 816px;
}
.archive__gallery__nav {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
}
.archive__gallery__nav__numbers {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.archive__gallery__nav__numbers__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.archive__gallery__nav__number {
  font-family: "Leida", serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 110%;
  letter-spacing: 0.84px;
  color: #65a4b6;
  margin: 0;
}
.archive__gallery__nav__line {
  width: 2px;
  height: 80px;
  background: rgba(255, 255, 255, 0.6);
  position: relative;
  overflow: hidden;
}
.archive__gallery__nav__line__progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: #65a4b6;
}
.archive__gallery__nav__buttons {
  display: flex;
  gap: 8px;
}
.archive__gallery__nav__button {
  width: 28px;
  height: 28px;
  border: 1px solid #65a4b6;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s;
}
.archive__gallery__nav__button:hover:not(:disabled) {
  opacity: 0.7;
}
.archive__gallery__nav__button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.archive__gallery__nav__button img {
  width: 8px;
  height: 8px;
}
.archive__gallery__nav__button--next img {
  transform: rotate(180deg);
}
.archive__gallery__slider {
  width: 100%;
  height: auto;
  overflow: hidden;
  position: relative;
  aspect-ratio: 720 / 431;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}
.archive__gallery__slider:active {
  cursor: grabbing;
}
/* PC版ではJavaScriptで高さを計算してアニメーション（aspect-ratioを上書き） */
@media screen and (min-width: 769px) {
  .archive__gallery__slider {
    aspect-ratio: unset;
  }
}
.archive__gallery__slider__track {
  display: flex;
  transition: transform 0.5s ease;
  height: 100%;
  transform: translateX(0);
}
.archive__gallery__slider__item {
  flex-shrink: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 720 / 431;
  overflow: hidden;
}
.archive__gallery__slider__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Closing Report Section */
.closingreport {
  margin-bottom: 120px;
  padding-left: 48px;
}
.closingreport__list {
  display: flex;
/*   justify-content: space-between; */
  width: 100%;
  max-width: 816px;
  gap: 24px;
}
.closingreport__list a {
  text-decoration: none;
  transition: all 0.3s;
  max-width: 241.045px;
  width: 100%;
}
.closingreport__list a:hover {
  opacity: 0.5;
}
.closingreport__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.closingreport__image {
  width: 100%;
  height: auto;
  aspect-ratio: 240 / 170;
  object-fit: cover;
  display: block;
}
.closingreport__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.closingreport__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.closingreport__link span {
  color: var(--Secondary-KAM-Black, #353c3e);
  text-align: justify;
  font-family: "Zen Old Mincho";
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%; /* 19.2px */
}

.closingreport__link img {
  width: 16px;
  height: 16px;
}
.archive__imageWrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 120px;
}
.archive__website {
  padding-left: 48px;
}
.archive__website__list {
  display: flex;
  justify-content: space-between;
  max-width: 720px;
}
.archive__website__column {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 144px;
}
.archive__website__item {
  display: flex;
  align-items: center;
}
.archive__website__item a {
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
  color: var(--Secondary-KAM-Black, #353c3e);
  text-align: justify;
  font-family: "Zen Old Mincho";
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%; /* 19.2px */
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
  text-decoration-thickness: 0.5px;
  text-underline-offset: auto;
  text-underline-position: from-font;
}
.archive__website__item a:hover {
  opacity: 0.5;
}
.archive__website__item img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.archive__website__item img.archive__external_site_icon {
  width: 9px;
  height: 9px;
  flex-shrink: 0;
}
@media screen and (min-width: 1280px) {
  .archive__inner {
    margin-left: 0;
    margin: 0 auto;
  }
}
@media screen and (max-width: 768px) {
  .container {
    padding-top: 210px;
    padding-top: 53.846153vw;
  }
  .bg-wrapper {
    margin-top: 0;
    padding-bottom: 80px;
    padding-bottom: 21.3333333333vw;
  }
  .bg-wrapper::before {
    display: block;
    content: "";
    position: absolute;
    top: -210px;
    top: -53.846153vw;
    height: 210px;
    height: 53.846153vw;
    left: 0;
    width: 100%;
    z-index: 1;
  }
  .archive {
    padding-top: 0;
    margin-bottom: 64px;
    position: relative;
    top: 0;
  }
  .archive__inner {
    margin-left: 6.9230769231vw;
    width: 86.1538461538vw;
  }
  .archive__title {
    font-family: "Leida", serif;
    font-weight: 500;
    font-size: 20px;
    font-size: 5.12820513vw;
    line-height: 110%;
    top: 0;
    margin-bottom: 56px;
    margin-bottom: 14.35897436vw;
  }
  .archive__heading {
    font-family: "Leida", serif;
    font-weight: 500;
    font-size: 16px;
    font-size: 4.102564102564102vw;
    line-height: 110%;
    margin-bottom: 10.256410256410255vw;
    width: 100%;
  }
  .archive__gallery {
    margin-bottom: 80px;
    padding-left: 0;
    padding-right: 0;
  }
  .archive__gallery__container {
    flex-direction: column-reverse;
    gap: 16px;
    gap: 4.102564102564102vw;
  }
  .archive__gallery__nav {
    height: auto;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
  }
  .archive__gallery__nav__numbers {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }
  .archive__gallery__nav__numbers__container {
    flex-direction: row;
    align-items: center;
  }
  .archive__gallery__nav__number {
    font-size: 12px;
    font-size: 3.076923076923077vw;
  }
  .archive__gallery__nav__line {
    width: 80px;
    width: 20.3921568627451vw;
    height: 2px;
    position: relative;
    overflow: hidden;
  }
  .archive__gallery__nav__line__progress {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 100%;
    background: #65a4b6;
    transition: width 0.5s ease;
  }
  .archive__gallery__slider {
    width: 100%;
    height: auto;
    aspect-ratio: 720 / 431;
  }
  .archive__gallery__slider__item {
    width: 100%;
    height: auto;
    aspect-ratio: 720 / 431;
  }
  .archive__gallery__slider__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .closingreport {
    margin-bottom: 80px;
    padding-left: 0;
    padding-right: 0;
  }
  .closingreport__list {
    flex-direction: column;
    gap: 24px;
    gap: 6.15384615vw;
  }
  .closingreport__image {
    width: 100%;
    height: auto;
    aspect-ratio: 240 / 170;
  }
  .closingreport__link span {
    font-size: 14px;
    font-size: 3.58974358974359vw;
  }
  .closingreport__link img {
    width: 12px;
    width: 3.07692307vw;
    height: 12px;
    height: 3.07692307vw;
  }
  .closingreport__list a {
    max-width: unset;
  }
  .archive__website {
    padding-left: 26px;
    padding-left: 6.6666666667vw;
    padding-right: 0;
  }
  .archive__website__list {
    flex-direction: column;
    gap: 24px;
  }
  .archive__website__column {
    width: 100%;
  }
  .archive__website__item a {
    font-size: 14px;
    font-size: 3.58974358974359vw;
  }
}
