/* =========================================================
   和田ひでとし 公式サイト
   PC: 固定KV＋右の白い本文列 / SP: 縦積み
   ========================================================= */

:root {
  /* 色 */
  --green: #1F6145;
  --green-deep: #174A35;
  --green-mid: #BFD9C8;
  --green-pale: #EAF3ED;
  --green-ink: #0E3A27;
  --text: #2B2B2B;
  --muted: #5E6660;
  --line: #DDE3DE;
  --white: #FFFFFF;
  --scrim: 10, 40, 24;

  /* 文字サイズ（9段） */
  --fs-xs: 12.8px;
  --fs-sm: 14px;
  --fs-base: 16px;
  --fs-md: 17.6px;
  --fs-lg: 19.2px;
  --fs-xl: 22.4px;
  --fs-2xl: 25.6px;
  --fs-3xl: 28.8px;
  --fs-4xl: 33.6px;

  /* 書体 */
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;

  /* 骨格（PC） */
  --col-w: clamp(440px, 36vw, 524px);
  --col-gap: clamp(32px, 9.3vw, 156px);
  --col-pad: 36px;
  --header-h: 64px;
  --bar-h: 60px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- リセット・基本 ---------- */
/* ドロワー開閉時の横ずれ防止 */
@media (min-width: 1024px) { html { scrollbar-gutter: stable; } }
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-width: thin;
  overflow-anchor: none;
  scroll-padding-top: 80px; /* 固定ヘッダー分 */
  scrollbar-color: rgba(31, 97, 69, .55) transparent;
}
@media (min-width: 1024px) { html { scroll-padding-top: 112px; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0;
  color: var(--text);
  background: #DCE8CF;
  line-break: strict;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
time { font-variant-numeric: tabular-nums; }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 2px; }
.site-footer :focus-visible { outline-color: var(--white); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 100;
  padding: 8px 16px; background: var(--green); color: var(--white);
  font-size: var(--fs-sm); font-weight: 500; letter-spacing: .04em; line-height: 1.4;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* ---------- 背景 ---------- */
.backdrop {
  position: fixed; inset: 0; z-index: -2;
  background: #8DB46A;
}

/* ---------- 本文列 ---------- */
/* PC: 列・各ブロック z-index:2 / 固定ヒーロー z-index:1（負の z-index は使わない） */
.col {
  position: relative;
  width: var(--col-w);
  min-height: 100vh;
  margin: 0 var(--col-gap) 0 auto;
  background: var(--white);
  box-shadow: 0 0 40px rgba(14, 58, 39, .14);
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px var(--col-pad) 12px 28px;
}
.brand { display: inline-flex; flex-direction: column; gap: 2px; }
.brand__name {
  font-family: var(--serif); font-weight: 600; font-size: var(--fs-lg);
  line-height: 1.5; letter-spacing: .06em; font-feature-settings: "palt" 1;
  color: var(--text);
}
.brand__role {
  font-size: var(--fs-sm); font-weight: 400; line-height: 1.4; letter-spacing: .04em;
  color: var(--muted);
}
/* 連絡先（PC のみ） */
.site-header__tel { display: none; }
@media (min-width: 1024px) {
  .site-header__tel {
    display: inline-flex; align-items: baseline; gap: 8px;
    margin-left: auto;
    font-size: var(--fs-base); font-weight: 400; line-height: 1.4; letter-spacing: 0;
    font-variant-numeric: tabular-nums; white-space: nowrap;
    color: var(--text);
  }
  .site-header__tel:hover { color: var(--green); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
  .site-header__tel-label { font-size: var(--fs-sm); font-weight: 500; letter-spacing: .04em; color: var(--muted); }
}
.menu-btn {
  display: grid; place-items: center; flex: none;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--green); color: var(--white);
  transition: background-color .2s;
}
.menu-btn:hover { background: var(--green-deep); }
.menu-btn__bars {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 18px;
}
.menu-btn__bars span {
  display: block; width: 100%; height: 2px;
  border-radius: 1px;
  background: currentColor;
}

/* ---------- ヒーロー（KV） ---------- */
/* PC: 全面固定。文字は左領域（--hw。main.js が --hero-w を実測）。下層 .page-visual も同型 */
@media (min-width: 1024px) {
  .col::before { content: ""; position: absolute; inset: 0; z-index: 2; background: var(--white); box-shadow: 0 0 40px rgba(14, 58, 39, .14); pointer-events: none; }
  main > .sec, .col > .cta, .site-footer { position: relative; z-index: 2; }
}
.hero {
  position: fixed; z-index: 1;
  inset: 0;
  overflow: clip;
  container-type: size;
  --hw: var(--hero-w, calc(100vw - var(--col-w) - var(--col-gap)));
}

/* KV: 背景・人物切り抜き・文字を重ねる（画像に焼き込まない）
   顔の中心 ≈ 画像幅の 48.96% → --kv-fx。係数は切り抜き画像の比率に依存 */
@property --kv-s { syntax: "<length>"; inherits: true; initial-value: 0px; }
@property --kv-fx { syntax: "<length>"; inherits: true; initial-value: 0px; }
@property --kv-top { syntax: "<length>"; inherits: true; initial-value: 0px; }
@property --kv-hl { syntax: "<length>"; inherits: true; initial-value: 0px; }
@property --kv-sf { syntax: "<length>"; inherits: true; initial-value: 0px; }
@property --kv-hlen { syntax: "<length>"; inherits: false; initial-value: 0px; }
.kv-stage {
  --kv-pw: var(--hw); --kv-ph: 100cqh;
  --kv-s: min(calc(var(--kv-ph) * .9), calc(var(--kv-pw) * 1.15));
  --kv-fx: calc(var(--kv-pw) * .5);
  --kv-ht: 0px;
  --kv-top: max(calc(var(--kv-ht) - var(--kv-s) * .0119), calc(var(--kv-ph) - var(--kv-s)));
  --kv-hl: calc(var(--kv-fx) - var(--kv-s) * .19347);
  --kv-ml: clamp(20px, calc(var(--kv-pw) * .05), 64px);
  --kv-mt: clamp(28px, calc(var(--kv-ph) * .075), 88px);
  --kv-gap: clamp(16px, calc(var(--kv-s) * .035), 40px);
  --kv-sf: clamp(20px, min(calc((var(--kv-hl) - var(--kv-ml) - var(--kv-gap)) / 3.8), calc(var(--kv-ph) * .07)), 80px);
  position: absolute; inset: 0; overflow: clip;
  background: #D5E3C4 url("../assets/img/pattern3-kv-g-bg-pc.webp") 30% 50% / cover no-repeat;
}
.kv {
  position: absolute;
  left: calc(var(--kv-fx) - var(--kv-s) * .48961); top: var(--kv-top);
  width: var(--kv-s); aspect-ratio: 3370 / 3371;
}
.kv__img { display: block; width: 100%; height: 100%; max-width: none; }

/* KV 文字。--hfit は main.js が縦書きのはみ出し時だけ設定 */
.kv__copy { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.kv__heading, .kv__name { position: absolute; margin: 0; }
.kv__heading > span { display: block; }
.kv__heading {
  --kv-hlen: calc(var(--kv-sf) * 7.6);
  left: var(--kv-ml); top: var(--kv-mt);
  writing-mode: vertical-rl;
  font-family: var(--serif); font-weight: 900;
  font-size: var(--kv-sf);
  line-height: 1.24; letter-spacing: .06em; font-feature-settings: "vpal" 1;
  color: #1F5A35; white-space: nowrap;
  transform: scaleY(var(--hfit, 1)); transform-origin: 0 0;
  text-shadow: 0 0 .3em rgba(255, 255, 255, .7);
}
/* 肩書き・氏名（スーツ上＝暗い地に白文字） */
.kv__name {
  left: calc(var(--kv-fx) - var(--kv-s) * .3917); top: calc(var(--kv-top) + var(--kv-s) * .7268);
  display: flex; flex-direction: column; align-items: flex-start;
  font-family: var(--serif); white-space: nowrap; font-feature-settings: "palt" 1;
  color: #fff;
  text-shadow: 0 0 .4em rgba(8, 20, 30, .5);
}
.kv__name-role {
  font-weight: 700; font-size: max(11px, calc(var(--kv-s) * .0158));
  line-height: 1.5; letter-spacing: .14em;
}
.kv__name-main {
  font-weight: 900; font-size: calc(var(--kv-s) * .0375);
  line-height: 1.25; letter-spacing: .08em;
}

/* ---------- セクション共通 ---------- */
.sec { padding: 112px var(--col-pad) 0; }
main > .sec:first-of-type, .hero + .sec { padding-top: 56px; }

.sec-head { text-align: center; margin-bottom: 44px; }
/* palt で「・」が詰まらないように */
.nb { font-feature-settings: normal; }
.sec-head__title, .page-head__title, .block__title {
  font-family: var(--serif); font-weight: 600;
  line-height: 1.5; letter-spacing: .08em; font-feature-settings: "palt" 1;
  color: var(--text);
  text-align: center;
  word-break: auto-phrase; text-wrap: balance;
}
/* letter-spacing 分を左に足して視覚中央を揃える */
.sec-head__title, .page-head__title, .block__title { padding-left: .08em; }
.sec-head__title { font-size: var(--fs-4xl); }
/* 見出し下の筆の帯 */
.sec-head__title::after, .page-head__title::after {
  content: ""; display: block;
  width: 88px; height: 12px; margin: 14px auto 0;
  background: url("../assets/img/pattern3-kv-d-underline.webp") left center / contain no-repeat;
}
/* 狭い PC 幅では段見出しを一段下げる */
@media (min-width: 1024px) and (max-width: 1279.98px) { .sec-head__title { font-size: var(--fs-3xl); } }

.sec-more { margin-top: 20px; text-align: right; }

/* 主導線リンク */
.link-arrow {
  display: inline-flex; align-items: center; gap: 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--green);
  font-size: var(--fs-base); font-weight: 500; line-height: 1.4; letter-spacing: .04em;
  color: var(--green);
  white-space: nowrap;
  position: relative;
}
/* 小さめの導線リンク */
.more-link, .text-link {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-sm); font-weight: 500; line-height: 1.4; letter-spacing: .04em;
  color: var(--green);
  white-space: nowrap;
}
.more-link:hover, .text-link:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
/* タップ領域の拡張（見た目は変えない） */
.link-arrow::before { content: ""; position: absolute; inset: -9px -6px -9px; }
.more-link::before, .text-link::before { content: ""; position: absolute; inset: -13px -6px; }
.link-arrow::after, .more-link::after, .text-link::after, .entry__arrow, .btn::after {
  content: ""; flex: none; display: inline-block;
  width: 14px; height: 10px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10' fill='none' stroke='black' stroke-width='1.3'%3E%3Cpath d='M0 5h13M9 1l4 4-4 4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10' fill='none' stroke='black' stroke-width='1.3'%3E%3Cpath d='M0 5h13M9 1l4 4-4 4'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .25s var(--ease);
}
.more-link::after, .text-link::after { width: 12px; height: 9px; }
.link-arrow:hover::after, .more-link:hover::after, .text-link:hover::after, a.entry__link:hover .entry__arrow, .btn:hover::after { transform: translateX(4px); }

/* ---------- ごあいさつ ---------- */
.greeting__body p {
  font-size: var(--fs-base); font-weight: 400; line-height: 2; letter-spacing: .02em;
  text-wrap: pretty;
}
.greeting__body p + p { margin-top: 1.5em; }
/* 広い PC のみ本文を一段上げる */
@media (min-width: 1280px) { .greeting__body p { font-size: var(--fs-md); } }
.greeting__body .greeting__em { color: var(--green-ink); font-weight: 500; }

.greeting__promise { margin: 0 0 36px; }
.greeting__promise-label {
  margin-bottom: 6px;
  font-family: var(--serif); font-weight: 600; font-size: var(--fs-base);
  line-height: 1.5; letter-spacing: .06em; font-feature-settings: "palt" 1;
  color: var(--green-ink);
}
.greeting__promise-list li {
  font-size: var(--fs-md); font-weight: 500; line-height: 2; letter-spacing: .02em;
}
.greeting__sign {
  display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: baseline; gap: 4px 14px;
  margin-top: 28px;
  font-size: var(--fs-sm); line-height: 1.4; letter-spacing: .04em; color: var(--muted);
}
.greeting__sign-name {
  font-family: var(--serif); font-weight: 600; font-size: var(--fs-xl);
  line-height: 1.5; letter-spacing: .06em; font-feature-settings: "palt" 1;
  color: var(--text);
}
.greeting__profile {
  display: grid; grid-template-columns: 112px 1fr; gap: 20px; align-items: center;
  margin: 44px 0 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.greeting__photo { width: 112px; height: auto; border-radius: 2px; }
.greeting__facts li { font-size: var(--fs-sm); line-height: 1.4; letter-spacing: 0; color: var(--text); word-break: auto-phrase; text-wrap: balance; }
.greeting__facts li + li { margin-top: 4px; }

@media (max-width: 400px) {
  .greeting__profile { grid-template-columns: 88px 1fr; }
  .greeting__photo { width: 88px; }
}

/* ---------- いま取り組んでいること ---------- */
.focus-item {
  display: grid; grid-template-columns: 148px minmax(0, 1fr); column-gap: 24px; align-items: start;
  padding: 32px 0; border-top: 1px solid var(--line);
}
.focus-item:last-child { border-bottom: 1px solid var(--line); }
.focus-item__img { grid-row: 1 / span 2; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 3px; background: var(--green-pale); }
.focus-item__img img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.focus-item__title {
  font-size: var(--fs-lg); font-weight: 500; line-height: 1.6; letter-spacing: .02em;
  color: var(--text);
  word-break: auto-phrase; text-wrap: balance;
  margin: -4px 0 8px;
}
.focus-item__text { font-size: var(--fs-base); line-height: 1.9; color: var(--text); word-break: auto-phrase; text-wrap: pretty; }

/* ---------- メディアカード（実績など） ---------- */
.media-cards { display: grid; gap: 56px; }
/* DOM は見出し先行、見た目は写真を上（order） */
.media-card { min-width: 0; display: flex; flex-direction: column; }
.media-card__img { order: -1; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 4px; background: var(--green-pale); margin-bottom: 20px; }
.media-card__img img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--focal, 50% 50%); }
.media-card__title {
  font-family: var(--serif); font-weight: 600; font-size: var(--fs-xl);
  line-height: 1.5; letter-spacing: .04em; font-feature-settings: "palt" 1;
  color: var(--text);
  word-break: auto-phrase; text-wrap: balance;
}
.media-card__text { margin-top: 10px; font-size: var(--fs-base); line-height: 1.9; letter-spacing: .02em; color: var(--text); word-break: auto-phrase; text-wrap: pretty; }
.media-card__src { margin-top: 8px; font-size: var(--fs-sm); line-height: 1.6; letter-spacing: .04em; color: var(--muted); }
@media (min-width: 768px) and (max-width: 1023.98px) {
  .media-cards { gap: 48px; }
  .media-card { display: grid; grid-template-columns: 240px minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 28px; align-items: start; }
  .media-card__img { grid-column: 1; grid-row: 1 / span 3; margin-bottom: 0; }
  .media-card > :not(.media-card__img) { grid-column: 2; }
  .media-card__title { margin-top: -4px; }
}

