@charset "UTF-8";

/**
 * 投稿ページ用css
 */

.l-header__main-inner{
  flex-wrap: wrap;
  min-height: 83px;
  height: fit-content;
  padding-bottom: 16px;
  box-sizing: border-box;
}

.l-header__search{
  height: auto;
  top: 32px;
}

button.p-menu-button{
  top: calc(50% + 8px);
}

.single_h1{
  display: block;
  width: 100%;
  box-sizing: border-box;
  /* margin: 8px 0 16px; */
  padding: 8px 0 16px;
}

.single_h1-text{
  font-size: 12px;
  font-weight: 500;
  text-align: left;
}

.review_pr{
  background: rgba(var(--tcd-bg-color, 245, 245, 245), 1);
  box-sizing: border-box;
  padding: 12px 16px;
  line-height: 1.5;
  margin-bottom: 1em;
}

.review_pr p{
  font-size: 14px;
  margin: 0 !important;
}

.post_content iframe{
  width: 100%;
  max-width: 800px;
  height: 100%;
  min-height: 600px;
  max-height: 600px;
}

.post_content h2{
  font-size: 26px;
  font-weight: bold;
  text-align: left;
  border-bottom: 1px solid rgba(var(--tcd-accent-color, 0, 0, 0), 1);
  border-left: 10px solid rgba(var(--tcd-accent-color, 0, 0, 0), 1);
  color: #333;
  padding: 8px 0 12px 14px;
  /* margin-bottom: 1.5em; */
  /* margin-bottom: 0; */
  margin-bottom: 1em;
  margin-top: 2em;
  box-sizing: border-box;
}

.post_content h3{
  font-size: 24px;
  font-weight: bold;
  text-align: left;
  border-bottom: 1px dashed rgba(var(--tcd-accent-color, 0, 0, 0), 1);
  color: #333;
  padding: 0 0 4px 16px;
  margin-top: 1.75em;
  margin-bottom: 1em;
  /* margin-bottom: 0; */
  box-sizing: border-box;
  position: relative;
}

.post_content h3:before{
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  background: rgba(var(--tcd-accent-color, 0, 0, 0), 1);
  position: absolute;
  left: 0;
  top: 13px;
}

.post_content h4{
  font-size: 23px;
  font-weight: bold;
  border-bottom: 1px solid #999;
  margin-bottom: 1em;
  /* margin-bottom: 0; */
  margin-top: 1.45em;
  box-sizing: border-box;
}

.post_content h5{
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 0.5em;
  margin-top: 1.25em;
  box-sizing: border-box;
  position: relative;
  padding-left: 12px;
  background: rgba(var(--tcd-accent-color, 0, 0, 0), 1);
  color: #fff;
  padding: 12px;
}

/* .post_content h5 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 0.5em;
  margin-top: 1.25em;
  box-sizing: border-box;
  position: relative;
  padding-left: 12px;
  color: rgba(var(--tcd-accent-color, 0, 0, 0), 1);
  padding-bottom: 4px;
  border-bottom: 1px dashed;
}

.post_content h5:before{
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  background: rgba(var(--tcd-accent-color, 0, 0, 0), 1);
  position: absolute;
  left: 0;
  top: 11px;
  border-radius: 100px;
} */

.post_content h6{
  font-size: 16px;
  font-weight: bold;
  /* margin-bottom: 0.5em; */
  margin-bottom: 0;
  margin-top: 1.25em;
  box-sizing: border-box;
  color: rgba(var(--tcd-accent-color, 0, 0, 0), 1);
  border-bottom: 1px solid;
}

.post_content p,
.post_content ul{
  /* margin: 1.25em 0; */
  margin: 0 0 1.25em;
}

.post_content ul{
  margin-left: 1em;
}

.post_content .profile_img{
  box-sizing: border-box;
  border-radius: 150px;
}

.gmap{
  width: 100%;
  min-height: 480px;
}

.q_custom_button2:hover{
  color: #fff !important;
}

#toc_container{
  width: 100% !important;
}

.toc_list li a{
  text-decoration: none !important;
  color: #333 !important;
}

.toc_list li{
  margin-bottom: 4px !important;
}

.toc_list li:last-of-type{
  margin-bottom: 0 !important;
}

.q_frame3{
  margin-top: 2em !important;
}

.suited_list{
  margin-bottom: 1.5em;
  margin-top: 2em;
}

