:root {
  color-scheme: light;
  --cream: #FFF8F0;
  --white: #FFFFFF;
  --ink: #2F2B45;
  --ink-soft: #6B6684;
  --line: #F1E8DE;
  --shadow: #EFE4DA;
  --yellow: #FFC94D; --yellow-soft: #FFF3D6; --yellow-deep: #A8730E;
  --blue: #5AAEEA;   --blue-soft: #E3F2FD;   --blue-deep: #2A6FB0;
  --green: #57C9A3;  --green-soft: #E0F7EF;  --green-deep: #1F8A66;
  --coral: #FF8A73;  --coral-soft: #FFE7E1;  --coral-deep: #C94F3A;
  --purple: #B99CF2; --purple-soft: #EFE7FF; --purple-deep: #5B44A6;
  --pink: #F49AC1;   --pink-soft: #FDE6EF;   --pink-deep: #B5487A;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ ProN", ui-rounded, sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.9;
}

/* ヘッダー：アプリの黄色い帯と、かざりの図形 */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--yellow);
  padding: 32px 16px 56px;
  border-radius: 0 0 36px 36px;
}
.hero-inner { position: relative; max-width: 760px; margin: 0 auto; display: flex; align-items: center; gap: 16px; }
.hero img { width: 72px; height: 72px; border-radius: 20px; box-shadow: 0 4px 0 #D9A63A; flex: none; }
.hero .app { font-size: 15px; font-weight: 700; color: var(--ink); opacity: .75; }
.hero h1 { margin: 0; font-size: 28px; line-height: 1.35; }
.deco { position: absolute; display: block; }
.deco.dot1 { width: 18px; height: 18px; border-radius: 50%; background: var(--pink); top: 22px; right: 12%; }
.deco.dot2 { width: 12px; height: 12px; border-radius: 50%; background: var(--green); bottom: 24px; left: 8%; }
.deco.sq { width: 14px; height: 14px; border-radius: 3px; background: var(--blue); bottom: 30px; right: 22%; transform: rotate(18deg); }
.deco.tri { width: 0; height: 0; border-left: 9px solid transparent; border-right: 9px solid transparent; border-bottom: 16px solid var(--coral); top: 10px; right: 36%; transform: rotate(-12deg); }
.deco.star { top: 64%; right: 6%; width: 22px; height: 22px; background: var(--white); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); opacity: .9; }

main { max-width: 760px; margin: -28px auto 0; padding: 0 16px 56px; position: relative; }
.updated { display: inline-block; background: var(--white); color: var(--ink-soft); font-size: 13px; font-weight: 700; padding: 4px 14px; border-radius: 999px; box-shadow: 0 3px 0 var(--shadow); margin: 0 0 8px; }

/* カード */
section {
  background: var(--white);
  border-radius: 24px;
  padding: 22px 22px 10px;
  margin: 16px 0;
  box-shadow: 0 4px 0 var(--shadow);
  border-top: 6px solid var(--accent, var(--yellow));
}
section:nth-of-type(6n+1) { --accent: var(--yellow); --accent-soft: var(--yellow-soft); --accent-deep: var(--yellow-deep); }
section:nth-of-type(6n+2) { --accent: var(--blue);   --accent-soft: var(--blue-soft);   --accent-deep: var(--blue-deep); }
section:nth-of-type(6n+3) { --accent: var(--green);  --accent-soft: var(--green-soft);  --accent-deep: var(--green-deep); }
section:nth-of-type(6n+4) { --accent: var(--coral);  --accent-soft: var(--coral-soft);  --accent-deep: var(--coral-deep); }
section:nth-of-type(6n+5) { --accent: var(--purple); --accent-soft: var(--purple-soft); --accent-deep: var(--purple-deep); }
section:nth-of-type(6n+6) { --accent: var(--pink);   --accent-soft: var(--pink-soft);   --accent-deep: var(--pink-deep); }
h2 { font-size: 19px; line-height: 1.5; margin: 0 0 10px; color: var(--accent-deep, var(--ink)); }
h3 { font-size: 16px; margin: 20px 0 6px; padding: 6px 14px; background: var(--accent-soft, var(--yellow-soft)); border-radius: 14px; }
h3::before { content: "Q. "; color: var(--accent-deep, var(--ink)); }
p, li { margin: 0 0 12px; }
ol, ul { padding-left: 1.4em; margin: 0 0 12px; }
ol ul, ul ul { margin-top: 8px; }
li::marker { color: var(--accent-deep, var(--ink-soft)); font-weight: 700; }
a { color: var(--blue-deep); font-weight: 700; }
strong { color: var(--accent-deep, var(--ink)); }

table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 0 0 16px; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 2px dotted var(--line); }
tr:last-child th, tr:last-child td { border-bottom: none; }
th { color: var(--accent-deep, var(--ink-soft)); white-space: nowrap; }
thead th, table tr:first-child th { background: var(--accent-soft, var(--yellow-soft)); }
table tr:first-child th:first-child { border-radius: 12px 0 0 12px; }
table tr:first-child th:last-child { border-radius: 0 12px 12px 0; }

