/* Mobile first；各 section 依序收納基本樣式、540px、768px、桌機／橫式、1500px。 */

/* 共同設定與字級斷點 */
.page-main {
  --page-teal: #4e858c;
  color: rgb(66, 70, 65);
  background: url("../img/yunheng/kv-bg.png") 20% center / 2160px auto repeat
    rgb(239, 239, 236);
  font:
    400 16px / 1.6 "Noto Sans TC",
    sans-serif;
}
.page-main section {
  min-height: 0px;
  position: relative;
}
/* 圖片外層負責尺寸與動畫；img 保留 index.css 的全域設定。 */
.image-frame {
  display: flex;
  min-width: 0px;
}
.page-main button {
  font: inherit;
  cursor: pointer;
}
.page-main a {
  word-break: normal;
}
.page-main button:focus-visible,
.page-main a:focus-visible {
  outline: rgb(73, 126, 133) solid 3px;
  outline-offset: 5px;
}
.page-main h2 {
  font:
    600 28px / 1.3 "Noto Serif TC",
    "Songti TC",
    serif;
  margin: 0px 0px 25px;
  letter-spacing: -0.035em;
}
.page-main h2 small {
  display: block;
  font-size: 0.65em;
  margin-top: 0.15em;
  font-weight: 600;
}
.page-main p,
.page-main span {
  font-family: "Noto Sans TC", sans-serif;
}
.page-main p {
  margin: 0px 0px 25px;
}
.page-main strong {
  font-weight: 700;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0px;
}
@media (min-width: 540px) {
  .page-main {
    font-size: 22px;
  }
  .page-main h2 {
    font-size: 36px;
  }
}
@media (min-width: 768px) {
  .page-main h2 {
    font-size: 38px;
  }
}
@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  .page-main {
    display: flex;
    flex-wrap: wrap;
    font-size: 17px;
  }
  .page-main > section,
  .page-main > footer {
    width: 100%;
  }
  .page-main h2 {
    font-size: 33px;
  }
}
@media (min-width: 1500px) {
  .page-main {
    font-size: 19px;
  }
  .page-main h2 {
    font-size: 39px;
  }
}

