@import url("../fonts/flaticon/flaticon.css");
@import url("revise.css");

/*========================================================
                         基本設定
=========================================================*/

body {
  font-family: "Noto Serif TC", "微軟正黑體", "Cinzel", Arial, Helvetica;
  font-weight: 500;
  line-height: 32px;
  font-size: 0.9rem;
  color: #fff;
  overflow-x: hidden;
  background-color: #000;
}

.cinzel {
  font-family: "Cinzel";
}

section {
  min-height: 800px;
}

/* google recaptcha 隱藏 */
.grecaptcha-badge {
  visibility: hidden;
}

/*========================================================
                         menu
=========================================================*/

header {
  /*固定置頂*/
  position: fixed;
  z-index: 1000;
  /*基本設定*/
  display: flex;
  align-items: center;
  width: 100%;
  height: 70px;
  text-align: start;
  transition: all 0.3s ease-out;
}

nav {
  position: absolute;
  background-color: #026397ec;
  top: 0;
  width: 100%;
  height: 100dvh;
  transform: scale(0, 1);
  transform-origin: left;
  transition: transform 0.4s ease-out;
}

.navbar-brand {
  /*與header高度相同達到垂直置中*/
  line-height: 70px;
  padding-left: 6%;
  width: 200px;
  height: auto;
  display: none;
}

.navbar-logo {
  position: relative;
  z-index: 100;
  width: 70%;
  opacity: 1;
}

.navbar-logo:hover {
  opacity: 0.9;
}

.nav-item {
  display: block;
  width: 100%;
  /*預設透明度 0*/
  opacity: 0;
}

.nav-list {
  position: relative;
  top: 15%;
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: start;
  padding: 0 25px;
  text-align: center;
}

.nav-link {
  color: rgba(256, 256, 256, 0.8);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 60px;
  letter-spacing: 2px;
}

.nav-link:hover {
  color: #fff;
}

.nav-link span:hover {
  color: #fff;
}

.nav-link:visited span {
  color: #fff;
}

.desktop {
  visibility: hidden;
}

.navbar-toggle {
  /*不佔空間*/
  visibility: hidden;
  position: absolute;
}

.navbar-toggle:checked ~ .nav {
  transform: scale(1, 1);
}

.navbar-toggle:checked ~ .nav .nav-item {
  /*增加轉場效果*/
  transition: opacity 0.2s ease-out 0.4s;
  /*開啟時透明度為1*/
  opacity: 1;
}

.navbar-toggle:checked ~ .nav .nav-bottom {
  /*增加轉場效果*/
  transition: opacity 0.2s ease-in-out 0.6s;
  /*開啟時透明度為1*/
  opacity: 1;
}

.navbar-toggle-label {
  position: absolute;
  z-index: 999;
  left: 6%;
  display: flex;
  align-items: center;
  top: -5%;
  bottom: 0;
  margin-bottom: 0;
  height: 80px;
}

