/*基本フォント設定*/
body {
  font-family: 'Lato', 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN',
             'Yu Gothic', 'YuGothic', 'Meiryo', sans-serif;

}
h1,h2,h3,h4,h5{
  font-family: 'Josefin Sans', sans-serif !important;
}
.header-nav-wrap,
.header-btn,
.footer-menus,
.icon-button{
      font-family: 'Josefin Sans', sans-serif !important;
}
.toc,
.article-date,
.sidebar-buttons,
.event-header,
.article-head{
    font-family: 'Josefin Sans', sans-serif !important;
}

/*トップページ*/
.wrapper {
  margin-top: 70px;
}

.wagyu-container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 3rem 1rem;
}

/*LINE UP*/
.wagyu-lineup {
  width: 100%;
  padding: 0 1rem;
  box-sizing: border-box;
}

.wagyu-lineup__title {
  font-weight: normal;
  font-size: 1.8rem;
  letter-spacing: 0.1rem;
  line-height: 1;
  position: relative;
  display: flex;
  /* ← flexでアイコンとテキストを並べる方法も */
  align-items: start;
  margin: 1rem 0;
}

.wagyu-lineup__title::before {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 0;
  margin-right: 8px;
  background: url("../images/frontpage/icon-lineup.png") no-repeat center center;
  background-size: contain;
}

.wagyu-lineup__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 10px;
}

.wagyu-card {
  position: relative;
  overflow: hidden;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  text-decoration: none;
  box-sizing: border-box;
}

/* 背景は::beforeに描画 */
.wagyu-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.9) 100%), var(--bg-url);
  background-size: cover;
  background-position: center bottom;
  transition: transform 0.6s ease;
  z-index: 0;
}

.wagyu-card:hover::before {
  transform: scale(1.05);
}

.wagyu-card>* {
  position: relative;
  z-index: 1;
}

.wagyu-card__cat {
  display: inline-block;
  background: #014A36;
  padding: 4px 10px 2px;
  border-radius: 16px;
  font-size: 14px;
  letter-spacing: 0.05rem;
  z-index: 1;
  width: auto;
  align-self: flex-start;
  margin-bottom: 5px;
}



.wagyu-card__title {
  font-weight: normal;
  font-size: clamp(1.2rem, -0.182rem + 2.88vw, 1.8rem);
  margin: 0 0 8px;
  color: #fff;
}

.wagyu-card__inner {
  width: 100%;
  display: flex;
  flex-direction: row;
}

.wagyu-card__excerpt {
  width: calc(100% - 60px);
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 3;
}

.wagyu-card__icon {
  width: 60px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.wagyu-card__icon img {
  width: 45px;
  height: 45px;
}
@media(max-width:1050px){
  .wagyu-card {
    padding: 20px 10px;
  }
  .wagyu-card__excerpt {
  width: calc(100% - 50px);
  }
  .wagyu-card__icon {
    width: 50px;
  }

.wagyu-card__icon img {
  width: 30px;
  height: 30px;
}
}

.wagyu-card--large {
  grid-row: span 2;
  height: 480px;
}

.wagyu-card--small {
  height: 235px;
}

.wagyu-card--small .wagyu-card__inner {
  justify-content: space-between;
  align-items: center;
}

.wagyu-card--small .wagyu-card__title {
  width: calc(100% - 60px);
  margin: 0;
}

.wagyu-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
}
.wagyu-table th,
.wagyu-table td {
  border: 1px solid #ccc;
  padding: 10px 12px;
}
.wagyu-table th {
  background: #f1f1f1;
  width: 30%;
  font-weight: 600;
}
.wagyu-section-title {
  font-size: 20px;
  margin: 25px 0 10px;
  font-weight: bold;
}

@media (max-width: 768px) {
  .wagyu-lineup{
    padding: 0;
  }
  .wagyu-lineup__grid {
    grid-template-columns: 1fr 1fr;
    /* 2カラム */
    grid-template-rows: auto;
    grid-template-areas:
      "item1 item1"
      "item2 item3";
  }

  .wagyu-lineup__grid>*:nth-child(1) {
    grid-area: item1;
  }

  .wagyu-lineup__grid>*:nth-child(2) {
    grid-area: item2;
  }

  .wagyu-lineup__grid>*:nth-child(3) {
    grid-area: item3;
  }

  .wagyu-card--large {
    grid-row: span 2;
    height: 260px;
    padding: 10px 1rem;
  }

  .wagyu-card--small {
    height: 130px;
     padding: 10px 0.5rem;
  }
  .wagyu-card__title{
    font-size: 1rem;
    flex: 1;
  }
  .wagyu-card--large .wagyu-card__title{
    font-size: 1.5rem;
  }
   .wagyu-card--large  .wagyu-card__excerpt{
    width: calc(100% - 32px);
    padding-right: 0.5rem;
    font-size: 0.9rem;
    -webkit-line-clamp: 2;
  }
   .wagyu-card--large .wagyu-card__icon{
    width: 32px;
  }
   .wagyu-card--large .wagyu-card__icon img{
        width: 32px;
    height: 32px;
  }
    .wagyu-card--small .wagyu-card__icon{
    width: 20px;
  }
  .wagyu-card--small .wagyu-card__icon img{
        width: 20px;
    height: 20px;
  }
}

