/* サブページ固有 — DESIGN.md v3 準拠（Phase7: 共通は lp-assets へ分離） */
@import url("./tokens.css");
@import url("./buttons.css");
@import url("./layout.css");
@import url("./header-nav.css?v=4");

.page-hero h1,
.hero-sell h1 {
  font-size: clamp(22px, 5.5vw, 28px);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 12px;
  color: var(--bh-charcoal);
}

.page-hero p,
.page-hero .lead,
.hero-sell p {
  font-size: 14px;
  color: var(--bh-muted);
  line-height: 1.85;
  max-width: 100%;
  margin: 0 auto;
}

.hero-btns,
.cta-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.card {
  border: 1px solid var(--bh-border);
  padding: 18px;
  margin-bottom: 12px;
  background: var(--bh-white);
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(43, 45, 49, 0.04);
}

/* ── FAQ ── */

.cat-section {
  margin-bottom: 32px;
}

.cat-title {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--bh-pale-blue);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--bh-charcoal);
}

.cat-icon {
  font-size: 20px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--bh-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bh-white);
}

.faq-item[open] {
  border-color: rgba(47, 127, 163, 0.35);
  box-shadow: 0 4px 16px rgba(47, 127, 163, 0.08);
}

.faq-q {
  padding: 16px 44px 16px 18px;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  background: var(--bh-white);
  transition: background 0.15s;
  list-style: none;
  position: relative;
}

.faq-q::-webkit-details-marker {
  display: none;
}
.faq-q::marker {
  content: "";
}

.faq-q::before {
  content: "Q";
  background: var(--bh-logo-blue-dark);
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.faq-q::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 400;
  color: var(--bh-logo-blue-dark);
  line-height: 1;
}

.faq-item[open] .faq-q::after {
  content: "−";
}
.faq-item[open] .faq-q {
  background: var(--bh-pale-blue-2);
}

.faq-a {
  padding: 0 18px 16px 54px;
  font-size: 13px;
  color: var(--bh-muted);
  line-height: 1.85;
  background: var(--bh-pale-blue-2);
}

/* ── CTAボックス ── */

.cta-box {
  background: var(--bh-logo-blue-dark);
  border-radius: var(--radius-lg);
  padding: var(--section-pad-y) var(--section-pad-x);
  text-align: center;
  color: #fff;
  margin-top: 24px;
}

.cta-section {
  background: var(--bh-logo-blue-dark);
  text-align: center;
  color: #fff;
  margin-top: 0;
  border-radius: 0;
}

.cta-box h3,
.cta-inner h2 {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 10px;
  color: #fff;
}

.cta-box p,
.cta-inner .lead,
.cta-note {
  font-size: 13px;
  opacity: 0.9;
  margin-bottom: 20px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.92);
}

.cta-inner .cta-btns .btn-main {
  width: auto;
}

/* ── エージェント ── */

.team-intro {
  background: var(--bh-pale-blue);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 28px;
  border: 1px solid var(--bh-border);
}

.team-intro h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--bh-logo-blue-dark);
}

.team-intro p {
  font-size: 13px;
  color: var(--bh-muted);
  line-height: 1.85;
}

