:root {
  --color0: #000;
  --color1: #111;
  --color2: #222;
  --color3: #333;
  --color4: #444;
  --color5: #555;
  --color6: #666;
  --color7: #777;
  --color8: #888;
  --color9: #999;
  --colora: #aaa;
  --colorb: #bbb;
  --colorc: #ccc;
  --colord: #ddd;
  --colore: #eee;
  --colorf: #fff;
}

:root {
  --font: "Microsoft JhengHei", Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font);
  margin: 0;
}

body {
  font-family: var(--font);
  background-color: var(--colorf);
  background: url(../images/bd.png) no-repeat center center;
  background-size: cover;
  object-fit: cover;
  font-size: 16px;
  color: var(--color0);
  margin: 0;
  padding: 0;
}

.group-span span {
  background-color: #f3f3f3;
}

.empty {
  height: 30px;
}

@media (min-width: 768px) {
  .empty {
    height: 50px;
  }
}

.inner-title {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding-left: 15px;
}

@media (min-width: 768px) {
  .inner-title {
    padding-left: 0;
  }
}

.inner-left {
  display: flex;
  flex-direction: row;
}

.inner-left span {
  display: block;
  width: 5px;
  height: 82px;
  flex-shrink: 0;
  transform: rotate(16deg);
}

.inner-left span:nth-child(2) {
  width: 5px;
  height: 30px;
  flex-shrink: 0;
  transform: rotate(16deg);
  margin-left: 15px;
}

.inner-right {
  display: flex;
  flex-direction: column;
  margin-left: 6px;
}

.inner-right h2 {
  font-size: 26px;
  font-weight: bold;
  color: var(--color0);
  letter-spacing: 0.25em;
}

.inner-right i {
  display: block;
  width: 220px;
  height: 2px;
  margin: 2px 0;
}

@media (min-width: 768px) {
  .inner-right h2 {
    font-size: 32px;
    letter-spacing: 0.5em;
  }

  .inner-right i {
    width: 280px;
    margin: 6px 0;
  }
}

.inner-right p {
  margin: 0;
  font-size: 16px;
  color: var(--color3);
}

.form-box {
  padding: 10px;
}

.form-item {
  padding: 10px;
  background-color: var(--colorf);
  border-radius: 10px;
}

@media (min-width: 768px) {
  .form-box {
    padding: 40px;
  }
  .form-item {
    padding: 30px;
  }
}

.form-item-title {
  display: inline-block;
  position: relative;
  width: 220px;
}

.left-tit {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 5px 60px 5px 10px;
  font-size: 20px;
  color: var(--colorf);
  font-weight: bold;
  width: 190px;
}

.left-tit svg {
  margin-right: 6px;
}

.right-tit {
  width: 30px;
  height: 46px;
  background-color: var(--colorf);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  position: absolute;
  right: 29px;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 10px;
}

.right-tit-info {
  position: absolute;
  right: 26px;
  top: -4px;
  display: flex;
  align-items: center;
}

.right-tit-info span {
  display: block;
  width: 3px;
  height: 48px;
  transform: rotate(34deg);
  flex-shrink: 0;
  margin: 0 2px;
}

@media (min-width: 768px) {
  .left-tit {
    font-size: 24px;
    width: 200px;
  }

  .right-tit {
    right: 19px;
  }

  .right-tit-info {
    right: 18px;
  }

  .right-tit-info span {
    height: 55px;
  }
}

.form-label {
  color: var(--color3);
  font-size: 16px;
}

.form-control,
.form-select {
  border-color: rgba(0, 0, 0, 0.1);
  padding: 10px;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(0, 0, 0, 0.4);
  box-shadow: none;
}

.form-check {
  width: 10%;
}

.form-item-group {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.form-item-group label.form-label {
  width: 160px;
}

.form-item-group input.form-control {
  width: calc(50% - 160px);
}

@media (max-width: 767.99px) {
  .form-check {
    width: 33.33%;
  }

  .form-item-group {
    flex-direction: column;
  }

  .form-item-group label.form-label {
    width: 100%;
  }

  .form-item-group1 {
    align-items: flex-start;
  }

  .form-item-group1 label.form-label {
    margin: 0;
    height: 0;
  }

  .form-item-group input.form-control {
    width: 100%;
  }
}

mark {
  background-color: rgba(0, 0, 0, 0);
  font-size: 12px;
  color: var(--colora);
}

.form-edit-group {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .form-edit-group {
    flex-direction: row;
    align-items: center;
  }
}

.form-edit-input {
  display: flex;
  align-items: center;
}

.form-edit-input input {
  width: 120px;
}

.form-edit-input span {
  font-size: 16px;
  color: var(--color3);
}

.md-title-box {
  display: none;
}

@media (min-width: 768px) {
  .md-title-box {
    display: flex;
  }

  .md-title-box div {
    font-size: 17px;
    font-weight: bold;
    color: var(--color3);
  }
}

.tit1 {
  display: flex;
  align-items: center;
  font-size: 16px;
  color: var(--color3);
}

.in-input::placeholder {
  color: var(--color3) !important;
}

@media (min-width: 768px) {
  .in-input::placeholder {
    color: var(--colorf) !important;
  }
}

.recaptcha {
  margin-top: 10px;
  margin-bottom: 10px;
}

.back-btn {
  padding: 10px 30px;
  font-size: 16px;
  font-weight: bold;
  color: #333;
  border: 1px solid var(--colorc);
  border-radius: 0;
  transition: all 0.3s ease-in-out;
}

@media (min-width: 768px) {
  .back-btn {
    padding: 10px 60px;
    font-size: 18px;
  }
}

.back-btn:hover {
  box-shadow: 3px 3px 10px var(--colorc);
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-content {
  background-color: var(--colorf);
  padding: 30px;
  border-radius: 10px;
  border: 10px solid var(--colorf);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  min-width: 300px;
  min-height: 500px;
  max-height: 80%;
  width: 80%;
  height: auto;
  position: relative;
  overflow-y: auto;
}

@media (max-width: 575px) {
  .popup-content {
    padding: 15px;
  }
}

.popup-close1 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 10px;
  top: 10px;
  cursor: pointer;
  padding: 5px;
  background-color: var(--color0);
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
}
.popup-close1 svg {
  fill: var(--colorf) !important;
}
