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

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

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

  基本

==================================================================*/
.contents.contents-row {
	display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.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 h1 {
  font-size: 32px;
}
.cmn_editor h2 {
  font-size: 24px;
}
.cmn_editor h3 {
  font-size: 18px;
}
.cmn_editor h4 {
  font-size: 16px;
}
.cmn_editor h5 {
  font-size: 12px;
}
.cmn_editor h6 {
  font-size: 10px;
}

/*上に余白を付ける*/
.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;
  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: 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;
	font-family: "zen-old-mincho", sans-serif;
}

.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;
  }
}

.blog_single_text h2 {
	position: relative;
    margin-bottom: 50px;
    padding: 16px 0;
    font-family: zen-old-mincho, sans-serif;
    font-weight: 400;
    font-size: 28px;
    text-align: center;
    line-height: 1.4;
    color: #fff;
    background-image: linear-gradient(180deg, rgb(178, 136, 80) 0%, rgb(206, 179, 126) 100%);
}
.blog_single_text h2:before,
.blog_single_text h2:after {
	position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    content: "";
}
.blog_single_text h2:before {
	top: -3px;
    background-color: rgb(178, 136, 80);
}
.blog_single_text h2:after {
	bottom: -3px;
    background-color: rgb(206, 179, 126);
}
.blog_single_text h3 {
	position: relative;
    display: table;
    width: 100%;
    z-index: 2;
    margin-bottom: 24px;
    padding: 10px 20px 12px;
    font-family: "zen-old-mincho", sans-serif;
    font-weight: 400;
    font-size: 24px;
    letter-spacing: 0.075em;
    line-height: 1.4;
    text-align: left;
    color: #fff;
    background: linear-gradient(90deg, rgb(178, 136, 80) 0%, rgb(203, 174, 120) 100%);
}
.blog_single_text h3:before {
	position: absolute;
    z-index: -1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url(https://nagano-beauty-clinic.com/images/tit_deco_logo.svg) no-repeat left 15px top -8px / 100px auto;
    opacity: 0.15;
    content: "";
}
.blog_single_text h4 {
	margin-bottom: 10px;
    letter-spacing: 0.05em;
    font-family: "zen-old-mincho", sans-serif;
    font-weight: 700;
    font-size: 19px;
    text-align: left;
    line-height: 1.4;
    color: #b28850;
}
.blog_single_text h5 {
	margin-bottom: 15px;
    letter-spacing: 0.05em;
    font-family: "zen-old-mincho", sans-serif;
    font-weight: 700;
    font-size: 17px;
    text-align: left;
    line-height: 1.4;
    border-bottom: 1px solid;
	padding-bottom: 5px;
	display: inline-block;
}

@media screen and (max-width: 640px) {
	.blog_single_text h2 {
		margin-bottom: 30px;
        padding: 12px 8px;
        font-size: 21px;
        line-height: 1.3;
	}
	.blog_single_text h3 {
		margin-bottom: 18px;
        padding: 10px 20px 12px;
        font-size: 20px;
        letter-spacing: 0.05em;
	}
}
.blog_single_text ol {
	margin: 20px 0;
    padding: 20px;
    counter-reset: number;
    list-style: none;
	background: var(--bg-color);
}
.blog_single_text ol li {
	margin-bottom: 12px;
    list-style-type: none;
}
.blog_single_text ol 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);
}
.blog_single_text ul:not(.toc_list):not(.toc_list li ul) {
	background: var(--bg-color);
	padding: 20px;
}
.blog_single_text ul:not(.toc_list):not(.toc_list li ul) li {
	position: relative;
    margin-bottom: 10px;
    padding-left: 15px;
    line-height: 1.5;
}
.blog_single_text ul:not(.toc_list):not(.toc_list li ul) li:before {
	display: block;
    position: absolute;
    top: 8px;
    left: 0;
    width: 7px;
    height: 7px;
    background-color: var(--sub-color);
    border: 1px solid var(--sub-color);
    border-radius: 100%;
    content: '';
}
.blog_single_text table tr:first-child td,
.blog_single_text table th {
	background: var(--bg-color);
	text-align: center;
}

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

  サイドバー

==================================================================*/
.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;
	font-family: "zen-old-mincho", sans-serif;
}

.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%;
  }
}