/* ===================== 共通 ===================== */
*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  --green-main: #7fbf3b;
  --green-dark: #5e9a23;
  --green-light: #e4f5cf;
    --yellow-dark: #888400;
  --bg-page: #f4f7e9;
  --text-main: #333;
  --text-muted: #aaa;
  --panel-boder:#cccccc;
  --radius-lg: 14px;
  --shadow-card: 0 2px 6px rgba(0,0,0,.12);
  --suiden-main:#cece2c;
  --suiden-boder:#afaa00;
  --hatachi-main:#66b512;
  --hatachi-boder:#3d7200;
  --dot-color:#61b500;
  --aco-hatachi:#048835;
  --aco-suiden:#c2a800;
}

body {
  margin: 0;
  font-size: 17px; /* 全体を少し大きめに */
  /*font-family:
    "Hiragino Kaku Gothic Pro",
    "ヒラギノ角ゴ Pro W3",
    "Meiryo",
    "メイリオ",
    "MS PGothic",
    "MS Pゴシック",
    "Osaka",
    sans-serif !important;*/
  background:#ffffff;
  color: var(--text-main);
  line-height: 1.7;
}

/* メニュー表示中は背景スクロール禁止 */
body.no-scroll {
  overflow: hidden;
}

/* 防除セクション：背景だけ横いっぱいにする */
.back_green {
  position: relative;
  z-index: 0;
  padding: 1rem 0;
}

/* 背景用の帯（中身は.page-main幅のまま） */
.back_green::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;      /* 画面幅いっぱい */
  height: 100%;      /* セクションの高さと同じ */
  background: var(--bg-page);  /* 好きな緑系に変更OK */
  z-index: -1;       /* カードの裏側に敷く */
}

img {
  max-width: 100%;
  height: auto;
  display: block;
    -webkit-touch-callout: none; /* iOS 長押しメニュー抑止（効かない場合もある） */
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
}
hr.title-under {
  border: none;             /* デフォルト線を消す */
  border-top: 1.5px solid #333;  /* 太さ 2px の線を描く（色はお好みで） */
  width: 200px;              /* 幅 15vw */
  margin-top: -20px;        /* 上のマージン調整 */
  margin-left: 0;           /* 左寄せ */
}
hr.title-under-long {
  border: none;             /* デフォルト線を消す */
  border-top: 1.5px solid #333;  /* 太さ 2px の線を描く（色はお好みで） */
  width: 400px;              /* 幅 15vw */
  margin-top: -20px;        /* 上のマージン調整 */
  margin-left: 0;           /* 左寄せ */
}

.sp-br{
  display: none;
}
.dot-color{
  color: var(--dot-color);
}

.page-root {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 16px 0;
    /* font-family: "Noto Sans JP", sans-serif; */
}

#bojoRoot, #hanreiRoot {
  padding-bottom: 16px;
}

/* ===================== ヘッダー ===================== */
/* ヘッダー本体 */
.site-header {
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* 中身を少し厚めにする */
.site-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: .8rem 1.2rem;      /* ← ここを増やして高さアップ */
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding-right: 5rem;         /* ロゴ分の余白はそのまま */
}

/* ロゴを右上に固定 */
.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  position: absolute;        /* ★ 流れから外す */
  right: 1rem;               /* 右端に寄せる */
  top: 50%;
  transform: translateY(-50%);
}

/* brand-area側にはロゴ分の隙間が要らないので、gapを少し小さくしてOK */
.brand-area {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}


.brand-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: #374151;
  text-decoration: none;

}

.nav-links {
  display: flex;
  gap: 1.6rem;
  font-size: 0.95rem;
  align-items: center;
  margin-right: 50px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 700;
}

.nav-links a:hover {
  text-decoration: underline;
}

/* ヘッダー内検索ボックス */
.nav-search {
  display: none;          /* PCのみ表示 → @media で display:block 済み */
  /*margin-left: 1.5rem;*/
  position: relative;     /* ボタンのabsolute基準 */
}

/* 入力欄 */
.nav-search input {
  padding: 0.4rem 2.4rem 0.4rem 0.8rem;  /* 右側を広めに → ボタン用スペース */
  border-radius: 999px;
  border: 1px solid #ddd;
  font-size: 0.85rem;
  width: 190px;
}

/* 右側の虫眼鏡ボタン */
.nav-search-btn {
  position: absolute;
  top: 50%;
  right: 0.25rem;
  transform: translateY(-50%);
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: none;
  background: var(--green-main);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
  padding: 0;
  border: 3px solid var(--green-dark);
}

.nav-search-btn i {
  font-size: 0.8rem;
}

.nav-search-btn:hover {
  background: var(--green-dark);
}

/* 通常状態 */
.hamburger {
  border: none;
  background: transparent;
  padding: 0.4rem 0.2rem;
  font-size: 1.2rem;
  cursor: pointer;
  color: #111;
}