.hamburger {
  position: relative;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  width: 30px;
  height: 1px;
  background: rgba(256, 256, 256, 1);
  border-radius: 3px;
  transition: all 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.hamburger::before,
.hamburger::after {
  /*給一個空的內容*/
  content: "";
  left: 0;
  position: absolute;
}

.hamburger::before {
  transform: translateY(-8px);
}

.hamburger::after {
  transform: translateY(8px);
}

/*hamburger animate*/
.navbar-toggle-label.active .hamburger {
  transform: translateX(-30px);
  background: transparent;
  transition: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.navbar-toggle-label.active .hamburger::before {
  transform: translate(30px) rotate(135deg);
  background: rgba(256, 256, 256, 1);
}

.navbar-toggle-label.active .hamburger::after {
  transform: translate(30px) rotate(-135deg);
  background: rgba(256, 256, 256, 1);
}

@media screen and (min-width: 1200px) {
  /*header*/
  header {
    display: flex;
  }

  header.active .navbar-brand {
    opacity: 1;
  }

  /*移除漢堡排*/
  .navbar-toggle-label {
    display: none;
  }

  /*導覽列樣式復原*/
  .nav {
    all: unset;
    width: 100%;
    position: relative;
    text-align: center;
  }

  /*導覽項目樣式復原*/

  .navbar-brand {
    /*與header高度相同達到垂直置中*/
    line-height: 70px;
    padding-left: 6%;
    width: 250px;
    height: auto;
    display: block;
  }

  .navbar-logo {
    position: relative;
    z-index: 100;
    width: 100%;
    opacity: 1;
  }

  .nav-item {
    margin: 0;
    opacity: 1;
  }

  .nav-list {
    all: unset;
    display: flex;
    flex-direction: row;
    justify-content: end;
    margin-right: 2rem;
  }

  .nav-item {
    all: unset;
  }

  .nav-link {
    display: inline-block;
    font-size: 1rem;
    border-bottom: transparent;
  }
}

/*========================================================
                         區塊1
=========================================================*/

.section1 {
  position: relative;
  background-color: #016fac;
  height: 100vh;
  background: url(../img/s1-bg-m.png) no-repeat bottom center;
  background-size: cover;
}
.s1 {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
}
.s1 .box {
  width: 80%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 22.5%;
}
.s1 .box img {
  width: 100%;
}
.s1 .box .s1-logo {
  width: 70%;
  margin-bottom: 12%;
}
.s1 .box .s1-t1 {
  width: 95%;
  margin-bottom: 5%;
}
.s1 .box .s1-t2 {
  width: 95%;
  margin: 5% 0;
}
.s1 .box .s1-t3 {
  width: 72.5%;
  margin-top: 5%;
}
.mb {
  display: block;
}
.pc {
  display: none;
}

.section1 span {
  position: absolute;
  right: 3%;
  bottom: 1%;
  font-size: 11px;
}

@media screen and (min-width: 768px) {
  .section1 {
    height: 120vh;
  }
  .s1 .box {
    width: 60%;
    margin-top: 12%;
  }
}

@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  .section1 {
    height: 100vh;
    background: url(../img/s1-bg-pc.png) no-repeat center center;
    background-size: cover;
  }
  .s1 {
    flex-direction: row;
    justify-content: center;
    width: 50%;
  }
  .s1 .box {
    margin-top: unset;
    justify-content: center;
    width: 75%;
  }
  .s1 .box img {
    width: 95%;
  }
  .s1 .box .s1-logo {
    width: 60%;
    margin-bottom: 8%;
  }
  .s1 .box .s1-t1 {
    width: 90%;
  }
  .s1 .box .s1-t3 {
    width: 62.5%;
  }
  .mb {
    display: none;
  }
  .pc {
    display: block;
  }
}

@media screen and (min-width: 1300px) {
  .s1 .box .s1-logo {
    width: 55%;
  }
  .s1 .box .s1-t3 {
    width: 50%;
  }
}

/*========================================================
                         區塊2
=========================================================*/

.section2 {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: unset;
}
.section2 .slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* ✅ slider 外層填滿 */
  z-index: -1;
}
.section2 .slick-list,
.section2 .slider_item {
  height: 100vh; /* ✅ slick 容器和每張 slide 撐滿 */
}
.section2 .slider img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ✅ 確保比例正確又滿版 */
}
.s2 {
  position: relative;
  margin: 0 auto;
  padding-top: 8%;
  width: 85%;
  height: 100%;
  letter-spacing: 3px;
}
.s2-t1 {
  width: 90%;
}
.s2 .title,
.s2 .subtitle {
  margin: 8% 0;
}

.s2 .subtitle {
  display: block;
  border-left: 1px #fff solid;
  border-right: 1px #fff solid;
}

.s2 h2 {
  font-size: 2.2rem;
}

.s2 h3 {
  font-size: 1.2rem;
}

.s2 p {
  margin: unset;
  font-size: 0.8rem;
  line-height: 24px;
}
.s2-point,
.s3-point,
.s4-point,
.s5-point {
  display: none;
}

@media screen and (min-width: 768px) {
  .section2 {
    height: 120vh;
  }
  .s2 {
    width: 60%;
    padding-top: 6%;
  }
  .s2 h2 {
    font-size: 2.4rem;
  }
  .s2 h3 {
    font-size: 1.4rem;
  }
  .s2 p {
    font-size: 0.9rem;
    line-height: 28px;
  }
  .section2 .slick-list,
  .section2 .slider_item {
    height: 120vh; /* ✅ slick 容器和每張 slide 撐滿 */
  }
  .section2 .slider img {
    object-position: bottom;
  }
}

@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  .section2 {
    height: 100vh;
  }
  .s2 {
    display: flex;
    width: 100%;
    height: 100%;
    padding-top: unset;
  }
  .s2-t1 {
    width: 70%;
  }
  .s2-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    width: 50%;
    height: 100%;
    background-color: #00000098;
  }
  .section2 .slick-track {
    height: 100vh;
  }
  .s2 .title,
  .s2 .subtitle {
    margin: 5% 0;
  }

  .s2 .subtitle {
    padding: 0 5%;
  }

  .s2 h2 {
    font-size: 2.2rem;
    letter-spacing: 12px;
  }

  .s2 h3 {
    font-size: 1.6rem;
    letter-spacing: 5px;
  }

  .s2 p {
    font-size: 1rem;
    line-height: 32px;
    margin-top: 3%;
    letter-spacing: 5px;
  }

  .section2 .slider01 {
    height: 100%;
  }

  .section2 .slick-list {
    height: 100%;
  }

  .section2 .slider_item {
    height: 100%;
  }

  .section2 .slider img {
    object-position: right;
    width: 100%;
    height: 100%;
  }
}