/* 進場動畫：WOW 由 loader 結束後啟動；class 與延遲設定放在 index.php。 */
.wow.reveal-soft,
.wow.reveal-fade,
.wow.reveal-from-right,
.wow.reveal-from-bottom,
.wow.reveal-from-top {
  visibility: hidden;
  animation-fill-mode: both;
}
.wow.reveal-soft {
  animation-name: reveal-soft;
  animation-duration: 2s;
  animation-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
}
.wow.reveal-fade {
  animation-name: reveal-fade;
  animation-duration: 1.6s;
  animation-timing-function: ease;
}
@keyframes reveal-soft {
  from {
    opacity: 0;
    transform: scale(1.018);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes reveal-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* translate 與既有 transform 分開，保留 section2 標題的上下錯位。 */
.wow.reveal-from-right,
.wow.reveal-from-bottom,
.wow.reveal-from-top {
  animation-duration: 2.2s;
  animation-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
}
.wow.reveal-from-right {
  animation-name: reveal-from-right;
}
.wow.reveal-from-bottom {
  animation-name: reveal-from-bottom;
}
.wow.reveal-from-top {
  animation-name: reveal-from-top;
}
@keyframes reveal-from-right {
  from {
    opacity: 0;
    translate: 15px 0;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@keyframes reveal-from-bottom {
  from {
    opacity: 0;
    translate: 0 15px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@keyframes reveal-from-top {
  from {
    opacity: 0;
    translate: 0 -15px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .wow.reveal-soft,
  .wow.reveal-fade,
  .wow.reveal-from-right,
  .wow.reveal-from-bottom,
  .wow.reveal-from-top {
    visibility: visible !important;
    animation: none !important;
  }
}

/* section1 首屏 */
.section1 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  overflow: hidden;
}
.section1-layout {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5svh;
  width: 100%;
  min-height: 100svh;
  padding: 8svh 0px;
  box-sizing: border-box;
}
.section1-p1-mb {
  width: 90%;
  aspect-ratio: 1065 / 1226;
  margin-left: -10%;
  flex-shrink: 0;
}
.section1-visual,
.section1 .section1-t1 {
  display: none;
}
.section1-copy {
  display: contents;
}
.section1-t1 {
  aspect-ratio: 371 / 1201;
}
.section1-p1 {
  width: 100%;
  aspect-ratio: 971 / 650;
}
.section1-t2 {
  position: relative;
  width: 70%;
  aspect-ratio: 901 / 251;
  flex-shrink: 0;
  left: 8%;
  z-index: 3;
}
@media (min-width: 540px) {
  .section1-layout {
    max-width: 680px;
  }
}
@media (min-width: 768px) {
  .section1-layout {
    max-width: 768px;
  }
}
@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  .page-main .section1 {
    width: 100%;
    min-height: 100svh;
  }
  .section1-layout {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6%;
    width: 100%;
    max-width: 1120px;
    min-height: 90svh;
    padding: 5svh 4%;
  }
  .section1 .section1-p1-mb {
    display: none;
  }
  .section1-visual,
  .section1-copy {
    display: flex;
    flex: 1 1 0;
    min-width: 0;
  }
  .section1-visual {
    align-items: center;
    justify-content: center;
  }
  .section1-p1 {
    width: 120%;
    flex-shrink: 0;
  }
  .section1-copy {
    flex-direction: column;
    align-items: end;
    justify-content: center;
    gap: 5svh;
  }
  .section1 .section1-t1 {
    display: flex;
    width: min(25%, calc(55svh * 371 / 1201));
  }
  .section1-t2 {
    position: static;
    width: 70%;
  }
}
@media (min-width: 1500px) {
  .section1-layout {
    max-width: 1240px;
  }
}

.page-main .section1-video {
  min-height: 0;
}
.section1-video-player {
  display: block;
  width: 100%;
  height: auto;
}

/* section2 台大實景 */
.page-main .section2 {
  width: 100%;
  height: 85vh;
  min-height: 700px;
  overflow: hidden;
}
.section2-visual {
  width: 100%;
  height: 100%;
  -webkit-mask-image: url("../img/yunheng/scene-wave-mask.svg");
  mask-image: url("../img/yunheng/scene-wave-mask.svg");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.section2-image {
  width: 100%;
  height: 100%;
  object-position: 66% center;
}
.page-main .section2-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0px;
  display: flex;
  flex-direction: row-reverse;
  color: rgb(255, 255, 255);
  font:
    400 28px / 1.55 "Noto Serif TC",
    serif;
  letter-spacing: 0.12em;
  text-shadow: rgba(0, 0, 0, 0.75) 0px 2px 12px;
}
.page-main .section2-title span {
  writing-mode: vertical-rl;
  font-family: inherit;
}
.section2-title-right {
  transform: translateY(-1.2em);
}
.section2-title-left {
  transform: translateY(1.2em);
}
@media (min-width: 540px) {
  .page-main .section2-title {
    font-size: 36px;
  }
}
@media (min-width: 768px) {
  .page-main .section2 {
    height: 100vh;
    min-height: unset;
  }
  .page-main .section2-title {
    font-size: 38px;
  }
}
@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  .page-main .section2 {
    height: 115vh;
  }
  .section2-image {
    object-position: center center;
  }
}
@media (min-width: 1500px) {
  .page-main .section2-title {
    font-size: 44px;
  }
}

/* 照片慢速縮放，遮罩與標題維持固定；離開畫面時暫停。 */
@media (prefers-reduced-motion: no-preference) {
  .section2-image {
    transform-origin: center;
    animation: section2-zoom 20s ease-in-out infinite alternate;
    animation-play-state: paused;
  }
  .section2.is-visible .section2-image {
    animation-play-state: running;
  }
  @keyframes section2-zoom {
    from {
      transform: scale(1);
    }
    to {
      transform: scale(1.2);
    }
  }
}

/* section3 校園生活 */
.page-main .section3 h2 {
  letter-spacing: 0.04em;
}
.section3 {
  padding: 80px 0px 40px;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}
.section3 #campus-title .section3-number {
  font-family: "Noto Serif TC";
}
.section3-copy {
  position: relative;
  padding: 26px 5% 0px 21%;
}
.section3-copy p:last-child {
  margin-bottom: 0px;
}
.section3-side-label {
  position: absolute;
  top: 30px;
  left: 7.8%;
  writing-mode: vertical-rl;
  font:
    400 0.96em / 1.2 "Noto Sans TC",
    sans-serif;
  letter-spacing: 0.19em;
}
.section3-gallery {
  width: 91.7%;
  margin-left: auto;
  margin-right: 0px;
  position: relative;
  border-radius: 60px 0px 0px;
  overflow: hidden;
  aspect-ratio: 734 / 510;
  min-width: 0px;
}
.section3-gallery .swiper-wrapper {
  height: 100%;
}
.section3-gallery figure {
  width: 100%;
  height: 100%;
  margin: 0px;
  position: relative;
}
.section3-image {
  width: 100%;
  height: 100%;
}
.section3-gallery figure::after {
  content: "";
  position: absolute;
  inset: 55% 0px 0px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.467));
  pointer-events: none;
}
.section3-gallery figcaption {
  position: absolute;
  bottom: 17px;
  left: 17px;
  color: white;
  font-size: 0.75em;
  letter-spacing: 0.12em;
  z-index: 1;
}
.section3-gallery .section3-gallery-dots {
  position: absolute;
  bottom: 7px;
  right: 10px;
  left: auto;
  width: auto;
  display: flex;
  z-index: 2;
}
.section3-gallery-dots .swiper-pagination-bullet {
  width: 18px;
  height: 32px;
  background: none;
  border: 0px;
  border-radius: 0px;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0px !important;
}
.section3-gallery-dots .swiper-pagination-bullet::after {
  content: "";
  width: 7px;
  height: 7px;
  border: 1px solid white;
  border-radius: 50%;
}
.section3-gallery-dots .swiper-pagination-bullet-active::after {
  background: white;
}
.section3::before {
  content: "";
  position: absolute;
  width: 80%;
  height: 420px;
  left: -50%;
  top: 25%;
  background: url("../img/yunheng/glass.png") center center / contain no-repeat;
  z-index: -1;
}
.section3-number {
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 500;
}
@media (min-width: 540px) {
  .section3 {
    padding: 80px 0px;
  }
  .section3-copy {
    padding-top: 35px;
  }
  .section3-gallery {
    border-top-left-radius: 80px;
  }
  .section3::before {
    top: 28%;
  }
}
@media (min-width: 768px) {
  .section3-copy {
    padding-right: 10%;
  }
  .section3-copy p {
    margin-bottom: 32px;
  }
  .section3::before {
    top: 35%;
    left: -45%;
  }
}
@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  .section3 {
    height: 100vh;
    flex-direction: row-reverse;
    gap: 5%;
    padding: 0 0 0 6%;
    align-items: center;
    justify-content: center;
  }
  .section3-gallery {
    flex: 0 0 51%;
    width: 51%;
    margin: 0px;
    border-top-left-radius: 100px;
  }
  .section3-copy {
    flex: 1 1 0%;
    padding: 0px 0px 0px 5%;
  }
  .section3-side-label {
    top: 5px;
    left: 0px;
    font-size: 14px;
  }
  .section3-copy p {
    margin-bottom: 24px;
  }
  .section3::before {
    display: block;
    width: 28%;
    height: auto;
    aspect-ratio: 809 / 618;
    top: 5%;
    left: -15%;
    right: auto;
    transform: none;
  }
}
@media (min-width: 1500px) {
  .section3 {
    gap: 6%;
  }
}

/* section4 明星學區 */
.page-main .section4 h2 {
  letter-spacing: 0.04em;
}
.section4 {
  padding: 40px 0px;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}
