/* ============================================================================
   redesign.css — Pastoral Dog site redesign (2026-09-16)
   正本トークン: docs/design/DESIGN.md / 仕様: docs/design/inbound/2026-09-16/INVENTORY.md
   読込順: css_import.html の末尾（既存 CSS を上書きする段階置換）。既存 CSS は削除しない。
   暫定値（01b 未回答・2026-09-16 ラリー決裁で承認）:
     h3 = 22/1.6 / Shippori Mincho h2 = 700 / md 帯(600–1023) = 2 カラム /
     accent #08b1f7 は変数定義のみで未使用 / on-dark 色 7 種はアートボード実測値を追加トークン化 /
     focus ring・z-index 階層は本ファイルで定義（アートボードに無し）
   構成: 1 tokens / 2 base / 3 layout / 4 typography / 5 buttons+links / 6 cards+lists /
         7 header / 8 footer / 9 CTA+sticky / 10 page blocks / 11 legacy overrides / 12 breakpoints
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --pd-primary-500: #669933; /* brand: 装飾・罫線・大見出し・数字（変更禁止） */
  --pd-primary-700: #4f7d22; /* AA ink: ボタン塗り・リンク・小文字 */
  --pd-primary-800: #3b5f18; /* hover */
  --pd-primary-400: #7fb340; /* dark 面のボタン hover */
  --pd-primary-100: #DFEACB;
  --pd-primary-50: #F1F6E8;
  --pd-secondary: #009933;   /* kept, never for text */
  --pd-accent: #08b1f7;      /* kept, unused (保留) */
  --pd-ink-900: #1E2A14;
  --pd-ink-700: #333333;
  --pd-ink-500: #5C6357;
  --pd-line: #DDE3D3;
  --pd-line-strong: #B8C2A8;
  --pd-bg: #FFFFFF;
  --pd-bg-alt: #F5F7F1;
  --pd-on-dark-heading: #A7C480;
  --pd-on-dark-text: #E4EAD9;
  --pd-on-dark-muted: #C9D4B8;
  --pd-on-dark-dim: #9AA88A;
  --pd-on-dark-sep: #6E8058;

  --pd-font-serif: "Shippori Mincho", "Sawarabi Mincho", "Hiragino Mincho ProN", serif;
  --pd-font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --pd-font-label: Lora, Georgia, serif;

  --pd-space-1: 4px;  --pd-space-2: 8px;  --pd-space-3: 12px; --pd-space-4: 16px;
  --pd-space-5: 20px; --pd-space-6: 24px; --pd-space-8: 32px; --pd-space-12: 48px;
  --pd-space-16: 64px; --pd-space-24: 96px;

  --pd-radius-sm: 4px; --pd-radius: 6px; --pd-radius-md: 8px; --pd-radius-lg: 12px; --pd-radius-pill: 999px;
  --pd-shadow-float: 0 16px 48px rgba(31, 42, 23, .08);
  --pd-shadow-card: 0 12px 32px rgba(31, 42, 23, .10);
  --pd-shadow-dropdown: 0 12px 32px rgba(31, 42, 23, .12);
  --pd-shadow-pill: 0 12px 32px rgba(31, 42, 23, .30);
  --pd-shadow-cta: 0 8px 24px rgba(79, 125, 34, .25);

  --pd-container: 1200px;
  --pd-container-wide: 1320px;
  --pd-gutter: clamp(20px, 5vw, 40px);
  --pd-section-y: clamp(56px, 7vw, 96px);
  --pd-section-y-tight: clamp(40px, 5vw, 64px);
  --pd-band-y: clamp(40px, 5vw, 72px);

  --pd-z-header: 50;
  --pd-z-dropdown: 60;
  --pd-z-sticky: 70;
  --pd-z-menu: 80;
}

