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



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

body {
    font-family: "Noto Serif TC", "微軟正黑體", Arial, Verdana, Helvetica, serif;
/*    font-family: "微軟正黑體", Arial, Verdana, Helvetica, sans-serif;*/
    font-weight: 400;
    font-size: 1rem;
    color: #333433;
	background: radial-gradient(circle at center, #ffffff 0%, #ebebeb 100%);
    /*overflow-x: hidden;
    background-image: url("../img/section1-pc-bg.jpg");    
    background-repeat: repeat;
    background-position: center center;*/
}
/*@media (max-width: 991px){
    body {
        margin-bottom: 63px;
        background-image: url("../img/section1-m-bg.jpg");    
        background-repeat: repeat;
        background-position: center center;
    } 
}*/
/* google recaptcha 隱藏 */
    .grecaptcha-badge{ 
     visibility:hidden;
}

.wrapper__bg {
	 width: 100%;
	 height: 100%;
	 position: fixed;
	 top: 0;
	 right: 0;
	 bottom: 0;
	 left: 0;
	 overflow: hidden;
	 z-index: -1;
}

.txt-abs{
	position: relative;
}
.txt-abs p {
    color: #fff;
    position: absolute;
    top: 100%;
    left: 100%;
    transform: translate(-73%, -100%);
    padding: 15px;
    font-size: 0.85rem;
    width: 160px;
    text-shadow: 0px 0px 5px #000, 0px 0px 10px #333, 0px 0px 15px #555;
}

.f1 {
	font-family:  'Noto Sans TC', sans-serif;
}
#scrollUp{
	background-color: #002f16;
}

#scrollUp:hover{
	background-color: #72bdb8;
}

/*========================================================
                         共用版型設定
=========================================================*/


/* 電腦版,手機版關開設定 */
.pc-wrap {
    display: none;
}
.m-wrap {
    display: block;
}



@media (min-width: 992px) {
    .pc-wrap {
        display: block;
    }
    .m-wrap {
        display: none;
    }
}

/* 定位統一設定 */
.pos-style1 {
    position: relative;
    z-index: 1;
}
.pos-style2 {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}
.pos-style3 {
    position: absolute;
    right: 0px;
    bottom: -6px;
    margin: 0;
    font-weight: bold;
    font-size: 0.75rem;
	padding: 0 10px;
	text-align: justify;
}
.pos-style3 span {
    display: inline-block;
    margin-right: 10px;
    font-size: 0.9rem;
	color: #40210f;
	font-weight: bold;
}
.pos-style4 {
    position: absolute;
    left: 20px;
    bottom: 10px;
    margin: 0;
    color: #fff;
    font-weight: bold;
    font-size: 0.7rem;
}
.pos-style5 {
    position: absolute;
    right: 10px;
    bottom: 10px;
    margin: 0;
    color: #fff;
    font-weight: normal;
    font-size: 0.7rem;
    line-height: 20px;
}
.pos-style5 span {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: bold;
    margin-top: 4px;
    margin-left: -2px;
}
.pos-style6 {
    position: absolute;
    left: 10px;
    bottom: 10px;
    margin: 0;
    color: #fff;
    font-weight: normal;
    font-size: 0.7rem;
    line-height: 20px;
}
.pos-style6 span {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: bold;
    margin-top: 4px;
    margin-left: -2px;
}
.pos-style7 {
    position: absolute;
    right: 0px;
    bottom: 37px;
    margin: 0;
    font-weight: bold;
    font-size: 0.7rem;
	padding: 0 10px;
	text-align: justify;
}
@media (min-width: 480px) {
	.pos-style3 {
        bottom: 13px;
        font-size: 0.9rem;
    }
	.pos-style3 span {
		font-size: 1.2rem;
	}
	.pos-style7 {
        bottom: 13px;
        font-size: 0.9rem;
    }
}
@media (min-width: 640px) {
	.pos-style3 {
        bottom: 22px;
        font-size: 1rem;
		padding: 0 15px;
    }
	.pos-style3 span {
		font-size: 1.4rem;
	}
	.pos-style7 {
        bottom: 22px;
        font-size: 1rem;
		padding: 0 15px;
    }
}
@media (min-width: 760px) {
	.pos-style3 {
        bottom: 67px;
}
}
@media (min-width: 992px) {
    .pos-style3 {
        right: 30px;
        bottom: 20px;
        font-size: 1rem;
    }
    .pos-style3 span {
        font-size: 1.2rem;
    }
    .pos-style4 {
        left: 30px;
        bottom: 20px;
        font-size: 1rem;
    }
    .pos-style5 {
        right: 20px;
        bottom: 20px;
        font-size: 0.9rem;
    }
    .pos-style5 span {
        font-size: 1.2rem;
    }
    .pos-style6 {
        left: 20px;
        bottom: 20px;
        font-size: 0.9rem;
    }
    .pos-style6 span {
        font-size: 1.2rem;
    }
}


