/* 案5-1 P仕上げ ─ 白・墨・朱。朱は「D」と「近日公開」だけ。D の傾きと帯の端は同じ16度（tan16 = .2867）
   ロゴの字は端末のヒラギノ角ゴ W9（同梱しない）。無い端末は Archivo Black（ODDPOCKET404 の字だけ同梱・OFL） */

@font-face {
  font-family: "AB";
  src: url("fonts/archivo-black.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}

:root {
  --paper: #FFFFFF;
  --ink: #141414;
  --sub: #4A4A4A;
  --line: #DADADA;
  --shu: #E9472F;            /* D と「近日公開」だけ。朱の上の字は墨（5.0:1） */
  --tilt: -16deg;            /* 傾きの数字はこれ1つ */
  --logo: "Hiragino Sans", "AB", sans-serif;
  --jp: "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--paper); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 16px; line-height: 1.9; letter-spacing: .04em;
  overflow-x: hidden; overflow-wrap: anywhere; line-break: strict;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-underline-offset: .25em; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--jp); font-weight: 800; font-feature-settings: "palt"; letter-spacing: 0; }
ul, ol { margin: 0; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.ph, .nw { display: inline-block; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── ロゴ（S08：白い地に朱の D。左16度・P 側に寄せて前の D とすき間）── */
.logo { font-family: var(--logo); font-weight: 900; line-height: 1; white-space: nowrap; letter-spacing: 0; font-feature-settings: "kern"; }
.logo .d, .giant .d {
  display: inline-block; color: var(--shu);
  margin-left: .12em; margin-right: -.06em;
  transform-origin: 30% 90%; transform: rotate(var(--tilt)) translateY(-.06em);
}

/* ── 上のメニュー ── */
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.site-header .home { display: inline-flex; align-items: center; min-height: 44px; font-size: 24px; text-decoration: none; padding-right: 6px; }
.site-nav ul { display: flex; list-style: none; margin: 0; padding: 0; }
.site-nav a { white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-weight: 700; text-decoration: none; letter-spacing: .08em; }
.site-nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; }

/* ── 下の欄 ── */
.site-footer { border-top: 2px solid var(--ink); margin-top: 120px; padding: 40px 0 72px; }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 48px; align-items: end; }
.site-footer .logo { font-size: 36px; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 0 24px; list-style: none; padding: 0; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer .copy { color: var(--sub); }
.site-footer .f-mail { display: inline-flex; flex-wrap: wrap; align-items: center; column-gap: .7em; }
.site-footer .f-label { font-weight: 700; color: var(--sub); }
.site-footer .f-mail a { -webkit-user-select: text; user-select: text; }

/* ── ボタン（墨の四角。朱は使わない）── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px;
  background: var(--ink); color: var(--paper); font-family: var(--jp); font-weight: 800; font-size: 17px;
  letter-spacing: .06em; text-decoration: none; box-shadow: inset 0 0 0 2px var(--ink);
}
.btn:hover { background: var(--paper); color: var(--ink); }
.btn.line { background: var(--paper); color: var(--ink); }
.btn.line:hover { background: var(--ink); color: var(--paper); }
.go { margin-top: 24px; }

/* ── 近日公開（押せない札。右の端だけ16度に切る）── */
.soon {
  display: inline-flex; align-items: center; min-height: 56px; padding: 0 46px 0 22px;
  background: var(--shu); color: var(--ink); font-family: var(--jp); font-weight: 800; font-size: 24px; letter-spacing: .2em;
  clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%); cursor: default; user-select: none;
}
.when { margin-top: 10px; font-weight: 700; }
a.soon { cursor: pointer; user-select: auto; text-decoration: none; white-space: nowrap; }
a.soon:hover, a.soon:focus-visible { background: var(--ink); color: var(--paper); }

/* ── 特大の字（案P）── */
.w { margin: 0; font-family: var(--jp); font-weight: 800; line-height: 1.02; letter-spacing: -.02em; white-space: nowrap; font-feature-settings: "palt"; }
.w.fill { color: var(--ink); }
.w.line { color: transparent; -webkit-text-stroke: 3px var(--ink); }
.giant {
  margin: 0; font-family: var(--logo); font-weight: 900; line-height: .86; letter-spacing: -.01em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 3px var(--ink); font-size: var(--g);
}
.giant .t { display: inline-block; }
.giant .d { -webkit-text-stroke: 0; }

/* ── 黒い斜めの帯（話す。は左から、撮る。は右から）── */
.band-row { overflow-x: clip; }
.band {
  --h: 264px; --x: 76px;  /* 帯の端：高さ × tan16° ＝ D と同じ傾き。高さは字の1.5倍（1.3倍では字の上が帯の切り抜きに近く、欠けて見えた） */
  display: block; width: fit-content; max-width: 100%; margin: 0; background: var(--ink); color: var(--paper);
  font-family: var(--jp); font-size: 176px; font-weight: 800; line-height: var(--h); height: var(--h);
  white-space: nowrap; letter-spacing: -.02em; font-feature-settings: "palt";
}
.band.left { padding: 0 calc(var(--x) + 40px) 0 max(24px, calc((100vw - 1280px) / 2 + 24px)); clip-path: polygon(0 0, calc(100% - var(--x)) 0, 100% 100%, 0 100%); }
.band.right { margin-left: auto; padding: 0 max(24px, calc((100vw - 1280px) / 2 + 24px)) 0 calc(var(--x) + 40px); clip-path: polygon(0 0, 100% 0, 100% 100%, var(--x) 100%); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .band.left { animation: in-left linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
    .band.right { animation: in-right linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
  }
}
@keyframes in-left { from { transform: translateX(-62%); } to { transform: none; } }
@keyframes in-right { from { transform: translateX(62%); } to { transform: none; } }

.chunk { padding-top: 56px; padding-bottom: 128px; }
.chunk h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.35; }
.kicker { margin-top: 10px; font-family: var(--jp); font-weight: 800; font-size: 20px; line-height: 1.5; color: var(--sub); }
.nots { list-style: none; padding: 0; margin: 24px 0 0; }
.nots li { padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 18px; }
.nots li:first-child { border-top: 2px solid var(--ink); }
.nots li .s { display: block; font-weight: 400; font-size: 16px; color: var(--sub); }

/* ── iPhone の枠（CSS で描く）── */
.phone { position: relative; display: block; margin: 0; background: var(--ink); padding: 9px; border-radius: 46px; width: 300px; box-shadow: 0 0 0 1.5px #3A3A3A inset; }
.phone img { border-radius: 37px; width: 100%; aspect-ratio: 1206 / 2622; object-fit: cover; background: #F2F2F2; }
.phone::after { content: ""; position: absolute; top: 19px; left: 50%; width: 30%; height: 3.4%; max-height: 26px; transform: translateX(-50%); background: var(--ink); border-radius: 20px; }

/* ===== トップ ===== */
.hero-top { padding: 24px 0 88px; }
.ht {
  --g: min(calc((100vw - 48px) / 5.4), 228px);
  display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "odd intro" "pocket pocket";
  column-gap: 56px; align-items: end;
}
.ht .odd { grid-area: odd; }
.ht .pocket { grid-area: pocket; margin-top: .05em; }
.ht .intro-box { grid-area: intro; padding-bottom: 10px; }
.ht .intro { font-size: 18px; line-height: 1.8; font-weight: 700; max-width: 26em; }
.ht h1 { font-size: clamp(28px, 3.1vw, 40px); line-height: 1.3; margin: 16px 0 22px; }
.ht .go { margin-top: 0; }

.first .wrap { border-top: 2px solid var(--ink); padding-top: 36px; }
.fg { display: grid; grid-template-columns: minmax(0, 1fr) 300px; grid-template-areas: "big phone" "text phone"; column-gap: 56px; align-items: start; }
.fg .big { grid-area: big; font-size: min(232px, calc((100vw - 404px) / 3.05)); }
.fg .text { grid-area: text; margin-top: 20px; }
.fg h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.3; }
.fg .name { margin-top: 20px; font-size: 20px; line-height: 1.5; }
.fg .desc { margin-top: 10px; max-width: 30em; }
.fg .when { margin-top: 10px; }
.fg .ph-link { grid-area: phone; display: block; }
/* 次のアプリの行（アプリ一覧の「iPhone 用／基本無料」の行と同じ形：上に墨の線・下に薄い線・墨の太字） */
.slot { max-width: 30em; margin-top: 56px; padding: 10px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 700; }

.think { padding-top: 128px; }
.think .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 72px; align-items: start; }
.think h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.25; }
.think .nots { margin-top: 0; }
.think .body { margin-top: 0; }
.think .body p { font-size: 18px; line-height: 1.9; }

