/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jul 07 2026 | 03:59:21 */
/* ==============================
   Q&A デザイン 完成版
   アイコン大きめ・Q/Aカラー反転
   Q/Aアイコンとテキスト位置揃え
============================== */

.qa-design {
  margin: 32px 0;
  font-family: inherit;
}

.qa-item {
  margin-bottom: 24px;
}

.qa-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

/* Q/Aアイコン */
.qa-icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 5px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 34px;
  text-align: center;
  margin-top: 0;
}

/* Q：青 */
.qa-icon.q {
  background: #2f8fd3;
}

/* A：赤 */
.qa-icon.a {
  background: #d95757;
}

/* テキストエリア */
.qa-content {
  flex: 1;
  font-size: 17px;
  line-height: 1.9;
  color: #111;
  padding-top: 0;
}

/* 質問テキスト */
.qa-question {
  font-size: 19px;
  font-weight: 700;
  line-height: 34px;
  margin: 0;
}

/* 回答テキスト */
.qa-answer {
  margin: 0;
  padding-top: 1px;
}

.qa-answer p {
  margin: 0 0 1.1em;
  line-height: 1.9;
}

.qa-answer p:first-child {
  margin-top: 0;
}

.qa-answer p:last-child {
  margin-bottom: 0;
}

.qa-answer code {
  display: inline-block;
  padding: 2px 8px;
  margin: 0 3px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #f7f7f7;
  color: #333;
  font-family: Consolas, Monaco, monospace;
  font-size: 0.9em;
}

/* ==============================
   スマホ調整
============================== */

@media screen and (max-width: 768px) {
  .qa-design {
    margin: 26px 0;
  }

  .qa-item {
    margin-bottom: 22px;
  }

  .qa-row {
    gap: 12px;
  }

  .qa-icon {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    font-size: 18px;
    line-height: 30px;
    margin-top: 0;
  }

  .qa-content {
    font-size: 16px;
    line-height: 1.8;
    padding-top: 0;
  }

  .qa-question {
    font-size: 17px;
    line-height: 30px;
    margin: 0;
  }

  .qa-answer {
    padding-top: 0;
  }

  .qa-answer p {
    line-height: 1.8;
  }
}