@charset "UTF-8";

html {
  font-size: 62.5% !important;
}

body {
  font-size: clamp(1.4rem, 1.5vw, 1.6rem) !important;
  background: #fff;
}

a:hover {
  color: initial;
  text-decoration: none;
}

.breadcrumb {
  width: 100%;
}

.gnav-info__tab {
  box-sizing: content-box;
}

/*----------------------------------------------------
 fv
-----------------------------------------------------*/
.fv {
  padding-bottom: 120px;
}

/*----------------------------------------------------
  wp adjust
-----------------------------------------------------*/
.main {
  width: 67.4%;
  padding: 0 0 36px 0;
  background: none;
  box-sizing: border-box;
}

.main img,
.main picture {
  width: initial;
}

.container {
  width: 100%;
  max-width: initial;
  position: relative;
  overflow: hidden;
}

.content {
  background: #fff;
  margin-top: 0;
  font-family: 'Noto Sans JP', '游ゴシック', 'Yu Gothic', 'Hiragino Sans', 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'Meiryo UI', 'メイリオ', sans-serif;
  font-weight: 400;
}

.content-in {
  padding: 100px 0;
  position: relative;
  flex-wrap: initial;
  z-index: 1;
}

.content-in.wrap {
  width: 90%;
  max-width: 1440px;
}

.ect-vertical-card .entry-card-wrap .entry-card-thumb {
  position: relative;
}

.ect-vertical-card .entry-card-wrap .entry-card-thumb::after {
  display: block;
  content: '';
  width: 100%;
  height: 0;
  padding-top: 56.25%;
}

.ect-vertical-card .entry-card-wrap .entry-card-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  object-position: center;
}

.ect-vertical-card .entry-card-wrap .entry-card-content {
  margin-top: 10px;
}

.entry-card-title,
.related-entry-card-title {
  font-size: 1.6rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  font-weight: 700;
}

.entry-card-title {
  border-bottom: 1px solid #ccc;
  min-height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}

.entry-card-snippet,
.related-entry-card-snippet {
  font-size: 1.4rem;
  line-height: 1.8;
}

.entry-card-meta,
.related-entry-card-meta {
  position: relative;
  bottom: initial;
  right: initial;
  margin-top: 8px;
}

.article h1 {
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
  font-size: 2.4rem;
  font-weight: 700;
  font-style: normal;
  position: relative;
  padding-left: 20px;
}

.article h1::before {
  display: block;
  content: '';
  width: 6px;
  height: 100%;
  margin-right: 5px;
  background: linear-gradient(to bottom, #CAE0DB 50%, #53B5E1 50%);
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(0, -50%);
}

.entry-content {
  margin-bottom: 30px;
}

.related-entry-heading {
  font-size: 1.6rem;
  font-weight: 500;
}

.cat-link {
  background: var(--bg-blue-gradient);
}

/*---sidebar------------------------------------*/
.sidebar {
  background: none;
  box-sizing: border-box;
}

.wp-block-search__button {
  font-size: 1.4rem;
  padding: calc(0.667em + 2px) 14px;
  box-sizing: border-box;
}

.sidebar h2,
.sidebar h3 {
  font-size: 1.4rem;
  background: none;
  font-weight: 700;
  /*---背景色 変更部分---*/
}

.sidebar h3 {
  font-size: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /*---タイトル色 変更部分---*/
  border-bottom: 1px solid rgba(0, 0, 0, .2);
  padding: 5px 10px;
  margin-bottom: 5px;
}

.widget_popular_entries h3::after,
.widget_new_entries h3::after,
.widget_archive h3::after,
.widget_categories h3::after {
  display: inline;
  font-size: 1.2rem;
  font-weight: normal;
  color: #CDE9F6;

  /*---フォント指定 変更部分---*/
  font-weight: 400;
  font-style: normal;
}

.widget_popular_entries h3::after {
  content: '人気記事';
}

.widget_new_entries h3::after {
  content: '新着記事';
}

.widget_archive h3::after {
  content: 'アーカイブ';
}

.widget_categories h3::after {
  content: 'カテゴリー';
}

.widget-title::after {
  content: 'コンテンツ';
  display: inline;
  font-size: 1.4rem;
  font-weight: normal;
  color: #fff;
  /*---フォント色変更部分---*/
}

.widget-entry-cards .a-wrap:nth-of-type(n+2),
.cat-item:nth-of-type(n+2),
.widget_archive li:nth-of-type(n+2) {
  border-top: 1px dashed #ccc;
  /*---罫線 変更部分---*/
}

.wp-block-search__label {
  display: none;
}

.widget_block ul li a {
  font-size: 1.4rem;
}

.widget-entry-cards .a-wrap {
  width: 100%;
  height: auto;
}

.widget-entry-card {
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: auto;
}

.widget-entry-card-thumb {
  float: initial;
}

.widget-entry-cards figure {
  width: 45%;
  height: auto;
  position: relative;
}

.widget-entry-cards figure::after {
  display: block;
  content: '';
  width: 100%;
  height: 0;
  padding-top: 56.25%;
}

.widget-entry-cards figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.widget-entry-card-content {
  width: 50%;
  margin-left: 0;
  display: flex;
  flex-direction: column-reverse;
  justify-content: center;
  padding: 0 0 8px 0;
}

.widget-entry-card-date.display-none {
  display: block;
}

.widget-entry-card-post-date.post-date {
  display: block;
  font-size: 1.2rem;
  opacity: .8;
  margin-bottom: 5px;
}

.widget-entry-card-post-date.post-date .fa-clock-o:before {
  display: none;
}

.widget-entry-card-title {
  font-size: 1.4rem;
}

.widget_recent_entries ul,
.widget_categories ul,
.widget_archive ul,
.widget_pages ul,
.widget_meta ul,
.widget_rss ul,
.widget_nav_menu ul,
.widget_block ul {
  font-size: 1.4rem;
}

.sidebar-link {
  width: 100%;
  height: auto;
}

.sidebar-link a {
  display: block;
  width: 100%;
  height: auto;
}

.sidebar-link a:nth-of-type(n+2) {
  margin-top: 10px;
}

.sidebar-link a>img {
  display: block;
  width: 100%;
  height: auto;
}


#blog_category_list {
  width: 100%;
  height: auto;
  padding-top: 80px;
}

