.cart-main {
  margin-top: -10px;
}
.cart-main__ttl {
  font-size: 36px;
}
.cart-main__desc {
  font-weight: 500;
  margin-top: 10px;
}
.cart-main__bnr {
  margin-top: 20px;
}

.cart-table {
  border-bottom: 1px solid #a7a7a7;
  margin-top: 51px;
}
.cart-table td, .cart-table th {
  padding-left: 5px;
  padding-right: 5px;
  vertical-align: middle;
}
.cart-table td:first-child, .cart-table th:first-child {
  padding-left: 0;
}
.cart-table td:last-child, .cart-table th:last-child {
  padding-right: 0;
}
.cart-table__head span {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #004490;
  border-radius: 5px;
  height: 34px;
}
.cart-table__item {
  border-top: 1px solid #a7a7a7;
}
.cart-table__item:first-child, .cart-table__item--option {
  border-top: none;
}

.cart-item-info {
  padding-top: 34px;
  padding-bottom: 40px;
}
.cart-item-info__main {
  display: flex;
  align-items: center;
  gap: 24px;
  transition: opacity 0.2s ease;
}
.cart-item-info__main:hover {
  opacity: 0.7;
}
.cart-item-info__img {
  flex: 0 0 100px;
}
.cart-item-info__img img {
  width: 100%;
  aspect-ratio: 1/1;
  -o-object-fit: contain;
     object-fit: contain;
}
.cart-item-info__name {
  flex: 1;
  min-width: 0;
  color: #555;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.cart-item-quantity {
  display: flex;
  justify-content: center;
  gap: 0 8px;
  width: 120px;
}
.cart-item-quantity input[type=text] {
  width: 40px;
  height: 28px;
  background: #fff;
  border-radius: 5px;
  border: 1px solid #a7a7a7;
  color: #555;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  padding-bottom: 3px;
  text-align: center;
}
.cart-item-quantity__change {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 28px;
  background: #111;
  border: 1px solid #111;
  border-radius: 5px;
  color: #fff;
  font-size: 14px;
  padding-bottom: 1px;
  transition: 0.2s;
}
.cart-item-quantity__change:hover {
  color: #111;
  background: #fff;
}

.cart-item-price {
  width: 120px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
}

.cart-item-delete {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 120px;
  height: 28px;
  border: 1px solid #a7a7a7;
  border-radius: 5px;
  color: #555;
  font-size: 14px;
  padding-bottom: 1px;
  transition: 0.2s;
}
.cart-item-delete:hover {
  color: #fff;
  background: #a7a7a7;
}

.cart-item-options {
  position: relative;
  color: #555;
  line-height: 1.5;
  letter-spacing: 0.08em;
  padding-left: 140px;
  padding-bottom: 40px;
}
.cart-item-options::before {
  content: "";
  position: absolute;
  left: 90px;
  top: -5px;
  display: block;
  width: 31px;
  height: 25px;
  background: url(../img/cart/basket_option.webp) center/contain no-repeat;
}

.cart-total-price {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  margin-top: 6px;
}
.cart-total-price__label, .cart-total-price__amount {
  color: #e60012;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.cart-total-price__num {
  font-size: 34px;
  letter-spacing: 0.06em;
}

.cart-head-sp {
  display: none;
}

