/* reset */
*,
*::before,
*::after,
button {
  box-sizing: border-box;
}

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

html {
  text-size-adjust: 100%;
}

body {
  line-height: 1;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
  content: "";
  content: none;
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  text-decoration: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

input,
select {
  vertical-align: middle;
}

img {
  vertical-align: bottom;
}

button {
  appearance: none;
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

:where(button, [type="button"], [type="reset"], [type="submit"]) {
  touch-action: manipulation;
}

:where(dialog) {
  width: unset;
  max-width: unset;
  height: unset;
  max-height: unset;
  padding: unset;
  color: unset;
  background-color: unset;
  border: unset;
  overflow: unset;
}

:where(:root[data-mousedown] dialog *) {
  outline: none;
}

[data-modal-open]:where(:root[data-mousedown] *) {
  outline: none;
}

/* page */
body {
  background: #E8DABF;
  color: #3C3C43;
  font-family: Helvetica Neue,Helvetica,Noto Sans JP,sans-serif;
  line-height: 1.6;
  position: relative;
  height: 100%;
}

img {
  width: 100%;
  vertical-align: middle;
}

.inner {
  margin-left: 15px;
  margin-right: 15px;
}

.card {
  background: linear-gradient(to bottom, #7F0019 0%, #7F0019 calc(100% - 27px), #E8DABF calc(100% - 27px), #E8DABF 100%);
}

.card__faq {
  text-align: right;
  line-height: 1;
  padding: 8px 0;
}

.card__faq__link {
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  display: inline-block;
  text-decoration: underline;
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}

.card__faq__link::before {
  content: "";
  width: 16px;
  height: 16px;
  background: url("../img/faq.svg") no-repeat center / contain;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.card__wrapper {
  background: #F2F1ED;
  border-radius: 8px;
}

.card__inner {
  padding: 24px 30px 0;
}

.card__head {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.card__logo {
  display: block;
  flex: 1;
  line-height: 1;
  max-width: 112px;
}

.card__point {
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
  text-align: right;
}

@media screen and (min-width: 375px) {
  .card__logo {
    max-width: 143px;
  }

  .card__point {
    font-size: 20px;
  }  
}

@media screen and (min-width: 430px) {
  .card__point {
    font-size: 22px;
  }
}

.card__point span {
  display: inline-block;
  padding-left: 2px;
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
}

.card__note {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.02em;
  margin-top: 6px;
  text-align: left;
}

.card__code {
  /* margin-top: 12px; */
}

.card__num {
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
  letter-spacing: 0.02em;
  margin-top: 8px;
  text-align: left;
  padding-left: 8px;
}

.card__buttonWrap {
  background: #fff;
  border-radius: 0 0 8px 8px;
  border-top: 1px solid #d8d8d9;
  padding: 16px 30px;
  margin-top: 16px;
}

.card__button {
  border-radius: 4px;
  background: #F4EEDE;
  color: #3c3c43;
  display: block;
  text-align: center;
  padding: 8px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  line-height: 1.6;
}

.mp {
  margin-top: 24px;
  background: #fff;
  border-radius: 4px;
  padding: 15px;
}

.mp__head {
  display: flex;
  align-items: center;
}

.mp__logo {
  width: 48px;
  margin-right: 12px;
}

.mp__cta {
  font-size: 14px;
  font-weight: bold;
  line-height: 1.4;
  margin-right: 15px;
  text-align: left;
  flex: 1;
}

.mp__button {
  background: #3c3c43;
  border-radius: 100px;
  color: #fff;
  display: inline-block;
  font-size: 14px;
  line-height: 1.6;
  padding: 8px 20px;
  text-align: center;
  width: 76px;
}

.mp__desc {
  font-size: 12px;
  line-height: 1.6;
  font-weight: 400;
  text-align: left;
  margin-top: 8px;
}

.loading::after {
  box-sizing: content-box;
}

#barcodeImg {
  mix-blend-mode: multiply;
}
