/* ===== Base ===== */
.txt_sub{
  font-size: 20px;
  line-height: 20px;
  font-weight: bolder;
  padding-top: 10px;
  margin-top: 4%;
}

p{
  display: block;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0;
  margin-inline-end: 0;
  unicode-bidi: isolate;
}

.name02{
  font-size: 11pt;
  line-height: 20pt;
  font-weight: bolder;
  color: #333;
  margin: 0 0 1% 0;
  padding: 0;
}

ul.ulpoint{
  display: block;
  list-style-type: disc;
  list-style-position: outside;
  unicode-bidi: isolate;
  margin: 1em 0;
  padding-left: 60px;
}

.lipoint{
  display: list-item;
  unicode-bidi: isolate;
}


/* ===== Header ===== */
.header_logo{
  width: 225px;
}

.header_logo > img{
  width: 225px;
}

.header.is-top .header_logo{
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease;
}

.header .header_logo{
  transition: opacity .25s ease;
}


/* ===== Footer ===== */
.footer{
  border-top: 4px solid #ff6100;
}

.footer_info{
  padding: 24px 0 0;
  overflow: hidden;
}

.footer_info_head{
  margin-bottom: 12px;
}

.footer_info_address{
  margin: 0 0 6px;
}

.footer_info > img{
  display: block;
  width: 100%;
  height: auto;
  margin-top: 8px;
}

.footer_info_head img{
  width: 400px;
}


/* ===== 交通指引卡片區 ===== */
.traffic-guide{
  margin: 48px 0 36px;
  padding: 36px 28px 32px;
  background: #eef1ef;
  border-radius: 28px;
}

.traffic-guide_title{
  text-align: center;
  margin-bottom: 28px;
}

.traffic-guide_icon{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 8px;
  font-size: 28px;
  line-height: 1;
}

.traffic-guide_icon img{
  display: block;
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.traffic-guide_title h3{
  margin: 0;
  font-size: 36px;
  font-weight: 800;
  color: #1d2430;
}

.traffic-guide_line{
  width: 72px;
  height: 6px;
  border-radius: 99px;
  margin: 12px auto 0;
  background: linear-gradient(90deg, #FF6100 0 70%, #FF8033 70% 100%);
}

.traffic-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.traffic-card{
  background: #fff;
  border-radius: 20px;
  padding: 22px 18px 20px;
  min-height: 290px;
  box-shadow: 0 6px 16px rgba(0,0,0,.05);
  border: 1px solid rgba(0,0,0,.05);
}

.traffic-card_icon{
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.traffic-card h4{
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 800;
  color: #27313d;
}

.traffic-card_sub{
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 700;
  color: #5b6470;
}

.traffic-card ul{
  margin: 0;
  padding-left: 18px;
}

.traffic-card li{
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.7;
  color: #4a4f57;
}

.traffic-card-orange{
  border-top: 4px solid #FF8033;
}

.traffic-card-orange .traffic-card_icon{
  background: #fde8de;
  color: #ea7b45;
}

.traffic-card-blue{
  border-top: 4px solid #FF8033;
}

.traffic-card-blue .traffic-card_icon{
  background: #e7efff;
  color: #6f98f6;
}

.traffic-card-yellow{
  border-top: 4px solid #FF8033;
}

.traffic-card-yellow .traffic-card_icon{
  background: #fbf3da;
  color: #d29a10;
}

.traffic-card-green{
  border-top: 4px solid #FF8033;
}

.traffic-card-green .traffic-card_icon{
  background: #e8f3eb;
  color: #5a8566;
}


/* ===== 飯店資訊卡片 ===== */
.hotel-guide{
  margin: 18px 0 40px;
  padding: 20px;
  background: #eef1ef;
  border-radius: 28px;
}

.hotel-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hotel-card{
  border: 0;
  background: #fff;
  border-radius: 20px;
  padding: 28px 20px 24px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0,0,0,.05);
  transition: transform .2s ease, box-shadow .2s ease;
}

.hotel-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0,0,0,.08);
}

.hotel-card_tag{
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: #eef1f6;
  color: #7b86a0;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}

.hotel-card h4{
  margin: 0;
  font-size: 28px;
  line-height: 1.35;
  font-weight: 800;
  color: #1f2b38;
}


/* ===== 飯店彈窗 ===== */
.hotel-modal{
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.hotel-modal.is-open{
  display: block;
}

.hotel-modal_backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
}

.hotel-modal_dialog{
  position: relative;
  width: min(720px, calc(100% - 32px));
  margin: 60px auto;
  background: #fff;
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,.18);
}

