.stripe-marker {
  background-image: repeating-linear-gradient(
    -45deg,
    #b289f4 0,
    #b289f4 2px,
    transparent 2px,
    transparent 4px
  );
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 100% 0.3em;
}
.support-salon .base-list li .img img {
  border-radius: 5px;
}
/* 1. リストアイテム自体を縦並びのFlexボックスにする */
.base-list > li {
  display: flex;
  flex-direction: column;
  height: 100%; /* グリッドセルの高さ一杯に広げる */
}

/* 2. テキスト部分が余白を全て埋めるようにする */
.detail-text {
  flex-grow: 1; /* ここが伸びることで、下の画像を底辺に押し下げる */
}
/* --- 全体のコンテナ設定 --- */
.support-salon-container {
  position: relative; /* タイトルを絶対配置するために必要 */
  margin: 0 auto; /* 中央寄せと上下の余白 */
  padding: 20px 15px; /* 紫ボックスと外枠の間の余白 */
  border: 2px solid #cbb6fc; /* 薄い紫の外枠線 */
  border-radius: 10px; /* 外枠の角丸 */
  background-color: #fff;
  box-sizing: border-box;
}

/* --- メインタイトル（線の上に乗る部分） --- */
.main-heading {
  position: absolute;
  top: -11px; /* 上にずらして線の上に配置（フォントサイズに合わせて調整） */
  left: 50%;
  transform: translateX(-50%); /* 中央配置 */
  margin: 0;
  padding: 0 20px; /* 左右の余白で線を隠す */
  background-color: #fff; /* 背景色を白にして線を隠す */
  font-weight: bold;
  color: #000;
  line-height: 1;
}

/* --- 紫色の背景エリア --- */
.purple-content-box {
  background-color: #a881f2; /* メインの紫色 */
  border-radius: 10px;
  padding: 15px 20px 25px; /* 内側の余白 */
  text-align: center;
}

/* --- サブタイトル（後援会活動） --- */
.sub-heading {
  color: #fff;
  margin: 0 0 15px 0; /* 下のカードとの距離 */
  font-weight: bold;
}

/* --- リスト（カードの並び） --- */
.activity-list {
  display: flex;
  justify-content: space-between; /* 均等配置 */
  gap: 10px; /* カード間の隙間 */
  list-style: none;
  padding: 0;
  margin: 0;
}

/* --- 各カード（白いボタン状の部分） --- */
.activity-item {
  background-color: #fff;
  border-radius: 20px; /* 丸み */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  min-height: 60px; /* 高さを揃える */
  box-sizing: border-box;
}

.activity-item .text {
  font-weight: bold;
  color: #000;
  line-height: 1.4;
  text-align: center;
}

/* --- モバイル対応（スマホで縦並びや2列にする場合） --- */
@media screen and (max-width: 600px) {
  .activity-list {
    flex-wrap: wrap; /* 折り返し許可 */
  }
  .activity-item {
    flex: 0 0 48%; /* 2列にする場合 */
    width: 48%;
    margin-bottom: 10px;
  }
}

/* 色設定（ここを変えると全体の色が変わります） */
:root {
  --header-bg-color: #a885ee; /* ヘッダーの濃い紫 */
  --cell-bg-color: #e6dcfc; /* セルの薄い紫 */
  --border-color: #ffffff; /* 枠線の色（白） */
  --text-color: #333333; /* 文字色 */
}

/* テーブル全体のコンテナ（横スクロール対応） */
.table-container {
  width: 100%;
  overflow-x: auto;
  box-sizing: border-box;
}

.membership-table {
  width: 100%;
  min-width: 600px; /* 最小幅を設定して崩れ防止 */
  border-collapse: collapse;
  border-spacing: 0;
}

/* 全セルの共通設定 */
.membership-table th,
.membership-table td {
  border: 3px solid var(--border-color); /* 太い白枠 */
  padding: 16px 10px;
  vertical-align: middle;
}
.membership-table td {
  padding: 16px 10px;
}
/* --- ヘッダーエリア --- */
.membership-table thead th {
  background-color: var(--header-bg-color);
  color: white;
  text-align: center;
}

.membership-table .title {
  font-weight: bold;
  margin-bottom: 4px;
}

.membership-table .subtitle {
  font-weight: normal;
}

/* 左上の空セルも同じ背景色にする */
.membership-table .empty-cell {
  background-color: var(
    --header-bg-color
  ); /* 画像に合わせて薄い紫に変更したい場合は --cell-bg-color に */
}

/* 左側の項目列 */
.membership-table .label-cell {
  font-weight: bold;
  text-align: left;
  width: 30%;
  padding-left: 24px;
}

/* ○×の列 */
.membership-table .status-cell {
  text-align: center;
  width: 35%;
  font-size: 2rem; /* 記号を大きく */
}

/* ○のデザイン */
.circle {
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
  font-weight: normal; /* 太すぎないように調整 */
}

/* ×のデザイン */
.cross {
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
  font-family: sans-serif; /* 細身のバツ印を表示するため */
  font-weight: 100;
  font-size: 2.2rem; /* バツ印は少し大きめに */
}

