/* ============================================================
   TOP B案 — top2.css  (fully independent from main.css)
   Design: foodware.jp-inspired × ISHIMOTO green #2a5c3a
   Fonts: 英字=D-DIN(自サーバ,OFL) / 日本語=Noto Sans JP
   ============================================================ */

/* ---------- 自ホスト D-DIN（foodware の DIN 2014 相当・OFL） ---------- */
@font-face {
  font-family: 'D-DIN';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/D-DIN.woff2') format('woff2'),
       url('../fonts/D-DIN.woff')  format('woff');
}
@font-face {
  font-family: 'D-DIN';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/D-DIN-Bold.woff2') format('woff2'),
       url('../fonts/D-DIN-Bold.woff')  format('woff');
}

/* ---------- Tokens ---------- */
:root {
  --t2-green:    #2a5c3a;
  --t2-green-d:  #1e4429;
  --t2-green-l:  #e6ede9;
  --t2-cream:    #f7f4ef;
  --t2-white:    #ffffff;
  --t2-text:     #2b2620;
  --t2-text-s:   #56534e;
  --t2-text-xs:  #9a9590;
  --t2-border:   #dedad3;
  /* YONEYAMA/クラフト系 */
  --t2-kraft:    #d8c7a8;   /* クラフト紙ベース */
  --t2-kraft-l:  #e6d9c1;   /* 明るいクラフト */
  --t2-kraft-d:  #c3ad86;   /* 濃いクラフト（帯） */
  --t2-orange:   #e8762a;
  --t2-orange-d: #d0641c;
  --t2-max:      1200px;
  --t2-r:        4px;
  --t2-ease:     cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset / base ---------- */
/* B案ページ全体（ヘッダー含む）を D-DIN + Noto Sans JP に（body要素） */
/* body。旧 main.css が持っていた基底スタイルの引き継ぎ。
   color を入れないと、自前で色を指定していない要素（ヘッダーの
   ドロップダウン等）がブラウザ既定の純黒 #000 になり、サイトの
   基準色 #2b2620 から浮く。background も同様に、指定がないと
   オーバースクロール時などに白地が覗く。

   ★ line-height: 1.8 は意図的に引き継いでいない。
     フッター（ft-）は main.css 撤去後に書いており 1.8 を前提にしていないため、
     ここで敷くとフッターが 28px、ページ全体で 288px 伸びる。実測済み。 */
.t2-page {
  margin: 0;
  font-family: 'D-DIN', 'Noto Sans JP', sans-serif;
  color: var(--t2-text);
  background: var(--t2-white);
  -webkit-font-smoothing: antialiased;
}
/* グローバルリセット。旧 main.css の冒頭にあったものの引き継ぎ。
   ★ ここを .t2-main 配下に限定してはいけない。ヘッダー（.t2h）と
     フッター（.ft）は .t2-main の外にあるため、限定するとそこだけ
     UA 既定値のままになる。実際それで、ヘッダーの <ul> に既定の
     margin:16px と padding-left:40px が復活し、タブが緑ボーダーから
     19px 浮いて右に 40px ずれていた。
   ★ 詳細度は 0 のまま（`*` のみ）にすること。`.t2-main *` のように
     クラスを足すと (0,1,0) になり、各コンポーネントの margin 指定と
     競合して勝ってしまう。 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font-family: inherit; }
/* アンカー着地はヘッダーぶんずらす。個別指定は about.css / ips.css にある */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* ※ 旧 main.css の `html { font-size: 16px }` は引き継いでいない。
     ブラウザ既定と同値のため表示は変わらず、
     文字サイズを大きく設定しているユーザーの指定を潰さないため。 */

.t2-main * { box-sizing: border-box; margin: 0; padding: 0; }
.t2-main {
  font-family: 'D-DIN', 'Noto Sans JP', sans-serif;
  color: var(--t2-text);
  background: var(--t2-white);   /* ベースは白。テクスチャは一部セクションのみアクセント */
}
/* クラフト紙テクスチャ = アクセント背景（NEWS / COMPANY） */
.t2-paper-bg {
  background-color: var(--t2-kraft-l);
  background-image: var(--t2h-paper, none);
  background-size: 760px;
  background-repeat: repeat;
}
.t2-main img { display: block; max-width: 100%; }
.t2-main a { text-decoration: none; color: inherit; }
/* ヘッダー・フッターは .t2-main の外にあるので個別に指定する。
   旧 main.css の全称リセット `a { color: inherit; text-decoration: none }` を
   撤去した際にここが漏れ、下線とブラウザ既定のリンク色（青）が出た。

   ★ :where() で詳細度を 0 にしてあるのは必須。素で `.t2h a` と書くと
     詳細度 (0,1,1) になり、<a> 自身に色を当てている .t2h-tab--orange /
     .t2h-tab--green (0,1,0) に勝ってしまって、CONTACT・RECRUIT タブの
     白文字が消える。旧 main.css と同じ (0,0,1) 相当に揃えておくこと。 */
:where(.t2h, .t2h-drawer, .ft) a { color: inherit; text-decoration: none; }

/* ---------- Fade-in (JS adds .is-visible) ---------- */
.t2-fade { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--t2-ease), transform .7s var(--t2-ease); }
.t2-fade.is-visible { opacity: 1; transform: none; }

/* ---------- Labels / headings ---------- */
.t2-label {
  font-family: 'D-DIN', 'Montserrat', sans-serif;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--t2-green);
  text-transform: uppercase;
  margin-bottom: .5rem;
}
.t2-label--light { color: rgba(255,255,255,.7); }

.t2-heading {
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.01em;
  margin-bottom: 1.2rem;
}
.t2-heading--light { color: var(--t2-white); }

.t2-body {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--t2-text-s);
  margin-bottom: 1.8rem;
}
.t2-body--light { color: rgba(255,255,255,.8); }

/* ---------- Buttons ---------- */
.t2-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--t2-green);
  color: var(--t2-white);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: .85rem 2rem;
  border-radius: 2px;
  transition: background .2s;
}
.t2-btn:hover { background: var(--t2-green-d); }
/* .t2-main a { color:inherit } に負けないよう詳細度を上げてボタン文字は必ず白に */
.t2-main a.t2-btn, .t2-main a.t2-btn:hover { color: #fff; }

/* お問い合わせCTA（オレンジ・文字は必ず白） */
.t2-btn--cta { background: var(--t2-orange); }
.t2-btn--cta:hover { background: var(--t2-orange-d); }
.t2-main a.t2-btn--cta, .t2-main a.t2-btn--cta:hover { color: #fff; }
.t2-btn--cta svg { flex-shrink: 0; }

.t2-btn--outline {
  background: transparent;
  border: 2px solid var(--t2-white);
  color: var(--t2-white);
}
.t2-btn--outline:hover { background: rgba(255,255,255,.15); }

.t2-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .95rem;
  font-weight: 700;
  color: var(--t2-green);
  letter-spacing: .04em;
  transition: gap .2s;
}
.t2-link-arrow:hover { gap: .75rem; }
.t2-link-arrow svg { flex-shrink: 0; }

/* ============================================================
   HERO SLIDER
   ============================================================ */
.t2-hero {
  position: relative;
  width: 100%;
  height: 78svh;              /* 少し低くして下の新着情報が覗くように */
  min-height: 500px;
  overflow: hidden;
}

.t2-hero__slides { position: relative; width: 100%; height: 100%; }

.t2-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s var(--t2-ease);
  pointer-events: none;
}
.t2-hero__slide.is-active { opacity: 1; pointer-events: auto; }

