/* =========================================================
   古物商許可申請サポートLP（page-kobutsu.php）専用スタイル。
   このテンプレートのページでだけ読み込まれます（inc/kobutsu.php）。
   すべて .kb の内側に限定し、他のページには影響させません。
   2026-10-15 コンパクト化：余白を詰め、詳しい説明は「詳しく見る」（details）に収めています。
   ========================================================= */

/* ----- 共通（このLPだけ余白を詰める） ----- */
.kb figure { margin: 0; }
.kb .section { padding: 52px 0; }
.kb .section__head { margin-bottom: 24px; }
.kb .section__icon { display: none; }
.kb .section__lead { margin-top: 8px; }
.kb-note-center {
  text-align: center;
  color: var(--color-ink-soft);
  font-size: 0.9rem;
  margin: 18px auto 0;
  max-width: 760px;
}
.kb-source {
  color: var(--color-ink-soft);
  font-size: 0.8rem;
  line-height: 1.7;
  margin-top: 16px;
}
.kb-subhead {
  text-align: center;
  font-size: clamp(1.2rem, 1rem + 0.6vw, 1.5rem);
  margin: 40px 0 18px;
}
.kb-dots li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 0.45em;
}
.kb-dots li::before {
  content: "";
  position: absolute;
  left: 0.2em;
  top: 0.75em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-brand);
}
/* 見出しを意味のまとまりで改行（途中で1文字だけ次の行に落ちないように） */
.kb .kb-nw { display: inline-block; }
.kb .kb-sp { display: none; }

/* 「詳しく見る」（開閉） */
.kb-more { max-width: 960px; margin: 18px auto 0; }
.kb-more > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  list-style: none;
  cursor: pointer;
  max-width: 520px;
  margin: 0 auto;
  padding: 12px 18px;
  border: 1px solid var(--color-brand);
  border-radius: 999px;
  background: #fff;
  color: var(--color-brand-dark);
  font-weight: 700;
  font-size: 0.92rem;
  text-align: center;
}
.kb-more > summary::-webkit-details-marker { display: none; }
.kb-more > summary::after {
  content: "expand_more";
  font-family: "Material Symbols Outlined";
  font-size: 22px;
  line-height: 1;
  transition: transform 0.25s var(--ease);
}
.kb-more[open] > summary::after { transform: rotate(180deg); }
.kb-more__body { margin-top: 18px; }

/* ----- 1. ファーストビュー（PC：右に写真・左に白のグラデーション） ----- */
.kb-hero {
  position: relative;
  overflow: hidden;
  background: #f6f4ef;
  color: #1b2a4a;
}
.kb-hero__bg { position: absolute; top: 0; right: 0; bottom: 0; width: 56%; display: block; }
.kb-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.kb-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, #fff 0%, #fff 44%, rgba(255,255,255,0.7) 49%, rgba(255,255,255,0) 56%);
}
.kb-hero__inner { position: relative; z-index: 2; padding-top: 44px; padding-bottom: 46px; }
.kb-hero__text { max-width: 600px; }
.kb-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-heading);
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
  font-weight: 700;
  color: #1b2a4a;
  margin-bottom: 12px;
}
.kb-hero__eyebrow::after { content: ""; flex: 0 0 72px; height: 1px; background: currentColor; opacity: 0.5; }
.kb-hero__title {
  font-size: clamp(2.2rem, 1rem + 2.2vw, 2.8rem);
  line-height: 1.35;
  letter-spacing: 0.04em;
  color: #1b2a4a;
  margin-bottom: 14px;
}
.kb-hero__gold { color: #c39a3e; }
.kb-hero__line { display: block; white-space: nowrap; }
.kb-hero__lead { font-size: 1.02rem; line-height: 1.85; margin-bottom: 18px; color: #26324a; max-width: 520px; }
.kb-hero__features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 22px;
  max-width: 540px;
}
.kb-hero__features li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.45;
  color: #1b2a4a;
  padding: 0 6px;
}
.kb-hero__features li + li { border-left: 1px solid rgba(27, 42, 74, 0.25); }
.kb-hero__features .material-symbols-outlined { font-size: 32px; color: #1b2a4a; }
.kb-hero__ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 600px; }

