body {
  background: #f6f5f0;
  font-family: "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  color: #333;
  margin: 0;
  padding: 0;
}
.qa-section {
  max-width: 700px;
  margin: 15px auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(160, 130, 80, 0.08);
  border: 2px solid #d4af37;
  padding: 32px 24px;
  position: relative;
}
.qa-section::before {
  content: "";
  display: block;
  position: absolute;
  top: -18px;
  left: 32px;
  width: 56px;
  height: 56px;
  background: radial-gradient(ellipse at 30% 30%, #ffd700 70%, #c0a060 100%);
  border-radius: 50%;
  box-shadow: 0 0 8px #d4af37;
  border: 2px solid #fff;
}

h2.qa-title {
  margin: 0px 0px 10px !important;
  padding: 0.4em 0.5em 0.2em !important;
  border-left: none !important;
  background-color: rgba(0, 0, 0, 0) !important;
  font-family: "Yu Mincho", "Noto Serif JP", serif;
  font-size: 2rem !important;
  color: #b08d36;
  letter-spacing: 0.1em;
  text-align: center;
  border-bottom: 1.5px dashed #e0c97f !important;
}

@media screen and (max-width: 768px) {
  h2.qa-title {
    margin: 10px 0px 10px !important;
    padding: 0.4em 0.5em 0.2em !important;
    border-left: none !important;
    background-color: rgba(0, 0, 0, 0) !important;
    font-family: "Yu Mincho", "Noto Serif JP", serif;
    font-size: 2rem !important;
    color: #b08d36;
    letter-spacing: 0.1em;
    text-align: center;
    border-bottom: 1.5px dashed #e0c97f !important;
  }
}

.qa {
  margin-bottom: 32px;
  padding-bottom: 18px;
  border-bottom: 1px dotted #e6d3a7;
}
.q-label {
  display: inline-block;
  background: linear-gradient(90deg, #ffe082 60%, #fff8dc 100%);
  color: #b08d36;
  font-weight: bold;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  text-align: center;
  line-height: 36px;
  font-size: 1.2rem;
  margin-right: 10px;
  box-shadow: 0 2px 4px rgba(208, 176, 54, 0.1);
  vertical-align: middle;
  font-family: "Noto Serif JP", serif;
}
.q-text {
  font-size: 1.1rem;
  font-family: "Noto Serif JP", serif;
  color: #222;
  display: inline;
  vertical-align: middle;
}
.a-label {
  display: inline-block;
  background: linear-gradient(90deg, #faf1d5 60%, #fff8dc 100%);
  color: #b08d36;
  font-weight: bold;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  text-align: center;
  line-height: 36px;
  font-size: 1.2rem;
  margin-top: 5px;
  margin-right: 10px;
  box-shadow: 0 2px 4px rgba(208, 176, 54, 0.1);
  vertical-align: middle;
  font-family: "Noto Serif JP", serif;
}
.a-text {
  font-size: 1rem;
  color: #444;
  font-family: "Noto Sans JP", sans-serif;
  display: inline;
  vertical-align: middle;
  line-height: 1.6;
}
@media (max-width: 600px) {
  .qa-section {
    padding: 18px 6px;
    margin: 2em 0;
  }
  .qa-title {
    font-size: 1.3rem;
  }
  .q-label,
  .a-label {
    /* font-size: 1rem; */
    /* width: 28px; */
    /* height: 28px; */
    /* line-height: 28px; */
    margin-top: 8px;
  }
  .a-text {
    font-size: 1rem;
    color: #444;
    font-family: "Noto Sans JP", sans-serif;
    display: inline;
    vertical-align: middle;
    line-height: 1.6;
  }
}

.contents-wrap-qa {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0;
}

.contents-text-qa {
  width: 93%;
  margin-top: 0.5em;
  /*flex: 2;*/
}
.contents-img-qa {
  width: 7%;
  /*flex: 1;*/
}
.contents-img-qa img {
  display: block;
  width: 100%;
  height: auto;
}

@media screen and (max-width: 768px) {
  .contents-wrap-qa {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0;
    margin-bottom: 1em;
  }

  .contents-text-qa {
    width: 89%;
    margin-top: 0;
    /*flex: 2;*/
  }
  .contents-img-qa {
    width: 7%;
    /*flex: 1;*/
  }
  .contents-img-qa img {
    display: block;
    width: 100%;
    height: auto;
  }
}
