/* トップページ専用。ヘッダー・フッター・AIへの質問欄は site.css の既存スタイルを使う。 */

.home {
  --home-bg: #fbf8ef;
  --home-ink: #23301c;
  --home-muted: #5a6751;
  --home-line: #e7dfc9;
  --home-card: #fffefa;
  --home-green: #27885d;
  --home-green-deep: #1b6a4c;
  --home-sun: #e0a200;
  --home-leaf: #2f9d57;
  --home-sky: #3b7fdc;
  --home-coral: #e2574c;
  --home-violet: #7b57c9;
  --home-display: ui-rounded, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  --home-shadow: 0 18px 44px rgba(52, 72, 33, .12);
  --home-shadow-soft: 0 6px 20px rgba(52, 72, 33, .08);
  overflow: clip;
  background: var(--home-bg);
  color: var(--home-ink);
}

.home h1,
.home h2,
.home h3 {
  margin: 0;
  font-family: var(--home-display);
  font-weight: 800;
  letter-spacing: .01em;
  word-break: auto-phrase;
  text-wrap: balance;
}

.home :where(p) {
  margin: 0;
}

/* アプリの印影。色ごとの紙色の円に、単色の印影画像を色のインクで重ねる（配色はアプリの定義と同じ）。 */
.home-seal {
  position: relative;
  display: block;
  border-radius: 50%;
  background: var(--home-paper);
}

.home-seal::after {
  content: "";
  position: absolute;
  inset: 2.5%;
  background: var(--home-ink-color);
  -webkit-mask: var(--home-seal-image) center / contain no-repeat;
  mask: var(--home-seal-image) center / contain no-repeat;
}

.home-seal-star {
  --home-ink-color: #efd500;
  --home-paper: #fff3c8;
  --home-seal-image: url("/assets/lp/stamps/seal-star.png");
}

.home-seal-heart {
  --home-ink-color: #52a85b;
  --home-paper: #eaf6de;
  --home-seal-image: url("/assets/lp/stamps/seal-heart.png");
}

.home-seal-flower {
  --home-ink-color: #3e83d0;
  --home-paper: #e4f1fc;
  --home-seal-image: url("/assets/lp/stamps/seal-flower.png");
}

.home-seal-paw {
  --home-ink-color: #d94c48;
  --home-paper: #fde9e5;
  --home-seal-image: url("/assets/lp/stamps/seal-paw.png");
}

.home-seal-party-popper {
  --home-ink-color: #df5b88;
  --home-paper: #fde9ef;
  --home-seal-image: url("/assets/lp/stamps/seal-party-popper.png");
}

/* 出現時の動き。JSが有効で、動きを減らす設定でない場合だけ隠してから出す。 */
.home-motion .home-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s ease, transform .5s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--home-delay, 0ms);
}

.home-motion .home-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.home-pain-grid > :nth-child(2),
.home-more-grid > :nth-child(3n + 2),
.home-guide-grid > :nth-child(2),
.home-pricing-grid > :nth-child(2) {
  --home-delay: 90ms;
}

.home-pain-grid > :nth-child(3),
.home-more-grid > :nth-child(3n),
.home-guide-grid > :nth-child(3) {
  --home-delay: 180ms;
}

/* 冒頭 */
.home-hero {
  position: relative;
  padding: 56px 0 40px;
  background: linear-gradient(180deg, #e4f3ff 0%, #eef8e4 58%, #e3f1c8 100%);
}

.home-hero-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.home-hills {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: min(320px, 46%);
}

.home-hill-far {
  fill: #cfe7a6;
}

.home-hill-near {
  fill: var(--home-bg);
}

.home-cloud {
  position: absolute;
  height: 54px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  filter: blur(.4px);
}

.home-cloud::before,
.home-cloud::after {
  content: "";
  position: absolute;
  bottom: 40%;
  border-radius: 50%;
  background: inherit;
}

.home-cloud::before {
  left: 16%;
  width: 38%;
  aspect-ratio: 1;
}

.home-cloud::after {
  right: 14%;
  width: 46%;
  aspect-ratio: 1;
}

.home-cloud-a {
  top: 9%;
  left: 44%;
  width: 150px;
  animation: home-drift 26s ease-in-out infinite alternate;
}

.home-cloud-b {
  top: 30%;
  right: -30px;
  width: 190px;
  opacity: .7;
  animation: home-drift 34s ease-in-out infinite alternate-reverse;
}

@keyframes home-drift {
  from { transform: translateX(-28px); }
  to { transform: translateX(28px); }
}

.home-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  align-items: center;
  gap: 32px;
}

