@charset "UTF-8";
/*
 Theme Name:   Astra Child
 Template:     astra
*/

/*パンくずリスト*/
.custom-breadcrumb{
    display:flex;
    justify-content:flex-end;
    align-items:center;
    flex-wrap:wrap;
    gap:.4em;
    font-size:14px;
}
@media screen and (max-width: 500px) {
  .custom-breadcrumb {
    font-size: 12px;
  }
}

.custom-breadcrumb a{
    color:inherit;
    text-decoration:none;
    transition:.2s;
}

.custom-breadcrumb a:hover{
    opacity:.7;
}

.custom-breadcrumb .sep{
    opacity:.5;
}

.custom-breadcrumb .current{
    color:var(--main-color4);
    font-weight:600;
}

/*製品紹介のショートコード*/
.product-card-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

@media screen and (max-width: 820px) {
  .product-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}
a.product-link {
  text-decoration: none !important;
  color: inherit;
}

article.product-card {
  background: rgba(255, 255, 255, 0.5);
  overflow: hidden;
  transition: 0.3s;
  min-width: 0;
}

article.product-card:hover {
  transform: translateY(-4px);
}

.product-card .img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  background-color: aliceblue;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media screen and (max-width: 820px) {

}

.product-card .text-wrap {
  padding: 10px;
}

h3.product-title {
  font-size: 18px;
  margin-bottom: 10px;
}

span.product-categories {
  display: block;
  font-size: 14px;
  margin-right: 8px;
  border-left: 3px solid var(--main-color4);
  padding-left: 5px;
}

span.product-tags {
  display: inline-block;
  font-size: 12px;
  margin-right: 6px;
  border: 1px solid #ddd;
  background-color: #fff;
  padding: 0.2em 0.5em;
  border-radius: 10px;
}



/*製品紹介のショートコード（カテゴリ）*/
.product-category-group .product-category-title{
    margin:10px 0 10px;
    padding-bottom:8px;
    border-bottom:2px solid #333;
    font-size:1.5rem;
}

.product-category-group .product-list{
    list-style:none;
    margin:0 0 0 0;
    padding:0;
}

.product-category-group .product-item{
    border-bottom:1px solid #ddd;
}

.product-category-group .product-item a{
    display:block;
    padding:10px 0;
    text-decoration:none;
    color:inherit;
    transition:.2s;
}

.product-category-group .product-item a:hover{
    padding-left:8px;
    color:#0073aa;
}

