/* ============================================================
   HTB Trading — Design tokens (Direction B · Showroom)
   White base / ink text / electric blue accent / Outfit display
   ============================================================ */
:root {
  --htbt-media-h: 150px; /* カード型コンポーネントの画像エリア共通高さ */
  --htbt-bg: #FFFFFF;
  --htbt-ink: #101418;
  --htbt-blue: #2457E6;
  --htbt-blue-soft: #EAF0FF;
  --htbt-panel: #F5F6F8;
  --htbt-line: #D6DAE1;
  --htbt-muted: #8A93A3;
  --htbt-success: #0E7A46;
  --htbt-success-soft: #E7F5EC;
  --htbt-warning: #C2410C;
  --htbt-warning-soft: #FFF1E6;
  --htbt-danger: #C42D2D;
  --htbt-danger-soft: #FCECEC;
  --htbt-radius: 10px;
  --htbt-font-display: 'Outfit', -apple-system, sans-serif;
  --htbt-font-body: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
}

/* ---------- auth screens ---------- */
.htbt-auth-body {
  margin: 0;
  background: var(--htbt-bg);
  color: var(--htbt-ink);
  font-family: var(--htbt-font-body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.htbt-auth-header {
  padding: 22px clamp(20px, 5vw, 48px);
}
.htbt-wordmark {
  font-family: var(--htbt-font-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--htbt-ink);
  text-decoration: none;
}
.htbt-wordmark em { font-style: normal; color: var(--htbt-blue); }
.htbt-wordmark--logo { display: inline-block; line-height: 0; }
.htbt-wordmark--logo img { height: 34px; width: auto; display: block; }
.htbt-wordmark--logo small { line-height: 1; margin-top: 5px; text-align: center; padding-left: 0.38em; /* 末尾の letter-spacing 分を補正して中央に */ }
.htbt-foot-brand .htbt-wordmark--logo img { height: 30px; }
.htbt-wordmark small {
  display: block;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.38em;
  color: var(--htbt-muted);
  margin-top: 2px;
}
.htbt-auth-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px 60px;
}
.htbt-auth-card { width: 100%; max-width: 400px; }
.htbt-auth-card h1 {
  font-family: var(--htbt-font-display);
  font-weight: 800;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.htbt-auth-card .sub {
  color: var(--htbt-muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0 0 26px;
}
.htbt-field { margin-bottom: 18px; }
.htbt-field label {
  display: block;
  font-family: var(--htbt-font-display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--htbt-muted);
  margin-bottom: 7px;
}
.htbt-input {
  width: 100%;
  box-sizing: border-box;
  font-size: 17px;
  font-family: var(--htbt-font-body);
  padding: 13px 14px;
  border: 1.5px solid var(--htbt-line);
  border-radius: var(--htbt-radius);
  background: var(--htbt-bg);
  color: var(--htbt-ink);
  outline: none;
  transition: border-color .15s;
}
.htbt-input:focus { border-color: var(--htbt-blue); }
/* iOS Safari の date 入力は width:100% を無視して固有幅ではみ出すため、外観をリセットしてブロック幅に揃える */
.htbt-input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  background: var(--htbt-bg);
}
.htbt-input[type="date"]::-webkit-date-and-time-value { text-align: left; min-height: 1.4em; }
.htbt-input--code {
  font-size: 26px;
  letter-spacing: 0.45em;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.htbt-btn {
  width: 100%;
  font-family: var(--htbt-font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.02em;
  padding: 14px 22px;
  border-radius: var(--htbt-radius);
  border: none;
  cursor: pointer;
  background: var(--htbt-ink);
  color: #fff;
  transition: opacity .15s;
}
.htbt-btn:hover { opacity: .88; }
.htbt-btn:focus-visible { outline: 3px solid var(--htbt-blue-soft); }
.htbt-btn--ghost {
  background: transparent;
  border: 1.5px solid var(--htbt-line);
  color: var(--htbt-ink);
}
.htbt-auth-alt {
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--htbt-muted);
  text-align: center;
}
.htbt-auth-alt a { color: var(--htbt-blue); text-decoration: none; }
.htbt-auth-alt a:hover { text-decoration: underline; }
.htbt-auth-alt form { display: inline; }
.htbt-linkbtn {
  background: none; border: none; padding: 0;
  font: inherit; color: var(--htbt-blue); cursor: pointer;
}
.htbt-linkbtn:hover { text-decoration: underline; }
.htbt-alert {
  border-radius: var(--htbt-radius);
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 18px;
}
.htbt-alert--error { background: var(--htbt-danger-soft); color: var(--htbt-danger); }
.htbt-alert--notice { background: var(--htbt-blue-soft); color: var(--htbt-blue); }
.htbt-alert--dev { background: var(--htbt-warning-soft); color: var(--htbt-warning); }
.htbt-auth-footer {
  padding: 20px;
  text-align: center;
  font-size: 12px;
  color: var(--htbt-muted);
}

/* ---------- public landing ---------- */
.htbt-land-body {
  margin: 0;
  background: var(--htbt-bg);
  color: var(--htbt-ink);
  font-family: var(--htbt-font-body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.htbt-land-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 48px);
}
.htbt-land-nav { display: flex; align-items: center; gap: 22px; }
.htbt-land-nav a {
  font-family: var(--htbt-font-display);
  font-weight: 500;
  font-size: 14.5px;
  color: var(--htbt-ink);
  text-decoration: none;
}
.htbt-land-nav a:hover { color: var(--htbt-blue); }
.htbt-land-loginbtn {
  background: var(--htbt-ink);
  color: #fff !important;
  padding: 9px 20px;
  border-radius: var(--htbt-radius);
  font-weight: 800 !important;
}
.htbt-land-loginbtn:hover { opacity: .88; color: #fff !important; }
.htbt-hero {
  padding: clamp(48px, 10vw, 110px) clamp(20px, 5vw, 48px) clamp(36px, 6vw, 70px);
  max-width: 880px;
  margin: 0 auto;
}
.htbt-hero h1 {
  font-family: var(--htbt-font-display);
  font-weight: 800;
  font-size: clamp(38px, 7vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.htbt-hero h1 em { font-style: normal; color: var(--htbt-blue); }
.htbt-hero p {
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.65;
  color: var(--htbt-muted);
  max-width: 52ch;
  margin: 0 0 28px;
}
.htbt-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.htbt-btn--inline {
  width: auto;
  display: inline-block;
  text-decoration: none;
  text-align: center;
}
.htbt-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  padding: 0 clamp(20px, 5vw, 48px) clamp(48px, 8vw, 90px);
  max-width: 1100px;
  margin: 0 auto;
}
.htbt-feature {
  background: var(--htbt-panel);
  border: 1px solid var(--htbt-line);
  border-radius: 14px;
  padding: 24px 22px;
}
.htbt-feature h2 {
  font-family: var(--htbt-font-display);
  font-weight: 800;
  font-size: 18px;
  margin: 0 0 8px;
}
.htbt-feature p { font-size: 14.5px; line-height: 1.65; color: var(--htbt-muted); margin: 0; }
.htbt-land-footer {
  margin-top: auto;
  padding: 22px;
  text-align: center;
  font-size: 12px;
  color: var(--htbt-muted);
  border-top: 1px solid var(--htbt-line);
}

/* ---------- member home ---------- */
.htbt-mh {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px) clamp(20px, 5vw, 48px) clamp(48px, 8vw, 90px);
  box-sizing: border-box;
}
.htbt-mh-title {
  font-family: var(--htbt-font-display);
  font-weight: 800;
  font-size: clamp(30px, 5vw, 44px);
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.htbt-mh-sub { color: var(--htbt-muted); font-size: 15.5px; margin: 0 0 26px; }
.htbt-mh-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}
.htbt-feature--link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s, transform .15s;
}
.htbt-feature--link:hover { border-color: var(--htbt-blue); transform: translateY(-2px); }
.htbt-feature--link h2 { color: var(--htbt-ink); }
.htbt-mh-links { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 44px; }

/* ---------- pending online approvals (member home / my page) ---------- */
.htbt-approvals {
  margin: 0 0 30px;
  padding: 18px 20px 20px;
  border: 1.5px solid var(--htbt-blue);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--htbt-blue-soft), #fff 78%);
}
.htbt-approvals-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
  margin-bottom: 14px;
}
.htbt-approvals-head h2 {
  font-family: var(--htbt-font-display);
  font-weight: 800;
  font-size: 20px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.htbt-approvals-head p { margin: 0; font-size: 14px; color: var(--htbt-muted); }
.htbt-approvals-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--htbt-blue);
  animation: htbtPulse 1.8s ease-out infinite;
}
@keyframes htbtPulse {
  0%   { box-shadow: 0 0 0 0 rgba(36, 87, 230, .38); }
  100% { box-shadow: 0 0 0 10px rgba(36, 87, 230, 0); }
}
.htbt-approvals-count {
  font-family: var(--htbt-font-body);
  font-size: 12.5px; font-weight: 700; color: #fff;
  background: var(--htbt-blue); border-radius: 999px; padding: 2px 9px;
}
.htbt-approvals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
}
.htbt-approval {
  display: flex; flex-direction: column; gap: 10px;
  padding: 16px 16px 14px;
  background: #fff;
  border: 1px solid var(--htbt-line);
  border-radius: var(--htbt-radius);
  text-decoration: none; color: inherit;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.htbt-approval:hover { border-color: var(--htbt-blue); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(16, 20, 24, .08); }
.htbt-approval-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12.5px; }
.htbt-approval-ticket {
  font-family: var(--htbt-font-display);
  font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--htbt-muted);
}
.htbt-approval-due { color: var(--htbt-warning); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.htbt-approval-due.is-soon { color: var(--htbt-danger); }
.htbt-approval-amount { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.htbt-approval-amount .lbl { font-size: 13px; color: var(--htbt-muted); }
.htbt-approval-amount strong { font-family: var(--htbt-font-display); font-weight: 800; font-size: 26px; letter-spacing: -.01em; color: var(--htbt-ink); }
.htbt-approval-meta { font-size: 13px; color: var(--htbt-muted); margin-top: -4px; }
.htbt-approval-returned { font-size: 12.5px; color: #92400e; background: #fff4e0; border-radius: 8px; padding: 6px 9px; line-height: 1.45; } /* 返却品あり(2026-10-04) */
.htbt-approval .htbt-btn { margin-top: 4px; justify-content: center; text-align: center; }
.htbt-mh-news h2 { font-family: var(--htbt-font-display); font-weight: 800; font-size: 20px; margin: 0; }
.htbt-mh-news-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}
.htbt-mh-news-head a { font-size: 13.5px; color: var(--htbt-blue); text-decoration: none; }
.htbt-mh-news-head a:hover { text-decoration: underline; }
.htbt-newslist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--htbt-line); }
.htbt-newslist li { border-bottom: 1px solid var(--htbt-line); }
.htbt-newslist a {
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding: 13px 4px;
  text-decoration: none;
  color: var(--htbt-ink);
}
.htbt-newslist a:hover .ttl { color: var(--htbt-blue); }
.htbt-newslist .date { flex: none; font-size: 12.5px; color: var(--htbt-muted); font-variant-numeric: tabular-nums; }
.htbt-newslist .ttl { font-size: 14.5px; }
.htbt-mh-nonews { color: var(--htbt-muted); font-size: 14px; }
.htbt-land-footer a { color: var(--htbt-muted); }

