.modal {
  line-height: 3.2rem;
  font-weight: 500;
  text-align: left;
  width: 70%;
  /* text-shadow: #000 1px 0 10px; */
  text-align: justify;
  scrollbar-width: none;
  /* padding-left: 16px; */
}

.modal-backdrop {
  /* background-color: rgba(0, 0, 0, 1) !important; */
}

.modal-content {
  background-color: transparent !important;
  background: url(../images/modal/modal_bg_01.png) no-repeat center center;
  background-size: 100% 100%;
  border: none !important;
}

.btn_close {
  max-width: 220px;
}

.form_block .s1_t_03 {
  width: 100%;
  font-size: 2rem;
  background: linear-gradient(to bottom, #fce7ae 10%, #f6b606 55%, #a75c06 95%);
  background-clip: text;
  font-weight: bold;
  color: #daac7287;
}

.modal-header,
.modal-footer {
  border: 0px solid #dee2e6 !important;
  margin-bottom: 0.5rem;
}

#pop_03 .modal-header,
#pop_03 .modal-footer {
  border: 0px solid #dee2e6 !important;
  margin-top: 0.5rem;
}

.modal-body {
  width: 90%;
  margin: auto;
  text-align: center;
  padding-bottom: 0 !important;
}
.modal-footer,
.modal-title {
  text-align: center;
}
.modal-footer {
  padding: 0 0.75rem 0.75rem 0.75rem !important;
  justify-content: center !important;
}
.modal-footer a {
  margin-bottom: 1.5rem;
}

/* 標題的img */

.modal .s1_t_03:after {
  width: 400px;
  height: 110px;
}

.row {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
  align-items: center;
}

.s1_t_07 {
  font-family: 'Noto San TC', 'serif;', 'Maven Pro', 'Droid Sans', 'Myriad Pro', Helvetica, Verdana, Geneva, sans-serif !important;
  position: relative;
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff3ba;
  line-height: 1.3rem;
}

.modal_p p.s1_t_08 {
  position: relative;
  margin-top: 0.5rem;
  font-size: 1.2rem;
  border-radius: 5px;
  line-height: 1.5;
  font-weight: 800;
  color: #fff3ba;
}

.s1_t_08::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 0;
  width: 100%;
  height: 20px;
  background: url(../images/modal/modal03_line.png) no-repeat;
  background-size: 100% auto;
}

.s1_t_09 {
  font-family: 'Noto San TC', 'serif;', 'Maven Pro', 'Droid Sans', 'Myriad Pro', Helvetica, Verdana, Geneva, sans-serif !important;
  position: relative;
  font-size: 2rem;
  font-weight: 900;
  color: #ffffff;
  -webkit-text-fill-color: transparent;
  background: linear-gradient(to bottom, #0f212e 30%, #1f354d 60%, #424960 100%);
  background-clip: text;
  z-index: 3;
  /* width: 40%; */
}

.s1_t_09_1 {
  font-family: 'Noto San TC', 'serif;', 'Maven Pro', 'Droid Sans', 'Myriad Pro', Helvetica, Verdana, Geneva, sans-serif !important;
  position: relative;
  font-size: 2rem;
  font-weight: 900;
  color: #ffffff;
  -webkit-text-fill-color: transparent;
  background: linear-gradient(to bottom, #2e1b01 30%, #3b2002 40%, #994806 100%);
  background-clip: text;
  z-index: 3;
}

.s1_t_09_1 img,
.s1_t_09 img {
  width: 15px;
  margin: 0.5rem;
}

.s1_t_010 {
  font-family: 'Noto San TC', 'serif;', 'Maven Pro', 'Droid Sans', 'Myriad Pro', Helvetica, Verdana, Geneva, sans-serif !important;
  position: relative;
  font-size: 1.3rem;
  font-weight: 800;
  color: #402d14;
}

.modal-header .close {
  margin: auto;
  position: absolute;
  top: -2.5rem;
  right: 0rem;
}

a.close {
  background: url(../images/modal/modal_btn_x.webp) no-repeat center center;
  background-size: 90% 90%;
  width: 40px;
  height: 40px;
}
a:focus {
  outline: 0px dotted !important;
  outline: 0px auto -webkit-focus-ring-color !important;
}

.store a.btn_m {
  display: inline-block !important;
}

.btn_go:active,
.btn_copy:active {
  transform: scale(0.95);
  transition: transform 0.1s ease-in-out;
}

.form-control:disabled {
  background-color: rgba(188, 147, 76, 0.3) !important;
}

.form-control:read-only {
  background-color: #ffffff !important;
  opacity: 1;
}

/* ////////////// 共用：捲軸底色 ////////////// */
.modal-body::-webkit-scrollbar-track,
#modal07 .con::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #fff6c0;
}
/* 捲軸寬度 */
.modal-body::-webkit-scrollbar,
#modal07 .con::-webkit-scrollbar {
  width: 6px;
  background-color: black;
}
/* 捲軸本體顏色 */
.modal-body::-webkit-scrollbar-thumb,
#modal07 .con::-webkit-scrollbar-thumb {
  background-color: #bba765;
}
/* ////////////// 捲軸底色 ////////////// */

