@charset "UTF-8";
/* ============================================================================
   株式会社荒畑園  下層ページのヘッダー（トップページと同じもの）  ─ 2026.09.23
   ----------------------------------------------------------------------------
   トップページ（top-new.css ＋ top-3.css）のヘッダーと全画面メニューを、
   下層ページ用に切り出したものです。style.css のあとに読み込みます。
   動きは header.js が担当します（main.js の旧ヘッダー処理は、要素がないため動きません）。

   ・見出し帯（.page-head）の上では透過＋白いロゴ、見出し帯を抜けたら白地＋緑のロゴ
   ・本文に入ってからは、下スクロールで隠れ、上スクロールで戻る
   ・色・書体の変数は .t-header / .t-menu の中だけで定義し、style.css の変数には触れません
   ----------------------------------------------------------------------------
   01 高さと変数 / 02 リセット / 03 ヘッダー / 04 ドロップダウン
   05 オンラインショップ・メニューボタン / 06 全画面メニュー / 07 現在地 / 08 印刷
   ========================================================================== */

/* ------------------------------------------------------------ 01 高さと変数 */
/* 見出し帯の余白・ページ内リンクの着地位置（scroll-padding）を新しい高さに合わせます */
:root { --header-h: 84px; --header-h-min: 84px; }
@media (max-width: 900px) { :root { --header-h: 68px; --header-h-min: 68px; } }

.t-header, .t-menu {
  --g900: #0D2318;
  --g800: #143222;
  --g700: #1D4A33;
  --g600: #2A6746;
  --matcha:    #7FA34F;
  --matcha-lt: #A9C77E;
  --ink:   #16201A;
  --ink-3: #626B64;
  --line:  #E3E0D6;
  --paper-2: #F2F0E8;

  --ff-jp: "Zen Kaku Gothic New", "Yu Gothic Medium", "YuGothic", "Hiragino Sans",
           "Hiragino Kaku Gothic ProN", "Meiryo", system-ui, sans-serif;
  --ff-en: "Roboto Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;

  --hh: var(--header-h);
  --gut: clamp(20px, 5vw, 72px);
  --e-out: cubic-bezier(.16, 1, .3, 1);
  --e-io:  cubic-bezier(.76, 0, .24, 1);

  --i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M0 5h14.5M10 .8 14.5 5 10 9.2' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E");
  --i-ext:   url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1.5 10.5 10.5 1.5M3.5 1.5h7v7' fill='none' stroke='black' stroke-width='1.4'/%3E%3C/svg%3E");

  font-family: var(--ff-jp);
  font-size: 15.5px;
  line-height: 2;
  letter-spacing: .05em;
}

/* -------------------------------------------------------------- 02 リセット */
/* style.css の要素指定（ul の字下げ・p の下余白・a の緑色）を打ち消します。
   :where() で詳細度を 0 にしているので、下のクラス指定はそのまま効きます */
:where(.t-header, .t-menu) ul { margin: 0; padding: 0; list-style: none; }
:where(.t-header, .t-menu) p { margin: 0; }
:where(.t-header, .t-menu) a { color: inherit; text-decoration: none; }
:where(.t-header, .t-menu) button {
  font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer;
}
:where(.t-header, .t-menu) :focus-visible { border-radius: 4px; }

.t-vh {
  position: absolute !important;
  width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.t-ext {
  display: inline-block; width: 10px; height: 10px; background: currentColor;
  -webkit-mask: var(--i-ext) center / contain no-repeat;
          mask: var(--i-ext) center / contain no-repeat;
}

/* ------------------------------------------------------------- 03 ヘッダー */
.t-header {
  position: fixed; inset: 0 0 auto; z-index: 200;
  display: flex; align-items: center;
  height: var(--hh);
  padding: 0 clamp(16px, 2.6vw, 40px);
  color: #fff;
  transition: background .5s, color .5s, box-shadow .5s, transform .6s var(--e-out);
}
.t-header.is-solid {
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
          backdrop-filter: blur(16px) saturate(1.4);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(13,35,24,.07);
}
.t-header.is-hidden { transform: translateY(-100%); }

.t-logo {
  position: relative; display: block; flex: none;
  width: clamp(118px, 10.5vw, 150px);
  border-radius: 8px;
  transition: opacity .3s, transform .5s var(--e-out);
}
.t-logo img { display: block; width: 100%; height: auto; transition: opacity .4s; }
.t-logo__dark { position: absolute; inset: 0; opacity: 0; }
.is-solid .t-logo__dark { opacity: 1; }
.is-solid .t-logo__white { opacity: 0; }
.t-logo:hover { opacity: .72; transform: translateY(-1px); }
.t-logo:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }

.t-gnav { margin-left: auto; }
.t-gnav__list { display: flex; align-items: center; gap: clamp(22px, 2.6vw, 44px); }
.t-gnav__item { position: relative; }
.t-gnav__link {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  padding: 12px 0; line-height: 1;
}
.t-gnav__en {
  font-family: var(--ff-en); font-weight: 700;
  font-size: 14px; letter-spacing: .12em; text-transform: uppercase;
}
.t-gnav__ja { font-size: 10px; font-weight: 500; letter-spacing: .14em; opacity: .85; }
.t-gnav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--e-out);
}
.t-gnav__link:hover::after, .is-open > .t-gnav__link::after {
  transform: scaleX(1); transform-origin: left;
}

/* ------------------------------------------------------- 04 ドロップダウン */
.t-drop {
  position: absolute; top: calc(100% + 16px); left: 50%;
  width: min(580px, 80vw);
  padding: 26px 28px 22px;
  background: #fff; color: var(--ink);
  border-radius: 20px;
  box-shadow: 0 30px 60px -24px rgba(13,35,24,.35), 0 0 0 1px rgba(13,35,24,.05);
  opacity: 0; visibility: hidden;
  transform: translate(-50%, 12px);
  transition: opacity .35s var(--e-out), transform .5s var(--e-out), visibility 0s .35s;
}
.t-drop::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.is-open > .t-drop {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
  transition-delay: 0s;
}
.t-drop__head {
  display: flex; align-items: baseline; gap: 14px;
  padding: 0 8px 16px; border-bottom: 1px solid var(--line);
  font-weight: 700; font-size: 14px; line-height: 1.4;
}
.t-drop__en {
  font-family: var(--ff-en); font-weight: 300;
  font-size: 28px; letter-spacing: .02em; text-transform: uppercase; color: var(--g700);
}
.t-drop__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; }
.t-drop__list a {
  position: relative; display: block;
  padding: 14px 12px 16px; border-radius: 12px;
  font-weight: 700; font-size: 14.5px; line-height: 1.5;
  transition: background .3s;
}
.t-drop__list a:hover { background: var(--paper-2); }
.t-drop__list small {
  display: block; margin-top: 6px;
  font-weight: 400; font-size: 11.5px; line-height: 1.7; letter-spacing: .02em; color: var(--ink-3);
}

