:root {
  --navy-950: #061c30;
  --navy-900: #0b2c4a;
  --navy-800: #123a5e;
  --navy-700: #1d4c72;
  --sage: #92aa8b;
  --sage-light: #dce7d9;
  --gold: #d3b46f;
  --gold-light: #eee1bd;
  --ink: #152334;
  --muted: #66717d;
  --line: #dbe1e5;
  --paper: #f7f6f1;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(6, 28, 48, .12);
  --radius: 22px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy-950);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 82px;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(11, 44, 74, .09);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(calc(100% - 48px), 1280px);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 40px;
}

.brand {
  width: 188px;
  flex: 0 0 auto;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.global-nav a {
  position: relative;
  color: #293a4a;
  font-size: .875rem;
  font-weight: 650;
  letter-spacing: .025em;
}

.global-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}

.global-nav a:hover::after,
.global-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  display: grid;
  min-height: 46px;
  padding: 0 22px;
  place-items: center;
  color: var(--white);
  background: var(--navy-900);
  border: 1px solid var(--navy-900);
  border-radius: 999px;
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .03em;
  transition: background .2s ease, color .2s ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  color: var(--navy-900);
  background: var(--white);
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 35%, rgba(146, 170, 139, .22), transparent 28%),
    linear-gradient(135deg, var(--navy-950), var(--navy-900) 62%, #153d59);
}

.hero::after {
  content: "";
  position: absolute;
  right: -4%;
  bottom: -130px;
  width: 58%;
  height: 320px;
  border-radius: 50% 0 0;
  background: rgba(255, 255, 255, .035);
  transform: rotate(-7deg);
}

.hero-grid {
  position: relative;
  z-index: 2;
  min-height: 700px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 72px;
  padding-block: 76px 82px;
}

.hero-orbit {
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(211, 180, 111, .22);
  border-radius: 50%;
}

.hero-orbit-one {
  top: -320px;
  right: -180px;
  width: 780px;
  height: 780px;
}

.hero-orbit-two {
  right: 70px;
  bottom: -490px;
  width: 880px;
  height: 880px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--gold-light);
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .18em;
}

.eyebrow span {
  width: 32px;
  height: 1px;
  background: currentColor;
}

.eyebrow-dark {
  color: var(--navy-700);
}

.hero h1 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  /* 上限 4.65rem（74px）だと、長いほうの行「次の選択が変わる。」が約 640px になり、
     左の列（最大 582px）に入らず、画面幅 1355px 以上の PC で3行になっていた。
     列に収まる上限が約 67px なので、余裕を見て 4.1rem（65.6px）に（2026-09-20 本人指示） */
  font-size: clamp(2.65rem, 5vw, 4.1rem);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -.045em;
}

/* 2段組みの幅では <br> 以外で折り返さない。書体の違いで数px足りなくなっても、
   右の列との間（72px）に逃げるだけで3行にはならない */
@media (min-width: 821px) {
  .hero h1 { white-space: nowrap; }
}

.hero h1 em {
  position: relative;
  color: var(--gold-light);
  font-style: normal;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: var(--gold);
}

.hero-lead {
  max-width: 570px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, .76);
  font-size: 1.0625rem;
  line-height: 2;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 36px;
  padding: 0 26px;
  border-radius: 3px;
  font-size: .9375rem;
  font-weight: 750;
  letter-spacing: .03em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--navy-950);
  background: var(--gold-light);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .18);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 16px 38px rgba(0, 0, 0, .26);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: .9rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, .45);
}

.text-link.dark {
  color: var(--navy-900);
  border-color: rgba(11, 44, 74, .32);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 52px;
}

.note-mark {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  color: var(--gold-light);
  border: 1px solid rgba(211, 180, 111, .46);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 1.15rem;
}

.hero-note p {
  margin: 0;
  color: rgba(255, 255, 255, .58);
  font-size: .76rem;
  line-height: 1.65;
}

.hero-note strong {
  color: rgba(255, 255, 255, .92);
  font-size: .84rem;
}

.app-stage {
  position: relative;
  min-height: 550px;
  padding: 42px 24px 28px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 240px 240px 24px 24px;
  background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
}

.stage-caption {
  position: absolute;
  top: 42%;
  right: -88px;
  left: -88px;
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,255,.34);
  font-family: Georgia, serif;
  font-size: .65rem;
  letter-spacing: .18em;
  transform: rotate(90deg);
}

.phone {
  position: relative;
  width: min(330px, 84%);
  margin-inline: auto;
  padding: 23px 21px 13px;
  overflow: hidden;
  color: var(--ink);
  background: #f9faf8;
  border: 7px solid #09223a;
  border-radius: 38px;
  box-shadow: 0 38px 80px rgba(0, 0, 0, .34);
  transform: rotate(2deg);
}

.phone::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 74px;
  height: 18px;
  border-radius: 999px;
  background: #09223a;
  transform: translateX(-50%);
}

.phone-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 18px 1px 12px;
}

.phone-top small,
.phone-top strong {
  display: block;
}

.phone-top small {
  color: var(--muted);
  font-size: .62rem;
}

.phone-top strong {
  margin-top: 1px;
  font-size: .86rem;
}

.phone-top button {
  width: 28px;
  height: 28px;
  color: var(--gold);
  background: var(--white);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 3px 12px rgba(6,28,48,.08);
}

.balance-card {
  padding: 17px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-800), var(--navy-950));
  border-radius: 17px;
}

.balance-card span,
.balance-card strong,
.balance-card small {
  display: block;
}

.balance-card span {
  color: rgba(255,255,255,.62);
  font-size: .61rem;
}

.balance-card strong {
  margin-top: 4px;
  font-family: Georgia, serif;
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: .025em;
}

.budget-track {
  height: 4px;
  margin: 13px 0 6px;
  overflow: hidden;
  background: rgba(255,255,255,.17);
  border-radius: 999px;
}

.budget-track i {
  display: block;
  width: 68%;
  height: 100%;
  background: var(--gold);
  border-radius: inherit;
}

