:root {
  --main: #1BA492;
  --secondary: #9FAA79;
  --lightblue: #d7eeff;
  --font: #181a1a;
  --white: #ffffff;
  --warn: #b73325;
  --highlight: #F2F7E2;
}

html {
  font-size: 55%;
}

@media (min-width: 768px) {
  html {
    font-size: 62.5%;
  }
}

body {
  overflow-x: hidden;
  font-family: "Rubik", sans-serif;
  background-color: var(--white);
  color: var(--font);
  text-align: center;
  font-size: 1.8rem;
}

h1 {
  font-size: 4rem;
}

h3 {
  font-size: 2.2rem;
}

.color-notice{
  color: var(--warn);
}

section {
  padding: 75px 0;
}

section .title-circle {
  display: inline-block;
  background-color: var(--highlight);
  font-weight: 500;
  color: var(--main);
  font-size: 3.5rem;
  animation: AnimateTitle 3s infinite;
  padding: 3rem 2rem;
}

@keyframes AnimateTitle {
  0% {
    border-radius: 25% 75% 63% 37% / 28% 44% 56% 72%;
  }
  30% {
    border-radius: 55% 45% 57% 43% / 45% 28% 72% 55%;
  }
  60% {
    border-radius: 80% 20% 43% 57% / 73% 46% 54% 27%;
  }
  100% {
    border-radius: 25% 75% 63% 37% / 28% 44% 56% 72%;
  }
}

.flexbox {
  display: flex;
  align-items: center;
}

.d-1 {
  animation-delay: 0.1s;
}

.d-2 {
  animation-delay: 0.2s;
}

.d-3 {
  animation-delay: 0.3s;
}

.d-4 {
  animation-delay: 0.4s;
}

.d-5 {
  animation-delay: 0.5s;
}

.d-6 {
  animation-delay: 0.6s;
}

.d-7 {
  animation-delay: 0.7s;
}

.d-8 {
  animation-delay: 0.8s;
}

.mb-50 {
  margin-bottom: 5rem;
}

/*非遮罩 Nav */
.mainNav {
  background-color: var(--main);
  min-height: 60px;
}

.mainNav>.container{
  justify-content: flex-end;
}

.mainNav .navbar-toggler {
  right: 0;
  padding: 10px;
  color: var(--white);
  border: 0;
}

.mainNav .navbar-nav .nav-item .nav-link {
  font-weight: 600;
  padding: 0.8em 0;
  color: var(--highlight);
}

.mainNav .navbar-nav .nav-item .nav-link.active,
.mainNav .navbar-nav .nav-item .nav-link:hover {
  color: var(--white);
  transition: .3s;
}

.dropdown-menu {
  font-size: 1.8rem;
  border: 0;
}

.dropdown-item {
  padding: 0.5rem 3rem;
  text-align: center;
}

.dropdown-item:hover {
  background-color: var(--highlight);
  color: var(--main);
}

@media (min-width: 992px) {
  .mainNav .navbar-nav .nav-item .nav-link {
    padding: 0.5rem 1.5rem !important;
    font-size: 16px;
  }
  .ja-JP .mainNav .navbar-nav .nav-item .nav-link {
    padding: 0.5rem 1.5rem !important;
    font-size: 14px;
  }
}

header.masthead {
  margin-top: 60px;
}
/* .en-US header.masthead {
  margin-top: 60px;
}
.ja-JP header.masthead {
  margin-top: 60px;
}
.ko-KR header.masthead {
  margin-top: 60px;
} */
@media screen and (min-width: 992px) {
  header.masthead {
    margin-top: 60px;
  }
  /* .en-US header.masthead {
    margin-top: 70px;
  }
  .ja-JP header.masthead {
    margin-top: 64px;
  }
  .ko-KR header.masthead {
    margin-top: 70px;
  } */
}
@media screen and (min-width: 1200px) {
  header.masthead {
    margin-top: 60px;
  }
  /* .en-US header.masthead {
    margin-top: 70px;
  }
  .ja-JP header.masthead {
    margin-top: 60px;
  }
  .ko-KR header.masthead {
    margin-top: 60px;
  } */
}

/* gifts */

.gifts-bonus-pic {
  margin-bottom: 30px;
  position: relative;
}
@media screen and (min-width: 768px) {
  section .title-circle {
    width: 40%;
    padding: 2rem;
  }
}

.gifts-bonus-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 10px 10px 0 var(--highlight);
}

.gifts-bonus-text {
  color: var(--white);
  text-align: left;
}

