/* 連載「自分でできる害虫駆除」の記事(部品=pestcontrol/series.php)。色、角丸、影は、トップ、都道府県ページと同じ体系 */
/* テーマ標準の著者ボックスは、この記事の著者欄(.ps-author)と二重になるので隠す */
body:has(.ps) .profile {
  display: none;
}

/* テーマの見出し装飾(頭文字を大きく黄色にする、下線の疑似要素)を、この記事の中だけ打ち消す */
.ps h2::first-letter,
.ps h3::first-letter,
.ps h4::first-letter {
  float: none;
  padding: 0;
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  border: 0;
  background: none;
}

.ps h2::before,
.ps h2::after,
.ps h3::before,
.ps h3::after,
.ps h4::before,
.ps h4::after {
  content: none !important;
}

/* テーマがリスト項目に付ける左の余白と下の余白を打ち消す(各部品が自分で余白を決める) */
.ps ol li,
.ps ul li {
  margin-left: 0;
  padding-left: 0;
}

.ps ol.ps-list li,
.ps ul.ps-list li {
  margin: 6px 0;
}

/* テーマが、番号付きリストの各項目に自動で付ける「1.」を打ち消す(この記事の部品の中だけ) */
.ps li::before {
  content: none !important;
  counter-increment: none !important;
}

.ps ol,
.ps ul {
  counter-reset: none !important;
}

.ps {
  --ps-accent: #c3213d;
  --ps-accent-hover: #a81b34;
  --ps-accent-deep: #8a152a;
  --ps-tint: rgba(195, 33, 61, .06);
  --ps-tint-2: rgba(195, 33, 61, .12);
  --ps-ink: #171717;
  --ps-ink-2: #262626;
  --ps-sub: #3f3f46;
  --ps-muted: #737373;
  --ps-line: #e5e5e5;
  --ps-bg: #fafafa;
  --ps-warn: #fff6e0;
  --ps-warn-line: #f0c36a;
  --ps-safe: #eaf6ef;
  --ps-safe-line: #2e9e5b;
  --ps-sh-sm: 0 1px 2px rgba(0, 0, 0, .05);
  --ps-sh-md: 0 4px 6px -1px rgba(0, 0, 0, .06), 0 2px 4px -2px rgba(0, 0, 0, .05);
  --ps-sh-lg: 0 14px 28px -8px rgba(0, 0, 0, .14), 0 6px 12px -6px rgba(0, 0, 0, .08);
  --ps-sh-accent: 0 6px 18px -4px rgba(195, 33, 61, .45);
  --ps-ease: cubic-bezier(.4, 0, .2, 1);
  font-family: "Inter", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 16.5px;
  line-height: 1.95;
  color: var(--ps-sub);
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

.ps *,
.ps *::before,
.ps *::after {
  box-sizing: border-box;
}

.ps :where(p) {
  margin: 0 0 1.2em;
}

.ps a {
  color: var(--ps-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.ps a:hover {
  font-weight: inherit;
  border-bottom: 0;
  color: var(--ps-accent-hover);
}

.ps .material-icons {
  font-size: 1.1em;
  line-height: 1;
  display: inline-flex;
  vertical-align: middle;
}

.ps strong {
  color: var(--ps-ink);
  font-weight: 700;
}

/* 重要な語は赤。濃い背景、ボタン、表の見出しは元の色のまま */
.ps p strong,
.ps li strong,
.ps td strong,
.ps dd strong {
  color: var(--ps-accent);
  font-weight: 800;
}

.ps-answer strong,
.ps-author strong,
.ps-btn strong,
.ps-callout__title strong,
.ps-table thead strong,
.ps-table--route tbody th strong,
.ps-table--types tbody th strong,
.ps-table--tools tbody th strong {
  color: inherit;
}

.ps-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 10000;
}

.ps-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--ps-accent);
}

/* ヘッダー(連載の回、著者、日付) */
.ps-head {
  margin: 0 0 28px;
}

.ps-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--ps-accent);
}

.ps-eyebrow__no {
  padding: 3px 10px;
  color: #fff;
  background: var(--ps-accent);
  border-radius: 9999px;
  letter-spacing: .06em;
}

