/* だすまる LP 共通スタイル — アプリ本体と同じ「ミント＋丸ゴシック」トーン */

:root {
  --background: #f5fbf7;
  --foreground: #1f2a24;
  --muted: #5b6360;
  --muted-soft: #a0a8a4;
  --line: rgba(31, 42, 36, 0.08);

  --mint-soft: #d4ecdd;
  --mint-strong: #3d7a5e;
  --mint-deep: #2a5c44;

  --warm-soft: #fbeada;
  --warm-deep: #8b4f1f;
  --sky-soft: #dceaf2;
  --sky-deep: #2e5a72;
  --warn-soft: #fbe5c1;
  --warn-deep: #8b5a08;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family:
    "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Hiragino Sans",
    sans-serif;
  font-weight: 500;
  color: var(--foreground);
  background: var(--background);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3 {
  font-family: "Zen Maru Gothic", "M PLUS Rounded 1c", sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--foreground);
}

a {
  color: var(--mint-strong);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ─── ヒーロー ───────────────────── */
.hero {
  background: linear-gradient(180deg, var(--mint-soft) 0%, var(--background) 100%);
  padding: 3rem 1.25rem 4rem;
  text-align: center;
}

.hero__char {
  width: 140px;
  height: 140px;
  margin: 0 auto 1.5rem;
}

.hero__title {
  font-size: 1.75rem;
  line-height: 1.4;
}

@media (min-width: 640px) {
  .hero__title {
    font-size: 2.5rem;
  }
}

.hero__sub {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  color: var(--muted);
}

@media (min-width: 640px) {
  .hero__sub {
    font-size: 1.05rem;
  }
}

.hero__cta {
  margin-top: 2.5rem;
}

/* ─── ボタン ───────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 1rem;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.1s ease;
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--mint-strong);
  color: white;
  box-shadow: 0 2px 0 rgba(61, 122, 94, 0.3);
}

.btn--secondary {
  background: white;
  color: var(--foreground);
  border: 1px solid var(--line);
}

.btn--store {
  background: black;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
}

.cta-note {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--muted-soft);
}

/* ─── セクション ───────────────────── */
.section {
  padding: 3.5rem 1.25rem;
}

.section--alt {
  background: rgba(212, 236, 221, 0.3);
}

.section__eyebrow {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mint-deep);
}

.section__title {
  margin-top: 0.5rem;
  text-align: center;
  font-size: 1.5rem;
}

@media (min-width: 640px) {
  .section__title {
    font-size: 2rem;
  }
}

.section__body {
  margin-top: 2rem;
  font-size: 0.95rem;
}

/* ─── 機能カード ───────────────────── */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .features {
    grid-template-columns: 1fr 1fr;
  }
}

.feature {
  background: white;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 1px 0 rgba(31, 42, 36, 0.03);
}

.feature__emoji {
  font-size: 2rem;
  display: block;
}

.feature__title {
  margin-top: 0.5rem;
  font-size: 1rem;
}

.feature__body {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ─── ストーリー（なぜ作ったか） ───────────────────── */
.story {
  max-width: 540px;
  margin: 0 auto;
}

.story p {
  margin-top: 1rem;
  font-size: 0.95rem;
  text-align: left;
  color: var(--foreground);
}

/* ─── フッター ───────────────────── */
.footer {
  background: white;
  border-top: 1px solid var(--line);
  padding: 2.5rem 1.25rem;
  text-align: center;
}

.footer__char {
  width: 56px;
  height: 56px;
  margin: 0 auto;
}

.footer__name {
  margin-top: 0.75rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.footer__tagline {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.footer__nav {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.footer__nav a {
  color: var(--muted);
}

.footer__copy {
  margin-top: 1.5rem;
  font-size: 0.7rem;
  color: var(--muted-soft);
}

/* ─── 文書ページ用 ───────────────────── */
.doc {
  padding: 3rem 1.25rem 5rem;
}

.doc h1 {
  font-size: 1.5rem;
}

.doc h2 {
  margin-top: 2rem;
  font-size: 1.15rem;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid var(--mint-soft);
}

.doc h3 {
  margin-top: 1.5rem;
  font-size: 1rem;
}

.doc p,
.doc li {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--foreground);
}

.doc ul,
.doc ol {
  padding-left: 1.5rem;
}

.doc .updated {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted-soft);
}

.doc .back {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
}

.doc table {
  width: 100%;
  margin-top: 0.75rem;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.doc th,
.doc td {
  padding: 0.5rem;
  border: 1px solid var(--line);
  text-align: left;
}

.doc th {
  background: var(--mint-soft);
  font-weight: 700;
}
