﻿@charset "UTF-8";
/* CSS Document */

:root {
  --text-color: #333;
  --main-color: #477f81; /*メイン色(fontawesomeのアイコン・ボタン)*/
  --sub-color: #855984; /*サブ色*/
  --bg-color: #f8f8f8; /*サイドメニュー・レイアウト類の背景色*/
  --border-color: #d3d3d3; /*境界線色*/
}

/*==================================================================

  基本

==================================================================*/
.blog_wrap {
    display: flex;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 0 60px;
}

.contents_left {
  width: 70%;
}

@media screen and (max-width: 640px) {
  .blog_wrap {
	flex-direction: column;	
  }
	
  .contents_left {
    width: auto;
  }
}

/*==================================================================

  TinyMCEエディタ用

==================================================================*/
.cmn_editor p {
  margin-bottom: 1em;
}

.cmn_editor p:last-child {
  margin-bottom: 0;
}

/*----------見出し----------*/


.cmn_editor h2 {
  position: relative;
  margin-bottom: 24px;
  padding: 12px 40px 10px;
  font-family: "A1明朝 R JIS2004 AP";
  font-size: 180%;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-align: left;
  border-top: double 4px #d3d3d3;
  border-bottom: double 4px #d3d3d3;
  text-align: center;
}
.cmn_editor h2::before,
.cmn_editor h2::after {
  position: absolute;
  width: 54px;
  height: 48px;
  background: url("/images/mtit_deco_flower.png") no-repeat center/contain;
  content: "";
}
.cmn_editor h2::before {
  left: 0;
  top: -16px;
}
.cmn_editor h2::after {
  right: 0;
  bottom: -16px;
}

.cmn_editor h3{
    display: /*inline-block*/table;
    position: relative;
    color: #333;
    font-size: 150%;
    font-family: "A1明朝 R JIS2004 AP";
	margin-bottom: 15px;
	padding: 0 0 4px;
    margin: 0 0 15px;
    line-height: 1.4;
}

.cmn_editor h3:before {
    /*content: '';
    display: inline-block;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--main-color);*/
	content: "";
    border-radius: 4px;
    display: inline-block;
    width: 100%;
    height: 2px;
    background: linear-gradient(86deg, rgb(71, 127, 129) 0%, rgb(131, 168, 169) 100%);
    position: absolute;
    left: 0;
    bottom: 0;
}

.cmn_editor h4 {
  position: relative;
  margin-bottom: 12px;
  font-family: "A1明朝 R JIS2004 AP";
  letter-spacing: 0.1em;
  line-height: 1.4;
  font-size: 120%;
  color: var(--sub-color);
}

.cmn_editor h5 {
  margin-bottom: 12px;
  letter-spacing: 0.08em;
  font-size: 110%;
  font-weight: bold;
  text-decoration: underline;
}

/*上に余白を付ける*/
.cmn_editor h2:nth-child(n+2) {
  margin-top: 2em;
}
.cmn_editor h3:nth-child(n+2),
.cmn_editor h4:nth-child(n+2),
.cmn_editor h5:nth-child(n+2),
.cmn_editor h6:nth-child(n+2) {
  margin-top: 1.5em;
}

/*太字*/
.cmn_editor .title_style01 {
  color: var(--main-color);
  font-weight: bold;
  border: none;
  background: none;
  text-align: left;
  margin-right: 0;
  margin-left: 0;
  padding: 0;
  display: table;
  border-radius: 0;
}

/*下線*/
.cmn_editor .title_style02 {
  color: var(--main-color);
  font-weight: bold;
  border-bottom: 1px solid var(--main-color);
  background: none;
  text-align: left;
  margin-right: 0;
  margin-left: 0;
  padding: 0;
  display: table;
  border-radius: 0;
}

/*背景色付き・白抜き*/
.cmn_editor .title_style03 {
  background: var(--main-color);
  color: #fff;
  font-weight: bold;
  border: none;
  text-align: left;
  margin-right: 0;
  margin-left: 0;
  padding: 5px 10px;
  border-radius: 0;
}

