.qa-anchor_item {
  position: relative;
  line-height: 1;
}
.qa-anchor_item a {
  position: relative;
  height: 100%;
  width: 100%;
  color: #333;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}
.qa-anchor_item a:after {
  position: absolute;
  content: '';
  height: 11px; 
  width: 18px;
  background-image: url('/sc/soc_japan/ecokaiga/common/img/ico_allow_bottom.png');
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: cover;
}
.qa-anchor_item a:hover {
  opacity: 0.7;
}

.qa-unit {
  position: relative;
}
.qa-unit:before {
  position: absolute;
  left: 0; 
  top: 0;
  content: '';
  display: block;
  height: 2px;
  width: 100%;
  background-image: radial-gradient(circle farthest-side, #a0a0a0, #a0a0a0 1px, transparent 1px, transparent);
  background-position: 0 -4px;
  background-size: 6px 10px;
}
.qa-unit + .qa-unit {
  margin-top: 0;
}
.qa-unit:last-child:after {
  position: absolute;
  bottom: 0;
  left: 0; 
  content: '';
  display: block;
  height: 2px;
  width: 100%;
  background-image: radial-gradient(circle farthest-side, #a0a0a0, #a0a0a0 1px, transparent 1px, transparent);
  background-position: 0 -4px;
  background-size: 6px 10px;
}
.qa-unit_question {
  position: relative;
  display: flex; 
  color: #060;
  font-weight: 700;
  line-height: 1.6;
}
.qa-unit_question span {
  display: flex;
  align-items: center;
}
.qa-unit_question:before {
  position: absolute;
  left: 0;
  content: 'Q';
  z-index: 10;
  background-image: url('/sc/soc_japan/ecokaiga/common/img/bg_q.png');
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
  text-align: center;
}
.qa-unit_answer {
  position: relative;
  display: flex;
}
.qa-unit_answer span {
  display: flex;
  align-items: center;
}
.qa-unit_answer:before {
  position: absolute;
  left: 0;
  content: 'A';
  z-index: 10;
  background-image: url('/sc/soc_japan/ecokaiga/common/img/bg_a.png');
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
  font-weight: 700; 
  text-align: center;
}
.qa-unit_link {
  position: relative;
  display: inline-block;
  padding-left: 20px;
  color: #060;
  font-weight: 700;
  text-decoration: none;
}
.qa-unit_link:before {
  position: absolute;
  left: 0; 
  content: '';
  display: block;
  height: 0;
  width: 0;
  border-color: transparent transparent transparent #060;
  border-style: solid;
  border-width: 5px 0 5px 10px;
}
@media screen and (max-width: 999px) {
  .qa-anchor_item + .qa-anchor_item:before {
    position: absolute;
    left: 0; 
    top: 0;
    content: '';
    display: block;
    height: 2px;
    width: 100%;
    background-image: radial-gradient(circle farthest-side, #060, #060 1px, transparent 1px, transparent);
    background-position: 0 -4px;
    background-size: 6px 10px;
  }
  .qa-anchor_item a {
    display: block;
    padding: 15px 0 15px 35px; 
    font-size: 1.6rem;
  }
  .qa-anchor_item a br {
    display: none;
  }
  .qa-anchor_item a:after {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  .qa-unit {
    margin-top: 30px;
    padding: 20px 0;
  }
  .qa-unit_question {
    padding-left: 66px;
    font-size: 1.6rem;
  }
  .qa-unit_question span {
    min-height: 50px;
  }
  .qa-unit_question:before {
    top: 5px;
    height: 45px;
    width: 50px;
    font-size: 2.2rem; 
    line-height: 45px;
  }
  .qa-unit_answer {
    margin: 10px 0 0;
    padding-left: 66px;
    font-size: 1.6rem;
    line-height: 1.75;
  }
  .qa-unit_answer span {
    min-height: 50px;
  }
  .qa-unit_answer:before {
    top: 3px;
    height: 45px;
    width: 50px;
    font-size: 2.2rem; 
    line-height: 45px;
  }
  .qa-unit_list {
    margin-top: 10px;
  }
  .qa-unit_item + .qa-unit_item {
    margin-top: 5px;
  }
  .qa-unit_link {
    margin-left: 66px;
    font-size: 1.6rem; 
    line-height: 1.3;
  }
  .qa-unit_link:before {
    top: 4px;
  }
}
@media only screen and (min-width: 1000px) and (max-width: 1150px) {
  .qa-anchor_item a {
    padding: 0 8px; 
    font-size: 1.3rem;
  }
  .qa-anchor_item a br {
    display: none;
  }
}
@media print, screen and (min-width: 1000px) {
  .qa-anchor {
    display: flex;
    align-items: center;
  }
  .qa-anchor_item {
    height: 78px; 
    width: calc(100% / 5);
  }
  .qa-anchor_item:before, .qa-anchor_item:after {
    position: absolute;
    top: 50%;
    content: '';
    display: block;
    height: 100%;
    width: 4px;
    background-image: radial-gradient(circle farthest-side, #060, #060 2px, transparent 2px, transparent);
    background-position: -2px -4px;
    background-size: 8px 12px;
    transform: translateY(-50%);
  }
  .qa-anchor_item:before {
    left: 0;
  }
  .qa-anchor_item:last-child:after {
    right: 0;
  }
  .qa-anchor_item a {
    display: flex;
    justify-content: center;
    text-align: center;
  }
  .qa-anchor_item a:after {
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
  }
  .qa-anchor_text {
    display: flex;
    height: 50px; 
    align-items: center;
  }
  .qa-unit {
    margin-top: 38px;
    padding: 35px 0;
  }
  .qa-unit_question {
    padding-left: 82px;
    font-size: 2rem;
  }
  .qa-unit_question span {
    min-height: 65px;
  }
  .qa-unit_question:before {
    top: 5px;
    height: 60px;
    width: 66px;
    font-size: 3rem; 
    line-height: 60px;
  }
  .qa-unit_answer {
    margin: 30px 0 0; 
    padding-left: 82px;
  }
  .qa-unit_answer span {
    min-height: 65px;
  }
  .qa-unit_answer:before {
    top: 3px;
    height: 60px;
    width: 66px;
    font-size: 3rem; 
    line-height: 60px;
  }
  .qa-unit_list {
    margin-top: 20px;
  }
  .qa-unit_link {
    margin-left: 82px;
  }
  .qa-unit_link:hover {
    opacity: 0.6;
  }
  .qa-unit_link:before {
    top: 50%;
    transform: translateY(-50%);
  }
}
@media print, screen and (min-width: 1151px) {
  .qa-anchor_item a {
    font-size: 1.6rem;
  }
}