.gifts-bonus-text {
  width: 80%;
}

.gifts-bonus-text h2 {
  position: absolute;
  font-weight: 700;
  top: 2rem;
  left: 15px;
  background-color: var(--secondary);
  padding: 0.8rem 2rem;
  border-radius: 0 10rem 10rem 0;
  display: inline-block;
  max-width: 70%;
}

/* bonus */
section.bonus {
  padding: 70px 0;
}

/* store */
section.store {
  padding: 50px 0;
  background-color: #FDFDF3;
}

.store .store-list {
  /* background-color: var(--white);
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16); */
  border-radius: 10px;
  margin-bottom: 3rem;
}

.store .store-title {
  padding: 1.5rem 1rem;
  color: var(--secondary);
  border-bottom: 1px dashed var(--secondary);
}

.store .store-name {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.1;
  display: table-cell;
  padding: 0 0 0 5px;
}

.store .store-img {
  width: 100%;
  overflow: hidden;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.store .store-img img {
  width: 100%;
  object-fit: cover;
}

.store .store-logo {
  position: absolute;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  top: 1.5rem;
  right: 2rem;
  border: 2px solid var(--highlight);
  background-color: var(--white);
}

.store .store-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.store .store-content {
  padding: 10px 15px 10px 0;
  font-size: 16px;
  /* word-break: break-all; */
}

.store .store-content li {
  margin: 1rem 0;
}

.store .store-content i {
  color: var(--secondary);
}
.store .store-content a {
  color: var(--main);
}
.store .store-content a:hover {
  opacity: 0.8;
  text-decoration: none;
}

@media (min-width: 768px) {
  .store .store-content {
    /* min-height: 580px; */
  }

  section .title-circle {
    width: 50%;
  }
}

@media (max-width: 767px) {
  .store .store-list {
    height: auto;
  }
}

@media (min-width: 992px) {
  .store .store-content {
    /* min-height: 420px; */
  }
}
@media (min-width: 1024px) {
  .store .store-content {
    /* min-height: 400px; */
  }
}

/* exchange */
.exchange h3 {
  color: var(--secondary);
  margin-top: 30px;
}

.exchange .badge-block {
  color: var(--warn);
  padding: 0.8rem 2rem 0.2rem 2rem;
}

/* traffic */
.traffic .img-fluid {
  border-radius: 50%;
  background-color: var(--main);
  overflow: hidden;
  border: 1px solid var(--main);
  box-shadow: 2px 2px 5px var(--highlight);
}

.traffic img {
  object-fit: cover;
}

.traffic h2 {
  margin: 50px 0 25px 0;
  background-color: var(--secondary);
  color: var(--white);
  font-weight: 700;
  padding: 1rem 2.5rem;
  border-radius: 10rem;
  display: inline-block;
}

.traffic p {
  color: var(--font);
  margin: 0;
}

/* Notice */
.notice .badge-block {
  background-color: var(--secondary);
  color: var(--white);
  padding: 0.7rem 2rem;
  border-radius: 10rem;
  display: inline-block;
}

.notice ol {
  padding-inline-start: 15px;
}

footer {
  background: var(--highlight);
  /* color: var(--main); */
  padding: 15px;
}

.col-margin-bottom {
  margin-bottom: 5rem;
}

.col-margin-bottom:last-child {
  margin-bottom: 0;
}

@media (min-width: 992px) {
  .col-margin-bottom {
    margin-bottom: 0;
  }
}

/* scrollup */
.scrollup {
  width: 50px;
  height: 50px;
  border-radius: 100%;
  opacity: 0.75;
  position: fixed;
  bottom: 20px;
  right: 20px;
  color: var(--white);
  cursor: pointer;
  background-color: var(--main);
  z-index: 1000;
  transition: opacity 0.5s, background-color 0.5s;
  -moz-transition: opacity 0.5s, background-color 0.5s;
  -webkit-transition: opacity 0.5s, background-color 0.5s;
  display: none;
}

.scrollup:hover {
  opacity: 1;
}

.scrollup i {
  font-size: 28px;
  position: absolute;
  opacity: 1;
  color: var(--white);
  left: 50%;
  top: 50%;
  margin-top: -15px;
  margin-left: -12px;
  text-decoration: none;
}

button:focus {
  outline-color: #4baeb3;
}

/* 分頁 */
.nav-item .nav-link.b-line {
  width: 100%;
  border-bottom: 2px solid var(--highlight);
  box-sizing: border-box;
}

#actiondiv{
  height: 0;
}