@media screen and (min-width: 1200px) {
  .s2-t1 {
    width: 60%;
  }

  .s2 h2 {
    font-size: 3rem;
    letter-spacing: 16px;
  }

  .s2 h3 {
    font-size: 2rem;
    letter-spacing: 8px;
  }

  .s2 .title,
  .s2 .subtitle {
    margin: 3% 0;
  }

  .s2-point {
    display: block;
    width: 20px;
    position: absolute;
    right: 5%;
    top: 5%;
  }
}

/*裝置背景切換*/
.section2 .pc {
  display: none;
}

@media screen and (min-width: 1100px),
  screen and (min-width: 1024px) and (max-height: 650px) {
  .section2 .mb {
    display: none;
  }

  .section2 .pc {
    display: block;
  }
}

/*========================================================
                         區塊3
=========================================================*/

.section3 {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: unset;
}

.s3 {
  background: url(../img/s7-bg.png) bottom center no-repeat;
  background-size: cover;
  position: relative;
  width: 100%;
  height: 100%;
  letter-spacing: 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.s3-text {
  width: 85%;
  height: 100%;
  padding-top: 10%;
}

.s3-t1 {
  font-size: 1.5rem;
}

.s3-p1,
.s3-p2 {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
}

.s3 .text1 {
  position: absolute;
  z-index: 3;
  right: 8%;
  bottom: 11%;
  font-size: 1.3rem;
}

.s3 .text2 {
  position: absolute;
  z-index: 3;
  right: 8%;
  bottom: 1%;
}

.s3 .text3 {
  position: absolute;
  z-index: 3;
  left: 8%;
  bottom: 11%;
  font-size: 1.3rem;
}

.s3 .text4 {
  position: absolute;
  z-index: 3;
  left: 8%;
  bottom: 1%;
}

.s3 .title {
  position: relative;
  margin: 5% 0 8% 0;
}

.s3 .title::after {
  content: "";
  position: absolute;
  text-align: center;
  background-color: #fff;
  width: 80px;
  height: 1px;
  left: 50%;
  bottom: -25%;
  transform: translate(-50%, -50%);
}

.s3 h2 {
  font-size: 2.2rem;
}

.s3 .s3-text p {
  font-size: 0.8rem;
  line-height: 24px;
}

.s3 .content {
  margin-top: 15%;
}

.s3 .pc {
  display: none;
}

@media screen and (min-width: 768px) {
  .s3-text {
    padding-top: 6%;
  }

  .s3-t1 {
    font-size: 2rem;
  }

  .s3-p1,
  .s3-p2 {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
  }

  .s3 .text1 {
    position: absolute;
    z-index: 3;
    right: 8%;
    bottom: 11%;
    font-size: 2rem;
  }

  .s3 .text2 {
    position: absolute;
    z-index: 3;
    right: 8%;
    bottom: 2%;
    font-size: 1.4rem;
  }

  .s3 .text3 {
    position: absolute;
    z-index: 3;
    left: 8%;
    bottom: 11%;
    font-size: 2rem;
  }

  .s3 .text4 {
    position: absolute;
    z-index: 3;
    left: 8%;
    bottom: 2%;
    font-size: 1.4rem;
  }

  .s3 .title {
    position: relative;
    margin: 5% 0 8% 0;
  }

  .s3 .title::after {
    width: 125px;
    height: 1.5px;
    bottom: -40%;
  }

  .s3 h2 {
    font-size: 3rem;
    letter-spacing: 10px;
  }

  .s3 .s3-text p {
    font-size: 1.1rem;
    line-height: 28px;
  }

  .s3 .content {
    margin-top: 10%;
    padding: 5% 0;
  }
}

@media screen and (min-width: 1200px) {
  .s3 {
    flex-direction: row;
    align-items: center;
    height: 100vh;
  }

  .s3-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: unset;
    order: 2;
    width: 120%;
  }

  .s3 .title::after {
    bottom: -30%;
  }

  .s3-p1,
  .s3-p2 {
    object-fit: cover;
  }

  .s3-p1 {
    order: 1;
  }

  .s3-p2 {
    order: 3;
  }

  .s3 .s3-text p {
    font-size: 1rem;
    line-height: 28px;
  }

  .s3 .text1,
  .s3 .text3 {
    right: unset;
    bottom: unset;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
  }

  .s3 .text2,
  .s3 .text4 {
    right: unset;
    bottom: unset;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.4rem;
  }

  .s3-point {
    display: block;
    width: 20px;
    position: absolute;
    right: 5%;
    top: 40%;
  }

  .s3 .mb {
    display: none;
  }

  .s3 .pc {
    display: block;
  }
}

@media screen and (min-width: 1500px) {
  .s3 .title::after {
    bottom: -50%;
  }
}

