
body, html {
	height: 100%;
	margin: 0;
	font-family: Arial, sans-serif; /* 設置字體 */
	font-size: 14px; /* 設置字體大小 */
}

a {
	color:#006699;
  	text-decoration:none;
}


a:hover {
	color:#0D0DBB;
  	text-decoration:none;
}


       /* 首頁輪播圖	*/ 
		#carouselExample{
		margin-top: 0em;
		}
	
        .carousel-item {
            height: 100vh;
            background-size: cover;
            background-position: center;

        }
 
		 /* 放大至 1.5 倍 */
		.carousel-control-prev-icon,
		.carousel-control-next-icon {
		  transform: scale(2.5);  /* 调整数值控制大小 */
		  filter: brightness(100) invert(0);
		}
 
        
        .content {
            /* height: calc(100vh - 56px);  減去底部選單高度 */
            margin-top:100px;
            height: calc(100vh);
            overflow-y: scroll;
        }
 
		        
        .navbar {
            position: absolute;
            top: 0;
            width: 100%;
            background-color: rgba(248, 249, 250, 0.7);
            z-index:110;
        }
        
       .carousel-indicators{
			margin-bottom: 7rem;
		  }  
  
        
        .carousel-indicators button {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: #000;
        }
        
    .carousel-indicators [data-bs-target] {
			width: 30px;
			height: 30px;
			background-color: #000000;
		}  
		
	.carousel-control-prev-icon {
		margin-left: 55px;
		}

	.carousel-control-next-icon {
		margin-right: 55px;
		}
	
	
	.qr_pic {
	width: 75px;
	
		}

	.logo_pic {
	width: 55px;
	
		}
	
	.add-pic {
	max-width: 350px;
	}	
		
	/* 右浮動區塊	*/
		
	.floating-block-right {
	max-width: 85px;
    position: fixed;
    right: 0;
    top: 50%; /* 設置區塊在螢幕上的垂直位置 */
    /* width: 0px;  設置區塊寬度 */
    height: auto;
    padding: 10px;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8); /* 白色背景，80%透明度 */
    border: 2px solid #007bff; /* 藍色邊框 */
    border-radius: 10px; /* 圓角邊框 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 柔和的陰影效果 */
    font-family: Arial, sans-serif; /* 設置字體 */
    font-size: 12px; /* 設置字體大小 */
    z-index:100;
    
	}

	.floating-block-right a {
	
    display: block;
    margin: 5px 0;
    text-decoration: none;
    color: #333;
    text-align: center;
	}

	.floating-block-right a:hover {
    color: #007bff;
	}

	/* 左浮動區塊	*/
		
	.floating-block-left {
	max-width: 85px;
    position: fixed;
    left: 0;
    top: 50%; /* 設置區塊在螢幕上的垂直位置 */
    /* width: 0px;  設置區塊寬度 */
    height: auto;
    padding: 10px;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8); /* 白色背景，80%透明度 */
    border: 2px solid #007bff; /* 藍色邊框 */
    border-radius: 10px; /* 圓角邊框 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 柔和的陰影效果 */
    font-family: Arial, sans-serif; /* 設置字體 */
    font-size: 12px; /* 設置字體大小 */
    z-index:100;
	}

	.floating-block-left a {
    display: block;
    margin: 5px 0;
    text-decoration: none;
    color: #333;
    text-align: center;
	}

	.floating-block-left a:hover {
    color: #007bff;
	}


    /*  左下方隱藏區塊  */
    #footer-bar {
      width: 200px;
      height: auto;

      padding: 6px;
      text-align: center;
      position: fixed;
      bottom: 0;
      left: 0;
      box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
      border-radius: 6px; /* 圓角邊框 */
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 柔和的陰影效果 */
      font-family: Arial, sans-serif; /* 設置字體 */
      font-size: 14px; /* 設置字體大小 */
      z-index:100;
    }
    
    button {
      background-color: #FFFFFF;
      border: none;
      padding: 5px 10px;
      cursor: pointer;
    }



.title-photo{
	margin-top: 1px;
	margin-bottom: 15px;
	display:block;
}

.title-photo-s {
    display:none;
    margin-top: 1px;
	margin-bottom: 15px;
}

＃mainpage {
margin-top: 7em;
}


#linkpage {
	margin-top: 3em;
	display: flex;
	justify-content: center;
}

#right_sider {
margin-top: 5em;
}

