@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Noto+Serif+JP:wght@400;500;600;700&display=swap');

:root{
  --lime:#87ff71;
  --sun:#ffce5c;
  --ink:#192617;
  --night:#101b0c;
  --cream:#f4ffe9;
  --rail:236px;
  --strip:46px;
  --serif:"Noto Serif JP","Hiragino Mincho ProN","Yu Mincho",serif;
  --sans:"Noto Sans JP","Hiragino Kaku Gothic ProN",system-ui,-apple-system,sans-serif;
}

*,*::before,*::after{box-sizing:border-box}

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

body{
  margin:0;
  font-family:var(--sans);
  font-size:17px;
  line-height:1.8;
  color:var(--cream);
  background-color:var(--ink);
  background-image:radial-gradient(rgba(135,255,113,.13) 1.2px,transparent 1.4px);
  background-size:24px 24px;
  padding-left:var(--rail);
  padding-top:var(--strip);
  overflow-x:clip;
}

a{color:inherit;text-decoration:none}
:focus-visible{outline:3px solid var(--sun);outline-offset:3px}

@keyframes rise{
  from{opacity:0;transform:translateY(12px)}
  to{opacity:1;transform:translateY(0)}
}

/* 顶部细条 */
.strip{
  position:fixed;top:0;left:var(--rail);right:0;height:var(--strip);
  display:flex;align-items:center;gap:14px;
  padding:0 20px;
  background:var(--sun);color:var(--ink);
  font-size:16px;font-weight:700;letter-spacing:.16em;
  border-bottom:2px dashed rgba(25,38,23,.4);
  z-index:40;
}
.spark{width:13px;height:13px;background:var(--ink);clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);flex:none}
.spark.alt{border-radius:50%;clip-path:none}
.strip-t{white-space:nowrap}

/* 左侧竖排栏 */
.rail{
  position:fixed;top:0;left:0;bottom:0;width:var(--rail);
  padding:22px 18px;
  background:var(--night);
  border-right:2px dotted rgba(135,255,113,.35);
  display:flex;flex-direction:column;gap:18px;
  z-index:50;overflow-y:auto;
}
.brand{
  font-family:var(--serif);font-size:30px;font-weight:700;line-height:1.2;
  color:var(--lime);letter-spacing:.02em;
  min-height:44px;display:flex;align-items:center;
  transform:rotate(-1.6deg);
  transition:transform .25s ease,color .25s ease;
}
.brand:hover{transform:rotate(0) translateX(2px);color:var(--sun)}
.brand-bar{
  display:block;height:10px;width:76px;background:var(--sun);
  transform:rotate(-2deg);
  clip-path:polygon(0 0,100% 0,92% 100%,0 100%);
}

