@charset "UTF-8";
.history-wrap {
  padding-top: 70px;
  padding-bottom: 110px;
}
@media screen and (max-width: 900px) {
  .history-wrap {
    padding-top: 18vw;
    padding-bottom: 14.5vw;
  }
}

.history-pc {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  min-height: 580px;
  overflow: hidden;
  --history-ex-svg-h: clamp(32px, 3.4vw, 50px);
}
.history-pc::before, .history-pc::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 56px;
  z-index: 6;
  pointer-events: none;
}
.history-pc::before {
  left: 0;
  background: linear-gradient(to right, #fff 22%, rgba(255, 255, 255, 0));
}
.history-pc::after {
  right: 0;
  background: linear-gradient(to left, #fff 22%, rgba(255, 255, 255, 0));
}
@media screen and (max-width: 900px) {
  .history-pc {
    --history-ex-svg-h: clamp(24px, 6.2vw, 40px);
    max-width: 100%;
    min-height: 0;
  }
  .history-pc::before, .history-pc::after {
    width: auto;
    left: 0;
    right: 0;
    height: 22px;
    z-index: 2;
  }
  .history-pc::before {
    display: none;
    top: 0;
    bottom: auto;
    background: linear-gradient(to bottom, #fff 18%, rgba(255, 255, 255, 0));
  }
  .history-pc::after {
    display: none;
    top: auto;
    bottom: 0;
    background: linear-gradient(to top, #fff 18%, rgba(255, 255, 255, 0));
  }
}

.history-sp-left-bar {
  display: none;
}
@media screen and (max-width: 900px) {
  .history-sp-left-bar {
    display: flex;
    position: absolute;
    left: 0.5vw;
    top: var(--history-sp-bar-top, 19vw);
    bottom: auto;
    height: var(--history-sp-bar-height, 280px);
    width: 40px;
    z-index: 8;
    flex-direction: column;
    align-items: stretch;
    pointer-events: none;
  }
}

@media screen and (max-width: 900px) {
  .history-sp-scrollbar {
    flex: 1;
    min-height: 60px;
    display: flex;
    justify-content: center;
    padding: 10px 0;
  }
}

@media screen and (max-width: 900px) {
  .history-sp-scrollbar-track {
    position: relative;
    width: 4px;
    height: 100%;
    min-height: 72px;
    background: #e0e0e0;
    border-radius: 3px;
  }
}

@media screen and (max-width: 900px) {
  .history-sp-scrollbar-thumb {
    position: absolute;
    left: 0;
    width: 100%;
    min-height: 20px;
    background: #E03636;
    border-radius: 3px;
    transition: top 0.1s ease-out;
  }
}

.history-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
  scroll-behavior: auto;
  scrollbar-color: #E03636 #e0e0e0;
  scrollbar-width: thin;
}
@media screen and (max-width: 900px) {
  .history-scroll {
    max-width: calc(100% - 68px);
    margin-left: auto;
    margin-right: 0;
    scrollbar-gutter: auto;
  }
}
.history-scroll::-webkit-scrollbar {
  height: 10px;
}
.history-scroll::-webkit-scrollbar-track {
  background: #e0e0e0;
  border-radius: 5px;
}
.history-scroll::-webkit-scrollbar-thumb {
  background: #E03636;
  border-radius: 5px;
}
.history-scroll::-webkit-scrollbar-thumb:hover {
  background: #ce2020;
}

.history-bg {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  max-width: 1200px;
  transform: translateX(-50%);
  bottom: 100px;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
@media screen and (max-width: 900px) {
  .history-bg {
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    transform: none;
    bottom: 0px;
  }
}

.history-bg-inner {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  min-width: 8000%;
  background-image: url("../images/history/haikei.png");
  background-repeat: repeat-x;
  background-size: auto 185px;
  background-position: 0 bottom;
  will-change: transform;
}
@media screen and (max-width: 900px) {
  .history-bg-inner {
    background-size: auto 30vw;
  }
}

.history-track {
  display: flex;
  width: 800vw;
  height: 1px;
  min-height: 580px;
  pointer-events: none;
}
@media screen and (max-width: 900px) {
  .history-track {
    min-height: 152vw;
  }
}

.history-zone {
  flex: 0 0 100vw;
  width: 100vw;
}

.history-content {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  max-width: 1200px;
  height: 100%;
  min-height: 580px;
  pointer-events: none;
  z-index: 1;
  display: block;
  padding: 56px 8% 112px;
  box-sizing: border-box;
  transform: translateX(-50%);
}
@media screen and (max-width: 900px) {
  .history-content {
    left: auto;
    right: 0;
    width: calc(100% - 68px);
    max-width: none;
    transform: none;
    min-height: 152vw;
    padding: 10vw 5% 30vw 56px;
  }
}

.history-content .history-left .history-since,
.history-content .history-left .history-year,
.history-content .history-left .history-date,
.history-content .history-left .history-label,
.history-content .history-center .history-center-ttl,
.history-content .history-center .history-future-ttl-row,
.history-content .history-center .history-future-logo,
.history-content .history-center .history-future-ex-svg,
.history-content .history-center .history-center-img,
.history-content .history-right .history-right-box {
  opacity: 1;
  transition: opacity 0.22s ease-out;
}

.history-content.is-section-fading .history-left .history-since,
.history-content.is-section-fading .history-left .history-year,
.history-content.is-section-fading .history-left .history-date,
.history-content.is-section-fading .history-left .history-label,
.history-content.is-section-fading .history-center .history-center-ttl,
.history-content.is-section-fading .history-center .history-future-ttl-row,
.history-content.is-section-fading .history-center .history-future-logo,
.history-content.is-section-fading .history-center .history-future-ex-svg,
.history-content.is-section-fading .history-center .history-center-img,
.history-content.is-section-fading .history-right .history-right-box {
  opacity: 0.5;
}

/* 車はセクションフェード対象外（年レンジ切替時の専用フェードのみ） */
.history-content.is-section-fading .history-left .history-car,
.history-content.is-section-fading .history-left-sp-car,
.history-content.is-section-fading .history-left .history-car img:not(.is-fading),
.history-content.is-section-fading .history-left-sp-car .history-car img:not(.is-fading) {
  opacity: 1;
}

.history-content-pc {
  display: block;
  --history-shop-offset-ratio: 0;
  --history-shop-opacity: 0;
}

.history-content-sp {
  display: none;
}

.history-sp-floating-title {
  display: none;
}

.history-sp-floating-title .history-future-logo-sp {
  display: none;
}

@media screen and (max-width: 900px) {
  .history-content-pc {
    display: none;
  }
  .history-content-sp {
    display: block;
  }
}
.history-left {
  position: absolute;
  left: 8%;
  bottom: 100px;
  width: 24%;
  max-width: 300px;
  display: flex;
  padding-top: 150px;
  flex-direction: column;
  min-height: 0;
  z-index: 2;
}
@media screen and (max-width: 900px) {
  .history-left {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    max-width: none;
    min-height: 0;
    margin-bottom: 0;
    padding-top: 0;
    align-items: center;
    text-align: center;
  }
}
.history-left .history-since {
  font-size: 40px;
  color: #333;
  line-height: 1;
  margin-bottom: 10px;
}
.history-left .history-year {
  font-size: 86px;
  color: #E03636;
  letter-spacing: 0.02em;
  line-height: 0.95;
  margin-bottom: 12px;
  white-space: nowrap;
}
.history-left .history-date {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 0;
}
.history-left .history-label {
  font-size: 13px;
  color: #333;
  margin-bottom: 24px;
}
.history-left .history-car {
  margin-top: 58px;
  padding-bottom: 0;
}
.history-left .history-car img {
  display: block;
  max-width: 210px;
  height: auto;
}
@media screen and (max-width: 900px) {
  .history-left .history-car {
    margin-top: 8vw;
  }
  .history-left .history-car img {
    max-width: 40vw;
  }
}
@media screen and (max-width: 900px) {
  .history-left .history-since {
    font-size: 5.5vw;
    margin-bottom: 2vw;
  }
  .history-left .history-year {
    font-size: 16vw;
    margin-bottom: 1.8vw;
  }
  .history-left .history-date {
    font-size: 4.1vw;
  }
  .history-left .history-label {
    font-size: 3.2vw;
  }
}

@media screen and (min-width: 901px) {
  .history-content-pc.is-long-title .history-left {
    padding-top: 210px;
  }
}
.history-future-row {
  display: none;
}

@media screen and (max-width: 900px) {
  .history-content-sp .history-left {
    margin-top: 2vw;
  }
  .history-content-sp .history-left-sp-car {
    margin-top: 4vw;
  }
}
.history-center {
  width: 100%;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  top: -56px;
  gap: 5%;
  padding: 0 2% 0 0%;
}
@media screen and (max-width: 900px) {
  .history-center {
    width: 100%;
    display: block;
    padding: 0;
    margin-bottom: 6vw;
  }
}
.history-center .history-center-ttl {
  position: absolute;
  left: 0%;
  top: 4px;
  width: 58%;
  font-size: 22px;
  font-weight: 700;
  color: #E03636;
  margin: 0;
  text-align: left;
  line-height: 1.3;
  letter-spacing: 0.01em;
}
@media screen and (max-width: 1024px) {
  .history-center .history-center-ttl {
    font-size: 20px;
  }
}
@media screen and (min-width: 901px) {
  .history-center .history-center-ttl {
    min-height: 194.4px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
    line-clamp: 6;
    overflow: hidden;
  }
}
.history-center .history-center-img {
  position: relative;
  width: 37%;
  height: clamp(180px, 22vw, 280px);
  transition: opacity 0.25s ease;
  border-radius: 24px;
  overflow: hidden;
  margin-left: auto;
}
.history-center .history-center-img img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
.history-center .history-center-img .history-img-caption {
  display: block;
  position: absolute;
  right: 12px;
  top: 10px;
  font-size: 12px;
  color: #444;
  margin-top: 0;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}
@media screen and (max-width: 900px) {
  .history-center .history-center-ttl {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    font-size: 5vw;
    margin: 0;
    text-align: center;
  }
  .history-center .history-center-img {
    width: 78%;
    max-width: 300px;
    height: 52vw;
    max-height: 260px;
    min-height: 170px;
    margin-top: 62vw;
    margin-left: auto;
    border-radius: 18px;
  }
  .history-center .history-center-img .history-img-caption {
    position: absolute;
    right: 8px;
    top: 8px;
    text-align: right;
    margin-top: 0;
    font-size: 2.2vw;
  }
}
.history-center.is-no-image {
  align-items: center;
  padding-left: 0;
}
.history-center.is-no-image .history-center-ttl {
  position: static;
  width: 100%;
  margin: 0;
  text-align: left;
  font-size: 22px;
  line-height: 1.3;
}
@media screen and (max-width: 1024px) {
  .history-center.is-no-image .history-center-ttl {
    font-size: 20px;
  }
}
@media screen and (min-width: 901px) {
  .history-center.is-no-image .history-center-ttl {
    min-height: 216px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
    line-clamp: 6;
    overflow: hidden;
  }
}
@media screen and (max-width: 900px) {
  .history-center.is-no-image .history-center-ttl {
    font-size: 5vw;
    line-height: 1.5;
    margin-bottom: 6vw;
  }
}

.history-center .history-future-logo {
  display: none;
}

/* 未来ゾーン用サブロゴ（ex-logo01 / ex-logo02）。同じ高さで表示 */
.history-future-ex-svg {
  display: none;
  flex-shrink: 0;
  align-items: center;
}
.history-future-ex-svg img {
  display: block;
  height: var(--history-ex-svg-h, 40px);
  max-height: 26px;
  width: auto;
  max-width: min(28vw, 200px);
  -o-object-fit: contain;
     object-fit: contain;
}
@media screen and (max-width: 900px) {
  .history-future-ex-svg img {
    max-height: 3.5vw;
  }
}

.history-content-pc.is-future .history-center .history-future-ex-svg,
.history-pc.is-future .history-sp-floating-title .history-future-ex-svg {
  display: flex;
}

@media screen and (max-width: 900px) {
  .history-pc {
    --history-sp-bar-top: 38vw;
    --history-sp-year-step: 48px;
    --history-sp-bar-height: calc(var(--history-sp-year-step) * 5 + 40px);
    /* フローティングタイトルは .history-content-sp の外にあるため、ここで定義して継承させる */
    --history-sp-title-font-size: 3.3vw;
    --history-sp-title-line-height: 1.35;
    --history-sp-title-lines: 7;
    --history-sp-title-height: calc(var(--history-sp-title-font-size) * var(--history-sp-title-line-height) * var(--history-sp-title-lines));
  }
  .history-pc.is-future {
    /* 未来ゾーンは見出しが短いので位置計算用の仮想行数を抑える */
    --history-sp-title-lines: 3;
    --history-sp-title-height: calc(var(--history-sp-title-font-size) * var(--history-sp-title-line-height) * var(--history-sp-title-lines));
  }
  .history-content-sp {
    z-index: 4;
    --history-shop-offset-ratio: 0;
    --history-shop-opacity: 0;
  }
  .history-content-sp .history-center {
    margin-bottom: 0;
    position: static;
    z-index: 5;
  }
  .history-sp-floating-title {
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: calc(var(--history-sp-bar-top, 19vw) - var(--history-sp-title-height) - 1.2vw);
    width: min(97%, 100% - clamp(10px, 4.5vw, 26px));
    max-width: 100%;
    padding-inline: clamp(8px, 2.6vw, 16px);
    box-sizing: border-box;
    z-index: 9;
    pointer-events: none;
    line-height: 1.3;
  }
  .history-sp-floating-title .history-center-ttl {
    margin: 0;
    font-size: var(--history-sp-title-font-size);
    line-height: var(--history-sp-title-line-height);
    min-height: var(--history-sp-title-height);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 7;
    line-clamp: 7;
    color: #E03636;
    text-align: left;
    overflow: hidden;
  }
  /* 未来ゾーン: PCと同様 2×2（左列は可変・右列はロゴ幅）。狭い幅では max-content 列がはみ出すため 1fr | auto */
  .history-pc.is-future .history-sp-floating-title {
    display: grid;
    /* 最終ゾーンだけフローティングブロックを少し上へ */
    top: calc(var(--history-sp-bar-top, 19vw) - var(--history-sp-title-height) - 1.2vw - clamp(14px, 4.5vw, 40px));
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    -moz-column-gap: 2.4vw;
         column-gap: 2.4vw;
    row-gap: 2vw;
    align-items: center;
    justify-items: start;
    min-width: 0;
  }
  .history-pc.is-future .history-sp-floating-title .history-future-ttl-row,
.history-pc.is-future .history-sp-floating-title .history-future-logo-sp {
    display: contents;
  }
  .history-pc.is-future .history-sp-floating-title .history-center-ttl {
    min-height: 0;
    display: block;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    overflow: visible;
    max-width: 100%;
    min-width: 0;
    text-align: right;
    justify-self: end;
    grid-row: 2;
    grid-column: 1;
  }
  .history-pc.is-future .history-sp-floating-title .history-future-ttl-row .history-future-ex-svg {
    justify-self: start;
    align-self: center;
    grid-row: 1;
    grid-column: 2;
  }
  .history-pc.is-future .history-sp-floating-title .history-future-logo-sp .history-future-ex-svg {
    justify-self: start;
    align-self: center;
    grid-row: 2;
    grid-column: 2;
  }
  .history-pc.is-future .history-sp-floating-title .history-future-logo-sp > img:first-of-type {
    display: block;
    width: auto;
    max-width: min(48vw, 200px);
    max-height: clamp(26px, 7.5vw, 44px);
    height: auto;
    -o-object-fit: contain;
       object-fit: contain;
    justify-self: end;
    grid-row: 1;
    grid-column: 1;
  }
  .history-content-sp .history-left:not(.history-left-sp-car) {
    position: absolute;
    left: 0vw;
    right: auto;
    margin-left: 0;
    margin-right: 0;
    top: var(--history-sp-bar-top, 19vw);
    width: 86%;
    margin-top: 0;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    justify-content: space-between;
    z-index: 5;
  }
  .history-content-sp .history-left:not(.history-left-sp-car) .history-since {
    margin: 0;
    line-height: 1;
  }
  .history-content-sp .history-left:not(.history-left-sp-car) .history-year-box {
    margin-left: 0vw;
    text-align: right;
  }
  .history-content-sp .history-left:not(.history-left-sp-car) .history-year {
    margin-bottom: 1.2vw;
  }
  .history-content-sp .history-left:not(.history-left-sp-car) .history-date,
.history-content-sp .history-left:not(.history-left-sp-car) .history-label {
    margin-bottom: 0;
  }
  .history-content-sp .history-center-sp-image {
    position: absolute;
    right: 5vw;
    top: 62vw;
    width: 78%;
    margin-top: 0;
  }
  .history-content-sp .history-center-sp-image .history-center-img {
    width: 100%;
    max-width: none;
    margin-top: 0;
  }
  .history-content-sp .history-left-sp-car {
    position: absolute;
    left: 0;
    top: auto;
    bottom: 0vw;
    width: auto;
    margin-top: 0;
    align-items: flex-start;
    text-align: left;
    padding-bottom: 0;
    z-index: 5;
  }
  .history-content-sp .history-left-sp-car .history-car {
    margin-top: 0;
  }
  .history-content-sp .history-left-sp-car .history-car img {
    max-width: 36vw;
  }
  .history-content-sp .history-future-shop-sp {
    display: none;
  }
  .history-content-sp.is-shop-approaching .history-future-shop-sp {
    position: absolute;
    left: 31vw;
    bottom: 0;
    display: block;
    z-index: 5;
    pointer-events: none;
    opacity: var(--history-shop-opacity);
    transform: translateX(calc(var(--history-shop-offset-ratio) * 54vw));
    transition: transform 0.08s linear;
    will-change: transform;
  }
  .history-content-sp.is-shop-approaching .history-future-shop-sp img {
    display: block;
    width: 52vw;
    max-width: none;
    height: auto;
  }
  .history-content-sp .history-future-shop-sp .history-shop-count {
    display: none;
  }
  .history-content-sp.has-shop-count .history-future-shop-sp .history-shop-count {
    position: absolute;
    left: 7vw;
    top: -4.8vw;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 10vw;
    height: 7vw;
    padding: 0 2vw;
    border-radius: 999px;
    background: rgba(224, 54, 54, 0.92);
    color: #fff;
    font-size: 4.2vw;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.02em;
  }
  .history-content-sp.has-shop-count .history-future-shop-sp .history-shop-count::after {
    content: "店舗目";
    font-size: 2.6vw;
    font-weight: 600;
    margin-left: 1vw;
  }
}
.history-right {
  width: 28%;
  flex-shrink: 0;
  display: none;
}
@media screen and (max-width: 900px) {
  .history-right {
    width: 100%;
  }
}
.history-right .history-right-box {
  background: #E03636;
  color: #fff;
  padding: 24px;
  border-radius: 8px;
}
.history-right .history-right-box .history-right-text {
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}
@media screen and (max-width: 900px) {
  .history-right .history-right-box {
    padding: 4vw;
  }
  .history-right .history-right-box .history-right-text {
    font-size: 3.2vw;
  }
}

@media screen and (min-width: 901px) {
  .history-content-pc.is-future .history-center.is-no-image {
    display: grid;
    grid-template-columns: minmax(0, -webkit-max-content) auto;
    grid-template-columns: minmax(0, max-content) auto;
    grid-template-rows: auto auto;
    -moz-column-gap: clamp(14px, 2.2vw, 32px);
         column-gap: clamp(14px, 2.2vw, 32px);
    row-gap: 16px;
    align-items: center;
    justify-items: start;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: 0;
    --history-ex-svg-h: clamp(38px, 3.8vw, 58px);
  }
  .history-content-pc.is-future .history-center.is-no-image .history-future-ttl-row,
.history-content-pc.is-future .history-center.is-no-image .history-future-logo {
    display: contents;
  }
  .history-content-pc.is-future .history-center.is-no-image .history-future-ttl-row .history-center-ttl {
    position: static;
    left: auto;
    top: auto;
    width: auto;
    max-width: min(52vw, 520px);
    margin: 0;
    text-align: right;
    min-height: 0;
    display: block;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    overflow: visible;
    justify-self: end;
    grid-row: 2;
    grid-column: 1;
  }
  .history-content-pc.is-future .history-center.is-no-image .history-future-ttl-row .history-future-ex-svg {
    justify-self: start;
    align-self: center;
    grid-row: 1;
    grid-column: 2;
  }
  .history-content-pc.is-future .history-center.is-no-image .history-future-logo .history-future-ex-svg {
    justify-self: start;
    align-self: center;
    grid-row: 2;
    grid-column: 2;
  }
  .history-content-pc.is-future .history-center.is-no-image .history-future-logo > img:first-of-type {
    display: block;
    width: auto;
    max-width: min(40vw, 300px);
    max-height: clamp(40px, 5vw, 56px);
    height: auto;
    -o-object-fit: contain;
       object-fit: contain;
    justify-self: end;
    grid-row: 1;
    grid-column: 1;
  }
  .history-content-pc.is-shop-approaching .history-future-row {
    position: absolute;
    left: calc(8% + 210px);
    bottom: 98px;
    display: block;
    z-index: 4;
    opacity: var(--history-shop-opacity);
    transform: translateX(calc(var(--history-shop-offset-ratio) * 560px));
    pointer-events: none;
    will-change: transform, opacity;
    transition: transform 0.08s linear, opacity 0.12s linear;
  }
  .history-content-pc.is-shop-approaching .history-future-row img {
    display: block;
    width: min(35vw, 430px);
    height: auto;
  }
  .history-content-pc .history-future-row .history-shop-count {
    display: none;
  }
  .history-content-pc.has-shop-count .history-future-row .history-shop-count {
    position: absolute;
    left: 54px;
    top: -28px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 94px;
    height: 54px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(224, 54, 54, 0.92);
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.01em;
  }
  .history-content-pc.has-shop-count .history-future-row .history-shop-count::after {
    content: "店舗目";
    font-size: 16px;
    font-weight: 600;
    margin-left: 8px;
  }
}
.history-timeline {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  height: 68px;
  padding-top: 24px;
  z-index: 1;
  background: #fff;
  overflow: hidden;
}
@media screen and (max-width: 900px) {
  .history-timeline {
    position: absolute;
    left: 4vw;
    top: calc(var(--history-sp-bar-top, 19vw) + 10px);
    bottom: auto;
    height: calc(var(--history-sp-bar-height, 280px) - 20px);
    width: 52px;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
    z-index: 8;
    overflow: hidden;
  }
}

.history-timeline-line {
  position: absolute;
  left: 0;
  width: 100%;
  top: 30px;
  height: 2px;
  background: #fff;
  display: block;
  will-change: transform;
}
@media screen and (max-width: 900px) {
  .history-timeline-line {
    display: none;
  }
}

.history-timeline-years {
  position: relative;
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 0 8px;
  font-family: "Krona One", sans-serif;
  will-change: transform;
}
.history-timeline-years .history-year-dot {
  font-size: 14px;
  color: #ce7b7b;
  transition: color 0.2s;
  transform: rotate(24deg);
  opacity: 0.5;
}
.history-timeline-years .history-year-dot.active {
  color: #E03636;
  font-weight: 700;
  opacity: 1;
}
@media screen and (max-width: 900px) {
  .history-timeline-years {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 0;
    padding: 10px 0 24px;
    flex: none;
    min-height: 0;
    left: 6px;
  }
  .history-timeline-years .history-year-dot {
    font-size: 2.8vw;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(-60deg);
    white-space: nowrap;
    color: #ce7b7b;
    line-height: 1;
    margin-bottom: 2.2vw;
  }
}

.history-timeline-car {
  position: absolute;
  top: 12px;
  left: 0;
  width: 20px;
  height: 20px;
  margin-left: -10px;
  transition: transform 0.25s ease-out;
  border-radius: 50%;
  background: #E03636;
  box-shadow: 0 0 0 3px #fff;
  display: none;
}
@media screen and (max-width: 900px) {
  .history-timeline-car {
    top: auto;
    bottom: 0;
    left: 20%;
    margin-left: -10px;
    margin-top: -10px;
    transition: top 0.25s ease-out;
  }
}

.history-car img {
  opacity: 1;
  transition: transform 0.25s ease-out, opacity 0.3s ease-out;
}

.history-car img.is-fading {
  opacity: 0;
}

.history-pc.is-scroll-end .history-car img {
  transform: translateX(10px);
}
@media screen and (max-width: 900px) {
  .history-pc.is-scroll-end .history-car img {
    transform: translateX(2.2vw);
  }
}
/*# sourceMappingURL=history.css.map */