.agents-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.agent-card {
  background: var(--bh-white);
  border: 1px solid var(--bh-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.agent-photo {
  background: var(--bh-pale-blue);
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.agent-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
}

.agent-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.agent-name {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 2px;
}
.agent-name-en {
  font-size: 11px;
  color: var(--bh-muted);
  margin-bottom: 8px;
}
.agent-role {
  font-size: 12px;
  color: var(--bh-logo-blue-dark);
  font-weight: 700;
  margin-bottom: 10px;
}

.agent-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.agent-tag {
  background: var(--bh-pale-blue);
  color: var(--bh-logo-blue-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}

.agent-tag--qual {
  background: #f0f4f8;
  color: #445;
}

.agent-bio {
  font-size: 13px;
  color: var(--bh-muted);
  line-height: 1.75;
  flex: 1;
}

.team-group-photo {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  display: block;
}

.agent-featured {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--bh-white);
  border: 1px solid var(--bh-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 16px;
}

.agent-featured__photo {
  aspect-ratio: 3 / 4;
  max-height: 280px;
  background: var(--bh-pale-blue);
  overflow: hidden;
}

.agent-featured__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
}

.agent-featured__body {
  padding: 18px;
}

.agent-featured__role {
  font-size: 12px;
  color: var(--bh-logo-blue-dark);
  font-weight: 700;
  margin-bottom: 6px;
}

.agent-featured__name {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 2px;
}

@media (min-width: 640px) {
  .agent-featured {
    flex-direction: row;
    align-items: stretch;
  }

  .agent-featured__photo {
    flex: 0 0 200px;
    max-height: none;
    aspect-ratio: auto;
  }
}

/* ── コラム一覧 ── */

.filter-section {
  padding: 0 var(--section-pad-x) 20px;
  border-bottom: 1px solid var(--bh-border);
  background: var(--bh-white);
}

.cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cat-tab {
  background: var(--bh-pale-blue-2);
  border: 1px solid var(--bh-border);
  color: var(--bh-muted);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}

.cat-tab:hover {
  border-color: var(--bh-logo-blue);
  color: var(--bh-logo-blue-dark);
}

.cat-tab.is-active {
  background: var(--bh-logo-blue-dark);
  border-color: var(--bh-logo-blue-dark);
  color: #fff;
}

.content {
  padding: 28px var(--section-pad-x) 40px;
}

.articles {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.article-card {
  background: var(--bh-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--bh-border);
  transition: box-shadow 0.2s;
  display: block;
  color: inherit;
  text-decoration: none;
}

.article-card:hover {
  box-shadow: var(--shadow-soft);
  text-decoration: none;
}

.article-card.is-hidden {
  display: none;
}

.article-thumb {
  height: 140px;
  background: var(--bh-pale-blue);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-thumb-placeholder {
  font-size: 36px;
  opacity: 0.4;
}

.article-body {
  padding: 16px 18px 20px;
}

.article-meta {
  font-size: 11px;
  color: var(--bh-muted);
  margin-bottom: 8px;
}
.article-meta .cat {
  color: var(--bh-logo-blue-dark);
  font-weight: 700;
}

.article-title {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.55;
  margin-bottom: 8px;
  color: var(--bh-charcoal);
}

.article-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--bh-muted);
}

.article-author__photo {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 12%;
  flex-shrink: 0;
  border: 1px solid var(--bh-border);
}

.coming-badge {
  position: relative;
  cursor: default;
  opacity: 0.75;
}
.coming-badge:hover {
  box-shadow: none;
}

.coming-badge::after {
  content: "準備中";
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(43, 45, 49, 0.55);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}

.empty-msg {
  display: none;
  text-align: center;
  padding: 40px var(--section-pad-x);
  color: var(--bh-muted);
  font-size: 14px;
}
.empty-msg.is-visible {
  display: block;
}

/* ── コラム記事 ── */

.article-wrap {
  padding: 24px var(--section-pad-x) 40px;
}

.article-cat {
  font-size: 11px;
  font-weight: 800;
  color: var(--bh-logo-blue-dark);
  background: var(--bh-pale-blue);
  padding: 4px 12px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 14px;
}

.article-wrap h1 {
  font-size: clamp(20px, 5vw, 26px);
  font-weight: 900;
  line-height: 1.45;
  margin-bottom: 14px;
  text-align: left;
}

.article-meta {
  font-size: 12px;
  color: var(--bh-muted);
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--bh-border);
}

.article-eyecatch {
  margin-bottom: 24px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.article-body {
  background: var(--bh-white);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  border: 1px solid var(--bh-border);
}

.article-body h2 {
  font-size: 18px;
  font-weight: 800;
  margin: 28px 0 12px;
  color: var(--bh-logo-blue-dark);
  line-height: 1.4;
  text-align: left;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body h3 {
  font-size: 16px;
  font-weight: 800;
  margin: 20px 0 10px;
  text-align: left;
}

.article-body p {
  margin-bottom: 14px;
  line-height: 1.9;
  color: var(--bh-text);
  font-size: 14px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 14px 1.4em;
  font-size: 14px;
}

.article-body li {
  margin-bottom: 6px;
  line-height: 1.8;
}

.article-body figure {
  margin: 18px 0;
}

.article-body img {
  border-radius: var(--radius-sm);
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 13px;
}

.article-body th,
.article-body td {
  border: 1px solid var(--bh-border);
  padding: 10px 12px;
  text-align: left;
}

.article-body th {
  background: var(--bh-pale-blue);
  font-weight: 800;
}

.article-body blockquote {
  border-left: 4px solid var(--bh-logo-blue);
  padding: 12px 16px;
  margin: 14px 0;
  background: var(--bh-pale-blue-2);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14px;
}

.review-notice {
  margin-bottom: 24px;
  padding: 16px 18px;
  background: #fff8f0;
  border: 1px solid #f0c080;
  border-left: 4px solid #e85d04;
  border-radius: var(--radius-md);
  font-size: 13px;
  line-height: 1.75;
  color: #5c3d1e;
}

.review-notice strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #e85d04;
  margin-bottom: 6px;
}

.author-box {
  margin-top: 28px;
  padding: 18px;
  background: var(--bh-pale-blue);
  border-radius: var(--radius-md);
  font-size: 13px;
  line-height: 1.8;
  border: 1px solid var(--bh-border);
}

.author-box__inner {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.author-box__photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 12%;
  flex-shrink: 0;
  border: 2px solid var(--bh-white);
  box-shadow: 0 2px 8px rgba(15, 42, 71, 0.12);
}

.author-box__body {
  flex: 1;
  min-width: 0;
}

.author-box__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--bh-muted);
  margin-bottom: 4px;
}

