@charset "UTF-8";
* {
  font-family: "Univers", Arial, Helvetica, "Microsoft JhengHei", "Apple LiGothic Medium", sans-serif;
  border-radius: 0;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}

body {
  width: 100vw;
  color: #333;
  background-color: hsl(45, 50%, 100%);
  font-size: 1.8rem;
  line-height: 1.8;
  word-wrap: break-word;
  word-break: normal;
  overflow-x: hidden;
  position: relative;
  scroll-behavior: smooth;
}

:root {
  --color1: hsl(210, 50%, 60%);
  --color2: hsl(160, 40%, 60%);
  --color3: hsl(110, 40%, 60%);
  --color4: hsl(50, 100%, 50%);
  --color5: hsl(-10, 100%, 50%);
  --color6: hsl(45, 50%, 60%);
  --primary: var(--color1);
  --secondary: hsl(0, 0%, 60%);
  --info: var(--color2);
  --success: var(--color3);
  --warning: var(--color4);
  --danger: var(--color5);
  --border: 1px solid #ddd;
  --radius: 30px;
  --radius_s: 10px;
  --radius_ss: 4px;
  --shadow: 3px 3px 10px hsla(0, 0%, 0%, .1);
  --shadow_s: 1px 1px 5px hsla(0, 0%, 0%, .05);
  --transition: all .3s;
  --h1: 4.2rem;
  --h2: 3.6rem;
  --h3: 3.0rem;
  --h4: 2.4rem;
  --h5: 2.0rem;
  --h6: 1.8rem;
  --bs-tertiary-bg: #f4f4f4;
}

.card-title, .title, .page_title, .h6, .h5, .h4, .h3, .h2, .h1 {
  font-weight: 600;
  line-height: 1.5;
}

.banner img, .img_1by1 img, .img_4by3 img, .img_16by9 img, .img_21by9 img {
  -o-object-position: center;
     object-position: center;
  -o-object-fit: cover;
     object-fit: cover;
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

.card-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  text-overflow: ellipsis;
  overflow: hidden;
}

.h1 {
  font-size: 4.2rem !important;
}
.h2 {
  font-size: 3.6rem !important;
}
.h3 {
  font-size: 3rem !important;
}
.h4 {
  font-size: 2.4rem !important;
}
.h5 {
  font-size: 2rem !important;
}
.h6 {
  font-size: 1.8rem !important;
}