.balance-card small {
  color: rgba(255,255,255,.52);
  font-size: .55rem;
}

.phone-grid {
  display: grid;
  grid-template-columns: 112px 1fr;
  align-items: center;
  gap: 12px;
  margin-top: 13px;
  padding: 13px;
  background: var(--white);
  border-radius: 15px;
}

.donut {
  position: relative;
  display: grid;
  width: 104px;
  height: 104px;
  place-items: center;
  background: conic-gradient(var(--navy-800) 0 32%, var(--sage) 32% 60%, var(--gold) 60% 100%);
  border-radius: 50%;
}

.donut::after {
  content: "";
  position: absolute;
  width: 70px;
  height: 70px;
  background: var(--white);
  border-radius: 50%;
}

.donut div {
  z-index: 1;
  text-align: center;
}

.donut strong,
.donut small {
  display: block;
  line-height: 1.2;
}

.donut strong {
  font-family: Georgia, serif;
  font-size: .9rem;
}

.donut small {
  margin-top: 3px;
  color: var(--muted);
  font-size: .5rem;
}

.legend {
  margin: 0;
  padding: 0;
  list-style: none;
}

.legend li {
  display: grid;
  grid-template-columns: 7px 1fr auto;
  align-items: center;
  gap: 6px;
  padding: 5px 0;
  color: var(--muted);
  font-size: .55rem;
  border-bottom: 1px solid #eef0ef;
}

.legend li:last-child {
  border: 0;
}

.legend i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.legend .food { background: var(--navy-800); }
.legend .home { background: var(--sage); }
.legend .other { background: var(--gold); }
.legend b { color: var(--ink); }

.insight {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 11px;
  padding: 10px 12px;
  background: #e9f1e7;
  border-radius: 12px;
}

.insight-icon {
  display: grid;
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  place-items: center;
  color: var(--white);
  background: var(--sage);
  border-radius: 50%;
  font-size: .7rem;
}

.insight p,
.insight strong,
.insight small {
  display: block;
  margin: 0;
  line-height: 1.4;
}

.insight strong {
  font-size: .63rem;
}

.insight small {
  color: var(--muted);
  font-size: .5rem;
}

.phone-nav {
  display: flex;
  justify-content: space-around;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid #e9eceb;
}

.phone-nav span {
  display: grid;
  place-items: center;
  color: #a6acb1;
  font-size: .7rem;
}

.phone-nav small {
  margin-top: 2px;
  font-size: .46rem;
}

.phone-nav .active {
  color: var(--navy-800);
}

.release-label {
  margin: 20px 0 0;
  color: rgba(255,255,255,.48);
  text-align: center;
  font-size: .65rem;
  letter-spacing: .16em;
}

.release-label strong {
  margin-left: 10px;
  color: var(--gold-light);
}

.principles {
  color: var(--white);
  background: var(--navy-950);
  border-top: 1px solid rgba(255,255,255,.09);
}

.principle-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.principle-row p {
  display: flex;
  min-height: 82px;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0 28px;
  border-right: 1px solid rgba(255,255,255,.09);
  font-size: .82rem;
  letter-spacing: .04em;
}

.principle-row p:first-child {
  border-left: 1px solid rgba(255,255,255,.09);
}

.principle-row b {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: .7rem;
  font-weight: 400;
}

.section {
  padding-block: 112px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 48px;
}

.section-heading h2 {
  margin: 0;
  color: var(--navy-950);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.035em;
}

.section-heading > p {
  max-width: 460px;
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.topic-card {
  position: relative;
  min-height: 290px;
  padding: 24px 26px;
  overflow: hidden;
  background: var(--white);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: color .25s ease, background .25s ease, transform .25s ease;
}

.topic-card:hover,
.topic-card:focus-visible {
  z-index: 1;
  color: var(--white);
  background: var(--navy-900);
  transform: translateY(-5px);
}

.topic-card.featured {
  color: var(--white);
  background: var(--navy-900);
}

.topic-number {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: .72rem;
}

.topic-icon {
  display: grid;
  width: 72px;
  height: 72px;
  margin: 34px 0 26px;
  place-items: center;
  color: var(--navy-800);
  background: var(--paper);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 1.8rem;
}

.featured .topic-icon,
.topic-card:hover .topic-icon,
.topic-card:focus-visible .topic-icon {
  color: var(--gold-light);
  background: rgba(255,255,255,.1);
}

.topic-card p {
  margin: 0 0 4px;
  color: var(--sage);
  font-family: Georgia, serif;
  font-size: .65rem;
  letter-spacing: .14em;
}

.topic-card h3 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.2rem;
  font-weight: 600;
}

.topic-arrow {
  position: absolute;
  right: 24px;
  bottom: 22px;
  font-size: 1.1rem;
}

.articles {
  background: var(--paper);
}

.articles-heading {
  padding-bottom: 28px;
  border-bottom: 1px solid #d8dbd7;
}

.article-layout {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 72px;
}

.lead-article > a {
  display: block;
}

.article-visual {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(120deg, transparent 0 45%, rgba(255,255,255,.06) 45% 46%, transparent 46%),
    var(--navy-900);
}

.article-visual::before {
  content: "";
  position: absolute;
  top: -110px;
  right: -60px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(211,180,111,.4);
  border-radius: 50%;
}

.article-visual p {
  position: absolute;
  right: 32px;
  bottom: 27px;
  left: 32px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 0;
}

.article-visual p span {
  color: var(--gold-light);
  font-family: Georgia, serif;
  font-size: .7rem;
  line-height: 1.4;
  letter-spacing: .15em;
}

.article-visual p strong {
  font-family: Georgia, serif;
  font-size: 2.6rem;
  font-weight: 400;
}

.article-visual p small {
  margin-left: 5px;
  font-family: inherit;
  font-size: .8rem;
}

.visual-chart {
  position: absolute;
  right: 30px;
  bottom: 92px;
  left: 30px;
  height: 120px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,.22);
}

.visual-chart i {
  display: block;
  width: 16%;
  background: rgba(146,170,139,.8);
}

