/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1f2937;
  background: #ffffff;
  line-height: 1.7;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

/* ===== Utilities ===== */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
}
.section-subtitle {
  text-align: center;
  color: #6b7280;
  font-size: 1.05rem;
  margin-bottom: 56px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.95rem;
  padding: 10px 24px;
  text-decoration: none;
}
.btn-sm { padding: 6px 18px; font-size: 0.875rem; border-radius: 8px; }
.btn-lg { padding: 14px 36px; font-size: 1.05rem; }
.btn-primary {
  background: #0abab5;
  color: #fff;
  border-color: #0abab5;
}
.btn-primary:hover { background: #099d99; border-color: #099d99; }
.btn-outline {
  background: transparent;
  color: #0abab5;
  border-color: #0abab5;
}
.btn-outline:hover { background: #0abab5; color: #fff; }
.btn-white {
  background: #fff;
  color: #0abab5;
  border-color: #fff;
}
.btn-white:hover { background: #f0fffe; border-color: #f0fffe; }

/* ===== Language Dropdown ===== */
.lang-dropdown {
  position: relative;
  flex-shrink: 0;
}
.lang-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #4b5563;
  background: transparent;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.lang-dropdown-btn:hover {
  border-color: #0abab5;
  color: #0abab5;
}
.lang-chevron {
  transition: transform 0.2s;
}
.lang-dropdown.open .lang-chevron {
  transform: rotate(180deg);
}
.lang-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 140px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  z-index: 1100;
  overflow: hidden;
  list-style: none;
}
.lang-dropdown.open .lang-dropdown-menu {
  display: block;
}
.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 9px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #374151;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
}
.lang-option:hover {
  background: #f3f4f6;
}
.lang-option.active {
  color: #0abab5;
  font-weight: 700;
  background: #f0fffe;
}

/* ===== Header / Nav ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0abab5;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #4b5563;
  transition: color 0.2s;
}
.nav-links a:hover { color: #0abab5; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 22px;
  height: 2px;
  background: #374151;
  border-radius: 2px;
  transition: all 0.3s;
}
.mobile-nav {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: #fff;
  padding: 24px;
  flex-direction: column;
  gap: 20px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  z-index: 899;
}
.mobile-nav.open { display: flex; }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #f0fffe 0%, #e0f7f6 50%, #f8fffe 100%);
  overflow: hidden;
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}
.hero-text { flex: 1; max-width: 520px; }
.hero-text h1 {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
  color: #111827;
}
.hero-subtitle {
  font-size: 1.05rem;
  color: #4b5563;
  margin-bottom: 32px;
  line-height: 1.8;
}
.hero-actions { display: flex; flex-direction: column; gap: 16px; }
.store-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.store-badge { transition: opacity 0.2s; }
.store-badge:hover { opacity: 0.8; }
.hero-note {
  font-size: 0.85rem;
  color: #6b7280;
}
.hero-visual { flex: 1; display: flex; justify-content: center; }

/* Phone Mockup */
.phone-mockup {
  width: 280px;
  background: #1f2937;
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.15);
}
.phone-screen {
  background: #111827;
  border-radius: 26px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 480px;
  justify-content: center;
}
.mock-timer { text-align: center; }
.mock-circle { position: relative; display: inline-block; }
.mock-time {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.mock-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 60%);
  font-size: 0.85rem;
  color: #9ca3af;
}
.mock-controls {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 32px;
}
.mock-btn-stop {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.2);
  position: relative;
}
.mock-btn-stop::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 3px;
}
.mock-btn-complete {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #0abab5;
  position: relative;
}
.mock-btn-complete::after {
  content: '';
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 10px;
  height: 18px;
  border-bottom: 3px solid #fff;
  border-right: 3px solid #fff;
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
}
.hero-wave svg { width: 100%; height: auto; display: block; }