.ps-byline {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--ps-bg);
  border: 1px solid var(--ps-line);
  border-radius: 16px;
}

.ps-byline__img {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  object-fit: cover;
  object-position: center 12%;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: var(--ps-sh-md);
}

.ps-byline__who {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

.ps-byline__who > span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--ps-muted);
}

.ps-byline__who a {
  font-weight: 800;
  color: var(--ps-ink);
  text-decoration: none;
}

.ps-byline__who small {
  font-size: 12px;
  color: var(--ps-muted);
}

.ps-byline__dates {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 16px;
  margin: 4px 0 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ps-muted);
}

.ps-byline__dates > span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ps-lead {
  margin: 0 0 28px;
  font-size: 17px;
  line-height: 2;
}

/* 結論ボックス */
.ps-answer {
  margin: 0 0 28px;
  padding: 26px 26px 22px;
  color: rgba(255, 255, 255, .88);
  background:
    radial-gradient(520px 260px at 100% 0%, rgba(255, 255, 255, .16), transparent 70%),
    linear-gradient(145deg, #c3213d 0%, #9c1a31 100%);
  border-radius: 24px;
  box-shadow: var(--ps-sh-accent);
}

.ps h2.ps-answer__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.5;
  color: #fff;
  background: none;
  border: 0;
}

.ps-answer__steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ps-answer__steps li {
  display: flex;
  gap: 12px;
  padding: 14px;
  list-style: none;
  background: rgba(255, 255, 255, .12);
  border-radius: 16px;
}

.ps-answer__num {
  flex: 0 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  font-size: 14px;
  font-weight: 800;
  color: var(--ps-accent);
  background: #fff;
  border-radius: 50%;
}

.ps-answer__steps li > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
  line-height: 1.7;
}

.ps-answer__steps strong {
  font-size: 15.5px;
  color: #fff;
}

.ps-answer__note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 16px 0 0;
  font-size: 13.5px;
  line-height: 1.8;
}

.ps-answer__note .material-icons {
  margin-top: 4px;
}

/* 目次 */
.ps-toc {
  margin: 0 0 28px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--ps-line);
  border-radius: 20px;
  box-shadow: var(--ps-sh-md);
}

.ps-toc__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 800;
  color: var(--ps-ink);
}

.ps-toc__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ps-toc__list li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ps-toc__list a {
  display: flex;
  gap: 10px;
  padding: 7px 8px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ps-ink-2);
  text-decoration: none;
  border-radius: 10px;
  transition: background-color .15s var(--ps-ease), color .15s var(--ps-ease);
}

.ps-toc__list a span {
  flex: 0 0 22px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.9;
  color: var(--ps-accent);
  text-align: right;
}

.ps-toc__list a:hover,
.ps-toc__list a.is-current {
  color: var(--ps-accent);
  background: var(--ps-tint);
}

/* 診断 */
.ps-diag {
  margin: 0 0 40px;
  padding: 24px;
  background: linear-gradient(135deg, #fff 0%, #fdf1f3 100%);
  border: 1px solid rgba(195, 33, 61, .16);
  border-radius: 24px;
  box-shadow: var(--ps-sh-md);
  scroll-margin-top: 70px;
}

.ps h2.ps-diag__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  padding: 0;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.5;
  color: var(--ps-ink);
  background: none;
  border: 0;
}

.ps-diag__title .material-icons {
  color: var(--ps-accent);
}

.ps-diag__noscript {
  margin: 0;
  font-size: 14px;
}

.ps-q {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}

.ps-q__text {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  padding: 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--ps-ink);
}

.ps-q__no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-size: 12px;
  color: #fff;
  background: var(--ps-ink);
  border-radius: 50%;
}

.ps-q__opts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ps-opt {
  position: relative;
}

.ps-opt input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}

.ps-opt span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ps-ink-2);
  background: #fff;
  border: 1.5px solid var(--ps-line);
  border-radius: 14px;
  transition: border-color .15s var(--ps-ease), background-color .15s var(--ps-ease), color .15s var(--ps-ease), box-shadow .15s var(--ps-ease);
}

