/*
 * トップの紹介ページ（public/lp/*.html）の見た目。アプリの CSS（Tailwind）はビルドでファイル名が変わるので読めず、ここに手で書く。
 * 色・角丸はアプリ（src/App.css）と同じ値。ダークモードは <html class="dark">（アプリと同じ設定を最初のスクリプトが読む）
 */
:root {
  --navy: #1b2340;
  --accent: #c2401f;
  --link: #b8361f;
  --paper: #f7f6f2;
  --card: #ffffff;
  --line: #e4e2da;
  --line-strong: #d6d3c9;
  --muted: #4a5068;
  --fill: #1b2340;
  --on-fill: #ffffff;
}
html.dark {
  color-scheme: dark;
  --navy: #e7e9f0;
  --accent: #dc5a37;
  --link: #f28c6e;
  --paper: #121520;
  --card: #1b1f2b;
  --line: #2c3140;
  --line-strong: #3b4153;
  --muted: #a9aec0;
  --fill: #e7e9f0;
  --on-fill: #1b2340;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.8;
}
a {
  color: var(--link);
}
h1,
h2,
h3,
p,
dl,
dd,
ol,
ul {
  margin: 0;
}
ol,
ul {
  padding: 0;
  list-style: none;
}

.wrap {
  max-width: 70rem;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 64rem) {
  .wrap {
    padding: 0 32px;
  }
}
section.wrap {
  padding-top: 48px;
  padding-bottom: 48px;
}
h2 {
  font-size: 24px;
  margin-bottom: 24px;
}

.logo-dark {
  display: none;
}
html.dark .logo-light {
  display: none;
}
html.dark .logo-dark {
  display: inline;
}

/* .wrap（左右の余白）より強くして、上下の余白を効かせる */
header.wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  padding-bottom: 20px;
}
header img {
  height: 28px;
  display: block;
}
header .right {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
}
.langs {
  display: none;
  gap: 12px;
}
@media (min-width: 40rem) {
  .langs {
    display: flex;
  }
}
.langs a {
  color: var(--muted);
  text-decoration: none;
}
.langs [aria-current] {
  color: var(--navy);
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--card);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.button.start {
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
}
.button.start:hover {
  opacity: 0.9;
}
.note {
  font-size: 12px;
  color: var(--muted);
}
.cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.hero {
  display: grid;
  gap: 40px;
  align-items: center;
}
.hero .eyebrow {
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}
.hero h1 {
  font-size: 28px;
  line-height: 1.4;
}
.hero .lead {
  max-width: 35rem;
  font-size: 16px;
  line-height: 1.9;
  color: var(--muted);
  margin: 20px 0;
}
.shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
  max-width: 30rem;
  width: 100%;
  margin: 0 auto;
}
.shots img:nth-child(2) {
  margin-top: 48px;
}
.shot {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--card);
  box-shadow: 0 12px 40px rgba(27, 35, 64, 0.12);
}
@media (min-width: 64rem) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 26rem);
    padding-top: 48px;
  }
  .hero h1 {
    font-size: 40px;
  }
}

.features {
  display: grid;
  gap: 16px;
}
@media (min-width: 40rem) {
  .features {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 64rem) {
  .features {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.features li {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  padding: 20px;
}
.features h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.features p,
.steps p,
dd {
  font-size: 14px;
  color: var(--muted);
}

.pc .lead {
  max-width: 40rem;
  margin: 12px 0 28px;
  color: var(--muted);
}
.pc-shots {
  display: grid;
  gap: 24px;
}
.pc-shot {
  border-radius: 12px;
}
@media (min-width: 64rem) {
  .pc-shots {
    grid-template-columns: 1fr 1fr;
  }
}

.how h2 {
  margin-bottom: 24px;
}
.steps {
  display: grid;
  gap: 20px;
}
@media (min-width: 64rem) {
  .steps {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.steps li {
  display: flex;
  gap: 12px;
}
.steps .num {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--fill);
  color: var(--on-fill);
  font-size: 14px;
  font-weight: 700;
}
.steps h3 {
  font-size: 15px;
}

.faq {
  max-width: 50rem;
}
.faq div {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
dt {
  font-size: 15px;
  font-weight: 700;
}

.end {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.end .cta {
  align-items: center;
}
.end h2 {
  margin: 0;
}

footer {
  margin-top: 64px;
  border-top: 1px solid var(--line);
}
footer .wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 32px;
  padding-bottom: 32px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}