/* ---------- 一覧行 ----------
   列は [本文][写真][矢印]。写真の有無で本文開始位置がずれない */
.entries { border-top: 1px solid var(--line); }
.entry { border-bottom: 1px solid var(--line); }
.entry__link {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; column-gap: 20px; align-items: center;
  padding: 26px 0;
}
.entry__body { grid-column: 1; align-self: start; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.entry__date {
  font-size: var(--fs-sm); font-weight: 400; line-height: 1.4; letter-spacing: .04em;
  color: var(--muted); font-variant-numeric: tabular-nums;
}
.entry__title {
  font-size: var(--fs-base); font-weight: 500; line-height: 1.6; letter-spacing: 0;
  color: var(--text);
  word-break: auto-phrase; text-wrap: balance;
  transition: color .2s;
}
.entry__text { font-size: var(--fs-base); font-weight: 400; line-height: 1.9; letter-spacing: 0; color: var(--text); word-break: auto-phrase; text-wrap: pretty; }

.entry__meta {
  display: flex; flex-wrap: wrap; gap: 0 14px;
  font-size: var(--fs-sm); font-weight: 400; line-height: 1.4; letter-spacing: .04em;
  color: var(--muted);
}
.entry__thumb {
  grid-column: 2; align-self: start;
  display: block; width: 120px; height: 80px;
  overflow: hidden; border-radius: 2px;
  background: var(--green-pale);
}
.entry__thumb img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--focal, 50% 50%); }
/* 矢印はマスク描画（HTML の → は隠す） */
.entry__arrow { grid-column: 3; font-size: 0; line-height: 0; color: var(--muted); }
a.entry__link:hover .entry__title { color: var(--green); }
a.entry__link:hover .entry__arrow { color: var(--green); }
/* リンクなし行（お知らせ） */
.entries--static .entry__link { display: block; }