.author-box__name {
  font-size: 15px;
  font-weight: 800;
  color: var(--bh-charcoal);
  margin-bottom: 6px;
}

.author-box__role {
  font-size: 12px;
  font-weight: 600;
  color: var(--bh-muted);
  margin-left: 6px;
}

.author-box__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.author-box__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--bh-logo-blue-dark);
  background: var(--bh-white);
  border: 1px solid var(--bh-border);
  border-radius: 100px;
  padding: 2px 10px;
}

.author-box__bio {
  margin-bottom: 8px;
  color: var(--bh-charcoal);
}

.author-box__meta {
  font-size: 12px;
  color: var(--bh-muted);
}

.author-box strong {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--bh-logo-blue-dark);
}

.back-link {
  display: inline-block;
  margin-top: 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--bh-logo-blue-dark);
}

.related-articles {
  margin-top: 28px;
  padding: 20px 18px;
  background: var(--bh-white);
  border: 1px solid var(--bh-border);
  border-radius: var(--radius-md);
}

.related-articles__title {
  font-size: 15px;
  font-weight: 800;
  color: var(--bh-charcoal);
  margin-bottom: 12px;
}

.related-articles__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.related-articles__list a {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--bh-logo-blue-dark);
  text-decoration: none;
}

.related-articles__list a:hover {
  text-decoration: underline;
}

/* ── 売却・手数料 ── */

.features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feat {
  background: var(--bh-white);
  border: 1px solid var(--bh-border);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  text-align: center;
}

.feat-icon {
  font-size: 32px;
  margin-bottom: 10px;
}
.feat-name {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 8px;
}
.feat-desc {
  font-size: 13px;
  color: var(--bh-muted);
  line-height: 1.7;
}

.flow-steps {
  display: flex;
  flex-direction: column;
}

.flow-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--bh-border);
}

.flow-step:last-child {
  border-bottom: none;
}

.step-num {
  width: 48px;
  height: 48px;
  background: var(--bh-logo-blue-dark);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
}

.step-name {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 6px;
}
.step-desc {
  font-size: 13px;
  color: var(--bh-muted);
  line-height: 1.7;
}

.pricing-step {
  margin-top: 20px;
}

.pricing-step:first-of-type {
  margin-top: 12px;
}

.pricing-step__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--bh-logo-blue-dark);
  margin-bottom: 6px;
}

.pricing-step__title {
  font-size: 15px;
  font-weight: 800;
  color: var(--bh-charcoal);
  margin-bottom: 8px;
  line-height: 1.4;
}

.pricing-summary {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.pricing-summary__card {
  flex: 1;
  padding: 14px 10px 12px;
  border: 1px solid var(--bh-border);
  border-radius: var(--radius-md);
  background: var(--bh-white);
  text-align: center;
  box-shadow: 0 8px 20px rgba(43, 45, 49, 0.04);
}

.pricing-summary__card--a {
  border-color: var(--bh-logo-blue);
  background: var(--bh-pale-blue);
}

.pricing-summary__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bh-logo-blue-dark);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.pricing-summary__card--b .pricing-summary__tag {
  background: var(--bh-charcoal);
}

.pricing-summary__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 8px;
}

.pricing-summary__name {
  font-size: 11px;
  font-weight: 800;
  color: var(--bh-charcoal);
}

.pricing-summary__price {
  font-size: clamp(14px, 3.8vw, 16px);
  font-weight: 800;
  color: var(--bh-charcoal);
  line-height: 1.35;
  margin-bottom: 4px;
}