.home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  padding: 7px 16px;
  color: var(--home-green-deep);
  font-size: 14px;
  font-weight: 800;
  box-shadow: var(--home-shadow-soft);
}

.home-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--home-sun);
}

/* 日本語の見出しが読点の後で折り返せるよう、文字サイズを列幅に連動させる。 */
.home-hero-copy,
.home-download-copy {
  container-type: inline-size;
}

.home-hero h1,
.home-feature-copy h3,
.home-download h2 {
  text-wrap: wrap;
}

.home-hero h1 {
  max-width: 12.5em;
  margin-top: 20px;
  font-size: clamp(24px, 8.7cqi, 56px);
  line-height: 1.25;
}

.home-lead {
  max-width: 34em;
  margin-top: 20px;
  color: var(--home-muted);
  font-size: clamp(16px, 1.5vw, 18px);
  font-weight: 600;
  line-height: 1.9;
}

.home-store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.home-app-clip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 18px;
}

.home-app-clip p {
  color: var(--home-muted);
  font-size: 13px;
  font-weight: 600;
}

.home-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  color: var(--home-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.home-faces {
  display: flex;
  flex: none;
}

.home-faces img {
  width: 40px;
  height: 40px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
}

.home-faces img + img {
  margin-left: -12px;
}

.home-hero-art {
  position: relative;
  display: grid;
  min-height: 560px;
  place-items: center;
}

.home-hero-halo {
  position: absolute;
  width: min(460px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .5) 55%, rgba(255, 255, 255, 0) 72%);
}

.home-phone {
  position: relative;
  overflow: hidden;
  border: 9px solid #1d2618;
  border-radius: 44px;
  background: #1d2618;
  box-shadow: 0 30px 60px rgba(35, 48, 28, .24), 0 4px 0 rgba(255, 255, 255, .5) inset;
}

.home-phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 35px;
}

.home-phone-hero {
  width: min(290px, 70%);
  transform: rotate(3deg);
}

.home-float {
  position: absolute;
  width: 76px;
  height: 76px;
  box-shadow: var(--home-shadow);
  animation: home-bob 6s ease-in-out infinite;
}

.home-float-a { top: 8%; left: 8%; --home-tilt: -12deg; }
.home-float-b { top: 30%; right: 2%; width: 64px; height: 64px; --home-tilt: 10deg; animation-delay: -1.5s; }
.home-float-c { bottom: 24%; left: 2%; width: 58px; height: 58px; --home-tilt: 8deg; animation-delay: -3s; }
.home-float-d { top: 2%; right: 16%; width: 52px; height: 52px; --home-tilt: -6deg; animation-delay: -4.5s; }

@keyframes home-bob {
  0%, 100% { transform: translateY(0) rotate(var(--home-tilt, 0deg)); }
  50% { transform: translateY(-12px) rotate(calc(var(--home-tilt, 0deg) + 4deg)); }
}

.home-hero-mascot {
  position: absolute;
  right: 4%;
  bottom: 3%;
  width: 132px;
  height: auto;
  filter: drop-shadow(0 12px 18px rgba(52, 72, 33, .2));
  animation: home-bob 5s ease-in-out infinite;
}

.home-feature-tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.home-feature-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(231, 223, 201, .9);
  border-radius: 22px;
  background: var(--home-card);
  padding: 16px 18px;
  color: var(--home-ink);
  text-decoration: none;
  box-shadow: var(--home-shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
}

.home-feature-tab:hover {
  color: var(--home-ink);
  transform: translateY(-3px);
  box-shadow: var(--home-shadow);
}

