/* ============================================================
   CSS カスタムプロパティ
   ============================================================ */
:root {
  --c-cream:      #f8f7e8;
  --c-leaf:       #d8e0c8;
  --c-leaf-2:     #cbd4c4;
  --c-sage-light: #c8d4b8;
  --c-sage-mid:   #8fa490;
  --c-sage-dark:  #5a7260;
  --c-deep:       #4a5e3a;
  --c-deep-2:     #3b4a2c;
  --c-btn:        #5b795c;
  --c-btn-hover:  #4a6749;
  --c-accent:     #b8895e;
  --c-orange:     #d97a3a;
  --c-ink:        #3a3326;
  --c-ink-warm:   #503921;
  --c-brown:      #47210f;
  --c-white:      #ffffff;

  --header-h: clamp(56px, 10vw, 80px);
  --max-w: 1100px;
  --side-pad: clamp(16px, 5vw, 60px);
}

/* ============================================================
   MODERN CSS RESET（マルチデバイス対応 + Andy Bell + WP対応）
   https://piccalil.li/blog/a-modern-css-reset/ ベース
   ============================================================ */

/* 1. Box-sizing 統一 */
*, *::before, *::after {
  box-sizing: border-box;
}

/* 2. デフォルト margin/padding をすべて削除 */
* {
  margin: 0;
  padding: 0;
}

/* 3. HTML / Body 初期化 */
html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  /* iOS Safari: viewport units の安全な扱い */
  height: 100%;
  /* スクロールバーが内容シフトを起こさないように */
  scrollbar-gutter: stable;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  background: var(--c-cream);
  color: var(--c-ink);
  line-height: 1.6;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

/* 4. テキスト要素マージン削除 */
h1, h2, h3, h4, h5, h6, p,
ul, ol, li, dl, dd, dt,
figure, figcaption, blockquote, pre {
  margin: 0;
  padding: 0;
}

/* 5. リスト */
ul, ol {
  list-style: none;
}

/* 6. リンク */
a {
  color: inherit;
  text-decoration: none;
}
a:hover { text-decoration: none; }

/* 7. メディア要素のレスポンシブ既定 */
img, picture, svg, video, canvas, audio, iframe, embed, object {
  display: block;
  max-width: 100%;
  height: auto;
}
img {
  font-style: italic;
  vertical-align: middle;
  -webkit-user-drag: none;
}

/* 8. SVG はサイズ指定なしの場合 inline-block 風 */
svg {
  display: inline-block;
  vertical-align: middle;
}

/* 9. インタラクティブ要素 */
button, input, select, textarea {
  font: inherit;
  color: inherit;
  background-color: transparent;
}
button {
  border: none;
  cursor: pointer;
  -webkit-appearance: none;
          appearance: none;
}
button:disabled { cursor: not-allowed; }

/* 10. テーブル */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* 11. フォーカスリング統一 */
:focus-visible {
  outline: 2px solid var(--c-btn);
  outline-offset: 2px;
}

