/* 定額レシート 公式サイト — 「家計の帳面」デザイン
   プレーンなHTML/CSSのみ。外部スクリプト・解析・Cookie・外部リクエストなし。
   フォントは自前ホスト（Shippori Mincho / Zen Kaku Gothic New・OFL・使用字だけのサブセット）。 */

:root {
  --ink: #111111;
  --ink-soft: #444444;
  --muted: #6b6b6b;
  --bg: #ffffff;
  --paper: #ffffff;
  --line: #e3e3e3;
  --rule: #ececec;
  --accent: #b8501a;
  --accent-ink: #ffffff;
  --lede-bg: #fafaf8;
  --font-serif: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  --font-sans: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-mono: "JA Mono", ui-monospace, "SF Mono", monospace;
}

@font-face {
  font-family: "Shippori Mincho";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/shippori-mincho-600-subset.woff2") format("woff2");
}
@font-face {
  font-family: "Zen Kaku Gothic New";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/zen-kaku-gothic-new-400-subset.woff2") format("woff2");
}
@font-face {
  font-family: "Zen Kaku Gothic New";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/zen-kaku-gothic-new-700-subset.woff2") format("woff2");
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  /* 日本語の行送り：単語の途中では折り返さない。長い英単語やURLだけ必要なら折る */
  word-break: keep-all;
  overflow-wrap: anywhere;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible,
summary:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 640px) {
  .wrap {
    padding: 0 56px;
  }
}
.wrap-narrow {
  max-width: 936px;
}

h1,
h2 {
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(28px, 6vw, 54px);
  line-height: 1.4;
}
h2 {
  font-family: var(--font-sans);
  font-weight: 700;
}
.mono {
  font-family: var(--font-mono);
}

/* ---------- header ---------- */

.site-header {
  padding: 20px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 15px;
  min-height: 44px;
}
.brand img {
  width: 26px;
  height: 26px;
  border-radius: 7px;
}
.site-nav {
  display: flex;
  gap: 16px;
  font-size: 12px;
}
@media (min-width: 640px) {
  .site-nav {
    gap: 28px;
    font-size: 14px;
  }
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
}
.site-nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
  border-bottom: 2px solid var(--accent);
}

/* ---------- hero band（罫線はここだけ） ---------- */

.hero-band {
  background-color: var(--bg);
  background-image: repeating-linear-gradient(to bottom, transparent 0 43px, var(--rule) 43px 44px);
  border-bottom: 1px solid var(--line);
}
.hero {
  padding: 6px 0 44px;
}
.hero-grid {
  display: grid;
  gap: 32px;
}
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
    gap: 20px;
  }
}
.hero-kicker {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 14px;
}
@media (min-width: 900px) {
  .hero-kicker {
    font-size: 14px;
  }
}
.hero-rule {
  width: 52px;
  height: 4px;
  background: var(--accent);
  border: 0;
  margin: 18px 0;
}
@media (min-width: 900px) {
  .hero-rule {
    width: 64px;
    margin: 22px 0;
  }
}
.hero-sub {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.9;
  margin: 0 0 14px;
}
@media (min-width: 900px) {
  .hero-sub {
    font-size: 17px;
    line-height: 2;
    max-width: 460px;
    margin-bottom: 24px;
  }
}
.hero-storenote {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 18px;
}
@media (min-width: 900px) {
  .hero-storenote {
    margin-bottom: 10px;
  }
}
.hero-footnote {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: var(--muted);
}
.hero-footnote .dash {
  width: 36px;
  height: 1px;
  background: #ddd;
  flex: none;
}

/* mobile: 絵が先、文は後（見た目だけ。読み上げ順は文が先のまま） */
.hero-visual {
  order: -1;
}
@media (min-width: 900px) {
  .hero-visual {
    order: 0;
  }
}

