@charset "utf-8";

body {
  counter-reset: number 0;
}
.qanda-contents {
  padding-top: 120px;
}
.qanda-contents .contents-wrapper {
  max-width: 895px;
  margin: auto;
}
.qanda-contents .contents-wrapper .intro {
  margin-bottom: 54px;
  font-size: var(--fs16);
}
.qanda-contents .contents-wrapper .qanda-box {
  margin-bottom: 60px;
}
.qanda-contents .contents-wrapper .qanda-box .qanda-q {
  position: relative;
  display: flex;
  margin-bottom: 30px;
  padding-bottom: 14px;
  border-bottom: solid 1px #c6c6c6;
}
.qanda-contents .contents-wrapper .qanda-box .qanda-q h2 {
  margin-left: 72px;
  font-size: var(--fs18);
  font-weight: bold;
}
.qanda-contents .contents-wrapper .qanda-box .qanda-q::before {
  position: absolute;
  top: -6px;
  margin-right: 23px;
  margin-left: 10px;
  font-family: "游明朝", YuMincho;
  font-size: var(--fs28);
  font-weight: 800;
  color: #c7171e;
  content: "Q" counter(number);
  counter-increment: number 1;
}
.qanda-contents .contents-wrapper .qanda-box .qanda-a {
  position: relative;
  display: flex;
  margin-left: 72px;
}
.qanda-contents .contents-wrapper .qanda-box .qanda-a::before {
  position: absolute;
  top: -8px;
  left: -48px;
  font-family: "游明朝", YuMincho;
  font-size: var(--fs28);
  font-weight: 800;
  color: #c7171e;
  content: "A";
}
.qanda-contents .contents-wrapper .qanda-box .qanda-a p {
  width: 100%;
  padding-bottom: 22px;
  font-size: var(--fs16);
}
.qanda-contents .contents-wrapper .qanda-box figure {
  display: inline-block;
  width: 30%;
  margin-bottom: 26px;
  margin-left: 68px;
}
@media screen and (max-width: 767px) {
  .qanda-contents .contents-wrapper .intro {
    margin-bottom: 50px;
    font-size: var(--fs14);
  }
  .qanda-contents {
    padding-top: 60px;
  }
  .qanda-contents .contents-wrapper {
    max-width: 600px;
    margin: auto;
  }
  .qanda-contents .contents-wrapper .qanda-box {
    margin-bottom: 50px;
  }
  .qanda-contents .contents-wrapper .qanda-box .qanda-q {
    margin-bottom: 27px;
    padding-bottom: 8px;
  }
  .qanda-contents .contents-wrapper .qanda-box .qanda-q::before {
    top: -4px;
    left: -10px;
    font-size: var(--fs22);
  }
  .qanda-contents .contents-wrapper .qanda-box .qanda-q h2 {
    margin-left: 48px;
    font-size: var(--fs16);
  }
  .qanda-contents .contents-wrapper .qanda-box .qanda-a {
    position: relative;
    display: flex;
    margin-left: 46px;
  }
  .qanda-contents .contents-wrapper .qanda-box .qanda-a::before {
    top: -4px;
    left: -34px;
    font-size: var(--fs22);
  }
  .qanda-contents .contents-wrapper .qanda-box .qanda-a p {
    font-size: var(--fs14);
  }
  .qanda-contents .contents-wrapper .qanda-box figure {
    width: auto;
    max-width: 375px;
    margin-left: 48px;
  }
}
