@charset "utf-8";

/* ================================
  ブログ関連
  MB→PC min-width:768px
================================ */

/* 全体
------------------------------ */

#blogConte {
  padding: 20px 0 0;
  margin: 0 5%;
}

#blogMainBox .tit {
  margin: 0 0 20px;
}

#blogMainBox p:empty {
  display: none;
}

#blog .pagenavi {
  margin: 0;
}

#blogSideBox .tit {
  margin: 0 0 5px;
  font-size: 20px;
}

#sideNewList .tit::before {
  margin-right: 5px;
  font-family: "Font Awesome 5 Free", sans-serif;
  font-weight: 900;
  content: "\f5ac";
}

#sideCateList .tit::before {
  margin-right: 5px;
  font-family: "Font Awesome 5 Free", sans-serif;
  font-weight: 900;
  content: "\f07c";
}

#sideCale .tit::before {
  margin-right: 5px;
  font-family: "Font Awesome 5 Free", sans-serif;
  font-weight: 400;
  content: "\f073";
}

#blogSideBox section {
  padding: 15px 0;
}

#blogSideBox .btn {
  width: 80%;
}

#blogSideBox #blogList {
  padding: 20px 10px 15px;
  background-color: #f5f3e9;
}

#blogSideBox #blogList .secTit {
  padding-bottom: 15px;
  font-size: 22px;
}

#blogSideBox #blogList li {
  margin-left: 1em;
}

@media screen and (min-width: 768px), print {
  #blogConte {
    display: flex;
    justify-content: space-between;
    width: 90%;
    max-width: 1080px;
    padding: 40px 0 0;
    margin: 0 auto;
  }

  #blogMainBox {
    width: 70%;
    max-width: 750px;
    height: auto;
    margin-bottom: 30px;
  }

  #blogSideBox {
    width: 27%;
    max-width: 280px;
    margin-bottom: 20px !important;
    zoom: 1;
  }

  #blogSideBox .btn {
    width: 60%;
  }
}

/* カレンダー
------------------------------ */

#caleWrap {
  margin-bottom: 20px;
}

#wp-calendar {
  width: 100%;
  line-height: 30px;
  table-layout: fixed;
  border-collapse: separate;
}

#wp-calendar caption {
  border-bottom: 1px dotted #d0d0d0;
}

#wp-calendar th,
#wp-calendar td {
  font-size: 13px;
  text-align: center;
}

#wp-calendar th {
  font-weight: normal;
  background-color: #f5f3e9;
}

#wp-calendar tfoot tr td {
  border-top: 1px dotted #d0d0d0;
}

#wp-calendar a {
  display: block;
  font-weight: bold;
  color: #e60012;
}

/* 一覧ページ
------------------------------ */
ul.blogArchive {
  padding: 0;
  margin: 0 0 10px;
  list-style: none;
  border-top: 1px dotted #333;
}

ul.blogArchive li {
  padding: 10px 0;
  margin: 0;
  border-bottom: 1px dotted #333;
}

ul.blogArchive li a {
  display: block;
  padding: 0;
  overflow: hidden;
  text-decoration: none;
}

ul.blogArchive li .box {
  display: flex;
  align-items: center;
}

.blogListImg {
  flex-shrink: 0;
  width: 75px;
  margin-right: 10px;
}

ul.blogArchive time {
  font-size: .8em;
}

ul.blogArchive li p {
  padding: 5px 0 0;
  font-weight: bold;
  line-height: 1.3;
}

#blogSideBox ul.blogArchive li {
  font-size: 14px;
}

@media screen and (min-width: 768px), print {
  #blogMainBox .blogListImg {
    width: 150px;
    margin-right: 15px;
  }
}

/* 月別アーカイブ */
.monthSec {
  padding: 10px 0 0;
}

.monthSec ul {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
}

.monthSec li {
  width: 14.6%;
  padding: 5px 0;
  margin: 0 1%;
  font-size: 15px;
  color: #b7b7b7;
  text-align: center;
}

.monthSec li a {
  color: #333;
}

@media screen and (min-width: 768px), print {
  .monthBox {
    display: flex;
    flex-wrap: wrap;
  }

  .monthSec {
    width: 46%;
    margin: 0 2% 20px;
  }
}