.navlist{counter-reset:navc;list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.navlist li{counter-increment:navc;position:relative;animation:rise .5s ease both}
.navlist li::before{
  content:counter(navc,decimal-leading-zero);
  position:absolute;left:9px;top:50%;transform:translateY(-50%);
  font-size:11px;letter-spacing:.05em;color:var(--sun);opacity:.8;
  pointer-events:none;
}
.navlist a{
  display:flex;align-items:center;
  min-height:44px;padding:6px 10px 6px 30px;
  font-size:16px;line-height:1.4;border-radius:16px;
  transform-origin:left center;
  transition:background .2s ease,color .2s ease,transform .2s ease;
}
.navlist a:hover{background:var(--lime);color:var(--ink);transform:rotate(-1.4deg) translateX(3px)}
.navlist li:nth-child(1){animation-delay:.05s}
.navlist li:nth-child(2){animation-delay:.1s}
.navlist li:nth-child(3){animation-delay:.15s}
.navlist li:nth-child(4){animation-delay:.2s}
.navlist li:nth-child(5){animation-delay:.25s}
.navlist li:nth-child(6){animation-delay:.3s}
.navlist li:nth-child(7){animation-delay:.35s}

.wrap{max-width:1060px;margin:0 auto;padding:0 34px}

/* 首屏 */
.hero{
  position:relative;
  min-height:calc(100vh - var(--strip));
  display:flex;align-items:center;justify-content:flex-end;
  padding:56px 0;
  overflow:hidden;
  border-bottom:3px dotted rgba(255,206,92,.45);
}
.hero-ghost{
  position:absolute;right:-2%;top:50%;
  transform:translateY(-50%) rotate(-6deg);
  font-family:var(--serif);font-size:clamp(140px,24vw,300px);font-weight:700;
  line-height:1;letter-spacing:-.04em;white-space:nowrap;
  color:transparent;-webkit-text-stroke:2px rgba(135,255,113,.32);
  mix-blend-mode:screen;pointer-events:none;
}
.shape{position:absolute;pointer-events:none}
.shape.tri{
  left:3%;bottom:9%;width:210px;height:190px;
  background:var(--sun);opacity:.9;transform:rotate(9deg);
  clip-path:polygon(50% 0,100% 100%,0 100%);
}
.shape.dot{
  left:15%;top:12%;width:150px;height:150px;border-radius:50%;
  background:repeating-conic-gradient(var(--lime) 0 12deg,transparent 12deg 24deg);
  opacity:.35;mix-blend-mode:screen;
}
.hero-in{position:relative;z-index:2;text-align:right;max-width:640px;margin-left:auto}
.hero-kicker{margin:0 0 12px;font-size:16px;letter-spacing:.3em;color:var(--sun)}
.hero h1{
  margin:0 0 20px;
  font-family:var(--serif);font-weight:700;
  font-size:clamp(2.4rem,6.4vw,4.6rem);line-height:1.14;letter-spacing:.01em;
  color:var(--lime);
  text-shadow:4px 4px 0 rgba(16,27,12,.78);
}
.hero-desc{margin:0 0 30px;font-size:17px;line-height:1.9;color:rgba(244,255,233,.85)}
.hero-jump{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:54px;padding:0 34px;border-radius:999px;
  background:var(--sun);color:var(--ink);font-weight:700;font-size:17px;
  transform:rotate(-2deg);
  transition:transform .22s ease,background .22s ease;
}
.hero-jump:hover{transform:rotate(0) scale(1.04);background:var(--lime)}

/* 正文 */
.stage{padding:52px 0 0}
.cols{display:grid;grid-template-columns:220px minmax(0,1fr);gap:28px;align-items:start}

.side{
  position:sticky;top:calc(var(--strip) + 18px);
  background:var(--sun);color:var(--ink);
  border-radius:28px;padding:20px 16px;
  transform:rotate(-1.6deg);
  box-shadow:8px 8px 0 rgba(135,255,113,.22);
  animation:rise .6s .2s ease both;
}
.side h2{margin:0;font-family:var(--serif);font-size:20px;letter-spacing:.14em}
.quick{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.quick a{
  display:flex;align-items:center;min-height:40px;padding:2px 6px;
  font-size:16px;line-height:1.5;
  border-bottom:1px dotted rgba(25,38,23,.35);
  transition:padding-left .2s ease,color .2s ease;
}
.quick li:last-child a{border-bottom:0}
.quick a:hover{padding-left:12px;color:#20530f}

hr{
  border:0;height:8px;margin:10px 0 18px;opacity:.55;
  background:repeating-linear-gradient(90deg,currentColor 0 8px,transparent 8px 16px);
}
.prose hr{opacity:1;background:repeating-linear-gradient(90deg,#4b8f3c 0 8px,transparent 8px 16px)}
.side h2+hr,.cta h2+hr,.prose h2+hr{margin-top:6px}

.prose{
  background:var(--cream);color:var(--ink);
  border-radius:32px;padding:34px 32px;min-width:0;
}
.prose article{
  scroll-margin-top:calc(var(--strip) + 20px);
  padding-bottom:26px;margin-bottom:26px;
  border-bottom:2px dashed rgba(25,38,23,.2);
}
.prose article:last-child{border-bottom:0;padding-bottom:0;margin-bottom:0}
.prose h2{
  font-family:var(--serif);font-size:clamp(1.4rem,3vw,1.9rem);
  line-height:1.35;margin:0 0 4px;color:#122a0d;
}
.prose h3{font-family:var(--serif);font-size:1.2rem;line-height:1.45;margin:26px 0 2px;color:#1c3f13}
.prose p{margin:0 0 16px}
.prose ul,.prose ol{margin:0 0 16px;padding-left:1.3em}
.prose li{margin-bottom:6px}
.prose a{
  color:#1f6b1c;text-decoration:underline;
  text-decoration-style:wavy;text-decoration-thickness:2px;text-underline-offset:3px;
}
.prose a:hover{background:var(--lime);text-decoration:none}
.prose img{display:block;max-width:100%;height:auto;margin:18px 0;border-radius:24px}
.prose strong{background:var(--sun);padding:0 .18em;border-radius:6px}
.prose blockquote{
  margin:0 0 16px;padding:14px 18px;
  background:var(--sun);border-radius:22px;transform:rotate(-.6deg);
}
.prose blockquote p:last-child{margin:0}

/* 页脚 */
.foot{
  margin-top:70px;padding:46px 34px 26px;
  background:var(--night);
  border-top:3px dotted rgba(135,255,113,.4);
}
.foot > *{max-width:1060px;margin-left:auto;margin-right:auto}

.cta{
  background:var(--lime);color:var(--ink);
  border-radius:36px;padding:34px 32px;
  transform:rotate(-1deg);
  box-shadow:12px 12px 0 rgba(255,206,92,.35);
}
.cta h2{margin:0;font-family:var(--serif);font-size:clamp(1.6rem,4vw,2.4rem);line-height:1.2}
.cta p{margin:0 0 20px;max-width:60ch;color:#1d3315}
.cta-btn{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:50px;padding:0 30px;border-radius:999px;
  background:var(--ink);color:var(--lime);font-weight:700;
  transform:rotate(1.5deg);
  transition:transform .2s ease,background .2s ease,color .2s ease;
}
.cta-btn:hover{transform:rotate(-1deg) scale(1.05);background:var(--sun);color:var(--ink)}

.fcols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;margin-top:40px}
.fcols dl{margin:0}
.fcols dt{font-family:var(--serif);font-size:18px;letter-spacing:.06em;color:var(--lime)}
.fcols dd{margin:8px 0 0;font-size:16px;line-height:1.75;color:rgba(244,255,233,.75)}
.fcols ul{list-style:none;margin:0;padding:0}
.fcols li a{
  display:flex;align-items:center;min-height:40px;padding:2px 0;
  font-size:16px;color:rgba(244,255,233,.85);
  transform-origin:left;
  transition:color .2s ease,transform .2s ease;
}
.fcols li a:hover{color:var(--sun);transform:translateX(4px)}

.fbar{
  display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;
  gap:12px;margin-top:36px;padding-top:18px;
  border-top:2px dotted rgba(135,255,113,.3);
}
.copy{margin:0;font-size:16px;color:rgba(244,255,233,.7)}
.fbar-links{margin:0;display:flex;gap:18px}
.fbar-links a{display:inline-flex;align-items:center;min-height:40px;font-size:16px;color:rgba(244,255,233,.8)}
.fbar-links a:hover{color:var(--lime)}

/* 移动端 */
@media (max-width:900px){
  body{padding-left:0;padding-top:0}
  .strip{position:sticky;left:auto;right:auto;height:auto;padding:10px 16px;gap:10px}
  .rail{
    position:static;width:auto;padding:16px 14px;gap:12px;
    border-right:0;border-bottom:2px dotted rgba(135,255,113,.35);
  }
  .brand{font-size:26px}
  .brand-bar{width:60px;height:8px}
  .navlist{flex-direction:row;flex-wrap:wrap;gap:6px}
  .navlist li::before{display:none}
  .navlist a{
    min-height:44px;padding:8px 14px;font-size:16px;
    border:2px dotted rgba(135,255,113,.4);border-radius:16px;
  }
  .navlist a:hover{transform:rotate(-1.4deg)}

  .wrap{padding:0 16px}
  .hero{min-height:auto;padding:64px 0 52px;border-bottom-width:2px}
  .hero-ghost{right:-6%;font-size:clamp(110px,34vw,180px)}
  .hero-in{max-width:100%}
  .hero h1{font-size:clamp(2rem,8.6vw,2.9rem)}
  .shape.tri{width:130px;height:120px;left:-2%;bottom:2%}
  .shape.dot{width:96px;height:96px;left:auto;right:8%;top:6%}

  .stage{padding:34px 0 0}
  .cols{grid-template-columns:minmax(0,1fr);gap:22px}
  .side{position:static;padding:16px 14px;transform:rotate(-1.2deg)}
  .quick{flex-direction:row;flex-wrap:wrap;gap:4px}
  .quick a{
    min-height:40px;padding:2px 10px;font-size:16px;
    border-bottom:0;border:1px dotted rgba(25,38,23,.4);border-radius:12px;
  }
  .prose{padding:22px 18px;border-radius:26px}
  .prose article{scroll-margin-top:70px}

  .foot{margin-top:44px;padding:32px 16px 22px}
  .cta{padding:24px 20px;border-radius:28px;box-shadow:8px 8px 0 rgba(255,206,92,.3)}
  .fcols{grid-template-columns:minmax(0,1fr);gap:20px;margin-top:28px}
  .fbar{flex-direction:column;align-items:flex-start;gap:4px}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{
    animation:none!important;
    transition:none!important;
  }
}

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