@charset "UTF-8";
.egift_anchor {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0 40px;
  margin: 0;
  flex-wrap: nowrap; 
  gap: 15px;
}

.egift_anchor li {
  flex: 1 1 20%;          
  min-width: 160px;      
  max-width: 260px;      
}

.egift_anchor a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 80px;           
  border: 1px solid #221F20;
  text-decoration: none;
  color: #221F20;
  box-sizing: border-box;
}

.egift_anchor a .en {
  font-family: "BBSans Regular", Helvetica, Arial, sans-serif;
  font-size: 24px;
  line-height:1.2;
}

.egift_anchor a .ja {
  font-family: "BBText Regular", Helvetica, Arial, sans-serif;
  font-size: 16px;
  margin-top: 4px;
}

.egift_anchor a .icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: auto;
}

/* ▼ スマホ（768px以下） */
@media (max-width: 768px) {
  .egift_anchor {
    padding: 40px 20px 0;
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }

  .egift_anchor li {
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  .egift_anchor a {
    height: 70px;    
    padding: 16px 0;
  }

  .egift_anchor a .icon {
    right: 32px;
  }
}



/* ITEMS */

.items_anchor {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0 40px 80px;
  margin: 0 auto;
  flex-wrap: nowrap; 
  gap: 20px;
}

.items_anchor li {
  flex: 1 1 25%;         
  min-width: 160px;
  max-width: 260px;
}

.items_anchor a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 70px;
  border: 1px solid #221F20;
  text-decoration: none;
  color: #221F20;
  box-sizing: border-box;
}


.items_anchor a .ja {
  padding-right: 10px;
  font-family: "BBText Regular", Helvetica, Arial, sans-serif;
  font-weight: bold;
  font-size: 20px;
}

.items_anchor a .icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: auto;
}


/* ▼ スマホ（768px以下）は2列グリッド */
@media (max-width: 768px) {
  .items_anchor {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0 20px 40px;
  }

  .items_anchor li {
    flex: none;        
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  .items_anchor a {
    height: 50px;
    padding: 16px 0;
  }
  .items_anchor a .ja {
  font-size: 15px;
}
  .items_anchor a .icon {
    right: 20px;
  }

}
