@charset "UTF-8";

#sub-page-title {
  margin: 0 auto -200px;
  aspect-ratio: 1/.5;
  border-radius: 50% / 100% 100% 0 0;
  padding-bottom: 150px;
}
#sub-page-title h1 {
  letter-spacing: 0.08em;
}
#page {
  padding: 100px 0 140px;
}

@media screen and (max-width : 767px) {
  #sub-page-title{
    margin: 30px auto 0;
    padding: 70px 0 70px;
    border-radius: 0;
    aspect-ratio: auto;
  }
  #sub-page-title h1 {
    font-size: 3.6rem;
  }
  #page {
    padding: 60px 0 100px;
  }
}
/*---------------------------------
 一覧ページ
---------------------------------*/
#news #list li {
  padding: 20px 10px;
  display: flex;
  align-items: center;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.4;
  border-bottom: solid 1px #79b825;
  position: relative;
}
#news #list li .date {
  margin-right: 30px;
  flex-shrink: 0;
  font-size: 1.5rem;
}
#news #list li a {
  margin: 0 10px;
  color: #42210b;
  transition: color .3s;
}
#news #list li a:hover {
  color: #79b825;
  text-decoration: none;
}
#news #list .pagination {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}
#news #list .pagination span.prev a, #news #list .pagination span.next a {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: flex;
  align-items: center;
  justify-content: center;
  background: #86c03f;
  border-radius: 50%;
  box-shadow: 0 4px 0 #006837;
  font-size: 0;
  background: #86c03f url(../img/common/arrow.svg) no-repeat center/10px;
  transition: all .2s;
}
#news #list .pagination span.prev a {
  transform: scale(-1, 1);
}
#news #list .pagination span.disabled {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: flex;
  align-items: center;
  font-size: 0;
  opacity: 0;
  pointer-events: none;
}
#news #list .pagination .number-wrap > span {
  display: flex;
  align-items: center;
  gap: 14px;
}
#news #list .pagination span.number {
  padding: 5px;
  font-size: 1.8rem;
  font-weight: 700;
}
#news #list .pagination span.number a {
  color: #42210b;
}
#news #list .pagination span.number.current {
  padding-bottom: 3px;
  border-bottom: solid 2px #86c03f;
  color: #86c03f;
}
@media screen and (max-width : 767px) {
  #news #list li {
    padding: 20px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 1.4rem;
  }
  #news #list li a {
    margin: 0;
  }
  #news #list .pagination {
    margin-top: 40px;
  }
}

/*---------------------------------
 詳細ページ
---------------------------------*/
#news #detail .post-wrap {
  padding: 60px;
  background: #fff;
  border-radius: 20px;
}
#news #detail h2 {
  margin-bottom: 5px;
  font-size: 3.6rem;
  font-weight: 700;
  line-height: 1.5;
}
#news #detail .meta {
  margin-bottom: 30px;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}
#news #detail .contents-navi {
  margin-top: 40px;
  padding: 0 60px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
}
#news #detail .contents-navi a {
  color: #42210b;
}
#news #detail .btn_index {
  margin: 50px 0 0;
  display: flex;
  justify-content: center;
}
#news #detail .btn_index a {
  min-width: 180px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: #86c03f;
  border-radius: 100vmax;
  box-shadow: 0 4px 0 #006837;
  color: #fff;
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 0.22em;
  transition: all .2s;
}
#news #detail .btn_index a:hover {
  text-decoration: none;
  box-shadow: none;
  transform: translateY(4px);
}

@media screen and (max-width : 767px) {
  #news #detail .post-wrap {
    padding: 40px 30px;
  }
  #news #detail h2 {
    font-size: 2.5rem;
  }
  #news #detail #post-detail{
    font-size: 1.5rem;
  }
  #news #detail .contents-navi {
    margin-top: 20px;
    padding: 0;
    font-size: 1.3rem;
    gap: 20px;
  }
  #news #detail .btn_index {
    margin-top: 30px;
  }
}