.home-feature-tab-icon {
  display: grid;
  flex: none;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 15px;
  background: var(--home-tone-soft);
  color: var(--home-tone);
  font-size: 21px;
  font-weight: 800;
}

.home-feature-tab-text {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.home-feature-tab-text strong {
  font-family: var(--home-display);
  font-size: 17px;
}

.home-feature-tab-text small {
  overflow: hidden;
  color: var(--home-muted);
  font-size: 12.5px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-feature-tab-arrow {
  margin-left: auto;
  color: var(--home-tone);
  font-weight: 800;
}

.home-feature-tab-stamp,
.home-feature-stamp {
  --home-tone: #a86e00;
  --home-tone-soft: #ffefc2;
  --home-tone-panel: linear-gradient(140deg, #fff3cf 0%, #ffe6a6 100%);
}

.home-feature-tab-quest,
.home-feature-quest {
  --home-tone: #287a3c;
  --home-tone-soft: #dcf0cd;
  --home-tone-panel: linear-gradient(140deg, #e6f5d8 0%, #cbe9b3 100%);
}

.home-feature-tab-wallet,
.home-feature-wallet {
  --home-tone: #b8501b;
  --home-tone-soft: #ffe0cc;
  --home-tone-panel: linear-gradient(140deg, #ffe9d8 0%, #ffd2b3 100%);
}

/* 節の共通 */
.home-section {
  padding: 96px 0;
}

.home-kicker {
  color: var(--home-green);
  font-family: var(--home-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  text-align: center;
}

.home-title {
  font-size: clamp(27px, 3.6vw, 42px);
  line-height: 1.35;
  text-align: center;
}

.home-kicker + .home-title {
  margin-top: 10px;
}

.home-section-lead {
  margin-top: 18px;
  color: var(--home-muted);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.9;
}

.home-section-lead-center {
  max-width: 40em;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

/* 困りごと */
.home-pain {
  padding-top: 72px;
}

.home-pain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
}

.home-pain-card {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 12px;
  border: 1px solid var(--home-line);
  border-radius: 28px;
  background: var(--home-card);
  padding: 22px;
  color: var(--home-ink);
  text-align: center;
  text-decoration: none;
  box-shadow: var(--home-shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
}

.home-pain-card:hover {
  color: var(--home-ink);
  transform: translateY(-4px);
  box-shadow: var(--home-shadow);
}

.home-pain-before {
  position: relative;
  width: 100%;
  border-radius: 18px;
  background: #efece2;
  padding: 16px 18px;
  color: #6c6a5e;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.7;
}

.home-pain-arrow {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--home-green);
  color: #fff;
  font-weight: 800;
}

.home-pain-after {
  padding: 2px 6px 6px;
  font-family: var(--home-display);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.6;
  word-break: auto-phrase;
  text-wrap: balance;
}

/* 3つの主要機能 */
.home-features {
  padding: 24px 0 40px;
}

.home-heading[id],
.home .lp-feature-row[id] {
  scroll-margin-top: 96px;
}

.home .lp-feature-row:nth-child(n) {
  background: none;
  padding: 0;
}

.home-feature {
  margin-top: 36px;
}

.home-feature-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: 32px;
  overflow: hidden;
  border-radius: 40px;
  background: var(--home-tone-panel);
  padding: 0 64px;
}

.home-feature-reverse .home-feature-copy {
  order: 2;
}

.home-feature-copy {
  padding: 64px 0;
}

.home-feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  padding: 6px 16px 6px 6px;
  color: var(--home-tone);
  font-family: var(--home-display);
  font-size: 15px;
  font-weight: 800;
}

.home-feature-tag span {
  display: grid;
  min-width: 34px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  background: var(--home-tone);
  color: #fff;
  font-size: 13px;
}

.home-feature-copy h3 {
  margin-top: 20px;
  font-size: clamp(25px, 3vw, 37px);
  line-height: 1.4;
}

.home-feature-copy > p:not(.home-feature-tag) {
  margin-top: 18px;
  color: #3f4a37;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 2;
}

.home-feature-copy .lp-feature-list {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  font-weight: 700;
}

.home-feature-visual {
  align-self: end;
  display: grid;
  justify-items: center;
  height: 480px;
  padding-top: 48px;
}

.home-feature-visual .home-phone {
  width: min(290px, 100%);
  box-shadow: 0 24px 50px rgba(35, 48, 28, .22);
}

/* スタンプの体験 */
.home-demo {
  background:
    radial-gradient(circle at 12% 18%, rgba(224, 162, 0, .1) 0 90px, transparent 91px),
    radial-gradient(circle at 90% 82%, rgba(59, 127, 220, .09) 0 120px, transparent 121px);
}

.home-demo-inner {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 48px;
}

.home-demo-copy .home-kicker,
.home-demo-copy .home-title {
  text-align: left;
}

.home-demo-note {
  margin-top: 14px;
  color: var(--home-muted);
  font-size: 13px;
}

.home-demo-card {
  border: 1px solid var(--home-line);
  border-radius: 34px;
  background: var(--home-card);
  padding: 24px;
  box-shadow: var(--home-shadow);
}

.home-demo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.home-demo-name {
  font-family: var(--home-display);
  font-size: clamp(17px, 2.2vw, 24px);
  font-weight: 800;
}

.home-demo-controls {
  display: flex;
  flex: none;
  align-items: center;
  gap: 8px;
}

.home-demo-sound {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #efece2;
  padding: 0;
  color: var(--home-muted);
  cursor: pointer;
}

.home-demo-sound:hover {
  background: #e6e2d4;
}

.home-demo-sound svg {
  width: 20px;
  height: 20px;
}

.home-demo-sound[aria-pressed="true"] .home-demo-sound-off,
.home-demo-sound[aria-pressed="false"] .home-demo-sound-on {
  display: none;
}

.home-demo-reset {
  flex: none;
  border: 0;
  border-radius: 999px;
  background: #efece2;
  padding: 8px 14px;
  color: var(--home-muted);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.home-demo-reset:hover {
  background: #e6e2d4;
}

.home-demo-board {
  position: relative;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(170deg, #e4f4c9 0%, #cdeaa6 100%);
  padding: 30px 14px 18px;
}

.home-demo-trail {
  position: absolute;
  inset: 30px 14px 18px;
  width: calc(100% - 28px);
  height: calc(100% - 48px);
}

.home-demo-trail path {
  fill: none;
  stroke: rgba(255, 252, 235, .92);
  stroke-width: 22;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.home-demo-slots {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  aspect-ratio: 5 / 2.3;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-demo-slot {
  position: relative;
  display: grid;
  place-items: center;
}

.home-demo-slot:nth-child(6) { grid-area: 2 / 5; }
.home-demo-slot:nth-child(7) { grid-area: 2 / 4; }
.home-demo-slot:nth-child(8) { grid-area: 2 / 3; }
.home-demo-slot:nth-child(9) { grid-area: 2 / 2; }
.home-demo-slot:nth-child(10) { grid-area: 2 / 1; }

.home-demo-edge {
  position: absolute;
  top: -4px;
  left: 50%;
  color: #56703a;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  transform: translate(-50%, -60%);
}

.home-demo-slot button {
  position: relative;
  display: grid;
  width: min(72%, 68px);
  aspect-ratio: 1;
  place-items: center;
  border: 2px solid #c6d8a8;
  border-radius: 50%;
  background: #fffdf3;
  padding: 0;
  color: #5d6b4b;
  font: inherit;
  font-family: var(--home-display);
  font-size: clamp(15px, 2vw, 20px);
  font-weight: 800;
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease;
}

.home-demo-slot-goal button {
  width: min(84%, 80px);
  border-color: #d9a43c;
}

.home-demo-slot button:hover {
  transform: scale(1.05);
}

.home-demo-slot.is-next button {
  border-color: var(--home-sky);
  box-shadow: 0 0 0 4px rgba(59, 127, 220, .28);
  animation: home-pulse 1.8s ease-in-out infinite;
}

@keyframes home-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(59, 127, 220, .28); }
  50% { box-shadow: 0 0 0 9px rgba(59, 127, 220, .1); }
}

.home-demo-stamp {
  position: absolute;
  inset: -2px;
  opacity: 0;
  transform: scale(1.7) rotate(-18deg);
}

.home-demo-slot.is-stamped button {
  border-color: transparent;
  cursor: default;
}

.home-demo-slot.is-stamped button:hover {
  transform: none;
}

.home-demo-slot.is-stamped .home-demo-stamp {
  opacity: 1;
  transform: rotate(var(--home-stamp-tilt, -6deg));
  transition: opacity .12s ease, transform .32s cubic-bezier(.3, 1.6, .5, 1);
}

.home-demo-confetti {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.home-demo-confetti i {
  position: absolute;
  top: -12px;
  left: var(--x);
  width: 9px;
  height: 14px;
  border-radius: 3px;
  background: var(--c);
  animation: home-confetti var(--d) cubic-bezier(.2, .6, .4, 1) var(--w) forwards;
}

@keyframes home-confetti {
  from { transform: translateY(0) rotate(0); opacity: 1; }
  to { transform: translateY(340px) rotate(var(--r)); opacity: 0; }
}

.home-demo-status {
  min-height: 1.7em;
  margin-top: 14px;
  font-family: var(--home-display);
  font-size: 17px;
  font-weight: 800;
  text-align: center;
}

.home-demo-tray {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  border-radius: 22px;
  background: #f5f2e6;
  padding: 12px 14px;
}

.home-demo-picker {
  display: flex;
  gap: 8px;
}

.home-demo-pick {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: #fffdf6;
  padding: 0;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}

.home-demo-pick .home-seal {
  width: 100%;
  height: 100%;
}

.home-demo-pick[aria-checked="true"] {
  box-shadow: 0 0 0 3px #fffdf6, 0 0 0 6px var(--home-ink-color);
  transform: scale(1.06);
}

.home-demo-tray .button {
  flex: 1 1 180px;
}

.home-demo-tray [hidden] {
  display: none;
}

/* そのほかの機能 */
.home-more {
  background: #f4f0e2;
}

.home-more-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 44px;
}

.home-more-card {
  display: grid;
  align-content: start;
  gap: 8px;
  border-radius: 26px;
  background: var(--home-card);
  padding: 24px;
  color: var(--home-ink);
  text-decoration: none;
  box-shadow: var(--home-shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
}

.home-more-card:hover {
  color: var(--home-ink);
  transform: translateY(-4px);
  box-shadow: var(--home-shadow);
}

.home-more-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 16px;
  background: color-mix(in srgb, var(--home-more-tone) 14%, #fff);
  color: var(--home-more-tone);
}

.home-more-icon svg {
  width: 26px;
  height: 26px;
}

.home-more-card strong {
  margin-top: 6px;
  font-family: var(--home-display);
  font-size: 18px;
}

.home-more-card > span:last-child {
  color: var(--home-muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.8;
}

.home-more-savings { --home-more-tone: #c98a00; }
.home-more-good-points { --home-more-tone: var(--home-coral); }
.home-more-family-room { --home-more-tone: var(--home-sky); }
.home-more-growth { --home-more-tone: var(--home-leaf); }
.home-more-investment { --home-more-tone: var(--home-violet); }
.home-more-convenience { --home-more-tone: #2f8f8a; }

.home-more-action {
  margin-top: 32px;
  text-align: center;
}

.home-more-action .button {
  min-width: 200px;
  background: var(--home-card);
}

/* コラム */
.home-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
}

.home-guide-card {
  display: grid;
  align-content: start;
  gap: 8px;
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: 26px;
  background: var(--home-card);
  padding-bottom: 20px;
  color: var(--home-ink);
  text-decoration: none;
  box-shadow: var(--home-shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
}

.home-guide-card:hover {
  color: var(--home-ink);
  transform: translateY(-4px);
  box-shadow: var(--home-shadow);
}

.home-guide-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.home-guide-eyebrow {
  margin: 8px 20px 0;
  color: var(--home-green);
  font-size: 12.5px;
  font-weight: 800;
}

.home-guide-card strong {
  margin: 0 20px;
  font-family: var(--home-display);
  font-size: 16.5px;
  line-height: 1.6;
}

/* 料金 */
.home-pricing {
  background: #f4f0e2;
}

.home-pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 920px;
  margin: 44px auto 0;
}

.home-price {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-radius: 32px;
  background: var(--home-card);
  padding: 32px;
  box-shadow: var(--home-shadow-soft);
}

.home-price > p:not([class]) {
  color: var(--home-muted);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.8;
}

.home-price-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--home-green-deep);
  font-family: var(--home-display);
  font-size: 15px;
  font-weight: 800;
}

.home-price-label span {
  border-radius: 999px;
  background: #ffd873;
  padding: 3px 10px;
  color: #5b3d00;
  font-size: 11px;
  letter-spacing: .08em;
}

.home-price-amount {
  font-family: var(--home-display);
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
}

.home-price-amount span {
  color: var(--home-muted);
  font-size: 15px;
}

.home-price h3 {
  font-size: 24px;
  line-height: 1.45;
}

.home-check-list {
  display: grid;
  gap: 10px;
  margin: 4px 0 10px;
  padding: 0;
  list-style: none;
  font-size: 15px;
  font-weight: 700;
}

.home-check-list li {
  display: flex;
  gap: 10px;
  line-height: 1.6;
}

.home-check-list li span {
  display: grid;
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  place-items: center;
  border-radius: 50%;
  background: #dcf0cd;
  color: var(--home-green-deep);
  font-size: 12px;
}

.home-price .button {
  margin-top: auto;
}

.home-price-premium {
  background: linear-gradient(155deg, #245c46 0%, #17443a 100%);
  color: #fdfaf0;
}

.home-price-premium .home-price-label {
  color: #d8f0c8;
}

.home-price-premium > p:not([class]) {
  color: rgba(253, 250, 240, .8);
}

.home-price-premium .home-check-list li span {
  background: rgba(255, 216, 115, .22);
  color: #ffd873;
}

.home-price-premium .button {
  border-color: transparent;
  background: #ffd873;
  color: #3d2a00;
}

.home-price-premium .button:hover {
  background: #ffe08f;
  color: #3d2a00;
}

/* よくある質問 */
.home-faq-inner {
  max-width: 800px;
}

.home-faq-list {
  display: grid;
  gap: 12px;
  margin-top: 40px;
}

.home-faq-list details {
  border: 1px solid var(--home-line);
  border-radius: 22px;
  background: var(--home-card);
  padding: 0 22px;
}

.home-faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-family: var(--home-display);
  font-size: 16.5px;
  font-weight: 800;
  line-height: 1.6;
  list-style: none;
  cursor: pointer;
}

.home-faq-list summary::-webkit-details-marker {
  display: none;
}

.home-faq-list summary span {
  display: grid;
  flex: none;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: #eaf4dd;
  color: var(--home-green-deep);
  font-size: 18px;
  transition: transform .2s ease;
}

.home-faq-list details[open] summary span {
  transform: rotate(45deg);
}

.home-faq-list details p {
  padding: 0 0 22px;
  color: var(--home-muted);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.95;
}

/* AIへの質問 */
.home-ask {
  background: #f4f0e2;
}

.home-ask .lp-ask-ai-note {
  text-align: center;
}

/* 末尾のダウンロード案内 */
.home-download {
  padding: 40px 0 96px;
}

.home-download-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
  overflow: hidden;
  border-radius: 44px;
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 216, 115, .3) 0 140px, transparent 141px),
    radial-gradient(circle at 4% 100%, rgba(255, 255, 255, .1) 0 180px, transparent 181px),
    linear-gradient(150deg, #2c9166 0%, #1b6a4c 100%);
  padding: 64px;
  color: #fdfaf0;
}

.home-download h2 {
  max-width: 12.5em;
  font-size: clamp(22px, 8.7cqi, 42px);
  line-height: 1.35;
}

.home-download-copy > p {
  max-width: 34em;
  margin-top: 16px;
  color: rgba(253, 250, 240, .86);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.9;
}

.home-download-side {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.home-download-mascot {
  width: 120px;
  height: auto;
}

.home-qr {
  display: grid;
  justify-items: center;
  gap: 8px;
  border-radius: 24px;
  background: #fffdf6;
  padding: 16px 16px 12px;
  color: var(--home-ink);
  font-size: 12.5px;
  font-weight: 800;
}

.home-qr img {
  width: 132px;
  height: 132px;
}

/* スマートフォン用の追従ボタン */
.home-sticky-cta {
  display: none;
}

@media (max-width: 920px) {
  .home-hero {
    padding-top: 36px;
  }

  .home-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .home-hero-art {
    min-height: 0;
    padding: 28px 0 8px;
  }

  .home-phone-hero {
    width: min(250px, 62%);
  }

  .home-feature-tabs,
  .home-pain-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-section {
    padding: 72px 0;
  }

  .home-feature-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    border-radius: 32px;
    padding: 0 28px;
  }

  .home-feature-copy {
    padding: 36px 0 0;
  }

  .home-feature-reverse .home-feature-copy {
    order: 0;
  }

  .home-feature-visual {
    height: 380px;
    padding-top: 32px;
  }

  .home-feature-visual .home-phone {
    width: min(250px, 78%);
  }

  .home-demo-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .home-demo-copy .home-kicker,
  .home-demo-copy .home-title {
    text-align: center;
  }

  .home-demo-copy .home-section-lead,
  .home-demo-note {
    text-align: center;
  }

  .home-more-grid,
  .home-guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-download-inner {
    grid-template-columns: minmax(0, 1fr);
    padding: 44px 28px;
  }

  .home-download-side {
    display: none;
  }

  .home-sticky-cta:not([hidden]) {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 15;
    display: block;
    background: linear-gradient(180deg, rgba(251, 248, 239, 0) 0%, rgba(251, 248, 239, .96) 34%);
    padding: 22px 16px calc(12px + env(safe-area-inset-bottom));
    transform: translateY(110%);
    transition: transform .28s ease;
  }

  .home-sticky-cta.is-shown {
    transform: none;
  }

  .home-sticky-cta .button {
    width: 100%;
    min-height: 52px;
    font-size: 16px;
  }
}

@media (max-width: 560px) {
  .home-store-row {
    flex-wrap: nowrap;
    gap: 10px;
  }

  .home-store-row .store-badge {
    width: auto;
    min-width: 0;
  }

  .home-store-row .store-badge img {
    width: auto;
    max-width: 100%;
    height: 46px;
  }

  .home-float-a { width: 58px; height: 58px; left: 2%; }
  .home-float-b { width: 50px; height: 50px; right: 0; }
  .home-float-c { width: 46px; height: 46px; }
  .home-float-d { width: 42px; height: 42px; }

  .home-hero-mascot {
    right: 0;
    width: 96px;
  }

  .home-pricing-grid,
  .home-more-grid,
  .home-guide-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-more-card {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 14px;
    padding: 18px;
  }

  .home-more-icon {
    grid-row: span 2;
  }

  .home-more-card strong {
    margin-top: 0;
  }

  .home-demo-card {
    border-radius: 28px;
    padding: 16px;
  }

  .home-demo-board {
    padding: 28px 8px 14px;
  }

  .home-demo-trail {
    inset: 28px 8px 14px;
    width: calc(100% - 16px);
    height: calc(100% - 42px);
  }

  .home-demo-trail path {
    stroke-width: 16;
  }

  .home-demo-slots {
    aspect-ratio: 5 / 2.6;
  }

  .home-demo-slot button {
    width: 84%;
  }

  .home-demo-slot-goal button {
    width: 96%;
  }

  .home-demo-tray {
    justify-content: center;
  }

  .home-demo-pick {
    width: 42px;
    height: 42px;
  }

  .home-price {
    border-radius: 28px;
    padding: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-cloud,
  .home-float,
  .home-hero-mascot,
  .home-demo-slot.is-next button {
    animation: none;
  }

  .home-demo-slot.is-stamped .home-demo-stamp {
    transition: none;
  }
}