p {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.small {
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.5;
  vertical-align: baseline;
}

a {
  color: var(--info);
  text-decoration-style: dotted;
  text-underline-offset: 5px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
a:hover {
  color: var(--primary);
  text-decoration-style: dotted;
  text-underline-offset: 5px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.bg-dark {
  background-color: #222 !important;
}
.bg-primary {
  background-color: var(--primary) !important;
}
.bg-info {
  background-color: var(--info) !important;
}
.bg-secondary {
  background-color: hsl(0, 0%, 60%) !important;
}
.bg-success {
  background-color: var(--success) !important;
}
.bg-warning {
  background-color: var(--warning) !important;
}
.bg-danger {
  background-color: hsl(350, 100%, 50%) !important;
}
.bg-light {
  background-color: hsl(200, 15%, 97.5%) !important;
}
.bg2 {
  background-image: url(../images/bg_2.jpg);
  background-position: left center;
  background-attachment: fixed;
  background-size: cover;
  position: relative;
  z-index: 1;
}
.bg2::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: hsla(45, 50%, 90%, 0.7);
  background-blend-mode: overlay;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: -1;
}
.bg_write {
  background-image: url(../images/bg_writing.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  position: relative;
  z-index: 1;
}
.bg_write::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: hsla(45, 50%, 90%, 0.7);
  background-blend-mode: overlay;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: -1;
}
.bg_photo {
  background-image: url(../images/bg_photo.jpg);
  background-position: center bottom;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  position: relative;
  z-index: 1;
}
.bg_photo::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: hsla(45, 50%, 90%, 0.7);
  background-blend-mode: overlay;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: -1;
}

.text-white {
  color: #fff !important;
}
.text-primary {
  color: var(--primary) !important;
}
.text-info {
  color: var(--info) !important;
}
.text-secondary {
  color: hsl(0, 0%, 60%) !important;
}
.text-danger {
  color: var(--danger) !important;
}

.disabled:hover {
  cursor: not-allowed !important;
}

.img_21by9 {
  display: block;
  width: 100%;
  aspect-ratio: 21/9;
  position: relative;
  overflow: hidden;
}
.img_21by9 img {
  width: 100%;
  height: auto;
}
.img_16by9 {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
}
.img_16by9 img {
  width: 100%;
  height: auto;
}
.img_4by3 {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
}
.img_4by3 img {
  width: 100%;
  height: auto;
}
.img_1by1 {
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  position: relative;
  overflow: hidden;
}
.img_1by1 img {
  width: 100%;
  height: auto;
}

.btn {
  font-size: 1.6rem;
  line-height: 20px;
  padding: 1rem 2rem;
  margin-left: 0.1rem;
  margin-right: 0.1rem;
  border-radius: 30px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.btn::after {
  content: "";
  width: 50%;
  height: 200%;
  background: -webkit-gradient(linear, left bottom, left top, from(hsla(0, 0%, 100%, 0)), color-stop(50%, hsla(0, 0%, 100%, 0.5)), to(hsla(0, 0%, 100%, 0)));
  background: linear-gradient(0deg, hsla(0, 0%, 100%, 0) 0%, hsla(0, 0%, 100%, 0.5) 50%, hsla(0, 0%, 100%, 0) 100%);
  position: absolute;
  left: -50%;
  top: -50%;
  z-index: -1;
  -webkit-transform: skewX(15deg);
          transform: skewX(15deg);
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.btn:hover {
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.btn:hover::after {
  left: 100%;
}
.btn-lg {
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  padding: 2rem 4rem;
  border-radius: 30px;
}
.btn-link {
  color: var(--primary);
  text-decoration: none;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.btn-link:hover, .btn-link:active, .btn-link:focus {
  color: var(--info);
  text-decoration-style: dashed;
  -webkit-text-underline-offset: 3px;
  -moz-text-underline-offset: 3px;
  -ms-text-underline-offset: 3px;
  text-underline-offset: 3px;
}
.btn-light {
  color: #666;
  background-color: #eee;
  border-color: #eee;
}
.btn-light:hover, .btn-light:active, .btn-light:focus {
  color: #333;
  background-color: #ddd;
  border-color: #ddd;
}
.btn-light:not(:disabled):not(.disabled).active, .btn-light:not(:disabled):not(.disabled):active {
  color: #333;
  background-color: #ddd;
  border-color: #ddd;
}
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}
.btn-primary:hover, .btn-primary:active, .btn-primary:focus {
  background-color: var(--primary);
  border-color: var(--primary);
  -webkit-filter: brightness(90%) contrast(120%);
          filter: brightness(90%) contrast(120%);
}
.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active {
  background-color: var(--primary);
  border-color: var(--primary);
  -webkit-filter: brightness(90%) contrast(120%);
          filter: brightness(90%) contrast(120%);
}
.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-primary:hover, .btn-outline-primary:active, .btn-outline-primary:focus {
  background-color: var(--primary);
  border-color: var(--primary);
  -webkit-filter: brightness(90%) contrast(120%);
          filter: brightness(90%) contrast(120%);
}
.btn-outline-primary:not(:disabled):not(.disabled).active, .btn-outline-primary:not(:disabled):not(.disabled):active {
  background-color: var(--primary);
  border-color: var(--primary);
  -webkit-filter: brightness(90%) contrast(120%);
          filter: brightness(90%) contrast(120%);
}
.btn-secondary {
  background-color: hsl(0, 0%, 60%);
  border-color: hsl(0, 0%, 60%);
}
.btn-secondary:hover, .btn-secondary:active, .btn-secondary:focus {
  background-color: hsl(0, 0%, 60%);
  border-color: hsl(0, 0%, 60%);
  -webkit-filter: brightness(90%) contrast(120%);
          filter: brightness(90%) contrast(120%);
}
.btn-secondary:not(:disabled):not(.disabled).active, .btn-secondary:not(:disabled):not(.disabled):active {
  background-color: hsl(0, 0%, 60%);
  border-color: hsl(0, 0%, 60%);
  -webkit-filter: brightness(90%) contrast(120%);
          filter: brightness(90%) contrast(120%);
}
.btn-info {
  background-color: var(--info);
  color: #fff;
  border-color: var(--info);
}
.btn-info:hover, .btn-info:active, .btn-info:focus {
  background-color: var(--info);
  color: #fff;
  border-color: var(--info);
  -webkit-filter: brightness(90%) contrast(120%);
          filter: brightness(90%) contrast(120%);
}
.btn-info:not(:disabled):not(.disabled).active, .btn-info:not(:disabled):not(.disabled):active {
  background-color: var(--info);
  color: #fff;
  border-color: var(--info);
  -webkit-filter: brightness(90%) contrast(120%);
          filter: brightness(90%) contrast(120%);
}
.btn-outline-info {
  color: var(--info);
  border-color: var(--info);
}
.btn-outline-info:hover, .btn-outline-info:active, .btn-outline-info:focus {
  background-color: var(--info);
  color: #fff;
  border-color: var(--info);
  -webkit-filter: brightness(90%) contrast(120%);
          filter: brightness(90%) contrast(120%);
}
.btn-outline-info:not(:disabled):not(.disabled).active, .btn-outline-info:not(:disabled):not(.disabled):active {
  background-color: var(--info);
  color: #fff;
  border-color: var(--info);
  -webkit-filter: brightness(90%) contrast(120%);
          filter: brightness(90%) contrast(120%);
}
.btn-success {
  background-color: var(--success);
  border-color: var(--success);
}
.btn-success:hover, .btn-success:active, .btn-success:focus {
  background-color: var(--success);
  border-color: var(--success);
  -webkit-filter: brightness(90%) contrast(120%);
          filter: brightness(90%) contrast(120%);
}
.btn-success:not(:disabled):not(.disabled).active, .btn-success:not(:disabled):not(.disabled):active {
  background-color: var(--success);
  border-color: var(--success);
  -webkit-filter: brightness(90%) contrast(120%);
          filter: brightness(90%) contrast(120%);
}
.btn-warning {
  background-color: var(--warning);
  border-color: var(--warning);
}
.btn-warning:hover, .btn-warning:active, .btn-warning:focus {
  background-color: var(--warning);
  border-color: var(--warning);
  -webkit-filter: brightness(90%) contrast(120%);
          filter: brightness(90%) contrast(120%);
}
.btn-warning:not(:disabled):not(.disabled).active, .btn-warning:not(:disabled):not(.disabled):active {
  background-color: var(--warning);
  border-color: var(--warning);
  -webkit-filter: brightness(90%) contrast(120%);
          filter: brightness(90%) contrast(120%);
}
.btn-danger {
  background-color: hsl(350, 100%, 50%);
  border-color: hsl(350, 100%, 50%);
}
.btn-danger:hover, .btn-danger:active, .btn-danger:focus {
  background-color: hsl(350, 100%, 50%);
  border-color: hsl(350, 100%, 50%);
  -webkit-filter: brightness(90%) contrast(120%);
          filter: brightness(90%) contrast(120%);
}
.btn-danger:not(:disabled):not(.disabled).active, .btn-danger:not(:disabled):not(.disabled):active {
  background-color: hsl(350, 100%, 50%);
  border-color: hsl(350, 100%, 50%);
  -webkit-filter: brightness(90%) contrast(120%);
          filter: brightness(90%) contrast(120%);
}
.btn_pill {
  background-color: transparent;
  color: var(--primary);
  font-size: 1.4rem;
  line-height: 20px;
  border-color: var(--primary);
  border-radius: 20rem;
  padding: 5px 20px;
}
.btn_pill:hover, .btn_pill:active, .btn_pill:focus {
  background-color: var(--primary);
  color: #fff;
  border-color: var(--primary);
  -webkit-filter: brightness(90%) contrast(120%);
          filter: brightness(90%) contrast(120%);
}
.btn_pill:not(:disabled):not(.disabled).active, .btn_pill:not(:disabled):not(.disabled):active {
  background-color: var(--primary);
  color: #fff;
  border-color: var(--primary);
  -webkit-filter: brightness(90%) contrast(120%);
          filter: brightness(90%) contrast(120%);
}

.form_group {
  padding-bottom: 10px;
}

.form-label,
.col-form-label {
  font-weight: 600;
  text-align: right;
  padding-top: calc(0.5em + 1px);
  padding-bottom: calc(0.5em + 1px);
}
@media screen and (max-width: 576px) {
  .form-label,
  .col-form-label {
    text-align: left;
  }
}

.form-control {
  height: 50px;
  padding: 5px 10px;
  font-size: 1em;
  color: #666;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-bottom: 10px;
}

textarea.form-control {
  height: auto;
}

.input-group {
  border-radius: 4px;
}
.input-group-text {
  font-size: 1.6rem;
  color: #666;
  background-color: transparent;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 0.375em 0.75em;
  margin: 0 0 1rem;
}
.input-group-text img {
  display: block;
  max-height: 50px;
  -ms-flex-item-align: center;
      align-self: center;
  padding: 0;
}
.input-group .btn {
  max-height: 50px;
  border-radius: 4px;
  padding: 0.5rem 1rem;
}
.input-group .form-control {
  border-radius: 4px;
}
.input-group .form-control[type=file] * {
  height: 50px;
}
.input-group .form-control::-webkit-file-upload-button {
  height: 50px;
  align-self: center;
}
.input-group .form-control::file-selector-button {
  height: 50px;
  -ms-flex-item-align: center;
      align-self: center;
}

.form-check-input {
  width: 1.5em;
  height: 1.5em;
}
.form-check-input[type=checkbox] {
  border-radius: 4px;
}
.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}
.form-check-input:checked ~ .form-check-label::before {
  color: #fff;
  border-color: var(--primary);
  background-color: var(--primary);
}
.form-check-input:focus ~ .form-check-label::before {
  -webkit-box-shadow: none;
  box-shadow: none;
}
.form-check-inline {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
.form-check-label {
  margin-left: 10px;
  margin-bottom: 10px;
  padding-top: 5px;
}
.form-check-label::before {
  width: 1.5em;
  height: 1.5em;
  top: 0;
  left: -2.5rem;
}
.form-check-label::after {
  width: 1.5em;
  height: 1.5em;
  top: 0;
  left: -2.5rem;
}
.form-check .form-check-label::before {
  border-radius: 0;
}
.form-check .form-control {
  display: inline-block;
  width: auto;
  vertical-align: top;
  margin-left: 3px;
}
.form-check textarea.form-control {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  width: 80%;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.modal-content {
  border-radius: 10px;
  border: none;
  -webkit-box-shadow: 3px 3px 10px hsla(0, 0%, 0%, 0.1);
          box-shadow: 3px 3px 10px hsla(0, 0%, 0%, 0.1);
  overflow: hidden;
}
.modal-header {
  background-color: var(--primary);
  border: none;
  padding: 10px 20px;
}
.modal-title {
  color: #FFF;
  font-size: 26px;
  font-weight: 600;
  line-height: 30px;
}

.navbar-brand {
  display: inline-block;
  width: clamp(150px, 25%, 350px);
  color: #000;
  font-size: 3rem;
  font-weight: 600;
  line-height: 1;
  padding: 0;
  margin-right: auto;
}
.navbar-brand img {
  display: block;
  width: 100%;
}
@media screen and (max-width: 1024px) {
  .navbar-brand {
    width: clamp(250px, 25%, 300px);
  }
}
@media screen and (max-width: 768px) {
  .navbar-brand {
    width: clamp(250px, 40%, 300px);
  }
}
@media screen and (max-width: 576px) {
  .navbar-brand {
    width: clamp(150px, 50%, 200px);
  }
}

#Top {
  width: 100vw;
  background-color: hsla(0, 0%, 100%, 0.8) !important;
  -webkit-box-shadow: 1px 1px 5px hsla(0, 0%, 0%, 0.05);
          box-shadow: 1px 1px 5px hsla(0, 0%, 0%, 0.05);
}
#Top .navbar-nav {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin: 0 auto;
}
#Top .navbar-nav .nav-link {
  display: block;
  width: auto;
  color: #666;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 30px;
  text-align: center;
  white-space: nowrap;
  margin: 0;
  padding: 10px 20px;
  position: relative;
  z-index: 1;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
#Top .navbar-nav .nav-link:before {
  content: "";
  display: block;
  width: 0%;
  height: 2px;
  background-color: var(--primary);
  pointer-events: none;
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: -1;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
#Top .navbar-nav .nav-link:hover {
  color: var(--primary);
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
#Top .navbar-nav .nav-link:hover:before {
  width: 2em;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
#Top .navbar-nav .nav-link.active {
  background-color: var(--primary);
  color: #FFF;
  border-radius: 4px;
}
#Top .navbar-nav .nav-link.active:before {
  display: none;
}
@media screen and (max-width: 768px) {
  #Top {
    background-color: hsl(0, 0%, 100%) !important;
    -webkit-box-shadow: 1px 1px 5px hsla(0, 0%, 0%, 0.05);
            box-shadow: 1px 1px 5px hsla(0, 0%, 0%, 0.05);
  }
  #Top .navbar-nav .nav-link {
    font-size: 2.4rem;
    letter-spacing: 0.5px;
    padding: 20px 10px;
  }
}

