/* 全体のリセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family:"Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体";
    line-height: 1.6;
  }
  
  
/* よくある質問セクション */
.faq-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;
}

.faq-main-title {
  margin-top: 25px;
  margin-bottom: 30px;
}

/* 吹き出し全体のレイアウト */
.balloon-chat {
  display: flex;
  align-items: flex-start;
  flex-wrap: nowrap;
  margin-bottom: 20px;
}

/* 左右の向き調整 */
.balloon-chat.left {
  flex-direction: row;
}

.balloon-chat.right {
  flex-direction: row-reverse;
}

/* アイコンの枠を固定 */
.icon-img {
  width: 80px;
  height: 80px;
  flex-shrink: 0; /* アイコンサイズが縮まないよう固定 */
  margin: 0 10px;
}

.icon-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #333300;
}

/* 吹き出し部分 */
.chatting {
  position: relative;
  display: inline-block;
  max-width: 70%; /* 吹き出しの最大幅を設定 */
  margin: 10px 0;
  padding: 10px 20px;
  background: #ccffcc;
  text-align: left;
  border-radius: 12px;
  word-break: break-word; /* 長文でも折り返し */
}

/* 吹き出しの三角形 */
.chatting::after {
  content: "";
  border: 15px solid transparent;
  border-top-color: #ccffcc;
  position: absolute;
  top: 10px;
}

.left .chatting::after {
  left: -15px;
}

.right .chatting::after {
  right: -15px;
}

/* アイコン名（もし使う場合） */
.icon-name {
  width: 80px;
  font-size: 12px;
  text-align: center;
}
  .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;
    }
  }