@charset "UTF-8";

/*
 * Blog layout migrated from the production clinic_blog_original theme.
 * Loaded after the shared site styles so it only restores blog-specific rules.
 */

.top_blog_info,
.top_news_info,
.news_cat {
  display: none !important;
}

.breadcrumbs li {
  padding-left: 0;
  margin-bottom: 15px;
}

.side_area {
  float: right;
  width: 25%;
  margin-top: 49px;
}

.side_area a {
  color: #333;
}

.side_area .box {
  width: auto;
  padding: 0;
  margin-bottom: 40px;
}

.side_area h3 {
  padding: 0 0 10px;
  margin: 0 0 15px;
  border: 0;
  border-bottom: solid 3px #b69358;
  color: #333;
  background: none;
  font-size: 21px;
  font-weight: bold;
  line-height: 1.75;
}

.side_area h3::before,
.side_area h3::after {
  content: none;
}

.side_area h3 i {
  margin-right: 12px;
  color: #b69358;
  vertical-align: middle;
}

.side_area li {
  padding: 0;
  margin-bottom: 10px;
  border: 0;
}

.side_area li::before {
  content: none;
}

.side_area li a {
  display: block;
  padding: 0 0 0 10px;
  transition: all 0.3s;
}

.blog_box {
  padding-bottom: 30px;
  margin-bottom: 50px;
  border-top: 4px solid #b69358;
  background-color: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.blog_tit,
.blog_box h2.blog_tit {
  padding: 20px 20px 6px;
  margin: 0;
  border: 0;
  color: #504c43;
  background: none;
  font-family: "Noto Sans Japanese", "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.75;
}

.blog_box h2.blog_tit::before,
.blog_box h2.blog_tit::after {
  content: none;
}

.blog_content {
  margin: 20px 25px;
}

.blog_content p {
  margin-bottom: 1em;
}

.blog_btn {
  display: block;
  float: right;
  padding: 8px 25px;
  margin: 20px 0 0 10px;
  border-radius: 4px;
  background-color: #555;
  color: #fff;
  font-family: "Noto Sans Japanese", "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  text-align: center;
  text-decoration: none;
  transition: 0.3s linear;
}

.blog_btn:hover {
  background-color: #888;
}

.blog_btn a,
.blog_btn a:hover {
  color: #fff !important;
  text-decoration: none;
}

.blog_btn span {
  position: relative;
  padding-right: 1em;
  color: #fff !important;
  transition: all 0.3s;
}

.blog_btn span::after {
  position: absolute;
  top: 50%;
  right: -12px;
  content: "";
  margin-top: -5px;
  border: 7px solid transparent;
  border-top-width: 5px;
  border-bottom-width: 5px;
  border-left-color: #fff;
  transition: all 0.3s;
}

.blog_btn:hover span::after {
  right: -16px;
}

.blog_class {
  margin-bottom: 10px;
}

.blog_class li {
  display: inline-block;
  margin-right: 15px;
}

.blog_class .fa {
  margin-right: 5px;
  color: #666;
}

.thumbnail_img {
  float: left;
  padding-right: 15px;
}

body.post-type-archive-column .blog_content img,
body.tax-column_category .blog_content img {
  width: 214px;
  height: 150px;
  object-fit: cover;
}

body.post-type-archive-column .blog_btn,
body.tax-column_category .blog_btn {
  display: block;
  float: none;
  padding: 0;
  margin: 0;
  border-radius: 0;
  background: none;
  color: inherit;
  text-align: initial;
}

body.post-type-archive-column .blog_btn a,
body.tax-column_category .blog_btn a {
  display: inline-block;
  float: right;
  padding: 8px 25px;
  margin: 20px 0 0 10px;
  border-radius: 4px;
  background-color: #555;
  color: #fff !important;
  font-family: "Noto Sans Japanese", "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  text-align: center;
  text-decoration: none;
  transition: 0.3s linear;
}

body.post-type-archive-column .blog_btn a:hover,
body.tax-column_category .blog_btn a:hover {
  background-color: #888;
}

.pager {
  display: block;
  padding: 9px 8px;
  margin: 0 auto;
  border-radius: 3px;
  font-family: "Noto Sans Japanese", "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 15px;
  font-weight: bold;
  text-align: center !important;
}

.pager .current {
  display: inline;
  padding: 6px 12px;
  margin: 5px;
  border-radius: 16px;
  background: #b69358;
  color: #fff;
}

.pager a {
  display: inline;
  padding: 6px 12px;
  margin: 5px 6px 5px 5px;
  border-radius: 16px;
  background: #eee;
  color: #999;
  text-decoration: none;
  transition: all 0.3s linear;
}

.pager a:hover {
  background: #666;
  color: #fff;
}

.home .blog_content img,
.archive .blog_content img,
.category .blog_content img,
.date .blog_content img,
.page .blog_content img {
  width: 150px;
  height: 150px;
  object-fit: cover;
}

.blog_box h1 {
  font-size: 32px;
}

.blog_box h2:not(.blog_tit) {
  position: relative;
  padding-left: 10px;
  margin-bottom: 30px;
  border-left: 4px solid #333;
  color: #333;
  font-family: "Shuei Mincho M";
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

.blog_box h2:not(.blog_tit)::before {
  position: absolute;
  bottom: 0;
  left: -4px;
  width: 4px;
  height: 50%;
  background: #b69358;
  content: "";
}

.blog_box h3 {
  position: relative;
  z-index: 0;
  display: table;
  padding-bottom: 4px;
  margin-bottom: 30px;
  border-bottom: double 4px #b69358;
  color: #333;
  font-family: "Shuei Mincho M";
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: 0.15em;
  text-align: left;
}

.blog_box h4 {
  position: relative;
  display: table;
  margin-bottom: 18px;
  color: #b69358;
  font-family: "Shuei Mincho M";
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0.15em;
  text-align: left;
}

.blog_box h5 {
  font-size: 12px;
}

.blog_box h6 {
  font-size: 10px;
}

.blog_content .alignleft {
  display: inline;
  float: left;
}

.blog_content .alignright {
  display: inline;
  float: right;
}

.blog_content .aligncenter {
  display: block;
  margin-right: auto;
  margin-left: auto;
}

.blog_content blockquote.alignleft,
.blog_content .wp-caption.alignleft,
.blog_content img.alignleft {
  margin: 0.4em 1.6em 1.6em 0;
}

.blog_content blockquote.alignright,
.blog_content .wp-caption.alignright,
.blog_content img.alignright {
  margin: 0.4em 0 1.6em 1.6em;
}

.blog_content blockquote.aligncenter,
.blog_content .wp-caption.aligncenter,
.blog_content img.aligncenter {
  clear: both;
  margin-top: 0.4em;
  margin-bottom: 1.6em;
}

.single .blog_content img,
.single-column .blog_content img {
  max-width: 100%;
  height: auto;
}

@media screen and (max-width: 640px) {
  .side_area {
    float: none;
    width: 100%;
  }

  #contents_left {
    width: 94% !important;
    margin: 0 auto !important;
  }

  .home .blog_content img,
  .archive .blog_content img,
  .category .blog_content img,
  .date .blog_content img,
  .page .blog_content img {
    width: 100% !important;
    max-width: 640px !important;
    height: auto !important;
  }

  .thumbnail_img {
    padding-right: 0;
  }
}
