/* ====================
    基本的なスタイル
   ==================== */
body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: #ffffff; /* 全体的なテキストを白に変更 */
  background-color: #000000; /* 背景を黒に変更 */
  line-height: 1.6;
}
h1,
h2,
h3,
p,
ul {
  margin: 0;
  padding: 0;
}
a {
  text-decoration: none;
  color: inherit;
}
input,
textarea,
button,
select {
  font-family: inherit;
}

/* ====================
    共通クラス
   ==================== */
.section-title {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff; /* タイトルを白に変更 */
}
.section-subtitle {
  font-weight: 400;
  font-style: italic;
  font-size: 16px;
  color: #a0a0a0; /* サブタイトルをグレーに変更 */
  margin-top: 5px;
}
.required-label {
  color: #e2354f; /* 必須ラベルを赤に変更 */
  font-size: 12px;
  margin-left: 5px;
}
.optional-label {
  color: #e2354f; /* 任意ラベルを赤に変更 */
  font-size: 12px;
  margin-left: 5px;
}

/* ====================
    ヘッダーのスタイル
   ==================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #1c1c1c; /* ヘッダー背景を濃いグレーに変更 */
  box-shadow: none; /* 影を削除 */
  z-index: 1000;
  background-color: rgba(28, 28, 28, 0.8); /* 背景のみを80%の不透明度に設定 */
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
}
.logo-text {
  font-weight: 700;
  font-size: 24px;
}
.logo-service {
  font-size: 10px;
  font-style: italic;
  font-weight: 700;
  color: #e2354f; /* サービス名を赤に変更 */
}
.nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}
.nav a,
.contact-button {
  font-weight: 600;
  color: #ffffff; /* ナビゲーションリンクを白に変更 */
}
.contact-button {
  background-color: #e2354f; /* ボタン背景を赤に変更 */
  color: #fff;
  padding: 10px 25px;
  border-radius: 50px;
}
/* レスポンシブ対応 */
@media (max-width: 840px) {
  .nav {
    display: none;
  }
}

/* ====================
    ヒーローセクション
   ==================== */
.hero-section {
  position: relative;
  min-height: 80vh;
  padding-top: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000000;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}
.hero-content-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1280px;
  padding: 0 40px;
}
.hero-main-content {
  flex: 1;
  text-align: left;
}
.hero-image-right {
  flex: 1;
  display: flex;
  justify-content: flex-end; /* 右寄せ */
  align-items: center;
  padding-left: 20px;
}
.hero-image-right img {
  max-width: 100%;
  height: auto;
}
/* レスポンシブ対応 */
@media (max-width: 840px) {
  .hero-content-container {
    flex-direction: column;
    text-align: center;
  }
  .hero-main-content,
  .hero-image-right {
    width: 100%;
    margin-bottom: 40px;
  }
  .hero-image-right {
    padding-left: 0;
    justify-content: center;
  }
}

/* ====================
    統計情報セクション
   ==================== */

.stats-container {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
}
.stat-item {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}
.stat-text {
  font-size: 14px;
  font-weight: 600;
}
.stat-number {
  font-size: 40px;
  font-weight: 700;
  color: #e2354f; /* 実績数字を赤に変更 */
}
.catch-copy-small {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
}
.catch-copy-large {
  font-size: 72px;
  font-style: italic;
  font-weight: 800;
  line-height: 1.2;
}
.description-text {
  margin-top: 20px;
  font-size: 16px;
  font-weight: 400;
}
.cta-button {
  display: inline-block;
  margin-top: 40px;
  padding: 15px 50px;
  background-color: #e2354f; /* CTAボタンを赤に変更 */
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
}
.hero-form-container {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}
.form-card {
  width: 90%;
  max-width: 400px;
  background-color: #1c1c1c; /* フォームカード背景を濃いグレーに変更 */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  color: #fff;
}
.form-title-small {
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}
.form-title-large {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
}
.contact-form label {
  color: #a0a0a0; /* ラベルテキストをグレーに変更 */
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  background-color: #333333; /* フォーム入力欄の背景を濃いグレーに変更 */
  border: 1px solid #555; /* ボーダーを暗い色に変更 */
  color: #fff;
}
.contact-form input::placeholder {
  color: #888;
}
.submit-button {
  background-color: #e2354f; /* 送信ボタンを赤に変更 */
}
/* レスポンシブ対応 */
@media (max-width: 840px) {
  .hero-content-container {
    flex-direction: column;
    text-align: center;
  }
  .hero-main-content,
  .hero-form-container {
    width: 100%;
    margin-bottom: 40px;
  }
  .hero-form-container {
    justify-content: center;
  }
  .stats-container {
    justify-content: center;
  }
}

