body{
    font-family: "微軟正黑體", Arial;
    margin: 0;
    padding: 0;
    line-height: 1.8em;
    background-size: 100%;
    background-repeat: no-repeat;
    background-size: 100%;
/*	background-image: url(images/bg.jpg);*/
    font-size: 24px;/*  background-color: #540000;*/
    background-color: #cc0001;
	background-attachment: fixed;
}


/*.top_bg{
  max-width: 1170px;
  background-image: url(images/down_bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  margin: auto;

}*/

.top_bg2{
  /*width: 100%;*/
  /*height: 100%;*/
  background-image: url(images/bg.jpg);
  background-repeat: repeat;
  background-size: cover;
  background-position: center 0%;
  color: #cc0001;
/*  background-attachment: fixed;*/
}

.top_bg3{
/*  background-image: url(images/bg2.jpg);*/
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 0%;
/*  color: #4a6d28;*/
  background-attachment: fixed;
	
}

.top_bg2 div2{
    font-size: 1.2em;
    color: #2B2B2B;
    font-weight: bold;
    margin: 2% auto 0 auto;
    padding: 0 auto 0 auto;
    display: block;
}

.top_page01{
	max-width: 1920px;
	margin: 0 auto 0 auto;
	padding: 0;
}

.top_page02{
	max-width: 1170px;
	margin: 0 auto 0 auto;
	padding: 0;
}

.title_page{
/*	max-width: 340px;*/
/*	margin: auto auto;*/
/*	text-align: center;*/
/*	padding-top: 3%;*/
}

.title{
  font-size: 2em;
  margin: 2% auto 0 auto;
  font-weight: bold;
  line-height: 2.5em;
  color: #FFF;
}

.content{
    margin: 5% 0;
    background-attachment: fixed;
    background-size: cover;
    background-position: 50% 0px;
    background-repeat: no-repeat;
    background-color: #3f1918;
    border: 10px solid #00A4E0;
    padding: 5%;
    background-color: rgba(0,0,0,0.8);
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
    border-radius: 20px;
}

.content img{
	margin: auto;
}

.content p{
    line-height: 1.5em;
    /*  margin: 20px;*/
    font-weight: bolder;
    color: #fcf6c6;
    text-align: center;
    text-shadow: 2px 2px 5px #000;
    font-size: 1.1em;
}

.content_page{
/*  background-color: #FFFFFF;*/
  /*border-radius: 20px;*/
  padding: 5%;
  border: 15px solid #bd9d30;
/*  max-width: 1170px;*/
  margin: auto;
}

.content h1{
    text-align: center;
    font-weight: bold;
    color: #FFED00;
    margin-bottom: 5%;
    line-height: 50px;
    font-size: 2em;
}

.copyright{
 font-size: 16px;
 text-align: center;
 color: #000;
 line-height: 3em;
 margin-top: 20px;
}

.p0{
 padding: 0px;
}

.carousel-inner{
	box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
}

.carousel-control{
background-image:none !important;
filter:none !important;
}	

@Media Print {
  Body {display:none;} 
}


/* 照片容器設定 */
        .image-container {
            position: relative;
        }

        /* 漂浮照片的樣式與動畫設定 */
        .floating-photo {
/*            width: 1170px;*/
/*            height: 804px;*/
            object-fit: cover;
            border-radius: 20px;  圓角效果 
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4); /* 增添立體感的陰影 */
            
            /* * 關鍵動畫語法：
             * float-up-down: 對應下方 @keyframes 的名稱
             * 4s: 動畫完整執行一次的時間為 4 秒
             * ease-in-out: 讓起步和結束時速度變慢，看起來更像自然的飄浮
             * infinite: 無限次數循環播放
             */
            animation: float-up-down 2s ease-in-out infinite;
        }

        /* 在照片下方加一個會跟著縮放的底部陰影，增加空間真實感 */
        .shadow {
            width: 1170px;
            height: 20px;
            background-color: rgba(0, 0, 0, 0.5);
            border-radius: 50%;
            margin: 40px auto 0;
            filter: blur(8px);
            
            /* 陰影的動畫，與照片的頻率一致 */
            animation: shadow-scale 4s ease-in-out infinite;
        }

        /* 定義照片上下移動的關鍵影格 */
        @keyframes float-up-down {
            0% {
                transform: translateY(0px); /* 初始位置 */
            }
            50% {
                transform: translateY(-30px); /* 動畫進行到一半時，向上移動 30px */
            }
            100% {
                transform: translateY(0px); /* 動畫結束時，回到初始位置 */
            }
        }

        /* 定義底部陰影縮放的關鍵影格 */
        @keyframes shadow-scale {
            0% {
                transform: scale(1);
                opacity: 0.5;
            }
            50% {
                transform: scale(0.8); /* 當照片往上飄時，陰影變小 */
                opacity: 0.2;  /* 且陰影變淡 */
            }
            100% {
                transform: scale(1);
                opacity: 0.5;
            }
        }
