@media screen and (max-width: 768px) {
  #mainMenu {
    width: 100%;
    background-color: #fff;
    border: 1px solid var(--primary);
    position: absolute;
    left: 0;
    top: 51px;
  }
}
.dropdown-menu {
  padding: 0;
  margin: 0;
  font-size: 1em;
  color: #666;
  text-align: center;
  border: 1px solid hsla(0, 0%, 0%, 0.1);
  border-radius: 0;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.dropdown li:not(:last-child) {
  border-bottom: 1px solid #ddd;
}
.dropdown-item {
  padding: 0.5rem 2rem;
  color: #666;
  line-height: 2;
}
.dropdown-item:focus, .dropdown-item:hover {
  background-color: var(--info);
  color: #fff;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.tofix {
  display: block;
  width: 10rem;
  height: 6rem;
}

.navbar-toggler {
  width: 5rem;
  height: 4rem;
  border: 1px solid var(--primary);
  border-radius: 0;
  position: relative;
}
.navbar-toggler-icon {
  display: block;
  width: 3rem;
  height: 0.2rem;
  background-image: none;
  background-color: var(--primary);
  overflow: visible;
  position: absolute;
  left: 50%;
  top: 50%;
  opacity: 1;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.navbar-toggler-icon::before, .navbar-toggler-icon::after {
  content: "";
  display: block;
  width: 3rem;
  height: 0.2rem;
  background-color: var(--primary);
  position: absolute;
  left: 50%;
  top: 50%;
  opacity: 1;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.navbar-toggler-icon::before {
  top: calc(50% - 0.8rem);
}
.navbar-toggler-icon::after {
  top: calc(50% + 0.8rem);
}
.navbar-toggler[aria-expanded=true] .navbar-toggler-icon {
  opacity: 1;
  -webkit-transform: translate(-50%, -50%) rotateZ(45deg);
          transform: translate(-50%, -50%) rotateZ(45deg);
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.navbar-toggler[aria-expanded=true] .navbar-toggler-icon::before {
  opacity: 1;
  top: 50%;
  -webkit-transform-origin: center;
          transform-origin: center;
  -webkit-transform: translate(-50%, -50%) rotateZ(-90deg);
          transform: translate(-50%, -50%) rotateZ(-90deg);
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.navbar-toggler[aria-expanded=true] .navbar-toggler-icon::after {
  opacity: 0;
}

.banner {
  display: block;
  width: 100%;
  aspect-ratio: 3/1;
  position: relative;
  overflow: hidden;
}
.banner img {
  display: block;
  width: 100%;
  height: auto;
}
@media screen and (max-width: 576px) {
  .banner {
    aspect-ratio: 1/1;
  }
}

.gotop {
  width: 50px;
  height: 50px;
  background-color: #000;
  color: #fff;
  font-size: 20px;
  text-align: center;
  line-height: 50px;
  border-radius: 4px;
  position: fixed;
  left: calc(100vw - 60px);
  bottom: 10px;
  z-index: 999;
  opacity: 0.5;
}
.gotop a {
  color: #fff;
  font-size: 20px;
  line-height: 50px;
}
.gotop:hover {
  opacity: 0.8;
}

.footer {
  background-color: var(--primary);
  color: #FFF;
  font-size: 1.4rem;
  text-align: center;
  word-wrap: break-word;
  word-break: normal;
  padding: 15px;
}
.footer a {
  color: #eee;
}
.footer a:hover {
  color: #FF0;
}
.footer p {
  font-size: 1.4rem;
  padding: 0;
  margin: 0;
}

.copyright {
  background-color: var(--primary);
  color: #f4f4f4;
  font-size: 1.4rem;
  line-height: 20px;
  text-align: center;
  margin-top: 20px;
  padding: 5px 0;
}

.p_sec {
  padding: 100px 0 100px;
}
@media screen and (max-width: 768px) {
  .p_sec {
    padding: 60px 0 60px;
  }
}
@media screen and (max-width: 576px) {
  .p_sec {
    padding: 30px 0 30px;
  }
}

.breadcrumb {
  color: #999;
  font-size: 1.4rem;
}
.breadcrumb a {
  color: #999;
  text-decoration: none;
}
.breadcrumb-item.active {
  color: #333;
}
.breadcrumb-item + .breadcrumb-item::before {
  content: ">";
  color: #999;
}

.page_title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  color: #000;
  font-size: 3.6rem;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 30px;
}
.page_title::before {
  content: "";
  display: inline-block;
  width: 80px;
  height: 80px;
  background-image: url(../images/page_title.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
  -webkit-filter: drop-shadow(0px 0px 10px hsla(0, 0%, 0%, 0.1));
          filter: drop-shadow(0px 0px 10px hsla(0, 0%, 0%, 0.1));
}
@media screen and (max-width: 768px) {
  .page_title {
    font-size: 3rem;
  }
}

.title {
  color: #000;
  font-size: 2.4rem;
  padding: 0;
  margin-bottom: 10;
  position: relative;
}
.title:before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: var(--primary);
  vertical-align: middle;
  margin-right: 5px;
  margin-bottom: 5px;
}

@media screen and (max-width: 576px) {
  .page_title {
    display: block;
    font-size: 3rem;
    position: relative;
    overflow: visible;
  }
  .page_title::before {
    content: "";
    display: inline-block;
    width: 60px;
    height: 60px;
  }
  .title {
    font-size: 2.4rem;
    line-height: 1.3;
  }
}
.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
  --bs-gutter-x: 3rem;
}

.row {
  --bs-gutter-x: 3rem;
}

.pagination {
  border-radius: 0;
}

.page-item:first-child .page-link, .page-item:last-child .page-link {
  border-radius: 0;
}
.page-item.active .page-link {
  color: var(--primary);
  background-color: transparent;
  border: 2px solid transparent;
  border-bottom: 2px solid var(--primary);
}
.page-item.disabled .page-link {
  background-color: transparent;
  color: #ccc;
  border: 2px solid transparent;
  border-bottom: 2px solid transparent;
}

.page-link {
  color: #666;
  background-color: transparent;
  font-size: 16px;
  font-size: 1.6rem;
  border: 2px solid transparent;
  border-bottom: 2px solid transparent;
  margin: 0 5px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.page-link:hover {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid transparent;
  border-bottom: 2px solid var(--primary);
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.editor {
  font-size: 16px;
  font-size: 1.6rem;
  line-height: 1.5;
  padding: 3rem 0;
}
.editor p {
  margin-bottom: 10px;
}
.editor ul {
  margin: 10px 0;
  padding: 0 1em;
}

.figure {
  margin: 15px;
}
.figure-caption {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
}

.box {
  width: 100%;
  background-color: hsla(0, 0%, 100%, 0.8);
  border: 2px solid var(--primary);
  border-radius: 20px;
  -webkit-box-shadow: 3px 3px 10px hsla(0, 0%, 0%, 0.1);
          box-shadow: 3px 3px 10px hsla(0, 0%, 0%, 0.1);
  padding: 20px;
  margin: 0 auto 30px;
}
.box .title {
  text-align: left;
  padding-bottom: 2px;
  margin-bottom: 10px;
}
@media screen and (max-width: 576px) {
  .box {
    margin-bottom: 1.5rem;
  }
}

.table {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  -webkit-box-shadow: 3px 3px 10px hsla(0, 0%, 0%, 0.1);
          box-shadow: 3px 3px 10px hsla(0, 0%, 0%, 0.1);
  margin-bottom: 20px;
  overflow: hidden;
  --bs-table-striped-bg: hsla(0, 0%, 95%, .5);
  --bs-table-hover-bg: hsla(0, 0%, 90%, .5);
}
.table th {
  text-align: center;
  font-weight: 600;
  border-color: #ddd;
}
.table td {
  vertical-align: middle;
  word-wrap: break-word;
  word-break: normal;
  border-color: #ddd;
  padding: 5px;
}
.table thead {
  border-radius: 10px 10px 0 0;
  overflow: hidden;
}
.table thead tr th {
  background-color: var(--primary);
  color: #fff;
  text-shadow: 0px 0px 3px hsla(0, 0%, 0%, 0.1);
}
.table tbody {
  border-radius: 0 0 10px 10px;
  overflow: hidden;
}
.table tbody time {
  display: inline-block;
  color: #666;
  font-size: 1.4rem;
  line-height: 1.5;
  margin: 0;
  padding: 0;
}
.table tbody time:not(:last-child) {
  margin-right: 5px;
}
.table tbody tr td[data-title=序號], .table tbody tr td[data-title=操作] {
  text-align: center;
}
.table .btn_edit,
.table .btn_del {
  width: 32px;
  height: 32px;
  padding: 5px 5px;
}
.table .btn_del {
  color: hsl(350, 100%, 50%);
}
.table .disabled {
  background-color: #eee;
  color: #fff;
}
@media screen and (max-width: 576px) {
  .table_rwd {
    background-color: transparent;
    border-radius: 0;
    border: none;
    -webkit-box-shadow: none;
            box-shadow: none;
  }
  .table_rwd thead {
    display: none;
    border-radius: 0;
  }
  .table_rwd tbody tr {
    display: block;
    border: 1px solid var(--primary);
    padding: 0;
    margin-bottom: 20px;
  }
  .table_rwd tbody tr td {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    font-size: 1.6rem;
    flex-wrap: wrap;
    border-bottom: 1px solid #ddd;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    padding: 0;
  }
  .table_rwd tbody tr td input {
    flex: 1 1 auto;
    width: auto;
    margin-bottom: 0;
    margin-left: -5px;
  }
  .table_rwd tbody tr td::before {
    content: attr(data-title) "";
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    align-self: stretch;
    width: 5em;
    -webkit-box-flex: 0;
        -ms-flex: 0 0 80px;
            flex: 0 0 80px;
    background-color: var(--primary);
    color: #FFF;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -ms-flex-item-align: stretch;
        align-self: stretch;
    border-bottom: 1px solid hsla(0, 0%, 100%, 0.5);
    padding: 5px 0;
    margin-right: 5px;
  }
}
.table_company td[data-title=log紀錄] {
  color: #666;
  font-size: 1.4rem;
}
.table_visit th {
  background-color: var(--info);
  color: #fff;
}
@media screen and (max-width: 576px) {
  .table_visit tbody {
    border-radius: 10px;
    overflow: hidden;
  }
  .table_visit tbody tr {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    background-color: #fff;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    border: 1px solid #ddd;
    margin-bottom: 0;
  }
  .table_visit tbody tr:not(:first-child) {
    border-top: 0;
  }
  .table_visit tbody tr th {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    width: 20%;
    -webkit-box-flex: 0;
        -ms-flex: 0 1 20%;
            flex: 0 1 20%;
    background-color: var(--info);
    color: #fff;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .table_visit tbody tr td {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    width: 30%;
    -webkit-box-flex: 1;
        -ms-flex: 1 1 30%;
            flex: 1 1 30%;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .table_visit tbody tr td::before {
    display: none;
  }
}

/* Y/N */
.toggleGroup {
  display: inline-block;
  text-align: center;
  vertical-align: middle;
}
.toggleBtn {
  -webkit-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
  display: block;
  position: relative;
  width: 3em;
  height: 2em;
  border-radius: 1em;
  margin-bottom: 0;
  cursor: pointer;
}
.toggleBtn.switch {
  width: 4em;
  background-color: #AAA;
  padding: 0.2rem;
}
.toggleBtn.switch:after {
  content: "";
  display: block;
  position: absolute;
  border-radius: 50%;
  top: 0.4rem;
  left: 0.4rem;
  -webkit-transition: left 0.2s ease;
  transition: left 0.2s ease;
  width: calc(1.8em - 0.4rem);
  height: calc(1.8em - 0.4rem);
  background-color: #fff;
}
.toggleBtn.switch span {
  display: block;
  position: absolute;
  width: calc(4em - 0.8rem);
  color: #fff;
  line-height: calc(2em - 0.4rem);
  font-weight: 600;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
.toggleBtn.switch span.on {
  opacity: 0;
  text-align: right;
  padding-right: 2em;
}
.toggleBtn.switch span.off {
  opacity: 1;
  text-align: left;
  padding-left: 2em;
}
.toggleInput {
  display: none;
}
.toggleInput:checked + .toggleBtn.switch {
  background-color: hsl(45, 100%, 60%);
}
.toggleInput:checked + .toggleBtn.switch:after {
  left: calc(2em + 0.2rem);
}
.toggleInput:checked + .toggleBtn.switch span.on {
  opacity: 1;
}
.toggleInput:checked + .toggleBtn.switch span.off {
  opacity: 0;
}

.card {
  border: 1px solid var(--primary);
  border-radius: 1rem;
  margin-bottom: 3rem;
}
.card-img-top {
  background-color: #eee;
  border-radius: 0.92rem 0.92rem 0 0;
  margin-bottom: 0.5rem;
  overflow: hidden;
}
.card-title {
  height: 7.5rem;
  color: var(--primary);
  font-size: 2rem;
  -webkit-line-clamp: 2;
  margin-bottom: 1rem;
}

.cjk_counter {
  list-style: none;
  counter-reset: cjk_counter;
  padding-left: 2em;
}
.cjk_counter li {
  margin-bottom: 0.5rem;
}
.cjk_counter li:before {
  counter-increment: cjk_counter 1;
  content: counter(cjk_counter, cjk-ideographic) "、";
  margin-left: -2em;
}

.nav-pills .nav-item {
  margin-bottom: 5px;
}
.nav-pills .nav-item:not(:last-child) {
  margin-right: 5px;
}
.nav-pills .nav-link {
  background-color: #ddd;
  color: #666;
}
.nav-pills .nav-link.active {
  background-color: var(--info);
}
.nav-pills .show > .nav-link {
  background-color: var(--info);
}

.lead {
  background-image: url(../images/bg_1.png);
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  font-size: 2rem;
  line-height: 2;
  padding: 100px 15px;
}
.lead p {
  font-size: 2rem;
  line-height: 2;
  letter-spacing: 2px;
  font-weight: 400;
}
@media screen and (max-width: 768px) {
  .lead {
    background-position: left top;
    padding: 60px 15px;
  }
  .lead p {
    line-height: 1.8;
  }
}
@media screen and (max-width: 576px) {
  .lead {
    padding: 30px 15px;
  }
}

.upload_pic {
  max-width: 200px;
}

.preview {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  height: 100%;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}
.preview .preview-img {
  max-width: 100%;
  max-height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}

.message {
  display: none;
  width: 100%;
  background-color: hsla(0, 0%, 0%, 0.5);
  color: hsl(345, 80%, 50%);
  font-size: 14px;
  line-height: 30px;
  text-align: center;
  position: absolute;
  bottom: 10px;
}