/*KNOWLEDGE*/
.wagyu-knowledge {
  width: 100%;
  padding:0 1rem;
  box-sizing: border-box;
}

.wagyu-knowledge__title {
  font-weight: normal;
  font-size: 1.8rem;
  letter-spacing: 0.1rem;
  line-height: 1;
  position: relative;
  display: flex;
  /* ← flexでアイコンとテキストを並べる方法も */
  align-items: start;
  margin: 1rem 0;
}

.wagyu-knowledge__title::before {
  content: "";
  flex-shrink: 0;
  width: 24px;
  height: 16px;
  margin-top: 0;
  margin-right: 6px;
  background: url("../images/frontpage/icon-knowledge.png") no-repeat center center;
  background-size: contain;
}

.knowledge-container {
  width: 100%;
  padding: 1rem 0;
  border-bottom: 1px solid #ccc;
}

.knowledge-content {
  width: 100%;
  background-color: #F5F5F5;
  border-radius: 4px;
  padding: 20px;
  margin-bottom: 1rem;
  box-sizing: border-box;
}

.knowledge-content h3 {
  font-size: 1.5rem;
  font-weight: normal;
  color: #014A36;
}

.theme-cat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1rem;
}

.theme-cat-tag {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid #222;
  border-radius: 9999px;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: #000;
  text-decoration: none;
  transition: all 0.3s ease;
}

.theme-cat-tag:hover {
  background-color: #014A36;
  color: #fff;
  border-color: #014A36;
}

/* 現在のタームページにいるときにアクティブ表示 */
.theme-cat-tag-active {
  background-color: #014A36;
  color: #fff;
  border-color: #014A36;
}

.latest-title {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.1rem;
  line-height: 1;
  color: #014A36;
  position: relative;
  display: flex;
  align-items: start;
  margin-bottom: 1rem;
}

.latest-title::before {
  content: "";
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  margin-right: 4px;
  background: url("../images/frontpage/icon-latest.png") no-repeat center center;
  background-size: contain;
}

.knowledge-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* 4列固定 */
  gap: 30px;
}

@media (max-width: 1024px) {
  .knowledge-grid {
    grid-template-columns: repeat(2, 1fr);
    /* タブレット以下は2列 */
  }
}

@media (max-width: 640px) {
  .knowledge-grid {
    grid-template-columns: 1fr;
    /* スマホは1列 */
  }
}

.knowledge-card {
  overflow: hidden;
  background: #fff;
}

.knowledge-card a {
  font-family: 'Josefin Sans', sans-serif;
  text-decoration: none;
}

/* カードの画像部分 */
.card-thumb {
  position: relative;
  aspect-ratio: 5 / 3;
  overflow: hidden;
}

.card-thumb::before {
  background-image: var(--thumb);
}

.card-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.4s ease;
  z-index: 0;
}

.knowledge-card:hover .card-thumb::before {
  transform: scale(1.05);
}

.card-thumb .category-label {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  background: #fff;
  padding: 5px 10px;
  font-size: 12px;
  color: #014A36;
  border-radius: 20px;
  font-weight: bold;
  display: inline-block;
}

.card-title {
  font-size: 16px;
  font-weight: bold;
  margin: 10px 0 5px;
}

.card-date {
  font-size: 13px;
  color: #888;
}




/*EVENT*/
.wagyu-event {
  width: 100%;
  padding: 0 1rem;
  box-sizing: border-box;
}

.wagyu-event__title {
  font-weight: normal;
  font-size: 1.8rem;
  letter-spacing: 0.1rem;
  line-height: 1;
  position: relative;
  display: flex;
  /* ← flexでアイコンとテキストを並べる方法も */
  align-items: start;
  margin: 1rem 0;
}

.wagyu-event__title::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 21px;
  margin-top: 0;
  margin-right: 8px;
  background: url("../images/frontpage/icon-event.png") no-repeat center center;
  background-size: contain;
}

.event-container {
  width: 100%;
  padding: 1rem 0;
}

.event-content {
  width: 100%;
  background-color: #F5F5F5;
  background-color: #ccc;
  border-radius: 4px;
  padding: 20px;
  margin-bottom: 1rem;
}

.event-content h3 {
  font-size: 1.5rem;
  font-weight: normal;
  color: #014A36;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
  height: auto;
  box-sizing: border-box;
}

.event-card {
  font-family: 'Josefin Sans', sans-serif;
  background: #f5f5f5;
  padding: 1rem 0.8rem;
  border-bottom: 2px solid #014A36;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.event-card:hover {
  background: #dddddd;
}

