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

body {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.8;
  color: #333;
}

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

/* ヘッダー */
/* ヘッダー */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid #eee;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
}

.logo a {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  text-decoration: none;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-list a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-list a:hover {
  color: #e3054f;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 3px 0;
  transition: 0.3s;
}

/* ヒーローセクション */
.hero {
  background: linear-gradient(
      135deg,
      rgba(36, 36, 62, 1),
      rgba(48, 43, 99, 0.9),
      rgba(15, 12, 41, 0.8)
    ),
    url("images/top.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  backdrop-filter: blur(2px);
  color: white;
  padding: 160px 0;
  text-align: center;
  overflow: hidden;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.hero p {
  font-size: 20px;
  margin-bottom: 40px;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  background: #fff;
  color: #429bb3;
  padding: 18px 50px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  transition: transform 0.3s;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* セクション共通 */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 1.4rem;
  margin-bottom: 50px;
  color: #1e293b;
  position: relative;
}
.section-title span {
  color: #e5ecf4;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 20%);
  font-size: clamp(4rem, 16vw, 5rem); /* 背景文字が大きめ */
  font-weight: 900;
  letter-spacing: 0.2rem;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: -1;
}
.section-title {
  position: relative;
  z-index: 1;
}

.section-subtitle {
  text-align: center;
  font-size: 16px;
  color: #64748b;
  margin-top: -30px;
  margin-bottom: 50px;
}

/* 課題セクション */
.problems {
  background: #f8fafc;
}

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

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

.problem-card h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

/* ソリューションセクション */
.solution {
  text-align: center;
}

.solution-text {
  font-size: 24px;
  color: #429bb3;
  font-weight: bold;
  margin-bottom: 30px;
}

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.comparison-box {
  padding: 30px;
  border-radius: 10px;
}

.before {
  background: #f1f5f6;
}

.after {
  background: #5bc2d1;
  color: #fff;
}

/* 特徴セクション */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.feature-card {
  text-align: center;
  padding: 30px;
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #1e293b;
}

/* フローセクション */
.flow {
  background: #f8fafc;
}

.flow-steps {
  max-width: 800px;
  margin: 0 auto;
}

.flow-step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.step-number {
  background: #5bc2d1;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  flex-shrink: 0;
  margin-right: 20px;
}

.step-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #1e293b;
}

/* 料金セクション */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  border: 2px solid #e2e8f0;
  transition: transform 0.3s;
}

.pricing-card:hover {
  transform: translateY(-10px);
  border-color: #5bc2d1;
}

.pricing-card.recommended {
  border-color: #5bc2d1;
  position: relative;
}

.recommended-badge {
  background: #5bc2d1;
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 12px;
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.plan-name {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #1e293b;
}

.price {
  font-size: 36px;
  font-weight: bold;
  color: #429bb3;
  margin-bottom: 20px;
}

.price-note {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 30px;
}

.price-details {
  text-align: left;
  margin-bottom: 30px;
}

.price-item {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.price-item:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
}

/* CTAセクション */
.cta-section {
  background: linear-gradient(
    135deg,
    rgba(36, 36, 62, 1),
    rgba(48, 43, 99, 0.9),
    rgba(15, 12, 41, 0.8)
  );
  color: white;
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 18px;
  margin-bottom: 40px;
  opacity: 0.9;
}

/* フォーム */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 40px 20px;
  border-radius: 10px;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  color: #1e293b;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  font-size: 16px;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #e3054f;
}
.error-message {
  color: #e3054f;
  font-size: 0.85em;
  margin-top: 0.25rem;
}
.form-status {
  margin-top: 1rem;
  font-weight: bold;
  color: green;
}

.submit-button {
  background: #5bc2d1;
  color: white;
  padding: 15px 50px;
  border: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.submit-button:hover {
  background: #429bb3;
}

/* フッター */
footer {
  background: #1e293b;
  color: white;
  text-align: center;
  padding: 30px 0;
}
/* thanks ページ専用レイアウト */
body.thanks-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.thanks-page main {
  flex: 1;
  display: flex;
  justify-content: center; /* 横中央 */
  align-items: center; /* 縦中央 */
  padding-top: 80px; /* ヘッダーの高さ分 */
  padding-bottom: 80px; /* フッターの高さ分 */
  box-sizing: border-box;
}

.thanks-title:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
}

.thanks-description {
  padding: 80px 0;
  text-align: center;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .nav-list {
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .nav-list.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: 32px;
  }

  .section-title {
    font-size: 22px;
  }

  .comparison {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }
}
/* FAQセクション */
.faq {
  background: #f8fafc;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  padding: 30px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
  color: #429bb3;
  margin-bottom: 15px;
  font-size: 18px;
}

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

/* プロフィールセクション */
.profile {
  background: white;
}

.profile-content {
  max-width: 800px;
  margin: 0 auto;
}

.profile-text h3 {
  font-size: 28px;
  color: #1e293b;
  margin-bottom: 10px;
}

.profile-title {
  color: #64748b;
  font-size: 16px;
  margin-bottom: 30px;
}

.profile-description p {
  margin-bottom: 20px;
  line-height: 1.8;
  color: #475569;
}

.profile-skills {
  margin-top: 40px;
  padding: 30px;
  background: #f8fafc;
  border-radius: 10px;
}

.profile-skills h4 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #1e293b;
}

.profile-skills ul {
  list-style: none;
}

.profile-skills li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
}

.profile-skills li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
}

/* 最終CTAセクション */
.final-cta {
  background: linear-gradient(
    135deg,
    rgba(36, 36, 62, 1),
    rgba(48, 43, 99, 0.9),
    rgba(15, 12, 41, 0.8)
  );
  color: white;
  text-align: center;
  padding: 80px 20px;
}

.final-cta h2 {
  font-size: 32px;
  margin-bottom: 20px;
  line-height: 1.4;
}

.final-cta p {
  font-size: 18px;
  margin-bottom: 40px;
  opacity: 0.9;
}
