/*
Theme Name: PT転職ナビ
Theme URI: https://example.com/
Author: PT転職ナビ
Description: 理学療法士（PT）専門の転職メディア／アフィリエイトサイト向けWordPressテーマ。日本の比較サイトの作法（番号リボン、対応施設チップ、POINTラベル、出典明記、鮮度表示）に沿った単一カラム構成で、景品表示法・ステマ規制の表示にも対応しています。
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pt-navi
Tags: blog, custom-menu, featured-images, translation-ready, one-column
*/

/* =========================================================
   1. デザイントークン
   ========================================================= */
:root {
  --c-primary: #1495bd;
  --c-primary-light: #4bb0d0;
  --c-primary-dark: #0f7a9c;
  --c-tint: #e5f3f8;
  --c-tint-deep: #d3eaf3;

  --c-cta: #ff4500;
  --c-cta-light: #ff753f;
  --c-cta-dark: #d63a00;

  --c-text: #444444;
  --c-text-sub: #777777;
  --c-mute: #808080;
  --c-line: #cccccc;
  --c-line-soft: #e2e2e2;
  --c-bg: #ffffff;
  --c-bg-soft: #f7f7f7;

  --c-red: #e60012;
  --c-gold: #e8b422;
  --c-star: #ffa500;

  --r: 4px;
  --r-md: 5px;
  --r-lg: 10px;
  --r-pill: 100px;

  --wrap: 710px;
  --gap: 14px;

  --font: "Noto Sans JP", sans-serif, メイリオ, Meiryo, "ヒラギノ角ゴ Pro W3",
    "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic";
}

/* =========================================================
   2. リセット & ベース
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg-soft);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img, svg { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--c-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.5em; }
figure { margin: 0; }
table { border-collapse: collapse; }
button { font-family: inherit; }
h1, h2, h3, h4 { line-height: 1.45; font-weight: 700; margin: 0; }

.pt-wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 10px;
}

.screen-reader-text {
  position: absolute !important;
  clip-path: inset(50%);
  width: 1px; height: 1px; overflow: hidden; white-space: nowrap;
}

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 8px; top: 8px; background: var(--c-primary); color: #fff; padding: 8px 14px; z-index: 999; }

/* 強調（記事本文でも使う） */
.pt-em { color: var(--c-red); font-weight: 700; }
.pt-em-cy { color: var(--c-primary); font-weight: 700; }
.pt-marker { background: linear-gradient(transparent 62%, #ffe89a 62%); font-weight: 700; }

/* =========================================================
   3. PR表記
   ========================================================= */
.pt-pr-bar {
  background: #fff;
  color: var(--c-text-sub);
  font-size: 10px;
  line-height: 1.5;
  text-align: right;
  padding: 3px 12px;
  border-bottom: 1px solid var(--c-line-soft);
}

.pt-pr-inline {
  display: block;
  font-size: 10px;
  color: var(--c-text-sub);
  line-height: 1.5;
  margin-bottom: 2px;
}

/* =========================================================
   4. ヘッダー
   ========================================================= */
.pt-header {
  background: #fff;
  border-bottom: 2px solid var(--c-primary);
  position: relative;
  z-index: 100;
}

.pt-header__inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
}

.pt-logo { margin: 0; font-size: 20px; line-height: 1.2; }
.pt-logo a { color: var(--c-text); display: block; }
.pt-logo a:hover { text-decoration: none; opacity: .8; }
.pt-logo__main { font-weight: 700; letter-spacing: -.01em; display: block; }
.pt-logo__main .accent { color: var(--c-primary); }
.pt-logo__sub {
  display: inline-block;
  margin-top: 4px;
  border: 1px solid var(--c-primary);
  color: var(--c-primary);
  font-size: 11px; font-weight: 700; line-height: 1;
  padding: 4px 8px;
  border-radius: 2px;
}
.pt-logo img { max-height: 48px; width: auto; }

.pt-menu-toggle {
  margin-left: auto;
  width: 40px; height: 34px;
  background: none; border: none; padding: 0; cursor: pointer;
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
}
.pt-menu-toggle span {
  display: block; height: 3px; background: var(--c-text); border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.pt-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.pt-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.pt-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.pt-nav {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff;
  border-bottom: 1px solid var(--c-line);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .12);
  max-height: 0; overflow: hidden; transition: max-height .3s ease;
}
.pt-nav.is-open { max-height: 80vh; overflow-y: auto; }
.pt-nav ul {
  list-style: none; margin: 0; padding: 0;
  max-width: var(--wrap); margin-inline: auto;
}
.pt-nav li { border-bottom: 1px solid var(--c-line-soft); }
.pt-nav a {
  display: block; padding: 14px 16px;
  color: var(--c-text); font-size: 14px; font-weight: 700;
}
.pt-nav a:hover { background: var(--c-tint); text-decoration: none; }

/* =========================================================
   5. ヒーロー
   ========================================================= */
.pt-hero { background: #fff; }

.pt-hero__visual {
  position: relative;
  max-width: var(--wrap);
  margin-inline: auto;
  background: linear-gradient(105deg, #e8f6fb 0%, #cfeaf5 45%, #a9dcee 100%);
  overflow: hidden;
  min-height: 240px;
  display: flex; align-items: center;
}

/* 写真を入れる場合はこの要素に背景画像を指定する */
.pt-hero__photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: right center;
  opacity: .95;
}
.pt-hero__photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .85) 38%, rgba(255, 255, 255, 0) 66%);
}

