/*====== Product ======*/
.section-item .section-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 740px) {
  .section-item .section-inner {
    grid-template-columns: 1fr 1fr;
  }

  .grid.item-images { grid-row: 1/3; grid-column: 1; }
  .grid.item-desc { grid-row: 1; grid-column: 2; }
  .grid.item-carts { grid-row: 2; grid-column: 2; }
  .grid.item-tab { grid-row: 3; grid-column: 2; }
  .grid.item-other { grid-row: 3; grid-column: 1; }
}

@media (min-width: 960px) {
  .section-item .section-inner {
    gap: 4rem;
  }
}

/*====== Images ======*/
.item-images {
  position: relative;
  overflow: hidden;
}

.item-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.item-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  transition-property: transform;
  box-sizing: content-box;
  z-index: 1;
}

.item-figure {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
  transition-property: transform;
}

.item-figure img {
  width: 100%;
}

.thumbnail-list {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  margin-top: 1rem;
}

.item-thumbnail {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--c-white);
  overflow: hidden;
}

.item-thumbnail img {
  width: 100%;
}

.item-thumbnail.current {
  border: 1px solid var(--c-main);
}

.optname {
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  padding: 1rem;
}

.item-figure .optname {
  bottom: 1rem;
  padding: 0.5rem 1.5rem;
  font-size: 1.3rem;
  background-color: rgba(245, 235, 235, 0.9);
}

.item-thumbnail .optname {
  width: 100%;
  font-size: 0.9rem;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 0.2rem;
  line-height: 1.1;
  overflow: hidden;
}

body:not(.touch) .item-figure a {
  cursor: zoom-in;
}

.slide-prevnext {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  margin-top: 50%;
  z-index: 10;
}

.button-prev,
.button-next {
  position: absolute;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 3.6rem;
  background-color: var(--c-secondry);
  transform: translateY(-50%);
  cursor: pointer;
}

.button-prev {
  left: 1rem;
}

.button-next {
  right: 1rem;
}

.button-prev::after,
.button-next::after {
  content: "";
  width: 1.2rem;
  height: 1.2rem;
  border-top: 2px solid var(--c-white);
}

.button-prev::after {
  border-left: 2px solid var(--c-white);
  transform: translateX(25%) rotate(-45deg);
}

.button-next::after {
  border-right: 2px solid var(--c-white);
  transform: translateX(-25%) rotate(45deg);
}

@media (max-width: 399px) {
  .item-thumbnail .optname {
    height: 100%;
  }
}

@media (min-width: 520px) {
  .item-thumbnail .optname {
    font-size: 1.2rem;
    padding: 0.4rem;
    line-height: 1.2;
  }

  .slide-prevnext {
    display: block;
  }
}


@media (min-width: 740px) {    
  .thumbnail-list {
    grid-template-columns: repeat(6, 1fr);
  }

  .item-thumbnail .optname {
    font-size: 1rem;
    padding: 0.2rem;
    line-height: 1;
  }
}

@media (min-width: 960px) {
  .thumbnail-list {
    grid-template-columns: repeat(8, 1fr);
  }

  .item-thumbnail .optname {
    font-size: 1.1rem;
    padding: 0.3rem;
    line-height: 1.2;
  }
}

@media (min-width: 1280px) {
  .thumbnail-list {
    grid-template-columns: repeat(9, 1fr);
  }

  .item-thumbnail .optname {
    padding: 0.4rem;
  }
}

/*====== Item Info ======*/
.item-desc {
  border-bottom: 1px solid var(--c-secondry);
}

.item-desc-header {
  position: relative;
  padding: 3rem 0 0;
}

.item-name {
  padding: 5rem 1rem 2rem;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.5;
  border-top: 1px solid var(--c-secondry);
}