.section4-copy {
  position: relative;
  padding: 26px 5% 0px 21%;
}
.section4-copy p:last-child {
  margin-bottom: 0px;
}
.section4-side-label {
  position: absolute;
  top: 30px;
  left: 7.8%;
  writing-mode: vertical-rl;
  font:
    400 0.96em / 1.2 "Noto Sans TC",
    sans-serif;
  letter-spacing: 0.19em;
}
.section4-gallery {
  width: 91.7%;
  margin-left: auto;
  margin-right: 0px;
  position: relative;
  border-radius: 60px 0px 0px;
  overflow: hidden;
  aspect-ratio: 734 / 510;
  min-width: 0px;
}
.section4-gallery .swiper-wrapper {
  height: 100%;
}
.section4-gallery figure {
  width: 100%;
  height: 100%;
  margin: 0px;
  position: relative;
}
.section4-image {
  object-position: center 55%;
  width: 100%;
  height: 100%;
}
.section4-gallery figure::after {
  content: "";
  position: absolute;
  inset: 55% 0px 0px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.467));
  pointer-events: none;
}
.section4-gallery figcaption {
  position: absolute;
  bottom: 17px;
  left: 17px;
  color: white;
  font-size: 0.75em;
  letter-spacing: 0.12em;
  z-index: 1;
}
.section4-gallery .section4-gallery-dots {
  position: absolute;
  bottom: 7px;
  right: 10px;
  left: auto;
  width: auto;
  display: flex;
  z-index: 2;
}
.section4-gallery-dots .swiper-pagination-bullet {
  width: 18px;
  height: 32px;
  background: none;
  border: 0px;
  border-radius: 0px;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0px !important;
}
.section4-gallery-dots .swiper-pagination-bullet::after {
  content: "";
  width: 7px;
  height: 7px;
  border: 1px solid white;
  border-radius: 50%;
}
.section4-gallery-dots .swiper-pagination-bullet-active::after {
  background: white;
}
.section4::before {
  content: "";
  position: absolute;
  width: 80%;
  height: 420px;
  left: -50%;
  top: 20%;
  background: url("../img/yunheng/glass.png") center center / contain no-repeat;
  z-index: -1;
}
@media (min-width: 540px) {
  .section4 {
    padding: 80px 0px;
  }
  .section4::before {
    top: 28%;
  }
  .section4-copy {
    padding-top: 35px;
  }
  .section4-gallery {
    border-top-left-radius: 80px;
  }
}
@media (min-width: 768px) {
  .section4-copy {
    padding-right: 10%;
  }
  .section4-copy p {
    margin-bottom: 32px;
  }
  .section4::before {
    top: 35%;
    left: -45%;
  }
}
@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  .section4 {
    height: 100vh;
    gap: 5%;
    flex-direction: row;
    padding: 0 6% 0 0;
    align-items: center;
    justify-content: center;
  }
  .section4-gallery {
    flex: 0 0 51%;
    width: 51%;
    margin: 0px;
    border-radius: 0 100px 0 0;
  }
  .section4-copy {
    flex: 1 1 0%;
    padding: 0px 0px 0px 5%;
  }
  .section4-side-label {
    top: 5px;
    left: 0px;
    font-size: 14px;
  }
  .section4-copy p {
    margin-bottom: 24px;
  }
  .section4::before {
    display: block;
    width: 28%;
    height: auto;
    aspect-ratio: 809 / 618;
    top: 5%;
    left: auto;
    right: -15%;
    transform: scaleX(-1);
  }
}
@media (min-width: 1500px) {
  .section4 {
    gap: 6%;
  }
}

/* section5 溫羅汀生活：手機橫向瀏覽；桌機地圖與左下文案疊放。 */
.page-main .section5 h2 {
  letter-spacing: 0.04em;
}
.section5 {
  padding: 40px 0;
  isolation: isolate;
}
.section5-map-viewport {
  /* 原圖可瀏覽範圍：左界 12%、右界 78%；維持原有地圖縮放尺寸。 */
  --map-start: 0.08;
  --map-end: 0.78;
  --map-width: max(216vw, 760px);
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  cursor: grab;
}
.section5-map-range {
  width: calc(var(--map-width) * (var(--map-end) - var(--map-start)));
  overflow: hidden;
}
.section5-map {
  width: var(--map-width);
  margin-left: calc(var(--map-width) * var(--map-start) * -1);
  aspect-ratio: 2293 / 1831;
}
.page-main .section5-pan-hint {
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.12em;
  margin-bottom: 0;
}
.section5-copy {
  position: relative;
  padding: 26px 5% 0 18%;
}
.section5-copy p:last-child {
  margin-bottom: 0;
}
.section5-side-label {
  position: absolute;
  top: 30px;
  left: 5.5%;
  writing-mode: vertical-rl;
  font-size: 0.96em;
  letter-spacing: 0.19em;
}
.section5::before {
  content: "";
  position: absolute;
  width: 80%;
  height: 420px;
  left: -50%;
  top: 45%;
  background: url("../img/yunheng/glass.png") center / contain no-repeat;
  z-index: -1;
}
@media (min-width: 540px) {
  .section5 {
    padding: 80px 0;
  }
  .section5-copy {
    padding-top: 35px;
  }
  .section5::before {
    top: 49%;
  }
}
@media (min-width: 768px) {
  .section5-copy {
    padding-right: 10%;
  }
  .section5-copy p {
    margin-bottom: 32px;
  }
  .section5::before {
    top: 56%;
  }
}
@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  .section5 {
    min-height: max(100vh, 88vw);
    padding: 42vw 0 4vw;
  }
  .section5-map-viewport {
    position: absolute;
    top: -7vw;
    left: 12%;
    width: 110%;
    overflow: hidden;
    cursor: default;
  }
  .section5-map-range {
    width: 100%;
    overflow: visible;
  }
  .section5-map {
    width: 100%;
    min-width: 0;
    margin-left: 0;
  }
  .section5-pan-hint {
    display: none;
  }
  .section5-copy {
    width: 46%;
    padding: 0 0 0 12vw;
  }
  .section5-side-label {
    top: 5px;
    left: 6.5vw;
    font-size: 14px;
  }
  .section5-copy p {
    margin-bottom: 24px;
  }
  .section5::before {
    width: 28%;
    height: auto;
    aspect-ratio: 809 / 618;
    top: 40%;
    left: -15%;
  }
}
@media (min-width: 1500px) {
  .section5-copy {
    width: 44%;
  }
}

/* section6 綠化建築 */
.page-main .section6 h2 {
  letter-spacing: 0.04em;
}
.section6 {
  padding: 40px 0px 80px;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}