/* メニューオープン時（×の丸ボタン） */
.hamburger.is-open {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #333;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
/* ハンバーガーアイコンのサイズ変更 */
.js-side-cat img {
  width: 28px;    /* 好みのサイズへ変更 */
  height: auto;
}

/* モバイル時：メニューを開いた状態 */
.nav-links.is-open {
  position: absolute;
  inset: 3.1rem 0 auto 0;
  background: #fff;
  border-bottom: 1px solid #ddd;
  padding: 0.75rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* ===================== ヒーロー（FV） ===================== */
.hero {
  position: relative;
  color: #fff;

  /* 背景画像（PC・タブレット用のデフォルト） */
  background-image: url("../img/top_01.png");
  background-position: center right;
  background-repeat: no-repeat;
  background-size: cover;  /* ← 広い画面では大きく表示 */
}

/* 緑の斜めパネルを上に乗せる */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #6fb332 0%, #7fbf3b 100%);
  /* 斜めカット：左全面＋右側を斜めに落とす */
  clip-path: polygon(0 0, 72% 0, 58% 100%, 0 100%);
  /* 少しだけ透明にして写真をうっすら透かすなら */
  opacity: 0.85;
  z-index: 10;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.2rem 1.5rem 2.6rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: center;
  min-height: 220px;     /* 高さが潰れないように */
  position: relative;    /* テキストを::beforeより前面に */
  z-index: 20;
}

.hero-title-main {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.hero-sub {
  font-size: 1.05rem;
}
/* ==== ヒーロー背景スライダー ==== */
.hero-slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;           /* ::before(緑パネル) より下・hero-innerより下 */
}

.hero-slider-track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.8s ease-in-out; /* スライドの動き */
}

.hero-slider-slide {
  flex: 0 0 100%;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

/* ===================== パンくず ===================== */
.breadcrumb-wrap {
  background: #f9faf3; /* ほんの少しだけ色を変えて帯にする */
  border-bottom: 1px solid #e3e6d6;
}

.breadcrumb-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.breadcrumb-link {
  color: var(--green-dark);
  text-decoration: none;
}

.breadcrumb-link:hover {
  text-decoration: underline;
}

.breadcrumb-sep {
  color: #bbb;
}

.breadcrumb-current {
  color: var(--text-main);
}
 
@media (min-width: 768px) {
  .breadcrumb-inner {
    padding: 0.6rem 2rem;
    font-size: 0.9rem;
  }
  /* #sideMenu,
  #navOverlay {
    display: none !important;
  } */
}

/* 修正後：1040px以上でサイドメニューを非表示に */
@media (min-width: 1040px) {
  #sideMenu,
  #navOverlay {
    display: none !important;
  }
}
/* ===================== メイン ===================== */
.page-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.2rem 1rem 2rem;
  padding-bottom: 0;
}

.card-panel-zkan {
  background: var(--bg-page);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 1.3rem;
  margin-bottom: 1.8rem;
  border: 0.1px solid var(--panel-boder);
}

.card-panel {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 1.3rem;
  margin-bottom: 1.8rem;
    border: 0.1px solid var(--panel-boder);

}

.section-heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.section-heading::before {
    content: "";
    width: 0.5rem;
    height: 1.6rem;
    background: var(--green-dark);
    border-radius: 2px;
    /*margin-bottom: 3px;*/
}

.panel-caption {
font-size: 1.2rem;
  margin: 0 0 0.5rem;
  font-weight: 700;
}

/* ===================== 雑草図鑑ボタン ===================== */
.weed-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
  margin: 0.7rem 0 1.1rem;
}

.weed-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 20px;
  background: var(--green-main);
  color: #fff;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 2px 3px rgba(0,0,0,.16);
  border: 3px solid var(--green-dark); /* 縁をしっかり */
}

.weed-btn-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgb(255, 255, 255);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.weed-btn-main {
  display: block;
  font-weight: 700;
  font-size: 1.5rem;   /* 大きく */
  text-align: left;    /* 左揃え */
}

.weed-btn-sub {
  display: block;
  font-size: 0.9rem;     /* 少し小さめ */
  text-align: left;    /* 左揃え */
  opacity: 0.95;
}


/* ===================== キーワード検索 ===================== */
.keyword-search {
  margin-top: 0.5rem;
}

