/* ===== Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #ffa600;
  --primary-light: #fff8ee;
  --primary-pale: #fff2d9;
  --primary-dark: #a96900;
  --pink: #ff7eb3;
  --blue: #7ec8e3;
  --bg: #ffffff;
  --bg-warm: #fef9f2;
  --bg-gray: #f7f6f4;
  --surface: #ffffff;
  --text: #333333;
  --text-muted: #888888;
  --radius: 20px;
  --radius-sm: 12px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Zen Maru Gothic', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  overflow-x: hidden;
}

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

.text-center {
  text-align: center;
}

/* 文節単位で折り返す（変なところで改行されないように）
   各クローズは内部で改行せず、クローズとクローズの“間”だけで折り返す */
.nobr {
  display: inline-block;
  white-space: nowrap;
}

/* アクセント文字（キーワード強調） */
.hand {
  color: var(--primary);
  font-weight: 900;
}

/* 黄色テキスト強調 */
.text-yellow {
  color: #e6b800;
}

/* 見出しは自動でバランスよく折り返し */
h1,
h2,
h3 {
  text-wrap: balance;
}

/* 本文は読みやすく折り返し */
p {
  text-wrap: pretty;
}

/* ===== Nav ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.3s;
  display: inline-block;
}

.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg-warm);
  padding-top: 68px;
  overflow: hidden;
}

.hero-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-circle-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 166, 0, 0.08) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}

.hero-circle-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 126, 179, 0.06) 0%, transparent 70%);
  bottom: -50px;
  left: -100px;
}

.hero-circle-3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(126, 200, 227, 0.08) 0%, transparent 70%);
  top: 30%;
  left: 20%;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-bubble {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-dark);
  background: #fff;
  border: 2px solid var(--primary);
  border-radius: 100px;
  padding: 6px 20px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 4px 14px rgba(255, 166, 0, 0.12);
}

.hero-bubble::after {
  content: '';
  position: absolute;
  left: 32px;
  bottom: -8px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(45deg);
}

.hero h1 {
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
  color: var(--text);
}

.hero h1 .hand {
  color: var(--primary);
  font-size: 1.15em;
}

.hero-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 2;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: all 0.3s;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(255, 166, 0, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 166, 0, 0.4);
}

.btn-outline {
  background: var(--surface);
  color: var(--text);
  border: 2px solid #e0e0e0;
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ===== Phone Mockup ===== */
.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-stack {
  position: relative;
  width: 330px;
  height: 540px;
  margin: 0 auto;
}

.phone-mockup {
  background: var(--surface);
  border-radius: 30px;
  padding: 8px;
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
  position: absolute;
}

.phone-front {
  width: 240px;
  z-index: 2;
  bottom: 0;
  left: 0;
}

.phone-back {
  width: 210px;
  right: 0;
  top: 0;
  z-index: 1;
  opacity: 0.96;
  transform: rotate(4deg);
}

.phone-screen {
  background: var(--bg-warm);
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  line-height: 0;
}

.phone-shot {
  display: block;
  width: 100%;
  height: auto;
}

.mock-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-weight: 700;
  font-size: 0.85rem;
}

.mock-tabs {
  display: flex;
  gap: 4px;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 100px;
  padding: 3px;
  margin-bottom: 14px;
}

.mock-tabs span {
  flex: 1;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 6px 0;
  border-radius: 100px;
}

.mock-tabs span.active {
  background: var(--primary);
  color: #fff;
}

.mock-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #ffcc66);
}

.mock-calendar {
  background: var(--surface);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.mock-month {
  font-weight: 700;
  font-size: 0.75rem;
  text-align: center;
  margin-bottom: 8px;
  color: var(--primary-dark);
}

.mock-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.55rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.mock-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.65rem;
  gap: 2px;
  color: var(--text);
}

.mock-grid div {
  padding: 4px 0;
  border-radius: 50%;
}

.mock-grid .today {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}

.mock-grid .has-event {
  position: relative;
}

.mock-grid .has-event::after {
  content: '';
  position: absolute;
  bottom: 1px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary);
}