.about-home{
margin: 3em;
}

.footer {
background-color:#003366;
min-height: 100px;		
padding-top: 25px;
padding-bottom: 25px;
border-bottom:15px solid #010508;
}

.footer a {
	color:#FFFFFF;
  	text-decoration:none;
}

.footer a:hover {
	color:#58b9dc;
  	text-decoration:none;
}


/* 自定義 Lightbox 樣式 */
.lb-data .lb-details {
	text-align: center;
	width: 100%;
}

.lb-data .lb-caption {
	font-size: 16px;
	font-weight: bold;
	line-height: 1.4;
}

.lb-data .lb-number {
	display: none;
}

        .gallery-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 25px;
        }
        
        .gallery-item {
            position: relative;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            background: white;
        }
        
        .gallery-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 12px rgba(0,0,0,0.15);
        }
        
        .gallery-image {
            width: 100%;
            height: 200px;
            object-fit: cover;
            display: block;
            cursor: zoom-in;
            transition: opacity 0.3s;
        }
        
        .gallery-item:hover .gallery-image {
            opacity: 0.9;
        }




.w_jap{
margin-bottom: 25px;	
font-size: 16px;
}
.w_eng{
margin-bottom: 25px;	
}
.w_cn{
margin-bottom: 25px;	
}


#sidebar .nav {
   display:block;
}

/* vidoe */
.link-c1 {
  color: #004EA0;
}

.link-c2 {
  color: #6AA541;
}

#videolink{
  text-align: left;
  line-height: 180%;
  padding: 25px 300px 25px;
}

/* glide */
.glide__slide {
  transition: transform 0.5s ease, opacity 0.3s ease;
  opacity: 0.5;
  transform: scale(0.9);
}

.glide__slide--active {
  opacity: 1;
  transform: scale(1);
}
 
/* 基本分頁容器樣式 */
.glide__bullets {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

/* 單個分頁點樣式 */
.glide__bullet {
  width: 25px;
  height: 25px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid #333;
  background: transparent;
  margin: 0 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* 當前活動的分頁點樣式 */
.glide__bullet--active {
  background: #333;
  border-color: #333;
}

/* 懸停效果 */
.glide__bullet:hover {
  opacity: 0.8;
}


#linkpage-home {
	 visibility:hidden;
	}

/* home頁面文字 */
.home-word {
padding: 25px 150px 25px;
}

@media screen and (max-width: 768px) {
    .floating-block-right, .floating-block-left {
        height: auto; /* 手機或小螢幕適配 */
        padding: 4px; /* 適當減小內邊距 */
        font-size: 10px; /* 字體大小調整 */
        top: 50%; /* 設置區塊在螢幕上的垂直位置 */
		max-width: 65px;
		position: fixed;

		
    }

    /* 首頁輪播圖	*/ 
	#carouselExample{
	margin-top: 7em;
	}
	
	.carousel-indicators{
	margin-bottom: 1rem;
   } 
	.carousel-item {
		height: auto;
		background-size: cover;
		background-position: center;

	}
            
    .carousel-inner img {
    width: 100%; /* 設置寬度為100% */
    height: auto; /* 高度自動調整以保持比例 */
    object-fit: cover; /* 根據容器大小裁切並保持比例 */
	}
	
	.navbar-brand {
	font-size: 1rem;
	}



	.title-photo{
		margin-top: 1px;
		margin-bottom: 15px;
		display:none;
	}

	.title-photo-s {
		display:block;
		margin-top: 1px;
		margin-bottom: 15px;
	}
	
/*	隱藏左右浮動區塊
	.floating-block-left{
		visibility:hidden;
	}

	.floating-block-right{
		visibility:hidden;
	}
*/


    /*  左下方隱藏區塊  */
    #footer-bar {
      width: 280px;
      font-size: 10px; /* 設置字體大小 */

    }

	#linkpage-home {
	 visibility:visible;
	}
	
	/*  lightbox  */
	
            .gallery-container {
                grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
                gap: 15px;
            }
            
            .gallery-image {
                height: 150px;
            }
        
	/* home頁面文字 */
	.home-word {
	padding: 25px 25px 25px;
	}	
	
	#videolink{
	  text-align: left;
	  line-height: 180%;
	  padding: 25px 20px 25px;
	}	

	.logo_pic {
	width: 45px;
	
		}

	.add-pic {
	max-width: 300px;
	}			
		
}

