/* 最近見た商品 */
#recently {
  padding-bottom: 40px;
}

#recently .slick-prev:before,
#recently .slick-next:before {
  font-family: "slick";
  font-size: 40px;
  line-height: 1;
  color: #052d8b;
  opacity: 0.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#recently .list .linkBox {
  margin: 20px 8px 0px 8px;
  border: 1px solid #ccc;
  padding: 15px;
  border-radius: 8px;
  box-sizing: border-box;
}

#recently .list .linkBox:nth-child(4n) {
  margin: 20x 8px 0px 8px;
  border: 1px solid #ccc;
  padding: 15px;
  border-radius: 8px;
  box-sizing: border-box;
}

#recently .list li div.mask {
  height: 100px;
  width: 100%;
}

#recently .list .site {
  margin-top: 10px;
}

#recently .list span.site.y_shopping {
  width: 17px;
  height: 17px;
}

#recently .list span.site.mercari {
  width: 17px;
  height: 17px;
}

#recently .list span.shopping {
  font-size: 10px;
}

#recently .list li p.price {
  margin-top: 30px;
}

.slick-prev,
.slick-next {
  width: 40px;
  height: 40px;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  position: absolute;
}

.delete-btn:hover {
  opacity: 0.7;
}

.slick-prev {
  left: -20px;
}

@media(max-width:768px) {
  .slick-prev {
    left: 0px !important;
  }
}

.slick-next {
  right: -4px;
}

@media(max-width:768px) {
  .slick-next {
    right: 20px;
  }
}

.delete_btn {
  margin-top: 20px;
  background-color: #bfbfbf;
  color: white;
  border: none;
  padding: 3px 10px;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  display: block;
  width: 70%;
  margin-left: auto;
  margin-right: auto;
  transition: background-color 0.2s ease;
}

#recently .slick-slide {
  height: 370px !important;
}

@media(max-width:768px) {
  #recently .slick-slide {
    width: 124px !important;
  }
}

#mainslider .slick-slide {
  height: 300px !important;
}

@media(max-width:768px) {
  #mainslider .slick-slide {
    height: auto !important;
  }
}

#recently .list span.auction {
  display: block;
  float: left;
  background-color: #dda648;
  color: #fff;
  font-size: 9px;
  font-weight: bold;
  padding: 2px 9px 2px 22px;
  background-image: url(../img/icon_auction.png);
  background-repeat: no-repeat;
  background-size: 11px auto;
  background-position: 8px 4px;
  border-radius: 3px;
}

#recently .list span.site.y_auction {
  float: left;
  background-size: 38px auto;
  width: 37px;
  height: 17px;
  margin-left: 0px;
}

/* 人気カテゴリー */
#popular {
  padding-bottom: 40px;
}

#popular .list .linkBox {
  position: relative;
  margin: 40px 20px 0px 23px;
  border: 1px solid #ccc;
  padding: 25px;
  border-radius: 8px;
  box-sizing: border-box;
  width: calc(600px / 3);
  height: 215px !important;
}

#popular .list {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
  justify-content: start;
}
@media(max-width:768px){
  #popular .list .linkBox {
    margin: 40px 5px 20px 5px;
    padding: 25px 5px;
    width: calc(600px / 4);
}
  #popular .list {
  justify-content: center;
}
}

#popular .list li div.mask {
  height: 146px;
}

.badge {
  position: absolute;
  top: 109px;
  right: -40px;
  background-color: #84d1ff;
  color: white;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 50%;
  font-weight: bold;
  z-index: 2;
  width: 85px;
  height: 85px;
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
}
@media(max-width:768px){
  .badge{
    display: none;
  }
}
.badge a {
  text-decoration: none;
}

#popular .list span.auction {
  font-size: 11px;
}

.category-box {
  margin: auto 0px;
  position: absolute;
  width: 70%;
  height: 45px;
  top: 0%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #66afdf;
  border-radius: 5px;
  font-size: 16px;
  color: #ffffff;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.other_items{
  color: rgb(34, 79, 120);
  color: rgb(34, 79, 120);
  text-align: center;
  font-size: 13px;
  padding-top: 5px;
}

/* おすすめ商品  */
#pickup .list li {
  margin-bottom: 0px;
}

/* news  */
#news{
  margin-top:2em;
}
#news dt{
  float:left;
  padding:13px 20px 13px 10px;
}
#news dd{
  padding:13px 10px 13px 10px;
  border-bottom:1px #323333 dotted;
}

h2:not(.ttl) span{
  display:block;
  font-size:20px;
  color:#224f78;
  background-position:left center;
  background-repeat:no-repeat;
  background-size:28px auto;
  padding:0px 0px 0px 33px;
}
h2.icon_pickup span{
  background-image:url(/img/top/icon_pickup.gif);
  background-position: left -5px;
  background-size:27px auto;
}
h2.icon_airport span{
  background-image:url(/img/top/icon_airport2.png);
}
h2.icon_clock span{
  background-image:url(/img/top/icon_clock_rotate.svg);
}
h2.icon_popular span{
  background-image:url(/img/top/icon_popular.svg);
}
h2.icon_heart span{
  background-image:url(/img/top/icon_heart.svg);
}
h2.icon_store span{
  background-image:url(/img/top/icon_store.svg);
}

h2:not(.ttl) span.small {
  background: none;
  font-size: 13px;
  font-weight: normal;
  color: #666;
  padding: 0 0 0 11px;
  @media only screen and (max-width: 768px){
    padding: 0;
    font-size: 12px;
  }
}

