@import url('https://fonts.googleapis.com/css2?family=Afacad:wght@400&display=swap');

:root{
  --cream:#f2f0e3;
  --green:#3c605e;
  --gray:#616161;
  --pale:#dfe5d8;
  --accent:#987235;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--cream);
  font-family:"Noto Sans TC","Microsoft JhengHei",Arial,sans-serif;
  color:#333;
  line-height:1.75;
}
a{text-decoration:none;color:inherit}
img{display:block;max-width:100%}

.page{
  width:100%;
  margin:0;
  background:var(--cream);
  overflow:hidden;
}

/* ===== Disclaimer desktop ===== */
.disclaimer-page{
  background:var(--cream);
}

.disclaimer-hero{
  height:500px;
  background:url('https://yi-tian.tw/assets/disclaimer/橫幅.png') center center/cover no-repeat;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#F2F0E3;
  overflow:hidden;
}

.disclaimer-hero:before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.2);
  z-index:0;
}

.disclaimer-hero-content{
  position:relative;
  z-index:1;
  width:100%;
  max-width:980px;
  margin:0 auto;
  padding:0 30px;
  text-align:center;
  color:#F2F0E3;
  text-shadow:0 3px 10px rgba(0,0,0,.35);
}

.disclaimer-main-title{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:28px;
  margin:0 0 46px;
}

.disclaimer-main-title h1{
  margin:0;
  font-size:42px;
  letter-spacing:.35em;
  line-height:1;
  font-weight:500;
  color:#F2F0E3;
}

.disclaimer-main-title span{
  display:block;
  margin:0;
  font-family:Afacad,Arial,sans-serif;
  font-size:36px;
  letter-spacing:.15em;
  line-height:1;
  font-weight:400;
  color:#F2F0E3;
}

.disclaimer-breadcrumb{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:26px;
  margin:0 0 58px;
  color:#F2F0E3;
  font-size:18px;
  letter-spacing:.16em;
  font-weight:500;
}

.disclaimer-breadcrumb a,
.disclaimer-breadcrumb span{
  color:#F2F0E3;
}

.disclaimer-breadcrumb i{
  display:block;
  width:160px;
  height:1px;
  background:#F2F0E3;
  position:relative;
}

.disclaimer-breadcrumb i:after{
  content:"";
  position:absolute;
  right:0;
  top:-3px;
  width:7px;
  height:7px;
  border-top:1px solid #F2F0E3;
  border-right:1px solid #F2F0E3;
  transform:rotate(45deg);
}

.disclaimer-hero-copy{
  color:#F2F0E3;
  font-size:16px;
  line-height:2;
  letter-spacing:.08em;
  font-weight:500;
}

.disclaimer-hero-copy p{
  margin:0 0 4px;
}

.disclaimer-content{
  max-width:1280px;
  margin:0 auto;
  padding:88px 80px 112px;
}

.disclaimer-section{
  margin:0 0 68px;
}

.disclaimer-section-title{
  display:flex;
  align-items:center;
  color:#3c605e;
  font-size:24px;
  letter-spacing:.08em;
  font-weight:900;
  line-height:1.3;
  margin:0 0 24px;
}

.disclaimer-section-title .num{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:50px;
  min-width:50px;
  height:50px;
  margin-right:24px;
  color:#3c605e;
  font-size:24px;
  font-weight:900;
  letter-spacing:0;
}

.disclaimer-section-title .num:before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  width:50px;
  height:50px;
  border-radius:50%;
  background:#cdd5ca;
  z-index:0;
}

.disclaimer-section-title .num span{
  position:relative;
  z-index:1;
  transform:translateY(10px);
  padding-left:36px;
}

.disclaimer-body{
  color:#616161;
  font-size:16px;
  line-height:2.05;
  letter-spacing:.06em;
  font-weight:400;
  text-align:justify;
}

.disclaimer-body p{
  margin:0 0 8px;
}

.disclaimer-body ul{
  margin:18px 0 0 22px;
  padding:0;
}

.disclaimer-body li{
  margin:2px 0;
  padding-left:2px;
}

.pc-title-dis{
  padding-top:20px;
}

/* ===== tablet ===== */
@media(max-width:900px){
  .disclaimer-hero{
    height:380px;
  }

  .disclaimer-main-title{
    gap:14px;
    flex-wrap:wrap;
  }

  .disclaimer-main-title h1{
    font-size:32px;
    letter-spacing:.24em;
  }

  .disclaimer-main-title span{
    font-size:26px;
  }

  .disclaimer-content{
    padding:68px 30px 88px;
  }
}

/* ===== Mobile disclaimer content only ===== */
.mobile-info-page{
  display:none;
}

@media(max-width:520px){
  .pc-title-dis{
    padding-top:0;
  }

  html,
  body{
    background:#f2f0e3!important;
    overflow-x:hidden!important;
  }

  .page{
    width:100%;
    min-width:0;
    background:#f2f0e3;
    overflow:hidden;
  }

  .mobile-info-page{
    display:block;
    width:100%;
    max-width:none;
    margin:0;
    background:#f2f0e3;
    color:#2f6362;
    min-height:100vh;
    overflow:hidden;
    font-family:"Noto Sans TC","Microsoft JhengHei",Arial,sans-serif;
    position:relative;
  }

  .mi-disclaimer-hero{
    min-height:430px;
    background:url('https://yi-tian.tw/assets/disclaimer/橫幅.png') center center/cover no-repeat;
    position:relative;
    display:flex;
    align-items:flex-start;
    justify-content:center;
    color:#f2f0e3;
    overflow:hidden;
    padding:78px 27px 52px;
  }

  .mi-disclaimer-hero:before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.05);
    z-index:0;
  }

  .mi-disclaimer-hero-content{
    position:relative;
    z-index:1;
    width:100%;
    text-align:center;
    color:#f2f0e3;
    text-shadow:0 3px 10px rgba(0,0,0,.35);
  }

  .mi-disclaimer-title{
    align-items:center;
    justify-content:center;
    gap:12px;
    margin:0 0 20px;
    line-height:50px;
  }

  .mi-disclaimer-title h1{
    margin:0;
    font-size:30px;
    letter-spacing:.16em;
    line-height:1;
    font-weight:900;
  }

  .mi-disclaimer-title span{
    font-family:Afacad,Arial,sans-serif;
    font-size:18px;
    letter-spacing:.13em;
    line-height:1;
  }

  .mi-hero-copy{
    color:#f2f0e3;
    font-size:14px;
    line-height:2.05;
    letter-spacing:.04em;
    font-weight:900;
  }

  .mi-hero-copy p{
    margin:0 0 8px;
  }

  .mi-disclaimer-content{
    padding:56px 27px 70px;
    background:#f2f0e3;
  }

  .mi-disclaimer-section{
    margin:0 0 54px;
  }

  .mi-disclaimer-section h2{
    margin:0 0 22px;
    color:#3c605e;
    font-size:18px;
    line-height:1.45;
    letter-spacing:.06em;
    font-weight:900;
  }

  .mi-disclaimer-section .mi-num{
    margin-right:6px;
  }

  .mi-disclaimer-section p,
  .mi-disclaimer-section li{
    color:#555;
    font-size:14px;
    line-height:2.05;
    letter-spacing:.04em;
    font-weight:500;
    text-align:justify;
  }

  .mi-disclaimer-section p{
    margin:0 0 10px;
  }

  .mi-disclaimer-section ul{
    margin:16px 0 0 24px;
    padding:0;
  }

  .mi-disclaimer-section li{
    margin:0;
  }
}