.ps-opt input:checked + span {
  color: #fff;
  background: var(--ps-accent);
  border-color: var(--ps-accent);
  box-shadow: var(--ps-sh-accent);
}

.ps-opt input:focus-visible + span {
  outline: none;
  box-shadow: 0 0 0 4px var(--ps-tint-2);
}

@media (hover: hover) {
  .ps-opt input:not(:checked):hover + span {
    border-color: rgba(195, 33, 61, .4);
    color: var(--ps-accent);
  }
}

.ps-result {
  margin-top: 20px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--ps-line);
  border-radius: 20px;
  box-shadow: var(--ps-sh-md);
}

.ps-result__label {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--ps-accent);
}

.ps h3.ps-result__title {
  margin: 0 0 8px;
  padding: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.55;
  color: var(--ps-ink);
  background: none;
  border: 0;
}

.ps-result__steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
  padding: 0;
  list-style: none;
  counter-reset: psr;
}

.ps-result__steps li {
  list-style: none;
  counter-increment: psr;
}

.ps-result__steps a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px 8px 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ps-ink-2);
  text-decoration: none;
  background: var(--ps-bg);
  border: 1.5px solid var(--ps-line);
  border-radius: 14px;
}

.ps-result__steps a::before {
  content: counter(psr);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  background: var(--ps-accent);
  border-radius: 50%;
}

.ps-result__mod {
  margin: 10px 0;
  padding: 12px 14px;
  font-size: 13.5px;
  line-height: 1.8;
  background: var(--ps-warn);
  border-left: 4px solid var(--ps-warn-line);
  border-radius: 10px;
}

.ps-result__products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.ps-result__products:empty {
  display: none;
}

/* 商品の小さなカード */
.ps-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  color: var(--ps-ink);
  text-decoration: none;
  background: var(--ps-bg);
  border: 1px solid var(--ps-line);
  border-radius: 14px;
  transition: box-shadow .15s var(--ps-ease);
}

.ps-mini img {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
}

.ps-mini strong {
  display: block;
  font-size: 13.5px;
  line-height: 1.45;
}

.ps-mini em {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  color: var(--ps-accent);
}

/* セクション */
.ps-sec {
  margin: 0 0 56px;
  scroll-margin-top: 70px;
}

.ps h2.ps-h2 {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0 0 22px;
  padding: 18px 0 0;
  font-size: clamp(21px, 2.6vw, 27px);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: .01em;
  color: var(--ps-ink);
  background: none;
  border: 0;
  border-top: 3px solid var(--ps-ink);
  font-feature-settings: "palt";
}

.ps-h2__no {
  flex: 0 0 auto;
  margin-top: 3px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.8;
  color: #fff;
  background: var(--ps-accent);
  border-radius: 9999px;
}

.ps h3.ps-h3 {
  margin: 30px 0 12px;
  padding: 0 0 0 14px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.55;
  color: var(--ps-ink);
  background: none;
  border: 0;
  border-left: 4px solid var(--ps-accent);
}

.ps-list {
  margin: 0 0 1.4em;
  padding: 0 0 0 1.4em;
}

.ps-list li {
  margin: 6px 0;
  line-height: 1.85;
}

ul.ps-list {
  list-style: disc;
}

ul.ps-list li {
  list-style: disc;
}

ol.ps-list {
  list-style: decimal;
}

ol.ps-list li {
  list-style: decimal;
}

.ps-note {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--ps-muted);
}

/* 枠(注意、ポイントなど): 角丸の箱+左の色線+アイコンをやめ、細い線で囲み、見出しを上辺に載せたタグにする。色は種類ごとに従来のまま */
.ps-callout {
  --cl: var(--ps-accent);
  --cl-bg: var(--ps-tint);
  position: relative;
  margin: 38px 0 26px;
  padding: 16px 22px;
  background: var(--cl-bg);
  border: 1.5px solid var(--cl);
  border-radius: 2px;
}

.ps-callout--warn {
  --cl: #b7791f;
  --cl-bg: var(--ps-warn);
}