/*========================================================
                         區塊4
=========================================================*/

.section4 {
  background: url(../img/s4-bg-mb.png) bottom center no-repeat;
  background-size: cover;
  position: relative;
  width: 100%;
  height: calc(100vh - 70px);
}

.s4 {
  position: relative;
  margin: 0 auto;
  text-align: center;
  width: 85%;
  height: 100%;
  letter-spacing: 3px;
}

.s4-text {
  width: 100%;
  height: 50%;
  padding-top: 10%;
}

.s4-t1 {
  width: 80%;
}

.title2 {
  position: relative;
  margin: 8% 0;
}

.title2::after {
  content: "";
  position: absolute;
  text-align: center;
  background-color: #fff;
  width: 80px;
  height: 1px;
  left: 50%;
  bottom: -37.5%;
  transform: translate(-50%, -50%);
}

.title2 h2 {
  font-size: 2.2rem;
}

.content p {
  font-size: 0.8rem;
  line-height: 24px;
}

.s4 .content,
.s5 .content,
.s6 .content {
  margin-top: 15%;
}

@media screen and (min-width: 768px) {
  .section4 {
    background-position: 50% 72%;
  }

  .s4-text {
    width: 100%;
    height: 50%;
    padding-top: 10%;
  }

  .s4-t1 {
    width: 64%;
  }

  .title2 {
    position: relative;
    margin: 5% 0;
  }

  .title2::after {
    width: 125px;
    height: 1.5px;
    left: 50%;
    bottom: -50%;
  }

  .title2 h2 {
    font-size: 3rem;
  }

  .content p {
    font-size: 0.9rem;
    line-height: 28px;
  }
}

@media screen and (min-width: 992px) {
  .section4 {
    background: url(../img/s4-bg-pc.png) bottom center no-repeat;
    background-size: cover;
    height: 100vh;
  }

  .s4 {
    display: flex;
    width: 100%;
    height: 100%;
    padding-top: unset;
  }

  .s4-t1 {
    width: 55%;
  }

  .s4-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;
    width: 50%;
    height: 100%;
    background-color: #00000098;
  }

  .s4 .content,
  .s5 .content,
  .s6 .content {
    margin-top: 10%;
  }
}

@media screen and (min-width: 1200px) {
  .s4-point {
    display: block;
    width: 20px;
    position: absolute;
    right: 5%;
    bottom: 5%;
  }
}

/*========================================================
                         區塊5
=========================================================*/

.section5 {
  background: url(../img/s5-bg-mb.png) bottom center no-repeat;
  background-size: cover;
  position: relative;
  width: 100%;
  height: calc(100vh - 70px);
}

.s5 {
  position: relative;
  margin: 0 auto;
  text-align: center;
  width: 85%;
  height: 100%;
  letter-spacing: 3px;
}

.s5-text {
  width: 100%;
  height: 50%;
  padding-top: 10%;
}

@media screen and (min-width: 768px) {
  .section5 {
    background-position: 50% 50%;
  }
}

@media screen and (min-width: 992px) {
  .section5 {
    background: url(../img/s5-bg-pc.png) bottom center no-repeat;
    background-size: cover;
    height: 100vh;
  }

  .s5 {
    display: flex;
    width: 100%;
    height: 100%;
    padding-top: unset;
  }

  .s5-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    width: 50%;
    height: 100%;
    background-color: #00000098;
  }
}

/*========================================================
                         區塊6
=========================================================*/

.section6 {
  background-color: #000;
  background: url(../img/s6-bg-mb.png) bottom center no-repeat;
  background-size: cover;
  position: relative;
  width: 100%;
  height: calc(100vh - 70px);
}

.s6 {
  position: relative;
  margin: 0 auto;
  text-align: center;
  width: 85%;
  height: 100%;
  letter-spacing: 3px;
}

.s6-text {
  width: 100%;
  height: 50%;
  padding-top: 10%;
}

.s6-span {
  position: absolute;
  left: 10px;
  bottom: 5px;
  font-size: 0.6rem;
}

@media screen and (min-width: 768px) {
  .section6 {
    background-position: 50% 50%;
  }

  .s6-span {
    left: 15px;
    font-size: 1rem;
  }
}

@media screen and (min-width: 992px) {
  .section6 {
    background: url(../img/s6-bg-pc.png) bottom center no-repeat;
    background-size: cover;
    height: 100vh;
  }

  .s6 {
    display: flex;
    width: 100%;
    height: 100%;
    padding-top: unset;
  }

  .s6-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;
    width: 50%;
    height: 100%;
    background-color: #00000098;
  }
}

/*========================================================
                         區塊7
=========================================================*/

.section7 {
  background-color: #c6924d;
  position: relative;
  width: 100%;
  height: 100%;
}

