/* ------------------------
  variables
------------------------ */

/* :root {
} */

/* ------------------------
  utilities Classes
------------------------ */
.rj-font {
  font-family: RenaultFont;
}

.u-hidden {
  display: none !important;
  visibility: hidden;
}

@media (max-width: 767.98px) {
  .u-hidden-sm {
    display: none !important;
    visibility: hidden;
  }
}

.u-hidden-up-sm {
  display: none !important;
  visibility: hidden;
}

@media (max-width: 767.98px) {
  .u-hidden-down-sm {
    display: none !important;
    visibility: hidden;
  }
}

@media (min-width: 768px) and (max-width: 1279.98px) {
  .u-hidden-md {
    display: none !important;
    visibility: hidden;
  }
}

@media (min-width: 768px) {
  .u-hidden-up-md {
    display: none !important;
    visibility: hidden;
  }
}

@media (max-width: 1279.98px) {
  .u-hidden-down-md {
    display: none !important;
    visibility: hidden;
  }
}

@media (min-width: 1280px) {
  .u-hidden-lg {
    display: none !important;
    visibility: hidden;
  }
}

@media (min-width: 1280px) {
  .u-hidden-up-lg {
    display: none !important;
    visibility: hidden;
  }
}

.u-hidden-down-lg {
  display: none !important;
  visibility: hidden;
}

.u-visuallyhidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  border: 0;
  clip: rect(0 0 0 0);
}

.u-visuallyhidden.focusable:active,
.u-visuallyhidden.focusable:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
}

.u-invisible {
  visibility: hidden;
}

.clearfix::after {
  clear: both;
  display: block;
  content: "";
}

.u-text-center {
  text-align: center;
}

.u-bold {
  font-weight: bold;
}

/* --------------------------------
  common components
-------------------------------- */
body,
html {
  /* NOTE: stickyを使いたいので上書き */
  overflow-x: clip;
}

.l-container {
  position: relative;
  top: -44px;
  overflow: clip;

  @media (min-width: 768px) {
    top: -64px;
  }
}

/* ページメニュー */
.l-pagemenu {
  position: absolute;
  top: 0;
  height: auto;

  &.is-fixed {
    .l-pagemenu__fixed {
      position: fixed;
      top: 0;
    }
  }

  .l-pagemenu__ttl {
    @media (max-width: 767px) {
      top: 8px;
    }

    @media (min-width: 1280px) {
      padding-bottom: 2px;
    }
  }
}

/* セクション */
.t3e-section {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

/* ボタン */
.t3e-btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 44px;
  padding: 0.2em 0.5em;
  font-family: RenaultFont;
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 1.25;
  color: #fff;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid #fff;
  transition: background-color 0.3s ease-out, color 0.3s ease-out;

  &:hover {
    color: #000;
    background-color: #fff;
  }
}

/* スライダーの矢印 */
.t3e-slider-arrow__wrapper {
  display: flex;
  column-gap: 24px;
}

.t3e-slider-arrow {
  width: 32px;
  aspect-ratio: 1;
  background: url("/about/r5-turbo-3e/img/icon_arrow_curved.svg") no-repeat
    center / contain;
  transition: opacity 0.3s;

  &.swiper-button-disabled {
    opacity: 0.3;
  }

  &:not(.swiper-button-disabled) {
    cursor: pointer;
  }
}

.t3e-slider-arrow--prev {
  rotate: 180deg;
}

/* 注釈 */
.t3e-note {
  font-size: 1rem;
  color: #fff;
  text-align: left;
  opacity: 0.7;
}

/* 背景画像・動画の上に文字が乗ってるエリア */
.t3e-mood {
  position: relative;
  display: grid;
  place-items: center;

  &::before {
    position: absolute;
    inset: 0;
    content: "";
    background-color: rgb(0 0 0 / 50%);
  }
}

.t3e-mood__ttl {
  z-index: 1;
  box-sizing: border-box;
  grid-area: 1/1;
  padding-inline: 20px;
  font-size: 4.8rem;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.01rem;

  @media (min-width: 768px) {
    width: min(1060px, 100%);
    padding-inline: 40px;
    margin-inline: auto;
    font-size: 7.2rem;
  }
}