.entry__venues li { font-size: var(--fs-base); font-weight: 400; line-height: 1.6; letter-spacing: 0; word-break: auto-phrase; }
.entry__venues li + li { margin-top: 2px; }

.nw { white-space: nowrap; }
/* 改行しない語 */
.nobr { white-space: nowrap; }

/* ---------- 絞り込みリンク ---------- */
.filter { margin-top: 32px; }
.filter__label, .filter > p { margin-bottom: 4px; font-size: var(--fs-sm); font-weight: 400; line-height: 1.4; letter-spacing: .04em; color: var(--muted); }
.filter ul { display: flex; flex-wrap: wrap; gap: 0 20px; }

.filter a {
  display: inline-block; padding: 11px 8px; margin: 0 -8px;
  font-size: var(--fs-base); font-weight: 400; line-height: 1.4; letter-spacing: .04em;
  color: var(--green);
}
.filter a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ---------- CTA ---------- */
.cta {
  margin-top: 120px;
  padding: 88px var(--col-pad) 96px;
  background: #DCE8CF;
  display: grid; gap: 0;
}
.cta__item {
  padding: 40px 0;
  text-align: center;
}
.cta__item + .cta__item { border-top: 1px solid rgba(31, 97, 69, .25); }
.cta__item:first-child { padding-top: 0; }
.cta__item:last-child { padding-bottom: 0; }
.cta__title {
  font-family: var(--serif); font-weight: 600; font-size: var(--fs-2xl);
  line-height: 1.5; letter-spacing: .06em; font-feature-settings: "palt" 1;
  color: var(--green-ink);
  word-break: auto-phrase; text-wrap: balance;
  margin-bottom: 8px;
}
.cta__text { font-size: var(--fs-base); line-height: 1.9; color: var(--text); margin-bottom: 22px; word-break: auto-phrase; text-wrap: balance; }
.cta .btn, .cta .link-arrow {
  width: 100%; max-width: 340px; min-height: 60px; padding: 0 24px;
  justify-content: center; gap: 14px;
  border-radius: 999px;
  font-size: var(--fs-md); font-weight: 500; line-height: 1.4; letter-spacing: .06em;
}
.cta .link-arrow {
  background: var(--white); color: var(--green);
  border: 1.5px solid var(--green);
  transition: background-color .2s;
}
.cta .link-arrow:hover { background: var(--green-pale); }
.cta .link-arrow::before { content: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-width: 200px; min-height: 52px; padding: 0 24px;
  background: var(--green); color: var(--white);
  border: 1px solid var(--green); border-radius: 999px;
  font-size: var(--fs-base); font-weight: 500; line-height: 1.4; letter-spacing: .04em;
  transition: background-color .2s, color .2s;
}
.btn:hover { background: var(--green-deep); }

