/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */
html {
  line-height: 1.15;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%; }

body {
  margin: 0; }

article,
aside,
footer,
header,
nav,
section {
  display: block; }

h1 {
  font-size: 2em;
  margin: 0.67em 0; }

figcaption,
figure,
main {
  display: block; }

figure {
  margin: 1em 40px; }

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible; }

pre {
  font-family: monospace, monospace;
  font-size: 1em; }

a {
  background-color: transparent;
  -webkit-text-decoration-skip: objects; }

a:active,
a:hover {
  outline-width: 0; }

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted; }

b,
strong {
  font-weight: inherit; }

b,
strong {
  font-weight: bolder; }

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em; }

dfn {
  font-style: italic; }

mark {
  background-color: #ff0;
  color: #000; }

small {
  font-size: 80%; }

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline; }

sub {
  bottom: -0.25em; }

sup {
  top: -0.5em; }

audio,
video {
  display: inline-block; }

audio:not([controls]) {
  display: none;
  height: 0; }

img {
  border-style: none; }

svg:not(:root) {
  overflow: hidden; }

button,
input,
optgroup,
select,
textarea {
  font-family: sans-serif;
  font-size: 100%;
  line-height: 1.15;
  margin: 0; }

button,
input {
  overflow: visible; }

button,
select {
  text-transform: none; }

button,
html [type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button; }

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0; }

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText; }

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em; }

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal; }

progress {
  display: inline-block;
  vertical-align: baseline; }

textarea {
  overflow: auto; }

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0; }

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto; }

[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px; }

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none; }

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit; }

details,
menu {
  display: block; }

summary {
  display: list-item; }

canvas {
  display: inline-block; }

template {
  display: none; }

[hidden] {
  display: none; }

/* Base setting
   ----------------------------------------------------------------- */
* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box; }

html,
body {
  height: 100%; }

html {
  font-size: 62.5%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -ms-overflow-style: scrollbar; }

body {
  font-weight: 400;
  line-height: 1.3;
  margin: 0;
  padding: 0;
  color: #000;
  background-color: #fff;
  font-family: 'Noto Sans', 'Noto Sans CJK JP', 'Noto Sans CJK TC', 'Noto Sans CJK SC', sans-serif;
  font-size: 14px;
  font-size: 1.4rem; }

p, ul, ol, li, dl, fieldset, h1, h2, h3, dd, table {
  margin: 0;
  padding: 0; }

fieldset {
  border: 0; }

h1 {
  font-weight: bold;
  font-size: 20px;
  font-size: 2rem; }

h2 {
  font-weight: bold;
  font-style: italic;
  font-size: 20px;
  font-size: 2rem; }

h3 {
  font-weight: bold; }

em {
  font-style: normal;
  font-weight: bold; }

table {
  border-collapse: collapse; }