.pricing-summary__card--a .pricing-summary__price {
  color: var(--bh-gold);
}

.pricing-summary__target {
  margin-top: 8px;
  font-size: 10.5px;
  color: var(--bh-muted);
  line-height: 1.45;
}

.pricing-summary__hint {
  margin-top: 10px;
  text-align: center;
}

.pricing-notice {
  margin-top: 14px;
  padding: 12px 14px;
  font-size: 11px;
  color: var(--bh-muted);
  background: var(--bh-pale-blue-2);
  border: 1px solid var(--bh-border);
  border-radius: var(--radius-sm);
  line-height: 1.75;
}

.pricing-notice strong {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  color: var(--bh-charcoal);
}

.pricing-table-wrap {
  margin: 10px 0;
}

.pricing-table-wrap table {
  width: 100%;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--bh-border);
  border-radius: 14px;
  overflow: hidden;
  font-size: 12px;
  table-layout: fixed;
  background: var(--bh-white);
}

.pricing-pat-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  margin: 10px 0 0;
  border: 1px solid var(--bh-border);
  border-radius: var(--radius-sm);
  background: var(--tab-track);
}

.pricing-pat-tabs button {
  flex: 1;
  font-family: inherit;
  border: none;
  border-radius: 7px;
  padding: 11px 8px;
  cursor: pointer;
  text-align: center;
  transition:
    background 0.15s,
    color 0.15s,
    box-shadow 0.15s,
    opacity 0.15s;
}

.pricing-pat-tabs button[aria-selected="false"] {
  background: var(--tab-off-bg);
  color: var(--tab-off-text);
  font-weight: 600;
}

.pricing-pat-tabs button[aria-selected="false"] .pricing-pat-tabs__tag {
  color: var(--tab-off-text);
  font-weight: 700;
}

.pricing-pat-tabs button[aria-selected="false"] .pricing-pat-tabs__sub {
  color: var(--tab-off-sub);
  font-weight: 500;
}

.pricing-pat-tabs button[aria-selected="true"] {
  background: var(--bh-white);
  color: var(--bh-charcoal);
  font-weight: 800;
  box-shadow: 0 1px 4px rgba(43, 45, 49, 0.1);
}

.pricing-pat-tabs button[aria-selected="true"] .pricing-pat-tabs__tag {
  color: var(--bh-charcoal);
  font-weight: 800;
}

.pricing-pat-tabs button[aria-selected="true"] .pricing-pat-tabs__sub {
  color: var(--bh-muted);
  font-weight: 600;
}

.pricing-pat-tabs button[data-pat="a"][aria-selected="true"] {
  box-shadow:
    0 1px 4px rgba(43, 45, 49, 0.1),
    inset 0 -2px 0 var(--bh-gold);
}

.pricing-pat-tabs
  button[data-pat="a"][aria-selected="true"]
  .pricing-pat-tabs__tag {
  color: #9a7420;
}

.pricing-pat-tabs button[data-pat="b"][aria-selected="true"] {
  box-shadow:
    0 1px 4px rgba(43, 45, 49, 0.1),
    inset 0 -2px 0 var(--bh-logo-blue-dark);
}

.pricing-pat-tabs
  button[data-pat="b"][aria-selected="true"]
  .pricing-pat-tabs__tag {
  color: var(--bh-logo-blue-dark);
}

.pricing-pat-tabs__tag {
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 2px;
}

.pricing-pat-tabs__sub {
  display: block;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.35;
}

.pricing-pat-context {
  margin-top: 10px;
  padding: 9px 11px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  color: var(--bh-muted);
  line-height: 1.5;
  background: var(--bh-pale-blue-2);
  border: 1px solid var(--bh-border);
}

.pricing-pat-context strong {
  color: var(--bh-charcoal);
}

.pricing-pat-panel-stack {
  display: grid;
}

.pricing-pat-panel-stack > .pricing-pat-panel {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s;
  pointer-events: none;
}

.pricing-pat-panel-stack > .pricing-pat-panel.is-on {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .pricing-pat-panel-stack > .pricing-pat-panel {
    transition: none;
  }
}

.pricing-pat-panel .pricing-table-wrap {
  margin-top: 8px;
}

.pricing-table-wrap th,
.pricing-table-wrap td {
  padding: 10px 6px;
  border-bottom: 1px solid var(--bh-border);
  text-align: center;
}

.pricing-table-wrap tr:last-child td {
  border-bottom: 0;
}