.t3e-mood__bg,
.t3e-mood__bg img {
  grid-area: 1/1;
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

/* 合間に挟まってくる文字 */
.t3e-mood-txt {
  padding-block: 72px;
  padding-inline: 20px;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.25;

  @media (min-width: 768px) {
    max-width: 1320px;
    margin-inline: auto;
    font-size: 2.8rem;
  }

  .rj-font {
    font-size: 1.2em;
  }
}

/* トップに戻る ボタン */
.t3e-link-top {
  padding: 16px 0;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  background-color: #000;

  .text-link {
    align-items: center;
    color: #fff;
    text-decoration: underline;
  }

  .text-link.arrow::after {
    top: 0;
    margin-left: 0.3em;
    font-size: 1.3em;
    background-position: -1em -3em;
    filter: brightness(200);
  }
}

/* --------------------------------
  top
-------------------------------- */

.t3e {
  :where(img) {
    max-width: 100%;
  }

  sup {
    margin-right: 0.1em;
    font-size: 0.6em;
  }

  /* メイン */
  .t3e-main {
    color: #fff;
    background-color: #000;
  }

  /* MV */
  .t3e-mv {
    position: relative;
    margin-top: 44px;

    @media (min-width: 1280px) {
      margin-top: 64px;
    }

    &.is-hidden {
      visibility: hidden;

      .t3e-mv__bg {
        opacity: 0;
      }

      .t3e-mv-ttl__wrapper {
        opacity: 0;
      }
    }
  }

  .t3e-mv__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-color: rgb(0 0 0 / 50%);
    animation: 0.6s ease-out forwards mmfadeOut;

    &.is-show {
      animation: 0.6s ease-out forwards mmfadeIn;
    }
  }

  .t3e-mv__bg {
    position: fixed;
    top: calc(44px + 60px);
    width: 100%;
    height: calc(100vh - 60px - 44px - 72px);
    object-fit: cover;

    @media (max-width: 767px) {
      object-position: bottom;
    }

    @media (min-width: 768px) {
      top: calc(44px + 88px);
      height: max(calc(100vh - 72px - 44px), 45.1388888889vw);
    }

    @media (min-width: 1280px) {
      top: 64px;
      height: max(calc(100vh - 64px), 45.1388888889vw);
    }
  }

  .t3e-mv__video {
    /* 再生終わったら非表示 */
    &.is-hidden {
      display: none;
    }
  }

  .t3e-mv-ttl__wrapper {
    position: relative;
    z-index: 1;
    height: calc(100vh - 60px - 44px - 72px);

    @media (min-width: 768px) {
      height: max(calc(100vh - 72px - 44px), 45.1388888889vw);
    }

    @media (min-width: 1280px) {
      height: max(calc(100vh - 64px), 45.1388888889vw);
    }
  }

  .t3e-mv-ttl {
    position: fixed;
    inset-inline: 0;
    top: 34%;
    display: grid;
    row-gap: 4px;
    font-weight: bold;
    line-height: 1;

    @media (min-width: 768px) {
      top: 42%;
    }
  }

  .t3e-mv-ttl__sub {
    font-size: 2rem;
    opacity: 0;
    animation: 1.7s cubic-bezier(0.645, 0.045, 0.355, 1) forwards
      manifest-animline;

    @media (min-width: 768px) {
      font-size: min(3.2rem, 2.2222222222vw);
    }
  }

  .t3e-mv-ttl__main {
    font-size: 5.3rem;
    opacity: 0;
    animation: 1.2s cubic-bezier(0.645, 0.045, 0.355, 1) 0.5s forwards
      manifest-animline;

    @media (min-width: 768px) {
      margin-top: -0.05em;
      font-size: min(16rem, 11.1111111111vw);
    }
  }

  .t3e-mv__scroll {
    position: fixed;
    inset-inline: 0;
    bottom: calc(15px + 72px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    row-gap: 6px;
    align-items: center;
    justify-content: flex-end;
    font-size: 1rem;
    font-weight: bold;
    line-height: 1;
    opacity: 0;
    animation: 0.4s ease-in-out forwards mmfadeIn;

    img {
      width: 16px;
      animation: 3s linear 0.6s infinite forwards manifestscroll-animarrow;
    }

    @media (max-width: 767px) {
      bottom: 0;
      height: 224px;
      padding-bottom: calc(15px + 72px);
      background: linear-gradient(transparent 0%, rgb(0 0 0 / 80%) 100%);
    }

    @media (min-width: 768px) {
      bottom: calc(35px + 72px);
      font-size: min(1.8rem, 1.25vw);
    }

    @media (min-width: 1280px) {
      bottom: 35px;
    }

    &.is-hidden {
      animation: 0.4s ease-in-out forwards mmfadeOut;
    }
  }

  .t3e-mv__btn {
    position: fixed;
    inset-inline: 0;
    bottom: 23%;
    max-width: 150px;
    margin-inline: auto;

    @media (min-width: 768px) {
      right: 40px;
      bottom: 32px;
      left: auto;
    }

    &.is-hidden {
      animation: 0.4s ease-in-out forwards mmfadeOut;
    }
  }

  .t3e-mv-content {
    position: relative;
    z-index: 1;
    padding: 330px 34px 120px;

    @media (min-width: 768px) {
      padding: 40vw 5vw 200px;
    }
  }

  .t3e-mv-content__inner {
    @media (min-width: 768px) {
      max-width: 1014px;
      margin-inline: auto;
    }
  }

  /* 動画に遷移するセクション */
  .t3e-video {
    position: relative;
    height: min(100vh, 188.888vw);
    text-align: center;

    @media (min-width: 768px) {
      height: 100vh;
    }
  }

  .t3e-video__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .t3e-video__ttl {
    position: absolute;
    inset-inline: 23px;
    top: min(33.8235294118%, 63.8888888889vw);
    font-size: 4rem;
    font-weight: bold;
    line-height: 0.95;
    text-wrap: balance;

    @media (min-width: 768px) {
      inset-block: 0;
      height: fit-content;
      margin-block: auto;
      font-size: 5.1rem;
    }

    span {
      display: inline-block;
    }
  }

  .t3e-video__btn {
    position: absolute;
    inset-inline: 0;
    bottom: 16.7647058824%;
    max-width: 150px;
    margin-inline: auto;

    @media (min-width: 768px) {
      right: 45px;
      bottom: 30px;
      left: auto;
    }
  }

  /* USPセクション */
  .t3e-usp__video {
    width: 100%;
    min-height: 70vh;

    @media (min-width: 768px) {
      min-height: 150vh;
    }

    video {
      position: sticky;
      top: 41%;
      width: 100%;
      height: auto;
      object-fit: cover;

      @media (min-width: 768px) {
        top: 0;
        height: 100vh;
      }
    }
  }

  .t3e-usp__ttl {
    position: relative;
    padding-bottom: calc(56.2666666667vw + 12px);
    font-size: 5.6rem;
    font-weight: 700;
    line-height: 0.95;
    text-align: center;

    @media (min-width: 768px) {
      padding: 10vh 20px 90vh;
      font-size: 9.6rem;
    }

    @media (min-width: 1280px) {
      font-size: 14.4rem;
    }
  }

  .t3e-usp-specs__wrapper {
    padding-inline: 20px;

    @media (max-width: 767px) {
      padding-top: 20px;
    }

    @media (min-width: 768px) {
      max-width: 872px;
      padding-top: 24px;
      margin-inline: auto;
    }
  }

  .t3e-usp-specs__ttl {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 0.95;
    text-align: center;
    letter-spacing: -0.01rem;

    @media (min-width: 768px) {
      font-size: min(7.2rem, 5.625vw);
    }

    @media (min-width: 1280px) {
      margin-top: 40px;
    }
  }

  .t3e-usp-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px;
    margin-top: 40px;

    @media (min-width: 1280px) {
      column-gap: 128px;
      margin-top: 60px;
    }

    dt {
      font-size: 1.6rem;
      font-weight: 400;
      line-height: 1.4;
      opacity: 0.9;
    }
  }

  .t3e-usp-item {
    @media (max-width: 767px) {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    &:not(:nth-child(-n + 2)) {
      padding-top: 20px;
      margin-top: 40px;
      border-top: 1px solid rgb(255 255 255 / 30%);

      @media (min-width: 768px) {
        margin-top: 60px;
      }
    }
  }

  .t3e-usp-num {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;

    > span {
      font-size: 2.5714285714em;
    }

    @media (min-width: 768px) {
      font-size: 2.8rem;

      > span {
        padding-right: 0.05em;
        font-size: 2.8571428571em;
      }
    }
  }

  .t3e-usp-note {
    margin-top: 30px;
    font-size: 1rem;
    opacity: 0.7;

    @media (min-width: 768px) {
      margin-top: 56px;
    }
  }

  .t3e-usp-desc {
    display: grid;
    row-gap: 1em;
    padding-inline: 20px;
    margin-top: 100px;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.25;

    @media (min-width: 768px) {
      max-width: 872px;
      margin-inline: auto;
      margin-top: 137px;
      font-size: 2.4rem;
    }

    .rj-font {
      font-size: 1.2em;
    }
  }

  /* 予約セクション */
  .t3e-reserve {
    display: block;
    padding-inline: 20px;
    margin-top: 140px;
    text-align: center;

    @media (min-width: 768px) {
      margin-top: 190px;

      img {
        width: 868px;
      }
    }
  }

  /* カスタマイズ */
  .t3e-custom__ttl {
    padding-inline: 20px;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 0.95;
    text-align: center;
    letter-spacing: -0.01rem;

    @media (min-width: 768px) {
      font-size: min(7.2rem, 5.625vw);
    }
  }

  .t3e-customSlider_wrapper {
    position: relative;
    margin-block: 20px 40px;

    @media (min-width: 768px) {
      margin-block: 40px 80px;
    }

    .swiper-wrapper {
      transition-timing-function: ease-in-out;
    }
  }

  .t3e-customSliderArrow {
    position: absolute;
    top: 42%;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 6.933vw;
    height: 6.933vw;
    font-size: 0;
    cursor: pointer;
    background-color: rgb(191 191 191 / 75%);
    border-radius: 50%;
    transition: background-color 0.2s;

    @media (min-width: 768px) {
      top: 46%;
      width: min(3.9vw, 42px);
      height: min(3.9vw, 42px);
    }

    &:hover {
      background-color: #bfbfbf;
    }

    &::before {
      position: absolute;
      inset: -10px;
      content: "";
    }

    /* アイコン */
    img {
      width: 30%;
      margin-right: 10%;
    }

    /* NOTE: swiper側でclassを1つしか選択できないのでmodifierの書き方が違う */
    &.t3e-customSliderArrow-prev {
      left: 8vw;

      @media (min-width: 768px) {
        left: 20.486vw;
      }
    }

    &.t3e-customSliderArrow-next {
      right: 8vw;
      rotate: 180deg;

      @media (min-width: 768px) {
        right: 20.486vw;
      }
    }
  }

  .t3e-customSliderPagination.swiper-pagination-horizontal {
    bottom: -37px;

    @media (min-width: 768px) {
      bottom: -50px;
    }

    .swiper-pagination-bullet {
      width: 6px;
      height: 6px;
      margin-inline: 5px;
      background-color: #a1a1a1;
      opacity: 1;

      @media (min-width: 768px) {
        width: 8px;
        height: 8px;
      }

      &.swiper-pagination-bullet-active {
        background-color: #fff;
      }
    }
  }

  /* 機能紹介セクション */
  .t3e-feature {
    position: relative;
    min-height: 149.8666666667vw;
    padding: 76px 20px;
    font-size: 1.4rem;
    line-height: 1.6;
    background: no-repeat bottom / cover;

    @media (min-width: 768px) {
      min-height: 56.25vw;
      padding: min(190px, 13.1944444444vw) 0 min(80px, 5.5555555556vw);
    }

    &::before {
      position: absolute;
      inset: 0;
      width: 70vw;
      content: "";
      background: linear-gradient(90deg, rgb(0 0 0 / 50%), transparent);
    }
  }

  .t3e-feature__inner {
    position: relative;

    @media (min-width: 768px) {
      max-width: 81.9444444444vw;
      margin-inline: auto;

      .t3e-feature--reverse & {
        display: grid;
        justify-content: end;
      }
    }
  }

  .t3e-feature__ttl {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 0.8;

    @media (max-width: 767px) {
      padding-right: 1em;
    }

    @media (min-width: 768px) {
      max-width: min(437px, 50vw);
      font-size: min(7.2rem, 5.625vw);
    }
  }

  .t3e-feature__content {
    display: grid;
    row-gap: 10px;
    margin-top: 16px;

    @media (min-width: 768px) {
      row-gap: 12px;
      max-width: min(437px, 50vw);
      margin-top: 24px;
    }
  }

  .t3e-feature-specs {
    @media (max-width: 767px) {
      display: grid;
      grid-template: 1fr / 1fr 1fr;
      gap: 0 20px;
      margin-top: 32px;
    }

    @media (min-width: 768px) {
      width: fit-content;
      margin-top: 36px;
    }

    dt {
      font-size: 1.4rem;
      font-weight: 400;
      line-height: 1;
      opacity: 0.9;
    }
  }

  .t3e-feature-item {
    @media (min-width: 768px) {
      &:not(:first-child) {
        padding-top: 24px;
        margin-top: 24px;
        border-top: 1px solid rgb(255 255 255 / 30%);
      }
    }
  }

  .t3e-feature-num {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 0.95;

    > span {
      padding-right: 0.05em;
      font-size: 1.28em;
    }

    @media (min-width: 768px) {
      font-size: 2.8rem;

      > span {
        font-size: 2.5714285714em;
      }
    }
  }

  .t3e-feature__note {
    font-size: 1rem;
    opacity: 0.7;

    @media (min-width: 768px) {
      margin-top: 24px;
    }
  }

  .t3e-feature-link {
    display: flex;
    column-gap: 12px;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 44px;
    padding: 0.2em 20px;
    margin: 250px auto 0;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-decoration: none;
    background-color: rgb(0 0 0 / 50%);
    border-radius: 9999px;
    transition: opacity 0.3s ease-out 0.3s;

    @media (min-width: 768px) {
      margin-top: 100px;
    }
  }

  .t3e-feature-link__icon {
    width: 32px;
  }

  /* 機能紹介セクション セクションごとの上書き */
  .t3e-feature--powertrain {
    background-image: url("/about/r5-turbo-3e/img3505/powertrain_bg_sp.jpg");

    @media (min-width: 768px) {
      background-image: url("/about/r5-turbo-3e/img3505/powertrain_bg_pc.jpg");
    }

    @media (min-width: 1280px) {
      background-image: url("/about/r5-turbo-3e/img3505/powertrain_bg_ex.jpg");
    }
  }

  .t3e-feature--structure {
    background-image: url("/about/r5-turbo-3e/img3505/structure_bg_sp.jpg");

    @media (min-width: 768px) {
      background-image: url("/about/r5-turbo-3e/img3505/structure_bg_pc.jpg");
    }

    @media (min-width: 1280px) {
      background-image: url("/about/r5-turbo-3e/img3505/structure_bg_ex.jpg");
    }
  }

  .t3e-feature--technology {
    background-image: url("/about/r5-turbo-3e/img3505/technology_bg_sp.jpg");

    @media (min-width: 768px) {
      background-image: url("/about/r5-turbo-3e/img3505/technology_bg_pc.jpg");
    }

    @media (min-width: 1280px) {
      background-image: url("/about/r5-turbo-3e/img3505/technology_bg_ex.jpg");
    }
  }

  .t3e-feature--sportiness {
    background-image: url("/about/r5-turbo-3e/img3505/sportiness_bg_sp.jpg");

    @media (max-width: 767px) {
      margin-bottom: 20px;
    }

    @media (min-width: 768px) {
      background-image: url("/about/r5-turbo-3e/img3505/sportiness_bg_pc.jpg");

      .t3e-feature__ttl {
        translate: 10px 0;
      }

      .t3e-feature__content {
        translate: 10px 0;
      }
    }

    @media (min-width: 1280px) {
      background-image: url("/about/r5-turbo-3e/img3505/sportiness_bg_ex.jpg");
    }
  }

  .t3e-feature--interior {
    background-image: url("/about/r5-turbo-3e/img3505/interior_bg_sp.jpg");

    @media (min-width: 768px) {
      background-image: url("/about/r5-turbo-3e/img3505/interior_bg_pc.jpg");
    }

    @media (min-width: 1280px) {
      background-image: url("/about/r5-turbo-3e/img3505/interior_bg_ex.jpg");
    }
  }

  .t3e-feature--made {
    background-image: url("/about/r5-turbo-3e/img/made_bg_sp.jpg");

    @media (min-width: 768px) {
      background-image: url("/about/r5-turbo-3e/img/made_bg_pc.jpg");
    }

    @media (min-width: 1280px) {
      background-image: url("/about/r5-turbo-3e/img/made_bg_ex.jpg");
    }
  }

  /* ギャラリー */
  .t3e-gallery {
    position: relative;
    padding: 80px 20px;

    @media (max-width: 767px) {
      display: grid;
      justify-items: center;
    }

    @media (min-width: 768px) {
      padding: min(176px, 12.2222222222vw) 0 min(196px, 13.6111111111vw);
    }
  }

  .t3e-gallery-slider__wrapper {
    @media (max-width: 767px) {
      /* NOTE: SPでは縦並びなので、Swiperが貫通しないように高さ制限 */
      height: calc(155vw + 32px);
      overflow: hidden;

      .swiper-wrapper {
        flex-direction: column;
        row-gap: 32px;
      }
    }
  }

  .t3e-gallery-slider {
    @media (min-width: 768px) {
      padding-inline: 15.9722222222vw;
    }
  }

  .t3e-gallery-slider__btn {
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    background: transparent;
    border: 0;

    &:hover {
      img {
        scale: 1.02;
      }
    }
  }

  .t3e-gallery-slider__caption {
    padding-top: 16px;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    text-align: left;

    @media (min-width: 768px) {
      padding-top: 20px;
    }

    .rj-font {
      font-size: 1.2em;
    }
  }

  .t3e-gallery-slider__slide {
    @media (max-width: 767px) {
      width: 89.3333333333vw !important;
      height: auto;

      /* 3枚目以降は透明にしておく */
      &:not(:nth-child(-n + 2)) {
        visibility: hidden;
        opacity: 0;
      }
    }

    @media (min-width: 768px) {
      width: 50vw;
    }

    img {
      width: 100%;
      transition: scale 0.6s;
      will-change: scale;
    }
  }

  .t3e-gallery-slider__arrows {
    position: absolute;
    bottom: 30px;
    left: 15.9722222222vw;
  }

  .t3e-gallery-slider__trigger {
    display: flex;
    column-gap: 8px;
    align-items: center;
    justify-content: center;
    margin-top: 64px;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    cursor: pointer;
    background: transparent;
    border: 0;

    &::after {
      position: relative;
      top: -2px;
      display: block;
      width: 8px;
      height: 8px;
      padding: 0;
      content: "";
      background: transparent;
      border: solid #fff;
      border-width: 0 2px 2px 0;
      rotate: 45deg;
    }
  }

  /* ギャラリーのモーダル */
  .t3e-modal {
    display: none;

    &.is-open {
      display: block;
    }

    &[aria-hidden="false"] {
      .t3e-modal-slider__overlay {
        animation: mmfadeIn 0.5s cubic-bezier(0, 0, 0.2, 1);
      }

      .t3e-modal-slider__wrapper {
        animation: mmfadeIn 0.5s cubic-bezier(0, 0, 0.2, 1);
      }
    }

    &[aria-hidden="true"] {
      .t3e-modal-slider__overlay {
        animation: mmfadeOut 0.5s cubic-bezier(0, 0, 0.2, 1);
      }

      .t3e-modal-slider__wrapper {
        animation: mmfadeOut 0.5s cubic-bezier(0, 0, 0.2, 1);
      }
    }
  }

  .t3e-modal-slider__overlay {
    position: fixed;
    inset: 0;
    z-index: 8001;
    background-color: #000;

    /* NOTE: 固定サイドナビより上 */
    will-change: transform;
  }

  .t3e-modal-slider__wrapper {
    height: 100%;
    will-change: transform;
  }

  .t3e-modal-slider {
    height: 100%;
  }

  .t3e-modal-slider__slide {
    box-sizing: border-box;
    display: grid;
    place-content: center;
    text-align: center;

    @media (min-width: 768px) {
      max-height: 100vh;
      padding: 10vw;
    }

    img {
      object-fit: cover;

      @media (min-width: 768px) {
        max-height: 85vh;
      }
    }
  }

  .t3e-modal-slider__textarea {
    color: #fff;
    text-align: left;

    @media (min-width: 768px) {
      padding-right: 47vw;
    }
  }

  .t3e-modal-slider__caption {
    display: block;
    padding: 4px 20px 8px;
    font-size: 2rem;
    font-weight: 700;
    line-height: 0.95;
    color: #fff;
    text-align: left;
    background-color: rgb(0 0 0 / 35%);

    @media (min-width: 768px) {
      padding: 16px 0 0 1px;
    }

    .rj-font {
      font-size: 1.2em;
    }
  }

  .t3e-modal-slider__pagination {
    --swiper-pagination-bullet-size: 12px;
    --swiper-pagination-color: #efdf00;
    --swiper-pagination-bullet-inactive-color: #fff;
    --swiper-pagination-bullet-inactive-opacity: 1;

    position: absolute;
    inset-inline: 0;
    bottom: 20px;
    z-index: 1;
    text-align: center;

    .swiper-pagination-bullet {
      position: relative;
      scale: 1;
      transition: scale 0.3s;

      &::before {
        position: absolute;
        inset: -5px;
        content: "";
        border: 2px solid #efdf00;
        border-radius: 50%;
        opacity: 0;
        transition: opacity 0s;
      }
    }

    .swiper-pagination-bullet-active {
      scale: 0.7;

      &::before {
        opacity: 1;
        transition: opacity 0.3s 0.3s;
      }
    }
  }

  .t3e-modal-slider__arrows {
    position: absolute;
    inset: 0;
    z-index: 1;
    justify-content: space-between;
    height: fit-content;
    margin: auto 5vw;
    text-align: center;
  }

  .t3e-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
    height: 32px;
    aspect-ratio: 1;
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: 0;

    @media (min-width: 768px) {
      display: flex;
      align-items: center;
      aspect-ratio: unset;
    }

    img {
      width: 32px;
    }
  }

  .t3e-modal-close__text {
    font-size: 1.6rem;
    color: #fff;
  }

  /* in-car technology */
  .t3e-incar-desc {
    @media (min-width: 768px) {
      align-self: center;
    }
  }

  .t3e-incar-desc__inner {
    @media (min-width: 768px) {
      max-width: min(440px, 42.8015564202vw);
      margin-top: -30px;
    }
  }

  .t3e-incar__ttl {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 0.95;

    @media (min-width: 768px) {
      font-size: 4.8rem;
    }
  }

  .t3e-incar__txt {
    margin-top: 16px;
    font-size: 1.2rem;
    line-height: 1.8;

    @media (min-width: 1280px) {
      margin-top: 32px;
      font-size: 1.4rem;
    }
  }

  .t3e-incar__note {
    margin-top: 16px;

    /* @media (max-width: 767px) {
      margin-bottom: 30px;
    } */
  }

  /* the whole R5 universe */
  .t3e-universe {
    padding-block: 65px 97px;

    @media (min-width: 768px) {
      padding-top: 80px;
    }
  }

  .t3e-universe__ttl {
    font-size: 4.8rem;
    font-weight: 700;
    line-height: 0.8;
    text-align: center;

    @media (min-width: 768px) {
      max-width: 1440px;
      padding-inline: 80px;
      margin-inline: auto;
      font-size: 6.4rem;
    }

    @media (min-width: 1280px) {
      font-size: 10.4rem;
    }
  }

  .t3e-universe-slider__wrapper {
    position: relative;
    margin-top: 45px;

    @media (min-width: 768px) {
      margin-top: 70px;
    }
  }

  .t3e-universe-slider {
    padding-inline: 16px;

    @media (min-width: 768px) {
      max-width: 1440px;
      padding-inline: 80px;
      margin-inline: auto;
    }
  }

  .t3e-universe-slider__slide {
    display: grid;
    width: 290px;

    @media (min-width: 768px) {
      width: 495px;
    }

    &.t3e-universe-slider__slide--double {
      display: grid;
      grid-template-rows: 1fr 1fr;
      gap: 20px;
      height: auto;

      img {
        aspect-ratio: 495 /312;
      }
    }
  }

  .t3e-universe-slider__inner {
    position: relative;

    &::after {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      content: "";
      background: linear-gradient(
        rgb(0 0 0 / 60%) 0%,
        transparent 47.92%,
        transparent 70.83%,
        rgb(0 0 0 / 60%) 97.4%
      );
    }

    img {
      aspect-ratio: 1 / 1.3;
      object-fit: cover;
    }
  }

  .t3e-universe-slider__linkarea {
    /* NOTE: SPはボタンが小さいからスライド全面をリンクにしたい */
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
  }

  .t3e-universe-slider-text {
    position: absolute;
    top: 20px;
    left: 16px;
    z-index: 1;

    @media (min-width: 768px) {
      top: 35px;
      left: 30px;
    }
  }

  .t3e-universe-slider-text__sub {
    font-size: 1.2rem;
    line-height: 1.6666666667;

    @media (min-width: 768px) {
      font-size: 1.6rem;
      line-height: 1.25;
    }
  }

  .t3e-universe-slider-text__main {
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1;

    @media (min-width: 768px) {
      font-size: 4rem;
    }
  }

  .t3e-universe-slider__note {
    position: absolute;
    right: 9px;
    bottom: 10px;
    font-size: 1rem;
    opacity: 0.7;

    @media (min-width: 768px) {
      right: 24px;
      bottom: 20px;
    }
  }

  .t3e-universe-slider__btn {
    position: absolute;
    right: 15px;
    bottom: 35px;
    z-index: 1;
    pointer-events: auto;

    @media (max-width: 767px) {
      display: inline-grid;
      place-content: center;
      min-width: 30px;
      min-height: 30px;
      font-size: 0;

      &::before,
      &::after {
        display: block;
        grid-area: 1 / 1;
        width: 20px;
        height: 1px;
        content: "";
        background-color: #fff;
      }

      &::before {
        rotate: 90deg;
      }
    }

    @media (min-width: 768px) {
      right: 30px;
      bottom: 42px;
      padding-inline: 0.875em;
    }

    &[href^="#"] {
      @media (max-width: 767px) {
        &::before {
          width: 16px;
          height: 16px;
          background: transparent
            url("/about/r5-turbo-3e/img/icon_chevron_curved.svg") no-repeat
            center / contain;
          rotate: 0deg;
        }

        &::after {
          content: none;
        }
      }
    }
  }

  .t3e-universe-slider__arrows {
    padding-inline: 16px;

    @media (min-width: 768px) {
      max-width: 1440px;
      padding-inline: 80px;
      margin-inline: auto;
    }

    .t3e-slider-arrow {
      margin-top: 45px;
    }
  }

  /* ニュースレター */
  .t3e-letter {
    margin-top: 80px;
    font-size: 1.2rem;

    @media (min-width: 768px) {
      margin-top: 120px;
      font-size: 1.4rem;
    }
  }

  .t3e-letter__btn {
    min-width: 300px;
    min-height: 68px;
    margin-top: 12px;
    font-size: 1.3rem;

    @media (min-width: 768px) {
      min-width: 410px;
      margin-top: 20px;
      font-size: 1.6rem;
    }
  }
}

/* --------------------------------
  keyframes
-------------------------------- */

/* NOTE: https://www.renault.co.uk/electric-vehicles/r5-turbo-3e.html から流用 */
@keyframes manifest-animline {
  0% {
    opacity: 0;
    transform: translateY(150px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes manifestscroll-animarrow {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }

  10% {
    opacity: 1;
    transform: translate(0, 0);
  }

  90% {
    opacity: 1;
    transform: translate(0, 0);
  }

  100% {
    opacity: 0;
    transform: translateY(10px);
  }
}

/* NOTE: https://gist.github.com/ghosh/4f94cf497d7090359a5c9f81caf60699#file-micromodal-css から流用 */
@keyframes mmfadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes mmfadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}
