.dokopoiLoader,
.dokopoiLoader:after {
  border-radius: 50%;
  width: 3em;
  height: 3em;
}

.dokopoiLoader {
  margin: 0 auto;
  font-size: 10px;
  position: relative;
  text-indent: -9999em;
  border-top: 0.5em solid rgba(255, 255, 255, 0.2);
  border-right: 0.5em solid rgba(255, 255, 255, 0.2);
  border-bottom: 0.5em solid rgba(255, 255, 255, 0.2);
  border-left: 0.5em solid #ffffff;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load8 1.1s infinite linear;
  animation: load8 1.1s infinite linear;
}

@-webkit-keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.dokopoiFieldGroup {
  display: flex;
  max-width: 38.4rem;
  gap: 5px;
  margin-left: auto;
}

#dokopoiPointField {
  width: 100%;
  font-size: 16px;
  border-radius: 3px;
  border: 2px solid #ddd;
  box-sizing: border-box;
}

.dokopoiMinusPoint {
  width: 100%;
}

#dokopoiCartBody {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: right;
  box-sizing: border-box;
}

#pointLabel {
  padding: 1%;
}

/* .dokopoi-pc {
  display: inline !important;
}
.dokopoi-sp {
  display: none !important;
} */

@media screen and (max-width: 750px) {
  #point-body {
    text-align: center;
  }

  .dokopoi_customer {
    width: inherit;
  }

  /* .dokopoi-pc {
    display: none !important;
  }
  .dokopoi-sp {
    display: inline !important;
  } */
}

.dokopoi_customer:not(.dokopoi_account, .order) {
  margin: 6rem auto 9rem;
  max-width: 33.4rem;
  padding: 0 1.5rem;
  text-align: center;
}

@media screen and (min-width: 750px) {
  .dokopoi_customer:not(.dokopoi_account, .order) {
    max-width: 47.8rem;
  }
}

.dokopoi_customer form {
  margin-top: 4rem;
}

.dokopoi_customer button {
  margin: 4rem 0 1.5rem;
}

.dokopoi_customer ul {
  line-height: 1.6;
  padding-left: 4.4rem;
  text-align: left;
  margin-bottom: 4rem;
}

.dokopoi_customer ul a {
  display: inline;
}

.dokopoi_customer strong {
  font-weight: 400;
  color: var(--color-foreground);
}

.dokopoi_customer h2.form__message {
  font-size: 1.8rem;
}

@media only screen and (min-width: 750px) {
  .dokopoi_customer h2.form__message {
    font-size: 2.2rem;
  }
}

.dokopoi_customer .field {
  margin: 2rem 0 0 0;
}

.dokopoi_customer .field:first-of-type {
  margin-top: 0;
}

.dokopoi_customer table {
  table-layout: auto;
  border-collapse: collapse;
  border-bottom: 0.01rem solid var(--color-foreground-20);
  box-shadow: none;
  width: 100%;
  font-size: 1.6rem;
  position: relative;
}

@media screen and (min-width: 750px) {
  .dokopoi_customer table {
    border: none;
    box-shadow: 0 0 0 0.1rem var(--color-foreground-20);
  }
}

.dokopoi_customer tbody {
  color: var(--color-foreground);
}

.dokopoi_customer td,
.dokopoi_customer th {
  font-weight: 400;
  line-height: 1;
  border: none;
  padding: 0;
}

@media screen and (min-width: 750px) {
  .dokopoi_customer td {
    padding-right: 2.2rem;
  }
}

