/* luvai.jp 集客用LP共通スタイル。Flutterアプリとは独立した軽量ページ */
:root {
  --bg: #ffffff;
  --fg: #1f2124;
  --muted: #5f646b;
  --line: #e6e8ec;
  --card: #f7f8fa;
  --accent: #e4002b;
  --accent-fg: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14161a; --fg: #eceef1; --muted: #a4abb5; --line: #2a2e35;
    --card: #1c1f25; --accent: #ff3355; --accent-fg: #ffffff;
  }
}
:root[data-theme="dark"] {
  --bg: #14161a; --fg: #eceef1; --muted: #a4abb5; --line: #2a2e35;
  --card: #1c1f25; --accent: #ff3355; --accent-fg: #ffffff;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  line-height: 1.85;
  font-size: 16px;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }

header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
header.site a.brand { font-weight: 700; text-decoration: none; color: var(--fg); font-size: 17px; letter-spacing: .02em; }
header.site a.cta { font-size: 13px; padding: 7px 14px; border-radius: 999px; background: var(--accent); color: var(--accent-fg); text-decoration: none; white-space: nowrap; }

h1 { font-size: 26px; line-height: 1.45; margin: 28px 0 10px; letter-spacing: .01em; }
h2 { font-size: 20px; line-height: 1.5; margin: 40px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
h3 { font-size: 16px; margin: 24px 0 8px; }
p { margin: 0 0 14px; }
.lead { font-size: 15px; color: var(--muted); margin-bottom: 22px; }
ul, ol { padding-left: 1.3em; margin: 0 0 16px; }
li { margin-bottom: 6px; }
a { color: inherit; }

.note { font-size: 13px; color: var(--muted); background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin: 18px 0; }

/* モバイルでは折り返して全列を読ませる。表が広い場合のみ横スクロールに退避 */
.tablewrap { overflow-x: auto; margin: 0 0 18px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; line-height: 1.6; }
th { background: var(--card); font-weight: 600; }

details { border: 1px solid var(--line); border-radius: 10px; padding: 0 14px; margin-bottom: 8px; background: var(--card); }
details summary { cursor: pointer; padding: 13px 0; font-weight: 600; font-size: 15px; list-style-position: inside; }
details[open] summary { border-bottom: 1px solid var(--line); }
details .a { padding: 12px 0; font-size: 14px; color: var(--muted); white-space: pre-line; }

.cta-box { text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 26px 18px; margin: 36px 0; }
.cta-box .btn { display: inline-block; background: var(--accent); color: var(--accent-fg); text-decoration: none; font-weight: 700; padding: 14px 34px; border-radius: 999px; font-size: 16px; }
.cta-box .sub { font-size: 13px; color: var(--muted); margin-top: 12px; }

nav.crumb { font-size: 13px; color: var(--muted); padding-top: 14px; }
nav.crumb a { color: var(--muted); }

footer.site { border-top: 1px solid var(--line); margin-top: 48px; padding: 22px 0 40px; font-size: 13px; color: var(--muted); }
footer.site a { display: inline-block; margin: 0 14px 6px 0; color: var(--muted); }

@media (max-width: 480px) {
  h1 { font-size: 22px; }
  h2 { font-size: 18px; }
  body { font-size: 15px; }
}

/* ── CTAバナー ───────────────────────────────── */
.cta-banner {
  display: block;
  margin: 28px 0;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
}
.cta-banner img {
  display: block;
  width: 100%;
  height: auto;
}
/* バナー画像だけだとリンクだと気づきにくいので、下にボタン帯を付ける */
.cta-banner-label {
  display: block;
  padding: 14px 16px;
  background: var(--accent, #e4002b);
  color: #fff;
  font-weight: 700;
  text-align: center;
  letter-spacing: .02em;
}

/* ── キャラ写真の並び ─────────────────────────── */
.shots { margin: 24px 0; }
.shots ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.shots li { margin: 0; }
.shots img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  background: var(--thumb-bg, #f1f3f5);
}
.shots .cap {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.5;
}
.shots .cap small { color: var(--muted, #6b7280); }
.shots figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted, #6b7280);
}
@media (max-width: 640px) {
  .shots ul { grid-template-columns: repeat(2, 1fr); }
}