.cart-step {
  width: 85%;
  margin-inline: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: clamp(50px, 11.333vw, 85px);
}
.cart-step__list {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.cart-step__item {
  width: clamp(30px, 6vw, 45px);
  flex-shrink: 0;
  position: relative;
}
.cart-step__item:last-of-type .cart-step__num::after {
  content: none;
}
.cart-step__item.is-active .cart-step__num {
  background: #014490;
}
.cart-step__item.is-active .cart-step__num::after {
  background: #014490;
}
.cart-step__item.is-active .cart-step__txt {
  color: #014490;
}
.cart-step__num {
  width: clamp(30px, 6vw, 45px);
  height: auto;
  aspect-ratio: 1/1;
  background: #585858;
  border-radius: 999px;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
  color: #fff;
  font-size: clamp(14px, 2.667vw, 20px);
  font-weight: 600;
  position: relative;
}
.cart-step__num::after {
  content: "";
  width: 21.3333333333vw;
  height: clamp(4px, 0.933vw, 7px);
  background: #585858;
  position: absolute;
  left: calc(100% - 10px);
  top: 50%;
  translate: 0 -50%;
}
.cart-step__txt {
  position: absolute;
  left: 50%;
  translate: -50% 0;
  margin-inline: auto;
  white-space: nowrap;
  text-align: center;
  top: calc(100% + 10px);
  font-size: clamp(12px, 2.133vw, 16px);
  line-height: 1;
  font-weight: 600;
  color: #585858;
}

.cart-table-sp {
  display: none;
}

.cart-item-sp:not(:first-child) {
  margin-top: 30px;
}
.cart-item-sp__price-area {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #f7f7f7;
  padding: 10px;
}
.cart-item-sp__price {
  display: flex;
  align-items: center;
}
.cart-item-sp__price-label {
  font-size: 12px;
  margin-right: 6px;
}
.cart-item-sp__price-unit {
  font-size: 12px;
  color: #E60011;
}
.cart-item-sp__quantity {
  display: flex;
  align-items: center;
}
.cart-item-sp__del {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
}
.cart-item-sp__option-ttl {
  font-size: 14px;
  font-weight: 500;
}

.cart-buttons {
  display: flex;
  gap: 28px;
  margin-top: 40px;
}
.cart-buttons__item {
  flex: 1;
}
.cart-buttons__item a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 80px;
  font-size: 20px;
  font-weight: 700;
  border-radius: 5px;
  transition: 0.2s;
}
.cart-buttons__item--back a {
  border: 1px solid #004490;
  color: #004490;
}
.cart-buttons__item--back a:hover {
  color: #fff;
  background: #004490;
}
.cart-buttons__item--order a {
  background: #e60012;
  color: #fff;
  border: 1px solid #e60012;
}
.cart-buttons__item--order a:hover {
  color: #e60012;
  background: #fff;
}

.cart-amazonpay {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 436px;
  height: 80px;
  margin: 30px auto 0;
}

.cart-contact01 {
  display: flex;
  -moz-column-gap: 30px;
       column-gap: 30px;
  margin-top: 80px;
}
.cart-contact01__item {
  width: 50%;
}
.cart-contact01__item-ttl {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  color: #fff;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.5;
  text-align: center;
  border-radius: 10px 10px 0 0;
}
.cart-contact01__item-ttl::before {
  content: "";
  display: inline-block;
}
.cart-contact01__item--line .cart-contact01__item-ttl {
  background: url(../img/cart/bg01.png) center/cover no-repeat;
}
.cart-contact01__item--line .cart-contact01__item-ttl::before {
  width: 35px;
  height: 32px;
  background: url(../img/common/icon-line.svg) center/contain no-repeat;
  margin-right: 4px;
}
.cart-contact01__item--tel .cart-contact01__item-ttl {
  background-color: #004490;
  letter-spacing: 0.04em;
  padding-right: 10px;
}
.cart-contact01__item--tel .cart-contact01__item-ttl::before {
  width: 31px;
  height: 33px;
  background: url(../img/common/icon-phone_w.svg) center/contain no-repeat;
  margin-right: 11px;
}
.cart-contact01__item-main {
  height: 208px;
  display: flex;
  align-items: center;
  flex-direction: column;
  border-radius: 0 0 10px 10px;
}
.cart-contact01__item--line .cart-contact01__item-main {
  border-left: 2px solid #39cd00;
  border-right: 2px solid #39cd00;
  border-bottom: 2px solid #39cd00;
  justify-content: space-between;
}
.cart-contact01__item--tel .cart-contact01__item-main {
  border-left: 2px solid #004490;
  border-right: 2px solid #004490;
  border-bottom: 2px solid #004490;
  justify-content: center;
  padding-bottom: 10px;
}
.cart-contact01__item-txt {
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  line-height: 1.3333333333;
  margin-top: 5px;
  letter-spacing: 0.07em;
}
.cart-contact01__item-img {
  margin-bottom: -2px;
}
.cart-contact01__item-catch {
  position: relative;
  display: block;
  width: -moz-max-content;
  width: max-content;
  background: #fff000;
  border-radius: 40px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  margin: 0 0 11px 44px;
  padding: 11px 23px;
  text-align: center;
}
.cart-contact01__item-catch::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -45.5px;
  display: block;
  width: 64px;
  height: 72px;
  background: url(../img/cart/icon01.png) center/contain no-repeat;
}
.cart-contact01__item-catch::after {
  content: "";
  position: absolute;
  top: calc(100% - 1px);
  left: 38px;
  display: block;
  width: 0;
  height: 0;
  border-top: solid 13px #fff000;
  border-right: solid 13px transparent;
  transform: skewX(-41deg);
}
.cart-contact01__item-num {
  color: #004490;
  font-family: "DM Sans", sans-serif;
  font-size: 42px;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-left: 12px;
  line-height: 1;
  text-align: center;
  transition: 0.2s;
}
.cart-contact01__item-num:hover {
  opacity: 0.8;
}
.cart-contact01__item-time {
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  letter-spacing: 0.05em;
  line-height: 1.5;
  margin-top: 5px;
  text-align: center;
  margin-left: 18px;
}