.event-card a {
  display: block;
  text-decoration: none;
}

.event-card-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.event-title {
  font-size: 1.2rem;
  padding-bottom: 0.5rem;
  font-weight: normal !important;
  color: #014A36;
}

.event-text {
  flex: 1;
  font-size: 1rem;
  min-width: 0;
  color: #999999;
}

.circle-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: background 0.3s, color 0.3s;
  margin-left: 16px;
  flex-shrink: 0;
}

.event-location {
  letter-spacing: 0.05rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
}

.event-location img {
  width: auto;
  height: 14px;
}

@media(max-width:767px) {
  .wagyu-event {
    padding: 0;
  }
  .event-grid {
    grid-template-columns: repeat(1, 1fr);
  }

}

.wagyu-insights {
  width: 100%;
  padding:0 1rem;
  box-sizing: border-box;
}

.insights-container {
  width: 100%;
  padding: 1rem 0;
  border-bottom: 1px solid #ccc;
}

.insights-container .container{
  margin-top: 0;
  padding-top: 0;
}
.wagyu-insights__title {
  font-weight: normal;
  font-size: 1.8rem;
  letter-spacing: 0.1rem;
  line-height: 1;
  position: relative;
  display: flex;
  align-items: start;
  margin: 1rem 0;
}

.wagyu-insights__title::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 21px;
  margin-top: 0;
  margin-right: 8px;
  background: url("../images/frontpage/icon-insights.png") no-repeat center center;
  background-size: contain;
}

.about-sec {
  font-family: 'Josefin Sans', sans-serif;
  width: 100%;
  background-image: url('../images/frontpage/about-bg.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 5rem 1rem;
  box-sizing: border-box;
}

.about-container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 2rem 0;
  text-align: center;
}

.about-container h2 {
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.1rem;
  color: #fff;
  margin-bottom: 3rem;
}

.about-container p {
  width: 80%;
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: left;
  font-size: 1rem;
  line-height: 1.8;
  letter-spacing: 0.1rem;
  color: #fff;
}

.round-button {
  display: inline-block;
  background-color: #fff;
  color: #004029;
  font-size: 24px;
  font-weight: 600;
  padding: 10px 40px 5px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.round-button:hover {
  background-color: #004029;
  color: #fff;
}

@media (max-width:767px){
.about-container p {
  width: 90%;
}
}
/*footer*/
.footer {
  border-top: 1px solid #014A36;
}

.footer-inner {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-content: space-between;
  padding: 3rem 0;
}

.button-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 250px;
}

.icon-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  color: #fff;
  text-decoration: none;
  font-family: 'Noto Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  height: 80px;
  box-sizing: border-box;
}

.icon-button .icon {
  margin-bottom: 5px;
}

.icon-button .icon img {
  width: 20px;
}

/* 緑のボタン */
.icon-button.contact {
  background-color: #014A36;
  border: #014A36 solid 1px;
  font-weight: bold;
  transition: 0.3s ease;
}

.icon-button.contact:hover {
  background-color: #fff;
  color: #014A36;
}

/* 黒のボタン */
.icon-button.signin {
  background-color: #000;
  border: #000 solid 1px;
  font-weight: bold;
  transition: 0.3s ease;
}

.icon-button.signin:hover {
  background-color: #fff;
  color: #000;
}

/* フッターメニュー全体 */
.footer-menus {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  justify-content: space-between;
  /* 追加：余白の分配 */
}

.footer-menu-column {
  flex: 1 1 30%;
  min-width: 200px;
  /* 追加：狭すぎて潰れないように */
}

/* メニューリスト全体（ul） */
.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 親メニュー（h2など） */
.footer-menu>li>a {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 12px;
  display: inline-block;
  text-decoration: none;
  color: #000;
}

/* 子メニューリスト（ul） */
.footer-menu li ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

/* 子メニュー（li） */
.footer-menu li ul li {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
}

/* 子メニューの「—」 */
.footer-menu li ul li::before {
  content: '—';
  margin-right: 8px;
  color: #014A36;
  flex-shrink: 0;
}

/* 子メニューリンク */
.footer-menu li ul li a {
  font-size: 14px;
  color: #000;
  text-decoration: none;
}

.footer-menu li ul li a:hover {
  color: #014A36;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .footer-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    padding: 3rem 0;
  }
      .site-title a,.site-title p {
        display: inline;
      }
   .footer-menus {
    display: none;
   }
   .button-group{
    display: none;
   }
  /* .footer-menus {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    grid-template-areas:
      "col1 col3"
      "col2 .";
    gap: 20px;
    padding: 10px 0;
    justify-items: center;
  } */

  /* .footer-menu-column {
    flex: none;
    min-width: unset;
    width: 100%;
  }

  .footer-menu-column:nth-child(1) {
    grid-area: col1;
  }

  .footer-menu-column:nth-child(2) {
    grid-area: col2;
  }

  .footer-menu-column:nth-child(3) {
    grid-area: col3;
  }

  .button-group {
    width: 100%;
    flex-direction: row;
    margin-bottom: 2rem;
  }

  .icon-button {
    width: 50%;
  } */
}