.name-note { padding-top: 96px; }
.name-note .wrap > div { max-width: 40em; border-left: 6px solid var(--ink); padding-left: 20px; }
.name-note .odd-line { font-weight: 800; font-size: 18px; }

.news { padding-top: 112px; }
.news h2, .contact h2 { font-size: 32px; line-height: 1.3; margin-bottom: 20px; }
.ledger { list-style: none; padding: 0; border-top: 2px solid var(--ink); }
.ledger li { display: grid; grid-template-columns: 13em minmax(0, 1fr); gap: 0 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ledger time { font-weight: 700; }

.contact { padding-top: 112px; }
.contact .addr { margin: 8px 0; font-family: var(--logo); font-weight: 900; font-size: clamp(26px, 5.4vw, 64px); line-height: 1.2; letter-spacing: 0; }
.contact .addr a { text-decoration-thickness: 3px; text-underline-offset: .15em; }
.contact a { -webkit-user-select: text; user-select: text; }
.contact .c-label { font-family: var(--jp); font-weight: 800; font-size: 18px; line-height: 1.5; }
.contact .c-work .c-label { font-size: clamp(22px, 2.4vw, 28px); }
.contact .c-note { color: var(--sub); }
.contact .c-support { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); max-width: 40em; }
.contact .addr2 { margin: 4px 0 6px; font-family: var(--logo); font-weight: 900; font-size: clamp(20px, 2.6vw, 30px); line-height: 1.3; letter-spacing: 0; }
.contact .addr2 a { text-decoration-thickness: 2px; text-underline-offset: .15em; }
.contact .c-support .go { margin-top: 18px; }

