﻿:root {
  --bg: #fbfcff;
  --surface: #ffffff;
  --text: #2a3040;
  --muted: #5d6681;
  --line: #e8ebf5;
  --pink: #ffd7e8;
  --yellow: #fff2bf;
  --sky: #d9efff;
  --lavender: #ebe3ff;
  --primary: #4b5ea8;
  --primary-soft: #edf1ff;
  --shadow: 0 10px 28px rgba(90, 102, 153, 0.08);
  --radius-lg: 24px;
  --radius-md: 16px;
  --container: min(1080px, 92vw);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 600px at 90% -10%, #f2f7ff 0, transparent 70%),
    radial-gradient(900px 500px at -10% 0%, #fff4f8 0, transparent 70%),
    var(--bg);
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  padding: 72px 0;
}

.section-soft {
  background: linear-gradient(160deg, #ffffff 0%, #f9fbff 100%);
}

main > section:nth-of-type(1) {
  background: linear-gradient(165deg, #f8f9ff 0%, #f5f8ff 55%, #fdf6fb 100%);
}

main > section:nth-of-type(2) {
  background: linear-gradient(165deg, #fffdfd 0%, #fff7fb 100%);
}

main > section:nth-of-type(3) {
  background: linear-gradient(165deg, #f6fbff 0%, #f4f8ff 100%);
}

main > section:nth-of-type(4) {
  background: linear-gradient(165deg, #fffef7 0%, #fffaf1 100%);
}

main > section:nth-of-type(5) {
  background: linear-gradient(165deg, #f8fcff 0%, #f6f9ff 100%);
}

main > section:nth-of-type(6) {
  background: linear-gradient(165deg, #fffaf6 0%, #fff7f2 100%);
}

main > section:nth-of-type(7) {
  background: linear-gradient(165deg, #f9fbff 0%, #f7f9ff 100%);
}

main > section:nth-of-type(8) {
  background: linear-gradient(165deg, #fff8fc 0%, #fff6fb 100%);
}

main > section:nth-of-type(9) {
  background: linear-gradient(165deg, #f7fcff 0%, #f5f9ff 100%);
}

main > section:nth-of-type(10) {
  background: linear-gradient(165deg, #fffaf5 0%, #fff7f8 100%);
}

main > section:nth-of-type(11) {
  background: linear-gradient(165deg, #fffaf5 0%, #fff6f6 100%);
}

h1,
h2,
h3 {
  line-height: 1.35;
  margin: 0;
}

h1 {
  font-size: clamp(1.9rem, 6.2vw, 3rem);
  letter-spacing: 0.02em;
}

h2 {
  font-size: clamp(1.45rem, 4.8vw, 2.1rem);
  margin-bottom: 16px;
}

h3 {
  font-size: clamp(1.05rem, 3.8vw, 1.28rem);
  margin-bottom: 8px;
}

p {
  margin: 0 0 14px;
}

.section-intro,
.section-outro {
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(8px);
  background: rgba(251, 252, 255, 0.88);
  border-bottom: 1px solid rgba(232, 235, 245, 0.85);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand img {
  width: 126px;
  height: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-play {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: 0 3px 10px rgba(90, 102, 153, 0.1);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 18px rgba(75, 94, 168, 0.27);
  padding-inline: 24px;
}

.hero {
  position: relative;
  overflow: clip;
  padding-top: 52px;
}

.hero-grid {
  display: grid;
  gap: 30px;
}

.eyebrow {
  display: inline-block;
  font-weight: 700;
  border-radius: 999px;
  padding: 6px 12px;
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: 14px;
}

.lead {
  color: var(--muted);
}

.cta-row {
  margin: 20px 0 16px;
}

.chip-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.chip-list li {
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.84rem;
}

.hero-visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: end;
}

.phone {
  width: 100%;
  height: auto;
  max-height: clamp(320px, 56vw, 540px);
  border-radius: 24px;
  border: 1px solid #cad3ec;
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, #f6f9ff 0%, #edf2ff 100%);
  transform-origin: center bottom;
}

.shot-1 { transform: translateY(18px) rotate(-3deg); }
.shot-2 { transform: translateY(0) rotate(0deg); }
.shot-3 { transform: translateY(18px) rotate(3deg); }

.bg-ornament {
  position: absolute;
  border-radius: 50%;
  z-index: -1;
  filter: blur(2px);
}

.bg-ornament-a {
  width: 220px;
  height: 220px;
  right: -80px;
  top: 20px;
  background: radial-gradient(circle at 40% 40%, #fff, var(--lavender));
}

.bg-ornament-b {
  width: 190px;
  height: 190px;
  left: -70px;
  top: 140px;
  background: radial-gradient(circle at 40% 40%, #fff, var(--pink));
}

.card-grid {
  display: grid;
  gap: 14px;
}

.sample-list {
  margin-top: 14px;
  counter-reset: sample-step;
}

.sample-row {
  display: grid;
  gap: 14px;
  align-items: center;
  margin-top: 0;
  position: relative;
}

.sample-row:nth-of-type(odd) {
  background: linear-gradient(140deg, #ffffff 0%, #f8fbff 100%);
}

.sample-row:nth-of-type(even) {
  background: linear-gradient(140deg, #ffffff 0%, #fff8fc 100%);
}

.sample-row + .sample-row {
  margin-top: 18px;
}

.sample-shot {
  width: min(210px, 74vw);
  margin-inline: auto;
}

.sample-shot img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  border: 1px solid #cad3ec;
  box-shadow: var(--shadow);
}

.sample-copy h3 {
  counter-increment: sample-step;
  margin-bottom: 4px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.sample-copy h3::before {
  content: counter(sample-step);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 0.84rem;
  font-weight: 800;
  color: #3e4f8f;
  background: linear-gradient(135deg, #ffe8a8, #dcedff);
}

.sample-copy {
  width: min(100%, 560px);
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
}

.flow {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.flow-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 10px 12px;
}

.flow-item span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 700;
  background: linear-gradient(135deg, var(--yellow), var(--sky));
}

.flow-item p {
  margin: 0;
  line-height: 1.5;
}

.flow-arrow {
  text-align: center;
  color: #9ca6ca;
  font-weight: 700;
}

.flow-arrow::before {
  content: "↓";
}

.safe-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 14px;
}

.icon-item {
  position: relative;
  padding-left: 50px;
  min-height: 54px;
  display: flex;
  align-items: center;
  font-weight: 600;
}

.icon-item::before {
  content: "";
  width: 30px;
  height: 30px;
  border-radius: 50%;
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, var(--sky), var(--lavender));
}

.split {
  display: grid;
  gap: 18px;
  align-items: center;
}

.phone-single {
  max-width: 320px;
  margin: 0 auto;
}

.phone-single img {
  width: 100%;
  height: auto;
  max-height: min(66vh, 560px);
  border-radius: 24px;
  border: 1px solid #cad3ec;
  box-shadow: var(--shadow);
}

.pricing-grid {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.price-card {
  position: relative;
}

.price-main {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 4px 0 12px;
}

.price-card ul {
  margin: 0;
  padding-left: 18px;
}

.featured {
  border-color: #ced8ff;
  background: linear-gradient(180deg, #fff 0%, #f8faff 100%);
}

.improve-grid {
  margin-top: 16px;
}

.dev-card {
  display: grid;
  gap: 16px;
  align-items: center;
}

.dev-logo {
  width: min(360px, 96%);
  height: auto;
}

.faq-wrap {
  max-width: 900px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 12px;
  background: #fff;
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  padding: 16px 48px 16px 16px;
  cursor: pointer;
  position: relative;
}

.faq-trigger::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #7f89a8;
  font-size: 1.3rem;
}

.faq-trigger[aria-expanded="true"]::after {
  content: "−";
}

.faq-panel {
  padding: 0 16px 14px;
  color: var(--muted);
}

.cta-section {
  padding-top: 26px;
}

.cta-box {
  text-align: center;
  background: linear-gradient(135deg, #fff 0%, #f9fbff 40%, #fff7fb 100%);
  border-radius: 28px;
  border: 1px solid var(--line);
  padding: 34px 18px;
  box-shadow: var(--shadow);
}

.cta-box h2 {
  margin-bottom: 8px;
}

.cta-title span {
  display: inline;
}

.cta-and {
  padding-inline: 0.15em;
}

.site-footer {
  padding: 30px 0 40px;
  color: #7f88a5;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 740px) {
  .section {
    padding: 92px 0;
  }

  .hero-grid {
    grid-template-columns: 1.06fr 0.94fr;
    align-items: center;
    gap: 34px;
  }

  .hero-visual {
    padding-block: 8px;
  }

  .feature-grid,
  .safe-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .flow {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
  }

  .flow-arrow {
    font-size: 1.3rem;
  }

  .flow-arrow::before {
    content: "→";
  }

  .split,
  .dev-card {
    grid-template-columns: 0.92fr 1.08fr;
    gap: 14px;
  }

  .sample-row {
    grid-template-columns: 220px 1fr;
    gap: 24px;
    margin-top: 0;
  }

  .sample-shot {
    width: 220px;
    margin-inline: 0;
  }

  .sample-row:nth-of-type(odd) .sample-shot {
    justify-self: start;
  }

  .sample-row:nth-of-type(even) {
    grid-template-columns: 1fr 220px;
  }

  .sample-row:nth-of-type(even) .sample-shot {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .sample-row:nth-of-type(even) .sample-copy {
    grid-column: 1;
    grid-row: 1;
  }

  .sample-row + .sample-row {
    margin-top: 20px;
  }

  .pricing-grid,
  .improve-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .btn {
    width: 100%;
  }

  .header-inner {
    gap: 10px;
  }

  .btn-play {
    width: auto;
    white-space: nowrap;
    min-height: 42px;
    padding-inline: 14px;
    font-size: 0.85rem;
  }

  .hero-visual {
    gap: 8px;
  }

  .dev-logo {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 560px) {
  .cta-title span {
    display: block;
  }

  .cta-and {
    padding: 0;
    line-height: 1.1;
  }
}

/* README: 画像差し替え時の見た目調整
  - 実画像の比率が大きく異なる場合は .phone / .phone-single img の border-radius を調整
  - 枚数を増減する場合は .hero-visual の grid-template-columns を変更
*/