/* ------------------------------------ 05 オンラインショップ・メニューボタン */
.t-shopbtn {
  display: inline-flex; align-items: center; gap: 9px; flex: none;
  height: 46px; padding: 0 22px; margin-left: clamp(22px, 2.6vw, 44px);
  border: 1px solid #fff; border-radius: 999px;
  background: #fff; color: var(--g900);
  box-shadow: 0 6px 20px -8px rgba(8, 20, 13, .5);
  font-family: var(--ff-en); font-weight: 700; font-size: 13px; line-height: 1;
  letter-spacing: .12em; text-transform: uppercase;
  transition: background .3s, color .3s, border-color .3s;
}
.t-shopbtn:hover { background: var(--g700); border-color: var(--g700); color: #fff; }
.is-solid .t-shopbtn {
  background: var(--g700); border-color: var(--g700); color: #fff;
  box-shadow: 0 6px 18px -10px rgba(29, 74, 51, .8);
}
.is-solid .t-shopbtn:hover { background: var(--g600); border-color: var(--g600); color: #fff; }

.t-shopbtn__cart {
  display: block; width: 19px; height: 19px; flex: none;
  fill: none;
  stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.t-shopbtn__cart circle { fill: currentColor; stroke: none; }
.t-shopbtn .t-ext { opacity: .7; }

.t-menubtn, .t-menu__close {
  display: grid; place-items: center; flex: none;
  width: 48px; height: 48px; border-radius: 50%;
  transition: transform .45s var(--e-out), background .3s;
}
.t-menubtn { margin-left: 12px; background: var(--g700); color: #fff; }
.t-menubtn:hover { transform: scale(1.08); background: var(--g600); }
.t-lines { position: relative; display: block; width: 18px; height: 8px; }
.t-lines i {
  position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor;
  transition: transform .45s var(--e-out);
}
.t-lines i:first-child { top: 0; }
.t-lines i:last-child { bottom: 0; }
.t-menubtn:hover .t-lines i:last-child { transform: scaleX(.55); transform-origin: left; }
.t-lines.is-x i { top: 50%; bottom: auto; }
.t-lines.is-x i:first-child { transform: translateY(-50%) rotate(45deg); }
.t-lines.is-x i:last-child  { transform: translateY(-50%) rotate(-45deg); }

@media (max-width: 1100px) {
  .t-gnav { display: none; }
  .t-shopbtn { margin-left: auto; height: 42px; padding: 0 18px; font-size: 12px; }
  .t-shopbtn__cart { width: 17px; height: 17px; }
}
@media (max-width: 600px) {
  .t-shopbtn { display: none; }
  .t-menubtn { margin-left: auto; }
}

/* ------------------------------------------------------- 06 全画面メニュー */
.t-menu { position: fixed; inset: 0; z-index: 220; visibility: hidden; transition: visibility 0s .9s; }
.t-menu.is-open { visibility: visible; transition-delay: 0s; }
.t-menu__veil {
  position: absolute; inset: 0; background: rgba(8,20,13,.55);
  opacity: 0; transition: opacity .6s;
}
.t-menu.is-open .t-menu__veil { opacity: 1; }
.t-menu__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  display: flex; flex-direction: column;
  width: min(100%, 1080px);
  padding: 0 var(--gut) 40px;
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--g900); color: #fff;
  clip-path: inset(0 0 0 100%);
  transition: clip-path .9s var(--e-io);
}
.t-menu.is-open .t-menu__panel { clip-path: inset(0); }
.t-menu__top { display: flex; align-items: center; justify-content: space-between; flex: none; height: var(--hh); }
.t-menu__logo-link { display: block; width: clamp(118px, 10.5vw, 150px); }
.t-menu__logo-link:hover { opacity: .72; }
.t-menu__logo { display: block; width: 100%; height: auto; }
.t-menu__close { background: #fff; color: var(--g900); }
.t-menu__close:hover { transform: rotate(90deg); }
.t-menu__nav {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px clamp(24px, 4vw, 56px);
  margin-top: clamp(32px, 8vh, 96px);
}
.t-menu__en {
  font-family: var(--ff-en); font-weight: 300;
  font-size: clamp(34px, 4vw, 56px); line-height: 1; letter-spacing: .01em; text-transform: uppercase;
  color: var(--matcha-lt);
}
.t-menu__col ul { margin-top: 24px; border-top: 1px solid rgba(255,255,255,.18); }
.t-menu__col li { border-bottom: 1px solid rgba(255,255,255,.18); }
.t-menu__col a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 0;
  font-weight: 700; font-size: clamp(15px, 1.35vw, 18px); line-height: 1.5;
}
.t-menu__col a::after {
  content: ""; flex: none; width: 14px; height: 9px; background: currentColor;
  -webkit-mask: var(--i-arrow) center / contain no-repeat;
          mask: var(--i-arrow) center / contain no-repeat;
  transition: transform .45s var(--e-out);
}
.t-menu__col a:hover { color: var(--matcha-lt); }
.t-menu__col a:hover::after { transform: translateX(6px); }
.t-menu__foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px;
  margin-top: auto; padding-top: 48px;
}
.t-menu__addr { width: 100%; margin-top: 12px; font-size: 12.5px; color: rgba(255,255,255,.65); }

.t-pill {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 28px; border-radius: 999px;
  font-weight: 700; font-size: 14px; line-height: 1; letter-spacing: .08em;
  transition: background .3s, color .3s, border-color .3s;
}
.t-pill--light { background: #fff; color: var(--g900); }
.t-pill--light:hover { background: var(--matcha-lt); }
.t-pill--line { border: 1px solid rgba(255,255,255,.5); color: #fff; }
.t-pill--line:hover { background: #fff; color: var(--g900); }
.t-pill--light .t-shopbtn__cart { width: 18px; height: 18px; margin-right: 2px; }

/* 開くときの順次表示。下層ページの演出フラグ（.js-anim）が付いているときだけ */
.js-anim .t-menu__col, .js-anim .t-menu__foot {
  opacity: 0; transform: translate3d(0, 28px, 0);
  transition: opacity .5s, transform .8s var(--e-out);
}
.js-anim .t-menu.is-open .t-menu__col, .js-anim .t-menu.is-open .t-menu__foot {
  opacity: 1; transform: none;
  transition-delay: calc(.35s + var(--i, 0) * .08s);
}
@media (max-width: 767px) {
  .t-menu__nav { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------------- 07 現在地 */
/* 開いているページを、ナビの下線・ドロップダウンの地色・メニューの文字色で示します */
.t-gnav__item.is-current > .t-gnav__link::after,
.t-gnav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.t-drop__list a[aria-current="page"] { background: var(--paper-2); color: var(--g700); }
.t-menu__col a[aria-current="page"] { color: var(--matcha-lt); }

@media (prefers-reduced-motion: reduce) {
  .t-header, .t-header *, .t-menu, .t-menu * { transition-duration: .01ms !important; transition-delay: 0s !important; }
}

/* ----------------------------------------------------------------- 08 印刷 */
@media print {
  .t-header, .t-menu { display: none !important; }
}
