@charset "utf-8";

/*****************************************
*
* 新着情報
*
******************************************/

.news-list {
  text-align: left;
  width: 100%;
}

.news-list a {
  display: inline-block;
  border-bottom: dashed 2px var(--color-too-bright-main);
  width: 100%;
  color: var(--color-text);
  font-size: 1rem;
  padding: 20px 0;
  transition: all .5s ease;
}

.news-list a:visited {
  color: var(--color-main);
}

.news-list a:hover {
  border-color: var(--color-main);
  text-decoration: none;
}

@media screen and (min-width: 768px), print {
  .news-list li a {
    display: grid;
    grid-template-columns: 7em 1fr;
    column-gap: 1em;
  }
}

/* 日付 --------------------------------*/
.news-list li a .date {
  font-family: var(--font-en);
  font-weight: bold;
}

/* タイトル --------------------------------*/
.news-list .title {
  width: 100%;
}


/*------------------------------------------*/
/* 生産者紹介 一覧ページ
/*------------------------------------------*/

.farmer-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  text-align: left;
  width: 100%;
}

.farmer-list li {
  display: flex;
  align-content: space-between;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  width: 100%;
  color: var(--color-main);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 20px 20px 30px 20px;
  transition: all .5s ease;
}

@media screen and (min-width: 834px), print {
  .farmer-list {
    grid-template-columns: repeat(4, 1fr);
  }

  .farmer-list li {
    border-radius: 40px;
    font-size: 1rem;
    padding: 30px 30px 40px 30px;
  }
}


/* 画像 --------------------------------*/
.farmer-list li .image img {
  border-radius: 10px;
  width: 100%;
  height:auto;/*追加2025.11*/
}

.farmer-list li .image {
  margin-bottom: 1em;
}

/* 名前 --------------------------------*/
.farmer-list li .name {
  font-weight: bold;
  margin-bottom: 0.5em;
}

/* 会社名 --------------------------------*/
.farmer-list li .company {
  margin-bottom: 2em;
}

/* ボタン --------------------------------*/
.farmer-list li .btn-wrap {
  text-align: center;
  width: 100%;
}

.farmer-list li .btn-type-rounded {
  margin: 0 auto;
}

@media screen and (max-width: 833px) {
  .farmer-list li .btn-type-rounded {
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    font-size: 0;
    display: inline-block;
    width: 30px;
    height: 30px;
    padding: 0;
  }

  .farmer-list li .btn-type-rounded::after {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}


/*------------------------------------------*/
/* ページ送り 一覧ページ
/*------------------------------------------*/

.news-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
}

.news-pagination li+li {
  margin-left: 10px;
}

.news-pagination li a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-width: 1px;
  border-style: solid;
  border-color: var(--color-main);
  border-radius: 50%;
  color: var(--color-main);
  font-weight: bold;
  transition: all .5s ease;
}

.news-pagination .number.current a {
  background: var(--color-main);
  color: white;
}

.news-pagination li.prev a::before,
.news-pagination li.next a::before {
  content: '';
  display: inline-block;
  background: url('../img/common/icon_arrow_ku.svg');
  background-size: 100%;
  background-repeat: no-repeat;
  aspect-ratio: 1/2;
  width: 8px;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all .5s ease;
}

.news-pagination li.prev a::before {
  transform: translate(-50%, -50%) scaleX(-1);
}

.news-pagination li.double a::before {
  background: url('../img/common/icon_arrow_ku_double.svg');
  background-size: 100%;
  background-repeat: no-repeat;
  aspect-ratio: 1/1;
  width: 16px;
}

.news-pagination .number a:hover,
.news-pagination li.prev a:hover,
.news-pagination li.next a:hover {
  text-decoration: none;
  background: var(--color-main);
  color: white;
}

.news-pagination li.prev a:hover::before,
.news-pagination li.next a:hover::before {
  background: url('../img/common/icon_arrow_ku_white.svg');
  background-size: 100%;
}

.news-pagination li.double a:hover::before {
  background: url('../img/common/icon_arrow_ku_double_white.svg');
  background-size: 100%;
}

@media screen and (min-width: 834px), print {
  .news-pagination {
    margin-top: 60px;
  }

  .news-pagination li a {
    width: 40px;
    height: 40px;
  }
}

