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

:root {
  --color-primary: #2D7DD2;
  --color-primary-light: #E8F2FC;
  --color-accent: #FF6B9D;
  --color-accent-light: #FFF0F5;
  --color-text: #1A1A2E;
  --color-text-muted: #6B7280;
  --color-bg: #FFFFFF;
  --color-bg-section: #F8FAFC;
  --color-border: #E5E7EB;
  --radius-card: 20px;
  --radius-pill: 100px;
  --shadow-card: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-card-hover: 0 8px 32px rgba(45,125,210,0.15);
  --font: 'Noto Sans JP', 'Hiragino Sans', 'Meiryo', sans-serif;
  --transition: 0.2s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ===========================
   Header
   =========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.1rem;
}

.logo-icon {
  font-size: 1.4rem;
}

/* アプリアイコン（角丸） */
.logo-app-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  flex-shrink: 0;
}

.logo-app-icon--footer {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.header-nav {
  display: flex;
  gap: 28px;
  font-size: 0.9rem;
  font-weight: 500;
}

.header-nav a {
  color: var(--color-text-muted);
  transition: color var(--transition);
}

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

.nav-home {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  color: var(--color-primary) !important;
  transition: opacity var(--transition) !important;
}

.nav-home:hover {
  opacity: 0.7;
}

.nav-home svg {
  flex-shrink: 0;
}

/* ===========================
   Hero
   =========================== */
.hero {
  background: linear-gradient(135deg, #EBF5FF 0%, #F0F7FF 50%, #FFF0F5 100%);
  padding: 80px 0 60px;
  overflow: hidden;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-text {
  flex: 1;
  min-width: 0;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero-title .accent {
  color: var(--color-primary);
}

.hero-description {
  color: var(--color-text-muted);
  font-size: 1rem;
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-badges {
  margin-bottom: 12px;
}

.badge-link {
  display: inline-block;
  transition: opacity var(--transition), transform var(--transition);
}

.badge-link:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.badge-img {
  height: 52px;
  width: auto;
}

.badge-large {
  height: 64px;
}

.hero-note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.hero-image {
  flex: 0 0 300px;
  display: flex;
  justify-content: center;
}

.hero-visuals {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* ヒーロー上部のアプリアイコン */
.app-icon-hero {
  position: relative;
}

.app-icon-img {
  width: 96px;
  height: 96px;
  border-radius: 22px; /* iOS風の角丸 */
  object-fit: cover;
  box-shadow:
    0 8px 28px rgba(0,0,0,0.22),
    0 0 0 4px rgba(255,255,255,0.7);
}

.phone-mockup {
  position: relative;
  width: 230px;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at center, rgba(45,125,210,0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.screen-img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 36px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.2), 0 0 0 8px rgba(255,255,255,0.6);
}

/* ===========================
   Section共通
   =========================== */
.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 8px;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 48px;
}

/* ===========================
   Features
   =========================== */
.features {
  padding: 80px 0;
  background: var(--color-bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--color-bg-section);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.feature-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

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

/* ===========================
   Screenshots
   =========================== */
.screenshots {
  padding: 80px 0;
  background: var(--color-bg-section);
}

.screenshots-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.screenshots-scroll::-webkit-scrollbar {
  height: 6px;
}

.screenshots-scroll::-webkit-scrollbar-track {
  background: var(--color-border);
  border-radius: 3px;
}

.screenshots-scroll::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 3px;
}

.screenshot-item {
  flex: 0 0 220px;
  scroll-snap-align: start;
  text-align: center;
}

.screenshot-item img {
  width: 220px;
  border-radius: 28px;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition), transform var(--transition);
}

.screenshot-item img:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px) scale(1.02);
}

.screenshot-label {
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

/* ===========================
   Target
   =========================== */
.target {
  padding: 80px 0;
  background: var(--color-bg);
}

.target-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.target-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: linear-gradient(135deg, var(--color-primary-light), #F8FAFC);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 24px 20px;
}

.target-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.target-item p {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
  margin-top: 4px;
}

/* ===========================
   CTA
   =========================== */
.cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1A5EA8 100%);
  padding: 80px 0;
  color: #fff;
}

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

.cta h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  margin-bottom: 12px;
}

.cta p {
  font-size: 1rem;
  opacity: 0.85;
  margin-bottom: 32px;
}

/* ===========================
   Footer
   =========================== */
.site-footer {
  background: #1A1A2E;
  color: #fff;
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.05rem;
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

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

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ===========================
   Privacy Page
   =========================== */
.privacy-header {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, #F0F7FF 100%);
  padding: 60px 0 40px;
  text-align: center;
}

.privacy-header h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  margin-bottom: 8px;
}

.privacy-header p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.privacy-content {
  padding: 60px 0 80px;
}

.privacy-content .container {
  max-width: 800px;
}

.privacy-section {
  margin-bottom: 48px;
}

.privacy-section h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  padding-left: 14px;
  border-left: 4px solid var(--color-primary);
  color: var(--color-primary);
}

.privacy-section p,
.privacy-section li {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.9;
}

.privacy-section ul {
  list-style: none;
  padding: 0;
}

.privacy-section ul li {
  padding-left: 1.2em;
  position: relative;
  margin-bottom: 4px;
}

.privacy-section ul li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: var(--color-primary);
}

.privacy-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 40px;
  transition: opacity var(--transition);
}

.privacy-back:hover {
  opacity: 0.75;
}

.privacy-updated {
  background: var(--color-bg-section);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 48px;
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column-reverse;
    gap: 36px;
    text-align: center;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  .hero-image {
    flex: none;
  }

  .app-icon-img {
    width: 72px;
    height: 72px;
    border-radius: 16px;
  }

  .phone-mockup {
    width: 180px;
  }

  .header-nav {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .target-grid {
    grid-template-columns: 1fr 1fr;
  }

  .screenshot-item {
    flex: 0 0 160px;
  }

  .screenshot-item img {
    width: 160px;
  }
}

@media (max-width: 480px) {
  .target-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 60px 0 40px;
  }
}