/* 12. アクセシビリティ: motion-reduce */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* 13. WordPress 既定マージン無効化 */
.wp-block-group, .wp-block-cover, .wp-block-buttons, .wp-block-button,
.wp-block-image, .wp-block-paragraph, .wp-block-heading {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* 14. 印刷時のリセット */
@media print {
  *, *::before, *::after {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
}

/* セクション間の白い隙間を防ぐ */
.wp-site-blocks > *,
.wp-site-blocks > main > *{
  margin-block-start:0 !important;
  margin-block-end:0 !important;
}

/* ============================================================
   ヘッダー
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 1000;
  background: transparent;
  padding-top: env(safe-area-inset-top, 0px);
  display: flex;
  align-items: center;
}
.site-header .header-inner {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--side-pad);
}
.header-logo { margin: 0; }
.header-logo img {
  height: clamp(36px, 8vw, 48px);
  width: auto;
}
.header-burger {
  appearance: none;
  border: none;
  background: transparent;
  padding: 0;
  width: clamp(44px, 12vw, 56px);
  height: clamp(44px, 12vw, 56px);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.header-burger img { width: 100%; height: 100%; object-fit: contain; }
.header-solid {
  backdrop-filter: blur(6px);
  background: color-mix(in oklab, #fff 70%, transparent);
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

/* ナビゲーションオーバーレイ */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(245, 240, 227, 0.97);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.nav-overlay.is-open { opacity: 1; pointer-events: auto; }
.nav-overlay__inner { text-align: center; position: relative; width: 100%; padding: 60px 32px; }
.nav-overlay__close {
  position: absolute;
  top: -40px; right: 24px;
  appearance: none; border: none; background: transparent;
  padding: 8px; cursor: pointer;
  width: 44px; height: 44px; display: grid; place-items: center;
}
.nav-overlay__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 32px;
}
.nav-overlay__list a {
  font-size: clamp(20px, 5vw, 28px); font-weight: 700;
  color: var(--c-deep); text-decoration: none; letter-spacing: 0.06em;
  display: block; padding: 4px 0; transition: color 0.15s;
}
.nav-overlay__list a:hover { color: var(--c-btn); }
body.nav-open { overflow: hidden; }

/* ============================================================
   HERO（全画面写真＋白オーバーレイテキスト）
   ============================================================ */
.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: #2a3a28;
}
@media (min-width: 768px){
  .hero{ min-height: 820px; }
}
.hero__bg{
  position: absolute; inset: 0;
  z-index: 0;
}
.hero__bg img{
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 0%;
}
.hero::before{
  content:""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      rgba(248,247,232,.78) 0%,
      rgba(248,247,232,.58) 22%,
      rgba(248,247,232,.28) 45%,
      rgba(248,247,232,.0) 70%,
      rgba(0,0,0,.06) 100%);
  z-index: 1;
}
.hero__inner{
  position: relative;
  z-index: 2;
  padding: calc(var(--header-h) + 24px) var(--side-pad) 60px;
  max-width: var(--max-w);
  margin-inline: auto;
  color: var(--c-ink);
}
.hero__catch{
  font-size: clamp(22px, 6.2vw, 40px);
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: var(--c-ink);
  margin: 0 0 20px;
  text-shadow: 0 1px 2px rgba(255,255,255,.55);
}
.hero__what{ margin: 0; }
.hero__what-title{
  font-size: clamp(18px, 5vw, 26px);
  color: var(--c-deep);
  margin: 0 0 12px;
  font-weight: 700;
  letter-spacing: .02em;
  text-shadow: 0 1px 2px rgba(255,255,255,.55);
}
.hero__what-body{
  font-size: clamp(12px, 3.4vw, 15px);
  line-height: 1.95;
  margin: 0;
  color: var(--c-ink);
  text-shadow: 0 1px 2px rgba(255,255,255,.5);
}
.pc-br { display: none; }
/* SP: rabbit floats over hero bottom-left */
.hero__rabbit{
  position: absolute;
  left: -16px;
  bottom: -60px;
  width: clamp(220px, 72vw, 380px);
  z-index: 3;
  pointer-events: none;
  grid-area: unset;
  max-width: none;
}
.hero__rabbit img{ width: 100%; height: auto; filter: drop-shadow(0 8px 18px rgba(0,0,0,.25)); }

/* PC: 白カード型レイアウト */
.hero__photo{ display: none; }
.hero__bottom{ display: none; }

