:root{
  --accent:#ff5b7f;
  --accent-2:#ff8a5b;
  --accent-ink:#b92150;
  --line:#087c3d;
  --ink:#332f38;
  --muted:#6f6876;
  --bg:#fff8fb;
  --surface:#fff;
  --border:#f2d7e0;
  --soft:#fff0f5;
  --shadow:0 14px 38px rgba(164,58,101,.1);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--ink);background:linear-gradient(180deg,#fff6fa 0,#f8f2ff 36%,#fff 100%);font-family:"Hiragino Kaku Gothic ProN","Hiragino Sans","Noto Sans JP","Yu Gothic",Meiryo,system-ui,sans-serif;font-size:16px;line-height:1.85;-webkit-text-size-adjust:100%}
img{display:block;max-width:100%;height:auto}
a{color:var(--accent-ink);text-underline-offset:3px}
a:hover{text-decoration-thickness:2px}
a:focus-visible,button:focus-visible{outline:3px solid #ff9fba;outline-offset:3px}
.skip-link{position:fixed;z-index:100;top:8px;left:8px;padding:10px 14px;border-radius:8px;background:#fff;color:var(--accent-ink);font-weight:700;transform:translateY(-150%)}
.skip-link:focus{transform:none}
.site-head{position:sticky;z-index:20;top:0;border-bottom:1px solid var(--border);background:rgba(255,255,255,.94);backdrop-filter:blur(10px)}
.head-in{display:flex;width:min(760px,calc(100% - 32px));min-height:64px;margin:auto;align-items:center;justify-content:space-between;gap:16px}
.brand{color:var(--accent-ink);font-family:"M PLUS Rounded 1c",sans-serif;font-size:1rem;font-weight:700;line-height:1.25;text-decoration:none}
.brand small{display:block;color:var(--muted);font-size:.64rem;font-weight:500}
.back{display:inline-flex;min-height:44px;align-items:center;color:var(--muted);font-size:.78rem;font-weight:700;text-decoration:none;white-space:nowrap}
.back:hover{color:var(--accent-ink)}
.wrap{width:min(760px,calc(100% - 32px));margin-inline:auto}
.breadcrumb{padding:18px 0 12px;color:var(--muted);font-size:.78rem}
.breadcrumb ol{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none}
.breadcrumb li+li::before{margin-right:6px;content:"/";color:#b8aebc}
.breadcrumb a{color:var(--muted)}
.article{margin-bottom:40px;overflow:hidden;border:1px solid var(--border);border-radius:22px;background:var(--surface);box-shadow:var(--shadow)}
.article-head{padding:30px 20px 24px;text-align:center}
.category{display:inline-flex;min-height:32px;align-items:center;border-radius:999px;background:var(--soft);padding:4px 12px;color:var(--accent-ink);font-size:.76rem;font-weight:700;letter-spacing:.04em}
.article-head time{display:block;margin:12px 0 8px;color:var(--muted);font-size:.78rem;font-variant-numeric:tabular-nums}
h1{margin:0;font-family:"M PLUS Rounded 1c",sans-serif;font-size:clamp(1.55rem,6vw,2.25rem);line-height:1.45;letter-spacing:.01em}
.lead{max-width:620px;margin:16px auto 0;color:#554f5a;font-size:1rem;text-align:left}
.hero-image{width:100%;aspect-ratio:16/9;object-fit:cover}
.article-body{padding:30px 20px 40px}
.article-body>p,.article-body>ul,.article-body>ol,.article-body>.note,.article-body>.summary-box,.article-body>.flow-list,.article-body>.source-list{max-width:640px;margin-right:auto;margin-left:auto}
.article-body p{margin-top:0;margin-bottom:1.35em}
.article-body h2{max-width:640px;margin:2.4em auto .8em;padding-bottom:10px;border-bottom:2px solid var(--border);font-family:"M PLUS Rounded 1c",sans-serif;font-size:1.3rem;line-height:1.5}
.article-body h2::before{display:inline-block;width:8px;height:1.05em;margin-right:10px;border-radius:999px;background:linear-gradient(180deg,var(--accent),var(--accent-2));content:"";vertical-align:-.12em}
.article-body h3{max-width:640px;margin:1.7em auto .55em;color:var(--accent-ink);font-size:1.05rem;line-height:1.55}
.article-body ul,.article-body ol{margin-top:.5em;margin-bottom:1.5em;padding-left:1.5em}
.article-body li{margin-bottom:.45em}
.summary-box,.note{border-radius:14px;padding:18px}
.summary-box{margin-bottom:26px;border:1px solid #ffc7d8;background:#fff6f9}
.summary-box strong,.note strong{display:block;margin-bottom:4px}
.note{margin-top:24px;margin-bottom:24px;border-left:5px solid var(--accent);background:#fff7f1}
.note--tax{border-left-color:#7d6ad6;background:#f7f4ff}
.flow-list{counter-reset:flow;margin-top:20px!important;padding:0!important;list-style:none}
.flow-list li{position:relative;min-height:64px;margin:0 0 12px;padding:14px 14px 14px 66px;border:1px solid var(--border);border-radius:14px;background:#fff;box-shadow:0 5px 16px rgba(164,58,101,.05)}
.flow-list li::before{position:absolute;top:14px;left:14px;display:grid;width:38px;height:38px;place-items:center;border-radius:12px;background:linear-gradient(135deg,var(--accent),var(--accent-2));color:#fff;content:counter(flow);counter-increment:flow;font-weight:700}
.flow-list b{display:block;margin-bottom:2px}
.source-list{font-size:.9rem}
.source-list a{overflow-wrap:anywhere;font-weight:700}
.article-cta{max-width:640px;margin:34px auto 0;border-radius:18px;background:linear-gradient(135deg,#fff0f5,#f2edff);padding:24px 18px;text-align:center}
.article-cta h2{margin:0 0 8px;padding:0;border:0;font-size:1.25rem}
.article-cta h2::before{display:none}
.article-cta p{margin-bottom:16px}
.cta-actions{display:grid;gap:10px;max-width:460px;margin:auto}
.btn{display:flex;min-height:50px;align-items:center;justify-content:center;gap:8px;border-radius:999px;padding:12px 18px;color:#fff;font-weight:700;text-decoration:none;box-shadow:0 8px 18px rgba(164,58,101,.12);transition:transform .2s ease,filter .2s ease;touch-action:manipulation}
.btn:hover{filter:brightness(1.04);transform:translateY(-2px)}
.btn--form{background:linear-gradient(90deg,#c62c56,#b94f32)}
.btn--line{background:var(--line)}
.btn svg{width:19px;height:19px;flex:none}
.related{padding:10px 0 54px}
.related h2{margin:0 0 18px;text-align:center;font-family:"M PLUS Rounded 1c",sans-serif;font-size:1.35rem}
.related-grid{display:grid;gap:12px}
.related-card{display:flex;min-height:94px;flex-direction:column;border:1px solid var(--border);border-radius:14px;background:#fff;padding:16px;color:var(--ink);text-decoration:none;box-shadow:0 6px 18px rgba(164,58,101,.06);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;touch-action:manipulation}
.related-card:hover{border-color:#ff9fba;box-shadow:0 10px 24px rgba(164,58,101,.12);transform:translateY(-2px)}
.related-card time{color:var(--muted);font-size:.74rem}
.related-card strong{margin-top:4px;line-height:1.55}
.site-footer{border-top:1px solid var(--border);background:#fff;padding:28px 0 34px;text-align:center}
.site-footer p{margin:8px 0 0;color:var(--muted);font-size:.78rem}
.footer-privacy{display:inline-flex;min-height:44px;align-items:center;font-weight:700}
@media(min-width:640px){
  .article-head{padding:42px 42px 32px}
  .article-body{padding:40px 48px 52px}
  .cta-actions{grid-template-columns:1fr 1fr}
  .related-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:420px){
  .brand{font-size:.9rem}
  .back{font-size:.72rem}
  .article-head{padding-right:16px;padding-left:16px}
  .article-body{padding-right:16px;padding-left:16px}
  .lead{font-size:.96rem}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{transition:none!important}
}