/* ---------- generic content pages (news, legal) ---------- */
.htbt-page {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px) clamp(20px, 5vw, 48px) clamp(48px, 8vw, 90px);
  box-sizing: border-box;
}
.htbt-page-title {
  font-family: var(--htbt-font-display);
  font-weight: 800;
  font-size: clamp(26px, 4.5vw, 38px);
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  text-wrap: balance;
}
.htbt-page-sub { color: var(--htbt-muted); font-size: 15px; margin: 0 0 28px; }
.htbt-chip {
  display: inline-block;
  font-family: var(--htbt-font-display);
  font-weight: 500;
  font-size: 11.5px;
  padding: 2px 10px;
  border-radius: 99px;
  background: var(--htbt-blue-soft);
  color: var(--htbt-blue);
}
.htbt-artlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--htbt-line); }
.htbt-artlist > li { border-bottom: 1px solid var(--htbt-line); }
.htbt-artlist > li > a {
  display: block;
  padding: 20px 4px;
  text-decoration: none;
  color: var(--htbt-ink);
}
.htbt-artlist h2 {
  font-family: var(--htbt-font-display);
  font-weight: 800;
  font-size: 18px;
  margin: 8px 0 6px;
}
.htbt-artlist > li > a:hover h2 { color: var(--htbt-blue); }
.htbt-artlist p { margin: 0; font-size: 14px; color: var(--htbt-muted); line-height: 1.6; }
.htbt-artlist-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--htbt-muted);
  font-variant-numeric: tabular-nums;
  margin-bottom: 6px;
}
.htbt-prose { font-size: 15.5px; line-height: 1.75; color: var(--htbt-ink); }
.htbt-prose h2, .htbt-prose h3 {
  font-family: var(--htbt-font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 1.6em 0 0.5em;
}
.htbt-prose h2 { font-size: 21px; }
.htbt-prose h3 { font-size: 17px; }
.htbt-prose p { margin: 0.8em 0; }
.htbt-prose img {
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 420px;
  border-radius: 10px;
  display: block;
  margin: 18px auto;
}
.htbt-prose a { color: var(--htbt-blue); }
.htbt-prose ul, .htbt-prose ol { padding-left: 1.4em; }
.htbt-prose table { border-collapse: collapse; width: 100%; }
.htbt-prose td, .htbt-prose th { border: 1px solid var(--htbt-line); padding: 8px 10px; font-size: 14px; }
.htbt-pager { margin-top: 28px; }
.htbt-pager ul {
  list-style: none;
  display: flex;
  gap: 6px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
.htbt-pager a, .htbt-pager span {
  display: inline-block;
  min-width: 36px;
  text-align: center;
  padding: 7px 10px;
  border: 1px solid var(--htbt-line);
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--htbt-ink);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.htbt-pager .active a, .htbt-pager .active span {
  background: var(--htbt-ink);
  border-color: var(--htbt-ink);
  color: #fff;
}
.htbt-pager a:hover { border-color: var(--htbt-blue); color: var(--htbt-blue); }

/* ---------- buy list ---------- */
.htbt-bl-controls { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.htbt-bl-search { flex: 1 1 260px; }
.htbt-bl-sort { flex: 0 0 auto; width: auto; }
.htbt-bl-types { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.htbt-bl-typechip { position: relative; }
.htbt-bl-typechip input { position: absolute; opacity: 0; }
.htbt-bl-typechip span {
  display: inline-block;
  font-family: var(--htbt-font-display);
  font-weight: 500;
  font-size: 13px;
  padding: 6px 14px;
  border: 1.5px solid var(--htbt-line);
  border-radius: 99px;
  cursor: pointer;
  user-select: none;
  transition: all .12s;
}
.htbt-bl-typechip input:checked + span {
  background: var(--htbt-ink);
  border-color: var(--htbt-ink);
  color: #fff;
}
.htbt-bl-count { font-size: 13px; color: var(--htbt-muted); margin: 0 0 14px; font-variant-numeric: tabular-nums; }
.htbt-bl-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 14px;
}
.htbt-bl-card {
  background: var(--htbt-bg);
  border: 1px solid var(--htbt-line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.htbt-bl-card.is-pickup { border-color: var(--htbt-blue); box-shadow: 0 0 0 1px var(--htbt-blue); }
.htbt-bl-thumb {
  position: relative;
  aspect-ratio: 3 / 4.2;
  background: var(--htbt-panel);
  display: flex;
  align-items: center;
  justify-content: center;
}
.htbt-bl-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  box-sizing: border-box;
}
.htbt-bl-thumb-fallback {
  font-family: var(--htbt-font-display);
  font-weight: 800;
  font-size: 42px;
  color: var(--htbt-line);
  display: none;
}
.htbt-bl-thumb.noimg .htbt-bl-thumb-fallback { display: block; }
.htbt-bl-pickup { position: absolute; top: 8px; left: 8px; }
.htbt-bl-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.htbt-bl-name { margin: 0; font-size: 13.5px; line-height: 1.45; font-weight: 600; }
.htbt-bl-keys { margin: 0; font-size: 11.5px; color: var(--htbt-muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.htbt-bl-price {
  margin: auto 0 0;
  padding-top: 6px;
  font-family: var(--htbt-font-display);
  font-weight: 800;
  font-size: 19px;
  color: var(--htbt-blue);
  font-variant-numeric: tabular-nums;
}
.htbt-bl-remain { margin: 0; font-size: 11.5px; color: var(--htbt-warning); min-height: 1.2em; }
.htbt-bl-grid > li[hidden] { display: none; }

/* ---------- category logo buttons (buy list) ---------- */
.htbt-catbar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 14px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.htbt-catbtn { flex: none; position: relative; }
.htbt-catbtn input { position: absolute; opacity: 0; }
.htbt-catbtn-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  box-sizing: border-box;
  padding: 12px 20px 12px 14px;
  background: var(--htbt-bg);
  border: 1.5px solid var(--htbt-line);
  border-radius: 12px;
  cursor: pointer;
  user-select: none;
  transition: border-color .12s, box-shadow .12s, background .12s;
}
.htbt-catbtn:hover .htbt-catbtn-inner { border-color: var(--htbt-ink); }
.htbt-catbtn input:checked + .htbt-catbtn-inner {
  border-color: var(--htbt-ink);
  background: var(--htbt-ink);
}
.htbt-catbtn input:checked + .htbt-catbtn-inner .htbt-catbtn-name { color: #fff; }
.htbt-catbtn input:checked + .htbt-catbtn-inner .htbt-catbtn-logo {
  background: #fff;
  border-radius: 6px;
  padding: 3px;
  box-sizing: border-box;
}
.htbt-catbtn input:focus-visible + .htbt-catbtn-inner { outline: 3px solid var(--htbt-blue-soft); }
.htbt-catbtn-logo { height: 28px; width: auto; max-width: 64px; object-fit: contain; }
.htbt-catbtn-mono {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--htbt-font-display);
  font-weight: 800;
  font-size: 16px;
  color: #fff;
  background: var(--htbt-ink);
}
.htbt-catbtn[data-cid="1"] .htbt-catbtn-mono { background: #FFCB05; color: #2A5CA8; }
.htbt-catbtn[data-cid="2"] .htbt-catbtn-mono { background: #D3000F; }
.htbt-catbtn[data-cid="3"] .htbt-catbtn-mono { background: #5B4B9E; }
.htbt-catbtn[data-cid="4"] .htbt-catbtn-mono { background: #101418; }
.htbt-catbtn[data-cid="5"] .htbt-catbtn-mono { background: #F85B1A; }
.htbt-catbtn[data-cid="6"] .htbt-catbtn-mono { background: #E60012; }
.htbt-catbtn-name {
  font-family: var(--htbt-font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------- mobile (take 2) ---------- */
html, body { overflow-x: clip; } /* hidden だとスクロールコンテナになり sticky ヘッダーが効かないため clip */
@supports not (overflow: clip) { html, body { overflow-x: hidden; } }

@media (max-width: 640px) {
  .htbt-land-header { padding: 14px 16px; flex-wrap: wrap; row-gap: 10px; }
  .htbt-land-nav { gap: 12px; flex-wrap: wrap; }
  .htbt-land-nav a { font-size: 13px; }
  .htbt-land-loginbtn { padding: 7px 14px; }
  .htbt-wordmark { font-size: 22px; }
  .htbt-wordmark--logo img { height: 28px; }
  .htbt-mh, .htbt-page, .htbt-hero, .htbt-features { padding-left: 16px; padding-right: 16px; }
  .htbt-bl-search { flex-basis: 100%; }
  .htbt-bl-sort { flex: 1 1 auto; }
  .htbt-bl-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .htbt-bl-body { padding: 8px 10px 10px; }
  .htbt-bl-name { font-size: 12.5px; }
  .htbt-bl-price { font-size: 17px; }
  .htbt-catbtn-inner { padding: 10px 14px 10px 12px; min-height: 50px; }
  .htbt-catbtn-name { font-size: 13.5px; }
  .htbt-mh-title { font-size: 26px; }
  .htbt-hero h1 { font-size: 34px; }
}

/* ---------- landing hero cards + hot buys ---------- */
.htbt-hero--split {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 24px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.htbt-hero-cards {
  position: relative;
  height: 380px;
  min-width: 0;
}
.htbt-hero-cards .hc {
  position: absolute;
  height: 300px;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(16, 20, 24, .22);
  background: var(--htbt-panel);
}
.htbt-hero-cards .hc0 { left: 50%; top: 24px; transform: translateX(-50%) rotate(-3deg); z-index: 3; }
.htbt-hero-cards .hc1 { left: 8%; top: 56px; transform: rotate(-13deg); z-index: 2; height: 260px; }
.htbt-hero-cards .hc2 { right: 6%; top: 62px; transform: rotate(11deg); z-index: 1; height: 250px; }
.htbt-hero-price {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%) rotate(-2deg);
  background: var(--htbt-ink);
  color: #fff;
  font-family: var(--htbt-font-display);
  font-weight: 800;
  font-size: 20px;
  padding: 8px 18px;
  border-radius: 99px;
  box-shadow: 0 8px 20px rgba(16, 20, 24, .25);
  font-variant-numeric: tabular-nums;
}
.htbt-hot {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px) clamp(28px, 4vw, 44px);
}
.htbt-hot-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}
.htbt-hot-head h2 {
  font-family: var(--htbt-font-display);
  font-weight: 800;
  font-size: 22px;
  margin: 0;
}
.htbt-hot-head a { font-size: 14px; color: var(--htbt-blue); text-decoration: none; font-family: var(--htbt-font-display); font-weight: 500; }
.htbt-hot-head a:hover { text-decoration: underline; }
.htbt-hot-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 6px 2px 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.htbt-hot-card {
  flex: 0 0 156px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  color: var(--htbt-ink);
  background: var(--htbt-bg);
  border: 1px solid var(--htbt-line);
  border-radius: 12px;
  padding: 10px;
  transition: border-color .12s, transform .12s;
}
.htbt-hot-card:hover { border-color: var(--htbt-blue); transform: translateY(-2px); }
.htbt-hot-card .thumb {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--htbt-panel);
  border-radius: 8px;
  overflow: hidden;
}
.htbt-hot-card .thumb img { max-height: 168px; max-width: 100%; object-fit: contain; }
.htbt-hot-card .name { font-size: 12px; line-height: 1.4; min-height: 2.8em; }
.htbt-hot-card .meta { min-height: 20px; }
.htbt-hot-card .meta .htbt-chip { font-size: 10.5px; padding: 1px 8px; }
.htbt-hot-card .price {
  font-family: var(--htbt-font-display);
  font-weight: 800;
  font-size: 16px;
  color: var(--htbt-blue);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 760px) {
  .htbt-hero--split { grid-template-columns: 1fr; gap: 8px; }
  .htbt-hero-cards { height: 300px; }
  .htbt-hero-cards .hc0 { height: 240px; }
  .htbt-hero-cards .hc1 { height: 200px; }
  .htbt-hero-cards .hc2 { height: 195px; }
  .htbt-hot { padding-left: 16px; padding-right: 16px; }
}

/* ---------- landing: primary CTA, steps, rich features ---------- */
.htbt-btn--primary { background: var(--htbt-blue); }
.htbt-btn--big { font-size: 16px; padding: 15px 26px; }
.htbt-steps {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px) 24px;
}
.htbt-steps h2 {
  font-family: var(--htbt-font-display);
  font-weight: 800;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -0.01em;
  margin: 0 0 22px;
}
.htbt-steps-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 26px;
}
.htbt-step {
  background: var(--htbt-panel);
  border: 1px solid var(--htbt-line);
  border-radius: 14px;
  padding: 20px 18px;
}
.htbt-step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--htbt-blue);
  color: #fff;
  font-family: var(--htbt-font-display);
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 12px;
}
.htbt-step h3 {
  font-family: var(--htbt-font-display);
  font-weight: 800;
  font-size: 16.5px;
  margin: 0 0 6px;
}
.htbt-step p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--htbt-muted); }
.htbt-steps-cta { text-align: center; margin: 0 auto clamp(40px, 6vw, 60px); }
.htbt-feature--rich { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.htbt-feature-img {
  width: 100%;
  height: var(--htbt-media-h);
  object-fit: cover;
  display: block;
}
.htbt-feature-img--store { object-position: 50% 40%; } /* 店舗の写真(2026-09-28 店舗提供): 看板のロゴが中央に残る位置 */
.htbt-feature-img--sino { object-position: 90% 45%; } /* カードが狭くても「信和中心」の 4 文字が残る位置(広いときは全体が見える) */
.htbt-photo-credit {
  max-width: 1100px;
  margin: -8px auto 24px;
  padding: 0 clamp(20px, 5vw, 48px);
  font-size: 11px;
  color: var(--htbt-muted);
}
.htbt-photo-credit a { color: inherit; }
.htbt-feature-collage {
  height: var(--htbt-media-h);
  box-sizing: border-box;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  background: var(--htbt-blue-soft);
  padding: 12px;
}
.htbt-feature-collage img {
  height: 120px;
  border-radius: 6px;
  box-shadow: 0 6px 14px rgba(16, 20, 24, .18);
}
.htbt-feature-collage img:nth-child(1) { transform: rotate(-6deg); }
.htbt-feature-collage img:nth-child(3) { transform: rotate(6deg); }
.htbt-feature-body { padding: 18px 20px 20px; }
.htbt-feature-body h2 { margin-top: 0; }

/* ---------- floating CTA (guests on buy list) ---------- */
.htbt-fab {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: flex;
  justify-content: center;
  z-index: 60;
  pointer-events: none;
  padding: 0 16px;
}
.htbt-fab .htbt-btn {
  pointer-events: auto;
  box-shadow: 0 10px 28px rgba(36, 87, 230, .38);
  max-width: 100%;
}
main.htbt-mh { padding-bottom: 110px; }
.htbt-mh-hot { margin: 6px 0 40px; }
.htbt-mh-hot .htbt-hot-head h2 { font-size: 20px; }

/* ---------- store flow steps: icon row ---------- */
.htbt-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.htbt-step-top .num { margin-bottom: 0; }
.htbt-step-top .ico { width: 30px; height: 30px; color: var(--htbt-blue); }
.htbt-mh .htbt-steps { padding-left: 0; padding-right: 0; margin-bottom: 8px; }

/* ---------- intl-tel-input blending ---------- */
/* 入力欄のラッパーだけ幅 100%。スマホの全画面ポップアップ用コンテナ(.iti--container、position:fixed+左右余白)に効かせると画面幅を超える */
.iti:not(.iti--container) { width: 100%; }
.iti.iti--container { width: auto; box-sizing: border-box; }
.iti .htbt-input { width: 100%; }
.iti__selected-dial-code { font-size: 15px; }
/* インライン表示のドロップダウン: 幅は既定の 460px のまま、画面幅−40px を上限にしてスマホからはみ出さないようにする
   (width:100% は国旗ボタン基準になるので使わない) */
.iti--inline-dropdown .iti__dropdown-content {
  width: 460px;
  max-width: calc(100vw - 40px);
  margin-left: 0;
  border: 1px solid var(--htbt-line);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(16, 20, 24, .14);
  overflow: hidden;
  margin-top: 6px;
}
/* スマホのフルスクリーン表示(ライブラリ既定)はそのまま使い、検索欄と一覧の見た目だけ揃える */
.iti--fullscreen-popup .iti__dropdown-content { border-radius: 0; }
.iti__search-input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  font-size: 16px; /* 16px 未満だと iOS Safari がフォーカス時に画面を拡大する */
  font-family: var(--htbt-font-body);
  border: none;
  border-bottom: 1px solid var(--htbt-line);
  outline: none;
}
.iti__search-input::placeholder { color: var(--htbt-muted); }
.iti__country-list { padding: 6px 0; }
.iti__country { padding: 9px 14px; font-size: 14.5px; }
.iti__country.iti__highlight { background: var(--htbt-blue-soft); }
.iti__dial-code { color: var(--htbt-muted); }

/* ---------- application form ---------- */
.htbt-form-section {
  font-family: var(--htbt-font-display);
  font-weight: 800;
  font-size: 19px;
  margin: 34px 0 14px;
}
.htbt-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .htbt-form-grid { grid-template-columns: 1fr; } }
.htbt-radio-row { display: flex; gap: 10px; }
.htbt-radio { position: relative; }
.htbt-radio input { position: absolute; opacity: 0; }
.htbt-radio span {
  display: inline-block;
  padding: 9px 20px;
  border: 1.5px solid var(--htbt-line);
  border-radius: 99px;
  font-family: var(--htbt-font-display);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
}
.htbt-radio input:checked + span { background: var(--htbt-ink); border-color: var(--htbt-ink); color: #fff; }
.htbt-payout { display: flex; flex-direction: column; gap: 10px; }
.htbt-payout-option {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1.5px solid var(--htbt-line);
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
}
.htbt-payout-option:has(input:checked) { border-color: var(--htbt-blue); box-shadow: 0 0 0 1px var(--htbt-blue); }
.htbt-payout-option input { margin-top: 4px; accent-color: var(--htbt-blue); }
.htbt-payout-body strong { font-family: var(--htbt-font-display); font-size: 15px; display: block; }
.htbt-payout-body small { color: var(--htbt-muted); font-size: 13px; }
.htbt-payout-fields { padding: 4px 8px 4px 16px; border-left: 3px solid var(--htbt-blue-soft); margin-left: 8px; }
.htbt-hint { color: var(--htbt-muted); font-size: 12.5px; display: block; margin-top: 5px; }
.htbt-agreements { display: flex; flex-direction: column; gap: 10px; }
.htbt-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.6; }
.htbt-check input { margin-top: 4px; accent-color: var(--htbt-blue); }
.htbt-confirm {
  margin: 0;
  border-top: 1px solid var(--htbt-line);
}
.htbt-confirm dt {
  font-family: var(--htbt-font-display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--htbt-muted);
  padding: 14px 0 2px;
}
.htbt-confirm dd { margin: 0; padding: 0 0 12px; font-size: 15.5px; border-bottom: 1px solid var(--htbt-line); }
.htbt-bring { max-width: 640px; }
.htbt-bring h2 { font-family: var(--htbt-font-display); font-weight: 800; font-size: 20px; }
.htbt-bring ul { padding-left: 1.3em; line-height: 1.9; }
.htbt-thanks-steps { max-width: 460px; margin: 0 auto; text-align: left; line-height: 1.8; }

/* ---------- logged-in indicator (account avatar with status dot) & auth alt row ---------- */
.htbt-nav-account { display: inline-flex; align-items: center; gap: 9px; }
.htbt-nav-account:hover .htbt-avatar { background: var(--htbt-blue); color: #fff; }
.htbt-avatar {
  position: relative;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--htbt-blue-soft);
  color: var(--htbt-blue);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s;
}
.htbt-avatar svg { width: 19px; height: 19px; }
.htbt-avatar-dot {
  position: absolute; right: -1px; bottom: -1px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--htbt-success);
  border: 2px solid var(--htbt-bg);
}
.htbt-nav-account-label { font-family: var(--htbt-font-display); font-weight: 500; font-size: 14.5px; }
@media (max-width: 560px) { .htbt-nav-account-label { display: none; } }
.htbt-auth-alt { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; align-items: baseline; }

/* ---------- structured footer ---------- */
.htbt-foot {
  margin-top: auto;
  background: var(--htbt-panel);
  border-top: 1px solid var(--htbt-line);
}
.htbt-foot-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 52px) clamp(20px, 5vw, 48px) 28px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 28px;
}
.htbt-foot-brand p {
  margin: 14px 0 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--htbt-muted);
}
.htbt-foot-col { display: flex; flex-direction: column; gap: 9px; }
.htbt-foot-col h3 {
  font-family: var(--htbt-font-display);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--htbt-muted);
  margin: 0 0 4px;
}
.htbt-foot-col a {
  font-size: 14px;
  color: var(--htbt-ink);
  text-decoration: none;
}
.htbt-foot-col a:hover { color: var(--htbt-blue); }
.htbt-foot-bottom {
  border-top: 1px solid var(--htbt-line);
  text-align: center;
  padding: 16px;
  font-size: 12px;
  color: var(--htbt-muted);
}
.htbt-foot-inner:has(.htbt-foot-col--dopa) { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; }
@media (max-width: 900px) {
  .htbt-foot-inner:has(.htbt-foot-col--dopa) { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .htbt-foot-inner:has(.htbt-foot-col--dopa) .htbt-foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .htbt-foot-inner, .htbt-foot-inner:has(.htbt-foot-col--dopa) { grid-template-columns: 1fr 1fr; }
  .htbt-foot-brand { grid-column: 1 / -1; }
}

.htbt-catbtn--all .htbt-catbtn-inner { padding-left: 20px; }

/* ---------- my page ---------- */
.htbt-mycard {
  background: var(--htbt-ink);
  color: #fff;
  border-radius: 16px;
  padding: 24px 26px;
  margin-bottom: 30px;
}
.htbt-mycard h2 {
  font-family: var(--htbt-font-display);
  font-weight: 800;
  font-size: 17px;
  margin: 0 0 4px;
}
.htbt-mycard-hint { margin: 0 0 14px; font-size: 12.5px; color: #9AA1AD; }
.htbt-barcode {
  font-family: var(--htbt-font-display);
  font-weight: 800;
  font-size: clamp(24px, 5vw, 34px);
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
  margin: 0 0 10px;
}
.htbt-mycard-phone { margin: 0; font-size: 13px; color: #9AA1AD; font-variant-numeric: tabular-nums; }
.htbt-mydetails h2 { font-family: var(--htbt-font-display); font-weight: 800; font-size: 20px; margin: 0; }
.htbt-feature-more { color: var(--htbt-blue); font-family: var(--htbt-font-display); font-weight: 500; font-size: 13.5px; margin-top: 10px !important; }
.htbt-prose a.htbt-btn { color: #fff; text-decoration: none; }
.htbt-prose a.htbt-btn--ghost { color: var(--htbt-ink); }

/* ASK(価格非公開・要相談)商品 */
.htbt-bl-askbar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 10px 14px; margin: 0 0 14px;
  background: var(--htbt-blue-soft); border: 1.5px solid var(--htbt-blue-soft);
  border-radius: var(--htbt-radius);
}
.htbt-bl-askbadge {
  font-family: var(--htbt-font-display); font-weight: 800; font-size: 12px; letter-spacing: .12em;
  padding: 4px 10px; border-radius: 99px; background: var(--htbt-ink); color: #fff;
}
.htbt-bl-asktext { margin: 0; font-size: 13px; color: var(--htbt-ink); flex: 1 1 240px; }
.htbt-bl-askonly { margin-left: auto; }
.htbt-bl-price--ask {
  display: inline-block; align-self: flex-start;
  font-size: 12.5px; letter-spacing: .12em; padding: 4px 10px; border-radius: 99px;
  background: var(--htbt-ink); color: #fff;
}

/* フッターの運営法人ブロック(ブランド欄の下) */
.htbt-foot-entity {
  margin: 16px 0 0;
  font-style: normal;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--htbt-muted);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.htbt-foot-entity-name {
  font-family: var(--htbt-font-display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--htbt-ink);
}
.htbt-foot-entity a { color: inherit; text-decoration: none; }
.htbt-foot-entity a:hover { color: var(--htbt-blue); }

/* 販売リスト(/for-sale) */
.htbt-sl-note { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 14px; margin: 0 0 14px; background: var(--htbt-panel); border: 1.5px solid var(--htbt-line); border-radius: var(--htbt-radius); }
.htbt-sl-note p { margin: 0; font-size: 13px; color: var(--htbt-ink); flex: 1 1 260px; }
.htbt-sl-badge { font-family: var(--htbt-font-display); font-weight: 800; font-size: 12px; letter-spacing: .1em; padding: 4px 10px; border-radius: 99px; background: var(--htbt-ink); color: #fff; }
.htbt-bl-price--sell { color: var(--htbt-ink); }
.htbt-bl-instock { background: var(--htbt-success-soft); color: var(--htbt-success); }
.htbt-hot--sell .price--sell { color: var(--htbt-ink); }
.htbt-hot-sub { margin: -6px 0 12px; font-size: 13.5px; color: var(--htbt-muted); }
/* DOPA Global 会員ユーザー名 */
.htbt-optional { font-weight: 400; font-size: 11.5px; color: var(--htbt-muted); margin-left: 6px; letter-spacing: .04em; text-transform: uppercase; }
.htbt-input-prefix { display: flex; align-items: stretch; }
.htbt-input-prefix > span { display: flex; align-items: center; padding: 0 12px; border: 1.5px solid var(--htbt-line); border-right: 0; border-radius: var(--htbt-radius) 0 0 var(--htbt-radius); background: var(--htbt-panel); color: var(--htbt-muted); font-weight: 600; }
.htbt-input-prefix > .htbt-input { border-radius: 0 var(--htbt-radius) var(--htbt-radius) 0; flex: 1; }
.htbt-dopa-promo { max-width: 560px; margin: 26px auto 0; padding: 14px 16px; border: 1.5px solid var(--htbt-blue-soft); background: var(--htbt-blue-soft); border-radius: var(--htbt-radius); text-align: left; }
.htbt-dopa-promo-kicker { font-family: var(--htbt-font-display); font-weight: 800; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--htbt-blue); }
.htbt-dopa-promo p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.6; }

/* ---------- sale history (my page / my applications) ---------- */
.htbt-sales { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--htbt-line); }
.htbt-sale { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; padding: 14px 4px; border-bottom: 1px solid var(--htbt-line); align-items: start; }
.htbt-sale-when { font-size: 12.5px; color: var(--htbt-muted); font-variant-numeric: tabular-nums; }
.htbt-sale-when span + span::before { content: ' · '; }
.htbt-sale-status { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 5px 0 3px; }
.htbt-pill { display: inline-block; font-size: 12px; font-weight: 600; line-height: 1.5; padding: 2px 10px; border-radius: 999px; background: var(--htbt-panel); color: var(--htbt-ink); }
.htbt-pill--blue { background: var(--htbt-blue-soft); color: var(--htbt-blue); }
.htbt-pill--warn { background: var(--htbt-warning-soft); color: var(--htbt-warning); }
.htbt-pill--ok { background: var(--htbt-success-soft); color: var(--htbt-success); }
.htbt-pill--muted { background: var(--htbt-panel); color: var(--htbt-muted); text-decoration: line-through; text-decoration-color: rgba(138, 147, 163, .6); }
.htbt-sale-hint { font-size: 13px; color: var(--htbt-muted); margin: 0; }
.htbt-sale-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; text-align: right; }
.htbt-sale-amt { font-family: var(--htbt-font-display); font-weight: 800; font-size: 18px; white-space: nowrap; color: var(--htbt-ink); }
.htbt-sale-amt small { display: block; font-family: var(--htbt-font-body); font-weight: 400; font-size: 11.5px; color: var(--htbt-muted); }
.htbt-sale-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.htbt-sale-actions .htbt-btn { font-size: 13px; padding: 8px 14px; }
.htbt-sales-empty { color: var(--htbt-muted); font-size: 14px; padding: 14px 4px; margin: 0; }
.htbt-sales-empty a { color: var(--htbt-blue); }
@media (max-width: 560px) {
  .htbt-sale { grid-template-columns: 1fr; }
  .htbt-sale-side { align-items: flex-start; text-align: left; }
  .htbt-sale-actions { justify-content: flex-start; }
}

