/*
** top
******************************/


/*----------------------------------------------
お知らせ枠 TOP
----------------------------------------------*/
#top .news      { display: table; background-color:#f2f2f2; height:auto; width: 100%; box-sizing: border-box; font-weight:bold; }
#top .news_header { display: table-cell; width:20%;background-color:#000;text-align:right;color:#ffffff;padding:10px 20px 10px 0; box-sizing: border-box; }
#top .news_main     { width:100%;padding:10px; box-sizing: border-box; font-weight: normal;}
#top .news_main p{margin-bottom:5px;}
#top .news_main a{display: inline-block; margin-left: 10px;}
#top .news_main a:hover{text-decoration: underline;}
#top .news_main em {font-family: "Roboto"; color:#666; font-weight: bold;display: inline-block;}
#top .news_main em.new { font-weight: 700; color: #f00; display: inline-block; margin-right: 10px; }

@media (max-width: 768px) {
  #top .news_header { font-size: 12px; text-align:center; padding:10px; }
  #top .news_main   {width:100%;padding:10px; }
  #top .news_main a{margin-left: 0px;}

}

#top .priceup {
  margin-top:20px;
}
#top .priceup section{
  padding: 0;
}
#top .priceup .btn_img{
  position: relative;
  display: block;
}

.number {
  position: absolute;
  width:3em;
  text-align: right;
  top: -2px; 
  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;
}

 
@media (max-width: 768px) {
  #top .priceup {
    padding: 0;
    margin-top:10px;
  }

  .mat50 {
    position: relative;
  }

  .btn_img {
    display: block;
  }

  .number {
    position: absolute;
    top: auto; 
    left: auto; 
    right: 36%;
    bottom: 26%;
    font-size: 25vw;
    font-family: 'Roboto', sans-serif;
    color: #ffffff; 
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: -12px;
  }

  .purchaselist_img {
    width: 100%;
  }

}


/* awaiting */
.float-box {
  z-index: 9999;
  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: -25px;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 300px;
  height: 60px;
  margin: auto;
  font-size: 1.2rem;
  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: 15px;
  bottom: 0;
  width: 22px;
  height: 12px;
  margin: auto;
  background: url(/kaden/_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: 180px;
    height: 45px;
    font-size: 80%;
  }

  .float-box > a::after {
    right: 8px;
    width: 12px;
    height: 8px;
  }
}