/* パンくず */
.breadcrumbs {
  background-color: #014A36;
  color: #fff;
  padding: 0.5rem 1rem 0.4rem;
  font-family: 'Josefin Sans', 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN',
             'Yu Gothic', 'YuGothic', 'Meiryo', sans-serif;
}

.breadcrumbs-inner {
  max-width: 1360px;
  margin: 0 auto;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.1rem;
}

.breadcrumbs-inner a {
  text-decoration: none;
  color: #fff;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.breadcrumbs-inner a:hover {
  text-decoration: none;
  border-bottom: 1px #fff solid
}

/* アーカイブ */
.cat-archive {
  margin-top: 70px;
  padding: 0 0 3rem;
  box-sizing: border-box;
}

.cat-name {
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.1rem;
}

.theme-cat-tags .theme-cat-tag.current-term {
  background-color: #014A36;
  /* 緑（hoverと同じ色に合わせてOK） */
  color: #fff;
  pointer-events: none;
  /* 現在のタームはクリックできなくする場合は有効 */
}

.theme-cat-tags .theme-cat-tag.current-term:hover {
  background-color: #014A36;
  /* hover時も色が変わらないように */
  color: #fff;
}

.category-content {
  width: 100%;
  max-width: 1200px;
  margin: 1rem auto;
}

.taxonomy-description {
  font-size: 1rem;
  letter-spacing: 0.05rem;
  line-height: 1.6;
  padding: 1rem 0;
}

.cat-archive .wagyu-container {
  margin-top: 3rem;
}

/* ページネーション */
.pagination {
  text-align: center;
  margin: 30px 0;
}

.pagination ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.pagination li {
  display: inline-block;
}

.pagination .page-numbers {
  display: inline-block;
  color: #0d3b2e;
  /* 深いグリーン */
  text-decoration: none;
  font-size: 1rem;
  line-height: 1;
  padding: 0.5rem 0.4rem;
  transition: color 0.3s ease;
  border: none;
}

.pagination .page-numbers:hover {
  color: #0d3b2e;
}

.pagination .page-numbers.current {
  border: 1px solid #0d3b2e;
  border-radius: 9999px;
  /* pill型 */
  background-color: transparent;
  color: #0d3b2e;
  padding: 0.5rem 0.4rem;
}

.pagination .prev.page-numbers,
.pagination .next.page-numbers {
  border: none;
  padding: 0;
  font-size: 0.8rem;
  line-height: 1;
}

.insights-content {
  width: 100%;
  border-radius: 4px;
  padding: 20px;
  margin-bottom: 1rem;
  box-sizing: border-box;
}

/* 目次 */
.toc {
  background-color: #f4f4f4;
  padding: 20px;
  margin-bottom: 30px;
}

.toc-title {
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-size: 14px;
  letter-spacing: 0.05em;
}

.toc-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.toc-list>li {
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 5px;
}

.toc-list li a {
  color: #0d3b2e;
  text-decoration: none;
  transition: color 0.3s ease;
}

.toc-list li a:hover {
  text-decoration: underline;
}

.toc-list ul {
  list-style: disc;
  margin: 5px 0 0 20px;
  /* H3以下のインデント */
  padding-left: 15px;
}

.toc-list ul li {
  font-weight: normal;
  margin: 4px 0;
  line-height: 1.4;
}

/* 投稿 */
.single-container {
  max-width: 1120px;
  margin: 0 auto;
  padding-top: 2rem;
  padding-bottom: 4rem;
  box-sizing: border-box;
}

.single-container h2,
.single-container h3,
.single-container h4,
.single-container h5 {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  border: none;
  background: none;
  font-family: 'Josefin Sans', sans-serif !important;
}

.single-container h2 {
  font-size: 1.8rem;
  color: #014A36;
  font-weight: normal;
  letter-spacing: 0.08rem;
  margin-bottom: 1rem;
}

.single-container h3 {
  font-size: 1.4rem;
  color: #000;
  font-weight: bold;
  letter-spacing: 0.08rem;
  margin-bottom: 0.5rem;
}

.single-container h4 {
  font-size: 1.2rem;
  color: #000;
  font-weight: bold;
  letter-spacing: 0.05rem;
  margin-bottom: 0.3rem;
}

.single-container h5 {
  font-size: 1rem;
  color: #000;
  font-weight: bold;
  letter-spacing: 0.05rem;
}

.single-container .article-main {
  font-size: 1rem;
  color: #000;
  font-weight: normal;
  letter-spacing: 0.05rem;
  line-height: 1.8;
  font-family: 'Lato', 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN',
             'Yu Gothic', 'YuGothic', 'Meiryo', sans-serif;
}

