/* 全体のリセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family:"Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体";
    line-height: 1.6;
  }
  
  
 /* 生徒/保護者の声セクション */
.voices-all {
  margin: 20px;
}

.image-container {
  position: relative;
  width: 100%;
}

.image-container img {
  width: 100%;
  height: auto;
  opacity: 0.6; /* 画像の透明度を設定 */
}

.title-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.voices-main-title {
  margin-top: 25px;
}

/* 吹き出し全体のレイアウト */
.balloon01 {
  display: flex;
  align-items: flex-start;
  width: 100%;
  margin: 1.5em 0;
}

/* アイコンの場所 */
.balloon01 .icon01 {
  width: 80px;
  height: 80px;
  flex-shrink: 0; /* アイコンの縮小を防ぐ */
  margin-right: 15px;
}

/* アイコン画像 */
.balloon01 .icon01 img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: solid 2px #b8860b;
  object-fit: cover; /* 画像を枠内に収める */
}

/* 吹き出し全体 */
.balloon01 .chat01 {
  width: calc(100% - 95px); /* アイコン分のスペースを引く */
}

/* 吹き出しの入力部分 */
.talk01 {
  position: relative;
  padding: 17px 13px;
  border-radius: 12px;
  background: #fffacd;
  word-break: break-word; /* 長文でも折り返し */
}

/* 三角部分 */
.talk01::after {
  content: "";
  position: absolute;
  top: 18px;
  left: -12px;
  border: 12px solid transparent;
  border-right-color: #fffacd;
}

.talk01 p {
  margin: 0;
  padding: 0;
}
  
  .course-title {
    background: #e74c3c;
    color: white;
    padding: 10px;
    text-align: center;
    margin: 0;
  }
  
  .course-title span {
  text-decoration: underline;
  }
  
  
  /* フッター */
  footer {
    background-color: rgb(173, 231, 249);
    color: rgb(0, 0, 0);
    padding: 20px 10px;
    text-align: center;
  }
  
  .footer-menu-list {
    list-style: none;
    padding: 0;
  }
  
  .footer-menu-list li {
    display: inline-block;
    margin: 0 10px;
  }
  
  .footer-menu-list a {
    text-decoration: none;
    color: #333;
  }
  
  .copyright {
    margin-top: 10px;
    font-size: 14px;
    text-align: center;
  }
  
  /* スマホ表示時: 画像が上、テキストが下 */
  @media (max-width: 768px) {
    .concept-container {
        flex-direction: column;
        text-align: center;
    }
  
    .concept-image img {
        max-width: 100%;
    }
  }
  
  @media screen and (max-width: 768px) {
    .title-overlay h2 {
      font-size: 1.5rem;
    }
  }