/* =======================================================================
  responsive utility classes
======================================================================= */
/* --- for large viewport --- */
@media screen and (min-width: 769px) {
  select:hover {
    cursor: pointer;
  }
}

/* --- for small viewport --- */
@media screen and (max-width: 768px) {
  .visible-phone {
    display: var(--disp-val, block);
  }
  .visible-tablet {
    display: none;
  }
  .visible-desktop {
    display: none;
  }
  .hidden-phone {
    display: none;
  }
  .hidden-tablet {
    display: var(--disp-val, block);
  }
  .hidden-desktop {
    display: var(--disp-val, block);
  }
}
/* --- for middle viewport --- */
@media screen and (min-width: 769px) and (max-width: 1200px) {
  .visible-phone {
    display: none;
  }
  .visible-tablet {
    display: var(--disp-val, block);
  }
  .visible-desktop {
    display: none;
  }
  .hidden-phone {
    display: var(--disp-val, block);
  }
  .hidden-tablet {
    display: none;
  }
  .visible-desktop {
    display: var(--disp-val, block);
  }
}
/* --- for large viewport --- */
@media screen and (min-width: 1201px) {
  .visible-phone {
    display: none;
  }
  .visible-tablet {
    display: none;
  }
  .visible-desktop {
    display: var(--disp-val, block);
  }
  .hidden-phone {
    display: var(--disp-val, block);
  }
  .hidden-tablet {
    display: var(--disp-val, block);
  }
  .hidden-desktop {
    display: none;
  }
}

/* =======================================================================
  general clesses
======================================================================= */
.transition-color {
  transition: color var(--transition-default);
}