.modal_p p {
  font-size: 1.2rem;
  border-radius: 5px;
  line-height: 1.5;
  font-weight: 600;
  color: #fff3ba;
}
p.modal_p_1 {
  background-color: rgba(43, 38, 29, 0.6) !important;
  border: 1px solid rgba(204, 198, 186, 0.4) !important;
  text-align: center !important;
  font-size: 1.4rem !important;
  padding: 1rem 1rem;
  margin-bottom: 0;
}
p.modal_p_2 {
  text-align: center !important;
  font-size: 1.2rem !important;
  background: rgba(43, 38, 29, 0) !important;
  border: none !important;
  font-weight: bolder;
}

p.modal_p_3 {
  margin-bottom: 0rem;
  margin-top: 0.5rem;
  color: #fff3ba;
  line-height: 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
}

p.form_check {
  font-size: 1rem;
  border-radius: 5px;
  line-height: 1.5;
  font-weight: 400;
  color: #fff3ba;
}

.form-check {
  text-align: left;
  font-size: 12px;
}

.form-check a {
  width: 100%;
  height: 100%;
  display: inline;
  color: #eccb8e;
  text-decoration: none;
}

.form-check a:hover {
  color: #c9ab75;
}

.form_check,
.form_check_label {
  font-size: 12px;
  text-align: left;
  padding: 0 5px;
  font-weight: 400;
}

.form_check_label {
  color: #fff3ba;
}

/* ////////////// 各區塊 ////////////// */

/* ////////////// 1. ////////////// */

.store {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}
.store a {
  width: 40%;
  margin: 0.5rem 0;
}

.modal_monsrer {
  position: absolute;
  width: 240px;
  right: -120px;
  bottom: -12px;
  z-index: 5;
  pointer-events: none;
}

@media (max-width: 1600px) {
}
@media (max-width: 1024px) {
}

@media (max-width: 992px) {
  .form-select {
    margin-bottom: 0 !important;
  }
  /* p.modal_p_2 {
    font-size: 1.05rem !important;
  } */

  p.modal_p_3 {
    font-size: 1rem;
  }
}
@media (max-width: 769px) {
  .modal-body .btn_m {
    margin-bottom: 0;
  }
  .form-select {
    font-size: 13.5px !important;
  }
  .d-md-none {
    display: none !important;
  }
  p.modal_p_1 {
    font-size: 1.2rem !important;
    padding: 0.5rem;
  }
}

@media (max-width: 576px) {
  select,
  input {
    font-size: 1rem !important;
  }
  .modal-body a.btn_m {
    max-width: 150px;
    margin: 0;
  }

  .modal_p_1 {
    font-size: 1.2rem !important;
  }
  .modal-footer a {
    margin-bottom: 1rem;
  }
  .modal-footer img {
    max-width: 220px;
  }

  .modal_monsrer {
    /* display: none; */
    width: 180px;
    right: -60px;
    bottom: -15px;
  }

  .s1_t_010 {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  h3 {
    font-size: calc(1.1rem + 0.6vw);
  }
  h3 img {
    max-width: 35px !important;
  }
  .modal-body {
    width: 98%;
  }
  .form-check label {
    line-height: 1.5;
  }
  p.modal_p_1 {
    font-size: 0.9rem !important;
  }

  p.modal_p_2 {
    font-size: 1.2rem !important;
  }

  .modal_p p.s1_t_08 {
    font-size: 0.9rem;
  }
}

@media (max-width: 390px) {
  .s1_t_010 {
    font-size: 1rem;
  }

  p.modal_p_2 {
    font-size: 1.1rem !important;
  }

  .modal_monsrer {
    display: none;
  }
}

@media (max-width: 576px) {
  #pop_11 .btn_close {
    top: -100px;
  }
}