/* ============================================================
   KVの切り替え演出（.t2-hero--{型} で出し分け）
   比較用に ?kv=wipe などのクエリでも切り替えられる（front-page.php）。
   ★演出の長さは top2.js の LEAVE_MS と揃えること。ずれると、
     覆いきる前に前のスライドが消えて一瞬すき間が出る。
   ★.is-leaving は「直前まで表示していたスライド」。ワイプや横スライドは
     前の写真を覆う動きなので、演出中だけ下に残しておく必要がある。
   ============================================================ */

/* --- wipe：斜めのワイプ。パネルの傾きと同じ向きに合わせてある --- */
.t2-hero--wipe .t2-hero__slide { transition: none; opacity: 0; }
.t2-hero--wipe .t2-hero__slide.is-leaving { opacity: 1; z-index: 1; }
.t2-hero--wipe .t2-hero__slide.is-active {
  opacity: 1; z-index: 2;
  animation: t2-kvWipe 1.15s var(--t2-ease) both;
}
@keyframes t2-kvWipe {
  from { clip-path: polygon(0 0, 0 0, -20% 100%, -20% 100%); }
  to   { clip-path: polygon(0 0, 130% 0, 110% 100%, -20% 100%); }
}

/* --- slide：横から入って前の写真を押し出す --- */
.t2-hero--slide .t2-hero__slide { transition: none; opacity: 0; }
.t2-hero--slide .t2-hero__slide.is-leaving {
  opacity: 1; z-index: 1;
  animation: t2-kvPush 1.05s var(--t2-ease) both;
}
.t2-hero--slide .t2-hero__slide.is-active {
  opacity: 1; z-index: 2;
  animation: t2-kvSlideIn 1.05s var(--t2-ease) both;
}
@keyframes t2-kvSlideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes t2-kvPush    { from { transform: translateX(0); } to { transform: translateX(-18%); } }

/* --- zoom：寄りから引きながら現れる --- */
.t2-hero--zoom .t2-hero__slide { transition: none; opacity: 0; }
.t2-hero--zoom .t2-hero__slide.is-leaving { opacity: 1; z-index: 1; }
.t2-hero--zoom .t2-hero__slide.is-active {
  opacity: 1; z-index: 2;
  animation: t2-kvZoomIn 1.2s var(--t2-ease) both;
}
@keyframes t2-kvZoomIn {
  from { opacity: 0; transform: scale(1.12); }
  to   { opacity: 1; transform: scale(1); }
}

/* --- panel：写真はフェード、斜めの面だけ遅れて走る --- */
.t2-hero--panel .t2-hero__slide.is-active .t2-hero__panel {
  animation: t2-kvPanelIn 1.05s .18s var(--t2-ease) both;
}
@keyframes t2-kvPanelIn {
  from { clip-path: polygon(0 0, 0 0, -18% 100%, -18% 100%); }
  to   { clip-path: polygon(0 0, 74% 0, 56% 100%, 0 100%); }
}

/* 動きを減らす設定のときは、どの型でもクロスフェードに落とす */
@media (prefers-reduced-motion: reduce) {
  .t2-hero__slide,
  .t2-hero__slide.is-active,
  .t2-hero__slide.is-leaving,
  .t2-hero__slide.is-active .t2-hero__panel { animation: none !important; transform: none !important; }
  .t2-hero__slide { transition: opacity .3s linear; }
}

/* 写真＋オーバーレイ。
   ★オーバーレイは左を濃く、右を薄くしている。キャッチが左寄せなので、
     文字の下だけ確実にコントラストを稼ぎつつ、写真の主題が写っている
     右側はできるだけ素の明るさで見せるため。 */
.t2-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 9s linear;
}
.t2-hero__slide.is-active .t2-hero__bg { transform: scale(1); }

.t2-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
    rgba(18,34,22,.34) 0%,
    rgba(18,34,22,.20) 45%,
    rgba(18,34,22,.10) 100%);
}

/* 写真を斜めに切る面。左にキャッチが乗るので、その下だけ濃く落とす。
   ★不透明な板にはせず、写真が透けるくらいの濃さに留めること。
     塗り潰すと写真を使う意味がなくなり、面積のわりに情報量が減る。
   ★縁のオレンジのラインは clip-path で細い平行四辺形を切り出して描いている。
     border では斜めにできないため。 */
.t2-hero__panel {
  position: absolute;
  inset: 0;
  background: linear-gradient(168deg, rgba(20,46,27,.80) 0%, rgba(12,28,17,.66) 100%);
  clip-path: polygon(0 0, 74% 0, 56% 100%, 0 100%);
  /* ★面の内側を脱色（backdrop-filter: grayscale）する案を試したが不採用。
     食品の写真から色を抜くと、扱っているものの魅力がそのまま落ちる。
     色は残したまま、濃度の差だけで面を分ける。 */
}
.t2-hero__panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--t2-orange);
  clip-path: polygon(74% 0, 74.32% 0, 56.32% 100%, 56% 100%);
}

.t2-hero__copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(1.5rem, 6vw, 6rem);
  max-width: calc(var(--t2-max) + clamp(3rem, 12vw, 12rem));
}

/* 英語ラベル。頭にアクセント罫を置いて、キャッチの起点を明示する */
.t2-hero__en {
  display: flex; align-items: center; gap: .85rem;
  font-family: 'D-DIN', sans-serif;
  font-size: clamp(.74rem, 1.1vw, .92rem);
  font-weight: 700;
  letter-spacing: .24em;
  color: rgba(255,255,255,.92);
  margin-bottom: clamp(.9rem, 1.7vw, 1.5rem);
  transform: translateY(16px);
  opacity: 0;
  transition: transform .8s .3s var(--t2-ease), opacity .8s .3s;
}
.t2-hero__en::before {
  content: ''; flex: none;
  width: clamp(26px, 3.2vw, 56px); height: 3px;
  background: var(--t2-orange);
}
.t2-hero__slide.is-active .t2-hero__en { transform: none; opacity: 1; }

/* 日本語＝メインのキャッチ。
   インパクトを最優先にして、詰めて・大きく組む。
     ・行間 1.1、字送りマイナスで塊として見せる
     ・<em>/<b> を 1.38em に上げ、助詞との落差をはっきりさせる
     ・助詞は白を落として、キーワードだけが前に出るようにする
   ★1行あたり全角7文字までに収めれば、375px でも折り返さずに出せる。
     コピーを変えるときはこの上限を守ること。 */
.t2-hero__lead {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(1.8rem, 5.6vw, 5rem);
  font-weight: 900;
  color: var(--t2-white);
  line-height: 1.16;
  letter-spacing: -.02em;
  margin-bottom: clamp(1.5rem, 3vw, 2.4rem);
  text-shadow: 0 2px 24px rgba(8,18,10,.4);
  transform: translateY(16px);
  opacity: 0;
  transition: transform .8s .5s var(--t2-ease), opacity .8s .5s;
}
.t2-hero__slide.is-active .t2-hero__lead { transform: none; opacity: 1; }

