/* AoMau の宣伝画像・アプリと同じ配色（砂浜色の地・ラグーンのグラデーション・黄色の強調） */
:root {
  --sand: #fbf4e6;
  --surface: #ffffff;
  --text: #1c2b33;
  --text-muted: #5b6b74;
  --accent: #2694b0;
  --accent-deep: #005883;
  --green: #46a06e;
  --highlight: #ffd84d;
  --border: rgba(28, 43, 51, 0.1);
  --shadow: 0 6px 24px rgba(28, 43, 51, 0.1);
  --store-bg: #000000;
  --store-text: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --sand: #0f1d24;
    --surface: #17303a;
    --text: #eef4f6;
    --text-muted: #a9bcc4;
    --accent: #5cc3dc;
    --accent-deep: #8fd9ea;
    --green: #6cc493;
    --border: rgba(255, 255, 255, 0.1);
    --shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
    --store-bg: #ffffff;
    --store-text: #000000;
  }
}

:root[data-theme="dark"] {
  --sand: #0f1d24;
  --surface: #17303a;
  --text: #eef4f6;
  --text-muted: #a9bcc4;
  --accent: #5cc3dc;
  --accent-deep: #8fd9ea;
  --green: #6cc493;
  --border: rgba(255, 255, 255, 0.1);
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  --store-bg: #ffffff;
  --store-text: #000000;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--sand);
  color: var(--text);
  font-family: "Zen Kaku Gothic New", -apple-system, BlinkMacSystemFont, "Hiragino Sans", sans-serif;
  font-size: 16px;
  line-height: 1.85;
}

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

a { color: var(--accent-deep); }

.wrap {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px;
}

.narrow { max-width: 760px; }

/* ヘッダー */
.site-header {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand {
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.site-header nav a {
  margin-left: 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
}
.site-header nav a:hover { color: var(--accent-deep); }

/* 見出しの強調（宣伝画像と同じ黄色の下線） */
.mark {
  background: linear-gradient(transparent 58%, var(--highlight) 58%);
  color: inherit;
  padding: 0 2px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .mark { background: linear-gradient(transparent 62%, rgba(255, 216, 77, 0.45) 62%); }
}
:root[data-theme="dark"] .mark { background: linear-gradient(transparent 62%, rgba(255, 216, 77, 0.45) 62%); }

/* ファーストビュー */
.hero { padding: 48px 0 40px; }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.app-id {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.app-id img {
  width: 64px;
  height: 64px;
  border-radius: 15px;
  box-shadow: var(--shadow);
}
.app-id .name { font-weight: 700; line-height: 1.4; }
.app-id .sub { font-size: 0.85rem; color: var(--text-muted); }

h1 {
  font-size: clamp(2rem, 5.4vw, 3.2rem);
  line-height: 1.3;
  font-weight: 900;
  margin: 0 0 16px;
  letter-spacing: 0.01em;
}
.lead { font-size: 1.05rem; color: var(--text-muted); margin: 0 0 24px; }

.hero-shot img {
  max-width: 320px;
  margin: 0 auto;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

/* App Store ボタン */
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.store-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--store-bg);
  color: var(--store-text);
  text-decoration: none;
  border-radius: 12px;
  padding: 10px 20px 10px 16px;
  line-height: 1.25;
}
.store-button svg { width: 26px; height: 26px; fill: currentColor; flex-shrink: 0; }
.store-button small { display: block; font-size: 0.7rem; opacity: 0.85; }
.store-button strong { display: block; font-size: 1.15rem; font-weight: 700; }
.cta-note { font-size: 0.85rem; color: var(--text-muted); }

/* 数字の帯 */
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.facts li {
  background: var(--surface);
  border-radius: 16px;
  padding: 16px 12px;
  text-align: center;
  box-shadow: var(--shadow);
}
.facts strong {
  display: block;
  font-family: "Outfit", "Zen Kaku Gothic New", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent-deep);
  line-height: 1.3;
}
.facts span { font-size: 0.85rem; color: var(--text-muted); }

/* セクション */
section { padding: 56px 0; }
.band {
  background: linear-gradient(170deg, var(--accent), var(--green));
  color: #ffffff;
}
.band a { color: #ffffff; }

h2 {
  font-size: clamp(1.5rem, 3.6vw, 2rem);
  font-weight: 900;
  line-height: 1.4;
  margin: 0 0 12px;
}
.section-lead { color: var(--text-muted); margin: 0 0 28px; }
.band .section-lead { color: rgba(255, 255, 255, 0.9); }

/* 悩み → 解決 */
.pains {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pain {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  padding: 20px;
}
.pain .q { font-weight: 700; margin: 0 0 8px; }
.pain .a { margin: 0; font-size: 0.95rem; opacity: 0.95; }

/* 機能（画像と説明を交互に） */
.feature {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: center;
  padding: 28px 0;
}
.feature:nth-child(even) { grid-template-columns: 1fr 280px; }
.feature:nth-child(even) .feature-shot { order: 2; }
.feature-shot img { border-radius: 24px; box-shadow: var(--shadow); }
.tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-deep);
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0 10px;
  margin-bottom: 8px;
}
.feature h3 { font-size: 1.4rem; font-weight: 900; line-height: 1.45; margin: 0 0 10px; }
.feature p { margin: 0 0 8px; }
.feature .note { font-size: 0.85rem; color: var(--text-muted); }

/* 料金 */
.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.plan {
  background: var(--surface);
  border-radius: 18px;
  padding: 20px 18px;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  /* 帯（.band）の白文字を受け継がない */
  color: var(--text);
}
.plan.recommended { border-color: var(--accent); }
.plan h3 { font-size: 1rem; margin: 0 0 4px; }
.plan .price {
  font-family: "Outfit", "Zen Kaku Gothic New", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-deep);
  margin: 0 0 8px;
}
.plan .price small { font-size: 0.85rem; font-weight: 400; color: var(--text-muted); }
.plan p { margin: 0; font-size: 0.9rem; color: var(--text-muted); }
.plans-note { margin-top: 18px; font-size: 0.9rem; color: var(--text-muted); }

