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

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

  基本

==================================================================*/
.contents_left {
  width: 70%;
}

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

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

  TinyMCEエディタ用

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

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

/*----------見出し----------*/
.cmn_editor h2 {
  color: var(--main-color);
  font-family: "ryo-display-plusn", serif;
  font-weight: 500;
  font-style: normal;
  font-size: 26px;
  letter-spacing: .1em;
  line-height: 1.4;
  text-align: center;
  margin-bottom: 40px;
}
.cmn_editor h2::before {
  content: "";
  display: block;
  width: 80px;
  height: 80px;
  background: url(images/tit01.png) center/100% auto no-repeat;
  pointer-events: none;
  margin: 0 auto 10px;
}

.cmn_editor h3 {
  color: #efeacf;
  font-family: "ryo-display-plusn", serif;
  font-weight: 500;
  font-style: normal;
  font-size: 22px;
  letter-spacing: .1em;
  line-height: 1.4;
  padding: 20px;
  background: url(images/bg.jpg);
  margin-bottom: 30px;
  position: relative;
}
.cmn_editor h3::before {
  content: "";
  display: block;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  border: 1px solid var(--main-color);
  pointer-events: none;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.cmn_editor h3::after {
  content: "";
  display: block;
  width: 1em;
  height: 1em;
  background: url(images/tit02.png) center/100% auto no-repeat;
  pointer-events: none;
  position: absolute;
  left: 20px;
  top: 15px;
}

.cmn_editor h4 {
  font-family: "ryo-display-plusn", serif;
  font-weight: 500;
  font-style: normal;
  font-size: 22px;
  letter-spacing: .1em;
  line-height: 1.6;
  padding: 5px 0 10px 40px;
  border-bottom: 2px solid rgb(176 151 75 / .5);
  margin-bottom: 40px;
  position: relative;
}
.cmn_editor h4::after {
  content: "";
  display: block;
  width: 2px;
  height: calc(100% + 20px);
  background: rgb(176 151 75 / .5);
  pointer-events: none;
  position: absolute;
  left: 20px;
  bottom: -20px;
}

.cmn_editor h5 {
  width: fit-content;
  color: #fff;
  font-family: "ryo-display-plusn", serif;
  font-weight: 500;
  font-style: normal;
  font-size: 20px;
  letter-spacing: .1em;
  line-height: 1.6;
  padding: 10px 20px;
  background: linear-gradient(90deg, var(--main-color) 0%, #c7b582 100%);
  margin-bottom: 20px;
}

.cmn_editor h6 {
  font-family: "ryo-display-plusn", serif;
  font-weight: 500;
  font-style: normal;
  font-size: 18px;
  line-height: 1.6;
  padding-left: 20px;
  margin-bottom: 20px;
  position: relative;
}
.cmn_editor h6::before {
  content: '';
  width: 2px;
  height: 100%;
  background: linear-gradient(0deg, var(--sub-color) 0%, var(--main-color) 100%);
  position: absolute;
  left: 0;
  bottom: 0;
}

/*上に余白を付ける*/
.cmn_editor h2:nth-child(n+2) {
  margin-top: 2.3em;
}
.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: 2em;
}

/*太字*/
.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: none;
  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 h6.title_style01:before,
.cmn_editor h6.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 h6.title_style02:before,
.cmn_editor h6.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,
.cmn_editor h6.title_style03:before,
.cmn_editor h6.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;
  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;
}

.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: 2px solid var(--main-color);/*記事ボックスの上の色*/
  padding: 20px 15px 25px;
  background-color: rgb(176 151 75 / .2);
}

/* サムネイル */
.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-family: "ryo-display-plusn", serif;
  font-weight: 500;
  font-style: normal;
  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-family: "ryo-display-plusn", serif;
  font-weight: 500;
  font-style: normal;
  font-size: 120%;
  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-family: "ryo-display-plusn", serif;
  font-weight: 500;
  font-style: normal;
  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%;
  }
}