/* 基本样式 */
* {
  font-family: "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  touch-action: manipulation;
}

/* header */

.header{
  background-color: #095f70;
  width: 100%;
  /* height: 60px; */
  -webkit-user-select: none; /* Safari */
  user-select: none;
}

.header-box{
  width: 100%;
  max-width: 1000px;
  height: 60px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo{
  width: 244px;
  cursor: pointer;
}

/* 紧凑型头部导航栏样式 - 精简版 */
.header-nav {
  background: rgb(244, 244, 244);
  padding: 0 0;
}

.header-nav-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.header-nav-compact {
  display: flex;
  justify-content: center;
}

.header-nav-compact-item {
    display: flex;
    align-items: center;
    padding: 10px 35px;
    background: rgba(255, 255, 255, 0.2);
    /* border-radius: 6px; */
    text-decoration: none;
    color: #222;
    transition: all 0.2s ease;
    font-size: 16px;
    font-weight: 500;
    border-right: 1px solid #e4e4e4;
}
.header-nav-compact-item:first-child{
    border-left: 1px solid #e4e4e4;
}
.header-nav-compact-item:hover {
  background: #1ba1ff;
   color: #fff;
}

.header-nav-compact-item.active {
  background:#1ba1ff;
  color: #fff;

}

.header-nav-compact-icon {
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 10px;
}

.hotel-icon {
  background-image: url('/element/img/top/hotel.png');
}

.header-nav-compact-item.active  .hotel-icon {
  background-image: url('/element/img/top/hotel-active.png');
}

.flight-icon {
  background-image: url('/element/img/top/plane-alt.png');
}

.header-nav-compact-item.active .flight-icon {
  background-image: url('/element/img/top/plane-alt-active.png');
}

@media screen and (max-width: 767px){
  .header-nav-container {
      padding: 0 0px;
  }
  .header-nav-compact-item {
      padding: 10px 25px;
      width: 50%;
      text-align: center;
      justify-content: center;
  }
}

@media screen and (max-width: 767px){
  .header-box{
    padding: 0 20px;
  }

  .header-logo{
    width: 234px;
  }
}

.header-btn{
  width: 105px;
  height: 30px;
  line-height: 2.5em;
  background-color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  display: block;
  text-align: center;
  font-size: 12px;
  color: #ffffff;
  border-radius: 15px;
}

/* footer */
.footer{
  width: 100%;
  -webkit-user-select: none; /* Safari */
  user-select: none;
}

.footer-box{
  width: 100%;
  background-color: #222;
  color: white;
  font-size: 14px;
  text-align: center;
  padding: 12px 0;
}

.footer-box-policy{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.footer-box-policy a{
  all: unset;         /* 重置所有属性（包括颜色、下划线、hover状态等） */
  cursor: pointer; 
  margin: 6px 10px;
  color: white;
}

.footer-box-logo{
  width: 100%;
  font-weight: bold;
}

.footer-allrights{
  width: 100%;
  height: 34px;
  background-color: #fff;
  color: #a6a6a6;
  font-size: 12px;
  text-align: center;
  line-height: 34px;;
}

/* 自定义警告弹窗 */
  /* 遮罩层 */
#customAlertOverlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* 弹窗主体 */
#customAlertBox {
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  text-align: center;
  width: 400px;
  max-width: 90%;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

#customAlertBox-title{
  background-color: #095f70;
  height: 50px;
  width: 100%;
  text-align: center;
}

#customAlertBox-title-logo{
  height: 70%;
  margin-top: 8px;
  margin-left: 30px;
}

#customAlertMessage{
  padding: 20px;
}

#customAlertBox button {
  height: 44px;
  padding: 0 16px;
  border: none;
  border-radius: 3px;
  background: #ffc11c;
  font-size: 16px;
  font-weight: 600;
  line-height: 140%;
  color: #222;
  cursor: pointer;
  white-space: nowrap;
  line-height: 44px;
  width: 250px;
  text-align: center;
  transition: all 0.1s;
  -webkit-user-select: none;
  user-select: none;
  margin-bottom: 20px;
}

#customAlertBox button:hover {
  background-color: #d6a10f;
}

@media screen and (max-width: 767px) {
  .footer-box-policy{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 12px;
  }
}


