@charset "UTF-8";

.single #main {

  h2 {
    margin-top: 50px;
    margin-bottom: 20px;
    line-height: 1.5;
    font-size: 24px;
    padding: 14px 20px;
    font-weight: 500;
    color: #F68014;
    border-bottom: 4px solid #F68014;
  }

  h3 {
    margin-top: 50px;
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 500;
    color: #F68014;
    line-height: 1.5;
    padding: 6px 15px;
    border-left: 6px solid #F68014;
    position: relative;

    &:before {
      content: "";
      display: block;
      position: absolute;
      left: 0;
      top: 0;
      width: 6px;
      height: 100%;
      background: #fef7e6;
    }
  }

}

h4 {
  color: #F68014;
  border-bottom: dashed 2px #F68014;
  font-size: 20px;
  margin-top: 50px;
  margin-bottom: 20px;
  padding: 6px 20px;
  line-height: 1.8;
  font-weight: 500;
}

h5 {
  font-size: 18px;
  color: #F68014;
  font-weight: bold;
}

a {
  color: #1E90FF;
  /* border-bottom: #1E90FF 1px solid; */
}

.fa {
  color: #1E90FF;
}

.kyocho-mark {
  background: linear-gradient(transparent 70%, #FFC794 55%);
  font-weight: 700;
}

.post ul, ol {
  padding: 20px;
  margin: 20px 0;
  background: #FFF7E6;
}

.post ul li, ol li {
  line-height: 1.5;
  padding: 0.2em 0;
}

.sns-area-up {
  margin: 20px 0 20px 0;
}

#toc {
  background: #F9F9F9;
  padding: 20px;
  margin-top: 40px;
}

#toc .toc-title {
  font-weight: bold;
  font-size: 18px;
  letter-spacing: .4em;
  text-align: center;
  padding-bottom: 8px;
  border-bottom: 2px solid #F68014;
  margin-bottom: 15px;
}

#toc ul li {
  margin-bottom: 5px;

  &:last-child {
    margin-bottom: 0;
  }
}

#toc ul li.lower {
  list-style: none;
}

#toc ul li a {
  padding: 12px 40px 12px 20px;
  line-height: 1.625;
  background: #fff;
  position: relative;
  display: block;
  color: #000;
  border-bottom: none;

  &:hover {
    color: #F68014;
    text-decoration: underline;
  }

  &:after {
    background: url(../img/toc-arrow.svg);
    width: 24px;
    height: 24px;
    position: absolute;
    right: 13px;
    content: '';
    top: 50%;
    transform: translateY(-50%);
  }
}

#toc ul li.lower ul {}

#toc ul li.lower ul li {
  font-weight: normal;
}


.post ol .list-maru {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.5em;
}

.list-maru::before {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  font-size: 1em;
}

.list-maru:nth-child(1)::before {
  content: '①';
}

.list-maru:nth-child(2)::before {
  content: '②';
}

.list-maru:nth-child(3)::before {
  content: '③';
}

.list-maru:nth-child(4)::before {
  content: '④';
}

.list-maru:nth-child(5)::before {
  content: '⑤';
}

.list-maru:nth-child(6)::before {
  content: '⑥';
}

.list-maru:nth-child(7)::before {
  content: '⑦';
}

.list-maru:nth-child(8)::before {
  content: '⑧';
}

.list-maru:nth-child(9)::before {
  content: '⑨';
}

.list-maru:nth-child(10)::before {
  content: '⑩';
}

.otoiawase_btn_mini a {
  color: #fff;
}

}

/*目次*/

.index p:first-child {
  margin: 20px 0 15px;
}

/* .index p {
    text-align: center;
    font-weight: bold;
    color: #02368c;
    font-size: 20px;
} */

.index ul {
  background: #fff;
  color: #19629E;
  font-weight: bold;
  letter-spacing: 0.05em;
  margin: 0px 0px;
  padding: 4px;
}

.index ul li {
  list-style: disc;
  color: #02368c;
  font-weight: bold;
}

.index ul li .txt {
  color: #02368c;
}

.index ul li a {
  color: #02368c;
}

.index ul li ul li {
  margin-left: 30px;
  font-weight: normal;
  padding: 1px;
}

.inside .post {
  line-height: 2;
  text-align: left;
  color: #000;
  letter-spacing: 0.05em;
}


.post .expert {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 20px 0;
  border-top: #f0f0f0 2px solid;
  gap: 16px;
  line-height: 1.6;
}