/* 2. Base ------------------------------------------------------------------ */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--pd-font-sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--pd-ink-700);
  background: var(--pd-bg);
  text-wrap: pretty;
  word-break: normal;
  overflow-wrap: anywhere;
}
body.pd-body { padding: 0; margin: 0; }
img { max-width: 100%; height: auto; }
a { color: var(--pd-primary-700); }
a:hover { color: var(--pd-primary-800); }
:focus-visible { outline: 3px solid var(--pd-primary-500); outline-offset: 2px; border-radius: var(--pd-radius-sm); }
.pd-visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.pd-skip {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--pd-ink-900); color: #fff; padding: 8px 14px; border-radius: var(--pd-radius);
  font-weight: 700; text-decoration: none;
}
.pd-skip:focus { top: 12px; color: #fff; }

/* 3. Layout ---------------------------------------------------------------- */
.pd-container { max-width: var(--pd-container); margin-inline: auto; padding-inline: var(--pd-gutter); }
.pd-container--wide { max-width: var(--pd-container-wide); }
.pd-section { padding-block: var(--pd-section-y); }
.pd-section--tight { padding-block: var(--pd-section-y-tight); }
.pd-band--alt { background: var(--pd-bg-alt); border-top: 1px solid var(--pd-line); border-bottom: 1px solid var(--pd-line); }
.pd-band--soft { background: var(--pd-primary-50); border-top: 1px solid var(--pd-line); }
.pd-band--dark { background: var(--pd-ink-900); color: #fff; }
.pd-band--dark a { color: var(--pd-on-dark-heading); }
.pd-band--dark .pd-lead, .pd-band--dark p { color: var(--pd-on-dark-muted); }
.pd-band--dark .pd-eyebrow { color: var(--pd-on-dark-heading); }
.pd-band--dark .pd-h1, .pd-band--dark .pd-h2, .pd-band--dark .pd-h3 { color: #fff; }
.pd-band--line { border-top: 1px solid var(--pd-line); }

.pd-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(var(--min, 260px), 100%), 1fr));
  gap: var(--gap, 20px);
}
.pd-grid--split { display: grid; grid-template-columns: 1fr; gap: 32px 64px; align-items: start; }
.pd-grid--split.pd-grid--center { align-items: center; }
.pd-grid--split.pd-grid--end { align-items: end; }
.pd-stack { display: flex; flex-direction: column; gap: var(--gap, 16px); }
.pd-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--gap, 12px); }
.pd-row--between { justify-content: space-between; align-items: end; }
.pd-divider { border-top: 1px dashed var(--pd-line); padding-top: 16px; }
.pd-hr { border: 0; border-top: 1px solid var(--pd-line); margin: 0; }
.pd-mt-6 { margin-top: var(--pd-space-6); }
.pd-mt-8 { margin-top: var(--pd-space-8); }
.pd-mt-12 { margin-top: var(--pd-space-12); }
.pd-pt-8 { padding-top: var(--pd-space-8); }

/* 4. Typography ------------------------------------------------------------ */
.pd-eyebrow {
  display: block; font-family: var(--pd-font-label); font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--pd-primary-700); line-height: 1.5; margin: 0 0 12px;
}
.pd-eyebrow--muted { color: var(--pd-ink-500); }
.pd-eyebrow--sm { font-size: 11px; margin: 0 0 6px; }
.pd-h1, .pd-h2, .pd-h3--serif {
  font-family: var(--pd-font-serif); color: var(--pd-ink-900); letter-spacing: .02em; margin: 0;
  word-break: keep-all; overflow-wrap: anywhere; text-wrap: pretty;
}
.pd-h1 { font-size: clamp(30px, 3.6vw, 52px); line-height: 1.4; font-weight: 700; }
.pd-h1--sm { font-size: clamp(28px, 3.2vw, 44px); }
.pd-h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.45; font-weight: 700; }
.pd-h2--sm { font-size: clamp(24px, 2.6vw, 32px); }
.pd-h3--serif { font-size: 24px; line-height: 1.5; font-weight: 700; }
.pd-h3 { font-family: var(--pd-font-sans); font-size: 22px; line-height: 1.6; font-weight: 700; color: var(--pd-ink-900); margin: 0; }
.pd-h4 { font-family: var(--pd-font-sans); font-size: 18px; line-height: 1.5; font-weight: 700; color: var(--pd-ink-900); margin: 0; }
.pd-h5 { font-family: var(--pd-font-sans); font-size: 16px; line-height: 1.5; font-weight: 700; color: var(--pd-ink-900); margin: 0; }
.pd-lead { font-size: clamp(15px, 1.15vw, 17px); line-height: 1.9; color: var(--pd-ink-500); max-width: 44em; margin: 0; }
.pd-text { font-size: 16px; line-height: 1.9; color: var(--pd-ink-700); margin: 0; }
.pd-small { font-size: 13px; line-height: 1.7; color: var(--pd-ink-500); margin: 0; }
.pd-num { font-family: var(--pd-font-label); color: var(--pd-primary-500); font-size: 13px; letter-spacing: .06em; }
.pd-num--lg { font-size: 28px; font-weight: 600; line-height: 1; }
.pd-num--md { font-size: 22px; font-weight: 600; line-height: 1; }
.pd-section__head { display: grid; gap: 12px; max-width: 44em; margin-bottom: 32px; }
.pd-section__head .pd-eyebrow { margin: 0; }
.pd-section__head--row { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 32px; }
.pd-section__head--row > div { display: grid; gap: 12px; max-width: 44em; }
.pd-tag {
  display: inline-block; font-size: 11px; font-weight: 700; color: var(--pd-primary-700);
  background: var(--pd-primary-50); border-radius: var(--pd-radius-sm); padding: 2px 8px; line-height: 1.6; vertical-align: middle;
}
.pd-tag--new { font-family: var(--pd-font-label); background: none; padding: 0; letter-spacing: .1em; }
.pd-pill {
  display: inline-block; padding: 6px 12px; border-radius: var(--pd-radius-pill); background: #fff;
  border: 1px solid var(--pd-line); font-size: 13px; font-weight: 700; color: var(--pd-primary-700); line-height: 1.5;
}