@media (min-width: 768px){
  .hero{ min-height: auto; background: var(--c-cream); }
  .hero__bg{ display: none; }
  .hero::before{ display: none; }
  .hero__inner{
    padding: calc(var(--header-h) + 8px) var(--side-pad) clamp(44px, 5vw, 60px);
    color: var(--c-ink);
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    grid-template-areas:
      "copy   what"
      "rabbit photo"
      "cta    cta";
    column-gap: clamp(20px, 3vw, 36px);
    row-gap: clamp(6px, 1vw, 12px);
    max-width: 900px;
    margin: 0 auto;
  }
  .hero__copy{ grid-area: copy; align-self: end; }
  .hero__what{ grid-area: what; align-self: end; }
  .hero__photo{
    grid-area: photo;
    display: block;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
    align-self: center;
    max-width: 350px;
    justify-self: start;
  }
  .hero__photo img{ width: 100%; height: auto; aspect-ratio: 1.55/1; object-fit: cover; display: block; }
  .hero__bottom{
    grid-area: cta;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: clamp(24px, 4vw, 48px);
    flex-wrap: wrap;
    margin-top: clamp(8px, 2vw, 16px);
  }
  .hero__catch{
    font-size: clamp(24px, 2.8vw, 32px);
    color: var(--c-ink); text-shadow: none; line-height: 1.35;
    font-weight: 800;
    letter-spacing: .04em;
  }
  .hero__what-title{ font-size: clamp(15px, 1.6vw, 18px); color: var(--c-deep); text-shadow: none; margin-bottom: 8px; font-weight: 800; }
  .hero__what-body{ font-size: 12px; color: var(--c-ink); text-shadow: none; line-height: 1.85; }
  .pc-br { display: inline; }
  /* Rabbit: positioned in its own grid cell on PC */
  .hero__rabbit{
    grid-area: rabbit;
    position: relative;
    left: auto; bottom: auto; top: auto;
    width: 100%;
    max-width: clamp(180px, 22vw, 260px);
    align-self: center;
    justify-self: center;
    z-index: 2;
    margin: 0;
  }
  .hero__rabbit img{ width: 100%; filter: none; }
  /* PC: news-cta / icon-nav-section の独立セクションを非表示 */
  .news-cta{ display: none; }
  .icon-nav-section{ display: none; }
  /* PC hero CTA pill */
  .hero__cta{ display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero__btn{
    display: inline-block;
    background: var(--c-btn);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    padding: 16px 40px;
    border-radius: 999px;
    text-decoration: none;
    letter-spacing: 0.06em;
    box-shadow: 0 8px 22px rgba(74, 102, 52, .35);
  }
  .hero__btn:hover{ background: var(--c-btn-hover); transform: translateY(-2px); transition: all .2s; }
  .hero__btn-sub{ font-size: 13px; color: var(--c-ink); opacity: .75; }
  .hero__icons{
    flex: 1;
    background: #fff;
    border-radius: 14px;
    padding: 8px 20px;
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
  }
  .hero__icons .icon-nav__list{ grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .hero__icons .icon-nav__icon{ width: 30px; }
  .hero__icons .icon-nav__label{ font-size: 10px; white-space: nowrap; }
}

/* ============================================================
   News CTA（新商品のお知らせ）
   ============================================================ */
.news-cta{
  background: var(--c-cream);
  padding: clamp(36px, 10vw, 64px) var(--side-pad) clamp(30px, 6vw, 42px);
  text-align: center;
  position: relative;
}
.news-cta__inner{
  max-width: var(--max-w);
  margin-inline: auto;
  position: relative;
}
.news-cta__btn{
  display: inline-block;
  background: var(--c-btn);
  color: #fff;
  font-size: clamp(15px, 4.2vw, 18px);
  font-weight: 700;
  line-height: 1;
  padding: 14px 36px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(74, 102, 52, .35);
  letter-spacing: 0.06em;
  transition: background .2s, transform .15s;
}
.news-cta__btn:hover{ background: var(--c-btn-hover); transform: translateY(-2px); }
.news-cta__sub{
  margin: 14px 0 0;
  font-size: clamp(12px, 3.2vw, 14px);
  color: var(--c-ink);
  opacity: .8;
  letter-spacing: .04em;
}
.news-cta__dash{
  display: block;
  width: 140px; height: 9px;
  background: var(--c-accent);
  border-radius: 4px;
  margin: 14px auto 0;
  opacity: .9;
}

/* ============================================================
   4アイコンメニュー（標準セクション化）
   ============================================================ */
.icon-nav-section{
  background: var(--c-cream);
  padding: clamp(12px, 4vw, 20px) var(--side-pad) clamp(40px, 8vw, 56px);
  position: relative;
}
.icon-nav-card{
  position: relative;
  max-width: var(--max-w);
  margin-inline: auto;
  background: #fff;
  border-radius: 20px;
  padding: clamp(18px, 4.5vw, 30px) clamp(16px, 4vw, 24px);
  box-shadow: 0 10px 28px rgba(0,0,0,.06);
}
.icon-nav { background: transparent; padding: 0; }
.icon-nav__list{
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 8px;
}
.icon-nav__item{ }
.icon-nav__link{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--c-ink);
  font-size: clamp(12px, 3.3vw, 14px);
  font-weight: 500;
  transition: opacity .15s;
}
.icon-nav__link:hover{ opacity: .7; }
.icon-nav__icon{
  width: clamp(60px, 15vw, 72px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: transparent;
  display: grid;
  place-items: center;
  color: var(--c-deep);
}
.icon-nav__icon svg{ width: 88%; height: 88%; stroke-width: 1.6; }
.icon-nav__icon--brands svg{ width: 48%; height: 88%; }
.icon-nav__icon--brands svg circle{ fill: currentColor; }
.icon-nav__icon::before{ content: none; }
.icon-nav__label{ letter-spacing: .04em; }
.icon-nav-guinea{
  display: none; /* SP: brands__guinea handles this role */
  position: absolute;
  right: -8px;
  bottom: -68px;
  width: clamp(100px, 26vw, 140px);
  pointer-events: none;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.18));
  z-index: 4;
}
.icon-nav-guinea img{ width: 100%; }