/* ---------- application form: "you already applied" notice ---------- */
.htbt-recent-app {
  margin: 0 0 26px;
  padding: 18px 20px 16px;
  border: 1.5px solid var(--htbt-success);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--htbt-success-soft), #fff 80%);
}
.htbt-recent-app-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 10px; }
.htbt-recent-app-when { font-size: 13px; color: var(--htbt-muted); font-variant-numeric: tabular-nums; }
.htbt-recent-app-text { margin: 0 0 14px; font-size: 15px; line-height: 1.6; }
.htbt-recent-app-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.htbt-recent-app-hint { margin: 12px 0 0; font-size: 12.5px; color: var(--htbt-muted); }

/* ===== 2026-09-22 オーナー要望: トップ刷新・買い/売りの色分け・Coming soon・ACCESS・SNS・タイプタブ ===== */
:root { --htbt-red: #E5343F; }
.htbt-hero-eyebrow { font-family: var(--htbt-font-display); font-weight: 800; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--htbt-blue); margin: 0 0 10px; }
.htbt-hero-points { list-style: none; margin: 0 0 22px; padding: 0; color: var(--htbt-muted); font-size: 16px; line-height: 1.55; }
.htbt-hero-points li { position: relative; padding-left: 20px; margin: 0 0 6px; }
.htbt-hero-points li::before { content: ""; position: absolute; left: 0; top: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--htbt-blue); }
.htbt-hero-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.htbt-hot-tag { display: inline-block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; padding: 4px 9px; border-radius: 6px; margin-right: 10px; vertical-align: middle; color: #fff; }
.htbt-hot-tag--buy { background: var(--htbt-red); }
.htbt-hot-tag--sell { background: var(--htbt-blue); }
.htbt-hot--buy .price--buy { color: var(--htbt-red); }
.htbt-hot--sell .price--sell { color: var(--htbt-blue); }
.htbt-hot--buy .htbt-hot-head a { color: var(--htbt-red); }
.htbt-hot--sell .htbt-hot-head a { color: var(--htbt-blue); }
.htbt-hot-sub a { color: inherit; text-decoration: underline; }
.htbt-cats { max-width: var(--htbt-max, 1200px); margin: 0 auto clamp(40px, 6vw, 60px); padding: 0 24px; }
.htbt-cats-row { display: flex; flex-wrap: wrap; gap: 12px; }
.htbt-catcard { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-width: 150px; padding: 18px 16px; border: 1.5px solid var(--htbt-line); border-radius: var(--htbt-radius); text-decoration: none; color: var(--htbt-ink); background: var(--htbt-bg); }
.htbt-catcard img { height: 56px; width: auto; max-width: 140px; object-fit: contain; }
.htbt-catcard-mono { width: 34px; height: 34px; border-radius: 50%; background: var(--htbt-ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.htbt-catcard-name { font-family: var(--htbt-font-display); font-weight: 800; font-size: 15px; }
.htbt-catcard-note { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--htbt-red); font-weight: 700; }
.htbt-catcard--soon { opacity: .55; }
.htbt-catcard--soon .htbt-catcard-note { color: var(--htbt-muted); }
.htbt-catcard--soon img { filter: grayscale(1); }
.htbt-catbtn--soon { opacity: .5; cursor: default; }
.htbt-catbtn--soon .htbt-catbtn-name small { display: block; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--htbt-muted); font-weight: 600; }
.htbt-bl-groups { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.htbt-bl-grouptab { position: relative; }
.htbt-bl-grouptab input { position: absolute; opacity: 0; }
.htbt-bl-grouptab span { display: inline-block; font-family: var(--htbt-font-display); font-weight: 700; font-size: 13.5px; padding: 8px 16px; border: 1.5px solid var(--htbt-line); border-radius: 99px; cursor: pointer; color: var(--htbt-ink); background: var(--htbt-bg); }
.htbt-bl-grouptab input:checked + span { background: var(--htbt-ink); color: #fff; border-color: var(--htbt-ink); }
.htbt-feature-list { list-style: none; margin: 0; padding: 0; font-size: 14px; line-height: 1.5; color: var(--htbt-muted); }
.htbt-feature-list li { margin: 0 0 6px; padding-left: 14px; position: relative; }
.htbt-feature-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--htbt-blue); }
.htbt-feature-list strong { color: var(--htbt-ink); }
.htbt-access { max-width: var(--htbt-max, 1200px); margin: 0 auto clamp(48px, 7vw, 80px); padding: 0 24px; scroll-margin-top: 80px; }
.htbt-access-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: stretch; }
.htbt-access-map { border-radius: var(--htbt-radius); overflow: hidden; border: 1.5px solid var(--htbt-line); min-height: 320px; }
.htbt-access-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.htbt-access-info h3 { font-family: var(--htbt-font-display); font-weight: 800; font-size: 20px; margin: 0 0 12px; }
.htbt-access-info dl { display: grid; grid-template-columns: 92px 1fr; gap: 8px 12px; margin: 0 0 16px; font-size: 15px; }
.htbt-access-info dt { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--htbt-muted); font-weight: 700; padding-top: 3px; }
.htbt-access-info dd { margin: 0; line-height: 1.5; }
.htbt-access-zh { color: var(--htbt-muted); font-size: 13.5px; }
.htbt-sns { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.htbt-sns-label { font-size: 13px; color: var(--htbt-muted); margin-right: 4px; }
.htbt-sns-link { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--htbt-line); color: var(--htbt-ink); }
.htbt-sns-link svg { width: 19px; height: 19px; }
.htbt-sns-link:hover { border-color: var(--htbt-ink); }
/* 公式カラー */
.htbt-sns-link--instagram { border: 0; color: #fff; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.htbt-sns-link--whatsapp { border: 0; color: #fff; background: #25D366; }
.htbt-sns-link--facebook { border: 0; color: #fff; background: #1877F2; }
.htbt-sns-link--x, .htbt-sns-link--threads { border: 0; color: #fff; background: #000; }
.htbt-sns-link--threads svg { width: 17px; height: 17px; }
.htbt-sns-link--instagram:hover, .htbt-sns-link--whatsapp:hover, .htbt-sns-link--facebook:hover, .htbt-sns-link--x:hover, .htbt-sns-link--threads:hover { filter: brightness(1.08); }
.htbt-foot-ig { display: inline-flex; align-items: center; gap: 6px; }
.htbt-foot-ig svg { width: 15px; height: 15px; flex: none; color: #d6249f; }
.htbt-sns--foot { margin-top: 14px; }
.htbt-land-signupbtn { border: 1.5px solid var(--htbt-ink); color: var(--htbt-ink) !important; padding: 8px 18px; border-radius: var(--htbt-radius); font-weight: 800 !important; }
.htbt-land-signupbtn:hover { background: var(--htbt-ink); color: #fff !important; }
@media (max-width: 760px) {
  .htbt-access-grid { grid-template-columns: 1fr; }
  .htbt-access-map { min-height: 240px; }
  .htbt-access-map iframe { min-height: 240px; }
  .htbt-access-info dl { grid-template-columns: 78px 1fr; }
  .htbt-land-signupbtn { padding: 6px 12px; }
  .htbt-catcard { min-width: calc(50% - 6px); }
  .htbt-cats, .htbt-access { padding-left: 16px; padding-right: 16px; }
}
.htbt-fps-type { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; }
.htbt-fps-typeopt { position: relative; }
.htbt-fps-typeopt input { position: absolute; opacity: 0; }
.htbt-fps-typeopt span { display: inline-block; font-family: var(--htbt-font-display); font-weight: 700; font-size: 13.5px; padding: 8px 16px; border: 1.5px solid var(--htbt-line); border-radius: 99px; cursor: pointer; }
.htbt-fps-typeopt input:checked + span { background: var(--htbt-ink); color: #fff; border-color: var(--htbt-ink); }
.htbt-cats, .htbt-access { max-width: 1100px; padding-left: clamp(20px, 5vw, 48px); padding-right: clamp(20px, 5vw, 48px); }
.htbt-bl-catnote { margin: 0 0 14px; font-size: 13.5px; color: var(--htbt-muted); }
/* WhatsApp ブランドボタン */
.htbt-wa-btn { display: inline-flex; align-items: center; gap: 8px; background: #25D366; color: #fff !important; font-family: var(--htbt-font-display); font-weight: 800; font-size: 15px; padding: 11px 18px; border-radius: 999px; text-decoration: none !important; line-height: 1; white-space: nowrap; vertical-align: middle; }
.htbt-wa-btn svg { width: 20px; height: 20px; flex: none; }
.htbt-wa-btn:hover { background: #1EBE5A; color: #fff !important; }
.htbt-wa-btn--sm { font-size: 13px; padding: 8px 14px; gap: 6px; }
.htbt-wa-btn--sm svg { width: 16px; height: 16px; }
.htbt-wa-btn--lg { font-size: 17px; padding: 14px 24px; }
/* Instagram ボタン(WhatsApp ボタンと同じ形・公式のグラデーション) */
.htbt-ig-btn { display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(90deg, #f9ce34 0%, #ee2a7b 42%, #6228d7 100%); color: #fff !important; font-family: var(--htbt-font-display); font-weight: 800; font-size: 15px; padding: 11px 18px; border-radius: 999px; text-decoration: none !important; line-height: 1; white-space: nowrap; vertical-align: middle; text-shadow: 0 1px 1px rgba(0, 0, 0, .18); transition: filter .12s; }
.htbt-ig-btn svg { width: 20px; height: 20px; flex: none; }
.htbt-ig-btn:hover { filter: brightness(1.06) saturate(1.1); color: #fff !important; }
.htbt-ig-btn--sm { font-size: 13px; padding: 8px 14px; gap: 6px; }
.htbt-ig-btn--sm svg { width: 16px; height: 16px; }
.htbt-ig-btn--lg { font-size: 17px; padding: 14px 24px; }
.htbt-hot-head .htbt-ig-btn { flex: none; }
.htbt-hot-head .htbt-ig-btn:hover { text-decoration: none; }
/* Instagram 欄の最後: プロフィールへのカード */
.htbt-ig-more { flex: 0 0 210px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px 14px; border-radius: 12px; text-align: center; text-decoration: none; color: #fff; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); transition: transform .12s, filter .12s; }
.htbt-ig-more:hover { transform: translateY(-2px); filter: brightness(1.05); color: #fff; }
.htbt-ig-more-glyph { width: 56px; height: 56px; }
.htbt-ig-more-handle { font-family: var(--htbt-font-display); font-weight: 800; font-size: 16px; }
.htbt-ig-more-cta { font-size: 13px; font-weight: 600; opacity: .95; }
@media (max-width: 560px) { .htbt-ig-more { flex-basis: 180px; } }
.htbt-foot-wa { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.htbt-access-page .htbt-access { padding-left: 0; padding-right: 0; margin-top: 8px; }
.htbt-access-page .htbt-access .htbt-hot-head { display: none; }

/* WhatsApp ボタンの置き場所(段落に混ぜず、行として並べる) */
.htbt-bl-askactions { display: flex; align-items: center; gap: 10px; margin-left: auto; flex-wrap: wrap; }
.htbt-bl-askonly { margin-left: 0; }
.htbt-hot-note { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; margin: -6px 0 14px; }
.htbt-hot-note .htbt-hot-sub { margin: 0; }
.htbt-access-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 4px; }
.htbt-payout-notice { margin: 0 0 22px; }
.htbt-payout-notice .htbt-page-sub { margin: 0 0 12px; }
.htbt-actions-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 24px; }
.htbt-foot-wa { margin-top: 14px; }
@media (max-width: 760px) {
  .htbt-bl-askactions { margin-left: 0; width: 100%; }
  .htbt-wa-btn { font-size: 14px; padding: 10px 16px; }
}
/* 受付終了(残数 0 以下) */
.htbt-bl-card.is-closed { opacity: .55; }
.htbt-bl-card.is-closed .htbt-bl-thumb img { filter: grayscale(.6); }
.htbt-bl-remain--closed { color: var(--htbt-muted); font-weight: 600; }
.htbt-bl-toggles { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin: 0 0 12px; }
.htbt-bl-toggles-note { font-size: 12.5px; color: var(--htbt-muted); }
.htbt-auth-emailalt { margin: 14px 0 0; font-size: 13.5px; color: var(--htbt-muted); text-align: center; }
.htbt-auth-emailalt a { color: var(--htbt-blue); }
/* マイページ: ログイン・通知の連絡先(2 枚のカードは同じ行構成で高さ・ボタン位置を揃える) */
.htbt-account { margin: 0 0 34px; }
.htbt-account h2 { font-family: var(--htbt-font-display); font-weight: 800; font-size: 20px; margin: 0 0 6px; }
.htbt-account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: stretch; }
.htbt-account-item { display: flex; flex-direction: column; border: 1.5px solid var(--htbt-line); border-radius: var(--htbt-radius); padding: 16px; }
.htbt-account-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 26px; margin-bottom: 8px; }
.htbt-account-label { font-family: var(--htbt-font-display); font-weight: 700; font-size: 14px; }
.htbt-account-value { margin: 0 0 12px; font-size: 16px; font-weight: 600; line-height: 1.4; min-height: 1.4em; word-break: break-all; }
.htbt-account-empty { color: var(--htbt-muted); font-weight: 400; }
.htbt-account-form { display: flex; gap: 8px; margin: 0 0 10px; }
.htbt-account-form .htbt-input { flex: 1 1 auto; min-width: 0; height: 46px; padding: 0 14px; font-size: 15px; }
.htbt-account-form .htbt-btn { flex: 0 0 auto; height: 46px; padding: 0 16px; font-size: 14px; line-height: 46px; white-space: nowrap; }
.htbt-account .htbt-hint { font-size: 12.5px; color: var(--htbt-muted); margin: auto 0 0; line-height: 1.5; }
.htbt-account-lang { margin-top: 14px; }
.htbt-account-lang .htbt-account-form select.htbt-input { max-width: 260px; }
.htbt-pill--ok { background: #e6f7ec; color: #147a3d; }
.htbt-pill--muted { background: var(--htbt-panel, #f3f4f7); color: var(--htbt-muted); }
@media (max-width: 760px) {
  .htbt-account-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .htbt-account-form { flex-direction: column; }
  .htbt-account-form .htbt-btn { width: 100%; }
}
/* 認証画面下のリンク列: 折り返しても間隔を揃える */
.htbt-auth-alt { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 10px; line-height: 1.6; }
.htbt-auth-alt > span:not([class]) { color: var(--htbt-line); }
/* ボタン列(会員ホーム/マイページ下部・ヒーロー・アクション行): 高さを揃え、スマホでは均等幅で整列 */
.htbt-mh-links, .htbt-hero-actions, .htbt-hero-links, .htbt-actions-row, .htbt-access-actions, .htbt-steps-cta { align-items: center; }
.htbt-mh-links .htbt-btn, .htbt-hero-links .htbt-btn, .htbt-actions-row .htbt-btn, .htbt-access-actions .htbt-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; box-sizing: border-box; }
.htbt-access-actions .htbt-wa-btn, .htbt-actions-row .htbt-wa-btn, .htbt-access-actions .htbt-ig-btn, .htbt-actions-row .htbt-ig-btn { min-height: 48px; box-sizing: border-box; padding-top: 0; padding-bottom: 0; }
@media (max-width: 480px) {
  .htbt-mh-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .htbt-mh-links .htbt-btn { width: 100%; }
  .htbt-mh-links .htbt-btn:first-child { grid-column: 1 / -1; }
  .htbt-hero-actions .htbt-btn, .htbt-hero-links .htbt-btn { width: 100%; }
  .htbt-access-actions { display: grid; grid-template-columns: 1fr; }
  .htbt-access-actions .htbt-btn, .htbt-access-actions .htbt-wa-btn, .htbt-access-actions .htbt-ig-btn { width: 100%; justify-content: center; }
}

/* 買取表・販売リストの注意書き */
.htbt-bl-notice { margin: 10px 0 4px; font-size: 12.5px; line-height: 1.6; color: var(--htbt-muted); }

/* 言語切替(ヘッダー) */
.htbt-nav-lang { font-family: var(--htbt-font-display); font-size: 12px; letter-spacing: .08em; padding: 4px 8px; border: 1.5px solid var(--htbt-line); border-radius: 999px; text-decoration: none; }
.htbt-nav-lang:hover { border-color: var(--htbt-blue); color: var(--htbt-blue); }
.htbt-nav-lang { display: inline-flex; align-items: center; gap: 5px; }
.htbt-nav-lang .htbt-globe { flex: 0 0 auto; }

/* 販売リスト: 在庫のある商品が無いときの案内 */
.htbt-sl-empty { border: 1.5px dashed var(--htbt-line); border-radius: var(--htbt-radius); padding: 22px 20px; margin: 8px 0 24px; background: var(--htbt-panel, #f7f8fa); }
.htbt-sl-empty h2 { font-family: var(--htbt-font-display); font-weight: 800; font-size: 18px; margin: 0 0 8px; }
.htbt-sl-empty p { margin: 0 0 14px; color: var(--htbt-muted); line-height: 1.6; }

/* トップ: 店の Instagram 投稿(公式の埋め込み) */
.htbt-ig-row { align-items: stretch; }
/* 取り込んだ投稿のカード(自社サーバーの画像) */
.htbt-ig-card {
  flex: 0 0 210px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--htbt-ink);
  background: var(--htbt-bg);
  border: 1px solid var(--htbt-line);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .12s, transform .12s;
}
.htbt-ig-card:hover { border-color: var(--htbt-blue); transform: translateY(-2px); }
.htbt-ig-media { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--htbt-panel); }
.htbt-ig-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.htbt-ig-kind { position: absolute; top: 8px; right: 8px; width: 20px; height: 20px; color: #fff; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .55)); }
.htbt-ig-body { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px 12px; }
.htbt-ig-title {
  font-size: 12.5px;
  line-height: 1.45;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.9em;
}
.htbt-ig-date { font-size: 12px; color: var(--htbt-muted); }
@media (max-width: 560px) { .htbt-ig-card { flex-basis: 180px; } }
/* 予備: Instagram 公式の埋め込み(取り込みが無いときだけ) */
.htbt-ig-item { flex: 0 0 280px; min-width: 0; align-self: flex-start; }
.htbt-ig-item .instagram-media { min-width: 0 !important; margin: 0 !important; }
@media (max-width: 560px) { .htbt-ig-item { flex-basis: 260px; } }

/* 電子明細: 査定調整の行(商品合計 → 調整 → 合計) */
.htbt-rcpt-subline { display: flex; justify-content: space-between; padding: 8px 0 0; font-size: 14.5px; color: var(--htbt-muted); }
.htbt-rcpt-adj { color: #1d4ed8; font-weight: 600; }
/* 査定調整: 定型を付けたが条件を満たさない(HK$0)・上限で止めたときの補足 */
.htbt-appr-adj.is-off, .htbt-rcpt-adj.is-off { color: #6b7280; }
.htbt-adj-note { display: block; font-size: .8em; font-weight: 500; color: #b45309; margin-top: 2px; }

/* ---------- ヘッダーのリンク群とボタン群(PC は従来どおり 1 列) ---------- */
.htbt-land-nav-links, .htbt-land-nav-actions { display: flex; align-items: center; gap: 22px; }
.htbt-hero-cards { display: block; }
.htbt-hero-price small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .75; line-height: 1.1; margin-bottom: 2px; text-align: center; }

/* ---------- スマホの最初の画面(2026-09-24) ----------
   ヘッダー: 1 段目 = ロゴ + 言語・登録・ログイン、2 段目 = メニュー(横スクロール)
   トップ: 見出し → カード画像 → 開始ボタン → 2 つのボタン(横並び)→ 箇条書き */
@media (max-width: 640px) {
  .htbt-land-header { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "logo actions" "links links"; align-items: center; column-gap: 10px; row-gap: 8px; padding: 10px 16px 0; flex-wrap: nowrap; }
  .htbt-land-header > .htbt-wordmark { grid-area: logo; }
  .htbt-land-nav { display: contents; }
  .htbt-land-nav-actions { grid-area: actions; justify-self: end; gap: 8px; }
  .htbt-land-nav-links { grid-area: links; gap: 20px; margin: 0 -16px; padding: 9px 16px 10px; border-top: 1px solid var(--htbt-line); border-bottom: 1px solid var(--htbt-line); overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .htbt-land-nav-links::-webkit-scrollbar { display: none; }
  .htbt-land-nav-links a { font-size: 14px; font-weight: 700; }
  .htbt-land-nav-actions a { font-size: 13px; }
  .htbt-land-loginbtn, .htbt-land-signupbtn { padding: 7px 12px; border-radius: 8px; }
  .htbt-nav-lang { padding: 5px 8px; }
  .htbt-wordmark--logo img { height: 26px; }
  .htbt-wordmark--logo small { font-size: 7.5px; letter-spacing: .34em; padding-left: .34em; margin-top: 3px; } /* ロゴの大きさに合わせて小さく(2026-10-01) */

  .htbt-hero--split { padding-top: 18px; padding-bottom: 30px; gap: 0; }
  .htbt-hero--split .htbt-hero-copy { display: contents; }
  .htbt-hero--split .htbt-hero-eyebrow { order: 1; font-size: 11px; letter-spacing: .16em; margin: 0 0 8px; }
  .htbt-hero--split h1 { order: 2; font-size: clamp(24px, 7.6vw, 30px); line-height: 1.12; margin: 0; } /* 繁體の 1 行目(11 字)が 320px でも折れない大きさ */
  html[lang="en"] .htbt-hero--split h1 br { display: none; } /* 英語は自然に折り返して 2 行に(繁體は改行位置を保つ) */
  .htbt-hero--split .htbt-hero-cards { order: 3; height: 236px; margin: 0 -16px 14px; }
  .htbt-hero--split .htbt-hero-actions { order: 4; }
  .htbt-hero--split .htbt-hero-links { order: 5; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
  .htbt-hero--split .htbt-hero-links .htbt-btn { width: 100%; min-height: 46px; padding-left: 8px; padding-right: 8px; font-size: 14px; }
  .htbt-hero--split .htbt-hero-links .htbt-btn:only-child { grid-column: 1 / -1; }
  .htbt-hero--split .htbt-hero-points { order: 6; margin: 20px 0 0; font-size: 14.5px; }
  .htbt-hero--split .htbt-hero-actions .htbt-btn { width: 100%; }
  .htbt-hero-cards::before { content: ""; position: absolute; left: 10%; right: 10%; top: 6%; bottom: 4%; border-radius: 50%; background: radial-gradient(closest-side, var(--htbt-blue-soft), rgba(234, 240, 255, 0)); }
  .htbt-hero-cards .hc0 { height: 212px; top: 8px; }
  .htbt-hero-cards .hc1 { height: 172px; top: 34px; left: 7%; }
  .htbt-hero-cards .hc2 { height: 168px; top: 38px; right: 7%; }
  .htbt-hero-price { bottom: 6px; font-size: 18px; padding: 6px 16px 7px; }
}
@media (max-width: 360px) {
  .htbt-land-signupbtn { display: none; }
}

/* 価格公開前の案内(_prices_soon.php) */
.htbt-pricesoon { border: 1px solid var(--htbt-line); border-radius: 16px; padding: clamp(22px, 4vw, 34px); background: linear-gradient(135deg, var(--htbt-blue-soft) 0%, #fff 70%); }
.htbt-pricesoon-badge { display: inline-block; font-family: var(--htbt-font-display); font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--htbt-blue); padding: 5px 12px; border-radius: 999px; }
.htbt-pricesoon-title { font-family: var(--htbt-font-display); font-weight: 800; font-size: clamp(21px, 3.2vw, 28px); line-height: 1.25; margin: 12px 0 8px; }
.htbt-pricesoon-body { color: var(--htbt-muted); font-size: 15px; line-height: 1.65; margin: 0 0 16px; max-width: 62ch; }
.htbt-pricesoon-actions { margin-bottom: 0; }
.htbt-actions-row .htbt-btn--primary { color: #fff; }
@media (max-width: 480px) {
  .htbt-pricesoon-actions { display: grid; grid-template-columns: 1fr; }
  .htbt-pricesoon-actions > a { width: 100%; justify-content: center; }
}

/* ---------- 2026-09-25 オーナー修正 ---------- */
/* ヘッダーはスクロールしても常に最上段 */
.htbt-land-header { position: sticky; top: 0; z-index: 60; background: var(--htbt-bg); box-shadow: 0 1px 0 var(--htbt-line); }
@media (max-width: 640px) { .htbt-land-header { box-shadow: none; } }
html { scroll-padding-top: 110px; }
/* 見出しが長くなったので PC の文字サイズを少し下げる */
.htbt-hero--split h1 { font-size: clamp(34px, 4.2vw, 50px); }
/* 価格の公開前: Hot buys のカードは価格の代わりに「即將公佈」 */
.htbt-hot-card .price--soon { color: var(--htbt-muted); font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.htbt-hot-soon { margin: -4px 0 12px; font-size: 13.5px; font-weight: 700; color: var(--htbt-blue); }
/* How buying works */
.htbt-buyflow-card { display: flex; align-items: center; gap: 18px; border: 1px solid var(--htbt-line); border-radius: 14px; padding: 20px 22px; background: var(--htbt-panel); }
.htbt-buyflow-ico { width: 44px; height: 44px; flex: none; color: var(--htbt-blue); }
.htbt-buyflow-body { flex: 1 1 auto; min-width: 0; }
.htbt-buyflow-lead { margin: 0; font-family: var(--htbt-font-display); font-weight: 800; font-size: 18px; }
.htbt-buyflow-note { margin: 4px 0 0; color: var(--htbt-muted); font-size: 14.5px; }
.htbt-buyflow-actions { display: flex; gap: 10px; flex-wrap: wrap; flex: none; }
.htbt-buyflow-actions .htbt-btn { min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 640px) {
  .htbt-buyflow-card { flex-direction: column; align-items: flex-start; }
  .htbt-buyflow-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .htbt-buyflow-actions .htbt-btn { justify-content: center; width: 100%; }
}
/* Fair, open pricing: 買取表と Instagram へのリンク */
a.htbt-feature-collage { text-decoration: none; }
.htbt-feature-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 10px 0 0 !important; font-family: var(--htbt-font-display); font-size: 14px; font-weight: 600; }
.htbt-feature-links a { color: var(--htbt-blue); text-decoration: none; }
.htbt-feature-links a:hover { text-decoration: underline; }
.htbt-feature-ig { display: inline-flex; align-items: center; gap: 5px; }
.htbt-feature-ig svg { width: 15px; height: 15px; color: #d6249f; }
/* 繁體の見出しは 1 行 11 字 × 2 行に収める */
.htbt-hero--split h1.htbt-h1-zh { font-size: clamp(30px, 4.2vw, 46px); }
@media (max-width: 640px) { .htbt-hero--split h1.htbt-h1-zh { font-size: clamp(24px, 7.6vw, 30px); } }
.htbt-buyflow-actions .htbt-btn { box-sizing: border-box; padding-left: 10px; padding-right: 10px; }
@media (max-width: 640px) {
  .htbt-ig .htbt-hot-head { flex-wrap: wrap; gap: 8px 12px; align-items: center; }
}
/* Google マップのボタン(WhatsApp / Instagram ボタンと同じ形。白地+マップのピン) */
.htbt-map-btn { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: #1f1f1f !important; font-family: var(--htbt-font-display); font-weight: 800; font-size: 15px; padding: 11px 18px; border-radius: 999px; border: 1.5px solid #dadce0; text-decoration: none !important; line-height: 1; white-space: nowrap; vertical-align: middle; box-sizing: border-box; transition: border-color .12s, box-shadow .12s; }
.htbt-map-btn svg { width: 20px; height: 20px; flex: none; }
.htbt-map-btn:hover { border-color: #4285F4; box-shadow: 0 1px 6px rgba(66, 133, 244, .25); color: #1f1f1f !important; }
.htbt-map-btn--sm { font-size: 13px; padding: 8px 14px; gap: 6px; }
.htbt-map-btn--sm svg { width: 16px; height: 16px; }
.htbt-access-actions .htbt-map-btn, .htbt-actions-row .htbt-map-btn { min-height: 48px; padding-top: 0; padding-bottom: 0; }
@media (max-width: 480px) {
  .htbt-access-actions .htbt-map-btn { width: 100%; justify-content: center; }
}
.htbt-buyflow { padding-bottom: clamp(28px, 4vw, 44px); }
@media (max-width: 640px) { .htbt-buyflow-actions { grid-template-columns: 1fr; } }
/* 写真のクレジットはフッター最下段に小さく(本文からは外した) */
.htbt-foot-bottom .htbt-photo-credit { display: inline; max-width: none; margin: 0; padding: 0; font-size: inherit; color: inherit; }

/* ---------- スマホの要素整理(2026-09-25 オーナー指摘) ----------
   補足文(見出し下の箇条書き・各欄の説明)はトップに出さず、押した先のページ(/sell・買取表・販売リスト)で見せる。
   下の項目(Hot buys / Hot sales / Instagram ほか)は画像を小さくして 1 画面に 4〜6 個見える形に。PC は変えない */
.htbt-steps-more { display: none; }
@media (max-width: 640px) {
  .htbt-hero--split .htbt-hero-points { display: none; }
  .htbt-hot-sub { display: none; }
  .htbt-hot-note { margin: 0 0 10px; }
  .htbt-hot { padding-bottom: 24px; }
  .htbt-hot-head { margin-bottom: 10px; }
  .htbt-hot-head h2 { font-size: 19px; }
  .htbt-hot-soon { font-size: 12.5px; margin: -4px 0 10px; }
  /* Hot buys / Hot sales / Instagram: 横スクロールのまま、カードを小さくして 1 画面に約 4 枚(画面の端まで流す) */
  .htbt-hot-row { gap: 8px; margin: 0 -16px; padding: 2px 16px 8px; scroll-snap-type: x proximity; scroll-padding: 0 16px; scrollbar-width: none; }
  .htbt-hot-row::-webkit-scrollbar { display: none; }
  .htbt-hot-card { flex: 0 0 84px; min-width: 0; padding: 5px; gap: 4px; border-radius: 10px; scroll-snap-align: start; }
  .htbt-hot-card .thumb { height: 104px; border-radius: 7px; }
  .htbt-hot-card .thumb img { max-height: 96px; }
  .htbt-hot-card .name { font-size: 10.5px; line-height: 1.3; min-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; }
  .htbt-hot-card .meta { min-height: 0; }
  .htbt-hot-card .meta .htbt-chip { font-size: 9.5px; padding: 0 6px; }
  .htbt-hot-card .price { font-size: 13px; }
  .htbt-hot-card .price--soon { display: none; } /* 「價格將於開幕時公佈」は欄の上に 1 回だけ */
  /* Instagram: 正方形の小さいタイルを横スクロール(キャプションは Instagram 側で) */
  .htbt-ig-card { flex: 0 0 96px; border: 0; border-radius: 8px; scroll-snap-align: start; }
  .htbt-ig-card .htbt-ig-body { display: none; }
  .htbt-ig-more { flex: 0 0 96px; aspect-ratio: 1 / 1; padding: 6px; gap: 3px; border-radius: 8px; scroll-snap-align: start; }
  .htbt-ig-more-glyph { width: 26px; height: 26px; }
  .htbt-ig-more-handle { font-size: 11px; }
  .htbt-ig-more-cta { font-size: 10px; line-height: 1.2; }
  /* What we buy: 小さいタイル 2 つを横並び(ロゴの右に名前と状態) */
  .htbt-cats { margin-bottom: 26px; }
  .htbt-cats-row { flex-wrap: nowrap; gap: 8px; }
  .htbt-catcard { flex: 1 1 0; min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 8px; row-gap: 0; align-items: center; justify-items: start; padding: 8px 10px; }
  .htbt-catcard > img, .htbt-catcard > .htbt-catcard-mono { grid-row: 1 / span 2; }
  .htbt-catcard img { height: 28px; max-width: 60px; }
  .htbt-catcard-mono { width: 26px; height: 26px; font-size: 14px; }
  .htbt-catcard-name { font-size: 13px; line-height: 1.2; }
  .htbt-catcard-note { font-size: 9.5px; letter-spacing: .06em; }
  /* 門市出售 / 公開公平的價格: 左に小さい正方形の画像+タイトル。押すと説明とリンクが開く(アコーディオン) */
  .htbt-features { gap: 10px; padding-bottom: 26px; }
  /* 画像は引き伸ばさず固定サイズのサムネイル(iPhone の Safari は横並びで引き伸ばした画像を、閉じた後に元の高さへ戻さないため) */
  .htbt-feature--rich { position: relative; flex-direction: row; align-items: flex-start; }
  .htbt-feature--rich > .htbt-feature-img, .htbt-feature--rich > .htbt-feature-collage { flex: 0 0 56px; width: 56px; height: 56px; min-height: 0; margin: 10px 0 10px 10px; border-radius: 10px; align-self: flex-start; }
  .htbt-feature--rich > .htbt-feature-collage { padding: 3px; gap: 0; overflow: hidden; }
  .htbt-feature--rich > .htbt-feature-collage img { height: 36px; margin: 0 -7px; border-radius: 3px; }
  .htbt-feature-body { flex: 1 1 auto; min-width: 0; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; min-height: 76px; padding: 12px 42px 12px 12px; }
  .htbt-feature h2 { font-size: 16px; margin: 0; }
  .htbt-feature p { font-size: 13px; line-height: 1.5; }
  .htbt-feature .htbt-acc-body p:first-child { margin-top: 6px; }
  .htbt-feature-links { margin-top: 6px !important; font-size: 13px; gap: 4px 14px; }
  .htbt-feature.htbt-acc::after { content: "+"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 22px; line-height: 1; color: var(--htbt-muted); }
  .htbt-feature.htbt-acc.is-open::after { content: "\2212"; top: 27px; transform: none; }
  /* 門市出售流程: 4 つを縦の一覧(番号+タイトル)。押すと説明が開く(アコーディオン)。全体は /sell(「詳細流程 →」) */
  .htbt-steps--acc h2 { margin-bottom: 12px; }
  .htbt-steps--acc .htbt-steps-row { grid-template-columns: 1fr; gap: 0; margin-bottom: 10px; border: 1px solid var(--htbt-line); border-radius: 14px; overflow: hidden; background: var(--htbt-panel); }
  .htbt-steps--acc .htbt-step { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 12px; padding: 13px 14px; border: 0; border-bottom: 1px solid var(--htbt-line); border-radius: 0; background: transparent; }
  .htbt-steps--acc .htbt-step:last-child { border-bottom: 0; }
  .htbt-steps--acc .htbt-step-top { display: contents; }
  .htbt-steps--acc .htbt-step-top .ico { display: none; }
  .htbt-steps--acc .htbt-step .num { grid-column: 1; grid-row: 1; width: 26px; height: 26px; font-size: 14px; border-radius: 8px; margin: 0; }
  .htbt-steps--acc .htbt-step h3 { grid-column: 2; grid-row: 1; font-size: 15px; margin: 0; line-height: 1.3; }
  .htbt-steps--acc .htbt-step::after { content: "+"; grid-column: 3; grid-row: 1; font-size: 22px; line-height: 1; color: var(--htbt-muted); }
  .htbt-steps--acc .htbt-step.is-open::after { content: "\2212"; }
  .htbt-steps--acc .htbt-step .htbt-acc-body { grid-column: 1 / -1; grid-row: 2; margin: 8px 0 0; }
  .htbt-steps-more { display: inline-block; margin: 0 0 16px; font-size: 14px; font-weight: 700; color: var(--htbt-blue); text-decoration: none; }
  .htbt-steps-cta { margin-bottom: 30px; }
  /* アコーディオン共通: 閉じている間は中身を出さない */
  .htbt-acc { cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .htbt-acc .htbt-acc-body { display: none; }
  .htbt-acc.is-open .htbt-acc-body { display: block; }
  /* 購買流程 */
  .htbt-buyflow-card { padding: 14px 16px; gap: 10px; }
  .htbt-buyflow-ico { width: 32px; height: 32px; }
  .htbt-buyflow-lead { font-size: 15.5px; }
  .htbt-buyflow-note { font-size: 13px; }
  /* 交通位置: 地図を低く、WhatsApp / Instagram / Google 地圖 を横一列(ラベルはブランド名だけ) */
  .htbt-access-map, .htbt-access-map iframe { min-height: 200px; }
  .htbt-access .htbt-access-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .htbt-access .htbt-access-actions > a { width: 100%; min-height: 46px; padding: 0 6px; justify-content: center; gap: 5px; white-space: nowrap; font-size: 12.5px; }
  .htbt-access .htbt-access-actions > a svg { width: 17px; height: 17px; }
}
/* フッターの WhatsApp / Instagram(ラベルが短いので横並び) */
.htbt-foot-wa { flex-direction: row; flex-wrap: wrap; }
/* ---------- ロゴ: 「HTB. / DOPA!」の 1 行(2026-09-27 中村さん指示。licensed by はロゴに入れず、フッター・About の運営表記で出す)。
   DOPA! は HTB より少し小さく、下寄せ(文字のベースラインに DOPA! の下端を合わせる)。大きさは em でロゴの文字サイズ(PC 26px / スマホ 19px)に連動 ---------- */
.htbt-wm-htb { display: inline-block; line-height: 1; }
.htbt-wordmark--duo { display: inline-flex; flex-direction: row; align-items: baseline; gap: .22em; line-height: 1; white-space: nowrap; }
.htbt-wm-sep { font-weight: 500; font-size: .58em; color: var(--htbt-muted); margin: 0 .05em; }
/* DOPA! の画像は上下左右に余白がある(本体は高さの約 72%、下の余白は約 15%)ので、負のマージンで見た目の大きさ・位置を合わせる。本体の高さ ≈ 0.6em(HTB の大文字 ≈ 0.7em より少し小さい) */
.htbt-wm-partner { display: block; height: .84em; width: auto; flex: none; margin-left: -.16em; position: relative; top: .18em; } /* 横並びの下端そろえでは画像の枠の下端が基準になるので、下の余白の分だけ下げて DOPA! の文字の下端を HTB にそろえる */
@media (max-width: 640px) {
  .htbt-wordmark--duo { font-size: 19px; }
  .htbt-wordmark--duo ~ .htbt-land-nav .htbt-land-nav-actions, .htbt-wordmark--logo ~ .htbt-land-nav .htbt-land-nav-actions { gap: 6px; }
  .htbt-wordmark--duo ~ .htbt-land-nav .htbt-nav-lang, .htbt-wordmark--logo ~ .htbt-land-nav .htbt-nav-lang { padding: 5px 7px; }
  .htbt-wordmark--duo ~ .htbt-land-nav .htbt-land-loginbtn, .htbt-wordmark--duo ~ .htbt-land-nav .htbt-land-signupbtn,
  .htbt-wordmark--logo ~ .htbt-land-nav .htbt-land-loginbtn, .htbt-wordmark--logo ~ .htbt-land-nav .htbt-land-signupbtn { padding: 7px 10px; }
}
/* 会員登録画面: ダイレクトマーケティングの同意(初期オフ・任意) */
/* タブレット幅(641〜960px): ヘッダーをスマホと同じ 2 段に(1 段目 = ロゴ+言語・登録・ログイン、2 段目 = メニュー)。1 段だとメニューとボタンの文字が縦に折れるため */
@media (min-width: 641px) and (max-width: 960px) {
  .htbt-land-header { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "logo actions" "links links"; align-items: center; column-gap: 12px; row-gap: 10px; padding: 12px 24px 0; flex-wrap: nowrap; }
  .htbt-land-header > .htbt-wordmark { grid-area: logo; }
  .htbt-land-nav { display: contents; }
  .htbt-land-nav-actions { grid-area: actions; justify-self: end; gap: 10px; }
  .htbt-land-nav-links { grid-area: links; gap: 24px; margin: 0 -24px; padding: 10px 24px 11px; border-top: 1px solid var(--htbt-line); overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .htbt-land-nav a { white-space: nowrap; }
}

/* ---------- 会員登録 / ログイン(2026-09-27 刷新: カード画像+3 つのメリット+入力欄が主役、補足は小さく) ---------- */
.htbt-join-main { align-items: flex-start; padding-top: 22px; }
.htbt-join { max-width: 420px; }
.htbt-join h1 { text-align: center; font-size: 30px; margin: 0 0 6px; }
.htbt-join .sub { text-align: center; font-size: 15px; margin: 0 0 20px; }
.htbt-join:not(.htbt-join--signup) { padding-top: 18px; }
.htbt-join-visual { position: relative; height: 168px; margin: -6px 0 10px; }
.htbt-join-visual::before { content: ""; position: absolute; left: 6%; right: 6%; top: 0; bottom: -6px; border-radius: 50%; background: radial-gradient(closest-side, var(--htbt-blue-soft), rgba(234, 240, 255, 0)); }
.htbt-join-visual .hc { position: absolute; bottom: 8px; height: 132px; width: auto; border-radius: 7px; box-shadow: 0 12px 26px rgba(16, 20, 24, .2); background: var(--htbt-panel); }
.htbt-join-visual .hc0 { left: 50%; height: 150px; transform: translateX(-50%) rotate(-2deg); z-index: 3; }
.htbt-join-visual .hc1 { left: 50%; transform: translateX(-122%) rotate(-12deg); transform-origin: bottom right; z-index: 2; }
.htbt-join-visual .hc2 { left: 50%; transform: translateX(22%) rotate(11deg); transform-origin: bottom left; z-index: 1; }
.htbt-join-perks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.htbt-join-perks li { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px 12px; border-radius: 12px; background: var(--htbt-panel); text-align: center; font-size: 12.5px; font-weight: 700; line-height: 1.35; color: var(--htbt-ink); }
.htbt-join-perks svg { width: 26px; height: 26px; color: var(--htbt-blue); flex: none; }
.htbt-join .htbt-field { margin-bottom: 14px; }
.htbt-join .htbt-input { font-size: 18px; padding: 15px 14px; }
.htbt-join-submit { font-size: 16px; padding: 16px 22px; }
.htbt-optin { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 16px; padding: 11px 12px; border: 1px solid var(--htbt-line); border-radius: var(--htbt-radius); cursor: pointer; }
.htbt-optin input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--htbt-blue); }
.htbt-optin-label { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.4; color: var(--htbt-ink); }
.htbt-optin-meta { display: block; margin-top: 3px; font-size: 11.5px; line-height: 1.45; color: var(--htbt-muted); }
.htbt-join-terms { margin: 12px 0 0; text-align: center; font-size: 12px; line-height: 1.5; color: var(--htbt-muted); }
.htbt-join-terms a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.htbt-join-foot { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--htbt-line); display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: 13.5px; color: var(--htbt-muted); }
.htbt-join-foot a { color: var(--htbt-blue); font-weight: 700; text-decoration: none; }
.htbt-join-foot a:hover { text-decoration: underline; }
.htbt-join-fail { margin: 0 0 18px; padding: 14px; border-radius: var(--htbt-radius); background: var(--htbt-danger-soft); color: var(--htbt-danger); font-size: 14px; line-height: 1.5; }
.htbt-join-fail p { margin: 0 0 10px; }
.htbt-join-fail .htbt-btn { display: block; box-sizing: border-box; text-align: center; text-decoration: none; background: #fff; }
@media (max-width: 360px) {
  .htbt-join-perks li { font-size: 11.5px; padding: 12px 4px 10px; }
  .htbt-join-visual .hc { height: 118px; }
  .htbt-join-visual .hc0 { height: 134px; }
}

/* ---------- 店頭買取の申込フォーム: 支払いの要点・同意欄(2026-09-27 簡潔化) ---------- */
.htbt-paynote { list-style: none; margin: -6px 0 18px; padding: 12px 14px; border-radius: var(--htbt-radius); background: var(--htbt-panel); display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; line-height: 1.5; color: var(--htbt-ink); }
.htbt-paynote li { position: relative; padding-left: 16px; }
.htbt-paynote li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--htbt-blue); }
.htbt-agreements .htbt-agree { padding: 12px 14px; border: 1px solid var(--htbt-line); border-radius: var(--htbt-radius); font-size: 13.5px; line-height: 1.55; cursor: pointer; }
.htbt-agreements .htbt-agree:has(input:checked) { border-color: var(--htbt-blue); background: var(--htbt-blue-soft); }
.htbt-agree input { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.htbt-agree strong { color: var(--htbt-ink); }

/* ---------- 会員ホーム冒頭: 申込済み・未来店の案内(2026-09-27) ---------- */
.htbt-visit { position: relative; overflow: hidden; margin: 0 0 28px; padding: 22px 20px 16px; border-radius: 18px; color: #fff; background: radial-gradient(120% 90% at 100% 0%, rgba(122, 162, 255, .55) 0%, rgba(36, 87, 230, 0) 55%), linear-gradient(140deg, #2457E6 0%, #1b44c2 55%, #0f2a7a 100%); box-shadow: 0 14px 34px rgba(36, 87, 230, .25); }
.htbt-visit-cards { position: absolute; top: 10px; right: 8px; width: 108px; height: 84px; pointer-events: none; }
.htbt-visit-cards .vc { position: absolute; bottom: 0; height: 64px; width: auto; border-radius: 5px; box-shadow: 0 8px 18px rgba(0, 0, 0, .35); background: #fff; }
.htbt-visit-cards .vc0 { left: 50%; height: 76px; transform: translateX(-50%) rotate(-3deg); z-index: 3; }
.htbt-visit-cards .vc1 { left: 50%; transform: translateX(-118%) rotate(-14deg); transform-origin: bottom right; z-index: 2; }
.htbt-visit-cards .vc2 { left: 50%; transform: translateX(18%) rotate(12deg); transform-origin: bottom left; z-index: 1; }
.htbt-visit-head { position: relative; z-index: 4; }
.htbt-visit-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 8px; border-radius: 999px; background: rgba(255, 255, 255, .18); font-size: 12.5px; font-weight: 700; letter-spacing: .02em; }
.htbt-visit-pill svg { width: 15px; height: 15px; }
.htbt-visit h2 { max-width: calc(100% - 108px); margin: 12px 0 10px; font-family: var(--htbt-font-display); font-size: 26px; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; color: #fff; }
.htbt-visit-head > p { margin: 0 0 10px; font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .88); }
.htbt-visit-open { display: inline-block; margin: 0 0 10px !important; padding: 5px 10px; border-radius: 8px; background: #FFD84D; color: #101418 !important; font-size: 13px !important; font-weight: 800; }
.htbt-visit-bring { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.htbt-visit-bring li { padding: 5px 10px 5px 26px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: 12.5px; font-weight: 600; position: relative; }
.htbt-visit-bring li::before { content: ""; position: absolute; left: 10px; top: 50%; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-70%) rotate(-45deg); }
.htbt-visit-info { position: relative; z-index: 4; padding: 14px 16px 16px; border-radius: 14px; background: #fff; color: var(--htbt-ink); }
.htbt-visit-info dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0 0 14px; font-size: 13.5px; line-height: 1.5; }
.htbt-visit-info dt { color: var(--htbt-muted); font-weight: 600; white-space: nowrap; }
.htbt-visit-info dd { margin: 0; }
.htbt-visit-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.htbt-visit-actions .htbt-map-btn, .htbt-visit-actions .htbt-wa-btn { font-size: 14px; padding: 10px 16px; }
.htbt-visit-foot { position: relative; z-index: 4; margin: 12px 2px 0; font-size: 12px; color: rgba(255, 255, 255, .78); }
.htbt-visit-foot a { color: #fff; font-weight: 700; }
@media (min-width: 761px) {
  .htbt-visit { display: grid; grid-template-columns: minmax(0, 1.15fr) 190px minmax(0, 1fr); column-gap: 22px; row-gap: 14px; padding: 28px; }
  .htbt-visit-cards { position: relative; top: auto; right: auto; grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 190px; height: 150px; }
  .htbt-visit-cards .vc { height: 116px; }
  .htbt-visit-cards .vc0 { height: 134px; }
  .htbt-visit-head { grid-column: 1; grid-row: 1; }
  .htbt-visit h2 { max-width: none; font-size: 30px; }
  .htbt-visit-info { grid-column: 3; grid-row: 1 / span 2; align-self: start; }
  .htbt-visit-foot { grid-column: 1; grid-row: 2; margin-top: 0; align-self: end; }
}
@media (max-width: 360px) {
  .htbt-visit h2 { font-size: 23px; }
}
/* 買取表: 1 日の上限・先着順の注記(2026-09-27) */
.htbt-bl-notice--limit { margin-bottom: 0; color: var(--htbt-ink); font-size: 13px; }
/* 会員ホームの来店案内: 申込番号(受付で見せる)と取消(2026-09-28) */
.htbt-visit-nos { margin: 2px 0 14px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .14); }
.htbt-visit-nolabel { margin: 0 0 6px !important; font-size: 12px !important; font-weight: 700; color: rgba(255, 255, 255, .85) !important; }
.htbt-visit-no { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.htbt-visit-no + .htbt-visit-no { margin-top: 6px; padding-top: 6px; border-top: 1px solid rgba(255, 255, 255, .18); }
.htbt-visit-no strong { font-family: var(--htbt-font-display); font-size: 30px; font-weight: 800; letter-spacing: .06em; line-height: 1.1; color: #fff; }
.htbt-visit-no span { font-size: 12.5px; color: rgba(255, 255, 255, .8); }
.htbt-visit-no form { margin: 0 0 0 auto; }
.htbt-visit-cancel { background: none; border: 1px solid rgba(255, 255, 255, .45); color: #fff; border-radius: 999px; padding: 4px 10px; font-size: 12px; cursor: pointer; }
.htbt-visit-cancel:hover { background: rgba(255, 255, 255, .15); }
.htbt-thanks-no { display: inline-block; margin: 6px auto 18px; padding: 12px 22px; border-radius: 14px; background: var(--htbt-blue-soft); color: var(--htbt-ink); }
.htbt-thanks-no small { display: block; font-size: 12.5px; color: var(--htbt-muted); }
.htbt-thanks-no strong { display: block; font-family: var(--htbt-font-display); font-size: 34px; font-weight: 800; letter-spacing: .06em; line-height: 1.15; }
.htbt-sale-cancel { margin: 8px 0 0; }
.htbt-sale-cancel button { background: none; border: 1px solid var(--htbt-line); color: var(--htbt-muted); border-radius: 999px; padding: 5px 12px; font-size: 12.5px; cursor: pointer; }
/* 確認用の共通モーダル(confirm() の代わり。2026-09-28) */
.htbt-confirm-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(16, 20, 24, .55); }
.htbt-confirm-modal[hidden] { display: none; }
.htbt-confirm-box { width: 100%; max-width: 380px; padding: 22px 20px 18px; border-radius: 16px; background: #fff; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); }
.htbt-confirm-msg { margin: 0 0 18px; font-size: 15.5px; line-height: 1.6; color: var(--htbt-ink); }
.htbt-confirm-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.htbt-confirm-actions .htbt-btn { min-width: 110px; }
body.htbt-modal-open { overflow: hidden; }

/* ---------- フッターの SNS 導線: グループ名+アイコン(店舗 / DOPA の 2 グループ。2026-09-28) ---------- */
.htbt-sns-groups { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; } /* 上に店舗、下に DOPA! Online の縦並び(2026-10-01 店舗の依頼。ライセンス店なので横並びにしない) */
.htbt-sns-group { display: flex; flex-direction: column; gap: 8px; }
.htbt-sns-group-name { font-family: var(--htbt-font-display); font-weight: 700; font-size: 12.5px; letter-spacing: .02em; color: var(--htbt-ink); }
.htbt-sns--group { margin-top: 0; gap: 8px; }
.htbt-sns--group .htbt-sns-link { width: 34px; height: 34px; }
.htbt-sns--group .htbt-sns-link svg { width: 17px; height: 17px; }
.htbt-sns--group .htbt-sns-link--threads svg { width: 15px; height: 15px; }
/* 店舗を目立たせる(2026-10-02 店舗側の依頼・案 B): 店舗 = 名前とアイコンを大きく、DOPA! Online = 小さいアイコン(色はブランドの色) */
.htbt-sns-groups:has(.htbt-sns-group--store) { gap: 16px; }
.htbt-sns-group--store .htbt-sns-group-name { font-size: 15px; }
.htbt-sns-group--store .htbt-sns-link { width: 46px; height: 46px; }
.htbt-sns-group--store .htbt-sns-link svg { width: 22px; height: 22px; }
.htbt-sns-group--store .htbt-sns-link--threads svg { width: 19px; height: 19px; }
.htbt-sns-group--brand { gap: 6px; }
.htbt-sns-group--brand .htbt-sns-group-name { font-size: 11.5px; font-weight: 600; color: var(--htbt-muted); }
.htbt-sns-group--brand .htbt-sns--group { gap: 6px; }
.htbt-sns-group--brand .htbt-sns-link { width: 26px; height: 26px; } /* 色はブランドの色のまま(2026-10-02 店舗側の依頼で、グレーから戻した) */
.htbt-sns-group--brand .htbt-sns-link svg { width: 13px; height: 13px; }
.htbt-sns-group--brand .htbt-sns-link--threads svg { width: 12px; height: 12px; }

/* ---------- Cookie のお知らせ(ページ下、選ぶと 1 年出さない。2026-09-28) ---------- */
.htbt-cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1200; max-width: 760px; margin: 0 auto; display: flex; align-items: center; gap: 12px 18px; padding: 14px 16px; border-radius: 12px; background: #101418; color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); font-size: 13.5px; line-height: 1.5; }
.htbt-cookie[hidden] { display: none; }
.htbt-cookie-text { margin: 0; flex: 1 1 auto; }
.htbt-cookie-text a { color: #9db8ff; text-decoration: underline; white-space: nowrap; }
.htbt-cookie-actions { display: flex; gap: 8px; flex: none; }
.htbt-cookie-btn { appearance: none; border: 1.5px solid #fff; background: #fff; color: #101418; font: inherit; font-weight: 700; padding: 8px 14px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.htbt-cookie-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
@media (max-width: 640px) {
  .htbt-cookie { flex-direction: column; align-items: stretch; left: 10px; right: 10px; bottom: 10px; font-size: 13px; }
  .htbt-cookie-actions { justify-content: flex-end; }
}

/* ---------- 会員ホーム: 店に戻る案内(2026-09-28)。戻る必要があるときはオレンジの太枠で強く ---------- */
.htbt-return { border-radius: 14px; padding: 16px 18px; margin: 0 0 18px; }
.htbt-return p { margin: 0 0 6px; }
.htbt-return--must { background: #fff4e5; border: 2px solid #f59e0b; }
.htbt-return--must .htbt-return-title { color: #b45309; font-family: var(--htbt-font-display); font-weight: 800; font-size: 20px; line-height: 1.3; }
.htbt-return--info { background: #eef4ff; border: 1px solid #c7d7fe; }
.htbt-return--info .htbt-return-title { color: var(--htbt-blue); font-weight: 700; font-size: 16px; }
.htbt-return-text { font-size: 14.5px; line-height: 1.55; }
.htbt-return-ticket, .htbt-return-where { font-size: 13.5px; color: var(--htbt-muted); }
.htbt-return .htbt-actions-row { margin-top: 10px; }

/* ---------- 1 人 1 日の買取点数の上限(2026-10-01 店舗の依頼。店舗設定 buy_item_limit) ---------- */
.htbt-limit-callout { display: flex; gap: 10px; align-items: flex-start; background: #FFF6E5; border: 2px solid #F5A524; border-radius: 12px; padding: 12px 14px; margin: 14px 0 18px; font-weight: 700; color: #5c3d00; line-height: 1.45; }
.htbt-limit-callout .ic { font-size: 18px; line-height: 1.2; flex: none; }
.htbt-agree--limit { border-color: #F5A524 !important; background: #FFF9EE; }
.htbt-visit-limit { margin: 10px 0 0; font-weight: 700; color: #5c3d00; background: #FFF6E5; border-radius: 10px; padding: 8px 12px; }
.htbt-visit .htbt-visit-limit { color: #5c3d00; } /* 来店案内のカード全体の白い文字に上書きされて読めなかった(2026-10-02) */
.htbt-flow-limit { display: inline-block; margin-top: 6px; font-weight: 700; color: #b45309; }

/* 待ち時間のバッジ(2026-10-02。Home/htbt/_queue_badge.php)。状態を太字、目安と「◯分前更新」は細字で区切り線の右 */
.htbt-queue { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; padding: 8px 15px 8px 13px; border-radius: 999px; font-size: 14px; line-height: 1.3; background: #eaf7ee; color: #17562a; border: 1px solid #c6e9d0; margin: 18px 0 18px; }
.htbt-queue-dot { flex: 0 0 auto; width: 10px; height: 10px; border-radius: 50%; background: #2f9e44; animation: htbt-queue-pulse 2s infinite; }
.htbt-queue-main { font-weight: 800; }
.htbt-queue-sub { font-size: 12.5px; font-weight: 500; opacity: .78; padding-left: 10px; border-left: 1px solid currentColor; border-left-color: rgba(0, 0, 0, .15); }
.htbt-queue--busy { background: #fff6dc; color: #644800; border-color: #f3dd9c; }
.htbt-queue--busy .htbt-queue-dot { background: #e0a100; animation: none; }
.htbt-queue--crowded { background: #fff0e6; color: #803608; border-color: #f7cdb0; }
.htbt-queue--crowded .htbt-queue-dot { background: #e8590c; animation: none; }
.htbt-queue--closed { background: #f1f3f5; color: #495057; border-color: #e1e4ea; }
.htbt-queue--closed .htbt-queue-dot { background: #adb5bd; animation: none; }
@keyframes htbt-queue-pulse { 0% { box-shadow: 0 0 0 0 rgba(47, 158, 68, .5); } 70% { box-shadow: 0 0 0 7px rgba(47, 158, 68, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 158, 68, 0); } }
.htbt-hero--split .htbt-queue--hero { order: 4; align-self: flex-start; margin-top: 22px; }
@media (max-width: 640px) { .htbt-queue { font-size: 13.5px; padding: 7px 13px 7px 11px; } .htbt-queue-sub { font-size: 12px; } .htbt-hero--split .htbt-queue--hero { margin: 16px 0 14px; } }

/* 買取表の固定ボタン(2026-10-02): 大きく押しやすく、待ち時間の一言を添える。スマホは画面幅いっぱい */
.htbt-fab-btn { pointer-events: auto; display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 10px 12px 10px 22px; border-radius: 18px; background: var(--htbt-blue, #2457e6); color: #fff; text-decoration: none; box-shadow: 0 12px 30px rgba(36, 87, 230, .38), 0 2px 6px rgba(16, 20, 24, .12); max-width: 100%; transition: transform .12s ease, box-shadow .12s ease; }
.htbt-fab-btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 16px 34px rgba(36, 87, 230, .44), 0 2px 6px rgba(16, 20, 24, .12); }
.htbt-fab-btn:active { transform: translateY(1px) scale(.99); }
.htbt-fab-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.htbt-fab-main { font-family: var(--htbt-font-display); font-weight: 800; font-size: 17px; letter-spacing: .01em; line-height: 1.2; }
.htbt-fab-sub { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; line-height: 1.2; color: rgba(255, 255, 255, .9); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.htbt-fab-sub i { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: #69db7c; box-shadow: 0 0 0 0 rgba(105, 219, 124, .6); animation: htbt-fab-pulse 2s infinite; }
.htbt-fab-sub--busy i { background: #ffd43b; animation: none; }
.htbt-fab-sub--crowded i { background: #ffa94d; animation: none; }
.htbt-fab-sub--closed i, .htbt-fab-sub--none i { background: rgba(255, 255, 255, .7); animation: none; }
.htbt-fab-arrow { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .18); }
.htbt-fab-arrow svg { width: 20px; height: 20px; }
@keyframes htbt-fab-pulse { 0% { box-shadow: 0 0 0 0 rgba(105, 219, 124, .6); } 70% { box-shadow: 0 0 0 6px rgba(105, 219, 124, 0); } 100% { box-shadow: 0 0 0 0 rgba(105, 219, 124, 0); } }
@media (max-width: 640px) {
  .htbt-fab { padding: 0 12px; }
  .htbt-fab-btn { width: 100%; justify-content: space-between; min-height: 62px; border-radius: 16px; }
  .htbt-fab-main { font-size: 17px; }
}

/* 申込バーコード(2026-10-02。Home/htbt/_app_barcode.php): ボタン → 全画面のモーダル。白地にバーコード+申込番号だけ */
.htbt-ab-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 10px 16px; border: 0; border-radius: 12px; background: #fff; color: var(--htbt-ink, #101418); font-weight: 800; font-size: 15px; cursor: pointer; box-shadow: 0 2px 8px rgba(16, 20, 24, .12); }
.htbt-ab-btn svg { width: 20px; height: 20px; }
.htbt-ab-modal { position: fixed; inset: 0; z-index: 2000; background: rgba(16, 20, 24, .72); display: flex; align-items: center; justify-content: center; padding: 16px; }
.htbt-ab-modal[hidden] { display: none; }
.htbt-ab-sheet { position: relative; width: 100%; max-width: 420px; background: #fff; border-radius: 20px; padding: 22px 20px 14px; text-align: center; color: var(--htbt-ink, #101418); }
.htbt-ab-x { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #eef0f4; color: var(--htbt-ink, #101418); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.htbt-ab-x svg { width: 22px; height: 22px; }
.htbt-ab-tip { margin: 10px 0 0; font-size: 12px; color: var(--htbt-muted, #5b6372); }
.htbt-ab-modal { cursor: pointer; } .htbt-ab-sheet { cursor: default; }
.htbt-ab-title { margin: 0 44px 14px; font-weight: 800; font-size: 17px; line-height: 44px; margin-top: -8px; }
.htbt-ab-code { background: #fff; padding: 14px 18px; border-radius: 10px; border: 1px solid #e1e4ea; }
.htbt-ab-code svg { display: block; width: 100%; height: 110px; }
.htbt-ab-no { margin: 14px 0 16px; }
.htbt-ab-no small { display: block; font-size: 12px; color: var(--htbt-muted, #5b6372); }
.htbt-ab-no strong { font-family: var(--htbt-font-display); font-size: 40px; font-weight: 800; letter-spacing: .08em; line-height: 1.1; }
.htbt-ab-close { width: 100%; padding: 13px; border: 0; border-radius: 12px; background: var(--htbt-ink, #101418); color: #fff; font-weight: 800; font-size: 15px; cursor: pointer; }
html.htbt-ab-lock, html.htbt-ab-lock body { overflow: hidden; }
.htbt-thanks-no .htbt-ab-btn { background: var(--htbt-ink, #101418); color: #fff; }