.cart-option {
  margin-top: 44px;
}

.cart-voice {
  margin-top: 40px;
}

.cart-contact02 {
  margin-top: 40px;
}

.cart-checked {
  margin-top: 74px;
}

@media screen and (min-width: 751px) {
  .cart-checked {
    margin-top: 40px;
  }
  .cart-checked .c-product-item:nth-child(n+4) {
    display: none;
  }
}

@media screen and (max-width: 1200px) {
  .cart-contact01__item-ttl {
    font-size: 16px;
    height: 35px;
  }
  .cart-contact01__item--line .cart-contact01__item-ttl::before {
    width: 22.5px;
    height: 20px;
    margin-right: 4px;
  }
  .cart-contact01__item--tel .cart-contact01__item-ttl::before {
    width: 14px;
    height: 15.5px;
    margin-right: 8px;
  }
  .cart-contact01__item-txt {
    font-size: 15px;
  }
  .cart-contact01__item-catch {
    font-size: 12px;
    margin: 0 auto 9px;
    padding: 9px 23px;
    transform: none;
  }
  .cart-contact01__item-catch::before {
    top: -5px;
    left: -26px;
    width: 45px;
    height: 56px;
  }
  .cart-contact01__item-catch::after {
    left: 32px;
    border-width: 10px 12px 0 0;
  }
  .cart-contact01__item-num {
    font-size: 34px;
    letter-spacing: 0.02em;
  }
  .cart-contact01__item-time {
    font-size: 12px;
    letter-spacing: 0.06em;
    margin-top: 1px;
  }
}

@media screen and (max-width: 1050px) and (min-width: 960px) {
  .cart-item-info__main {
    flex-direction: column;
  }
  .cart-item-info__img {
    flex: auto;
    width: 100px;
    margin: auto;
  }
}

@media screen and (max-width: 750px) {
  .cart-main {
    margin-top: 0;
  }
  .cart-main__ttl {
    font-size: 27px;
  }
  .cart-main__bnr {
    margin-top: 12px;
  }
  .cart-table {
    display: none;
  }
  .cart-item-info {
    padding: 15px 0;
  }
  .cart-item-quantity {
    width: auto;
    gap: 0 6px;
  }
  .cart-item-quantity input[type=text] {
    width: 35px;
    height: 28px;
    border-radius: 2.5px;
    font-size: 16px;
    padding-bottom: 0;
  }
  .cart-item-quantity__change {
    width: 40px;
    height: 28px;
    border-radius: 2.5px;
  }
  .cart-item-price {
    width: auto;
    font-size: 14px;
    letter-spacing: 0.06em;
    color: #e60012;
  }
  .cart-item-delete {
    width: 90px;
    height: 28px;
    border-radius: 2.5px;
    font-size: 12px;
  }
  .cart-item-options {
    padding-left: 0;
    padding-bottom: 0;
  }
  .cart-item-options::before {
    display: none;
  }
  .cart-item-options__item {
    font-size: 12px;
    margin-top: 5px;
  }
  .cart-item-options__name {
    font-weight: 500;
  }
  .cart-item-options__value {
    background-color: #f7f7f7;
    margin-top: 3px;
    padding: 5px 10px;
  }
  .cart-total-price {
    justify-content: space-between;
    background: #f7f7f7;
    margin-top: 40px;
    padding: 0 10px;
  }
  .cart-total-price__label, .cart-total-price__amount {
    font-size: 14px;
    letter-spacing: 0.06em;
  }
  .cart-total-price__label {
    color: #111;
  }
  .cart-total-price__num {
    font-size: 25px;
    letter-spacing: 0.06em;
  }
  .cart-head-sp {
    display: block;
    margin-top: 30px;
  }
  .cart-head-sp__txt {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
    text-align: center;
  }
  .cart-table-sp {
    display: block;
    margin-top: 30px;
  }
  .cart-buttons {
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
  }
  .cart-contact01 {
    flex-direction: column;
    row-gap: 15px;
    margin-top: 30px;
  }
  .cart-contact01__item {
    width: 100%;
  }
  .cart-contact01__item--tel .cart-contact01__item-main {
    height: 120px;
  }
  .cart-option {
    width: calc(100% + 40px);
    margin: 40px -20px 0;
  }
  .cart-contact02 {
    width: calc(100% + 40px);
    margin: 40px -20px 0;
  }
}