.frag-crop {
  overflow: hidden;
}
.receipt-frag {
  width: 100%;
  max-width: 340px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 16px 34px -22px rgba(0, 0, 0, 0.3);
  padding: 22px 0 0 20px;
}
@media (min-width: 900px) {
  .receipt-frag {
    max-width: 390px;
    margin-left: 30px;
    box-shadow: -20px 30px 60px -36px rgba(0, 0, 0, 0.22);
    padding: 34px 0 0 32px;
  }
}
.frag-label {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 12px;
  padding-right: 20px;
}
@media (min-width: 900px) {
  .frag-label {
    font-size: 13px;
    padding-right: 32px;
    margin-bottom: 16px;
  }
}
.frag-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  padding: 7px 20px 7px 0;
}
.frag-line + .frag-line {
  border-top: 1px dashed var(--line);
}
@media (min-width: 900px) {
  .frag-line {
    font-size: 14px;
    padding: 8px 32px 8px 0;
  }
}
.frag-cancel {
  color: var(--muted);
  text-decoration: line-through;
}
.frag-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 14px 20px;
  background: var(--accent);
  margin-top: 4px;
}
@media (min-width: 900px) {
  .frag-total {
    padding: 16px 32px;
  }
}
.frag-total span {
  font-weight: 700;
  font-size: 13px;
  color: var(--accent-ink);
}
.frag-total b {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-ink);
}
@media (min-width: 900px) {
  .frag-total b {
    font-size: 26px;
  }
}

.seal {
  width: 70px;
  height: 70px;
  position: relative;
  margin: 20px 0 0 4px;
}
@media (min-width: 900px) {
  .seal {
    width: 100px;
    height: 100px;
    margin: 26px 0 0 30px;
  }
}
.seal-ring {
  position: absolute;
  inset: 0;
  border: 2px solid var(--accent);
  border-radius: 999px;
  opacity: 0.85;
}
.seal img {
  position: absolute;
  inset: 9px;
}
@media (min-width: 900px) {
  .seal img {
    inset: 13px;
  }
}

/* ---------- sections（無地） ---------- */

.section {
  padding: 40px 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 900px) {
  .section {
    padding: 64px 0;
  }
}
.section.no-border {
  border-top: 0;
}
.section-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 0 0 14px;
}
@media (min-width: 900px) {
  .section-kicker {
    font-size: 13px;
    margin-bottom: 16px;
  }
}

/* ---------- できること ---------- */

.feat-area {
  display: grid;
  gap: 32px;
}
@media (min-width: 900px) {
  .feat-area {
    grid-template-columns: 1.3fr 0.7fr;
    gap: 48px;
    align-items: start;
  }
}
.feat-row {
  display: flex;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px dashed var(--line);
}
.feat-row:first-child {
  padding-top: 0;
  border-top: 0;
}
@media (min-width: 900px) {
  .feat-row {
    gap: 32px;
    padding: 30px 0;
  }
  .feat-row:first-child {
    padding-bottom: 30px;
  }
}
.feat-num {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}
@media (min-width: 900px) {
  .feat-num {
    width: 46px;
    height: 46px;
    font-size: 16px;
  }
}
.feat-body h2 {
  font-size: 18px;
  margin: 0 0 8px;
}
@media (min-width: 900px) {
  .feat-body h2 {
    font-size: 22px;
    margin-bottom: 10px;
  }
}
.feat-body p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.8;
  margin: 0;
}
@media (min-width: 900px) {
  .feat-body p {
    font-size: 15px;
    line-height: 1.85;
  }
}

.chip-panel {
  background: var(--lede-bg);
  border: 1px solid var(--line);
  padding: 24px 22px;
}
@media (min-width: 900px) {
  .chip-panel {
    padding: 28px 26px;
    margin-top: 4px;
  }
}
.chip-panel .section-kicker {
  color: var(--muted);
}
.chip-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 16px;
}
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid #ddd;
  color: var(--ink-soft);
  font-size: 14px;
  width: fit-content;
}
.chip.is-on {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
}
.chip-caption {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}

/* ---------- 使い方 ---------- */

.steps {
  display: grid;
  gap: 22px;
}
@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}
.step-num {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 2px solid var(--accent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 10px;
}
@media (min-width: 900px) {
  .step-num {
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
  }
}
.step h2 {
  font-size: 16px;
  margin: 0 0 6px;
}
@media (min-width: 900px) {
  .step h2 {
    font-size: 17px;
    margin-bottom: 8px;
  }
}
.step p {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.8;
  margin: 0;
}
@media (min-width: 900px) {
  .step p {
    font-size: 14px;
  }
}

/* ---------- 安心 / Pro（2カラム） ---------- */

.two-col {
  display: grid;
  gap: 40px;
}
@media (min-width: 900px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
  }
}
.two-col h2 {
  font-size: 22px;
  margin: 0 0 12px;
}
@media (min-width: 900px) {
  .two-col h2 {
    font-size: 28px;
    margin-bottom: 14px;
  }
}
.two-col p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.85;
  margin: 0 0 14px;
}
@media (min-width: 900px) {
  .two-col p {
    font-size: 15px;
    line-height: 1.9;
  }
}
.text-link {
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
}

