@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700;800&display=swap');

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

:root {
  --black:       #0A0A0A;
  --dark:        #1A1A1A;
  --dark-2:      #2A2A2A;
  --mid:         #555555;
  --muted:       #888888;
  --light-muted: #BBBBBB;
  --border-dark: #2A2A2A;
  --border:      #E0E0E0;
  --bg-light:    #F5F5F5;
  --bg-white:    #FFFFFF;
  --text-primary:   #0A0A0A;
  --text-secondary: #555555;
  --text-muted:     #888888;
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --shadow-sm:  0 1px 4px rgba(0,0,0,.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:  0 12px 36px rgba(0,0,0,.10);
  --shadow-xl:  0 24px 56px rgba(0,0,0,.14);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', Helvetica, Arial, sans-serif;
  color: var(--text-primary);
  background: var(--bg-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* 英数字はHelveticaを優先 */
h1, h2, h3, .logo, .price-amount, .pain-num, .plan-name, .btn {
  font-family: Helvetica, Arial, 'Noto Sans JP', sans-serif;
}

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: all .2s ease;
  white-space: nowrap;
  letter-spacing: .01em;
}
.btn-sm  { padding: 8px 18px;  font-size: 13px; }
.btn-lg  { padding: 15px 32px; font-size: 15px; }
.btn-block { width: 100%; justify-content: center; }

.btn-dark {
  background: var(--black);
  color: #fff;
  border: 1.5px solid var(--black);
}
.btn-dark:hover { background: var(--dark-2); border-color: var(--dark-2); }

.btn-white {
  background: #fff;
  color: var(--black);
  border: 1.5px solid #fff;
}
.btn-white:hover { background: #f0f0f0; border-color: #f0f0f0; }

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.6);
}
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.btn-outline-dark {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--black);
}
.btn-outline-dark:hover { background: var(--black); color: #fff; }

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -.03em;
}
.logo-img {
  height: 28px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a:not(.btn) {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color .15s;
}
.nav-links a:not(.btn):hover { color: var(--black); }

/* ===== Section Shared ===== */
section { padding: 96px 0; }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-eyebrow {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
  font-family: Helvetica, Arial, sans-serif;
}
.section-title {
  font-size: clamp(28px, 3.8vw, 40px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.04em;
  color: var(--text-primary);
}
.section-subtitle {
  margin-top: 16px;
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--black); /* 画像未設定時のフォールバック */
}

/* 背景動画レイヤー */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ドットオーバーレイ: 動画の画質の粗さを目立ちにくくする */
.hero-dot-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,0,0,0.5) 1px, transparent 1px);
  background-size: 3px 3px;
}

/* 暗いフィルター: テキストを読みやすくする */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 120px 0 96px;
  width: 100%;
}

.hero-logo {
  margin-bottom: 20px;
}
.hero-logo-img {
  height: 36px;
  width: auto;
  display: block;
  margin: 0 auto;
  filter: brightness(0) invert(1);
}

.hero-badge {
  display: inline-block;
  border: 1px solid rgba(255,255,255,.35);
  color: rgba(255,255,255,.75);
  font-size: 12px;
  font-weight: 500;
  padding: 5px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  letter-spacing: .06em;
  font-family: 'Noto Sans JP', sans-serif;
}

.hero-title {
  font-size: clamp(34px, 5.5vw, 62px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.04em;
  color: #fff;
  margin-bottom: 24px;
  font-family: 'Noto Sans JP', Helvetica, Arial, sans-serif;
}

.hero-subtitle {
  font-size: clamp(14px, 1.8vw, 16px);
  color: rgba(255,255,255,.65);
  margin-bottom: 40px;
  line-height: 1.85;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.hero-note {
  font-size: 12px;
  color: rgba(255,255,255,.4);
  font-family: 'Noto Sans JP', sans-serif;
}

/* ===== Pain Points ===== */
.pain-points { background: var(--bg-light); }

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pain-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s;
}
.pain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pain-num {
  font-size: 40px;
  font-weight: 800;
  color: #000;
  margin-bottom: 16px;
  line-height: 1;
  letter-spacing: -.04em;
  font-family: Helvetica, Arial, sans-serif;
}
.pain-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -.02em;
}
.pain-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.8; }

/* ===== Solution ===== */
.solution { background: var(--bg-white); }
.solution-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.solution-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.9;
  margin: 20px 0 28px;
}
.solution-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.solution-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
}
.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--black);
  color: #fff;
  font-size: 10px;
  flex-shrink: 0;
  font-weight: 700;
}

.solution-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
  object-fit: cover;
}

/* ===== Features ===== */
.features { background: var(--bg-light); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  border: 1px solid var(--border);
  color: var(--black);
  margin-bottom: 18px;
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -.02em;
}
.feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.85; }

/* ===== Testimonials ===== */
.testimonials { background: var(--black); }
.testimonials .section-eyebrow { color: var(--light-muted); }
.testimonials .section-title { color: #fff; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.testimonial-card {
  background: var(--dark);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--border-dark);
  transition: border-color .2s;
}
.testimonial-card:hover { border-color: #444; }
.stars { color: #f5c518; font-size: 13px; margin-bottom: 14px; letter-spacing: 3px; }
.testimonial-text {
  font-size: 14px;
  color: rgba(255,255,255,.75);
  line-height: 1.85;
  margin-bottom: 24px;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--dark-2);
  border: 1px solid #444;
  color: rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  font-family: Helvetica, Arial, sans-serif;
}
.author-name { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.8); }
.author-role { font-size: 12px; color: rgba(255,255,255,.35); margin-top: 2px; }

