/* Scss Document */
:root {
  --pc: 1000px;
  --sp: 999px;
  --fs48: 4.8rem;
  --fs40: 4rem;
  --fs36: 3.6rem;
  --fs28: 2.8rem;
  --fs22: 2.2rem;
  --fs20: 2.0rem;
  --fs18: 1.8rem;
  --fs16: 1.6rem;
  --fs14:1.4rem;
  --fs12:1.2rem; }

@media (max-width: 999px) {
  :root {
    --fs48: 2.6rem;
    --fs40: 2.2rem;
    --fs36: 2.4rem;
    --fs28: 2.2rem;
    --fs22: 2.0rem;
    --fs20: 1.8rem;
    --fs18: 1.4rem;
    --fs16: 1.4rem;
    --fs14: 1.2rem;
    --fs12: 1.0rem; } }
.news #subKv {
  background: url("../img/news_bg.jpg"); }
  @media (max-width: 999px) {
    .news #subKv {
      background-size: cover;
      background-position: right; } }

#news-archive {
  padding: 0 0 16rem; }
  @media (max-width: 999px) {
    #news-archive {
      padding: 0 0 6rem; } }
  #news-archive .inner12 {
    display: grid;
    gap: 8rem 5.5rem;
    grid-template-columns: repeat(3, 1fr); }
    @media (max-width: 999px) {
      #news-archive .inner12 {
        gap: 2rem 1.5rem;
        grid-template-columns: repeat(2, 1fr); } }
  #news-archive li a {
    display: block;
    margin-bottom: 0;
    padding: 4rem;
    background: #fff;
    border-radius: 3rem;
    position: relative; }
    @media (max-width: 999px) {
      #news-archive li a {
        padding: 2rem 1rem 1rem;
        border-radius: 1rem; } }
  #news-archive .sttl {
    font-size: 1.8rem;
    text-align: justify;
    margin-bottom: 2rem; }
    @media (max-width: 999px) {
      #news-archive .sttl {
        font-size: 1.4rem;
        margin-bottom: 1rem; } }
  #news-archive .pic {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #fff;
    border-radius: 3rem;
    display: flex;
    align-items: center;
    justify-content: center; }
    @media (max-width: 999px) {
      #news-archive .pic {
        border-radius: 1rem; } }
  #news-archive .pic img {
    width: 100%;
    height: auto;
    object-fit: contain; }

#news-archive time {
  font-size: 6rem;
  position: absolute;
  top: -3rem;
  right: 3rem;
  line-height: 1;
  color: #B2B2B2; }
  @media (max-width: 999px) {
    #news-archive time {
      font-size: 2.6rem;
      top: -1.2rem;
      right: 1rem; } }
#news-archive time span {
  font-size: 1.6rem; }
#news-archive .categoryBox {
  display: flex;
  flex-wrap: wrap; }
#news-archive .category {
  color: #6FA457;
  background: #fff;
  padding: 0 1.2rem;
  height: 3rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  border: 1px solid;
  border-radius: 999px; }
  @media (max-width: 999px) {
    #news-archive .category {
      padding: 0 0.6rem;
      margin-right: 0.5rem;
      margin-bottom: 0.5rem;
      font-size: 1.1rem;
      height: 2rem; } }
#news-archive .category.ikoi {
  color: #DE7C7C; }
#news-archive .categoryNav {
  display: flex; }
  #news-archive .categoryNav .btns {
    width: 100%;
    display: flex;
    gap: 16px;
    flex-wrap: wrap; }
    @media (max-width: 999px) {
      #news-archive .categoryNav .btns {
        gap: 5px; } }
  #news-archive .categoryNav .ikoi a {
    color: #DE7C7C; }
  #news-archive .categoryNav .hapiness-moriyama a,
  #news-archive .categoryNav .hapiness-kikko a {
    color: #6FA457; }
  #news-archive .categoryNav a {
    text-align: center;
    padding: 0.5rem 2rem;
    font-weight: bold;
    background: #fff;
    border-radius: 999px; }
    @media (max-width: 999px) {
      #news-archive .categoryNav a {
        padding: 0.2rem 1rem; } }
  #news-archive .categoryNav a.active {
    border-bottom: 2px solid #E1222A; }

