@charset "UTF-8";
@import url("reset.css");

/* -----------------------------------------
    共用
------------------------------------------*/
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
html, body {
    width: 100%;
	letter-spacing: 1px;
  scroll-behavior: smooth;
}
figure{
	margin: 0;
}
em{
    font-style: normal;
}
/*kv*/
.kv-body{
  width: 100%;
  margin: 0 auto;
}
.kv-body img{
  width: 100%;
}
.kv-pc{
  width: 100%;
  background-image: url(../images/kv-bg-PC.webp);
  background-size: 100%;
  background-repeat: no-repeat;
  display: block;
}
.kv-m{
  width: 100%;
  background-image: url(../images/kv-bg-M.webp);
  background-size: 100%;
  background-repeat: no-repeat;
  display: none;
}
@media(max-width:700px){
  .kv-pc{
  display: none;
}
.kv-m{
  display: block;
}
}
/*五大特點*/
.five-features-body{
  width: 100%;
  margin: 0 auto;
  padding: 80px 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
}
.five-features-body img{
  width: 40%;
  max-width: 500px;
  padding-right: 100px;
}
.five-features-text{
  width: 50%;
  max-width: 500px;
  font-size: 18px;
}
.five-features-text h2{
  font-size: 26px;
  color: #00a19b;
  padding-bottom: 10px;
}
.five-features-text ol{
  list-style-type: disc;
  line-height: 34px;
  padding-left: 20px;
}
.five-features-text em{
  font-style: normal;
}
.five-features-text .esun-green{
  color: #00a19b;
}
.five-features-text .orange{
  color: #ff5b00;
}
.five-features-text .largr-unmber{
  font-size: 26px;
  font-weight: bolder;
}
.five-features-text .small-gray{
  font-size: 16px;
  color: #898989;
}
@media(max-width:700px){
.five-features-body{
  flex-wrap: wrap;
}
.five-features-body img{
  width: 80%;
  padding-right: 0px;
  padding-bottom: 40px;
}
.five-features-text{
  width: 85%;
}
}
/*玉山Wallet*/
.esun-Wallet-body{
  width: 100%;
  margin: 0 auto;
  background-color: #f4f8fa;
  padding: 30px 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.esun-Wallet-body img{
  width: 20%;
  max-width: 100px;
  padding-right: 20px;
}
.esun-Wallet-text{
  width:80%;
  max-width: 797px;
  font-size: 17px;
  color: #007a7a;
  line-height: 26px;
}
.esun-Wallet-btn{
  max-width: 230px;
  background-color: #1cada4;
  color: #ffffff;
  text-align: center;
  padding: 5px 0px;
  margin-top: 10px;
  font-size: 14px;
  border-radius: 10px;
}
.esun-Wallet-btn:hover{
  opacity: 0.5;
  transition: 0.5s;
}
@media(max-width:500px){
  .esun-Wallet-body img{
  width: 100%;
  padding-right: 0px;
  padding-bottom: 20px;
}
.esun-Wallet-text{
  text-align: center;
}
.esun-Wallet-btn{
  margin: 0 auto;
  margin-top: 20px;
}
.esun-Wallet-body{
  padding: 30px 5px 40px 5px;
}
}
/*專屬優惠*/
.credit-card-events-body{
  width: 100%;
  margin: 0 auto;
  padding: 80px 0px;
}
.credit-card-events-body h2{
  width: 100%;
  margin: 0 auto;
  text-align: center;
  font-size: 26px;
  color: #00a19b;
}
.credit-card-events-body .time{
  width: 100%;
  color: #898989;
  margin: 0 auto;
  text-align: center;
  font-size: 14px;
  padding-top: 10px;
  padding-bottom: 30px;
}
.events-range{
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
  border: 1px solid #3cbaad;
  border-radius: 10px;
}
.payall-body{
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 50px 5px;
  color: #434343;
}
.payall-body img{
  width: 50%;
  max-width: 320px;
  padding-right: 50px;
}
.payall-text{
  width: 60%;
  max-width: 600px;
}
.payall-text h3{
  font-size: 24px;
  padding-bottom: 12px;
}
.payall-text .sub-tittle{
  font-size: 20px;
  color: #ff5b00;
  padding-bottom: 12px;
}
.payall-text .sub-tittle .large-number{ 
  font-style: normal;
  font-size: 24px;
  font-weight: bolder;
}
.payall-text ol{
  font-size: 18px;
  line-height: 29px;
  padding-bottom: 12px;
  text-indent: -20px;
  margin-left: 20px;
}
.payall-text li::before{
  content: "•";
  color: #00a19b;
}
.event-notice{
  color: #898989;
  padding-bottom: 30px;
}
.btn-body{
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
}
.btn-line{
    width: 50%;
    max-width: 12.5rem;
    height: 4.0625rem;
    border: 1px solid #00a19b;
    border-radius: 4px;
    text-align: center;
    color: #00a19b;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
    margin-right: 20px;
    padding: 0px 5px;
    line-height: 22px;
}
.btn{
    width: 50%;
    max-width: 12.5rem;
    height: 4.0625rem;
    background-color: #00a19b;
    border-radius: 4px;
    text-align: center;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
    padding: 0px 5px;
    line-height: 22px;
}
.btn-line:hover , .btn:hover{
  opacity: 0.5;
  transition: 0.5s;
}
.payall-notice{
  margin-left: 20px;
  text-indent: -20px;
  font-size: 16px;
  color: #595959;
  line-height: 24px;
}
.payall-notice span{
  color: #ff5b00;
}
#popup1 h3 , #popup2 h3 , #popup3 h3 , #popup4 h3{
  font-size: 22px;
  color: #595959;
}
@media(max-width:700px){
  .payall-body img{
  width: 90%;
  padding-right: 0px;
  padding-bottom: 30px;
}
.payall-text {
  width: 90%;
  margin: 0 auto;
}
}
.dec{
  width: 90%;
  margin: 0 auto;
  height: 1px;
  border-bottom: 1px solid #d8d8d8;
}
.sub-tittle span{
  color: #434343;
}
.sub-tittle .small-gray{
  font-size: 16px;
  color: #898989;
}

