@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&family=Noto+Serif+TC:wght@200..900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Noto Sans TC", "Source Sans Pro", sans-serif;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

p {
  text-indent: 2.5rem;
}

h3 {
  font-family: "Noto Serif TC", "Noto Sans TC", "Source Sans Pro", sans-serif;
  font-weight: 600;
}

.space {
  margin: 2rem 0;
}

nav {
  background-color: rgb(118, 0, 0);
  padding: 1rem;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  display: flex;
  align-items: center;
  color: #fff;
}
nav div.head-title {
  font-family: "Noto Serif TC", "Noto Sans TC", "Source Sans Pro", sans-serif;
  font-weight: 600;
  width: 100%;
  font-size: 1.5rem;
}
nav div.head-title div.small {
  font-family: "Noto Sans TC", "Source Sans Pro", sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #dfdfdf;
}
nav button.menu {
  display: none;
  padding: 0;
  background: none;
  border: none;
  border-radius: 50%;
  width: 40px;
  aspect-ratio: 1/1;
  content: none;
}
nav button.menu:hover {
  background-color: rgb(6, 47, 91);
  cursor: pointer;
}
nav button.menu svg {
  margin: auto;
  color: #fff;
}
nav div.modal-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 50;
}
nav div.modal-container.active {
  display: flex;
}
nav div.modal-container div.modal {
  background-color: rgb(245, 245, 245);
  border-radius: 8px;
  padding: 24px;
  position: relative;
  max-width: 400px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  border: rgb(6, 47, 91) 3px solid;
}
nav div.modal-container div.modal button.close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  color: rgb(6, 47, 91);
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  padding: 0.25rem;
  width: 40px;
  aspect-ratio: 1/1;
}
nav div.modal-container div.modal button.close svg {
  margin: auto;
}
nav div.modal-container div.modal button.close:hover {
  color: #fff;
  background-color: rgb(6, 47, 91);
}
nav div.modal-container div.modal ul.modal {
  list-style: none;
  margin: 0;
  margin-top: 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
nav div.modal-container div.modal ul.modal li a {
  text-decoration: none;
  color: #000;
  display: block;
  padding: 0.5rem;
  border-radius: 4px;
}
nav div.modal-container div.modal ul.modal li:hover {
  color: #f0f0f0;
}
nav div.modal-container div.modal ul.modal li:hover a {
  color: #fff;
}
nav ul {
  display: flex;
  width: 100%;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  gap: 1rem;
  font-size: 1rem;
  margin-right: 1rem;
}
nav ul a {
  padding: 0.5rem;
  text-decoration: none;
  color: #fff;
  border-radius: 1rem;
}
nav ul a:hover {
  background: rgb(6, 47, 91);
  color: #fff;
}

body {
  margin: 0;
  height: 100%;
}
body main section {
  padding: 3rem 0;
}
body main section.bg1 {
  background-image: url("../img/background.png");
}
body main section.bg2 {
  background-image: url("../img/background2.png");
}
body main section.bg3 {
  background-image: url("../img/background3.png");
}
body main section#carouselbg {
  width: 100vw;
  height: 100%;
}
body main section#carouselbg #carousel {
  grid-column-start: 1;
  grid-column-end: 3;
  position: relative;
  width: 100vw;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  height: 350px;
}
body main section#carouselbg #carousel .carousel-container {
  display: flex;
  width: 100%;
  height: 100%;
}
body main section#carouselbg #carousel img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  /* 圖片自適應容器 */
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  /* 淡入淡出效果 */
}
body main section#carouselbg #carousel img.active {
  opacity: 1;
  z-index: 1;
}
body main section#carouselbg #carousel .carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(108, 0, 0, 0.7);
  /* 主色深紅色 */
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 2;
  font-size: 1.5rem;
  border-radius: 4px;
}
body main section#carouselbg #carousel .carousel-btn.prev {
  left: 10px;
}
body main section#carouselbg #carousel .carousel-btn.next {
  right: 10px;
}
body main section#carouselbg #carousel .carousel-btn:hover {
  background-color: rgb(6, 47, 91);
}
body main section#concept {
  grid-column-start: 1;
  grid-column-end: 3;
  padding: 1rem;
}
body main section#concept div.text {
  margin: 0 auto;
  width: 80vw;
}
body main section#concept div.text p {
  line-height: 2.7rem;
  font-size: 1rem;
}
body main section#concept div.text p span {
  font-family: "Noto Serif TC", "Noto Sans TC", "Source Sans Pro", sans-serif;
  font-size: 1.5rem;
  color: rgb(6, 47, 91);
  padding-right: 0.25rem;
}
body main section#concept div.text h3 {
  margin-top: 1rem;
}
body main section#design-detail {
  grid-column-start: 1;
  grid-column-end: 3;
  background-image: url("../img/news.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}
body main section#design-detail h3 {
  color: #fff;
}
body main section#design-detail div.container {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  background: none;
}
body main section#design-detail div.container div.detail-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 1rem;
  color: #fff;
  margin: 0 0.5rem;
  padding: 1rem;
  background: none;
  overflow: hidden;
}
body main section#design-detail div.container div.detail-card .title {
  font-size: 1.25rem;
  padding: 1.5rem;
  font-weight: 600;
  position: relative;
}
body main section#design-detail div.container div.detail-card svg {
  margin-bottom: 1rem;
  width: 30px;
  height: 30px;
}
body main section#design-detail div.container div.detail-card > * {
  z-index: 1;
}
body main section#design-detail div.container div.c1 {
  background-color: rgba(255, 247, 223, 0.38);
}
body main section#design-detail div.container div.c2 {
  background-color: rgba(255, 223, 223, 0.38);
}
body main section#design-detail div.container div.c3 {
  background-color: rgba(218, 255, 242, 0.38);
}
body main section#design-architecture {
  grid-column-start: 1;
  grid-column-end: 3;
  background-image: url("../img/background.png");
  display: grid;
  grid-template-columns: 1fr 6fr;
  grid-template-rows: 1fr 1fr;
  justify-content: center;
}
body main section#design-architecture h3 {
  grid-row: 1/3;
  grid-column: 1/2;
  writing-mode: vertical-lr;
  place-self: center center;
  letter-spacing: 1rem;
}
body main section#design-architecture .ar1 {
  grid-row: 1/2;
  grid-column: 2/8;
}
body main section#design-architecture .ar2 {
  grid-row: 2/3;
  grid-column: 2/8;
}
body main section#design-architecture .ar {
  display: flex;
  align-items: center;
  gap: 1rem;
}
body main section#design-architecture .ar p {
  line-height: 2.5rem;
}
body main section#design-architecture .ar img {
  aspect-ratio: 4/3;
  -o-object-fit: contain;
     object-fit: contain;
}
body main section#goal-group div.text {
  margin: 0 auto;
  width: 80vw;
}
body main section#goal-group div.text p {
  line-height: 2.7rem;
  font-size: 1rem;
}
body main section#goal-group div.text p span {
  font-family: "Noto Serif TC", "Noto Sans TC", "Source Sans Pro", sans-serif;
  font-size: 1.5rem;
  color: rgb(6, 47, 91);
  padding-right: 0.25rem;
}
body main section#goal-group div.text h3 {
  margin-top: 1rem;
}
body main section#exhibition div.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 0.5rem;
}
body main section#exhibition div.container .blank {
  width: 100%;
  height: 2rem;
}
body main section#exhibition div.container .title {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
body main section#exhibition div.container .title .p {
  font-size: 1rem;
  color: rgb(118, 0, 0);
}
body main section#exhibition div.container div.swipe-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
body main section#exhibition div.container div.swipe-container div.east, body main section#exhibition div.container div.swipe-container div.west {
  position: relative;
  width: 100%;
  overflow: hidden;
}
body main section#exhibition div.container div.swipe-container div.east h3, body main section#exhibition div.container div.swipe-container div.west h3 {
  text-align: center;
  margin-bottom: 2rem;
}
body main section#exhibition div.container div.swipe-container div.east div.card, body main section#exhibition div.container div.swipe-container div.west div.card {
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  border: rgb(6, 47, 91) thick solid;
  background-color: #fff;
}
body main section#exhibition div.container div.swipe-container div.east div.card div.text, body main section#exhibition div.container div.swipe-container div.west div.card div.text {
  order: 2;
  padding: 1rem;
}
body main section#exhibition div.container div.swipe-container div.east div.card div.text h4, body main section#exhibition div.container div.swipe-container div.west div.card div.text h4 {
  font-size: 1.2rem;
  color: rgb(118, 0, 0);
  text-align: center;
}
body main section#exhibition div.container div.swipe-container div.east div.card div.text span, body main section#exhibition div.container div.swipe-container div.west div.card div.text span {
  color: rgb(6, 47, 91);
  display: block;
  text-align: center;
  margin: 0.5rem 0;
}
body main section#exhibition div.container div.swipe-container div.east div.card div.text p, body main section#exhibition div.container div.swipe-container div.west div.card div.text p {
  text-indent: 0;
  line-height: 1.6;
}
body main section#exhibition div.container div.swipe-container div.east div.card div.image, body main section#exhibition div.container div.swipe-container div.west div.card div.image {
  order: 1;
}
body main section#exhibition div.container div.swipe-container div.east div.card div.image img, body main section#exhibition div.container div.swipe-container div.west div.card div.image img {
  width: 100%;
  aspect-ratio: 16/9;
  -o-object-fit: cover;
     object-fit: cover;
  border-top-right-radius: 0.5rem;
  border-top-left-radius: 0.5rem;
}
body main section#events {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
body main section#events div.title {
  display: flex;
  gap: 1rem;
}
body main section#events img.big {
  width: 350px;
}
body main section#about {
  grid-column-start: 1;
  grid-column-end: 3;
}
body main section#about div.text {
  margin: 0 auto;
  width: 80vw;
}
body main section#about div.text p {
  line-height: 2.7rem;
  font-size: 1rem;
}
body main section#about div.text p span {
  font-family: "Noto Serif TC", "Noto Sans TC", "Source Sans Pro", sans-serif;
  font-size: 1.5rem;
  color: rgb(6, 47, 91);
  padding-right: 0.25rem;
}
body main section#about div.text h3 {
  margin-top: 1rem;
}
body main section#about div.container {
  background-color: rgb(118, 0, 0);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  padding: 2rem 1rem;
}
body main section#about div.container div.profile-card {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: rgb(6, 47, 91) 2px dashed;
  border-radius: 1rem;
}
body main section#about img {
  width: 200px;
  height: 200px;
  -o-object-fit: cover;
     object-fit: cover;
  aspect-ratio: 1/1;
  border-radius: 50%;
  border: #ffffff 2px solid;
  margin: 1rem 0;
}
body main section#about .title {
  margin-bottom: 1rem;
  color: rgb(118, 0, 0);
}
body main section#about .title span {
  padding-left: 0.7rem;
  color: rgb(6, 47, 91);
}
body main section h3 {
  font-size: 1.5rem;
  color: rgb(6, 47, 91);
  margin-bottom: 1rem;
  text-align: center;
}
@media screen and (max-width: 600px) {
  body main section#carousel {
    height: 250px;
  }
  body main section#carousel .carousel-btn {
    padding: 8px;
    font-size: 1.2rem;
  }
  body main section#design-architecture {
    display: flex;
    flex-direction: column;
  }
  body main section#design-architecture h3 {
    writing-mode: horizontal-tb;
  }
  body main section#design-architecture div.ar {
    display: flex;
    flex-direction: column;
    margin: 0 1rem;
  }
}

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
}
footer hr {
  width: 100%;
  color: #898989;
}
footer div.footer {
  color: #6f6f6f;
  padding: 1rem 0;
}

