@font-face {
    font-family: 'fontface1';
    src: url('../fonts/IDHeiUltra.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'fontface1';
    src: url('../fonts/NotoSansTC-Medium.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'fontface1';
    src: url('../fonts/NotoSansTC-Bold.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

a,
a:visited,
a:hover,
a:active{
    text-decoration: none;   /* 不要底線 */
    color: inherit;          /* 不變色 */
}
#main{
    background-color: #eee;
}
.container{
    width: 100%;
    max-width: 1150px;
    text-align: justify;
    font-family: 微軟正黑體;
}
@media(max-width:768px){
  .bigimg{
    height: 175px;  
  }
  .bigimg img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}





/* ----------按鈕---------- */
.sticky-group{
  position: sticky;
  top: 0;
  z-index: 100;
}





.arrow-left, .arrow-right{
  display: none;
}
@media screen and (max-width: 768px){
  .scroll-hint-wrapper{
      position: relative;
  }
  .arrow-mask{
      position: absolute;
      top: 0;
      width: 36px;
      height: 100%;
      z-index: 20;
      display: flex;
      align-items: center;
      justify-content: center;
      pointer-events: none;
      font-size: 20px;
      font-weight: bold;
      transition: opacity 0.3s ease;
  }
  .arrow-left, .arrow-right{
    color: #29627d;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    background-color: rgba(157, 157, 157, 0.5);
    /* font-size: 16px; */
  }
  .arrow-left{
      left: 0;
  }
  .arrow-right{
      right: 0;
  }
  
}





.float-buttons{
  display:flex;
  background-color:#29627d;
  justify-content:center;
  gap:10px;
  padding:10px;
}
.float-button{
  display:block;
  padding:10px 18px;
  background-color: #29627d;
  color:#fff !important;
  font-size:24px;
  font-weight: bold;
  text-decoration:none;
  transition:all 0.3s ease;
  border-radius: 10px;
}
.float-button:hover{
  transform:translateY(-2px);
  background-color: #fff;
  color: #29627d !important;
}
.float-button-active{
  background:#fff !important;
  color:#29627d !important;
  font-weight:bold;
}
.sub-buttons{
  display: flex;
  justify-content: center;
  background-color: #e0e0e0;
  gap: 10px;
  font-size: 24px;
  color: #29627d;
  padding: 16px;
}
.sub-buttons a{
  background-color: #fff;
  position: relative;
  padding: 4px 16px;
  border-radius: 10px;
}
.sub-buttons a:hover{
  background-color: #29627d;
  color: #fff;
  border-radius: 10px;
}
.sub-buttons .boat-active{
  background-color: #29627d;
  color: #fff;
}

/* .sub-buttons a:not(:last-child){
  border-right: 1px solid #29627d;
} */

/* 小圖主圖區 */
.thumb {
    cursor: pointer;
    opacity: 0.6;
    filter: brightness(50%); 
    transition: all 0.3s ease;
}
.thumb.active {
    opacity: 1;
    filter: brightness(100%); 
}
.thumb:hover {
    filter: brightness(70%);
}





@media screen and (max-width: 768px){
  .float-buttons{
    overflow-x: auto;
    justify-content: flex-start;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .float-button{
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .sub-buttons{
    overflow-x: auto;
    justify-content: flex-start;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }
    .sub-buttons a{
    flex: 0 0 auto;          
    white-space: nowrap;     
  }
}





/* ----------通用標題---------- */
.block-title{
  /* color: #ff6700; */
  color: #29627d;
  font-size: 48px;
  text-align: center;
  font-weight: bold;
  padding: 30px 0 0 0;
}
.block-subtitle{
  /* color: #ff6700; */
  color: #29627d;
  font-size: 20px;
  text-align: center;
  /* font-weight: bold; */
  padding: 4px 0 0 0;
}


.remark{
  color: #fff;
  background-color: #29627d;
  /* background-color: #777777; */
  text-align: center;
  font-size: 16px;
  padding: 4px 0;
}