/* 1. 親のセルを基準位置に設定 */
.status-cell {
  position: relative; /* 子要素を自由に配置するための基準 */
  text-align: center; /* ○（サークル）を中央寄せ */
  /* 既存のpaddingなどはそのままでOK */
}

/* 2. 注釈テキストを強制的に位置調整 */
.status-cell .note {
  position: absolute; /* 通常の流れから切り離して配置 */
  left: 50%; /* セルの横幅のちょうど50%（真ん中）を起点にする */
  top: 50%; /* 高さも50%（真ん中）にする */
  transform: translateY(
    -50%
  ); /* 上下の位置ズレを補正して完全な垂直中央にする */
  white-space: nowrap; /* 勝手に改行しないようにする */
}

/* --- 行のレイアウト --- */
.flow-row {
  display: flex;
  gap: 2%;
}

/* 右寄せ（2行目用） */
.flow-row.row-bottom {
  justify-content: flex-end; /* 右側に寄せる */
  align-items: center;
}

/* --- 各ステップのカードデザイン --- */
.step-card {
  max-width: 191px;
  position: relative;
  flex: 1;
  height: 186px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  /* ▼ここを修正しました（直接 30px と記述） */
  clip-path: polygon(
    0% 0%,
    calc(100% - 30px) 0%,
    100% 50%,
    calc(100% - 30px) 100%,
    0% 100%
  );
}

/* 1列目の最初のアイテムだけ左端を平らにする場合（画像のSTEP1は平らに見えます） */
.step-card-end {
  clip-path: polygon(
    0% 0%,
    calc(100% - var(--arrow-size)) 0%,
    100% 50%,
    calc(100% - var(--arrow-size)) 100%,
    0% 100%
  );
}

/* STEP番号 */
.step-num {
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0px;
  margin-bottom: 5px;
}
.step-num span {
  display: block;
  font-size: 24px;
  line-height: 1.2;
}

/* 紫色のボックス */
.step-content-box {
  padding: 8px 16px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #fff; /* 境界線をくっきりさせる */
}

/* 金額表示ボックス（STEP 5用） */
.price-box {
  border-radius: 4px;
}

/* --- 真ん中のブリッジ部分（矢印と説明文） --- */
.flow-bridge {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 40px 0;
  max-width: 800px;
  row-gap: 8px;
}

.bridge-arrow {
  /* 矢印の棒 */
  width: 75%;
  height: 15px;
  position: relative;
  margin-right: 20px;
}
.bridge-arrow::after {
  /* 矢印の先 */
  content: "";
  position: absolute;
  right: -15px;
  top: -5px;
  border-left: 16px solid #d9c8f4;
  border-top: 13px solid transparent;
  border-bottom: 12px solid transparent;
}
.fees-list {
  justify-content: space-around;
}
.base-btn {
  max-width: 278px;
}
.img-flex {
  display: flex;
  flex-direction: column;
}
.download-flex {
  column-gap: 2%;
}
/* --- レスポンシブ対応（スマホ時） --- */
@media (max-width: 767px) {
  .flow-container {
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
  }
  .flow-row {
    flex-direction: column;
    width: 100%;
  }
  .step-card {
    width: 100%;
    clip-path: none; /* 矢印の形を解除 */
    border-bottom: 4px solid #fff; /* 区切り線 */
    margin-right: 0;
    min-height: auto;
    padding: 15px;
    max-width: initial;
    flex: initial;
    justify-content: center;
    height: initial;
  }
  /* スマホ時は下向き矢印をつけるなどお好みで調整 */
  .step-card::after {
    content: "▼";
    display: block;
    color: var(--bg-light);
    margin-top: 5px;
  }

  .step-content-box {
    padding: 8px 10px;
  }
  .flow-bridge {
    flex-direction: column;
    text-align: center;
    padding-top: 0;
    padding-bottom: 115px;
    row-gap: 0px;
  }
  .bridge-arrow {
    bottom: -110px;
    width: 60px;
    transform: rotate(90deg);
    margin: 0;
  }
  .step-num span {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .membership-table {
    min-width: initial;
  }
  /* ○×の列 */
  .membership-table .status-cell {
    text-align: center;
    width: 22%;
    font-size: 1.5rem; /* 記号を大きく */
  }
  /* ×のデザイン */
  .cross {
    font-size: 1.8rem; /* バツ印は少し大きめに */
  }

  .membership-table .label-cell {
    padding-left: 10px;
    width: 22%;
  }
  .table-container {
    overflow-x: initial;
  }
  .status-cell .note {
    transform: translate(-50%);
  }
  .step-card-end:last-child::after {
    content: none;
  }
  .bridge-text {
    position: relative;
  }
  .base-btn {
    max-width: 375px;
    width: 80vw;
  }
  .support-salon-container {
    padding: 15px 10px; /* 紫ボックスと外枠の間の余白 */
  }
  .activity-item {
    padding: 10px;
  }
  .purple-content-box {
    padding: 15px 12px; /* 内側の余白 */
  }
  .base-list > li {
    align-items: center;
  }

  .img-flex {
    flex-direction: row;
    column-gap: 2%;
  }
}
@media (max-width: 500px) {
  .img-flex {
    flex-direction: column;
    row-gap: 10px;
  }
}

.ul-blue {
  padding-bottom: 1px;
  border-bottom: 1px solid #2b6af3;
}