html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

.mobile-cta-bar {
  padding-bottom: calc(8px + env(safe-area-inset-bottom, 0));
}

/* 課題共感 (Pain Points) カード */
.pain-card {
  background-color: #e8f8fc;
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid #d0f1fb;
}
.pain-title {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 700;
  color: #083745;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}
.pain-badge {
  background-color: #9ee4fa;
  color: #095971;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  margin-right: 0.5rem;
  flex-shrink: 0;
}
.pain-desc {
  color: #374151;
  line-height: 1.625;
  font-size: 1rem;
}

/* 解決策 (Solution) カード */
.solution-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 2rem;
}
.solution-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background-color: #fb923c;
  color: #083745;
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 1.25rem;
}
.solution-title {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fb923c;
}
.solution-desc {
  color: #d1d5db;
  line-height: 1.625;
  font-size: 0.875rem;
}

/* 対応領域 (Capabilities) カード */
.cap-card {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border: 1px solid #f3f4f6;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cap-icon {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: #e8f8fc;
  color: #087da0;
  margin-bottom: 1rem;
}
.cap-title {
  font-weight: 700;
  color: #083745;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  line-height: 1.375;
}
.cap-desc {
  color: #4b5563;
  font-size: 0.875rem;
  line-height: 1.625;
}

/* 比較表 (Comparison) セル共通 */
.cmp-cell {
  padding: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

/* 相談テーマ例 (Use Cases) カード */
.usecase-card {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border: 1px solid #f3f4f6;
  display: flex;
  flex-direction: column;
}
.usecase-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  background-color: #d0f1fb;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #095971;
}
.usecase-title {
  font-weight: 700;
  color: #083745;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}
.usecase-desc {
  color: #374151;
  font-size: 0.875rem;
  line-height: 1.625;
  flex-grow: 1;
}

/* 導入フロー (Flow) ステップ */
.flow-step {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 768px) {
  .flow-step {
    justify-content: normal;
  }
  .flow-step:nth-child(odd) {
    flex-direction: row-reverse;
  }
}
.flow-num {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 4px solid #ffffff;
  background-color: #00b9ef;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .flow-num {
    order: 1;
  }
  .flow-step:nth-child(odd) .flow-num {
    transform: translateX(-50%);
  }
  .flow-step:nth-child(even) .flow-num {
    transform: translateX(50%);
  }
}
.flow-title {
  font-weight: 700;
  color: #083745;
  margin-bottom: 0.5rem;
}
.flow-card {
  width: calc(100% - 4rem);
  background-color: #ffffff;
  padding: 1.25rem;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border: 1px solid #f3f4f6;
}
@media (min-width: 768px) {
  .flow-card {
    width: calc(50% - 2.5rem);
  }
}

/* よくある質問 (FAQ) 項目 */
.faq-item {
  background-color: #f9fafb;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  padding: 1.25rem;
  color: #231816;
}
.faq-chevron {
  transition: transform 0.2s;
}
details[open] .faq-chevron {
  transform: rotate(180deg);
}
.faq-answer {
  color: #374151;
  margin-top: 0.75rem;
  padding: 0 1.25rem 1.25rem;
  font-size: 0.875rem;
  line-height: 1.625;
}
details[open] .faq-answer {
  animation: fadeIn 0.3s ease-in-out;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

body {
  font-family:
    "Noto Sans Japanese", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro",
    "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
  color: #083745;
  background: #f4f9fc;
  overflow-x: hidden;
}

details > summary {
  list-style: none;
}

details > summary::-webkit-details-marker {
  display: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(0, 185, 239, 0.45);
  outline-offset: 3px;
}

[data-cta="primary"] {
  box-shadow: 0 12px 28px rgba(0, 185, 239, 0.28);
}

.cta-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: bold;
  background-color: #00b9ef;
  border: none;
  border-radius: 9999px;
  text-decoration: none;
  cursor: pointer;
}

[data-cta="primary"]:hover {
  transform: translateY(-1px);
}

img {
  max-width: 100%;
}

.hero-image-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #eaf4f9;
}

#hero-image {
  display: block;
  width: 100%;
  height: clamp(280px, 42vw, 520px);
  object-fit: cover;
  object-position: center 42%;
}

.hero-copy {
  padding: 26px 20px 22px;
  background: linear-gradient(135deg, #ffffff 0%, #edf7fb 100%);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 9999px;
  background: #083745;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-copy h1 {
  margin: 0;
  color: #083745;
  font-size: clamp(28px, 7.3vw, 38px);
  font-weight: 700;
  line-height: 1.38;
  letter-spacing: -0.035em;
}

.hero-copy h1 span {
  color: #087da0;
}

.hero-lead {
  max-width: 580px;
  margin-top: 14px;
  color: #344f68;
  font-size: 14px;
  line-height: 1.8;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.hero-points span {
  position: relative;
  padding: 7px 11px 7px 26px;
  border: 1px solid #c6dce9;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  color: #083745;
  font-size: 12px;
  font-weight: 700;
}

.hero-points span::before {
  position: absolute;
  left: 10px;
  color: #f59e0b;
  content: "✓";
}

.hero-action-panel {
  padding: 22px 16px 24px;
  text-align: center;
}

.hero-support-copy {
  max-width: 680px;
  margin: 0 auto 14px;
  color: #083745;
  font-size: 16px;
  line-height: 1.7;
}

@media (min-width: 768px) {
  #hero-image {
    height: clamp(430px, 34vw, 580px);
  }

  .hero-image-wrap::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      90deg,
      rgba(244, 249, 252, 0.98) 0%,
      rgba(244, 249, 252, 0.91) 27%,
      rgba(244, 249, 252, 0.25) 54%,
      rgba(244, 249, 252, 0) 68%
    );
    content: "";
    pointer-events: none;
  }

  .hero-copy {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: clamp(32px, 7vw, 120px);
    width: min(47vw, 650px);
    padding: 0;
    transform: translateY(-50%);
    background: transparent;
  }

  .hero-kicker {
    margin-bottom: 18px;
    padding: 8px 16px;
    font-size: 13px;
  }

  .hero-copy h1 {
    font-size: clamp(32px, 2.85vw, 48px);
    line-height: 1.27;
  }

  .hero-lead {
    margin-top: 20px;
    font-size: clamp(14px, 1.05vw, 17px);
  }

  .hero-points {
    margin-top: 22px;
  }

  .hero-points span {
    padding: 8px 14px 8px 31px;
    font-size: 13px;
  }

  .hero-points span::before {
    left: 12px;
  }

  .hero-action-panel {
    padding: 20px 16px 24px;
  }
}
