/* news-fresh.css — お知らせセクション(ホーム) 左:見出し / 右:カード型一覧 */
@charset "UTF-8";

.news-fresh { background: var(--color-bg); position: relative; overflow: hidden; }
.news-fresh::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--color-primary) 10%, transparent) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.news-fresh__layout {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
  position: relative;
  z-index: 1;
}

/* 左側 */
.news-fresh__side { padding-top: 0.5rem; position: sticky; top: 96px; }
.news-fresh__icon { width: 52px; height: 52px; margin-bottom: 1rem; display: block; }
.news-fresh__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.6rem;
}
.news-fresh__title {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  color: var(--color-heading-ink);
  margin-bottom: 1.25rem;
  text-align: left;
}
.news-fresh__title::after { content: none; }
.news-fresh__lead {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: 1.6rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--color-border, #e5e5e5);
}
.news-fresh__all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  background: var(--color-primary);
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--color-primary) 35%, transparent);
  transition: var(--transition);
}
.news-fresh__all-link:hover {
  opacity: 1;
  transform: translateY(-2px);
  background: var(--color-primary-dark);
  box-shadow: 0 12px 26px color-mix(in srgb, var(--color-primary) 45%, transparent);
}
.news-fresh__all-link::after { content: '›'; font-size: 1.15em; line-height: 1; }

/* 右側: カードグリッド */
.news-fresh__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  padding-top: 0;
}

.news-fresh__item {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.5rem 1.5rem 1.35rem;
  background: #fff;
  border: 1px solid var(--color-border, #ece4ea);
  border-radius: var(--radius-card);
  box-shadow: 0 6px 18px rgba(226, 105, 164, 0.06);
  color: var(--color-text);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.news-fresh__item::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--color-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.news-fresh__item:hover {
  opacity: 1;
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(226, 105, 164, 0.16);
  border-color: color-mix(in srgb, var(--color-primary) 35%, var(--color-border, #ece4ea));
}
.news-fresh__item:hover::before { opacity: 1; }

.news-fresh__item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.news-fresh__date {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-text-muted);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.news-fresh__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
  color: #fff;
  line-height: 1.4;
}
.news-fresh__badge--pink { background: #f472b6; }
.news-fresh__badge--green { background: #10b981; }
.news-fresh__badge--blue { background: #38bdf8; }

.news-fresh__content {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-heading-ink);
  line-height: 1.6;
  flex: 1;
}

.news-fresh__item-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.3rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: -0.25rem;
}
.news-fresh__item-foot svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}
.news-fresh__item:hover .news-fresh__item-foot svg { transform: translateX(3px); }

.news-fresh__more-row {
  display: none;
}

@media (max-width: 860px) {
  .news-fresh__layout { grid-template-columns: 1fr; gap: 2rem; }
  .news-fresh__side { text-align: left; position: static; }
  .news-fresh__lead { border-bottom: none; padding-bottom: 0; margin-bottom: 1.25rem; }
  .news-fresh__list { grid-template-columns: 1fr; }
}

/* ホーム「お知らせ」見出し: 下線(::after)を削除し、テキスト上に丸(::before)を追加 */
#news :is(h2:where(:not([data-sm-h])),:where([data-sm-h="h2"])).section-title.news-fresh__title { position: relative; }
#news :is(h2:where(:not([data-sm-h])),:where([data-sm-h="h2"])).section-title.news-fresh__title::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: none !important;
  border: 0 !important;
  margin: 0 !important;
}
#news :is(h2:where(:not([data-sm-h])),:where([data-sm-h="h2"])).section-title.news-fresh__title::before {
  content: "" !important;
  display: block !important;
  width: 46px !important;
  height: 46px !important;
  margin: 0 auto 1.25rem !important;
  border-radius: 50% !important;
  background: #d8f0f7 !important;
}