/* 5. Buttons + links -------------------------------------------------------- */
.pd-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 24px; min-height: 52px; border-radius: var(--pd-radius);
  font-family: var(--pd-font-sans); font-size: 16px; font-weight: 700; line-height: 1.3;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.pd-btn--primary { background: var(--pd-primary-700); color: #fff; }
.pd-btn--primary:hover, .pd-btn--primary:focus-visible { background: var(--pd-primary-800); color: #fff; }
.pd-btn--secondary { background: #fff; color: var(--pd-primary-700); border-color: var(--pd-primary-700); }
.pd-btn--secondary:hover, .pd-btn--secondary:focus-visible { background: var(--pd-primary-50); color: var(--pd-primary-800); }
.pd-btn--brand { background: var(--pd-primary-500); color: #fff; }
.pd-btn--brand:hover, .pd-btn--brand:focus-visible { background: var(--pd-primary-400); color: #fff; }
.pd-btn--lg { padding: 18px 28px; font-size: 17px; box-shadow: var(--pd-shadow-cta); }
.pd-btn--sm { padding: 11px 18px; min-height: 0; font-size: 14px; gap: 8px; }
.pd-btn__icon { font-size: .8em; }
.pd-link { font-size: 15px; font-weight: 700; color: var(--pd-primary-700); text-decoration: none; }
.pd-link:hover, .pd-link:focus-visible { color: var(--pd-primary-800); text-decoration: underline; }
.pd-link--sm { font-size: 13px; }
.pd-link--md { font-size: 14px; }
.pd-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; min-height: 36px;
  border-radius: var(--pd-radius-pill); border: 1px solid var(--pd-line); background: var(--pd-bg-alt);
  color: var(--pd-primary-700); font-size: 13px; font-weight: 700; text-decoration: none; line-height: 1.4;
}
.pd-chip:hover, .pd-chip:focus-visible { border-color: var(--pd-primary-700); color: var(--pd-primary-800); }

/* 6. Cards + lists ----------------------------------------------------------- */
.pd-card {
  display: grid; gap: 16px; padding: 28px; background: #fff; color: var(--pd-ink-700);
  border: 1px solid var(--pd-line); border-radius: var(--pd-radius-md); text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
}
.pd-card--alt { background: var(--pd-bg-alt); }
.pd-card--pad-sm { padding: 20px; gap: 12px; }
.pd-card--pad-xs { padding: 16px 20px; gap: 8px; }
.pd-card--pad-md { padding: 24px; gap: 12px; }
.pd-card--top { border-top: 4px solid var(--pd-primary-500); }
.pd-card--hover:hover, .pd-card--hover:focus-visible { border-color: var(--pd-primary-500); box-shadow: var(--pd-shadow-card); color: var(--pd-ink-700); }
.pd-card--outline:hover, .pd-card--outline:focus-visible { border-color: var(--pd-primary-500); }
.pd-card__title { font-size: 18px; font-weight: 700; color: var(--pd-ink-900); margin: 0; line-height: 1.5; }
.pd-card__title--sm { font-size: 16px; }
.pd-card__desc { font-size: 14px; line-height: 1.8; color: var(--pd-ink-500); margin: 0; }
.pd-card__quote { font-size: 15px; font-weight: 500; color: var(--pd-ink-900); margin: 0; line-height: 1.7; }
.pd-card__foot { margin-top: auto; }
.pd-card__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pd-card__thumb { display: block; aspect-ratio: 16 / 9; width: 100%; object-fit: cover; border-radius: var(--pd-radius); border: 1px solid var(--pd-line); background: var(--pd-bg-alt); }
.pd-card__thumb--wide { aspect-ratio: 16 / 10; }
.pd-cat__count { font-family: var(--pd-font-label); font-weight: 600; font-size: 28px; color: var(--pd-primary-500); line-height: 1; }
.pd-cat__count small { font-family: var(--pd-font-sans); font-size: 12px; color: var(--pd-ink-500); font-weight: 400; margin-left: 4px; }
.pd-cat__count--sm { font-size: 24px; }

.pd-list-dot { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pd-list-dot li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.7; }
.pd-list-dot li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--pd-primary-500); }
.pd-list-dash { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 13px; color: var(--pd-ink-500); }
.pd-list-dash li::before { content: "— "; color: var(--pd-primary-500); }
.pd-list-quote { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; line-height: 1.7; }
.pd-list-quote li::before { content: "「"; color: var(--pd-primary-500); }
.pd-list-quote li::after { content: "」"; color: var(--pd-primary-500); }
.pd-numbered { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pd-numbered li {
  display: flex; gap: 14px; align-items: baseline; padding: 18px 20px; background: var(--pd-bg-alt);
  border: 1px solid var(--pd-line); border-radius: var(--pd-radius-md); font-size: 16px; font-weight: 500; color: var(--pd-ink-900); line-height: 1.7;
}
.pd-numbered li .pd-num { flex: 0 0 auto; }
.pd-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 12px; counter-reset: pd-step; }
.pd-steps li { display: grid; gap: 8px; padding: 20px; background: #fff; border: 1px solid var(--pd-line); border-radius: var(--pd-radius-md); }
.pd-steps--alt li { background: var(--pd-bg-alt); }
.pd-steps li::before { counter-increment: pd-step; content: counter(pd-step, decimal-leading-zero); font-family: var(--pd-font-label); font-weight: 600; font-size: 22px; color: var(--pd-primary-500); line-height: 1; }
.pd-steps__title { font-size: 15px; font-weight: 700; color: var(--pd-ink-900); margin: 0; }
.pd-steps__desc { font-size: 13px; line-height: 1.7; color: var(--pd-ink-500); margin: 0; }
.pd-note { border-left: 3px solid var(--pd-primary-500); background: #fff; border-radius: 0 var(--pd-radius-md) var(--pd-radius-md) 0; padding: 20px 24px; font-size: 15px; line-height: 1.8; max-width: 56em; margin: 0; }
.pd-dl { margin: 0; border-top: 1px solid var(--pd-line); }
.pd-dl > div { display: grid; grid-template-columns: minmax(88px, 120px) 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--pd-line); }
.pd-dl dt { font-size: 14px; font-weight: 700; color: var(--pd-primary-700); margin: 0; }
.pd-dl dd { font-size: 15px; line-height: 1.8; margin: 0; }
.pd-dl dd .pd-small { margin-top: 6px; }
.pd-func { display: grid; gap: 6px; padding: 16px 20px; background: #fff; border: 1px solid var(--pd-line); border-radius: var(--pd-radius-md); }
.pd-func__title { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--pd-ink-900); margin: 0; }
.pd-func__title::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--pd-primary-500); flex: 0 0 auto; }
.pd-func ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: 13px; color: var(--pd-ink-500); }