.s7 {
  background: url(../img/s7-bg.png) bottom center no-repeat;
  background-size: cover;
  position: relative;
  width: 100%;
  height: 100%;
  letter-spacing: 3px;
}

.s7-text {
  width: 85%;
  padding-top: 10%;
  margin: 0 auto;
}

.s7-t1 {
  font-size: 1.3rem;
}

.s7-p1 {
  width: 100%;
  object-fit: contain;
  position: relative;
}

.s7 .title {
  position: relative;
  margin: 5% 0 15% 0;
}

.s7 .title::after {
  content: "";
  position: absolute;
  text-align: center;
  background-color: #fff;
  width: 80px;
  height: 1px;
  left: 40%;
  bottom: -20px;
}

.s7 h2 {
  font-size: 2.2rem;
}

.s7 .content1 {
  margin-bottom: 10%;
  font-size: 0.8rem;
  line-height: 20px;
}

.s7-span {
  position: absolute;
  left: 8%;
  bottom: 3%;
  width: 85%;
  text-align: center;
  font-size: 0.7rem;
  line-height: 24px;
}

@media screen and (min-width: 768px) {
  .s7-text {
    padding-top: 6%;
  }

  .s7-t1 {
    font-size: 2rem;
  }

  .s7 .title {
    position: relative;
    margin: 5% 0 8% 0;
  }

  .s7 .title::after {
    width: 125px;
    height: 1.5px;
    bottom: -50px;
  }

  .s7 h2 {
    font-size: 3rem;
  }

  .s7 .s7-text p {
    font-size: 1.1rem;
    line-height: 28px;
  }

  .s7 .content {
    margin-top: 10%;
    padding: 5% 0;
  }

  .s7-span {
    left: 8%;
    bottom: 5%;
    font-size: 1rem;
    line-height: 32px;
  }
}

@media screen and (min-width: 1100px) {
  .section7 {
    background-color: #fff;
    min-height: unset;
  }

  .s7 {
    background: unset;
  }

  .s7-text {
    background: url(../img/s7-bg.png) bottom center no-repeat;
    background-size: cover;
    position: absolute;
    z-index: 1;
    text-align: start !important;
    width: unset;
    padding: 3% 5% 5% 5%;
    left: 3%;
    bottom: -10%;
    letter-spacing: 6px;
  }

  .s7-t1,
  .s7 .title::after {
    display: none;
  }

  .s7 .title {
    position: relative;
    margin: unset;
  }

  .s7 .content {
    padding: unset;
  }

  .s7 h2 {
    font-size: 2.2rem;
  }

  .s7 .s7-text p {
    font-size: 0.9rem;
    line-height: 28px;
  }

  .s7-span {
    position: relative;
    display: block;
    width: 50%;
    color: #000;
    text-align: start;
    font-size: 0.9rem;
    line-height: 24px;
    margin-left: 37%;
    padding: 2.5% 0;
  }
}

@media screen and (min-width: 1200px) {
  .s5-point {
    display: block;
    width: 20px;
    position: absolute;
    right: 5%;
    bottom: 20%;
  }
}

@media screen and (min-width: 1400px) {
  .s7-text {
    padding: 3% 5% 5% 5%;
    left: 5%;
    bottom: -8%;
    letter-spacing: 8px;
  }

  .s7 h2 {
    font-size: 3rem;
  }

  .s7 .s7-text p {
    font-size: 1.1rem;
  }

  .s7-span {
    position: relative;
    display: block;
    width: 45%;
    color: #000;
    text-align: start;
    font-size: 1.1rem;
    line-height: 24px;
    margin-left: 40%;
    padding: 2.5% 0;
  }
}

@media screen and (min-width: 1500px) {
  .s7-span {
    width: 50%;
    margin-left: 35%;
  }
}

/*========================================================
                         區塊8
=========================================================*/

.section8 {
  background-color: #c6924d;
  position: relative;
  width: 100%;
  height: 100%;
}

.s8 {
  background: url(../img/s7-bg.png) bottom center no-repeat;
  background-size: cover;
  position: relative;
  width: 100%;
  height: 100%;
  letter-spacing: 3px;
}

.s8-text {
  width: 85%;
  padding-top: 10%;
  margin: 0 auto;
}

.s8-t1 {
  font-size: 1.3rem;
}

.s8-p1 {
  width: 100%;
  object-fit: contain;
  position: relative;
}

.s8 .title {
  position: relative;
  margin: 5% 0 15% 0;
}

.s8 .title::after {
  content: "";
  position: absolute;
  text-align: center;
  background-color: #fff;
  width: 80px;
  height: 1px;
  left: 40%;
  bottom: -20px;
}

.s8 h2 {
  font-size: 2.2rem;
}

.s8 .content1 {
  margin-bottom: 10%;
  font-size: 0.8rem;
  line-height: 20px;
}

