/* 基本設定 */
:root {
  --primary-color: #007bff; /* メインカラー */
  --secondary-color: #6c757d; /* サブカラー */
  --background-color: #f8f9fa; /* 背景色 */
  --text-color: #333; /* テキストカラー */
  --heading-font: "Noto Sans JP", sans-serif;
  --body-font: "Noto Sans JP", sans-serif;
}

body {
  margin: 0;
  font-family: var(--body-font);
  color: var(--text-color);
  line-height: 1.8;
}
/* スムーズスクロール */
html {
  scroll-behavior: smooth;
}

/* アンカーリンク用のオフセット調整 */
section {
  scroll-margin-top: 125px;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-family: var(--heading-font);
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
}
.section-subtitle {
  text-align: center;
  color: #64748b;
  margin-bottom: 60px;
  font-size: 18px;
}
/* ボタン共通スタイル */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

.btn-secondary {
  background-color: #fff;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-secondary:hover {
  background-color: #f8f9fa;
}

.btn-large {
  padding: 18px 40px;
  font-size: 1.2rem;
}

/* ヘッダー */
.header {
  background-color: #fff;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.header-inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo img {
  height: 40px; /* ロゴの高さを指定 */
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 15px;
}
.nav-link {
  color: #333;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s;
  padding: 5px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.nav-link:hover {
  color: #667eea;
  border-bottom-color: #667eea;
}
/* nav-linksのスタイル（既存CSSに追加） */
.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
}

/* ハンバーガーメニューボタン */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* オーバーレイ */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.overlay.active {
  display: block;
}
/* ファーストビュー */
.hero {
  background-color: var(--background-color);
  padding: 80px 20px;
  text-align: center;
}