/* 投稿_著者 */
.article-author-box {
  display: flex;
  border: 1px solid #0d3b2e;
  padding: 20px;
  margin-top: 40px;
  align-items: flex-start;
  gap: 20px;
}

.author-image img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 0;
  /* 画像は四角形 */
}

.author-details {
  flex: 1;
}

.author-label {
  font-size: 12px;
  text-transform: uppercase;
  color: #0d3b2e;
  margin-bottom: 4px;
  letter-spacing: 0.05em;
}

.author-name {
  font-size: 18px;
  font-weight: 700;
  color: #0d3b2e;
  margin-bottom: 10px;
}

.author-bio {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}


/* イベント記事 */

.event-container {
  margin: 0 auto;
  
}

.event-thumbnail img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid #ddd;
}

.event-header {
  margin-top: 24px;
  margin-bottom: 24px;
  border-bottom: #014A36 1px solid;
}

.event-container .event-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.event-container .event-period {
  font-size: 1.1rem;
  color: #014A36;
  margin-bottom: 0.5rem;
}

.event-container .event-location {
  font-size: 1rem;
  color: #014A36;
  margin-bottom: 1rem;
}

.event-container .event-content {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 40px;
  padding: 0;
  background: none;
}

.event-overview {
  border-top: 1px solid #0d3b2e;
  padding-top: 20px;
}

.event-overview h2 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: 0.05em;
}

.event-overview table {
  width: 100%;
  border-collapse: collapse;
}

.event-overview th {
  width: 25%;
  text-align: left;
  font-weight: 700;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
  vertical-align: top;
}

.event-overview td {
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}

.event-overview a {
  color: #007a3d;
  text-decoration: underline;
}

/* lineup記事 */
.article-head {
  width: 100%;
  max-width: 1360px;
  margin: 2rem auto 0;
  box-sizing: border-box;
}

.title-box {
  width: 100%;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  padding: 1rem 0;
}

.title-box h1 {
  margin: 0;
  font-size: 2rem;
  letter-spacing: 0.05rem;
  font-weight: normal;
}

.title-box .article-cat a {
  font-size: .875rem;
  line-height: 1;
  letter-spacing: 0.05rem;
  display: inline-block;
  margin-right: 0 !important;
  padding: .375rem 1rem .275rem !important;
  border-radius: 1rem;
  text-decoration: none;
  color: #fff;
  background-color: #014A36 !important;
}

.lineup-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  align-items: stretch;
}

.gallery-left img {
  width: 100%;
  height: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
}

/* 右側4枚のグリッド */
.gallery-right {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 0.5rem;
}

.gallery-right img {
  width: 100%;
  height: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
}

/* スマホ時：縦並び */
@media (max-width: 768px) {
  .lineup-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-right {
    grid-template-columns: repeat(2, 1fr);
  }
  .article-head{
    padding: 0 1rem;
    box-sizing: border-box;
  }
  .title-box{
    flex-direction: column-reverse;
    align-items:flex-start;
    justify-content: flex-start;
  }
  .wagyu-container,
  .single-container {
  padding: 1rem;
}
.article-author-box {
  flex-direction: column;
}
}

/* サイドバー */

.sidebar-box {
  background: #fff;
  border: 1px solid #d9c6a0;
  padding: 20px;
  margin-bottom: 30px;
}

.sidebar-title {
  font-weight: normal !important;
  color: #BA7B00 !important;
  font-size: 1.6rem !important;
  line-height: 1.4 !important;
  letter-spacing: 0.05rem !important;
  margin-bottom: 10px !important;
  border-bottom: none !important;
}

.sidebar-text {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #999999;
  margin-bottom: 20px;
}

/* ===== ボタン部分 ===== */
.sidebar-buttons a {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 5px;
  padding: 15px 10px 10px;
  margin-bottom: 10px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 15px;
  box-sizing: border-box;
}

.btn-outline {
  border: 1px solid #BA7B00;
  color: #BA7B00;
  background: transparent;
}

.btn-outline:hover {
  background: #BA7B00;
  color: #fff;
}

.btn-filled {
  background: #BA7B00;
  color: #fff;
  border: 1px solid #BA7B00;
}

.sidebar-icon-connect {
  width: auto !important;
  height: 16px !important;
}

.sidebar-icon-wagyu {
  width: auto !important;
  height: 16px !important;
  margin-top: 2px;
}

.btn-filled:hover {
  background: #fff;
  color: #BA7B00;
}

/* ===== lineupボタン部分 ===== */
.sidebar-lineup .sidebar-buttons a {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 5px;
  padding: 15px 10px 10px;
  margin-bottom: 10px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 15px;
  box-sizing: border-box;
}

.sidebar-lineup .btn-outline {
  border: 1px solid #014A36;
  color: #014A36;
  background: transparent;
}

