@charset "UTF-8";
:root{
  --main-gr:#a8bb1a;
  --main-color: #C2D725;
  --sub-color: #6BA268;
}
html.wf-active {
  visibility: visible;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

body{
  overflow-x: hidden;
}

ul {
  list-style: none;
}

/* --------------------------------------------------
   2カラムレイアウト
-------------------------------------------------- */
.archive-layout-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 40px 5vw 80px;
  max-width: 1080px;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .archive-layout-wrapper {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
  .archive-main-column {
    width: 65%;
  }
  .archive-sidebar-column {
    width: 30%;
    margin-top: 20px;
  }
}

/* --------------------------------------------------
   メインカラム（背景イラスト）
-------------------------------------------------- */
.archive-layout-wrapper {
  position: relative;
}
.archive-layout-wrapper::before {
  content: "";
  display: block;
  position: absolute;
  width: 250px;
  height: 260px;
  top: -40px;
  right: 0;
  background: url(../img/herb_natsuhaze_pc.jpg) no-repeat center/contain;
  z-index: -1;
  opacity: 0.3;
}
@media screen and (max-width: 520px) {
  .archive-layout-wrapper::before {
    width: 160px;
    height: 130px;
    top: 0;
  }
}

/* --------------------------------------------------
   ニュースカード（1列表示）
-------------------------------------------------- */
.news-list-container {
  display: flex;
  flex-direction: column;
}

.news-card {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.news-card__link {
  display: block;
  padding: 20px 4px;
  text-decoration: none;
  color: #32373C;
  transition: opacity 0.2s ease;
}

.news-card__link:hover {
  opacity: 0.7;
}

.news-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.news-card__date {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  color: #888;
  letter-spacing: 1px;
  white-space: nowrap;
  font-weight: 500;
}

.news-card__badge {
  display: inline-block;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 50px;
  background-color: #C2D725;
  color: #2a3600;
  white-space: nowrap;
}

.news-card__title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #4D4600;
  line-height: 1.6;
  margin: 0 0 8px;
}

.news-card__excerpt {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: #777;
  line-height: 1.75;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --------------------------------------------------
   サイドバー
-------------------------------------------------- */
.sidebar-widget-area {
  margin-bottom: 40px;
}

.sidebar-heading {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 24px;
  color: #C2D725;
  margin-bottom: 16px;
  border-bottom: 1px solid #C2D725;
  padding-bottom: 10px;
  font-weight: 600;
}

.sidebar-widget-area ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-widget-area ul li {
  margin-bottom: 0;
}

.sidebar-widget-area ul li a {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  color: #32373C;
  text-decoration: none;
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: color 0.2s ease;
  transition: all .3s;
  font-weight: 500;
}

.sidebar-widget-area ul li a:hover,.sidebar-widget-area ul li a:focus {
  color: #C2D725;
}
@media(min-width:992px){
  .sidebar-widget-area{
    background: rgba(255,255,255,0.5);
  }
}
main h2 {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 25px;
  letter-spacing: 2px;
  text-align: left;
  color: #C2D725;
  display: block;
  position: relative;
  width: 100%;
  padding-bottom: 30px;
}
main h3 {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 20px;
  letter-spacing: 2px;
  text-align: left;
  color: var(--main-gr);
  display: block;
  position: relative;
  width: 100%;
  padding-top: 8px;
  padding-bottom: 4px;
}
main section {
  display: block;
  position: relative;
  width: 100%;
  height: auto;
}
main ul {
  display: block;
  position: relative;
}
main li {
  display: block;
  position: relative;
}

form {
  display: block;
  position: relative;
  padding: 30px;
  border-radius: 20px;
  background-color: #f9f9dc;
}
@media screen and (max-width: 520px) {
  form {
    width: 90vw;
  }
}

input, textarea {
  display: block;
  position: relative;
  width: 100% !important;
  background: white;
  margin: 5px;
  padding: 10px;
  border-radius: 10px;
}

.swpm-login-widget-form input, .swpm-login-widget-form {
  width: 100%;
}

th, td {
  display: block;
  width: 100%;
}

#swpm-rememberme {
  width: auto;
}

.wpcf7-submit, .swpm-login-form-submit, .swpm-registration-submit {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 20px;
  letter-spacing: 5px;
  text-align: center;
  color: white;
  padding: 8px 10px;
  background-color: #C2D725;
  border-radius: 10px;
  transition: 0.3s;
}
.wpcf7-submit:hover, .swpm-login-form-submit:hover, .swpm-registration-submit:hover {
  background-color: #9bab1e;
}

a.wp-block-button__link {
  background-color: #C2D725;
}

.pagination{
  text-align: center;
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  padding-top: 30px;
}
.pagination .nav-links{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap:10px 16px;
}
.page-numbers{
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-weight: 700;
  aspect-ratio: 1/1;
  width: 50px;
  font-size: 16px;
  color: var(--sub-color);
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 18px;
}
a.page-numbers{
  border: 2px solid var(--sub-color);
  text-decoration: none;
  transition:all .3s;
}
.page-numbers.current,a.page-numbers:hover{
  background:var(--main-color);
  color: #fff;
}
.page-numbers.next,.page-numbers.prev {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  aspect-ratio: unset;
  border-radius: unset;
  border: none;
}
.page-numbers.next:hover,.page-numbers.prev:hover {
  background: rgba(255, 255, 255, 0);
  color: var(--main-color);
}