@media screen and (max-width: 600px) {
  nav ul {
    display: none;
  }
  nav button.menu {
    display: inline-block;
  }
}
/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgb(6, 47, 91);
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: rgb(118, 0, 0);
}

input:focus + .slider {
  box-shadow: 0 0 1px #f32121;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.owl-carousel {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.owl-item img {
  width: 100%;
  height: 300px;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.owl-item img:hover {
  transform: scale(1.02);
}

.owl-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
}

.owl-prev, .owl-next {
  background: rgba(118, 0, 0, 0.7) !important;
  color: white !important;
  width: 40px;
  height: 40px;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  pointer-events: auto;
  margin: 0 1rem;
}
.owl-prev:hover, .owl-next:hover {
  background: rgba(118, 0, 0, 0.9) !important;
  transform: scale(1.1);
}
.owl-prev svg, .owl-next svg {
  width: 24px;
  height: 24px;
}

.owl-dots {
  display: none;
}

.door-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}
.door-modal.active {
  display: flex;
}
.door-modal .modal-content {
  background-color: #fff;
  padding: 2rem;
  border-radius: 1rem;
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.door-modal .modal-content .close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: rgb(118, 0, 0);
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}
.door-modal .modal-content .close-btn:hover {
  background-color: rgba(118, 0, 0, 0.1);
}
.door-modal .modal-content .door-info h4 {
  font-size: 1.5rem;
  color: rgb(118, 0, 0);
  margin-bottom: 1rem;
  text-align: center;
}
.door-modal .modal-content .door-info .subtitle {
  color: rgb(6, 47, 91);
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}
.door-modal .modal-content .door-info p {
  line-height: 1.8;
  text-indent: 2rem;
  margin-bottom: 1rem;
}