/* ====================
    課題解決セクション
   ==================== */
.problem-solution-section {
  padding: 80px 40px;
  background-color: #000000; /* 背景を黒に変更 */
}
.problem-section {
  text-align: center;
  margin-bottom: 60px;
}
.problem-section .section-title {
  font-size: 24px;
  color: #ffffff; /* タイトルを白に変更 */
}
.problem-cards-container {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  margin-top: 40px;
}
.problem-card {
  width: 30%;
  background-color: #181818; /* カード背景を濃いグレーに変更 */
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.problem-image {
  max-width: 300px;
  height: auto;
  margin-top: 20px;
}
.problem-subtitle {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff; /* サブタイトルを白に変更 */
}
.problem-main-text {
  font-size: 16px;
  font-weight: 700;
  color: #e2354f; /* メインテキストを赤に変更 */
  margin-top: 10px;
}
.solution-section {
  text-align: center;
}
.solution-arrow {
  max-width: 300px;
  margin-bottom: 20px;
}
.solution-title-small {
  font-size: 40px;
  font-weight: 700;
  color: #ffffff; /* タイトルをグレーに変更 */
  margin-bottom: 40px;
}
.solution-title-large {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 20px;
  color: #ffffff;
}
.solution-title-large .highlight {
  color: #e2354f; /* 強調を赤に変更 */
}
.solution-description {
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
}
/* レスポンシブ対応 */
@media (max-width: 840px) {
  .problem-cards-container {
    flex-direction: column;
    align-items: center;
  }
  .problem-card {
    width: 60%;
    margin-bottom: 20px;
  }
}

/* ====================
    強み（Features）セクション
   ==================== */
.features-section {
  background-color: #000000; /* 背景を黒に変更 */
  padding: 80px 40px;
}
.features-header {
  text-align: center;
  margin-bottom: 60px;
}
.features-header .section-title {
  font-size: 28px;
  color: #ffffff;
}
.features-header .section-subtitle {
  font-weight: 400;
  font-style: italic;
  font-size: 16px;
  color: #e2354f; /* サブタイトルを赤に変更 */
  margin-top: 5px;
}
.features-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.feature-card {
  display: flex;
  align-items: center;
  background-color: #1c1c1c; /* カード背景を濃いグレーに変更 */
  border-radius: 24px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  padding: 40px;
  position: relative;
}
.feature-image-container {
  width: 50%;
  text-align: right;
}
.feature-image {
  max-width: 100%;
}
.feature-content {
  width: 50%;
  padding-right: 40px;
}
.point-number {
  display: flex;
  align-items: flex-end;
  color: #e2354f; /* ポイント番号を赤に変更 */
}
.point-number p:first-child {
  font-size: 14px;
  font-weight: 700;
  margin-right: 5px;
}
.point-number p:last-child {
  font-size: 32px;
  font-weight: 700;
}
.feature-title {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
  margin-top: 15px;
}
.feature-title strong {
  color: #e2354f; /* 強調を赤に変更 */
  font-weight: inherit;
}
.feature-text {
  font-size: 14px;
  font-weight: 400;
  color: #a0a0a0; /* テキストをグレーに変更 */
  line-height: 1.6;
  margin-top: 15px;
}
.features-container .feature-card:nth-child(even) {
  flex-direction: row-reverse;
}
.features-container .feature-card:nth-child(even) .feature-content {
  padding-left: 40px;
  padding-right: 0;
}
.features-container .feature-card:nth-child(even) .feature-image-container {
  text-align: left;
}
/* レスポンシブ対応 */
@media (max-width: 840px) {
  .feature-card {
    flex-direction: column-reverse;
    text-align: center;
    padding: 30px;
  }
  .features-container .feature-card:nth-child(odd),
  .features-container .feature-card:nth-child(even) {
    flex-direction: column-reverse;
  }
  .feature-content,
  .feature-image-container {
    width: 100%;
    text-align: center;
    padding: 0;
  }
  .feature-image {
    max-width: 80%;
    margin-bottom: 20px;
  }
}

/* ====================
    ミドルCTAセクション
   ==================== */
.middle-cta-section {
  background-color: #e2354f;
  color: #fff;
  text-align: center;
  padding: 80px 20px;
  position: relative; /* 子要素の配置基準にする */
  overflow: hidden; /* 動画がはみ出さないように */
}

/* 背景動画のスタイル */
#cta-background-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 1; /* コンテンツより後ろに配置 */
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: grayscale(100%) brightness(50%); /* 色をなくし、暗くする */
}