/* ===== Features ===== */
.features {
  padding: 100px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 32px 28px;
  transition: all 0.3s;
}
.feature-card:hover {
  border-color: #0abab5;
  box-shadow: 0 8px 32px rgba(10, 186, 181, 0.08);
  transform: translateY(-4px);
}
.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
}
.feature-icon svg { width: 100%; height: 100%; }
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.feature-card p {
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ===== Use Cases ===== */
.use-cases {
  padding: 100px 0;
  background: linear-gradient(180deg, #f8fffe 0%, #f0fffe 100%);
}
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.use-case-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 36px 32px;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.use-case-card:hover {
  border-color: #0abab5;
  box-shadow: 0 10px 40px rgba(10, 186, 181, 0.10);
  transform: translateY(-4px);
}
.use-case-icon {
  font-size: 2.4rem;
  line-height: 1;
}
.use-case-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #111827;
}
.use-case-card p {
  color: #4b5563;
  font-size: 0.92rem;
  line-height: 1.8;
  flex: 1;
}
.use-case-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #0abab5;
  background: #f0fffe;
  border: 1px solid #b2f0ee;
  border-radius: 20px;
  padding: 5px 14px;
  align-self: flex-start;
}
.use-case-tag-paid {
  color: #7c3aed;
  background: #f5f3ff;
  border-color: #ddd6fe;
}

/* ===== How It Works ===== */
.how-it-works {
  padding: 100px 0;
  background: #f9fafb;
}
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  margin-top: 48px;
}
.step {
  text-align: center;
  flex: 1;
  max-width: 260px;
}
.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #0abab5;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.step p {
  color: #6b7280;
  font-size: 0.9rem;
}
.step-arrow {
  display: flex;
  align-items: center;
  padding-top: 16px;
}
.step-arrow svg { width: 32px; height: 32px; }

/* ===== Pricing ===== */
.pricing {
  padding: 100px 0;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.pricing-card {
  position: relative;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  transition: all 0.3s;
}
.pricing-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}
.pricing-card.popular {
  border-color: #0abab5;
  box-shadow: 0 8px 40px rgba(10, 186, 181, 0.12);
  transform: scale(1.04);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #0abab5;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 20px;
}
.pricing-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: #111827;
}
.price-period {
  font-size: 0.9rem;
  color: #6b7280;
}
.pricing-features {
  margin: 28px 0;
  text-align: left;
}
.pricing-features li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pricing-features li::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #d1fae5;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}
.pricing-features li.disabled {
  color: #9ca3af;
}
.pricing-features li.disabled::before {
  background: #f3f4f6;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}
.pricing-card .btn { width: 100%; margin-top: 8px; }

/* ===== Comparison Table ===== */
.comparison {
  padding: 100px 0;
  background: #fff;
}
.comp-table-wrap {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  border: 1px solid #e5e7eb;
  overflow-x: auto;
}
.comp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  table-layout: fixed;
}
.comp-table thead tr {
  background: #f9fafb;
}
.comp-table th {
  padding: 20px 16px;
  font-weight: 600;
  text-align: center;
  border-bottom: 2px solid #e5e7eb;
  vertical-align: middle;
}
.comp-feature-col {
  text-align: left !important;
  width: 58%;
  color: #374151;
  font-size: 1rem;
}
.comp-free-col {
  width: 21%;
  color: #374151;
}
.comp-paid-col {
  width: 21%;
}
.comp-paid-highlight {
  background: linear-gradient(180deg, #f0fffe 0%, #f9fafb 100%);
  border-left: 2px solid #0abab5;
  border-right: 2px solid #0abab5;
}
.comp-table td.comp-paid-col,
.comp-table th.comp-paid-col {
  border-left: 2px solid #0abab5;
  border-right: 2px solid #0abab5;
}
.comp-plan-badge {
  font-size: 0.65rem;
  background: #0abab5;
  color: #fff;
  padding: 2px 8px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 6px;
  white-space: nowrap;
}
.comp-plan-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
}
.comp-plan-price {
  font-size: 0.82rem;
  color: #6b7280;
  margin-top: 2px;
}
.comp-table tbody tr {
  border-bottom: 1px solid #f3f4f6;
  transition: background 0.15s;
}
.comp-table tbody tr:hover {
  background: #fafafa;
}
.comp-table td {
  padding: 13px 16px;
  color: #4b5563;
  vertical-align: middle;
}
.comp-category-row td {
  background: #f3f4f6;
  font-weight: 700;
  color: #111827;
  font-size: 1.5rem;
  padding: 12px 16px;
  letter-spacing: 0.01em;
}
.comp-check {
  text-align: center;
  color: #0abab5;
  font-size: 1.1rem;
  font-weight: 700;
}
.comp-cross {
  text-align: center;
  color: #d1d5db;
  font-size: 1.1rem;
}
.comp-limit {
  text-align: center;
  color: #9ca3af;
  font-size: 0.82rem;
  line-height: 1.4;
}
.comp-table tfoot tr {
  border-top: 2px solid #e5e7eb;
}
.comp-table tfoot td {
  padding: 18px 16px;
  text-align: center;
  background: #f9fafb;
}
.comp-table tfoot td:last-child {
  background: #f0fffe;
}
.comp-table .btn { display: inline-flex; }