/* 記事ページ
------------------------------ */
#blogPage {
  position: relative;
  padding: 15px 0 128px;
  margin: 0;
  overflow: hidden;
}

#blogPgTitBox {
  padding: 0;
  margin-bottom: 24px;
  background-color: #f5f3e9;
}

#blogPgTit {
  padding: 10px 15px;
  font-size: 2em;
}

#blogPage time {
  display: block;
  padding: 3px 15px;
  font-size: 12px;
  background-color: #e5e3d5;
  background-image:
    repeating-linear-gradient(
      -45deg,
      #f5f3e9,
      #f5f3e9 3px,
      transparent 0,
      transparent 6px
    );
}

/* 記事内装飾 (2022.02.11)
------------------------------ */
.aligncenter {
  display: block;
  margin: 0 auto;
}

.alignright {
  float: right;
}

.alignleft {
  float: left;
}

.blogContent > *:first-child {
  margin-top: 0;
}

.blogContent > *:last-child {
  margin-bottom: 0;
}

.blogContent h3 {
  padding: .5em 1em;
  margin: 96px 0 24px;
  font-size: 1.5em;
  background: #fdf0f1;
  border-left: 4px solid #e50012;
}

.blogContent h4 {
  position: relative;
  padding: 0 0 8px 1.25em;
  margin: 64px 0 24px;
  font-size: 1.25em;
  border-bottom: 1px dotted #333;
}

.blogContent h4::before {
  position: absolute;
  left: 0;
  font-family: "Font Awesome 5 Free", sans-serif;
  font-weight: 900;
  color: #e50012;
  content: "\f14a";
}

.blogContent h5 {
  padding: 0 0 0 8px;
  margin: 48px 0 24px;
  font-size: 1.125em;
  border-left: 4px solid #e50012;
}

.blogContent h6 {
  margin: 32px 0 24px;
  font-size: 1em;
}

.blogContent blockquote {
  position: relative;
  padding: 1em 2em;
  margin: 0 0 24px;
  background: #f5f3e9;
}

.blogContent blockquote::before,
.blogContent blockquote::after {
  position: absolute;
  top: 1em;
  left: .5em;
  font-family: "Font Awesome 5 Free", sans-serif;
  font-weight: 900;
  color: #e5e3d5;
  content: "\f10d";
}

.blogContent blockquote::after {
  top: auto;
  right: .5em;
  bottom: 1em;
  left: auto;
  content: "\f10e";
}

.blogContent blockquote > *:last-child {
  margin-bottom: 0;
}

.blogContent p {
  padding: 0;
  margin: 0 0 24px;
}

.blogContent ul,
.blogContent ol {
  padding: 0;
  margin: 0 0 24px;
  list-style: none;
}

.blogContent li {
  position: relative;
  padding: 0 0 0 32px;
  margin: 0 0 8px;
  line-height: inherit;
}

.blogContent li::before {
  position: absolute;
  top: calc(.75em - 8px);
  border-radius: 50%;
}

.blogContent li:last-child {
  margin-bottom: 0;
}

.blogContent ul li::before {
  position: absolute;
  top: calc(.75em - 6px);
  left: 8px;
  width: 12px;
  height: 12px;
  content: "";
  background: #e50012;
  border-radius: 50%;
}

.blogContent ol {
  counter-reset: li;
}

.blogContent ol li {
  counter-increment: li;
}

.blogContent ol li::before {
  position: absolute;
  top: calc(1em - 12px);
  left: 0;
  width: 24px;
  height: 24px;
  font-size: .75em;
  line-height: 24px;
  color: #fff;
  text-align: center;
  letter-spacing: 0;
  content: counter(li);
  background: #ffcd44;
  border-radius: 50%;
}

.blogContent hr {
  margin: 96px 0;
  border: 0;
  border-bottom: 1px solid #999;
}

.blogContent table {
  margin: 0 0 24px;
  border-collapse: collapse;
}

.blogContent tr:nth-of-type(2n+1) {
  background: rgb(0 0 0 / 4%);
}

.blogContent tr > * {
  padding: 4px 8px;
  border: 1px solid rgb(0 0 0 / 24%);
}

.blogContent .custom-box {
  position: relative;
  padding: 1em 2em;
  margin: 0 0 24px;
}

.blogContent .box-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.blogContent .box01 {
  margin-top: 64px;
  border: 1px solid #ea91a9;
  border-radius: 0 4px 4px;
}