/* 赤いオーバーレイのスタイル */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #e2354f; /* 赤色 */
  opacity: 0.7; /* 透過度を調整して動画が見えるように */
  z-index: 2; /* 動画の上、コンテンツの下に配置 */
}

/* 既存のコンテンツは動画の上に表示させる */
.cta-container {
  position: relative;
  z-index: 3; /* オーバーレイより前面に配置 */
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}
.divider {
  width: 100px;
  height: 3px;
  background-color: #fff;
  margin: 0 auto 40px;
}
.cta-container {
  max-width: 800px;
  margin: 0 auto;
}
.cta-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}
.divider {
  width: 100px;
  height: 3px;
  background-color: #fff;
  margin: 0 auto 40px;
}
.cta-button-middle {
  display: inline-block;
  padding: 18px 60px;
  border: 2px solid #fff;
  border-radius: 50px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
}
.cta-button-middle:hover {
  background-color: #fff;
  color: #e2354f;
}
.phone-info {
  margin-top: 40px;
}
.phone-text {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}
.phone-number {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 2px;
}
.phone-hours {
  font-size: 14px;
  font-weight: 400;
  margin-top: 5px;
}
/* レスポンシブ対応 */
@media (max-width: 580px) {
  .cta-title {
    font-size: 20px;
  }
  .phone-number {
    font-size: 32px;
  }
}

/* ====================
    実績セクション
   ==================== */
.results-section {
  background-color: #000000; /* 背景を黒に変更 */
  padding: 80px 40px;
}
.results-header {
  text-align: center;
  margin-bottom: 60px;
}
.results-header .section-title {
  font-size: 28px;
  color: #ffffff;
}
.results-header .section-subtitle {
  font-weight: 400;
  font-style: italic;
  font-size: 16px;
  color: #e2354f; /* サブタイトルを赤に変更 */
  margin-top: 5px;
}
.results-container {
  max-width: 1000px;
  margin: 0 auto;
}
.case-study-card {
  display: flex;
  background-color: #1c1c1c; /* カード背景を濃いグレーに変更 */
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  padding: 40px;
  margin-bottom: 40px;
  align-items: center;
  gap: 40px;
}
.phone-mockup {
  position: relative;
  width: 300px;
  flex-shrink: 0;
}
.phone-screen-image {
  width: 100%;
  border-radius: 20px;
}
.view-account-button {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #e2354f; /* ボタンを赤に変更 */
  color: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  line-height: 1.2;
}
.view-account-button .note {
  font-size: 10px;
  font-weight: 400;
  display: block;
  margin-top: 2px;
}
.case-study-content {
  flex: 1;
}
.client-name {
  font-size: 20px;
  font-weight: 700;
  color: #e2354f; /* クライアント名を赤に変更 */
  margin-bottom: 20px;
}
.case-detail {
  margin-bottom: 20px;
}
.detail-label {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff; /* ラベルテキストを白に変更 */
  padding: 5px 10px;
  background-color: #333333; /* ラベル背景を濃いグレーに変更 */
  display: inline-block;
  border-radius: 5px;
}
.detail-text {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 10px;
  color: #a0a0a0; /* テキストをグレーに変更 */
}
/* レスポンシブ対応 */
@media (max-width: 840px) {
  .case-study-card {
    flex-direction: column;
    text-align: center;
    padding: 30px;
  }
  .phone-mockup {
    width: 250px;
    margin-bottom: 20px;
  }
}

