@charset "UTF-8";

.qanda {
  margin: 20px 0;
}
#contents-in h2.categ {
  background-color: #b86622;
  border-radius: 10px;
  color: #fff;
  text-align: left;
  font-size: 24px;
  font-weight: normal;
  padding: 10px 20px;
  background-image: url("images/open.png");
  background-position: right 20px center;
  background-repeat: no-repeat;
  background-size: 40px;
  cursor: pointer;
}
#contents-in h2.close {
  background-image: url("images/close.png");
}

#contents-in h3.toi {
  position: relative;
  margin-top: 10px;
  text-align: left;
  padding: 10px;
  background-color: #fff;
  padding-left: 70px;
  margin-bottom: 10px;
}
#contents-in h3.toi span {
  position: absolute;
  top: -20px;
  left: 0px;
  text-align: center;
  display: inline-block;
  background-color: #b86622;
  color: #fff;
  font-size: 32px;
  width: 2em;
  height: 2em;
  box-sizing: border-box;
  border-radius: 50%;
  padding-top: 10px;
}
.categin {
  display: none;
}
.categin > ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.categin > ul > li {
  border: solid 2px #b86622;
  border-radius: 10px;
  margin-bottom: 30px;
  padding: 20px;
  background-color: #f9f5e8;
}
.ans {
  position: relative;
  padding: 10px;
  padding-top: 70px;
  background-color: #fff;
}
.marka {
  position: absolute;
  top: 0px;
  left: 10px;
  display: inline-block;
  background-color: #22ab38;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  border-radius: 50%;
  width: 2em;
  height: 2em;
  padding-top: 10px;
  box-sizing: border-box;
}
.ans table {
  border-collapse: collapse;
  width: 100%;
  background-color: #fff;
}
.ans table th {
  border: solid 1px #aaa;
  padding: 5px;
  text-align: left;
  background-color: #eee;
  vertical-align: middle;
  font-weight: normal;
  white-space: nowrap;
}
.ans table td {
  border: solid 1px #aaa;
  padding: 5px;
  text-align: left;
  vertical-align: top;
  empty-cells: show;
  vertical-align: middle;
}
.ans table td ul {
  list-style: disc;
  margin-left: 25px;
}
span.kome {
  display: block;
  margin-left: 1em;
  text-indent: -1em;
  padding: 0;
}
strong.kome {
  display: block;
  color: #ff0000;
  margin-left: 1em;
  text-indent: -1em;
  padding: 0;
}

/* ==== PC ==== */
@media screen and (min-width: 680px) {
  span.indent {
    display: inline-block;
    text-indent: 4rem;
  }
}

/* ==== SP ==== */
@media screen and (max-width: 679px) {
  #contents-in h2.categ {
    padding: 10px;
    background-position: right 10px center;
    background-size: 30px;
  }

  #contents-in h3.toi {
    margin-top: 40px;
    padding: 20px 5px 0 5px;
    border: 0;
    background-color: transparent;
  }
  #contents-in h3.toi span {
    top: -1.6em;
    left: calc(50% - 1em);
    font-size: 28px;
  }
  .categin > ul > li {
    padding: 10px;
  }
  .ans {
    padding: 10px;
    padding-top: 70px;
  }
  .marka {
    top: 10px;
    left: calc(50% - 1em);
    display: block;
    font-size: 28px;
  }

  .ans table,
  .ans table tbody,
  .ans table thead,
  .ans table tr,
  .ans table th,
  .ans table td {
    display: block;
  }
  .ans tr {
    padding: 5px 0;
  }
  .ans table th {
    padding: 10px;
  }
  .ans table td {
    padding: 10px;
    border: none;
    background-color: #fff;
  }
}