/* Comparison — tablet (≤768px) */
@media (max-width: 768px) {
  .comp-category-row td {
    font-size: 1.15rem;
  }
  .comp-feature-col {
    font-size: 0.95rem;
  }
  .comp-table td,
  .comp-table th {
    padding: 11px 12px;
  }
}

/* Comparison — mobile (≤480px) */
@media (max-width: 480px) {
  .comp-table-wrap {
    border-radius: 12px;
  }
  .comp-table {
    font-size: 0.82rem;
  }
  .comp-feature-col {
    width: 56%;
    font-size: 0.82rem;
  }
  .comp-free-col,
  .comp-paid-col {
    width: 22%;
  }
  .comp-category-row td {
    font-size: 1rem;
    padding: 10px 10px;
  }
  .comp-table td,
  .comp-table th {
    padding: 9px 8px;
  }
  /* ヘッダー列: バッジ・プラン名・価格を中央揃え */
  .comp-table th {
    text-align: center;
  }
  .comp-plan-badge,
  .comp-plan-name,
  .comp-plan-price {
    display: block;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .comp-plan-name {
    font-size: 0.9rem;
  }
  .comp-plan-price {
    font-size: 0.72rem;
  }
  .comp-plan-badge {
    font-size: 0.6rem;
    padding: 1px 6px;
  }
  .comp-check,
  .comp-cross {
    font-size: 1rem;
  }
  .comp-limit {
    font-size: 0.72rem;
  }
  /* フッターボタンを中央に */
  .comp-table tfoot td {
    text-align: center;
  }
  .comp-table .btn {
    font-size: 0.75rem;
    padding: 6px 10px;
    margin: 0 auto;
  }
}

/* ===== FAQ ===== */
.faq {
  padding: 100px 0;
  background: #f9fafb;
}
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}
.faq-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: #9ca3af;
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  content: '-';
}
.faq-item p {
  padding: 0 24px 20px;
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.8;
}

/* ===== CTA ===== */
.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #0abab5, #088f8b);
  text-align: center;
  color: #fff;
}
.cta h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.cta p {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 32px;
}

/* ===== Footer ===== */
.footer {
  padding: 40px 0;
  background: #111827;
  color: #9ca3af;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer .logo-text {
  color: #fff;
  font-size: 1.1rem;
}
.footer-links {
  display: flex;
  gap: 24px;
  font-size: 0.85rem;
}
.footer-links a { transition: color 0.2s; }
.footer-links a:hover { color: #0abab5; }
.footer-copy { font-size: 0.8rem; }

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

  .hero { padding: 100px 0 60px; }
  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  .hero-text { max-width: 100%; }
  .hero-text h1 { font-size: 2rem; }
  .hero-actions { align-items: center; }
  .store-badges { justify-content: center; }

  .phone-mockup { width: 240px; }
  .phone-screen { min-height: 400px; padding: 32px 16px; }
  .mock-time { font-size: 2rem; }

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

  .steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); padding: 0; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .pricing-card.popular { transform: none; }

  .section-title { font-size: 1.6rem; }
  .section-subtitle { margin-bottom: 40px; }

  /* use-cases: 1列に */
  .use-cases-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-text h1 { font-size: 1.6rem; }
  .container { padding: 0 16px; }
  .use-cases-grid { gap: 16px; }
  .use-case-card { padding: 24px 20px; }
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hamburger active state */
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