@keyframes fadeInDown {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.fadeInDown {
  -webkit-animation-name: fadeInDown;
  animation-name: fadeInDown;
}


@-webkit-keyframes bounceIn {
  from,
  20%,
  40%,
  60%,
  80%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }

  20% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
  }

  40% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9);
    transform: scale3d(0.9, 0.9, 0.9);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(1.03, 1.03, 1.03);
    transform: scale3d(1.03, 1.03, 1.03);
  }

  80% {
    -webkit-transform: scale3d(0.97, 0.97, 0.97);
    transform: scale3d(0.97, 0.97, 0.97);
  }

  to {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

@keyframes bounceIn {
  from,
  20%,
  40%,
  60%,
  80%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }

  20% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
  }

  40% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9);
    transform: scale3d(0.9, 0.9, 0.9);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(1.03, 1.03, 1.03);
    transform: scale3d(1.03, 1.03, 1.03);
  }

  80% {
    -webkit-transform: scale3d(0.97, 0.97, 0.97);
    transform: scale3d(0.97, 0.97, 0.97);
  }

  to {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

.bounceIn {
  -webkit-animation-duration: 0.75s;
  animation-duration: 0.75s;
  -webkit-animation-name: bounceIn;
  animation-name: bounceIn;
}

.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.animated.infinite {
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}
.animated.delay-0s {
  -webkit-animation-delay: 0.0s;
  animation-delay: 0.0s;
}


.animated.delay-1s {
  -webkit-animation-delay: 0.6s;
  animation-delay: 0.6s;
}

.animated.delay-2s {
  -webkit-animation-delay: 0.8s;
  animation-delay: 0.8s;
}

.animated.delay-3s {
  -webkit-animation-delay: 1.0s;
  animation-delay: 1.0s;
}

.animated.delay-4s {
  -webkit-animation-delay: 1.2s;
  animation-delay: 1.2s;
}

.animated.delay-5s {
  -webkit-animation-delay: 1.4s;
  animation-delay: 1.4s;
}

.animated.delay-6s {
  -webkit-animation-delay: 2s;
  animation-delay: 2s;
}

.animated.delay-7s {
  -webkit-animation-delay: 2.2s;
  animation-delay: 2.2s;
}

.animated.delay-8s {
  -webkit-animation-delay: 2.4s;
  animation-delay: 2.4s;
}

.animated.fast {
  -webkit-animation-duration: 800ms;
  animation-duration: 800ms;
}

.animated.faster {
  -webkit-animation-duration: 500ms;
  animation-duration: 500ms;
}

.animated.slow {
  -webkit-animation-duration: 2s;
  animation-duration: 2s;
}

.animated.slower {
  -webkit-animation-duration: 3s;
  animation-duration: 3s;
}

@media (prefers-reduced-motion) {
  .animated {
    -webkit-animation: unset !important;
    animation: unset !important;
    -webkit-transition: none !important;
    transition: none !important;
  }
}












.slide-in-elliptic-top-fwd {
	-webkit-animation: slide-in-elliptic-top-fwd 0.7s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
 animation: slide-in-elliptic-top-fwd 0.7s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}





@-webkit-keyframes slide-in-elliptic-top-fwd {
  0% {
    -webkit-transform: translateY(-600px) rotateX(-30deg) scale(0);
    transform: translateY(-600px) rotateX(-30deg) scale(0);
    -webkit-transform-origin: 50% 100%;
    transform-origin: 50% 100%;
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0) rotateX(0) scale(1);
    transform: translateY(0) rotateX(0) scale(1);
    -webkit-transform-origin: 50% 1400px;
    transform-origin: 50% 1400px;
    opacity: 1;
  }
}
@keyframes slide-in-elliptic-top-fwd {
  0% {
    -webkit-transform: translateY(-600px) rotateX(-30deg) scale(0);
    transform: translateY(-600px) rotateX(-30deg) scale(0);
    -webkit-transform-origin: 50% 100%;
    transform-origin: 50% 100%;
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0) rotateX(0) scale(1);
    transform: translateY(0) rotateX(0) scale(1);
    -webkit-transform-origin: 50% 1400px;
    transform-origin: 50% 1400px;
    opacity: 1;
  }
}










form {
  display: block;
  margin-top: 0em;
  margin-block-end: 0em;
}