.section6-copy {
  position: relative;
  padding: 26px 5% 0px 21%;
}
.section6-copy p:last-child {
  margin-bottom: 0px;
}
.section6-side-label {
  position: absolute;
  top: 30px;
  left: 7.8%;
  writing-mode: vertical-rl;
  font:
    400 0.96em / 1.2 "Noto Sans TC",
    sans-serif;
  letter-spacing: 0.19em;
}
.section6-gallery {
  width: 91.7%;
  margin-left: auto;
  margin-right: 0px;
  position: relative;
  border-radius: 60px 0px 0px;
  overflow: hidden;
  aspect-ratio: 734 / 510;
  min-width: 0px;
}
.section6-gallery .swiper-wrapper {
  height: 100%;
}
.section6-gallery figure {
  width: 100%;
  height: 100%;
  margin: 0px;
  position: relative;
}
.section6-image {
  object-position: center 43%;
  width: 100%;
  height: 100%;
}
.section6-gallery figure::after {
  content: "";
  position: absolute;
  inset: 55% 0px 0px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.467));
  pointer-events: none;
}
.section6-gallery figcaption {
  position: absolute;
  bottom: 17px;
  left: 17px;
  color: white;
  font-size: 0.75em;
  letter-spacing: 0.12em;
  z-index: 1;
}
.section6-gallery .section6-gallery-dots {
  position: absolute;
  bottom: 7px;
  right: 10px;
  left: auto;
  width: auto;
  display: flex;
  z-index: 2;
}
.section6-gallery-dots .swiper-pagination-bullet {
  width: 18px;
  height: 32px;
  background: none;
  border: 0px;
  border-radius: 0px;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0px !important;
}
.section6-gallery-dots .swiper-pagination-bullet::after {
  content: "";
  width: 7px;
  height: 7px;
  border: 1px solid white;
  border-radius: 50%;
}
.section6-gallery-dots .swiper-pagination-bullet-active::after {
  background: white;
}
.section6::before {
  content: "";
  position: absolute;
  width: 80%;
  height: 420px;
  left: -50%;
  top: 22%;
  background: url("../img/yunheng/glass.png") center center / contain no-repeat;
  z-index: -1;
}
@media (min-width: 540px) {
  .section6 {
    padding: 80px 0px;
  }
  .section6::before {
    top: 28%;
  }
  .section6-copy {
    padding-top: 35px;
  }
  .section6-gallery {
    border-top-left-radius: 80px;
  }
}
@media (min-width: 768px) {
  .section6-copy {
    padding-right: 10%;
  }
  .section6-copy p {
    margin-bottom: 32px;
  }
  .section6::before {
    top: 35%;
    left: -45%;
  }
}
@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  .section6 {
    height: 100vh;
    gap: 5%;
    flex-direction: row;
    padding: 0 6% 0 0;
    align-items: center;
    justify-content: center;
  }
  .section6-gallery {
    flex: 0 0 51%;
    width: 51%;
    margin: 0px;
    border-radius: 0 100px 0 0;
  }
  .section6-copy {
    flex: 1 1 0%;
    padding: 0px 0px 0px 5%;
  }
  .section6-side-label {
    top: 5px;
    left: 0px;
    font-size: 14px;
  }
  .section6-copy p {
    margin-bottom: 24px;
  }
  .section6::before {
    display: block;
    width: 28%;
    height: auto;
    aspect-ratio: 809 / 618;
    top: 5%;
    left: auto;
    right: -15%;
    transform: scaleX(-1);
  }
}
@media (min-width: 1500px) {
  .section6 {
    gap: 6%;
  }
}

/* section7 窗景：固定弧形遮罩，照片以觸控、滑鼠或方向鍵瀏覽。 */
.page-main .section7 {
  --scene-height: max(85vh, 700px);
  width: 100%;
  height: var(--scene-height);
  overflow: hidden;
}
.section7-visual {
  width: 100%;
  height: 100%;
  -webkit-mask: url("../img/yunheng/scene-wave-mask.svg") center / 100% 100%
    no-repeat;
  mask: url("../img/yunheng/scene-wave-mask.svg") center / 100% 100% no-repeat;
}
.section7-pan {
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  cursor: grab;
}
.section7-pan::-webkit-scrollbar {
  display: none;
}
.section7-image {
  width: max(120%, calc(var(--scene-height) * 1920 / 1281));
  height: 100%;
}
.section7-caption {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  color: #fff;
  text-shadow: 0 2px 12px #000c;
  pointer-events: none;
}
.section7-pan-hint {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  font-size: 14px;
  letter-spacing: 0.12em;
}
.section7-pan-hint button {
  pointer-events: auto;
  border: 0;
  background: none;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
}
.section7-pan-hint button svg {
  display: block;
  width: 18px;
  height: 24px;
  flex-shrink: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .section7-pan-hint span {
    animation: section7-pan-cue 2.4s ease-in-out infinite;
  }
  @keyframes section7-pan-cue {
    0%,
    100% {
      transform: translateX(-4px);
    }
    50% {
      transform: translateX(4px);
    }
  }
}
.page-main .section7-title {
  margin: 0;
  writing-mode: vertical-rl;
  white-space: pre;
  font:
    400 28px/1.55 "Noto Serif TC",
    serif;
  letter-spacing: 0.12em;
}
@media (min-width: 540px) {
  .page-main .section7-title {
    font-size: 36px;
  }
}
@media (min-width: 768px) {
  .page-main .section7 {
    --scene-height: 100vh;
  }
  .page-main .section7-title {
    font-size: 38px;
  }
}
@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  .page-main .section7 {
    --scene-height: 115vh;
  }
}
@media (min-width: 1500px) {
  .page-main .section7-title {
    font-size: 44px;
  }
}

/* section8 公共空間 */
.page-main .section8 h2 {
  letter-spacing: 0.04em;
}
.section8 {
  padding: 80px 0px 40px;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}