.mock-events {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-event {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border-radius: 10px;
  padding: 10px 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.mock-event-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.mock-event-dot.alt {
  background: var(--pink);
}

.mock-event strong {
  font-size: 0.75rem;
  display: block;
}

.mock-event small {
  font-size: 0.6rem;
  color: var(--text-muted);
}

/* phone-front: feed of casual plans */
.mock-feed {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mock-post {
  background: var(--surface);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.mock-post-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.mock-post-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}

.mock-post-meta strong {
  font-size: 0.72rem;
  display: block;
  line-height: 1.2;
}

.mock-post-meta small {
  font-size: 0.6rem;
  color: var(--text-muted);
}

.mock-post-body {
  font-size: 0.72rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

.mock-post-react {
  display: flex;
  gap: 6px;
}

.mock-react {
  font-size: 0.6rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--bg-gray);
  color: var(--text-muted);
}

.mock-react.active {
  background: var(--primary-pale);
  color: var(--primary-dark);
}

/* phone-back: compose */
.mock-group-header {
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.mock-compose {
  background: var(--surface);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.mock-compose-label {
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.mock-compose-text {
  font-size: 0.72rem;
  line-height: 1.5;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mock-compose-chips {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.mock-chip {
  font-size: 0.6rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--bg-gray);
  color: var(--text-muted);
}

.mock-chip.active {
  background: var(--primary-pale);
  color: var(--primary-dark);
}

.mock-compose-btn {
  background: var(--primary);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  text-align: center;
  padding: 8px;
  border-radius: 100px;
}

/* ===== Problems ===== */
.problems {
  background: var(--bg);
  padding: 0;
  position: relative;
  overflow: hidden;
}

.problems .section-inner {
  padding: 100px 24px 80px;
}

.problems-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}

.problems-illust {
  position: relative;
  display: flex;
  justify-content: center;
}

.problems-illust img {
  width: 100%;
  max-width: 360px;
  height: auto;
}

/* 吹き出しの中のセリフとして「こう思ったこと、ありませんか？」を重ねる */
.problems-thought {
  position: absolute;
  top: -8%;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  max-width: 240px;
  text-align: center;
  z-index: 1;
  pointer-events: none;
}

.problems-thought p {
  font-size: clamp(0.9rem, 3vw, 1.1rem);
  font-weight: 900;
  line-height: 1.5;
  color: var(--text);
  margin: 0;
}

.problems-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.problems-list li {
  background: var(--bg-gray);
  border-radius: 14px;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.7;
  color: var(--text);
  position: relative;
  padding-left: 52px;
}

.problems-list li::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.5;
}

.problems-answer {
  text-align: center;
  position: relative;
}

.problems-answer-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary-pale);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.problems-answer-circle::after {
  content: '▼';
  color: var(--primary);
  font-size: 1.4rem;
}

.problems-answer p {
  font-size: 1.2rem;
  font-weight: 900;
}

.problems-answer strong {
  color: var(--primary);
}

/* ===== Sections Common ===== */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 24px;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  line-height: 1.5;
  margin-bottom: 56px;
}

/* ===== Features ===== */
.features {
  background: var(--bg-warm);
  position: relative;
  overflow: hidden;
}

.feature-block {
  margin-bottom: 80px;
}

.feature-block:last-child {
  margin-bottom: 0;
}

.feature-label-wrap {
  margin-bottom: 24px;
}

.feature-label {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-pale);
  padding: 6px 20px;
  border-radius: 100px;
  letter-spacing: 0.05em;
}

.feature-content-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-block.reverse .feature-content-row {
  direction: rtl;
}

.feature-block.reverse .feature-content-row > * {
  direction: ltr;
}

.feature-text h3 {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 12px;
  line-height: 1.5;
}

.feature-sub {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-dark);
  background: var(--primary-pale);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 16px;
}

.feature-text p:not(.feature-sub) {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 2;
}

.feature-img {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 36px 0;
}

.feature-img-circle {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: var(--primary-pale);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.feature-svg {
  position: relative;
  z-index: 1;
  width: 240px;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.06));
}

.feature-photo {
  position: relative;
  z-index: 1;
  width: 62%;
  max-width: 230px;
  height: auto;
  display: block;
}

