.jwp-news-list {
	& {
		list-style: none;
		padding: 0;
		border-top: 6px solid var(--color-primary);
	}
	a {
		display: block;
		color: inherit;
		text-decoration: none;
    transition: all ease .5s;
    &:hover {
      opacity: .5;
    }
	}
	li {
		display: flex;
		gap: 1em;
		align-items: center;
		white-space: nowrap;
		padding: 1em 0;
		border-bottom: 1px solid var(--color-borders);
	}
	.type {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: .5em 1em;
    border: 1px solid var(--color-primary);
    border-radius: 5px;
    background-color: #fff;
    color:  var(--color-primary);
    font-size: 80%;
    text-decoration: none;
	}
	.date {
		color: var(--color-primary);
	}
	.title {
		overflow: hidden;
		text-overflow: ellipsis;
	}
}

.jwp-news-title {
	font-size: 130%;
  font-weight: bold;
  padding: .5em 1em;
  background: #eee;
  border-left: 8px solid var(--color-primary);
}

.jwp-news-tags {
	& {
		display: flex;
		gap: 1em;
		justify-content: space-between;
	}

	.date {
		font-size: 80%;
		color: #666;
	}

	.type {
		font-size: 80%;
		&:before {
      background-color: var(--color-primary);
      border-radius: 3px; /* 線幅の半分 */
      content: "";
      display: inline-block;
      height: 1em; /* 線の長さ */
      margin-right: .25em; /* 線右の余白 */
      vertical-align: middle;
      width: 6px; /* 線幅 */
    }
	}
}

.jwp-news-content {
	margin: 1rem 0;
	padding: 1em 1em;
	border-top: 1px solid var(--color-borders);
	border-bottom: 1px solid var(--color-borders);

  pre {
    white-space: pre-wrap;
  }
}

.jwp-news-paginator {
	display: flex;
	justify-content: space-between;

  a {
  	min-width: 30%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    /*width: 250px;*/
    /*margin:0 auto;*/
    padding: .9em 2em;
    border: 1px solid var(--color-primary);
    border-radius: 5px;
    background-color: #fff;
    color:  var(--color-primary);
    font-size: 80%;
    text-decoration: none;
  }
  .next {
    &::before {
      transform: rotate(45deg);
      width: 5px;
      height: 5px;
      margin-right: 10px;
      border-bottom: 2px solid  var(--color-primary);
      border-left: 2px solid  var(--color-primary);
      content: '';
    }
  }
  .prev {
    &::after {
      transform: rotate(45deg);
      width: 5px;
      height: 5px;
      margin-left: 10px;
      border-top: 2px solid  var(--color-primary);
      border-right: 2px solid  var(--color-primary);
      content: '';
    }
  }
  .spacer {
  	visibility: hidden;
  }
}

@media(max-width: 750px) {
  .jwp-news-paginator {
    flex-wrap: wrap;

    a {
      min-width: 100%;
      margin-bottom: 1em;
    }
  }
}