.item-name::before {
  content: attr(data-en);
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  color: var(--c-primary);
  font-size: 1.6rem;
  font-weight: 400;
  max-width: calc(100% - 8rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-brand {
  position: absolute;
  top: -1rem;
  right: 0;
  width: 8rem;
  padding: 0.5rem;
  border: 1px solid var(--c-secondry);
  background-color: var(--c-white);
}

.item-prices {
  padding: 0 1rem;
}

.item-price {
  font-size: 2.2rem;
  font-weight: 700;
}

.item-trought {
  font-size: 1.6rem;
  font-weight: 700;
}

.item-discount {
  color: var(--c-main);
  font-size: 2.2rem;
  font-weight: 700;
}

.price-arrow {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--c-text);
}

.item-prices .tax {
  font-size: 1.6rem;
  font-weight: 400;
  padding-left: 0.8rem;
}

.item-throught + .tax {
  font-size: 1.4rem;
}

.item-discount + .tax {
  color: var(--c-main);
}

.item-soldout {
  display: inline-block;
  padding: 0.5rem 2rem;
  margin-bottom: 2.5rem;
  color: var(--c-white);
  font-size: 1.8rem;
  font-weight: 700;
  background-color: var(--c-main);
}

.item-point {
  padding: 2rem 0;
  font-size: 1.4rem;
  font-weight: 400;
}

.item-point span {
  font-size: 1.6rem;
  font-weight: 700;
  padding-right: 0.5rem;
}

.favorite-button {
  position: relative;
  padding-bottom: 1rem;
}

.favbtn {
  position: absolute;
  top: -5.7rem;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border: 1px solid var(--c-primary);
  background-color: var(--c-white);
  border-radius: 5rem;
  cursor: pointer;
}

.favbtn-img {
  width: 2rem;
  height: 2rem;
  padding-top: 0.2rem;
  fill: var(--c-secondry);
}

.favbtn .favtxt,
.favbtn .favtxtadd {
  display: none;
}

.favbtn.is-added {
  border: none;
  background-color: var(--c-main);
}

.favbtn.is-added .favbtn-img {
  fill: var(--c-white);
}

.options-title {
  margin: 2rem 0; 
  padding: 1rem 2rem;
  font-size: 1.4rem;
  font-weight: 700;
  background-color: rgb(231, 228, 226);
}

.option-unit-list-item {
  padding: 0 1rem 3rem;
}

.option-title {
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  font-size: 1.6rem;
  font-weight: 700;
  border-bottom: 1px solid var(--c-secondry);
}

.option-unit-list-item-inner {
  position: relative;
  display: flex;
  justify-content: space-between;
}

.option-thumbnail {
  width: 20%;
  margin-top: 1rem;
  margin-right: 1rem;
}

.option-unit-list-list {
  width: calc(80% - 1rem);
  border-bottom: 1px solid var(--c-tertiary);

}

.option-unit-list-list::before {
  content: "¥µ¥¤¥º";
  display: block;
  padding: 0.4rem 0 0.8rem;
  color: var(--c-primary);
  font-size: 1.4rem;
  font-weight: 700;
  border-bottom: 1px solid var(--c-tertiary);
}

.option-unit-list-list-item {
  padding: 0.8rem 0 0.8rem 1rem;
}

.option-unit-list-list-item + .option-unit-list-list-item {
  border-top: 1px solid var(--c-tertiary);
}

.option-unit-list-list-size {
  padding-bottom: 1rem;
}

.option-size {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 700;
}

.option-stock {
  font-size: 1.2rem;
  padding-left: 1rem;
}

.no-stock { color: var(--c-secondry); }
.few-stock { color: #989883; }

.cart-unit-btn {
  display: flex;
  justify-content: flex-end;
}

.cart-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 3rem;
  background-color: var(--c-secondry);
  color: var(--c-white);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 3rem;
  border-radius: 4rem;
  cursor: pointer;
}

.cart-btn-icon {
  fill: var(--c-white);
  width: 1.6rem;
  height: 1.6rem;
}

.cart-btn-soldout {
  color: var(--c-secondry);
  background-color: rgb(244, 239, 239);
}

.item-exp-subtitle {
  margin: 2rem 0; 
  padding: 1rem 2rem;
  font-size: 1.4rem;
  font-weight: 700;
  background-color: rgb(231, 228, 226);
}

.item-inq {
  display: flex;
  justify-content: flex-end;
  margin-right: 1rem;
}

.item-inq-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 3rem;
  color: var(--c-primary);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 3rem;
  border: 1px solid var(--c-primary);
  background-color: var(--c-white);
  border-radius: 5rem;
  cursor: pointer;
}

.item-exp-header {
  padding: 0 1rem;
}

.item-exp-title {
  padding: 2rem 0;
  font-size: 1.8rem;
  font-weight: 700;
}

.item-exp-title::before {
  content: attr(data-en);
  display: block;
  padding-bottom: 1rem;
  color: var(--c-primary);
  font-size: 1.6rem;
}

.item-model {
  color: var(--c-primary);
  font-size: 1.3rem;
}

.topic-path {
  padding: 2rem 1rem;
}

.topic-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.item-explain {
  padding: 2rem 1rem;
}