/* リンクオフ */
.news-pagination li.nolink a {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
}


/*------------------------------------------*/
/* ページ送り
/*------------------------------------------*/

.news-button-wrap {
  margin-top: 40px;
}

.news-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.news-button li {
  width: 30%;
}

.news-button .list a,
.news-button .prev a,
.news-button .next a {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  text-align: center;
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--color-main);
  border: solid 2px var(--color-main);
  border-radius: 40px;
  transition: all .5s ease;
}

.news-button .list a {
  padding: 3px 10px;
}

.news-button .prev a {
  padding: 3px 10px 3px 20px;
}

.news-button .next a {
  padding: 3px 20px 3px 10px;
}

.news-button .prev a::before,
.news-button .next a::before {
  content: '';
  display: inline-block;
  background: url('../img/common/arrow_white.svg') no-repeat;
  background-size: 100%;
  aspect-ratio: 1/1;
  width: 10px;
  height: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: all .5s ease;
}

.news-button .prev a::before {
  transform: translateY(-50%) scaleX(-1);
  left: 10px;
}

.news-button .next a::before {
  right: 10px;
}

.news-button .list a:hover,
.news-button .prev a:hover,
.news-button .next a:hover {
  text-decoration: none;
  color: var(--color-main);
  background: transparent;
  border-color: var(--color-main);
}

.news-button .list a:hover::before,
.news-button .prev a:hover::before,
.news-button .next a:hover::before {
  background: url('../img/common/arrow.svg') no-repeat;
  background-size: 100%;
}

@media screen and (min-width: 834px), print {
  .news-button-wrap {
    margin-top: 80px;
  }

  .news-button li {
    width: 30%;
  }

  .news-button .list a,
  .news-button .prev a,
  .news-button .next a {
    font-size: 1rem;
    padding: 10px 20px;
  }

  .news-button .prev a::before,
  .news-button .next a::before {
    width: 20px;
  }

  .news-button .prev a::before {
    left: 20px;
  }

  .news-button .next a::before {
    right: 20px;
  }
}

/* リンクオフ */
.news-button .prev.nolink a,
.news-button .next.nolink a {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
  color: var(--color-main);
  background: transparent;
  border-color: var(--color-main);
}

.news-button .prev.nolink a::before,
.news-button .next.nolink a::before {
  background: url('../img/common/arrow.svg') no-repeat;
  background-size: 100%;
}


/*------------------------------------------*/
/* 生産者 コンテンツ
/*------------------------------------------*/

@media screen and (min-width: 834px), print {
  .farmer-contents__article {
    display: grid;
    grid-template-columns: calc(calc(400 / 1400) * 100vw) 1fr;
    column-gap: 60px;
    align-items: center;
  }
}

@media screen and (min-width: 1400px), print {
  .farmer-contents__article {
    grid-template-columns: 400px 1fr;
  }
}

/* 画像 --------------------------------*/
.farmer-contents__article .image img {
  width: 100%;
  height:auto;/*2025.11追加*/
  border-radius: 10px;
}

@media screen and (max-width: 833px) {
  .farmer-contents__article .image {
    max-width: 400px;
    margin: 0 auto;
  }
}


/* 項目 --------------------------------*/
.farmer-contents__detail {
  margin-top: 20px;
}

.farmer-contents__detail-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-main);
  border-radius: 10px;
  width: 100px;
  height: 30px;
  color: white;
  font-size: 0.9rem;
  font-weight: bold;
}

@media screen and (min-width: 768px), print {
  .farmer-contents__detail {
    display: grid;
    grid-template-columns: 100px 1fr;
    column-gap: 20px;
  }
}


/* URL --------------------------------*/
.farmer-contents__btn-wrap {
  text-align: center;
  margin-top: 20px;
}

.farmer-contents__btn {
  position: relative;
  display: inline-block;
  background: var(--color-main);
  border-radius: 40px;
  border: solid 2px var(--color-main);
  text-align: left;
  color: white;
  font-size: 0.9rem;
  font-weight: bold;
  line-height: 1.4;
  padding: 8px 20px 8px 60px;
  transition: all .5s ease;
}

.farmer-contents__btn::before {
  content: '';
  display: inline-block;
  background: url('../img/common/icon_home_white.svg') no-repeat;
  background-size: 100%;
  aspect-ratio: 10/9;
  width: 20px;
  height: auto;
  opacity: 1;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 15px;
  transition: all .5s ease;
}