/* Tabs (来訪者像) */
.pd-tabs { background: #fff; border: 1px solid var(--pd-line); border-radius: var(--pd-radius-lg); box-shadow: var(--pd-shadow-float); overflow: hidden; }
.pd-tabs__title { padding: 20px 24px 0; font-size: 14px; font-weight: 700; color: var(--pd-ink-900); margin: 0; }
.pd-tabs__list { display: flex; gap: 4px; padding: 12px 16px 0; border-bottom: 1px solid var(--pd-line); overflow-x: auto; margin: 0; }
.pd-tabs__tab {
  flex: 1 0 auto; min-height: 44px; padding: 10px 14px; border: 0; border-bottom: 3px solid transparent; background: transparent;
  font-family: var(--pd-font-sans); font-size: 14px; font-weight: 700; color: var(--pd-ink-500); cursor: pointer; white-space: nowrap; min-width: max-content;
}
.pd-tabs__tab[aria-selected="true"] { color: var(--pd-ink-900); border-bottom-color: var(--pd-primary-500); }
.pd-tabs__panel { display: grid; gap: 20px; padding: 24px; }
.pd-tabs__panel[hidden] { display: none; }
.pd-tabs__answer { font-size: 15px; font-weight: 500; color: var(--pd-ink-900); margin: 0; line-height: 1.8; }
.pd-tabs .pd-row { gap: 8px; }

/* Filter chips (実績) */
.pd-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pd-filter__chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px;
  border-radius: var(--pd-radius-pill); border: 1.5px solid var(--pd-line); background: #fff; color: var(--pd-ink-700);
  font-family: var(--pd-font-sans); font-size: 14px; font-weight: 700; cursor: pointer;
}
.pd-filter__chip .pd-num { color: inherit; opacity: .8; }
.pd-filter__chip[aria-pressed="true"] { border-color: var(--pd-primary-700); background: var(--pd-primary-700); color: #fff; }
.pd-filter__chip:hover { border-color: var(--pd-primary-700); }
.pd-case-group { display: grid; gap: 20px; }
.pd-case-group__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; border-bottom: 2px solid var(--pd-primary-500); padding-bottom: 12px; }
.pd-case-group__head .pd-num { margin-left: auto; font-size: 14px; }
.pd-case-group[hidden] { display: none; }
.pd-case[hidden] { display: none; }

