/* =========================================
   Base (Design Tokens)
========================================= */
:root {
  --blue: #0d6efd;
  --blue-light: #e8f1ff;
  --bg: #f5f7fb;

  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(255, 255, 255, 0.35);

  --text-main: #1f2d3d;
  --text-sub: #5b6b82;

  --radius: 14px;
  --radius-lg: 22px;

  --shadow-soft: 0 8px 26px rgba(0, 0, 0, 0.06);
  --shadow-card: 0 12px 38px rgba(13, 110, 253, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text-main);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

h1, h2, h3 {
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

h1 { font-size: 40px; }
h2 { font-size: 30px; margin-bottom: 14px; }
h3 { font-size: 20px; margin-bottom: 10px; }

p {
  margin-bottom: 18px;
  color: var(--text-sub);
  font-size: 17px;
}

/* =========================================
   Header（Glass UI）
========================================= */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  padding: 18px 0;
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 999;
  opacity: 0;
  transform: translateY(-10px);
  transition: 0.6s ease;
}
.header.visible {
  opacity: 1;
  transform: translateY(0);
}

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

.logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--blue);
}

header nav a {
  margin-left: 22px;
  font-size: 15px;
  color: var(--text-sub);
  transition: 0.2s;
}
header nav a:hover {
  color: var(--blue);
}

.nav-cta {
  background: var(--blue);
  padding: 8px 18px;
  border-radius: 999px;
  color: #fff !important;
  box-shadow: var(--shadow-soft);
  font-weight: 600;
}

/* =========================================
   Countdown Banner
========================================= */
.countdown-banner {
  width: 100%;
  text-align: center;
  padding: 14px 0;
  background: linear-gradient(90deg, #0d6efd, #1b84ff, #63a4ff);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 16px;
  position: relative;
  overflow: hidden;
}
.countdown-banner span {
  font-weight: 800;
}

/* 光ライン */
.countdown-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 150%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0),
    rgba(255,255,255,0.4),
    rgba(255,255,255,0)
  );
  transform: skewX(-20deg);
  animation: banner-glow 2.2s linear infinite;
}

@keyframes banner-glow {
  0%   { left: -150%; }
  100% { left: 150%; }
}

