@charset "UTF-8";

/* コンテンツ */
.faq_box h2 {
  font-family: 'メイリオ', Meiryo,serif;
  margin: -150px 0 30px;
  padding: 170px 0 0;
}

/* 目次 */
.toggle {
  display: none;
}
.toc-box {
  background-color: #FEF0F0;
  width: fit-content;
  margin: 20px auto;
  padding: 10px;
}
.title,
.l-toc {
  transform: translateZ(0);
  transition: all 0.3s;
}
.title {
  padding: 10px 20px;
  display: block;
  text-align: center;
}
.title::after{
  content: "[閉じる]";
  position: absolute;
  right: 20px;
  width: 50px;
  text-align: center;
  font-size: 12px;
}
.l-toc {
  max-height: 100%;
  transition: all 1s;
  overflow: hidden;
}
.l-toc ul{
  list-style: none;
  padding: 0;
  margin: 0;
}
.l-toc a {
  display: block;
  padding: 5px 15px 5px 30px;
  font-size: 14px;
  position: relative;
  text-decoration: none;
  line-height: 1.4;
  color: #1a1a1a;
  transition: all .3s;
}
.l-toc a:hover {
  color: #DF2D74;
  text-decoration: underline;
}
.l-toc a::after {
  position: absolute;
  content: "・";
  font-weight: bold;
  left: 15px;
  top: 5px;
}
.toggle:checked + .title + .l-toc {
  max-height: 0;
}
.toggle:checked + .title::after {
  content: "[開く]";
}

/* 装飾 */
.has-text-align-right{
  text-align: right;
}
span.marker{
  display: inline-block;
  background-color: #E1A847;
  color: #ffffff;
  line-height: 1;
  padding: 7px 8px 5px;
  margin: 0 0 5px;
  border-radius: 3px;
}
span.marker-blue{
  display: inline-block;
  background-color: #0171A1;
  color: #ffffff;
  line-height: 1;
  padding: 7px 8px 5px;
  margin: 0 0 5px;
  border-radius: 3px;
}
span.marker-red{
  display: inline-block;
  background-color: #EB7981;
  color: #ffffff;
  line-height: 1;
  padding: 7px 8px 5px;
  margin: 0 0 5px;
  border-radius: 3px;
}

.wp-block-table{
  margin: 20px 0;
}
.wp-block-table table {
  border-collapse: collapse;
  font-size: 14px;
  width: 100%;
  table-layout: fixed;
}
.wp-block-table th,
.wp-block-table td {
  border: 1px solid #FDE3CF;
  padding: 10px 20px;
  line-height: 1.4;
  box-sizing: border-box;
}
@media screen and (max-width: 767px) {
  .wp-block-table th,
  .wp-block-table td {
    padding: 5px 8px;
  }
}
.wp-block-table tr:nth-child(odd) {
  background-color: #FDE3CF50;
}
.wp-block-table span.marker,
.wp-block-table span.marker-blue,
.wp-block-table span.marker-red{
  margin: -5px 0;
}
.wp-element-caption{
  font-size: 12px;
}

/*アコーディオン*/
.accordion_box {
  font-size: 15px;
  margin-bottom: 15px;
}
.accordion_box .ac_header {
  border: 2px solid #F9E3DC;
  padding: 10px 20px 8px;
  position: relative;
  z-index: +1;
  cursor: pointer;
  transition: .2s;
}

@media screen and (max-width: 767px) {
  .accordion_box .ac_header {
    padding: 10px 30px 8px 10px;
  }
}
.accordion_box .ac_header p{
  margin: 0;
}
.accordion_box .ac_header .ac_label_q {
  padding-right: 10px;
  font-size: 20px;
  line-height: 1;
  font-weight: bold;
  color: #DF2D74;
}
.accordion_box .ac_header .i_box {
  position: absolute;
  top: 50%;
  right: 1rem;
  line-height: 0;
}
.accordion_box .ac_header .i_box:before,
.accordion_box .ac_header .i_box:after {
  position: absolute;
  content: "";
  margin: auto;
  box-sizing: border-box;
  vertical-align: middle;
}
.accordion_box .ac_header .i_box:before {
  border-top: 2px solid #EC719E;
  width: 10px;
  height: 0;
  top: 0;
  bottom: 0;
  right: 0;
}
.accordion_box .ac_header .i_box:after {
  border-left: 2px solid #EC719E;
  width: 0;
  height: 10px;
  top: 0;
  bottom: 0;
  right: 4px;
  transition: .3s;
}
.accordion_box .ac_header.open .i_box:after {
  height: 0;
}
.accordion_box .ac_inner {
  display: none;
  padding: 10px 23px;
  line-height: 1.8em;
}
@media screen and (max-width: 767px) {
  .accordion_box .ac_inner {
    padding: 10px 0 10px 10px;
  }
}
.accordion_box .ac_inner .ac_label_a{
  display: inline-block;
  padding-bottom: 10px;
  font-size: 20px;
  line-height: 1;
  font-weight: bold;
  color: #54ACCC;
}
.accordion_box a{
  color: #df2d74;
}
