@charset "UTF-8";

.big-image-button {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  width: 256px;
  height: 256px;
  font-size: 32pt;
  margin: 10px;
  color: white;
  opacity: 0.8;
  border-radius: 40px;
}

.big-image-button:hover {
  color: white;
  opacity: 1;
}

.big-image-button img {
  filter: drop-shadow(4px 4px 2px rgba(0, 0, 0, 0.4));
}

.big-image-button .text {
  size: 32pt;
  color: var(--custom-btn-big-button-end);
  font-family: '微軟正黑體', sans-serif;
  font-weight: bolder;
  text-shadow:
    -1px -1px 0 #fff,
    -1px -1px 0 #fff,
    -1px -1px 0 #fff,
    -1px -1px 0 #fff,
    -1px -1px 0 #fff,
    -1px -1px 0 #fff,
    -1px -1px 0 #fff,
    -1px -1px 0 #fff,
    0 0 10px #fff,
    0 0 10px #fff,
    0 0 10px #fff,
    0 0 10px #fff,
    0 0 10px #fff,
    0 0 10px #fff,
    0 0 10px #fff,
    0 0 10px #fff,
    0 0 10px #fff,
    0 0 10px #fff,
    0 0 10px #fff,
    0 0 10px #fff,
    0 0 10px #fff,
    0 0 10px #fff,
    0 0 10px #fff,
    0 0 10px #fff,
    0 0 10px #fff;
  border: 6px double white;
  padding: 25px;
}

.big-button {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  width: 256px;
  height: 256px;
  font-size: 32pt;
  margin: 10px;
  color: white;
  opacity: 0.8;
  border-radius: 40px;
  background: linear-gradient(to bottom right, var(--custom-btn-big-button-start) 27%, var(--custom-btn-big-button-end) 85%);
  box-shadow: inset -4px -4px 0 2px rgb(0, 0, 0, 0.2);
}

.big-button:hover {
  color: white;
  opacity: 1;
  box-shadow: 0 5px 15px 0px rgb(255, 255, 255, .6);
}

.big-button:hover::before,
.big-button:hover::after {
  display: block;
  content: '';
  position: absolute;
  width: 251px;
  height: 251px;
  background: rgba(255, 255, 255, .7);
  border-radius: 40px;
  z-index: -1;
  animation: 2s clockwise infinite;
}

.big-button:hover:after {
  background: rgba(255, 255, 255, .5);
  animation: 1s counterclockwise infinite;
}

@keyframes clockwise {
  0% {
    margin-top: -15px;
    margin-left: 10px;
  }

  12% {
    margin-top: -12px;
    margin-left: 12px;
  }

  25% {
    margin-top: 10px;
    margin-left: 15px;
  }

  37% {
    margin-top: 12px;
    margin-left: 12px;
  }

  50% {
    margin-top: 15px;
    margin-left: 10px;
  }

  62% {
    margin-top: 12px;
    margin-left: -12px;
  }

  75% {
    margin-top: 10px;
    margin-left: -15px;
  }

  87% {
    margin-top: -12px;
    margin-left: -12px;
  }

  100% {
    margin-top: -15px;
    margin-left: 10px;
  }
}

@keyframes counterclockwise {
  0% {
    margin-top: -15px;
    margin-right: 10px;
  }

  12% {
    margin-top: -12px;
    margin-right: 12px;
  }

  25% {
    margin-top: 10px;
    margin-right: 15px;
  }

  37% {
    margin-top: 12px;
    margin-right: 12px;
  }

  50% {
    margin-top: 15px;
    margin-right: 10px;
  }

  62% {
    margin-top: 12px;
    margin-right: -12px;
  }

  75% {
    margin-top: 10px;
    margin-right: -15px;
  }

  87% {
    margin-top: -12px;
    margin-right: -12px;
  }

  100% {
    margin-top: -15px;
    margin-right: 10px;
  }
}

/*-----index-----*/
.index_body {
  width: 100vw;
}

.index {
  width: 100%;
  letter-spacing: 5px;
  min-height: calc(100vh - 170px);
}

