@charset "UTF-8";

:root {
  --tm-navy: #082847;
  --tm-dark-navy: #041b31;
  --tm-gold: #c99a32;
  --tm-gold-hover: #b58624;
  --tm-white: #ffffff;
  --tm-light: #f5f7f9;
  --tm-border: #dde3e8;
  --tm-text: #18222c;
  --tm-sub-text: #5d6975;
  --tm-focus: #1f6feb;
}

body.page .sidebar,
body.page .date-tags,
body.page .sns-share,
body.page .sns-follow,
body.page .entry-title,
body.page .eye-catch,
body.page .post-date,
body.page .post-update,
body.page .author-info,
body.page .pager-post-navi {
  display: none;
}

body.page .main,
body.page .content,
body.page .article {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.tm-stock {
  overflow-x: clip;
  background: var(--tm-white);
  color: var(--tm-text);
  font-family: inherit;
  line-height: 1.7;
}

.tm-stock *,
.tm-stock *::before,
.tm-stock *::after {
  box-sizing: border-box;
}

.tm-stock a {
  color: inherit;
}

.tm-stock a:focus-visible,
.tm-stock button:focus-visible,
.tm-stock input:focus-visible,
.tm-stock select:focus-visible {
  outline: 3px solid var(--tm-focus);
  outline-offset: 3px;
}

.tm-stock-container {
  width: min(100% - 24px, 1200px);
  margin-inline: auto;
}

.tm-stock-eyebrow {
  margin: 0 0 10px;
  color: var(--tm-gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: uppercase;
}

.tm-stock-hero {
  background:
    linear-gradient(135deg, rgba(4, 27, 49, 0.98), rgba(8, 40, 71, 0.92)),
    var(--tm-dark-navy);
  color: var(--tm-white);
}

.tm-stock-hero .tm-stock-container {
  padding: 54px 0 48px;
}

.tm-stock-hero h1 {
  margin: 0;
  color: var(--tm-white);
  font-size: clamp(2rem, 8vw, 3.25rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0;
}

.tm-stock-hero p:last-child {
  max-width: 720px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
}

.tm-stock-section {
  padding: 42px 0;
}

.tm-stock-search {
  background: var(--tm-light);
}

.tm-stock-search__panel {
  padding: 22px;
  border: 1px solid var(--tm-border);
  border-top: 4px solid var(--tm-gold);
  border-radius: 8px;
  background: var(--tm-white);
  box-shadow: 0 14px 34px rgba(8, 40, 71, 0.08);
}

.tm-stock-section__head {
  max-width: 760px;
  margin-bottom: 20px;
}

.tm-stock-section__head h2,
.tm-stock-results__head h2,
.tm-stock-consult h2 {
  margin: 0;
  color: var(--tm-navy);
  font-size: clamp(1.55rem, 6vw, 2.35rem);
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: 0;
}

.tm-stock-section__head p:last-child {
  margin: 10px 0 0;
  color: var(--tm-sub-text);
}

.tm-stock-filter {
  display: grid;
  gap: 16px;
}

.tm-stock-filter-panel {
  display: block;
}

.tm-stock-filter-panel__summary {
  display: none;
}

.tm-stock-filter-panel__body {
  display: grid;
  gap: 22px;
}

.tm-stock-filter__field {
  display: grid;
  gap: 7px;
}

.tm-stock-filter label {
  color: var(--tm-navy);
  font-size: 0.92rem;
  font-weight: 800;
}

.tm-stock-filter input,
.tm-stock-filter select {
  width: 100%;
  min-height: 46px;
  padding: 9px 12px;
  border: 1px solid #c8d1da;
  border-radius: 6px;
  background: var(--tm-white);
  color: var(--tm-text);
  font: inherit;
}

.tm-stock-filter select:disabled {
  background: #eef1f4;
  color: var(--tm-sub-text);
}

.tm-stock-filter__note {
  color: var(--tm-sub-text);
  font-size: 0.78rem;
  line-height: 1.45;
}

.tm-stock-filter__actions,
.tm-stock-consult__actions {
  display: grid;
  gap: 10px;
}

.tm-stock-button,
.tm-stock-mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 16px;
  border: 2px solid transparent;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.tm-stock-button:hover,
.tm-stock-mini-button:hover {
  transform: translateY(-1px);
}

.tm-stock-button--primary,
.tm-stock-mini-button {
  background: var(--tm-gold);
  color: var(--tm-dark-navy);
}

.tm-stock-button--primary:hover,
.tm-stock-mini-button:hover {
  border-color: var(--tm-gold-hover);
  background: var(--tm-gold-hover);
  color: var(--tm-dark-navy);
}

.tm-stock-button--outline {
  border-color: var(--tm-navy);
  background: var(--tm-white);
  color: var(--tm-navy);
}

.tm-stock-button--outline:hover {
  border-color: var(--tm-gold);
  background: rgba(201, 154, 50, 0.12);
  color: var(--tm-navy);
}

.tm-stock-button--secondary {
  border-color: rgba(255, 255, 255, 0.7);
  background: var(--tm-white);
  color: var(--tm-navy);
}

.tm-stock-button--secondary:hover {
  border-color: var(--tm-gold);
  background: var(--tm-gold);
  color: var(--tm-dark-navy);
}

.tm-stock-results {
  background: var(--tm-white);
}

.tm-stock-results__head {
  display: grid;
  gap: 16px;
  margin-bottom: 22px;
}

.tm-stock-results__note {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 34px;
  margin: 0;
  padding: 6px 12px;
  border: 1px solid rgba(201, 154, 50, 0.34);
  border-radius: 999px;
  background: rgba(201, 154, 50, 0.1);
  color: var(--tm-navy);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.3;
}

.tm-stock-results__summary {
  max-width: 920px;
  margin: -10px 0 22px;
  color: var(--tm-sub-text);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.6;
}

.tm-stock-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.tm-stock-card {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--tm-border);
  border-radius: 8px;
  background: var(--tm-white);
  box-shadow: 0 12px 28px rgba(8, 40, 71, 0.08);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.tm-stock-card:hover {
  border-color: rgba(201, 154, 50, 0.48);
  box-shadow: 0 18px 36px rgba(8, 40, 71, 0.13);
  transform: translateY(-3px);
}

.tm-stock-card__media {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: var(--tm-light);
}

.tm-stock-card__media a {
  display: block;
}

.tm-stock-card__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center center;
}

.tm-stock-card__media--hino-dutro img,
.tm-stock-card__media--mitsubishi-fuso-canter img {
  object-position: center 52%;
}

.tm-stock-card__media--mitsubishi-fuso-canter-double-cab img {
  object-position: center 54%;
}

.tm-stock-card__media--mazda-titan img {
  object-position: center 50%;
}

.tm-stock-card__image-empty {
  display: grid;
  width: 100%;
  aspect-ratio: 4 / 3;
  place-items: center;
  color: var(--tm-sub-text);
  font-weight: 800;
  text-decoration: none;
}

.tm-stock-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(4, 27, 49, 0.88);
  color: var(--tm-white);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.3;
}

.tm-stock-card--sold {
  border-color: rgba(130, 74, 34, 0.34);
}

.tm-stock-card--sold .tm-stock-card__badge {
  background: rgba(112, 64, 28, 0.94);
}

.tm-stock-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 18px;
}