.price-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  font-size: 14px;
  border-bottom: 1px dashed var(--line);
}
@media (min-width: 900px) {
  .price-line {
    padding: 14px 0;
    font-size: 15px;
  }
}
.price-line b {
  font-family: var(--font-mono);
  font-size: 15px;
}
.price-fill {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 16px 18px;
  background: var(--accent);
  margin-top: 4px;
}
@media (min-width: 900px) {
  .price-fill {
    padding: 18px 24px;
  }
}
.price-fill span {
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 14px;
}
@media (min-width: 900px) {
  .price-fill span {
    font-size: 16px;
  }
}
.price-fill b {
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
}
@media (min-width: 900px) {
  .price-fill b {
    font-size: 26px;
  }
}
.price-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 14px;
}
@media (min-width: 900px) {
  .price-note {
    font-size: 13px;
    margin-top: 16px;
  }
}

/* ---------- 困ったときは ---------- */

.section-center {
  text-align: center;
}
.section-center h2 {
  font-size: 20px;
  margin: 0 0 12px;
}
@media (min-width: 900px) {
  .section-center h2 {
    font-size: 24px;
    margin-bottom: 14px;
  }
}

/* ---------- アプリの画面（今は非表示。撮影モードの画像が揃ったらコメントを外す） ---------- */

.app-shots {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}
@media (min-width: 900px) {
  .app-shots {
    flex-direction: row;
    gap: 40px;
  }
}
.shot-slot {
  width: 100%;
  max-width: 240px;
  height: 420px;
  border: 2px dashed #cfcfcf;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #999;
  font-size: 12px;
  padding: 16px;
}
@media (min-width: 900px) {
  .shot-slot {
    width: 220px;
    height: 460px;
    font-size: 13px;
  }
}
.badge-slot {
  width: 160px;
  height: 46px;
  border: 2px dashed #cfcfcf;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 10px;
  text-align: center;
  padding: 6px;
}

/* ---------- 表示切り替え（PC/モバイルで文量を変える） ---------- */

.only-pc {
  display: none;
}
.only-mobile {
  display: block;
}
@media (min-width: 900px) {
  .only-pc {
    display: block;
  }
  .only-mobile {
    display: none;
  }
}

/* ---------- Pro カードの内訳リスト ---------- */