@media screen and (max-width: 767px) {
  .post .expert {
    gap: 15px;
  }
}

.post .expert .expert-left {
  max-width: 65px;
  /* margin: auto 0; */
}

@media screen and (max-width: 767px) {
  .post .expert .expert-left {
    margin: 0 auto;
  }
}

.post .expert .expert-left img {
  width: 100%;
  border-radius: 50%;
}

.post .expert .expert-right {
  max-width: 600px;
  width: 100%;
}

.post .expert .expert-name {
  font-weight: bold;
  margin-bottom: 8px;
  font-size: 16px;
}

.post .expert .expert-text {
  margin-bottom: 10px;
  font-size: 12px;
}

.post .expert .expert-link {
  color: #12368c;
  font-weight: bold;
  position: relative;
  margin-bottom: 5px;
  display: inline-block;
  border-bottom: none;
  font-size: 14px;
}

.post .expert .expert-link:last-child {
  margin-bottom: 0;
}

.post .expert .expert-link:after {
  background: url(../img/link-arrow.png);
  background-size: cover;
  position: absolute;
  top: 47%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  right: -24px;
  width: 17px;
  height: 17px;
  content: "";
}

.post .expert .expert-link:hover {
  border-bottom: none;
  opacity: 0.7;
}


@media screen and (max-width: 767px) {
  .post .expert-a {
    padding: 20px 0;
    gap: 10px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
  }
}

@media screen and (max-width: 767px) {
  .post .expert-a .expert-a-left {
    max-width: 150px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 767px) {
  .post .expert-a .expert-a-name {
    font-size: 14px;
    line-height: 1.2;
    margin-top: 10px;
  }
}

@media screen and (max-width: 767px) {
  .post .expert-a .expert-a-right {
    background: #fff;
    padding: 0;
    font-size: 14px;
  }
}

@media screen and (max-width: 767px) {
  .post .expert-a .expert-a-right::after {
    left: -10px;
    display: none;
  }
}


.toc-title {
  font-weight: bold;
}

#toc-side {
  position: relative;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  max-width: 330px;
  margin-top: 20px;
}

@media screen and (max-width: 767px) {
  #toc-side {
    display: none;
  }
}

#toc-side li {
  margin-bottom: 10px;
}

#toc-side li:last-child {
  margin-bottom: 0;
}

#toc-side li a {
  /* font-weight: bold; */
  font-size: 14px;
  line-height: 1.4;
}

#toc-side.none {
  top: -800px;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.fixed-toc {
  position: fixed !important;
  top: 0;
  z-index: 10;
}

.single-title {
  line-height: 1.56;
  font-size: 32px;
  padding-bottom: 15px;
  border-bottom: 4px solid #F68014;
  margin-bottom: 30px;
}

.single-thum {
  margin-bottom: 32px;

  img {
    width: 100%;
    height: 377px;
    object-fit: cover;
  }
}

.tag-date {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.single-cate-tag {
  background: #F9F9F9;
  padding: 2px 15px;
  border-radius: 20px;
  font-size: 12px;
}

.date {
  color: #B9B9B9;
  font-size: 14px;

}

@media screen and (max-width: 767px) {
  .single-title {
    line-height: 1.33;
    font-size: 18px;
    padding-bottom: 10px;
    text-align: left;
    margin-bottom: 20px;
  }

  .single-thum {
    margin-bottom: 18px;

    img {
      object-fit: cover;
      aspect-ratio: 345/ 183;
      width: 100%;
      height: auto;
    }
  }

  #toc {
    margin-top: 30px;
  }

  #toc .toc-title {
    text-align: left;
  }

  .single #main {
    #toc ul li a {
      padding: 15px 48px 15px 15px;
      font-size: 14px;

      &:after {
        right: 13px;
      }
    }

    h2 {
      margin-top: 40px;
      padding: 12px 15px;
      font-size: 18px;
      line-height: 1.5;
      border-bottom: 2px solid #F68014;
    }

    h3 {
      margin-top: 40px;
      padding: 5px 11px;
      font-size: 18px;
      line-height: 1.5;
      position: relative;
      border-left: 5px solid #F68014;

      &:before {
        content: "";
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        width: 5px;
        height: 100%;
        background: #fef7e6;
      }
    }

    h4 {
      margin-top: 40px;
      padding: 5px 15px;
      font-size: 18px;
      line-height: 1.5;
    }


  }



}