/* slider 手機文字定位統一設定 */

.m-wrap .slider {
    margin-bottom: 30px;
}
.m-wrap .slider div {
    position: relative;
  
}
.m-wrap .slider .slick-slide p {
    position: absolute;
    right: 10px;
    bottom: 0;
    margin: 0;
    color: #fff;
    font-weight: bold;
    font-size: 0.8rem;
}

.m-wrap .responsive-s1 .slick-slide:after,
.m-wrap .responsive-s3 .slick-slide:after {
    content: '';
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    z-index: 1000000;
    border-top: 10px solid #fff;
    border-left: 5px solid #fff;
    border-right: 5px solid #fff;
}

.m-wrap .responsive-s2 {
    margin-bottom: 20px;
}
.m-wrap .responsive-s2 .slick-slide:after {
    content: '';
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    z-index: 1000000;
    border: 10px solid #fff;
}
.m-wrap .responsive-s2 .slick-slide p {
    right: 20px;
    bottom: 10px;
}
.m-wrap .responsive-s4 {
    margin-bottom: 20px;
}
.m-wrap .responsive-s4 .slick-slide:after {
    content: '';
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    z-index: 1000000;
    border: 10px solid #fff;
}
.m-wrap .responsive-s4 .slick-slide p {
    right: 20px;
    bottom: 10px;
}





/* 區塊2,5,6共用版型 */
.section-s1 img {
    width: 100%;
}
.pc-wrap .section-s1-img {
    padding: 30px 35px 0px 10px;
}
.pc-wrap .section-s1-img > div {
    position: relative;
    margin-bottom: 10px;
}
.pc-wrap .section-s1-img > div p {
    position: absolute;
    right: 10px;
    bottom: 0;
    margin: 0;
    color: #fff;
    font-weight: bold;
    font-size: 0.8rem;
}

@media (min-width: 1200px) {
    .pc-wrap .section-s1-img > div p {
        font-size: 1.1rem;
    }
    .pc-wrap .section-s1-img {
        padding: 30px 40px 0px 15px;
    }
}
@media (min-width: 1600px) {
    .pc-wrap .section-s1-img > div p {
        font-size: 1.1rem;
    }
    .pc-wrap .section-s1-img {
        padding: 40px 55px 0px 30px;
    }
    .pc-wrap .section-s1-img > div {
        margin-bottom: 15px;
    }
}
@media (min-width: 1800px) {
    .pc-wrap .section-s1-img {
        padding: 35px 55px 0px 30px;
    }
}



/*.shadow_img{
	mix-blend-mode: screen;
}*/