/* かんたんな まとめ */
.summary { border-top: none; background: var(--white); }
.summary h2 { color: var(--ink); }
.points { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 10px; }
.points li { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 12px 14px; border-radius: 18px; background: var(--yellow-soft); font-weight: 700; }
.points li:nth-child(2) { background: var(--blue-soft); }
.points li:nth-child(3) { background: var(--green-soft); }
.points li:nth-child(4) { background: var(--pink-soft); }
.points .icon { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--white); display: grid; place-items: center; font-size: 18px; line-height: 1; }

.lead { margin: 0 0 8px; }
.todo { background: var(--yellow-soft); border: 2px dashed var(--yellow); border-radius: 8px; padding: 0 6px; }

nav.pages { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
nav.pages a { text-decoration: none; color: var(--ink); background: var(--white); padding: 8px 18px; border-radius: 999px; box-shadow: 0 3px 0 var(--shadow); font-size: 14px; }
nav.pages a[aria-current="page"] { background: var(--yellow); box-shadow: 0 3px 0 #D9A63A; }
footer { color: var(--ink-soft); font-size: 13px; margin-top: 20px; text-align: center; }

@media (max-width: 480px) {
  .hero { padding: 24px 16px 48px; }
  .hero img { width: 56px; height: 56px; border-radius: 16px; }
  .hero h1 { font-size: 23px; }
  section { padding: 18px 16px 6px; border-radius: 20px; }
  th { white-space: normal; }
}

/* ===== LP ===== */
.lp-hero { position: relative; overflow: hidden; background: var(--yellow); padding: 40px 16px 72px; border-radius: 0 0 48px 48px; }
.lp-hero-inner { position: relative; max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.25fr; gap: 32px; align-items: center; }
.lp-icon { width: 88px; height: 88px; border-radius: 24px; box-shadow: 0 5px 0 #D9A63A; }
.lp-tag { display: inline-block; margin: 16px 0 4px; background: var(--white); padding: 2px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; }
.lp-hero h1 { font-size: 44px; line-height: 1.25; margin: 4px 0 8px; }
.lp-catch { font-size: 24px; font-weight: 700; line-height: 1.6; margin: 0 0 20px; }
.badge-soon { display: inline-block; background: var(--ink); color: var(--white); font-weight: 700; padding: 12px 24px; border-radius: 999px; box-shadow: 0 4px 0 #1B1830; }
.ipad { background: var(--ink); padding: 10px; border-radius: 26px; box-shadow: 0 6px 0 rgba(47, 43, 69, .25); }
.ipad img { display: block; width: 100%; height: auto; border-radius: 16px; }
.lp-main { max-width: 1040px; margin: -36px auto 0; }
.lp-section { border-top: none; padding: 28px 28px 16px; }
.lp-section h2 { font-size: 26px; color: var(--ink); margin-bottom: 12px; }
.lp-section .num { font-size: 40px; color: var(--coral-deep); }
.genres { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin: 16px 0 24px; }
.genre { border-radius: 18px; padding: 12px 16px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.genre b { font-size: 17px; }
.g-yellow { background: var(--yellow-soft); } .g-yellow b { color: var(--yellow-deep); }
.g-blue { background: var(--blue-soft); } .g-blue b { color: var(--blue-deep); }
.g-green { background: var(--green-soft); } .g-green b { color: var(--green-deep); }
.g-coral { background: var(--coral-soft); } .g-coral b { color: var(--coral-deep); }
.g-purple { background: var(--purple-soft); } .g-purple b { color: var(--purple-deep); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 12px; }
.gallery figure { margin: 0; }
.gallery figcaption { text-align: center; font-weight: 700; font-size: 15px; margin-top: 10px; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 12px; }
.feature { background: var(--cream); border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.feature b { font-size: 17px; }
.feature .icon { font-size: 26px; line-height: 1; }
.lp-premium { background: var(--yellow-soft); }
.trial { font-size: 18px; }
.trial b { color: var(--coral-deep); }
.note { font-size: 13px; color: var(--ink-soft); }
.lp nav.pages { justify-content: center; }

@media (max-width: 760px) {
  .lp-hero { padding: 28px 16px 64px; }
  .lp-hero-inner { grid-template-columns: 1fr; text-align: center; }
  .lp-hero h1 { font-size: 34px; }
  .lp-catch { font-size: 20px; }
  .lp-icon { width: 72px; height: 72px; }
  .gallery { grid-template-columns: 1fr; }
  .lp-section { padding: 22px 18px 10px; }
  .lp-section h2 { font-size: 22px; }
}
.lp-free { margin: 0 0 16px; }
.free-badge { display: inline-block; background: var(--coral); color: var(--white); font-size: 26px; font-weight: 800; padding: 10px 26px; border-radius: 999px; box-shadow: 0 5px 0 var(--coral-deep); transform: rotate(-3deg); }
.lp-iap { font-size: 13px; color: var(--ink); opacity: .75; margin: 10px 0 0; }
.free-mark { color: var(--white); background: var(--coral); padding: 0 12px; border-radius: 12px; margin-right: 4px; }
@media (max-width: 760px) { .free-badge { font-size: 22px; } }
.ipad video { display: block; width: 100%; height: auto; border-radius: 16px; background: var(--cream); aspect-ratio: 2360 / 1640; }
.lp h3.sub { background: none; padding: 0; margin: 28px 0 12px; font-size: 18px; }
.lp h3.sub::before { content: none; }
