/*
** top
******************************/
#top .btn-check {
  text-align: center;
}

#top .btn-check a {
  font-size: 18px;
  position: relative;
  top: -10px;
}

#top .btn-check::before {
  content: '';
  width: 129px;
  height: 36px;
  background: url(/mobilebuy/_assets/images/common/bnr_items_pc.webp) no-repeat;
  background-size: contain;
  position: relative;
  display: inline-block;
  margin-right: 20px;
}

#top .btn-check::after {
  content: '';
  width: 14px;
  height: 6px;
  background: url(/mobilebuy/_assets/images/common/i_btn_arrow_black.svg) no-repeat;
  background-size: contain;
  position: relative;
  display: inline-block;
  margin-left: 17px;
  bottom: 14px;
}

#top .priceup {
  position: relative;
}

.number {
  position: absolute;
  top: -24px; 
  width:3em;
  text-align: right;
  left: 10px;  
  font-size: 160px;
  font-family: 'Roboto', sans-serif;
  color: #ffffff; 
  text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: -12px;
  z-index: 1;
}

picture .priceup {
  margin-bottom: 30px;
}
   
@media (max-width: 768px) {
  #top .priceup {
    padding: 0;
  }

  #top .btn-check {
    text-align: left;
    position: relative;
    display: flex;
    align-items: center;
    height: 31px;
  }

  #top .btn-check a {
  font-size: 14px;
  display: flex;
  justify-content: flex-end;
  width: 314px;
  top: 1px;
  }

  #top .btn-check::before {
    content: '';
    width: 72px;
    height: 31px;
    background: url(/mobilebuy/_assets/images/common/bnr_items_sp.svg) no-repeat;
    background-size: contain;
    position: absolute;
    top: 0;
    left: 15px;
  }

  #top .btn-check::after {
    content: '';
    width: 14px;
    height: 6px;
    background: url(/mobilebuy/_assets/images/common/i_btn_arrow_black.svg) no-repeat;
    background-size: contain;
    position: relative;
    display: inline-block;
    margin-left: 8px;
    margin-right: 26px;
    bottom: 2px;
  }

  .mat50 {
    position: relative;
  }

  .btn_img {
    display: block;
  }

  .number {
    position: absolute;
    top: auto; 
    left: auto; 
    right: 36%;
    bottom: 31%;
    font-size: 25vw;
    font-family: 'Roboto', sans-serif;
    color: #ffffff; 
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: -12px;
  }

  picture .priceup {
    margin-bottom: 17px;
  }

  .purchaselist_img {
    width: 100%;
  }

}


/* awaiting */
.float-box {
  z-index: 10;
  position: fixed;
  bottom: 60px;
  right: -6px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 360px;
  height: 180px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  background: rgba(255, 241, 241, .9);
  border: 6px solid rgba(255, 255, 255, .9);
  opacity: 0;
  transition: .3s;
}

.float-box > .close-button {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 50px;
  height: 50px;
  background: rgb(255, 241, 241);
  border-radius: 30px;
  cursor: pointer;
}

.float-box > .close-button::before,
.float-box > .close-button::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 25px;
  height: 1px;
  margin: auto;
  background: #000;
}

.float-box > .close-button::before {
  transform: rotate(45deg);
}

.float-box > .close-button::after {
  transform: rotate(-45deg);
}

.float-box > p {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-left: 50px;
}

.float-box > p::before,
.float-box > p::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  font-family: 'Font Awesome 6 Pro';
  font-weight: 300;
  color: #000;
}

.float-box > p::before {
  content: '\f157';
  top: -10px;
  left: 10px;
  width: 15px;
  height: 22px;
  font-size: 1.4rem;
}

.float-box > p::after {
  content: '\f002';
  width: 42px;
  height: 48px;
  font-size: 2.6rem;
}

.float-box > p span:first-of-type {
  display: flex;
  flex-direction: column;
  font-size: 1rem;
}

.float-box > p span:first-of-type em {
  font-size: 1.4rem;
}

.float-box > p span:last-of-type {
  display: flex;
  align-items: flex-end;
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 1;
}

.float-box > p span:last-of-type em {
  font-size: 6rem;
  line-height: 0.7;
  color: #ff0000;
}