.tm-stock-card__maker {
  align-self: flex-start;
  min-height: 28px;
  margin: 0 0 10px;
  padding: 4px 10px;
  border: 1px solid rgba(201, 154, 50, 0.22);
  border-radius: 999px;
  background: rgba(201, 154, 50, 0.12);
  color: var(--tm-navy);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.3;
}

.tm-stock-card h3 {
  display: -webkit-box;
  overflow: hidden;
  min-height: 3.08em;
  margin: 0;
  color: var(--tm-navy);
  font-size: 1.14rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow-wrap: anywhere;
}

.tm-stock-card h3 a {
  color: inherit;
  text-decoration: none;
}

.tm-stock-card h3 a:hover,
.tm-stock-card h3 a:focus-visible {
  color: var(--tm-gold-hover);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.tm-stock-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 14px 0 0;
  border-top: 1px solid var(--tm-border);
  border-left: 1px solid var(--tm-border);
}

.tm-stock-specs div {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3px;
  min-width: 0;
  padding: 10px;
  border-right: 1px solid var(--tm-border);
  border-bottom: 1px solid var(--tm-border);
  background: #fbfcfd;
}

.tm-stock-specs dt {
  color: var(--tm-sub-text);
  font-size: 0.84rem;
  font-weight: 700;
}

.tm-stock-specs dd {
  min-width: 0;
  margin: 0;
  color: var(--tm-navy);
  font-size: 0.94rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.tm-stock-card__price {
  margin: 14px 0 0;
  padding: 12px 0 0;
  border-top: 2px solid rgba(201, 154, 50, 0.34);
  color: var(--tm-navy);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.45;
}

.tm-stock-card__price-sub {
  margin: 2px 0 0;
  color: var(--tm-text-muted);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.4;
}

.tm-stock-card__actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
}

.tm-stock-mini-button {
  border-color: var(--tm-navy);
  background: var(--tm-navy);
  color: var(--tm-white);
}

.tm-stock .tm-stock-mini-button,
.tm-stock .tm-stock-mini-button:visited {
  color: var(--tm-white);
}

