@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700;900&display=swap');

body {
  margin: 0;
  font-family: 'Noto Sans TC', 'Microsoft JhengHei', '微軟正黑體', 'Arial',
    'sans-serif';
  font-size: 1rem;
  line-height: 1.5;
  color: #222;
  text-align: left;
  background-color: #fff;
}
/* "Helvetica",  */

/* breadcrumbs */
.breadcrumb {
  background: none;
  padding: 0;
  margin: 0;
  position: relative;
}

.breadcrumb-item,
.breadcrumb-itemlike {
  display: inline;
  list-style: none;
  position: relative;
  padding-right: 8px;
  padding-left: 8px;
  font-size: 12px;
  color: #9d9da0;
}

.breadcrumb-item + .breadcrumb-item::before {
  border-right: 1px solid #7a7a7a;
  border-top: 1px solid #7a7a7a;
  content: '';
  height: 8px;
  width: 8px;
  left: -8px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.breadcrumb-itemlike::before {
  border-right: 1px solid #7a7a7a;
  border-top: 1px solid #7a7a7a;
  content: '';
  height: 8px;
  width: 8px;
  left: -8px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.breadcrumb-item a {
  text-decoration: none;
  color: #3c3c43;
}

.breadcrumb-itemlike.active {
  color: #9a9a9a;
}

.breadcrumb-itemlike a {
  color: #9a9a9a;

  pointer-events: none;

  cursor: default;
}

/* 主視覺 */
.kv_wrapper {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}

/* .pc {
    display: block !important;
} */
.mb {
  display: none !important;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

.header_title {
  font-size: 36px;
  line-height: 1.6;
  font-weight: 900;
  /* letter-spacing: 3px; */
  text-align: left;
}

.exhibition_title {
  font-size: 42px;
  line-height: 1.6;
  font-weight: 900;
  letter-spacing: 3px;
}

.exhibition_text {
  font-size: 16px;
  line-height: 1.6;
  margin: 0 auto;
  padding: 0 0 10px;
}

.title_box h1 {
  font-size: 32px;
  font-weight: 900;
}

.title_box h2 {
  font-size: 24px;
  font-weight: 700;
  margin-top: 10px;
}

.title_box h3 {
  font-size: 18px;
  font-weight: 700;
  /* margin-bottom: 15px; */
  margin: 15px 0 0px 0;
  padding: 5px 0;
  text-align: justify;
}

.title_box p {
  font-size: 16px;
  line-height: 1.6;
  text-align: justify;
  margin-top: 5px;
  font-weight: 400;
}

.name_title {
  font-size: 24px;
  font-weight: 700;
}

.contents_title span {
  font-size: 16px;
  font-weight: 400;
}

.contents_title {
  display: flex;
  align-items: center;
  font-size: 26px;
  border-left: 4px solid #222;
  font-weight: 700;
  padding-left: 10px;
  height: 25px;
}

.item_title {
  font-size: 22px;
  font-weight: 700;
  margin-block-end: 0;
}

.item_title span {
  font-size: 14px;
  font-weight: 400;
  /* padding-left: 20px; */
}

.item_text {
  font-size: 16px;
  line-height: 1.4;
  text-align: left;
  border-top: 1px solid #222;
  padding-top: 15px;
  padding-bottom: 15px;
}

.flexList {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 20px;
  gap: 20px 10px;
}

.flexList .flexItem {
  width: calc((100% - 20px) / 2);
}

.flexList .flexItem img {
  width: 100%;
}

.map_title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
}

.map_text {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 15px;
  list-style: none;
}

.line {
  padding: 10px;
  border-top: 1px solid #999;
  margin-top: 50px;
}

.button {
  margin: 0 auto;
  font-size: 28px;
  font-weight: 700;
  padding: 8px 15px;
  color: #222;
  border: 1px solid #222;
}

.button a {
  color: #222;
  font-size: 24px;
}

.button a:hover {
  opacity: 0.5;
  transition: all 0.5s;
}

.people-img {
  width: 120px;
  min-width: 100%;
}

.com-flex {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 兩欄 */
  gap: 15px; /* 統一上下左右空隙 */
}

.com-flex .com-item img {
  width: 100%;
  display: block;
}

.mapFlex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.mapFlex .mapFlexItem {
  width: 48%;
  margin-bottom: 15px;
}

.mapFlex .mapFlexItem a {
  text-decoration: underline;
  transition: all 0.3s;
}

.mapFlex .mapFlexItem a:hover {
  color: #999;
}

.mapFlex iframe {
  height: 250px;
}

@media screen and (max-width: 767px) {
  .pc {
    display: none !important;
  }

  .mb {
    display: block !important;
  }

  .contents_title {
    display: flex;
    align-items: center;
    font-size: 20px;
    border-left: 4px solid #222;
    font-weight: 700;
    padding-left: 10px;
    height: 20px;
  }

  .contents_title span {
    font-size: 15px;
  }

  .people-img {
    width: 100px;
  }

  .header_title {
    font-size: 7.2vw;
  }

  .exhibition_title {
    font-size: 32px;
  }

  .exhibition_title span {
    display: block;
  }

  .exhibition_text {
    font-size: 17px;
    line-height: 1.6;
  }

  .item_title {
    font-size: 5.4vw;
    margin-top: 0;
  }

  .exhibition_text {
    font-size: 16px;
    line-height: 1.6;
  }

  .item_text {
    font-size: 16px;
    padding-bottom: 40px;
  }

  .button {
    font-size: 24px;
    padding: 6px 10px;
  }

  .arrow {
    display: none !important;
  }
}

/* swiper */
.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after {
  content: 'next';
  background-color: #fff;
  padding: 5px;
  opacity: 0.5;
}

.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after {
  content: 'prev';
  background-color: #fff;
  padding: 5px;
  opacity: 0.5;
}

:root {
  --swiper-theme-color: #000000;
}

/* =====================
  動態
===================== */
.js_fade-in {
  opacity: 0;
  transition: all 1000ms;
  transform: translate(0, 35px);
}

.js_fade-in.js_slow {
  transition: all 1400ms;
}

.js_fade-in.js_fast {
  transition: all 600ms;
}

.js_fade-in.js_scrollin {
  opacity: 1;
  transform: translate(0, 0);
}

@media screen and (max-width: 767px) {
  .js_fade-in {
    transform: translate(0, 20px);
  }

  .js_fade-in.js_slow {
    transition: all 1000ms;
  }

  .js_fade-in.js_fast {
    transition: all 1000ms;
  }
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 1.8rem !important;
}

@media screen and (max-width: 750px) {
  .flexList .flexItem {
    width: calc((100% - 0px) / 1);
  }
  .breadcrumb-itemlike::before {
    top: 25%;
  }

  .mapFlex {
    display: block;
  }

  .mapFlex .mapFlexItem {
    width: 100%;
    margin-bottom: 2rem;
  }
}