.cmn_editor h2.title_style01:before,
.cmn_editor h2.title_style01:after,
.cmn_editor h3.title_style01:before,
.cmn_editor h3.title_style01:after,
.cmn_editor h4.title_style01:before,
.cmn_editor h4.title_style01:after,
.cmn_editor h5.title_style01:before,
.cmn_editor h5.title_style01:after,
.cmn_editor h2.title_style02:before,
.cmn_editor h2.title_style02:after,
.cmn_editor h3.title_style02:before,
.cmn_editor h3.title_style02:after,
.cmn_editor h4.title_style02:before,
.cmn_editor h4.title_style02:after,
.cmn_editor h5.title_style02:before,
.cmn_editor h5.title_style02:after,
.cmn_editor h2.title_style03:before,
.cmn_editor h2.title_style03:after,
.cmn_editor h3.title_style03:before,
.cmn_editor h3.title_style03:after,
.cmn_editor h4.title_style03:before,
.cmn_editor h4.title_style03:after,
.cmn_editor h5.title_style03:before,
.cmn_editor h5.title_style03:after {
  display: none;
}

/*----------リスト----------*/
/*番号*/
.cmn_editor ol {
  margin: 0;
  padding: 0;
  counter-reset: number;
  list-style: none;
}

.cmn_editor ol li {
  margin: 0 0 10px 30px;
  list-style-type: none;
  position: relative;
}

.cmn_editor ol li:last-of-type {
  margin: 0 0 0 30px;
}

.cmn_editor ol li:before {
  padding: 2px 8px;
  border-radius: 2%;
  color: var(--sub-color);
  counter-increment: number;
  content: counter(number) ".";
  font-weight: bold;
  letter-spacing: 0;
  left: -30px;
  position: absolute;
}

/*番号（四角の背景色付き）*/
.cmn_editor ol.square {
  margin: 0;
  padding: 0;
  counter-reset: number;
  list-style: none;
}

.cmn_editor ol.square li {
  margin-bottom: 12px;
  list-style-type: none;
}

.cmn_editor ol.square li:before {
  padding: 2px 8px;
  background: var(--sub-color);
  color: #fff;
  counter-increment: number;
  content: counter(number);
}

/*番号（円の背景色付き）*/
.cmn_editor ol.circle {
  margin: 0;
  padding: 0;
  counter-reset: number;
  list-style: none;
}

.cmn_editor ol.circle li {
  margin-bottom: 12px;
  list-style-type: none;
}

.cmn_editor ol.circle li:before {
  margin: 0 0 8px;
  line-height: 1.6;
  width: 25px;
  height: 25px;
  text-align: center;
  padding: unset;
  background: var(--sub-color);
  border-radius: 50%;
  color: #fff;
  counter-increment: number;
  content: counter(number);
}

/*----------枠----------*/
.cmn_editor .box_style01 {
  background: var(--bg-color);
  padding: 20px;
  margin: 0 0 15px;
}

.cmn_editor .box_style02 {
  border: solid 1px var(--border-color);
  padding: 20px;
  margin: 0 0 15px;
}

.cmn_editor .box_style03 {
  border: dashed 1px var(--border-color);
  padding: 20px;
  margin: 0 0 15px;
}

/*----------テーブル----------*/
.cmn_editor table {
  width: 100%;
  border-spacing: 1px;
  border-collapse: separate;
  background-color: var(--bg-color);
}

.cmn_editor th,
.cmn_editor td {
  padding: 10px;
}

.cmn_editor th {
  font-weight: bold;
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
}

.cmn_editor td {
  background-color: #fff;
  border: 1px solid var(--border-color);
}

.cmn_editor .table_style2_30 span,
.cmn_editor .table_style2_50 span,
.cmn_editor .table_style2_70 span,
.cmn_editor .table_style3 span {
  font-size: 80%;
}

.cmn_editor .table_style2_30 tr:first-of-type th,
.cmn_editor .table_style2_30 tr:first-of-type td {
  width: 30%;
}

.cmn_editor .table_style2_30 tr:first-of-type td:nth-child(2) {
  width: 70%;
}

.cmn_editor .table_style2_50 tr:first-of-type th,
.cmn_editor .table_style2_50 tr:first-of-type td {
  width: 50%;
}

.cmn_editor .table_style2_70 tr:first-of-type th,
.cmn_editor .table_style2_70 tr:first-of-type td {
  width: 70%;
}

