@charset "utf-8";

.wp-block-group {
  margin-bottom: 24px;
}
.wp-block-group.has-background {
  padding: 1em;
}
.wp-block-image,
.wp-block-buttons {
  margin-bottom: 24px;
}
.wp-block-image img {
  width: 100%!important;
  height: auto!important;
}

.sonic-box {
  background-color: var(--background-color);
  margin-bottom: 24px;
}
.sonic-box .ob-title {
  padding: 0.8em 1em;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  background-color: var(--main-color);
}
.sonic-box .ob-contents {
  padding: 1em;
}

.huki-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.huki-box.huki-left {
  flex-direction: row;
}
.huki-box.huki-right {
  flex-direction: row-reverse;
}
.huki-box .huki-imgname {
  flex: 0 0 auto;
  width: 20%;
  max-width: 120px;
}
.huki-box .huki-text {
  padding: 1em 1.5em;
  background-color: #f0f0f0;
  border-radius: 16px;
  font-size: 14px;
  position: relative;
}
.huki-left .huki-text::before {
  content: '';
  display: block;
  height: 24px;
  width: 24px;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  position: absolute;
  top: 16px;
  left: -20px;
  background-color: #f0f0f0;
}
.huki-right .huki-text::before {
  content: '';
  display: block;
  height: 24px;
  width: 24px;
  clip-path: polygon(0 0, 100% 100%, 0 100%);
  position: absolute;
  top: 16px;
  right: -20px;
  background-color: #f0f0f0;
}

.qa-box {
  padding: 1em;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 24px;
}
.qa-box .q-area,
.qa-box .a-area {
  position: relative;
  padding-left: 48px;
  margin-bottom: 1em;
  min-height: 40px;
  overflow: hidden;
}
.qa-box .qa-label {
  width: 40px;
  height: 40px;
  background-color: var(--main-color);
  color: #fff;
  border-radius: 8px!important;
  border: none!important;
  margin: 0!important;
  text-align: center;
  line-height: 40px;
  font-size: 18px;
  font-weight: bold;
  position: absolute;
  top: 0;
  left: 0;
}
.qa-box .qa-content {
  padding-top: 4px;
}