/* Odd-e group note / positioning diagram / products strip / news */
.pd-group { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 20px; background: var(--pd-bg-alt); border: 1px solid var(--pd-line); border-radius: var(--pd-radius-md); }
.pd-group--plain { background: transparent; border: 0; padding: 0; }
.pd-group__logo { flex: 0 0 auto; height: 48px; width: auto; max-width: 160px; object-fit: contain; }
.pd-group__label { font-size: 14px; font-weight: 700; color: var(--pd-ink-900); margin: 0; }
.pd-group__text { font-size: 13px; line-height: 1.7; color: var(--pd-ink-500); margin: 0; flex: 1 1 24em; }
.pd-group--dark { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .18); }
.pd-group--dark .pd-group__label { color: #fff; }
.pd-group--dark .pd-group__text { color: var(--pd-on-dark-muted); }
.pd-inline-note { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--pd-ink-500); margin: 0; }
.pd-inline-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pd-primary-500); flex: 0 0 auto; }
.pd-position { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: stretch; }
.pd-position__main { display: grid; gap: 12px; }
.pd-position__top { background: var(--pd-primary-700); color: #fff; font-size: 16px; font-weight: 700; padding: 18px 20px; border-radius: var(--pd-radius-md); text-align: center; text-decoration: none; }
.pd-position__top:hover { background: var(--pd-primary-800); color: #fff; }
.pd-position__sub { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr)); gap: 12px; }
.pd-position__sub a { border: 1.5px solid var(--pd-primary-500); background: #fff; color: var(--pd-ink-900); font-size: 14px; font-weight: 500; text-align: center; padding: 14px 16px; border-radius: var(--pd-radius-md); text-decoration: none; }
.pd-position__sub a:hover { background: var(--pd-primary-50); }
.pd-position__side { writing-mode: vertical-rl; border: 1.5px dashed var(--pd-primary-500); background: var(--pd-primary-50); color: var(--pd-ink-900); font-size: 13px; font-weight: 500; padding: 16px 10px; border-radius: var(--pd-radius-md); text-decoration: none; display: flex; align-items: center; justify-content: center; }
.pd-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; border-top: 1px solid var(--pd-line); padding-top: 24px; font-size: 14px; color: var(--pd-ink-700); }
.pd-strip strong { color: var(--pd-ink-900); }
.pd-strip__names { color: var(--pd-ink-500); }
.pd-news { list-style: none; margin: 0; padding: 0; }
.pd-news li { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid var(--pd-line); font-size: 14px; }
.pd-news time, .pd-news__date { font-family: var(--pd-font-label); color: var(--pd-ink-500); min-width: 88px; }
.pd-news a { color: var(--pd-ink-700); text-decoration: none; }
.pd-news a:hover { color: var(--pd-primary-700); text-decoration: underline; }

