/* ========================================
   Session Report
======================================== */

.report-library__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 28px;
}

.report-library__header p {
  margin-bottom: 0;
}

.report-library__count {
  flex-shrink: 0;
  margin: 0;
  color: #9aa9b8;
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.report-search {
  margin-bottom: 28px;
}

.report-search__label {
  display: block;
  margin-bottom: 5px;
  color: #778899;
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.report-search__input {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(87, 105, 183, 0.35);
  border-radius: 0;
  font: inherit;
  font-size: 1.2rem;
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.report-card {
  position: relative;
  display: block;
  color: inherit;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(87, 105, 183, 0.28);
  text-decoration: none;
  overflow: hidden;
  transition:
    background-color 0.24s ease,
    border-color 0.24s ease,
    transform 0.24s ease;
}

.report-card[hidden] {
  display: none;
}

.report-card__image-wrap {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(135, 191, 242, 0.12);
}

.report-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.report-card__body {
  padding: 20px;
}

.report-card__date {
  display: block;
  margin-bottom: 7px;
  color: #91a0ad;
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.report-card__title {
  margin: 0;
  color: #405984;
  font-size: 1.75rem;
  line-height: 1.45;
  letter-spacing: 0.05em;
  text-transform: none;
}

.report-card__system {
  display: inline-block;
  margin-top: 14px;
  padding: 5px 10px;
  color: #31566d;
  background: rgba(135, 191, 242, 0.14);
  border: 1px solid rgba(87, 105, 183, 0.25);
  font-size: 1.05rem;
}

.report-card__more {
  display: block;
  margin-top: 16px;
  color: #5769B7;
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (hover: hover) {
  .report-card:hover {
    background: rgba(135, 191, 242, 0.13);
    border-color: rgba(87, 105, 183, 0.5);
    transform: translateY(-4px);
  }

  .report-card:hover .report-card__image {
    transform: scale(1.04);
  }
}

.report-empty {
  margin: 35px 0 5px;
  color: #94a0ab;
  text-align: center;
}

.report-empty[hidden] {
  display: none !important;
}

/* 個別ページ */

.report-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 40px 18px;
  padding: 9px 15px;
  color: #315f78;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(87, 105, 183, 0.34);
  text-decoration: none;
  font-size: 1.15rem;
  transition:
    background-color 0.22s ease,
    transform 0.22s ease;
}

.report-back__arrow {
  color: #5769B7;
  font-size: 1.4em;
  line-height: 1;
}

.report-back--bottom {
  margin-top: 18px;
  margin-bottom: 0;
}

@media (hover: hover) {
  .report-back:hover {
    background: rgba(135, 191, 242, 0.22);
    transform: translateX(-4px);
  }
}

.report-detail {
  max-width: 1000px;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 44px;
  background: rgba(255, 255, 255, 0.9) !important;
}

.report-detail__header {
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(87, 105, 183, 0.24);
  text-align: center;
}

.report-detail__date {
  display: block;
  margin-bottom: 8px;
  color: #91a0ad;
  font-size: 1.05rem;
  letter-spacing: 0.1em;
}

.report-detail__title {
  margin: 0;
  color: #405984;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.45;
  letter-spacing: 0.07em;
}

.report-detail__system {
  display: inline-block;
  margin-top: 15px;
  padding: 6px 12px;
  color: #31566d;
  background: rgba(135, 191, 242, 0.13);
  border: 1px solid rgba(87, 105, 183, 0.27);
  font-size: 1.05rem;
}

.report-markdown {
  margin-top: 34px;
  color: #344657;
  font-size: 1.15rem;
  line-height: 1.9;
}

.report-markdown h1 {
  margin: 40px 0 18px;
  padding-bottom: 8px;
  color: #405984;
  border-bottom: 2px solid rgba(87, 105, 183, 0.28);
  font-size: 1.55rem;
}

.report-markdown h2 {
  margin: 30px 0 13px;
  color: #405984;
  font-size: 1.3rem;
}

.report-markdown p {
  margin: 0 0 1.2em;
}

.report-markdown img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 900px;
  margin: 22px auto;
  object-fit: contain;
}

.report-markdown details {
  margin: 22px 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(87, 105, 183, 0.3);
}

.report-markdown details > summary {
  padding: 14px 18px;
  color: #405984;
  background: rgba(135, 191, 242, 0.14);
  font-weight: 700;
  cursor: pointer;
}

.report-markdown details > :not(summary) {
  margin-right: 18px;
  margin-left: 18px;
}

.report-markdown a {
  overflow-wrap: anywhere;
}

@media screen and (max-width: 760px) {
  .report-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 520px) {
  .report-library__header {
    display: block;
  }

  .report-library__count {
    margin-top: 13px;
    text-align: right;
  }

  .report-back {
    box-sizing: border-box;
    width: 100%;
    justify-content: center;
    margin: 0 0 14px;
  }

  .report-back--bottom {
    margin-top: 14px;
  }

  .report-detail {
    padding: 28px 18px;
  }
}