/* ====================
    プランセクション
   ==================== */
.plans-section {
  background-color: #1c1c1c; /* 背景色を白に近いグレーに変更 */
  padding: 80px 40px;
  text-align: center;
}

.plans-header .section-title {
  color: #ffffff; /* タイトル色を白に戻す */
}
.plans-header .section-subtitle {
  color: #e2354f; /* サブタイトルは赤のまま */
}

.plans-container {
  max-width: 1280px;
  margin: 0 auto;
}
.plans-note-top,
.plans-note-bottom {
  font-size: 14px;
  color: #a0a0a0; /* テキストをグレーに戻す */
  margin: 20px 0;
}
.plans-note-bottom {
  margin-top: 40px;
}
/* ここからカード形式のスタイル */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
/* プランカード */
.plan-card {
  background-color: #fff; /* カードの背景は白のまま */
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  overflow: visible; /* バッジがはみ出すように */
  display: flex;
  flex-direction: column;
  position: relative; /* バッジを絶対配置するために必要 */
  z-index: 1; /* 重なり順を調整 */
}

.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
/* おすすめプランの強調表示 */
.plan-card.recommended-plan {
  border: 4px solid #e2354f; /* ★修正点: 太さを4pxに増やす */
  box-shadow: 0 6px 20px rgba(226, 53, 79, 0.3);
  z-index: 2; /* 他のカードより前面に表示 */
}

/* おすすめプランのホバー時スタイル */
.plan-card.recommended-plan:hover {
  transform: translateY(-20px); /* ホバー時はさらに浮き上がるように */
}

/* おすすめバッジのスタイル */
.plan-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  background-color: #ffc107;
  color: #333;
  padding: 8px 20px; /* おすすめ枠のサイズ */
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 3; /* 最前面に表示 */
}

.badge-icon {
  width: 24px;
  height: 24px;
}

/* ヘッダー部分の調整 */
.plan-header {
  padding: 30px 20px;
  background-color: #f7f7f7;
  border-bottom: 1px solid #e0e0e0;
  color: #333; /* 文字色を濃い色に */
  border-radius: 8px 8px 0 0; /* ★修正点: ヘッダーにも角丸を設定★ */
}

.plan-card.recommended-plan .plan-header {
  background-color: #fff8f8;
}

.plan-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333; /* 文字色を濃い色に */
  margin-bottom: 5px;
}
.plan-subtitle {
  font-size: 0.9rem;
  color: #e2354f;
  line-height: 1.5;
}
.plan-body {
  padding: 30px 20px;
  flex-grow: 1;
  color: #333; /* 文字色を濃い色に */
}
.plan-price {
  font-size: 1rem;
  font-weight: 900;
  color: #e2354f;
  margin-bottom: 20px;
}
.plan-price .price-value {
  font-size: 4rem;
  font-weight: 900;
}
.plan-price .price-unit {
  font-size: 1.5rem;
}
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}
.plan-features li {
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: #555;
  margin-bottom: 10px;
}
/* アイコン部分の共通スタイル */
.feature-icon {
  width: 20px;
  height: 20px;
  line-height: 20px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  margin-right: 10px;
  border-radius: 50%;
  color: #fff;
  flex-shrink: 0;
}

/* チェックマークのスタイル */
.feature-icon.check {
  background-color: #4caf50;
}

