/* =========================================================
   TEAM ONE
   お知らせ一覧ページ
   whatnew.css
   ========================================================= */

/* =========================================================
   PAGE COMMON
   ========================================================= */

.subpage {
  background: #fff;
}

.page-section {
  padding: 68px 0;
}

.page-section.alt {
  background: var(--soft);
}

.section-eyebrow {
  margin: 0 0 7px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.section-eyebrow.center,
.page-heading.center {
  text-align: center;
}

.page-heading {
  margin: 0 0 16px;
  font-size: 31px;
  line-height: 1.45;
  font-weight: 900;
}

.page-heading span {
  color: var(--red);
}

.page-lead {
  max-width: 760px;
  margin: 0 auto;
  color: #555;
  text-align: center;
  font-size: 14px;
  line-height: 1.9;
}

/* =========================================================
   NEWS LIST
   ========================================================= */

.news-list {
  max-width: 920px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.news-item {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 24px;
  padding: 22px 24px;
  border-bottom: 1px solid #eee;
}

.news-item:last-child {
  border-bottom: 0;
}

.news-item.important {
  background: #fffafa;
}

.news-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  align-self: start;
}

.news-meta time {
  color: #555;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.news-label {
  display: inline-flex;
  min-width: 62px;
  min-height: 24px;
  padding: 4px 8px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: #888;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}

.news-label.important {
  background: var(--red);
}

.news-body h2 {
  margin: 0 0 7px;
  font-size: 16px;
  line-height: 1.5;
}

.news-body p {
  margin: 0;
  color: #666;
  font-size: 12px;
  line-height: 1.8;
}

/* =========================================================
   GUIDE
   ========================================================= */

.news-guide {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  max-width: 920px;
  margin: 18px auto 0;
  padding: 15px 18px;
  border: 1px solid #ddd;
  border-radius: 9px;
  background: #fff;
}

.news-guide i {
  margin-top: 3px;
  color: var(--red);
}

.news-guide p {
  margin: 0;
  color: #555;
  font-size: 11px;
  line-height: 1.7;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media screen and (max-width: 768px) {
  .page-section {
    padding: 48px 0;
  }

  .whatnew-intro {
    padding-top: 32px;
  }

  .page-heading {
    font-size: 23px;
  }

  .page-lead {
    font-size: 13px;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 18px 15px;
  }

  .news-meta {
    justify-content: flex-start;
  }

  .news-body h2 {
    font-size: 15px;
  }

  .news-body p {
    font-size: 11px;
  }
}


/* =========================================================
   YEAR ARCHIVE
   ========================================================= */

.news-year,
.news-archive {
  max-width: 920px;
  margin: 0 auto 18px;
}

.news-year-heading {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.news-year-heading > span {
  color: var(--red);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.news-year-heading h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
}

.news-empty {
  padding: 22px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
  color: #777;
  text-align: center;
  font-size: 12px;
}

.news-archive {
  overflow: hidden;
  border: 1px solid #ddd;
  border-radius: 11px;
  background: #fff;
}

.news-archive summary {
  display: flex;
  min-height: 58px;
  padding: 14px 18px;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  background: #111;
  color: #fff;
  cursor: pointer;
  list-style: none;
}

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

.news-archive summary > span:first-child {
  font-size: 13px;
  font-weight: 800;
}

.news-archive summary strong {
  margin-right: 9px;
  color: #fff;
  font-size: 19px;
}

.archive-toggle {
  flex: 0 0 auto;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
}

.news-archive[open] .archive-toggle {
  font-size: 0;
}

.news-archive[open] .archive-toggle::after {
  content: "閉じる";
  font-size: 10px;
}

.news-archive .news-list {
  padding: 0;
}

.news-archive .news-item {
  border-radius: 0;
  border-right: 0;
  border-left: 0;
}

.news-archive .news-item:first-child {
  border-top: 0;
}

.news-archive .news-item:last-child {
  border-bottom: 0;
}


/* =========================================================
   YEAR ARCHIVE - SP
   ========================================================= */

@media screen and (max-width: 768px) {
  .news-year-heading > span {
    font-size: 24px;
  }

  .news-year-heading h2 {
    font-size: 16px;
  }

  .news-archive summary {
    min-height: 54px;
    padding: 12px 14px;
  }

  .news-archive summary > span:first-child {
    font-size: 12px;
  }

  .news-archive summary strong {
    font-size: 17px;
  }
}


/* =========================================================
   お知らせタイトル調整
   ========================================================= */

.news-body h3 {
  margin: 0 0 6px;
  color: #222;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 900;
}

@media screen and (max-width: 768px) {
  .news-body h3 {
    font-size: 15px;
  }
}
