.entry-section-title {
  display: flex;
  align-items: center;
  font-size: clamp(20px, 3.5vw, 35px);
  font-weight: bold;
  margin: 140px 0 5px 100px;
}

.entry-section-title .bar {
  display: inline-block;
  width: 12px;  
  height: clamp(20px, 3.5vw, 45px);
  border-radius: 10px; 
  background-color: #bb1a1a; 
  margin-right: 15px; 
}

.entry-section-text p{
    margin-left: 130px;
  font-size: clamp(12px, 3.5vw, 20px);
}

.entry-section-text{
    margin-bottom: 90px;
}
main {
  position: relative;
  min-height: 100vh;
}
html, body {
  height: 100%;
}
.bubble-left-kasou {
  top: 80vh;
}
.bubble-right-kasou {
  top: 120vh;
}
.vision-text {
  font-size: clamp(18px, 3vw, 36px);
  text-align: center;
  font-weight: bold;
  margin-top: 20px;
  line-height: 1.5;
}

.message-section {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 140px 20px;
}

.message-box {
  position: relative; /* 見出しを絶対配置するため */
  border: 2px solid #000;
  border-radius: 15px;
  padding: 60px 40px 50px; /* 上に余白を追加して見出しと重ならないようにする */
  width: 300px;
  box-sizing: border-box;
  text-align: center;
  background: #fff; /* 背景白（必要であれば） */
}

.message-box h2 {
  position: absolute;
  top: -20px; /* 枠より上に配置 */
  left: 50%;
  transform: translateX(-50%);
  background-color: #c00; /* 赤色 */
  color: #fff;
  padding: 8px 20px;
  border-radius: 10px;
  font-size: 1.2rem;
}

.message-box p {
  line-height: 1.8;
  font-size: clamp(15px, 3vw, 20px);
}

.vision-last {
  font-size: clamp(16px, 3vw, 20px);
  text-align: center;
  margin-top: 20px;
  line-height: 1.5;
  font-weight: bold;
  margin-bottom: 200px;
}
@media screen and (max-width: 980px) {
.message-section {
  gap: 50px;
}
}

@media screen and (max-width: 768px) {
.entry-section-title {
  margin: 140px 0 5px 60px;
}
.entry-section-text p{
    margin-left: 90px;
}

.entry-section-text{
    margin-bottom: 70px;
}

.vision-text {
  margin: 0 30px;
}
}

@media screen and (max-width: 480px) {
    .entry-section-title {
  margin: 140px 0 5px 30px;
}
.entry-section-text p{
    margin-left: 50px;
}

.entry-section-text{
    margin-bottom: 50px;
}

.vision-last {
  margin-left: 30px;
  margin-right: 30px;
}

}