/* 古物商LPのPC版トップ：写真全体を右側に収め、少し引いた見え方にする（上端は背景に溶け込ませる）。中古車LP（.uc）には適用しない */
@media (min-width: 1025px) {
  .kb:not(.uc) .kb-hero { background: #fff; }
  .kb:not(.uc) .kb-hero__bg img {
    object-fit: contain;
    object-position: right center;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%);
  }
  .kb:not(.uc) .kb-hero__bg { width: 73%; } /* 2026-10-20 写真を縦に約1cm大きく(64%→73%) */
  .kb:not(.uc) .kb-hero::before { background: linear-gradient(90deg, #fff 0%, #fff 42%, rgba(255,255,255,0.7) 47%, rgba(255,255,255,0) 54%); }
}

/* LP共通のボタン（大きさをそろえる） */
.kb-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 56px;
  padding: 12px 14px;
  white-space: nowrap;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.35;
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
  box-shadow: 0 6px 16px rgba(20, 30, 50, 0.15);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease);
}
.kb-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(20, 30, 50, 0.22); filter: brightness(1.04); }
.kb-btn .material-symbols-outlined { font-size: 1.35em; }
.kb-btn__arrow { margin-left: auto; }
.kb-btn__icon { width: 1.5em; height: 1.5em; border-radius: 22%; flex-shrink: 0; }
.kb-btn--gold { background: linear-gradient(180deg, #d1a84b, #b88a2c); color: #fff; }
.kb-btn--line { background: #06c755; color: #fff; }
.kb-btn--white { background: #fff; color: var(--color-brand-dark); border-color: #fff; }
.kb-btn--outline { background: #fff; color: var(--color-brand-dark); border-color: var(--color-brand); box-shadow: 0 4px 12px rgba(20, 30, 50, 0.1); }

/* ----- 2. お悩み（PCは2列） ----- */
.kb-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
  max-width: 900px;
  margin: 0 auto;
}
.kb-checks li {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 12px 14px 12px 44px;
  font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(20, 40, 30, 0.04);
}
.kb-checks li::before {
  content: "check_box";
  font-family: "Material Symbols Outlined";
  position: absolute;
  left: 12px;
  top: 11px;
  font-size: 22px;
  line-height: 1;
  color: var(--color-accent);
}
.kb-checks strong { color: var(--color-brand-dark); }

/* ----- 3. 動画（押すとYouTubeを読み込む） ----- */
.kb-videos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 240px));
  justify-content: center;
  gap: 24px;
}
.kb-video { display: flex; flex-direction: column; gap: 10px; }
.kb-video__play,
.kb-video iframe {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 15.2; /* 縦幅を5%小さく（画像は上側を基準に切り取り） */
  border: 0;
  padding: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow);
  cursor: pointer;
}
.kb-video__play img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.kb-video__icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.92);
  color: #fff;
  font-size: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s var(--ease);
}
.kb-video__play:hover .kb-video__icon { transform: translate(-50%, -50%) scale(1.08); }
.kb-video figcaption { text-align: center; font-weight: 700; font-size: 0.92rem; color: var(--color-brand-dark); }
.kb-videos__hint { text-align: center; font-size: 0.8rem; color: var(--color-ink-soft); margin: 10px 0 0; }
/* 基礎知識：動画の下の「文字で読む」 */
.kb-more__body > .kb-subhead:first-child { margin-top: 0; }
.kb-basics__lead { text-align: center; color: var(--color-ink-soft); font-size: 0.92rem; max-width: 760px; margin: 0 auto 14px; }
.kb-basics__gap { height: 16px; }
div.kb-video__play { cursor: default; }

/* ----- 4. 古物商許可とは ----- */
.kb-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 960px;
  margin: 0 auto;
}
.kb-compare__col {
  background: #fff;
  border-radius: var(--radius);
  padding: 18px 22px;
  border-top: 5px solid var(--color-brand);
  box-shadow: var(--shadow);
}
.kb-compare__col--not { border-top-color: var(--color-gold); }
.kb-compare__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.02rem;
  margin-bottom: 8px;
}
.kb-compare__col--need .kb-compare__label { color: var(--color-brand-dark); }
.kb-compare__col--not .kb-compare__label { color: #8a6a2c; }
.kb-compare__col li {
  padding: 6px 0 6px 1.2em;
  border-bottom: 1px dashed var(--color-border);
  position: relative;
  font-size: 0.94rem;
}
.kb-compare__col li:last-child { border-bottom: none; }
.kb-compare__col li::before { content: "・"; position: absolute; left: 0; }
.kb-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.kb-point {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: 0.94rem;
}
.kb-point h3 { font-size: 1.05rem; color: var(--color-brand-dark); }
.kb-point p:last-child { margin-bottom: 0; }

/* ----- 5. 商品と区分 ----- */
.kb-guide__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 960px;
  margin: 0 auto;
}
.kb-guide__list li {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  column-gap: 8px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 10px 14px;
}
.kb-guide__list .material-symbols-outlined { grid-row: span 2; font-size: 28px; color: var(--color-brand); }
.kb-guide__list b { font-size: 0.92rem; line-height: 1.4; }
.kb-guide__list span:last-child { font-size: 0.82rem; color: var(--color-brand-dark); font-weight: 700; }
.kb-guide__list span:last-child::before { content: "→ "; }
.kb-table-wrap { max-width: 860px; margin: 0 auto; }
.kb-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 0.92rem;
}
.kb-table th,
.kb-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}
.kb-table thead th { background: var(--color-brand); color: #fff; font-weight: 700; }
.kb-table tbody th { width: 38%; color: var(--color-brand-dark); font-weight: 700; }
.kb-table tbody tr:last-child th,
.kb-table tbody tr:last-child td { border-bottom: none; }

/* ----- 6. ネット販売・海外販売（3枚のカード） ----- */
.kb-cards3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}
.kb-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-brand);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: 0 2px 8px rgba(20, 40, 30, 0.04);
}
.kb-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.02rem;
  color: var(--color-brand-dark);
  margin-bottom: 8px;
}
.kb-card h3 .material-symbols-outlined { color: var(--color-brand); }
.kb-card p { font-size: 0.92rem; line-height: 1.75; margin: 0; }