table-wrap{
    max-width:1500px;
    margin:20px auto;
}

table{
    width:100%;
    border-collapse:collapse;
    table-layout:fixed;
    margin-bottom: 20px;
}

th,
td{
    border:1px solid #dbdbdb;
    text-align:center;
    vertical-align:middle;
}

th{
    background:#5fc7b9;
    color:#fff;
    font-size:16px;
    font-weight:500;
    padding:10px 5px;
}

td{
    color:#4a4a4a;
    font-size:15px;
    padding:10px 5px;
}

.note-cell{
    line-height:1.4;
}

.note{
    display:block;
    margin-top:10px;
    font-size:14px;
    color:#ff5b00;
    font-weight:700;
}
.table-small-font{
  font-size: 13px;
}
.Installment-registration-body{
  width: 100%;
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  font-size: 16px;
  letter-spacing: 0px;
}
.Installment-registration-item{
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-wrap: nowrap;
  padding: 15px 10px;
  border: 1px solid #bde3e2;
  background-color: #f7fcfb;
  border-radius: 10px;
  margin: 10px 10px;
}
.Installment-registration-money{
  width: 180px;
  border-right: 1px solid #bde3e2;
  padding: 10px 0px 10px 20px;
}
.Installment-registration-date{
    padding: 10px 30px 10px 20px;
    color: #ff5b00;
    font-weight: 600;
}
.Installment-registration-item a{
  padding: 10px 25px;
  background-color: #00a19b;
  color: #ffffff;
  border-radius: 5px;
  font-size: 14px;
}
.Installment-registration-item a:hover{
  opacity: 0.5;
  transition: 0.5s;
}
@media(max-width:531px){
  .Installment-registration-body{
  font-size: 14px;
}
.Installment-registration-money{
  width: 130px;
  padding: 26px 0px 10px 10px;
}
.Installment-registration-item a{
  padding: 10px 15px;
  margin: 10px 0px;
}
.Installment-registration-date{
    padding: 26px 20px 10px 20px;
}
.Installment-registration-item a{
  width: 60px;
}
}
@media(max-width:390px){
  .Installment-registration-body{
  font-size: 14px;
}
.Installment-registration-money{
  width: 115px;
  padding: 26px 0px 10px 0px;
}
.Installment-registration-item a{
  padding: 10px 15px;
  margin: 10px 0px;
}
.Installment-registration-date{
    padding: 26px 10px 10px 10px;
}
.Installment-registration-item a{
  width: 65px;
}
}
/*一起揪辦卡*/
.MGM-event-body{
  width: 100%;
  margin: 0 auto;
  padding: 80px 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
}
.MGM-event-body img{
  width: 40%;
  max-width: 400px;
  padding-right: 100px;
}
.MGM-event-text{
  width: 50%;
  max-width: 600px;
  font-size: 17px;
  line-height: 24px;
}
.MGM-event-time{
  font-size: 14px;
  font-weight: 400;
  color: #898989;
  padding-bottom: 10px;
}
.MGM-event-text h2{
  font-size: 26px;
  color: #00a19b;
  padding-bottom: 10px;
}
.MGM-event-content{
  padding-bottom: 30px;
}
.MGM-event-content .esun-green{
  color: #00a19b;
}
.MGM-event-content .orange{
  color: #ff5b00;
}
@media(max-width:700px){
.MGM-event-body{
  flex-wrap: wrap;
  padding-top: 0px;
  padding-bottom: 30px;
}
  .MGM-event-body img{
  width: 90%;
  padding-right: 0px;
  padding-bottom: 50px;
}
.MGM-event-text{
  width: 90%;
}
}
/* ==========================================================================
  分享彈出視窗樣式
   ========================================================================== */
