:root{
  --white:#ffffff;
  --mist:#f5f5f5;
  --ink:#1f1f1f;
  --ink-2:#4d4d4d;
  --ink-3:#7a7a7a;
  --line:rgba(31,31,31,.09);
  --r:28px;
  --serif:"Noto Serif JP","Songti SC","Hiragino Mincho ProN",serif;
  --sans:"Noto Sans JP","Hiragino Sans","PingFang SC","Microsoft YaHei",sans-serif;
  --sh-1:0 1px 2px rgba(31,31,31,.05),0 3px 10px rgba(31,31,31,.05);
  --sh-2:0 4px 10px rgba(31,31,31,.06),0 14px 30px rgba(31,31,31,.07);
  --sh-3:0 10px 24px rgba(31,31,31,.09),0 28px 60px rgba(31,31,31,.10);
  --sh-4:0 18px 40px rgba(31,31,31,.12),0 46px 96px rgba(31,31,31,.14);
}

*{box-sizing:border-box}

html{
  scroll-behavior:smooth;
  -webkit-text-size-adjust:100%;
}

body{
  margin:0;
  padding-bottom:118px;
  background:
    radial-gradient(1200px 620px at 84% -12%, #ffffff 0%, rgba(255,255,255,0) 62%),
    linear-gradient(180deg,#f7f7f7 0%, var(--mist) 46%, #f1f1f1 100%);
  color:var(--ink);
  font-family:var(--sans);
  font-size:17px;
  font-weight:400;
  line-height:1.75;
  letter-spacing:.012em;
  overflow-x:hidden;
}

a{color:var(--ink);text-decoration:none}
img{max-width:100%;display:block}
ul{list-style:none;margin:0;padding:0}
h1,h2,h3{font-family:var(--serif);font-weight:600;line-height:1.22;letter-spacing:.01em;margin:0}
p{margin:0}

:focus-visible{
  outline:2px solid var(--ink);
  outline-offset:3px;
  border-radius:6px;
}

.shell{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:252px minmax(0,1fr);
  gap:clamp(20px,2.6vw,40px);
  align-items:start;
  max-width:1280px;
  margin:0 auto;
  padding:26px clamp(16px,2.4vw,30px) 40px;
}

.stage{position:relative;z-index:2;min-width:0}

/* 左侧目录层 */
.side{
  position:sticky;
  top:24px;
  z-index:1;
  background:var(--white);
  border-radius:var(--r);
  padding:22px 18px 18px;
  box-shadow:var(--sh-2);
}

.side-title{
  font-size:21px;
  margin-bottom:4px;
}

.subtitle{
  font-size:16px;
  line-height:1.6;
  color:var(--ink-3);
  letter-spacing:.08em;
  margin-bottom:16px;
}

.side-nav ul{display:grid;gap:2px}

.side-nav a{
  display:flex;
  align-items:center;
  min-height:44px;
  padding:9px 12px;
  border-radius:14px;
  font-size:16px;
  color:var(--ink-2);
  transition:background .22s ease,color .22s ease,box-shadow .22s ease,transform .22s ease;
}

.side-nav a:hover,
.side-nav a[aria-current]{
  color:var(--ink);
  background:var(--mist);
  box-shadow:var(--sh-1);
  transform:translate3d(3px,0,0);
}

/* 首屏 */
.hero{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);
  gap:clamp(22px,3.6vw,58px);
  align-items:center;
  min-height:calc(100vh - 58px);
  padding:clamp(18px,3vw,44px) 0 clamp(26px,4vw,60px);
}

.hero-copy{position:relative;z-index:2;text-align:left}

.hero-copy h1{
  font-size:clamp(35px,4.5vw,62px);
  letter-spacing:.005em;
  margin-bottom:.45em;
  text-wrap:balance;
}

.hero-copy .lead{
  font-size:clamp(17px,1.5vw,19px);
  line-height:1.85;
  color:var(--ink-2);
  max-width:33em;
  margin-bottom:clamp(20px,2.6vw,34px);
}

.cta-row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:12px 26px;
  border-radius:999px;
  background:var(--ink);
  color:var(--white);
  font-size:16px;
  font-weight:500;
  box-shadow:var(--sh-2);
  transition:transform .24s ease,box-shadow .24s ease,background .24s ease;
}

.cta:hover{transform:translate3d(0,-3px,0);box-shadow:var(--sh-3)}

