:root {
  --paper: #F3EEE4;
  --card: #FBF8F2;
  --sheet: #FFFDF8;
  --ink: #16181D;
  --ink2: #4A4F59;
  --muted: #8A8578;
  --red: #E2552D;
  --up: #1F7A55;
  --down: #C23B2A;
  --line: rgba(22, 24, 29, .14);
  --serif: "Noto Serif JP", Georgia, "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Noto Sans JP", -apple-system, "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --mono: Menlo, "SF Mono", Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.85; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* masthead */
.mast { border-bottom: 4px solid var(--ink); box-shadow: 0 4px 0 var(--paper), 0 6px 0 var(--ink); background: var(--paper); position: sticky; top: 0; z-index: 10; }
.mast .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: Georgia, var(--serif); font-weight: 700; font-size: 20px; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.nav { display: flex; gap: 22px; font-size: 14px; }
.nav a { text-decoration: none; font-weight: 500; white-space: nowrap; }
.brand { white-space: nowrap; }
.nav a:hover { color: var(--red); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 26px; border-radius: 26px; border: 2px solid var(--ink); background: var(--ink); color: var(--paper); font-weight: 700; text-decoration: none; box-shadow: 4px 4px 0 var(--red); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: none; }
.btn.soon { cursor: default; }

/* hero */
.hero { padding: 72px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.nw { white-space: nowrap; }
.hero h1 { font-family: var(--serif); font-size: clamp(32px, 4.8vw, 54px); line-height: 1.2; margin: 14px 0 20px; letter-spacing: -.01em; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, rgba(226, 85, 45, .35) 0); }
.hero p.lead { font-size: 18px; color: var(--ink2); margin: 0 0 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.badges span { font-family: var(--mono); font-size: 12px; border: 1.5px solid var(--ink); border-radius: 999px; padding: 3px 12px; background: var(--card); }

/* phone mockup (pure CSS) */
.phone { width: 300px; max-width: 100%; margin: 0 auto; border: 3px solid var(--ink); border-radius: 44px; padding: 14px; background: var(--ink); box-shadow: 12px 12px 0 var(--red); transform: rotate(2deg); }
.screen { background: var(--paper); border-radius: 32px; overflow: hidden; padding: 26px 16px 18px; }
.s-eyebrow { font-family: var(--mono); font-size: 8px; letter-spacing: .15em; color: var(--muted); }
.s-title { font-family: Georgia, serif; font-weight: 700; font-size: 26px; border-bottom: 3px double var(--ink); padding-bottom: 4px; margin-bottom: 12px; }
.s-hero { background: var(--ink); color: var(--paper); border-radius: 12px; padding: 12px; }
.s-num { font-family: Georgia, serif; font-size: 28px; font-weight: 700; color: #6FD3A2; margin: 2px 0 4px; }
.s-hero svg { display: block; width: 100%; height: 58px; }
.s-tape { background: var(--red); color: #fff; font-family: var(--mono); font-size: 8px; font-weight: 700; white-space: nowrap; overflow: hidden; margin: 12px -20px; padding: 4px 0; transform: rotate(-1.5deg); border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); }
.s-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.s-tile { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; }
.s-tile b { display: block; font-family: Georgia, serif; font-size: 16px; }
.s-tile i { font-style: normal; font-family: var(--mono); font-size: 7px; color: var(--muted); letter-spacing: .1em; }

/* sections */
section { padding: 64px 0; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin-bottom: 34px; gap: 16px; }
.sec-head h2 { font-family: var(--serif); font-size: clamp(26px, 4vw, 36px); margin: 0; line-height: 1.3; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card { background: var(--card); border: 2px solid var(--ink); border-radius: 18px; padding: 26px; box-shadow: 6px 6px 0 var(--ink); }
.card.ink { background: var(--ink); color: var(--paper); }
.card.ink .eyebrow { color: rgba(243, 238, 228, .6); }
.card h3 { font-family: var(--serif); font-size: 22px; margin: 6px 0 10px; }
.card p { margin: 0; color: inherit; opacity: .85; }
.card ul { margin: 10px 0 0; padding-left: 1.2em; }
.no { font-family: Georgia, serif; font-size: 44px; font-weight: 700; color: transparent; -webkit-text-stroke: 1.5px var(--red); line-height: 1; }

.tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.tool { border: 1.5px solid var(--ink); border-radius: 14px; padding: 16px 18px; background: var(--sheet); }
.tool .eyebrow { color: var(--red); }
.tool h4 { font-family: var(--serif); margin: 4px 0 4px; font-size: 18px; }
.tool p { margin: 0; font-size: 14px; color: var(--ink2); line-height: 1.7; }

/* receipt */
.receipt { position: relative; background: var(--sheet); padding: 30px 30px 36px; border-radius: 16px 16px 0 0; }
.receipt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 10px; background: linear-gradient(-45deg, transparent 6px, var(--sheet) 0), linear-gradient(45deg, transparent 6px, var(--sheet) 0); background-size: 12px 12px; background-repeat: repeat-x; }
.kv { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1.5px dashed rgba(22, 24, 29, .2); }
.kv:last-child { border-bottom: 0; }
.kv span:last-child { font-family: var(--mono); font-weight: 700; text-align: right; }

/* faq */
details { border-bottom: 1.5px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--mono); font-size: 20px; color: var(--red); }
details[open] summary::after { content: "−"; }
details p { margin: 10px 0 0; color: var(--ink2); }

.notice { border: 2px dashed var(--ink); border-radius: 14px; padding: 20px 22px; font-size: 14px; color: var(--ink2); background: rgba(255, 253, 248, .6); }

footer { border-top: 4px solid var(--ink); margin-top: 40px; padding: 30px 0 50px; font-size: 13px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer a { margin-right: 18px; }

/* legal document */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 20px 40px; }
.doc h1 { font-family: var(--serif); font-size: clamp(30px, 5vw, 44px); margin: 10px 0 8px; border-bottom: 4px solid var(--ink); padding-bottom: 16px; }
.doc .meta { font-family: var(--mono); font-size: 13px; color: var(--muted); margin-bottom: 30px; }
.doc .lead { font-family: var(--serif); font-size: 19px; line-height: 1.9; margin-bottom: 36px; }
.doc h2 { font-family: var(--serif); font-size: 21px; margin: 40px 0 10px; display: flex; gap: 12px; align-items: baseline; }
.doc h2 span { font-family: var(--mono); font-size: 14px; color: var(--red); }
.doc p, .doc li { color: var(--ink2); }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.doc th, .doc td { border: 1.5px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.doc th { background: var(--card); width: 34%; }

@media (max-width: 760px) {
  .hero { padding: 40px 0 30px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
  .grid { grid-template-columns: 1fr; }
  .nav { gap: 12px; font-size: 12px; }
  .brand { font-size: 17px; }
  .brand img { width: 28px; height: 28px; }
  .nav .hide-sm { display: none; }
  section { padding: 44px 0; }
  .sec-head { flex-direction: column; gap: 4px; }
  .card { padding: 22px; }
}