@media (min-width: 768px){
  .icon-nav__list{ grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .icon-nav-guinea{ right: 8px; bottom: -80px; }
}

/* ============================================================
   BRAND LISTS（leaf bg / 縦並び）
   ============================================================ */
.brands{
  background: var(--c-leaf-2);
  position: relative;
  padding: clamp(28px, 6vw, 48px) var(--side-pad) clamp(20px, 4vw, 36px);
}
.brands__inner{ max-width: var(--max-w); margin-inline: auto; position: relative; }
.brands__guinea{
  display: block;
  position: absolute;
  right: -6px;
  top: -75px;
  width: clamp(138px, 40vw, 170px);
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.18));
}
.brands__guinea img{ width: 100%; height: auto; }
.brands__title{
  font-size: clamp(18px, 4.5vw, 26px);
  font-weight: 700;
  color: var(--c-deep);
  letter-spacing: 0.06em;
  margin: 0 0 4px;
  line-height: 1.2;
}
.brands__title-sub{
  display: block;
  font-size: clamp(12px, 3.2vw, 15px);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--c-ink);
  opacity: .85;
  margin-top: 6px;
}
@media (min-width: 768px){
  .brands{
    background: var(--c-leaf-2);
    padding: clamp(20px, 3vw, 32px) var(--side-pad);
  }
  .brands__guinea{
    display: block;
    position: absolute;
    right: clamp(20px, 6vw, 60px);
    top: clamp(-50px, -6vw, -30px);
    width: clamp(80px, 10vw, 130px);
    z-index: 3;
    pointer-events: none;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,.15));
  }
  .brands__guinea img{ width: 100%; height: auto; }
  .brands__title{
    display: flex;
    align-items: baseline;
    gap: 16px;
    text-align: center;
    justify-content: center;
    color: var(--c-deep);
  }
  .brands__title-sub{
    display: inline-block;
    margin-top: 0;
  }
}

.brands__pc-list{ display: none; }
.brands__sp-list{
  list-style: none; margin: 28px 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 0;
}
@media (min-width: 768px){
  .brands__pc-list{
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    list-style: none; margin: 20px auto 0; padding: 0;
    gap: clamp(32px, 5vw, 64px);
  }
  .brands__pc-list li{
    background: transparent;
    padding: 0;
    display: flex; align-items: center; justify-content: center;
    box-shadow: none;
    flex: 0 0 auto;
  }
  .brands__pc-list li img{ max-height: 52px; max-width: 120px; width: auto; object-fit: contain; }
  .brands__pc-item--jupiter{ flex-direction: column; gap: 4px; }
  .brands__pc-since{
    font-size: 11px; letter-spacing: .15em; font-weight: 700;
    color: var(--c-deep); opacity: .85;
  }
  .brands__sp-list{ display: none; }
}
.brands__sp-item{
  display: flex; flex-direction: column; gap: 8px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(74, 94, 58, .25);
}
.brands__sp-item:last-child{ border-bottom: none; }
.brands__sp-logo{
  height: 44px;
  display: flex; align-items: center;
}
.brands__sp-logo img{
  max-height: 44px; max-width: 60%; width: auto; height: auto;
  object-fit: contain;
}
.brands__sp-body{ }
.brands__sp-name{
  font-weight: 800;
  color: var(--c-deep);
  margin: 0 0 6px;
  font-size: clamp(16px, 4.2vw, 18px);
  letter-spacing: .04em;
}
.brands__sp-desc{
  font-size: clamp(12px, 3.2vw, 13px);
  line-height: 1.85;
  color: var(--c-ink);
  opacity: .9;
  margin: 0;
}

/* ============================================================
   JUPITERの歴史
   ============================================================ */
.timeline{
  position: relative;
  background: var(--c-cream);
  padding: clamp(20px, 3vw, 36px) var(--side-pad) clamp(28px, 5vw, 48px);
}
.timeline__title{
  font-size: clamp(22px, 5.4vw, 30px);
  font-weight: 800;
  color: var(--c-deep);
  letter-spacing: 0.06em;
  margin: 0 0 20px;
  text-align: right;
  max-width: var(--max-w);
  margin-inline: auto;
}
.timeline__grid{
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
}

/* === SP layout (default) === */
.timeline__left{
  position: relative;
  background: #799d5d;
  padding: 30px 16px 0;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 24px;
}

/* SP photo inside green card */
.timeline__photo-sp{
  padding: 0 4px 12px;
  position: relative;
  z-index: 2;
}
/* SP: photo fills card width */
.timeline__photo-sp .timeline__photo{
  max-width: 100%;
  border-radius: 4px;
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,.22);
}

/* SP: path decorations live in their own relative wrapper */
.timeline__path-section{
  position: relative;
  min-height: 490px;
}

.timeline__farm{
  position: relative;
  width: calc(100% + 32px);
  margin: -30px -16px 0;
  height: 120px;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}
