.rounded-section {
  background: #ffffff;
  border-radius: 28px;
  padding: 20px 40px;
  max-width: 1000px;
  margin: 0 auto;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.section-bubble-wrap {
  position: relative;
  text-align: center;
  padding-top: 20px;
    margin-bottom: 0px ;
}

/* 吹き出し本体 */
.section-bubble-title {
  display: inline-block;
  background-color: #004e89; /* 吹き出しの色 */
  color: #fff;
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 20px;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

/* 下方向に飛び出す三角 */
.section-bubble-title::after {
  content: "";
  position: absolute;
  bottom: -10px;   /* はみ出し具合 */
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 14px solid #004e89; /* バブルの色と合わせる */
}


/* タイトル全体を中央揃えにするためのラッパー */
.section-title-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px; /* タイトルと飾り画像の隙間 */
  margin-bottom: 40px;
  width: 100%;
      margin-top: 0px;
  margin-bottom: 30px;
}

/* タイトルテキスト */
.section-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #004e89;
  text-align: center;
  margin: 0;
  white-space: nowrap; /* 長文でも折り返させない（ズレ防止） */
}

/* 左右装飾の画像 */
.title-deco {
  width: 36px;     /* 大きさはここで調整！ */
  height: auto;
  display: block;
}

.subtext {
  font-size: 15px;
  text-align: left;
  margin-top: 15px;
  font-weight: 200;
  color: #3f4739;
    margin-top: 10px;
  margin-bottom: 20px;
  font-weight: 300;
}


/* 画像＋文章を横並びに */
.trial-content {
  display: flex;
  gap: 30px;
  align-items: center;
  flex-wrap: wrap;

/* 画像エリア */
.trial-image img {
  width: 380px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* テキストエリア */
.trial-text {
  flex: 1;
  min-width: 280px;
}

/* h4 */
.trial-point {
  font-size: 20px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  font-weight: 700;
  color: #29a2c6
}

/* メリット見出し */
.merit {
  width: 75px;
  height: 50px;
  margin-right: 10px;
}

/* ハッシュタグの並び・間隔（10pxに固定） */
.benefit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px; /* 横・縦どちらも10px空く */
  justify-content: center;
  max-width: 900px;
  margin: 30px auto;
}
 
  /* 企業リスト */
  .company-list-wrap {
  text-align: center;
  color: #004e89;
  margin: 20px auto 40px;
  font-size: 17px;
  line-height: 1.8;
}

.company-list-wrap a {
  color: #004e89;
  text-decoration: underline;
  margin-left: 4px;
}

/* 可変幅の丸ボタン（文字数で伸び縮み） */
.benefit-item {
display: inline-flex;
  align-items: center;
  background: #e4f1fd;
  color: #004e89;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 9999px;
  border: 1px solid #c9dff3;
  
  white-space: normal;          /* ←改行OKにする */
  line-height: 1.5;             /* ←行間をしっかり付ける */
   margin: 5px auto;
  transition: transform .15s ease, box-shadow .15s ease;
}

/* 控えめホバー */
.benefit-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 78, 137, 0.08);
}
    
/* ==========================
   スマホ表示調整
========================== */
@media (max-width: 600px) {
  .subtext {
  font-size: 13px;
}
  
  /* タイトルテキスト */
.section-title {
    margin-bottom: 20px;
  font-size: 28px;
}

/* 左右装飾の画像 */
.title-deco {
  width: 32px; 
}

.company-list {
    font-size: 15px;
    line-height: 1.8;
  }
  
  .company-list a {
    font-size: 14px;
  }
}