p.suited_list-ttl{
  background: #999;
  box-sizing: border-box;
  padding: 8px 16px;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 0 !important;
  border-radius: 6px 6px 0 0;
}

.suited_true p.suited_list-ttl{
  background: rgba(var(--tcd-accent-color, 0, 0, 0), 1);
}

.suited_list-ul{
  background: #f1f1f1;
  box-sizing: border-box;
  padding: 20px;
  margin: 0 auto 1em !important;
}

.suited_true .suited_list-ul{
  background: #fff2e5;
}

.suited_list-ul li{
  list-style-type: none;
  position: relative;
  padding-left: 30px;
  font-weight: 500;
  border-bottom: 1px dashed #afafaf;
  margin-bottom: 15px;
  line-height: 1.5;
  padding-bottom: 12px;
}

.suited_true .suited_list-ul li{
  border-bottom: 1px dashed #e08830;
}

.suited_list-ul li:last-of-type{
  margin-bottom: 0;
}

.suited_list-ul li:before{
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 3px;
  box-sizing: border-box;
}

.suited_true .suited_list-ul li:before{
  width: 16px;
  height: 16px;
  border-radius: 100px;
  border: 2px solid rgba(var(--tcd-accent-color, 0, 0, 0), 1);
}

.suited_false .suited_list-ul li:before,
.suited_false .suited_list-ul li:after{
  content: "";
  display: block;
  width: 3px;
  height: 20px;
  background: #555555;
  position: absolute;
  left: 8px;
  top: 2px;
}

.suited_false .suited_list-ul li:before{
  transform: rotate(-45deg);
}

.suited_false .suited_list-ul li:after{
  transform: rotate(45deg);
}

.post_content .s_table,
.post_content .wp-block-table{
  overflow: auto;
  white-space: nowrap;
  margin-bottom: 2em;
}



/* レスポンシブ・スマホ対応
************************************/
@media only screen and (max-width: 800px) {
  .gmap {
    min-height: 200px;
    height: 70vw;
    max-height: 280px;
  }

  .review_pr {
    padding: 12px;
  }

  .post_content h2{
    font-size: 20px;
    padding: 4px 0 8px 8px;
  }

  .post_content h3{
    font-size: 16px;
    padding-left: 14px;
  }

  .post_content h3:before{
    width: 6px;
    height: 6px;
    top: 9px;
  }

  .post_content .profile_img{
    display: block;
    width: 43vw;
    min-width: 150px !important;
    max-width: 180px !important;
    margin: 0 auto 16px !important;
    float: none !important;
    text-align: center;
  }

  .post_content iframe{
    width: 100%;
    max-width: 800px;
    height: 60vw;
    min-height: 300px;
    max-height: 320px;
  }
}

@media only screen and (max-width: 767px) {
  .l-header__search{
    width: 100%;
    margin: 0 auto;
    top: calc(50% + 8px);
  }

  .l-header__counts{
    border-top: none;
    padding-top: 12px;
  }
}

@media only screen and (max-width: 599px) {
  .single_h1-text{
    line-height: 1.5;
  }

  .l-header__search-button--sp{
    top: 2.75em;
  }

  .l-header__search-form input{
    padding: 8px;

  }

  .post_content h4{
    font-size: 20px;
  }

  .post_content h5{
    padding: 10px 12px 8px;
  }

  button.p-menu-button{
    top: calc(50% - 3.75em);
  }

  p.suited_list-ttl{
    font-size: 16px;
    line-height: 1.5;
    padding: 12px 12px;
  }

  .suited_list-ul{
    padding: 12px;
  }

  .suited_list-ul li{
    padding-left: 25px;
    font-size: 15px;
    margin-bottom: 12px;
    padding-bottom: 8px;
  }

  .suited_true .suited_list-ul li:before{
    border: 3px solid rgba(var(--tcd-accent-color, 0, 0, 0), 1);
  }

  .suited_false .suited_list-ul li:before,
  .suited_false .suited_list-ul li:after{
    height: 17px;
  }

  .post_content .s_table table,
  .post_content .s_table table thead,
  .post_content .s_table table tbody,
  .post_content .s_table table thead tr,
  .post_content .s_table table thead tr,
  .post_content .s_table table tbody tr,
  .post_content .s_table table tbody tr{
    width: 480px !important;
  }

  .post_content .s_table table thead tr th,
  .post_content .s_table table thead tr td,
  .post_content .s_table table tbody tr th,
  .post_content .s_table table tbody tr td{
    width: auto !important;
  }
}