/* バツマークのスタイル */
.feature-icon.uncheck {
  background-color: #f44336;
}
/* レスポンシブ対応 */
@media (max-width: 768px) {
  .plans-grid {
    grid-template-columns: 1fr;
  }
}

/* ====================
    運用フローセクション
   ==================== */
.flow-section {
  background-color: #000000;
  padding: 80px 40px;
  text-align: center;
}
.flow-header {
  margin-bottom: 60px;
}
.flow-header .section-title {
  font-size: 28px;
  color: #ffffff;
}
.flow-header .section-subtitle {
  font-weight: 400;
  font-style: italic;
  font-size: 16px;
  color: #e2354f;
  margin-top: 5px;
  margin-bottom: 40px; /* ★修正点: 下の余白を増やす★ */
}
.flow-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.flow-step {
  flex: 1;
  position: relative; /* 子要素のposition: absoluteの基準 */
  text-align: center;
}

.step-title-wrapper {
  background-color: #e2354f;
  color: #fff;
  padding: 20px; /* パディングを調整 */
  position: relative;
  z-index: 10;
  /* 矢印の形状をリセット */
  clip-path: polygon(
    0 0,
    100% 0,
    calc(100% + 20px) 50%,
    100% 100%,
    0 100%,
    20px 50%
  );
  border-radius: 0; /* 上部のをなくす*/
}

/* 矢印の擬似要素 */
.step-title-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  right: -20px; /* 右側にはみ出す分 */
  width: 40px; /* 矢印の幅 */
  height: 100%;
  background-color: #e2354f;
  transform: skewX(-20deg); /* 傾きを調整 */
  z-index: -1; /* 親要素の裏に配置 */
}
.step-number {
  font-size: 16px;
  font-weight: 700;
}
.step-title {
  font-size: 20px;
  font-weight: 700;
}

.step-icon-zone {
  text-align: center;
  margin-bottom: 20px;
}

.step-icon {
  width: 120px; /* アイコンのサイズ */
  height: auto;
}

.step-content {
  background-color: #ffffff; /* カード背景を濃いグレーに変更 */
  color: #1c1c1c; /* テキストをグレーに変更 */
  padding: 20px;
  border-radius: 0 0 10px 10px;
  text-align: left;
  font-size: 14px;
  line-height: 1.6;
}
/* レスポンシブ対応 */
@media (max-width: 840px) {
  .flow-container {
    flex-direction: column;
    align-items: center;
  }
  .flow-step {
    width: 90%;
    margin-bottom: 20px;
  }
}

/* ====================
    FAQセクション
   ==================== */
.faq-section {
  background-color: #1c1c1c; /* 背景を濃いグレーに変更 */
  padding: 80px 40px;
  text-align: center;
}
.faq-header {
  margin-bottom: 60px;
}
.faq-header .section-title {
  font-size: 28px;
  color: #ffffff;
}
.faq-header .section-subtitle {
  font-weight: 400;
  font-style: italic;
  font-size: 16px;
  color: #e2354f; /* サブタイトルを赤に変更 */
  margin-top: 5px;
}
.faq-container {
  max-width: 900px;
  margin: 0 auto;
}
.faq-item {
  margin-bottom: 20px;
  background-color: #000000; /* カード背景を黒に変更 */
  border: 1px solid #333; /* ボーダーを暗い色に変更 */
  border-radius: 8px;
  text-align: left;
  transition: all 0.3s ease;
}
.faq-item:hover {
  background-color: #690010; /* ホバー時の色を濃いグレーに変更 */
}
.faq-question {
  display: block;
  padding: 20px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  list-style: none;
  color: #ffffff;
}
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-question::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: #ffffff; /* アイコンを赤に変更 */
  transition: transform 0.3s ease;
}
.faq-item[open] .faq-question::after {
  content: "−";
}
.faq-answer {
  padding: 0 20px 20px;
  font-size: 14px;
  line-height: 1.6;
  color: #ffffff; /* 回答テキストをグレーに変更 */
  border-top: 1px solid #333; /* ボーダーを暗い色に変更 */
}
.faq-answer p {
  margin: 0;
}

