/* Subpage layout — matches existing LP tokens */
.body--subpage {
  overflow-x: hidden;
}

.p-sub-breadcrumb {
  padding: 12px 0 0;
  background: #f8f8f8;
}

.p-sub-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 12px;
  color: #666;
}

.p-sub-breadcrumb__item:not(:last-child)::after {
  content: ">";
  margin-left: 10px;
  color: #aaa;
}

.p-sub-breadcrumb__item a {
  color: #333;
  text-decoration: underline;
}

.p-sub-page {
  padding: 32px 0 64px;
}

.p-sub-page__header {
  margin-bottom: 32px;
}

.p-sub-page__h1 {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 900;
  line-height: 1.5;
  color: #222;
  margin: 0 0 16px;
}

.p-sub-page__lead {
  font-size: 16px;
  line-height: 1.9;
  color: #333;
}

.p-sub-section {
  margin-bottom: 48px;
}

.p-sub-section__title {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 700;
  color: #222;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 3px solid #f39800;
}

.p-sub-section__text {
  margin-bottom: 12px;
}

.p-sub-list {
  margin: 0 0 16px;
  padding-left: 1.2em;
}

.p-sub-list li {
  margin-bottom: 8px;
  line-height: 1.8;
}

.p-sub-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.p-sub-checklist li {
  position: relative;
  padding-left: 1.6em;
  margin-bottom: 10px;
  line-height: 1.8;
}

.p-sub-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #f39800;
  font-weight: 700;
}

.p-sub-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 16px 0;
}

.p-sub-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14px;
}

.p-sub-table th,
.p-sub-table td {
  border: 1px solid #ddd;
  padding: 12px 14px;
  vertical-align: top;
  line-height: 1.7;
}

.p-sub-table th {
  background: #fff8eb;
  font-weight: 700;
  text-align: left;
}

.p-sub-table td:first-child {
  font-weight: 600;
  background: #fafafa;
  white-space: nowrap;
}

.p-sub-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.p-sub-steps__item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px 16px;
  margin-bottom: 20px;
  padding: 16px;
  background: #fafafa;
  border-radius: 8px;
}

.p-sub-steps__num {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: #f39800;
  line-height: 1.4;
}

.p-sub-steps__title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
}

.p-sub-steps__text {
  margin: 0;
}

.p-sub-caution {
  background: #fff8eb;
  border: 1px solid #f3d9a6;
  border-radius: 8px;
  padding: 16px 18px;
  margin: 24px 0;
}

.p-sub-caution__label {
  font-weight: 700;
  color: #b45309;
  margin: 0 0 8px;
  font-size: 14px;
}

.p-sub-caution__text {
  margin: 0;
}

