body {
  font-family: 'Kosugi Maru','Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  margin: 0;
  background-color: #ffffff;
  color: #333;
  line-height: 1.8;
}

header {
  background-color: #003399;
  color: #fff;
  text-align: center;
  padding: 20px 10px;
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 100px;
  height: auto;
}

.x-mark {
  font-size: 2rem;
  color: #F58220;
}

h1 {
  font-size: 1.8rem;
  margin-top: 0px;
}

.content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}


h2, h3 {
  color: #003399;
  text-align: center;
}

p {
  text-align: center;
}

.ended {
  color: red;
  font-weight: bold;
}
/* DL*/

.DL-bonus-box {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}

.DL-bonus-item {
  flex: 1 1 45%;
  background: #fff;
  border: 1px solid #dde4ff;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
}

.DL-bonus-item h4 {
  color: #333333;
  margin-bottom: 0.5rem;
}

.DL-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.7rem 1.5rem;
  background-color: #2bccb0;
  color: #fff;
  border-radius: 25px;
  text-decoration: none;
  transition: 0.3s;
}

.DL-btn:hover {
  background-color: #00d9eb;
}

.DL-btn-secondary {
  background-color: #2bccb0;
}

/* DL*/

/* Text*/
.top-image {
  width: 100%;
  height: auto; /* 保持比例不變形 */
  display: block; /* 移除底下多餘的空白 */
}
.bonus-section {
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  margin: 40px auto;
  max-width: 1000px;
  padding: 0 20px;
}

.title {
  font-size: 28px;
  font-weight: 700;
  border-bottom: 3px solid #4aa0d8;
  display: inline-block;
  padding-bottom: 6px;
  margin-bottom: 40px;
}

.bonus-box-container {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.bonus-box {
  margin-top: 20px;
  flex: 1;
  border: 4px solid;
  border-radius: 20px;
  padding: 40px 25px;
  box-sizing: border-box;
  background: #fff;
  min-width: 320px;
  position: relative;
}

.bonus-box.blue {
  border-color: #333333;
}

.bonus-box.orange {
  border-color: #333333;
}

.box-header {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 27px;
  font-weight: 700;
  color: #fff;
  padding: 10px 25px;
  border-radius: 8px;
  display: inline-block;
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  line-height: 1.6;
}

/* 加入箭頭 */
.box-header::after {
  content: "";
  position: absolute;
  bottom: -8px; /* 箭頭距離底部距離 */
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #333; /* 與背景色一致 */
}

.blue-bg {
  background-color: #333333;
}

.orange-bg {
  background-color: #333333;
}

.box-content {
  font-size: 16px;
  color: #333;
  line-height: 1.8;
  margin-top: 30px;
}

.box-content strong {
  font-weight: 700;
  font-size: 18px;
}

/* 🌟 RWD（手機・平板） */
@media (max-width: 768px) {
  .DL-bonus-box {
    flex-direction: column;
  }
  .bonus-box-container {
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }

  .bonus-box {
    margin-top: 20px;
    width: 90%;
    padding: 30px 20px;
  }

  .box-header {
    font-size: 22px;
    padding: 8px 20px;
    line-height: 1.6;
    }

  .box-content {
    font-size: 14px;
    line-height: 1.6;
  }

  .box-content strong {
    font-size: 16px;
  }

  .title {
    font-size: 22px;
    margin-bottom: 25px;
  }
}

/* Text*/

.contact-section {
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  margin: 60px auto;
  max-width: 1000px;
  padding: 0 20px;
}

.title {
  font-size: 28px;
  font-weight: 700;
  border-bottom: 3px solid #333333;
  display: inline-block;
  padding-bottom: 6px;
  margin-bottom: 25px;
}

.contact-desc {
  font-size: 16px;
  color: #333;
  margin-bottom: 40px;
}

.contact-box-container {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.contact-box {
  flex: 1;
  border: 3px solid;
  border-radius: 25px;
  padding: 30px 20px;
  box-sizing: border-box;
  background: #fff;
  min-width: 320px;
}

.contact-box.blue {
  border-color: #001b73;
}

.contact-box.teal {
  border-color: #45b3b5;
}

.contact-header {
  margin-bottom: 20px;
}

.contact-logo {
  max-width: 220px;
  height: auto;
}

.contact-mail a {
  display: inline-block;
  color: #000;
  font-size: 18px;
  text-decoration: none;
  border-radius: 12px;
  padding: 12px 24px;
  background-color: #fff;
}

.contact-mail a:hover {
  text-decoration: underline;
}

/* 🌟 RWD 響應式調整 */
@media (max-width: 768px) {
  .contact-box-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .contact-box {
    width: 90%;
    padding: 25px 15px;
  }

  .contact-logo {
    max-width: 180px;
  }

  .contact-mail a {
    font-size: 15px;
    padding: 10px 18px;
  }

  .title {
    font-size: 22px;
  }

  .contact-desc {
    font-size: 14px;
  }
}
/* Text*/



/* 新增左右 bonus 卡片區塊 */
.bonus-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
}

.bonus-card {
  flex: 1 1 45%;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  color: #333;
}

.bonus-left {
  border: 3px solid #003399;
  background-color: #f7f9fc;
}

.bonus-right {
  border: 3px solid #F58220;
  background-color: #fff9f5;
}

.bonus-card h4 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.bonus-card strong {
  color: #000;
}

.cta {
  margin-top: 15px;
}

.cta h5 {
  margin-bottom: 8px;
}

.cta img {
  display: block;
  margin: 8px auto;
  max-width: 150px;
}

footer {
  background-color: #003399;
  color: #fff;
  text-align: center;
  padding: 20px;
}

footer nav a {
  color: #fff;
  margin: 0 10px;
  text-decoration: none;
}

footer nav a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .bonus-grid {
    flex-direction: column;
  }
  .bonus-card {
    flex: 1 1 100%;
  }
  .logo {
    width: 80px;
  }
  h1 {
    font-size: 1.4rem;
  }
}
