@charset "UTF-8";

/*====================================================================
product
====================================================================*/

.product {
  --color-main: #E72B5C;

  /* font-size */
  --fs-base: 12px;
}

.product table {
  border-collapse: collapse;
  border-spacing: 0;
  border: 0;
  width: 100%;
}

.product th,
.product td {
  padding: 0;
  border: 0;
  margin: 0;
  text-align: left;
  vertical-align: top;
  font-weight: normal;
}

.product {
    margin-bottom: 5em;
    margin-top: 100px;
    max-width: 1200px;
    margin-inline: auto;
    font-size: var(--fs-base);
}
@media screen and (min-width: 1025px) {
	.product_inner {
	    display: grid;
	    grid-template-columns: repeat(2, 1fr);
	    grid-template-rows: 0fr 1fr;
	    grid-row-gap: 0px;
	}

	.product_slider {
	    margin-bottom: 50px;
	    grid-area: 1 / 1 / 3 / 2;
	}
}
/*------ slick -------*/

.sliderArea {
    max-width: 580px;
    width: 100%;
}
.slick-slide {
	margin: 0 5px;
}
.slick-initialized .slick-slide {
    display: block;
    height: fit-content;
}
.slick-slide img {
	object-fit: cover;
}
.slider-item {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 10px;
}

.slider-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product .slick-track {
    margin-left: 0;
    margin-right: 0;
}

.slick-slide {
	transition: all ease-in-out .3s;
	opacity: .2;
}
.slick-active {
	opacity: 1;
}
.slick-current {
	opacity: 1;
}
.thumb {
	margin: 1em 0 0;
}
.thumb .slick-slide {
	cursor: pointer;
}
.thumb .slick-slide:hover {
	opacity: .7;
}

.product_cat {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.product_cat > li {
    line-height: 2.5em;
}

.product_cat li > a {
    color: #FF6600;
    border : 1px solid;
    padding: .5em 1em;
    border-radius: 20px;
    font-size: var(--fs-base);
    white-space: nowrap;
    cursor: pointer;
}

.product_tit {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    margin-bottom: .5em;
}

.product_table {
    margin-bottom: 4rem;
}

.product_table th,
.product_table td {
    padding: 2px 5px;
    font-weight: normal;
    vertical-align: bottom;
}

.product_table th {
    width: 30%;
}

td:not(.product_table_price ) {
    width: 26%;
}

td.product_table_price {
    padding: 2px 5px 2px 0px;
}

.product_table th span,
.product_table td span {
    font-size: 18px;
}

td.product_table_price span {
    font-size: 24px;
    font-weight: 600;
}

.product_note {
    margin-bottom: 1.2em;
    color: var(--color-main);
    font-weight: 600;
}

.product_btn_wrap {
    margin-bottom: 4rem;
}

.product_btn_area {
    margin-bottom: 2em;
}

.product_btn {
    width: 100%;
    background-color: var(--color-main);
    color: #fff;
    border-radius: 2em;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding: .5em 0;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.product_btn::before {
    content: "";
    width: 20px;
    height: 20px;
    background: url("../../images/berrys-sweets-kitchen/icon_cart.svg") no-repeat center / contain;
}

.product_text_tit,.product_text_tit {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: .5em;
}

.product_info dl > div {
    display: flex;
    margin-bottom: .5em;
}

.product_info dl > div :last-child {
    margin-bottom: 0;
}

.product_info dt {
    width: 90px;
    flex-shrink: 0;
}
@media screen and (max-width: 1024px) {
    .product {
        margin: 0 20px 4em;
        padding-top: 3rem;
    }
    .product_table th span,
    .product_table td span {
        display: block;
    }

    td.product_table_price span {
        display: inline;
    }
    .product_inner {
        display: flex;
        flex-direction: column;
    }
    .product_slider {
        order: 2;
        display: flex;
        justify-content: center;
        margin-bottom: 1.2em;
    }
    .product_cat {
        order: 1;
    }
    .product_detail {
        order: 3;
    }
    .product_info {
        order: 4;
    }
    .product_text {
        margin-bottom: 2em;
    }
}

@media screen and (max-width: 750px) {
    #product #breadcrumbs {
        margin-top: 65px;
    }
    #breadcrumbs ol {
        max-width: 1200px;
        width: max-content;
    }
    .product {
        padding-top: 3rem;
    }
    .product_table th {
        width: 35%;
    }
}

@media screen and (max-width: 375px) {
    .product_table th span,
    .product_table td span:not(.product_table_price span) {
        font-size: 17px;
    }
}

/* tagページ用 */
#tag_list #breadcrumbs {
    background: inherit;
    margin: 0 auto;
    margin-top: 105px;
    max-width: 1200px;
    padding-left:0;
}
#breadcrumbs ol{
  margin-left: 0;
}
#breadcrumbs.white li a{
  color:#4c3e31;
}
#breadcrumbs li{
  position: relative;
  & a:after{
    top:0;
    bottom: 0;
    right:0;
    right:5px;
    margin: auto;
    content:"";
    position: absolute;
    width: 6px;
    height: 6px;
    border: 1px solid;
    border-color: #565656 #565656 transparent transparent;
    transform: rotate(45deg);
    color:
  }
}
#breadcrumbs li:last-of-type a:after{
  content:none;
}
.tag_ttl{
  font-size: 24px;
  margin-bottom: 50px;
}
.product_tag_wrap{
  margin-bottom: 60px;
  display:grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap:50px 40px;
}
.product_tag_wrap a{
  color: #4C3E31;
  & img{
    max-width: 100%;
    aspect-ratio: 1 / 1;
      object-fit: cover;
    display: block;
    border-radius: 10px;
    margin-bottom: 15px;
  }
  & h2{
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
  }
  & p{
    font-size: 12px;
    & span{
      font-size: 22px;
      font-weight: bold;
    }
  }
}
.tags_list{
  margin-bottom: 40px;
  & h2{
    text-align: center;
    margin-bottom: 15px;
  }
  & > div{
    display: flex;
    justify-content: center;
    gap:10px;
    & a{
      font-weight: bold;
      text-align: center;
      font-size: 16px;
      display: block;
      border-radius: 30px;
      padding:5px 20px;
      border:solid 1px #f60;
      color: #f60;
      min-width: 180px;
    }
  }
}
@media screen and (max-width: 765px) {
  .product_tag_wrap{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:20px 10px;
  }
  .product_tag_wrap a{
    & img{
      margin-bottom: 5px;
    }

    & h2{
      font-size: 16px;
      font-weight: bold;
      margin-bottom: 10px;
    }
    & p{
      & span{
        font-size: 16px;
      }
    }
  }
}
/* tagページ用 end */
