@charset "utf-8";

/* ====== 共通のページ骨格 ====== */
/* HERO */
.news-hero {
  position: relative;
  padding: 64px 0 44px;
  overflow: hidden;
  background: linear-gradient(180deg, #e7f4ff 0%, #ffffff 70%);
}

.news-hero__bg {
  position: absolute;
  right: -80px;
  top: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(30, 32, 132, .08);
  filter: blur(0px);
}

.news-hero__eyebrow {
  margin: 0 0 8px;
  font-weight: 800;
  letter-spacing: .12em;
  color: rgba(30, 32, 132, .75);
}

.news-hero__title {
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
  letter-spacing: .02em;
}

.news-hero__lead {
  margin: 0;
  color: rgba(15, 23, 42, .78);
  line-height: 1.9;
  max-width: 48em;
}

/* BREADCRUMB */
.breadcrumb {
  border-top: 1px solid rgba(15, 23, 42, .06);
  border-bottom: 1px solid rgba(15, 23, 42, .06);
  background: #fff;
}

.breadcrumb__list {
  list-style: none;
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 12px 0;
  font-size: 14px;
  color: rgba(15, 23, 42, .65);
}

.breadcrumb__item a {
  color: inherit;
  text-decoration: none;
}

.breadcrumb__item a:hover {
  text-decoration: underline;
}

.breadcrumb__item + .breadcrumb__item::before {
  content: ">";
  opacity: .5;
  margin-right: 10px;
}

.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;
}

/* ====== NEWS LIST ====== */
.news-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.news-item{
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}
.news-link{
  display: block;
  padding: 16px 16px 14px;
  color: inherit;
  text-decoration: none;
  transition: .18s ease;
}
.news-link:hover{
  transform: translateY(-1px);
}
.news-meta{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.news-date{
  font-size: 13px;
  opacity: .75;
}
.news-tag{
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, .06);
}
.news-tag.is-important{ background: rgba(220, 38, 38, .10); }
.news-tag.is-event{ background: rgba(2, 132, 199, .10); }
.news-tag.is-campaign{ background: rgba(16, 185, 129, .12); }
.news-tag.is-close{ background: rgba(99, 102, 241, .10); }

.news-title{
  margin: 0 0 6px;
  font-weight: 800;
  line-height: 1.45;
}
.news-excerpt{
  margin: 0;
  opacity: .8;
  line-height: 1.7;
  font-size: 14px;

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

/* ====== Pagination ====== */
.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;
}

/* ====== SP ====== */
@media (max-width: 768px){
  .news-link{ padding: 14px; }
  .toolbar-input{ width: min(520px, 70vw); }
}

/* お知らせ詳細ページ用 */
.news-detail{
  max-width: 800px;
  margin: 0 auto;
}

.news-title{
  margin: 10px 0 20px;
  font-size: 24px;
  font-weight: 900;
}

.news-content{
  line-height: 1.9;
}

.news-content img{
  width: 100%;
  border-radius: 12px;
}


/* ====== BLOG用（newsに統合） ====== */

/* 投稿グリッド（一覧で使うなら） */
.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;
}

/* ブログタグ（newsタグに寄せる） */
.blog-tag a{
  text-decoration: none;
  color: inherit;
}

/* ====== レスポンシブ ====== */

/* タブレット */
@media (max-width: 1024px){
  .post-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

/* スマホ */
@media (max-width: 768px){
  .post-grid{
    grid-template-columns: 1fr;
  }
}