a {
  color: #54668E; }
  a:hover {
    text-decoration: none; }

/* Common
 ----------------------------------------------------------------- */
@media screen {
  body {
    background: #e0e0e0; }

  #voucher {
    width: 210mm;
    min-height: 296mm;
    margin: 5mm auto 0 auto; } }
#voucher {
  page-break-after: always;
  background: #fff; }

section:not(.top) {
  margin-bottom: 20px; }

.notes {
  font-style: italic;
  color: #666; }

em {
  color: #00838F; }

img {
  max-width: 100%; }

header {
  padding: 20px 15px 0 15px;
  background: #eceff1; }
  header h1 p {
    font-weight: normal; }
  header .powered span {
    display: inline-block;
    padding-right: 10px; }
  header .powered img {
    display: inline-block;
    width: 120px;
    vertical-align: middle; }

.top {
  padding: 20px;
  border: solid 10px #eceff1; }

.title .notes {
  margin-top: 3px; }

.title .number {
  text-align: right; }

.logo {
  margin-top: 10px;
  text-align: center; }
  .logo img {
    display: block;
    margin: 10px auto; }

nav {
  margin: 20px 0 0 0;
  padding-bottom: 10px;
  border-bottom: solid 1px #979797; }
  nav a {
    display: inline-block; }

.confirm {
  margin: 20px 0 40px 0;
  padding: 0 20px; }
  .confirm p {
    white-space: pre-wrap; }
    .confirm p a {
      margin-right: 10px; }
    .confirm ul,
    .confirm ol {
      margin-bottom: 20px;
      /* margin-left: 2em; */ }
      .confirm ul:last-of-type,
      .confirm ol:last-of-type {
        margin-bottom: 0; }
    .confirm .block .inner {
      line-height: 1.45; }
    .confirm .inner > .grid > .row > .col:first-child {
      padding-right: 20px;
      text-align: right;
      white-space: nowrap;
      -webkit-box-flex: 1 0 0;
      -moz-box-flex: 1 0 0;
      -ms-flex: 1 0 0;
      -webkit-flex: 1 0 0;
      flex: 1 0 0; }
  .confirm li p {
    white-space: pre-wrap; }

.row {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  -webkit-justify-content: flex-start;
  -moz-justify-content: flex-start;
  justify-content: flex-start; }
  .row:last-of-type {
    padding-bottom: 0; }

.col:first-child {
  font-weight: bold; }

.col:first-child p.ruby {
  font-size: x-small; }

.card {
  padding: 20px;
  border: solid 1px #ccc;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px; }
  .card h3 {
    margin-bottom: 10px; }
  .card .grid .col:first-child {
    -webkit-box-flex: 1 0 0;
    -moz-box-flex: 1 0 0;
    -ms-flex: 1 0 0;
    -webkit-flex: 1 0 0;
    flex: 1 0 0; }
  .card .grid .col:last-child {
    -webkit-box-flex: 3 0 0;
    -moz-box-flex: 3 0 0;
    -ms-flex: 3 0 0;
    -webkit-flex: 3 0 0;
    flex: 3 0 0; }
  .card table {
    width: 100%; }
    .card table tr:nth-of-type(odd) {
      background: #eceff1; }
    .card table td {
      padding: 2px 5px; }

.codes .row {
  padding: 20px;
  border: solid 10px #eceff1;
  border-top: none; }
.codes h3 {
  margin-bottom: 10px;
  font-size: 15px;
  font-size: 1.5rem; }
  .codes h3 span {
    padding-left: 10px; }
.codes .col:first-child {
  font-weight: normal;
  padding-right: 20px; }
.codes .col:last-child img {
  min-width: 90px; }

.copyright {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 14px;
  font-size: 1.4rem; }

/* PC
 ----------------------------------------------------------------- */
.sp {
  display: none; }

#voucher {
  position: relative; }

#voucher.test{
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20height%3D%22150%22%20width%3D%22150%22%3E%0A%0A%20%3Cg%3E%0A%20%20%3Ctitle%3ELayer%201%3C%2Ftitle%3E%0A%20%20%3Ctext%20transform%3D%22rotate(45)%22%20style%3D%22opacity%3A%200.05%3B%22%20font-weight%3D%22bold%22%20stroke%3D%22%23000%22%20xml%3Aspace%3D%22preserve%22%20text-anchor%3D%22start%22%20font-family%3D%22'Noto%20Sans'%2C%20'Noto%20Sans%20CJK%20JP'%2C%20'Noto%20Sans%20CJK%20TC'%2C%20'Noto%20Sans%20CJK%20SC'%2C%20sans-serif%22%20font-size%3D%2250%22%20id%3D%22svg_1%22%20stroke-width%3D%220%22%20fill%3D%22%23000000%22%20x%3D%2240%22%20y%3D%2220%22%3ETEST%3C%2Ftext%3E%0A%20%3C%2Fg%3E%0A%3C%2Fsvg%3E") !important;
  background-position: center;
  background-repeat: repeat;
  }

/* ----- Top Section ----- */
/* header */
header {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-justify-content: space-between;
  -moz-justify-content: space-between;
  justify-content: space-between; }
  header h1,
  header .powerd {
    -webkit-box-flex: 0 1 auto;
    -moz-box-flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    -webkit-flex: 0 1 auto;
    flex: 0 1 auto; }
  header h1 p {
    display: inline;
    margin-left: 30px;
    font-size: 14px;
    font-size: 1.4rem; }
  header .powered {
    padding-top: 5px;
    text-align: right; }

/* voucher detail */
.title {
  margin-bottom: 15px;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-justify-content: space-between;
  -moz-justify-content: space-between;
  justify-content: space-between;
  -webkit-flex-wrap: nowrap;
  -moz-flex-wrap: nowrap;
  -ms-flex-wrap: none;
  flex-wrap: nowrap; }
  .title strong {
    padding-left: 5px;
    font-size: 20px;
    font-size: 2rem; }

.detail {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-justify-content: space-between;
  -moz-justify-content: space-between;
  justify-content: space-between; }
  .detail.lang-zh {
    font-family: 'Noto Sans CJK SC', sans-serif; }
  .detail.lang-zt {
    font-family: 'Noto Sans CJK TC', sans-serif; }
  .detail.lang-ja {
    font-family: 'Noto Sans CJK JP', sans-serif; }
  .detail .grid {
    width: 490px;
    /* -webkit-box-ordinal-group: 0; */
    -webkit-box-ordinal-group: -1; /* 0/1 will not work for wkhtmltopdf */
    -webkit-order: -1;
    -moz-order: -1;
    -ms-flex-order: -1;
    order: -1; }
    .detail .grid .row {
      width: 100%;
      display: -webkit-box;
      display: -moz-box;
      display: -ms-flexbox;
      display: -webkit-flex;
      display: flex; }
      .detail .grid .row.bg {
        font-weight: bold; }
    /* .detail .grid .col {
      -webkit-flex-basis: 0;
      -moz-flex-basis: 0;
      -ms-flex-preferred-size: 0;
      flex-basis: 0; } */ /* remove inner flex for wkhtmltopdf */
      .detail .grid .col:first-child {
        padding-right: 20px;
        text-align: right;
        /* -webkit-box-flex: 1;
        -webkit-flex-grow: 1;
        -moz-flex-grow: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;  */ /* remove inner flex for wkhtmltopdf */
        width: 33%;
      }
      .detail .grid .col:last-child {
        /* -webkit-box-flex: 2;
        -webkit-flex-grow: 2;
        -moz-flex-grow: 2;
        -ms-flex-positive: 2;
        flex-grow: 2;  */ /* remove inner flex for wkhtmltopdf */
        width: 66%;
      }

/* Code single */
.aside {
  width: 180px;
  /* -webkit-box-ordinal-group: 1; */
  -webkit-box-ordinal-group: 2; /* 0/1 will not work for wkhtmltopdf */
  -webkit-order: 0;
  -moz-order: 0;
  -ms-flex-order: 0;
  order: 0;
  /* display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap; */ /* remove for wkhtmltopdf to correctly render (.aside .logo) */
  -webkit-box-align: end;
  -ms-flex-align: end;
  -webkit-align-items: flex-end;
  -moz-align-items: flex-end;
  align-items: flex-end; }
  .aside .code {
    position: relative;
    padding: 10px;
    border: solid 10px #CFD8DC;
    border-radius: 6px;
    margin: 10px 0;
    width: 100%; }
    .aside .code img {
      display: block;
      margin: 0 auto;}
    .aside .code p {
      font-weight: 700;
      font-size: 12px;
    }
  .aside .logo img {
    max-width:180px; }

.logo strong {
  display: block;
  margin-bottom: 10px; }

.row {
  padding: 0 0 10px 0; }

/* ----- Bottom Section ----- */
/* Local nav */
nav a {
  margin-left: 30px; }
  nav a:first-child {
    margin-left: 0; }

/* Comment list */
.confirm {
  font-size: 13px;
  font-size: 1.3rem; }
.confirm.lang-zh {
  font-family: 'Noto Sans CJK SC', sans-serif; }
.confirm.lang-zt {
  font-family: 'Noto Sans CJK TC', sans-serif; }
.confirm.lang-ja {
  font-family: 'Noto Sans CJK JP', sans-serif; }
  .confirm h3 {
    margin-bottom: 5px;
    font-size: 14px;
    font-size: 1.4rem; }
  .confirm .block {
    padding-top: 20px; }
  .confirm .inner {
    padding-left: 20px; }
    .confirm .inner > .grid > .row > .col:last-child {
      -webkit-box-flex: 4 0 0;
      -moz-box-flex: 4 0 0;
      -ms-flex: 4 0 0;
      -webkit-flex: 4 0 0;
      flex: 4 0 0; }

/* contact */
.card-wrap {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-justify-content: space-between;
  -moz-justify-content: space-between;
  justify-content: space-between; }

.card {
  -webkit-flex-basis: 0;
  -moz-flex-basis: 0;
  -ms-flex-preferred-size: 0;
  flex-basis: 0;
  -webkit-box-flex: 1;
  -webkit-flex-grow: 1;
  -moz-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  max-width: 48%;
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 48%;
  -ms-flex: 0 0 48%;
  flex: 0 0 48%; }

.codes .col:last-child {
  padding-right: 20px; }

.col { word-break: break-all; }

.coupon {
  text-align: center;
  display: flex;
  margin: auto;
  margin-top: 30px;
  padding-bottom: 50px;
  width: 60%;
}