.s8-span {
  position: absolute;
  left: 8%;
  bottom: 3%;
  width: 85%;
  text-align: center;
  font-size: 0.7rem;
  line-height: 24px;
}

.section8 .slider {
  width: 100%;
}

.section8 .slider img {
  width: 100%;
  object-fit: contain;
}

.section7 .mb,
.section8 .mb {
  display: block;
}

.section7 .pc,
.section8 .pc {
  display: none;
}

@media screen and (min-width: 768px) {
  .s8-text {
    padding-top: 6%;
  }

  .s8-t1 {
    font-size: 2rem;
  }

  .s8 .title {
    position: relative;
    margin: 5% 0 8% 0;
  }

  .s8 .title::after {
    width: 125px;
    height: 1.5px;
    bottom: -50px;
  }

  .s8 h2 {
    font-size: 3rem;
  }

  .s8 .s8-text p {
    font-size: 1.1rem;
    line-height: 28px;
  }

  .s8 .content {
    margin-top: 10%;
    padding: 5% 0;
  }

  .s8-span {
    left: 8%;
    bottom: 5%;
    font-size: 1rem;
    line-height: 32px;
  }
}

@media screen and (min-width: 1100px) {
  .section7 .mb,
  .section8 .mb {
    display: none;
  }

  .section7 .pc,
  .section8 .pc {
    display: block;
  }

  .section8 {
    background-color: #fff;
    min-height: unset;
  }

  .s8 {
    background: unset;
  }

  .s8-text {
    background: url(../img/s7-bg.png) bottom center no-repeat;
    background-size: cover;
    position: absolute;
    z-index: 1;
    width: unset;
    padding: 3% 5% 5% 5%;
    right: 7%;
    bottom: -10%;
    letter-spacing: 6px;
  }

  .s8-t1,
  .s8 .title::after {
    display: none;
  }

  .s8 .title {
    position: relative;
    margin: unset;
  }

  .s8 .content {
    padding: unset;
  }

  .s8 h2 {
    font-size: 2.2rem;
  }

  .s8 .s8-text p {
    font-size: 0.9rem;
    line-height: 28px;
  }

  .s8-span {
    position: relative;
    display: block;
    width: 50%;
    color: #000;
    text-align: start;
    font-size: 0.9rem;
    line-height: 24px;
    margin-left: -3%;
    padding: 2.5% 0;
  }
}

@media screen and (min-width: 1400px) {
  .section8 {
    background-color: #fff;
    min-height: unset;
  }

  .s8 {
    background: unset;
  }

  .s8-text {
    background: url(../img/s7-bg.png) bottom center no-repeat;
    background-size: cover;
    position: absolute;
    z-index: 1;
    width: unset;
    padding: 3% 5% 5% 5%;
    right: 5%;
    bottom: -8%;
    letter-spacing: 8px;
  }

  .s8-t1,
  .s8 .title::after {
    display: none;
  }

  .s8 .title {
    position: relative;
    margin: unset;
  }

  .s8 .content {
    padding: unset;
  }

  .s8 h2 {
    font-size: 3rem;
  }

  .s8 .s7-text p {
    font-size: 1.1rem;
  }

  .s8-span {
    position: relative;
    display: block;
    width: 50%;
    color: #000;
    text-align: start;
    font-size: 1.1rem;
    line-height: 24px;
    padding: 2.5% 0;
    margin-left: unset;
  }
}
/*========================================================
                         區塊9
=========================================================*/

.section9 {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #000;
}

.s9 {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: url(../img/s9-bg-mb.png) no-repeat top center;
  background-size: cover;
  position: relative;
  padding-top: 8%;
  width: 100%;
  height: 100%;
}
.s9 .logo {
  text-align: center;
  width: 60%;
}
.s9 .logo img {
  width: 100%;
}
.s9 .sq {
  margin: 5% 0 15% 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.s9-text-group {
  margin-top: 10%;
  width: 100%;
  height: 330px;
  background-color: rgba(0, 0, 0, 0.756);
}

.s9-text {
  width: 100%;
  height: 100%;
  padding-top: 10%;
  margin: 0 auto;
}

.s9-t1 {
  font-size: 1.3rem;
}

.s9 .title,
.s9-content {
  position: relative;
  display: flex;
}

.s9 .title {
  justify-content: space-between;
  align-items: end;
  margin: 0 auto 5% auto;
  width: 88%;
}

.s9-t1 {
  font-weight: 400;
  font-size: 1.7rem;
  letter-spacing: 3px;
}

.s9-t2 {
  font-size: 1.6rem;
  padding-bottom: 5px;
  letter-spacing: 3px;
}

.s9-content {
  width: 95%;
  margin: 0 auto;
  justify-content: center;
}

.s9-c1,
.s9-c2 {
  font-size: 0.6rem;
  line-height: 16px;
}
.s9-c1 {
  margin-left: 3%;
}

.s9-c2 {
  margin-left: 3%;
}

.form-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 85%;
  text-align: start;
}

