@charset "UTF-8";

/* =========================================================
   content-30.css
   gcode=30 専用
========================================================= */

.rd-section--history-matrix{
  position: relative;
}

/* =========================================================
   歴史カード一覧
========================================================= */

.rd-history-cards{
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.rd-history-card{
  background: #fffdf9;
  border: 1px solid #e4d8c8;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(73, 51, 22, 0.05);
  overflow: hidden;
}

.rd-history-card__head{
  padding: 14px 18px;
  background: linear-gradient(to right, #f4ecdf 0%, #fbf6ee 100%);
  border-bottom: 1px solid #e7dccf;
}

.rd-history-card__age{
  margin: 0;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.4;
  color: #5f4b31;
}

.rd-history-card__grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
}

.rd-history-card__block{
  background: #fffaf3;
  border: 1px solid #eee3d3;
  border-radius: 14px;
  padding: 12px 14px;
}

.rd-history-card__block--wide{
  grid-column: 1 / -1;
}

.rd-history-card__label{
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.04em;
  color: #8a6b43;
}

.rd-history-card__value{
  font-size: 14px;
  line-height: 1.9;
  color: #473f36;
}

@media screen and (max-width: 767px){
  .rd-history-card{
    border-radius: 14px;
  }

  .rd-history-card__head{
    padding: 12px 14px;
  }

  .rd-history-card__age{
    font-size: 16px;
  }

  .rd-history-card__grid{
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px;
  }

  .rd-history-card__block{
    padding: 10px 12px;
    border-radius: 12px;
  }

  .rd-history-card__value{
    font-size: 13px;
    line-height: 1.85;
  }

  .rd-history-card__block--wide{
    grid-column: auto;
  }
}