.ps-callout--safe {
  --cl: var(--ps-safe-line);
  --cl-bg: var(--ps-safe);
}

.ps-callout--tip {
  --cl: #5b8fd6;
  --cl-bg: #eef4fb;
}

.ps-callout__title {
  position: absolute;
  top: -14px;
  left: 16px;
  display: inline-block;
  margin: 0;
  padding: 2px 14px;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.7;
  letter-spacing: .08em;
  color: #fff;
  background: var(--cl);
  border-radius: 2px;
}

.ps-callout__title .material-icons {
  display: none;
}

.ps-callout > :nth-child(2) {
  margin-top: 0 !important;
}

.ps-callout p:last-child,
.ps-callout ul:last-child {
  margin-bottom: 0;
}

.ps-callout .ps-list {
  margin-bottom: .4em;
}

/* 表 */
.ps-table-wrap {
  margin: 20px 0;
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--ps-line);
  border-radius: 16px;
  box-shadow: var(--ps-sh-sm);
  -webkit-overflow-scrolling: touch;
}

.ps-table-wrap:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--ps-tint-2);
}

.ps-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-size: 14.5px;
  line-height: 1.75;
}

.ps-table th,
.ps-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border: 0;
  border-bottom: 1px solid var(--ps-line);
}

.ps-table thead th {
  font-size: 12.5px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  background: var(--ps-accent);
  border-bottom: 0;
}

.ps-table tbody th {
  font-weight: 700;
  color: var(--ps-ink);
  background: var(--ps-bg);
}

.ps-table tbody tr:last-child th,
.ps-table tbody tr:last-child td {
  border-bottom: 0;
}

.ps-table tfoot th,
.ps-table tfoot td {
  font-weight: 800;
  background: var(--ps-bg);
  border-top: 2px solid var(--ps-ink);
  border-bottom: 0;
}

.ps-table--types,
.ps-table--tools {
  min-width: 0;
}

/* 手順(縦のタイムライン) */
.ps-steps {
  display: flex;
  flex-direction: column;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.ps-step {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 16px;
  padding-bottom: 14px;
  list-style: none;
}

.ps-step:last-child {
  padding-bottom: 0;
}

.ps-step::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 44px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(195, 33, 61, .5) 0%, rgba(195, 33, 61, .1) 100%);
}

.ps-step:last-child::after {
  display: none;
}

.ps-step__num {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, #c3213d 0%, #9c1a31 100%);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: var(--ps-sh-accent);
}

.ps-step__card {
  padding: 16px 20px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .05);
  border-radius: 18px;
  box-shadow: var(--ps-sh-md);
}

.ps-step__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin: 0 0 4px;
  font-size: 16.5px;
  line-height: 1.6;
}

.ps-step__tag {
  padding: 1px 10px;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--ps-accent);
  background: var(--ps-tint);
  border-radius: 9999px;
}

.ps-step__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
}

/* カード */
.ps-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0;
}

.ps-card {
  padding: 20px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .05);
  border-radius: 20px;
  box-shadow: var(--ps-sh-md);
}

.ps-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
  font-size: 24px !important;
  color: var(--ps-accent);
  background: var(--ps-tint);
  border-radius: 14px;
}

.ps h4.ps-card__title {
  margin: 0 0 6px;
  padding: 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
  color: var(--ps-ink);
  background: none;
  border: 0;
}

.ps-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
}

/* チェックリスト、記録表 */
.ps-checklist,
.ps-record {
  margin: 26px 0;
  padding: 20px;
  background: var(--ps-bg);
  border: 1px solid var(--ps-line);
  border-radius: 20px;
}

.ps-checklist__title {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.6;
  color: var(--ps-ink);
}

.ps-check {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ps-check li {
  margin: 0;
  list-style: none;
}

.ps-check__item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 48px;
  padding: 11px 14px;
  margin: 0;
  background: #fff;
  border: 1.5px solid var(--ps-line);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color .15s var(--ps-ease), background-color .15s var(--ps-ease);
}

.ps-check__item input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}

