/* リフォーム事例 記事用 */
.jirei-article {
  font-size: 16px;
  line-height: 1.9;
}
.jirei-article .jirei-title {
  font-size: 28px;
  font-weight: bold;
  line-height: 1.6;
}
.jirei-article h2 {
  font-size: 24px;
  font-weight: bold;
}
.jirei-article h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 4rem 0 1rem;
  padding-left: 0.75rem;
  border-left: 4px solid rgb(35, 50, 31);
}
.jirei-article h4 {
  font-size: 16px;
  font-weight: bold;
  margin: 3rem 0 1rem;
}
.jirei-article p {
  margin: 1.5rem 0 1rem;
}
.jirei-article section,
.jirei-article h3 {
  scroll-margin-top: 60px;
}
.jirei-toc {
  background-color: #fff;
}
.jirei-toc ol,
.jirei-toc ul {
  padding-left: 1.5rem;
}
/* 本文用の p の上マージンを打ち消し、上下の余白をそろえる */
.jirei-article .jirei-toc p {
  margin-top: 0;
}
.jirei-toc a {
  color: inherit;
}
.jirei-cta {
  margin: 4rem 0;
  padding: 3rem 0;
  border-top: 1px dotted #c8c8c8;
  border-bottom: 1px dotted #c8c8c8;
  text-align: center;
}
.btn-jirei {
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  color: #fff;
  background-color: rgb(35, 50, 31);
  border-color: rgb(35, 50, 31);
  white-space: normal;
}
.btn-jirei::after {
  content: "\2192";
  display: inline-block;
  margin-left: 0.5em;
  transition: transform 0.2s;
}
.btn-jirei:hover {
  color: #fff;
  background-color: rgb(60, 82, 54);
}
.btn-jirei:hover::after {
  transform: translateX(4px);
}
@media (max-width: 576px) {
  .jirei-article .jirei-title {
    font-size: 22px;
  }
}
/* 縦長画像：PCでは幅を抑えて画面占有を減らす（スマホは全幅のまま） */
@media (min-width: 768px) {
  .jirei-img-portrait {
    max-width: 60%;
  }
}
/* ほかのリフォーム事例 */
.jirei-related {
  margin: 4rem 0 2rem;
}
.jirei-related ul {
  padding-left: 1.5rem;
}