/* 7. Header ---------------------------------------------------------------- */
.pd-header { position: relative; z-index: var(--pd-z-header); background: #fff; border-bottom: 1px solid var(--pd-line); }
.pd-header__inner { max-width: var(--pd-container-wide); margin-inline: auto; padding-inline: clamp(16px, 3vw, 40px); min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.pd-header__logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--pd-ink-700); flex: 0 0 auto; }
.pd-header__logo img { height: 36px; width: auto; display: block; }
.pd-nav { flex: 1 1 auto; display: none; justify-content: center; }
.pd-nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.pd-nav__item { position: relative; }
.pd-nav__link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; font-size: 14px; font-weight: 500; color: var(--pd-ink-700);
  text-decoration: none; border: 0; border-bottom: 2px solid transparent; background: none; font-family: inherit; cursor: pointer; line-height: 1.4;
}
.pd-nav__link:hover, .pd-nav__link:focus-visible { color: var(--pd-primary-700); }
.pd-nav__link[aria-current="page"], .pd-nav__link--active { border-bottom-color: var(--pd-primary-500); }
.pd-nav__caret { font-size: 10px; color: var(--pd-ink-500); }
.pd-dropdown {
  position: absolute; top: 100%; left: 0; margin-top: 8px; min-width: 280px; z-index: var(--pd-z-dropdown);
  background: #fff; border: 1px solid var(--pd-line); border-radius: var(--pd-radius-md); box-shadow: var(--pd-shadow-dropdown);
  padding: 8px; display: grid; gap: 2px; list-style: none;
}
.pd-dropdown[hidden] { display: none; }
.pd-dropdown a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--pd-radius); font-size: 14px; color: var(--pd-ink-700); text-decoration: none; white-space: nowrap; }
.pd-dropdown a:hover, .pd-dropdown a:focus-visible { background: var(--pd-primary-50); color: var(--pd-primary-700); }
.pd-header__right { display: flex; align-items: center; gap: 16px; }
.pd-lang { font-family: var(--pd-font-label); font-size: 13px; letter-spacing: .08em; display: inline-flex; gap: 6px; align-items: center; }
.pd-lang a { color: var(--pd-ink-700); text-decoration: none; opacity: .55; font-weight: 400; }
.pd-lang a[aria-current="true"] { opacity: 1; font-weight: 700; }
.pd-lang span { color: var(--pd-line-strong); }
.pd-header__cta { display: none; }
.pd-burger { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; border: 1px solid var(--pd-line); border-radius: var(--pd-radius); background: #fff; cursor: pointer; padding: 0; }
.pd-burger span { display: block; width: 18px; height: 2px; background: var(--pd-ink-700); transition: transform .15s, opacity .15s; }
.pd-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.pd-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.pd-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.pd-mobile-menu { display: none; border-top: 1px solid var(--pd-line); background: #fff; padding: 12px var(--pd-gutter) 20px; z-index: var(--pd-z-menu); }
.pd-mobile-menu[data-open="true"] { display: block; }
.pd-mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.pd-mobile-menu > ul > li { border-bottom: 1px solid var(--pd-line); }
.pd-mobile-menu a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; font-size: 15px; font-weight: 500; color: var(--pd-ink-700); text-decoration: none; }
.pd-mobile-menu ul ul { padding: 0 0 8px 16px; }
.pd-mobile-menu ul ul a { font-size: 14px; font-weight: 400; padding: 8px 0; color: var(--pd-ink-500); }
.pd-mobile-menu__label { display: block; padding: 12px 0 4px; font-size: 15px; font-weight: 700; color: var(--pd-ink-900); }
.pd-mobile-menu .pd-btn { margin-top: 16px; width: 100%; }

/* 8. Footer ---------------------------------------------------------------- */
.pd-footer { background: var(--pd-ink-900); color: var(--pd-on-dark-text); }
.pd-footer__inner { max-width: var(--pd-container); margin-inline: auto; padding: var(--pd-section-y-tight) var(--pd-gutter) 32px; display: grid; gap: 40px; }
.pd-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 32px 40px; }
.pd-footer__heading { font-family: var(--pd-font-label); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--pd-on-dark-heading); margin: 0 0 12px; font-weight: 400; }
.pd-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 14px; line-height: 1.7; }
.pd-footer__links a { color: var(--pd-on-dark-text); text-decoration: none; }
.pd-footer__links a:hover, .pd-footer__links a:focus-visible { color: #fff; text-decoration: underline; }
.pd-footer__links .pd-btn__icon { opacity: .7; font-size: 11px; margin-left: 4px; }
.pd-footer__works { grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 6px 20px; font-size: 13px; }
.pd-footer__col--wide { grid-column: span 2; }
.pd-footer__bar { border-top: 1px solid rgba(228, 234, 217, .18); padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; font-size: 13px; color: var(--pd-on-dark-muted); }
.pd-footer__bar strong { font-family: var(--pd-font-label); font-weight: 600; color: #fff; }
.pd-footer__sep { color: var(--pd-on-dark-sep); margin: 0 8px; }
.pd-footer__bar a { color: var(--pd-on-dark-heading); text-decoration: underline; }
.pd-footer__copy { font-family: var(--pd-font-label); font-size: 12px; color: var(--pd-on-dark-dim); }
.pd-footer__partner { display: flex; align-items: center; gap: 12px; }
.pd-footer__partner img { height: 40px; width: auto; }
.pd-gotop { display: inline-flex; align-items: center; gap: 6px; color: var(--pd-on-dark-heading); text-decoration: none; font-size: 13px; }

/* 9. CTA block + sticky CTA ------------------------------------------------- */
.pd-cta { background: var(--pd-primary-50); border-top: 1px solid var(--pd-line); }
.pd-cta__grid { display: grid; grid-template-columns: 1fr; gap: 32px 64px; align-items: center; }
.pd-cta__text { display: grid; gap: 12px; }
.pd-cta__text .pd-eyebrow { margin: 0; }
.pd-cta__h2 { font-size: clamp(24px, 3vw, 36px); line-height: 1.5; }
.pd-cta__action { display: grid; gap: 12px; justify-items: start; }
.pd-cta__note { font-size: 13px; color: var(--pd-ink-500); margin: 0; }
.pd-sticky { position: fixed; z-index: var(--pd-z-sticky); left: 0; right: 0; bottom: 0; padding: 10px 16px; background: rgba(255, 255, 255, .96); border-top: 1px solid var(--pd-line); backdrop-filter: blur(8px); }
.pd-sticky__link { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; border-radius: var(--pd-radius); background: var(--pd-primary-700); color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; }
.pd-sticky__link:hover, .pd-sticky__link:focus-visible { background: var(--pd-primary-800); color: #fff; }
body { padding-bottom: 72px; } /* mobile 固定バー分 */

/* 10. Page blocks ----------------------------------------------------------- */
.pd-hero { background: var(--pd-bg-alt); border-bottom: 1px solid var(--pd-line); padding-block: clamp(48px, 6vw, 88px) clamp(48px, 6vw, 80px); }
.pd-hero__grid { display: grid; grid-template-columns: 1fr; gap: 40px 64px; align-items: start; }
.pd-hero__copy { display: grid; gap: 24px; }
.pd-hero__copy .pd-eyebrow { margin: 0; }
.pd-hero__lead { max-width: 36em; }
.pd-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pd-hero__media { display: grid; gap: 20px; }
.pd-hero__photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--pd-radius-md); border: 1px solid var(--pd-line); display: block; }
.pd-hero--dark { background: var(--pd-ink-900); color: #fff; border-bottom: 0; }
.pd-hero--dark .pd-hero__grid { align-items: end; }
.pd-hero--dark .pd-eyebrow { color: var(--pd-on-dark-heading); }
.pd-hero--dark .pd-h1 { color: #fff; }
.pd-hero--dark .pd-lead { color: var(--pd-on-dark-muted); }
.pd-titleband { background: var(--pd-bg-alt); border-bottom: 1px solid var(--pd-line); padding-block: var(--pd-band-y); }
.pd-titleband__inner { display: grid; gap: 16px; }
.pd-titleband--split .pd-titleband__inner { grid-template-columns: 1fr; gap: 32px 64px; align-items: center; }
.pd-titleband__copy { display: grid; gap: 16px; }
.pd-titleband__photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--pd-radius-md); border: 1px solid var(--pd-line); display: block; }
.pd-breadcrumb { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-family: var(--pd-font-label); font-size: 12px; letter-spacing: .08em; color: var(--pd-ink-500); }
.pd-breadcrumb a { color: var(--pd-ink-500); text-decoration: none; }
.pd-breadcrumb a:hover { color: var(--pd-primary-700); text-decoration: underline; }
.pd-breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--pd-line-strong); }
.pd-portrait { max-width: 320px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--pd-radius-md); border: 1px solid var(--pd-line); display: block; }
.pd-map { width: 100%; aspect-ratio: 4 / 3; border: 1px solid var(--pd-line); border-radius: var(--pd-radius-md); display: block; }
.pd-sign { display: grid; gap: 4px; }
.pd-sign__role { font-family: var(--pd-font-label); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--pd-ink-500); }
.pd-sign__name { font-family: var(--pd-font-serif); font-size: 20px; font-weight: 700; color: var(--pd-ink-900); }
.pd-legacy-hero { background: var(--pd-bg-alt); border-bottom: 1px solid var(--pd-line); } /* 未刷新ページの hero 差し替え用 */