.cmn_editor .table_style3 th,
.cmn_editor .table_style3 td {
  width: 33.3% !important;
}

/*----------ラインマーカー----------*/
.cmn_editor .marker {
  background: linear-gradient(transparent 60%, #ffff93 60%);
}

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

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

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

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

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

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

.cmn_editor .wp-caption.alignleft,
.cmn_editor .wp-caption.alignright,
.cmn_editor .wp-caption.aligncenter {
  margin-bottom: 1.2em;
}

/*整形済みテキスト*/
.cmn_editor pre {
  font-weight: 400;
  margin-top: 20px;
  padding: 20px;
  background-color: var(--bg-color);
  color: #7F7F7F;
  overflow: auto;
}

/*引用*/
.cmn_editor blockquote {
  position: relative;
  color: #3F3F3F;
  margin-top: 20px;
  padding: 20px 20px 20px /*70px*/30px;
  background-color: var(--bg-color);
}

/*.cmn_editor blockquote::before {
  position: absolute;
  top: 20px;
  left: 20px;
  font-family: "icomoon";
  content: "\e909";
  font-size: 3rem;
  color: #D9D9D9;*/
  /*position: absolute;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  top: 3px;
  left: 10px;
  color: #D9D9D9;
  font-size: 20px;
  content: "\f10d";
}

.cmn_editor blockquote::after {
  position: absolute;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  right: 10px;
  bottom: 3px;
  color: #D9D9D9;
  font-size: 20px;
  content: "\f10e";
}*/

.cmn_editor blockquote *:first-child {
  margin-top: 0;
}

/*ライン*/
.cmn_editor hr {
  margin-top: 40px;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

/*==================================================================

  コンテンツ内　共通パーツ

==================================================================*/
/* 日付・カテゴリ */
.blog_category i {
  display: inline-block;
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin-right: 5px;
  color: var(--main-color);
}

.blog_category li a {
  color: var(--text-color);
}
@media (hover: hover) {
  .blog_category li a:hover {
    color: var(--main-color);
  }
}

/* ページャー */
.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding-left: 10px;
  margin-top: 40px;
}

.page-numbers {
  min-width: 2.5em;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: flex;
  flex-flow: column;
  justify-content: center;
  text-align: center;
  border-radius: 50%;
  font-size: 15px;
  font-weight: bold;
  line-height: 1;
  letter-spacing: .1em;
  margin-right: 10px;
  margin-bottom: 10px;
}

.page-numbers.current,
a.page-numbers:hover {
  background: var(--main-color);
  color: #fff;
}

a.page-numbers {
  text-decoration: none;
  transition: all 0.2s linear;
  background: var(--bg-color);
  color: var(--main-color);
}

.pager a:active {
  box-shadow: 1px 1px 3px -1px rgb(0 0 0 / 0.55);
}

/*==================================================================

  記事一覧

==================================================================*/
.blog_list {
  display: flex;
  flex-flow: wrap;
  gap: 30px 18px;
}

.blog_list_item {
  display: flex;
  flex-flow: column;
  width: calc((100% - 36px) / 3);
  border-top: 4px solid var(--main-color);/*記事ボックスの上の色*/
  box-shadow: 0 1px 4px rgb(0 0 0 / 0.1);
  padding: 20px 15px 25px;
  background-color: #fff;
}

/* サムネイル */
.blog_list_item_thum {
  max-height: 150px;
  aspect-ratio: 240 / 150;
  text-align: center;
  margin-bottom: 15px;
}

.blog_list_item_thum img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/* タイトル */
.blog_list_item_tit {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.blog_list_item .blog_category {
  font-size: 87%;
  line-height: 1.5;
  margin-bottom: 40px;
}

.blog_list_item .blog_category li:not(:last-child) {
  margin-bottom: 5px;
}

.blog_list_item_text {
  margin-bottom: 15px;
}

.blog_list_item > .btn01 {
  margin-top: auto;
  text-align: center;
}

.blog_list_item > .btn01 a {
  margin: 0;
}

@media screen and (max-width: 640px) {
  .blog_list {
    display: block;
  }

  .blog_list_item {
    display: block;
    width: 100%;
  }

  .blog_list_item:not(:last-child) {
    margin-bottom: 30px;
  }

  /* サムネイル */
  .blog_list_item_thum {
    max-height: none;
    aspect-ratio: auto;
  }

  .blog_list_item_thum img {
    height: auto;
    -o-object-fit: fill;
        object-fit: fill;
  }
}

/*==================================================================

  個別ページ

==================================================================*/
/* サムネイル */
.blog_single_thum {
  margin: 0 auto 30px;
  text-align: center;
}

.blog_single_thum img {
  width: auto;
  max-height: 700px;
}

/* 目次 */
#toc_container {
  margin-bottom: 50px;
  padding: 25px 30px;
  background: var(--bg-color);
}

.toc_title {
  font-size: 120%;
  font-weight: bold;
  line-height: 1.6;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--main-color);
  margin-bottom: 15px;
}