.pt-hero__body { position: relative; z-index: 1; padding: 22px 14px; width: 100%; }

.pt-hero__title {
  font-size: clamp(24px, 6.4vw, 34px);
  line-height: 1.3;
  letter-spacing: -.01em;
  margin-bottom: 14px;
  text-shadow: 0 1px 0 #fff, 0 0 10px rgba(255, 255, 255, .9);
}
.pt-hero__title .accent { color: var(--c-primary); }

.pt-hero__points { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; max-width: 380px; }
.pt-hero__point-label {
  display: inline-block;
  background: var(--c-primary);
  color: #fff;
  font-size: 13px; font-weight: 700; line-height: 1;
  padding: 6px 12px;
  border-radius: 2px;
  margin-bottom: 4px;
}
.pt-hero__point-text { font-size: 13px; font-weight: 700; display: block; }

/* 対象者の明示ボックス */
.pt-target-note {
  max-width: var(--wrap);
  margin: 14px auto;
  border: 2px solid var(--c-primary);
  border-radius: var(--r-md);
  background: #fff;
  padding: 12px 14px;
  text-align: center;
  font-size: 13px; font-weight: 700;
  line-height: 1.7;
}

/* =========================================================
   6. セクション見出し（リボン帯）
   ========================================================= */
.pt-section { padding: 22px 0; }
.pt-section--tint { background: var(--c-tint); }
.pt-section--white { background: #fff; }

.pt-heading { max-width: var(--wrap); margin: 0 auto 14px; padding-inline: 10px; text-align: center; }

.pt-heading__date {
  display: inline-block;
  background: #fff;
  border: 2px solid var(--c-primary);
  color: var(--c-primary);
  font-size: 12px; font-weight: 700; line-height: 1;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  margin-bottom: -12px;
  position: relative; z-index: 2;
}

.pt-heading__bar {
  background: linear-gradient(180deg, var(--c-primary-light), var(--c-primary));
  color: #fff;
  font-size: clamp(16px, 4.2vw, 20px);
  padding: 14px 40px;
  border-radius: var(--r-md);
  position: relative;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 50%, 100% 100%, 0 100%, 14px 50%);
}
.pt-heading__bar .u { border-bottom: 2px solid #fff; padding-bottom: 2px; }

/* 装飾なしの小見出し */
.pt-subheading {
  background: var(--c-primary);
  color: #fff;
  font-size: 15px;
  padding: 8px 12px;
  border-radius: var(--r) var(--r) 0 0;
  text-align: center;
}

.pt-note-small { font-size: 11px; color: var(--c-text-sub); line-height: 1.7; margin: 8px 0 0; }

/* =========================================================
   7. 比較表
   ========================================================= */
.pt-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.pt-rank-table {
  width: 100%;
  min-width: 340px;
  background: #fff;
  font-size: 11px;
  border: 1px solid var(--c-primary);
  table-layout: fixed;
}
.pt-rank-table th, .pt-rank-table td {
  border: 1px solid var(--c-line);
  padding: 7px 3px;
  text-align: center;
  vertical-align: middle;
}
.pt-rank-table thead th {
  background: var(--c-tint);
  color: var(--c-primary-dark);
  font-size: 11px; font-weight: 700;
  border-color: var(--c-primary-light);
  white-space: nowrap;
  padding-inline: 2px;
}
.pt-rank-table tbody td { background: #fff; }

/* 列幅: サービス / 総合評価 / 求人数 / 対応地域 / 公式サイト */
.pt-rank-table col:nth-child(1) { width: 29%; }
.pt-rank-table col:nth-child(2) { width: 18%; }
.pt-rank-table col:nth-child(3) { width: 19%; }
.pt-rank-table col:nth-child(4) { width: 17%; }
.pt-rank-table col:nth-child(5) { width: 17%; }

@media (min-width: 560px) {
  .pt-rank-table { font-size: 12px; }
  .pt-rank-table th, .pt-rank-table td { padding: 9px 6px; }
}
.pt-crown { display: block; margin: 0 auto 3px; width: 22px; height: auto; }
.pt-rank-logo {
  display: block; margin: 0 auto 3px;
  max-width: 100%; max-height: 34px; width: auto;
}
.pt-rank-logo--ph {
  display: flex; align-items: center; justify-content: center;
  max-width: 100%; height: 34px; margin: 0 auto 3px;
  background: var(--c-tint); color: var(--c-primary-dark);
  border: 1px dashed var(--c-primary-light);
  border-radius: 2px; font-size: 9px; font-weight: 700;
}
.pt-rank-name { display: block; font-size: 11px; font-weight: 700; color: var(--c-primary); line-height: 1.35; }

.pt-score-num { color: var(--c-cta); font-size: 13px; font-weight: 700; }
.pt-stars { color: var(--c-star); font-size: 11px; letter-spacing: -1px; }
.pt-kuchikomi {
  display: block; margin-top: 2px;
  font-size: 10px; color: var(--c-primary); font-weight: 700;
}

.pt-mark { display: block; margin: 0 auto 2px; width: 16px; height: 16px; }
.pt-num-big { font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.35; }
.pt-num-sub { display: block; font-size: 9px; color: var(--c-red); font-weight: 700; margin-top: 3px; line-height: 1.4; }

/* =========================================================
   8. ボタン
   ========================================================= */
.pt-btn {
  display: inline-flex; align-items: center; justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, var(--c-cta-light), var(--c-cta));
  color: #fff !important;
  font-weight: 700;
  border: none;
  border-radius: var(--r-md);
  box-shadow: 0 3px 0 var(--c-cta-dark);
  padding: 13px 22px;
  font-size: 15px;
  line-height: 1.35;
  cursor: pointer;
  transition: transform .12s, box-shadow .12s;
}
.pt-btn:hover { text-decoration: none; transform: translateY(1px); box-shadow: 0 2px 0 var(--c-cta-dark); }
.pt-btn:active { transform: translateY(3px); box-shadow: none; }

.pt-btn--sm { padding: 8px 6px; font-size: 11px; box-shadow: 0 2px 0 var(--c-cta-dark); border-radius: var(--r); }
.pt-rank-table .pt-btn { width: 100%; }
.pt-btn--lg { padding: 16px 26px; font-size: 17px; }
.pt-btn--block { display: flex; width: 100%; }
.pt-btn--cy {
  background: linear-gradient(180deg, var(--c-primary-light), var(--c-primary));
  box-shadow: 0 3px 0 var(--c-primary-dark);
}
.pt-btn--cy:hover { box-shadow: 0 2px 0 var(--c-primary-dark); }

.pt-btn__sub { font-size: 11px; font-weight: 700; display: block; opacity: .95; }

.pt-cta-block { text-align: center; margin-top: 14px; }
.pt-cta-block .pt-btn { max-width: 420px; width: 100%; }
.pt-cta-note { font-size: 11px; color: var(--c-text-sub); margin: 7px 0 0; line-height: 1.6; }

/* =========================================================
   9. サービス詳細ブロック
   ========================================================= */
.pt-agent-list { display: grid; gap: 18px; }

.pt-agent {
  background: #fff;
  border: 2px solid var(--c-primary-light);
  border-radius: var(--r-md);
  padding: 0 14px 16px;
  position: relative;
}

/* 番号リボン */
.pt-agent__num {
  position: absolute; top: -2px; left: 10px;
  width: 34px; padding: 6px 0 10px;
  background: var(--c-primary);
  color: #fff; font-size: 18px; font-weight: 700; line-height: 1;
  text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%);
}
.pt-agent--1 .pt-agent__num { background: linear-gradient(180deg, #f0c545, #d99b0e); }
.pt-agent--2 .pt-agent__num { background: linear-gradient(180deg, #c3ccd4, #93a0ab); }
.pt-agent--3 .pt-agent__num { background: linear-gradient(180deg, #d9a878, #b57b46); }

.pt-agent__head { padding: 10px 0 10px 42px; border-bottom: 1px solid var(--c-line-soft); }
.pt-agent__name { font-size: clamp(17px, 4.6vw, 21px); margin-bottom: 4px; }
.pt-agent__name a { color: var(--c-text); }
.pt-agent__rating { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.pt-agent__rating .pt-stars { font-size: 15px; }
.pt-agent__rating b { color: var(--c-cta); font-size: 15px; }

.pt-agent__main { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 12px 0; }
@media (min-width: 560px) {
  .pt-agent__main { grid-template-columns: 175px 1fr; }
}

.pt-agent__visual {
  border: 1px solid var(--c-line-soft);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--c-tint);
  aspect-ratio: 175 / 145;
  display: grid; place-items: center;
}
.pt-agent__visual img { width: 100%; height: 100%; object-fit: cover; }
.pt-agent__visual--ph { color: var(--c-primary-dark); font-size: 11px; font-weight: 700; text-align: center; padding: 8px; }

/* ラベル付き情報ボックス（対応エリア／求人数／勤務形態） */
.pt-specs { display: grid; gap: 8px; align-content: start; }
.pt-spec { border: 1px solid var(--c-primary-light); border-radius: var(--r); overflow: hidden; }
.pt-spec__label {
  background: var(--c-primary-light);
  color: #fff; font-size: 12px; font-weight: 700;
  text-align: center; padding: 4px;
}
.pt-spec__value {
  background: #fff; text-align: center;
  padding: 8px 6px; font-size: 15px; font-weight: 700;
}
.pt-spec__value small { display: block; font-size: 10px; color: var(--c-red); font-weight: 700; margin-top: 3px; }

/* フィールドセット型チップ（対応施設・雇用形態） */
.pt-chipset {
  border: 1px solid var(--c-primary-light);
  border-radius: var(--r);
  padding: 12px 10px 10px;
  margin-top: 10px;
}
.pt-chipset > legend {
  color: var(--c-primary);
  font-size: 12px; font-weight: 700;
  padding: 0 8px;
  margin-inline: auto;
}
.pt-chipset__items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
@media (max-width: 480px) { .pt-chipset__items { grid-template-columns: repeat(2, 1fr); } }

.pt-chip {
  background: var(--c-tint);
  border: 1px solid var(--c-primary-light);
  border-radius: var(--r);
  color: var(--c-primary-dark);
  font-size: 12px; font-weight: 700;
  text-align: center;
  padding: 7px 4px;
  line-height: 1.3;
}
.pt-chip--off {
  background: #f2f2f2;
  border-color: #e0e0e0;
  color: #bbbbbb;
}

/* POINT ブロック */
.pt-point { margin-top: 14px; }
.pt-point__head { display: flex; align-items: flex-start; gap: 7px; margin-bottom: 5px; }
.pt-point__badge {
  flex: 0 0 auto;
  background: var(--c-primary);
  color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: .04em;
  padding: 3px 6px;
  border-radius: 2px;
  margin-top: 3px;
}
.pt-point__title { font-size: 15px; line-height: 1.5; }
.pt-point__body { font-size: 13px; line-height: 1.8; margin: 0; }

/* 出典 */
.pt-source {
  font-size: 10px; color: var(--c-text-sub);
  line-height: 1.6; margin: 12px 0 0;
  word-break: break-all;
}

/* クチコミ */
.pt-voices { margin-top: 16px; }
.pt-voices__title {
  background: var(--c-tint);
  border-left: 4px solid var(--c-primary);
  color: var(--c-primary-dark);
  font-size: 13px;
  padding: 7px 10px;
  margin-bottom: 8px;
}
.pt-voice {
  border: 1px solid var(--c-line-soft);
  border-radius: var(--r);
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 8px;
  background: #fff;
}
.pt-voice__who { display: block; font-size: 11px; color: var(--c-text-sub); margin-top: 5px; }

/* =========================================================
   10. 求人例
   ========================================================= */
.pt-jobs { display: grid; gap: 12px; }
@media (min-width: 560px) { .pt-jobs { grid-template-columns: 1fr 1fr; } }

.pt-job {
  background: #fff;
  border: 1px solid var(--c-primary-light);
  border-radius: var(--r-md);
  overflow: hidden;
}
.pt-job__area {
  background: var(--c-primary);
  color: #fff;
  font-size: 13px;
  padding: 6px 10px;
}
.pt-job__body { padding: 10px 12px 12px; }
.pt-job__title { font-size: 13px; font-weight: 700; margin-bottom: 7px; line-height: 1.5; }
.pt-job__salary {
  color: var(--c-cta); font-size: 18px; font-weight: 700;
  font-variant-numeric: tabular-nums; line-height: 1.2; margin-bottom: 8px;
}
.pt-job__salary small { font-size: 11px; color: var(--c-text-sub); }
.pt-job__tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 9px; }
.pt-job__tag {
  background: var(--c-tint); color: var(--c-primary-dark);
  border-radius: 2px; font-size: 11px; font-weight: 700;
  padding: 3px 7px; line-height: 1.4;
}
.pt-job__meta { list-style: none; margin: 0 0 10px; padding: 0; font-size: 12px; display: grid; gap: 3px; }
.pt-job__meta li { display: flex; gap: 6px; }
.pt-job__meta b { flex: 0 0 4.5em; color: var(--c-text-sub); font-weight: 700; }

/* =========================================================
   11. 条件リンク（職種別／地域別／その他）
   ========================================================= */
.pt-linkbox { background: #fff; border: 1px solid var(--c-primary-light); border-radius: var(--r-md); overflow: hidden; margin-bottom: 12px; }
.pt-linkbox__title { background: var(--c-primary); color: #fff; font-size: 14px; padding: 8px 12px; }
.pt-linkbox__items { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; padding: 12px; }

.pt-linkchip {
  display: flex; align-items: center; justify-content: center;
  background: var(--c-tint);
  border: 1px solid var(--c-primary-light);
  border-radius: var(--r);
  color: var(--c-primary-dark);
  font-size: 13px; font-weight: 700;
  padding: 10px 8px;
  text-align: center;
  line-height: 1.35;
}
.pt-linkchip:hover { background: var(--c-primary); color: #fff; text-decoration: none; }

/* =========================================================
   12. 最終CTA
   ========================================================= */
.pt-final {
  background: var(--c-tint);
  padding: 24px 0;
}
.pt-final__inner {
  max-width: var(--wrap); margin-inline: auto; padding-inline: 10px; text-align: center;
}
.pt-final__title {
  font-size: clamp(17px, 4.4vw, 22px);
  color: var(--c-primary-dark);
  margin-bottom: 12px;
}
.pt-final__card {
  background: #fff;
  border: 2px solid var(--c-primary);
  border-radius: var(--r-md);
  padding: 16px 14px;
}
.pt-final__name { font-size: 18px; margin-bottom: 6px; }
.pt-final__text { font-size: 13px; line-height: 1.8; margin: 0 0 12px; }

/* =========================================================
   13. 記事・固定ページ
   ========================================================= */
.pt-main { padding: 16px 0 28px; }

.pt-article {
  background: #fff;
  border: 1px solid var(--c-line-soft);
  border-radius: var(--r-md);
  padding: 18px 14px 24px;
}
.pt-article__title { font-size: clamp(19px, 5vw, 25px); line-height: 1.45; margin-bottom: 10px; }
.pt-article__meta {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-size: 11px; color: var(--c-text-sub);
  padding-bottom: 12px; margin-bottom: 16px;
  border-bottom: 1px solid var(--c-line-soft);
}
.pt-badge-pr {
  background: #eee; color: var(--c-text-sub);
  font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 2px;
}
.pt-badge-cat {
  background: var(--c-primary); color: #fff;
  font-size: 10px; font-weight: 700; padding: 3px 7px; border-radius: 2px;
}
.pt-badge-cat:hover { text-decoration: none; opacity: .85; }

.pt-article__thumb { margin-bottom: 18px; border-radius: var(--r); overflow: hidden; }

.pt-content { font-size: 14px; line-height: 1.9; }
.pt-content > *:first-child { margin-top: 0; }
.pt-content > *:last-child { margin-bottom: 0; }
.pt-content p { margin: 0 0 1.4em; }

.pt-content h2 {
  font-size: 18px;
  background: linear-gradient(180deg, var(--c-primary-light), var(--c-primary));
  color: #fff;
  padding: 10px 12px;
  border-radius: var(--r);
  margin: 36px 0 16px;
}
.pt-content h3 {
  font-size: 16px;
  border-left: 5px solid var(--c-primary);
  border-bottom: 1px solid var(--c-line);
  padding: 3px 0 6px 10px;
  margin: 28px 0 12px;
}
.pt-content h4 { font-size: 15px; color: var(--c-primary-dark); margin: 22px 0 8px; }

.pt-content ul, .pt-content ol { margin: 0 0 1.5em; padding-left: 1.5em; }
.pt-content li { margin-bottom: .4em; }

.pt-content table { width: 100%; font-size: 13px; margin: 0 0 1.5em; }
.pt-content th, .pt-content td { border: 1px solid var(--c-line); padding: 8px 10px; text-align: left; }
.pt-content th { background: var(--c-tint); font-weight: 700; }
.pt-content .wp-block-table { overflow-x: auto; }

.pt-content blockquote {
  margin: 0 0 1.5em; padding: 12px 14px;
  background: var(--c-bg-soft); border-left: 4px solid var(--c-line);
  font-size: 13px; color: var(--c-text-sub);
}
.pt-content img { border-radius: var(--r); }
.pt-content a { text-decoration: underline; }

/* 囲みボックス */
.pt-box {
  border: 2px solid var(--c-primary);
  border-radius: var(--r-md);
  padding: 14px;
  margin: 0 0 1.5em;
  background: #fff;
  font-size: 13px;
}
.pt-box--point { border-color: var(--c-cta); background: #fff7f3; }
.pt-box--caution { border-color: var(--c-red); background: #fff5f5; }
.pt-box__title { font-size: 14px; font-weight: 700; margin: 0 0 6px; color: var(--c-primary); }
.pt-box--point .pt-box__title { color: var(--c-cta-dark); }
.pt-box--caution .pt-box__title { color: var(--c-red); }

/* 目次 */
.pt-toc {
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 14px 18px;
  margin-bottom: 24px;
}
.pt-toc__title { text-align: center; font-size: 14px; font-weight: 700; color: var(--c-primary); margin-bottom: 8px; }
.pt-toc ol { margin: 0; padding-left: 1.4em; font-size: 13px; }
.pt-toc ol ol { font-size: 12.5px; margin-top: .3em; color: var(--c-text-sub); }
.pt-toc li { margin-bottom: .35em; }
.pt-toc a { color: var(--c-text); }

/* 記事カード */
.pt-posts { display: grid; gap: 12px; }
@media (min-width: 560px) { .pt-posts { grid-template-columns: 1fr 1fr; } }

.pt-card {
  background: #fff; border: 1px solid var(--c-line-soft); border-radius: var(--r-md);
  overflow: hidden; display: flex; flex-direction: column;
}
.pt-card__thumb { display: block; aspect-ratio: 16/9; background: var(--c-tint); overflow: hidden; }
.pt-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pt-card__thumb--none { display: grid; place-items: center; color: var(--c-primary); font-size: 11px; font-weight: 700; }
.pt-card__body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pt-card__title { font-size: 14px; line-height: 1.5; }
.pt-card__title a { color: var(--c-text); }
.pt-card__excerpt { font-size: 12px; color: var(--c-text-sub); margin: 0; line-height: 1.7; }
.pt-card__date { font-size: 11px; color: var(--c-text-sub); margin-top: auto; }

/* =========================================================
   14. パンくず・ページネーション
   ========================================================= */
.pt-breadcrumb { max-width: var(--wrap); margin-inline: auto; padding: 8px 10px 0; font-size: 11px; color: var(--c-text-sub); }
.pt-breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 5px; margin: 0; padding: 0; }
.pt-breadcrumb li + li::before { content: "›"; margin-right: 5px; color: var(--c-line); }

.pt-pagination { margin-top: 22px; }
.pt-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; }
.pt-pagination .page-numbers {
  min-width: 36px; height: 36px; padding: 0 10px;
  display: inline-grid; place-items: center;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r);
  font-size: 13px; font-weight: 700; color: var(--c-text);
}
.pt-pagination .page-numbers.current { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }

/* =========================================================
   15. 固定CTA（スマホ）
   ========================================================= */
.pt-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: rgba(255, 255, 255, .97);
  border-top: 1px solid var(--c-line);
  box-shadow: 0 -3px 10px rgba(0, 0, 0, .12);
  padding: 7px 12px calc(7px + env(safe-area-inset-bottom));
}
.pt-sticky__inner { max-width: var(--wrap); margin-inline: auto; }
.pt-sticky__lead { font-size: 11px; font-weight: 700; text-align: center; margin: 0 0 4px; color: var(--c-text-sub); }
.pt-sticky .pt-btn { width: 100%; padding: 12px; font-size: 15px; }

@media (max-width: 860px) { body { padding-bottom: 82px; } }
@media (min-width: 861px) { .pt-sticky { display: none; } }

/* =========================================================
   16. フッター
   ========================================================= */
.pt-footer { background: #fff; border-top: 2px solid var(--c-primary); padding: 20px 0 0; font-size: 12px; }
.pt-footer__inner { max-width: var(--wrap); margin-inline: auto; padding-inline: 10px; }
.pt-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px; padding-bottom: 18px; }
.pt-footer__title { font-size: 13px; color: var(--c-primary); margin-bottom: 8px; padding-bottom: 5px; border-bottom: 1px solid var(--c-line-soft); }
.pt-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pt-footer a { color: var(--c-text); }
.pt-footer__about { line-height: 1.8; color: var(--c-text-sub); margin: 0; }
.pt-footer__disclaimer {
  border-top: 1px solid var(--c-line-soft);
  padding: 14px 0;
  font-size: 10px; line-height: 1.8; color: var(--c-text-sub);
}
.pt-footer__bottom { background: var(--c-primary); color: #fff; text-align: center; padding: 10px; font-size: 11px; }

/* =========================================================
   17. その他
   ========================================================= */
.pt-empty { background: #fff; border: 1px dashed var(--c-line); border-radius: var(--r-md); padding: 30px 16px; text-align: center; color: var(--c-text-sub); font-size: 13px; }

.pt-admin-note {
  background: #fffbe6; border: 1px solid #f0d264; border-radius: var(--r);
  padding: 10px 12px; font-size: 12px; color: #7a5c00; margin-bottom: 12px;
}

.pt-searchform { display: flex; gap: 6px; }
.pt-searchform input[type="search"] {
  flex: 1; min-width: 0; padding: 9px 11px;
  border: 1px solid var(--c-line); border-radius: var(--r); font-size: 13px; font-family: inherit;
}
.pt-searchform button {
  background: var(--c-primary); color: #fff; border: none; border-radius: var(--r);
  padding: 0 14px; font-weight: 700; font-size: 13px; cursor: pointer;
}

.pt-faq { display: grid; gap: 8px; }
.pt-faq__item { background: #fff; border: 1px solid var(--c-primary-light); border-radius: var(--r); overflow: hidden; }
.pt-faq__q {
  list-style: none; cursor: pointer;
  padding: 12px 38px 12px 42px;
  font-size: 14px; font-weight: 700; position: relative;
}
.pt-faq__q::-webkit-details-marker { display: none; }
.pt-faq__q::before {
  content: "Q"; position: absolute; left: 12px; top: 11px;
  width: 22px; height: 22px; border-radius: 2px;
  background: var(--c-primary); color: #fff;
  display: grid; place-items: center; font-size: 12px;
}
.pt-faq__q::after {
  content: ""; position: absolute; right: 16px; top: 17px;
  width: 8px; height: 8px;
  border-right: 2px solid var(--c-primary); border-bottom: 2px solid var(--c-primary);
  transform: rotate(45deg); transition: transform .2s;
}
.pt-faq__item[open] .pt-faq__q::after { transform: rotate(-135deg); top: 21px; }
.pt-faq__a { padding: 0 16px 14px 42px; font-size: 13px; line-height: 1.85; color: var(--c-text-sub); position: relative; }
.pt-faq__a::before {
  content: "A"; position: absolute; left: 12px; top: 0;
  width: 22px; height: 22px; border-radius: 2px;
  background: var(--c-cta); color: #fff;
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
}
.pt-faq__a p { margin: 0; }

@media print {
  .pt-header, .pt-footer, .pt-sticky, .pt-final { display: none !important; }
  body { background: #fff; padding-bottom: 0; }
}
