.category-image {
  width: 100%;
  height: auto;
}

.bg-pink {
  #background: #ffaec9;
 background: #FBA3D5;
}

.text-white {
  color: #fff;
}

.text-lightpink {
  color: #ff0062;
}

.text-green {
  color: #0c8b43;
}

.item-category li {
  padding-left: 0;
  width: 40%;
  text-align: center;
  border-top: 1px solid #e5e5e5;
  border-right: 1px solid #e5e5e5;
  border-left: 1px solid #e5e5e5;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
}

.item-category > * > :first-child {
  padding: 5px 10px;
  font-size: 1.2rem;
}

.item-category li.uk-active:first-child a {
  color: #fff;
  #background-color: #ffaec9;
 background-color: #FBA3D5;
}

.item-category li.uk-active:nth-child(2) a {
  color: #fff;
  background-color: #71e25c;
}

.search-tag {
  display: inline-block;
  padding: 5px 10px;
  background: #fff;
  white-space: nowrap;
}

.search-tag:hover {
  color: #ff0062;
  background: #fff;
  #border: 1px solid #ffaec9;
border: 1px solid #FBA3D5;
}

.search-item .uk-search-default .uk-search-input {
  height: 50px;
  background: #fff;
  padding-left: 20px;
}

.search-item .uk-search-icon {
  color: #fff;
  border-radius: 0px 500px 500px 0px;
  border: 1px solid #fff;
  width: 60px;
}

#tab-commercial .search-item .uk-search-icon {
  background: #ff0062;
}

#tab-business .search-item .uk-search-icon {
  background: #0c8b43;
}

.search-item .uk-search-default {
  width: 290px;
}

.search-result__hit-num {
  font-size: 1.5rem;
}

.bg-white {
  background: #fff;
}

.text-emphasis {
  font-size: 1.5em;
}

.allergy-button {
  border-radius: 10px;
  color: #ff0062;
  font-size: 16px;
}

.allergy-button:before {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-top: 1px solid;
  border-right: 1px solid;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

#tab-commercial .allergy-button {
  color: #ff0062;
}

#tab-commercial .allergy-button:hover {
  background-color: #ff0062;
  #border: 1px solid #ffaec9;
border: 1px solid #FBA3D5;
  color: #fff;
}

#tab-business .allergy-button {
  color: #0c8b43;
}

#tab-business .allergy-button:hover {
  background: #0c8b43;
  border: 1px solid #71e25c;
  color: #fff;
}

.uk-grid:has(.category-item)  {
  padding-right: 20px;
  padding-left: 20px;
}

.uk-grid:has(.category-item) .category-item:not(.uk-first-column)  {
  margin-left: 25px;
}

.uk-grid:has(.category-item) .category-item:nth-child(n+5) {
  margin-top: 25px;
}

@media (max-width: 480px) {
  .uk-grid:has(.category-item) .category-item:not(.uk-first-column)  {
    margin-left: 20px;
  }

  .uk-grid:has(.category-item) .category-item:nth-child(n+3) {
    margin-top: 20px;
  }
}

.uk-grid:has(.category-item).uk-child-width-1-4\@s>* {
  width: calc(25% - 20px);
}

@media (max-width: 480px) {
  .uk-grid:has(.category-item).uk-child-width-1-4\@s>* {
    width: calc(50% - 10px);
  }
}

.category-link {
  display: block;
  text-decoration: none;
  color: #000;
  border-radius: 10px;
  background-color: rgb(253, 248, 240);
  box-shadow: 0px 3px 9px 0.3px rgba(85, 85, 85, 0.2);
  border: none;
  cursor: pointer;
}

.category-link:hover {
  text-decoration: none;
  color: #ff0062;
}

.category-name {
  margin-bottom: 0;
}

@media (max-width: 480px) {
  .category-item:nth-child(2) .hukidashi:after {
    left: 47px;
  }
}

.shihan_box {
  #border: #ffaec9 solid 3px;
border: #FBA3D5 solid 3px;
  border-radius: 5px;
}

.gyomu_box {
  border: #71e25c solid 3px;
  border-radius: 5px;
}

.category-gyomu {
  padding-right: 20px;
  padding-left: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 480px) {
  .category-gyomu {
    grid-template-columns: 1fr;
  }
}

.category-gyomu--cat2 {
  margin-top: 20px;
}

.category-gyomu--cat3 {
  margin-top: 50px;
}

.category-gyomu + .uk-text-center.uk-padding {
  margin-top: 50px;
}

.category-gyomu-item .category-link {
  display: flex;
  align-items: center;
  justify-content: start;
  width: 100%;
  padding: 0;
  gap: 0 20px;
}

.category-gyomu-item .category-image {
  width: 120px;
  border-radius: 10px 0 0 10px;
}

.category-gyomu-item .category-name {
  flex-grow: 1;
  text-align: left;
}

/*220311商品検索カテゴリーボタン*/

.category-button {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 15px;
}
#tab-business .category-button:hover {
background: #0c8b43;
    border: 1px solid #71e25c;
    color: #fff;
}

#tab-commercial .category-button:hover {
background-color: #ff0062;
    border: 1px solid #ffaec9;
    border: 1px solid #FBA3D5;
    color: #fff;
}
@media (max-width: 480px) {

.uk-child-width-1-3 .category-box {
    width: 100%;
}
}


/**
#keywordSearch {
  scroll-margin-top: 80px;
}**/