.pro-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pro-list li {
  font-size: 13px;
  color: var(--ink-soft);
  padding-left: 18px;
  position: relative;
  line-height: 1.7;
}
@media (min-width: 900px) {
  .pro-list li {
    font-size: 14px;
  }
}
.pro-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
}
.footer-inner {
  padding: 24px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
@media (min-width: 900px) {
  .footer-inner {
    padding: 30px 0 50px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12px;
}
@media (min-width: 900px) {
  .footer-links {
    gap: 22px;
    font-size: 13px;
  }
}
.footer-links a {
  color: var(--muted);
}
.footer-copy {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
@media (min-width: 900px) {
  .footer-copy {
    font-size: 12px;
  }
}

/* ---------- page head（プライバシー・サポート） ---------- */

.page-head {
  padding: 14px 0 32px;
}
@media (min-width: 900px) {
  .page-head {
    padding: 20px 0 50px;
  }
}
.page-head-flex {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}
.page-head img {
  width: 56px;
  margin-bottom: 16px;
}
@media (min-width: 900px) {
  .page-head img {
    width: 84px;
    margin-bottom: 0;
  }
}
.page-meta {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 20px;
}
@media (min-width: 900px) {
  .page-meta {
    font-size: 13px;
    margin-bottom: 26px;
  }
}
.lede {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.85;
  margin: 0;
}
@media (min-width: 900px) {
  .lede {
    font-size: 16px;
    line-height: 1.9;
    max-width: 560px;
  }
}
.lede-box {
  padding: 18px;
  border-left: 3px solid var(--accent);
  background: var(--lede-bg);
}
@media (min-width: 900px) {
  .lede-box {
    padding: 22px 24px;
  }
}
.lede-box .lede {
  max-width: none;
}
.lede a,
.page-head .lede a {
  color: var(--accent);
  font-weight: 700;
}

/* ---------- プライバシー：番号セクション ---------- */

.policy-sec {
  display: flex;
  gap: 14px;
  padding: 22px 0;
  border-top: 1px dashed var(--line);
}
.policy-sec:first-child {
  border-top: 0;
  padding-top: 0;
}
@media (min-width: 900px) {
  .policy-sec {
    gap: 26px;
    padding: 30px 0;
  }
}
.policy-num {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-mono);
  margin-top: 2px;
}
@media (min-width: 900px) {
  .policy-num {
    width: 38px;
    height: 38px;
    font-size: 13px;
  }
}
.policy-body h2 {
  font-size: 16px;
  margin: 0 0 10px;
}
@media (min-width: 900px) {
  .policy-body h2 {
    font-size: 19px;
    margin-bottom: 12px;
  }
}
.policy-body p,
.policy-body li {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.85;
  margin: 0 0 10px;
}
@media (min-width: 900px) {
  .policy-body p,
  .policy-body li {
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 12px;
  }
}
.policy-body p:last-child,
.policy-body li:last-child {
  margin-bottom: 0;
}
.policy-body ul {
  margin: 0 0 10px;
  padding-left: 1.1em;
}
@media (min-width: 900px) {
  .policy-body ul {
    margin-bottom: 12px;
  }
}
.policy-body strong {
  color: var(--ink);
}
.policy-body a {
  color: var(--accent);
  font-weight: 700;
}

/* ---------- サポート：よくある質問 ---------- */

.faq-item {
  border-top: 1px dashed var(--line);
  padding: 16px 0;
}
.faq-item:first-of-type {
  border-top: 1px solid var(--line);
}
@media (min-width: 900px) {
  .faq-item {
    padding: 20px 0;
  }
}
.faq-item summary {
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}
@media (min-width: 900px) {
  .faq-item summary {
    font-size: 16px;
    gap: 16px;
  }
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--lede-bg);
  color: var(--accent);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 900px) {
  .faq-item summary::after {
    width: 26px;
    height: 26px;
    font-size: 16px;
  }
}
.faq-item[open] summary::after {
  content: "\2013";
}
.faq-ans {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.85;
  padding-top: 12px;
}
@media (min-width: 900px) {
  .faq-ans {
    font-size: 14px;
    max-width: 680px;
  }
}
.faq-ans p {
  margin: 0 0 9px;
}
.faq-ans p:last-child {
  margin-bottom: 0;
}

.contact-card {
  text-align: center;
  padding: 34px 22px;
  background: var(--lede-bg);
  border: 1px solid var(--line);
}
@media (min-width: 900px) {
  .contact-card {
    padding: 48px 40px;
  }
}
.contact-card p {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 20px;
}
@media (min-width: 900px) {
  .contact-card p {
    font-size: 14px;
    margin-bottom: 22px;
  }
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 15px;
  border-radius: 4px;
}
@media (min-width: 900px) {
  .btn-primary {
    min-height: 52px;
    padding: 0 30px;
    font-size: 16px;
  }
}
.tester-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.contact-sub {
  font-size: 12px !important;
  color: var(--muted) !important;
  margin: 16px 0 0 !important;
}
@media (min-width: 900px) {
  .contact-sub {
    font-size: 12px !important;
  }
}
.contact-sub a {
  color: var(--muted);
  text-decoration: underline;
}

/* 10/26 事前予約のボタン（ヒーロー） */
.hero-cta { margin: -6px 0 18px; }

/* 10/26 紹介用の画像ページ */
.press-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
@media (min-width: 900px) { .press-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.press-item { margin: 0; }
.press-item img { width: 100%; height: auto; display: block; border-radius: 12px; border: 1px solid rgba(0,0,0,.08); }
.press-item figcaption { font-size: 12px; color: var(--muted); margin-top: 6px; text-align: center; }