.sidebar-lineup .btn-outline:hover {
  background: #014A36;
  color: #fff;
}

.sidebar-lineup .btn-filled {
  background: #014A36;
  color: #fff;
  border: 1px solid #014A36;
}

.sidebar-lineup .sidebar-icon-connect {
  width: auto !important;
  height: 16px !important;
}

.sidebar-lineup .sidebar-icon-wagyu {
  width: auto !important;
  height: 16px !important;
  margin-top: 2px;
}

.sidebar-lineup .btn-filled:hover {
  background: #fff;
  color: #014A36;
}


/* ===== 関連記事 ===== */
.recent-events {
  border: none;
  padding: 0;
}

.recent-title {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 14px;
}

.recent-events ul {
  list-style: disc;
  padding-left: 20px;
}

.recent-events li {
  margin-bottom: 5px;
  border-bottom: none;
}

.recent-events a {
  text-decoration: none;
  color: #014A36;
  font-size: 14px;
  transition: color 0.3s ease;
}

.recent-events a:hover {
  color: #000;
  border-bottom: #000 1px solid;
}

/* 共通固定ページ */
.page-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}
@media (max-width:768px){
  .page-container {
    padding:0 1rem;
  }
}

.page-container .article-main {
  font-size: 1rem;
  letter-spacing: 0.05rem;
  line-height: 1.8;
}

.wp-block-heading {
  font-weight: normal;
}

/* about */
.about-head-sec {
  width: 100%;
}

.about-title {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
  box-sizing: border-box;
}

.wagyu-about__title {
  font-weight: normal;
  font-size: 1.8rem;
  letter-spacing: 0.1rem;
  line-height: 1;
  position: relative;
  display: flex;
  align-items: start;
  margin: 1rem 0;
}

.wagyu-about__title::before {
  content: "";
  flex-shrink: 0;
  width: 24px;
  height: 20px;
  margin-top: 1px;
  margin-right: 8px;
  background: url("../images/icon-wagyu-gr.png") no-repeat center center;
  background-size: contain;
}

