/* =========================================================================
 * サービス一覧・個別サービス 新デザイン（template/tobe/service-index.php・service-detail.php・service-price.php）2026-11-17
 *  確認用表示（?tobe=1）のときだけ、テンプレートの先頭で読む。色・字・動きは css/tobe.css の変数（--pg-*）
 *  余白・見出し・カードの作り方はメンバー個人ページ（css/tobe-member.css の .pgm-）に揃える。クラスは .pgs- に閉じる
 *  スマホ（390px）を先に組み、1024px 以上で PC。横スクロールを出さない。動きは押したとき・触れたときだけ（reduced-motion で止める）
 * ========================================================================= */
.pgs { --pgs-gut: 20px; --pgs-sec: 56px; --pgs-line: #dfe4ec; position: relative; display: block; background: #fff; color: var(--pg-ink); font-family: "Noto Sans JP", sans-serif; line-height: 1.75; letter-spacing: 0; font-feature-settings: "palt"; -webkit-font-smoothing: antialiased; overflow-x: clip; }
.pgs *, .pgs *::before, .pgs *::after { box-sizing: border-box; }
:where(.pgs h1, .pgs h2, .pgs h3, .pgs p, .pgs ul, .pgs ol, .pgs li, .pgs dl, .pgs dt, .pgs dd, .pgs figure) { margin: 0; padding: 0; }
.pgs ul, .pgs ol { list-style: none; }
.pgs img { display: block; max-width: 100%; height: auto; }
.pgs picture { display: block; }
.pgs a { color: inherit; text-decoration: none; }
.pgs h1::before, .pgs h1::after, .pgs h2::before, .pgs h2::after, .pgs h3::before, .pgs h3::after { content: none; }
.pgs a:focus-visible, .pgs summary:focus-visible { outline: 3px solid var(--pg-cyan); outline-offset: 3px; border-radius: 4px; }

.pgs-en { font-family: var(--pg-num); font-stretch: condensed; font-weight: 600; font-size: 14px; letter-spacing: .24em; color: #00879A; text-transform: uppercase; line-height: 1.4; }
.pgs-h2 { font-size: clamp(24px, 6.6vw, 30px); font-weight: 900; line-height: 1.4; letter-spacing: .02em; color: var(--pg-deep); margin-top: 6px !important; text-wrap: balance; }
.pgs-hd { padding: 0 var(--pgs-gut); margin-bottom: 22px; }
.pgs-hd__sub { font-size: 14px; color: var(--pg-muted); line-height: 1.7; margin-top: 10px !important; max-width: 40em; }
.pgs-note { padding: 0 var(--pgs-gut); font-size: 12px; color: var(--pg-muted); margin-top: 10px !important; }
.pgs-sec { padding: var(--pgs-sec) 0; scroll-margin-top: var(--pg-hd, 60px); }
.pgs-sec:nth-of-type(even) { background: var(--pg-paper); }

/* ボタン（角丸はボタンだけ・押すと少し沈む） */
.pgs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 10px 28px; border-radius: 999px; background: var(--pg-orange); color: #fff !important; font-weight: 700; font-size: 16px; line-height: 1.35; letter-spacing: .04em; text-align: center; box-shadow: 0 10px 24px rgba(250,119,72,.3); transition: transform .16s var(--pg-out), box-shadow .2s ease-out, background-color .2s ease-out; -webkit-tap-highlight-color: transparent; }
.pgs-btn::after { content: ""; flex: none; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.pgs-btn:active { transform: scale(.97); }
.pgs-btn--o { background: #fff; color: var(--pg-deep) !important; border: 1.5px solid var(--pg-deep); box-shadow: none; }
.pgs-btn--w { background: #fff; color: var(--pg-deep) !important; box-shadow: none; }
@media (hover: hover) {
  .pgs-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(250,119,72,.38); }
  .pgs-btn--o:hover, .pgs-btn--w:hover { box-shadow: 0 10px 22px rgba(11,31,68,.14); }
}
.pgs-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--pg-navy) !important; border-bottom: 1.5px solid; padding-bottom: 2px; }
.pgs-link::after { content: ""; width: 6px; height: 6px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }

/* パンくず */
.pgs-bc { padding: 12px var(--pgs-gut) 0; font-size: 11px; color: var(--pg-muted); line-height: 1.6; }
.pgs-bc a { color: var(--pg-muted); }

/* ① 冒頭 */
.pgs-hero { display: grid; background: #fff; }
.pgs-hero__ph { position: relative; margin: 12px var(--pgs-gut) 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--pg-r); background: var(--pg-paper); }
.pgs-hero__ph picture, .pgs-hero__ph img { width: 100%; height: 100%; }
.pgs-hero__ph img { object-fit: cover; }
.pgs-hero__tx { padding: 20px var(--pgs-gut) 8px; }
.pgs-hero--index .pgs-hero__tx { padding-top: 28px; }
.pgs-hero__for { display: inline-block; margin-top: 8px !important; padding: 4px 12px; border-radius: 999px; background: #E6F7F9; color: #006F7E; font-size: 12.5px; font-weight: 700; line-height: 1.5; }
.pgs-hero__h { font-size: clamp(30px, 8.6vw, 38px); font-weight: 900; line-height: 1.25; letter-spacing: .03em; color: var(--pg-deep); margin-top: 10px !important; text-wrap: balance; }
.pgs-hero__lead { font-size: 15px; line-height: 1.85; margin-top: 12px !important; max-width: 34em; }
.pgs-hero__btns { display: grid; gap: 10px; margin-top: 22px; }
.pgs-hero__btns .pgs-btn { width: 100%; }
.pgs-hero__note { font-size: 12px; color: var(--pg-muted); margin-top: 10px !important; }

/* 目次（スマホは折り返して並べる。横に流さない） */
.pgs-toc { padding: 16px var(--pgs-gut) 4px; }
.pgs-toc ul { display: flex; flex-wrap: wrap; gap: 8px; }
.pgs-toc a { display: inline-flex; align-items: center; min-height: 36px; padding: 4px 14px; border: 1px solid var(--pgs-line); border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--pg-navy); background: #fff; transition: border-color .2s ease-out, background-color .2s ease-out; }
.pgs-toc a:active { background: var(--pg-paper); }
@media (hover: hover) { .pgs-toc a:hover { border-color: var(--pg-navy); } }
.pgs-toc + .pgs-sec { padding-top: 40px; }

/* ② こんなお悩み */
.pgs-worry__list { display: grid; gap: 10px; padding: 0 var(--pgs-gut); }
.pgs-worry__list li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; padding: 16px 18px; background: #fff; border: 1px solid var(--pgs-line); border-radius: var(--pg-r); font-size: 15px; font-weight: 700; line-height: 1.6; color: var(--pg-deep); }
.pgs-chk { position: relative; display: block; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: var(--pg-cyan); }
.pgs-chk::after { content: ""; position: absolute; left: 8px; top: 5px; width: 6px; height: 11px; border-right: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(45deg); }

/* ③ 特徴（他社とピュアグロースの比較） */
.pgs-feat__list { display: grid; gap: 16px; padding: 0 var(--pgs-gut); }
.pgs-feat__i { padding: 22px 18px 18px; background: #fff; border: 1px solid var(--pgs-line); border-radius: var(--pg-r); }
.pgs-feat__no { font-family: var(--pg-num); font-stretch: condensed; font-weight: 700; font-size: 15px; letter-spacing: .14em; color: var(--pg-orange); }
.pgs-feat__t { font-size: 20px; font-weight: 900; line-height: 1.45; color: var(--pg-deep); margin-top: 4px !important; }
.pgs-feat__vs { display: grid; gap: 10px; margin-top: 16px; }
.pgs-feat__o, .pgs-feat__pg { padding: 14px 16px; border-radius: var(--pg-r); }
.pgs-feat__o { background: #F3F5F8; color: #4a5263; }
.pgs-feat__pg { background: var(--pg-deep); color: #fff; }
.pgs-feat__lb { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; }
.pgs-feat__o .pgs-feat__lb { color: var(--pg-muted); }
.pgs-feat__pg .pgs-feat__lb { color: var(--pg-cyan); }
.pgs-feat__p { font-size: 14.5px; line-height: 1.75; margin-top: 4px !important; }
.pgs-feat__pg .pgs-feat__p { font-weight: 700; }
.pgs-feat__p .marker, .pgs-feat__p em { font-style: normal; background: none; }

/* ④ 支援内容 */
.pgs-sup__list { display: grid; gap: 14px; padding: 0 var(--pgs-gut); }
.pgs-sup__i { padding: 0 0 18px; background: #fff; border-radius: var(--pg-r); overflow: hidden; border: 1px solid var(--pgs-line); }
.pgs-sup__i:not(.has-ph) { padding-top: 20px; border-top: 3px solid var(--pg-cyan); }
.pgs-sup__ph { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--pg-paper); margin-bottom: 16px; }
.pgs-sup__ph img { width: 100%; height: 100%; object-fit: cover; }
.pgs-sup__t { padding: 0 18px; font-size: 18px; font-weight: 900; line-height: 1.45; color: var(--pg-deep); }
.pgs-sup__p { padding: 0 18px; font-size: 14.5px; line-height: 1.8; margin-top: 8px !important; }

/* ⑤ 動画 */
.pgs-mov__f { position: relative; margin: 0 var(--pgs-gut); aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--pg-r); background: #000; }
.pgs-mov__f iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; }

/* 相談の帯（ACF の cta / cta2） */
.pgs-band { padding: 44px var(--pgs-gut); background: var(--pg-deep); color: #fff; }
.pgs-band__t { font-size: 20px; font-weight: 900; line-height: 1.5; text-align: center; }
.pgs-band__btns { display: grid; gap: 14px; margin-top: 20px; }
.pgs-band__b { text-align: center; }
.pgs-band__b .pgs-btn { width: 100%; }
.pgs-band__note { font-size: 12.5px; color: rgba(255,255,255,.75); margin-top: 6px !important; }

/* ⑥ 進め方 */
.pgs-flow__list { display: grid; gap: 0; padding: 0 var(--pgs-gut); counter-reset: none; }
.pgs-flow__list li { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px 0; }
.pgs-flow__list li:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 46px; bottom: -6px; width: 2px; background: #c9d3e1; }
.pgs-flow__n { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--pg-deep); color: #fff; font-family: var(--pg-num); font-weight: 700; font-size: 20px; line-height: 1; }
.pgs-flow__list li:first-child .pgs-flow__n { background: var(--pg-orange); }
.pgs-flow__t { font-size: 16px; font-weight: 700; line-height: 1.5; color: var(--pg-deep); }

/* ⑦ 料金の考え方（3列表＋仕組み図） */
.pgs-plans { display: grid; gap: 12px; padding: 0 var(--pgs-gut); }
.pgs-plan { position: relative; padding: 20px 18px 8px; background: #fff; border: 1px solid var(--pgs-line); border-radius: var(--pg-r); }
.pgs-plan.is-own { border: 2px solid var(--pg-orange); }
.pgs-plan__svc { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 12px; font-weight: 700; color: var(--pg-muted); }
.pgs-plan__here { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--pg-orange); color: #fff; font-size: 11px; }
.pgs-plan__name { font-size: 22px; font-weight: 900; color: var(--pg-deep); line-height: 1.35; margin-top: 4px !important; }
.pgs-plan__dl { margin-top: 12px !important; }
.pgs-plan__dl > div { padding: 12px 0; border-top: 1px solid var(--pgs-line); }
.pgs-plan__dl dt { font-size: 12px; font-weight: 700; color: #00879A; letter-spacing: .04em; }
.pgs-plan__dl dd { font-size: 14.5px; line-height: 1.7; margin-top: 2px !important; }

.pgs-calc { margin: 16px var(--pgs-gut) 0; padding: 22px 18px 20px; background: var(--pg-deep); color: #fff; border-radius: var(--pg-r); }
.pgs-calc__h { font-size: 15px; font-weight: 700; color: #fff; }
.pgs-calc__eq { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px 8px; align-items: center; margin-top: 14px !important; }
.pgs-calc__t { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 72px; padding: 8px 6px; border-radius: var(--pg-r); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); font-size: 17px; font-weight: 900; line-height: 1.3; text-align: center; }
.pgs-calc__t small { font-size: 11px; font-weight: 700; color: rgba(255,255,255,.75); margin-bottom: 2px; }
.pgs-calc__t--r { background: var(--pg-orange); border-color: var(--pg-orange); }
.pgs-calc__t--r small { color: rgba(255,255,255,.9); }
.pgs-calc__op { font-family: var(--pg-num); font-size: 26px; font-weight: 700; line-height: 1; color: var(--pg-cyan); text-align: center; }
/* スマホ: 「削減額 × 料率」「× 完工棟数 =」「成功報酬」を3段で */
.pgs-calc__eq > :nth-child(4) { grid-column: 1 / -1; }
.pgs-calc__eq > :nth-child(5) { grid-column: 1; }
.pgs-calc__eq > :nth-child(6) { grid-column: 2; }
.pgs-calc__eq > :nth-child(7) { grid-column: 3; }
.pgs-calc__notes { display: grid; gap: 4px; margin-top: 14px !important; font-size: 13.5px; color: rgba(255,255,255,.9); }
.pgs-calc__notes li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--pg-cyan); margin-right: 8px; vertical-align: middle; }
.pgs-calc .pgs-link { margin-top: 16px; color: #fff !important; }

/* ⑧ 担当コンサルタント（consultant-block.php の .pgc を欄の中に置く） */
.pgs-people { padding-left: var(--pgs-gut); padding-right: var(--pgs-gut); }
.pgs .pgc { margin: 0; background: #fff; border: 1px solid var(--pgs-line); }
.pgs-people:nth-of-type(odd) .pgc { background: var(--pg-paper); border: 0; }
.pgs .pgc__main { background: #fff; }

/* ⑨ 事例 */
.pgs-cases__list { display: grid; gap: 16px; padding: 0 var(--pgs-gut); }
.pgs-case { display: block; background: #fff; border-radius: var(--pg-r); overflow: hidden; border: 1px solid var(--pgs-line); transition: transform .16s var(--pg-out), box-shadow .2s ease-out; }
.pgs-case:active { transform: scale(.985); }
@media (hover: hover) { .pgs-case:hover { box-shadow: 0 12px 28px rgba(11,31,68,.12); } .pgs-case:hover img { transform: scale(1.03); } }
.pgs-case__ph { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--pg-deep); }
.pgs-case__ph picture, .pgs-case__ph img { width: 100%; height: 100%; }
.pgs-case__ph img { object-fit: cover; transition: transform .5s var(--pg-out); }
.pgs-case__tx { display: block; padding: 14px 16px 16px; }
.pgs-case__co { display: block; font-size: 17px; font-weight: 900; color: var(--pg-deep); line-height: 1.4; }
.pgs-case__n { display: block; font-size: 14px; font-weight: 700; color: var(--pg-navy); line-height: 1.55; margin-top: 4px; }
.pgs-case__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pgs-case__chips i { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--pg-navy); background: var(--pg-paper); border-radius: 999px; padding: 3px 10px; }
.pgs-cases__after { padding: 22px var(--pgs-gut) 0; }

/* ⑩ よくある質問（details で開閉。JS なし） */
.pgs-faq__list { display: grid; gap: 10px; padding: 0 var(--pgs-gut); }
.pgs-faq__i { background: #fff; border: 1px solid var(--pgs-line); border-radius: var(--pg-r); }
.pgs-faq__i summary { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr) 16px; gap: 12px; align-items: start; padding: 16px 16px; cursor: pointer; list-style: none; font-size: 15px; font-weight: 700; line-height: 1.6; color: var(--pg-deep); -webkit-tap-highlight-color: transparent; }
.pgs-faq__i summary::-webkit-details-marker { display: none; }
.pgs-faq__i summary::after { content: ""; width: 9px; height: 9px; margin-top: 7px; border-right: 2px solid var(--pg-navy); border-bottom: 2px solid var(--pg-navy); transform: rotate(45deg); transition: transform .2s var(--pg-out); }
.pgs-faq__i[open] summary::after { transform: translateY(4px) rotate(-135deg); }
.pgs-faq__q, .pgs-faq__al { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; font-family: var(--pg-num); font-weight: 700; font-size: 16px; line-height: 1; }
.pgs-faq__q { background: var(--pg-deep); color: #fff; }
.pgs-faq__al { background: var(--pg-orange); color: #fff; }
.pgs-faq__a { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 0 16px 18px; font-size: 14.5px; line-height: 1.85; }
.pgs-faq__a p + p { margin-top: .8em !important; }

/* ---- サービス一覧 ---- */
.pgs-menu { padding-top: 32px; }
.pgs-cards { display: grid; gap: 12px; padding: 0 var(--pgs-gut); }
.pgs-card a { display: grid; grid-template-columns: 34% minmax(0, 1fr); background: #fff; border: 1px solid var(--pgs-line); border-radius: var(--pg-r); overflow: hidden; height: 100%; transition: transform .16s var(--pg-out), box-shadow .2s ease-out, border-color .2s ease-out; }
.pgs-card a:active { transform: scale(.985); }
@media (hover: hover) { .pgs-card a:hover { border-color: var(--pg-orange); box-shadow: 0 12px 28px rgba(11,31,68,.1); } .pgs-card a:hover img { transform: scale(1.04); } }
.pgs-card__ph { position: relative; display: flex; align-items: center; justify-content: center; min-height: 100%; overflow: hidden; background: var(--pg-deep); color: var(--pg-cyan); }
.pgs-card__ph picture { position: absolute; inset: 0; }
.pgs-card__ph picture, .pgs-card__ph img { width: 100%; height: 100%; }
.pgs-card__ph img { object-fit: cover; transition: transform .5s var(--pg-out); }
.pgs-card__tx { display: flex; flex-direction: column; align-items: flex-start; padding: 14px 14px 14px 16px; min-width: 0; }
.pgs-card__for { font-size: 11px; font-weight: 700; color: #00879A; line-height: 1.5; }
.pgs-card__t { display: block; font-size: 16px; font-weight: 900; line-height: 1.4; color: var(--pg-deep); margin-top: 2px; }
.pgs-card__d { display: block; font-size: 12.5px; line-height: 1.65; color: #4a5263; margin-top: 6px; }
.pgs-card__go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 10px; font-size: 12.5px; font-weight: 700; color: var(--pg-orange); }
.pgs-card__go::after { content: ""; width: 6px; height: 6px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
/* 1枚目（経営コンサルティング）だけ写真を上に大きく */
.pgs-card--lead a { grid-template-columns: 1fr; }
.pgs-card--lead .pgs-card__ph { aspect-ratio: 16 / 9; min-height: 0; }
.pgs-card--lead .pgs-card__tx { padding: 16px 18px 18px; }
.pgs-card--lead .pgs-card__t { font-size: 22px; }
.pgs-card--lead .pgs-card__d { font-size: 14px; }
.pgs-card--lead .pgs-card__for { font-size: 12.5px; }

.pgs-more__list { display: grid; gap: 8px; padding: 0 var(--pgs-gut); }
.pgs-more__list a { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: center; padding: 8px 14px 8px 8px; background: #fff; border: 1px solid var(--pgs-line); border-radius: var(--pg-r); transition: border-color .2s ease-out, transform .16s var(--pg-out); }
.pgs-more__list a:active { transform: scale(.985); }
@media (hover: hover) { .pgs-more__list a:hover { border-color: var(--pg-navy); } }
.pgs-more__ph { display: block; width: 64px; height: 64px; overflow: hidden; border-radius: 3px; background: var(--pg-paper); }
.pgs-more__ph picture, .pgs-more__ph img { width: 100%; height: 100%; }
.pgs-more__ph img { object-fit: cover; }
.pgs-more__tx b { display: block; font-size: 15px; font-weight: 900; color: var(--pg-deep); line-height: 1.4; }
.pgs-more__tx small { display: block; font-size: 12px; color: var(--pg-muted); line-height: 1.5; margin-top: 2px; }

/* ---- PC ---- */
@media (min-width: 768px) {
  .pgs-hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
  .pgs-hero__btns .pgs-btn { width: auto; }
  .pgs-band__btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px 20px; }
  .pgs-band__b .pgs-btn { width: auto; min-width: 300px; }
  .pgs-cases__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pgs-more__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .pgs { --pgs-gut: max(48px, calc((100% - 1160px) / 2)); --pgs-sec: 104px; }
  .pgs-bc { padding-top: 16px; }
  .pgs-h2 { font-size: 38px; }
  .pgs-hd { margin-bottom: 36px; }
  .pgs-hd__sub { font-size: 15px; }

  .pgs-hero.has-ph { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; gap: 56px; padding: 32px var(--pgs-gut) 8px; }
  .pgs-hero.has-ph .pgs-hero__ph { order: 2; margin: 0; aspect-ratio: 4 / 3; }
  .pgs-hero.has-ph .pgs-hero__tx { padding: 0; }
  .pgs-hero--index .pgs-hero__tx { padding: 48px var(--pgs-gut) 8px; }
  .pgs-hero__h { font-size: clamp(44px, 4.4vw, 60px); line-height: 1.2; }
  .pgs-hero__for { font-size: 14px; }
  .pgs-hero__lead { font-size: 17px; margin-top: 18px !important; }
  .pgs-hero__btns { margin-top: 30px; }
  .pgs-hero__btns .pgs-btn { min-height: 62px; padding: 0 36px; }
  .pgs-toc { padding-top: 28px; }
  .pgs-toc + .pgs-sec { padding-top: 72px; }

  .pgs-worry__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .pgs-worry__list li { padding: 20px 22px; font-size: 16px; }

  .pgs-feat__list { gap: 20px; }
  .pgs-feat__i { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); grid-template-rows: auto 1fr; gap: 0 40px; padding: 32px; align-items: start; }
  .pgs-feat__no, .pgs-feat__t { grid-column: 1; }
  .pgs-feat__vs { grid-column: 2; grid-row: 1 / span 2; }
  .pgs-feat__t { font-size: 24px; }
  .pgs-feat__vs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 0; }
  .pgs-feat__o, .pgs-feat__pg { padding: 18px 20px; }
  .pgs-feat__p { font-size: 15px; }

  .pgs-sup__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .pgs-sup__t { font-size: 19px; }

  .pgs-mov__f { max-width: 880px; margin: 0 auto; }
  .pgs-mov .pgs-hd { text-align: center; }

  .pgs-band { padding: 64px var(--pgs-gut); }
  .pgs-band__t { font-size: 24px; }

  .pgs-flow__list { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0; }
  .pgs-flow__list li { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 12px; padding: 0 8px; }
  .pgs-flow__list li:not(:last-child)::after { left: calc(50% + 32px); right: calc(-50% + 32px); top: 25px; bottom: auto; width: auto; height: 2px; }
  .pgs-flow__n { width: 52px; height: 52px; font-size: 24px; }
  .pgs-flow__t { font-size: 16px; }

  .pgs-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto auto auto auto; gap: 0 16px; }
  .pgs-plan { display: grid; grid-row: span 5; grid-template-rows: subgrid; padding: 26px 24px 12px; }
  .pgs-plan__dl { display: grid; grid-row: span 3; grid-template-rows: subgrid; }
  .pgs-plan__name { font-size: 24px; }
  .pgs-calc { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 40px; align-items: center; margin-top: 20px; padding: 32px 36px; }
  .pgs-calc__h { grid-column: 1 / -1; font-size: 17px; }
  .pgs-calc__eq { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1.1fr); gap: 10px; margin-top: 6px !important; }
  .pgs-calc__eq > :nth-child(n) { grid-column: auto; }
  .pgs-calc__t { min-height: 84px; font-size: 19px; }
  .pgs-calc__notes { grid-column: 1; margin-top: 8px !important; display: flex; flex-wrap: wrap; gap: 4px 24px; }
  .pgs-calc .pgs-link { grid-column: 2; grid-row: 3; margin-top: 0; justify-self: end; }

  .pgs .pgc { padding: 36px 40px 32px; }
  .pgs .pgc__h { font-size: 28px; }

  .pgs-cases__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .pgs-case__co { font-size: 18px; }

  .pgs-faq__list { max-width: 920px; }
  .pgs-faq__i summary { padding: 20px 24px; font-size: 16px; }
  .pgs-faq__a { padding: 0 24px 22px; font-size: 15px; }

  .pgs-menu { padding-top: 48px; }
  .pgs-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .pgs-card a { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .pgs-card__ph { aspect-ratio: 16 / 10; min-height: 0; }
  .pgs-card__tx { padding: 18px 20px 20px; }
  .pgs-card__t { font-size: 19px; }
  .pgs-card__d { font-size: 13.5px; }
  .pgs-card__for { font-size: 12px; }
  .pgs-card--lead { grid-column: 1 / -1; }
  .pgs-card--lead a { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto; }
  .pgs-card--lead .pgs-card__ph { aspect-ratio: 16 / 9; }
  .pgs-card--lead .pgs-card__tx { justify-content: center; padding: 36px 40px; }
  .pgs-card--lead .pgs-card__t { font-size: 30px; }
  .pgs-card--lead .pgs-card__d { font-size: 15px; margin-top: 10px; }
  .pgs-card--lead .pgs-card__go { margin-top: 18px; padding-top: 0; font-size: 14px; }
  .pgs-more__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .pgs *, .pgs *::before, .pgs *::after { transition: none !important; animation: none !important; }
}

/* 2026-11-20 サービス一覧の「悩みから探す」（悩み別サービスページへの入口・画像なしの行） */
.pgs-nayami .pgs-more__list a { grid-template-columns: minmax(0, 1fr); padding: 12px 16px; }
.pgs-nayami__all { margin: 14px 0 0; padding: 0 var(--pgs-gut); font-size: 14px; }
.pgs-nayami__all a { color: var(--pg-navy); text-decoration: underline; text-underline-offset: 3px; }