.keyword-label {
    font-size: 1.2rem;
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.keyword-input-wrap {
  position: relative;
  border-radius: 999px;
  border: 1px solid #ccc;
  padding: 0.9rem 0.55rem;
  background: #fafafa;
  display: flex;
  align-items: center;
}


.keyword-input-wrap span {
  font-size: 1rem;
  opacity: 0.7;
}

.keyword-input-wrap input {
  border: none;
  outline: none;
  font-size: 0.95rem;
  width: 100%;
  background: transparent;
  padding-right: 2.2rem; /* ボタンがかぶらないように少し余裕 */
}
/* 右側の虫眼鏡ボタン */
.keyword-search-btn {
  position: absolute;
  top: 50%;
  right: 0.35rem;
  transform: translateY(-50%);
    width: 35px;
    height: 35px;
  border-radius: 50%;
  border: none;
  background: var(--green-main);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
  padding: 0;
  margin-right: 5px;
  border: 3px solid var(--green-dark);
}

.keyword-search-btn i {
  font-size: 0.9rem;
}

.keyword-search-btn:hover {
  background: var(--green-dark);
}
/* ===================== 防除の考え方 ===================== */
.section-block {
  margin-bottom: 1.8rem;
      margin-bottom: 0;
}

.weed-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.weed-item {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 0.9rem 0.9rem 1rem;
  display: flex;
  flex-direction: row;
  gap: 3rem;
align-items: center;
  border: 0.1px solid var(--panel-boder);

}

.weed-thumb {
  flex: 0 0 34%;
  max-width: 160px;
  border-radius: 12px;
  overflow: hidden;
}

.weed-content {
  text-align: left;  /* 念のため左揃えを明示 */
  display: flex;
    flex-direction: column;
}

/* weed内の「詳細を見る」ボタンだけ中央寄せ */
.weed-content .btn-more {
  display: block;              /* ブロック要素にして */
  width: fit-content;          /* ボタン幅は中身にフィット */
  margin: 0.2rem auto 0;       /* 左右 auto で中央寄せ */
}


.weed-title {
  font-weight: 700;
  margin-bottom: 0.3rem;
  font-size: 1.02rem;
}

.weed-desc1 {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0.25rem 0 0.6rem;
}
.weed-desc2 {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0.25rem 0 0.6rem;
}

/* 詳細ボタン */
.btn-more {
  display: inline-flex;         /* テキストとアイコンを横並びに */
  align-items: center;
  gap: 0.4rem;                  /* 文字と▶の間の余白 */
  padding: 0.3rem 1.1rem;
  border-radius: 999px;
  background: var(--green-main);
  color: #fff;
  font-size: 0.9rem;
  text-decoration: none;
  border: 3px solid var(--green-dark);
  cursor: pointer;
}

/* 右側に▶アイコンを付ける */
.btn-more::after {
  content: "▶";
  font-size: 0.7rem;
  margin-left: 5px;
}


/* ===================== コラム ===================== */
.column-list {
  margin-top: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.9rem;
}

.column-row {
  display: grid;
  grid-template-columns: 90px 110px 1fr;
  align-items: center;
  gap: 0.8rem;
  padding: 0.55rem 0.2rem;
  border-bottom: 1px solid #e4e4e4;
}

.btn-column {
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  border: 3px solid var(--green-dark); /* 縁 */
  color: var(--green-dark);
  background: #fff;
  font-size: 0.9rem;
  cursor: pointer;
}

.column-date {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.column-title {
  font-size: 0.9rem;
}

/* ===================== フッター ===================== */
.site-footer {
  margin-top: 2.5rem;
  background: #5a9c2a;
  color: #fff;
  font-size: 0.8rem;
  padding: 1.3rem 1rem 1.6rem;
  margin-top: 0rem;
}

.footer-inner {
    max-width: 465px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  margin-bottom: 1rem;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
}

.footer-copy {
  opacity: 0.9;
}
.sp-br{
    display: none;
}

/* ====== フッターリンク（／区切りで横並び） ====== */
#footer {
  padding: 16px 0 24px;
  font-size: 0.85rem;
  color: #ffffff;  /* 好きな色に調整してください */
}

#footer .footerNav {
  text-align: center;
}

#footer .footerNav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;   /* 横並び＋中央寄せ */
  flex-wrap: wrap;        /* 幅が足りないときは折り返す */
  justify-content: center;
  gap: 0.35rem;
}

#footer .footerNav li {
  position: relative;
  white-space: nowrap;    /* 単語ごとに折り返したくない場合 */
}




#footer .footerNav a:hover {
  text-decoration: underline;
}

/* コピーライトは少し下に */
#footer .copyright,
#footer .footer-copy {
  margin-top: 8px;
  text-align: center;
  font-size: 0.8rem;
  color: #ffffff;
}

#footer .footerNav li:not(:last-child)::after {
  content: " / ";         /* ← 半角スラッシュ + 前後に少しスペース */
  margin: 0 0.1rem;       /* お好みで微調整 */
  opacity: 0.8;
}

/* ============================ */
/* ページトップへ戻るボタン     */
/* ============================ */
#pagetop-btn {
  position: fixed;
  right: 16px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--green-main);
  color: #fff;
  box-shadow: 0 3px 8px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;

  opacity: 0;            /* 最初は非表示 */
  pointer-events: none;  /* クリック不可 */
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* 表示状態 */
#pagetop-btn.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ホバー */
#pagetop-btn:hover {
  background: var(--green-dark);
  transform: translateY(-3px);
}

/* ===== ハンバーガーメニューのオーバーレイ ===== */
/* ===== オーバーレイ ===== */
#navOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.2);
  opacity: 0;
  pointer-events: none;
  transition: .2s ease;
  z-index: 50;
}

#navOverlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* ===== サイドメニュー本体 ===== */
#sideMenu {
  position: fixed;
  top: 0;
  left: -100%;              /* 初期は画面外 */
  width: 85%;
  max-width: 420px;
  height: 100%;
  background: #fff;
  padding: 1.5rem;
  box-shadow: 2px 0 10px rgba(0,0,0,.2);
  z-index: 60;
  transition: left .25s ease;
  overflow-y: auto;
  margin-top: 63px;
}

#sideMenu.is-open {
  left: 0;
}

/* ===== ×ボタン ===== */
.side-close-btn {
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #333;
  background: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  color: #000000;
}

/* ===== タイトル ===== */
/* ×ボタンは今のままでOK（必要ならそのまま） */

/* ===== サイドメニューのリスト ===== */
.side-list {
  list-style: none;
  padding: 0;
  /* margin: 3.5rem 0 0;   上は × ボタンぶんの余白 */
}

.side-list li {
  border-bottom: 1px solid #ccc;
}

/* 1行全体を押せるようにaをflexにする */
.side-list a {
  display: flex;
  align-items: center;
  padding: 0.5rem 0;
  text-decoration: none;
  color: #333;          /* リンク文字は黒系 */
}

/* 緑丸（アイコンの器）*/
.side-icon {
  width: 35px;
  height: 35px;
  background-color:var(--green-main);
  border-radius: 50%;
  border: 2px solid var(--green-main);
  margin-right: 0.9rem;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-none{
  background-color:var(--green-main);
    width: 28px;
    height: 28px;
    margin-right: 0.2rem;
}
/* テキスト部分 */
.side-label {
  font-size: 1.2rem;
  font-weight: 700;
}

/* hover時の色だけ少し濃く */
.side-list a:hover .side-label {
  color: #111;
}


/* ===== サイドメニューの検索欄 ===== */
.side-search {
  margin-top: 2rem;
  position: relative;
}

.side-search input {
  width: 100%;
  border: 1px solid #777;
  border-radius: 30px;
  font-size: 1rem;
  padding: 0.5rem 3rem 0.5rem 1rem;
}

.side-search-btn {
  position: absolute;
  right: 0.3rem;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  background: var(--green-main);
  color: #fff;
  border-radius: 50%;
  border: none;
}

.side-search-btn i {
  font-size: 1.1rem;
}

.bojo-flex{
  display: flex;
  gap:3rem;
  margin-bottom:20px;
}
.bojo-thumb{
    max-width: 350px;
    border-radius: 12px;
    overflow: hidden;
}

/* ===================== ブレークポイント ===================== */
@media (min-width: 1040px) {

  .hamburger {
    display: none;
  }
}
/* ===================== ブレークポイント ===================== */
@media (min-width: 768px) {
  .site-header-inner {
    padding: 1rem 2rem;
  }



  .nav-links {
    display: flex;
  }

  .nav-search {
    display: block;
  }

  .hero-inner {
    grid-template-columns: 1fr 1.1fr;
    padding: 2.6rem 2rem 3rem;
    min-height: 230px;
  }

  /* 画面が広いときは斜め位置を少し調整 */
  .hero::before {
    clip-path: polygon(0 0, 70% 0, 55% 100%, 0 100%);
  }

  .hero-title-main {
    font-size: 1.9rem;
  }

  .hero-sub {
    font-size: 1.05rem;
  }

  .page-main {
    padding: 1.8rem 1.5rem 2.4rem;
  }

  .weed-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .weed-item {
    padding: 1.1rem 1.2rem 1.2rem;
  }

  .weed-thumb {
    flex: 0 0 26%;
    max-width: 180px;
  }
.bojo-thumb{
    /* max-width: 300px; */
    max-width: 350px;
}

  .column-row {
    padding: 0.6rem 0;
  }
}

@media (min-width: 1024px) {
  .hero-inner {
    padding-right: 2rem;
    padding-left: 2rem;
  }

  .page-main {
    padding: 2rem 2rem 2.8rem;
    padding-bottom: 0;
  }
}

/* モバイル表示時のハンバーガーメニュー */
@media (max-width: 1040px) {
  /* 普段は非表示 */
  .nav-links {
    display: none;}
  }
/* ==== 防除カード（スマホレイアウト） ==== */
@media (max-width: 767px) {
  .weed-item {
    position: relative;
    display: flex;
    flex-direction: column;     /* 左テキスト / 右画像 */
    align-items: center;
    padding: 0.9rem 0.9rem 1.1rem;
    gap: .5rem;
    margin: 20px 0;
  }

  .weed-thumb {
    order: 2;                /* 右側に画像 */
    flex: 0 0 35%;
    max-width: 120px;
    margin-left: 0.6rem;
    border-radius: 10px;
    overflow: hidden;
  }

  .weed-content {
    order: 1;                /* 左側のテキスト */
    flex: 1;
    font-size: 0.9rem;
  }

  /* タイトルを下線付きに */
  .weed-title {
    font-weight: 700;
    font-size: 1rem;
    margin: 0 0 0.4rem;
    display: inline-block;
    border-bottom: 2px solid #555;
    padding-bottom: 0.15rem;
  }

  .weed-desc {
    font-size: 0.9rem;
    margin: 0.3rem 0 0.6rem;
    color: var(--text-main);
  }

  /* 「詳細を見る」ボタンをカード下中央寄せに */
  .weed-content .btn-more {
    display: inline-flex;
    justify-content: center;
    width: auto;
    margin: 0.1rem auto 0;
    padding: 0.35rem 1.6rem;
  }


/* モバイル表示時のハンバーガーメニュー */

  /* 普段は非表示 */
  .nav-links {
    display: none;
  }

  /* 開いたときのサイドメニュー本体（白いパネル） */
  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px;                 /* ヘッダーの高さに合わせて調整 */
    left: 0;
    bottom: 0;
    width: 88%;                /* 右側に少し余白を残す */
    max-width: 420px;
    background: #fff;
    padding: 1.4rem 1.4rem 2rem;
    z-index: 30;
    box-shadow: 2px 0 8px rgba(0,0,0,0.25);
  }

  /* 「TOP」見出し */
  .nav-links.is-open::before {
    content: "TOP";
    font-size: 1.4rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.8rem;
  }

  /* 見出し下のライン */
  .nav-links.is-open::after {
    content: "";
    display: block;
    height: 1px;
    background: #bbb;
    margin-top: 0.4rem;
    margin-bottom: 0.9rem;
  }

  /* リンク行 */
  .nav-links.is-open a {
    display: block;
    position: relative;
    padding: 0.9rem 0 0.9rem 3.0rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #ccc;
  }

  /* 左の緑の丸 */
  .nav-links.is-open a::before {
    content: "";
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid var(--green-main);
    background: #fff;
  }

  /* メニュー内の検索ボックスを一番下に */
  .nav-links.is-open .nav-search {
    display: block;
    margin-top: auto;
    width: 100%;
  }

  .nav-links.is-open .nav-search input {
    width: 100%;
    padding: 0.55rem 2.6rem 0.55rem 0.9rem;
    border-radius: 999px;
    border: 1px solid #333;
    font-size: 0.95rem;
  }

  .nav-links.is-open .nav-search-btn {
    right: 0.3rem;
    width: 34px;
    height: 34px;
  }


  .hero-inner {
    padding: 0 1rem;
     gap:0px;
     min-height: 20px;
}
.sp-br{
    display: block;
}
.sp-span{
  margin-left: -0.5rem;
}
.weed-btn{
padding: 0.2rem;
}
.weed-btn-icon {
    width: 35px;
    height: 35px;
}
.weed-btn-group{
display: flex;
    align-items: center;
    gap: 10px;
}
.weed-btn-main {
    font-size: 1.2rem;
    width: 80px;
}
.card-panel {
    padding: .6rem;
}
.hero-title-main {
        font-size: 1.2rem;
        margin-top: 5px;
        margin-bottom: 0;
}
.hero-sub {
    font-size: .8rem;
            margin-top: 5px;
                line-height: 20px;

}
/* スマホなど幅が狭いときは背景画像を小さめに */
  .hero {
height: 110px;
  }

.hero::before {
    clip-path: polygon(0 0, 77% 0, 50% 100%, 0 100%);
}

.weed-desc {
    line-height: 20px;
}
  .nav-links.is-open .nav-search-btn {
    right: 0.3rem;
    width: 34px;
    height: 34px;
  }
  .weed-flex{
display: flex;
        align-items: center;

    justify-content: space-between;
  }
  .brand-title {
  font-size: 1.2rem;
}
.sp-br{
  display: block;
}
hr.title-under-long {
  width: 300px;
}
.bojo-flex {
    gap: 0;
    flex-direction: column;
}
}

