/* =========================
   News archive
========================= */

.news-year-header {
  margin-bottom: 30px;
}

.news-year-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 54px;
  padding: 14px 0;
  border-top: 1px solid var(--line, #dfe4e3);
  border-bottom: 1px solid var(--line, #dfe4e3);
}

.news-year-tools p {
  margin: 0;
  color: var(--muted, #6d7775);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.news-back-link {
  color: var(--green-800, #315f5a);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.news-back-link:hover {
  text-decoration: underline;
}

.section-kicker {
  margin: 0 0 4px;
  color: #668f8a;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.section-note {
  margin: 0 0 12px;
  color: var(--muted, #707a78);
  font-size: 0.8rem;
}

.news-archive-section {
  max-width: 980px;
}

.news-accordion-list {
  border-top: 1px solid var(--line, #dfe4e3);
}

.news-accordion {
  border-bottom: 1px solid var(--line, #dfe4e3);
  scroll-margin-top: 24px;
}

.news-accordion > summary {
  position: relative;
  display: grid;
  grid-template-columns: 110px 76px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  min-height: 76px;
  padding: 18px 54px 18px 2px;
  cursor: pointer;
  list-style: none;
  transition: background 0.18s ease;
}

.news-accordion > summary::-webkit-details-marker {
  display: none;
}

.news-accordion > summary:hover {
  background: #f6f9f8;
}

.news-accordion > summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  color: #618680;
  font-size: 1.55rem;
  font-weight: 300;
  line-height: 1;
}

.news-accordion[open] > summary {
  background: #f5f9f8;
}

.news-accordion[open] > summary::after {
  content: "−";
}

.news-accordion time,
.news-latest-link time {
  color: #66716f;
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

/* タグはすべて同じサイズ */
.news-accordion .news-tag,
.news-latest-link .news-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 28px;
  margin: 0;
  padding: 0 7px;
  box-sizing: border-box;
  border: 1px solid #a5bab6;
  color: var(--green-800, #315f5a);
  font-size: 0.66rem;
  line-height: 1;
  white-space: nowrap;
}

.news-accordion-title {
  color: #263536;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.65;
}

.news-accordion-body {
  padding: 6px 58px 36px 206px;
}

.news-accordion-body > p {
  max-width: 760px;
  margin: 0 0 20px;
  color: #4f5b59;
  font-size: 0.94rem;
  line-height: 1.95;
}


/* =========================
   News photos
========================= */

.news-photo-grid {
  display: grid;
  grid-template-columns: minmax(0, 520px);
  gap: 16px;
  margin: 26px 0 8px;
}

.news-photo-grid--two {
  grid-template-columns: repeat(2, minmax(0, 300px));
  max-width: 616px;
}

.news-photo-grid--three {
  grid-template-columns: repeat(3, minmax(0, 250px));
  max-width: 782px;
}

.news-photo-grid--portrait {
  grid-template-columns: minmax(0, 360px);
}

.news-photo-grid figure {
  margin: 0;
}

/* 縦横の元画像に関係なく、表示枠を4:3に統一 */
.news-photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 8px;
  background: #f1f4f3;
}

.news-photo-grid figcaption {
  margin-top: 7px;
  color: #77817f;
  font-size: 0.76rem;
  line-height: 1.6;
}


/* =========================
   News detail blocks
========================= */

.news-info-box,
.news-publication {
  max-width: 760px;
  margin: 24px 0;
  padding: 17px 20px;
  border-left: 3px solid #7ca29c;
  background: #f5f8f7;
}

.news-info-box p,
.news-publication p {
  margin: 0;
  color: #53605e;
  font-size: 0.86rem;
  line-height: 1.8;
}

.news-info-box p + p,
.news-publication p + p {
  margin-top: 5px;
}

.news-info-label {
  color: #365e59 !important;
  font-size: 0.76rem !important;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.news-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 20px !important;
}

.news-external-link {
  color: #407b75;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.news-external-link:hover {
  text-decoration: underline;
}

.news-bottom-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 980px;
  margin: 64px 0 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line, #dfe4e3);
}

.news-bottom-nav a,
.news-bottom-nav span {
  color: #64706e;
  font-size: 0.85rem;
}

.news-bottom-nav a {
  color: var(--green-800, #315f5a);
  font-weight: 650;
  text-decoration: none;
}

.news-bottom-nav a:hover {
  text-decoration: underline;
}


/* =========================
   News top page - Latest News
========================= */

.news-latest-list {
  max-width: 980px;
  border-top: 1px solid var(--line, #dfe4e3);
}

.news-latest-link {
  position: relative;
  display: grid;
  grid-template-columns: 110px 76px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  min-height: 76px;
  padding: 18px 54px 18px 2px;
  box-sizing: border-box;
  border-bottom: 1px solid var(--line, #dfe4e3);
  color: inherit;
  text-decoration: none;
  transition: background 0.18s ease;
}

.news-latest-link:hover {
  background: #f6f9f8;
}

.news-row-arrow {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  color: #618680;
  font-size: 1.15rem;
  line-height: 1;
  transition: transform 0.18s ease;
}

.news-latest-link:hover .news-row-arrow,
.news-year-link:hover .news-row-arrow {
  transform: translate(4px, -50%);
}


/* =========================
   News top page - Archive
========================= */

.news-top-archive {
  margin-top: 72px;
}

.news-year-list {
  display: block;
  max-width: 980px;
  border-top: 1px solid var(--line, #dfe4e3);
}

.news-year-link {
  position: relative;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  min-height: 76px;
  padding: 18px 54px 18px 2px;
  box-sizing: border-box;
  border-bottom: 1px solid var(--line, #dfe4e3);
  color: inherit;
  text-decoration: none;
  transition: background 0.18s ease;
}

.news-year-link:hover {
  background: #f6f9f8;
}

.news-year-main {
  color: #263536;
  font-size: 1rem;
  font-weight: 650;
}

.news-year-period {
  color: #707a78;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}


/* =========================
   Tablet
========================= */

@media (max-width: 860px) {

  .news-accordion > summary,
  .news-latest-link {
    grid-template-columns: 96px 76px minmax(0, 1fr);
    gap: 14px;
  }

  .news-accordion-body {
    padding-left: 176px;
  }

  .news-photo-grid--three {
    grid-template-columns: 1fr 1fr;
  }
}


/* =========================
   Mobile
========================= */

@media (max-width: 640px) {

  .news-year-tools {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 38px;
  }

  .section-heading-row {
    align-items: flex-start;
  }

  .section-note {
    display: none;
  }

  .news-accordion > summary,
  .news-latest-link {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 7px 12px;
    min-height: 0;
    padding: 17px 46px 17px 0;
  }

  .news-accordion > summary time,
  .news-latest-link time {
    grid-column: 1;
    grid-row: 1;
  }

  .news-accordion > summary .news-tag,
  .news-latest-link .news-tag {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
    width: 76px;
    height: 28px;
  }

  .news-accordion-title {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .news-accordion > summary::after,
  .news-row-arrow {
    right: 10px;
  }

  .news-accordion-body {
    padding: 6px 2px 30px;
  }

  .news-accordion-body > p {
    font-size: 0.9rem;
    line-height: 1.9;
  }

  .news-photo-grid--two,
  .news-photo-grid--three {
    grid-template-columns: 1fr;
  }

  .news-photo-grid--portrait {
    grid-template-columns: minmax(0, 1fr);
  }

  .news-info-box,
  .news-publication {
    padding: 15px 16px;
  }

  .news-year-link {
    grid-template-columns: 1fr;
    gap: 4px;
    min-height: 0;
    padding: 18px 46px 18px 0;
  }

  .news-year-main {
    font-size: 0.96rem;
  }

  .news-year-period {
    font-size: 0.75rem;
  }

  .news-top-archive {
    margin-top: 56px;
  }
}