.ps-check__box {
  flex: 0 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  background: #fff;
  border: 2px solid #c7c7cc;
  border-radius: 8px;
  transition: background-color .15s var(--ps-ease), border-color .15s var(--ps-ease);
}

.ps-check__box::after {
  content: "";
  width: 6px;
  height: 11px;
  margin-top: -2px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(45deg) scale(0);
  transition: transform .15s var(--ps-ease);
}

.ps-check__text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ps-ink-2);
}

.ps-check__item:has(input:checked) {
  background: var(--ps-safe);
  border-color: var(--ps-safe-line);
}

.ps-check__item:has(input:checked) .ps-check__box {
  background: var(--ps-safe-line);
  border-color: var(--ps-safe-line);
}

.ps-check__item:has(input:checked) .ps-check__box::after {
  transform: rotate(45deg) scale(1);
}

.ps-check__item:has(input:checked) .ps-check__text {
  color: var(--ps-muted);
}

.ps-check__item:has(input:focus-visible) {
  box-shadow: 0 0 0 4px var(--ps-tint-2);
}

.ps-checklist__count {
  margin: 12px 0 0;
  font-size: 13px;
  font-weight: 800;
  color: var(--ps-muted);
}

.ps-checklist__count [data-done] {
  color: var(--ps-accent);
  font-size: 16px;
}

.ps-checklist__result {
  margin: 10px 0 0;
  padding: 12px 14px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.8;
  color: var(--ps-ink);
  background: #fff;
  border-left: 4px solid var(--ps-accent);
  border-radius: 10px;
}

.ps-checklist__result[hidden] {
  display: none;
}

.ps-checklist__tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
}

.ps-record .ps-table-wrap {
  margin: 0 0 8px;
}

.ps-record input[type="number"] {
  width: 64px;
  height: 40px;
  padding: 0 8px;
  font-family: inherit;
  font-size: 15px;
  text-align: center;
  color: var(--ps-ink);
  background: #fff;
  border: 1.5px solid var(--ps-line);
  border-radius: 10px;
}

.ps-record input[type="number"]:focus {
  outline: none;
  border-color: var(--ps-accent);
  box-shadow: 0 0 0 4px var(--ps-tint-2);
}

.ps-record__sum {
  font-weight: 800;
  text-align: center;
  color: var(--ps-ink);
}

.ps-record__note {
  min-height: 1.6em;
  margin: 8px 0 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--ps-accent-deep);
}

/* ボタン */
.ps a.ps-btn,
.ps button.ps-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 18px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .03em;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  transition: background-color .15s var(--ps-ease), color .15s var(--ps-ease), border-color .15s var(--ps-ease), transform .15s var(--ps-ease), box-shadow .3s var(--ps-ease);
}

.ps a.ps-btn--primary {
  color: #fff;
  background: var(--ps-accent);
  box-shadow: var(--ps-sh-accent);
}

.ps a.ps-btn--ghost,
.ps button.ps-btn--ghost {
  color: var(--ps-ink-2);
  background: #fff;
  border-color: var(--ps-line);
}

.ps a.ps-btn--lg {
  min-height: 56px;
  padding: 0 24px;
  font-size: 15px;
}

.ps .ps-btn .material-icons {
  font-size: 20px;
}

@media (hover: hover) {
  .ps a.ps-btn--primary:hover {
    color: #fff;
    background: var(--ps-accent-hover);
    transform: translateY(-2px);
  }

  .ps a.ps-btn--ghost:hover,
  .ps button.ps-btn--ghost:hover {
    color: var(--ps-accent);
    border-color: rgba(195, 33, 61, .4);
  }
}

.ps .ps-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--ps-tint-2);
}

.ps-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin: 26px 0 6px;
}

/* 商品 */
.ps-products {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 22px 0;
}

.ps-product {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 20px;
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .05);
  border-radius: 22px;
  box-shadow: var(--ps-sh-md);
}

.ps-product__img {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: #f4f4f5;
  border-radius: 16px;
}

.ps-product__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.ps-product__who {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 6px;
  padding: 3px 12px 3px 8px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--ps-accent);
  background: var(--ps-tint);
  border-radius: 9999px;
}

