/* 全体のリセットと基本設定 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  background-color: #ffffff;
  color: #000000;
  line-height: 1.6;
  padding: 20px;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
}

/* カード全体のスタイル設定 */
.trust-card {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #b4d3e7;
  padding: 20px 0;
  gap: 20px;
}

.trust-card:last-child {
  border-bottom: none; /* 最後の要素の下線は消す */
}

/* 左側：メインコンテンツ */
.main-content {
  flex: 1;
}

/* 青色のタイトルバー */
.title.blue-bar {
  background-color: #008cd6;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
  padding: 8px 10px;
  position: relative;
  margin-bottom: 15px;
}

/* タイルバーの両端にある黄色のアクセント */
.title.blue-bar::before,
.title.blue-bar::after {
  content: "";
  position: absolute;
  top: 0;
  width: 8px;
  height: 100%;
  background-color: #fabf14;
}
.title.blue-bar::before { left: 0; }
.title.blue-bar::after { right: 0; }

.description {
  font-size: 0.95rem;
  padding: 0 10px;
}

/* 右側：特徴エリア */
.feature-box {
  display: flex;
  align-items: flex-start;
  gap: 0px; /* ★ 15px から 5px に変更して隙間を狭めました */
  background-color: #f7f9fa;
  padding: 15px;
  border-radius: 4px;
}


/* 黄色のリボン */
.ribbon {
  position: relative;
  background-color: #fabf14;
  color: #000000;
  font-weight: bold;
  font-size: 0.9rem;
  writing-mode: vertical-rl; /* 縦書き設定 */
  text-align: center;
  padding: 10px 8px 15px 8px;
  min-width: 34px;
}

/* リボンの下の矢印カット */
.ribbon::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  border-left: 17px solid transparent;
  border-right: 17px solid transparent;
  border-bottom: 10px solid #f7f9fa; /* 背景色と同じ色にして削る */
}

/* 特徴の箇条書き */
.feature-list {
  list-style: none;
  flex: 1;
}

.feature-list li {
  font-size: 0.95rem;
  font-weight: bold;
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
}

.feature-list li:last-child {
  margin-bottom: 0;
}

/* 行頭の黒丸を再現 */
.feature-list li::before {
  content: "●";
  position: absolute;
  left: 0;
  color: #008cd6; /* 青色のドット */
  font-size: 0.9rem;
}


/* 画面幅が768px以上（PC・タブレット向け）のレイアウト切り替え */
@media (min-width: 768px) {
  .trust-card {
    flex-direction: row; /* 横並びにする */
    align-items: stretch;
    padding: 25px 0;
    gap: 40px;
  }

  .main-content {
    width: 55%;
    flex: none;
  }

  .feature-box {
    width: 40%;
    flex: none;
    background-color: transparent; /* PC時は背景色を透明に */
    padding: 0;
  }
  
  .ribbon::after {
    border-bottom-color: #ffffff; /* PC時の背景（白）に合わせる */
  }
}

/* 全体のリセットと基本設定 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  background-color: #ffffff;
  color: #000000;
  line-height: 1.5;
  padding: 20px;
}

/* テーブルを囲むコンテナ（レスポンシブ用） */
.table-container {
  max-width: 900px;
  margin: 0 auto;
  overflow-x: auto; /* 万が一画面幅からはみ出た場合は横スクロール */
}

/* テーブル全体のスタイル */
.campaign-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid #b5b5b5;
  border-bottom: 1px solid #b5b5b5;
  font-size: 0.9rem;
}

.campaign-table tr {
  border-bottom: 1px solid #e0e0e0;
}

.campaign-table tr:last-child {
  border-bottom: none; /* 最後の行の下線はテーブル本体の線と重なるため消す */
}

/* 左側：項目ヘッダー（薄い黄色） */
.campaign-table th {
  width: 25%;
  background-color: #fdf2d2; /* 画像の薄い黄色を再現 */
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
  padding: 15px 10px;
  border-right: 1px solid #b5b5b5;
  white-space: nowrap; /* 項目名の途中で改行させない */
}

/* 右側：内容エリア */
.campaign-table td {
  width: 75%;
  padding: 15px 20px;
  text-align: left;
  vertical-align: middle;
}

/* 太字強調 */
.bold-text {
  font-weight: bold;
  font-size: 1rem;
}

/* 注記（※マークなど） */
.note {
  font-size: 0.75rem;
  display: inline-block;
  margin-left: 5px;
}

/* 箇条書き（黒丸リスト） */
.dot-list {
  list-style: none;
}

.dot-list li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 6px;
}

.dot-list li:last-child {
  margin-bottom: 0;
}

/* 画像特有の少し太めの黒丸を再現 */
.dot-list li::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.85rem;
}

/* スマートフォン向けの微調整 */
@media (max-width: 600px) {
  .campaign-table {
    font-size: 0.8rem; /* 画面が狭いときは文字を少し小さくして視認性を確保 */
  }
  
  .campaign-table th {
    width: 30%;
    padding: 10px 5px;
  }
  
  .campaign-table td {
    width: 70%;
    padding: 10px 12px;
  }
}