/* 11. Legacy overrides (未刷新ページの見た目を新トークンへ寄せる) --------------- */
.js .animate-box, .js .footer-box, .js .to-animate, .js .feature-box, .js .work-box,
.animate-box, .footer-box, .to-animate, .feature-box, .work-box { opacity: 1 !important; } /* 旧 waypoints/JS 依存の非表示を解除 */
.bg_green { background-color: var(--pd-ink-900) !important; } /* 決裁 #13: ベタ塗り緑帯は廃止 → ink-900 帯 */
.fc_green { color: var(--pd-primary-700) !important; }
.fc_d_green { color: var(--pd-primary-700) !important; }
.bc_green { border-color: var(--pd-primary-500) !important; }
.read_more { color: var(--pd-primary-700); }
.read_more_line { border-bottom-color: var(--pd-primary-700); }
.read_more_line:hover { border-bottom-color: var(--pd-primary-800); }
#btn_contact, .fh5co-gotop, #fh5co-logo-mobile-wrap, #fh5co-mobile-menu { display: none !important; }
#fh5co-main { float: none !important; width: auto !important; } /* 旧テンプレの float:left が後続の CTA/footer を横に流すため解除 */
.pd-cta, .pd-footer, .pd-section, .pd-titleband { clear: both; } /* 旧固定ボタン・旧 JS メニューは新部品で置換 */
.h1, .h2, .h3, .h4, h1, h2, h3, h4 { font-family: var(--pd-font-serif) !important; color: var(--pd-ink-900); }
.h3, .h4, h3, h4, .pd-h3, .pd-h4, .pd-h5, .pd-card__title, .pd-steps__title, .pd-func__title, .pd-tabs__title, .pd-group__label { font-family: var(--pd-font-sans) !important; }
.pd-h1, .pd-h2, .pd-h3--serif, .pd-sign__name, .pd-cta__h2 { font-family: var(--pd-font-serif) !important; }
.font-sawarabi, .ff_english { font-family: var(--pd-font-label) !important; }
#fh5co-hero .overlay { opacity: .9; }
#fh5co-hero .h1, #fh5co-hero .h2 { color: #fff; }
.fh5co-cards .fh5co-card { border-radius: var(--pd-radius-md); }
.btn_contact_m, .btn_contact_l, .btn_contact_s, .btn_l {
  background: var(--pd-primary-700) !important; color: #fff !important; border: 0 !important; border-radius: var(--pd-radius) !important;
}
.btn_contact_m:hover, .btn_contact_l:hover, .btn_contact_s:hover, .btn_l:hover { background: var(--pd-primary-800) !important; }
.bg-granim-mono, .bg-granim-green2-rad { background: var(--pd-bg-alt); }
.bg-granim-green2-rad #recruit .h3, .bg-granim-green2-rad .h3 { color: var(--pd-ink-900); }
.fh5co-cards.bg-granim-mono .read_more_line { color: var(--pd-ink-700); }