/* 強調する語 */
.t2-hero__lead em {
  font-style: normal;
  font-weight: inherit;
  font-size: 1.38em;
  letter-spacing: -.045em;
}
/* 助詞・句読点。小さく＋やや薄くして、キーワードの輪郭を立たせる。
   小さくしすぎると句点だけが浮くので .6em 未満にはしない。
   ★見出し側で字送りを詰めている（-.02em、強調語は -.045em）ぶん、
     助詞が大きい文字に貼り付いて見える。左右に間を作って逃がす。 */
.t2-hero__lead small {
  font-size: .6em;
  font-weight: 700;
  letter-spacing: .02em;
  margin: 0 .24em;
  color: rgba(255,255,255,.7);
}
/* 行頭に来る場合だけ左の間を消す。付けたままだと1行目だけ字下げされて見える */
.t2-hero__lead small:first-child { margin-left: 0; }

.t2-hero__copy .t2-btn {
  align-self: flex-start;
  transform: translateY(12px);
  opacity: 0;
  transition: transform .8s .7s var(--t2-ease), opacity .8s .7s, background .2s;
}
.t2-hero__slide.is-active .t2-hero__copy .t2-btn { transform: none; opacity: 1; }

/* Dots */
.t2-hero__nav {
  position: absolute;
  bottom: 2rem;
  left: clamp(1.5rem, 6vw, 6rem);
  display: flex;
  gap: .6rem;
  z-index: 10;
}
.t2-hero__dot {
  width: 28px;
  height: 3px;
  border: none;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  padding: 0;
  transition: background .3s, width .3s;
  border-radius: 2px;
}
.t2-hero__dot.is-active { background: var(--t2-white); width: 48px; }

/* Scroll hint */
.t2-hero__scroll-hint {
  position: absolute;
  bottom: 1.8rem;
  right: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.6);
  font-size: .6rem;
  letter-spacing: .14em;
  z-index: 10;
}
.t2-hero__scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,.4);
  position: relative;
  overflow: hidden;
}
.t2-hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -48px;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--t2-white);
  animation: t2-scrollDown 1.8s var(--t2-ease) infinite;
}
@keyframes t2-scrollDown {
  0%   { top: -48px; }
  100% { top: 48px; }
}

/* ============================================================
   TICKER
   ============================================================ */
.t2-ticker {
  overflow: hidden;
  background: var(--t2-green);
  padding: .65rem 0;
  white-space: nowrap;
}
.t2-ticker__track {
  display: inline-block;
  white-space: nowrap;
  color: rgba(255,255,255,.85);
  font-family: 'D-DIN', 'Noto Sans JP', sans-serif;
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .08em;
  animation: t2-ticker 36s linear infinite;
}
.t2-tk-w { margin: 0 .15em; }
.t2-tk-s { margin: 0 .7em; color: rgba(255,255,255,.35); }
/* 最新お知らせ表示（クリックで記事へ） */
.t2-ticker:hover .t2-ticker__track { animation-play-state: paused; }
.t2-tk-item { display: inline-flex; align-items: baseline; gap: .6em; cursor: pointer; }
.t2-tk-item:hover .t2-tk-title { text-decoration: underline; text-underline-offset: 3px; }
.t2-tk-new {
  font-family: 'D-DIN', sans-serif; font-weight: 700;
  font-size: .68rem; letter-spacing: .1em;
  background: var(--t2-orange); color: #fff;
  padding: .12em .5em; border-radius: 2px;
  position: relative; top: -1px;
}
.t2-tk-date {
  font-family: 'D-DIN', sans-serif; font-weight: 700;
  color: rgba(255,255,255,.7); font-variant-numeric: tabular-nums;
}
.t2-tk-title { color: #fff; font-weight: 500; }
@keyframes t2-ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   CONCEPT
   ============================================================ */
.t2-concept {
  position: relative;
  z-index: 1;                 /* 通し背景(.t2-flow)の上に載せる */
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 6vw, 4rem);
}
.t2-concept__inner {
  position: relative;
  z-index: 1;
  max-width: var(--t2-max);
  margin: 0 auto;
}
/* 上段: テキスト左 ＋ 写真右 */
.t2-concept__top {
  display: grid;
  grid-template-columns: 1fr clamp(340px, 40%, 480px);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.t2-concept__text { max-width: 620px; }
.t2-concept__visual { position: relative; }
.t2-concept__visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 20px 44px rgba(60,45,20,.22);
  display: block;
}
/* 数字はテキスト下の横並びバンドに（幅を活かし右寄り余白を解消） */
.t2-concept__stat {
  display: grid;
  grid-template-columns: repeat(3, auto);   /* 数字を大きくしても収まるよう content 幅に */
  justify-content: space-between;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 2px solid var(--t2-green-l);
}
.t2-stat-item {
  display: flex; flex-direction: column; gap: .4rem;
  padding: 0 clamp(.8rem, 2.4vw, 2.6rem);
}
.t2-stat-item:first-child { padding-left: 0; }
.t2-stat-item:last-child { padding-right: 0; }
.t2-stat-item + .t2-stat-item { border-left: 1px solid var(--t2-border); }
.t2-stat-label {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--t2-text-s);
}
.t2-stat-tick {
  display: inline-block;
  width: 20px; height: 3px;
  background: var(--t2-orange);
  border-radius: 2px;
}
.t2-stat-num {
  font-family: 'D-DIN', sans-serif;
  font-size: clamp(4.8rem, 7vw, 7rem);   /* 約1.5倍に拡大 */
  font-weight: 700;
  color: var(--t2-green);
  letter-spacing: -.01em;
  line-height: .95;
  white-space: nowrap;
}
.t2-stat-unit {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--t2-text-s);
  margin-left: .35rem;
  letter-spacing: .02em;
}

/* ============================================================
   SERVICES
   ============================================================ */
.t2-services {
  background: #f9f7f3;   /* 上のセクションと同じ淡色にして見出し背景の浮きを解消 */
  padding: clamp(3rem, 6vw, 5rem) 0 0;
}
/* CONCEPT/COMPANY と左端を揃える（1200 + 左右パディング を中央寄せ） */
.t2-services__header {
  max-width: calc(var(--t2-max) + 2 * clamp(1.5rem, 6vw, 4rem));
  margin: 0 auto clamp(2rem, 4vw, 3.5rem);
  padding: 0 clamp(1.5rem, 6vw, 4rem);
}

.t2-services__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.t2-service-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
/* ホバーで縮ませない（下の白余白を防止）。演出は画像ズーム＋オーバーレイのみ */

.t2-service-card__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .6s var(--t2-ease);
}
.t2-service-card:hover .t2-service-card__img { transform: scale(1.06); }

.t2-service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,40,26,.75) 0%, transparent 60%);
  z-index: 1;
  transition: opacity .4s;
}
.t2-service-card:hover::before { opacity: .9; }