.index_background {
  z-index: -1;
  min-width: 100%;
  min-height: 590px;
  opacity: 80%;
}

.index_space {
  height: 400px;
  width: 100%;
  max-width: 2000px;
}

.index_section_1,
.index_section_2 {
  position: relative;
  background: #fff;
  width: 100%;
  text-align: center;
  padding: 60px 0;
}

.index_logo,
.mintung_index_logo {
  position: absolute;
  background-size: 100% 100%;
  width: 510px;
  height: 440px;
  left: calc(50% - 190px);
  top: -380px;
  margin-bottom: -50px;
}

.hakka_index_logo {
  position: absolute;
  background-size: 100% 100%;
  width: 509px;
  height: 480px;
  left: calc(50% - 190px);
  top: -380px;
  margin-bottom: -50px;
}

.index_owl,
.owl_1 {
  padding: 2rem 0;
  box-sizing: border-box;
}

.owl-item {
  display: flex;
  justify-content: center;
}

.circle {
  background: #eeeeee;
  border-radius: 50%;
  width: 180px !important;
  height: 180px !important;
  margin: 0 10px;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.1s ease 0s;
}

a:hover .circle {
  box-shadow: rgba(25, 118, 210, 0.16) 0px 0px 0px 8px;
}

.index_section_1_container,
.index_section_2_container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 40px;
}

.index_section_2_container {
  max-width: 1400px;
}

.index_section_1_container h2 {
  font-size: 1.875em;
  color: #555555;
  position: relative;
  width: 100%;
  margin: 0 auto;
  font-family: 華康儷粗宋;
  font-weight: normal;
}

.index_section_1_container h2::after {
  content: "";
  display: block;
  position: absolute;
  border-bottom: 3px solid #b53c32;
  width: 60px;
  left: calc(50% - 30px);
  margin-top: 16px;
}

.index_section_2 {
  background: #f8f6f2;
  padding: 0;
}

.index_section_2 * {
  padding: 0;
}

.owl_item {
  height: 350px;
  width: 350px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: auto;
  transition: transform .1s ease-out,  filter .1s ease-out;
}

.owl_item:hover {
  transform: translateY(-5px) translateX(-5px);
  filter: drop-shadow(5px 5px  0 #aaaaaa);
}

.owl_item * {
  color: #fff;
  font-weight: 550;
  font-size: 24px;
  padding-top: 30px;
  margin: 0;
}

.owl_item img {
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  padding: 0;
}

.owl_item p {
  font-size: 50px;
  font-family: 華康娃娃體;
}

.owl_item div {
  width: 60px;
  height: 60px;
  font-size: 24px;
  border-radius: 50%;
  border: 1px solid #fff;
  box-sizing: border-box;
  padding: 0;
  margin: 0 auto 30px auto;
  display: flex;
  justify-content: center;
  align-items: center;
  letter-spacing: 1px;
}

.owl-stage {
  display: flex;
  align-items: end;
}

.owl-stage-outer {
  padding-top: 5px;
}

.index_padding_bottom {
  width: 100%;
  height: 200px;
  background: #fff;
}

.mintung_index_logo {
  width: 460px;
  left: calc(50% - 150px);
}

@media screen and (max-width: 768px) {
  .index_background {
    min-height: 350px;
  }

  .index_space {
    height: 230px;
  }

  .index_section_1 {
    padding-top: 0;
  }

  .index_logo,
  .mintung_index_logo {
    width: 250px;
    height: 235px;
    top: -200px;
    left: calc(50% - 100px);
  }

  .hakka_index_logo {
    width: 250px;
    height: 235px;
    top: -200px;
    left: calc(50% - 100px);
  }

  .mintung_index_logo {
    left: calc(50% - 85px);
    height: 239px;
    top: -220px;
  }
}

.hidden-1000px {
  display: block;
}
  
.show-1000px {
  display: none;
}

@media screen and (min-width: 1000px) {
  .hidden-1000px {
    display: none !important;
  }
  
  .show-1000px {
    display: flex;
  }
}