@charset "UTF-8";
img {
  width: 100%;
}

body {
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

* {
  font-family: "Microsoft JhengHei", sans-serif;
}

.md.kanban {
  height: auto;
  min-width: unset;
}
.md.kanban .figure {
  min-height: 390px;
  height: 100%;
  width: 100%;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.md.kanban .word {
  position: relative;
}
.md.kanban .word .word_inner {
  width: 70%;
  margin: 0 auto;
  background: url(../images/mask.png) repeat;
  padding: 40px 20px;
}
@media screen and (max-width: 980px) {
  .md.kanban .word {
    top: 0;
  }
}

.photo_7 {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.3%;
}
.photo_7 .card {
  width: 23%;
}

.benefits {
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  padding: 0 50px;
  margin-top: 50px;
}
.benefits .benefit_item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.benefits .benefit_item .icon {
  max-width: 180px;
}
.benefits .benefit_item .text {
  font-weight: bold;
  font-size: 18px;
  margin-top: 40px;
  text-align: center;
  color: #000;
  width: 80%;
}
.benefits .swiper-button-next {
  width: 38px;
  height: 38px;
  color: transparent;
  background-color: #f4313f;
  border-radius: 50%;
  top: 44%;
}
.benefits .swiper-button-next::after {
  content: "";
  background-image: url("../images/arrow.svg");
  background-repeat: no-repeat;
  background-size: contain;
  width: 20px;
  height: 20px;
  transform: translateX(2px);
}
.benefits .swiper-button-prev {
  width: 38px;
  height: 38px;
  color: transparent;
  background-color: #f4313f;
  border-radius: 50%;
  top: 44%;
}
.benefits .swiper-button-prev::after {
  content: "";
  background-image: url("../images/arrow.svg");
  transform: rotate(180deg) translateX(2px);
  background-repeat: no-repeat;
  background-size: contain;
  width: 20px;
  height: 20px;
}
.benefits .swiper-button-prev.swiper-button-disabled,
.benefits .swiper-button-next.swiper-button-disabled {
  pointer-events: all;
  opacity: 1;
}

.bg_gray {
  /* 圖片網格 */
  /* 第一張圖特殊處理 */
  /* 響應式調整 */
}
.bg_gray .gallery_wrap {
  max-width: 1200px;
  margin: 0 auto;
}
.bg_gray .gallery {
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-gap: 15px;
}
.bg_gray .gallery-item {
  overflow: hidden;
  border-radius: 4px;
}
.bg_gray .gallery-item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.bg_gray .gallery-item.large {
  grid-column: span 1;
  grid-row: span 2;
}
@media (max-width: 992px) {
  .bg_gray .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
  .bg_gray .description {
    font-size: 15px;
  }
}
@media (max-width: 768px) {
  .bg_gray .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .bg_gray .section-title {
    font-size: 24px;
  }
  .bg_gray .lifestyle-section {
    padding: 40px 0;
  }
}
@media (max-width: 576px) {
  .bg_gray .gallery {
    grid-template-columns: 1fr;
  }
  .bg_gray .gallery-item.large {
    grid-column: span 1;
    grid-row: span 1;
  }
  .bg_gray .description {
    font-size: 14px;
  }
  .bg_gray .section-title {
    font-size: 22px;
  }
}

.happiness .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
.happiness .gallery-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: -15px;
}
.happiness .gallery-item {
  width: 23%;
  padding: 12px;
}
@media (max-width: 992px) {
  .happiness .gallery-item {
    width: 33.333%;
  }
}
@media (max-width: 768px) {
  .happiness .gallery-item {
    width: 50%;
  }
}
@media (max-width: 576px) {
  .happiness .gallery-item {
    width: 100%;
  }
}
.happiness .gallery-image {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.happiness .gallery-image::before {
  content: "";
  display: block;
  padding-top: 75%;
}
.happiness .gallery-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.3s ease;
}
.happiness .gallery-content {
  padding: 15px 0;
}
.happiness .gallery-content p {
  margin-bottom: 1px;
  font-size: 15px;
}
.happiness .gallery-content p:last-child {
  margin-bottom: 0;
}

.health {
  max-width: 1200px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2%;
  row-gap: 20px;
}
.health.photo::after {
  display: none;
}
.health img {
  margin: 0;
  padding: 0;
  width: 48%;
  height: 23.5vw;
}
@media (max-width: 980px) {
  .health img {
    width: 90%;
    height: 60vw;
  }
}