/* ===== アプリ一覧 ===== */
.apps-head { padding: 16px 0 56px; }
.apps-head h1.w { font-size: min(240px, calc((100vw - 48px) / 3.1)); font-weight: 800; letter-spacing: -.02em; }
.apps-head .lead { margin-top: 12px; font-size: 20px; font-weight: 700; }
.apps-list .wrap > .row { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 40px 72px; border-top: 2px solid var(--ink); padding-top: 48px; }
.apps-list .info h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.3; }
.apps-list .desc { margin-top: 16px; font-size: 18px; max-width: 30em; }
.apps-list .spec { list-style: none; padding: 0; margin-top: 24px; max-width: 30em; }
.apps-list .spec li { padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 700; }
.apps-list .spec li:first-child { border-top: 2px solid var(--ink); }

/* ===== 家計簿のページ ===== */
.kk-hero { padding: 12px 0 72px; }
.kk {
  display: grid; grid-template-columns: auto minmax(0, 1fr) 290px;
  grid-template-areas: "big big phone" "say text phone";
  column-gap: 44px; align-items: end;
}
.kk .big { grid-area: big; font-size: min(184px, 14.4vw); }
.kk .say { grid-area: say; align-self: center; }
.kk .s1, .kk .s2 { font-size: min(148px, 11.6vw); }
.kk .text { grid-area: text; align-self: center; padding: 8px 0 14px; }
.kk .soon-box { margin-top: 26px; }
.kk .phone { grid-area: phone; align-self: start; width: 290px; margin-top: 8px; }
.kk h1 { font-size: clamp(28px, 2.9vw, 38px); line-height: 1.3; }
.kk .kk-name { margin-top: 14px; font-family: var(--jp); font-weight: 800; font-size: 18px; }
.kk .kk-lead { margin-top: 6px; max-width: 32em; }

