/**************************** 共通 ******************************/
 img{
    display:block;
    max-width:100%;
    height:auto;
}
#trs--lineup a {
    text-decoration: none;
}
.trs--lineup-container{
    width:min(1200px,calc(100% - 64px));
    margin-inline:auto}
@media(min-width:768px) and (max-width:1250px){
    .trs--lineup-container{width:calc(100% - 80px)}
}
@media(max-width:767px){
    .trs--lineup-container{width:calc(100% - 34px)}
}



/**************************** Hero ******************************/
.trs-renewal--hero img {
    width: 100%;
}
/* ===========================================
  -Lineup 共通-  Intro ＆ Recommend
=========================================== */
.trs--lineup-intro {
  background:#fff url('/files/user/images/series/truesleeper/lineup/common/recommend-bg.png') center bottom/100% 100% no-repeat;
  padding-bottom:160px;
}

.trs--lineup-intro-container {
  width:min(1200px,calc(100% - 64px));
  margin-inline:auto;
}

.trs--lineup-intro-button{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  min-height:54px;
  width:270px;
  max-width:100%;
  padding:12px 34px;
  border:1px solid #555f8e;
  border-radius:32px;
  background:#fff;
  font-size:15px;
  line-height:1.5;
  letter-spacing:.08em;
  transition:background .2s,color .2s;
}

.trs--lineup-intro-button:hover{
  background:var(--color-brand--navy);
  color:#fff;
}

.trs--lineup-intro-arrow{
  position:absolute;
  right:19px;
  width:20px;
  height:1px;
  background:currentColor;
}

.trs--lineup-intro-arrow::after{
  content:"";
  position:absolute;
  right:0;
  top:-5px;
  width:10px;
  height:10px;
  border-right:1px solid;
  border-top:1px solid;
  transform:rotate(45deg);
}

.trs--lineup-intro-links .trs--lineup-intro-button{
  gap:4px;
}

.trs--lineup-intro-links .trs--lineup-intro-button img{
  width:22px;
  height:25px;
  object-fit:contain;
}

.trs--lineup-intro-down .trs--lineup-intro-arrow{
  width:14px;
  height:14px;
  border-right:1px solid;
  border-bottom:1px solid;
  background:transparent;
  transform:rotate(45deg);
  right:25px;
  top:17px;
}

.trs--lineup-intro-down .trs--lineup-intro-arrow::after{
  display:none;
}
.trs--lineup-intro-links{
  padding:40px 0 70px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:28px;
}

.trs--lineup-intro-links > div{
  display:flex;
  gap:30px;
}


.trs--lineup-intro-intro h2{
  font-size:42px;
  margin-bottom:35px;
}

.trs--lineup-intro-recommend {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:32px;
}

.trs--lineup-intro-recommend li{
  height:275px;
  border-radius:50% 50% 50% 0;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  font-size: clamp(
    16px,
    calc(16px + 10 * ((100vw - 788px) / (1400 - 788))),
    26px
    );
  line-height:1.8;
}

.trs--lineup-intro-recommend li:nth-child(even){
  transform:translateY(46px);
}

@media(max-width:767px){

  .trs--lineup-intro-container {
    width:calc(100% - 34px);
  }

  .trs--lineup-intro-button{
    min-height:54px;
    width:270px;
    font-size:14px;
    padding-inline:28px;
  }

  .trs--lineup-intro-links{
    padding:34px 0 55px;
    gap:18px;
  }
  .trs--lineup-intro-links > div {
    flex-direction:column;
    gap:22px;
  }

  .trs--lineup-intro{
    background-image:url('/files/user/images/series/truesleeper/lineup/common/recommend-bg-sp.png');
    padding-bottom:85px;
  }

  .trs--lineup-intro h2{
    font-size:26px;
    margin-bottom:25px;
    text-align: center;
  }

  .trs--lineup-intro-recommend{
    grid-template-columns:repeat(2,40%);
    gap:22px 18px;
    justify-content:start;
  }

  .trs--lineup-intro-recommend li{
    max-height:137px;
    max-width: 137px;
    font-size:15px;
    line-height:20px;
    font-weight:400;
    letter-spacing:.03em;
  }

  .trs--lineup-intro-recommend li:nth-child(even){
    transform:none;
  }

  .trs--lineup-intro-recommend li:nth-child(3),
  .trs--lineup-intro-recommend li:nth-child(4){
    transform:translateX(55px);
  }
}


/*=====================================
- SPEC & SIZE -
=====================================*/

/*=====================================
- REVIEWS -
=====================================*/


/*=====================================
- Q＆A -
=====================================*/

/*=====================================
- OTHER PRODUCTS -
=====================================*/