.section8-copy {
  position: relative;
  padding: 26px 5% 0px 21%;
}
.section8-copy p:last-child {
  margin-bottom: 0px;
}
.section8-side-label {
  position: absolute;
  top: 30px;
  left: 7.8%;
  writing-mode: vertical-rl;
  font:
    400 0.96em / 1.2 "Noto Sans TC",
    sans-serif;
  letter-spacing: 0.19em;
}
.section8-gallery {
  width: 91.7%;
  margin-left: auto;
  margin-right: 0px;
  position: relative;
  border-radius: 60px 0px 0px;
  overflow: hidden;
  aspect-ratio: 734 / 510;
  min-width: 0px;
}
.section8-gallery .swiper-wrapper {
  height: 100%;
}
.section8-gallery figure {
  width: 100%;
  height: 100%;
  margin: 0px;
  position: relative;
}
.section8-image {
  width: 100%;
  height: 100%;
}
.section8-gallery figure::after {
  content: "";
  position: absolute;
  inset: 55% 0px 0px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.467));
  pointer-events: none;
}
.section8-gallery figcaption {
  position: absolute;
  bottom: 17px;
  left: 17px;
  color: white;
  font-size: 0.75em;
  letter-spacing: 0.12em;
  z-index: 1;
}
.section8-gallery .section8-gallery-dots {
  position: absolute;
  bottom: 7px;
  right: 10px;
  left: auto;
  width: auto;
  display: flex;
  z-index: 2;
}
.section8-gallery-dots .swiper-pagination-bullet {
  width: 18px;
  height: 32px;
  background: none;
  border: 0px;
  border-radius: 0px;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0px !important;
}
.section8-gallery-dots .swiper-pagination-bullet::after {
  content: "";
  width: 7px;
  height: 7px;
  border: 1px solid white;
  border-radius: 50%;
}
.section8-gallery-dots .swiper-pagination-bullet-active::after {
  background: white;
}

@media (min-width: 540px) {
  .section8 {
    padding: 80px 0px;
  }
  .section8-copy {
    padding-top: 35px;
  }
  .section8-gallery {
    border-top-left-radius: 80px;
  }
}
@media (min-width: 768px) {
  .section8-copy {
    padding-right: 10%;
  }
  .section8-copy p {
    margin-bottom: 32px;
  }
}
@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  .section8 {
    height: 100vh;
    flex-direction: row-reverse;
    gap: 5%;
    padding: 0 0 0 6%;
    align-items: center;
    justify-content: center;
  }
  .section8-gallery {
    flex: 0 0 51%;
    width: 51%;
    margin: 0px;
    border-top-left-radius: 100px;
  }
  .section8-copy {
    flex: 1 1 0%;
    padding: 0px 0px 0px 5%;
  }
  .section8-side-label {
    top: 5px;
    left: 0px;
    font-size: 14px;
  }
  .section8-copy p {
    margin-bottom: 24px;
  }
}
@media (min-width: 1500px) {
  .section8 {
    gap: 6%;
  }
}

/* section9 平面規劃與視窗 */
.page-main .section9 h2 {
  letter-spacing: 0.04em;
}
.section9 {
  display: flex;
  flex-direction: column;
  isolation: isolate;
  padding-top: 70px;
  padding-bottom: 100px;
}
.section9-media {
  display: contents;
}
.section9-copy {
  order: 2;
  position: relative;
  padding: 26px 5% 0px 21%;
}
.section9-copy p:last-child {
  margin-bottom: 0px;
}
.section9-side-label {
  position: absolute;
  top: 30px;
  left: 7.8%;
  writing-mode: vertical-rl;
  font:
    400 0.96em / 1.2 "Noto Sans TC",
    sans-serif;
  letter-spacing: 0.19em;
}