.ps h4.ps-product__name {
  margin: 0 0 8px;
  padding: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
  background: none;
  border: 0;
}

.ps h4.ps-product__name a {
  color: var(--ps-ink);
  text-decoration: none;
}

.ps-product__points {
  margin: 0 0 12px;
  padding: 0 0 0 1.2em;
  font-size: 14px;
  line-height: 1.8;
  list-style: disc;
}

.ps-product__points li {
  margin: 2px 0;
  list-style: disc;
}

.ps-product__buy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}

.ps-product__price {
  font-size: 20px;
  font-weight: 800;
  color: var(--ps-accent);
}

.ps-product__price small {
  font-size: 11px;
  font-weight: 600;
  color: var(--ps-muted);
}

.ps-bundles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 0;
}

.ps-bundle {
  padding: 20px;
  background: linear-gradient(135deg, #fff 0%, #fdf1f3 100%);
  border: 1px solid rgba(195, 33, 61, .16);
  border-radius: 20px;
}

.ps-bundle__title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--ps-ink);
}

.ps-bundle__price {
  margin: 2px 0 6px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--ps-accent);
}

.ps-bundle__price small {
  margin-left: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ps-muted);
}

.ps-bundle__text {
  margin: 0 0 8px;
  font-size: 13.5px;
  line-height: 1.8;
}

.ps-bundle__items {
  margin: 0;
  padding: 0 0 0 1.2em;
  font-size: 13px;
  line-height: 1.7;
  list-style: disc;
}

.ps-bundle__items li {
  list-style: disc;
}

/* よくある質問 */
.ps-faq__item {
  margin: 0 0 10px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .05);
  border-radius: 16px;
  box-shadow: var(--ps-sh-sm);
}

.ps-faq__item summary {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 48px 16px 18px;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.65;
  color: var(--ps-ink);
  list-style: none;
  cursor: pointer;
}

.ps-faq__item summary::-webkit-details-marker {
  display: none;
}

.ps-faq__item summary::before {
  content: "Q";
  flex: 0 0 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: var(--ps-accent);
  border-radius: 50%;
}

.ps-faq__item summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 24px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--ps-muted);
  border-bottom: 2px solid var(--ps-muted);
  transform: rotate(45deg);
  transition: transform .3s var(--ps-ease);
}

.ps-faq__item[open] summary::after {
  transform: translateY(4px) rotate(225deg);
}

.ps-faq__item p {
  margin: 0;
  padding: 0 20px 18px 58px;
  font-size: 15px;
  line-height: 1.9;
}

.ps-summary p {
  font-size: 16.5px;
}

/* 著者 */
.ps-author {
  margin: 0 0 24px;
  padding: 28px;
  color: rgba(255, 255, 255, .8);
  background:
    radial-gradient(520px 320px at 100% 0%, rgba(195, 33, 61, .45), transparent 70%),
    linear-gradient(145deg, #1f1f22 0%, #111113 100%);
  border-radius: 26px;
  box-shadow: var(--ps-sh-lg);
  scroll-margin-top: 70px;
}

.ps h2.ps-author__label {
  margin: 0 0 16px;
  padding: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  color: #ff8fa3;
  background: none;
  border: 0;
}

.ps-author__main {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.ps-author__img {
  flex: 0 0 120px;
  width: 120px;
  height: 120px;
  object-fit: cover;
  object-position: center 10%;
  border: 3px solid rgba(255, 255, 255, .85);
  border-radius: 50%;
}

.ps-author__name {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.4;
  color: #fff;
}

.ps-author__name small {
  margin-left: 8px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, .6);
}

.ps-author__role {
  margin: 2px 0 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  color: rgba(255, 255, 255, .9);
}

.ps .ps-author a {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, .5);
}

.ps-author__lead {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
}

.ps h3.ps-author__sub {
  margin: 0 0 8px;
  padding: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .6);
  background: none;
  border: 0;
}

.ps-author__career {
  margin: 0 0 16px;
}

.ps-author__career div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.ps-author__career dt {
  font-size: 13px;
  font-weight: 800;
  color: #ff8fa3;
}

.ps-author__career dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #fff;
}