.visual-chart i:nth-child(1) { height: 85%; }
.visual-chart i:nth-child(2) { height: 72%; }
.visual-chart i:nth-child(3) { height: 64%; }
.visual-chart i:nth-child(4) { height: 50%; }
.visual-chart i:nth-child(5) { height: 38%; background: var(--gold); }

.lead-content {
  padding: 28px 4px 0;
}

.category {
  display: inline-block;
  color: var(--navy-700);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .07em;
}

.lead-content h3 {
  margin: 12px 0 15px;
  color: var(--navy-950);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.55;
}

.lead-content > p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}

.article-meta {
  display: flex;
  gap: 20px;
  margin-top: 18px;
  color: #8c949b;
  font-family: Georgia, serif;
  font-size: .7rem;
  letter-spacing: .04em;
}

.article-list article {
  border-top: 1px solid #d7dcd9;
}

.article-list article:last-child {
  border-bottom: 1px solid #d7dcd9;
}

.article-list a {
  display: grid;
  grid-template-columns: 34px 1fr 42px;
  align-items: center;
  gap: 18px;
  min-height: 178px;
  padding: 24px 0;
}

.list-number {
  align-self: start;
  padding-top: 2px;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: .7rem;
}

.article-list h3 {
  margin: 8px 0 12px;
  color: var(--navy-950);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.65;
}

.article-list time {
  color: #8c949b;
  font-family: Georgia, serif;
  font-size: .68rem;
}

.circle-arrow {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid #cfd5d5;
  border-radius: 50%;
  transition: color .2s ease, background .2s ease;
}

.article-list a:hover .circle-arrow,
.article-list a:focus-visible .circle-arrow {
  color: var(--white);
  background: var(--navy-900);
}

.app-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-900);
}

.app-section::before {
  content: "M";
  position: absolute;
  top: -170px;
  right: -30px;
  color: rgba(255,255,255,.025);
  font-family: Georgia, serif;
  font-size: 42rem;
  line-height: 1;
}

.app-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 100px;
}

.app-copy h2 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(2.2rem, 4vw, 3.55rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -.035em;
}

.app-copy > p {
  margin: 28px 0 0;
  color: rgba(255,255,255,.67);
  font-size: .96rem;
  line-height: 2;
}

.feature-list {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 15px;
  padding: 15px 0;
  border-top: 1px solid rgba(255,255,255,.13);
}

.feature-list li:last-child {
  border-bottom: 1px solid rgba(255,255,255,.13);
}

.feature-list li > span {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: .7rem;
}

.feature-list strong,
.feature-list small {
  display: block;
}

.feature-list strong {
  font-size: .9rem;
}

.feature-list small {
  margin-top: 3px;
  color: rgba(255,255,255,.48);
  font-size: .75rem;
}

.coming-button {
  display: inline-flex;
  min-height: 60px;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
  padding: 0 24px;
  color: var(--navy-950);
  background: var(--gold-light);
}

.coming-button span {
  font-size: .74rem;
  font-weight: 700;
}

.coming-button strong {
  font-family: Georgia, serif;
  font-size: .73rem;
  letter-spacing: .1em;
}

.data-panel {
  position: relative;
  padding: 42px;
  color: var(--ink);
  background: #f8faf7;
  box-shadow: 0 38px 90px rgba(0,0,0,.24);
}

.data-panel::after {
  content: "";
  position: absolute;
  top: -14px;
  right: -14px;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(211,180,111,.42);
  pointer-events: none;
}

.data-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.data-top p {
  margin: 0;
}

.data-top span,
.data-top strong {
  display: block;
}

.data-top p span {
  color: var(--muted);
  font-size: .76rem;
}

.data-top p strong {
  margin-top: 5px;
  color: var(--navy-950);
  font-family: Georgia, serif;
  font-size: 2.2rem;
  font-weight: 500;
}

.data-top .data-badge {
  padding: 5px 10px;
  color: var(--navy-800);
  background: var(--sage-light);
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 750;
}

.bar-chart {
  height: 250px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 17px;
  margin-top: 24px;
  padding: 15px 0 0;
  background: repeating-linear-gradient(to top, #e8ece9 0 1px, transparent 1px 62px);
  border-bottom: 1px solid #d6ddda;
}

.bar-chart div {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.bar-chart i {
  width: 72%;
  min-height: 18px;
  background: var(--sage);
}

.bar-chart span {
  color: var(--muted);
  font-size: .65rem;
}

.bar-chart .current i {
  background: var(--navy-800);
}

.bar-chart .current span {
  color: var(--navy-900);
  font-weight: 700;
}

.data-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 29px;
  border-top: 1px solid #dfe4e1;
  border-bottom: 1px solid #dfe4e1;
}

.data-summary p {
  margin: 0;
  padding: 18px 16px;
  border-right: 1px solid #dfe4e1;
}

.data-summary p:last-child {
  border: 0;
}

.data-summary small,
.data-summary strong {
  display: block;
}

.data-summary small {
  color: var(--muted);
  font-size: .65rem;
}

.data-summary strong {
  margin-top: 4px;
  color: var(--navy-900);
  font-family: Georgia, serif;
  font-size: .9rem;
}

.responsibility {
  background: var(--white);
}

.responsibility-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: end;
  gap: 90px;
}

.responsibility-title {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
}

.large-number {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 1;
}

.responsibility h2 {
  margin: 0;
  color: var(--navy-950);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -.035em;
}

.responsibility-copy {
  padding-left: 35px;
  border-left: 1px solid var(--line);
}

.responsibility-copy p {
  margin: 0;
  color: var(--muted);
  font-size: .93rem;
  line-height: 2;
}

.button-outline {
  min-height: 50px;
  margin-top: 26px;
  color: var(--navy-900);
  border: 1px solid var(--navy-900);
}

.button-outline:hover,
.button-outline:focus-visible {
  color: var(--white);
  background: var(--navy-900);
}

.site-footer {
  color: rgba(255,255,255,.68);
  background: var(--navy-950);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 100px;
  padding-block: 78px;
}