/* 全局遮罩外框 */
.share-sheet-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999; /* 確保疊在網頁最上層，包括導覽列 */
  display: flex;
  justify-content: center;
  align-items: flex-end; /* 手機版預設靠底 */
  visibility: hidden; /* 預設完全隱藏（不影響點擊） */
  transition: visibility 0.3s ease;
}

/* 黑色半透明背景襯底 */
.share-sheet-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0); /* 預設透明 */
  transition: background-color 0.3s ease;
}

/* 彈出面板本體 (電腦版預設樣式：優雅的置中彈窗) */
.share-sheet-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 480px;
  background-color: #ffffff;
  border-radius: 16px 16px 16px 16px;
  padding: 30px;
  box-sizing: border-box;
  margin-bottom: auto; /* 電報版垂直置中 */
  margin-top: auto;   /* 電報版垂直置中 */
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  
  /* 動態核心：電腦版預設用「縮放與淡入」登場 */
  transform: scale(0.9);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
}

/* 當激活狀態時 (.active) 的轉場效果 */
.share-sheet-overlay.active {
  visibility: visible;
}
.share-sheet-overlay.active .share-sheet-bg {
  background-color: rgba(0, 0, 0, 0.5); /* 背景變半透明黑 */
}
.share-sheet-overlay.active .share-sheet-content {
  transform: scale(1);
  opacity: 1;
}

/* 裝飾線條與標題 */
.share-sheet-drag-handle {
  display: none; /* 電腦版不顯示 */
}

.share-sheet-title {
  font-size: 20px;
  color: #2F2F2F;
  font-weight: 500;
  text-align: center;
  margin: 0 0 25px 0;
}

/* 四個選項的 Grid 網格排版 */
.share-options-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.share-option-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  flex: 1;
  outline: none;
}

/* 圖示外圈圓圈 */
.share-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  transition: transform 0.2s ease;
}
.share-option-item:hover .share-icon-wrap {
  transform: scale(1.08); /* 滑鼠懸庭微微放大 */
}

.share-icon-wrap img {
  width: 100%;
  height: auto;
}

.share-text {
  font-size: 14px;
  color: #5f6368;
  font-weight: 500;
}

/* 取消按鈕 */
.share-sheet-close {
  width: 100%;
  padding: 12px 0;
  background-color: #f1f3f4;
  color: #5f6368;
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s;
}
.share-sheet-close:hover {
  background-color: #e8eaed;
}

/* ==========================================================================
   RWD 手機版斷點變形 (768px 以下)：100% 轉為從頁面底部滑出的面板
   ========================================================================== */
@media (max-width: 768px) {
  .share-sheet-overlay {
    align-items: flex-end; /* 強制靠螢幕最底端 */
  }
  
  .share-sheet-content {
    max-width: 100%;
    border-radius: 20px 20px 0 0; /* 只留上方圓角 */
    padding: 20px 20px 30px 20px;
    margin-bottom: 0; /* 緊貼底部 */
    margin-top: 0;
    
    /* 核心變形：手機版改為從螢幕下方 100% 的位置往上滑入 */
    transform: translateY(100%);
    opacity: 1; /* 手機版不需要淡入，靠滑動即可 */
    transition: transform 0.35s cubic-bezier(0.15, 1, 0.3, 1);
  }
  
  /* 激活狀態覆寫 */
  .share-sheet-overlay.active .share-sheet-content {
    transform: translateY(0); /* 回歸原位，即滑出畫面 */
  }
  
  /* 手機版上方的拉條裝飾 */
  .share-sheet-drag-handle {
    display: block;
    width: 40px;
    height: 4px;
    background-color: #e8eaed;
    border-radius: 2px;
    margin: 0 auto 15px auto;
  }
  
  .share-sheet-title {
    font-size: 18px;
    margin-bottom: 20px;
  }
  
  .share-icon-wrap {
    width: 54px;
    height: 54px;
  }
}



