@charset "utf-8";

/* hero / toolbar は news と同じ思想（必要ならコピペで統一OK） */
.page-hero{
  padding: 56px 0 28px;
  background: #f6f7fb;
}
.page-hero-en{
  letter-spacing: .18em;
  font-weight: 700;
  font-size: 12px;
  opacity: .7;
  margin: 0 0 6px;
}
.page-hero-title{
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 800;
}
.page-hero-lead{
  margin: 0;
  opacity: .85;
  max-width: 54em;
}

.page-toolbar{
  padding: 18px 0;
  border-bottom: 1px solid rgba(15, 23, 42, .08);
  background: #fff;
}
.toolbar-inner{
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.toolbar-left{
  display: flex;
  align-items: center;
  gap: 10px;
}
.toolbar-label{
  font-size: 13px;
  opacity: .8;
}
.toolbar-select{
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, .18);
  background: #fff;
}
.toolbar-search{
  display: flex;
  align-items: center;
  gap: 8px;
}
.toolbar-input{
  width: min(360px, 72vw);
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, .18);
}
.toolbar-btn{
  width: 44px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, .18);
  background: #fff;
  cursor: pointer;
}

.page-section{
  padding: 44px 0 64px;
}
.list-head{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.section-title{
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}
.section-note{
  margin: 0;
  font-size: 13px;
  opacity: .75;
}

/* ====== POST GRID ====== */
.post-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.post-card{
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}
.post-link{
  display: block;
  color: inherit;
  text-decoration: none;
  transition: .18s ease;
}
.post-link:hover{
  transform: translateY(-1px);
}
.post-thumb{
  aspect-ratio: 16 / 10;
  background: rgba(15, 23, 42, .05);
  overflow: hidden;
}
.post-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.post-body{
  padding: 14px 14px 16px;
}
.post-meta{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  opacity: .8;
  margin-bottom: 8px;
}
.post-cat{
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, .06);
  font-weight: 700;
}
.post-title{
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
}
.post-excerpt{
  margin: 0;
  font-size: 14px;
  opacity: .82;
  line-height: 1.7;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* pagination（newsと同じ） */
.pagination{
  margin-top: 26px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.page-btn,
.page-num{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  min-width: 40px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, .14);
  background: #fff;
  color: inherit;
  text-decoration: none;
}
.page-num.is-current{
  border-color: rgba(15, 23, 42, .42);
  font-weight: 800;
}
.page-btn.is-disabled{
  opacity: .45;
  pointer-events: none;
}
.page-dots{
  opacity: .6;
}

/* SR only */
.sr-only{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* responsive */
@media (max-width: 980px){
  .post-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px){
  .page-hero-title{ font-size: 24px; }
  .post-grid{ grid-template-columns: 1fr; }
  .toolbar-input{ width: min(520px, 70vw); }
}