@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&family=Zen+Maru+Gothic:wght@400;500;700&display=swap");
.js-breakpointSp {
  width: 750px;
}

.js-viewportWidthSp {
  width: 375px;
}

.js-viewportWidthTb {
  width: 1280px;
}

.js-viewportWidthPc {
  width: 1500px;
}

.sqd {
  margin: 0 auto;
  padding: 8px 4px;
  color: #333;
  font-family: -apple-system, "Hiragino Sans", "Noto Sans JP", sans-serif;
  line-height: 1.7;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.sqd *,
.sqd *::before,
.sqd *::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.sqd-title {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  margin: 16px 0 18px;
}

.sqd-desc {
  color: #555;
  margin: 0 0 18px;
  text-align: left;
}

.sqd-amount-display {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  border: 2px solid #d2a14b;
  border-radius: 8px;
  padding: 12px 20px;
  margin-bottom: 14px;
}

.sqd-yen {
  color: #d2a14b;
  font-size: 22px;
  font-weight: 700;
}

.sqd-amount-input {
  border: 0;
  outline: 0;
  background: transparent;
  text-align: right;
  color: #d2a14b;
  font-size: 30px;
  font-weight: 700;
  width: 70%;
  font-family: inherit;
}

.sqd-presets {
  gap: 12px;
  margin-bottom: 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
@media screen and (max-width: 375px) {
  .sqd-presets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }
}

.sqd-preset {
  background: #ededeb;
  border: 0;
  border-radius: 8px;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 700;
  color: #555;
  cursor: pointer;
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
          box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  font-family: inherit;
}
.sqd-preset.is-active {
  background: #d2a14b;
  color: #fff;
}

.sqd-section-title {
  font-size: 18px;
  font-weight: 700;
  margin: 80px 0 18px;
  text-align: left;
}

.sqd-field {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
@media (max-width: 480px) {
  .sqd-field {
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
  }
}

.sqd-label {
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 96px;
      -ms-flex: 0 0 96px;
          flex: 0 0 96px;
  font-size: 14px;
  font-weight: 700;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 6px;
}
@media (max-width: 480px) {
  .sqd-label {
    -webkit-flex-basis: 100%;
        -ms-flex-preferred-size: 100%;
            flex-basis: 100%;
  }
}

.sqd-required {
  background: #d2a14b;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

.sqd-input {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
      -ms-flex: 1;
          flex: 1;
  border: 1px solid #cfcfcf;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
  min-width: 0;
}
.sqd-input::-webkit-input-placeholder {
  color: #b3b3b3;
}
.sqd-input::-moz-placeholder {
  color: #b3b3b3;
}
.sqd-input:-ms-input-placeholder {
  color: #b3b3b3;
}
.sqd-input::-ms-input-placeholder {
  color: #b3b3b3;
}
.sqd-input::placeholder {
  color: #b3b3b3;
}
.sqd-input:focus {
  outline: 0;
  border-color: #d2a14b;
}

.sqd-pay-methods {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  gap: 14px;
  margin: 16px 0;
}

.sqd-pay-method {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
      -ms-flex: 1;
          flex: 1;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 8px;
  border: 1px solid #d2a14b;
  border-radius: 8px;
  padding: 14px;
  cursor: pointer;
  color: #d2a14b;
  font-weight: 700;
}
.sqd-pay-method input {
  accent-color: #d2a14b;
}

.sqd-card-container {
  margin: 16px 0 28px;
}

.sqd-summary {
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  padding: 20px 22px;
  margin-bottom: 28px;
}

.sqd-summary-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px;
  padding-bottom: 14px;
  border-bottom: 1px dashed #d0d0d0;
}

.sqd-summary-row {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  font-size: 14px;
  padding: 9px 0;
  border-bottom: 1px dashed #e2e2e2;
}

.sqd-summary-total {
  border-bottom: 0;
  font-weight: 700;
  font-size: 16px;
  padding-top: 14px;
}

.sqd-submit {
  width: 100%;
  background: #d2a14b;
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 18px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  font-family: inherit;
}
.sqd-submit:hover {
  background: #c2913e;
}
.sqd-submit:disabled {
  opacity: 0.6;
  cursor: default;
}

.sqd-arrow {
  position: absolute;
  right: 18px;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-size: 14px;
}

.sqd-message {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 14px;
}
.sqd-message.is-error {
  background: #fdecec;
  color: #c0392b;
}
.sqd-message.is-success {
  background: #eef7ec;
  color: #2e7d32;
}