* { box-sizing:border-box }
body { margin:0; background:var(--c-bg); color:var(--c-ink); font:400 var(--fs-3)/1.5 var(--font-sans); letter-spacing:-.02em }
header, main { max-width:720px; margin:auto }
header, nav, footer { display:flex; align-items:center; gap:20px }
header { justify-content:space-between; padding:0 20px; min-height:56px; background:var(--c-surface) }
main a { display:inline-flex; align-items:center; min-height:44px; color:var(--c-accent); text-decoration:none; font-weight:600 }
a:hover { text-decoration:underline }
main { padding:12px 16px 48px }
.cover { position:relative; background:#c8ded5; border-radius:var(--r-2); overflow:hidden }
.cover img { display:block; width:100%; height:clamp(168px,30vw,250px); object-fit:cover; object-position:center 34% }
.cover a { position:absolute; right:12px; bottom:12px; background:var(--c-accent); color:var(--c-surface); padding:0 14px; border-radius:var(--r-1); font-size:var(--fs-sub) }
.shop-heading { margin:20px 4px 8px }
h1,h2,p { margin:0 }
h1 { font-size:var(--fs-1); letter-spacing:-.04em; line-height:1.35; margin:3px 0 }
h2 { font-size:var(--fs-2); line-height:1.4; margin-bottom:8px }
.shop-heading p:first-child,.notice,small,dt { font-size:var(--fs-sub); color:var(--c-ink-sub) }
.notice { margin-inline:4px }
nav { margin:12px 0 0; gap:22px }
main nav a { color:var(--c-ink-faint); border-bottom:2px solid transparent }
main nav a[aria-current] { color:var(--c-ink); font-weight:700; border-color:currentColor }
section { padding:20px; margin-top:12px; background:var(--c-surface); border-radius:var(--r-2); scroll-margin:12px }
section>p { color:var(--c-ink-sub) }
.case-row { display:flex; justify-content:space-between; gap:12px; min-height:56px; color:var(--c-ink) }
.case-row small { display:block; font-weight:400 }
.case-row b { color:var(--c-ink-faint) }
label { display:block; margin:12px 0 4px; font-size:var(--fs-sub); font-weight:650 }
textarea { display:block; width:100%; padding:12px; border:1px solid var(--c-control); border-radius:var(--r-1); resize:vertical; font:inherit; color:inherit }
button { min-height:48px; margin-top:10px; background:var(--c-accent); color:white; border:0; border-radius:var(--r-1); padding:0 16px; font:inherit; font-weight:600; cursor:pointer }
button:disabled { background:var(--c-fill); color:var(--c-ink-faint) }
#result:not(:empty) { margin-top:8px }
footer { padding:12px 4px; flex-wrap:wrap }
:focus-visible { outline:3px solid var(--c-accent); outline-offset:2px }
.case-page { background:var(--c-surface) }
.case-page main { padding:20px 0 40px }
.case-page h1,.case-page main>p,.case-page footer { margin-inline:20px }
.case-page section { margin-top:20px; border-radius:0; padding:20px 20px 0; border-top:12px solid var(--c-bg) }
.case-page footer { margin-top:24px }
@media(min-width:769px) {
  section { padding:24px }
  .case-page section { border:0; padding-block:0; margin-top:32px }
}


#sponsor-sample p + p { margin-top:8px }
#sponsor-sample a { margin-top:12px; padding:0 16px; border-radius:var(--r-1); background:var(--c-accent); color:var(--c-surface) }
.case-action a { justify-content:center; min-height:48px; padding:0 18px; border-radius:var(--r-1); background:var(--c-accent); color:white }

#sponsor-sample a { color:var(--c-ink-sub); background:var(--c-fill) }
.case-page #sponsor-sample h3 { margin:24px 0 8px; font-size:17px; line-height:1.4 }
.cover img { object-fit:contain; object-position:center; padding:6px 12px; height:clamp(210px,48vw,340px) }
.cover { background:#e6eee9 }
.cover a { background:white; color:var(--c-ink) }