.pricing-table-wrap thead th {
  font-size: 11px;
  line-height: 1.35;
  background: var(--bh-pale-blue);
  color: var(--bh-charcoal);
  font-weight: 800;
}

.pricing-table-wrap tbody td {
  background: var(--bh-white);
}

.pricing-table-wrap tbody tr:nth-child(even) td {
  background: var(--bh-pale-blue-2);
}

.pricing-table-wrap thead tr:first-child th[colspan] {
  border-bottom: 1px solid var(--bh-border);
}

.pricing-table__amount {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
  vertical-align: middle;
}

.pricing-table__num-line {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  line-height: 1;
}

.pricing-table__approx {
  font-size: 9px;
  font-weight: 700;
  color: var(--bh-muted);
  align-self: flex-start;
  margin-top: 2px;
}

.pricing-table__num {
  font-size: 15px;
  font-weight: 800;
  color: var(--bh-charcoal);
  letter-spacing: -0.02em;
}

.pricing-table__unit {
  font-size: 9px;
  font-weight: 700;
  color: var(--bh-muted);
  margin-top: 2px;
}

.pricing-table__amount--gold .pricing-table__num {
  color: var(--bh-gold);
}

.pricing-table-wrap thead tr:nth-child(2) th:first-child {
  color: var(--tab-off-text);
  font-weight: 700;
}

.pricing-table-wrap tbody td:nth-child(3) .pricing-table__num {
  color: var(--tab-off-text);
  font-weight: 700;
}

.pricing-table-wrap tbody td:nth-child(3) .pricing-table__unit {
  color: #bcc0c6;
}

.pricing-table__unit--suffix {
  margin-top: 0;
  align-self: baseline;
}

.pricing-table__cb-note {
  display: block;
  margin-top: 3px;
  font-size: 8.5px;
  font-weight: 700;
  color: var(--bh-muted);
  line-height: 1.3;
}

.why-box {
  background: var(--bh-pale-blue);
  border-radius: var(--radius-md);
  padding: 24px var(--section-pad-x);
  margin-bottom: 24px;
  border: 1px solid var(--bh-border);
}

.why-box h3 {
  font-size: 17px;
  margin-bottom: 14px;
  color: var(--bh-logo-blue-dark);
}

.why-box p {
  font-size: 14px;
  color: var(--bh-muted);
  line-height: 1.9;
}
.why-box .notes {
  font-size: 12px;
  color: var(--bh-muted);
  margin-top: 12px;
}

/* ── フォーム ── */

.form-wrap {
  padding: 32px var(--section-pad-x) 40px;
}

.trust-bar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--bh-muted);
}

.trust-item::before {
  content: "✓";
  color: var(--bh-logo-blue-dark);
  font-weight: 800;
}

.form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px var(--section-pad-x);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--bh-border);
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--bh-charcoal);
}

.required {
  color: var(--bh-orange);
  font-size: 11px;
  font-weight: 600;
  margin-left: 6px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  border: 1.5px solid var(--bh-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--bh-text);
  background: #fff;
  transition: border-color 0.15s;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--bh-logo-blue);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.radio-group label {
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 8px 14px;
  border: 1.5px solid var(--bh-border);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s;
}

.radio-group input[type="radio"] {
  accent-color: var(--bh-logo-blue-dark);
}

.radio-group label:has(input:checked) {
  border-color: var(--bh-logo-blue-dark);
  background: var(--bh-pale-blue);
}

.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--bh-muted);
}

.privacy-check input {
  accent-color: var(--bh-logo-blue-dark);
  margin-top: 3px;
  flex-shrink: 0;
}
.privacy-check a {
  text-decoration: underline;
}

.btn-submit {
  width: 100%;
  margin-top: 8px;
}

.alt-contact {
  text-align: center;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--bh-border);
}

.alt-contact p {
  font-size: 13px;
  color: var(--bh-muted);
  margin-bottom: 12px;
}
.alt-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── プライバシー ── */

.privacy-doc {
  background: var(--bh-white);
  border-radius: var(--radius-lg);
  padding: 28px var(--section-pad-x);
  border: 1px solid var(--bh-border);
}

.privacy-doc h2 {
  font-size: 16px;
  font-weight: 800;
  color: var(--bh-logo-blue-dark);
  margin: 28px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--bh-border);
  text-align: left;
}

.privacy-doc h2:first-child {
  margin-top: 0;
}