/* ===== 検索ヘッダー内 カテゴリボタン ===== */

.search-head-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.8rem;
}



.head-cat-btn_icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  margin-right: 0.4rem;
  border-radius: 50%;
  background: #fff;
  object-fit: contain;
}

/* テキストエリアをアイコン以外の残り幅にし、その中で中央寄せ */
.head-cat-btn-group {
  flex: 0.9;
  display: flex;
  justify-content: center;
}

.head-cat-btn-main {
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
}
/* 花色ビュー用：ドットの色分け */
.adult-section__dot.color-dot-yellow {
  color: #f6c700;   /* 黄色 */
}

.adult-section__dot.color-dot-yellowgreen {
  color: #a8d62b;   /* 黄緑 */
}

.adult-section__dot.color-dot-blueviolet {
  color: #4b73d9;   /* 青～青紫っぽい色 */
}

.adult-section__dot.color-dot-redviolet {
  color: #e6557f;   /* 赤～赤紫っぽい色 */
}

.adult-section__dot.color-dot-white {
  color: #eeeeee;   /* 白 */
  text-shadow: 0 0 0 1px #999;  /* 白背景で埋もれないように薄い縁取り */
}

.adult-section__dot.color-dot-greenyellow {
  color: #39a66b;   /* 緑～黄緑 */
}