.t2-service-card__body {
  position: relative;
  z-index: 2;
  padding: 1.2rem 1rem;
}
.t2-service-card__en {
  font-family: 'D-DIN', 'Montserrat', sans-serif;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  color: rgba(255,255,255,.65);
  text-transform: uppercase;
  margin-bottom: .2rem;
}
.t2-service-card__ja {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--t2-white);
  margin-bottom: .6rem;
}
.t2-service-card__arrow {
  display: flex;
  color: var(--t2-white);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .3s, transform .3s;
}
.t2-service-card:hover .t2-service-card__arrow { opacity: 1; transform: none; }

/* ============================================================
   COMPANY
   ============================================================ */
.t2-company {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 540px;
}
.t2-company__img {
  background-size: cover;
  background-position: center;
}
.t2-company__text {
  background: var(--t2-green-d);
  padding: clamp(3rem, 8vw, 6rem) clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ============================================================
   NEWS
   ============================================================ */
.t2-news {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 6vw, 4rem);
  max-width: var(--t2-max);
  margin: 0 auto;
}
.t2-news__header { margin-bottom: 2rem; }
.t2-news__list {
  list-style: none;
  border-top: 1px solid var(--t2-border);
  margin-bottom: 2rem;
}
.t2-news__item { border-bottom: 1px solid var(--t2-border); }
.t2-news__link {
  display: flex;
  align-items: baseline;
  gap: .8rem;
  padding: 1rem .4rem;
  transition: background .2s;
  flex-wrap: wrap;
}
.t2-news__link:hover { background: var(--t2-green-l); }
.t2-news__date {
  font-size: .8rem;
  color: var(--t2-text-xs);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.t2-news__cat {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  background: var(--t2-green-l);
  color: var(--t2-green);
  padding: .1rem .55rem;
  border-radius: 2px;
  white-space: nowrap;
}
.t2-news__title {
  font-size: .9rem;
  flex: 1;
  min-width: 0;
}
.t2-news__more { display: flex; justify-content: flex-end; }

/* ============================================================
   RECRUIT
   ============================================================ */
.t2-recruit {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.t2-recruit__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.t2-recruit__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20,40,26,.8) 0%, rgba(42,92,58,.6) 100%);
}
.t2-recruit__body {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3rem 2rem;
}
.t2-recruit__body .t2-heading { margin-bottom: 1.8rem; }

/* ============================================================
   ページトップへ戻るボタン
   ============================================================ */