.float-box > a {
  position: absolute;
  right: 0;
  bottom: -30px;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 280px;
  height: 60px;
  margin: auto;
  font-size: 1.8rem;
  line-height: 1;
  font-weight: bold;
  color: #fff;
  background: rgba(255, 0, 0, .9);
  border: 6px solid rgba(255, 255, 255, .9);
  border-radius: 12px;
  transition: .3s;
}

.float-box > a::after {
  content: '';
  position: absolute;
  top: 0;
  right: 30px;
  bottom: 0;
  width: 22px;
  height: 12px;
  margin: auto;
  background: url(/mobilebuy/_assets/images/common/i_btn_arrow_white.svg) no-repeat;
  background-size: contain;
}

@media (max-width: 768px) {
  .float-box {
    bottom: 100px;
    width: 200px;
    height: 90px;
  }

  .float-box > .close-button {
    top: -15x;
    left: -15px;
    width: 30px;
    height: 30px;
  }

  .float-box > .close-button::before,
  .float-box > .close-button::after {
    width: 20px;
  }

  .float-box > p {
    padding-left: 20%;
  }

  .float-box > p::before {
    left: 6px;
    width: 10px;
    height: 18px;
    font-size: 1rem;
  }

  .float-box > p::after {
    width: 27px;
    height: 36px;
    font-size: 1.6rem;
  }

  .float-box > p span:first-of-type {
    font-size: 70%;
  }

  .float-box > p span:first-of-type em {
    font-size: 143%;
  }

  .float-box > p span:last-of-type {
    font-size: 150%;
  }

  .float-box > p span:last-of-type em {
    font-size: 165%;
  }

  .float-box > a {
    width: 150px;
    height: 40px;
    font-size: 100%;
  }

  .float-box > a::after {
    right: 15px;
    width: 14px;
    height: 8px;
  }
}


/* news 
---------------------------------------------*/
.news_header {
  color: #fff;
  font-weight: bold;
  text-align: center;
}

.news_header span {
  font-size: 20px;
  padding: 10px 28px;
  border-radius: 10px 10px 0 0;
  background: #000;
  display: inline-block;
}

.news-wrap {
  background: #eee;
  border-top: 1px solid #000;
  padding: 40px 0 80px;
  border-bottom: 1px solid #fff;
}

.news_main li {
  display: flex;
}

.news_main li + li {
  margin-top: 15px;
}


.news_main p {
  margin-left: 30px;
}

li time {
  width:6em;
  color: #c13563;
  font-family: 'Roboto', sans-serif;
}
.news_main a:hover{
  text-decoration: underline;
}

p.text {
  padding-top: 20px;
}


@media (max-width: 768px) {
  .news_header span {
    font-size: 14px;
    padding: 9px 21px;
    border-radius: 6px 6px 0 0;
  }

  .news-wrap {
    padding: 20px 0 70px;
  }

  .news_main li {
    font-size: 12px;
  }

   .news_main p {
    margin-left: 15px;
  }
  li time {
    width:5em;
  }

   time p {
    font-weight: normal;
  }
  .news_main a:hover{
    text-decoration:none;
  }

}


/* 追従ボタン */
.fixed_btn {
  height: 70px;
  background: #ff0000;
  border-radius: 12px 12px 0 0;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 740px;
  display: flex;
  margin: auto;
  z-index: 98;
}

.fixed_btn a {
  font-size: 28px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  width: 100%;
  color: #FFFFFF;
  align-items: center;
  position: relative;
  top: 2%;
}

.fixed_btn a::after {
  content: '';
  width: 26px;
  height: 14px;
  background: url(/mobilebuy/_assets/images/common/i_btn_arrow_white.svg) no-repeat;
  background-size: contain;
  position: relative;
  margin-left: 3%;
  top: -2px;

}

.bubble {
  color: #ff0000;
  font-size: 16px;
  background: #FFFFFF;
  border-radius: 12px 12px 12px 12px;
  display: flex;
  align-items: center;
  padding: 10px 20px;
  margin-right: 26px;
  position: relative;

}

.bubble::after {
  position: absolute;
  top: 10px;
  right: -18px;
  content: '';
  width: 0;
  height: 0;
  border: 8px solid transparent;
  border-left: 14px solid #fff;

}