.timeline__farm picture{
  display: block;
  width: 100%;
  height: 100%;
}
.timeline__farm img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
}
.timeline__path-bg{
  position: absolute;
  left: 50%; top: 0%;
  transform: translateX(-50%);
  width: 70%;
  max-width: 280px;
  pointer-events: none;
  opacity: .95;
  z-index: 1;
}
.timeline__path-bg img{ width: 100%; }
.timeline__sack{
  position: absolute;
  left: 12px;
  top: 22%;
  width: 22%;
  max-width: 110px;
  pointer-events: none;
  z-index: 3;
}
.timeline__sack img{ width: 100%; }
.timeline__flowers{
  position: absolute;
  right: 4%;
  top: 48%;
  width: 34%;
  max-width: 130px;
  pointer-events: none;
  z-index: 3;
}
.timeline__flowers img{ width: 100%; }
.timeline__rabbit{
  position: absolute;
  right: 4%;
  bottom: 8px;
  width: 38%;
  max-width: 170px;
  z-index: 4;
  pointer-events: none;
}
.timeline__rabbit img{ width: 100%; filter: drop-shadow(0 6px 14px rgba(0,0,0,.3)); }

/* SP year list: hidden (scattered years used instead) */
.timeline__years{
  display: none;
}

/* SP scattered years */
.timeline__sp-path{
  display: block;
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.tl-y{
  position: absolute;
  font-weight: 800;
  font-size: clamp(18px, 5vw, 24px);
  color: var(--c-deep);
  letter-spacing: 0.04em;
  text-shadow: none;
  white-space: nowrap;
}
.tl-y--1975 { top: 24%; left: 42%; }
.tl-y--1990 { top: 30%; right: 16%; }
.tl-y--1993 { top: 42%; left: 50%; }
.tl-y--2000 { top: 46%; left: 22%; }
.tl-y--2001 { top: 56%; left: 46%; }
.tl-y--2005 { top: 62%; right: 38%; }
.tl-y--2013 { top: 76%; left: 18%; }
.tl-y--2020 { top: 84%; left: 38%; }

/* SP right side (photo + caption) — hidden on SP, shown on PC */
.timeline__right{ display: none; }

.timeline__photo{
  margin: 0 auto 10px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,.2);
  max-width: 260px;
}
.timeline__photo img{ width: 100%; display: block; }
.timeline__caption{
  font-size: 13px;
  line-height: 1.75;
  color: #fff;
  margin: 0 -4px;
  text-align: center;
  padding: 14px 16px 18px;
  background: rgba(28, 38, 22, 0.82);
  font-weight: 500;
}