@media screen and (min-width: 769px) {
  .c-sp {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .c-pc {
    display: none;
  }
}

/* =======================================================================
  component | title
======================================================================= */
.c-title {
  font-weight: 600;
  font-size: 2.2rem;
  font-style: normal;
  line-height: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.c-title .c-title_sub {
  display: block;
  padding-top: 0.3rem;
  font-size: 1rem;
  font-weight: 300;
}
@media screen and (max-width: 768px) {
  .c-title {
    font-size: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  .c-title .c-title_sub {
    display: inline-block;
    padding-top: 0;
    padding-left: 1.3rem;
    letter-spacing: 0.08em;
  }
  .area_ttl .c-title .c-title_sub {
    padding-left: 0;
  }
}

/* =======================================================================
  component | button
======================================================================= */
.c-btn-base {
  --btn-width: 40rem;
  --btn-fz: 1.3rem;
  --btn-fw: 400;
  --btn-bg: var(--color-primary);
  --btn-border: 1px solid var(--color-primary);
  --btn-color: #fff;
  width: 100%;
  height: auto;
  display: grid;
  place-content: center;
  font-size: var(--btn-fz);
  font-weight: var(--btn-fw);
  line-height: 1.539;
  color: var(--btn-color);
  background: var(--btn-bg);
  border: var(--btn-border);
  padding: 2rem 0;
}
.c-btn-base.c-btn-base-secondary {
  --btn-color: var(--color-main);
  --btn-bg: #fff;
  --btn-border: 1px solid var(--color-main);
}
@media screen and (min-width: 768px) {
  .c-btn-base {
    width: var(--btn-width);
  }
}
.c-btn-underline {
  display: inline-block;
  font-size: 1.4rem;
}
.c-btn-underline::after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: var(--color-font);
}
@media screen and (min-width: 769px) {
  .c-btn-underline::after {
    transition: width var(--transition-default);
  }
  .c-btn-underline:hover {
    opacity: 1;
  }
  .c-btn-underline:hover::after {
    width: 0;
  }
}
@media screen and (max-width: 768px) {
  .c-btn-underline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 6rem;
    border: 1px solid var(--color-primary);
  }
  .c-btn-underline::after {
    display: none;
  }
}

/* =======================================================================
  component | product
======================================================================= */


/* Item List
---------------------------------------------------------------------- */

.price-fixed + .price-default,
.price-fixed + .detail__price--normal {
  display: none;
}

/* ------ Item List ------ */

.c-product ul {
  display: flex;
  flex-wrap: wrap;
}
.c-product.c-product-slide ul {
  flex-wrap: nowrap;
}

.c-product_item {
  padding: 0 1rem 3.5rem;
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  position: relative;
}

.c-product_item a {
  display: block;
  transition: opacity var(--transition-default);
}

/* -- Ranking -- */

.c-product_rank_num {
  font-family: var(--font-serif);
  border-radius: 50%;
  background: #A8A8A8;
  width: 5rem;
  height: 5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  font-size: 3.2rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 5.7rem;
  padding-left: 0.3rem;
}
.c-product_rank-1 .c-product_rank_num {
  background: #D1BC85;
}
.c-product_rank-2 .c-product_rank_num {
  background: #90A9B4;
}
.c-product_rank-3 .c-product_rank_num {
  background: #B49077;
}

/* -- Thumb Image -- */
.c-product_image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.c-product_image img {
  width: 100%;
  height: auto;
}

/* -- Title -- */
.c-product_name {
  padding: 0 0;
  font-size: var(--text-m);
  line-height: 1.7;
}
.c-product_name a {
  display: inline-block;
}

/* cIcon */
.c-product_icon {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  gap: 0.5rem;
}

.c-icon {
  font-size: 1rem;
  font-weight: 300;
  padding: 0 0.4rem;
  border: 1px solid var(--color-border);
  height: 2.1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

/* 商品アイコン・SOLDOUTなど
---------------------------------------------------------------------- */

.c-product_icon {
  z-index: var(--zindex-middle);
}

.c-product_soldout {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-dim-opaque);
  z-index: var(--zindex-front);
  pointer-events: none;
}

.c-product_soldout_txt {
  color: var(--color-white);
  font-size: 2.4rem;
  font-weight: 400;
  letter-spacing: 0.1em;
}

/* 商品画像エリア
---------------------------------------------------------------------- */

.c-product_image {
  /* --aspect-ratio: 36rem; */
  /* padding-bottom: var(--aspect-ratio);
  overflow: hidden; */
  margin-bottom: 2rem;
}
.c-product_image img {
  /* object-fit: contain;
  object-position: bottom;
  background-color: #fff;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  position: absolute;
  inset: 0;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 0; */
}

/* 商品情報
---------------------------------------------------------------------- */

.c-product_detail {
  --product-inner-padding: 17.2727272727%;
  padding: 2rem 0 0;
}

.c-product_name {
  font-family: var(--font-jp);
  font-size: 1.5rem;
  font-weight: 300;
  margin-top: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

.c-product_caption {
  font-size: var(--text-l);
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

/* 商品価格
---------------------------------------------------------------------- */

.c-product_price {
  margin-top: 0.7rem;
  text-align: center;
}
.c-product_price-cover {
  text-align: center;
}
.c-product_price-cover > a {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.6rem 0.3rem;
  background: var(--color-dim-grey);
  color: #fff;
}
.price_label {
  display: inline-block;
  margin-right: 1rem;
  font-size: 1.1rem;
  font-weight: 300;
}
.price-regular {
  display: inline;
  font-family: var(--font-jp);
  font-size: 1.1rem;
  font-weight: 300;
}

.price-fixed {
  font-size: 1.1rem;
  font-weight: 300;
}

.price-fixed:not(.price-fixed.price-fixed-first) {
  display: flex;
  align-items: flex-end;
}

.price-fixed-first {
  color: var(--color-attention);
  border-bottom: 1px dotted var(--color-attention);
  display: inline-block;
  padding-bottom: 0.35rem;
  margin-bottom: 0.75rem;
}

.price-nonfixed {
  margin-top: 0.5rem;
  font-weight: 300;
  color: #7c7c7c;
}

.price-fixed .price_tax {
  margin-left: 0.3em;
  font-size: 1rem;
}

.price-fixed-first > .price_label-fixed-first {
  font-size: 1.1rem;
  font-weight: 400;
}

.price_label.price_label-fixed {
  border: 1px solid var(--color-primary);
  font-size: 1rem;
  width: 3rem;
  height: 1.8rem;
  display: inline-flex;
  border-radius: 0.4em;
  justify-content: center;
  align-items: center;
  margin-right: 0.7rem;
  color: var(--color-font);
  vertical-align: .2rem;
  font-weight: 300;
}

.price_label.price_label-regular {
  border-color: var(--color-primary);
  color: var(--color-font);
}

.price-discount {
  margin-top: -.6rem;
  color: var(--color-red);
}

.price-fixed .price-discount {
  margin-top: -.6rem;
  color: #7c7c7c;
  font-weight: normal;
}

.price-special {
}

.price-old {
  display: inline-block;
  padding-left: 0.8rem;
  font-size: var(--text-m);
  position: relative;
  color: #7c7c7c;
}

.price-strike {
  text-decoration: line-through;
}

.price_tax {
  display: inline-block;
  font-size: var(--text-xs);
}

.price-after + .price_tax {
  padding-right: .7rem;
  padding-left: .4rem;
}

/* スライダー
---------------------------------------------------------------------- */
.c-product-slide {
  position: relative;
  width: 100%;   
}       
.c-product-slide .swiper-slide {
  height: auto;
}
.c-product-slide .swiper-slide .c-product_contents {
  height: 100%;
}
.c-product-slide .swiper-button-next:after,
.c-product-slide .swiper-button-prev:after {
  display: none;
}
.c-product-slide .swiper-button-next,
.c-product-slide .swiper-button-prev {
  --swiper-navigation-size: 3.6rem;
  width: var(--swiper-navigation-size);
  background: url("data:image/svg+xml,%3Csvg width='36' height='36' viewBox='0 0 36 36' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect opacity='0.55' width='36' height='36' fill='%23333333'/%3E%3Cpath d='M15 12L21 17.5L15 23' stroke='white'/%3E%3C/svg%3E%0A") no-repeat center;
  background-size: 100% auto;
}
.c-product-slide .swiper-button-prev {
  transition: scale(0,-1);
}
.c-product-slide .swiper-button-next,
.c-product-slide .swiper-rtl .swiper-button-prev {
  right: calc(-1*(var(--swiper-navigation-size) / 2));
}
.c-product-slide .swiper-button-prev,
.c-product-slide .swiper-rtl .swiper-button-next {
  left: calc(-1*(var(--swiper-navigation-size) / 2));
}

@media screen and (min-width: 768px) {

  .c-product ul {
    margin-right: 0;
    margin-left: 0;
  }

  .c-product_item {
    width: calc(330* (100% / 1440));
    padding: 2rem 1.8rem 2.8rem;
  }

  .c-product li a:hover {
    opacity: var(--hover-opacity);
  }
  /* -- Title -- */
  .c-product_name {
    padding: 0 0;
    line-height: 1.7;
  }

  .c-icon {
    font-size: 1rem;
  }
  .price-discount_percentage {
    padding: 0.3rem 0.4rem;
  }
  /* off-rate/オフ率設定
  ---------------------------------------------------------------------- */
  .price-discount_percentage {
    display: inline-block;
    font-size: var(--text-xs);
    margin-top: .5rem;
    margin-bottom: .5rem;
    padding: 0.4rem 0.5rem;
    font-weight: 400;
    margin-left: 0;
    color: var(--color-white);
    background-color: var(--color-red);
  }
  .price-discount_percentage {
    padding: 0.3rem 0.4rem;
  }
}


@media screen and (min-width: 768px) and (max-width: 885px) {

  .price_label.price_label-fixed {
    width: 4rem;
  }
}

/* iPad対応 */
@media screen and (min-width: 550px) and (max-width: 768px) {

  .c-product_soldout_txt {
    font-size: 1.1rem;
  }
}

@media screen and (max-width: 768px) {
  
  /* ------ Item List ------ */

  .c-product_item {
    width: 50%;
  }

  /* Item List
  ---------------------------------------------------------------------- */
  .price-fixed + .price-default,
  .price-fixed + .detail__price--normal {
    display: none;
  }

  /* ------ Item List ------ */

  .c-product ul {
    display: flex;
    flex-wrap: wrap;
  }
  .c-product.c-product-slide ul {
    flex-wrap: nowrap;
  }

  .c-product_item {
    padding: 1.4rem 1rem 2rem;
  }

  .c-product_item a {
    display: block;
    transition: opacity var(--transition-default);
  }

  /* -- Ranking -- */

  .c-product_rank_num {
    width: 4rem;
    height: 4rem;
    font-size: 2.3rem;
    margin-bottom: 1.8rem;
    line-height: 1;
    padding-left: 0.2rem;
  }

  /* -- Thumb Image -- */
  .c-product_image {
  }
  /* -- Title -- */
  .c-product_name {
    padding: 0 0;
    line-height: normal;
    
  }
  .c-product_name a {
    display: inline-block;
  }

  /* cIcon */
  .c-product_icon {
    display: flex;
    flex-flow: row wrap;
    gap: .5rem;
  }

  .c-icon {
    font-size: 1rem;
    font-weight: 300;
    padding: 0 0.4rem;
    height: 1.6rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  /* 商品アイコン・SOLDOUTなど
  ---------------------------------------------------------------------- */

  .c-product_icon {
    z-index: var(--zindex-middle);
  }

  .c-product_soldout {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: var(--zindex-front);
    pointer-events: none;
  }

  .c-product_soldout_txt {
    color: var(--color-white);
    font-size: 1.8rem;
  }

  /* 商品画像エリア
  ---------------------------------------------------------------------- */

  .c-product_image {
    margin-bottom: 1.8rem;
  }
  .c-product_image img {
    /* object-fit: contain;
    object-position: bottom;
    background-color: #fff;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    position: absolute;
    inset: 0;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 0; */
  }

  /* 商品情報
  ---------------------------------------------------------------------- */

  .c-product_detail {
    --product-inner-padding: 17.2727272727%;
    padding: 1.8rem 0 0;
  }

  .c-product_name {
    font-size: 1.5rem;
    margin-top: 1.1rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .c-product_name a {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
  }

  .c-product_caption {
    font-size: var(--text-l);
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
  }

  /* 商品価格
  ---------------------------------------------------------------------- */

  .c-product_price {
    margin-top: 0.5rem;
  }
  .c-product_price-cover {
    text-align: center;
    position: relative;
    margin-top: 0.9rem;
  }
  .c-product_price-cover > a {
    display: inline-block;
    font-size: 1rem;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.6rem 0.4rem;
  }
  .price_label {
    display: inline-block;
    margin-right: 1rem;
    font-size: 1.1rem;
    font-weight: 300;
  }
  .price-regular {
    display: inline;
    font-family: var(--font-jp);
    font-size: 1.1rem;
    font-weight: 300;
  }

  .price-fixed {
    font-size: 1.1rem;
    font-weight: 300;
  }

  .price-fixed:not(.price-fixed.price-fixed-first) {
    display: flex;
    align-items: flex-end;
  }

  .price-fixed-first {
    color: var(--color-attention);
    border-bottom: 1px dotted var(--color-attention);
    display: inline-block;
    padding-bottom: 0.35rem;
    margin-bottom: 0.75rem;
  }

  .price-nonfixed {
    margin-top: 0.5rem;
    font-weight: 300;
    color: #7c7c7c;
  }

  .price-fixed .price_tax {
    margin-left: 0.3em;
    font-size: 1rem;
  }

  .price-fixed-first > .price_label-fixed-first {
    font-size: 1.1rem;
    font-weight: 400;
  }

  .price_label.price_label-fixed {
    border: 1px solid var(--color-primary);
    font-size: 1rem;
    width: 3rem;
    height: 1.8rem;
    display: inline-flex;
    border-radius: 0.4em;
    justify-content: center;
    align-items: center;
    margin-right: 0.7rem;
    color: var(--color-font);
    vertical-align: .2rem;
    font-weight: 300;
  }

  .price_label.price_label-regular {
    border-color: var(--color-primary);
    color: var(--color-font);
  }

  .price-discount {
    margin-top: -.6rem;
    color: var(--color-red);
  }

  .price-fixed .price-discount {
    margin-top: -.6rem;
    color: #7c7c7c;
    font-weight: normal;
  }

  .price-special {
  }

  .price-old {
    display: inline-block;
    padding-left: 0.8rem;
    font-size: var(--text-m);
    position: relative;
    color: #7c7c7c;
  }

  .price-strike {
    text-decoration: line-through;
  }

  .price_tax {
    display: inline-block;
    font-size: var(--text-xs);
  }

  .price-after + .price_tax {
    padding-right: .7rem;
    padding-left: .4rem;
  }

  /* スライダー
  ---------------------------------------------------------------------- */
  .c-product-slide .swiper-button-next,
  .c-product-slide .swiper-button-prev {
    display: none;
  }
  .c-product-slide .swiper-button-next,
  .c-product-slide .swiper-rtl .swiper-button-prev {
    right: 0;
  }
  .c-product-slide .swiper-button-prev,
  .c-product-slide .swiper-rtl .swiper-button-next {
    left: 0;
  }



  /* iPad対応 */
  @media screen and (min-width: 550px) and (max-width: 768px) {
    .c-product_item {
      width: 33.333%;
    }
  }

}
/* =======================================================================
  component | pager
======================================================================= */
.c-pager .c-pager_list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 3rem;
}
.c-pager .c-pager_inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: 3.7rem;
}
.c-pager .c-pager_list li {
  font-family: var(--font-jp);
  font-weight: 300;
  font-size: 1.3rem;
  line-height: normal;
}
.c-pager .c-pager_list li.active {
  font-weight: 500;
  border-bottom: 1px solid var(--color-primary);
}
.c-pager .c-pager_arrow {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  background: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.35355 4.35355C9.54882 4.15829 9.54882 3.84171 9.35355 3.64645L6.17157 0.464466C5.97631 0.269203 5.65973 0.269203 5.46447 0.464466C5.2692 0.659728 5.2692 0.97631 5.46447 1.17157L8.29289 4L5.46447 6.82843C5.2692 7.02369 5.2692 7.34027 5.46447 7.53553C5.65973 7.7308 5.97631 7.7308 6.17157 7.53553L9.35355 4.35355ZM4.37115e-08 4.5L9 4.5L9 3.5L-4.37115e-08 3.5L4.37115e-08 4.5Z' fill='black'/%3E%3C/svg%3E%0A") no-repeat center;
  background-size: 100% auto;
}
.c-pager .c-pager_arrow-prev {
  transform: scaleX(-1);
}
@media screen and (max-width: 768px) {
  .c-pager {
    overflow: hidden;
  }
  .c-pager .c-pager_list {
    flex-wrap: nowrap;
    column-gap: 2.2rem;
  }
  .c-pager .c-pager_list li {
    flex-shrink: 0;
  }
  .c-pager .c-pager_inner {
    flex-wrap: nowrap;
    column-gap: 2rem;
  }
  .c-pager .c-pager_arrow {
    display: inline-block;
    width: 0.5rem;
    height: 1rem;
    background: url("data:image/svg+xml,%3Csvg width='6' height='10' viewBox='0 0 6 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L1 9' stroke='black'/%3E%3C/svg%3E%0A") no-repeat center;
    background-size: 100% auto;
  }
}