/* ---------------------------------
Eric Meyer's Reset CSS v2.0
http://cssreset.com
--------------------------------- */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  margin: 0;
  padding: 0;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
main {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

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

a:focus {
  outline: none;
}
a {
  color: inherit;
}

input,
label,
select,
button,
textarea {
  margin: 0;
  border: 0;
  padding: 0;
  display: inline-block;
  vertical-align: middle;
  white-space: normal;
  background: none;
  line-height: 1;
  text-align: left;
  font-size: inherit;
  font-family: inherit;
  color: inherit;
  box-sizing: border-box;
}

button,
textarea,
input,
select {
  outline: 0;
}

select {
  appearance: none;
}

button,
input[type="reset"],
input[type="button"],
input[type="submit"] {
  cursor: pointer;
}

/* ---------------------------------
Default Styles
--------------------------------- */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, "微軟正黑體", sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.main-content {
  max-width: 930px;
  width: 100%;
  margin: auto;
  padding: 2.8125rem 0;
  background-color: #fff;
  box-shadow: 0 0 10px 0 rgba(184, 184, 184, 0.8);
}

.inner-container {
  padding: 0 2.5rem;
}

.column {
  display: flex;
  flex-wrap: wrap;
}

.column--2 .column__item {
  flex: 0 0 50%;
  max-width: 50%;
}

@media only screen and (max-width: 768px) {
  .inner-container {
    padding: 0 1.25rem;
  }

  .column--2 .column__item {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ---------------------------------
Header
--------------------------------- */

.head {
  margin-bottom: 2.5rem;
}

.head__heading {
  position: relative;
  display: inline-block;
  color: #036db3;
  font-size: 1.875rem;
  font-weight: bold;
  line-height: 1.2;
}

.head__heading--triangle::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  margin-top: 8px;
  margin-left: 10px;
  border-top: 6px solid transparent;
  border-left: 12px solid #036db3;
  border-bottom: 6px solid transparent;
}

.head__info {
  align-items: center;
  margin-top: 1.125rem;
  text-align: center;
  background-color: #006db7;
  color: #fff;
}

.head__info-right {
  position: relative;
}

.head__info-right::before {
  content: "";
  display: block;
  position: absolute;
  top: 18px;
  width: 1px;
  height: 30px;
  background-color: #fff;
}

.head__info-title {
  padding: 1.375rem 0.625rem;
  line-height: 1.2;
  font-size: 1.25rem;
  font-weight: bold;
}

@media only screen and (max-width: 768px) {
  .head__info-left .head__info-title {
    padding-bottom: 0;
  }

  .head__info-right::before {
    display: none;
  }
}

/* ---------------------------------
Register Form
--------------------------------- */
.border-container {
  padding: 2.5rem 4.375rem;
  border: 1px solid #006db7;
  border-radius: 8px;
}

.form__field {
  margin-bottom: 1rem;
}

.form__field--agreement {
  /* margin-top: 2.5rem;*/
  margin-bottom: 1.875rem;
}

.form__label {
  width: 120px;
  margin: 0 0rem 0 3rem;
  text-align: left;
  color: #595757;
  font-size: 1rem;
  font-weight: bold;
}

.form__input {
  width: 200px;
  height: 35px;
  padding: 0.625rem;
  border: 1px solid;
  border-color: #c2c2c2;
  border-radius: 5px;
  color: #595757;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.form__input.has-error {
  border-color: #fc642d;
}

.form__selects-row {
  display: inline-flex;
  align-items: center;
}

.form__selects-row span {
  margin-left: 0.5rem;
  margin-right: 1.125rem;
  line-height: 1.5;
}

.form__select-column {
  display: flex;
  align-items: center;
}

.form__select-wrapper {
  position: relative;
  display: inline-block;
  width: 80px;
  height: 35px;
  border: 1px solid #c2c2c2;
  border-radius: 5px;
  overflow: hidden;
}

.form__select-wrapper::before,
.form__select-wrapper::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 6px;
  width: 0;
  height: 0;
  border: 4px dashed;
  border-color: #595757 transparent;
  z-index: 2;
  pointer-events: none;
}

.form__select-wrapper::before {
  border-bottom-style: solid;
  border-top: none;
}

.form__select-wrapper::after {
  margin-top: 7px;
  border-top-style: solid;
  border-bottom: none;
}

.form__select-wrapper.has-error {
  border: 1px solid #fc642d;
}

.form__select {
  position: relative;
  width: 140%; /* 遮住 IE11 預設下拉箭頭 */
  height: 35px;
  padding: 6px 10px;
  line-height: 1.3;
  color: #595757;
  -webkit-appearance: none;
}

.form__info,
.form__error-text {
  display: block;
  margin-top: 8px;
  margin-left: 177px;
  font-size: 0.875rem;
}

.form__info,
.form__info-forget-link {
  color: #595757;
}

.form__error-text {
  color: #d93900;
}

.form__error-text--agreement {
  margin-left: 1.5rem;
}

.form__label-check {
  display: block;
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #7f7f7f;
  cursor: pointer;
}

.form__highlight {
  font-size: 1.125rem;
  color: #036db3;
}

.form__checkbox {
  position: absolute;
  top: 7px;
  left: 0;
  width: 15px;
  height: 15px;
  border: 1px solid;
  border-color: #c2c2c2;
  border-radius: 2px;
  background-color: #fff;
}

.form__checkbox::after {
  content: "";
  display: none;
  position: absolute;
  top: 2px;
  left: 5px;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form__checkbox.has-error {
  border-color: #fc642d;
}

input.form__checkbox-hidden {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

input.form__checkbox-hidden:checked ~ .form__checkbox {
  border: 0;
  background-color: #006db7;
}

input.form__checkbox-hidden:checked ~ .form__checkbox::after {
  display: block;
}

.form__btn-wrapper {
  width: 145px;
  height: 40px;
  margin: auto;
  text-align: center;
}

.form__submit-btn {
  width: 100%;
  height: 100%;
  background-color: #006db7;
  background: transparent -webkit-gradient(
      linear,
      left top,
      right top,
      from(#046db4),
      color-stop(0%, #046db4),
      color-stop(99%, #0892cd),
      to(#0892cd)
    ) 0% 0% no-repeat padding-box;
  background: transparent
    linear-gradient(90deg, #046db4 0%, #046db4 0%, #0892cd 99%, #0892cd 100%) 0%
    0% no-repeat padding-box;
  box-shadow: 2.9px 4.1px 0 0 rgba(184, 184, 184, 0.8);
  color: #fff;
  border-radius: 20px;
  text-align: center;
  font-size: 1rem;
  font-weight: bold;
}

@media only screen and (max-width: 768px) {
  .border-container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .form__label {
    display: block;
    width: auto;
    margin-right: 0;
    margin-left: 0rem;
    margin-bottom: 0.5rem;
    text-align: left;
  }

  .form__input {
    width: 100%;
  }

  .form__info,
  .form__error-text,
  .form__note {
    margin-left: 0;
  }

  .form__error-text--agreement {
    margin-left: 1.5rem;
  }

  .form__selects-row {
    flex-direction: column;
    width: 100%;
  }

  .form__selects-row span {
    margin-right: 0.5rem;
  }

  .form__select-column {
    width: 100%;
    margin-bottom: 3px;
  }

  .form__select-wrapper {
    width: 100%;
  }

  .form__btn-wrapper {
    width: 100%;
    height: 45px;
  }
}

@media only screen and (max-width: 480px) {
  .form__select-wrapper {
    margin-top: 2px;
  }
}

/* ---------------------------------
Success Result
--------------------------------- */
.success__column {
  padding: 0 1.25rem;
}

.success__item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.success__column .success__item:not(:last-of-type) {
  padding-bottom: 1.25rem;
}

.success__item-title,
.success__item-text {
  font-size: 1rem;
  line-height: 1.5;
}

.success__item-title {
  width: 120px;
  margin: 0 0rem 0 3rem;
  text-align: left;
  color: #595757;
  font-weight: bold;
}

.success__item-text {
  width: 200px;
  height: 35px;
  padding: 0.625rem;
  border-radius: 5px;
  color: #595757;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

@media only screen and (max-width: 768px) {
  .success {
    flex-direction: column;
    flex-wrap: nowrap;
  }

  .success__column {
    padding: 0;
  }

  .success__column:first-of-type {
    margin-bottom: 1.25rem;
  }

  .success__item-title {
    flex: 0 0 110px;
  }

  .success__item-text {
    flex: 1;
  }
}

/* ---------------------------------
Notices
--------------------------------- */
.register__notices {
  margin: 2.1875rem 0 2.1875rem;
}

.register__notices img {
  width: 100%;
  float: unset !important;
}

.block:not(:last-of-type) {
  margin-bottom: 1.5rem;
}

.block h2 {
  margin-bottom: 0.625rem;
  font-size: 1.25rem;
  font-weight: bold;
  color: #036db3;
}

.block p {
  position: relative;
  font-size: 1rem;
  line-height: 1.8;
  color: #595757;
}

.block--notice li {
  display: flex;
  align-items: flex-start;
  position: relative;
  font-size: 1rem;
  line-height: 1.8;
  color: #595757;
}

.block--notice li::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  margin-top: 12px;
  margin-right: 0.5rem;
  padding-right: 3px;
  border-radius: 50%;
  background: #595757;
}

.block--data ol {
  margin-left: 2.25rem;
  list-style-type: decimal;
}

.block--data li {
  position: relative;
  font-size: 1rem;
  line-height: 1.8;
  color: #595757;
}

/* ---------------------------------
End
--------------------------------- */
.end {
  display: flex;
  align-items: center;
  padding-top: 2.125rem;
  border-top: 1px solid #c2c2c2;
  color: #595757;
}

.end__title {
  width: auto;
  font-size: 1.625rem;
}

.end__text {
  flex: 1;
  padding-left: 1rem;
  font-size: 0.875rem;
  line-height: 1.3;
}
.end-img {
  max-width: 250px;
  width: 100%;
  margin: 0 auto;
}
.end-img img {
  width: 100%;
}

@media only screen and (max-width: 768px) {
  .end {
    flex-direction: column;
    align-items: flex-start;
  }

  .end__text {
    padding-left: 0;
    padding-top: 0.875rem;
  }
}

.gotoNotices {
  color: #7f7f7f;
}