/* ----- 7. サポート内容・流れ ----- */
.kb-support {
  counter-reset: kbsupport;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px;
  list-style: none;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
}
.kb-support li {
  counter-increment: kbsupport;
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 12px 14px 12px 54px;
  box-shadow: 0 2px 8px rgba(20, 40, 30, 0.05);
}
.kb-support li::before {
  content: counter(kbsupport);
  position: absolute;
  left: 14px;
  top: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-brand);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kb-support b { display: block; color: var(--color-brand-dark); }
.kb-support span { font-size: 0.88rem; color: var(--color-ink-soft); }
/* 流れ：PCは3列×2段で大きく、スマホは縦 */
#flow.kb-subhead { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); margin-bottom: 24px; }
.kb-steps__support {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 12px !important;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fbf5e6;
  color: #7a5a1c !important;
  font-size: 0.9rem !important;
  font-weight: 700;
  line-height: 1.6 !important;
  text-align: left;
}
.kb-steps__support .material-symbols-outlined,
.kb-steps__legend .material-symbols-outlined { font-size: 20px; color: var(--color-gold); flex-shrink: 0; vertical-align: -4px; }
.kb-steps__legend { display: inline-block; margin-top: 6px; font-size: 0.86rem; font-weight: 700; color: #7a5a1c; background: #fbf5e6; border-radius: 999px; padding: 2px 12px; }
.kb-steps li > div { display: flex; flex-direction: column; height: 100%; }
.kb-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px 40px;
  max-width: 1080px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}
.kb-steps li {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 26px 24px 24px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(20, 40, 30, 0.07);
  border-top: 5px solid var(--color-brand);
}
.kb-steps li:nth-child(5),
.kb-steps li:nth-child(6) { border-top-color: var(--color-gold); }
.kb-steps li:not(:nth-child(3n))::after {
  content: "chevron_right";
  font-family: "Material Symbols Outlined";
  position: absolute;
  right: -34px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  color: var(--color-gold);
  z-index: 1;
}
.kb-steps__num {
  position: absolute;
  left: 18px;
  top: 16px;
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-brand);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  align-items: center;
  justify-content: center;
}
.kb-steps__icon {
  display: block;
  font-size: 46px !important;
  color: var(--color-brand);
  margin: 2px 0 8px;
}
.kb-steps h4 { font-size: 1.2rem; margin: 0 0 8px; color: var(--color-brand-dark); }
.kb-steps p { margin: 0; font-size: 0.98rem; line-height: 1.75; color: var(--color-ink); }

/* ----- 11. 事務所紹介 ----- */
.kb-office { max-width: 860px; margin: 0 auto; }
.kb-office__profile {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  align-items: center;
}
.kb-office__photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 3 / 4; }
.kb-office__photo img { width: 100%; height: 100%; object-fit: cover; }
.kb-office__name { font-weight: 700; margin-bottom: 2px; }
.kb-office__quals { color: var(--color-ink-soft); font-size: 0.88rem; margin-bottom: 8px; }
.kb-office__body p:last-child { margin-bottom: 0; }
.kb-office__table a { color: var(--color-brand-dark); font-weight: 700; }