.other_form_btn_wrap {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 40px;
  @media only screen and (max-width: 768px){
    flex-direction: column;
    margin-top: 30px;
  }
}
.other_form_btn_wrap a {
  display: inline-block;
  background-color: #224f78;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 3em 10px 2.4em;
  border-radius: 3px;
  position: relative;
}
.other_form_btn_wrap a:hover {
    background-color: #1a3d5d;
}
.other_form_btn_wrap a:after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-right: 2px #fff solid;
  border-bottom: 2px #fff solid;
  transform: rotate(-45deg);
  position: absolute;
  right: 20px;
  top: 16px;
}
.other_form_btn_wrap p {
  font-size: 13px;
  font-weight: normal;
  color: #666;
}
.toranoana_form_link{
  text-align: right;
}
.toranoana_form_link a{
  color: black;
}
@media only screen and (max-width: 768px){
  #news dt{
    float:none;
    width:100%;
    padding-bottom:0;
    font-size:12px;
  }
  #news dd{
    padding-top:0;
  }
  #news dd a{
    font-size:14px;
  }
  #list li{
    width:50%;
    margin-right:0;
    padding:10px 5px;
  }
  #mainslider{
    margin-bottom:1em;
  }
  #side{
    display:none;
  }
  h2.icon_pickup span{
    font-size:20px;
    padding-top:7px;
    padding-bottom:0px;
  }
  #news h2{
    margin-top:1em;
  }
}

/* その他ショッピング一覧 */
#other_shopping h2 {
  padding-top: 15px;
}

#other_shopping > p {
  margin: 20px 0;
  text-align: center;
}

.otherSites_wrapper {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.otherSites {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 960px;
  padding: 0;
  margin: 0 auto;
  list-style: none;
}

.favoriteSites {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 960px;
  padding: 0;
  margin: 0 auto;
  list-style: none;
}

@media(max-width:768px) {
  .otherSites {
    display: flex;
    flex-direction: column;
  }

  .favoriteSites {
    display: flex;
    flex-direction: column;
  }
}

.otherSites li {
  flex: 1;
  text-align: center;
  padding: 10px;
  display: flex;
  box-sizing: border-box;
  justify-content: center;
  align-items: center;
  color: #747474;
  font-weight: bold;
  min-height: 70px;
  background-color: white;
  margin: 6px;
}

.otherSites li img.icon_img {
  width: 40px;
  height: auto;
  display: block;
}

.otherSites .mercari_logo {
  width: 140px;
}

.favoriteSites li {
  position: relative;
  flex: 1;
  text-align: center;
  padding: 10px;
  display: flex;
  box-sizing: border-box;
  justify-content: center;
  align-items: center;
  color: #747474;
  font-weight: bold;
  height: 70px;
  background-color: white;
  margin: 6px;
}

.sp_only li {
  justify-content: space-between;
  padding: 0px;
}

.sp_only .shop_icon_wrapper {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;

}

.favoriteSites li img.icon_img {
  width: 140px;
  max-height: 70px;
  display: block;
}

.favoriteSites .mercari_logo {
  width: 140px !important;
}

.otherSite_wrapper {
  background-color: #f5f5f5;
  width: calc(25% - 11px);
  margin: 4px 5px;
  position: relative;
}

@media(max-width:768px) {
  .otherSite_wrapper {
    margin-right: 0;
    margin-left: 0;
    border-bottom: 18px solid white;
    width: 100%;
  }
}

.otherSite_wrapper p {
  color: #747474;
  font-size: 17px;
  padding: 3px 0px;
}

.otherSite_wrapper p:last-of-type {
  color: #747474;
  font-size: 12px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.otherSite_wrapper .desc {
  padding: 10px 20px;
}

.sp_only .desc p {
  border-top: 1px dotted;
}

#other_shopping .otherSite_title {
  font-size: 14px;
  font-weight: bold;
}

#other_shopping .sp_only .otherSite_title {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50%;
  font-size: 15px;
  height: 100%;
  background-color: #f5f5f5;
  @media(max-width:768px) {
    padding-right: 42px;
  }
}

#other_shopping .search-form-wrap {
  display: flex;
  justify-content: start;
  align-items: center;
  margin: 20px 40px;
  @media(max-width:768px) {
    flex-direction: column;
  }
}

#other_shopping .search-form {
  display: flex;
  justify-content: start;
  align-items: center;
  @media(max-width:768px) {
    margin-left: 0;
    margin-right: 0;
  }
}

#other_shopping .search-form input[type=text] {
  padding: 10px;
  width: calc(100% - 42px);
  min-width: 300px;
  border-top: 1px #d2d2d2 solid;
  border-left: 1px #d2d2d2 solid;
  border-bottom: 1px #d2d2d2 solid;
  border-right: none;
  border-radius: 5px 0 0 5px;
}

#other_shopping .search-form input[type=submit] {
  background: url(/common/img/icon_search.png) #215078 no-repeat center center;
  border: none;
  padding: 11px 20px;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
}

#other_shopping .search-form-wrap > a {
  font-size: 12px;
  font-weight: bold;
  margin-left: 8px;
  text-decoration: underline;
  cursor: pointer;
  @media(max-width:768px) {
    margin-top: 7px;
  }
}

#other_shopping .search-form-wrap > p {
  font-size: 13px;
  font-weight: normal;
  color: #666;
  padding: 0 0 0 20px;
  @media(max-width:768px) {
    margin-top: 7px;
  }
}

.heart-button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 32px;
  display: block;
  position: absolute;
  right: -1px;
  bottom: -9px;
  @media(max-width:768px) {
    right: 5px;
    bottom: 4px;
  }
}

.heart {
  color: #ccc;
  transition: color 0.2s ease;
  font-size: 30px;
}

.heart.active {
  color: red;
}