/* === PC layout === */
@media (min-width: 768px){
  .timeline{
    padding: clamp(20px, 3vw, 36px) var(--side-pad) 0;
    overflow: visible;
  }
  .timeline__title{
    text-align: center;
    margin-bottom: 12px;
    font-size: clamp(22px, 2.6vw, 28px);
  }
  .timeline__grid{
    display: grid;
    grid-template-columns: 0.9fr 0.25fr 1.2fr;
    gap: clamp(8px, 1.4vw, 18px);
    align-items: start;
    position: relative;
    padding-bottom: clamp(30px, 4vw, 56px);
  }
  /* PC: big rounded green hill bg behind everything in the grid */
  /* A1-3. Hill BG: 丸い丘 + コンパクト幅 + 左右の滑らかな下降 */
  .timeline__grid::before{
    content: "";
    position: absolute;
    left: 4%;
    right: 4%;
    top: 40px;
    bottom: -380px;
    background:
      radial-gradient(120% 80% at 50% 0%, #5e7d3f 0%, #6e8c52 25%, #7a9858 55%, #8ba868 85%, #a4be7d 100%);
    border-radius: 50% 50% 0 0 / 30% 30% 0 0;
    z-index: 0;
    /* J3. Hill下端をグラデーション遷移 */
    mask-image: linear-gradient(180deg, #000 0%, #000 88%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 88%, transparent 100%);
  }
  .timeline__left{
    background: transparent;
    padding: 0;
    border-radius: 0;
    overflow: visible;
    min-height: 280px;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
  }
  .timeline__left::before{ content: none; }
  /* B4. Farm より大きく (PC: reset SP object-fit) */
  .timeline__farm{
    position: relative;
    width: 90%;
    max-width: 320px;
    margin: 16px 0 0 4%;
    height: auto;
    overflow: visible;
    z-index: 3;
  }
  .timeline__farm picture, .timeline__farm img{
    width: 100%;
    height: auto;
    object-fit: unset;
  }
  /* PC: hide the separate path-bg, since farm-hill.png already contains the hill+path start */
  /* B5. Path: grid直下、丘の中央左寄りに配置 */
  .timeline__path-bg{
    display: block;
    position: absolute;
    left: 14%;
    top: 130px;
    transform: none;
    width: auto;
    height: clamp(220px, 22vw, 300px);
    max-width: none;
    z-index: 2;
    opacity: 0.95;
  }
  .timeline__path-bg img{ height: 100%; width: auto; }
  .timeline__sack{ display: none; }
  .timeline__flowers{ display: none; }
  /* C6-7. Rabbit: grid直下、丘の左下、path末端と接続 */
  .timeline__rabbit{
    position: absolute;
    left: 44%;
    top: 310px;
    right: auto;
    width: 200px;
    max-width: 220px;
    z-index: 5;
  }
  .timeline__rabbit img{ filter: drop-shadow(0 4px 10px rgba(0,0,0,.3)); }
  /* D8-9. 年号: 小さくタイトに */
  .timeline__years{
    display: flex;
    flex-direction: column;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 32px 0 0;
    position: relative;
    z-index: 4;
    align-items: center;
  }
  .timeline__years .tl-year{
    font-weight: 800;
    color: var(--c-deep);
    font-size: 15px;
    letter-spacing: 0.02em;
    line-height: 1.35;
  }
  .timeline__years .tl-year.is-active{
    color: #a0342e;
    font-size: 16px;
    background: none;
    padding: 0;
    border-radius: 0;
    display: block;
    font-weight: 900;
  }
  /* PC: show right column, hide SP duplicate */
  .timeline__photo-sp{ display: none; }
  /* PC: path-section is transparent wrapper — absolute children find timeline__left as context */
  .timeline__path-section{ position: static; min-height: 0; }
  /* PC right (photo + caption) — 丘の内側に収める */
  .timeline__right{
    display: block;
    padding-right: clamp(20px, 4vw, 60px);
    position: relative;
    z-index: 4;
    margin-top: 24px;
  }
  /* E10-11. 写真: 茶枠を明確に、少し大きく */
  .timeline__photo{
    max-width: 300px;
    margin: 0 0 0 auto;
    border: 5px solid #6b5436;
    border-radius: 2px;
    box-shadow: 0 6px 18px rgba(0,0,0,.18);
    position: relative;
    z-index: 4;
  }
  .timeline__photo img{ aspect-ratio: 1.4/1; object-fit: cover; }
  /* F12-14. キャプション: 写真の右下と重なる位置に */
  .timeline__caption{
    text-align: left;
    max-width: 280px;
    background: var(--c-sage-dark);
    color: #fff;
    padding: 11px 14px;
    border-radius: 2px;
    font-size: 11px;
    line-height: 1.7;
    margin: -14px 0 0 auto;
    position: relative;
    z-index: 4;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
  }
  /* hide SP scattered years on PC */
  .timeline__sp-path{ display: none; }
}

/* ============================================================
   SNS（leaf bg / シンプルなアイコン）
   ============================================================ */
.sns{
  background: #d1d4a7;
  padding: clamp(68px, 16vw, 80px) var(--side-pad) clamp(20px, 6vw, 32px);
  text-align: center;
}
@media (min-width: 768px){
  /* G15-16. SNS: hill上に配置、濃い色で視認性UP */
  .sns{
    padding-top: 24px;
    padding-bottom: 8px;
    background: transparent;
    margin-top: -160px;
    position: relative;
    z-index: 5;
    text-align: center;
  }
  .sns__inner{ text-align: center; max-width: var(--max-w); margin-inline: auto; }
  .sns__title{
    text-align: center;
    margin: 0 0 14px;
    color: #1f2e10;
    font-size: clamp(22px, 2.6vw, 28px);
    letter-spacing: 0.2em;
    font-weight: 900;
    text-shadow: 0 1px 2px rgba(255,255,255,.3);
  }
  .sns__list{
    justify-content: center;
    gap: clamp(40px, 6vw, 72px);
  }
  .sns__link{
    width: clamp(44px, 5vw, 58px);
    height: clamp(44px, 5vw, 58px);
    background: transparent;
    box-shadow: none;
  }
  .sns__link{ color: #1f2e10; }
  .sns__link svg{ width: 100%; height: 100%; }
  .sns__link--yt svg, .sns__link--fb svg, .sns__link--ig svg{
    fill: none; stroke: currentColor; stroke-width: 3.4;
  }
  /* H17-18. CTA: 大きく、hill 内側に配置 */
  .cta{
    background: transparent;
    margin-top: -40px;
    padding-bottom: clamp(20px, 3vw, 40px);
    padding-top: 0;
    position: relative;
    z-index: 5;
    text-align: left;
    padding-left: clamp(40px, 8vw, 120px);
  }
  .cta__inner{ text-align: left; max-width: var(--max-w); margin-inline: auto; }
  .cta__btn--brush{
    width: clamp(280px, 32vw, 360px);
  }
}
.sns__inner{ max-width: var(--max-w); margin-inline: auto; }
.sns__title{
  font-size: clamp(20px, 5vw, 28px);
  color: var(--c-brown);
  letter-spacing: 0.12em;
  font-weight: 800;
  margin: 0 0 24px;
}
.sns__list{
  display: flex;
  justify-content: center;
  gap: clamp(28px, 9vw, 56px);
  list-style: none; margin: 0; padding: 0;
}
.sns__link{
  display: grid; place-items: center;
  width: clamp(44px, 12vw, 56px);
  height: clamp(44px, 12vw, 56px);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--c-brown);
  transition: transform .15s;
}
.sns__link:hover{ transform: translateY(-2px); box-shadow: none; }
.sns__link svg{ width: 100%; height: 100%; }
.sns__link svg [fill="currentColor"]{ fill: currentColor; }
.sns__link{ color: var(--c-brown); }
/* YouTube rect/arrow handled inline in SVG */

/* ============================================================
   お問い合わせ CTA（ブラシ風）
   ============================================================ */
.cta{
  background: #d1d4a7;
  padding: clamp(12px, 4vw, 20px) var(--side-pad) clamp(48px, 12vw, 80px);
  text-align: center;
}
/* PC: CTAとSNSを丘の内側に配置（source-order 問題を回避して再宣言） */
@media (min-width: 768px){
  .cta{
    background: transparent;
    margin-top: -40px;
    padding-bottom: clamp(20px, 3vw, 40px);
    padding-top: 0;
    position: relative;
    z-index: 5;
    text-align: left;
    padding-left: clamp(40px, 8vw, 120px);
  }
  .sns{
    margin-top: -160px;
  }
}
.cta__inner{ max-width: var(--max-w); margin-inline: auto; }
/* PSD抽出画像をそのまま使うブラシボタン */
.cta__btn--brush{
  display: inline-block;
  width: clamp(260px, 30vw, 320px);
  aspect-ratio: 320 / 90;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  text-indent: -9999px;
  overflow: hidden;
  transition: transform .15s;
}
.cta__btn--brush:hover{ transform: translateY(-2px); }
.cta__sr{ position: absolute; left: -9999px; }

.cta__btn:not(.cta__btn--brush){
  position: relative;
  display: inline-block;
  padding: 30px 84px;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: clamp(16px, 4.4vw, 20px);
  isolation: isolate;
}
/* ブラシ風背景 — 多層SVG turbulence/displacement で不揃いなエッジを表現 */
.cta__brush{
  position: absolute;
  left: -22px; right: -22px; top: -8px; bottom: -8px;
  z-index: -1;
  background:
    radial-gradient(65% 80% at 30% 50%, #7d9858 0%, transparent 50%),
    radial-gradient(50% 70% at 70% 55%, #6a8c4a 0%, transparent 55%),
    radial-gradient(85% 90% at 50% 50%, #5a7a3f 30%, #4a6234 70%, #3a4f28 100%);
  -webkit-mask:
    radial-gradient(50% 75% at 22% 50%, #000 60%, transparent 95%),
    radial-gradient(60% 85% at 52% 50%, #000 55%, transparent 92%),
    radial-gradient(50% 75% at 82% 50%, #000 60%, transparent 95%);
  -webkit-mask-composite: source-over;
          mask:
    radial-gradient(50% 75% at 22% 50%, #000 60%, transparent 95%),
    radial-gradient(60% 85% at 52% 50%, #000 55%, transparent 92%),
    radial-gradient(50% 75% at 82% 50%, #000 60%, transparent 95%);
  transform: rotate(-1.2deg);
}
.cta__brush::before,
.cta__brush::after{
  content: ""; position: absolute; inset: -2px;
  -webkit-mask: inherit; mask: inherit;
  pointer-events: none;
}
.cta__brush::before{
  background:
    radial-gradient(40% 30% at 30% 35%, rgba(255,255,255,.18), transparent 60%),
    radial-gradient(35% 25% at 70% 65%, rgba(255,255,255,.10), transparent 60%);
  transform: rotate(.8deg);
  mix-blend-mode: screen;
}
.cta__brush::after{
  background:
    radial-gradient(110% 60% at 50% 50%, transparent 50%, rgba(0,0,0,.22) 88%);
  transform: rotate(-2.2deg) scale(1.04);
  opacity: .8;
}
.cta__label{ position: relative; z-index: 1; text-shadow: 0 1px 3px rgba(0,0,0,.4); }
.cta__btn:hover{ transform: translateY(-2px); transition: transform .15s; }

/* ============================================================
   スクロールフェードイン
   ============================================================ */
.js-fade { opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .5s ease; }
.js-fade.is-visible { opacity: 1; transform: none; }

/* ============================================================
   内部ページ共通
   ============================================================ */
.pt-page { padding-top: calc(var(--header-h) + 40px); }
body:not(.home) .wp-site-blocks,
body:not(.home) .wp-block-query { padding-top: var(--header-h); }
.wp-block-post-title a { color: var(--c-deep); text-decoration: none; }

/* ============================================================
   ページヒーロー
   ============================================================ */
.page-hero {
  background: var(--c-cream); text-align: center; min-height: 200px;
  padding: 60px 24px; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.page-hero--brands { background: var(--c-sage-mid); }
.page-hero--brands .page-hero__title { color: var(--c-white); }
.page-hero--brands .page-hero__sub { color: rgba(255,255,255,.8); }
.page-hero__deco {
  position: absolute; right: clamp(8px, 4vw, 48px); bottom: 0;
  width: clamp(80px, 20vw, 160px); pointer-events: none;
}
.page-hero__deco img { width: 100%; }
.page-hero__title { font-size: clamp(32px, 6vw, 56px); font-weight: 900; color: var(--c-deep); letter-spacing: 0.04em; margin: 0 0 8px; }
.page-hero__sub { font-size: clamp(12px, 2.5vw, 15px); font-variant: small-caps; letter-spacing: 0.18em; color: var(--c-sage-mid); margin: 0; }

/* ============================================================
   お問い合わせページ
   ============================================================ */
.contact-body { padding: clamp(40px, 8vw, 72px) var(--side-pad); }
.contact-info {
  background: var(--c-white); border-radius: 16px; padding: 40px;
  max-width: 640px; margin-inline: auto; box-shadow: 0 4px 24px rgba(0,0,0,.06);
}
.contact-info__row { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--c-sage-light); align-items: baseline; }
.contact-info__row:last-of-type { border-bottom: none; }
.contact-info__label { flex: 0 0 80px; font-size: 13px; font-weight: 700; color: var(--c-sage-mid); }
.contact-info__value { flex: 1; font-size: 15px; color: var(--c-ink); line-height: 1.7; }
.contact-info__value a { color: var(--c-btn); text-decoration: none; }
.contact-info__value a:hover { text-decoration: underline; }
.contact-info__note {
  margin: 24px 0 0; padding: 16px;
  background: #fdf7ee; border-left: 4px solid var(--c-sage-light);
  border-radius: 0 8px 8px 0; font-size: 13px; line-height: 1.8; color: #666;
}
.contact-wave { overflow: hidden; line-height: 0; }

/* ============================================================
   ブランドリストページ
   ============================================================ */
.brand-list-body {
  padding: clamp(40px, 8vw, 72px) var(--side-pad);
  max-width: calc(var(--max-w) + var(--side-pad) * 2);
  margin-inline: auto;
}
.brand-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (min-width: 768px) { .brand-grid { grid-template-columns: repeat(3, 1fr); } }
.brand-card {
  background: var(--c-white); border-radius: 16px; padding: 24px;
  text-align: center; box-shadow: 0 4px 16px rgba(0,0,0,.06);
  transition: transform .2s, box-shadow .2s;
}
.brand-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,.1); }
.brand-card__logo { height: 80px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.brand-card__logo img { max-height: 80px; width: auto; max-width: 100%; object-fit: contain; }
.brand-card__name { font-size: clamp(14px, 3vw, 17px); font-weight: 700; color: var(--c-deep); margin: 0 0 10px; }
.brand-card__desc { font-size: 12px; line-height: 1.75; color: #666; margin: 0; text-align: left; }

/* ============================================================
   フッター
   ============================================================ */
/* J. Footer */
.site-footer {
  background: #d1d4a7;
  padding: clamp(16px, 3vw, 28px) var(--side-pad) clamp(80px, 18vw, 100px);
  position: relative;
  overflow: visible;
}
.site-footer__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  position: relative;
  z-index: 1;
  padding-right: clamp(80px, 20vw, 240px);
}
.site-footer__name {
  font-weight: 600; font-size: clamp(14px, 4vw, 18px);
  margin: 0 0 6px; color: #fff; letter-spacing: .04em;
}
.site-footer__address {
  font-style: normal; font-size: clamp(11px, 2.8vw, 14px);
  line-height: 1.7; color: rgba(255,255,255,0.9);
}
@media (min-width: 768px){
  .site-footer{
    background: var(--c-cream);
    padding-bottom: clamp(40px, 5.5vw, 60px);
  }
  .site-footer__name{
    color: var(--c-deep);
    font-weight: 500;
    font-size: clamp(14px, 1.4vw, 17px);
  }
  .site-footer__address{
    color: #555;
  }
}
/* I19-20. Footer veggies: hill範囲内・中サイズ */
.site-footer__deco {
  position: absolute;
  bottom: 100%; right: clamp(0px, 4vw, 40px);
  width: clamp(220px, 28vw, 340px);
  aspect-ratio: 320 / 210;
  background: url("../images/deco/footer-veg.png") right bottom / contain no-repeat;
  pointer-events: none;
  z-index: 6;
  transform: translateY(40%);
}