.p-sub-related {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.p-sub-related__link {
  display: block;
  padding: 14px 16px;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 8px;
  color: #222;
  text-decoration: none;
  font-weight: 600;
}

.p-sub-related__link:hover {
  border-color: #f39800;
}

.p-sub-cta {
  background: linear-gradient(135deg, #fff8eb 0%, #fff 100%);
  border: 2px solid #f39800;
  border-radius: 12px;
  padding: 28px 20px;
  margin: 32px 0;
}

.p-sub-cta--compact {
  margin: 24px 0 40px;
}

.p-sub-cta__title {
  font-size: clamp(18px, 3.5vw, 24px);
  font-weight: 900;
  line-height: 1.5;
  margin: 0 0 12px;
  text-align: center;
}

.p-sub-cta__text {
  text-align: center;
  margin-bottom: 20px;
}

.p-sub-cta__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.p-sub-cta__btn {
  width: min(100%, 360px);
  justify-content: center;
}

.p-sub-cta__tel {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  font-size: clamp(20px, 4.2vw, 28px);
  font-weight: 900;
  color: #222;
  text-decoration: none;
  padding: 8px 12px;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}

.p-sub-cta__tel img,
.p-sub-cta__tel .c-tel-row__icon img {
  flex: 0 0 auto;
  display: block;
  width: 42px;
  height: 42px;
}

.p-sub-cta__tel span,
.p-sub-cta__tel .c-tel-row__number {
  flex: 0 0 auto;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
  line-height: 1.1;
}

.p-sub-cta__note {
  text-align: center;
  font-size: 13px;
  color: #666;
  margin: 12px 0 0;
}

/* Phase 31: AI検索向け定義・結論・トップ補足 */
.p-m3-definition {
  margin: 20px 0 28px;
  padding: 16px 18px;
  background: #fafafa;
  border-left: 4px solid #f39800;
  border-radius: 0 8px 8px 0;
}

.p-m3-definition__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: #333;
}

.p-page-conclusion {
  background: linear-gradient(135deg, #fff8eb 0%, #fff 100%);
  border: 1px solid #f0d9a8;
  border-radius: 10px;
  padding: 20px 18px;
}

.p-page-conclusion .p-sub-section__title {
  margin-top: 0;
}

.c-claim-disclaimer {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  line-height: 1.6;
  color: #666;
  font-weight: 400;
}

@media screen and (min-width: 768px) {
  .c-claim-disclaimer {
    font-size: 12px;
  }
}

.p-sub-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.p-sub-card {
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 20px;
  background: #fff;
}

.p-sub-card__title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
}

.p-sub-card__text {
  font-size: 14px;
  line-height: 1.8;
  margin: 0 0 14px;
  color: #444;
}

.p-sub-card__link {
  display: inline-block;
  font-weight: 700;
  color: #e67e00;
  text-decoration: none;
}

.p-case-card {
  margin: 0;
}

.p-case-card__label {
  font-size: 13px;
  font-weight: 700;
  color: #e67e00;
  margin: 10px 0 2px;
}

.p-case-card__label:first-child {
  margin-top: 0;
}

.p-case-card__value {
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
  color: #444;
}

.l-footer__lists--sub {
  flex-wrap: wrap;
}

.p-column__article {
  max-width: 760px;
  margin: 0 auto;
}

.p-column__category {
  display: inline-block;
  background: #fff3df;
  color: #b45309;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  margin: 0 0 12px;
}

.p-column .p-sub-section__text {
  font-size: 16px;
  line-height: 1.95;
}

.p-column__catnav {
  margin: 8px 0 24px;
}

.p-column__catnav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.p-column__catnav-item {
  font-size: 13px;
  font-weight: 600;
  color: #555;
  background: #f2f2f2;
  border-radius: 999px;
  padding: 6px 14px;
}

.p-column__catnav-item a {
  color: inherit;
  text-decoration: none;
}

.p-sub-author {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 16px 18px;
  margin: 24px 0;
  background: #fafafa;
}

.p-sub-author__label {
  font-size: 12px;
  font-weight: 700;
  color: #777;
  margin: 0 0 8px;
}

.p-sub-author__text {
  margin: 0 0 8px;
  font-size: 14px;
}

.p-sub-author__links {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

/* 相談事例（Phase 24）：既存カードUI・余白・アクセント色に合わせる */
.p-case-item {
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 24px;
  background: #fff;
}

.p-case-item__head {
  margin: 0 0 12px;
}

.p-case-item__cat {
  display: inline-block;
  background: #fff3df;
  color: #b45309;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  margin: 0 0 10px;
}

.p-case-item__title {
  margin: 0;
}

.p-case-item__meta {
  margin: 0 0 12px;
}

.p-case-item__summary {
  margin: 0 0 8px;
}

.p-case-acc {
  border-top: 1px solid #f0f0f0;
  margin-top: 12px;
  padding-top: 8px;
}

.p-case-acc__summary {
  cursor: pointer;
  font-weight: 700;
  color: #e67e00;
  list-style: none;
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.p-case-acc__summary::-webkit-details-marker {
  display: none;
}

.p-case-acc__summary::before {
  content: "＋";
  font-weight: 700;
  color: #e67e00;
}

.p-case-acc[open] .p-case-acc__summary::before {
  content: "−";
}

.p-case-acc__body {
  padding: 8px 0 4px;
}

.p-case-acc__h3 {
  font-size: 15px;
  font-weight: 700;
  color: #333;
  margin: 18px 0 6px;
  padding-left: 10px;
  border-left: 3px solid #e67e00;
}

.p-case-acc__body p,
.p-case-acc__body li {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.p-case-acc__cta {
  margin: 20px 0 4px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.p-case-acc__btn {
  display: inline-block;
  background: #e67e00;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 8px;
  min-height: 44px;
  line-height: 20px;
}

.p-case-acc__btn:hover {
  background: #cf7100;
}

.p-case-acc__tel {
  font-weight: 700;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}

.p-case-bottom {
  background: #fafafa;
  border-radius: 10px;
  padding: 24px;
}

.p-cta__disclaimer {
  max-width: 36rem;
  margin: 10px auto 0;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .p-sub-page {
    padding: 24px 0 48px;
  }

  .p-sub-steps__item {
    grid-template-columns: 1fr;
  }

  .p-sub-cta__tel {
    min-height: 48px;
    font-size: clamp(18px, 5vw, 24px);
    padding: 8px 4px;
  }

  .p-sub-cta__tel img,
  .p-sub-cta__tel .c-tel-row__icon img {
    width: 36px;
    height: 36px;
  }

  .p-case-item {
    padding: 18px;
  }

  .p-case-acc__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .p-case-acc__btn {
    text-align: center;
  }

  .p-case-acc__tel {
    text-align: center;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Phase 27: 次に読むべき記事 / 状況別ガイド */
.p-sub-nextreads {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.p-sub-nextreads__item {
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 14px 16px;
  background: #fff;
}

.p-sub-nextreads__label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #b45309;
  margin: 0 0 4px;
}

.p-sub-nextreads__link {
  font-size: 15px;
  font-weight: 700;
  color: #e67e00;
  text-decoration: none;
  line-height: 1.7;
}

.p-guide .p-sub-cards {
  margin: 12px 0 0;
}

.p-faq-related {
  margin: 12px 0 0;
}

.p-faq-related__label {
  font-size: 12px;
  font-weight: 700;
  color: #b45309;
  margin: 0 0 6px;
}

/* Phase 28: 業者向けページ /business/ */
.p-biz-hero {
  text-align: center;
}

.p-biz-hero__tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #b45309;
  background: #fff3df;
  border-radius: 999px;
  padding: 6px 16px;
  margin: 0 0 14px;
}

.p-biz-hero__callout {
  margin: 12px 0 16px;
  padding: 12px 14px;
  background: #fff8eb;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.75;
  text-align: center;
}

.p-biz-hero__callout strong {
  color: #c2410c;
  font-weight: 900;
}

.p-biz-callbox {
  max-width: 560px;
  margin: 22px auto 0;
  padding: 22px 20px;
  border: 2px solid #e67e00;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff8eb 0%, #fff 100%);
  text-align: center;
}

.p-biz-callbox__label {
  font-size: 14px;
  font-weight: 700;
  color: #b45309;
  margin: 0 0 6px;
}

.p-biz-callbox__tel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 10px;
  min-height: 44px;
  padding: 8px 4px;
  font-size: clamp(28px, 7vw, 40px);
  font-weight: 900;
  line-height: 1.1;
  color: #c2410c;
  text-decoration: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}

/* 全ページ共通の img{width:100%} を打ち消す（モバイルで巨大化防止） */
.p-biz-callbox__tel img,
.p-biz-callbox__icon {
  display: block;
  width: 28px !important;
  height: 28px !important;
  max-width: 28px !important;
  flex: 0 0 28px;
  flex-shrink: 0;
  object-fit: contain;
}

.p-biz-callbox__tel span {
  flex: 0 0 auto;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}

.p-biz-callbox__note {
  font-size: 13px;
  color: #666;
  margin: 8px 0 0;
}

.p-biz-callbox__sub {
  font-size: 13px;
  color: #555;
  line-height: 1.8;
  margin: 12px 0 0;
}

.p-biz-callbox__sub a {
  color: #e67e00;
  font-weight: 700;
}

.p-biz-callbox--cta {
  background: #fff;
}

.p-biz-inlinecall {
  margin: 16px 0 0;
  text-align: center;
}

.p-biz-inlinecall__btn {
  justify-content: center;
}

.p-biz-tablelist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.p-biz-tablelist li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.7;
}

.p-biz-tablelist li::before {
  content: "○";
  position: absolute;
  left: 0;
  color: #1f9d55;
  font-weight: 700;
}

.p-biz-tablelist--no li::before {
  content: "×";
  color: #c0392b;
}

.p-business .p-sub-table td {
  vertical-align: top;
}

.p-biz-fixedtel {
  display: none;
}

@media (max-width: 767px) {
  .p-biz-fixedtel {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 999px;
    background: #e67e00;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  }

  .p-biz-fixedtel__label {
    font-size: 12px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 6px;
    padding: 2px 8px;
  }

  .p-biz-fixedtel__num {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0.02em;
  }

  .p-biz-fixedtel img,
  .p-biz-fixedtel__icon {
    display: block;
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    flex: 0 0 22px;
    flex-shrink: 0;
    object-fit: contain;
  }

  .p-business {
    padding-bottom: 76px;
  }

  /* 業者ページでは業者専用の固定バーを優先し、一般向け(0120)の固定バーは重ねない */
  .body--business .l-bottom-info {
    display: none;
  }
}

.p-glossary-term__practical {
  margin-top: 12px;
  padding: 12px 16px;
  background: #f8f9fa;
  border-radius: 8px;
}

.p-glossary-meta {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 16px;
  margin: 16px 0;
}

.p-glossary-meta dt {
  font-weight: 700;
  color: #555;
}

.p-hub-cta-split {
  padding: 24px;
  background: #f8f9fa;
  border-radius: 12px;
}

.p-hub-cta-split .c-btn-orange {
  margin-top: 16px;
  display: inline-block;
}

.p-faq-related--item {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #eee;
}

.p-sub-steps {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.p-sub-steps__item {
  margin-bottom: 16px;
  padding-left: 0;
}

.p-sub-steps__title {
  display: block;
  margin-bottom: 4px;
}

.p-sub-steps__text {
  margin: 0;
}

/* Decision cards + situation intent (Phase 4) */
.p-decision-cards {
  margin: 0 0 36px;
}

.p-decision-cards__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.p-decision-cards__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  background: #fff;
  border: 1px solid #d9dee3;
}

.p-decision-cards__layer {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #5a6570;
}

.p-decision-cards__card--fact {
  border-left: 4px solid #3b82f6;
}

.p-decision-cards__card--work {
  border-left: 4px solid #0f766e;
}

.p-decision-cards__card--expert {
  border-left: 4px solid #b45309;
}

.p-decision-cards__card--choice {
  border-left: 4px solid #7c3aed;
}

.p-decision-cards__title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
}

.p-decision-cards__states {
  margin: 0;
  padding-left: 1.1em;
  font-size: 13px;
  line-height: 1.5;
  color: #444;
}

.p-decision-cards__reason {
  margin: 0;
  flex: 1;
  font-size: 13px;
  line-height: 1.6;
  color: #333;
}

.p-decision-cards__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 12px;
  background: #183153;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  line-height: 1.35;
}

.p-situation-intent {
  margin: 0 0 28px;
  padding: 16px;
  background: #f4f6f8;
  border: 1px solid #e5e8eb;
}

.p-situation-intent__title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 800;
}

.p-situation-intent__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-situation-intent__btn {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 64px;
  padding: 12px;
  background: #fff;
  border: 1px solid #d9dee3;
  color: #111;
  text-decoration: none;
}

.p-situation-intent__name {
  font-size: 14px;
  font-weight: 800;
}

.p-situation-intent__cta {
  font-size: 12px;
  color: #1a4f8b;
  font-weight: 700;
}

.p-faq-intent__panel[hidden] {
  display: none !important;
}

.p-faq-answer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 12px;
  padding: 10px 14px;
  background: #183153;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

@media screen and (max-width: 900px) {
  .p-decision-cards__grid,
  .p-situation-intent__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 600px) {
  .p-decision-cards__grid,
  .p-situation-intent__list {
    grid-template-columns: 1fr;
  }
}

/* Sticky intent rail (Phase 9/11) */
.p-intent-sticky {
  position: fixed;
  z-index: 40;
  right: 12px;
  bottom: 88px;
  box-sizing: border-box;
  width: 240px;
  max-width: calc(100% - 24px);
  font-family: inherit;
}

.p-intent-sticky__toggle {
  display: none;
  width: 100%;
  min-height: 44px;
  border: 1px solid #183153;
  background: #183153;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.p-intent-sticky__panel {
  padding: 12px;
  background: #fff;
  border: 1px solid #d9dee3;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.p-intent-sticky__title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 800;
}

.p-intent-sticky__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.p-intent-sticky__list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #e5e8eb;
  background: #f8fafc;
  color: #111;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.p-intent-sticky[hidden] {
  display: none !important;
}

@media screen and (max-width: 768px) {
  /* Sit above the fixed phone bar so it is not clipped / overlapping */
  .p-intent-sticky {
    left: 0;
    right: 0;
    bottom: calc(3.75rem + env(safe-area-inset-bottom, 0px));
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .p-intent-sticky__toggle {
    display: block;
  }

  .p-intent-sticky__panel {
    display: none;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
  }

  .p-intent-sticky.is-open .p-intent-sticky__panel {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .p-intent-sticky,
  .p-intent-sticky * {
    transition: none !important;
  }
}

/* ---- Readability Phase B: subpage body typography ---- */
.p-sub-page .l-inner {
  max-width: 1120px;
}

.p-sub-page .c-normal-text,
.p-sub-page .p-sub-section__text,
.p-sub-page .p-sub-page__lead,
.p-sub-page .p-accordion__inside-text {
  max-width: 740px;
  font-size: 17px;
  line-height: 1.85;
  letter-spacing: 0.01em;
  color: #374151;
}

.p-sub-page .p-sub-section__text,
.p-sub-page p.c-normal-text {
  margin-block: 0 1.4em;
}

.p-sub-page .p-sub-section__title {
  margin-top: 2.4em;
  margin-bottom: 0.8em;
  font-size: clamp(23px, 2.3vw, 31px);
  line-height: 1.4;
}

.p-sub-page .p-sub-section:first-of-type .p-sub-section__title,
.p-sub-page .p-sub-page__header + .p-sub-section .p-sub-section__title {
  margin-top: 0;
}

.p-sub-page h3.p-sub-card__title,
.p-sub-page .p-case-acc__h3,
.p-sub-page h3 {
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.5;
  color: #1f2937;
}

.p-sub-page .p-sub-list li,
.p-sub-page .p-sub-checklist li {
  font-size: 16px;
  line-height: 1.75;
  color: #374151;
}

.p-caution-box,
.p-sub-page .p-caution,
.p-sub-page .c-claim-disclaimer {
  font-size: 15px;
  line-height: 1.75;
  color: #4b5563;
}

.p-decision-card p,
.p-sub-card__text,
.p-case-card__value {
  font-size: 16px;
  line-height: 1.7;
  color: #374151;
}

.p-sub-page .p-sub-table {
  font-size: 15px;
}

.p-sub-cta__btn,
.p-intent-select__cta,
.p-faq-answer-cta,
.p-case-acc__btn,
.p-biz-inlinecall__btn,
.c-btn,
.c-btn-white,
.c-btn-orange {
  min-height: 44px;
}

.p-sub-page {
  padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
}

.body--subpage .p-sub-page {
  padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
}

@media screen and (max-width: 767px) {
  .p-sub-page {
    padding-left: 0;
    padding-right: 0;
  }

  .p-sub-page .l-inner {
    padding-inline: 20px;
  }

  .p-sub-page .c-normal-text,
  .p-sub-page .p-sub-section__text,
  .p-sub-page .p-sub-page__lead,
  .p-sub-page .p-accordion__inside-text {
    max-width: none;
    font-size: 16px;
    line-height: 1.8;
  }

  .p-sub-page .p-sub-section__title {
    font-size: clamp(22px, 5.5vw, 26px);
  }

  .p-sub-page h3.p-sub-card__title,
  .p-sub-page .p-case-acc__h3,
  .p-sub-page h3 {
    font-size: clamp(18px, 4.5vw, 21px);
  }

  .p-decision-card,
  .p-sub-card {
    padding: 20px;
  }

  .p-sub-cards {
    grid-template-columns: 1fr;
  }

  .p-sub-table {
    min-width: 0;
    display: block;
  }

  .p-sub-table thead {
    display: none;
  }

  .p-sub-table tr {
    display: block;
    margin-bottom: 12px;
    border: 1px solid #e5e7eb;
    padding: 12px;
  }

  .p-sub-table td,
  .p-sub-table th {
    display: block;
    border: 0;
    padding: 4px 0;
    font-size: 15px;
  }

  a[href^="tel:"] {
    white-space: nowrap;
  }
}

/* FAQ category more accordion */
.p-faq-more {
  margin-top: 12px;
  border: 1px solid #e5e8eb;
  background: #fff;
}

.p-faq-more__summary {
  cursor: pointer;
  list-style: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 700;
  color: #183153;
}

.p-faq-more__summary:focus-visible,
.p-home-legacy-wrap__summary:focus-visible,
.p-home-legacy-cta__summary:focus-visible,
.p-case-more summary:focus-visible,
.p-case-acc__summary:focus-visible {
  outline: 2px solid #183153;
  outline-offset: 2px;
}

.p-faq-more__summary::-webkit-details-marker {
  display: none;
}

.p-faq-more[open] .p-faq-more__summary {
  border-bottom: 1px solid #e5e8eb;
}

.p-faq-more__body {
  padding: 8px 12px 16px;
}

/* Cases: primary grid first */
.p-case-initial-grid {
  display: grid;
  gap: 16px;
  margin: 24px 0 32px;
}

@media screen and (min-width: 768px) {
  .p-case-initial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.p-case-more {
  margin: 16px 0 40px;
}

.p-home-digest + * {
  scroll-margin-top: 16px;
}
