@charset "utf-8";

.l-pgttl { background-image: url("../image/pgttl.jpg"); }

/*--------------------------------------------------------------------------------
  レイアウト
--------------------------------------------------------------------------------*/
.sec-news {
  padding: var(--space-m) var(--side-space) var(--space-l) var(--side-space);
}
.news {
  max-width: var(--base-width);
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
@media print, screen and (min-width:961px) {
  .news {
    display: grid;
    grid-template-columns: clamp(220px, (280 / 1200 * 100vw), 280px) 1fr;
    column-gap: var(--space-s);
    grid-template-areas:
      "news-side news-main";
  }
  .news-main {
    grid-area: news-main;
  }
  .news-side {
    grid-area: news-side;
  }
}
@media print, screen and (max-width:960px) {
  .news-side {
    padding-top: var(--space-l);
  }
}

/* side
----------------------------------------*/
.news-snav-ttl {
  font-family: var(--ff-wf);
  font-weight: 700;
  font-size: var(--fs-4l);
  color: var(--blue);
  line-height: 1;
  padding-top: 1em;
  border-top: 1px solid rgba(var(--blue-rgba),1);
}
.news-snav-ttl:not(:first-of-type) {
  margin-top: var(--space-m);
}
.news-snav {
  list-style: none;
  line-height: 1.8;
  padding-top: 1.6em;
}
.news-snav li {
  padding: 0.4em 0;
}
.news-snav li a {
  display: block;
}
.news-snav a,
.news-snav a:visited,
.news-snav a:hover {
  color: inherit;
  text-decoration: none;
}
@media print, screen and (max-width:760px) {
  .news-snav-ttl:not(:first-of-type) {
    margin-top: var(--space-l);
  }
}
@media (hover: hover) {
  .news-snav a:hover {
    color: var(--blue);
  }
}

/*--------------------------------------------------------------------------------
  カテゴリ
--------------------------------------------------------------------------------*/
.news-cate {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.news-cate_name {
  display: inline-block;
  border: 1px solid rgba(var(--black-rgba),0.3);
  line-height: 1;
  padding: 0.5em 0.8em;
  font-size: 0.8em;
}
a.news-cate_name,
a.news-cate_name:visited,
a.news-cate_name:hover {
  text-decoration: none;
  color: inherit;
}
@media (hover: hover) {
  a.news-cate_name:hover {
    background-color: rgba(var(--black-rgba),0.05);
  }
}

/*--------------------------------------------------------------------------------
  一覧
--------------------------------------------------------------------------------*/
.news-list {
  display: grid;
}
.news-list_item {
  padding-top: calc(var(--space-2s) + 0.5em);
  border-top: 1px solid rgba(var(--black-rgba),0.15);
}
.news-list-meta {
  display: flex;
  align-items: center;
  column-gap: 1em;
  margin-bottom: 0.5em;
}
.news-list-meta .date {
  font-size: 0.9em;
  color: var(--gray);
}
.news-list-ttl {
  font-weight: bold;
  font-size: 1.3em;
}
.news-list-body {
  padding-top: var(--space-2s);
}
.news-list-body .thumb img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.news-list-body .txt {
  line-height: 1.8;
}
.news-list-body .txt .more {
  padding-top: 0.5em;
}
@media print, screen and (min-width:761px) {
  .news-list {
    row-gap: var(--space-m);
  }
}
@media print, screen and (min-width:641px) {
  .news-list-body {
    display: flex;
    column-gap: 4%;
  }
  .news-list-body .txt {
    order: 0;
  }
  .news-list-body .thumb {
    flex-shrink: 0;
    width: clamp(200px, (280 / 1200 * 100vw), 280px);
  }
}
@media print, screen and (max-width:760px) {
  .news-list {
    row-gap: var(--space-l);
  }
}
@media print, screen and (min-width:641px) and (max-width:760px) {
  .news-list-body .txt {
    font-size: 95%;
  }
}
@media print, screen and (max-width:640px) {
  .news-list-body .thumb {
    margin-top: 0.5em;
    margin-bottom: calc(var(--space-2s) + 0.5em);
    text-align: center;
  }
  .news-list-body .thumb img {
    max-width: 360px;
  }
}

/*--------------------------------------------------------------------------------
  詳細
--------------------------------------------------------------------------------*/
.news-ttl {
  font-family: var(--ff-wf);
  font-weight: 700;
  font-size: var(--fs-2l);
  line-height: 1.6;
  padding-bottom: 0.8em;
  border-bottom: 1px solid rgba(var(--black-rgba),1);
}
.news-meta {
  display: flex;
  align-items: center;
  column-gap: 1em;
  margin-bottom: 1em;
}
.news-date {
  font-size: 0.9em;
  color: var(--gray);
}