/*========================================================
                         共同文字
=========================================================*/
.section h2 {
    font-size: 1.6rem;
    font-weight: bold;
    color: #4E4D4D;
    margin-top: 2rem;
}
.section h3 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 2rem;
}
.section h3 span{
    font-weight: 900;
    display: inline-block;
}
.section p {
    font-size: 1.4rem;
    font-weight: bold;
    color: #a82330;
    margin-bottom: 1rem;
	padding-top: 5vh;
}
.txt-p{
	color: #d9706f!important;
}
.txt-b{
	color: #4e4d4d!important;
}
@media (min-width: 640px) {
    .section h2 {
        font-size: 2.2rem;
    }
    .section h3 {
        font-size: 2.8rem;
    }
    .section p {
        font-size: 1.6rem;
    }
}
@media (min-width: 992px) {
    .section h2 {
        font-size: 1.8rem;
        margin-top: 2rem;
    }
    .section h3 {
        font-size: 2.4rem;
        margin-bottom: 2rem;
    }
    .section p {
        font-size: 1.5rem;
        margin-bottom: 1rem;
		padding-top: 10vh;
    }
}
@media (min-width: 1200px) {  
    .section h2 {
        font-size: 2rem;
        margin-top: 3rem;
    }
    .section h3 {
        font-size: 3.2rem;
        margin-bottom: 3rem;
    }
    .section p {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }
}
@media (min-width: 1600px) {
    .section h2 {
        font-size: 2.4rem;
        margin-top: 4rem;
    }
    .section h3 {
        font-size: 2.4rem;
        margin-top: 4rem;
    }
    .section p {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
}

/*========================================================
                         動畫設定
=========================================================*/

/*========================================================
                         區塊1
=========================================================*/
/* =========================================
   版面佈局
   ========================================= */
.main-container {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 20px;
}

/* =========================================
   區塊樣式與動畫
   ========================================= */
.hero-section {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 裝飾細線 */
.decorative-line {
    width: 1px;
    background-color: #6b5012; /* 讓線條跟您的標題同色系 */
    opacity: 0;
}

.line-top {
    height: 60px;
    margin-bottom: 30px;
    transform-origin: top; /* 設定變形原點為頂部 */
    /* 改用 scaleY 讓線條延伸，這樣不會推擠到下方的文字 */
    animation: drawLine 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.3s;
}

.line-bottom {
    height: 40px;
    margin-top: 30px;
    margin-bottom: 30px;
    transform-origin: top;
    animation: drawLine 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards 1.5s;
}

/* 主標題：德和仁愛176 */
.main-title {
    font-size: 3rem;
    font-weight: 500;
    color: #6b5012; /* 您指定的顏色 */
    letter-spacing: 8px; 
    margin-left: 8px;
    opacity: 0;
    /* 移除縮放特效，改為純粹原地的優雅淡入，畫面更穩重 */
    animation: simpleFadeIn 2s ease-out forwards 0.8s;
}

/* 副標題：網站建置中 */
.subtitle {
    font-size: 0.9rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #888888;
    letter-spacing: 4px;
    margin-left: 4px;
    opacity: 0;
    animation: simpleFadeIn 1.5s ease forwards 2s;
}

/* =========================================
   Keyframes 動畫設定
   ========================================= */
/* 線條原地往下延伸，不影響排版 */
@keyframes drawLine {
    0% { transform: scaleY(0); opacity: 0; }
    100% { transform: scaleY(1); opacity: 0.5; }
}

/* 純粹淡入 */
@keyframes simpleFadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* =========================================
   響應式設定 (RWD)
   ========================================= */
@media (max-width: 768px) {
    .main-title {
        font-size: 2rem;
        letter-spacing: 6px;
        margin-left: 6px;
    }
    
    .line-top {
        height: 40px;
    }
    
    .line-bottom {
        height: 30px;
    }
}

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

.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;
    font-family: "微軟正黑體", Arial, Verdana, Helvetica, sans-serif;
}

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

.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.7rem;
  		padding-top: 5px;
    }
    .icon_img {
        display: block;
        background-color: #002f16;
        overflow: hidden;
        text-align: center;
        color: #fff;
        position: relative;
        padding: 10px 10px;
        text-decoration: none;
    }
 .icon_Community a{
	  color: #fff;
	  text-decoration:none;
 }
 .icon_Community a img{
	  display: block;
	  margin: 0 auto;
	  width: 22px;
 }
 .icon_Community a:hover{
	  background-color: #72bdb8;
 }
 .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: #002f16;
        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;
		background-color: #72bdb8;
    }
    .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;
    }
}


/*========================================================
                         快速選單
=========================================================*/

.quick-btn {
    position: fixed;
    bottom: 0;
    z-index: 9999;
    width: 100%;
    background-color: #294b62;
    text-align: center;
}
.quick-btn [class*="col-"] {
    border-right: 1px solid #fff;
}
.quick-btn [class*="col-"]:last-child {
    border-right: none;
}
.quick-btn [class*="col-"] a {
    display: block;
    color: #fff;
    padding-top: 15px;
    padding-bottom: 8px;
	border-left: none;
	text-decoration:none;
	font-size: 0.9rem;
}
.quick-btn [class*="col-"]:hover {
    background-color: #6e99af;
}
.quick-btn [class*="col-"] a i {
    display: block;
}


.quick-modal {
    text-align: center;
    padding: 50px 60px;
}
.quick-modal i {
    display: block;
    font-size: 5rem;
    color: #72bdb8;
    font-weight: bold;
    margin-bottom: 30px;
}
.quick-modal h2 {
    font-size: 1rem;
    font-weight: bold;
}
.quick-modal p {
    font-size: 1.4rem;
    font-weight: bold;
}
.quick-modal .btn {
    width: 100%;
    min-width: 240px;
    background-color: #72bdb8;
	border-color: #72bdb8;

}
.quick-modal a {
    display: block;
    width: 100%;
    color: #fff;
    padding: 5px;
	text-decoration: none;
}
.quick-modal .btn:hover {
    background-color: #002f16;
	border-color: #002f16;
}
#modal1 i {
    transform: rotate(0deg);
}
@media (min-width: 992px) {
	.quick-btn{ display:none;}
}



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

.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;}

@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;}
}