/* ---------- フッター ---------- */
.site-footer {
  padding: 48px var(--col-pad) 32px;
  background: var(--green-deep);
  color: var(--white);
}
.footer__name {
  font-family: var(--serif); font-weight: 600; font-size: var(--fs-lg);
  line-height: 1.5; letter-spacing: .06em; font-feature-settings: "palt" 1;
  margin-bottom: 8px;
}
.footer__addr, .footer__mail { font-size: var(--fs-base); line-height: 1.8; }
.footer__addr { text-wrap: pretty; }
.footer__tel { display: flex; flex-wrap: wrap; gap: 0 20px; font-size: var(--fs-base); line-height: 1.8; font-variant-numeric: tabular-nums; }
.footer__tel-item { display: inline-flex; align-items: baseline; gap: 8px; }
.footer__tel-label { font-size: var(--fs-sm); font-weight: 500; line-height: 1.4; letter-spacing: .04em; opacity: .85; }
.footer__tel a, .footer__mail a, .footer__sns a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

.footer__sns { display: flex; flex-wrap: wrap; gap: 0 20px; font-size: var(--fs-base); line-height: 1.8; }

.footer__tel a, .footer__mail a, .footer__sns a { position: relative; display: inline-flex; align-items: center; min-height: 44px; margin: -8px 0; vertical-align: middle; }
.footer__nav { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .2); }
.footer__site { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
.footer__site a, .footer__ext a {
  display: inline-block; padding: 4px 0;
  font-size: var(--fs-sm); font-weight: 400; line-height: 1.4; letter-spacing: .04em;
}
.footer__site a:hover, .footer__ext a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__site a[aria-current="page"] { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.footer__ext { display: flex; flex-wrap: wrap; gap: 0 20px; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .2); }
.footer__bottom { margin-top: 28px; }
.footer__copy small { font-size: var(--fs-xs); line-height: 1.4; letter-spacing: .04em; opacity: .85; }

/* アイコン */
.ico {
  display: inline-block; flex: none; width: 18px; height: 18px;
  background: currentColor;
  -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat;
}
.ico--tel { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M5 3h4l2 5-2.5 1.6a11 11 0 0 0 5.9 5.9L16 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 5a2 2 0 0 1 2-2z'/%3E%3C/svg%3E"); }
.ico--mail { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='1'/%3E%3Cpath d='m3.5 6.5 8.5 6.5 8.5-6.5'/%3E%3C/svg%3E"); }
.ico--line { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M12 4C6.8 4 3 7.2 3 11c0 3.2 2.7 5.9 6.6 6.7L9.4 21l4.1-3.1C17.9 17.4 21 14.5 21 11c0-3.8-3.8-7-9-7z'/%3E%3C/svg%3E"); }
.ico--insta { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Crect x='3.5' y='3.5' width='17' height='17' rx='4.5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.2' cy='6.8' r='.9' fill='black' stroke='none'/%3E%3C/svg%3E"); }

/* ---------- ドロワー ---------- */
.drawer {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(var(--scrim), 0);
  transition: background-color .3s;
}
.drawer.is-open { background: rgba(var(--scrim), .45); }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(420px, 100%);
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--white);
  padding: 20px 28px 40px;
  transform: translateX(100%);
  transition: transform .35s var(--ease);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.drawer__brand { display: flex; flex-direction: column; gap: 2px; }
.drawer__close { position: relative; width: 52px; height: 52px; border-radius: 50%; background: var(--green); color: var(--white); flex: none; }
.drawer__close span::before, .drawer__close span::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; margin: -1px 0 0 -9px; border-radius: 1px;
  background: currentColor; transform: rotate(45deg);
}
.drawer__close span::after { transform: rotate(-45deg); }
.drawer__list { border-top: 1px solid var(--line); }
.drawer__list a {
  display: block;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-base); font-weight: 500; line-height: 1.4; letter-spacing: .04em;
  transition: color .2s;
}
.drawer__list a:hover { color: var(--green); }
.drawer__list a[aria-current="page"] { color: var(--green); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.drawer__filter { margin-top: 24px; }
.drawer__tel { display: flex; align-items: baseline; gap: 10px; margin-top: 24px; font-size: var(--fs-base); line-height: 1.8; color: var(--green-ink); }
.drawer__tel .footer__tel-label { opacity: 1; }

/* ---------- SP 下部固定バー ---------- */
.sp-bar { display: none; }

/* 縦長画面: 本文列を右寄せして KV 領域を広げる */
@media (min-width: 1024px) and (max-aspect-ratio: 3 / 2) {
  :root { --col-gap: 32px; }
}
/* 縦長タブレット相当: 人物上寄せ・切れ目より下は白・氏名左端は縦書き見出しに揃える */
@media (min-width: 1024px) and (max-width: 1400px) and (max-aspect-ratio: 1 / 1) {
  .kv-stage {
    --kv-s: min(calc(var(--kv-ph) * .78), calc(var(--kv-pw) * 1.22));
    --kv-ht: calc(var(--kv-ph) * .04);
    --kv-top: max(0px, calc(var(--kv-ht) - var(--kv-s) * .0119));
    background-color: var(--white);
    background-image: none;
  }
  .kv-stage::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0;
    height: calc(var(--kv-top) + var(--kv-s));
    z-index: 0;
    pointer-events: none;
    background: #D5E3C4 url("../assets/img/pattern3-kv-g-bg-pc.webp") 30% 40% / cover no-repeat;
  }
  .kv,
  .kv__copy { z-index: 1; }
  .kv__name {
    left: var(--kv-ml);
    top: calc(var(--kv-top) + var(--kv-s) * .68);
  }
}
/* ---------- SP / タブレット（〜1023px） ---------- */
@media (max-width: 1023.98px) {
  :root { --col-pad: 24px; }
  body { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }
  .backdrop { display: none; }
  .col { width: auto; margin: 0; box-shadow: none; }

  .site-header__bar { padding: 6px 16px 6px 20px; min-height: var(--header-h); }

  .brand__name { font-size: var(--fs-lg); line-height: 1.5; }
  .brand__role { font-size: var(--fs-sm); color: #4A514C; }
  .menu-btn { width: 46px; height: 46px; }

  .hero {
    position: relative; inset: auto; z-index: 0;
    --hw: 100cqw;
    height: clamp(56.25vw, calc(100svh - var(--header-h) - var(--bar-h) - env(safe-area-inset-bottom)), 94vw);
  }
  .hero__note { right: 12px; top: 10px; }

  .sec { padding-top: 88px; }
  .hero + .sec { padding-top: 48px; }
  .sec-head { margin-bottom: 36px; }
  .sec-head__title { font-size: var(--fs-2xl); }
  .sec-head__title::after, .page-head__title::after { width: 76px; height: 10px; margin-top: 12px; }
  .entry__link { column-gap: 16px; padding: 22px 0; }
  .entry__thumb { width: 96px; height: 64px; }
  .focus-item { grid-template-columns: 112px minmax(0, 1fr); column-gap: 16px; padding: 28px 0; }
  .focus-item__title { font-size: var(--fs-md); margin-top: -3px; }
  .media-cards { gap: 48px; }
  .btn,
  .wpcf7-form input.btn[type="submit"],
  .wpcf7-form .wpcf7-submit {
    width: 100%;
    min-width: 0;
    max-width: none;
    box-sizing: border-box;
  }
  .form__actions {
    display: block;
  }
  .wpcf7-form .form__actions .wpcf7-spinner {
    left: auto;
    right: 8px;
    transform: translateY(-50%);
  }
  .cta { margin-top: 96px; padding: 64px var(--col-pad) 72px; gap: 0; }
  .cta__item { padding: 32px 0; }
  .cta__item:first-child { padding-top: 0; }
  .cta__item:last-child { padding-bottom: 0; }
  .cta__title { font-size: var(--fs-xl); }

  .site-footer { padding-bottom: 32px; }

  .sp-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    height: calc(var(--bar-h) + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 16px rgba(14, 58, 39, .08);
  }
  .sp-bar__btn {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    font-size: var(--fs-sm); font-weight: 500; line-height: 1.4; letter-spacing: .04em;
    color: var(--green-ink);
  }
  .sp-bar__btn + .sp-bar__btn { border-left: 1px solid var(--line); }
  .sp-bar__btn--tel { background: var(--green); color: var(--white); gap: 0; }

  .sp-bar__label { display: inline-flex; align-items: center; gap: 4px; }
  .sp-bar__num { font-size: var(--fs-sm); font-weight: 500; line-height: 1.4; letter-spacing: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }

  .footer__site { gap: 0 16px; }
  .footer__site a { display: flex; align-items: center; min-height: 44px; padding: 0; }
  .footer__ext a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; padding: 0; }
  .drawer__tel a { position: relative; padding: 8px 0; margin: -8px 0; }
}

/* タブレット: 本文幅 */
@media (min-width: 768px) and (max-width: 1023.98px) {
  main > .sec, .cta, .site-footer { padding-left: max(40px, calc((100% - 600px) / 2)); padding-right: max(40px, calc((100% - 600px) / 2)); }
}

/* スマホ縦トップ: SP 用背景・顔を大きめ */
@media (max-width: 767.98px) and (orientation: portrait) {
  .hero {
    height: min(calc(100svh - var(--header-h) - var(--bar-h) - env(safe-area-inset-bottom)), 156vw);
    min-height: min(520px, 156vw); max-height: min(960px, 179vw);
  }
  .hero + .sec { padding-top: 16px; }
  .hero .kv-stage {
    --kv-s: min(calc(var(--kv-ph) * .9), 136vw);
    --kv-fx: calc(var(--kv-pw) * .6);
    --kv-ml: 16px; --kv-mt: 26px; --kv-gap: 10px;
    --kv-sf: clamp(20px, calc((var(--kv-hl) - var(--kv-ml) - var(--kv-gap)) / 3.8), 40px);
    background-image: url("../assets/img/pattern3-kv-g-bg-sp.webp");
    background-position: 50% 0;
  }
}

/* スマホ横・低高さ: 面を画面内に収め、氏名はヘッダー側に任せる */
@media (max-width: 1023.98px) and (orientation: landscape) and (max-height: 540px) {
  .hero { height: max(220px, calc(100svh - var(--header-h) - var(--bar-h) - env(safe-area-inset-bottom))); }
  .hero .kv-stage {
    --kv-s: calc(var(--kv-ph) * 1.5);
    --kv-ht: calc(var(--kv-ph) * .05);
    --kv-mt: calc(var(--kv-ph) * .1);
    --kv-sf: clamp(16px, min(calc((var(--kv-hl) - var(--kv-ml) - var(--kv-gap)) / 3.8), calc(var(--kv-ph) * .1)), 40px);
  }
  .hero .kv__name { display: none; }
}

/* ---------- 下層（.is-sub） ----------
   PC: 固定 page-visual ＋本文列 / SP: KV なし */

/* [hidden] を他の display 指定で打ち消さない */
[hidden] { display: none !important; }

.entry__title, .prose li, .prose p, .facts dd, .page-head__title, .breadcrumb li { overflow-wrap: anywhere; }

.facts dd, .notice, .form__note, .prose li { word-break: auto-phrase; text-wrap: pretty; }

/* ---------- 下層 KV（.page-visual） ---------- */
.page-visual {
  position: relative; overflow: clip;
  container-type: size;
  --hw: 100cqw;
}

@media (min-width: 1024px) {
  .page-visual {
    position: fixed; inset: 0; z-index: 1;
    --hw: var(--hero-w, calc(100vw - var(--col-w) - var(--col-gap)));
  }

  .is-sub main > *:not(.page-visual) { position: relative; z-index: 2; }
}
@media (max-width: 1023.98px) {
  .page-visual { display: none; }
}

/* ---------- ページ骨格 ---------- */
.is-sub main > *:not(.page-visual) { padding-left: var(--col-pad); padding-right: var(--col-pad); }
.is-sub main { padding-bottom: 72px; }
.is-sub main:has(~ .cta) { padding-bottom: 0; }

/* パンくず */
.breadcrumb { padding-top: 12px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: baseline; }
.breadcrumb li {
  word-break: keep-all; overflow-wrap: anywhere;
  font-size: var(--fs-sm); font-weight: 400; line-height: 1.6; letter-spacing: .04em;
  color: var(--muted);
}
.breadcrumb li + li::before {
  content: ""; display: inline-block;
  width: 5px; height: 5px; margin: 0 12px 0 9px; vertical-align: .18em;
  border-top: 1px solid #9AA39C; border-right: 1px solid #9AA39C;
  transform: rotate(45deg);
}
.breadcrumb a { display: inline-block; padding: 12px 6px; margin: 0 -6px; color: var(--green); }
/* 現在ページ名は省略表示（全文は h1） */
.breadcrumb li[aria-current] { flex: 1 1 0; min-width: 6em; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; overflow-wrap: normal; }
.breadcrumb li[aria-current] wbr { display: none; }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* ページ名（h1） */
.page-head { margin-top: 28px; }
.page-head__title { font-size: var(--fs-4xl); }
.page-head__title::after { width: 104px; height: 14px; margin-top: 16px; }
/* 詳細の題名は左揃え・一段小さく */
article > .page-head .page-head__title { font-size: var(--fs-3xl); text-align: left; }
article > .page-head .page-head__title::after { margin-left: 0; }
.page-head__lead {
  margin-top: 28px;
  font-size: var(--fs-base); font-weight: 400; line-height: 1.9; letter-spacing: 0;
  color: var(--text);
  word-break: auto-phrase; text-wrap: pretty;
}
.page-head__lead + .page-head__lead { margin-top: 0; }

.page-head__lead:has(time) {
  font-size: var(--fs-sm); line-height: 1.6; letter-spacing: .04em;
  color: var(--muted); font-variant-numeric: tabular-nums;
}

.page-head__lead:first-child { margin: 0 0 6px; }

/* 段間余白 */
.is-sub main > .block, .is-sub article > .block { margin-top: 80px; }
.is-sub .page-head + .block, .is-sub .filter + .block,
.is-sub article > .page-head + .block, .is-sub article > .filter + .block { margin-top: 64px; }
.is-sub main > .filter, .is-sub article > .filter { margin-top: 28px; }
.is-sub article > .page-head { margin-top: 12px; }
.is-sub article > .figure { margin-top: 32px; }

.is-sub article > .figure + .block { margin-top: 40px; }
.is-sub article > .newsletter-pdf {
  margin-top: 40px;
  text-align: center;
}
.is-sub article > .block + .newsletter-pdf { margin-top: 40px; }
.is-sub article > .figure + .newsletter-pdf { margin-top: 32px; }
.is-sub article > .prose { margin-top: 24px; }

/* 段見出し（h2） */
.block__title {
  margin-bottom: 40px;
  padding: 12px 20px;
  padding-left: calc(20px + .08em);
  font-size: var(--fs-xl);
  color: var(--white);
  background: var(--green);
  border-radius: 2px;
}

article > .block > .block__title {
  font-size: var(--fs-lg);
  margin-bottom: 16px;
  padding: 10px 16px;
  padding-left: calc(16px + .08em);
  text-align: left;
}
/* 政策: 分野見出し＋約束文 */
.page-policy .block__title:has(+ .block__sub) { margin-bottom: 20px; }
.page-policy .block__title + .block__sub { text-align: center; }
.block__sub {
  margin: 40px 0 12px;
  font-family: var(--sans); font-size: var(--fs-md); font-weight: 500; line-height: 1.6; letter-spacing: 0;
  color: var(--text);
  word-break: keep-all; overflow-wrap: anywhere; text-wrap: pretty; /* <wbr> 位置で折り返す */
}
.block__title + .block__sub { margin-top: 8px; }
.page-policy .block__title + .block__sub { margin-top: 0; }

.page-policy .block__title + .block__sub + .figure { margin-top: 20px; }
/* 実績の分野見出し */
.page-achievements .block__sub {
  margin: 64px 0 0; padding-bottom: 12px;
  font-family: var(--serif); font-weight: 600; font-size: var(--fs-lg); letter-spacing: .06em;
  color: var(--green-ink); border-bottom: 2px solid var(--green);
}
.page-achievements .block__sub + .entries { border-top: 0; }

.page-achievements .block__title + .filter { margin-top: 0; }
.page-achievements .filter + .block__sub { margin-top: 48px; }

/* 本文 */
.prose { font-size: var(--fs-base); font-weight: 400; line-height: 2; letter-spacing: .02em; color: var(--text); }
.prose p { text-wrap: pretty; }
.prose p + p, .prose p + ul, .prose ul + p, .prose p + ol { margin-top: 1.5em; }

.prose ul li + li { margin-top: 2px; }
.prose ol, .facts ol { list-style: decimal; padding-left: 1.6em; }
.prose ol li::marker, .facts ol li::marker { color: var(--muted); font-variant-numeric: tabular-nums; }
.prose a, .notice a, .facts dd a {
  color: var(--green);
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
}
.prose a:hover, .notice a:hover, .facts dd a:hover { color: var(--green-deep); }
.figure + .prose, .prose + .figure, .block__sub + .prose { margin-top: 0; }
.figure { margin: 20px 0 20px; }
.block__title + .figure { margin-top: 0; }
/* 本文写真は幅いっぱい */
.figure img,
.is-sub .prose img {
  width: 100%;
  max-width: 100%;
  max-height: none;
  height: auto;
  border-radius: 2px;
}
.figure__cap { margin-top: 8px; font-size: var(--fs-sm); line-height: 1.6; letter-spacing: .04em; color: var(--muted); }

/* 注記 */
.notice { font-size: var(--fs-sm); font-weight: 400; line-height: 1.8; letter-spacing: .04em; color: var(--muted); }
.is-sub main > .notice { margin-top: 24px; }
.is-sub .block > .notice { margin-top: 16px; }
.is-sub .entries + .notice { margin-top: 16px; }
/* 0件表示 */
.notice[data-filter-empty] {
  padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-size: var(--fs-base); line-height: 1.8; letter-spacing: 0; color: var(--text);
}

.is-sub .block > p:has(> .text-link) { margin-top: 16px; }
.is-sub .block > p:has(> .btn) { margin-top: 32px; }
.is-sub .block > .prose + p:has(> .text-link) { margin-top: 8px; }

/* 定義リスト（略歴・事務所など） */
.facts {
  display: grid; grid-template-columns: max-content minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}
.facts dt, .facts dd { margin: 0; padding: 12px 0; border-top: 1px solid var(--line); }
.facts dt {
  padding-right: 24px;
  font-size: var(--fs-sm); font-weight: 400; line-height: calc(var(--fs-base) * 1.8); letter-spacing: .04em;
  color: var(--muted); font-variant-numeric: tabular-nums;
}
.facts dd { font-size: var(--fs-base); line-height: 1.8; letter-spacing: 0; color: var(--text); font-variant-numeric: tabular-nums; }
.facts dd ol { margin-top: 4px; }

.facts dd a { display: inline-block; padding: 10px 0; margin: -10px 0; }
.block__sub + .facts { margin-top: 0; }

/* 折りたたみ */
.is-sub details { margin-top: 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.is-sub summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 52px; cursor: pointer; list-style: none;
  font-size: var(--fs-base); font-weight: 500; line-height: 1.5; letter-spacing: .04em;
  color: var(--green);
}
.is-sub summary::-webkit-details-marker { display: none; }
.is-sub summary::after {
  content: ""; flex: none; width: 14px; height: 10px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10' fill='none' stroke='black' stroke-width='1.3'%3E%3Cpath d='M1 2.5l6 5 6-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10' fill='none' stroke='black' stroke-width='1.3'%3E%3Cpath d='M1 2.5l6 5 6-5'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .25s var(--ease);
}
.is-sub details[open] > summary::after { transform: rotate(180deg); }
.is-sub summary:hover { color: var(--green-deep); }
.is-sub details .facts { border-bottom: 0; margin-bottom: 8px; }

.is-sub .entries + p { margin-top: 16px; }

.filter a[aria-current="page"] {
  color: var(--text); font-weight: 500;
  text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px;
}

/* 前後ナビ */
.is-sub .pager {
  position: relative;
  display: flex; flex-wrap: wrap; gap: 0 32px;
  margin-top: 72px; padding-top: 8px;
}

.is-sub .pager::before { content: ""; position: absolute; top: 0; left: var(--col-pad); right: var(--col-pad); height: 1px; background: var(--line); }
.pager a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: var(--fs-base); font-weight: 500; line-height: 1.4; letter-spacing: .04em;
  color: var(--green);
}
.pager a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ---------- ページ送り ---------- */
.pager.pager--list {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 4px;
}
.is-sub .pager.pager--list { margin-top: 48px; }
.is-sub .pager.pager--list::before { content: none; }
.pager.pager--list .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding: 0 8px;
  font-size: var(--fs-base); font-weight: 400; line-height: 1.4; letter-spacing: .04em;
  font-variant-numeric: tabular-nums; color: var(--green);
}
.pager.pager--list a.page-numbers:hover {
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px;
}
.pager.pager--list .page-numbers.prev { margin-right: 8px; }
.pager.pager--list .page-numbers.next { margin-left: 8px; }
.pager.pager--list .page-numbers.current {
  color: var(--text); font-weight: 500;
  text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px;
}
.pager.pager--list .page-numbers.dots {
  min-width: 24px; color: var(--muted);
}
@media (max-width: 767.98px) {
  .pager.pager--list { gap: 0; }
  .pager.pager--list .page-numbers { min-width: 36px; padding: 0 4px; }
  .pager.pager--list .page-numbers.prev { margin-right: 0; }
  .pager.pager--list .page-numbers.next { margin-left: 0; }
}
@media (max-width: 1023.98px) {
  .is-sub .pager.pager--list { margin-top: 40px; }
}

