/* Default Options */
/* Media Query */
/* Transform Font Size */
/* --------------------------------- */
.l-news {
  display: flex;
  flex-direction: column;
  row-gap: var(--space-sm);
}
.l-news-category {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.l-news-category .title {
  font-size: clamp(0.75rem, 0.6477272727rem + 0.2840909091vw, 0.875rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--accent-color);
}
.l-news-category .list {
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(5px, 0.5vw, 10px);
}
.l-news-category .list a {
  height: clamp(30px, 2vw, 36px);
  padding-inline: 10px;
  display: flex;
  align-items: center;
  border: 1px solid var(--accent-color);
  border-radius: clamp(15px, 1vw, 18px);
  box-sizing: border-box;
  font-size: clamp(0.8125rem, 0.6590909091rem + 0.4261363636vw, 1rem);
  line-height: 1;
  text-decoration: none;
  color: var(--accent-color);
  transition: var(--hover-animation-speed);
}
.l-news-category .list a:hover, .l-news-category .list a.current {
  background-color: var(--accent-color);
  color: var(--bg-color);
}
.l-news-list {
  padding: 0;
  list-style: none;
  border-block-start: 1px solid rgba(0, 91, 229, 0.3);
}
.l-news-list .item a {
  padding-block: var(--space-xs);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-xs);
  border-block-end: 1px solid rgba(0, 91, 229, 0.3);
  text-decoration: none;
  transition: var(--hover-animation-speed);
}
.l-news-list .item a:hover {
  border-block-end-color: var(--accent-color);
  color: var(--accent-color);
}
.l-news-list .item .date {
  font-size: clamp(0.8125rem, 0.7613636364rem + 0.1420454545vw, 0.875rem);
}
.l-news-list .item .category {
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}
.l-news-list .item .category li {
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-inline: 10px;
  background-color: var(--accent-color);
  border-radius: 3px;
  font-size: clamp(0.6875rem, 0.6363636364rem + 0.1420454545vw, 0.75rem);
  line-height: 1;
  color: var(--bg-color);
}
.l-news-list .item .u-txt-f-serif {
  width: 100%;
  font-size: clamp(1rem, 0.7954545455rem + 0.5681818182vw, 1.25rem);
  line-height: 1.4;
}
.l-news-detail {
  width: 100%;
  max-width: 1000px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  row-gap: var(--space-sm);
}
.l-news-detail-header {
  padding-block-end: var(--space-sm);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  border-block-end: 1px solid rgba(0, 91, 229, 0.3);
  column-gap: var(--space-xxs);
  row-gap: var(--space-xxs);
}
.l-news-detail-header .title {
  width: 100%;
  font-size: clamp(2rem, 1.1818181818rem + 2.2727272727vw, 3rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--accent-color);
}
.l-news-detail-header .date {
  font-size: clamp(0.8125rem, 0.7613636364rem + 0.1420454545vw, 0.875rem);
  line-height: 1;
}
.l-news-detail-header .category {
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.l-news-detail-header .category a {
  height: 32px;
  padding-inline: 10px;
  display: flex;
  align-items: center;
  background-color: var(--accent-color);
  border: 1px solid var(--accent-color);
  border-radius: 16px;
  text-decoration: none;
  font-size: clamp(0.75rem, 0.6477272727rem + 0.2840909091vw, 0.875rem);
  line-height: 1;
  color: var(--bg-color);
  box-sizing: border-box;
  transition: var(--hover-animation-speed);
}
.l-news-detail-header .category a:hover {
  background-color: var(--bg-color);
  color: var(--accent-color);
}
.l-news-detail-contents h1,
.l-news-detail-contents h2,
.l-news-detail-contents h3 {
  margin-block-start: var(--space-sm);
  margin-block-end: var(--space-xs);
  line-height: 1.4;
  color: var(--accent-color);
}
.l-news-detail-contents h1 {
  padding: var(--space-xs);
  background-color: rgba(0, 91, 229, 0.08);
  border-radius: 5px;
  font-size: clamp(1.25rem, 0.7386363636rem + 1.4204545455vw, 1.875rem);
  font-weight: 600;
}
.l-news-detail-contents h2 {
  font-family: "Zen Old Mincho", serif;
  font-size: clamp(1.25rem, 0.6363636364rem + 1.7045454545vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}
.l-news-detail-contents h3 {
  padding-inline-start: var(--space-xxs);
  border-inline-start: 1px solid var(--accent-color);
  font-size: clamp(1rem, 0.5909090909rem + 1.1363636364vw, 1.5rem);
  font-weight: 600;
}
.l-news-detail-contents h4 {
  margin-block-end: var(--space-xxs);
  font-size: clamp(0.9375rem, 0.6818181818rem + 0.7102272727vw, 1.25rem);
  font-weight: 600;
  color: rgb(0, 0, 0);
}
.l-news-detail-contents p {
  margin-block-end: var(--space-sm);
  font-size: clamp(1rem, 0.7954545455rem + 0.5681818182vw, 1.25rem);
  line-height: 2;
}
.l-news-detail-contents p a {
  color: var(--accent-color);
}
.l-news-detail-contents figure {
  margin-block: var(--space-xxs);
}
.l-news-detail-contents img {
  height: auto;
}
.l-news-detail-contents hr {
  height: 1px;
  margin-block-end: var(--space-sm);
  background-color: rgba(0, 0, 0, 0.5);
  border: 0;
}
.l-news-detail-contents ul,
.l-news-detail-contents ol {
  margin-block-end: var(--space-sm);
  padding-inline-start: 1em;
}
.l-news-detail-contents ul li,
.l-news-detail-contents ol li {
  font-size: clamp(1rem, 0.7954545455rem + 0.5681818182vw, 1.25rem);
  line-height: 1.6;
}
.l-news-detail-contents ul li::marker,
.l-news-detail-contents ol li::marker {
  font-weight: 600;
  color: var(--accent-color);
}
.l-news-detail-contents strong,
.l-news-detail-contents b {
  color: rgb(0, 0, 0);
}
.l-news-detail-contents figcaption {
  margin-block-start: 10px;
  font-size: clamp(0.875rem, 0.7727272727rem + 0.2840909091vw, 1rem);
  line-height: 1.4;
}
.l-news-detail-contents .shrink {
  flex-shrink: 0;
}
.l-news-detail-contents .has-text-align-center {
  text-align: center;
}
.l-news-detail-contents .has-text-align-right {
  text-align: end;
}
.l-news-detail-contents .wp-block-columns,
.l-news-detail-contents .wp-block-group {
  display: flex;
  flex-direction: column;
  row-gap: var(--space-xxs);
}
.l-news-detail-contents .aligncenter img {
  margin-inline: auto;
}
.l-news-detail-contents .alignright img {
  margin-inline-start: auto;
}
.l-news-detail-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block-start: var(--space-sm);
  border-block-start: 1px solid rgba(0, 91, 229, 0.3);
}
.l-news-detail-footer .button .c-icon-arrow {
  transform: scale(-1, 1);
}
@media screen and (min-width: 992px) {
  .l-news {
    display: grid;
    grid-template-columns: var(--grid-column-guide);
    column-gap: var(--space-xxs);
  }
  .l-news-category, .l-news-list,
  .l-news .p-pagination {
    grid-column: 4/13;
  }
  .l-news-list .item a {
    flex-wrap: nowrap;
  }
  .l-news-list .item a .date {
    width: 16%;
  }
  .l-news-list .item a .category {
    width: 16%;
  }
  .l-news-list .item a p {
    width: 68%;
  }
  .l-news-category {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    column-gap: var(--space-xxs);
  }
  .l-news-category .title {
    height: clamp(32px, 2vw, 36px);
    display: flex;
    align-items: center;
    grid-column: 1/2;
  }
  .l-news-category .list {
    grid-column: 2/10;
  }
  .l-news-detail-contents .wp-block-columns,
  .l-news-detail-contents .wp-block-group {
    margin-block-end: var(--space-xs);
    display: flex;
    flex-direction: row;
    column-gap: var(--space-xs);
  }
  .l-news-detail-contents .wp-block-columns p:last-child,
  .l-news-detail-contents .wp-block-group p:last-child {
    margin-block-end: 0;
  }
}

/* --------------------------------- */