/* ===== No40 こどもWS活用実績 リスト+ライトボックス（rie 20261007） ===== */
.achieve-section,
.photo-section {
  width: 100%;
  margin: 0 auto;
}
.achieve-year {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
}
.achieve-list {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  display: grid;
  gap: 12px;
}
.achieve-item {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  padding: 18px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  transition: box-shadow .18s ease, border-color .18s ease;
}
.achieve-item:hover {
  box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
  border-color: #d6dae0;
}
.achieve-body {
  flex: 1 1 320px;
  min-width: 0;
}
.achieve-org {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.55;
}
.achieve-meta {
  margin: 0;
  font-size: 13.5px;
  color: #555;
  line-height: 1.7;
}
.achieve-meta .label {
  color: #8a8f98;
  margin-right: 4px;
}
.achieve-meta .sep {
  display: inline-block;
  width: 1px;
  height: 1em;
  background: #d6dae0;
  margin: 0 10px;
  vertical-align: -2px;
}
.achieve-more {
  flex: 0 0 auto;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #2c6a32;
  background: #fff;
  color: #2c6a32;
  font-size: 13.5px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
  white-space: nowrap;
}
.achieve-more::after {
  content: "＋";
  margin-left: 6px;
}
.achieve-more:hover,
.achieve-more:focus-visible {
  background: #2c6a32;
  color: #fff;
}
.achieve-detail {
  display: none;
}

/* 写真 */
.photo-section {
  margin-bottom: 44px;
}
.photo-heading {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
}
.photo-subheading {
  margin: 26px 0 12px;
  font-size: 15px;
  font-weight: 700;
  color: #333;
  line-height: 1.5;
}
.photo-grid {
  display: grid;
  gap: 16px;
}
.photo-grid--2x2,
.photo-grid--2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 760px;
}
.photo-grid--1 {
  grid-template-columns: 1fr;
  max-width: 760px;
}
.photo-thumb {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  background: #f2f2f2;
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
  display: block;
  width: 100%;
  position: relative;
}
.photo-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform .25s ease;
}
.photo-thumb--wide img {
  aspect-ratio: 16 / 9;
}
.photo-thumb:hover img {
  transform: scale(1.04);
}
.photo-thumb::after {
  content: "拡大";
  position: absolute;
  right: 8px;
  bottom: 8px;
  font-size: 11px;
  color: #fff;
  background: rgba(0, 0, 0, .55);
  padding: 3px 8px;
  border-radius: 6px;
  opacity: 0;
  transition: opacity .18s ease;
  pointer-events: none;
}
.photo-thumb:hover::after {
  opacity: 1;
}

/* ライトボックス */
.lb-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(17, 17, 17, .74);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lb-overlay[hidden] {
  display: none;
}
.lb-dialog {
  position: relative;
  background: #fff;
  border-radius: 14px;
  max-width: min(960px, 100%);
  max-height: 88vh;
  overflow: auto;
  padding: 30px 30px 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}
.lb-dialog.is-image {
  background: transparent;
  box-shadow: none;
  padding: 0;
  max-width: min(1100px, 100%);
  overflow: visible;
}
.lb-close {
  position: absolute;
  top: 10px;
  right: 12px;
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: rgba(0, 0, 0, .06);
  color: #333;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.lb-dialog.is-image .lb-close {
  background: rgba(255, 255, 255, .92);
  top: -14px;
  right: -14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
}
.lb-close:hover {
  background: rgba(0, 0, 0, .14);
}
.lb-detail-title {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  padding-right: 32px;
  line-height: 1.5;
}
.lb-detail-meta {
  margin: 0 0 16px;
  font-size: 13px;
  color: #6d6d6d;
  line-height: 1.7;
}
.lb-detail-body {
  font-size: 15px;
  line-height: 1.95;
  color: #333;
}
.lb-img {
  display: block;
  max-width: 100%;
  max-height: 84vh;
  margin: 0 auto;
  border-radius: 0;
}

@media (max-width: 768px) {
  .achieve-section,
  .photo-section {
    width: calc(100% - 28px);
  }
  .achieve-item {
    padding: 16px;
  }
  .achieve-meta .sep {
    display: block;
    width: 0;
    height: 0;
    margin: 5px 0 0;
    background: none;
  }
  .achieve-more {
    flex-basis: 100%;
  }
  .photo-grid--2x2,
  .photo-grid--2 {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  .lb-dialog {
    padding: 24px 18px 26px;
    max-height: 90vh;
  }
}
