html {
  scroll-behavior: smooth;
}

.mt40 {
  margin-top: 40px;
}

.aj-case {
  margin-top: 50px;
}

.attention-top p:nth-child(2) {
  line-height: 1.5;
}

.pagelinks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media screen and (max-width: 768px) {
  .pagelinks {
    grid-template-columns: repeat(2, 1fr);
  }
}
.pagelinks__in {
  display: block;
  border: 1px solid #aaa;
  text-align: center;
  letter-spacing: 1px;
  color: #333;
  text-decoration: underline;
  padding: 8px;
  transition: all 0.5s ease;
}
.pagelinks__in:hover {
  text-decoration: none;
}
.pagelinks__in:nth-child(1) {
  background-color: #E3F5E7;
}
.pagelinks__in:nth-child(2) {
  background-color: #FFF9D9;
}
.pagelinks__in:nth-child(3) {
  background-color: #FBE4E2;
}
.pagelinks__in:nth-child(4) {
  background-color: #E3F0FA;
}

.qa-8 dt {
  margin-bottom: 1em;
  color: #333333;
  font-weight: 600;
}

.qa-8 dt::before,
.qa-8 dd::before {
  margin-right: 0.4em;
}

.qa-8 dt::before {
  content: "Q.";
}

.qa-8 dd {
  margin: 0 0 2.5em;
  padding: 1em 1.5em;
  background-color: #fdf2e2;
  color: #333333;
}
.qa-8 dd:last-of-type {
  margin-bottom: 0;
}

.qa-8 dd::before {
  content: "A.";
}

.qabox {
  margin: 64px 0;
  padding: 48px 0;
  border-top: 1px dashed #aaa;
  border-bottom: 1px dashed #aaa;
}

.qatitle {
  width: 32%;
  text-align: center;
  padding: 8px;
  letter-spacing: 1px;
  border: 1px dashed #aaa;
  margin-bottom: 32px;
}
@media screen and (max-width: 600px) {
  .qatitle {
    width: 50%;
  }
}

.qacolor01 {
  background-color: #E3F5E7;
}

.qacolor02 {
  background-color: #FFF9D9;
}

.qacolor03 {
  background-color: #FBE4E2;
}

.qacolor04 {
  background-color: #E3F0FA;
}

.bnrcenter {
  display: flex;
  align-items: center;
  justify-content: center;
}

.qabox01 {
  display: flex;
  flex-direction: row;
  gap: 24px;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
  align-items: center;
}
@media screen and (max-width: 600px) {
  .qabox01 {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }
}
.qabox01__imgbox {
  max-width: 300px;
}
@media screen and (max-width: 600px) {
  .qabox01__imgbox {
    max-width: 100%;
    width: 100%;
  }
}
.qabox01__imgbox img {
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
  height: 420px;
}
.qabox01__textbox--text01 {
  font-weight: 600;
  font-size: 2rem;
  margin-bottom: 24px;
}
.qabox01__textbox--text02 {
  font-weight: 600;
  font-size: 2rem;
  margin-bottom: 12px;
  color: red;
}
.qabox01__textbox--text03 {
  font-weight: 600;
  font-size: 2rem;
  margin-bottom: 24px;
  color: rgb(27, 91, 238);
}

.qabox02 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px auto;
  width: 80%;
}
@media screen and (max-width: 600px) {
  .qabox02 {
    grid-template-columns: repeat(1, 1fr);
    width: 100%;
  }
}
.qabox02__imgbox01 img {
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
  height: 400px;
  -o-object-position: center;
     object-position: center;
}
.qabox02__textbox {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.qabox02__textbox--text01 {
  font-weight: 600;
  font-size: 2rem;
  margin-bottom: 24px;
}
.qabox02__textbox--text02 {
  font-weight: 600;
  font-size: 2rem;
  margin-bottom: 24px;
}
.qabox02__textbox--text03 {
  font-weight: 600;
  font-size: 2rem;
  margin-bottom: 24px;
}
.qabox02__imgbox02 img {
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
  height: 400px;
  -o-object-position: center;
     object-position: center;
}

@media screen and (max-width: 600px) {
  .attention-top {
    margin-top: 24px;
  }
}