.about-header {
  width: 100%;
  height: 450px;
  padding: 1rem;
  background: url("../images/about/about-header-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-header-inner {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}

.about-header-inner h3 {
  font-size: 2rem;
  color: #fff;
  font-weight: normal;
  letter-spacing: 0.1rem;
  margin-bottom: 1.5rem;
}

.about-header-inner p {
  line-height: 2;
  letter-spacing: 0.1rem;
  text-align: left;
}

.about-headline {
  width: 100%;
  text-align: center;
  padding: 3rem 0;
}

.about-headline h3 {
  font-size: 1.8rem;
  font-weight: normal;
  letter-spacing: 0.1rem;
}

.about-contents-sec {
  width: 100%;
  padding: 1rem;
  box-sizing: border-box;
  margin-bottom: 4rem;
}

.contents-grid {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  justify-content: center;
}

.content-box {
  max-width: 540px;
  background: #F5F5F5;
  padding: 3rem 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
  margin: 0 auto;
}

.content-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 2rem;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.content-icon .icon-support {
  width: 70px;
  height: 53px;
}

.content-icon .icon-knowledge {
  width: 60px;
  height: 60px;
}

.content-box h4 {
  font-size: 1.5rem;
  font-weight: normal;
  color: #006b5c;
  margin-bottom: 1.5rem;
  letter-spacing: 0.1rem;
}

.content-box p {
  font-size: 1rem;
  letter-spacing: 0.05rem;
  line-height: 2;
  text-align: left;
  color: #555;
  word-wrap: break-all;
}

.about-feature-sec {
  width: 100%;
  padding: 1rem;
  box-sizing: border-box;
  margin-bottom: 4rem;
}

.feature-contents {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.feature-item {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 2rem;
  display: flex;
  flex-direction: row;
  box-sizing: border-box;
}

.feature-item:nth-child(2) {
  flex-direction: row-reverse;
}

.feature-text {
  width: calc(50% - 3rem);
}

.feature-text h4 {
  font-size: 2rem;
  font-weight: normal;
  color: #006b5c;
  margin-bottom: 3rem;
  letter-spacing: 0.1rem;
}

.feature-text p {
  font-size: 1rem;
  letter-spacing: 0.05rem;
  line-height: 2;
}

.feature-space {
  width: 3rem;
}

.feature-image {
  width: 50%;
}

.about-usage-flow-sec {
  width: 100%;
  padding: 4rem 1rem 5rem;
  background-color: #F5F5F5;
  box-sizing: border-box;
}

.about-usage-flow-sec h2 {
  text-align: center;
  font-size: 1rem;
  letter-spacing: 0.2em;
  margin-bottom: 60px;
  color: #111;
}

.flow-container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  background: #fff;
  padding: 60px 40px;
  border-radius: 4px;
  box-sizing: border-box;
  position: relative;
}

.flow-container::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 15px;
  width: 3px;
  background-color: #014A36;
}

.flow-item {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 1rem 0;
  margin-bottom: 2rem;
}
.flow-item.mb-0{
  margin-bottom: 0;
}

.flow-number {
  font-size: 3rem;
  font-weight: normal;
  color: #014A36;
  flex: 0 0 60px;
  line-height: 1;
}

.flow-content {
  flex: 1;
}

.flow-content h3 {
  font-size: 1.6rem;
  font-weight: normal;
  color: #014A36;
  margin: 0.5rem 0 1rem 0;
}

.flow-content p {
  font-size: 1rem;
  line-height: 2;
  color: #555;
  margin: 0;
}

.about-contact-sec {
  background-color: #014A36;
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}

.contact-inner {
  max-width: 800px;
  margin: 0 auto;
}

.contact-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 25px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon img {
  width: 25px;
  height: 20px;
}

.about-contact-sec h2 {
  font-size: 2.5rem;
  color: #fff;
  letter-spacing: 0.05em;
  margin-bottom: 25px;
  font-weight: normal;
}

.about-contact-sec p {
  font-size: 1rem;
  line-height: 2;
  color: #fff;
  margin-bottom: 40px;
}

.contact-btn {
  display: inline-block;
  padding: 10px 40px 8px;
  border: 1px solid #fff;
  border-radius: 25px;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.contact-btn:hover {
  background-color: #fff;
  color: #014A36;
}

@media(max-width:767px){
.about-title {
  padding: 0 1rem 1rem;
}

.wagyu-about__title {
  font-size: 1.5rem;
  letter-spacing: 0.05rem;
}
.wagyu-about__title::before {
  margin-top: 0;
  margin-right: 6px;
}

.feature-contents {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  flex-direction: column;
}
.feature-item:nth-child(2) {
  flex-direction: column;
}

.feature-text {
  width: 100%;
}

.feature-text h4 {
  font-size: 2rem;
  font-weight: normal;
  color: #006b5c;
  margin-bottom: 1rem;
  letter-spacing: 0.1rem;
}

.feature-text p {
  font-size: 1rem;
  letter-spacing: 0.05rem;
  line-height: 2;
}

.feature-space {
  width: 100%;
  height: 1rem;
}

.feature-image {
  width:100%;
}

.about-contact-sec p {
  text-align: left;
}

.flow-item {
  display: flex;
  flex-direction: column;
  gap:0;
}
.flow-number {
  font-size: 3rem;
  font-weight: normal;
  color: #014A36;
  flex:1;
  line-height: 1;
}

.flow-content {
  flex: 1;
}

.flow-content h3 {
  font-size: 1.6rem;
  font-weight: normal;
  color: #014A36;
  margin: 0 0 1rem;
}

.flow-content p {
  font-size: 1rem;
  line-height: 2;
  color: #555;
  margin: 0;
}
}


/* コンタクトフォーム */
.contact-form {
  background: #f7f7f7;
  padding: 60px 80px;
  max-width: 800px;
  margin: 0 auto;
  box-sizing: border-box;
}

.contact-form p{
  padding: 0;
  margin: 0;
}

.contact-form label {
  display: block;
  font-size: 15px;
  margin-bottom: 8px;
  color: #333;
}
.contact-form  .required{
  color:#f00;
}
.contact-form .input-text,
.contact-form textarea {
  width: 100%;
  border: 1px solid #ccc;
  padding: 10px 14px;
  font-size: 15px;
  border-radius: 2px;
  background: #fff;
  margin-bottom: 25px;
  box-sizing: border-box;
}

.contact-form .input-text:focus
.contact-form textarea:focus {
  border-color: #005847;
  outline: none;
}

.contact-form .policy-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 20px 0 30px;
  font-size: 14px;
}

.contact-form a {
  color: #005847;
  text-decoration: underline;
}

.submit-area{
  width: 100%;
  text-align: center;
}
.submit-button {
  background-color: #005847;
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 10px 50px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.3s;
  margin: 0 auto;
}

.submit-button:hover {
  background-color: #003f33;
}

.wpcf7-spinner{
  display: none;
}

@media (max-width:768px){
  .contact-form {
  background: #f7f7f7;
  padding: 2rem 1rem;
  max-width: 95%;
  margin: 0 auto;
}
.contact-form .policy-check {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 20px 0 30px;
  font-size: 12px;
}
}

.country-search-box{
  margin-top: 2rem;
}
.country-search {
  display: flex;
  align-items: center;
  border: 2px solid #1f4c3a;
  padding: 6px 10px;
  max-width: 350px;
  margin: 0 auto;
  background: #fff;
}

.country-search input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 18px;
  padding: 8px;
  letter-spacing: 0.05em;
}

.country-search button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #1f4c3a;
  transition: opacity 0.2s ease;
}

.country-search button:hover {
  opacity: 0.7;
}

#country-result {
  text-align: center;
  font-size: 18px;
}

