@charset "UTF-8";

.article-box .block__story-bg-wrap {
  margin-top: 0;
  padding-top: 60px;
  padding-bottom: 60px;
  padding-inline: 20px;
  background: #faf2f1;
}
.article-box .block__story-bg-wrap p {
  text-align: justify;
}
#article h2.hd-story {
  color: #876699;
}
.prof__worker {
  margin-inline: auto;
  margin-bottom: 24px;
  padding-bottom: 24px;
  width: 80%;
  border-bottom: 1px dashed rgb(135 102 153 / 50%);
}
.prof__img img {
  margin-bottom: 16px;
  width: 100%;
  border: 3px solid #876699;
  border-radius: 24px;
}
.tag-number {
  margin-bottom: 8px;
  padding: 2px 16px;
  width: fit-content;
  border-top-right-radius: 50vh;
  border-bottom-right-radius: 50vh;
  background: #876699;
  color: #fff;
  font-size: 18px;
  text-align: center;
}
.name {
  font-size: 18px;
}
/* ---------------------------------Tips用 */
.tips-wrap {
  position: relative;
  display: flow-root;
  margin-inline: auto;
  padding: 4em 1em 1em;
  /* width: 85%; */
  border: 6px double #876699;
  border-radius: 24px;
  z-index: 0;
}
.title-wrap {
  position: absolute;
  padding: 0.5em 1.5em;
  top: -36px;
  left: 50%;
  translate: -50%;
  background: #faf2f1;
}
#article h3.hd-tips {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8em;
  max-width: 100%;
  color: #876699;
  font-size: clamp(1.25rem, 4vw, 2rem);
  line-height: 1.3;
  white-space: nowrap;
  overflow-x: clip;
}
#article h3.hd-tips span {
  flex-shrink: 0;
}
.dot {
  width: 0.5em;
  height: 1.8em;
  fill: currentColor;
  flex-shrink: 0;
}
.dot-left {
  rotate: -18deg;
}
.dot-right {
  rotate: 18deg;
}
.tips-wrap .faq-wrap {
  display: grid;
  gap: 8px 24px;
}
@media screen and (min-width: 768px) {
  .prof__img {
    width: 45%;
  }
  .tips-wrap {
  padding: 2em;
  width: 85%;
 }
 .dot-left {
    rotate: -25deg;
  }
  .dot-right {
    rotate: 25deg;
  }
 .tips-wrap .faq-wrap {
    grid-template-columns: repeat(3, 1fr);
  }
}
.tips-wrap .faq {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
}
.tips-wrap .faq dt {
  position: relative;
  padding-left: 2.4em;
  color: #876699;
  font-weight: bold;
  &::before {
    content: "Q";
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    left: 0;
    background: #876699;
    border-radius: 50%;
    color: #fff;
    line-height: 1;
  }
}
.tips-wrap .faq dd {
  margin-top: 12px;
}