/* 「目立たない（－）」はグレー */
.adult-section__dot.color-dot-muted {
  color: #999999;
}

/* SP では幅いっぱいに並べたい場合 */
@media (max-width: 767px) {
  .search-head-buttons {
    gap: 0.5rem;
  }
  .head-cat-btn {
    flex: 1 1 calc(50% - 0.5rem); /* 2列並び */
  }
.head-cat-btn_icon{
  flex: 0 ;
  margin-right: 0.2rem;
}
.page-root {
padding: 0;
}
}

/* ===================== SP 時のヘッダー固定 ===================== */

  /* ヘッダーを画面上部に固定 */
  .site-header {
    position: fixed;   /* ← ここを SP だけ fixed にする */
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
  }
    body {
    padding-top:81px;  /* ヘッダーの高さに合わせて調整。高ければ70〜80pxにしてOK */
  }
@media (max-width: 767px) {
  /* 固定ヘッダーのぶんだけ本文を下げる（ヘッダー高さの余白） */
  body {
    padding-top: 64px;  /* ヘッダーの高さに合わせて調整。高ければ70〜80pxにしてOK */
  }
}
/* ===============================
   適用雑草：エリア見出しの追従表示
   =============================== */

.tekio-area-heading {
  position: sticky;
  top: 78px;                 /* ← ヘッダーの高さに合わせる */
  z-index: 10;

  background: #fff;          /* 下の内容が透けないように */
  padding: 12px 8px;

  /* 見た目調整（任意） */
  border-bottom: 2px solid #ddd;
}
@media (max-width: 767px) {
.tekio-area-heading {
  top: 60px;    
  }
}

    /* ===== 凡例ページ専用スタイル ===== */
    .hanrei-page {
      max-width: 900px;
      margin: 0 auto;
      padding: 0 1rem 3rem;
    }

    /* ===== セクション大見出し ===== */
    .hanrei-h1 {
      font-size: 1.35rem;
      font-weight: 700;
      color: #fff;
      background: #4a7c29;
      border-radius: 8px;
      padding: 0.6rem 1.1rem;
      margin: 2rem 0 1rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .hanrei-h1::before {
      content: "■";
      font-size: 0.9em;
    }

    /* ===== 小見出し ===== */
    .hanrei-h2 {
      font-size: 1.1rem;
      font-weight: 700;
      color: #2d5a16;
      padding: 0.35rem 0.9rem;
      margin: 1.6rem 0 0.7rem;
      background: #f0f8e8;
      border-left: 5px solid #6bb61b;
      border-radius: 0 6px 6px 0;
    }

    /* ===== 本文 ===== */
    .hanrei-text {
      font-size: 1rem;
      line-height: 1.85;
      margin: 0.5rem 0 0.9rem;
      color: #333;
    }

    /* ===== 機能リスト（TOP説明） ===== */
    .hanrei-func-list {
      margin: 0.8rem 0 1rem;
      padding: 0;
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }

    .hanrei-func-item {
      display: flex;
      align-items: baseline;
      gap: 0.6rem;
      padding: 0.5rem 0.8rem;
      background: #f8fdf2;
      border-left: 4px solid #6bb61b;
      border-radius: 0 6px 6px 0;
      font-size: 0.95rem;
      line-height: 1.65;
    }

    .hanrei-func-label {
      font-weight: 700;
      color: #2d5a16;
      white-space: nowrap;
    }

    /* ===== 花色注記 ===== */
    .hanrei-note-box {
      background: #fffbe6;
      border: 1px solid #e6c84a;
      border-radius: 8px;
      padding: 0.8rem 1.1rem;
      margin: 0.8rem 0 1rem;
      font-size: 0.93rem;
      line-height: 1.75;
      color: #555;
    }

    .hanrei-note-box .note-title {
      font-weight: 700;
      color: #7a6000;
      margin-bottom: 0.3rem;
      display: block;
    }

    .hanrei-note-box .note-example {
      margin-top: 0.3rem;
      /* padding-left: 1em; */
      color: #666;
      font-size: 0.9rem;
    }

    /* ===== 図・画像 ===== */
    .hanrei-figure {
      margin: 0.5rem 0;
      text-align: center;
    }

    .hanrei-figure img {
      max-width: 100%;
      height: auto;
      display: unset;
      /* border-radius: 6px;
      border: 1px solid #ddd; */
    }

    .hanrei-figure figcaption {
      font-size: 0.85rem;
      color: #666;
      margin-top: 0.4rem;
    }

    /* ===== Ⓐ Ⓑ 注釈バッジ付きh3 ===== */
    .hanrei-annotated-h3 {
      display: flex;
      align-items: center;
      gap: 0.55rem;
      font-size: 1.05rem;
      font-weight: 700;
      color: #2d5a16;
      margin: 1.5rem 0 0.6rem;
    }

    .anno-badge {
      /* display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 1.8em;
      height: 1.8em;
      border-radius: 50%;
      background: #2d5a16; */
      color: #2d5a16;
      font-size: 1.4rem;
      font-weight: 700;
      flex-shrink: 0;
    }
    .anno-badgeB {
      position: relative;
      top: 0.1em;
      margin-right: 0.2em;
      /* display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 1.8em;
      height: 1.8em;
      border-radius: 50%;
      background: #2d5a16; */
      color: #2d5a16;
      font-size: 1.4rem;
      font-weight: 700;
      flex-shrink: 0;
    }


    /* ===== 属性定義リスト ===== */
    .hanrei-attr-list {
      margin: 0.5rem 0 1rem;
      padding: 0;
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0.8rem;
    }

    .hanrei-attr-item {
      border-left: 4px solid #6bb61b;
      padding: 0.5rem 1rem;
      background: #f8fdf2;
      border-radius: 0 6px 6px 0;
    }

    .hanrei-attr-term {
      font-weight: 700;
      color: #2d5a16;
      font-size: 0.95rem;
      margin-bottom: 0.25rem;
    }

    .hanrei-attr-desc {
      font-size: 0.93rem;
      line-height: 1.75;
      color: #444;
    }

    .hanrei-attr-desc strong {
      color: #2d5a16;
    }

    /* ===== 参考文献 ===== */
    .hanrei-ref-section {
      margin-top: 2rem;
      padding-top: 1rem;
      border-top: 2px solid #e0e0e0;
    }

    .hanrei-ref-title {
      font-size: 1rem;
      font-weight: 700;
      color: #2d5a16;
      margin-bottom: 0.6rem;
    }

    .hanrei-ref-titleB {
      font-size: 1rem;
      font-weight: 700;
      color: #c00;
      margin-bottom: 0.6rem;
    }

    .hanrei-ref-list {
      margin: 0;
      padding: 0;
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0.3rem;
    }

    .hanrei-ref-item {
      font-size: 0.88rem;
      color: #555;
      line-height: 1.6;
      padding-left: 1em;
      text-indent: -1em;
    }

    /* ===== 注意書き ===== */
    .hanrei-caution {
      margin-top: 1.5rem;
      padding: 0.9rem 1.1rem;
      background: #fff3f3;
      border: 1px solid #e0a0a0;
      border-radius: 8px;
      font-size: 0.88rem;
      line-height: 1.75;
      color: #555;
    }

    .hanrei-caution p {
      margin: 0.2rem 0;
    }

    .hanrei-caution strong {
      color: #c00;
    }

    @media (max-width: 600px) {
      .hanrei-h1 { font-size: 1.1rem; }
      .hanrei-h2 { font-size: 1rem; }
      .hanrei-func-item { flex-direction: column; gap: 0.1rem; }
    }

    /* ===== ムギ類防除ページ専用スタイル ===== */
.detail-tableB {
  margin-top: 1rem;
}

.detail-tableB th,
.detail-tableB td {
  border: 1px solid #ccc;
  padding: 0.4rem 0.6rem;
  font-size: 1rem;
}

.detail-tableB th {
  width: auto;        /* ← お好みで調整：6rem, 8rem など */
  /* min-width: 7.5rem; */
  background: var(--bg-page);
  font-weight: 700;
  /* text-align: left; */
  padding: 0.4rem 0.6rem;
  border: 1px solid #ccc;
}

.detail-tableB td {
  background: #fff;
}


    .mugi-page {
      max-width: 900px;
      margin: 0 auto;
      padding: 0 1rem 3rem;
    }

    /* ===== セクション見出し ===== */
    .mugi-h1 {
      font-size: 1.5rem;
      font-weight: 700;
      color: #fff;
      background: #4a7c29;
      border-radius: 8px;
      padding: 0.6rem 1.1rem;
      margin: 2rem 0 1rem;
      line-height: 1.4;
    }

    .mugi-h2 {
      font-size: 1.2rem;
      font-weight: 700;
      color: #2d5a16;
      border-left: 5px solid #6bb61b;
      padding: 0.3rem 0.8rem;
      margin: 1.8rem 0 0.8rem;
      background: #f0f8e8;
      border-radius: 0 6px 6px 0;
    }

    .mugi-h3 {
      font-size: 1.1rem;
      font-weight: 700;
      color: #2d5a16;
      padding: 0.25rem 0;
      margin: 1.5rem 0 0.5rem;
      border-bottom: 2px solid #c8e69a;
    }

    /* ===== 本文テキスト ===== */
    .mugi-text {
      font-size: 1rem;
      line-height: 1.85;
      margin: 0.6rem 0 1rem;
      color: #333;
    }

    /* ===== 定義リスト（冬生一年草など） ===== */
    .mugi-def-list {
      margin: 1rem 0 1rem 0;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 0.6rem;
    }

    .mugi-def-item {
      display: flex;
      gap: 0;
      border-left: 4px solid #6bb61b;
      background: #f8fdf2;
      border-radius: 0 6px 6px 0;
      padding: 0.6rem 1rem;
    }
    .mugi-def-itemB {
      display: flex;
      gap: 0;
      border-left: 4px solid #6bb61b;
      background: #f8fdf2;
      border-radius: 0 6px 6px 0;
      padding: 0.6rem 1rem;
      align-items: center;
    }

    .mugi-def-term {
      font-weight: 700;
      white-space: nowrap;
      min-width: 9em;
      color: #2d5a16;
      font-size: 0.95rem;
    }

    .mugi-def-desc {
      font-size: 0.95rem;
      line-height: 1.7;
      color: #444;
    }

    /* ===== 箇条書き ===== */
    .mugi-bullet-list {
      margin: 0.5rem 0 1rem 0;
      padding: 0;
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0.8rem;
    }

    .mugi-bullet-item {
      display: flex;
      flex-direction: column;
      gap: 0.3rem;
    }

    .mugi-bullet-title {
      font-weight: 700;
      font-size: 1rem;
      color: #2d5a16;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .mugi-bullet-title::before {
      content: "";
      display: inline-block;
      width: 10px;
      height: 10px;
      background: #6bb61b;
      border-radius: 50%;
      flex-shrink: 0;
    }

    .mugi-bullet-body {
      font-size: 0.95rem;
      line-height: 1.75;
      color: #444;
      padding-left: 1.4rem;
    }

    /* ===== 図・画像 ===== */
    .mugi-figure {
      margin: 1.2rem 0;
      text-align: center;
    }

    .mugi-figure img {
      max-width: 100%;
      height: auto;
      border-radius: 6px;
      border: 1px solid #ddd;
    }

    .mugi-figure figcaption {
      font-size: 0.85rem;
      color: #666;
      margin-top: 0.4rem;
    }

    /* ===== 注記・出典 ===== */
    .mugi-note {
      font-size: 0.9rem;
      color: #666;
      margin-top: 2rem;
      padding-top: 1rem;
      border-top: 1px solid #ddd;
    }

    /* ===== 小見出し（⑴⑵⑶） ===== */
    .mugi-sub-section {
      margin: 1.5rem 0 0.5rem;
    }

    .mugi-sub-title {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 1.05rem;
      font-weight: 700;
      color: #2d5a16;
      background: #eaf7d5;
      border: 1.5px solid #6bb61b;
      border-radius: 6px;
      padding: 0.3rem 0.9rem;
      margin-bottom: 0.6rem;
    }

    /* ===== 区切り線 ===== */
    .mugi-divider {
      border: none;
      border-top: 1px solid #ddd;
      margin: 1.5rem 0;
    }

    @media (max-width: 600px) {
      .mugi-h1 { font-size: 1.2rem; }
      .mugi-h2 { font-size: 1.05rem; }
      .mugi-def-item { flex-direction: column; gap: 0.2rem; }
      .mugi-def-itemB { flex-direction: column; gap: 0.2rem; }
      .mugi-def-term { min-width: unset; }
    }

    .table-section { margin-bottom: 2.5rem; }
    .table-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; text-align: left;}
    /* table.detail-tableC { border-collapse: collapse; width: 100%; }
    table.detail-tableC th, td { border: 1px solid #aaa; padding: 0.45rem 0.7rem; font-size: 0.95rem; vertical-align: middle; }
    table.detail-tableC thead th { background: #d6e8b4; font-weight: 700; text-align: center; }
    table.detail-tableC td.cell-time { background: #fafac8; text-align: center; }
    table.detail-tableC td.cell-feature { vertical-align: middle; } */
    table.detail-tableC {
      border-collapse: collapse;
      width: 100%;
      text-align: left;
      font-size: 0.9rem;
      line-height: 1.5;
    }

    table.detail-tableC th, td {
      border: 1px solid #aaa;
      padding: 0.4rem 0.65rem;
      vertical-align: middle;
    }

    table.detail-tableC thead th {
      background: #d6e8b4;
      font-weight: 700;
      text-align: center;
    }

    table.detail-tableC td.cell-time {
      background: #fafac8;
      text-align: left;
      /* white-space: nowrap; */
    }

    table.detail-tableC td.cell-hrac {
      text-align: center;
    }

    table.detail-tableC td.cell-feature {
      vertical-align: middle;
    }

    .table-note {
      font-size: 0.85rem;
      color: #555;
      margin-top: 0.4rem;
      text-align: right;
    }

    img.kusaguide {
      display: unset;
      width: 50%;
    }
    @media (max-width: 767px) {
    img.kusaguide {
      display: unset;
      width: 85%;
    }
    }

    div#heightGuideImg {
      text-align: center;
    }

/* ===================== 別名カード（種名2以降） ===================== */
/* adult-card（成植物）・weed-card（適用雑草・作物）・species-card（種名） */
.adult-card.is-alias   .adult-card__label,
.weed-card.is-alias    .weed-card__label,
.species-card.is-alias .species-card__name {
  color: var(--text-muted);
  /* font-size: 0.9rem; */
}