.feature-photo-sm {
  width: 48%;
  max-width: 175px;
}

/* 実機スクショ用フレーム */
.feature-phone {
  position: relative;
  z-index: 1;
  width: 218px;
  max-width: 64%;
  background: #fff;
  border-radius: 28px;
  padding: 7px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.14), 0 2px 8px rgba(0, 0, 0, 0.06);
}

.feature-phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
}

/* ===== Story（開発への想い）===== */
.story {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.story-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.story-circle-1 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(255, 166, 0, 0.06) 0%, transparent 70%);
  top: 40px;
  left: -120px;
}

.story-circle-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 126, 179, 0.05) 0%, transparent 70%);
  bottom: 40px;
  right: -100px;
}

.story .section-inner {
  position: relative;
  z-index: 1;
}

.section-eyebrow {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.story h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  margin-bottom: 40px;
}

.story-illust {
  display: flex;
  justify-content: center;
}

.story-illust img {
  width: 100%;
  height: auto;
}

.story-illust-top {
  margin: 0 auto 44px;
}

.story-illust-top img {
  max-width: 280px;
}

.story-illust-mid {
  margin: 8px auto 28px;
}

.story-illust-mid img {
  max-width: 180px;
}

.story-body {
  max-width: 620px;
  margin: 0 auto;
}

.story-body p {
  font-size: 1rem;
  line-height: 2.2;
  color: var(--text);
  margin-bottom: 28px;
  /* wbr の位置でやさしく折り返す */
  word-break: normal;
  overflow-wrap: break-word;
}

.story-lead {
  background: var(--bg-warm);
  border-left: 4px solid var(--primary);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  font-weight: 700;
}

.story-lead strong {
  color: var(--primary);
}

.story-closing {
  text-align: center;
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--primary-dark);
  margin-top: 8px;
  margin-bottom: 0 !important;
}

/* ===== How ===== */
.how {
  background: var(--bg-warm);
  position: relative;
  overflow: hidden;
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
}

.step {
  text-align: center;
  flex: 1;
  max-width: 220px;
}

.step-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(255, 166, 0, 0.25);
}

.step-circle span {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
}