.country-result-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: #f2f2f2;
}

.country-result-card img.flag {
  width: 40px;
  height: auto;
  border: 1px solid #ccc;
}

.country-result-card .name {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.05em;
}

.country-result-card .status {
  margin-left: 8px;
  font-size: 16px;
}

.country-result-card.available .status {
  color: green;
}

.country-result-card.not-available .status {
  color: red;
}

/* buying guide */
.export-countries-sec{
  padding: 2rem 1rem 6rem;
  box-sizing: border-box;
}
.export-countries-sec .wagyu-container{
  max-width: 1200px;
}
.export-content{
  font-size: 1rem;
  letter-spacing: 0.05rem;
  line-height: 2;
}
.export-countries{
  width: 100%;
  display: flex;
  flex-direction: row;
   gap:3rem;
   margin: 3rem 0 2rem;
}
.export-countries-map{
  width: 60%;
}
.export-countries-map img{
  width: 100%;
}
.export-countries-info{
  flex: 1;
  text-align: center;
}
.export-countries-info label{
  font-size: 1.2rem;
  letter-spacing: 0.05rem;
  color:#014A36;
  text-decoration: underline;
  margin-bottom: 0.5rem;
}

.export-countries-info p{
  font-size: 1rem;
  letter-spacing: 0.05rem;
  line-height: 2;
}

.export-countries-list{
   width: 100%;
   padding: 2rem 0;
}
.export-countries-list div{
   width: 100%;
   padding: 1rem 0;
   border-bottom: 1px solid #ddd;
   margin-bottom: 1rem;
}

.export-countries-list label{
  font-size: 1.1rem;
  letter-spacing: 0.05rem;
  color: #fff;
  padding: 6px 5px 3px;
  background-color: #014A36;
}
.export-countries-list p{
  font-size: 1rem;
  letter-spacing: 0.05rem;
  line-height: 1.8;
  margin-top: 0.5rem;
}

.export-countries-sec .halal{
  padding: 1rem 0;
}

.export-countries-sec .halal h4{
  font-size: 1.4rem;
  font-weight: normal;
  letter-spacing: 0.1rem;
  text-decoration: underline;
  color: #014A36;
}

.export-countries-sec .halal p{
  font-size: 1rem;
  letter-spacing: 0.05rem;
  line-height: 1.8;
  margin-top: 0.5rem;
}

/* FAQ */
.faq {
  max-width: 1100px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #ddd;
  margin-bottom: 10px;
}

.faq-question {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 16px 20px;
  cursor: pointer;
  transition: background 0.4s ease;
}

.faq-question:hover {
  background: #eee;
}

.faq-label {
  font-weight: normal;
  color: #014A36;
  font-size: 20px;
  margin-right: 12px;
  flex-shrink: 0;
}

.faq-text {
  margin: 0;
  color: #333;
  line-height: 1.6;
}

.faq-answer {
  display: none;
  padding: 16px 20px 32px;
  background: #fff;
}

.faq-item.active .faq-answer {
  display: flex;
}
@media (max-width: 768px) {
.wagyu-lineup__title,
.wagyu-knowledge__title,
.wagyu-event__title,
.wagyu-insights__title{
  font-size: 1.4rem;
  letter-spacing: 0.05rem;
}
}
/* ========== スマホ用：アコーディオン付きタグリスト ========== */
@media (max-width: 768px) {
  .knowledge-content {
    position: relative;
  }

  .theme-cat-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    overflow: hidden;
    max-height: 5rem; /* ← ここが「2行ぶん」相当 */
    transition: max-height 0.4s ease;
  }

  /* 開いた状態 */
  .theme-cat-tags.open {
    max-height: 100vh; /* 全部見えるように */
  }

  /* フェードアニメ（任意） */
  .theme-cat-tags a {
    transition: opacity 0.3s ease;
  }

  /* タイトル部分 */
  .accordion-title {
    position: relative;
    cursor: pointer;
    padding-right: 1.5rem;
  }

  .accordion-title::after {
    content: "＋";
    position: absolute;
    right: 0;
    top: 0;
    color: #014A36;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
  }

  .accordion-title.active::after {
    content: "−";
  }

  /* 「グラデーションで切れてる」ような見た目を演出 */
  .theme-cat-tags::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2rem;
    /* background: linear-gradient(to bottom, rgba(255,255,255,0), #fff); */
    pointer-events: none;
    transition: opacity 0.3s;
  }

  /* 開いたときはフェードを消す */
  .theme-cat-tags.open::after {
    opacity: 0;
  }
}

/* 404 */
.error-404 {
  text-align: center;
  padding: 80px 20px;
}

.error-title {
  font-size: 48px;
  margin-bottom: 20px;
}

.error-message {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.error-actions .btn {
  display: inline-block;
  padding: 12px 32px;
  background: #000;
  color: #fff;
  text-decoration: none;
}