.cta.ghost{
  background:var(--white);
  color:var(--ink);
  box-shadow:var(--sh-1);
}

.cta.ghost:hover{background:var(--white);box-shadow:var(--sh-2)}

.hero-figure{
  position:relative;
  z-index:3;
  margin:0;
  min-height:clamp(260px,54vh,520px);
  border-radius:var(--r);
  background:linear-gradient(150deg,#ededed 0%,#f8f8f8 55%,#e8e8e8 100%);
  box-shadow:var(--sh-4);
  overflow:visible;
  will-change:transform;
}

.hero-figure::before{
  content:"";
  position:absolute;
  z-index:-1;
  inset:20px -16px -20px 16px;
  border-radius:var(--r);
  background:var(--white);
  box-shadow:var(--sh-2);
}

.hero-figure .hero-img{
  width:100%;
  height:100%;
  min-height:inherit;
  object-fit:cover;
  border-radius:var(--r);
}

/* 正文层 */
.article{
  position:relative;
  z-index:1;
  max-width:840px;
  margin:0 auto;
  padding-top:8px;
}

.article > div{
  position:relative;
  background:var(--white);
  border-radius:var(--r);
  padding:clamp(22px,3.2vw,44px);
  margin-bottom:clamp(20px,2.6vw,34px);
  box-shadow:var(--sh-1);
  scroll-margin-top:34px;
  transition:box-shadow .3s ease,transform .3s ease;
}

.article > div:nth-child(2n){
  margin-left:clamp(0px,2.4vw,30px);
  box-shadow:var(--sh-2);
}

.article > div:nth-child(3n){
  margin-right:clamp(0px,1.8vw,22px);
}

.article > div:hover{
  box-shadow:var(--sh-3);
  transform:translate3d(0,-2px,0);
}

.article h2{
  font-size:clamp(24px,2.6vw,34px);
  margin-bottom:.5em;
}

.article h2 + p{
  margin-top:0;
  color:var(--ink-2);
  font-size:16px;
}

.article .subtitle,
.article .subhead,
.article .desc,
.article .lead{
  font-size:16px;
  line-height:1.8;
  color:var(--ink-3);
  letter-spacing:.03em;
  margin-bottom:1.1em;
}

.article p{
  color:var(--ink-2);
  margin-bottom:1.05em;
}

.article p:last-child{margin-bottom:0}

.article h3{
  font-size:20px;
  margin:1.5em 0 .55em;
}

.article a{
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
  color:var(--ink);
}

.article a:hover{text-decoration-thickness:2px}

.article ul,
.article ol{
  margin:0 0 1.1em;
  padding-left:1.35em;
  color:var(--ink-2);
}

.article ul{list-style:disc}
.article ol{list-style:decimal}
.article li{margin-bottom:.4em}

.article strong{color:var(--ink);font-weight:700}

.article blockquote{
  margin:0 0 1.2em;
  padding:16px 20px;
  background:var(--mist);
  border-radius:18px;
  box-shadow:inset 0 1px 0 var(--line);
  color:var(--ink-2);
}

.article img{
  border-radius:20px;
  box-shadow:var(--sh-1);
  margin-bottom:1.1em;
}

.article table{
  width:100%;
  border-collapse:collapse;
  font-size:16px;
  margin-bottom:1.1em;
}

.article th,
.article td{
  padding:10px 12px;
  border-bottom:1px solid var(--line);
  text-align:left;
  vertical-align:top;
}

/* 页脚 */
.foot{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:1.5fr 1fr .75fr 1fr;
  gap:clamp(18px,2.4vw,34px);
  margin-top:clamp(26px,4vw,56px);
  padding:clamp(24px,3.4vw,44px);
  background:var(--white);
  border-radius:var(--r);
  box-shadow:var(--sh-3);
}

.foot div{min-width:0}

.foot .giant{
  font-family:var(--serif);
  font-weight:700;
  font-size:clamp(30px,4.6vw,60px);
  line-height:1.08;
  letter-spacing:-.01em;
  word-break:break-word;
}

.cap{
  font-size:16px;
  letter-spacing:.14em;
  color:var(--ink-3);
  margin-bottom:12px;
}

.foot-nav{display:grid;gap:2px}

.foot-nav a,
.foot-top{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  padding:8px 0;
  font-size:16px;
  color:var(--ink-2);
  transition:color .2s ease,transform .2s ease;
}

.foot-nav a:hover,
.foot-top:hover{
  color:var(--ink);
  transform:translate3d(3px,0,0);
}

.foot-legal .copy{
  font-size:16px;
  color:var(--ink-3);
}

/* 底部固定条 */
.dock{
  position:fixed;
  z-index:4;
  left:50%;
  bottom:18px;
  transform:translateX(-50%);
  display:flex;
  align-items:center;
  gap:8px;
  width:min(1140px,calc(100% - 40px));
  padding:10px 14px;
  background:rgba(255,255,255,.82);
  border-radius:999px;
  box-shadow:var(--sh-3);
  -webkit-backdrop-filter:blur(14px) saturate(1.2);
  backdrop-filter:blur(14px) saturate(1.2);
}

.dock-mark{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  border-radius:50%;
  background:var(--ink);
  color:var(--white);
  font-family:var(--serif);
  font-size:18px;
  box-shadow:var(--sh-1);
  transition:transform .24s ease,box-shadow .24s ease;
}

.dock-mark:hover{transform:translate3d(0,-2px,0);box-shadow:var(--sh-2)}

.dock-nav{
  min-width:0;
  flex:1 1 auto;
  overflow-x:auto;
  scrollbar-width:none;
}

.dock-nav::-webkit-scrollbar{display:none}
.dock-nav ul{display:flex;gap:2px}

.dock-nav a{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:10px 13px;
  border-radius:999px;
  font-size:16px;
  color:var(--ink-2);
  white-space:nowrap;
  transition:background .22s ease,color .22s ease,box-shadow .22s ease;
}

.dock-nav a:hover,
.dock-nav a[aria-current]{
  color:var(--ink);
  background:var(--mist);
  box-shadow:var(--sh-1);
}

/* 动效 */
@keyframes rise{
  from{opacity:0;transform:translate3d(0,20px,0)}
  to{opacity:1;transform:translate3d(0,0,0)}
}

@media (prefers-reduced-motion:no-preference){
  .hero-copy h1,
  .hero-copy .lead,
  .hero-copy .cta-row{animation:rise .72s cubic-bezier(.2,.7,.2,1) both}
  .hero-copy .lead{animation-delay:.08s}
  .hero-copy .cta-row{animation-delay:.16s}
  .article > div{
    animation:rise .6s cubic-bezier(.2,.7,.2,1) both;
    animation-delay:calc(var(--i,0) * 70ms);
  }
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .hero-figure{transform:none !important}
}

/* 断点 */
@media (max-width:1040px){
  .shell{grid-template-columns:220px minmax(0,1fr)}
  .foot{grid-template-columns:1.3fr 1fr 1fr}
  .foot-legal{grid-column:1 / -1}
}

@media (max-width:860px){
  body{font-size:16.5px;padding-bottom:104px}
  .shell{
    grid-template-columns:minmax(0,1fr);
    padding:16px 14px 24px;
    gap:18px;
  }
  .stage{order:1}
  .side{order:2;position:static}
  .side-nav ul{grid-template-columns:1fr 1fr;display:grid}
  .hero{
    grid-template-columns:minmax(0,1fr);
    min-height:0;
    padding:16px 0 30px;
    gap:22px;
  }
  .hero-figure{
    order:2;
    min-height:240px;
    max-height:56vh;
  }
  .hero-copy h1{font-size:clamp(31px,8.4vw,44px)}
  .hero-copy .lead{max-width:none}
  .article{max-width:none}
  .article > div:nth-child(2n){margin-left:0}
  .article > div:nth-child(3n){margin-right:0}
  .foot{grid-template-columns:1fr 1fr;padding:24px 20px}
  .foot-brand{grid-column:1 / -1}
  .foot-legal{grid-column:1 / -1}
  .dock{
    left:0;
    right:0;
    bottom:0;
    transform:none;
    width:auto;
    border-radius:24px 24px 0 0;
    padding:8px 10px calc(8px + env(safe-area-inset-bottom));
    box-shadow:var(--sh-4);
  }
}

@media (max-width:420px){
  .cta{flex:1 1 100%}
  .side-nav ul{grid-template-columns:1fr}
  .foot{grid-template-columns:1fr}
}

button[aria-expanded]{min-width:44px;min-height:44px}