.claim .wrap { border-top: 2px solid var(--ink); padding-top: 40px; padding-bottom: 64px; }
.claim h2 { font-size: clamp(44px, 7.6vw, 104px); line-height: 1.15; }
.claim .story { margin-top: 32px; max-width: 34em; }
.claim .story p { font-family: var(--jp); font-weight: 700; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.8; }
.claim .story p + p { margin-top: 6px; }

.siri { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px 72px; align-items: end; }
.talk { margin-top: 36px; }
.talk .who { display: block; font-size: 16px; font-weight: 700; color: var(--sub); letter-spacing: .1em; }
.talk .q { font-family: var(--jp); font-weight: 800; font-size: 28px; color: var(--sub); }
.talk .a { margin-top: 10px; font-family: var(--jp); font-weight: 800; font-size: min(74px, calc((100vw - 48px) / 9)); line-height: 1.1; letter-spacing: -.01em; white-space: nowrap; }
.siri .body p + p, .receipt-sec .body p + p, .keep .body p + p { margin-top: 14px; }
.note { color: var(--sub); }

.receipt-sec .grid { display: grid; grid-template-columns: 320px 280px minmax(0, 1fr); gap: 40px 56px; align-items: start; margin-top: 48px; }
.receipt-wrap { position: relative; }
.receipt {
  position: relative; background: var(--paper); padding: 40px 28px 44px; margin-top: 24px; border: 2px solid var(--ink); border-bottom: 0;
  font-feature-settings: "tnum";
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), 95% 100%, 90% calc(100% - 10px), 85% 100%, 80% calc(100% - 10px), 75% 100%, 70% calc(100% - 10px), 65% 100%, 60% calc(100% - 10px), 55% 100%, 50% calc(100% - 10px), 45% 100%, 40% calc(100% - 10px), 35% 100%, 30% calc(100% - 10px), 25% 100%, 20% calc(100% - 10px), 15% 100%, 10% calc(100% - 10px), 5% 100%, 0 calc(100% - 10px));
}
.staple { position: absolute; top: 12px; left: 50%; width: 64px; height: 8px; transform: translateX(-50%); z-index: 2; background: linear-gradient(#C9CACC, #8E9094); border-radius: 2px; }
.receipt .shop { text-align: center; font-weight: 800; font-size: 20px; letter-spacing: .2em; padding-bottom: 14px; border-bottom: 2px dashed rgba(20,20,20,.35); }
.receipt dl { margin: 14px 0 0; }
.receipt .row { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.receipt dt, .receipt dd { margin: 0; }
.receipt dd { white-space: nowrap; }
.receipt .total { margin-top: 14px; padding-top: 12px; border-top: 2px dashed rgba(20,20,20,.35); align-items: baseline; font-weight: 800; }
.receipt .total dd { font-family: var(--logo); font-weight: 900; font-size: 26px; letter-spacing: 0; }
.receipt-sec .phone { width: 280px; }
.receipt-sec .body { font-size: 18px; padding-top: 24px; }

.more .wrap { display: grid; grid-template-columns: 300px minmax(0, 1fr) 220px; gap: 40px 56px; align-items: start; border-top: 2px solid var(--ink); padding-top: 56px; }
.more .lead-1 { font-family: var(--jp); font-weight: 800; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.45; }
.more .lead-1 + p { margin-top: 14px; }
.more .cal .phone { width: 220px; border-radius: 36px; padding: 7px; }
.more .cal .phone img { border-radius: 29px; }
.more .cal p { margin-top: 16px; }

.keep .btn { margin-top: 28px; }
.change { padding-bottom: 112px; }
.change .box { border: 2px solid var(--ink); padding: 36px; max-width: 880px; }
.change h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.35; }
.change .box p:first-of-type { margin-top: 12px; }

.price .wrap, .faq-sec .wrap { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 20px 72px; border-top: 2px solid var(--ink); padding-top: 40px; }
.price h2, .faq-sec h2 { font-size: clamp(32px, 4vw, 56px); line-height: 1.2; }
.price .body p + p { margin-top: 10px; }
.price .body { font-size: 18px; }
.faq-sec { padding-top: 112px; }
.faq { margin: 0; }
.faq .qa { padding: 20px 0; border-bottom: 1px solid var(--line); }
.faq .qa:first-child { padding-top: 0; }
.faq dt { font-family: var(--jp); font-weight: 800; font-size: 20px; line-height: 1.5; font-feature-settings: "palt"; letter-spacing: 0; }
.faq dd { margin: 8px 0 0; }
.faq dd p + p { margin-top: 8px; }
.faq dd .go { margin-top: 12px; }

/* ===== サポート・ポリシー・特商法（長い文を読む紙）===== */
.sheet-page .band { --fs: 140px; --h: max(56px, calc(var(--fs) * 1.6)); --x: calc(var(--h) * .2867); font-size: var(--fs); }
.sheet { max-width: 780px; padding-top: 56px; }
.sheet > p, .sheet section > p, .sheet ul, .sheet ol, .sheet dl, .sheet .caution { margin: 0 0 20px; }
.sheet h2 { font-size: 26px; line-height: 1.4; margin: 64px 0 18px; padding-top: 16px; border-top: 2px solid var(--ink); }
.sheet section:first-child h2, .sheet > section:first-of-type h2 { margin-top: 8px; }
.sheet h3 { font-size: 19px; line-height: 1.5; margin: 32px 0 10px; }
.sheet a { text-decoration-thickness: 1px; }
.sheet .mail { font-family: var(--logo); font-weight: 900; font-size: clamp(22px, 4vw, 34px); line-height: 1.4; letter-spacing: 0; }
.sheet .list { padding-left: 1.3em; }
.sheet .list li + li { margin-top: 6px; }
.sheet .steps { list-style: none; padding: 0; counter-reset: s; }
.sheet .steps li { counter-increment: s; position: relative; padding: 8px 0 8px 48px; border-bottom: 1px solid var(--line); }
.sheet .steps li::before { content: counter(s); position: absolute; left: 0; top: 10px; width: 30px; height: 30px; line-height: 30px; text-align: center; background: var(--ink); color: var(--paper); font-family: var(--logo); font-weight: 900; letter-spacing: 0; }
.sheet .step-note { color: var(--sub); }
.sheet .notice { border-left: 6px solid var(--ink); padding-left: 20px; margin-top: 40px; }
.sheet .notice h2 { border-top: 0; padding-top: 0; margin-top: 0; }
.sheet .caution { border: 2px solid var(--ink); padding: 4px 24px 20px; margin-top: 32px; }
.sheet .caution .list { margin-bottom: 0; }
.sheet .faq .qa { padding: 16px 0; }
.sheet .faq .qa:first-child { padding-top: 0; }
.sheet .faq dt { font-size: 18px; }
.sheet .faq dd p { margin: 0; }
.sheet .date { text-align: right; margin-top: 40px; }
.sheet .sub-h { font-weight: 800; margin-top: 24px; margin-bottom: 4px !important; }
.sheet .info { display: grid; grid-template-columns: 13em minmax(0, 1fr); border-top: 2px solid var(--ink); }
.sheet .info .row { display: contents; }
.sheet .info dt, .sheet .info dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
.sheet .info dt { font-weight: 800; padding-right: 20px; }

/* ===== 404 ===== */
.lost { padding: 24px 0 0; }
.lost .w.line { font-family: var(--logo); font-weight: 900; font-size: min(300px, calc((100vw - 48px) / 2.3)); line-height: .9; letter-spacing: 0; }
.lost h1 { margin-top: 32px; font-size: clamp(28px, 4vw, 44px); }
.lost .msg { margin-top: 14px; font-size: 18px; }
.lost .go { margin-top: 32px; }

/* ===== 幅の狭い所 ===== */
@media (max-width: 1100px) {
  .receipt-sec .grid { grid-template-columns: 320px 280px; }
  .receipt-sec .body { grid-column: 1 / -1; }
  .more .wrap { grid-template-columns: 260px minmax(0, 1fr); }
  .more .cal { grid-column: 1 / -1; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 0 40px; align-items: center; }
}
@media (max-width: 900px) {
  .kk { grid-template-columns: auto minmax(0, 1fr) 220px; }
  .kk .phone { width: 220px; border-radius: 36px; padding: 7px; }
  .kk .phone img { border-radius: 29px; }
  .fg { grid-template-columns: minmax(0, 1fr) 220px; }
  .fg .phone { width: 220px; border-radius: 36px; padding: 7px; }
  .fg .phone img { border-radius: 29px; }
}
@media (max-width: 700px) {
  .site-header .wrap { min-height: 56px; }
  .site-header .home { font-size: 20px; }
  .site-nav a { padding: 0 8px; letter-spacing: .02em; }
  .site-footer .wrap { grid-template-columns: minmax(0, 1fr); }
  .site-footer { margin-top: 88px; }
  .w.line, .giant { -webkit-text-stroke-width: 2px; }
  .giant .d { -webkit-text-stroke-width: 0; }

  .band { --h: 104px; --x: 30px; font-size: 60px; }
  .chunk { padding-top: 36px; padding-bottom: 88px; }
  .kicker { font-size: 18px; }

  /* トップ */
  .hero-top { padding: 12px 0 72px; }
  .ht { --g: calc((100vw - 48px) / 5.4); grid-template-columns: minmax(0, 1fr); grid-template-areas: "odd" "pocket" "intro"; }
  .ht .intro-box { padding-top: 28px; padding-bottom: 0; }
  .ht .intro { font-size: 16px; }
  .ht h1 { font-size: 26px; }
  .fg { grid-template-columns: minmax(0, 1fr) 112px; grid-template-areas: "big phone" "h phone" "text text"; column-gap: 14px; }
  .fg .big { font-size: calc((100vw - 48px - 126px) / 3.05); }
  .fg .text { display: contents; }
  .fg h2 { grid-area: h; font-size: 24px; margin-top: 14px; align-self: start; }
  .fg .rest { grid-area: text; margin-top: 8px; }
  .fg .phone { width: 112px; border-radius: 20px; padding: 4px; }
  .fg .phone img { border-radius: 16px; }
  .fg .phone::after { top: 9px; }
  .think { padding-top: 88px; }
  .think .wrap { grid-template-columns: minmax(0, 1fr); }
  .think h2 { font-size: 30px; }
  .name-note { padding-top: 72px; }
  .news, .contact { padding-top: 80px; }
  .ledger li { grid-template-columns: minmax(0, 1fr); }
  .contact .addr { font-size: min(26px, calc((100vw - 48px) / 13.6)); white-space: nowrap; }
  .contact .addr2 { font-size: min(20px, calc((100vw - 48px) / 15.5)); white-space: nowrap; }

  /* アプリ一覧 */
  .apps-list .wrap > .row { grid-template-columns: 120px minmax(0, 1fr); gap: 24px 16px; }
  .apps-list .ph-link .phone { width: 120px; border-radius: 22px; padding: 5px; }
  .apps-list .ph-link .phone img { border-radius: 17px; }
  .apps-list .ph-link .phone::after { top: 9px; }
  .apps-list .info h2 { font-size: 24px; }
  .apps-list .desc { font-size: 16px; }
  .apps-list .info { display: contents; }
  .apps-list .ph-link { grid-row: 1 / 3; }
  .apps-list .info h2, .apps-list .desc { grid-column: 2; }
  .apps-list .desc { margin-top: 0; }
  .apps-list .spec, .apps-list .info .go { grid-column: 1 / -1; }

  /* 家計簿のページ */
  .kk-hero { padding: 8px 0 56px; }
  .kk { grid-template-columns: minmax(0, 1fr) 132px; grid-template-areas: "big big" "say phone" "soon phone"; column-gap: 12px; align-items: start; }
  .kk .big { font-size: calc((100vw - 48px) / 3.05); }
  .kk .s1, .kk .s2 { font-size: calc((100vw - 48px - 144px) / 2.1); }
  .kk .phone { width: 132px; border-radius: 24px; padding: 5px; margin-top: 0; }
  .kk .phone img { border-radius: 19px; }
  .kk .phone::after { top: 10px; }
  .kk .say { align-self: start; }
  .kk .soon-box { grid-area: soon; align-self: start; margin-top: 10px; }
  .soon { font-size: 18px; min-height: 48px; padding: 0 30px 0 14px; letter-spacing: .14em; }
  a.soon { font-size: 16px; letter-spacing: 0; padding: 0 24px 0 12px; }
  .when { font-size: 16px; line-height: 1.6; }
  .kk .text { display: contents; }
  .kk .text > :not(.soon-box) { grid-column: 1 / -1; }
  .kk h1 { font-size: 28px; margin-top: 28px; }
  .claim .wrap { padding-top: 28px; padding-bottom: 48px; }
  .siri { grid-template-columns: minmax(0, 1fr); }
  .talk .q { font-size: 22px; }
  .receipt-sec .grid { grid-template-columns: minmax(0, 1fr) 118px; gap: 24px 12px; margin-top: 32px; }
  .receipt { padding: 34px 12px 38px; letter-spacing: 0; }
  .receipt .row { gap: 6px; }
  .receipt dt { white-space: nowrap; }
  .receipt .shop { font-size: 17px; letter-spacing: .1em; }
  .receipt .total dd { font-size: 21px; }
  .receipt-sec .phone { width: 118px; border-radius: 22px; padding: 5px; margin-top: 24px; }
  .receipt-sec .phone img { border-radius: 17px; }
  .receipt-sec .phone::after { top: 9px; }
  .receipt-sec .body { font-size: 16px; padding-top: 0; }
  .more .wrap { grid-template-columns: 120px minmax(0, 1fr); gap: 24px 16px; }
  .more .phone-main { width: 120px; border-radius: 22px; padding: 5px; }
  .more .phone-main img { border-radius: 17px; }
  .more .phone-main::after { top: 9px; }
  .more .text { display: contents; }
  .more .lead-1 { grid-column: 2; align-self: center; font-size: 20px; }
  .more .text > :not(.lead-1) { grid-column: 1 / -1; }
  .more .cal { grid-template-columns: 120px minmax(0, 1fr); gap: 0 16px; }
  .more .cal .phone { width: 120px; border-radius: 22px; padding: 5px; }
  .more .cal .phone img { border-radius: 17px; }
  .more .cal .phone::after { top: 9px; }
  .more .cal p { margin-top: 0; }
  .change .box { padding: 24px 20px; }
  .price .wrap, .faq-sec .wrap { grid-template-columns: minmax(0, 1fr); }
  .faq-sec { padding-top: 80px; }
  .faq dt { font-size: 18px; }

  /* 長い文のページ */
  .sheet { padding-top: 36px; }
  .sheet h2 { font-size: 22px; margin-top: 48px; }
  .sheet .caution { padding: 4px 16px 16px; }
  .sheet .info { grid-template-columns: minmax(0, 1fr); }
  .sheet .info dt { padding-bottom: 0; border-bottom: 0; }
  .sheet .info dd { padding-top: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* 1114 配信中：とても狭い画面ではボタンの字を2行に */
@media (max-width: 359px) {
  a.soon { white-space: normal; line-height: 1.3; padding-top: 8px; padding-bottom: 8px; max-width: 100%; }
}