.dokopoi_customer tbody td {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

@media screen and (min-width: 750px) {
  .dokopoi_customer tbody td {
    padding-top: 0;
    padding-bottom: 0;
  }
}

.dokopoi_customer td:empty {
  display: initial;
}

@media screen and (min-width: 750px) {
  .dokopoi_customer td:first-of-type,
  .dokopoi_customer th {
    text-align: left;
    padding-left: 0;
    padding-right: 2.2rem;
  }

  .dokopoi_customer tbody td:first-of-type,
  .dokopoi_customer thead th {
    padding-top: 2.4rem;
    padding-bottom: 2.4rem;
  }
}

.dokopoi_customer thead th {
  font-size: 1.2rem;
  letter-spacing: 0.07rem;
}

@media screen and (min-width: 750px) {
  .dokopoi_customer td:first-of-type,
  .dokopoi_customer th:first-of-type {
    padding-left: 2.2rem;
  }
}

.dokopoi_customer tbody td:first-of-type {
  padding-top: 4rem;
}

@media screen and (min-width: 750px) {
  .dokopoi_customer tbody td:first-of-type {
    padding-top: 2.4rem;
  }
}

.dokopoi_customer tbody td:last-of-type {
  padding-bottom: 4rem;
}

@media screen and (min-width: 750px) {
  .dokopoi_customer tbody td:last-of-type {
    padding-bottom: 0;
  }
}

.dokopoi_customer tbody tr {
  border-top: 0.01rem solid var(--color-foreground-20);
}

@media screen and (min-width: 750px) {
  .dokopoi_customer tbody tr:first-of-type {
    border-top: none;
  }
}

.dokopoi_customer tfoot td,
.dokopoi_customer tfoot td:first-of-type {
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.dokopoi_customer tfoot td:first-of-type {
  text-align: left;
}

.dokopoi_customer tfoot tr:first-of-type td {
  padding-top: 4rem;
}

@media screen and (min-width: 750px) {
  .dokopoi_customer tfoot tr:first-of-type td,
  .dokopoi_customer tfoot tr:first-of-type th {
    padding-top: 2.4rem;
  }
}

.dokopoi_customer tfoot tr:last-of-type td {
  padding-bottom: 4rem;
}

@media screen and (min-width: 750px) {
  .dokopoi_customer tfoot tr:last-of-type td,
  .dokopoi_customer tfoot tr:last-of-type th {
    padding-bottom: 2.4rem;
  }
}

.dokopoi_customer tfoot::before,
.dokopoi_customer thead::after {
  content: ' ';
  height: 0.1rem;
  width: 100%;
  display: block;
  position: absolute;
  left: 0;
  background: var(--color-foreground-20);
}

@media screen and (max-width: 749px) {
  .dokopoi_customer tfoot td:first-of-type,
  .dokopoi_customer th,
  .dokopoi_customer thead {
    display: none;
  }

  .dokopoi_customer td {
    display: flex;
    text-align: right;
  }

  .dokopoi_customer td::before {
    content: attr(data-label);
    padding-right: 2rem;
    flex-grow: 1;
    text-align: left;
  }

  .dokopoi_customer td:first-of-type {
    display: flex;
    align-items: center;
  }

  .dokopoi_customer tr {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
  }
}

.dokopoi_customer .pagination {
  margin-top: 5rem;
  margin-bottom: 7rem;
}

@media screen and (min-width: 990px) {
  .dokopoi_customer .pagination {
    margin-top: 7rem;
    margin-bottom: 10rem;
  }
}

.dokopoi_customer .pagination ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
}

.dokopoi_customer .pagination li {
  flex: 1 1;
  max-width: 4rem;
}

.dokopoi_customer .pagination li:not(:last-child) {
  margin-right: 1rem;
}

.dokopoi_customer .pagination li :first-child {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 4rem;
  width: 100%;
  padding: 0;
  text-decoration: none;
}

.dokopoi_customer .pagination li :first-child svg {
  height: 0.6rem;
}

.dokopoi_customer .pagination li:first-of-type svg {
  margin-left: -0.2rem;
  transform: rotate(90deg);
}

.dokopoi_customer .pagination li:last-of-type svg {
  margin-right: -0.2rem;
  transform: rotate(-90deg);
}

.dokopoi_customer .pagination li [aria-current]::after {
  content: '';
  display: block;
  width: 2rem;
  height: 0.01rem;
  position: absolute;
  bottom: 0.08rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: currentColor;
}

@media screen and (min-width: 750px) {
  .dokopoi-page-width {
    padding: 0 5rem;
  }
}

.dokopoiExchangeRow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.dokopoiExchangeItem {
  width: 30%;
  text-align: center;
  margin: 5px;
}

.dokopoiExchangeItem img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: contain;
}
@media screen and (max-width: 767px) {
  .dokopoiExchangeRow {
    flex-direction: column;
  }
  .dokopoiExchangeItem {
    width: 100%;
  }
}

.btn:hover {
  opacity: 0.8;
}

/* オーバーレイ */
.dokopoiModalOverlay {
  /* 位置を固定 */
  position: fixed;
  top: 0;
  left: 0;
  /* 画面いっぱいに広がるようにする */
  width: 100%;
  height: 100vh;
  /* rgbaを使って60%の黒いオーバーレイにする */
  background: rgba(0, 0, 0, 0.6);
  /* デフォルトでは見えないようにする */
  opacity: 0;
  visibility: hidden;
  /* 表示する際の変化の所要時間 */
  transition: 0.3s;
  display: block !important;
  z-index: 4;
}

/* activeクラスのついたオーバーレイ */
.dokopoiModalOverlay.active {
  /* activeクラスがついたときにオーバーレイを表示する */
  opacity: 1;
  visibility: visible;
}

/* モーダルウィンドウ */
.dokopoiModal {
  max-width: 500px;
  width: 86%;
  padding: 15px 20px;
  background: #fff;
  /* 位置の調整(真ん中に表示) */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* デフォルトでは非表示にしておく */
  opacity: 0;
  visibility: hidden;
  z-index: 5;
  /* 表示の変化にかかる時間 */
  transition: 0.3s;
}

/* activeクラスのついたモーダルウィンドウ */
.dokopoiModal.active {
  opacity: 1;
  visibility: visible;
}

/* モーダルウィンドウ内の閉じるボタン */
.dokopoiModal .close {
  position: absolute;
  top: 10px;
  right: 20px;
  cursor: pointer;
  font-size: 20px;
}

.dokopoiModal h2 {
  font-size: 18px;
  font-weight: normal;
  margin-bottom: 10px;
}

.dokopoiModal p {
  font-size: 13px;
}

#dokopoiInputPointLow input,
#dokopoiInputPointHigh input {
  padding: 10px;
  border-radius: 5px;
  border: 2px solid #ccc;
  font-size: 16px;
  outline: none; /* クリックしたときの枠を非表示 */
}
/* 入力フィールドにフォーカスしたときのスタイル */
#dokopoiInputPointLow input:focus ,
#dokopoiInputPointHigh input:focus {
  border-color: #6e88a6;
  box-shadow: 0 0 5px #6e88a6;
}