#form1 label {
  color: #fff;
  font-weight: 500;
  margin-bottom: 0;
}

#form1 .form-control {
  border-radius: 0;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.76);
}

#form1 input,
#form1 textarea {
  background: #fff;
  color: #000;
  border-radius: 5px;
}

#form1 input::placeholder,
#form1 textarea::placeholder {
  color: #000;
}

#form1 .btn-send {
  display: inline-block;
  margin-top: 40px;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 38px;
  background-color: #bf9558;
  background-size: contain;
  width: 100%;
}

#form1 .btn-send:hover {
  background-color: #efc88e;
  color: rgba(0, 0, 0, 0.9);
}

#form1 select {
  color: #111;
  width: 100%;
  height: 40px;
  padding: 6px 12px;
  font-size: 1rem;
  background: #fff;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  background-image: url(../img/arrow.png);
  background-repeat: no-repeat;
  background-position: center right;
  background-size: 24px auto;
}

#form1 select option {
  color: #111;
}

#form1 #twzipcode select:first-child {
  margin-bottom: 12px;
}

#form1 .custom-control-label::before {
  border-radius: 0;
  border: 1px solid #c2c0be;
  background-color: transparent;
  color: #000;
  margin-top: 4px;
}

#form1 .custom-control-label::after {
  margin-top: 4px;
}

#form1
  .custom-checkbox
  .custom-control-input:checked
  ~ .custom-control-label::after {
  background-color: #424866;
}

@media screen and (min-width: 768px) {
  .s9 .logo {
    width: 40%;
  }
  .s9-text-group {
    margin-top: 12%;
    height: 475px;
  }
  .s9 .title,
  .s9-content {
    justify-content: space-evenly;
    width: 100%;
  }

  .s9-t1 {
    font-size: 2.8rem;
  }

  .s9-t2 {
    font-size: 2.2rem;
  }

  .s9 .sq {
    font-size: 1.4rem;
    margin: 5% 0 10% 0;
  }

  .s9-c1,
  .s9-c2 {
    font-size: 0.9rem;
    line-height: 28px;
  }
}

@media screen and (min-width: 1100px) {
  .s9 {
    background: url(../img/s9-bg-pc.png) no-repeat;
    background-position: 40% 0;
    padding-top: unset;
  }

  .form-group {
    order: 2;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.756);
    margin-bottom: unset;
    padding: 5% 0 12% 0;
  }

  .s9-text-group {
    order: 1;
    margin-top: unset;
    background-color: transparent;
    height: 360px;
  }

  .s9-text {
    display: flex;
    padding-top: unset;
  }

  .s9 .title,
  .s9-content {
    margin-bottom: unset;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .s9-content {
    margin-top: 5%;
  }

  .s9 h2,
  .s9-c1,
  .s9-c2 {
    display: block;
    width: 80%;
    margin-left: 10%;
  }

  .s9-t1 {
    font-size: 3.2rem;
  }

  .s9-t2 {
    font-size: 2.4rem;
  }

  .s9-c1,
  .s9-c2 {
    font-size: 0.75rem;
    line-height: 28px;
    letter-spacing: 5px;
  }

  .s9 .sq {
    font-size: 1.6rem;
  }

  #form1 {
    max-width: 800px;
  }
}

@media screen and (min-width: 1200px) {
  .s9 .logo img {
    width: 300px;
  }
  .s9 .sq {
    font-size: 2rem;
    margin: 3% 0 4.5% 0;
  }
}

@media screen and (min-width: 1300px) {
  .form-group {
    padding: 5% 0 6% 0;
  }

  #form1 {
    max-width: 1000px;
  }

  .s9 .sq {
    font-size: 2rem;
  }

  .s9-c1,
  .s9-c2 {
    margin-left: 20%;
    font-size: 0.85rem;
  }
}

@media screen and (min-width: 1500px) {
  .s9 .sq {
    font-size: 2.5rem;
    margin: -2% 0 5% 0;
  }

  .s9-c1,
  .s9-c2 {
    margin-left: 40%;
  }
}

/*========================================================
                         左側選單
=========================================================*/

.icon_Community a.js-btn-icon_Community {
  text-align: center;
  width: 50px;
  line-height: 47px;
  border-radius: 100px;
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 0;
  cursor: pointer;
  color: #fff;
  background: #000;
  font-size: 22px;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.5);
  height: 50px;
  pointer-events: auto;
  overflow: hidden;
}

.js-btn-icon_Community:hover,
.js-btn-icon_Community:focus {
  color: #fff;
  background-color: #451209;
  border-color: #451209;
}