.hero-content {
  max-width: 1100px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero .highlight {
  background: linear-gradient(transparent 60%, #ffdd57 60%);
  padding: 0 5px;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: #555;
  margin-bottom: 30px;
}

.hero h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 40px;
}

.hero-features {
  display: inline-block;
  text-align: left;
  margin-bottom: 40px;
  font-size: 1.1rem;
}
.hero-features p {
  margin: 10px 0;
}
.hero-features span {
  color: var(--primary-color);
  font-weight: bold;
  margin-right: 10px;
}

.hero-caption {
  margin-top: 15px;
  color: #777;
}

/* 課題提起 */
.problem {
  padding: 20px 0;
  background: #f0f9ff;
}

.problem-items {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 60px;
}

.problem-item {
  width: 31%;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 30px;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.problem-item h3 {
  text-align: center;
  font-size: 1.5rem;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.problem-solution {
  text-align: center;
}
.problem-solution .solution-text {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.6;
}
.problem-solution .highlight-strong {
  font-size: 2.8rem;
  color: var(--primary-color);
  background: linear-gradient(transparent 60%, #ffdd57 60%);
  padding: 0 10px;
}
.sp-only {
  display: none;
}

/* お悩みセクション */
.problems {
  background: #f8fafc;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.problem-card {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.problem-card h3 {
  font-size: 22px;
  color: #dc2626;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.problem-icon {
  font-size: 28px;
}
/* こんな方でも安心 */
.reassurance {
  background: #f0f9ff;
  padding: 60px 0;
}

.reassurance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.reassurance-item {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.reassurance-item .icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.reassurance-item h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #1e293b;
}

.reassurance-item p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
}

.trial-message {
  background: #fff;
  border: 3px solid #007bff;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  margin-top: 40px;
}

.trial-message p {
  font-size: 18px;
  color: #007bff;
  margin: 0;
}
/* 導入事例セクション */
.cases {
  padding: 20px 0;
  background: #fff;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.case-card {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  padding: 35px;
  border-radius: 12px;
  border-left: 5px solid #2563eb;
}

.case-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.case-company {
  font-size: 18px;
  font-weight: bold;
  color: #1e293b;
}

.case-tag {
  background: #2563eb;
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
}

.case-problem {
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.case-problem-title {
  font-weight: bold;
  color: #dc2626;
  margin-bottom: 8px;
}

.case-results {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
}

.case-results-title {
  font-weight: bold;
  color: #059669;
  margin-bottom: 12px;
}
.user-voices {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  margin-top: 15px;
}

.voice-title {
  font-weight: bold;
  color: #2563eb;
  margin-bottom: 15px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.voice-item {
  background: #f8fafc;
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.voice-item:last-child {
  margin-bottom: 0;
}

.voice-profile {
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 8px;
  display: inline-block;
  background: #e0f2fe;
  padding: 4px 10px;
  border-radius: 12px;
}

.voice-item p {
  font-size: 14px;
  line-height: 1.7;
  color: #334155;
  margin: 0;
}

.result-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 12px;
  font-size: 15px;
}

.result-item:last-child {
  margin-bottom: 0;
}

.result-left {
  color: #1e293b;
}

.result-right {
  text-align: right;
  color: #059669;
  font-weight: 600;
  padding-left: 20px;
}

.result-arrow {
  color: #059669;
  font-weight: bold;
  margin-right: 5px;
}
/* サービスの特徴 */
.features {
  padding: 20px 0;
  background-color: var(--background-color);
}
.feature-card {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
}
.feature-card.reverse {
  flex-direction: row-reverse;
}
.feature-image {
  width: 45%;
  flex-shrink: 0;
}
.feature-image img {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.feature-text {
  width: 55%;
}
.feature-text h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.feature-number {
  display: block;
  font-size: 1rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}
/* FAQ */
.faq {
  padding: 20px 0;
  background: #fff;
}

.faq-grid {
  max-width: 900px;
  margin: 40px auto 0;
}

.faq-item {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  padding: 25px;
  margin-bottom: 15px;
  border-radius: 10px;
  border: 2px solid #2563eb;
}

.faq-question {
  font-weight: bold;
  color: #2563eb;
  margin-bottom: 12px;
  font-size: 19px;
}

.faq-answer {
  color: #475569;
  line-height: 1.8;
}

/* 導入の流れ */
.flow {
  padding: 20px 0;
  background-color: var(--background-color);
}
.flow-steps {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  text-align: center;
}
.flow-step {
  width: 23%;
  position: relative;
}
.flow-step:not(:last-child)::after {
  content: "▶";
  position: absolute;
  right: -25px;
  top: 30px;
  color: #ccc;
  font-size: 20px;
}

.step-number {
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 20px;
}
.flow-step h4 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

/* CTA */
.cta {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: #fff;
  text-align: center;
}
.cta .section-title {
  color: #fff;
}
.cta p {
  font-size: 1.1rem;
  margin-bottom: 40px;
}
.cta .btn-primary {
  background: #fff;
  color: var(--primary-color);
  border-color: #fff;
}
.cta .btn-primary:hover {
  background: #f0f0f0;
}
.cta .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: #fff;
  margin-left: 15px;
}
.cta .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* フッター */
.footer {
  background-color: #333;
  color: #fff;
  padding: 40px 0;
}
.footer-inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-info p {
  margin: 5px 0;
  font-size: 0.9rem;
  color: #ccc;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 25px;
}
.footer-links a {
  color: #fff;
  text-decoration: none;
}
.footer-links a:hover {
  text-decoration: underline;
}
.logo-placeholder {
  background: linear-gradient(135deg, #f8fafc 0%, #e8f4fd 100%);
  border: 2px dashed #bdc3c7;
  border-radius: 12px;
  padding: 0;
  text-align: center;
  display: flex;
  width: 220px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #7f8c8d;
}
.illustration-placeholder {
  background: linear-gradient(135deg, #f8fafc 0%, #e8f4fd 100%);
  border: 2px dashed #bdc3c7;
  border-radius: 12px;
  padding: 3rem 2rem;
  text-align: center;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #7f8c8d;
}

/* レスポンシブ対応 (スマートフォン向け) */
@media (max-width: 768px) {
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 40px;
  }

  .header-logo img {
    height: 30px;
  }
  .header-nav .btn {
    padding: 8px 12px;
    font-size: 0.8rem;
  }
  .hamburger {
    display: flex;
  }

  .header-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: #fff;
    flex-direction: column;
    padding: 80px 30px 30px;
    gap: 0;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
  }

  .header-nav.active {
    right: 0;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    margin-bottom: 30px;
  }

  .nav-link {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    border-radius: 0;
    font-size: 16px;
  }

  .nav-link:hover {
    background-color: #f8f9fa;
  }

  .header-nav .btn {
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
    padding: 15px 20px;
  }
  .hero {
    padding: 60px 20px;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero h2 {
    font-size: 1.5rem;
  }
  .hero-features {
    font-size: 0.9rem;
  }
  .btn-large {
    padding: 14px 28px;
    font-size: 1rem;
  }

  .problem-items {
    flex-direction: column;
    gap: 20px;
  }
  .problem-item {
    width: auto;
  }

  .sp-only {
    display: block;
  }
  .problem-solution .solution-text {
    font-size: 1.5rem;
  }
  .problem-solution .highlight-strong {
    font-size: 2rem;
  }

  .feature-card,
  .feature-card.reverse {
    flex-direction: column;
    gap: 30px;
  }
  .feature-image,
  .feature-text {
    width: 100%;
  }
  .feature-text h3 {
    font-size: 1.5rem;
  }

  .flow-steps {
    flex-direction: column;
    gap: 40px;
  }
  .flow-step {
    width: 100%;
  }
  .flow-step:not(:last-child)::after {
    content: "▼";
    right: 50%;
    transform: translateX(50%);
    top: auto;
    bottom: -30px;
  }
  .user-voices {
    padding: 15px;
  }

  .voice-title {
    font-size: 15px;
  }

  .voice-item {
    padding: 12px;
  }

  .voice-profile {
    font-size: 12px;
  }

  .voice-item p {
    font-size: 13px;
  }

  .cta {
    padding: 60px 20px;
  }
  .cta .btn {
    display: block;
    width: 90%;
    margin: 15px auto;
  }
  .cta .btn-secondary {
    margin-left: auto;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
}

/* 埋め込みサインアップフォーム */
.signup-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.signup-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.signup-container h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 2rem;
}

.signup-description {
  text-align: center;
  color: #666;
  margin-bottom: 30px;
}

.signup-form fieldset {
  border: none;
  padding: 0;
  margin-bottom: 30px;
}

.signup-form legend {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
  border-bottom: 2px solid #eee;
  width: 100%;
  padding-bottom: 10px;
  display: block;
}

.signup-form .input-group {
  margin-bottom: 20px;
}

.signup-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #555;
}

.signup-form input[type="text"],
.signup-form input[type="email"],
.signup-form input[type="password"],
.signup-form input[type="tel"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s;
  box-sizing: border-box;
}

.signup-form input:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.signup-form button {
  width: 100%;
  padding: 15px;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
  display: block;
  margin-top: 30px;
}

/* 埋め込みサインアップフォーム */
.signup-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.signup-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.signup-container h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 2rem;
}

.signup-description {
  text-align: center;
  color: #666;
  margin-bottom: 30px;
}

.signup-form fieldset {
  border: none;
  padding: 0;
  margin-bottom: 30px;
}

.signup-form legend {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
  border-bottom: 2px solid #eee;
  width: 100%;
  padding-bottom: 10px;
  display: block;
}

.signup-form .input-group {
  margin-bottom: 20px;
}

.signup-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #555;
}

.signup-form input[type="text"],
.signup-form input[type="email"],
.signup-form input[type="password"],
.signup-form input[type="tel"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s;
  box-sizing: border-box;
}

.signup-form input:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.signup-form button {
  width: 100%;
  padding: 15px;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
  display: block;
  margin-top: 30px;
}

.signup-form button:hover {
  background-color: #0056b3;
}

/* FormValidation styles */
.fv-plugins-message-container {
  color: #dc3545;
  font-size: 0.9rem;
  margin-top: 5px;
}

/* Signup Flow */
.signup-flow {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 40px;
  position: relative;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.flow-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 140px;
}

.flow-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid #ccc;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  font-weight: bold;
  color: #ccc;
  margin-bottom: 10px;
}

.flow-label {
  font-size: 0.9rem;
  color: #999;
  text-align: center;
  font-weight: bold;
}

.flow-line {
  flex-grow: 1;
  height: 4px;
  background: #ccc;
  margin-top: 28px;
  margin-left: -30px;
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s;
  box-sizing: border-box;
}

.signup-form input:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.signup-form button {
  width: 100%;
  padding: 15px;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
  display: block;
  margin-top: 30px;
}

/* 埋め込みサインアップフォーム */
.signup-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.signup-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.signup-container h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 2rem;
}

.signup-description {
  text-align: center;
  color: #666;
  margin-bottom: 30px;
}

.signup-form fieldset {
  border: none;
  padding: 0;
  margin-bottom: 30px;
}

.signup-form legend {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
  border-bottom: 2px solid #eee;
  width: 100%;
  padding-bottom: 10px;
  display: block;
}

.signup-form .input-group {
  margin-bottom: 20px;
}

.signup-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #555;
}

