:root{
  --ink:#1C1410;
  --body:#3D332C;
  --muted:#665951;
  --brand:#E2620E;
  --brand-strong:#B24A05;
  --brand-deep:#933C04;
  --cream:#FBF6EF;
  --cream-2:#F7F0E5;
  --surface:#FFFFFF;
  --line:#ECE2D4;
  --line-strong:#D9C9B4;
  --foot:#241813;
  --foot-line:#473529;
  --foot-text:#ECE2D6;
  --foot-muted:#C4B3A4;
  --foot-link:#F4A765;
  --shadow:0 1px 2px rgba(40,24,12,.05),0 8px 24px rgba(40,24,12,.06);
  --shadow-lift:0 4px 10px rgba(40,24,12,.08),0 16px 40px rgba(40,24,12,.10);
  --maxw:1160px;
  --gap:clamp(1.25rem,3vw,2rem);
  --radius:16px;
  --radius-sm:11px;
  --font-serif:Georgia,"Times New Roman","Hiragino Mincho ProN","Hiragino Mincho Pro","Yu Mincho","YuMincho","Noto Serif JP",serif;
  --font-sans:-apple-system,BlinkMacSystemFont,"Segoe UI","Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic","YuGothic","Meiryo","Noto Sans JP",sans-serif;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-behavior:smooth;tab-size:4}
body{margin:0;font-family:var(--font-sans);font-size:1.0625rem;line-height:1.75;color:var(--body);background:var(--surface);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow-wrap:break-word}
img,svg,video{max-width:100%;height:auto;display:block}
h1,h2,h3,h4{color:var(--ink);font-weight:700;line-height:1.28;letter-spacing:.005em;margin:0}
h1,h2,h3{font-family:var(--font-serif);font-weight:600}
p{margin:0}
a{color:var(--brand-deep);text-decoration:underline;text-underline-offset:.16em;text-decoration-thickness:.07em;transition:color .15s ease}
a:hover{color:var(--brand-strong)}
ul,ol{margin:0;padding:0}
strong,b{color:var(--ink);font-weight:700}
hr{border:0;border-top:1px solid var(--line);margin:2.4rem 0}

:focus-visible{outline:3px solid var(--brand-strong);outline-offset:2px;border-radius:5px}