#news-single {
  background: #FDFBF3;
  padding: 8rem;
  border-radius: 3rem;
  position: relative;
  margin-bottom: 12rem; }
  @media (max-width: 999px) {
    #news-single {
      padding: 4rem 2rem;
      border-radius: 1rem;
      margin-bottom: 6rem; } }
  #news-single time {
    font-size: 6rem;
    position: absolute;
    top: -3rem;
    right: 8rem;
    line-height: 1;
    color: #B2B2B2; }
    @media (max-width: 999px) {
      #news-single time {
        font-size: 3rem;
        top: -1.2rem;
        right: 1.5rem; } }
  #news-single time span {
    font-size: 1.6rem; }
  #news-single .ttl {
    font-size: 3.8rem;
    font-weight: bold;
    border-bottom: 2px solid #EFAC53;
    padding-bottom: 2.5rem;
    line-height: 1.5; }
    @media (max-width: 999px) {
      #news-single .ttl {
        font-size: 2rem;
        padding-bottom: 2rem; } }
  #news-single .categoryBox {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 4rem; }
    @media (max-width: 999px) {
      #news-single .categoryBox {
        margin-bottom: 2rem; } }
    #news-single .categoryBox .category {
      border: 1px solid #6FA457;
      border-radius: 999px;
      color: #6FA457;
      padding: 0 1rem;
      line-height: 1.5;
      width: max-content;
      margin-bottom: 0.5rem; }
    #news-single .categoryBox .category.ikoi {
      border: 1px solid #DE7C7C;
      color: #DE7C7C; }

.pagination {
  margin-top: 6rem;
  display: flex;
  justify-content: center;
  align-items: center; }
  @media (max-width: 999px) {
    .pagination {
      margin-top: 4rem; } }

.pagination span {
  background: #EFAC53;
  text-align: center;
  padding: 0;
  font-size: 1.8rem;
  line-height: 0;
  width: 6rem;
  height: 6rem;
  margin-right: 1rem;
  border-radius: 999px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: none; }
  @media (max-width: 999px) {
    .pagination span {
      font-size: 16px;
      line-height: 16px;
      padding: 12px 16.7px;
      margin-right: 6px;
      width: 4rem;
      height: 4rem; } }

.pagination a.page-numbers {
  background: #fff;
  text-align: center;
  padding: 0;
  font-size: 1.8rem;
  line-height: 0;
  width: 6rem;
  height: 6rem;
  margin-right: 1rem;
  border-radius: 999px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid; }
  @media (max-width: 999px) {
    .pagination a.page-numbers {
      font-size: 16px;
      margin-right: 6px;
      width: 4rem;
      height: 4rem; } }

.pagination a.page-numbers.prev {
  background: linear-gradient(-45deg, #282D27, #666D65);
  text-align: center;
  padding: 0;
  font-size: 1.8rem;
  line-height: 0;
  width: 6rem;
  height: 6rem;
  border-radius: 999px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: none; }
  @media (max-width: 999px) {
    .pagination a.page-numbers.prev {
      font-size: 16px;
      width: 4rem;
      height: 4rem; } }

.pagination a.page-numbers.next {
  background: linear-gradient(-45deg, #282D27, #666D65);
  text-align: center;
  padding: 0;
  font-size: 1.8rem;
  line-height: 0;
  width: 6rem;
  height: 6rem;
  border-radius: 999px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: none; }
  @media (max-width: 999px) {
    .pagination a.page-numbers.next {
      font-size: 16px;
      width: 4rem;
      height: 4rem; } }