.js-icon_Community .icon_li {
  position: relative;
  left: -100px;
}

.icon_li_img {
  max-width: 50px;
  width: 100%;
  height: auto;
  display: block;
  position: absolute;
  left: 0;
  z-index: 1;
}

.js-icon_Community.active .icon_li {
  left: 0;
  pointer-events: auto;
}

.js-icon_Community .icon_li:nth-child(1) {
  transition: all 0.1s ease-out;
  -moz-transition: all 0.1s ease-out;
  -o-transition: all 0.1s ease-out;
  -webkit-transition: all 0.1s ease-out;
}

.js-icon_Community .icon_li:nth-child(2) {
  transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  -webkit-transition: all 0.3s ease-out;
}

.js-icon_Community .icon_li:nth-child(3) {
  transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease-out;
  -o-transition: all 0.5s ease-out;
  -webkit-transition: all 0.5s ease-out;
}

.icon_li a:hover .icon {
  animation: go 3s linear infinite;
}

@keyframes go {
  10% {
    transform: rotate(15deg);
  }

  20% {
    transform: rotate(-10deg);
  }

  30% {
    transform: rotate(5deg);
  }

  40% {
    transform: rotate(-5deg);
  }

  50%,
  100% {
    transform: rotate(0deg);
  }
}

@media (max-width: 991.98px) {
  .icon_Community {
    width: 100%;
    position: fixed;
    left: auto;
    bottom: 0;
    z-index: 999998;
    pointer-events: none;
  }

  .icon_Community_ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
  }

  .icon_Community_ul .icon_li {
    width: 33.33%;
    border-right: 1px solid #fff;
  }

  .icon_Community_ul .icon_li:last-child {
    border-right: none;
  }

  .icon_Community_ul .icon_name {
    font-size: 0.75rem;
    padding-top: 3px;
  }

  .icon_img {
    display: block;
    background-color: #03517c;
    overflow: hidden;
    text-align: center;
    color: #fff;
    position: relative;
    padding: 12.5px 5px 3px 5px;
    text-decoration: none;
  }

  .icon_Community a {
    color: #fff;
    text-decoration: none;
  }

  .icon_Community a img {
    display: block;
    margin: 0 auto;
    width: 20px;
  }

  .icon_Community a:hover {
    background-color: #1ba1c6;
  }

  .icon_Community a:hover img {
    animation: go 3s linear infinite;
  }
}

@media (min-width: 992px) {
  .icon_Community {
    position: fixed;
    right: 20px;
    bottom: 92px;
    z-index: 9998;
    pointer-events: none;
  }

  .icon_Community_ul {
    list-style: none;
    padding: 0;
    flex-direction: column;
    align-items: flex-end;
    display: flex;
    margin-bottom: 59px;
  }

  .icon_img {
    background-color: #03517c;
    border: none;
    overflow: hidden;
    text-align: center;
    margin-bottom: 6px;
    width: 50px;
    text-decoration: none;
    border-radius: 100px;
    color: #fff;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .icon_img.active {
    width: 142px;
  }

  .icon_img.active .icon_name {
    text-indent: 0;
    opacity: 1;
  }

  .icon_img:hover {
    text-decoration: none;
    width: 142px;
  }

  .icon_img:before {
    opacity: 0;
  }

  .icon_img .icon {
    color: #fff;
    font-size: 22px;
    width: 50px;
    line-height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 0;
    z-index: 1;
  }

  .icon_img:hover .icon {
    text-decoration: none;
  }

  .icon_img:hover .icon_name {
    opacity: 1;
    text-indent: 0;
  }

  .icon_name {
    position: relative;
    line-height: 50px;
    padding-left: 15px;
    padding-right: 50px;
    transition: all 0.3s ease;
    opacity: 0;
    text-decoration: none;
    color: #fff;
    white-space: nowrap;
    border-radius: 100px;
    overflow: hidden;
    /*text-indent: -100px;*/
    font-family: Arial, "Microsoft JhengHei", sans-serif;
  }
}

/*========================================================
                         隱私權聲明
=========================================================*/

.fancybox-container {
  z-index: 9999999;
}

.modal-body {
  overflow-y: auto;
  padding: 20px;
}

.modal-header {
  border-bottom: none;
}

.modal-body h2 {
  text-align: center;
  margin-bottom: 20px;
}

.modal-body p span {
  font-weight: bold;
  font-size: 1.1rem;
}

.modal-dialog {
  margin-bottom: 80px;
  color: #000;
}

@media (min-width: 576px) {
  .modal-body {
    padding: 20px 40px;
  }

  .modal-dialog {
    max-width: 1000px;
  }
}

@media (min-width: 1024px) {
  .modal-body {
    padding: 20px 80px;
  }

  .modal-dialog {
    max-width: 1200px;
    margin-bottom: 0;
  }
}
