.cl-price-hub {
  --clph-forest: var(--primary, #123f32);
  --clph-forest-2: var(--primary-700, #1f5a46);
  --clph-ivory: var(--bg-soft, #f7f5ef);
  --clph-brass: var(--accent, #b08d57);
  --clph-ink: var(--text, #101820);
  --clph-muted: var(--text-muted, #5b6470);
  --clph-border: var(--border, #ddd8cc);
  --clph-white: #ffffff;
  --clph-up: #176b45;
  --clph-down: #9a3f37;
  margin: 0 0 64px;
  padding: 32px;
  border: 1px solid var(--clph-border);
  border-radius: 20px;
  background: var(--clph-white);
  color: var(--clph-ink);
  box-shadow: 0 14px 40px rgba(7, 28, 26, 0.08);
  font-family: var(--sans, "Noto Sans JP", sans-serif);
  line-height: 1.8;
  overflow: hidden;
}

.cl-price-hub *,
.cl-price-hub *::before,
.cl-price-hub *::after {
  box-sizing: border-box;
}

.cl-price-hub__head {
  display: grid;
  grid-template-columns: minmax(0, 1.618fr) minmax(180px, 1fr);
  gap: 32px;
  align-items: end;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--clph-border);
}

.cl-price-hub__eyebrow {
  margin: 0 0 8px;
  color: var(--clph-forest-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.cl-price-hub .cl-price-hub__head h2 {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--clph-ink);
  font-family: var(--serif, "Noto Serif JP", serif);
  font-size: clamp(25px, 4vw, 36px);
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.cl-price-hub .cl-price-hub__head h2::before {
  display: none;
}

.cl-price-hub__phrase {
  display: inline-block;
  white-space: nowrap;
}

.cl-price-hub__lead {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--clph-muted);
  font-size: 15px;
  line-height: 1.9;
}

.cl-price-hub__stamp {
  padding: 18px 20px;
  border-left: 3px solid var(--clph-brass);
  background: var(--clph-ivory);
}

.cl-price-hub__stamp span,
.cl-price-hub__stamp small {
  display: block;
  color: var(--clph-muted);
  font-size: 12px;
}

.cl-price-hub__stamp strong {
  display: block;
  margin: 3px 0;
  color: var(--clph-ink);
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}

.cl-price-hub__quotes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.cl-price-hub__quote {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--clph-border);
  border-radius: 12px;
  background: var(--clph-white);
}

.cl-price-hub__quote-label,
.cl-price-hub__quote-value,
.cl-price-hub__delta {
  margin: 0;
}

.cl-price-hub__quote-label {
  min-height: 42px;
  color: var(--clph-muted);
  font-size: 13px;
  line-height: 1.55;
}

.cl-price-hub__quote-value {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px;
  margin-top: 6px;
}

.cl-price-hub__quote-value strong {
  color: var(--clph-ink);
  font-size: clamp(24px, 4vw, 31px);
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}

.cl-price-hub__quote-value span,
.cl-price-hub__delta {
  color: var(--clph-muted);
  font-size: 12px;
}

.cl-price-hub__delta {
  margin-top: 7px;
  font-variant-numeric: tabular-nums;
}

.cl-price-hub .is-up { color: var(--clph-up); }
.cl-price-hub .is-down { color: var(--clph-down); }
.cl-price-hub .is-flat { color: var(--clph-muted); }

.cl-price-hub__chart-card {
  margin-top: 16px;
  padding: 20px;
  border: 1px solid var(--clph-border);
  border-radius: 12px;
  background: var(--clph-ivory);
}

.cl-price-hub__toolbar {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
}

.cl-price-hub .cl-price-hub__toolbar h3 {
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--clph-ink);
  font-family: var(--sans, "Noto Sans JP", sans-serif);
  font-size: 17px;
  line-height: 1.5;
}

.cl-price-hub .cl-price-hub__toolbar h3::before {
  display: none;
}

.cl-price-hub__toolbar p {
  margin: 3px 0 0;
  color: var(--clph-muted);
  font-size: 12px;
}

.cl-price-hub__ranges,
.cl-price-hub__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cl-price-hub__ranges button,
.cl-price-hub__legend button {
  min-height: 44px;
  padding: 8px 13px;
  border: 1px solid var(--clph-border);
  border-radius: 8px;
  background: var(--clph-white);
  color: var(--clph-muted);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.cl-price-hub__ranges button[aria-pressed="true"] {
  border-color: var(--clph-forest);
  background: var(--clph-forest);
  color: #ffffff;
}

.cl-price-hub__ranges button:focus-visible,
.cl-price-hub__legend button:focus-visible,
.cl-price-hub__action:focus-visible,
.cl-price-hub__table-wrap summary:focus-visible {
  outline: 3px solid rgba(176, 141, 87, 0.45);
  outline-offset: 3px;
}

.cl-price-hub__legend {
  margin-top: 14px;
}

.cl-price-hub__legend button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 6px 10px;
  font-weight: 500;
}

.cl-price-hub__legend button[aria-pressed="false"] {
  background: var(--clph-ivory);
  color: var(--clph-ink);
}

.cl-price-hub__legend button[aria-pressed="false"] .cl-price-hub__legend-dot {
  opacity: 0.32;
}

.cl-price-hub__legend-dot {
  width: 12px;
  height: 3px;
  border-radius: 2px;
  background: var(--series-color);
}

.cl-price-hub__chart-wrap {
  position: relative;
  min-height: 340px;
  margin-top: 8px;
}

.cl-price-hub__chart {
  width: 100%;
  height: auto;
  min-height: 340px;
  overflow: visible;
}

.cl-price-hub__chart text {
  fill: var(--clph-muted);
  font-family: var(--sans, "Noto Sans JP", sans-serif);
  font-size: 12px;
}

.cl-price-hub__chart .clph-grid {
  stroke: var(--clph-border);
  stroke-width: 1;
}

.cl-price-hub__chart .clph-line {
  fill: none;
  stroke-width: 2.5;
  vector-effect: non-scaling-stroke;
}

.cl-price-hub__chart .clph-focus {
  fill: var(--clph-white);
  stroke-width: 2.5;
  vector-effect: non-scaling-stroke;
}

.cl-price-hub__tooltip {
  position: absolute;
  z-index: 5;
  min-width: 190px;
  padding: 10px 12px;
  border: 1px solid var(--clph-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 24px rgba(7, 28, 26, 0.14);
  color: var(--clph-ink);
  font-size: 12px;
  line-height: 1.6;
  pointer-events: none;
}

.cl-price-hub__tooltip strong {
  display: block;
  margin-bottom: 3px;
}

.cl-price-hub__tooltip span {
  display: block;
}

.cl-price-hub__table-wrap {
  margin-top: 16px;
  border: 1px solid var(--clph-border);
  border-radius: 12px;
  background: var(--clph-white);
}

.cl-price-hub__table-wrap summary {
  min-height: 44px;
  padding: 13px 16px;
  color: var(--clph-forest);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.cl-price-hub__table-scroll {
  overflow-x: auto;
  border-top: 1px solid var(--clph-border);
  -webkit-overflow-scrolling: touch;
}

.cl-price-hub__table-scroll table {
  width: 100%;
  min-width: 700px;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  font-size: 13px;
}

.cl-price-hub__table-scroll th,
.cl-price-hub__table-scroll td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--clph-border);
  background: var(--clph-white);
  color: var(--clph-ink);
  text-align: right;
  white-space: nowrap;
}

.cl-price-hub__table-scroll th:first-child,
.cl-price-hub__table-scroll td:first-child,
.cl-price-hub__table-scroll th:last-child,
.cl-price-hub__table-scroll td:last-child {
  text-align: left;
}

.cl-price-hub__definition {
  margin-top: 16px;
  padding: 18px 20px;
  border-left: 3px solid var(--clph-brass);
  background: var(--clph-ivory);
}

.cl-price-hub__definition p {
  margin: 0;
  color: var(--clph-muted);
  font-size: 14px;
  line-height: 1.9;
}

.cl-price-hub__definition p + p {
  margin-top: 8px;
}

.cl-price-hub__definition strong {
  color: var(--clph-ink);
}

.cl-price-hub__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.cl-price-hub__action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid var(--clph-forest);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.cl-price-hub__action--primary {
  background: var(--clph-forest);
  color: #ffffff;
}

.cl-price-hub__action--secondary {
  background: var(--clph-white);
  color: var(--clph-forest);
}

.cl-price-hub__source {
  margin: 16px 0 0;
  color: var(--clph-muted);
  font-size: 12px;
  line-height: 1.75;
}

.cl-price-hub__source a {
  color: var(--clph-forest);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cl-price-hub--error {
  padding: 20px;
  background: var(--clph-ivory);
}

.cl-price-hub--error p {
  margin: 0;
}

.cl-price-hub--error p + p {
  margin-top: 6px;
}

@media (max-width: 900px) {
  .cl-price-hub {
    padding: 24px;
  }

  .cl-price-hub__head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .cl-price-hub__quotes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cl-price-hub__toolbar {
    display: block;
  }

  .cl-price-hub__ranges {
    margin-top: 12px;
  }
}

@media (max-width: 560px) {
  .cl-price-hub {
    margin-bottom: 48px;
    padding: 20px 16px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .cl-price-hub__quotes {
    grid-template-columns: 1fr;
  }

  .cl-price-hub__quote-label,
  .cl-price-hub__quote-value span,
  .cl-price-hub__delta,
  .cl-price-hub__toolbar p,
  .cl-price-hub__ranges button,
  .cl-price-hub__legend button,
  .cl-price-hub__source {
    font-size: 14px;
  }

  .cl-price-hub__quote {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2px 12px;
    align-items: baseline;
  }

  .cl-price-hub__quote-label {
    min-height: 0;
  }

  .cl-price-hub__quote-value {
    grid-row: 1 / span 2;
    grid-column: 2;
    justify-content: flex-end;
    margin-top: 0;
  }

  .cl-price-hub__delta {
    grid-row: 2;
    grid-column: 1;
  }

  .cl-price-hub__chart-card {
    padding: 16px 10px 12px;
  }

  .cl-price-hub__ranges button {
    flex: 1 1 calc(50% - 4px);
  }

  .cl-price-hub__chart-wrap,
  .cl-price-hub__chart {
    min-height: 300px;
  }

  .cl-price-hub__actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cl-price-hub *,
  .cl-price-hub *::before,
  .cl-price-hub *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.cl-price-methods {
  --clph-forest: var(--primary, #123f32);
  --clph-white: #ffffff;
  margin: 0 0 48px;
  padding: 24px;
  border: 1px solid var(--border, #ddd8cc);
  border-radius: 16px;
  background: var(--bg-soft, #f7f5ef);
  color: var(--text, #101820);
  font-family: var(--sans, "Noto Sans JP", sans-serif);
}

.cl-price-methods__eyebrow {
  margin: 0 0 6px;
  color: var(--primary, #123f32);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.cl-price-methods h2 {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text, #101820);
  font-family: var(--serif, "Noto Serif JP", serif);
  font-size: 26px;
  line-height: 1.5;
}

.cl-price-methods h2::before {
  display: none;
}

.cl-price-methods > p:not(.cl-price-methods__eyebrow) {
  margin: 12px 0 0;
  color: var(--text-muted, #5b6470);
  font-size: 14px;
  line-height: 1.9;
}

.cl-price-methods__table-scroll {
  margin-top: 16px;
  overflow-x: auto;
  border: 1px solid var(--border, #ddd8cc);
  border-radius: 10px;
  background: #ffffff;
  -webkit-overflow-scrolling: touch;
}

.cl-price-methods table {
  width: 100%;
  min-width: 680px;
  margin: 0;
  border-collapse: collapse;
  font-size: 13px;
}

.cl-price-methods th,
.cl-price-methods td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border, #ddd8cc);
  background: #ffffff;
  color: var(--text, #101820);
  text-align: left;
  white-space: nowrap;
}

.cl-price-methods td:nth-child(2),
.cl-price-methods thead th:nth-child(2) {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.cl-price-methods .cl-price-methods__link a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  color: var(--primary, #123f32);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cl-price-methods__decision {
  margin-top: 16px !important;
  padding-top: 16px;
  border-top: 1px solid var(--border, #ddd8cc);
}

.cl-price-methods__actions {
  margin-top: 16px;
}

@media (max-width: 560px) {
  .cl-price-methods {
    padding: 20px 16px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .cl-price-methods__eyebrow,
  .cl-price-methods > p:not(.cl-price-methods__eyebrow),
  .cl-price-methods table {
    font-size: 14px;
  }

  .cl-price-methods h2 {
    font-size: 24px;
  }

  .cl-price-methods table {
    min-width: 0;
  }

  .cl-price-methods thead tr,
  .cl-price-methods tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .cl-price-methods th,
  .cl-price-methods td {
    display: block;
    width: auto;
    white-space: normal;
  }

  .cl-price-methods th:nth-child(2),
  .cl-price-methods td:nth-child(2) {
    white-space: nowrap;
  }

  .cl-price-methods th:nth-child(3),
  .cl-price-methods td:nth-child(3) {
    grid-column: 1 / -1;
    padding-top: 6px;
    color: var(--text-muted, #5b6470);
    font-size: 12px;
  }

  .cl-price-methods th:nth-child(3) {
    display: none;
  }
}

@media (max-width: 560px) {
  #body_wrap.postid-10 .post_content .article-prose > #h3312992add ~ table:not(#h3312992add ~ table ~ table) {
    display: block;
    width: 100%;
    scroll-margin-top: calc(var(--swl-headerH, 49px) + 16px);
    border: 0;
    border-collapse: separate;
    background: transparent;
    font-size: 14px;
  }

  #body_wrap.postid-10 .post_content .article-prose > #h3312992add ~ table:not(#h3312992add ~ table ~ table) tbody {
    display: grid;
    gap: 16px;
  }

  #body_wrap.postid-10 .post_content .article-prose > #h3312992add ~ table:not(#h3312992add ~ table ~ table) tbody > tr:first-child {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }

  #body_wrap.postid-10 .post_content .article-prose > #h3312992add ~ table:not(#h3312992add ~ table ~ table) tbody > tr:not(:first-child) {
    display: block;
    width: 100%;
    overflow: hidden;
    scroll-margin-top: calc(var(--swl-headerH, 49px) + 16px);
    border: 1px solid var(--primary, #123f32);
    border-radius: 12px;
    background: #ffffff;
  }

  #body_wrap.postid-10 .post_content .article-prose > #h3312992add ~ table:not(#h3312992add ~ table ~ table) tbody > tr:not(:first-child) > th,
  #body_wrap.postid-10 .post_content .article-prose > #h3312992add ~ table:not(#h3312992add ~ table ~ table) tbody > tr:not(:first-child) > td {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: none;
    padding: 14px calc(52px + 8px) 14px 16px;
    border: 0;
    background: #ffffff;
    color: var(--text, #101820);
    font-size: 14px;
    line-height: 1.8;
    text-align: left;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
  }

  #body_wrap.postid-10 .post_content .article-prose > #h3312992add ~ table:not(#h3312992add ~ table ~ table) tbody > tr:not(:first-child) > th {
    border-left: 4px solid var(--primary, #123f32);
    background: var(--bg-soft, #f7f5ef);
    color: var(--primary, #123f32);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.7;
  }

  #body_wrap.postid-10 .post_content .article-prose > #h3312992add ~ table:not(#h3312992add ~ table ~ table) tbody > tr:not(:first-child) > td {
    border-top: 1px solid var(--border, #ddd8cc);
  }

  #body_wrap.postid-10 .post_content .article-prose > #h3312992add ~ table:not(#h3312992add ~ table ~ table) tbody > tr:not(:first-child) > :is(th, td) > p {
    width: 100%;
    margin: 0;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
  }

  #body_wrap.postid-10 .post_content .article-prose > #h3312992add ~ table:not(#h3312992add ~ table ~ table) tbody > tr:not(:first-child) > td::before {
    display: block;
    margin-bottom: 4px;
    color: var(--primary, #123f32);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
  }

  #body_wrap.postid-10 .post_content .article-prose > #h3312992add ~ table:not(#h3312992add ~ table ~ table) tbody > tr:not(:first-child) > td:nth-child(2)::before {
    content: "概要";
  }

  #body_wrap.postid-10 .post_content .article-prose > #h3312992add ~ table:not(#h3312992add ~ table ~ table) tbody > tr:not(:first-child) > td:nth-child(3)::before {
    content: "代表的な方法論の例";
  }

  #body_wrap.postid-10 .post_content .article-prose > #h3312992add ~ table:not(#h3312992add ~ table ~ table) tbody > tr:not(:first-child) > td:nth-child(4)::before {
    content: "こんな企業・活動におすすめ";
  }
}

@media (min-width: 561px) {
  #body_wrap.postid-10 .post_content .article-prose > #h3312992add ~ table:not(#h3312992add ~ table ~ table) {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  #body_wrap.postid-10 .post_content .article-prose > #h3312992add ~ table:not(#h3312992add ~ table ~ table) tbody {
    display: table;
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
  }

  #body_wrap.postid-10 .post_content .article-prose > #h3312992add ~ table:not(#h3312992add ~ table ~ table) th,
  #body_wrap.postid-10 .post_content .article-prose > #h3312992add ~ table:not(#h3312992add ~ table ~ table) td {
    word-break: normal;
    overflow-wrap: break-word;
    line-break: strict;
  }

  #body_wrap.postid-10 .post_content .article-prose > #h3312992add ~ table:not(#h3312992add ~ table ~ table) :is(th, td):nth-child(1) {
    min-width: 160px;
    white-space: nowrap;
  }

  #body_wrap.postid-10 .post_content .article-prose > #h3312992add ~ table:not(#h3312992add ~ table ~ table) :is(th, td):nth-child(2) {
    min-width: 136px;
  }

  #body_wrap.postid-10 .post_content .article-prose > #h3312992add ~ table:not(#h3312992add ~ table ~ table) :is(th, td):nth-child(3) {
    min-width: 344px;
  }

  #body_wrap.postid-10 .post_content .article-prose > #h3312992add ~ table:not(#h3312992add ~ table ~ table) :is(th, td):nth-child(4) {
    min-width: 160px;
  }
}