.section9-image {
  aspect-ratio: 1601 / 957;
  width: 87%;
  margin: 0px auto;
  mix-blend-mode: multiply;
}
.section9 .section9-copy {
  padding-top: 30px;
}
.section9-plan-dialog button {
  font: inherit;
  cursor: pointer;
}
.section9-plan-dialog :focus-visible {
  outline: rgb(73, 126, 133) solid 3px;
  outline-offset: 5px;
}
.section9-plan-dialog,
.section9-plan-dialog * {
  font-family: "Noto Serif TC", serif;
}
.section9-plan-open {
  order: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 87.5%;
  margin: 50px auto 0px;
  padding: 25px 10px;
  background: rgb(5, 2, 0);
  color: rgb(255, 255, 255);
  border: 0px;
  border-radius: 14px;
  box-shadow: rgba(71, 126, 134, 0.667) 0px 0px 15px;
  font-family: "Noto Serif TC", serif !important;
}
.page-main .section9-plan-open,
.page-main .section9-plan-open span,
.page-main .section9-plan-open strong {
  font-family: "Noto Serif TC", serif;
}
.section9-plan-open span {
  font-size: 0.78em;
  letter-spacing: 0.04em;
}
.section9-plan-open strong {
  font-size: 1.1em;
  line-height: 1.8;
  letter-spacing: 0.04em;
}
.section9-plan-open:hover {
  background: rgb(37, 76, 80);
}
.section9-plan-dialog {
  padding: 0px;
  border: 0px;
  width: 100%;
  max-width: 430px;
  height: 100%;
  max-height: 100dvh;
  margin: 0px auto;
  background: url("../img/yunheng/kv-bg.png") 20% center / 2160px auto repeat
    rgb(239, 239, 236);
  color: rgb(34, 53, 90);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
}
.section9-plan-dialog[open] {
  display: flex;
  flex-direction: column;
  align-self: center;
}
.section9-plan-dialog::backdrop {
  background: rgba(24, 30, 42, 0.5);
}
.section9-plan-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px 16px;
  border-bottom: 1px solid rgb(201, 204, 210);
}
.section9-plan-close {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0px;
  background: none;
  color: rgb(34, 53, 90);
  padding: 0px;
  letter-spacing: 0.12em;
  font-size: 17px !important;
}
.section9-plan-close span {
  font-size: 15px;
}
.section9-plan-compass {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
}
.section9-plan-compass circle {
  stroke-width: 1.6px;
}
.section9-plan-compass line {
  stroke-width: 1.8px;
  stroke-linecap: round;
}
.section9-plan-heading {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
  padding: 26px 22px 0px;
  animation: section9-plan-head-in 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) 0.06s
    both;
}
.section9-plan-heading-copy {
  flex: 1 1 auto;
  min-width: 0px;
  padding-top: 2px;
}
.section9-plan-heading-copy h2 {
  margin: 0px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.09em;
  white-space: nowrap;
}
.section9-plan-heading-copy p {
  margin: 14px 0px 0px;
  font-size: 11px;
  line-height: 1.4;
  white-space: nowrap;
}
.section9-plan-heading-copy p span {
  padding: 0px 4px;
  color: rgb(154, 163, 178);
}
.section9-plan-key {
  flex: 0 0 120px;
  padding-top: 4px;
  margin-left: auto;
  font-size: 12px;
}
.section9-plan-key-top,
.section9-plan-key-bottom {
  display: flex;
  box-sizing: border-box;
  border: 1.4px solid rgb(34, 53, 90);
}
.section9-plan-key-top {
  height: 28px;
}
.section9-plan-key-top span,
.section9-plan-key-top i,
.section9-plan-key-top button,
.section9-plan-key-bottom button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px;
  border: 0px;
  background: transparent;
  color: rgb(34, 53, 90);
}
.section9-plan-key-top span {
  flex: 0 0 30%;
  color: rgb(179, 186, 199);
  border-right: 1px solid rgb(154, 163, 181);
}
.section9-plan-key-top i {
  flex: 0 0 31%;
  border-right: 1px solid rgb(154, 163, 181);
}
.section9-plan-key-top button {
  flex: 1;
}
.section9-plan-key-bottom {
  width: 90px;
  height: 26px;
  margin-left: 17px;
  border-top: 0px;
}
.section9-plan-key-bottom button {
  flex: 1;
}
.section9-plan-key-bottom button:first-child {
  border-right: 1px solid rgb(154, 163, 181);
}
.section9-plan-key button.is-active {
  background: rgb(34, 53, 90);
  color: rgb(255, 255, 255);
}
.section9-plan-tabs {
  display: flex;
  align-items: flex-end;
  gap: 11px;
  padding-top: 24px;
}
.section9-plan-tabs button {
  flex: 1;
  padding: 10px 0px 9px;
  border: 0px;
  border-radius: 14px 14px 0px 0px;
  background: rgb(232, 232, 230);
  box-shadow: inset 0px -8px 12px -9px rgba(34, 53, 90, 0.3);
  color: rgb(34, 53, 90);
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
  transition:
    padding 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
    background 0.4s ease,
    box-shadow 0.4s ease;
}
.section9-plan-tabs button:first-child {
  margin-left: -14px;
}
.section9-plan-tabs button.is-active {
  padding: 15px 0px 12px;
  background: rgb(255, 255, 255);
  box-shadow: 0px -8px 20px rgba(34, 53, 90, 0.13);
}
.section9-plan-body {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  padding: 58px 14px 0px;
  background: rgb(255, 255, 255);
}
.section9-plan-panel {
  width: 100%;
  min-width: 0px;
}
.section9-plan-panel[hidden] {
  display: none;
}
.section9-plan-panel:not([data-plan-panel="D"])::after {
  content: "";
  display: block;
  width: 100%;
  height: 84px;
  flex: 0 0 84px;
}
.section9-plan-image {
  width: 100%;
  aspect-ratio: 1550 / 980;
  animation: section9-plan-in 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
.section9-plan-slider {
  width: 100%;
  min-width: 0px;
}
.section9-plan-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 52px;
  padding: 44px 8px 0px;
}
.section9-plan-controls > button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 10px;
  border: 0px;
  background: transparent;
  transition:
    transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.35s ease;
}
.section9-plan-controls > button span {
  width: 20px;
  height: 20px;
  border-right: 1.5px solid rgb(34, 53, 90);
  border-bottom: 1.5px solid rgb(34, 53, 90);
}
.section9-plan-prev span {
  transform: rotate(135deg);
}
.section9-plan-next span {
  transform: rotate(-45deg);
}
.section9-plan-prev:hover {
  opacity: 0.55;
  transform: translateX(-5px);
}
.section9-plan-next:hover {
  opacity: 0.55;
  transform: translateX(5px);
}
.section9-plan-slider .section9-plan-dots {
  position: static;
  width: auto;
  display: flex;
  gap: 13px;
  align-items: center;
  justify-content: center;
}
.section9-plan-dots .swiper-pagination-bullet {
  opacity: 1;
  width: 9px;
  height: 9px;
  border: 1px solid rgb(34, 53, 90);
  border-radius: 50%;
  background: transparent;
  margin: 0px !important;
}
.section9-plan-dots .swiper-pagination-bullet-active::after {
  display: none;
}
.section9-plan-dots .swiper-pagination-bullet-active {
  background: rgb(34, 53, 90);
}
.section9-plan-meta {
  display: flex;
  padding: 52px 18px 0px;
  background: rgb(255, 255, 255);
  animation: section9-plan-foot-in 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) 0.1s
    both;
}
.section9-plan-meta > div {
  flex: 0 0 25%;
  min-width: 0px;
  padding: 0px 10px;
  border-left: 1px solid rgb(185, 192, 203);
  text-align: center;
}
.section9-plan-meta > div:first-child {
  flex-basis: 50%;
  padding-left: 0px;
  padding-right: 8px;
  border-left: 0px;
  text-align: left;
}
.section9-plan-meta span {
  display: block;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
}
.section9-plan-meta strong {
  display: block;
  margin-top: 12px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}