.toc_list {
  font-size: 93%;
}

.toc_list a {
  color: var(--text-color);
}
@media (hover: hover) {
  .toc_list a:hover {
    color: var(--sub-color);
  }
}

.toc_list > li:not(:last-child) {
  margin-bottom: 10px;
}

.toc_list > li ul {
  padding-left: 10px;
}

.toc_list > li ul li a::before {
  content: "-";
  display: inline-block;
  margin-right: 5px;
}

@media screen and (max-width: 640px) {
  .blog_single_thum img {
    max-height: 320px;
  }

  /* 目次 */
  #toc_container {
    padding: 20px;
  }
}

/*==================================================================

  サイドバー

==================================================================*/
.side_area {
  width: 25%;
}

.side_box:not(:last-child) {
  margin-bottom: 40px;
}

.side_title {
  font-size: 120%;
  font-weight: bold;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: solid 2px var(--main-color);
  text-align: left;
  line-height: 1.6;
}

.side_title i {
  margin-right: 12px;
  vertical-align: middle;
  color: var(--main-color);
}

.side_area li a {
  color: var(--text-color);
}

.side_area ul.children li.cat-item a {
  padding-left: 1em;
}

.side_area ul.children li.cat-item a::before {
  content: "－";
}

.side_area li a:hover {
  color: var(--main-color) !important;
}

.side_blog_item:not(:last-child) {
  border-bottom: 1px solid var(--border-color);
}

.side_blog_item a {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 15px;
  padding-bottom: 15px;
}

.side_blog_item_thum {
  width: 100px;
  height: 100px;
  overflow: hidden;
}

.side_blog_item_thum img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
@media (hover: hover) {
  .side_blog_item_thum img {
    transition: transform .2s;
  }

  .side_blog_item a:hover .side_blog_item_thum img {
    transform: scale(1.1);
  }
}

.side_blog_item_title {
  font-size: 94%;
  flex: 1;
  line-height: 1.8;
}

@media screen and (max-width: 640px) {
  .side_area {
    width: 100%;
    margin-top: 80px;
  }

  .side_blog_item_title {
    font-size: 100%;
  }
  
  /*============================================================================

$見出し

============================================================================*/
　.cmn_editor h2 {
    font-size: 12px;
    width: auto;
    padding: 5px 5%;
    text-align: center;
    line-height: 1.4;
    position: static;
    margin-top: 0 !important;
    background-color: #f8f8f8;
  }
  .cmn_editor h3 {
    /*margin-bottom: 30px;*/
    /*font-size: 14px;*/
	margin-bottom: 15px;
  }
  .cmn_editor h3::before {
    /*margin-bottom: 5px;
    font-size: 40px;
    letter-spacing: 0.02em;*/
  }
  .cmn_editor h4 {
    margin-bottom: 18px;
    /*padding: 8px 22px;*/
    font-size: 20px;
    letter-spacing: 0.03em;
	text-align: /*center*/left;
  }
  .cmn_editor h4::before,
  .cmn_editor h4::after {
    width: 36px;
    height: 32px;
  }
  .cmn_editor h4::before {
    top: -12px;
  }
  .cmn_editor h4::after {
    bottom: -12px;
  }
  .cmn_editor h5 {
    margin-bottom: 8px;
    letter-spacing: 0.05em;
    /*font-size: 18px;*/
	font-size: min(4.5vw, 18px);
  }
  .cmn_editor h6 {
	font-size: min(4.3vw, 17px);
  }
  
}