@media (min-width: 1024px) and (max-width: 1279.98px) { .focus-item { grid-template-columns: 112px minmax(0, 1fr); column-gap: 16px; } }
@media (max-width: 400px) { .focus-item { grid-template-columns: 96px minmax(0, 1fr); } }

/* ---------- フォーム（CF7） ---------- */
.form__row { margin: 0 0 28px; }
fieldset.form__row { min-width: 0; padding: 0; border: 0; }
.form__label {
  display: block; margin-bottom: 8px;
  font-size: var(--fs-base); font-weight: 500; line-height: 1.5; letter-spacing: .04em;
  color: var(--text);
}
legend.form__label { float: left; width: 100%; padding: 0; }
fieldset.form__row > :not(legend) { clear: both; }

.form__req { margin-left: 8px; font-size: var(--fs-xs); font-weight: 500; letter-spacing: .04em; color: #A13D2D; vertical-align: .08em; }
.form__note { margin: -2px 0 8px; font-size: var(--fs-sm); line-height: 1.6; letter-spacing: .04em; color: var(--muted); }
.form__input, .form select, .form textarea,
.wpcf7-form .wpcf7-text, .wpcf7-form .wpcf7-textarea, .wpcf7-form .wpcf7-select {
  display: block; width: 100%; min-height: 50px;
  padding: 11px 14px;
  border: 1px solid #8E9891; border-radius: 4px;
  background: var(--white); color: var(--text);
  font: inherit; font-size: 16px; line-height: 1.6; letter-spacing: 0;
  transition: border-color .2s, box-shadow .2s;
}
textarea.form__input, .wpcf7-form .wpcf7-textarea { min-height: 168px; resize: vertical; }
.form__input::placeholder, .wpcf7-form .wpcf7-text::placeholder, .wpcf7-form .wpcf7-textarea::placeholder {
  color: #848C86; opacity: 1; font-size: var(--fs-sm);
}
.form__input:hover, .wpcf7-form .wpcf7-text:hover, .wpcf7-form .wpcf7-textarea:hover { border-color: var(--muted); }
.form__input:focus, .wpcf7-form .wpcf7-text:focus, .wpcf7-form .wpcf7-textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(31, 97, 69, .2);
}
.form__input[aria-invalid="true"], .wpcf7-form .wpcf7-not-valid {
  border-color: #B3261E; background: #FFF8F6;
}
.form__input[aria-invalid="true"]:focus, .wpcf7-form .wpcf7-not-valid:focus {
  box-shadow: 0 0 0 3px rgba(179, 38, 30, .18);
}
.form__note.form__error, .wpcf7-not-valid-tip { margin: 8px 0 0; color: #A13D2D; font-size: var(--fs-sm); line-height: 1.6; }
button.btn:disabled { opacity: .55; cursor: default; }

.form__row > label:not(.form__label),
.wpcf7-form .wpcf7-list-item label {
  display: flex; align-items: center; gap: 12px;
  min-height: 44px; cursor: pointer;
  font-size: var(--fs-base); line-height: 1.5; letter-spacing: 0;
}
.form input[type="checkbox"], .form input[type="radio"],
.wpcf7-form input[type="checkbox"], .wpcf7-form input[type="radio"] {
  flex: none; width: 20px; height: 20px; margin: 0;
  accent-color: var(--green); cursor: pointer;
}
.wpcf7-form .wpcf7-form-control-wrap { display: block; }
.wpcf7-form .wpcf7-checkbox, .wpcf7-form .wpcf7-radio { display: block; }
.wpcf7-form .wpcf7-list-item { display: block; margin: 0; }
.wpcf7-form .wpcf7-list-item-label { margin: 0; }
.wpcf7-form .wpcf7-response-output {
  margin: 24px 0 0;
  padding: 0;
  border: none !important;
  background: transparent;
  font-size: var(--fs-sm); line-height: 1.6; color: var(--muted);
  text-align: center;
}
.wpcf7-form.sent .wpcf7-response-output { color: var(--green-ink); }
.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.failed .wpcf7-response-output,
.wpcf7-form.spam .wpcf7-response-output,
.wpcf7-form.aborted .wpcf7-response-output { color: #A13D2D; }
.form__actions {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 32px;
  margin-top: 40px;
  position: relative;
}
/* CF7 スピナーは幅を取らない（ボタン中央ずれ防止） */
.wpcf7-form .form__actions .wpcf7-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  transform: translate(calc(100px + 12px), -50%);
}
.form__actions > a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: var(--fs-base); font-weight: 500; line-height: 1.4; letter-spacing: .04em;
  color: var(--green);
}
.form__actions > a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.is-sub .facts + .form__actions { margin-top: 32px; }
button.btn, .wpcf7-form input.btn[type="submit"] { cursor: pointer; }