.privacy-doc p,
.privacy-doc .sub-item {
  font-size: 13px;
  color: var(--bh-muted);
  margin-bottom: 12px;
  line-height: 1.9;
}

.privacy-doc ul,
.privacy-doc .sub-list {
  font-size: 13px;
  color: var(--bh-muted);
  margin: 8px 0 12px;
  padding-left: 1.2em;
  line-height: 1.9;
}

.privacy-doc .company-info {
  background: var(--bh-pale-blue);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.9;
  border: 1px solid var(--bh-border);
}

/* ── サイトマップ ── */

.sitemap-group {
  margin-bottom: 28px;
}

.sitemap-group h2 {
  font-size: 15px;
  font-weight: 800;
  color: var(--bh-logo-blue-dark);
  margin-bottom: 12px;
  text-align: left;
}

.sitemap-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sitemap-list a {
  display: block;
  padding: 12px 16px;
  background: var(--bh-white);
  border: 1px solid var(--bh-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.sitemap-list a:hover {
  background: var(--bh-pale-blue);
  text-decoration: none;
}

/* ── ニュース ── */

.news-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.news-item {
  display: block;
  padding: 18px;
  background: var(--bh-white);
  border: 1px solid var(--bh-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s;
}

.news-item:hover {
  box-shadow: var(--shadow-soft);
  text-decoration: none;
}

.news-date {
  font-size: 12px;
  color: var(--bh-muted);
  margin-bottom: 6px;
}

.news-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--bh-charcoal);
  line-height: 1.5;
}

.news-excerpt {
  font-size: 13px;
  color: var(--bh-muted);
  margin-top: 8px;
  line-height: 1.7;
}

/* メイン内セクション（class なし section タグ） */
main.page > section:not(.cta-section):not(.filter-section) {
  padding: 28px var(--section-pad-x) 40px;
  border-bottom: 1px solid var(--bh-border);
}

main.page > section:last-child {
  border-bottom: none;
}

/* 旧シェル要素を非表示（移行漏れ対策） */
.topbar,
header:not(.site-header):not(.chat-shell__header) {
  display: none !important;
}

/* ── 代表メッセージ・会社紹介（agents 等で共用） ── */

.about-brand-grid {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

@media (min-width: 640px) {
  .about-brand-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.about-brand-card__en {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--bh-logo-blue-dark);
  margin-bottom: 6px;
}

.about-brand-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.about-company {
  background: var(--bh-white);
  border: 1px solid var(--bh-border);
  border-radius: var(--radius-md);
  padding: 22px;
}

.about-company p {
  font-size: 13px;
  color: var(--bh-muted);
  line-height: 1.85;
}

.about-company__facts {
  margin: 18px 0 14px;
  display: grid;
  gap: 12px;
}

.about-company__facts div {
  display: grid;
  gap: 4px;
}

.about-company__facts dt {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--bh-logo-blue-dark);
}

.about-company__facts dd {
  font-size: 13px;
  color: var(--bh-charcoal);
  line-height: 1.7;
}

.about-interview {
  background: var(--bh-pale-blue);
  border: 1px solid var(--bh-border);
  border-radius: var(--radius-md);
  padding: 22px;
}

.about-interview__note {
  font-size: 12px;
  color: var(--bh-muted);
  background: var(--bh-white);
  border: 1px dashed var(--bh-border);
  border-radius: var(--radius-sm, 8px);
  padding: 10px 14px;
  margin-bottom: 18px;
  line-height: 1.7;
}

.about-interview__head {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.about-interview__photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 12%;
  flex-shrink: 0;
  border: 2px solid var(--bh-white);
  box-shadow: 0 2px 8px rgba(15, 42, 71, 0.12);
}

.about-interview__role {
  font-size: 11px;
  font-weight: 700;
  color: var(--bh-muted);
  margin-bottom: 4px;
}

.about-interview__name {
  font-size: 18px;
  font-weight: 800;
  color: var(--bh-charcoal);
}

.about-interview__qual {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--bh-logo-blue-dark);
  margin-top: 4px;
}

.about-interview__body p {
  font-size: 14px;
  color: var(--bh-charcoal);
  line-height: 1.9;
  margin-bottom: 14px;
}

#message {
  scroll-margin-top: 88px;
  margin-bottom: 32px;
}

.about-interview__sign {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--bh-border);
  font-size: 13px;
  font-weight: 700;
  color: var(--bh-charcoal);
  text-align: right;
}

footer:not(.site-footer) {
  display: none !important;
}