.ps-author__facts {
  margin: 0 0 14px;
  padding: 0 0 0 1.2em;
  font-size: 13.5px;
  line-height: 1.8;
  list-style: disc;
}

.ps-author__facts li {
  list-style: disc;
}

.ps-author__motto {
  margin: 0;
  padding: 14px 16px;
  font-size: 13.5px;
  line-height: 1.85;
  background: rgba(255, 255, 255, .08);
  border-radius: 14px;
}

/* 目次の浮かぶボタン(スマホ) */
.ps-fab {
  position: fixed;
  right: 14px;
  bottom: 84px;
  z-index: 9990;
  display: none;
  align-items: center;
  gap: 6px;
  min-height: 48px;
  padding: 0 18px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 800;
  color: #fff;
  background: var(--ps-ink, #171717);
  border: 0;
  border-radius: 9999px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .3);
  cursor: pointer;
}

.ps-fab .material-icons {
  font-size: 20px;
}

.ps-sheet {
  width: min(520px, calc(100vw - 24px));
  max-height: 80vh;
  padding: 0;
  font-family: "Inter", "Hiragino Sans", "Noto Sans JP", "Yu Gothic UI", "Meiryo", sans-serif;
  border: 0;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}

.ps-sheet::backdrop {
  background: rgba(0, 0, 0, .45);
}

.ps-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  font-size: 15px;
  font-weight: 800;
  border-bottom: 1px solid #e5e5e5;
}

.ps-sheet__close {
  width: 44px;
  height: 44px;
  font-size: 20px;
  line-height: 1;
  background: none;
  border: 0;
  cursor: pointer;
}

.ps-sheet ol {
  margin: 0;
  padding: 8px;
  list-style: none;
}

.ps-sheet li {
  list-style: none;
}

.ps-sheet a {
  display: flex;
  gap: 10px;
  padding: 12px 12px;
  font-size: 14.5px;
  line-height: 1.55;
  color: #262626;
  text-decoration: none;
  border-radius: 12px;
}

.ps-sheet a span {
  flex: 0 0 22px;
  font-weight: 800;
  color: #c3213d;
  text-align: right;
}

.ps-sheet a:active {
  background: rgba(195, 33, 61, .08);
}

/* 印刷(チェックリスト、記録表だけ) */
.ps-printing body * {
  visibility: hidden;
}

.ps-printing .ps-print-target,
.ps-printing .ps-print-target * {
  visibility: visible;
}

.ps-printing .ps-print-target {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  background: #fff;
}

@media print {
  .ps-print-target .ps-checklist__tools,
  .ps-fab,
  .ps-progress {
    display: none !important;
  }
}

/* タブレット、スマホ */
@media (max-width: 860px) {
  .ps-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .ps-product {
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 14px;
  }

  .ps-fab {
    display: inline-flex;
  }
}