@media (max-width: 767px) {
  .fixed_btn {
    height: 50px;
    border-radius: 6px 6px 0 0;
    width: 90%;
  }

  .fixed_btn a {
    font-size: 14px;
  }

  .fixed_btn a::after {
    content: '';
    width: 17px;
    height: 9px;
    position: relative;
    margin-left: 3%;
    top: -2px;

  }

  .bubble {
    font-size: 11px;
    border-radius: 6px 6px 6px 6px;
    padding: 5px 7px;
    margin-right: 13px;
  }

  .bubble::after {
    top: 7px;
    right: -13px;
    content: '';
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-left: 8px solid #fff;
  }
}


/*ランキング */
#ranking-list {
  margin-top: 0;
}
.ranking-wrap {
  display: flex;
  margin: 20px 0 0;
}
.ranking-list .card {
  position: relative;
  width: calc((100% / 5) - 24px);
  margin-right: 30px;
  padding: 40px 0 0;
  box-shadow: 0px 0px 8px #00000066;
  padding: 15px;
}
.ranking-list .card:nth-of-type(5n) {
  margin-right: 0;
}
.ranking-list .card::before {
  content: '';
  position: absolute;
  background: url(/mobilebuy/_assets/images/common/i_ranking01.svg) no-repeat;
  width: 51px;
  height: 40px;
  background-size: contain;
  top: -25px;
  left: 0;
  right: 0;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  font-weight: bold;
  padding-top: 15px;
}

.ranking-list .card:nth-of-type(1):before {
  content: '1';
  background: url(/mobilebuy/_assets/images/common/i_ranking01.svg) no-repeat;
  width: 51px;
  height: 40px;
  background-size: contain;
}

.ranking-list .card:nth-of-type(2):before {
  content: '2';
  background: url(/mobilebuy/_assets/images/common/i_ranking02.svg) no-repeat;
  width: 51px;
  height: 40px;
  background-size: contain;
}

.ranking-list .card:nth-of-type(3):before {
  content: '3';
  background: url(/mobilebuy/_assets/images/common/i_ranking03.svg) no-repeat;
  width: 51px;
  height: 40px;
  background-size: contain;
}

.ranking-list .card:nth-of-type(4):before {
  content: '4';
}

.ranking-list .card:nth-of-type(n + 4):before {
  background: url(/mobilebuy/_assets/images/common/i_ranking04.svg) no-repeat;
  width: 51px;
  height: 40px;
  background-size: contain;
}

.ranking-list .card:nth-of-type(5):before {
  content: '5';
}

.ranking-list .card .product_name {
  font-weight: bold;
  font-size: 18px;
  text-align: left;
  color: #000;
  margin-top: 10px;
}
.ranking-list .card.ranking-btn {
  display: none;
}

.ranking-list .ranking-btn {
  margin-top: 40px;
}

@media (max-width: 768px) {
  .ranking-list {
    display: block;
    width: 100%;
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
  }
  .ranking-btn {
    display: none;
  }
  .ranking-wrap {
    padding: 15px;
    width: 840px;
    display: flex;
  }
  .ranking-list .card:nth-of-type(5n) {
    margin-right: 20px;
  }
  .ranking-list .card:nth-of-type(6n) {
    margin-right: 0;
  }
  .ranking-list .card figure {
    height: 25vw;
    margin: 10px 0 5px;
  }
  .ranking-list .card figure img {
    object-fit: contain;
    max-height: 100%;
  }
  .ranking-list .card {
    display: inline-block;
    position: relative;
    width: 20%;
    margin-right: 20px;
  }
  .ranking-list .card .product_company {
    font-size: 12px;
  }
  .ranking-list .card .product_name {
    font-size: 14px;
  }
  .ranking-list .card.ranking-btn {
    position: relative;
    display: block;
    font-weight: bold;
    padding: 0;
    border: 2px solid #000;
    margin-top: 0;
  }
  .ranking-list .card.ranking-btn a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px 10px;
    height: 100%;
  }
  .ranking-list .card.ranking-btn::after {
    position: absolute;
    content: "";
    width: 17px;
    height: 9px;
    left: 0;
    right: 0;
    bottom: 30px;
    margin: auto;
    background: url(/mobilebuy/_assets/images/common/i_btn_arrow_black.svg) no-repeat;
  }
  .ranking-list .card.ranking-btn::before {
    content: none;
  }
}