.step h3 {
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.step p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.step-arrow {
  display: flex;
  align-items: center;
  padding-top: 24px;
}

/* ===== FAQ ===== */
.faq {
  background: var(--bg-gray);
  position: relative;
  overflow: hidden;
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.faq-item summary {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--primary);
  font-weight: 700;
  transition: transform 0.3s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.9;
}

/* ===== CTA ===== */
.cta {
  background: var(--bg);
}

.cta .section-inner {
  padding: 80px 24px 100px;
}

.cta-inner {
  background: linear-gradient(135deg, var(--primary), #ffbb33);
  border-radius: 28px;
  padding: 64px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.cta-circle-1 {
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.08);
  top: -80px;
  right: -60px;
}

.cta-circle-2 {
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.06);
  bottom: -60px;
  left: -40px;
}

.cta-logo {
  display: block;
  width: 110px;
  height: auto;
  margin: 0 auto 18px;
  position: relative;
  z-index: 1;
}

.cta-hand {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  padding: 6px 22px;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.cta h2 {
  color: #fff;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.cta-inner > p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.store-link {
  display: inline-block;
  transition: transform 0.3s, box-shadow 0.3s;
  border-radius: 10px;
}

.store-link:hover {
  transform: translateY(-2px);
}

.store-img {
  display: block;
  height: 52px;
  width: auto;
}

/* ===== Footer ===== */
.footer {
  background: #2a2a2a;
  color: rgba(255, 255, 255, 0.5);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 0 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
}

.footer-brand p {
  font-size: 0.75rem;
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  font-size: 0.8rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.7rem;
}

/* ===== Fixed bar (mobile) ===== */
.fixed-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 12px 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.fixed-bar-btn {
  display: block;
  text-align: center;
  background: var(--primary);
  color: #fff;
  padding: 14px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.9rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .pc-only {
    display: none !important;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 56px 20px;
    gap: 56px;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .phone-stack {
    width: 240px;
    height: 470px;
  }

  .phone-front {
    width: 210px;
  }

  .phone-back {
    width: 180px;
  }

  .section-inner {
    padding: 72px 20px;
  }

  .problems-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .problems-illust img {
    max-width: 260px;
  }

  .problems-list li {
    text-align: left;
  }

  .feature-content-row,
  .feature-block.reverse .feature-content-row {
    grid-template-columns: 1fr;
    gap: 12px;
    direction: ltr;
  }

  .feature-text {
    text-align: center;
  }

  .feature-photo {
    width: 52%;
  }

  .feature-photo-sm {
    width: 42%;
  }

  .steps {
    flex-direction: column;
    align-items: center;
  }

  .step-arrow {
    transform: rotate(90deg);
    padding: 0;
  }

  .footer-top {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .cta-inner {
    padding: 48px 24px;
  }

  .fixed-bar {
    display: block;
  }

  body {
    padding-bottom: 72px;
  }
}

/* ===== Animations（控えめ）===== */

/* ふわっと浮遊する装飾サークル */
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

.hero-circle-1 { animation: floatY 9s ease-in-out infinite; }
.hero-circle-2 { animation: floatY 11s ease-in-out infinite; }
.hero-circle-3 { animation: floatY 7s ease-in-out infinite; }
.story-circle-1 { animation: floatY 10s ease-in-out infinite; }
.story-circle-2 { animation: floatY 8s ease-in-out infinite reverse; }
.cta-circle-1 { animation: floatY 12s ease-in-out infinite; }
.cta-circle-2 { animation: floatY 9s ease-in-out infinite reverse; }

/* セクションに散らばる装飾の丸 */
.bg-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* 装飾レイヤーの上に本文を載せる */
.hero-inner,
.story .section-inner,
.problems .section-inner,
.features .section-inner,
.how .section-inner,
.faq .section-inner,
.cta-inner {
  position: relative;
  z-index: 1;
}

.bg-dot {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s ease, transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.bg-dot.is-visible {
  opacity: 1;
  transform: translateY(0);
  animation: floatY 9s ease-in-out infinite;
}

/* 色のバリエーション（塗りのみ） */
.d-fill-primary { background: rgba(255, 166, 0, 0.22); }
.d-fill-pink    { background: rgba(255, 158, 184, 0.22); }
.d-fill-blue    { background: rgba(126, 200, 227, 0.22); }

/* 文字に被る大きめサークル用：さりげなく */
.bg-dot.soft.d-fill-primary { background: rgba(255, 166, 0, 0.10); }
.bg-dot.soft.d-fill-pink    { background: rgba(255, 158, 184, 0.10); }
.bg-dot.soft.d-fill-blue    { background: rgba(126, 200, 227, 0.10); }

/* 浮遊リズムを揃いすぎないようバラす */
.bg-dot:nth-child(2n).is-visible  { animation-duration: 11s; animation-direction: reverse; }
.bg-dot:nth-child(3n).is-visible  { animation-duration: 12s; }
.bg-dot:nth-child(5n).is-visible  { animation-duration: 7s; animation-direction: reverse; }

/* スマホモックの軽い上下動 */
@keyframes floatPhone {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.phone-stack {
  animation: floatPhone 6s ease-in-out infinite;
}

/* 吹き出しのゆれ */
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50% { transform: translateY(-5px) rotate(1.5deg); }
}

.hero-bubble {
  animation: bob 4s ease-in-out infinite;
}

/* スクロールで下からふわっと表示 */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* 連続要素は少しずつ遅らせて */
.reveal-stagger.is-visible:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.is-visible:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.is-visible:nth-child(4) { transition-delay: 0.24s; }

/* ボタンの押し心地 */
.btn,
.store-link,
.fixed-bar-btn {
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:active,
.store-link:active {
  transform: translateY(1px) scale(0.99);
}

/* アニメーションを控えたいユーザーには無効化 */
@media (prefers-reduced-motion: reduce) {
  .hero-circle-1, .hero-circle-2, .hero-circle-3,
  .story-circle-1, .story-circle-2,
  .cta-circle-1, .cta-circle-2,
  .bg-dot, .bg-dot.is-visible,
  .cta-logo, .phone-stack, .hero-bubble {
    animation: none;
  }

  .bg-dot {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