.tm-stock .tm-stock-mini-button:hover,
.tm-stock .tm-stock-mini-button:focus-visible {
  border-color: var(--tm-gold-hover);
  background: var(--tm-gold-hover);
  color: var(--tm-dark-navy);
}

.tm-stock-text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  color: var(--tm-navy);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  text-decoration: underline;
  text-decoration-color: var(--tm-gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.tm-stock .tm-stock-text-link,
.tm-stock .tm-stock-text-link:visited {
  color: var(--tm-navy);
}

.tm-stock .tm-stock-text-link:hover,
.tm-stock .tm-stock-text-link:focus-visible {
  color: var(--tm-gold-hover);
}

.tm-stock-empty {
  max-width: 720px;
  padding: 26px;
  border: 1px solid var(--tm-border);
  border-top: 4px solid var(--tm-gold);
  border-radius: 8px;
  background: var(--tm-light);
}

.tm-stock-empty h3 {
  margin: 0;
  color: var(--tm-navy);
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.35;
}

.tm-stock-empty p {
  margin: 10px 0 18px;
  color: var(--tm-sub-text);
}

.tm-stock-empty .tm-stock-button,
.tm-stock-empty .tm-stock-text-link {
  width: 100%;
}

.tm-stock-empty__actions {
  display: grid;
  gap: 10px;
}

.tm-stock-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 28px;
}

.tm-stock-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid var(--tm-border);
  border-radius: 6px;
  background: var(--tm-white);
  color: var(--tm-navy);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.tm-stock-pagination .page-numbers.current {
  border-color: var(--tm-navy);
  background: var(--tm-navy);
  color: var(--tm-white);
}

.tm-stock-pagination a.page-numbers:hover,
.tm-stock-pagination a.page-numbers:focus-visible {
  border-color: var(--tm-gold);
  background: rgba(201, 154, 50, 0.12);
  color: var(--tm-navy);
}

.tm-stock-consult {
  background: var(--tm-dark-navy);
  color: var(--tm-white);
}

.tm-stock-consult__inner {
  display: grid;
  gap: 22px;
  padding: 42px 0;
}

.tm-stock-consult h2 {
  color: var(--tm-white);
}

.tm-stock-consult p:last-child {
  max-width: 720px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.84);
}

@media (min-width: 768px) {
  .tm-stock-hero .tm-stock-container {
    padding: 68px 0 58px;
  }

  .tm-stock-section {
    padding: 54px 0;
  }

  .tm-stock-search__panel {
    padding: 28px;
  }

  .tm-stock-filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
  }

  .tm-stock-filter__field--wide {
    grid-column: 1 / -1;
  }

  .tm-stock-filter__actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 220px));
  }

  .tm-stock-results__head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .tm-stock-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tm-stock-consult__inner {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    align-items: center;
    padding: 54px 0;
  }
}

@media (min-width: 1200px) {
  .tm-stock-filter {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .tm-stock-filter__field--wide {
    grid-column: span 2;
  }

  .tm-stock-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .tm-stock-section {
    padding: 34px 0;
  }

  .tm-stock-search {
    padding: 24px 0;
  }

  .tm-stock-search__panel {
    padding: 14px;
  }

  .tm-stock-filter-panel__summary {
    display: grid;
    min-height: 54px;
    gap: 3px;
    padding: 12px 44px 12px 14px;
    border: 1px solid var(--tm-border);
    border-radius: 6px;
    background: var(--tm-white);
    color: var(--tm-navy);
    cursor: pointer;
    list-style: none;
    position: relative;
  }

  .tm-stock-filter-panel__summary::-webkit-details-marker {
    display: none;
  }

  .tm-stock-filter-panel__summary::after {
    content: "+";
    position: absolute;
    right: 16px;
    top: 50%;
    color: var(--tm-gold);
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1;
    transform: translateY(-50%);
  }

  .tm-stock-filter-panel[open] .tm-stock-filter-panel__summary::after {
    content: "-";
  }

  .tm-stock-filter-panel__summary-main {
    font-size: 0.98rem;
    font-weight: 900;
    line-height: 1.35;
  }

  .tm-stock-filter-panel__summary-count,
  .tm-stock-filter-panel__summary-active {
    color: var(--tm-sub-text);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.35;
  }

  .tm-stock-filter-panel__summary-active {
    overflow-wrap: anywhere;
  }

  .tm-stock-filter-panel__body {
    padding-top: 18px;
  }

  .tm-stock-section__head p:last-child {
    margin-top: 8px;
  }

  .tm-stock-button,
  .tm-stock-mini-button,
  .tm-stock-text-link {
    width: 100%;
  }
}