.farmer-contents__btn:visited {
  color: white;
}

.farmer-contents__btn:hover {
  text-decoration: none;
  background: transparent;
  color: var(--color-main);
}

.farmer-contents__btn:hover::before {
  background: url('../img/common/icon_home.svg') no-repeat;
  background-size: 100%;
}


/*------------------------------------------*/
/* お知らせ 見出し
/*------------------------------------------*/

.news-heading-wrap {
  margin-bottom: 40px;
}

.news-heading {
  position: relative;
  text-align: left;
  width: 100%;
  color: var(--color-main);
  font-size: 1.1rem;
  font-weight: bold;
  padding-bottom: 20px;
}

.news-heading::before {
  content: '';
  display: inline-block;
  background: var(--color-main);
  border-radius: 4px;
  width: 100%;
  height: 6px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

@media screen and (min-width: 768px), print {
  .news-heading {
    font-size: 1.4rem;
  }
}

@media screen and (min-width: 834px), print {
  .news-heading-wrap {
    margin-bottom: 60px;
  }

  .news-heading {
    font-size: 2.2rem;
  }
}

/* 日付 --------------------------------*/
.news-date {
  text-align: right;
  color: var(--color-main);
  font-family: var(--font-en);
  font-size: 0.9rem;
  font-weight: bold;
  margin-top: 1em;
}


/*------------------------------------------*/
/* H2
/*------------------------------------------*/

.page-news .container h2 {
  position: relative;
  text-align: left;
  width: 100%;
  color: var(--color-main);
  font-size: 1.1rem;
  font-weight: bold;
  padding-bottom: 20px;
  margin-top: 3em;
  margin-bottom: 2em;
}

.page-news .container h2::before {
  content: '';
  display: inline-block;
  background: url('../img/common/line_wave.svg') repeat-x;
  background-size: auto 12px;
  aspect-ratio: 20/12;
  width: 100%;
  height: 12px;
  position: absolute;
  bottom: 0;
  left: 0;
  transition: all .5s ease;
}

@media screen and (min-width: 768px), print {
  .page-news .container h2 {
    font-size: 1.4rem;
  }
}

@media screen and (min-width: 834px), print {
 .page-news .container h2 {
    font-size: 2.2rem;
    padding-bottom: 30px;
  }
}


/*------------------------------------------*/
/* H3
/*------------------------------------------*/

.page-news .container h3 {
  background: var(--color-main);
  border-radius: 10px;
  width: 100%;
  text-align: left;
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1.2;
  padding: 10px 15px;
  margin-top: 3em;
  margin-bottom: 2em;
}

@media screen and (min-width: 834px), print {
  .page-news .container h3 {
    border-radius: 20px;
    font-size: 1.6rem;
  }
}


/*------------------------------------------*/
/* H4
/*------------------------------------------*/
.page-news .container h4{
  position: relative;
  text-align: left;
  width: 100%;
  font-size: 1.1rem;
  font-weight: 500;
  padding-bottom: 10px;
  margin-top: 3em;
  margin-bottom: 2em;
}

.page-news .container h4::before {
  content: '';
  display: inline-block;
  background: var(--color-main);
  width: 100%;
  height: 2px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

@media screen and (min-width: 834px), print {
  .page-news .container h4{
    font-size: 1.6rem;
  }
}

/*------------------------------------------*/
/* H5
/*------------------------------------------*/
.page-news .container h5 {
  position: relative;
  text-align: left;
  width: 100%;
  border-bottom: dashed 2px var(--color-main);
  font-size: 1rem;
  font-weight: 500;
  padding-bottom: 10px;
  margin-top: 3em;
  margin-bottom: 2em;
}

@media screen and (min-width: 834px), print {
  .page-news .container h5 {
    font-size: 1.4rem;
  }
}

/*------------------------------------------*/
/* ボタン 角丸
/*------------------------------------------*/

.page-news .container .wp-block-button__link{
  position: relative;
  display: inline-block;
  background: var(--color-main);
  border-radius: 40px;
  border: solid 2px var(--color-main);
  text-align: left;
  color: white;
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.4;
  padding: 15px 80px 15px 40px;
  transition: all .5s ease;
}

.page-news .container .wp-block-button.orange{
  background: var(--color-orange);
  border-color: var(--color-orange);
}

.page-news .container .wp-block-button.min{
  font-size: 0.8rem;
  padding: 8px 50px 8px 20px;
}

.page-news .container .wp-block-button__link::after{
  content: '';
  display: inline-block;
  background: url('../img/common/arrow_white.svg') no-repeat;
  background-size: 100%;
  aspect-ratio: 20/19;
  width: 20px;
  height: auto;
  opacity: 1;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
  transition: all .5s ease;
}

.page-news .container .wp-block-button.min::after{
  width: 12px;
  right: 15px;
}

.page-news .container .wp-block-button.blank::after{
  background: url('../img/common/icon_blank.svg') no-repeat;
  background-size: 100%;
  aspect-ratio: 1/1;
  width: 18px;
}

.page-news .container .wp-block-button.pdf::after{
  background: url('../img/common/icon_pdf.svg') no-repeat;
  background-size: 100%;
  aspect-ratio: 17/20;
  width: 17px;
}

.page-news .container .wp-block-button__link:visited {
  color: white;
}

.page-news .container .wp-block-button__link:hover {
  text-decoration: none;
  background: transparent;
  color: var(--color-main);
}

.page-news .container .wp-block-button__link:hover::after {
  background: url('../img/common/arrow.svg') no-repeat;
  background-size: 100%;
}

.page-news .container .wp-block-button.orange:hover {
  color: var(--color-orange);
}

.page-news .container .wp-block-button.orange:hover::after {
  background: url('../img/common/arrow_orange.svg') no-repeat;
  background-size: 100%;
}

/*------------------------------------------*/
/* リスト 黒丸
/*------------------------------------------*/

.page-news .container .wp-block-list li {
  position: relative;
  text-align: left;
  padding-left: 1em;
}

.page-news .container .wp-block-list li::before {
  content: '・';
  position: absolute;
  top: 0;
  left: 0;
}


/*------------------------------------------*/
/* リスト 色丸
/*------------------------------------------*/

.page-news .container .is-style-list-type-circle {
  margin-top: 1em;
}

.page-news .container .is-style-list-type-circle li {
  position: relative;
  text-align: left;
  padding-left: 15px;
}

.page-news .container .is-style-list-type-circle li::before {
  content: '';
  display: inline-block;
  background: var(--color-main);
  border-radius: 50%;
  width: 6px;
  height: 6px;
  position: absolute;
  top: 0.5em;
  left: 0;
}

.page-news .container .is-style-list-type-circle.pink li::before {
  background: var(--color-pink);
}

.page-news .container .is-style-list-type-circle li+li {
  margin-top: 0.5em;
}

@media screen and (min-width: 768px), print {
  .page-news .container .is-style-list-type-circle li::before {
    top: 0.6em;
  }
}

/*------------------------------------------*/
/* 表 thの背景有
/*------------------------------------------*/
.page-news .container table {
  border-collapse: collapse;
  width: 100%;
  margin-top: 40px;
}

@media screen and (min-width: 834px), print {
  .page-news .container table {
    margin-top: 60px;
  }
}
.page-news .container table thead{
	border-bottom:none;
}
.page-news .container table th,
.page-news .container table td {
  border: 1px solid var(--color-light-main);
  padding: 10px;
}

.page-news .container table th {
  background: var(--color-bright-main);
}

@media screen and (max-width: 767px) {
  .page-news .container table {
    /*テーブルスマホで横スクロールさせる場合*/
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
}



/*------------------------------------------*/
/* 表 下線
/*------------------------------------------*/
.page-news .container .is-style-table-underline table {
  border-collapse: collapse;
  width: 100%;
  margin-top: 40px;
}

@media screen and (min-width: 834px), print {
  .page-news .container .is-style-table-underline table {
    margin-top: 60px;
  }
}

.page-news .container .is-style-table-underline table th,
.page-news .container .is-style-table-underline table td {
  border:none;
  text-align: left;
  font-size: 1rem;
  border-bottom: dashed 2px var(--color-bright-main);
  padding: 10px 0;
}

.page-news .container .is-style-table-underline table th {
  background: transparent;
  font-weight: bold;
}