.product-item-desc p {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

.product-other-list {
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  padding: 1rem 0;
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
}

.product-other-dt {
  width: 20%;
  padding: 0.4rem 0 0.4rem 1rem;
  font-size: 1.4rem;
  font-weight: 700;
}

.product-other-dd {
  width: 80%;
  padding: 4px 0;
  font-size: 1.4rem;
  font-weight: 400;
}

.product-sizetable {
  min-width: 100%;
  margin-bottom: 20px;
  border-bottom: 1px solid #ccc;
  font-size: 1.4rem;
}

.product-sizetable th {
  padding: 0.5rem 1rem;
  font-weight: 700;
  line-height: 1.3;
  vertical-align: top;
  background-color: #eee;
  border-top: 1px solid #ccc;
  text-align: center;
}

.product-sizetable td {
  padding: 0.5rem 1rem;
  font-weight: 400;
  line-height: 1.3;
  vertical-align: top;
  border-top: 1px solid #ccc;
  text-align: center;
}

.product-item-notice {
  margin-bottom: 20px;
}

.product-item-notice p {
  margin-bottom: 1rem;;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.5;
  color: #999;
}

.item-notice {
  padding: 2rem 1rem;
}

.item-subtitle {
  padding-bottom: 0.8rem;
  margin-bottom: 2rem;
  color: var(--c-primary);
  font-size: 1.4rem;
  font-weight: 700;
  border-bottom: 1px solid var(--c-secondry);
}

.together-items {
  margin-bottom: 3rem;
}

.together-list {
  display: flex;
  flex-wrap: wrap;
}

.together-item {
  position: relative;
  width: calc(100% / 3 - 2rem);
  margin: 0 1rem;
}

.together-images {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.lcl-fig-mainimg {
  width: 100%;
}

.item-notice-desc {
  padding: 0 1rem; 
  margin-bottom: 4rem;
}

.item-notice-desc p {
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  line-height: 1.75;
}

.sizeguide {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 2rem;
}

.sizeguide a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 2rem;
  color: var(--c-secondry);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 2.4rem;
  border: 1px solid var(--c-secondry);
  background-color: var(--c-white);
  border-radius: 4rem;
  cursor: pointer;
}

@media (min-width: 380px) {
  .option-unit-list-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .option-unit-list-list-size {
    padding-bottom: 0;
  }

  .option-stock {
    display: block;
    padding-left: 0;
  }
}

@media (min-width: 520px) {
  .item-name {
    padding: 6rem 1rem 2rem;
  }

  .item-brand {
    top: -2rem;
    width: 10rem;
  }

  .option-stock {
    display: inline-block;
    padding-left: 1rem;
  }
}

@media (min-width: 740px) {
  .option-unit-list-list-item {
    display: block;
  }

  .option-unit-list-list-size {
    padding-bottom: 1rem;
  }
}

@media (min-width: 960px) {
  .item-name {
    padding: 7rem 1rem 3rem;
    font-size: 2.2rem;
  }

  .item-brand {
    top: -3rem;
    width: 12rem;
  }

  .item-point {
    padding: 3rem 0;
  }
  
  .item-point span {
    font-size: 1.8rem;
  }

  .favbtn {
    top: -6.3rem;
    right: 1rem;
    padding: 0.5rem 3rem;
    color: var(--c-primary);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 3rem;
  }

  .favbtn-img {
    width: 1.6rem;
    height: 1.6rem;
    fill: var(--c-secondry);
  }

  .favbtn .favtxt {
    display: block;
  }

  .favbtn .favtxtadd {
    display: none;
  }

  .favbtn.is-added {
    color: var(--c-main);
    background-color: var(--c-white);
    border: 1px solid var(--c-main);
  }

  .favbtn.is-added .favbtn-img {
    fill: var(--c-main);
  }

  .favbtn.is-added .favtxt {
    display: none;
  }

  .favbtn.is-added .favtxtadd {
    display: block;
  }

  .options-title {
    margin: 3rem 0; 
  }

  .option-thumbnail {
    width: 20%;
    margin-top: 2rem;
    margin-right: 2rem;
  }
  
  .option-unit-list-list {
    width: calc(80% - 2rem);
  }
  
  .option-unit-list-list-item {
    display: flex;
    padding: 0.8rem 1rem;
  }

  .option-unit-list-list-size {
    padding-bottom: 0;
  }

  .option-stock {
    display: block;
    padding-left: 0;
  }
}

@media (min-width: 1280px) {
  .option-stock {
    display: inline-block;
    padding-left: 1rem;
  }
}