.blogContent .box01 .box-title {
  position: absolute;
  top: -2em;
  left: 0;
  max-width: calc(100% - 2em);
  padding: .25em .5em;
  margin: -1px 0 0 -1px;
  color: #fff;
  background: #ea91a9;
  border-radius: 4px 4px 0 0;
}

.blogContent .box02 {
  margin-top: 64px;
  background: #ebf6f7;
  border-radius: 4px;
}

.blogContent .box02 .box-title {
  top: -1em;
  left: 1em;
  display: block;
  width: max-content;
  max-width: calc(100% + 1em);
  padding: .25em .5em;
  margin: -2em -1em 24px;
  color: #fff;
  background: #57b3ba;
  border-radius: 2px;
}

.blogContent .box03 {
  margin-top: 64px;
  border: 1px solid #e50012;
  border-radius: 4px;
}

.blogContent .box03 .box-title {
  top: -1em;
  left: 1em;
  display: block;
  width: max-content;
  max-width: calc(100% + 1em);
  padding: 0 .25em;
  margin: -2em -1em .5em;
  font-weight: bold;
  color: #e50012;
  background: #fff;
}

.blogContent .box03 .box-title::before {
  box-sizing: content-box;
  display: inline-block;
  width: 1em;
  height: 1em;
  padding: .5em;
  margin-right: 8px;
  font-family: "Font Awesome 5 Free", sans-serif;
  font-weight: 900;
  line-height: 1;
  color: #fff;
  text-align: center;
  letter-spacing: 0;
  content: "\f304";
  background: #e50012;
  border-radius: 50%;
}

.blogContent .custom-box > *:last-child {
  margin-bottom: 0;
}

#reform .blogContent h3,
#reform .blogContent h5,
#reform .blogContent .box03 {
  border-color: #bf2f62;
}

#reform .blogContent ul li::before,
#reform #blogMainBox .iconBox .mkMail,
#reform .blogContent .box03 .box-title::before {
  background-color: #bf2f62;
}

#reform .blogContent h4::before,
#reform .blogContent .box03 .box-title {
  color: #bf2f62;
}

#reform .blogContent h3 {
  background-color: #fbf3f6;
}

#btob .blogContent h3,
#btob .blogContent h5,
#btob .blogContent .box03 {
  border-color: #5e3274;
}

#btob .blogContent ul li::before,
#btob #blogMainBox .iconBox .mkMail,
#btob .blogContent .box03 .box-title::before {
  background-color: #5e3274;
}

#btob .blogContent h4::before,
#btob .blogContent .box03 .box-title {
  color: #5e3274;
}

#btob .blogContent h3 {
  background-color: #f6f3f7;
}

#energy .blogContent h3,
#energy .blogContent h5,
#energy .blogContent .box03 {
  border-color: #df7603;
}

#energy .blogContent ul li::before,
#energy #blogMainBox .iconBox .mkMail,
#energy .blogContent .box03 .box-title::before {
  background-color: #df7603;
}

#energy .blogContent h4::before,
#energy .blogContent .box03 .box-title {
  color: #df7603;
}

#energy .blogContent h3 {
  background-color: #fdf7f0;
}

#realestate .blogContent h3,
#realestate .blogContent h5,
#realestate .blogContent .box03 {
  border-color: #533737;
}

#realestate .blogContent ul li::before,
#realestate #blogMainBox .iconBox .mkMail,
#realestate .blogContent .box03 .box-title::before {
  background-color: #533737;
}

#realestate .blogContent h4::before,
#realestate .blogContent .box03 .box-title {
  color: #533737;
}

#realestate .blogContent h3 {
  background-color: #f5f3f3;
}

@media (min-width: 768px) {
  .blogContent {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .blogContent table {
    width: 100% !important;
  }
}

/* 記事下リンク
------------------------------ */
.addtoany_content {
  position: absolute;
  bottom: 0;
  width: 100%;
}

#blogMainBox .iconBox {
  display: flex;
  max-width: 480px;
  margin: 20px 0;
}

#blogMainBox .iconBox .mkTel {
  margin-right: 10px;
}

#blogMainBox .iconBox .mkMail {
  margin-left: 10px;
  background-color: #e50012;
  border-radius: 6px;
}