.t2-pagetop {
  position: fixed;
  right: clamp(16px, 2.5vw, 32px);
  bottom: clamp(16px, 2.5vw, 32px);
  z-index: 900;
  width: 58px; height: 58px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1px;
  background: var(--t2-green);
  color: #fff;
  border: none; border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(25,45,30,.32);
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.94);
  transition: opacity .35s var(--t2-ease), transform .35s var(--t2-ease), visibility .35s, background .2s;
}
.t2-pagetop.is-visible { opacity: 1; visibility: visible; transform: none; }
.t2-pagetop:hover { background: var(--t2-green-d); }
.t2-pagetop svg { width: 22px; height: 22px; transition: transform .28s var(--t2-ease); }
.t2-pagetop:hover svg { transform: translateY(-3px); }
.t2-pagetop span {
  font-family: 'D-DIN', sans-serif; font-weight: 700;
  font-size: .52rem; letter-spacing: .14em; margin-top: -2px;
}
@media (max-width: 600px) {
  .t2-pagetop { width: 48px; height: 48px; }
  .t2-pagetop svg { width: 18px; height: 18px; }
  .t2-pagetop span { font-size: .46rem; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .t2-services__grid { grid-template-columns: repeat(3, 1fr); }
  .t2-services__grid .t2-service-card:nth-child(n+4) { display: none; }

  /* タブレット以下は等幅3カラムで収める */
  .t2-concept__stat { grid-template-columns: repeat(3, 1fr); justify-content: normal; }
  .t2-stat-item { padding: 0 clamp(.8rem, 2.5vw, 1.6rem); }
  .t2-stat-item:last-child { padding-right: 0; }
  .t2-stat-num { font-size: clamp(2.6rem, 6.5vw, 4rem); }
  .t2-stat-unit { font-size: 1.05rem; }
}
@media (max-width: 560px) {
  .t2-stat-item { padding: 0 clamp(.5rem, 2.5vw, 1rem); }
  .t2-stat-num { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .t2-stat-label { font-size: .8rem; }
  .t2-stat-unit { font-size: .82rem; }
}

@media (max-width: 768px) {
  .t2-services__grid { grid-template-columns: repeat(2, 1fr); }
  .t2-services__grid .t2-service-card:nth-child(n+4) { display: flex; }
  .t2-services__grid .t2-service-card:last-child { display: none; }

  .t2-company { grid-template-columns: 1fr; }
  .t2-company__img { min-height: 280px; }

  .t2-hero__scroll-hint { display: none; }

  .t2-news__link { gap: .5rem; }

  /* CONCEPT: 縦積み */
  .t2-concept__top { grid-template-columns: 1fr; gap: 1.8rem; }
  .t2-concept__text { max-width: none; }

  /* 背景イラスト: スマホでは小さめ＆はみ出し控えめで見えるように（詳細度を上げて後勝ちを防ぐ） */
  .t2-main .t2-flow::before {
    top: -30px; left: -48px;
    width: clamp(190px, 46vw, 340px); height: clamp(190px, 46vw, 340px);
  }
  .t2-main .t2-flow::after {
    bottom: -30px; right: -48px;
    width: clamp(210px, 50vw, 360px); height: clamp(210px, 50vw, 360px);
  }
}

@media (max-width: 600px) {
  /* SERVICES: 1カラム・低めのカードで縦に5枚 */
  .t2-services__grid { grid-template-columns: 1fr; }
  .t2-services__grid .t2-service-card,
  .t2-services__grid .t2-service-card:nth-child(n+4),
  .t2-services__grid .t2-service-card:last-child { display: flex; aspect-ratio: 16 / 9; }
  .t2-service-card__body { padding: 1rem 1.2rem; }
  .t2-service-card__ja { white-space: nowrap; }

  /* RECRUIT: 見出しを小さめにして改行を整える */
  .t2-recruit__body .t2-heading { font-size: clamp(1.4rem, 6vw, 1.9rem); line-height: 1.5; }
}

@media (max-width: 480px) {
  .t2-hero__nav { left: 1.2rem; }
  .t2-hero__copy { padding: 0 1.2rem; }
  /* 幅が狭いと斜めの角度が立ちすぎて文字が縁に掛かるので、全面に切り替える */
  .t2-hero__panel { clip-path: none; background: linear-gradient(180deg, rgba(20,46,27,.72) 0%, rgba(12,28,17,.62) 100%); }
  .t2-hero__panel::after { display: none; }
}

/* ============================================================
   ▼▼▼ YONEYAMA / foodware 風 追加コンポーネント ▼▼▼
   ============================================================ */

/* ============================================================
   HEADER（foodware.jp の仕組みをトレース）
   固定・透明 → スクロールで白backdrop / 上角丸タブ / COMPANYドロップダウン
   ============================================================ */
.t2h {
  position: sticky;
  top: 0; left: 0;
  z-index: 999;
  width: 100%;
  padding: 0;
  /* 白背景＋直線の区切り（緑ライン） */
  background: #fff;
  border-bottom: 3px solid var(--t2-green);
  box-shadow: 0 2px 12px rgba(40,40,30,.07);
  transition: box-shadow .35s;
  overflow: visible;
}
/* スクロール時：ヘッダーを少しコンパクトに */
.t2h.is-scrolled {
  box-shadow: 0 3px 14px rgba(40,40,30,.12);
}

.t2h__inner {
  max-width: 1400px; margin: 0 auto;
  padding: 0 clamp(1rem, 2.5vw, 2rem);
  min-height: 84px;                  /* この高さに対してロゴを上下中央 */
  display: flex;
  justify-content: space-between;
  align-items: center;               /* ロゴを上下中央に */
  gap: 1.5rem;
  transition: min-height .35s var(--t2-ease);
}
.t2h.is-scrolled .t2h__inner { min-height: 66px; }
/* ロゴはヘッダー内・左端・上下中央 */
.t2h__logo { display: block; flex-shrink: 0; }
.t2h__logo img {
  height: 50px; width: auto; display: block;
  transition: height .35s var(--t2-ease);
}
/* スクロール後：ロゴとタブを少し小さく */
.t2h.is-scrolled .t2h__logo img { height: 42px; }
.t2h.is-scrolled .t2h-tab { padding-top: 10px; padding-bottom: 9px; }

/* タブナビ：ヘッダー全高にstretchし、タブ下辺を区切り線に接地 */
.t2h__nav { align-self: stretch; display: flex; align-items: flex-end; }
.t2h__nav ul { list-style: none; display: flex; align-items: flex-end; gap: 4px; }
.t2h__nav li { position: relative; }

.t2h-tab {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px;
  width: 124px;
  padding: 13px 6px 11px;
  background: #f3ecdf;
  color: var(--t2-text);
  line-height: 1.15;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  transition: background .2s, color .2s, padding .35s var(--t2-ease);
}
.t2h-tab:hover, .t2h-tab.is-active { background: var(--t2-green); color: #fff; }
.t2h-tab:hover .t2h-tab__ja, .t2h-tab.is-active .t2h-tab__ja { color: rgba(255,255,255,.85); }
.t2h-tab__en { font-family: 'D-DIN', sans-serif; font-weight: 700; font-size: 1rem; letter-spacing: .03em; }
.t2h-tab__ja { font-size: .72rem; color: var(--t2-text-s); font-weight: 500; }

/* アクセント（CONTACT=オレンジ / RECRUIT=グリーン） */
.t2h-tab--orange { background: var(--t2-orange); color: #fff; }
.t2h-tab--orange .t2h-tab__ja { color: rgba(255,255,255,.9); }
.t2h-tab--orange:hover { background: var(--t2-orange-d); }
.t2h-tab--green { background: var(--t2-green); color: #fff; }
.t2h-tab--green .t2h-tab__ja { color: rgba(255,255,255,.9); }
.t2h-tab--green:hover { background: var(--t2-green-d); }

/* COMPANY ドロップダウン */
.t2h-sub {
  position: absolute; top: 100%; left: 0;
  width: 124px;
  background: #f3ecdf;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s, transform .25s, visibility .25s;
  box-shadow: 0 12px 22px rgba(40,40,30,.16);
  z-index: 5;
}
.t2h-has-sub:hover .t2h-sub { opacity: 1; visibility: visible; transform: none; }
.t2h-sub__link {
  display: flex; flex-direction: column; gap: 1px;
  padding: 8px 10px 9px;
  transition: background .18s, color .18s;
}
.t2h-sub__link:hover { background: var(--t2-green); color: #fff; }
.t2h-sub__link:hover .t2h-sub__ja { color: rgba(255,255,255,.85); }
.t2h-sub__en { font-family: 'D-DIN', sans-serif; font-weight: 700; font-size: .92rem; }
.t2h-sub__ja { font-size: .68rem; color: var(--t2-text-s); }

/* ハンバーガー（SP・角丸ボタン型） */
.t2h__burger {
  display: none; position: relative;
  width: 46px; height: 46px; margin-bottom: 4px;
  background: #fff;
  border: 1.5px solid var(--t2-border);
  border-radius: 13px;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}
.t2h__burger:hover { border-color: var(--t2-green); box-shadow: 0 3px 10px rgba(40,40,30,.10); }
.t2h__burger span {
  position: absolute; left: 50%; top: 50%;
  width: 22px; height: 2px; border-radius: 2px;
  background: var(--t2-text);
  transform: translate(-50%, -50%);
  transition: transform .32s var(--t2-ease), opacity .2s, background .2s;
}
.t2h__burger span:nth-child(1) { transform: translate(-50%, -50%) translateY(-6.5px); }
.t2h__burger span:nth-child(3) { transform: translate(-50%, -50%) translateY(6.5px); width: 15px; margin-left: 0; }
.t2h__burger:hover span { background: var(--t2-green); }
.t2h__burger.is-open span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.t2h__burger.is-open span:nth-child(2) { opacity: 0; }
.t2h__burger.is-open span:nth-child(3) { transform: translate(-50%, -50%) rotate(-45deg); width: 22px; }

/* SPドロワー */
.t2h-overlay { position: fixed; inset: 0; z-index: 1100; background: rgba(30,25,15,.5); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.t2h-overlay.is-open { opacity: 1; visibility: visible; }
.t2h-drawer {
  position: fixed; top: 0; right: 0; z-index: 1200;
  width: min(84vw, 330px); height: 100%;
  background-color: var(--t2-kraft-l); background-image: var(--t2h-paper, none); background-size: 760px;
  padding: 2rem 1.4rem; transform: translateX(100%);
  /* 閉じている間は visibility:hidden にする。
     これが無いと画面外のドロワーが横スクロールを発生させる */
  visibility: hidden;
  transition: transform .32s var(--t2-ease), visibility .32s;
  overflow-y: auto; display: flex; flex-direction: column; gap: .2rem;
  box-shadow: -6px 0 24px rgba(40,30,15,.2);
}
.t2h-drawer.is-open { transform: none; visibility: visible; }
.t2h-drawer__close { position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; border: none; background: none; cursor: pointer; color: var(--t2-text); }
.t2h-drawer__logo { height: 34px; width: auto; align-self: flex-start; margin: .5rem 0 1.4rem; }
.t2h-drawer__link {
  display: flex; align-items: baseline; gap: .6rem;
  padding: .8rem .6rem; border-bottom: 1px solid rgba(120,100,70,.25);
}
.t2h-drawer__sub {
  display: flex; align-items: baseline; gap: .6rem;
  padding: .5rem .6rem .5rem 1.4rem; border-bottom: 1px dashed rgba(120,100,70,.22);
}
.t2h-drawer__en { font-family: 'D-DIN', sans-serif; font-weight: 700; font-size: 1rem; }
.t2h-drawer__sub .t2h-drawer__en { font-size: .88rem; }
.t2h-drawer__ja { font-size: .78rem; color: var(--t2-text-s); }
.t2h-drawer__link.t2h-tab--orange, .t2h-drawer__link.t2h-tab--green {
  border-radius: 6px; border-bottom: none; margin-top: .4rem; padding: .8rem 1rem;
}
.t2h-drawer__link.t2h-tab--orange { background: var(--t2-orange); }
.t2h-drawer__link.t2h-tab--green { background: var(--t2-green); }
.t2h-drawer__link.t2h-tab--orange .t2h-drawer__en, .t2h-drawer__link.t2h-tab--orange .t2h-drawer__ja,
.t2h-drawer__link.t2h-tab--green .t2h-drawer__en, .t2h-drawer__link.t2h-tab--green .t2h-drawer__ja { color: #fff; }
.t2h-drawer__tel {
  margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid rgba(120,100,70,.25);
  display: flex; flex-direction: column; gap: .2rem;
}
.t2h-drawer__tel a { font-family: 'D-DIN', sans-serif; font-weight: 700; font-size: 1.3rem; color: var(--t2-green); }
.t2h-drawer__tel span { font-size: .72rem; color: var(--t2-text-s); }

/* ============================================================
   NEWS & TOPICS（コンベア型スライダー = 等速無限マーキー）
   foodware.jp slick: autoplaySpeed:0 / speed / linear の再現
   ============================================================ */
.t2-topics {
  position: relative;
  z-index: 1;                 /* 通し背景(.t2-flow)の上に載せる */
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
  text-align: center;
  overflow: hidden;
  background: transparent;    /* 背景は .t2-flow が担当 */
}

/* ============================================================
   通しの流線背景（NEWS＋CONCEPT をまたぐ）＋食モチーフ装飾
   ============================================================ */
.t2-flow {
  position: relative;
  overflow: hidden;
  background: #f9f7f3;                 /* 白ベース（軽さを維持） */
}
/* 石本の商品を線画で背景に薄く（梱包材・買い物カゴ） */
.t2-flow::before, .t2-flow::after {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  background-repeat: no-repeat; background-position: center; background-size: contain;
  opacity: .5;
}
/* 梱包材：NEWS側・左上（左1/4を画面外へ・やや上に） */
.t2-flow::before {
  background-image: url('../img/top2_illust_package.png');
  top: -110px; left: -230px;
  width: clamp(320px, 60vw, 900px);
  height: clamp(320px, 60vw, 900px);
  transform: rotate(-6deg);
}
/* 買い物カゴ：CONCEPT側・右下（右1/4を画面外へ・やや下に） */
.t2-flow::after {
  background-image: url('../img/top2_illust_basket.png');
  bottom: -110px; right: -250px;
  width: clamp(340px, 64vw, 1000px);
  height: clamp(340px, 64vw, 1000px);
  transform: rotate(5deg);
}
.t2-topics__label { margin-bottom: .5rem; }
.t2-topics__heading {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
  color: var(--t2-text);
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
/* スライダー本体：左右をマスクでフェード（centerPadding のピーク相当） */
.t2-topics__slider {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.t2-topics__track {
  display: inline-flex;
  flex-wrap: nowrap;
  width: max-content;
  gap: 0;                    /* seamless化のため gap ではなくカード右マージンを使う */
  padding: .5rem 0 1rem;
  animation: t2-marquee 55s linear infinite;
  will-change: transform;
}
.t2-topics__slider:hover .t2-topics__track { animation-play-state: paused; }
@keyframes t2-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .t2-topics__track { animation: none; transform: none; }
  .t2-topics__slider { overflow-x: auto; }
}

.t2-topic-card {
  flex: 0 0 auto;
  width: 300px;
  margin-right: 1.6rem;      /* この余白込みで1枚分。-50%移動がグループ幅と一致 */
  background: var(--t2-white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(70,55,25,.14);
  transition: transform .25s var(--t2-ease), box-shadow .25s;
  text-align: left;
}
.t2-topic-card:hover { transform: translateY(-5px); box-shadow: 0 12px 26px rgba(70,55,25,.22); }
.t2-topic-card__thumb {
  aspect-ratio: 4/3; overflow: hidden;
  background: var(--t2-kraft-l);
  display: flex; align-items: center; justify-content: center;
}
.t2-topic-card__img { width: 100%; height: 100%; object-fit: cover; }
.t2-topic-card__logo { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.t2-topic-card__logo img { width: 55%; height: auto; opacity: .85; }
.t2-topic-card__body { padding: 1rem 1.1rem 1.3rem; }
.t2-topic-card__meta { display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; }
.t2-topic-card__meta time {
  font-family: 'D-DIN', sans-serif; font-weight: 700;
  font-size: .86rem; color: var(--t2-text-s); font-variant-numeric: tabular-nums;
}
.t2-topic-card__cat {
  font-size: .72rem; font-weight: 700;
  background: var(--t2-green); color: #fff;
  padding: .12rem .5rem; border-radius: 3px; white-space: nowrap;
}
.t2-topic-card__title {
  font-size: 1.02rem; font-weight: 500; line-height: 1.6; color: var(--t2-text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.t2-topics__empty { color: var(--t2-text-s); padding: 2rem; }

/* VIEW MORE ピル */
.t2-topics__more { margin-top: 1.5rem; }
.t2-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: 'D-DIN', 'Montserrat', sans-serif; font-weight: 600; font-size: .92rem; letter-spacing: .06em;
  background: var(--t2-kraft-d); color: #fff;
  padding: .75rem 2.2rem; border-radius: 999px;
  transition: background .2s, gap .2s;
}
.t2-pill:hover { background: var(--t2-green); gap: .8rem; }
.t2-pill span { font-size: 1.1em; line-height: 1; }

/* ============================================================
   COMPANY グリッド（ラベル付き画像カード）
   ============================================================ */
.t2-company2 {
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1.5rem, 6vw, 4rem);
  background-color: #f0e9dd;   /* 濃いクラフト→軽めの淡色に（テクスチャは維持） */
  background-image: var(--t2h-paper, none);
  background-size: 760px;
}
.t2-company2__inner { max-width: var(--t2-max); margin: 0 auto; }
.t2-company2__head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.t2-company2__head .t2-heading { font-size: clamp(2.2rem, 4.5vw, 3.2rem); margin-bottom: 1rem; }

/* カードは about の4セクションと1対1。3列だと1枚あぶれるので4列にする */
.t2-company2__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.6rem);
}
/* 文字はカード下端に寄せる。中央に置くと人物写真の顔に重なるため。
   どんな写真が来ても被写体の主役は中央〜上に来るので、下寄せが最も安全。 */
.t2-cocard {
  position: relative;
  aspect-ratio: 3/2;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(70,55,25,.16);
  display: flex; align-items: flex-end; justify-content: flex-start;
}
.t2-cocard__img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .5s var(--t2-ease);
}
.t2-cocard:hover .t2-cocard__img { transform: scale(1.06); }
/* 全面を均一に暗くせず、下半分だけ濃くして文字の下地をつくる。
   上半分は写真をそのまま見せられる */
.t2-cocard__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(25,20,12,.78) 0%, rgba(25,20,12,.42) 34%, rgba(25,20,12,.08) 66%, rgba(25,20,12,0) 100%);
  transition: background .3s;
}
.t2-cocard:hover .t2-cocard__overlay {
  background: linear-gradient(to top, rgba(30,68,41,.85) 0%, rgba(30,50,32,.5) 40%, rgba(25,20,12,.14) 72%, rgba(25,20,12,.04) 100%);
}
.t2-cocard__label {
  position: relative; z-index: 2; text-align: left; color: #fff;
  display: flex; flex-direction: column; gap: .1rem;
  padding: 0 clamp(.8rem, 1.4vw, 1.1rem) clamp(.7rem, 1.3vw, 1rem);
  width: 100%;
}
/* 日本語メイン（大）＋英語サブ（小） */
.t2-cocard__ja {
  font-family: 'Noto Sans JP', sans-serif; font-weight: 700;
  font-size: clamp(1.15rem, 1.9vw, 1.4rem);
  text-shadow: 0 1px 4px rgba(0,0,0,.45);
}
.t2-cocard__en {
  font-family: 'D-DIN', sans-serif; font-weight: 700;
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.78);
  text-shadow: 0 1px 3px rgba(0,0,0,.4);
}

/* ============================================================
   RESPONSIVE（追加分）
   ============================================================ */
/* タブナビの実寸（ロゴ188 + gap24 + タブ764 + 左右padding64 ≒ 1040px）が収まらない幅では
   ハンバーガーに切り替える。900pxのままだと 900〜1040px でナビが画面外に溢れていた */
@media (max-width: 1080px) {
  .t2h__nav { display: none; }
  .t2h__burger { display: flex; }
  .t2h__inner { min-height: 60px; align-items: center; }
  .t2h__logo img { height: 40px; }
}
@media (max-width: 1024px) {
  /* 4列だと1枚が狭くなりすぎるので2×2に折る */
  .t2-company2__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .t2-company2__grid { grid-template-columns: 1fr; }
  .t2-topic-card { width: 78vw; }
}

/* ============================================================
   汎用固定ページ（page.php）
   page-{slug}.php を持たないページの見出し帯と本文組み。
   本文はWordPressの編集画面で書いた素のHTMLが流れてくるので、
   要素セレクタで受けている。
   ============================================================ */
.t2-pagehead {
  background: #f9f7f3;
  border-bottom: 1px solid var(--t2-green-l);
  /* ★左右パディングは __inner 側に置くこと。ここ（外側）に置くと、
     本文コンテナ（.ab-inner 等はパディングを内側に持つ）と
     文字の左端が 48px ずれる。 */
  padding: clamp(2.4rem, 5vw, 4rem) 0;
}
.t2-pagehead__inner { max-width: var(--t2-max); margin: 0 auto; padding: 0 clamp(1.15rem, 4vw, 3rem); }
/* 見出し帯の文字は、そのページの本文コンテナと左端を揃える。
   帯じたいは全幅のまま。揃えないと、本文を意図的に狭くしている
   ページ（フォーム・記事詳細・長文ページ）で H1 だけが本文より
   200px ほど左にはみ出して、ちぐはぐに見える。
   本文側の幅を変えたら、ここも合わせて直すこと。 */
.t2-main:has(.ct-inner)           .t2-pagehead__inner { max-width: 820px; }  /* お問い合わせ・送信完了 */
.t2-main:has(.nw-single__inner)   .t2-pagehead__inner { max-width: 820px; }  /* お知らせ記事詳細 */
.t2-main:has(.nw-inner)           .t2-pagehead__inner { max-width: 900px; }  /* お知らせ一覧 */
.t2-main:has(.t2-pagebody__inner) .t2-pagehead__inner { max-width: 900px; }  /* 汎用ページ（プラポリ等） */
.t2-pagehead__en {
  font-family: 'D-DIN', sans-serif; font-weight: 700;
  font-size: clamp(.8rem, 1.4vw, 1rem); letter-spacing: .18em;
  color: var(--t2-green); margin-bottom: .5rem;
}
.t2-pagehead__title {
  font-family: 'Noto Sans JP', sans-serif; font-weight: 900;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.35;
  color: var(--t2-text);
}
/* 左右パディングは __inner 側。理由は .t2-pagehead のコメント参照 */
.t2-pagebody { padding: clamp(2.6rem, 5.5vw, 4.5rem) 0 clamp(3.5rem, 7vw, 6rem); }
.t2-pagebody__inner { max-width: 900px; margin: 0 auto; padding: 0 clamp(1.15rem, 4vw, 3rem); }

/* ---- 本文組み ---- */
.t2-prose { font-size: 1rem; line-height: 2; color: var(--t2-text-s); }
.t2-prose > :first-child { margin-top: 0; }
.t2-prose > :last-child { margin-bottom: 0; }
.t2-prose p { margin: 0 0 1.6rem; }
.t2-prose h2 {
  font-size: clamp(1.15rem, 2.2vw, 1.4rem); font-weight: 700;
  color: var(--t2-text); line-height: 1.6;
  margin: 3rem 0 1rem; padding-bottom: .6rem;
  border-bottom: 2px solid var(--t2-green-l);
}
.t2-prose h3 {
  font-size: 1.05rem; font-weight: 700; color: var(--t2-green-d);
  margin: 2rem 0 .7rem; line-height: 1.6;
}
.t2-prose ul, .t2-prose ol { margin: 0 0 1.6rem; padding-left: 1.4rem; }
.t2-prose li { margin-bottom: .5rem; }
.t2-prose ul { list-style: disc; }
.t2-prose ol { list-style: decimal; }
.t2-prose a { color: var(--t2-green); text-decoration: underline; text-underline-offset: .18em; }
.t2-prose a:hover { color: var(--t2-orange); }
.t2-prose strong { font-weight: 700; color: var(--t2-text); }
/* 定義リスト風の表（事業者情報など）。狭い画面では縦積みにする */
.t2-prose table {
  width: 100%; border-collapse: collapse; margin: 0 0 1.6rem;
  font-size: .96rem;
}
.t2-prose th, .t2-prose td {
  border: 1px solid var(--t2-green-l); padding: .8rem 1rem;
  text-align: left; vertical-align: top;
}
.t2-prose th { background: #f9f7f3; font-weight: 700; color: var(--t2-text); white-space: nowrap; width: 11em; }
.t2-prose__note {
  background: #f9f7f3; border-radius: 12px;
  padding: 1.2rem 1.4rem; font-size: .92rem; margin: 0 0 1.6rem;
}
.t2-prose__updated { text-align: right; font-size: .88rem; color: var(--t2-text-xs); }
@media (max-width: 600px) {
  .t2-prose table, .t2-prose thead, .t2-prose tbody, .t2-prose tr, .t2-prose th, .t2-prose td { display: block; width: auto; }
  .t2-prose th { white-space: normal; border-bottom: none; }
  .t2-prose td { border-top: none; margin-bottom: .8rem; }
}

/* ============================================================
   総合お問い合わせフォームの個人情報同意欄
   ============================================================ */
.cf7-consent {
  margin: 1.6rem 0 1.2rem; padding: .9rem 1rem;
  background: #f9f7f3; border-radius: 10px;
  font-size: .94rem; text-align: center;
}
.cf7-consent .wpcf7-list-item { margin: 0; }
.cf7-consent input[type="checkbox"] {
  width: 1.05em; height: 1.05em; accent-color: var(--t2-green);
  margin-right: .4rem; vertical-align: -.15em;
}
.cf7-consent a { color: var(--t2-green); text-decoration: underline; text-underline-offset: .18em; }
.cf7-consent a:hover { color: var(--t2-orange); }

/* ============================================================
   ★ダミー表示（レビュー用）
   実データが入っていない箇所を赤字＋点線で明示する。
   実データに差し替えたらマークアップから is-dummy / is-dummy-block と
   ishimoto_dummy_badge() を外すこと。それだけで表示は元に戻る。
   （管理画面の「本番公開前チェックリスト」とセットで運用する）
   ============================================================ */
.is-dummy,
.is-dummy-block :where(h1, h2, h3, h4, h5, p, span, li, dt, dd, td, th, a, em, strong) {
  color: #c0392b !important;
}
/* バッジは赤地に白文字。上の一括指定で赤字になると読めなくなるので戻す */
.is-dummy-badge,
.is-dummy-block .is-dummy-badge { color: #fff !important; }
.is-dummy-block {
  position: relative;
  outline: 2px dashed rgba(192, 57, 43, .38);
  outline-offset: 8px;
  border-radius: 4px;
}
/* ダミー箇所の見出しに付ける小さなバッジ */
.is-dummy-badge {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .74rem; font-weight: 700; letter-spacing: .04em;
  color: #fff; background: #c0392b;
  border-radius: 4px; padding: .15rem .5rem;
  vertical-align: .12em; margin-left: .5rem;
}

/* ============================================================
   フッター（footer.php）
   名前空間は ft-。旧デザインの .footer-* は main.css 側にあり、
   ?design=a のときだけ読まれる（footer-a.php とセット）。
   ============================================================ */
.ft {
  background: #1c1c18;
  padding: clamp(2.8rem, 6vw, 4.5rem) clamp(1.15rem, 4vw, 3rem) 0;
  color: rgba(255,255,255,.65);
}
.ft__inner { max-width: 1360px; margin: 0 auto; }
.ft__top {
  display: grid; grid-template-columns: 300px minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 3.75rem);
  padding-bottom: clamp(2rem, 4.5vw, 3.5rem);
  border-bottom: 1px solid rgba(255,255,255,.07);
}

/* ---- 左：社名と連絡先 ---- */
.ft__name {
  font-family: 'Noto Sans JP', sans-serif; font-weight: 700;
  font-size: 1rem; letter-spacing: .1em; color: rgba(255,255,255,.92);
}
.ft__sub { font-size: .72rem; letter-spacing: .08em; color: rgba(255,255,255,.55); margin-top: .3rem; }
.ft__address {
  font-style: normal; font-size: .84rem; line-height: 2.1;
  color: rgba(255,255,255,.65); margin-top: 1.3rem;
}
.ft a { color: inherit; transition: color .2s; }
.ft__address a:hover { color: rgba(255,255,255,.95); }

/* ---- 右：ナビ ---- */
.ft__nav { display: grid; grid-template-columns: 1fr 2fr 1fr 1fr; gap: 1.5rem; }
.ft__col2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.ft__h {
  font-family: 'D-DIN', sans-serif; font-weight: 700;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.82);
  margin-bottom: 1rem; padding-bottom: .75rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.ft__h a:hover { color: #fff; }
.ft__link {
  display: block; font-size: .84rem; line-height: 1.6;
  color: rgba(255,255,255,.65); padding: .38rem 0;
}
.ft__link:hover { color: rgba(255,255,255,.95); }

/* ---- 下段 ---- */
.ft__bottom {
  padding: 1.5rem 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.ft__bottom-links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.ft__bottom-links a { font-size: .78rem; color: rgba(255,255,255,.55); }
.ft__bottom-links a:hover { color: rgba(255,255,255,.85); }
.ft__copy { font-size: .78rem; color: rgba(255,255,255,.5); }

@media (max-width: 1080px) {
  .ft__top { grid-template-columns: 1fr; gap: 2.4rem; }
  /* 取扱商品は項目数が多いので右半分に縦長で置き、他3つを左に積む */
  .ft__nav {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "company products" "recruit products" "other products";
    gap: 1.4rem 1.5rem;
  }
  .ft__col:nth-child(1) { grid-area: company; }
  .ft__col--wide        { grid-area: products; }
  .ft__col:nth-child(3) { grid-area: recruit; }
  .ft__col:nth-child(4) { grid-area: other; }
  .ft__col2 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .ft__bottom { flex-direction: column; text-align: center; }
  .ft__bottom-links { justify-content: center; }
}

/* ============================================================
   CF7 入力確認モーダル（assets/js/cf7-forms.js が生成）
   お問い合わせと採用の両フォームで使う共有部品なので、
   ページ個別の contact.css ではなく全ページ読み込みのここに置く。
   ★ .is-open で表示する。JS側のクラス名と必ず一致させること。
   ============================================================ */
/* ---------- 確認オーバーレイ（cf7-forms.js が生成） ---------- */
.t2-page .cf7-confirm-overlay {
  position: fixed; inset: 0; z-index: 1000;
  display: none; align-items: center; justify-content: center;
  padding: clamp(1rem, 4vw, 2rem);
  background: rgba(25,20,12,.6);
}
.t2-page .cf7-confirm-overlay.is-open { display: flex; }
.t2-page .cf7-confirm-box {
  width: min(640px, 100%); max-height: 88vh; overflow-y: auto;
  background: #fff; border-radius: 18px;
  padding: clamp(1.4rem, 3.4vw, 2.4rem);
  box-shadow: 0 24px 60px rgba(0,0,0,.3);
}
.t2-page .cf7-confirm-heading {
  font-size: 1.15rem; font-weight: 700; color: var(--t2-text);
  padding-left: .75rem; border-left: 4px solid var(--t2-green);
  margin-bottom: 1.2rem; line-height: 1.4;
}
.t2-page .cf7-confirm-table { border-top: 1px solid var(--t2-green-l); margin-bottom: 1.2rem; }
.t2-page .cf7-confirm-row {
  display: grid; grid-template-columns: 10em minmax(0, 1fr); gap: .4rem 1rem;
  padding: .85rem .2rem; border-bottom: 1px solid var(--t2-green-l);
  font-size: .95rem; line-height: 1.8;
}
.t2-page .cf7-confirm-row > :first-child { font-weight: 700; color: var(--t2-text); }
.t2-page .cf7-confirm-row > :last-child { color: var(--t2-text-s); white-space: pre-wrap; word-break: break-word; }
.t2-page .cf7-confirm-note { font-size: .9rem; color: var(--t2-text-s); margin-bottom: 1.2rem; }
.t2-page .cf7-confirm-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.t2-page .cf7-btn-back,
.t2-page .cf7-btn-send {
  font: inherit; font-size: 1rem; font-weight: 700; cursor: pointer;
  border-radius: 999px; padding: .85rem 2.2rem; border: 2px solid transparent;
  transition: background .2s, border-color .2s, color .2s;
}
.t2-page .cf7-btn-back { background: #fff; border-color: var(--t2-green-l); color: var(--t2-text-s); }
.t2-page .cf7-btn-back:hover { border-color: var(--t2-green); color: var(--t2-green); }
.t2-page .cf7-btn-send { background: var(--t2-orange); color: #fff; }
.t2-page .cf7-btn-send:hover { background: var(--t2-orange-d); }

@media (max-width: 600px) {
  .t2-page .cf7-confirm-row { grid-template-columns: 1fr; }
  .t2-page .cf7-confirm-actions { flex-direction: column-reverse; }
  .t2-page .cf7-btn-back, .t2-page .cf7-btn-send { width: 100%; }
}