/* 12. Breakpoints: sm < 600 / md 600–1023 / lg ≥ 1024 --------------------------- */
@media (min-width: 600px) {
  .pd-grid--split { grid-template-columns: 1fr 1fr; }
  .pd-cta__grid { grid-template-columns: minmax(300px, 1fr) auto; }
  .pd-hero__grid { grid-template-columns: minmax(320px, 1fr) minmax(280px, 1fr); }
  .pd-titleband--split .pd-titleband__inner { grid-template-columns: minmax(300px, 1fr) minmax(240px, 1fr); }
}
@media (min-width: 1024px) {
  .pd-nav { display: flex; }
  .pd-header__cta { display: inline-flex; }
  .pd-burger { display: none; }
  .pd-mobile-menu, .pd-mobile-menu[data-open="true"] { display: none; }
  .pd-hero__grid { grid-template-columns: minmax(320px, 1.1fr) minmax(320px, .9fr); }
  .pd-sticky { left: auto; right: 24px; bottom: 24px; padding: 0; background: none; border: 0; backdrop-filter: none; }
  .pd-sticky__link { background: var(--pd-ink-900); color: #fff; padding: 14px 22px; border-radius: var(--pd-radius-pill); box-shadow: var(--pd-shadow-pill); min-height: 0; font-size: 15px; }
  .pd-sticky__link:hover, .pd-sticky__link:focus-visible { background: var(--pd-primary-700); }
  body { padding-bottom: 0; }
}
@media (max-width: 599px) {
  .pd-h1 { font-size: 30px; line-height: 1.45; }
  .pd-h2 { font-size: 26px; line-height: 1.5; }
  .pd-h3 { font-size: 19px; }
  .pd-section__head { margin-bottom: 24px; }
  .pd-card { padding: 20px; }
  .pd-position { grid-template-columns: 1fr; }
  .pd-position__side { writing-mode: horizontal-tb; padding: 12px 16px; }
  .pd-footer__col--wide { grid-column: auto; }
  .pd-dl > div { grid-template-columns: 1fr; gap: 4px; }
  .pd-hero__actions .pd-btn { flex: 1 1 100%; }
}
@media print { .pd-sticky, .pd-burger, .pd-mobile-menu, .pd-skip { display: none !important; } body { padding-bottom: 0; } }
