/* 基本样式 */
* {
  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;
}

@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%;
  color: white;
  font-size: 14px;
  text-align: center;
  background-color: black;
  padding-bottom: 30px;
}

.footer-box-policy {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  background-color: black;
  padding: 20px 0;
}

.footer-box-policy-node{
  all: unset;
  /* 重置所有属性（包括颜色、下划线、hover状态等） */
  cursor: pointer;
  color: white;
}

.footer-box-policy-node-title {
  margin: 6px 10px;
}

.footer-license{
  border-radius: 5px;
  padding: 20px 300px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #1f1f1f;
  width: 1000px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.footer-license img{
  color: black;
  height: 50px;
}

.footer-box-logo {
  width: 100%;
  font-weight: bold;
  background-color: black;
  border-radius: 3px;
  color: gray;
  fill: #fff;
  padding: 24px 24px 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.etiPartnerLogo {
  height: 22px;
  width: auto;
  margin: 0 10px;
}

.footer-allrights {
  width: 100%;
  height: 34px;
  background-color: black;
  color: white;
  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;
}

.input-arrow {
  display: none;
}

@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;
  }

  .footer-license{
    border-radius: 5px;
    padding: 20px 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #1f1f1f;
    width: 1000px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-box-policy-node{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    border-bottom: 1px solid white;
    padding: 10px 0;
  }
  
  .footer-box-policy-node-title{
    text-align: left;
  }

  .footer-arrow {
    width: 8px;
    height: 8px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);   /* 45度旋转成箭头形 */
    margin: 6px 10px;
  }
}