/* ----- 12. お問い合わせ ----- */
.kb-contact__box {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  background: linear-gradient(160deg, var(--color-brand-dark), var(--color-brand));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.kb-contact__body h2 { color: #fff; font-size: clamp(1.3rem, 1.05rem + 1vw, 1.8rem); }
.kb-contact__actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; width: 100%; max-width: 380px; margin: 18px auto 14px; }
.kb-contact__phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}
.kb-contact__phone a { color: #fff; text-decoration: none; }
.kb-contact__hours { font-size: 0.88rem; opacity: 0.9; margin: 4px 0 0; }

/* ----- タブレット（写真の上に文字を重ねる） ----- */
@media (max-width: 1024px) {
  .kb-hero__bg { width: 100%; }
  .kb-hero__bg img { object-position: center; }
  .kb-hero::before { background: linear-gradient(180deg, rgba(14, 24, 44, 0.62) 0%, rgba(14, 24, 44, 0.78) 55%, rgba(14, 24, 44, 0.9) 100%); }
  .kb-hero__inner { padding-top: 40px; padding-bottom: 40px; }
  .kb-hero__text { max-width: 640px; margin: 0 auto; }
  .kb-hero__eyebrow,
  .kb-hero__title,
  .kb-hero__lead,
  .kb-hero__features li,
  .kb-hero__features .material-symbols-outlined { color: #fff; }
  .kb-hero__title { text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35); }
  .kb-hero__gold { color: #f0c96a; }
  .kb-hero__features li + li { border-left-color: rgba(255, 255, 255, 0.35); }
  .kb-steps { gap: 18px 30px; }
  .kb-steps li:not(:nth-child(3n))::after { right: -28px; }
}
@media (max-width: 900px) {
  .kb-cards3,
  .kb-guide__list { grid-template-columns: 1fr 1fr; }
}

/* ----- スマートフォン ----- */
@media (max-width: 760px) {
  .kb .section { padding: 36px 0; }
  .kb .section__head { margin-bottom: 18px; }
  .kb .section__title { font-size: 1.4rem; }
  .kb .section__lead { font-size: 0.9rem; }
  .kb .kb-sp { display: block; }
  .kb-pc { display: none; }

  /* ファーストビュー：写真の上に文字。1画面で「何のサイトか」と相談ボタンまで見えるように */
  .kb-hero__inner { padding-top: 26px; padding-bottom: 24px; }
  .kb-hero__eyebrow { font-size: 0.82rem; margin-bottom: 8px; white-space: nowrap; }
  .kb-hero__eyebrow::after { display: none; }
  .kb-hero__title { font-size: 1.65rem; line-height: 1.45; margin-bottom: 10px; }
  .kb-hero__lead { font-size: 0.9rem; line-height: 1.7; margin-bottom: 14px; }
  .kb-hero__features { grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 16px; }
  .kb-hero__features li,
  .kb-hero__features li + li {
    flex-direction: row;
    justify-content: flex-start;
    gap: 6px;
    padding: 6px 8px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.76rem;
    text-align: left;
  }
  .kb-hero__features .material-symbols-outlined { font-size: 18px; }
  .kb-hero__ctas { grid-template-columns: 1fr; gap: 8px; }
  .kb-hero__ctas .kb-btn { min-height: 50px; font-size: 0.92rem; }
  .kb-hero__form { display: none; }
  /* スマホはフッターの固定ボタンにLINEがあるため、ボタンは隠して場所(余白)だけ残す */
  .kb-hero__line-btn { visibility: hidden; order: -1; min-height: 34px !important; height: 34px; padding: 0; }
  .kb-hero__inner { padding-bottom: 40px; } /* 余白を上に置き、相談ボタンを下げる */
  /* 相談ボタンの文言を真ん中に(矢印は右端に固定) */
  .kb-hero__ctas .kb-btn { position: relative; justify-content: center; padding-left: 40px; padding-right: 40px; }
  .kb-hero__ctas .kb-btn__arrow { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); margin: 0; }

  .kb-checks { grid-template-columns: 1fr; gap: 8px; }
  .kb-checks li { font-size: 0.9rem; padding: 10px 12px 10px 40px; }
  .kb-checks li::before { top: 9px; left: 10px; }

  /* 動画：横スクロール */
  .kb-videos {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 0 -16px;
    padding: 4px 16px 8px;
    justify-content: flex-start;
  }
  .kb-video { flex: 0 0 58%; scroll-snap-align: center; }

  .kb-compare,
  .kb-points,
  .kb-cards3 { grid-template-columns: 1fr; gap: 12px; }
  .kb-compare__col,
  .kb-point,
  .kb-card { padding: 14px 16px; }
  .kb-compare__col li { font-size: 0.88rem; padding: 5px 0 5px 1.2em; }
  .kb-guide__list { gap: 8px; }
  .kb-guide__list li { padding: 8px 10px; grid-template-columns: 24px 1fr; column-gap: 6px; }
  .kb-guide__list .material-symbols-outlined { font-size: 22px; }
  .kb-guide__list b { font-size: 0.82rem; }
  .kb-guide__list span:last-child { font-size: 0.74rem; }
  .kb-more > summary { font-size: 0.86rem; padding: 10px 14px; }

  .kb-table { font-size: 0.84rem; }
  .kb-table th,
  .kb-table td { padding: 8px 10px; }
  .kb-table tbody th { width: 42%; }

  .kb-support { grid-template-columns: 1fr; gap: 8px; }
  .kb-support li::before { left: 12px; top: 8px; }
  .kb-steps { grid-template-columns: 1fr; gap: 10px; }
  .kb-steps li {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 12px;
    align-items: center;
    text-align: left;
    padding: 14px 16px;
    border-top: none;
    border-left: 5px solid var(--color-brand);
  }
  .kb-steps li:nth-child(5),
  .kb-steps li:nth-child(6) { border-left-color: var(--color-gold); }
  .kb-steps li::after { display: none; }
  .kb-steps__num { position: static; width: 40px; height: 40px; }
  .kb-steps__icon { display: none; }
  .kb-steps h4 { font-size: 1.05rem; margin-bottom: 2px; }
  .kb-steps p { font-size: 0.88rem; line-height: 1.6; }
  .kb-steps__support { margin-top: 8px !important; padding: 7px 10px; font-size: 0.8rem !important; }
  .kb-steps__support .material-symbols-outlined { font-size: 18px; }

  .kb-office__profile { grid-template-columns: 90px 1fr; gap: 14px; align-items: start; }
  .kb-office__body { font-size: 0.88rem; }

  .kb-hero__features li,
  .kb-hero__features li + li { white-space: nowrap; letter-spacing: 0; }
  .kb-support li { padding: 10px 12px 10px 48px; }
  .kb-support span { display: none; }

  /* 料金カード（共通部品）をこのページだけ小さく */
  .kb .pricing-grid { gap: 10px; }
  .kb .pricing-card { padding: 16px 18px; min-height: 0; }
  .kb .pricing-card--featured { transform: none; }
  .kb .pricing-card h3 { font-size: 1.1rem; margin-bottom: 2px; }
  .kb .pricing-card__desc { margin-bottom: 6px; font-size: 0.85rem; }
  .kb .pricing-card__list { display: none; }
  .kb .pricing-card__price { font-size: 1.3rem; margin: 0; }

  .kb-contact__box { padding: 24px 16px; }
  .kb .kobutsu-cta ul.kobutsu-cta__worries { padding: 12px 14px 4px; font-size: 0.92rem; }
  .kb-contact__phone { font-size: 1.3rem; }
}

/* ----- LP：コラムへの案内・お役立ちコラム一覧 ----- */
.kb-readmore {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  max-width: 960px;
  margin: 20px auto 0;
  font-size: 0.92rem;
  color: var(--color-ink-soft);
}
.kb-readmore .material-symbols-outlined { font-size: 20px; color: var(--color-brand); }
.kb-readmore a { color: var(--color-brand-dark); font-weight: 700; }
.kb-readmore__sep { color: var(--color-border); }
.kb-readmore-wrap { padding-bottom: 8px; }
.kb-columns {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}
.kb-column-card {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 14px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 12px;
  text-decoration: none;
  color: var(--color-ink);
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.kb-column-card:hover { box-shadow: var(--shadow); border-color: var(--color-brand); transform: translateY(-2px); }
.kb-column-card__photo { display: block; width: 84px; height: 84px; border-radius: 12px; overflow: hidden; background: var(--color-bg-soft); }
.kb-column-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.kb-column-card__body { display: flex; flex-direction: column; gap: 4px; }
.kb-column-card__title { font-weight: 700; font-size: 0.95rem; line-height: 1.55; }
.kb-column-card__more { font-size: 0.82rem; color: var(--color-brand-dark); font-weight: 700; }
.kb-column-card__draft { font-size: 0.72rem; color: var(--color-accent); font-weight: 700; }

/* ----- 古物商許可のコラム（投稿本文 .column-content 内） ----- */
/* 読みやすさ：文字・行間・段落の間隔・見出しの余白 */
.single-post .column-content { font-size: 1.04rem; letter-spacing: 0.02em; }
.column-content .kobutsu-summary ~ p,
.column-content .kobutsu-summary ~ * p { line-height: 2; }
.column-content p { margin-bottom: 1.15em; }
.column-content .kobutsu-voice { margin-bottom: 0.35em; color: var(--color-brand-dark); font-weight: 700; font-size: 1.05rem; }
.column-content .kobutsu-voice + p:not(.kobutsu-voice) { margin-top: 1.1em; }
.column-content .kobutsu-summary ~ ul,
.column-content .kobutsu-summary ~ * ul:not(.kobutsu-cta__worries):not(.kobutsu-cta__points) {
  background: var(--color-bg-soft);
  border-radius: 12px;
  padding: 14px 18px 8px;
}
.column-content .kobutsu-summary,
.column-content .kobutsu-more,
.column-content .kobutsu-sources {
  border-radius: var(--radius);
  padding: 18px 20px 8px;
  margin: 1.8em 0;
}
.column-content .kobutsu-summary { background: var(--color-brand-light); border: 2px solid var(--color-brand); }
.column-content .kobutsu-summary ul,
.column-content .kobutsu-more ul,
.column-content .kobutsu-sources ul { background: none !important; padding: 0 !important; }
.column-content .kobutsu-more { background: #fff; border: 1px solid var(--color-border); }
.column-content .kobutsu-sources { background: #fff; border: 1px dashed var(--color-border); font-size: 0.86rem; }
.column-content .kobutsu-sources a { word-break: break-all; }
.column-content .kobutsu-summary__title,
.column-content .kobutsu-more__title,
.column-content .kobutsu-sources__title { margin-bottom: 0.6em; }
.column-content .kobutsu-flow {
  background: var(--color-bg-soft);
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 700;
  color: var(--color-brand-dark);
}
.column-content .kobutsu-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2em 0 1.6em;
  font-size: 0.92rem;
  line-height: 1.6;
}
.column-content .kobutsu-table th,
.column-content .kobutsu-table td { border: 1px solid var(--color-border); padding: 10px 12px; text-align: left; vertical-align: top; }
.column-content .kobutsu-table thead th { background: var(--color-brand); color: #fff; }
.column-content .kobutsu-table tbody tr:nth-child(even) td { background: var(--color-bg-soft); }

/* 記事内のボタン（3つとも同じ大きさ・中央ぞろえ） */
:is(.column-content, .kb) .kobutsu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
  box-shadow: 0 6px 16px rgba(20, 30, 50, 0.15);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
:is(.column-content, .kb) .kobutsu-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(20, 30, 50, 0.22); }
:is(.column-content, .kb) .kobutsu-btn--gold { background: linear-gradient(180deg, #d1a84b, #b88a2c); color: #fff; }
:is(.column-content, .kb) .kobutsu-btn--line { background: #06c755; color: #fff; }
:is(.column-content, .kb) .kobutsu-btn--white { background: #fff; color: var(--color-brand-dark); }

/* 本文中ほどの相談案内 */
:is(.column-content, .kb) .kobutsu-cta-mini {
  margin: 2.4em 0;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: #fbf7ec;
  border: 1px solid #e6d3a3;
  text-align: center;
}
:is(.column-content, .kb) .kobutsu-cta-mini__lead { font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; color: #1b2a4a; margin-bottom: 0.4em; }
:is(.column-content, .kb) .kobutsu-cta-mini__text { font-size: 0.95rem; margin-bottom: 1em; }
:is(.column-content, .kb) .kobutsu-cta-mini__buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 540px;
  margin: 0 auto;
}

/* 記事末の相談案内（強調パネル）。LPの最下部（.kb）でも同じデザインを使います */
.kb .kobutsu-cta { max-width: 820px; margin: 0 auto !important; }
.kb .kobutsu-cta__worries,
.kb .kobutsu-cta__points { list-style: none; }
.kb .kobutsu-cta__worries li { position: relative; margin-bottom: 0.4em; }
.kb .kobutsu-cta__worries li::before { position: absolute; left: 0; }
.kb .kobutsu-cta p { margin-bottom: 1em; }
:is(.column-content, .kb) .kobutsu-cta {
  margin: 3em 0 2em;
  padding: 8px 28px 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--color-brand-dark), var(--color-brand));
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
:is(.column-content, .kb) .kobutsu-cta h2 {
  color: #fff;
  border: none;
  background: none;
  padding: 0;
  margin: 1em 0 0.6em;
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem);
  line-height: 1.5;
}
:is(.column-content, .kb) .kobutsu-cta h2::before,
:is(.column-content, .kb) .kobutsu-cta h2::after { display: none; }
:is(.column-content, .kb) .kobutsu-cta p { color: #fff; }
:is(.column-content, .kb) .kobutsu-cta__q { font-weight: 700; margin-bottom: 0.5em; }
:is(.column-content, .kb) .kobutsu-cta ul.kobutsu-cta__worries {
  display: inline-block;
  text-align: left;
  background: #fff;
  color: var(--color-ink);
  border-radius: 12px;
  padding: 14px 20px 6px;
  margin: 0 auto 1.2em;
}
:is(.column-content, .kb) .kobutsu-cta__worries li { padding-left: 1.8em; }
:is(.column-content, .kb) .kobutsu-cta__worries li::before {
  content: "check_box" !important;
  font-family: "Material Symbols Outlined";
  background: none !important;
  width: auto !important;
  height: auto !important;
  top: 0.15em !important;
  font-size: 20px;
  line-height: 1;
  color: var(--color-accent);
}
:is(.column-content, .kb) .kobutsu-cta__body { font-size: 0.98rem; line-height: 1.9; max-width: 560px; margin: 0 auto 1em; }
:is(.column-content, .kb) .kobutsu-cta ul.kobutsu-cta__points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 1.2em;
  padding: 0;
}
:is(.column-content, .kb) .kobutsu-cta__points li {
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0;
}
:is(.column-content, .kb) .kobutsu-cta__points li::before { display: none !important; }
:is(.column-content, .kb) .kobutsu-cta__buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 420px;
  margin: 0 auto 1em;
}
:is(.column-content, .kb) .kobutsu-cta__sub,
:is(.column-content, .kb) .kobutsu-cta__note { font-size: 0.85rem; opacity: 0.92; }
:is(.column-content, .kb) .kobutsu-cta__sub a { color: #fff; font-weight: 700; }
:is(.column-content, .kb) .kobutsu-cta__note { margin: 0; }

@media (max-width: 760px) {
  .kb-columns { grid-template-columns: 1fr; }
  .single-post .column-content { font-size: 1rem; }
  .column-content .kobutsu-table { font-size: 0.84rem; }
  .column-content .kobutsu-table th,
  .column-content .kobutsu-table td { padding: 8px; }
  :is(.column-content, .kb) .kobutsu-cta { padding: 6px 16px 20px; }
  /* 3つの特長を同じ幅にそろえる(1行ずつ並ぶため) */
  :is(.column-content, .kb) .kobutsu-cta ul.kobutsu-cta__points { flex-direction: column; align-items: center; }
  :is(.column-content, .kb) .kobutsu-cta__points li { width: 100%; max-width: 260px; text-align: center; box-sizing: border-box; }
  :is(.column-content, .kb) .kobutsu-cta-mini { padding: 18px 14px; }
  :is(.column-content, .kb) .kobutsu-cta-mini__buttons { grid-template-columns: 1fr; }
}

/* ----- LP専用ヘッダー（header.php の .site-header--lp、古物商LPのみ） ----- */
.site-header--lp .site-nav__list { align-items: center; gap: 18px; }
.site-header--lp .site-nav__list a { white-space: nowrap; }
.site-header--lp .site-nav__cta {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #d1a84b, #b88a2c);
  color: #fff !important;
  font-weight: 700;
}
.site-header--lp .site-nav__cta:hover { filter: brightness(1.05); }
.kb [id] { scroll-margin-top: 84px; }
@media (max-width: 1240px) and (min-width: 841px) {
  .site-header--lp .site-nav__list { gap: 14px; }
}
@media (max-width: 840px) {
  .site-header--lp .site-nav__list { align-items: stretch; gap: 0; }
  .site-header--lp .site-nav__cta { display: block; margin-top: 12px; padding: 12px 18px !important; text-align: center; border-bottom: none !important; }
}

/* 動画で分かる:PCは4列。5本目以降は「もっと見る」を押すまで隠す(スマホは横スクロールで全部表示) */
.kb .kb-pc-only { display: none; }
@media (min-width: 761px) {
  .kb .kb-pc-only { display: block; }
  #videos:not(.is-videos-open) .kb-video--more { display: none; }
  .kb-videos__more { text-align: center; margin: 22px 0 0; }
  .kb-videos__more-btn {
    display: inline-flex; align-items: center; gap: 4px; padding: 10px 26px; cursor: pointer;
    border: 1px solid var(--color-brand); border-radius: 999px; background: #fff;
    color: var(--color-brand-dark); font-weight: 700; font-size: 0.92rem;
  }
  .kb-videos__more-btn:hover { background: var(--color-brand-light); }
  #videos .kb-videos { grid-template-columns: repeat(4, minmax(0, 210px)); gap: 20px; }
  #videos .kb-video figcaption { font-size: 0.86rem; }
}
@media (min-width: 761px) and (max-width: 1024px) {
  #videos .kb-videos { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
}

/* 英語版LP:英語の見出しは横に長くなるため少し小さく */
.kb--en .kb-hero__title { font-size: clamp(2rem, 1rem + 1.9vw, 2.5rem); }
@media (max-width: 760px) {
  .kb--en .kb-hero__title { font-size: 1.55rem; }
  .kb--en .kb-hero__line { white-space: normal; }
  .kb--en .kb-hero__features li, .kb--en .kb-hero__features li + li { white-space: normal; font-size: 0.72rem; line-height: 1.3; }
}

/* 英語版LPのPC版トップ:写真を縦に少し大きく(写真の枠を広げる) */
@media (min-width: 1025px) {
  .kb--en .kb-hero__bg { width: 79%; } /* 2026-10-20 さらに約1cm大きく(70%→79%) */
}

/* お問い合わせ欄の写真（2026-10-21 車庫証明LPと同じ形） */
.kb-contact__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 6;
  object-fit: cover;
  object-position: center 45%;
  border-radius: 12px;
  margin-bottom: 18px;
}

/* =========================================================
   2026-10-28 古物商LP（日本語）：相談につなげる部品と細部の調整（.kb--cv）
   page-kobutsu.php の <div class="kb kb--cv"> だけに効きます。
   トップの写真・見出し・ボタン、明朝体の見出し、緑と金の配色は従来どおりです。
   ========================================================= */

/* ----- トップ直下の安心ポイント ----- */
.kb-trust { background: #fff; border-bottom: 1px solid var(--color-border); }
.kb-trust__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 18px;
  padding-bottom: 18px;
}
.kb-trust__list li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 4px 12px;
}
.kb-trust__list li + li { border-left: 1px solid var(--color-border); }
.kb-trust__list .material-symbols-outlined {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-brand-light);
  color: var(--color-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.kb-trust__list li > span:last-child { display: flex; flex-direction: column; line-height: 1.45; }
.kb-trust__list small { font-size: 0.8rem; color: var(--color-ink-soft); }
.kb-trust__list b { font-size: 1rem; color: var(--color-brand-dark); }

/* ----- ページ途中の相談案内 ----- */
.kb--cv .kb-cta-mini { max-width: 760px; margin: 28px auto 0; }
.kb--cv .kb-cta-mini-wrap { padding-bottom: 52px; }
.kb--cv .kb-cta-mini-wrap .kb-cta-mini { margin-top: 8px; }
.kb--cv .kobutsu-cta-mini__buttons .kobutsu-btn { min-height: 52px; font-size: 0.95rem; }

/* ----- 細部：古く見える装飾を控えめに ----- */
/* ボタン：影を軽く */
.kb--cv .kb-btn,
.kb--cv .kobutsu-btn { box-shadow: 0 4px 12px -4px rgba(20, 30, 50, 0.25); }
.kb--cv .kb-btn:hover,
.kb--cv .kobutsu-btn:hover { box-shadow: 0 10px 22px -8px rgba(20, 30, 50, 0.35); }

/* お悩み：赤いチェックボックス → 緑の丸いチェック */
.kb--cv .kb-checks li { border-color: transparent; background: var(--color-bg-soft); box-shadow: none; padding-left: 50px; }
.kb--cv .kb-checks li::before {
  content: "check";
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-brand);
  color: #fff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* カード：上辺の色線をやめ、アイコンを丸い背景に */
.kb--cv .kb-card,
.kb--cv .kb-compare__col,
.kb--cv .kb-steps li { border-top: 0; }
.kb--cv .kb-card { border-color: transparent; background: var(--color-bg-soft); box-shadow: none; padding: 22px 22px; }
.kb--cv .kb-card h3 .material-symbols-outlined {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.kb--cv .kb-compare__col { box-shadow: 0 2px 14px rgba(20, 40, 30, 0.06); }
.kb--cv .kb-compare__col--need .kb-compare__label { border-bottom: 2px solid var(--color-brand); padding-bottom: 8px; }
.kb--cv .kb-compare__col--not .kb-compare__label { border-bottom: 2px solid var(--color-gold); padding-bottom: 8px; }
.kb--cv .kb-steps li { box-shadow: 0 2px 14px rgba(20, 40, 30, 0.06); border: 1px solid var(--color-border); }
.kb--cv .kb-steps__icon {
  width: 72px;
  height: 72px;
  margin: 2px auto 10px;
  border-radius: 50%;
  background: var(--color-brand-light);
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 36px !important;
}

/* 料金：金額の赤字をやめ、おすすめのプランに「おすすめ」 */
.kb--cv #pricing .pricing-card { border-width: 1px; box-shadow: 0 2px 14px rgba(20, 40, 30, 0.06); }
.kb--cv #pricing .pricing-card__price { color: var(--color-brand-dark); }
.kb--cv #pricing .pricing-card--featured { border: 2px solid var(--color-gold); box-shadow: 0 16px 34px -18px rgba(184, 147, 74, 0.55); }
.kb--cv #pricing .pricing-card--featured::before {
  content: "おすすめ";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #d1a84b, #b88a2c);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* よくある質問：角を丸く、枠線を薄く */
.kb--cv #faq .faq-item { border-color: transparent; box-shadow: 0 1px 6px rgba(20, 40, 30, 0.05); }
.kb--cv #faq .faq-item summary .q-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

/* コラム一覧・事務所紹介：枠線をやめて面で区切る */
.kb--cv .kb-column-card { border-color: transparent; background: var(--color-bg-soft); }
.kb--cv .kb-column-card:hover { border-color: transparent; background: var(--color-brand-light); }

/* 最下部の相談案内：要点3つ */
.kb--cv .kb-contact .kobutsu-cta ul.kobutsu-cta__points { margin-bottom: 1em; }

/* ----- タブレット・スマホ ----- */
@media (max-width: 900px) {
  .kb-trust__list { grid-template-columns: 1fr 1fr; gap: 12px 0; }
  .kb-trust__list li { justify-content: flex-start; }
  .kb-trust__list li:nth-child(odd) { border-left: 0; }
}
@media (max-width: 760px) {
  .kb-trust__list { padding-top: 14px; padding-bottom: 14px; gap: 10px 0; }
  .kb-trust__list li { gap: 6px; padding: 2px 4px; }
  .kb-trust__list .material-symbols-outlined { width: 28px; height: 28px; font-size: 16px; }
  .kb-trust__list b { font-size: 0.82rem; letter-spacing: 0; white-space: nowrap; }
  .kb-trust__list small { display: none; font-size: 0.7rem; }
  .kb-trust__list small.kb-trust__keep { display: block; }
  .kb--cv .kb-cta-mini { margin-top: 20px; }
  .kb--cv .kb-cta-mini-wrap { padding-bottom: 36px; }
  .kb--cv .kb-checks li { padding-left: 46px; }
  .kb--cv .kb-checks li::before { left: 12px; top: 50%; }
  .kb--cv .kb-steps li { border-top: 1px solid var(--color-border); }
  .kb--cv .kb-steps__icon { display: none !important; }
  .kb--cv #pricing .pricing-card--featured { margin-top: 10px; }
}