.section9-plan-meta-designer strong {
  margin-top: 14px;
}
.section9-plan-meta b,
.section9-plan-meta small {
  font: inherit;
}
.section9-plan-meta small {
  font-size: 0.6em;
}
.section9-plan-note {
  margin: 0px;
  padding: 26px 22px 34px;
  background: rgb(255, 255, 255);
  text-align: center;
  font-size: 11.5px;
  line-height: 1.7;
  color: rgb(93, 100, 114);
}
@media (min-width: 540px) {
  .section9 {
    padding-top: 90px;
  }
  .section9-copy {
    padding-top: 35px;
  }
  .section9-plan-open {
    padding: 30px 15px;
  }
  .section9-plan-heading {
    gap: 10px;
  }
  .section9-plan-heading-copy h2 {
    font-size: 23px;
  }
  .section9-plan-heading-copy p {
    font-size: 15px;
  }
  .section9-plan-key {
    flex-basis: 132px;
  }
}
@media (max-width: 374px) {
  .section9-plan-heading {
    gap: 4px;
    padding-right: 18px;
    padding-left: 18px;
  }
  .section9-plan-heading-copy h2 {
    font-size: 18px;
  }
  .section9-plan-heading-copy p {
    font-size: 10px;
    letter-spacing: -0.03em;
  }
  .section9-plan-key {
    flex-basis: 112px;
  }
  .section9-plan-key-bottom {
    width: 78px;
    margin-left: 14px;
  }
}
@media (min-width: 768px) {
  .section9-copy {
    padding-right: 10%;
  }
  .section9-copy p {
    margin-bottom: 32px;
  }
  .section9-image {
    max-width: 700px;
  }
  .section9-plan-open {
    max-width: 650px;
  }
}
@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  .section9 {
    flex-flow: row nowrap;
    align-items: center;
    padding: 40px 6% 120px;
    gap: 5%;
  }
  .section9-copy {
    flex: 1 1 0%;
    padding: 0px 0px 0px 5%;
  }
  .section9-side-label {
    top: 5px;
    left: 0px;
    font-size: 14px;
  }
  .section9-copy p {
    margin-bottom: 24px;
  }
  .section9-media {
    display: flex;
    flex-direction: column;
    flex: 0 0 58%;
    min-width: 0;
  }
  .section9-image {
    width: 100%;
    max-width: none;
    margin: 0;
  }
  .section9 .section9-copy {
    padding-top: 0px;
  }

  .section9-plan-open {
    width: 70%;
    max-width: none;
    margin: 30px auto 0;
    border-radius: 100px;
    padding: 25px 15px;
  }
  .section9-plan-dialog {
    width: min(88vw, 800px);
    max-width: 800px;
    height: auto;
    max-height: 88dvh;
    box-sizing: border-box;
  }
  .section9-plan-header {
    padding: 12px 22px;
  }
  .section9-plan-compass {
    width: 30px;
    height: 30px;
  }
  .section9-plan-heading {
    padding: 12px 30px 0px;
  }
  .section9-plan-heading-copy p {
    margin-top: 8px;
  }
  .section9-plan-tabs {
    padding-top: 16px;
  }
  .section9-plan-tabs button {
    padding: 6px 0px 5px;
    font-size: 26px;
  }
  .section9-plan-tabs button.is-active {
    padding: 9px 0px 7px;
  }
  .section9-plan-body {
    min-height: 0px;
    padding: 30px 30px 0px;
  }
  .section9-plan-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .section9-plan-panel:not([data-plan-panel="D"])::after {
    height: 46px;
    flex-basis: 46px;
  }
  .section9-plan-image {
    width: auto;
    height: min(35dvh, 500px);
    max-width: 100%;
    margin: 0px auto;
  }
  .section9-plan-slider .swiper-slide {
    display: flex;
    justify-content: center;
  }
  .section9-plan-controls {
    padding-top: 6px;
  }
  .section9-plan-meta {
    padding: 12px 15% 0px;
  }
  .section9-plan-note {
    padding: 10px 22px 14px;
  }
}
@media (min-width: 1500px) {
  .section9 {
    padding: 90px max(7%, calc((100vw - 1500px) / 2)) 140px;
    gap: 6%;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .section9-plan-dialog[open] {
    animation: 0.55s cubic-bezier(0.22, 0.61, 0.36, 1) both section9-sheet-in;
  }
  @keyframes section9-sheet-in {
    from {
      opacity: 0;
      transform: translateY(26px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
  @keyframes section9-plan-in {
    from {
      opacity: 0;
      transform: translateY(12px) scale(0.985);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
  @keyframes section9-plan-head-in {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
  @keyframes section9-plan-foot-in {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

/* section10 品牌 */
.page-main .section10 h2 {
  letter-spacing: 0.04em;
}
.section10 {
  padding: 180px 0;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  color: rgb(243, 243, 233);
  background: url("../img/yunheng/teal-paper.webp") repeat rgb(48, 100, 106);
}
.section10-copy {
  position: relative;
  padding: 26px 5% 0px 21%;
}
.section10-copy p:last-child {
  margin-bottom: 0px;
}
.section10-side-label {
  position: absolute;
  top: 30px;
  left: 7.8%;
  writing-mode: vertical-rl;
  font:
    400 0.96em / 1.2 "Noto Sans TC",
    sans-serif;
  letter-spacing: 0.19em;
}
.section10-gallery {
  width: 91.7%;
  margin-left: auto;
  margin-right: 0px;
  position: relative;
  border-radius: 60px 0px 0px;
  overflow: hidden;
  aspect-ratio: 734 / 510;
  min-width: 0px;
}
.section10-gallery .swiper-wrapper {
  height: 100%;
}
.section10-gallery figure {
  width: 100%;
  height: 100%;
  margin: 0px;
  position: relative;
}
.section10-image {
  width: 100%;
  height: 100%;
}
.section10-gallery figure::after {
  content: "";
  position: absolute;
  inset: 55% 0px 0px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.467));
  pointer-events: none;
}
.section10-gallery figcaption {
  position: absolute;
  bottom: 17px;
  left: 17px;
  color: white;
  font-size: 0.75em;
  letter-spacing: 0.12em;
  z-index: 1;
}
.section10-gallery .section10-gallery-dots {
  position: absolute;
  bottom: 7px;
  right: 10px;
  left: auto;
  width: auto;
  display: flex;
  z-index: 2;
}
.section10-gallery-dots .swiper-pagination-bullet {
  width: 18px;
  height: 32px;
  background: none;
  border: 0px;
  border-radius: 0px;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0px !important;
}
.section10-gallery-dots .swiper-pagination-bullet::after {
  content: "";
  width: 7px;
  height: 7px;
  border: 1px solid white;
  border-radius: 50%;
}
.section10-gallery-dots .swiper-pagination-bullet-active::after {
  background: white;
}
.section10 .section10-copy {
  padding-left: 23.5%;
  padding-right: 6%;
  padding-top: 40px;
  font-size: 0.95em;
}
.section10 .section10-mark {
  aspect-ratio: 72 / 92;
  position: absolute;
  width: 8%;
  height: auto;
  left: 8%;
  top: 48px;
}
.section10 h2 {
  font-size: 28px;
}
.section10 h3 {
  font:
    500 1.12em / 1.5 "Noto Serif TC",
    serif;
  margin: 0px 0px 18px;
  white-space: nowrap;
}
.section10 .section10-side-label {
  top: 225px;
  left: 11%;
  letter-spacing: 0.025em;
  font-weight: 700;
}
.section10 {
  padding-top: 160px;
  padding-bottom: 160px;
  -webkit-mask: url("../img/yunheng/scene-wave-mask.svg") center / 100% 100%
    no-repeat;
  mask: url("../img/yunheng/scene-wave-mask.svg") center / 100% 100% no-repeat;
}
@media (min-width: 540px) {
  .section10 {
    padding: 180px 0;
  }
  .section10-copy {
    padding-top: 35px;
  }
  .section10-gallery {
    border-top-left-radius: 80px;
  }
  .section10 h2 {
    font-size: 36px;
  }
}
@media (min-width: 768px) {
  .section10-copy {
    padding-right: 10%;
  }
  .section10-copy p {
    margin-bottom: 32px;
  }
  .section10 h2 {
    font-size: 38px;
  }
  .section10 .section10-copy {
    padding-right: 9%;
  }
}
@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  .page-main .section10 {
    height: auto;
    min-height: 115vh;
    flex-direction: row-reverse;
    gap: 5%;
    padding: max(120px, 8vw) 0 max(120px, 8vw) 6%;
    align-items: center;
    justify-content: center;
  }
  .section10-gallery {
    flex: 0 0 51%;
    width: 51%;
    margin: 0px;
    border-top-left-radius: 100px;
  }
  .section10-copy {
    flex: 1 1 0%;
    padding: 0px 0px 0px 5%;
  }
  .section10-side-label {
    top: 5px;
    left: 0px;
    font-size: 14px;
  }
  .section10-copy p {
    margin-bottom: 24px;
  }
  .section10 h2 {
    font-size: 33px;
  }
  .section10 .section10-copy {
    padding: 0px 0px 0px 5%;
  }
  .section10 .section10-side-label {
    left: 5px;
    top: auto;
    bottom: 0;
  }
  .section10 .section10-mark {
    left: 0px;
    top: 0;
    width: 32px;
  }
  .section10 h3 {
    font-size: 1em;
  }
}
@media (min-width: 1500px) {
  .section10 {
    gap: 6%;
  }
  .section10 h2 {
    font-size: 39px;
  }
}

/* section11 鑑賞邀請 */
.section11 {
  padding: 70px 7.5% 40px;
  text-align: center;
  font-weight: 700;
  color: rgb(48, 51, 46);
}

.section11-secondary > p {
  line-height: 1.85;
  margin-bottom: 16px;
}
.section11 .section11-spec {
  font-size: 1.18em;
  color: var(--page-teal);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}
.section11-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  width: 100%;
  min-height: 96px;
  margin: 35px auto 45px;
  padding: 20px 12px;
  border-radius: 100px;
  background: rgb(56, 172, 0);
  color: white;
  font-size: 0.95em;
  box-shadow: rgba(0, 0, 0, 0.267) 0px 8px 9px;
  text-decoration: none;
  white-space: nowrap;
}
.section11-line strong {
  font-size: 1.4em;
}
.section11-line:hover {
  background: rgb(41, 148, 0);
  color: rgb(255, 255, 255);
  text-decoration: none;
  transform: translateY(-2px);
}
.section11 .section11-logo {
  aspect-ratio: 210 / 90;
  width: 35%;
  height: auto;
  margin: 0px auto;
}
@media (min-width: 540px) {
  .section11 {
    padding-top: 90px;
  }
  .section11-line {
    max-width: 600px;
  }
}
@media (min-width: 768px) {
  .section11 {
    padding-bottom: 65px;
  }
  .section11 .section11-logo {
    width: 30%;
  }
}
@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  .section11 {
    padding-top: 180px;
    padding-bottom: 80px;
  }
  .section11 .section11-logo {
    max-width: 160px;
  }
}
@media (min-width: 1500px) {
  .section11 {
    padding-top: 200px;
  }
}

/* 上方資訊：手機維持直向閱讀順序，桌機改成左右兩欄。 */
.section11-content {
  max-width: 1000px;
  margin: 0 auto;
}
.section11-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.section11-primary,
.section11-secondary {
  display: contents;
}
.section11-title-art {
  order: 1;
  width: 90%;
  aspect-ratio: 801 / 124;
}
.section11-welcome-art {
  order: 2;
  width: 35%;
  aspect-ratio: 401 / 63;
}
.section11-intro {
  order: 3;
}
.section11-details {
  order: 4;
}
.section11-invitation {
  order: 5;
}
.section11-phone {
  display: none;
  color: inherit;
  font-size: 1.4em;
  letter-spacing: 0.08em;
  text-decoration: none;
}
@media screen and (min-width: 540px) {
  .section11-title-art {
    width: 65%;
  }
  .section11-welcome-art {
    width: 25%;
  }
}
@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  .section11-top {
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    gap: 10%;
  }
  .section11-primary {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    min-width: 0;
    gap: 90px;
  }
  .section11-secondary {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: end;
    width: 24%;
    text-align: left;
    gap: 28px;
  }
  .section11-welcome-art {
    width: 57.5%;
  }
  .section11-secondary > p {
    margin: 0;
    line-height: 1.65;
    font-size: 20px;
  }
  .section11 .section11-spec {
    font-size: 1.55em;
    margin-bottom: 8px;
  }
  .section11-phone {
    display: block;
    font-size: 1.8em;
  }
  .section11-line {
    width: 80%;
    max-width: none;
    margin: 45px auto;
    font-size: 1.25em;
    min-height: 105px;
  }
}

/* section12 基地地圖 */
.section12 iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: 0px;
}
@media (min-width: 540px) {
  .section12 iframe {
    height: 500px;
  }
}
@media (min-width: 768px) {
  .section12 iframe {
    height: 550px;
  }
}
@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  .section12 iframe {
    height: 520px;
  }
}
@media (min-width: 1500px) {
  .section12 iframe {
    height: 620px;
  }
}

/* 浮動 LINE：位於 Scroll up 上方，保留 10px 間距。 */
.floating-line {
  position: fixed;
  right: 20px;
  bottom: 90px;
  z-index: 2147483646;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: #06c755;
  border-radius: 50px;
  color: #fff;
  font:
    700 15px/1 "Noto Sans TC",
    sans-serif;
  text-decoration: none;
}
.floating-line:hover {
  background: #05a847;
  color: #fff;
  text-decoration: none;
}
.floating-line:focus-visible {
  outline: 2px solid #075d2b;
  outline-offset: 3px;
}

/* 頁尾 */
.page-footer {
  padding: 30px 14px 60px;
  text-align: center;
  color: rgb(115, 118, 111);
  background: white;
  font-size: 10px;
  line-height: 1.6;
}
@media (min-width: 540px) {
  .page-footer {
    font-size: 12px;
  }
}
@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  .page-footer {
    padding: 25px 20px;
  }
}
