/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

.gbox .gbox-wrap {
  max-width: none;
  box-sizing: border-box;
  padding: 0;
  margin: 100px 0;
  background-color: transparent;
  width: 814px;
  height: 619px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(./img/gbox-bg.png);
}
@media screen and (max-width: 768px) {
  .gbox .gbox-wrap {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}
.gbox .gbox-content {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 140px 90px 150px 90px;
  font-size: 48px;
  color: #400b09;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gbox .gbox-close {
  width: 68px;
  height: 68px;
  margin: 0;
  padding: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(./img/gbox-close.png);
  top: -50px;
  right: 60px;
}

.gbox-sn .gbox-content {
  flex-direction: column;
}
.gbox-sn .gboxTitle {
  width: 532px;
  height: 53px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(./img/gbox-title-01.png);
  margin-bottom: 30px;
}
.gbox-sn .snContent {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.gbox-sn .snInput {
  width: 453px;
  height: 86px;
  box-sizing: border-box;
  border: 3px solid #cba275;
  background-color: #f5e6bd;
  padding: 25px;
  font-size: 34px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.gbox-sn .snInput span {
  flex-wrap: nowrap;
  overflow: hidden;
  white-space: nowrap;
}
@media screen and (max-width: 768px) {
  .gbox-sn .snInput {
    font-size: 30px;
  }
}
.gbox-sn .copyBtn {
  width: 126px;
  height: 86px;
  box-sizing: border-box;
  border: 3px solid #cba275;
  background-color: #f5e6bd;
  font-size: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.gbox-sn .gboxBtn {
  display: flex;
  margin: 0 auto;
  width: 382px;
  height: 96px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(./img/btn-gboxHomepage.png);
}
.gbox-sn .snText {
  font-size: 24px;
  color: rgb(180, 0, 0);
  text-align: center;
  width: 100%;
}

html {
  font-family: "PingFangTC-Regular", "Heiti TC", "Noto Sans TC", "Microsoft JhengHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
html body {
  font-family: "PingFangTC-Regular", "Heiti TC", "Noto Sans TC", "Microsoft JhengHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  margin: 0;
  font-size: 0;
  background-color: transparent;
  background-color: #000;
}
@media screen and (max-width: 768px) {
  html body {
    min-width: 0;
  }
}

#container {
  width: 100%;
  background-position: top center;
  background-size: auto;
  background-repeat: repeat;
  background-image: url(./img/body-bg.jpg);
  box-sizing: border-box;
  margin: 0 auto;
  padding: 78px 0 60px 0;
}

.header {
  width: 100%;
  min-height: 78px;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #d4b289;
  display: flex;
}

.logo {
  display: flex;
  width: 144px;
  height: 70px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(./img/logo.png);
}

.icon-content {
  width: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}
.icon-content .icon {
  width: 42px;
  height: 42px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.icon-content .icon.f_b {
  background-image: url(./img/icon-f_b.png);
}
.icon-content .icon.i_g {
  background-image: url(./img/icon-i_g.png);
}
.icon-content .icon.y_t {
  background-image: url(./img/icon-y_t.png);
}

.header .content {
  width: 768px;
  margin: 0 auto;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  padding: 0 25px;
}

.main-content {
  display: flex;
  flex-direction: column;
  width: 768px;
  box-sizing: border-box;
  margin: 0 auto;
  padding-top: 60px;
}

.title {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  box-sizing: border-box;
  margin: 0 auto 30px auto;
  margin-bottom: 50px;
}
.title.t1 {
  width: 705px;
  height: 63px;
  background-image: url(./img/title-01.png);
}
.title.t2 {
  width: 705px;
  height: 35px;
  background-image: url(./img/title-02.png);
}

.item-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 15px;
  column-gap: 30px;
  margin-bottom: 50px;
}
.item-content .item {
  width: 204px;
  height: 219px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.item-content .item:nth-child(1) {
  background-image: url(./img/item-01.png);
}
.item-content .item:nth-child(2) {
  background-image: url(./img/item-02.png);
}
.item-content .item:nth-child(3) {
  background-image: url(./img/item-03.png);
}
.item-content .item:nth-child(4) {
  background-image: url(./img/item-04.png);
}
.item-content .item:nth-child(5) {
  background-image: url(./img/item-05.png);
}
.item-content .item:nth-child(6) {
  background-image: url(./img/item-06.png);
}
.item-content .item:nth-child(7) {
  background-image: url(./img/item-07.png);
}
.item-content .item:nth-child(8) {
  background-image: url(./img/item-08.png);
}
.item-content .item:nth-child(9) {
  background-image: url(./img/item-09.png);
}

.phone-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 50px;
}

.choices[data-type*=select-one] {
  width: 247px;
  height: 68px;
  box-sizing: border-box;
  border: 4px solid #cba275;
  background-color: #fbf5e5;
  position: relative;
}
.choices[data-type*=select-one]::after {
  width: 22px;
  height: 12px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(./img/arrow.png);
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
  pointer-events: none;
  margin-top: 0;
  border: none;
  content: "";
}
.choices[data-type*=select-one].is-open::after {
  right: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  margin: 0;
}

.choices__inner[aria-expanded=true],
.is-open .choices__inner,
.is-focused .choices__inner,
.choices__inner {
  width: 100%;
  height: 100%;
  pointer-events: visible;
  font-size: 30px;
  font-weight: bold;
  color: #000000;
  box-sizing: border-box;
  margin: 0 !important;
  padding: 0 !important;
  background-color: transparent !important;
  border: none !important;
  outline: none !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

.choices__item {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-size: 30px;
  font-weight: bold;
  color: #000000;
  background-color: transparent;
  box-sizing: border-box;
  padding: 0 0 0 20px;
}

.choices__list {
  width: 247px;
  height: auto !important;
  display: flex;
  flex-direction: column;
  left: -4px;
}

.choices__list--single {
  width: 100%;
  height: 68px;
  box-sizing: border-box;
  padding: 0 !important;
  margin: 0 !important;
}

.choices__list.choices__list--dropdown {
  width: 247px;
  height: auto;
  background-color: transparent;
  border: none;
  box-sizing: border-box;
  padding: 0;
  border: none;
  margin-top: 4px;
  border-bottom: 4px solid #cba275;
  border-left: 4px solid #cba275;
  border-right: 4px solid #cba275;
  border-color: #cba275 !important;
}
.choices__list.choices__list--dropdown .choices__item {
  background-color: #fbf5e5;
  border: none;
  font-size: 30px;
  color: #000000;
  padding: 10px 0 10px 24px;
}

.choices__list--dropdown .choices__list,
.choices__list[aria-expanded] .choices__list {
  max-height: 200px;
}

.choices__list--dropdown .choices__item--selectable.is-highlighted,
.choices__list[aria-expanded] .choices__item--selectable.is-highlighted {
  background-color: #e3cbac;
  border: none;
  font-size: 30px;
  color: #000000;
}

.choices__item.choices__item--choice.choices__item--disabled {
  display: none;
}

.input-label {
  width: 247px;
  height: 68px;
  box-sizing: border-box;
  border: 4px solid #cba275;
  background-color: #fbf5e5;
}
.input-label input {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  box-sizing: border-box;
  background-color: transparent;
  font-size: 30px;
  color: #000;
  text-align: center;
}

.btn-content {
  position: relative;
}

.btn {
  width: 425px;
  height: 96px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  text-decoration: none;
}
.btn.confirm {
  background-image: url(./img/btn-confirm.png);
  margin: 0 auto;
}

.btn.homepage {
  width: 107px;
  height: 108px;
  background-image: url(./img/btn-homepage.png);
  position: absolute;
  top: 50%;
  transform: translateY(-52%);
  right: 20px;
}

.error-message {
  width: 100%;
  font-size: 22px;
  color: rgb(180, 0, 0);
  text-align: center;
  word-break: break-all;
}