/* 課題管理表 2026-09-16: 本文リンク、料金ナビ、予約QR */
.p-page__box p a:not(.c-btn),
.p-page__box td a:not(.c-btn),
.p-page__box .p-page-component-checklist a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}
.p-page__box p a:not(.c-btn):focus-visible,
.p-page__box td a:not(.c-btn):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
.p-page-price .p-page-component-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 12px;
}
.p-page-price .p-page-component-nav__item {
  width: auto;
  min-width: 0;
  margin: 0;
}
.p-page-price .p-page-component-nav__link {
  height: 100%;
  min-height: 76px;
  padding: 14px 12px;
}
.p-page-price .p-page-component-nav__txt {
  min-width: 0;
  flex: 1;
}
.p-page-price .p-page-component-nav__arrow { flex-shrink: 0; }
.p-contact-qr { margin-top: 16px; }
.p-contact-qr img { width: 200px; max-width: 100%; height: auto; background: #fff; }
.p-hamburger-menu__wrap { overflow-y: auto; overscroll-behavior: contain; padding-bottom: 100px; }
@media (max-width: 767px) {
  .p-page-price .p-page-component-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* 保証だけを縦に読む表へ変更し、他の料金表の3列表示は維持する。 */
  .p-price-tables .p-warranty-table table,
  .p-price-tables .p-warranty-table tbody,
  .p-price-tables .p-warranty-table tr,
  .p-price-tables .p-warranty-table th,
  .p-price-tables .p-warranty-table td { display: block; width: 100%; }
  .p-price-tables .p-warranty-table thead {
    position: absolute; width: 1px; height: 1px; padding: 0;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
  .p-price-tables .p-warranty-table tbody tr {
    margin-bottom: 16px; border: 1px solid #a5a197;
  }
  .p-price-tables .p-warranty-table table tbody th,
  .p-price-tables .p-warranty-table table tbody td {
    padding: 12px 14px; border: 0; font-size: 14px; line-height: 1.8;
  }
  .p-price-tables .p-warranty-table table tbody th {
    font-weight: 700; background: #59554d; text-align: left;
  }
  .p-price-tables .p-warranty-table table tbody td { border-top: 1px solid #7e7a71; }
  .p-price-tables .p-warranty-table table tbody td:last-child { font-size: 14px; }
  .p-price-tables .p-warranty-table td::before {
    content: attr(data-label); display: block; font-weight: 700;
    margin-bottom: 4px; color: #fff;
  }
  .p-price-tables .p-warranty-table table tbody td:empty { display: none; }
}