/* ---------- 下層 SP ---------- */
@media (max-width: 1023.98px) {
  .breadcrumb { padding-top: 8px; }
  .page-head__title { font-size: var(--fs-3xl); }
  .page-head { margin-top: 20px; }
  .page-head__lead { margin-top: 24px; }
  article > .page-head .page-head__title { font-size: var(--fs-xl); }
  .block__title { font-size: var(--fs-lg); margin-bottom: 32px; padding: 10px 16px; padding-left: calc(16px + .08em); }
  .page-achievements .block__sub { margin-top: 56px; }
  .page-achievements .filter + .block__sub { margin-top: 40px; }
  article > .block > .block__title { font-size: var(--fs-base); }
  .page-policy .block__title:has(+ .block__sub) { margin-bottom: 16px; }
  .is-sub main > .block, .is-sub article > .block, .is-sub .pager { margin-top: 80px; }
  .is-sub .page-head + .block, .is-sub .filter + .block,
  .is-sub article > .page-head + .block, .is-sub article > .filter + .block { margin-top: 48px; }
  .is-sub article > .figure + .block { margin-top: 32px; }
  .is-sub main { padding-bottom: 56px; }
  .is-sub main:has(~ .cta) { padding-bottom: 0; }
}
/* 下層タブレット: 本文幅 */
@media (min-width: 768px) and (max-width: 1023.98px) {
  .is-sub main > *:not(.page-visual) { padding-left: max(40px, calc((100% - 600px) / 2)); padding-right: max(40px, calc((100% - 600px) / 2)); }
  .is-sub .pager::before { left: max(40px, calc((100% - 600px) / 2)); right: max(40px, calc((100% - 600px) / 2)); }
}

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
}