/* ===== Pricing ===== */
.pricing { background: var(--bg-light); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto 64px;
}
.pricing-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.pricing-card.featured {
  background: var(--black);
  border-color: var(--black);
  color: #fff;
}
.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--black);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 18px;
  border-radius: 100px;
  letter-spacing: .08em;
  white-space: nowrap;
  font-family: Helvetica, Arial, sans-serif;
}
.featured .pricing-badge { background: #fff; color: var(--black); }

.plan-name {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
}
.featured .plan-name { color: rgba(255,255,255,.5); }

.plan-price { line-height: 1; }
.price-amount {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -.05em;
  color: var(--text-primary);
  font-family: Helvetica, Arial, sans-serif;
}
.featured .price-amount { color: #fff; }
.price-unit {
  font-size: 14px;
  color: var(--text-muted);
  margin-left: 6px;
}
.price-tax {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: -4px;
}
.featured .price-tax { color: rgba(255,255,255,.45); }

.plan-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.75; }
.featured .plan-desc { color: rgba(255,255,255,.55); }

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}
.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.featured .plan-features li { color: rgba(255,255,255,.8); }
.featured .check { background: #fff; color: var(--black); }
.featured .btn-dark {
  background: #ee7800;
  border-color: #ee7800;
  color: #fff;
}
.featured .btn-dark:hover { background: #d46a00; border-color: #d46a00; }

/* Comparison */
.comparison { max-width: 680px; margin: 0 auto; }
.comparison-title {
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -.02em;
}
.comparison-table-wrap { overflow-x: auto; }
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.comparison-table th,
.comparison-table td {
  padding: 14px 22px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.comparison-table th {
  background: var(--bg-light);
  font-weight: 700;
  font-size: 13px;
  color: var(--text-secondary);
  font-family: Helvetica, Arial, 'Noto Sans JP', sans-serif;
}
.comparison-table td:first-child { text-align: left; color: var(--text-secondary); }
.comparison-table tr:last-child td { border-bottom: none; }
.highlight-col { background: var(--black); color: #fff; }
.comparison-table th.highlight-col { color: #fff; background: var(--black); }
.highlight-col strong { color: #fff; }

/* ===== FAQ ===== */
.faq { background: var(--bg-white); }
.faq-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-item {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; }
.faq-question {
  padding: 20px 26px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  color: var(--text-primary);
  transition: background .15s;
  letter-spacing: -.01em;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question:hover { background: var(--bg-light); }
.faq-question::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: var(--muted);
  flex-shrink: 0;
  margin-left: 20px;
  font-family: Helvetica, Arial, sans-serif;
  line-height: 1;
}
details[open] .faq-question { background: var(--bg-light); }
details[open] .faq-question::after { content: '−'; }
.faq-answer {
  padding: 20px 26px 24px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.9;
  border-top: 1px solid var(--border);
}

/* ===== Final CTA ===== */
.cta-final {
  background: var(--black);
  padding: 100px 0;
}
.cta-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.cta-final h2 {
  font-size: clamp(26px, 3.8vw, 40px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.04em;
  font-family: 'Noto Sans JP', Helvetica, Arial, sans-serif;
}
.cta-final > p {
  font-size: 15px;
  color: rgba(255,255,255,.45);
}
.cta-note {
  font-size: 12px !important;
  color: rgba(255,255,255,.28) !important;
  margin-top: -4px;
}

/* ===== Footer ===== */
.footer {
  background: var(--black);
  border-top: 1px solid var(--border-dark);
  padding: 36px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.footer-logo {
  font-size: 17px;
  font-weight: 800;
  color: rgba(255,255,255,.5);
  letter-spacing: -.02em;
}
.footer-links { display: flex; gap: 28px; }
.footer-links a {
  font-size: 12px;
  color: rgba(255,255,255,.3);
  text-decoration: none;
  transition: color .2s;
}
.footer-links a:hover { color: rgba(255,255,255,.65); }
.footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,.2);
  font-family: Helvetica, Arial, sans-serif;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  /* Solution: 画像を背景に */
  .solution {
    position: relative;
    overflow: hidden;
  }
  .solution-inner {
    grid-template-columns: 1fr;
    gap: 0;
    position: static;
  }
  .solution-visual {
    position: absolute;
    inset: 0;
    z-index: 0;
  }
  .solution-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.68);
  }
  .solution-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
  }
  .solution-content {
    position: relative;
    z-index: 1;
    padding: 80px 0;
  }
  .solution-content .section-eyebrow {
    color: rgba(255, 255, 255, 0.55);
    border-color: rgba(255, 255, 255, 0.2);
  }
  .solution-content .section-title { color: #fff; }
  .solution-content .solution-desc { color: rgba(255, 255, 255, 0.72); }
  .solution-content .solution-list li { color: rgba(255, 255, 255, 0.85); }
  .solution-content .check { background: #fff; color: var(--black); }
}

@media (max-width: 768px) {
  section { padding: 72px 0; }
  .nav-links a:not(.btn) { display: none; }
  .pain-grid { grid-template-columns: 1fr; gap: 16px; }
  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
  .hero-title { letter-spacing: -.03em; }
  .hero-subtitle .pc-br { display: none; }
  .hero-content { padding: 100px 0 80px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; width: 100%; max-width: 320px; margin-left: auto; margin-right: auto; }
  .hero-actions .btn { width: 100%; }
  .pricing-grid { max-width: 100%; }
}
