/* トップページ（index.html・ISS-02-006）。色はダッシュボード（dashboard.css）と同じ */
:root {
  --navy: #1f2a44;
  --navy-2: #2b3a5c;
  --teal: #0d9488;
  --teal-light: #5eead4;
  --ink: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg-alt: #f5f7fa;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: "Inter", "Noto Sans JP", "Yu Gothic UI", "Hiragino Sans", "Meiryo", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.7;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.wrap.narrow {
  max-width: 820px;
}

/* ===== ヘッダー ===== */
.top-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--navy);
  text-decoration: none;
}
.brand .logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--teal);
  display: grid;
  place-items: center;
}
.header-nav {
  display: flex;
  gap: 22px;
  margin-left: 12px;
}
.header-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.header-nav a:hover {
  color: var(--teal);
}
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-switch {
  display: flex;
}
.lang-switch button {
  border: 1px solid var(--navy);
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  font-size: 12px;
  padding: 5px 10px;
  cursor: pointer;
}
.lang-switch button:first-child {
  border-radius: 6px 0 0 6px;
}
.lang-switch button:last-child {
  border-radius: 0 6px 6px 0;
  border-left: 0;
}
.lang-switch button.active {
  background: var(--navy);
  color: #fff;
}

/* ===== ボタン ===== */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.1s, box-shadow 0.1s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn.primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 6px 16px rgba(13, 148, 136, 0.3);
}
.btn.ghost {
  border-color: var(--navy);
  color: var(--navy);
  background: #fff;
}
.btn.ghost.light {
  border-color: #fff;
  color: #fff;
  background: transparent;
}
.btn.small {
  padding: 7px 16px;
  font-size: 14px;
  box-shadow: none;
}

/* ===== ファーストビュー ===== */
.hero {
  background: radial-gradient(circle at 90% 10%, #e6f6f4 0%, #fff 55%);
  padding: 64px 0 72px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  color: var(--teal);
  font-weight: 700;
  font-size: 14px;
  margin: 0 0 12px;
}
.hero h1 {
  font-size: 46px;
  line-height: 1.3;
  margin: 0;
  color: var(--navy);
  font-weight: 900;
}
/* 行の途中で折り返さないよう、1 行ずつ block にする（「できあ／がる」と切れない） */
.hero h1 > span {
  display: block;
}
.hero h1 .accent {
  color: var(--teal);
}
.lead {
  font-size: 17px;
  color: #374151;
  margin: 22px 0 28px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-actions.center {
  justify-content: center;
}
.note {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.hero-shot {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(31, 42, 68, 0.22), 0 0 0 1px var(--line);
}

/* ===== セクション ===== */
.section {
  padding: 80px 0;
}
.section.alt {
  background: var(--bg-alt);
}
.section h2,
.final-cta h2 {
  text-align: center;
  font-size: 32px;
  color: var(--navy);
  margin: 0 0 12px;
  font-weight: 900;
}
.section-lead {
  text-align: center;
  color: var(--muted);
  margin: 0 0 40px;
}

/* できること */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  background: #fff;
}
.feature .icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #e6f6f4;
  color: var(--teal);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.feature h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--navy);
}
.feature p {
  margin: 0;
  font-size: 14px;
  color: #4b5563;
}

/* 使い方 */
.steps {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  gap: 56px;
}
.step {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 40px;
  align-items: center;
}
.step:nth-child(even) .step-text {
  order: 2;
}
.step img {
  border-radius: 10px;
  box-shadow: 0 16px 36px rgba(31, 42, 68, 0.16), 0 0 0 1px var(--line);
}
.step .num {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
}
.step h3 {
  font-size: 22px;
  color: var(--navy);
  margin: 12px 0 8px;
}
.step p {
  margin: 0;
  color: #4b5563;
}

/* 料金 */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.plan {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 24px;
  background: #fff;
  position: relative;
}
.plan.featured {
  border: 2px solid var(--teal);
  box-shadow: 0 14px 32px rgba(13, 148, 136, 0.15);
}
.plan .badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  background: var(--teal);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.plan h3 {
  margin: 0;
  font-size: 18px;
  color: var(--navy);
}
.price {
  margin: 8px 0 12px;
  font-size: 34px;
  font-weight: 800;
  color: var(--navy);
}
.price small {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  margin-left: 4px;
}
.campaign {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
}
.plan ul {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  color: #374151;
}
.fine {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin: 20px 0 0;
}

/* よくある質問 */
details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 20px;
  margin-top: 12px;
}
summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
}
details p {
  margin: 10px 0 0;
  color: #4b5563;
  font-size: 15px;
}

/* 最後の呼びかけ */
.final-cta {
  background: var(--navy);
  padding: 72px 0;
}
.final-cta h2 {
  color: #fff;
  margin-bottom: 28px;
}
.site-footer {
  margin-top: 0;
}

/* ===== 狭い画面 ===== */
@media (max-width: 900px) {
  .header-nav {
    display: none;
  }
  .hero {
    padding: 40px 0 48px;
  }
  .hero-inner,
  .step {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .step:nth-child(even) .step-text {
    order: 0;
  }
  .hero h1 {
    font-size: 34px;
  }
  .features,
  .plans {
    grid-template-columns: 1fr;
  }
  .plans {
    gap: 28px;
  }
  .section {
    padding: 56px 0;
  }
  .section h2,
  .final-cta h2 {
    font-size: 26px;
  }
}
/* スマホ: ヘッダー（ロゴ・JP／EN・無料で試す）を 1 行に収める。ボタンの文字は折り返さない */
@media (max-width: 768px) {
  .wrap {
    padding: 0 16px;
  }
  .header-inner {
    gap: 8px;
    height: 56px;
  }
  .brand {
    font-size: 16px;
    gap: 8px;
  }
  .brand .logo {
    width: 28px;
    height: 28px;
  }
  .header-actions {
    gap: 8px;
  }
  .lang-switch button {
    padding: 4px 8px;
    font-size: 11px;
  }
  .btn {
    white-space: nowrap;
  }
  .btn.small {
    padding: 6px 12px;
    font-size: 13px;
  }
}