/* =========================================
   Hero
========================================= */
.hero {
  text-align: center;
  padding: 140px 0 120px;
}
.hero h1 {
  font-size: 54px;
  font-weight: 800;
  background: linear-gradient(180deg, #0d6efd 0%, #75b2ff 100%);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-sub {
  margin-top: 18px;
  font-size: 18px;
  color: var(--text-sub);
  line-height: 1.8;
}

.hero-images {
  margin-top: 55px;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-img,
.hero-img-wide {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.hero-img { width: 250px; }
.hero-img-wide { width: 100%; max-width: 720px; }

/* =========================================
   Sections（背景差を強化）
========================================= */
section { padding: 150px 0; }

.section-bg-1 { background: #ffffff; }
.section-bg-2 { background: #f1f4fa; }
.section-bg-3 { background: #e8edf7; }
.section-bg-4 { background: #e0e7f5; }

.section-lead {
  font-size: 18px;
  color: var(--text-sub);
  margin-top: 6px;
}

/* =========================================
   Problems（非カード）
========================================= */
.problems-grid {
  margin-top: 70px;
  display: flex;
  flex-direction: column;
  gap: 42px;
}

.problem-block {
  display: flex;
  align-items: flex-start;
  gap: 22px;
}

.problem-icon-shape {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(120deg, #d0d7e5, #c5cddd);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.06);
}

.problem-text h3 { color: #1e293b; }

/* =========================================
   VALUE STEPS（背景アート化）
========================================= */

.value-steps {
  position: relative;
  margin-top: 80px;
  padding: 40px 0;
}

/* 背景の縦ライン（もっと太く + ぼかし + 後方へ） */
/* 各ステップを前へ（z-index:1） */
.value-step {
  position: relative;
  z-index: 1;        /* ← 手前 */
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

/* 交互左右配置（PC） */
.value-step.reverse {
  flex-direction: row-reverse;
}


/* ========= SP用（完全中央揃え & 崩れゼロ） ========= */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 36px;
  }

  /* 背景ライン位置調整 */
  .value-steps::before {
    left: 50%;
    width: 4px;
    filter: blur(3px);
    opacity: 0.35;
  }

  .value-step,
  .value-step.reverse {
    flex-direction: column;
    text-align: center;
    gap: 18px;
  }

  .value-step::before {
    top: -4px;
    width: 24px;
    height: 24px;
  }
}


/* =========================================
   Timeline（導入手順）
========================================= */
.timeline {
  border-left: 4px solid var(--blue);
  padding-left: 36px;
  margin-top: 40px;
  max-width: 700px;
}

.timeline-item {
  margin-bottom: 60px;
  position: relative;
}

.timeline-dot {
  width: 18px;
  height: 18px;
  background: var(--blue);
  border-radius: 50%;
  position: absolute;
  left: -48px;
  top: 4px;
  box-shadow: 0 0 12px rgba(13,110,253,0.4);
}

.timeline-content {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 26px;
  box-shadow: var(--shadow-soft);
}

/* =========================================
   Features
========================================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 50px;
  margin-top: 60px;
  text-align: center;
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

/* =========================================
   CTA Button（Ultra SaaS）
========================================= */
.cta-button {
  position: relative;
  display: inline-block;
  padding: 14px 42px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;

  background-origin: border-box;
  background-clip: padding-box, border-box;
  border: 2px solid transparent;
  background-image:
    linear-gradient(90deg, #4a8bff, #1e73ff, #0d6efd),
    linear-gradient(120deg, #81b2ff, #0d6efd);

  color: white;
  box-shadow: 0 10px 28px rgba(13,110,253,0.35);
  overflow: hidden;
  transition: 0.25s ease;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -180%;
  width: 160%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0),
    rgba(255,255,255,0.55),
    rgba(255,255,255,0)
  );
  transform: skewX(-20deg);
  transition: left 0.22s ease;
}

.cta-button:hover::before {
  left: 180%;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(13,110,253,0.45);
}

/* outline variant */
.cta-button.outline {
  background-image: none;
  background: transparent;
  border: 2px solid var(--blue);
  color: var(--blue);
  box-shadow: none;
}
.cta-button.outline:hover {
  background: var(--blue-light);
}

/* =========================================
   Pricing（SaaSハイエンド Glass UI）
========================================= */
.pricing-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 45px;
}

.price-card {
  position: relative;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px);
  border-radius: 28px;
  padding: 48px 32px;
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow:
    0 10px 30px rgba(13, 110, 253, 0.08),
    inset 0 0 0 1px rgba(255,255,255,0.65);
  transition: 0.35s ease;
}

.price-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 18px 48px rgba(13,110,253,0.14),
    inset 0 0 0 1px rgba(255,255,255,0.7);
}

.price-card.highlight {
  border: 2px solid #0d6efd;
  background: rgba(255,255,255,0.75);
  box-shadow:
    0 22px 60px rgba(13,110,253,0.22),
    inset 0 0 0 1px rgba(255,255,255,0.85);
}

/* Ribbon */
.price-ribbon {
  position: absolute;
  top: -12px;
  left: 28px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
}

.price-ribbon.free { background: #64748b; }
.price-ribbon.basic { background: #0d6efd; }
.price-ribbon.team { background: #0a53c1; }

.price-name {
  font-size: 22px;
  margin-bottom: 4px;
  color: var(--text-main);
}

.price-desc {
  font-size: 15px;
  color: #6b7280;
  margin-bottom: 18px;
}

.price-main {
  font-size: 34px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 6px;
}

.price-main span {
  font-size: 16px;
  font-weight: 500;
  color: #6b7280;
}

.price-pending {
  font-size: 26px;
  background: linear-gradient(120deg, #5ea1ff, #0d6efd);
  -webkit-background-clip: text;
  color: transparent;
}

.price-capacity {
  font-size: 15px;
  color: #475569;
  margin-bottom: 20px;
}

.price-list {
  list-style: none;
}

.price-list li {
  padding: 6px 0;
  font-size: 15px;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 6px;
}

.price-list li::before {
  content: "✔";
  color: var(--blue);
  font-weight: 700;
  font-size: 15px;
}

/* =========================================
   Footer
========================================= */
footer {
  padding: 50px 0;
  background: #e9eff8;
  text-align: center;
  color: #4a5a70;
}

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

.zoom-in {
  opacity: 0;
  transform: scale(0.92);
  transition: 0.8s ease-out;
}
.zoom-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* =========================================
   VALUE STEP ICON（絵文字サイズアップ）
========================================= */

.value-icon {
  font-size: 52px;       /* ← 絵文字の主役感アップ */
  background: #fff;
  border-radius: 18px;
  padding: 22px;         /* ← 絵文字と余白のバランス調整 */
  box-shadow: var(--shadow-soft);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* SP（中央強調 & 正方形維持） */
@media (max-width: 768px) {
  .value-icon {
    font-size: 48px;
    padding: 18px;
    margin: 0 auto;
  }
}

/* =========================================
   Mobile Header Fix
========================================= */
@media (max-width: 768px) {
  header nav {
    display: flex;
    overflow-x: auto;      /* ← 横スクロール許可 */
    white-space: nowrap;   /* ← 折り返し禁止 */
    gap: 16px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch; /* ← iOS ヌルッとスクロール */
  }

  header nav a {
    font-size: 14px;      /* ← SP向け縮小 */
    margin-left: 0 !important; /* ← PC用marginをリセット */
    padding: 4px 6px;     /* ← 小さめ余白 */
  }

  .header-inner {
    flex-direction: column;  /* ← ロゴとnavを縦積みに */
    gap: 8px;
  }

  .logo {
    font-size: 20px;
  }
}

/* ======================================
   SP Header: コンパクト化して1行に収める
====================================== */
@media (max-width: 768px) {

  .header {
    padding: 10px 0; /* 高さを詰める */
  }

  .header-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  header nav {
    display: flex;
    gap: 10px; /* 横のスペースを詰める */
  }

  header nav a {
    margin: 0 !important;
    padding: 4px 0;
    font-size: 13.5px; /* 小さくして収める */
  }

  .nav-cta {
    padding: 6px 10px;
    font-size: 12.5px;
    white-space: nowrap;
  }

  .logo {
    font-size: 18px; /* ロゴも調整 */
  }
}


.comparison-table-wrapper {
  overflow-x: auto;
  margin-top: 40px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  overflow: hidden;
}

.comparison-table th,
.comparison-table td {
  padding: 18px 16px;
  text-align: center;
  font-size: 15px;
  border-bottom: 1px solid #e1e7ef;
}

.comparison-table th {
  background: #edf2fa;
  font-weight: 700;
  color: #1e3a8a;
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 600;
  background: #f7f9fc;
  color: #374151;
}

.comparison-table .yes {
  color: #0d6efd;
  font-weight: 700;
}

.comparison-table .no {
  color: #9ca3af;
  font-weight: 600;
}


.faq-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 50px;
}

.faq-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 16px;
  color: #4b5563;
  line-height: 1.8;
}