@media (max-width: 720px) {
  .ps {
    font-size: 16px;
  }

  .ps-answer {
    padding: 20px 16px 16px;
    border-radius: 20px;
  }

  .ps-answer__steps,
  .ps-toc__list,
  .ps-bundles {
    grid-template-columns: minmax(0, 1fr);
  }

  .ps-toc {
    padding: 16px;
  }

  .ps-diag {
    padding: 18px 16px;
    border-radius: 20px;
  }

  .ps-opt span {
    width: 100%;
  }

  .ps-q__opts {
    flex-direction: column;
  }

  .ps-opt {
    width: 100%;
  }

  .ps-result {
    padding: 18px 16px;
  }

  .ps-result__steps {
    flex-direction: column;
  }

  .ps-result__steps a {
    width: 100%;
  }

  .ps-sec {
    margin-bottom: 44px;
  }

  .ps h2.ps-h2 {
    flex-direction: column;
    gap: 8px;
    padding-top: 14px;
  }

  .ps-step {
    grid-template-columns: 36px minmax(0, 1fr);
    column-gap: 12px;
  }

  .ps-step::after {
    left: 17px;
    top: 36px;
  }

  .ps-step__num {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }

  .ps-step__card {
    padding: 14px 16px;
  }

  .ps-checklist,
  .ps-record {
    padding: 16px 14px;
  }

  /* 表は、項目名つきのカードに切り替える(横にスクロールさせない) */
  .ps-table-wrap:has(.ps-table--route, .ps-table--types, .ps-table--tools, .ps-table--judge) {
    overflow: visible;
    background: none;
    border: 0;
    box-shadow: none;
  }

  /* 記録表は、横にスクロールさせず、画面幅に収める */
  .ps-record .ps-table-wrap {
    overflow: visible;
  }

  .ps-record .ps-table {
    table-layout: fixed;
  }

  .ps-record .ps-table th,
  .ps-record .ps-table td {
    padding: 8px 3px;
    font-size: 12px;
    word-break: break-all;
  }

  .ps-record .ps-table th:first-child {
    width: 24%;
    padding-left: 6px;
  }

  .ps-record .ps-table tfoot th {
    color: var(--ps-ink);
    background: var(--ps-bg);
  }

  .ps-record .ps-table td.ps-record__sum {
    text-align: center;
  }

  .ps-record input[type="number"] {
    width: 100%;
    min-width: 0;
    height: 38px;
    padding: 0 2px;
    font-size: 15px;
  }

  /* パンくずは折り返す(横スクロールさせない) */
  .breadcrumb {
    overflow-x: visible !important;
  }

  .breadcrumb__list {
    flex-wrap: wrap !important;
    white-space: normal !important;
  }

  .breadcrumb__item {
    max-width: 100%;
    white-space: normal !important;
    word-break: break-all;
  }

  .ps-table--route thead,
  .ps-table--types thead,
  .ps-table--tools thead,
  .ps-table--judge thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .ps-table--route,
  .ps-table--types,
  .ps-table--tools,
  .ps-table--judge,
  .ps-table--route tbody,
  .ps-table--types tbody,
  .ps-table--tools tbody,
  .ps-table--judge tbody,
  .ps-table--route tr,
  .ps-table--types tr,
  .ps-table--tools tr,
  .ps-table--judge tr,
  .ps-table--route th,
  .ps-table--types th,
  .ps-table--tools th,
  .ps-table--judge th,
  .ps-table--route td,
  .ps-table--types td,
  .ps-table--tools td,
  .ps-table--judge td {
    display: block;
    width: 100%;
  }

  .ps-table--route tr,
  .ps-table--types tr,
  .ps-table--tools tr,
  .ps-table--judge tr {
    margin: 0 0 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--ps-line);
    border-radius: 16px;
    box-shadow: var(--ps-sh-sm);
  }

  .ps-table--route tbody th,
  .ps-table--types tbody th,
  .ps-table--tools tbody th,
  .ps-table--judge tbody th {
    padding: 12px 16px;
    font-size: 15px;
    color: #fff;
    background: var(--ps-accent);
    border-bottom: 0;
  }

  .ps-table--route tbody th strong,
  .ps-table--types tbody th strong,
  .ps-table--tools tbody th strong {
    color: #fff;
  }

  .ps-table--route td,
  .ps-table--types td,
  .ps-table--tools td,
  .ps-table--judge td {
    padding: 10px 16px;
    border-bottom: 1px solid var(--ps-line);
  }

  .ps-table--route tr td:last-child,
  .ps-table--types tr td:last-child,
  .ps-table--tools tr td:last-child,
  .ps-table--judge tr td:last-child {
    border-bottom: 0;
  }

  .ps-table--route td::before,
  .ps-table--types td::before,
  .ps-table--tools td::before,
  .ps-table--judge td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .06em;
    color: var(--ps-accent);
  }

  .ps-product {
    grid-template-columns: minmax(0, 1fr);
  }

  .ps-product__img {
    max-width: 220px;
  }

  .ps-faq__item p {
    padding: 0 16px 16px;
  }

  .ps-author {
    padding: 22px 18px;
    border-radius: 22px;
  }

  .ps-author__main {
    flex-direction: column;
    align-items: flex-start;
  }

  .ps-author__career div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .ps-cta a {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ps * {
    transition: none !important;
  }
}
