/* ページ背景やタイトルは news/appearance と同系色で */
.achv-page{
  background: linear-gradient(to bottom, #fdfaff, #eefdff);
  min-height: 100vh;
  padding: 4rem 1.5rem 3rem;
  text-align: center;
  color:#333;
}

.achv-title{
  font-family: 'Potta One', cursive;
  font-size: clamp(2rem,4vw,2.6rem);
  letter-spacing:.06em;
  color:#5e49c6;              /* 見出しの紫 */
  text-shadow: 0 1px 2px #ffd9f9;
  margin: 0 0 1.2rem;
}

/* フィルターのチップ */
.achv-filter{
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
  justify-content:center;
  margin:0 0 1.5rem;
}
.chip{
  border:1px solid #ffd1e9;
  background:#fff;
  color:#c71585;
  font-weight:700;
  padding:.45rem .9rem;
  border-radius:999px;
  box-shadow:2px 2px 6px rgba(0,0,0,.05);
  cursor:pointer;
  transition: all .2s ease;
}
.chip:hover{ background:#ffb6d5; color:#fff; }
.chip.is-active{ background:linear-gradient(145deg,#ffb6e1,#ffc8ec); color:#fff; }

/* リスト＆カード */
.achv-list{
  list-style:none;
  margin:0 auto;
  padding:0;
  max-width: 760px;
  display:grid;
  gap:1rem;
}
.achv-item{ }

.achv-card{
  display:grid;
  grid-template-columns: auto 1fr auto;
  align-items:center;
  gap:.8rem 1rem;
  background:#fff;
  border-left:5px solid #ff99cc;
  padding:1rem 1.2rem;
  border-radius:12px;
  box-shadow:0 3px 8px rgba(255,105,180,.12);
  text-decoration:none;
  color:#333;
  transition: transform .25s ease, box-shadow .25s ease;
}
.achv-card:hover{
  transform: translateY(-3px);
  box-shadow:0 8px 16px rgba(255,153,204,.22);
}

.tag{
  display:inline-block;
  background:#ffccf0;
  color:#c71585;
  font-size:.78rem;
  font-weight:700;
  padding:.2rem .6rem;
  border-radius:12px;
  white-space:nowrap;
}
.achv-text{
  text-align:left;
  line-height:1.6;
}
.achv-date{
  font-size:.9rem;
  color:#888;
  white-space:nowrap;
}

/* スマホ：縦並び */
@media (max-width:600px){
  .achv-card{
    grid-template-columns: 1fr;
    gap:.4rem;
  }
  .achv-text{ order:2; }
  .achv-date{ order:3; justify-self:end; }
  .tag{ order:1; justify-self:start; }
}

/* 既存の戻るボタンに合わせる（index2.cssの .back-btn と色味統一） */
.back-btn{
  margin-top:2rem;
  display:inline-block;
  background: linear-gradient(145deg,#ffb6e1,#ffc8ec);
  color:#fff;
  font-weight:bold;
  padding:.6rem 1.4rem;
  border-radius:30px;
  text-decoration:none;
  box-shadow:0 4px 8px rgba(255,105,180,.3);
  transition: all .3s ease;
}
.back-btn:hover{
  background: linear-gradient(145deg,#ff90d0,#ffb0e0);
  transform: translateY(-2px);
}
.back-btn:active{ transform: scale(.96); }

.achv-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.achv-thumb {
  width: 120px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.achv-card {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.achv-content {
  display: flex;
  flex-direction: column;
}

.achv-desc {
  font-size: 0.9rem;
  color: #555;
  margin-top: 0.3rem;
  line-height: 1.4;
}