.blog_category_list ul {
  width: 90%;
  height: auto;
  max-width: 800px;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  padding-left: 0;
}

.blog_category_list ul li:nth-of-type(n+2) {
  margin-left: 10px;
}

.blog_category_list ul li>a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  height: 44px;
  padding: 0 20px;
  box-sizing: border-box;
  background: #9C6926;
  color: #fff;
  font-weight: 500;
  border-radius: 50vh;
}

.article h2 {
  font-size: 2rem;
  background: #e9f5fb;
  margin-top: 30px;
  /*---記事の見出し色変更部分---*/
}

.a-wrap:hover {
  background-color: transparent;
}

.article h2,
.article h3,
.article h4,
.article h5,
.article h6 {
  margin-bottom: 20px;
}

.article h3,
.article h4,
.article h5,
.article h6 {
  display: flex;
  align-items: center;
  width: 100%;
  font-size: 1.8rem;
  border: none;
  border-bottom: 4px solid #ECEFF3;
  /*---記事の見出しの罫線色変更部分---*/
  position: relative;
  padding-left: 10px;
}

.article h3::before,
.article h4::before,
.article h5::before,
.article h6::before {
  display: inline-block;
  content: '';
  width: calc(20px * 1);
  height: calc(20px * 1);
  background: url('/img/common/arrow-right--cblue.svg');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin-right: 6px;
  flex-shrink: 0;
  font: initial !important;
  margin-right: 6px;
}

.article h3::after,
.article h4::after,
.article h5::after,
.article h6::after {
  content: '';
  background: #b0c4de;
  width: 3em;
  height: 3px;
  position: absolute;
  bottom: -3px;
  left: 0;
  z-index: 1;
}

.article p {
  font-size: 1.6rem;
  text-align: justify;
}

.entry-date {
  font-size: 1.3rem;
  opacity: .8;
}

.post-date .fa {
  display: none;
}

.entry-categories a {
  color: #fff !important;
}

.toc {
  width: 100%;
}

.post-update {
  display: none;
}

.sns-follow-buttons a {
  width: calc(100%/4);
}

/*---------------------------------
 footer
---------------------------------*/
.footer {
  margin-top: 0;
  padding: 0;
}

/*---------------------------------
 共通項目
---------------------------------*/
.article-header {
  width: initial;
  height: initial;
  position: initial;
  top: initial;
  left: initial;
  transform: initial;
  z-index: initial;
  border-radius: initial;
  box-sizing: border-box;
  transition: initial;
}

.toc {
  width: 100%;
}

.gnav__list,
.gnav-info__list,
.mobile-nav__list,
.footer__address,
.clinic-notes,
.footer-nav-list {
  padding-left: 0;
}


@media screen and (max-width:1280px) {
  html {
    font-size: calc(100vw/128) !important;
  }
}

@media screen and (max-width:1024px) {
  html {
    font-size: calc(100vw/102.4) !important;
  }
}

@media screen and (max-width:896px) {
  html {
    font-size: calc(100vw/89.6) !important;
  }
}

@media screen and (max-width:787px) {
  html {
    font-size: calc(100vw/78.6) !important;
  }
}

@media screen and (max-width:680px) {
  html {
    font-size: calc(100vw/68) !important;
  }
}

@media screen and (max-width:480px) {
  html {
    font-size: 62.5% !important;
  }

  body {
    font-size: 1.6rem !important;
  }

  main.main {
    padding: 32px 0;
  }

  .entry-card-title {
    min-height: initial;
    padding: 10px;
  }

  .article h1 {
    font-size: 2rem;
  }

  .widget-entry-card-date.display-none .entry-date {
    font-size: 1rem;
    margin-left: 0;
  }

  .widget-entry-card-title {
    font-size: 1.2rem;
  }

  .related-entry-card-title {
    font-size: 1.2rem;
  }

  .related-entry-card-snippet {
    font-size: 1rem;
  }

  .content-in {
    padding: 0 0 50px 0;
  }

  .no-sp-snippet .entry-card-snippet {
    display: block;
  }

  div.sidebar {
    padding: 32px 0;
  }

  /*---fv---*/
  .fv {
    padding-bottom: 60px;
  }

  .article h2 {
    font-size: 1.8rem;
    padding: 24px 10px;
  }

  .article p {
    font-size: 1.5rem;
  }

  .article h3,
  .article h4,
  .article h5,
  .article h6 {
    font-size: 1.6rem;
    padding-left: 0;
  }

  .article h3::before,
  .article h4::before,
  .article h5::before,
  .article h6::before {
    width: calc(20px * .7);
    height: calc(20px * .7);
  }
}