.footer-brand img {
  width: 220px;
  padding: 10px 14px;
  background: var(--white);
}

.footer-brand p {
  margin: 22px 0 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1rem;
  letter-spacing: .06em;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
}

.footer-nav strong,
.footer-nav a {
  display: block;
}

.footer-nav strong {
  margin-bottom: 17px;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: .68rem;
  letter-spacing: .16em;
}

.footer-nav a {
  margin-top: 9px;
  font-size: .78rem;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,.09);
}

.footer-bottom small,
.footer-bottom a {
  font-family: Georgia, serif;
  font-size: .62rem;
  letter-spacing: .1em;
}

@media (max-width: 1020px) {
  .global-nav {
    gap: 17px;
  }

  .global-nav a {
    font-size: .75rem;
  }

  .hero-grid {
    gap: 32px;
  }

  .stage-caption {
    display: none;
  }

  .article-layout,
  .app-grid {
    gap: 50px;
  }
}

@media (max-width: 820px) {
  .container,
  .header-inner {
    width: min(calc(100% - 36px), var(--container));
  }

  .site-header {
    height: 70px;
  }

  .brand {
    width: 158px;
  }

  .header-cta {
    display: none;
  }

  .menu-button {
    position: relative;
    z-index: 3;
    display: flex;
    width: 44px;
    height: 44px;
    margin-left: auto;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: 1px solid rgba(11,44,74,.18);
    border-radius: 50%;
  }

  .menu-button span:not(.sr-only) {
    width: 17px;
    height: 1px;
    background: var(--navy-900);
    transition: transform .2s ease, opacity .2s ease;
  }

  .menu-button[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .global-nav {
    position: fixed;
    top: 70px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 22px 18px 30px;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(6,28,48,.12);
    transform: translateY(-130%);
    visibility: hidden;
    transition: transform .25s ease, visibility .25s ease;
  }

  .global-nav.open {
    transform: translateY(0);
    visibility: visible;
  }

  .global-nav a {
    padding: 15px 4px;
    font-size: .9rem;
    border-bottom: 1px solid #edf0f1;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-block: 70px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero .eyebrow,
  .hero-actions,
  .hero-note {
    justify-content: center;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .app-stage {
    width: min(500px, 100%);
    min-height: 0;
    margin-inline: auto;
  }

  .principle-row {
    grid-template-columns: 1fr;
    padding-block: 10px;
  }

  .principle-row p,
  .principle-row p:first-child {
    min-height: 62px;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.09);
  }

  .principle-row p:last-child {
    border: 0;
  }

  .section {
    padding-block: 82px;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p,
  .section-heading > a {
    margin-top: 20px;
  }

  .topic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-layout,
  .app-grid,
  .responsibility-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .article-layout,
  .app-grid {
    gap: 70px;
  }

  .responsibility-grid {
    gap: 36px;
  }

  .responsibility-copy {
    padding: 28px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .data-panel {
    max-width: 620px;
    width: 100%;
    margin-inline: auto;
  }

  .footer-top {
    gap: 58px;
  }
}

@media (max-width: 560px) {
  .container,
  .header-inner {
    width: min(calc(100% - 28px), var(--container));
  }

  .hero-grid {
    padding-block: 56px 62px;
  }

  .hero h1 {
    /* 2行（<br> の位置）で収まる大きさにする。12vw だと長いほうの行「次の選択が変わる。」が
       9文字×45px＝405px になり、幅 375px の端末（使える幅 327px）で3行になっていた。
       9文字が (画面幅 - 48px) に入る上限が約 9.4vw なので、少し余裕を見て 9.2vw（2026-09-20 本人指示） */
    font-size: clamp(1.85rem, 9.2vw, 3.2rem);
  }

  .hero-lead {
    font-size: .94rem;
    text-align: left;
  }

  .hero-actions {
    flex-direction: column;
    gap: 22px;
  }

  .button-primary {
    width: 100%;
  }

  .hero-note {
    align-items: flex-start;
    text-align: left;
  }

  .app-stage {
    padding: 34px 8px 24px;
    border-radius: 170px 170px 18px 18px;
  }

  .phone {
    width: 88%;
    padding-inline: 17px;
    transform: rotate(0);
  }

  .phone-grid {
    grid-template-columns: 98px 1fr;
  }

  .donut {
    width: 90px;
    height: 90px;
  }

  .donut::after {
    width: 61px;
    height: 61px;
  }

  .section {
    padding-block: 68px;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .topic-grid {
    grid-template-columns: 1fr;
  }

  .topic-card {
    min-height: 200px;
  }

  .topic-icon {
    width: 54px;
    height: 54px;
    margin: 22px 0 18px;
  }

  .article-visual {
    min-height: 260px;
  }

  .article-visual p strong {
    font-size: 2rem;
  }

  .lead-content h3 br {
    display: none;
  }

  .article-list a {
    grid-template-columns: 28px 1fr;
    gap: 10px;
    min-height: 160px;
  }

  .circle-arrow {
    display: none;
  }

  .data-panel {
    padding: 28px 20px;
  }

  .data-top p strong {
    font-size: 1.65rem;
  }

  .bar-chart {
    height: 200px;
    gap: 7px;
  }

  .data-summary {
    grid-template-columns: 1fr;
  }

  .data-summary p {
    display: flex;
    justify-content: space-between;
    border-right: 0;
    border-bottom: 1px solid #dfe4e1;
  }

  .data-summary p:last-child {
    border-bottom: 0;
  }

  .data-summary strong {
    margin-top: 0;
  }

  .responsibility-title {
    grid-template-columns: 1fr;
  }

  .large-number {
    font-size: 2.7rem;
  }

  .responsibility h2 br {
    display: none;
  }

  .footer-nav {
    gap: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* ===== ここから Django 化で足した分（テンプレート styles.css には無い） =====
   記事ページ・一覧（?cat= / ?all=）・あわせて読みたい。すべて .mn-* に閉じる */
.brand img, .footer-brand img { height: auto; }   /* ロゴ PNG（688x240）を幅に合わせて縮める */
.mn .to-top { background: var(--navy-900); color: var(--white); }
.mn .to-top:hover { background: var(--navy-700); }

/* 一覧（トップの記事欄と同じ罫線リスト。サムネイル付き） */
.article-list.has-thumb a { grid-template-columns: 34px 132px 1fr 42px; min-height: 0; }
.list-thumb { display: block; overflow: hidden; border-radius: 4px; background: var(--sage-light); }
.list-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.article-visual--photo { padding: 0; background: var(--navy-900); }
.article-visual--photo img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.mn-list { background: var(--paper); }
.mn-list .article-list article:first-child { border-top: 1px solid #d7dcd9; }
.mn-empty { margin: 0; color: var(--muted); }

/* 記事ページ */
.mn-article { padding-block: 56px 96px; }
.mn-article .entry-header { max-width: 820px; margin: 0 auto 34px; }
.mn-article .entry-terms { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 14px; padding: 0; list-style: none; }
.mn-article .entry-term { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: .72rem; font-weight: 750; letter-spacing: .06em; }
.mn-article .entry-term--cat { color: var(--white); background: var(--navy-900); }
.mn-article .entry-term--tag { color: var(--navy-800); border: 1px solid var(--line); }
.mn-article .entry-meta { margin: 0; color: #8c949b; font-family: Georgia, serif; font-size: .72rem; letter-spacing: .06em; }
.mn-article .entry-title { margin: 10px 0 0; color: var(--navy-950); font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 600; line-height: 1.5; letter-spacing: -.02em; }
.mn-article .entry-thumbnail { max-width: 980px; margin: 0 auto 44px; }
.mn-article .entry-thumbnail img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }
.mn-article .entry-content { max-width: 820px; margin: 0 auto; font-size: 1rem; line-height: 2; }
.mn-article .entry-content a { color: var(--navy-700); text-decoration: underline; text-underline-offset: 3px; }
.mn-article .entry-content img { height: auto; border-radius: 6px; }
/* 見出し: h2 は紺の帯に金の縦線（明朝）、h3 は金の縦線＋下の細線、h4 は金の小さな四角 */
.mn-article .entry-content h2 { position: relative; margin: 3.2rem 0 1.4rem; padding: .7rem 1.2rem .7rem 1.5rem; color: var(--white); background: var(--navy-900); border-radius: 3px; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 1.45rem; font-weight: 600; line-height: 1.5; letter-spacing: -.01em; }
.mn-article .entry-content h2::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; border-radius: 3px 0 0 3px; background: var(--gold); }
.mn-article .entry-content h3 { position: relative; margin: 2.4rem 0 1rem; padding: .25rem 0 .55rem 16px; color: var(--navy-900); font-size: 1.2rem; font-weight: 700; line-height: 1.5; border-bottom: 1px solid var(--line); }
.mn-article .entry-content h3::before { content: ""; position: absolute; left: 0; top: .2rem; bottom: .55rem; width: 4px; background: var(--gold); }
/* h4（2026-09-20 本人指示で変更）。元は文字の左に金色の小さな四角を置くだけで、箇条書きの点に見えて
   見出しとして弱かった。h2＝紺のベタ、h3＝金の縦線＋下線 に対して、h4 はセージ色の薄い帯にして段階を付ける */
.mn-article .entry-content h4 { margin: 2rem 0 .8rem; padding: .5rem .9rem .5rem 1rem; color: var(--navy-900);
  font-size: 1.05rem; font-weight: 700; line-height: 1.6;
  background: #eef3ec; border-left: 3px solid var(--sage); border-radius: 0 4px 4px 0; }
.mn-article .entry-content h4::before { content: none; }
.mn-article .entry-content > h2:first-child { margin-top: 1rem; }
.mn-article .entry-content :is(h2, h3, h4)[id] { scroll-margin-top: 100px; }   /* 固定ヘッダー（82px）の下に隠れない */
/* 目次（mnt/toc.js が最初の h2 の前に差し込む） */
.mn-toc { margin: 2rem 0 2.8rem; padding: 1.2rem 1.5rem 1.3rem; background: var(--paper); border: 1px solid var(--line); border-radius: 3px; }
.mn-toc__head { display: flex; align-items: baseline; gap: .7rem; padding-bottom: .7rem; margin-bottom: .7rem; border-bottom: 1px solid var(--line); }
.mn-toc__en { color: var(--gold); font-family: Georgia, serif; font-size: .66rem; letter-spacing: .18em; }
.mn-toc__title { color: var(--navy-950); font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 1.1rem; font-weight: 600; }
.mn-toc__toggle { margin-left: auto; padding: .1rem .8rem; border: 1px solid var(--line); border-radius: 999px; background: none; color: var(--muted); font: 700 .68rem/1.9 inherit; letter-spacing: .04em; cursor: pointer; }
.mn-toc__list { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.mn-toc__list > li { counter-increment: toc; position: relative; padding-left: 2.1rem; margin: .4rem 0; line-height: 1.7; }
.mn-toc__list > li::before { content: counter(toc, decimal-leading-zero); position: absolute; left: 0; top: .15em; color: var(--gold); font-family: Georgia, serif; font-size: .72rem; }
.mn-toc__sub { margin: .2rem 0 .4rem; padding-left: .1rem; list-style: none; }
.mn-toc__sub > li { position: relative; padding-left: 1rem; margin: .15rem 0; font-size: .9rem; line-height: 1.6; }
.mn-toc__sub > li::before { content: ""; position: absolute; left: 0; top: .72em; width: 5px; height: 5px; background: var(--sage); }
.mn-toc a, .mn-article .entry-content .mn-toc a { color: var(--ink); text-decoration: none; }   /* 本文リンクの下線を打ち消す */
.mn-toc a:hover, .mn-article .entry-content .mn-toc a:hover { color: var(--navy-700); text-decoration: underline; text-underline-offset: 3px; }
.mn-toc.is-closed .mn-toc__list { display: none; }
.mn-toc.is-closed .mn-toc__head { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.mn-article .entry-content ul, .mn-article .entry-content ol { padding-left: 1.5rem; }
.mn-article .entry-content ul li::marker { color: var(--gold); }
.mn-article .entry-content ol li::marker { color: var(--navy-800); font-weight: 700; }
.mn-article .entry-content blockquote:not(.instagram-media):not(.twitter-tweet) { margin: 1.8rem 0; padding: 1rem 1.3rem; color: #3b4753; background: var(--paper); border-left: 3px solid var(--navy-800); }
.mn-article .entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 2.4rem 0; }
/* 表: 見出し行は紺、項目名の列は紙色に金のアクセント */
.mn-article .entry-content .table-wrap, .mn-article .entry-content .scroll-box { margin: 1.8rem 0; border-radius: 6px; }
.mn-article .entry-content table { border-collapse: separate; border-spacing: 0; width: 100%; margin: 1.8rem 0; font-size: .93rem; line-height: 1.75; background: var(--white); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.mn-article .entry-content .table-wrap > table, .mn-article .entry-content .scroll-box > table { margin: 0; }
.mn-article .entry-content th, .mn-article .entry-content td { padding: .8rem 1.1rem; border: 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.mn-article .entry-content tr:last-child > th, .mn-article .entry-content tr:last-child > td { border-bottom: 0; }
.mn-article .entry-content th { background: var(--paper); color: var(--navy-900); font-weight: 700; }
.mn-article .entry-content tr > th:first-child:not(:only-child) { width: 28%; min-width: 6.5em; border-right: 1px solid var(--line); box-shadow: inset 3px 0 0 var(--gold); }
.mn-article .entry-content thead th, .mn-article .entry-content tr:has(> th + th) > th { background: var(--navy-900); color: var(--white); letter-spacing: .04em; width: auto; min-width: 0; border-right: 0; border-bottom-color: var(--navy-900); box-shadow: none; }
.mn-article .entry-content tbody tr:nth-child(even) > td { background: #fafaf7; }
.mn-article .entry-content td > p { margin: 0 0 .6em; }
.mn-article .entry-content td > p:last-child { margin-bottom: 0; }

/* あわせて読みたい（記事の下） */
.mn-related { padding-block: 72px 90px; background: var(--paper); }
.mn-related .section-heading { margin-bottom: 28px; }
@media (max-width: 820px) {
  .article-list.has-thumb a { grid-template-columns: 28px 96px 1fr; }
  .mn-article { padding-block: 40px 70px; }
}
@media (max-width: 560px) {
  .article-list.has-thumb a { grid-template-columns: 1fr; gap: 10px; }
  .article-list.has-thumb .list-number { display: none; }
  .mn-article .entry-content th, .mn-article .entry-content td { padding: .65rem .75rem; font-size: .88rem; }
}

/* 会話の吹き出し（旧サイト Cocoon の speech-balloon マークアップ。くれぽん／オペレーター）
   .sbp-l = 人物が左、.sbp-r = 右。.sbs-line = くれぽん（LINE 風＝色付き）、.sbs-stn = 相手（白） */
.mn-article .entry-content .speech-wrap { display: flex; align-items: flex-start; gap: 14px; margin: 1.6rem 0; }
.mn-article .entry-content .speech-wrap.sbp-r { flex-direction: row-reverse; }
.mn-article .entry-content .speech-person { flex: 0 0 68px; text-align: center; }
.mn-article .entry-content .speech-icon { margin: 0; }
.mn-article .entry-content .speech-icon-image { width: 64px; height: 64px; margin: 0 auto; object-fit: cover; border-radius: 50%; border: 2px solid var(--white); box-shadow: 0 0 0 1px var(--line), 0 6px 16px rgba(6, 28, 48, .10); }
.mn-article .entry-content .speech-name { margin-top: 5px; color: var(--muted); font-size: .68rem; line-height: 1.3; font-weight: 700; }
.mn-article .entry-content .speech-balloon { position: relative; flex: 0 1 auto; max-width: calc(100% - 82px); padding: .85rem 1.1rem; background: var(--white); border: 1px solid var(--line); border-radius: 14px; font-size: .95rem; line-height: 1.8; }
.mn-article .entry-content .speech-balloon::before, .mn-article .entry-content .speech-balloon::after { content: ""; position: absolute; top: 22px; border: 9px solid transparent; }
.mn-article .entry-content .sbp-l .speech-balloon::before { left: -18px; border-right-color: var(--line); }
.mn-article .entry-content .sbp-l .speech-balloon::after { left: -16px; border-right-color: var(--white); }
.mn-article .entry-content .sbp-r .speech-balloon::before { right: -18px; border-left-color: var(--line); }
.mn-article .entry-content .sbp-r .speech-balloon::after { right: -16px; border-left-color: var(--white); }
.mn-article .entry-content .sbs-line .speech-balloon { background: var(--sage-light); border-color: var(--sage-light); }
.mn-article .entry-content .sbs-line.sbp-l .speech-balloon::before, .mn-article .entry-content .sbs-line.sbp-l .speech-balloon::after { border-right-color: var(--sage-light); }
.mn-article .entry-content .sbs-line.sbp-r .speech-balloon::before, .mn-article .entry-content .sbs-line.sbp-r .speech-balloon::after { border-left-color: var(--sage-light); }
.mn-article .entry-content .speech-balloon > p { margin: 0; }
.mn-article .entry-content .speech-balloon > p + p { margin-top: .5em; }
.mn-article .entry-content .speech-wrap + .speech-wrap { margin-top: -.4rem; }
@media (max-width: 560px) {
  .mn-article .entry-content .speech-person { flex-basis: 56px; }
  .mn-article .entry-content .speech-icon-image { width: 52px; height: 52px; }
  .mn-article .entry-content .speech-balloon { max-width: calc(100% - 68px); font-size: .9rem; }
}

/* ─── スマホでアプリの画面が切れる（2026-09-20 本人指示）───────────────────
   共通の extra.css が .hero に height: 70svh / 546px / 490px を当てており（コーポレート用）、
   マネトナリの .hero もそれを拾って高さが固定され、overflow: hidden で端末の絵が
   上だけしか見えていなかった。画面が縦積みになる幅では、中身ぶん伸ばす。 */
.mn .hero { height: auto; }   /* PC でも同じ。70svh に固定されて、左の列の下（「お金の選択を、いつもとなりで。」）が切れていた */

/* ─── 節の色の並び（2026-09-20 本人指示）────────────────────────────────
   アプリ紹介を記事より前へ出した結果、ヒーロー（濃紺）→方針（最も濃い紺）→
   アプリ紹介（濃紺）と暗い面が3つ続いて重くなった。アプリ紹介を明るい面にして
   「濃紺 → 細い濃紺の帯 → 明るい面（アプリ）→ 白（悩み）→ 生成り（記事）」の並びにする。
   中のデータパネルは元から明るい面なので、外枠の色と文字だけ入れ替える。 */
.app-section { color: var(--ink); background: var(--paper); }
.app-section::before { color: rgba(11, 44, 74, .045); }   /* 背景の大きな M */
.app-copy > p { color: var(--muted); }
.feature-list li { border-top-color: var(--line); }
.feature-list li:last-child { border-bottom-color: var(--line); }
.feature-list small { color: var(--muted); }
.coming-button { color: var(--gold-light); background: var(--navy-900); }
/* 明るい面が続くので、データパネルは白にして生成りの地から浮かせる */
.data-panel { background: var(--white); box-shadow: var(--shadow); }

/* ─── アプリの画面と注釈（2026-09-20 本人指示）──────────────────────────
   作り物のグラフをやめ、実機の画面（app-home.webp）を出す。
   レシート読み取りは撮影状態で結果が変わるので、機能一覧のすぐ下に注釈を置く。 */
.app-note { margin: 16px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.9; }
.app-shot { margin: 0; justify-self: center; }
.app-shot img { display: block; width: min(320px, 100%); height: auto;
  border-radius: 26px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.app-shot figcaption { margin-top: 14px; color: var(--muted); font-size: .74rem; letter-spacing: .04em; text-align: center; }
@media (max-width: 820px) {
  .app-shot img { width: min(280px, 82%); margin-inline: auto; }
}

/* ヒーローの端末に実機の画面を入れる（2026-09-20 本人指示）。
   枠（紺の縁・角丸・影・傾き）はそのまま使い、内側の余白とノッチの飾りだけ外す。
   スクリーンショット自体にステータスバーが写っているため */
.phone.phone--shot { padding: 0; }
.phone.phone--shot::before { display: none; }
.phone.phone--shot img { display: block; width: 100%; height: auto; }
/* 実機の画面は縦長（760×1645）なので、スマホで幅 88% のままだと端末が 850px 近くになり
   1画面に収まらない。幅を絞って、01/02/03 の前に端末全体が見えるようにする */
@media (max-width: 560px) {
  .phone.phone--shot { width: min(270px, 72%); padding-inline: 0; }
}

/* ─── ヒーローの端末（実機の一覧画面を HTML/CSS で再現。2026-09-20 本人指示）────
   画像ではなく組んであるので、文字はどの解像度でも鮮明で、数字も差し替えやすい。
   大きさは font-size ひとつで決まる（中はすべて em）。枠は既存の .phone を使う。 */
.phone.phone--app { padding: 0; font-size: 12px; line-height: 1.5; color: #16294a; background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif; text-align: left; }
.phone.phone--app::before { display: none; }   /* 元の作り物のノッチ */
.phone--app p { margin: 0; }
.ap-status { display: flex; align-items: center; justify-content: space-between; padding: 1.1em 1.9em .3em 2.1em; }
.ap-clock { font-size: 1.12em; font-weight: 700; letter-spacing: .01em; }
.ap-status__icons { display: inline-flex; align-items: center; gap: .4em; }
.ap-head { position: relative; display: flex; justify-content: center; padding: .9em 1.6em .2em; }
.ap-head img { display: block; width: 46%; height: auto; }
.ap-gear { position: absolute; right: 1.5em; top: 50%; transform: translateY(-30%); }
.ap-month { display: flex; align-items: center; justify-content: space-between; padding: .7em 1.7em .8em; }
.ap-month strong { font-size: 1.38em; font-weight: 500; }
.ap-month i { font-style: normal; font-size: 1.5em; line-height: 1; opacity: .85; }
.ap-sum { margin: 0 1em; padding: 1.05em 1.15em .95em; background: #f5f7f4; border: 1px solid #e6eae4; border-radius: 1.15em; }
.ap-sum__total { display: flex; align-items: baseline; justify-content: space-between; }
.ap-sum__total span { font-size: 1.02em; }
.ap-sum__total strong { font-size: 1.72em; font-weight: 500; letter-spacing: -.01em; color: #2f6b45; }
.ap-sum__row { display: flex; align-items: center; gap: .55em; margin-top: .3em !important; }
.ap-sum__row i { width: .62em; height: .62em; border-radius: 50%; }
.ap-sum__row i.is-in { background: #6a9a5b; }
.ap-sum__row i.is-out { background: #3d5a9e; }
.ap-sum__row b { margin-left: auto; font-weight: 500; }
.ap-sum__label { margin-top: .75em !important; padding-top: .7em; border-top: 1px solid #cfd5d9; font-size: .92em; }
.ap-sum__item { display: flex; justify-content: space-between; margin-top: .18em !important; font-size: .88em; color: #3a4a63; }
.ap-sum__item b { font-weight: 500; }
.ap-day { display: flex; justify-content: space-between; margin-top: .75em !important; padding: .42em 1em; background: #eef0ec; font-size: .86em; color: #44526a; }
.ap-day b { font-weight: 500; }
.ap-entry { display: flex; align-items: center; gap: .8em; padding: .7em 1.2em .7em 1em; }
.ap-entry > i { flex: none; width: .28em; height: 2.4em; border-radius: 2px; background: #3d5a9e; }
.ap-entry strong { display: flex; align-items: center; gap: .35em; font-size: 1.02em; font-weight: 500; }
.ap-entry small { display: block; font-size: .86em; color: #5d6a7d; }
.ap-entry > b { margin-left: auto; font-size: 1.02em; font-weight: 500; white-space: nowrap; }
.ap-fabs { display: flex; flex-direction: column; align-items: flex-end; gap: .6em; padding: .5em 1.1em .9em; }
.ap-fab { display: inline-flex; align-items: center; gap: .5em; padding: .78em 1.25em; border-radius: 1.05em;
  font-size: .95em; box-shadow: 0 4px 10px rgba(22, 41, 74, .16); }
.ap-fab--scan { background: #dfe7dd; }
.ap-fab--add { background: #c4ab78; padding-inline: 1.6em; }
.ap-nav { display: grid; grid-template-columns: repeat(3, 1fr); padding: .75em .6em 1.5em; background: #f4f6f4; text-align: center; }
.ap-nav span { display: grid; justify-items: center; gap: .25em; color: #55617a; }
.ap-nav span svg { box-sizing: content-box; padding: .3em 1.15em; border-radius: 999px; }
.ap-nav span.is-on { color: #16294a; }
.ap-nav span.is-on svg { background: #dfe7dd; }
.ap-nav small { font-size: .74em; }
@media (max-width: 560px) {
  .phone.phone--app { width: min(292px, 78%); padding-inline: 0; font-size: 11px; }
}

/* 端末の記録一覧（2026-09-20 本人指示で 2 件 → 6 件）。高さを決めて下を切り、
   実機と同じく「レシート取込／記録を追加」を一覧の右下に浮かせる */
.ap-list { position: relative; height: 24.5em; overflow: hidden; }
.ap-list .ap-day:first-child { margin-top: .75em !important; }
.ap-list .ap-fabs { position: absolute; right: 0; bottom: 0; padding: 0 1.1em .9em; }
.ap-list::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2.2em;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff); pointer-events: none; }
.ap-list .ap-fabs { z-index: 1; }
/* 分類ごとの色。収入は緑 */
.ap-entry.is-daily > i { background: #4f9a94; }
.ap-entry.is-move > i { background: #c98a3c; }
.ap-entry.is-home > i { background: #8a6bb0; }
.ap-entry.is-income > i { background: #6a9a5b; }
.ap-entry.is-income > b { color: #2f6b45; }
.ap-entry { padding-block: .55em; }

/* PC ではヒーローが 984px と画面より高くなり、左の列の下にある注記が1画面目から外れていた。
   端末の一覧を短くして（24.5em → 16em）、端末 727px → 約 620px・ヒーロー約 880px に抑える。
   左の列は上下中央そろえなので、注記（お金の選択を、いつもとなりで。）が1画面目に入る */
@media (min-width: 821px) {
  .ap-list { height: 16em; }
  .hero-grid { padding-block: 56px 60px; }
}

/* ─── 記事のリストに外枠（2026-09-20 本人指示）──────────────────────────
   本文中の ul / ol を枠で囲んで、地の文と区別しやすくする。
   目次（.mn-toc__list / __sub）と、入れ子のリストには付けない（枠が二重になるため）。 */
.mn-article .entry-content ul:not(.mn-toc__list):not(.mn-toc__sub),
.mn-article .entry-content ol:not(.mn-toc__list):not(.mn-toc__sub) {
  margin: 1.6rem 0; padding: 1.1rem 1.3rem 1.1rem 2.6rem;
  background: var(--white); border: 1px solid var(--line); border-radius: 6px;
}
.mn-article .entry-content li ul:not(.mn-toc__sub), .mn-article .entry-content li ol:not(.mn-toc__sub) {
  margin: .4rem 0 0; padding: 0 0 0 1.4rem; background: none; border: 0; border-radius: 0;
}
.mn-article .entry-content ul:not(.mn-toc__list):not(.mn-toc__sub) > li,
.mn-article .entry-content ol:not(.mn-toc__list):not(.mn-toc__sub) > li { margin: .35rem 0; line-height: 1.85; }

/* ─── スマホの目次（2026-09-20 本人指示。広島デイズ・美顔器の教科書と同じ整理）────
   ・長い見出しは折り返さず 1 行で切る
   ・.mn-article .entry-content ol の padding-left 1.5rem が目次にも効いて左が空くのを詰める
   ・先頭 4 行だけ見せて「目次をすべて見る」で開く（畳むのはスマホだけ。判定は toc.js の data-clip） */
.mn-toc__list a { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mn-toc.is-closed .mn-toc__more { display: none; }
.mn-toc__more { display: none; width: 100%; margin-top: .8rem; padding: .5rem; border: 1px solid var(--line); border-radius: 999px;
  background: var(--white); color: var(--navy-800); font: 700 .76rem/1.9 inherit; letter-spacing: .04em; cursor: pointer; }
.mn-toc__more:hover { border-color: var(--navy-700); }
@media (max-width: 600px) {
  .mn-toc { padding: 1rem 1.1rem 1.1rem; }
  .mn-article .entry-content .mn-toc__list { padding-left: 0; }
  .mn-toc__list > li { padding-left: 1.6rem; margin: .3rem 0; }
  .mn-article .entry-content .mn-toc__sub { padding-left: 0; }
  .mn-toc__sub > li { padding-left: .9rem; }
  .mn-toc.is-clipped .mn-toc__list li.is-over { display: none; }
  .mn-toc__more { display: block; }
  .mn-article .entry-content ul:not(.mn-toc__list):not(.mn-toc__sub),
  .mn-article .entry-content ol:not(.mn-toc__list):not(.mn-toc__sub) { padding: 1rem 1rem 1rem 2.2rem; }
}
/* すでに枠のある囲み（.sc-mybox ＝ 青枠のボックス）の中のリストには外枠を付けない。二重枠になるため */
.mn-article .entry-content .sc-mybox ul:not(.mn-toc__list):not(.mn-toc__sub),
.mn-article .entry-content .sc-mybox ol:not(.mn-toc__list):not(.mn-toc__sub) {
  margin: .4rem 0; padding: 0 0 0 1.4rem; background: none; border: 0; border-radius: 0;
}