.signup-form input[type="text"],
.signup-form input[type="email"],
.signup-form input[type="password"],
.signup-form input[type="tel"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s;
  box-sizing: border-box;
}

.signup-form input:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.signup-form button {
  width: 100%;
  padding: 15px;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
  display: block;
  margin-top: 30px;
}

.signup-form button:hover {
  background-color: #0056b3;
}

/* FormValidation styles */
.fv-plugins-message-container {
  color: #dc3545;
  font-size: 0.9rem;
  margin-top: 5px;
}

/* Signup Flow */
.signup-flow {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 40px;
  position: relative;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.flow-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 140px;
}

.flow-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid #ccc;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  font-weight: bold;
  color: #ccc;
  margin-bottom: 10px;
}

.flow-label {
  font-size: 0.9rem;
  color: #999;
  text-align: center;
  font-weight: bold;
}

.flow-line {
  flex-grow: 1;
  height: 4px;
  background: #ccc;
  margin-top: 28px;
  margin-left: -30px;
  margin-right: -30px;
  position: relative;
  z-index: 1;
}

/* Active State */
.flow-item.active .flow-circle {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.flow-item.active .flow-label {
  color: var(--primary-color);
}

/* Validation Styles */
.signup-form .input-group {
  position: relative;
}

.signup-form input.is-valid {
  border-color: #28a745;
  padding-right: 40px;
  background-color: #f8fff9;
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.signup-form input.is-invalid {
  border-color: #dc3545;
  padding-right: 40px;
  background-color: #fff8f8;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.custom-valid-icon,
.custom-invalid-icon {
  width: 20px;
  height: 20px;
  position: absolute;
  right: 15px;
  top: 43px;
  background-size: contain;
  background-repeat: no-repeat;
  font-size: 2rem;
}

.signup-description {
  text-align: center;
  color: #666;
  margin-bottom: 30px;
}

.signup-form fieldset {
  border: none;
  padding: 0;
  margin-bottom: 30px;
}

.signup-form legend {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
  border-bottom: 2px solid #eee;
  width: 100%;
  padding-bottom: 10px;
  display: block;
}

.signup-form .input-group {
  margin-bottom: 20px;
}

.signup-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #555;
}

.signup-form input[type="text"],
.signup-form input[type="email"],
.signup-form input[type="password"],
.signup-form input[type="tel"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s;
  box-sizing: border-box;
}

.signup-form input:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.signup-form button {
  width: 100%;
  padding: 15px;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
  display: block;
  margin-top: 30px;
}

.signup-form button:hover {
  background-color: #0056b3;
}

/* FormValidation styles */
.fv-plugins-message-container {
  color: #dc3545;
  font-size: 0.9rem;
  margin-top: 5px;
}

/* Signup Flow */
.signup-flow {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 40px;
  position: relative;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.flow-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 140px;
}

.flow-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid #ccc;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  font-weight: bold;
  color: #ccc;
  margin-bottom: 10px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* .feature-img の高さ調整 (上下中央50%のみ表示) */
.feature-img {
  width: 100%;
  aspect-ratio: 1.5 / 1;
  object-fit: cover;
  object-position: center;
}
.feature-imgok {
  width: 100%;
}

/* 静的ページ用スタイル */
.static-page-main {
  padding-top: 60px;
  padding-bottom: 80px;
  background-color: #f8fafc;
  min-height: calc(100vh - 400px);
}

.static-page-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.static-page-content {
  background: #fff;
  padding: 20px 60px;
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  line-height: 1.8;
}

.static-page-content h1 {
  font-size: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #3b82f6;
  color: #1e293b;
  text-align: center;
}

.static-page-content h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1.2rem;
  color: #1e293b;
  border-left: 4px solid #3b82f6;
  padding-left: 15px;
}

.static-page-content p {
  margin-bottom: 1.5rem;
}

.static-page-content ol,
.static-page-content ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.static-page-content li {
  margin-bottom: 0.8rem;
}

.static-page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
}

.static-page-content th,
.static-page-content td {
  border: 1px solid #e2e8f0;
  padding: 15px;
  text-align: left;
}

.static-page-content th {
  background-color: #f8fafc;
  width: 30%;
  font-weight: bold;
}

@media (max-width: 768px) {
  .static-page-content {
    padding: 30px 20px;
    margin-top: 20px;
  }
  
  .static-page-content h1 {
    font-size: 1.5rem;
  }
  
  .static-page-content h2 {
    font-size: 1.25rem;
  }
}

/* 会員登録フォーム：追加スタイル */
.signup-notes {
  margin: 20px 0;
  font-size: 0.9em;
  color: #666;
  line-height: 1.6;
}

.checkbox-group {
  margin: 20px 0;
  display: block;
}

.checkbox-group label {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  cursor: pointer;
  font-weight: normal;
  font-size: 1.1em;
  margin: 0 !important;
  padding: 0 !important;
}

#visualAgreeTerms {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  margin: 2px 0 0 0 !important;
  cursor: pointer;
}

.terms-text {
  flex: 1;
  margin: 0 !important;
  padding: 0 !important;
}
