

@charset "UTF-8";

/*tabの形状*/
.tab{
  display: flex;
  margin: 0;
}
.tab li a{
  display: block;
  background:#fed719;
  margin:0 2px;
  padding:10px 10px;
  font-size: min(2vw, 18px);
}
/*liにactiveクラスがついた時の形状*/
.tab li.active a{
    background:#000;
    font-weight: bold;
    font-size: min(2vw, 18px);
}


/* アクティブなタブに逆三角を表示 */
.tab li.active::after {
    content: "";
    border-left: 11px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #000;
    position: relative;
    bottom: -5px;
    left: 45%;
transform: translateX(-50%);
}

  /* アクティブなタブの下に矢印を表示 */
    .arrow {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #000;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    }


/*エリアの表示非表示と形状*/
.area {
  display: none;/*はじめは非表示*/
  opacity: 0;/*透過0*/
  background: #fff;
  padding:20px 20px;
}
@media screen and (max-width: 750px) {
  .area {
   padding: 10px 10px;
  }
}

/*areaにis-activeというクラスがついた時の形状*/
.area.is-active {
    display: block;/*表示*/
    animation-name: displayAnime;/*ふわっと表示させるためのアニメーション*/
    animation-duration: 2s;
    animation-fill-mode: forwards;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}






@keyframes displayAnime{
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}



/*========= レイアウトのためのCSS ===============*/

body{
  background:#fff;
  margin: 0;
  margin: 0;
}

ul{
  list-style:none;
}

a{
  color:#fff;
  text-decoration: none;
}


.wrapper{
  width:100%;
  max-width: 1216px;
  margin: 0 auto;
}
}

.area h2{
  font-size: min(2.5vw, 1.3rem);
    margin: 20px 0;
    text-align: center;
    color: #885a24;
    font-size: 20px;
}

@media screen and (max-width: 428px) {
  .area h2 {
    margin: 0 0;
    font-size: 14px;
  }
}

.area li{
  padding: 0px 10px;
}

.product {
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  padding: 20px;
  margin: 9px;
  width: 30%;
  text-align: center;
  display: inline-block;
  position: relative;
  background: #fff;
}
@media screen and (max-width: 428px) {
  .product {
   width: 30%;padding: 12px;margin: 10px 2px;
  }
}

.product img {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
  border-radius: 10%;
}

.product p {color: #626262;font-size: min(2vw, 18px);}
.ranking-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  background-color: gold;
  color: #fff;
  text-align: center;
  line-height: 40px;
  font-size: 20px;
  border-top-left-radius: 0;
  border-bottom-right-radius: 0;
  transform: rotate(0deg);
}
@media screen and (max-width: 400px) {
  .ranking-icon {
   font-size: min(3vw, 18px);line-height: 29px;
   width: 25px;
   height: 25px;
  }
}

.buy-button {
  background-color: #2b7c9c;
  color: #fff;
  border: none;
  padding: 5px 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin: 10px 0 0 0;
  width: 100%;
  font-size: min(2.5vw, 18px);
}
.buy-button:hover {
  background-color: #5dacbb;
}

.mkakaku {
color: #f00;
font-size: min(2.5vw, 20px);
font-weight: bold;
line-height: 35px;}

@media screen and (max-width: 400px) {
  .mkakaku {
    line-height: 10px;
  }
}

h2 {
  text-align: center;line-height: 14px;
}

.txt_link_rank {
  width: 30%;
  max-width: 750px;
  margin: 40px auto 10px;
  padding: 10px 0;
  text-align: center;
  font-size: 1.5vw;
  color: #ff7f00;
  border: 1px solid #ff7f00;
  border-radius: 4.5rem;
  display: block;
}

.txt_link_rank:hover{background-color:#ff7f00;color:#fff;}