.v9-portal-guide {
  color: var(--ink);
}
.pg-section {
  padding: clamp(36px, 5vw, 76px) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--mast-height, 67px) + 48px);
}
.pg-opening {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  gap: clamp(28px, 5.5vw, 80px);
  align-items: center;
}
.pg-copy h2 {
  margin: 0 0 22px;
  font-family: var(--head);
  font-size: clamp(30px, 3.9vw, 58px);
  line-height: 1.08;
  letter-spacing: -.04em;
}
.pg-copy p {
  max-width: 61ch;
  margin: 0 0 12px;
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.66;
}
.pg-copy p:last-child { margin-bottom: 0; }
.pg-visual {
  min-width: 0;
  padding: clamp(18px, 3vw, 38px);
  border-radius: 18px;
  color: var(--ink);
}
.pg-visual small { display: block; font-size: 13px; line-height: 1.4; }
.pg-visual strong { display: block; font-family: var(--head); line-height: 1.24; }
.pg-agreement { background: #f4e5d9; }
.pg-agreement-product, .pg-rates>div, .pg-quote, .pg-ledger-heading,
.pg-match-good, .pg-suggestion, .pg-choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pg-agreement-product { justify-content: flex-start; gap: 14px; }
.pg-agreement-product strong, .pg-suggestion strong { font-size: clamp(22px, 2.4vw, 32px); }
.pg-agreement-product .goods-art {
  width: clamp(64px, 8vw, 98px);
  height: 74px;
  background: #fff7ef;
  border-radius: 12px;
}
.pg-rates { margin: 19px 0 0; }
.pg-rates>div { border-top: 1px solid #d6c2ae; padding: 11px 0; }
.pg-rates dd { margin: 0; font-weight: 700; white-space: nowrap; }
.pg-rates dd small { display: inline; font-weight: 500; }
.pg-quote {
  background: #fffaf2;
  padding: 15px 18px;
  margin-top: 8px;
  border-radius: 10px;
}
.pg-quote strong { font-size: clamp(28px, 3.3vw, 48px); letter-spacing: -.045em; }
.pg-quote span, .pg-match-good span { display: block; margin-top: 3px; font-variant-numeric: tabular-nums; }
.pg-catalog-evidence, .pg-record {
  margin-top: clamp(22px, 3.8vw, 48px);
  padding: clamp(14px, 3vw, 36px);
  border: 1px solid #e2dce8;
  border-radius: 16px;
  background: #f6f3f8;
}
.pg-catalog-evidence {
  display: grid;
  grid-template-columns: minmax(0, 375px) 50px minmax(0, 350px);
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 3vw, 40px);
}
.pg-forward {
  color: #635278;
  font-size: 32px;
  justify-self: center;
}
.pg-capture { width: 100%; margin: 0 auto; }
.pg-record .pg-capture { max-width: 1050px; }
.pg-capture button {
  display: block;
  position: relative;
  width: 100%;
  background: #fff;
  border: 1px solid #e2dce8;
  border-radius: 10px;
  padding: 0;
  overflow: hidden;
  cursor: zoom-in;
}
.pg-capture img { display: block; width: 100%; height: auto; }
.pg-capture button span {
  position: absolute;
  bottom: 5px;
  right: 5px;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  background: #fff;
  border: 1px solid #c4bcd4;
  border-radius: 5px;
  color: #574970;
  font-size: 17px;
  line-height: 1;
}
.pg-capture figcaption { margin: 10px 0 0; font-size: 14px; line-height: 1.5; color: #554e60; }
.pg-ledger { background: #e4eee6; }
.pg-ledger-heading { border-bottom: 2px solid #87a291; padding-bottom: 10px; }
.pg-ledger-heading strong { font-size: clamp(20px, 2.2vw, 28px); }
.pg-ledger-heading>span { font-variant-numeric: tabular-nums; color: #3d5b4b; }
.pg-ledger table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 15px; }
.pg-ledger th, .pg-ledger td {
  padding: 12px 5px;
  text-align: right;
  border-bottom: 1px solid #bed1c1;
  line-height: 1.35;
}
.pg-ledger th:first-child { text-align: left; width: 41%; padding-left: 0; }
.pg-ledger thead th { font-size: 12px; font-weight: 500; vertical-align: bottom; }
.pg-ledger tbody th { font-size: 15px; }
.pg-ledger tbody th .goods-art { display: inline-block; vertical-align: middle; width: 42px; height: 40px; margin-right: 4px; }
.pg-ledger tbody th span { vertical-align: middle; }
.pg-ledger tbody td b { background: #fbfdf7; border-radius: 7px; padding: 4px 7px; white-space: nowrap; }
.pg-ledger tfoot th, .pg-ledger tfoot td { font-weight: 750; border: 0; padding-bottom: 0; }
.pg-ledger tfoot td:last-child { font-family: var(--head); font-size: 23px; color: #315d45; }
.pg-match { background: #eee8f6; }
.pg-note { position: relative; margin: 0 18px 24px 0; padding: 17px 20px; background: white; border-radius: 12px 12px 12px 1px; }
.pg-note::after {
  position: absolute; left: 0; bottom: -9px; content: '';
  width: 0; border-right: 11px solid transparent; border-top: 10px solid white;
}
.pg-note small { color: #655570; }
.pg-note blockquote { margin: 7px 0 0; font-size: clamp(20px, 2.3vw, 30px); font-weight: 600; line-height: 1.35; }
.pg-match-line { padding-top: 14px; border-top: 1px solid #cec2d9; }
.pg-match-good { margin-top: 9px; }
.pg-match-good .goods-art { flex: 0 1 64px; width: 64px; height: 58px; background: #f9eadf; border-radius: 8px; }
.pg-match-good>div { flex: 1; }
.pg-match-good strong { font-size: 18px; }
.pg-match-good>b { font-size: clamp(19px, 2.4vw, 30px); }
.pg-suggestions { background: #e4ebdf; }
.pg-suggestion { padding: 13px 17px; background: #fcfdf6; border-radius: 10px; }
.pg-suggestion+.pg-suggestion { margin-top: 8px; }
.pg-suggestion small { color: #4e624e; }
.pg-suggestion .goods-art { width: 76px; height: 66px; }
.pg-choice { justify-content: flex-start; gap: 10px; padding: 12px 4px 0; line-height: 1.35; }
.pg-choice>span { font-size: 23px; }
@media (max-width: 840px) {
  .pg-opening { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .pg-copy p { max-width: 76ch; }
  .pg-visual { width: 100%; }
  .pg-catalog-evidence { grid-template-columns: minmax(0, 375px) 24px minmax(0, 350px); }
}
@media (max-width: 555px) {
  .pg-section { padding: 34px 0; }
  .pg-copy h2 { margin-bottom: 14px; }
  .pg-catalog-evidence { grid-template-columns: minmax(0, 375px); gap: 10px; }
  .pg-catalog-evidence .pg-capture:last-child { max-width: 350px; }
  .pg-forward { transform: rotate(90deg); line-height: 1; }
  .pg-record { padding: 8px; }
  .pg-record figcaption { padding: 0 4px 4px; }
  .pg-ledger tbody th .goods-art { display: block; height: 34px; }
  .pg-ledger th:first-child { width: 37%; }
  .pg-suggestion .goods-art { flex: 0 0 55px; width: 55px; height: 53px; }
  .pg-match-good { gap: 8px; }
  .pg-match-good .goods-art { flex: 0 0 46px; width: 46px; height: 46px; }
}