/*=====================================
- RELATED PRODUCTS -
=====================================*/
  .trs-renewal-lineupRelated {
    margin-top: 85px;
    margin-bottom: 100px;
  }

  .trs-renewal-lineupRelated-container {
    max-width: 1200px;
    margin: 0 auto;
  }
  .trs-renewal-lineupRelated--heading h2 {
    font-weight: bold;
  }
  .trs-renewal-lineupRelated--heading {
    margin-bottom: 36px;
  }

  .trs-renewal-lineupRelated--eyebrow {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 20px;
  }

  .trs-renewal-lineupRelated--product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px 60px;
    width: min(1200px, calc(100% - 64px));
    margin-inline: auto;
  }

  .trs-renewal-lineupRelated--product {
    background: var(--color-sub--lgray);
    display: flex;
    flex-direction: column;
    min-width: 0;
  }
  .trs-renewal-lineupRelated--product img {
    width: 100%;
    aspect-ratio: 255/225;
    object-fit: cover;
  }

  .trs-renewal-lineupRelated--product div {
    padding: 20px 16px 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .trs-renewal-lineupRelated--product>div p+p {
    margin: 0;
  }

  .trs-renewal-lineupRelated--product p {
    font-size: 14px;
    line-height: 1.7;
  }

  .trs-renewal-lineupRelated--product h3 {
    font-size: 24px;
    line-height: 1.5;
    min-height: 110px;
    margin-bottom: 20px;
    font-weight: bold;
  }

  .trs-renewal-lineupRelated--price {
    /*margin-top: auto;*/
    margin-bottom: 15px;
    font-size: 13px;
  }

  .trs-renewal-lineupRelated--tags {
    min-height: 27px;
    margin-bottom: 12px;
  }
  .trs-renewal-lineuoRelated--caption {
    margin-bottom: auto!important;
  }

  .trs-renewal-lineupRelated--tags span:empty {
    display: none;
  }

  .trs-renewal-lineupRelated--tags span {
    display: inline-block;
    color: var(--color-brand--navy);
    font-size: 15px;
    line-height: 1.6;
    padding: 0 5px;
    margin-right: 7px;
    border-radius: 2px;
  }

  .trs-renewal-lineupRelated--tags._tags-gold span {
    background: #BDB57D;
  }

  .trs-renewal-lineupRelated--tags._tags-silver span {
    background: #B1B1B1;
  }

  .trs-renewal-lineupRelated--button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 54px;
    width: 270px;
    max-width: 100%;
    padding: 12px 34px;
    border: 1px solid #555f8e;
    border-radius: 32px;
    background: #fff;
    font-size: 15px;
    line-height: 1.5;
    letter-spacing: .08em;
    transition: background .2s, color .2s;
    text-decoration: unset;
  }

  .trs-renewal-lineupRelated--button:hover {
    background: var(--color-brand--navy);
    color: #fff;
  }

  .trs-renewal-lineupRelated--small {
    width: 120px;
    min-height: 30px;
    padding: 3px 15px;
    margin-top: 20px;
    font-size: 12px;
    justify-content: flex-start;
    background: transparent;
    border-color: currentColor;
  }

  .trs-renewal-lineupRelated--arrow {
    position: absolute;
    right: 19px;
    width: 20px;
    height: 1px;
    background: currentColor;
  }

  .trs-renewal-lineupRelated--arrow::after {
    content: "";
    position: absolute;
    right: 0;
    top: -5px;
    width: 10px;
    height: 10px;
    border-right: 1px solid;
    border-top: 1px solid;
    transform: rotate(45deg);
  }

  .trs-renewal-lineupRelated--small .trs-renewal-lineupRelated--arrow {
    width: 14px;
    right: 12px;
  }

  .trs-renewal-lineupRelated--small .trs-renewal-lineupRelated--arrow::after {
    width: 7px;
    height: 7px;
    top: -3px;
  }

  .trs-renewal-lineupRelated--centered {
    margin: 40px auto 0;
  }

  .trs-renewal-lineupRelated--dots {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 22px;
  }

  .trs-renewal-lineupRelated--dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 1px solid #8c91ab;
    border-radius: 50%;
    background: #fff;
    position: relative;
  }

  .trs-renewal-lineupRelated--dots button::before {
    content: "";
    position: absolute;
    inset: -12px -5px;
  }

  .trs-renewal-lineupRelated--dots button[aria-pressed="true"] {
    background: var(--color-brand--navy);
    border-color: var(--color-brand--navy);
  }

  .trs-renewal-lineupRelated--mobile {
    display: none;
  }

  /* =========================================
   TABLET
========================================= */

  @media(min-width:768px) and (max-width:1250px) {

    .trs-renewal-lineupRelated--product-grid {
      gap: 25px;
    }

    .trs-renewal-lineupRelated--product h3 {
      font-size: 19px;
      min-height: 100px;
    }

  }

  /* =========================================
   SP
========================================= */
  @media (max-width:767px) {
    .trs-renewal-lineupRelated {
      margin-top: 70px;
      margin-bottom: 70px;
    }

    .trs-renewal-lineupRelated--heading {
      width: 100%;
      margin: 0 auto 30px;
    }

    .trs-renewal-lineupRelated--eyebrow {
      font-size: 18px;
      margin-bottom: 14px;
    }

    .trs-renewal-lineupRelated {
      margin-top: 45px;
    }

    .trs-renewal-lineupRelated--heading h2 {
      font-size: 26px;
      line-height: 1.3;
    }

    .trs-renewal-lineupRelated--product-grid {
      display: flex;
      gap: 20px;
      overflow-x: auto;
      width: 100%;
    
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;

      scroll-snap-type: x mandatory;
    }

    .trs-renewal-lineupRelated--product-grid::-webkit-scrollbar {
      display: none;
    }

    /* 先頭・末尾を中央にする余白 */
    .trs-renewal-lineupRelated--product-grid::before,
    .trs-renewal-lineupRelated--product-grid::after {
      content: "";
      flex: 0 0 calc((100vw - (78vw)) / 2);
    }

    .trs-renewal-lineupRelated--product {
      flex: 0 0 78vw;
      scroll-snap-align: center;
    }

    .trs-renewal-lineupRelated--product>div {
      padding: 14px 12px 20px;
    }

    .trs-renewal-lineupRelated--product h3 {
      font-size: 20px;
      font-weight: bold;
      min-height: 85px;
      margin-bottom: 20px;
    }

    .trs-renewal-lineupRelated--product p {
      font-size: 15px;
    }

    .trs-renewal-lineupRelated--price {
      font-size: 14px;
    }

    .trs-renewal-lineupRelated--tags {
      min-height: 23px;
      margin-bottom: 12px;
    }

    .trs-renewal-lineupRelated--tags span {
      font-size: 10px;
      letter-spacing: -.07em;
    }

    .trs-renewal-lineupRelated--small {
      width: 100px;
      min-height: 26px;
      font-size: 10px;
      padding-left: 12px;
    }

    .trs-renewal-lineupRelated>.trs-renewal-lineupRelated--button {
      margin-top: 30px;
    }

    .trs-renewal-lineupRelated--mobile {
      display: flex;
    }
  }

  /*コンテンツ出しわけ用*/
  .trs-renewal-lineupRelated-TRR3--active,
  .trs-renewal-lineupRelated-TRAF--active,
  .trs-renewal-lineupRelated-TRP3--active,
  .trs-renewal-lineupRelated-TRA3--active,
  .trs-renewal-lineupRelated-TRPB--active,
  .trs-renewal-lineupRelated-TRPT--active,
  .trs-renewal-lineupRelated-TR7U--active,
  .trs-renewal-lineupRelated-TR7N--active,
  .trs-renewal-lineupRelated-TRHP--active,
  .trs-renewal-lineupRelated-TRND--active {
    display: none;
  }


  div.trs-lineup-relatedProducts--TRR3 .trs-renewal-lineupRelated-TRR3--active {
    display: flex;
  }

  div.trs-lineup-relatedProducts--TRAF .trs-renewal-lineupRelated-TRAF--active {
    display: flex;
  }

  div.trs-lineup-relatedProducts--TRP3 .trs-renewal-lineupRelated-TRP3--active {
    display: flex;
  }

  div.trs-lineup-relatedProducts--TRA3 .trs-renewal-lineupRelated-TRA3--active {
    display: flex;
  }

  div.trs-lineup-relatedProducts--TRPB .trs-renewal-lineupRelated-TRPB--active {
    display: flex;
  }

  div.trs-lineup-relatedProducts--TRPT .trs-renewal-lineupRelated-TRPT--active {
    display: flex;
  }

  div.trs-lineup-relatedProducts--TR7U .trs-renewal-lineupRelated-TR7U--active {
    display: flex;
  }

  div.trs-lineup-relatedProducts--TR7N .trs-renewal-lineupRelated-TR7N--active {
    display: flex;
  }

  div.trs-lineup-relatedProducts--TRHP .trs-renewal-lineupRelated-TRHP--active {
    display: flex;
  }

  div.trs-lineup-relatedProducts--TRND .trs-renewal-lineupRelated-TRND--active {
    display: flex;
  }