.hotel-modal_close{
  position: absolute;
  top: 8px;
  right: 14px;
  border: 0;
  background: transparent;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.hotel-modal_name{
  margin: 0 0 8px;
  font-size: 30px;
  font-weight: 900;
  color: #1f2b38;
}

.hotel-modal_en{
  margin: 0 0 16px;
  font-size: 18px;
  color: #5c6570;
}

.hotel-modal_info{
  margin: 0 0 18px;
  font-size: 20px;
  line-height: 1.7;
  color: #333;
}

.hotel-modal_link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  background: #ff7019;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

body.hotel-modal-open{
  overflow: hidden;
}


/* ===== 旅行資訊共用區塊 ===== */
.travel-info-wrap{
  width: 100%;
  margin: 24px 0 40px;
}

.travel-info-box{
  border: 1px solid #222;
  background: #fff;
  margin-bottom: 18px;
}

.travel-info-title{
  background: #ff6a00;
  color: #fff;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  padding: 14px 20px;
  margin: 0;
  border-bottom: 1px solid #222;
}

.travel-info-body{
  padding: 20px 22px 22px;
  color: #222;
  font-size: 18px;
  line-height: 1.8;
}

.travel-info-body p{
  margin: 0 0 16px;
}

.travel-info-body p:last-child{
  margin-bottom: 0;
}

.travel-info-body a{
  color: #1d4f91;
  text-decoration: underline;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.travel-info-body strong{
  font-weight: 800;
}

.travel-info-subtitle{
  font-size: 22px;
  font-weight: 800;
  margin: 8px 0 10px;
  color: #222;
}

.travel-info-note{
  color: #555;
}


/* ===== 地圖 ===== */
.map-wrap{
  width: 100%;
  margin: 12px 0 24px;
}

.map-wrap iframe{
  display: block;
  width: 100%;
  height: 600px;
  border: 0;
}


/* ===== Tablet ===== */
@media (max-width: 1200px){
  .traffic-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .traffic-card{
    min-height: auto;
  }

  .hotel-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* ===== Mobile ===== */
@media (max-width: 768px){
  .header .header_logo{
    width: 220px !important;
    max-width: calc(100% - 90px);
  }

  .header .header_logo > img{
    width: 100% !important;
    height: auto !important;
  }

  .footer_info{
    padding-bottom: calc(90px + env(safe-area-inset-bottom));
  }

  .footer_info_head img{
    width: 300px;
  }

  .traffic-guide{
    margin: 30px 0 24px;
    padding: 22px 16px 18px;
    border-radius: 22px;
  }

  .traffic-guide_title{
    margin-bottom: 20px;
  }

  .traffic-guide_icon{
    font-size: 22px;
    margin-bottom: 6px;
  }

  .traffic-guide_icon img{
    width: 42px;
    height: 42px;
  }

  .traffic-guide_title h3{
    font-size: 26px;
  }

  .traffic-guide_line{
    width: 58px;
    height: 5px;
    margin-top: 10px;
  }

  .traffic-grid{
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .traffic-card{
    border-radius: 18px;
    padding: 18px 16px;
  }

  .traffic-card_icon{
    width: 38px;
    height: 38px;
    font-size: 18px;
    margin-bottom: 12px;
  }

  .traffic-card h4{
    font-size: 22px;
    margin-bottom: 8px;
  }

  .traffic-card_sub{
    font-size: 16px;
    margin-bottom: 10px;
  }

  .traffic-card li{
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 6px;
  }

  .hotel-guide{
    margin: 14px 0 28px;
    padding: 14px;
    border-radius: 20px;
  }

  .hotel-grid{
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hotel-card{
    padding: 20px 14px 18px;
    border-radius: 16px;
  }

  .hotel-card_tag{
    font-size: 12px;
    padding: 5px 12px;
    margin-bottom: 12px;
  }

  .hotel-card h4{
    font-size: 22px;
  }

  .hotel-modal_dialog{
    width: calc(100% - 20px);
    margin: 18px auto;
    padding: 22px 18px;
    border-radius: 18px;
  }

  .hotel-modal_name{
    font-size: 24px;
  }

  .hotel-modal_en{
    font-size: 15px;
    line-height: 1.5;
  }

  .hotel-modal_info{
    font-size: 16px;
    line-height: 1.6;
  }

  .hotel-modal_link{
    width: 100%;
    padding: 12px 16px;
  }

  .travel-info-wrap{
    margin: 18px 0 28px;
  }

  .travel-info-box{
    margin-bottom: 14px;
  }

  .travel-info-title{
    font-size: 22px;
    padding: 12px 14px;
  }

  .travel-info-body{
    padding: 14px 14px 16px;
    font-size: 15px;
    line-height: 1.7;
  }

  .travel-info-subtitle{
    font-size: 18px;
    margin: 6px 0 8px;
  }

  .map-wrap iframe{
    height: 320px;
  }
}


/* ===== Desktop ===== */
@media (min-width: 992px){
  .footer_info > img{
    margin-top: -90px;
  }
}