.skip{position:absolute;left:-9999px;top:0;background:var(--ink);color:#fff;padding:.7rem 1.1rem;border-radius:0 0 8px 0;z-index:1000;text-decoration:none;font-weight:700}
.skip:focus{left:0}

.wrap{width:100%;max-width:var(--maxw);margin-inline:auto;padding-inline:clamp(1.1rem,4vw,2.25rem)}
.narrow{max-width:760px}

/* header */
.site-head{position:sticky;top:0;z-index:60;background:rgba(255,255,255,.92);backdrop-filter:saturate(160%) blur(10px);-webkit-backdrop-filter:saturate(160%) blur(10px);border-bottom:1px solid var(--line)}
.head-row{display:flex;align-items:center;justify-content:space-between;gap:1rem .75rem;min-height:68px;flex-wrap:wrap}
.brand{display:inline-flex;align-items:center;gap:.6rem;text-decoration:none;color:var(--ink);padding:.35rem 0}
.brand svg{width:34px;height:34px;flex:none}
.brand .wm{font-size:1.32rem;font-weight:800;letter-spacing:-.01em;line-height:1}
.brand .wm i{font-style:normal;color:var(--brand-strong)}
.nav{display:flex;align-items:center;gap:.3rem;flex-wrap:wrap}
.nav a{color:var(--body);text-decoration:none;font-weight:600;font-size:.97rem;padding:.5rem .8rem;border-radius:9px;line-height:1.2}
.nav a:hover{background:var(--cream-2);color:var(--ink)}
.nav a[aria-current="page"],body.p-home .nav .n-home,body.p-about .nav .n-about,body.p-contact .nav .n-contact{color:var(--brand-deep);background:var(--cream-2)}

/* shared */
.eyebrow{display:inline-flex;align-items:center;gap:.55rem;font-weight:700;font-size:.78rem;letter-spacing:.14em;color:var(--brand-deep);margin:0}
.eyebrow::before{content:"";width:1.6rem;height:2px;background:var(--brand);border-radius:2px}
.lead{font-size:1.16rem;line-height:1.72;color:var(--body)}
.section{padding-block:clamp(3rem,7vw,5.5rem)}
.section.alt{background:var(--cream);border-block:1px solid var(--line)}
.section-head{max-width:48rem;margin-bottom:clamp(1.6rem,4vw,2.6rem)}
.section-head h2{font-size:clamp(1.7rem,4vw,2.4rem);margin-top:.7rem}
.section-head .lead{margin-top:.85rem;color:var(--muted)}

.btn{display:inline-flex;align-items:center;gap:.5rem;font-weight:700;font-size:1rem;text-decoration:none;padding:.82rem 1.5rem;border-radius:11px;border:1.5px solid transparent;cursor:pointer;transition:transform .15s ease,background .15s ease,border-color .15s ease,color .15s ease;line-height:1.2}
.btn-primary{background:var(--brand-strong);color:#fff}
.btn-primary:hover{background:var(--brand-deep);color:#fff;transform:translateY(-1px)}
.btn-ghost{background:transparent;color:var(--ink);border-color:var(--line-strong)}
.btn-ghost:hover{border-color:var(--brand);color:var(--brand-deep);background:var(--cream)}
.btn-row{display:flex;flex-wrap:wrap;gap:.85rem;margin-top:1.9rem}

.arrow-link{display:inline-flex;align-items:center;gap:.4rem;font-weight:700;text-decoration:none;color:var(--brand-deep)}
.arrow-link svg{width:1.05em;height:1.05em;flex:none;transition:transform .15s ease}
.arrow-link:hover{color:var(--brand-strong)}
.arrow-link:hover svg{transform:translateX(3px)}

/* hero */
.hero{position:relative;overflow:hidden;background:linear-gradient(180deg,var(--cream) 0%,var(--surface) 80%)}
.hero .wrap{display:grid;grid-template-columns:1.12fr .88fr;gap:clamp(2rem,5vw,4rem);align-items:center;padding-block:clamp(3.2rem,7vw,5.6rem)}
.hero h1{font-size:clamp(2.15rem,5.4vw,3.5rem);line-height:1.18;margin-top:1rem;letter-spacing:-.01em}
.hero h1 .hl{color:var(--brand-strong)}
.hero .lead{margin-top:1.3rem;max-width:34rem}
.hero-art{position:relative;display:grid;place-items:center;min-height:280px}
.medallion{position:relative;width:min(340px,78vw);aspect-ratio:1;border-radius:50%;background:radial-gradient(circle at 50% 42%,#FFE3C7 0%,#FBCDA1 40%,#F2A360 100%);display:grid;place-items:center;box-shadow:0 24px 60px rgba(178,74,5,.22),inset 0 0 0 10px rgba(255,255,255,.5)}
.medallion svg{width:62%;height:62%;filter:drop-shadow(0 8px 18px rgba(120,50,6,.25))}
.hero-dot{position:absolute;border-radius:50%}
.hero-dot.d1{width:18px;height:18px;background:var(--brand);top:8%;right:13%}
.hero-dot.d2{width:11px;height:11px;background:var(--brand-strong);bottom:13%;left:7%}
.hero-dot.d3{width:26px;height:26px;border:3px solid var(--brand);right:3%;bottom:24%}

/* grids + cards */
.grid{display:grid;gap:var(--gap)}
.grid-4{grid-template-columns:repeat(4,1fr)}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-2{grid-template-columns:repeat(2,1fr)}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:1.6rem;box-shadow:var(--shadow)}
.value .ic{width:46px;height:46px;border-radius:12px;background:var(--cream-2);display:grid;place-items:center;margin-bottom:1.05rem;border:1px solid var(--line)}
.value .ic svg{width:24px;height:24px;color:var(--brand-strong)}
.value h3{font-family:var(--font-sans);font-size:1.1rem;font-weight:700;margin-bottom:.45rem}
.value p{color:var(--muted);font-size:.98rem;line-height:1.68}

/* guide cards */
.guide{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.guide:hover{transform:translateY(-3px);box-shadow:var(--shadow-lift);border-color:var(--line-strong)}
.guide .thumb{aspect-ratio:16/9;background:var(--cream-2);border-bottom:1px solid var(--line)}
.guide .thumb svg{width:100%;height:100%}
.guide .body{padding:1.4rem 1.5rem 1.6rem;display:flex;flex-direction:column;flex:1}
.guide .kicker{font-weight:700;font-size:.74rem;letter-spacing:.12em;color:var(--brand-deep);margin-bottom:.6rem}
.guide h3{font-size:1.2rem;line-height:1.42;margin-bottom:.6rem}
.guide h3 a{color:var(--ink);text-decoration:none}
.guide h3 a:hover{color:var(--brand-deep)}
.guide p{color:var(--muted);font-size:.97rem;flex:1}
.guide .more{margin-top:1.1rem}

/* about-teaser split */
.split{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(2rem,5vw,3.5rem);align-items:center}
.stat-row{display:flex;flex-wrap:wrap;gap:1.4rem 2.4rem;margin-top:1.8rem}
.stat b{display:block;font-family:var(--font-serif);font-size:1.9rem;color:var(--brand-strong);line-height:1.1}
.stat span{font-size:.9rem;color:var(--muted)}

/* page head (interior) */
.page-head{padding-block:clamp(2.4rem,5vw,3.6rem) clamp(1.5rem,3vw,2.2rem)}
.page-head.band{background:var(--cream);border-bottom:1px solid var(--line)}
.page-head h1{font-size:clamp(2rem,5vw,2.95rem);line-height:1.18;margin-top:.8rem;max-width:22ch}
.page-head .lead{margin-top:1.05rem;max-width:62ch}

/* breadcrumb */
.crumbs{font-size:.85rem;color:var(--muted);margin:0}
.crumbs ol{list-style:none;display:flex;flex-wrap:wrap;align-items:center;gap:.45rem}
.crumbs a{color:var(--muted);text-decoration:none}
.crumbs a:hover{color:var(--brand-deep);text-decoration:underline}
.crumbs li+li::before{content:"›";margin-right:.45rem;color:var(--line-strong)}
.crumbs [aria-current="page"]{color:var(--ink);font-weight:600}

/* article meta */
.meta-line{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .9rem;margin-top:1.2rem;font-size:.9rem;color:var(--muted)}
.meta-line .dot{width:4px;height:4px;border-radius:50%;background:var(--line-strong)}
.meta-line .by{display:inline-flex;align-items:center;gap:.5rem;font-weight:600;color:var(--body)}
.meta-line .by svg{width:22px;height:22px;flex:none}

/* article hero figure */
.article-hero{margin:clamp(1.6rem,4vw,2.4rem) 0 0}
.article-hero .frame{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:var(--cream-2);aspect-ratio:16/9}
.article-hero svg{width:100%;height:100%}

/* prose */
.prose{font-size:1.0625rem;line-height:1.8;color:var(--body)}
.prose>*+*{margin-top:1.15rem}
.prose h2{font-size:clamp(1.5rem,3.4vw,1.95rem);line-height:1.32;margin-top:2.8rem;padding-top:.2rem}
.prose h3{font-size:1.22rem;font-family:var(--font-sans);font-weight:700;margin-top:1.9rem}
.prose h2+p,.prose h3+p{margin-top:.85rem}
.prose ul,.prose ol{padding-left:1.4rem}
.prose li{margin-top:.5rem;padding-left:.25rem}
.prose li::marker{color:var(--brand-strong)}
.prose a{font-weight:600}
.prose blockquote{margin:1.6rem 0;padding:.4rem 0 .4rem 1.3rem;border-left:3px solid var(--brand);color:var(--muted);font-style:normal}
.prose figure{margin:1.8rem 0}
.prose figcaption{font-size:.86rem;color:var(--muted);margin-top:.6rem;text-align:center}

/* lede paragraph in articles */
.prose .lede{font-size:1.18rem;line-height:1.72;color:var(--ink)}

/* TL;DR / summary */
.summary{background:var(--cream);border:1px solid var(--line);border-left:4px solid var(--brand);border-radius:12px;padding:1.05rem 1.25rem;font-size:1rem;color:var(--body)}
.summary b{display:inline-block;font-size:.74rem;letter-spacing:.12em;color:var(--brand-deep);margin-right:.5rem}

/* callout notes */
.note{border-radius:12px;padding:1.1rem 1.25rem 1.1rem 1.3rem;border:1px solid var(--line);background:var(--cream-2);font-size:.99rem;line-height:1.7}
.note .nt{display:flex;align-items:center;gap:.55rem;font-weight:700;color:var(--ink);margin-bottom:.45rem}
.note .nt svg{width:20px;height:20px;flex:none}
.note p+p{margin-top:.6rem}
.note-info{background:#FBF4EB;border-color:#EBDCC6;border-left:4px solid var(--brand-strong)}
.note-info .nt svg{color:var(--brand-strong)}
.note-key{background:#FCF1E6;border-color:#EAD6BE;border-left:4px solid var(--brand-deep)}
.note-key .nt svg{color:var(--brand-deep)}

/* steps */
.steps{list-style:none;counter-reset:s;padding:0;margin-top:1.4rem}
.steps>li{position:relative;padding:0 0 1.4rem 3.3rem;margin:0}
.steps>li:last-child{padding-bottom:0}
.steps>li::before{counter-increment:s;content:counter(s);position:absolute;left:0;top:0;width:2.2rem;height:2.2rem;border-radius:50%;background:var(--brand-strong);color:#fff;font-family:var(--font-sans);font-weight:700;font-size:1rem;display:grid;place-items:center}
.steps>li::after{content:"";position:absolute;left:1.1rem;top:2.5rem;bottom:.4rem;width:2px;background:var(--line-strong)}
.steps>li:last-child::after{display:none}
.steps h3{margin:.2rem 0 .35rem;font-family:var(--font-sans);font-size:1.12rem;font-weight:700;color:var(--ink)}
.steps p{color:var(--body)}

/* tables */
.table-wrap{overflow-x:auto;margin:1.6rem 0;border:1px solid var(--line);border-radius:12px;-webkit-overflow-scrolling:touch}
table{border-collapse:collapse;width:100%;min-width:32rem;font-size:.98rem}
caption{text-align:left;font-size:.86rem;color:var(--muted);padding:.7rem 1rem;border-bottom:1px solid var(--line)}
th,td{padding:.8rem 1rem;text-align:left;vertical-align:top;border-bottom:1px solid var(--line)}
thead th{background:var(--cream-2);color:var(--ink);font-weight:700;font-size:.92rem;border-bottom:1px solid var(--line-strong)}
tbody tr:last-child td{border-bottom:0}
tbody th{font-weight:700;color:var(--ink)}
tbody tr:nth-child(even){background:var(--cream)}

/* FAQ details */
.faq{margin-top:1.4rem;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.faq details{border-bottom:1px solid var(--line);background:var(--surface)}
.faq details:last-child{border-bottom:0}
.faq summary{list-style:none;cursor:pointer;padding:1.05rem 3rem 1.05rem 1.25rem;position:relative;font-weight:700;color:var(--ink);font-size:1.02rem;line-height:1.5}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";position:absolute;right:1.2rem;top:1.35rem;width:11px;height:11px;border-right:2px solid var(--brand-strong);border-bottom:2px solid var(--brand-strong);transform:rotate(45deg);transition:transform .2s ease}
.faq details[open] summary::after{transform:rotate(-135deg)}
.faq summary:hover{background:var(--cream)}
.faq .ans{padding:0 1.25rem 1.2rem;color:var(--body);line-height:1.75}
.faq .ans p+p{margin-top:.7rem}

/* related */
.related{display:grid;grid-template-columns:repeat(2,1fr);gap:var(--gap);margin-top:1.4rem}
.related a{display:block;text-decoration:none;border:1px solid var(--line);border-radius:14px;padding:1.25rem 1.35rem;background:var(--surface);box-shadow:var(--shadow);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.related a:hover{transform:translateY(-3px);box-shadow:var(--shadow-lift);border-color:var(--line-strong)}
.related .k{font-weight:700;font-size:.72rem;letter-spacing:.12em;color:var(--brand-deep);margin-bottom:.5rem}
.related .t{font-family:var(--font-serif);font-size:1.12rem;color:var(--ink);line-height:1.42}

/* contact / info cards */
.info-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:var(--gap)}
.info-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:1.7rem;box-shadow:var(--shadow)}
.info-card h3{font-family:var(--font-sans);font-size:1.08rem;font-weight:700;margin-bottom:.55rem}
.info-card p{color:var(--muted);font-size:.99rem}
.info-card .big{font-size:1.18rem;font-weight:700;color:var(--brand-deep);text-decoration:none}
.info-card .big:hover{text-decoration:underline}
.def{margin:0}
.def div{display:flex;flex-wrap:wrap;gap:.3rem 1rem;padding:.85rem 0;border-bottom:1px solid var(--line)}
.def div:last-child{border-bottom:0}
.def dt{flex:0 0 9.5rem;font-weight:700;color:var(--ink);font-size:.96rem}
.def dd{flex:1;min-width:12rem;margin:0;color:var(--body)}

/* legal pages */
.legal{font-size:1.02rem;line-height:1.8;color:var(--body)}
.legal>*+*{margin-top:1.05rem}
.legal h2{font-family:var(--font-serif);font-size:1.45rem;margin-top:2.4rem;color:var(--ink)}
.legal h3{font-family:var(--font-sans);font-size:1.1rem;font-weight:700;margin-top:1.6rem;color:var(--ink)}
.legal ul,.legal ol{padding-left:1.4rem}
.legal li{margin-top:.45rem}
.legal li::marker{color:var(--brand-strong)}
.legal .updated{font-size:.9rem;color:var(--muted)}
.toc{background:var(--cream);border:1px solid var(--line);border-radius:12px;padding:1.1rem 1.3rem;font-size:.96rem}
.toc b{display:block;font-size:.74rem;letter-spacing:.12em;color:var(--brand-deep);margin-bottom:.6rem;font-weight:700}
.toc ol{padding-left:1.2rem}
.toc li{margin-top:.3rem}
.toc a{color:var(--body);text-decoration:none}
.toc a:hover{color:var(--brand-deep);text-decoration:underline}

/* footer */
.site-foot{background:var(--foot);color:var(--foot-text);margin-top:0}
.foot-top{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:clamp(1.8rem,4vw,3rem);padding-block:clamp(3rem,6vw,4.2rem)}
.foot-brand .brand{color:#fff}
.foot-brand .brand .wm i{color:var(--foot-link)}
.foot-brand p{margin-top:1rem;color:var(--foot-muted);font-size:.96rem;max-width:30ch;line-height:1.7}
.foot-soc{display:flex;gap:.6rem;margin-top:1.2rem}
.foot-soc a{width:40px;height:40px;border-radius:10px;border:1px solid var(--foot-line);display:grid;place-items:center;color:var(--foot-text)}
.foot-soc a:hover{border-color:var(--foot-link);color:var(--foot-link);background:rgba(244,167,101,.08)}
.foot-soc svg{width:19px;height:19px}
.foot-col h4{font-family:var(--font-sans);font-size:.78rem;letter-spacing:.12em;color:var(--foot-muted);font-weight:700;margin-bottom:1rem}
.foot-col ul{list-style:none}
.foot-col li+li{margin-top:.62rem}
.foot-col a{color:var(--foot-text);text-decoration:none;font-size:.97rem}
.foot-col a:hover{color:var(--foot-link);text-decoration:underline}
.foot-bottom{border-top:1px solid var(--foot-line);padding-block:1.5rem;display:flex;flex-wrap:wrap;gap:.6rem 1.5rem;align-items:center;justify-content:space-between}
.foot-bottom p{color:var(--foot-muted);font-size:.88rem}
.foot-bottom .legal-links{display:flex;flex-wrap:wrap;gap:.5rem 1.2rem}
.foot-bottom .legal-links a{color:var(--foot-muted);text-decoration:none;font-size:.88rem}
.foot-bottom .legal-links a:hover{color:var(--foot-link);text-decoration:underline}

/* utilities */
.mt0{margin-top:0}
.center{text-align:center}
.maxw-prose{max-width:760px}

/* responsive */
@media (max-width:960px){
  .hero .wrap{grid-template-columns:1fr;gap:2.2rem}
  .hero-art{order:-1;min-height:auto}
  .grid-4{grid-template-columns:repeat(2,1fr)}
  .grid-3{grid-template-columns:repeat(2,1fr)}
  .split{grid-template-columns:1fr;gap:2rem}
  .foot-top{grid-template-columns:1fr 1fr}
  .foot-brand{grid-column:1 / -1}
}
@media (max-width:640px){
  body{font-size:1rem}
  .head-row{justify-content:center;gap:.5rem;padding-top:.5rem;padding-bottom:.5rem}
  .nav{justify-content:center}
  .grid-4,.grid-3,.grid-2,.related,.info-grid{grid-template-columns:1fr}
  .foot-top{grid-template-columns:1fr}
  .foot-bottom{justify-content:flex-start}
  .def dt{flex-basis:100%}
  .prose .lede{font-size:1.1rem}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.001ms !important;animation-iteration-count:1 !important;transition-duration:.001ms !important;scroll-behavior:auto !important}
}