/* 開発者 */
.dev {
  background: var(--surface);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.dev h2 { font-size: 1.4rem; }
.dev p { margin: 0 0 10px; }

/* FAQ */
details {
  background: var(--surface);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 10px;
  box-shadow: var(--shadow);
}
summary { cursor: pointer; font-weight: 700; }
details p { margin: 10px 0 0; }

/* 最後の CTA */
.final { text-align: center; }
.final .cta { justify-content: center; }

/* アプリ一覧（トップ） */
.apps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.app-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 24px 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.app-card img { width: 72px; height: 72px; border-radius: 16px; margin-bottom: 14px; }
.app-card .placeholder-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  margin-bottom: 14px;
  background: var(--border);
  display: grid;
  place-items: center;
  font-size: 1.8rem;
}
.app-card h3 { font-size: 1.15rem; margin: 0 0 6px; line-height: 1.45; }
.app-card p { margin: 0 0 16px; font-size: 0.95rem; color: var(--text-muted); flex: 1; }
.status {
  align-self: flex-start;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 2px 10px;
  margin-bottom: 10px;
}
.status.live { background: var(--green); color: #ffffff; }
.status.dev { background: var(--border); color: var(--text-muted); }
.text-link { font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* フッター */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.site-footer a { color: var(--text-muted); margin-right: 16px; }
.site-footer p { margin: 8px 0 0; }

/* スマートフォン */
@media (max-width: 760px) {
  .hero { padding: 28px 0 32px; }
  h1 { font-size: 1.7rem; }
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; }
  .hero-shot img { max-width: 240px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .pains, .apps { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr 1fr; }
  .feature,
  .feature:nth-child(even) { grid-template-columns: 1fr; gap: 20px; }
  .feature:nth-child(even) .feature-shot { order: 0; }
  .feature-shot img { max-width: 240px; margin: 0 auto; }
  section { padding: 44px 0; }
  .site-header nav a { margin-left: 12px; }
}

@media (max-width: 420px) {
  .plans { grid-template-columns: 1fr; }
}

/* 見出しを文節の途中で折り返さない */
.nw { display: inline-block; }