/* ====================
    コンタクトフォーム
   ==================== */
.contact-section {
  background-color: #000000; /* 背景を黒に変更 */
  padding: 80px 40px;
  text-align: center;
}
.contact-header {
  margin-bottom: 40px;
}
.contact-header .section-title {
  font-size: 28px;
  color: #ffffff;
}
.contact-header .section-subtitle {
  font-weight: 400;
  font-style: italic;
  font-size: 16px;
  color: #e2354f; /* サブタイトルを赤に変更 */
  margin-top: 5px;
}
.contact-form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: #1c1c1c; /* フォーム背景を濃いグレーに変更 */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}
.form-group {
  margin-bottom: 20px;
  text-align: left;
}
.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 14px;
  color: #ffffff;
}
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #333; /* ボーダーを暗い色に変更 */
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 14px;
  background-color: #000000; /* 入力欄背景を黒に変更 */
  color: #ffffff;
}
input::placeholder,
textarea::placeholder {
  color: #a0a0a0; /* プレースホルダーをグレーに変更 */
}
textarea {
  resize: vertical;
}
.name-fields {
  display: flex;
  gap: 10px;
}
.name-fields input {
  flex: 1;
}
.agreement-group {
  margin-top: 30px;
  text-align: left;
}
.agreement-text {
  font-size: 14px;
  margin-bottom: 10px;
}
.policy-link {
  color: #e2354f; /* リンクを赤に変更 */
  text-decoration: none;
}
.agreement-checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  color: #a0a0a0; /* チェックボックステキストをグレーに変更 */
}
.agreement-checkbox-label input[type="checkbox"] {
  width: auto;
  margin-right: 10px;
}
.submit-button-form {
  width: 100%;
  padding: 15px;
  margin-top: 30px;
  background-color: #e2354f; /* 送信ボタンを赤に変更 */
  color: #fff;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
}
.submit-button-form:hover {
  background-color: #a00021; /* ホバー時の色を濃い赤に変更 */
}

/* ====================
    フッター
   ==================== */
.footer {
  background-color: #000000;
  color: #fff;
  text-align: center;
  padding: 20px 40px;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}
.copyright {
  font-size: 13px;
  font-weight: 300;
  color: #a0a0a0; /* 著作権表示をグレーに変更 */
}

/* =========================================================
   red-thanks.html専用スタイル
   ========================================================= */

/* 背景動画のスタイル */
#background-video {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 80%;
  min-height: auto;
  width: auto;
  height: auto;
  z-index: -100;
  transform: translateX(-50%) translateY(-50%);
  background-size: cover;
  object-fit: cover;
  filter: grayscale(100%) brightness(50%); /* 色をなくし、暗くする */
  opacity: 0.3; /* 透過度を調整 */
}

/* 動画が再生できない場合の代替画像 */
.video-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -99;
}

/* フォーム送信後のコンテンツ */
.thanks-content {
  position: relative;
  z-index: 1;
}

.thank-you-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 120px);
  text-align: center;
  color: #fff;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.thank-you-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.thank-you-message {
  font-size: 1.2rem;
  line-height: 1.8;
}

/* ★画像アイコンのスタイルをここに追加★ */
.check-icon-image {
  width: 80px; /* アイコンの幅 */
  height: auto; /* 高さは自動調整 */
  margin-bottom: 20px;
}

/* ★ホームボタンのスタイルを修正★ */
.home-button {
  display: inline-block;
  margin-top: 40px;
  padding: 12px 30px;
  background-color: #e2354f; /* テーマカラーの赤色 */
  color: #fff;
  text-decoration: none;
  border-radius: 50px; /* 角丸を強調 */
  font-weight: 700;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* 影を追加 */
}

.home-button:hover {
  background-color: #a00021; /* ホバー時の色を濃い赤色に変更 */
}