@media screen and (max-width: 600px) {
  .owl-carousel .owl-nav {
    display: none;
  }
  .door-modal .modal-content {
    padding: 1.5rem;
    width: 95%;
  }
  .door-modal .modal-content .door-info h4 {
    font-size: 1.3rem;
  }
  .door-modal .modal-content .door-info .subtitle {
    font-size: 1rem;
  }
}
.door-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.door-modal.active {
  display: flex;
}
.door-modal .modal-content {
  background-color: #fff;
  padding: 2rem;
  border-radius: 1rem;
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.door-modal .modal-content .close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.door-modal .modal-content .close-btn:hover {
  background-color: rgba(0, 0, 0, 0.1);
}
.door-modal .modal-content .close-btn svg {
  width: 24px;
  height: 24px;
  color: #333;
}
.door-modal .modal-content .door-info h4 {
  font-size: 1.5rem;
  color: rgb(118, 0, 0);
  margin-bottom: 1rem;
  text-align: center;
}
.door-modal .modal-content .door-info .subtitle {
  color: rgb(6, 47, 91);
  text-align: center;
  margin-bottom: 1rem;
}
.door-modal .modal-content .door-info .photo-gallery {
  margin: 20px 0;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}
.door-modal .modal-content .door-info .photo-gallery .owl-stage-outer {
  border-radius: 8px;
  overflow: hidden;
}
.door-modal .modal-content .door-info .photo-gallery img {
  width: 100%;
  height: 400px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 8px;
}
.door-modal .modal-content .door-info .photo-gallery .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
}
.door-modal .modal-content .door-info .photo-gallery .owl-nav button {
  background: rgba(255, 255, 255, 0.8) !important;
  width: 40px;
  height: 40px;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  transition: all 0.3s ease;
}
.door-modal .modal-content .door-info .photo-gallery .owl-nav button:hover {
  background: rgb(255, 255, 255) !important;
}
.door-modal .modal-content .door-info .photo-gallery .owl-nav button svg {
  width: 24px;
  height: 24px;
  color: #333;
}
.door-modal .modal-content .door-info .photo-gallery .owl-dots {
  position: absolute;
  bottom: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.door-modal .modal-content .door-info .photo-gallery .owl-dots .owl-dot {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.5) !important;
  border-radius: 50%;
  transition: all 0.3s ease;
}
.door-modal .modal-content .door-info .photo-gallery .owl-dots .owl-dot.active {
  background: #fff !important;
  transform: scale(1.2);
}
.door-modal .modal-content .door-info p {
  line-height: 1.6;
  margin-top: 1rem;
  text-align: justify;
}/*# sourceMappingURL=style.css.map */