@charset "UTF-8";
/*
Theme Name:MONAD child
Theme URI:https://tcd-theme.com/tcd110
Description:WordPressテーマ「MONAD」の子テーマ
Template:monad_tcd110
Author:TCD
Author URI:https://tcd-theme.com/
Version:1.0
*/
/*
  ここから下にCSSを追記してください。
*/
/*-------------------------------------------------
カラー
-------------------------------------------------*/
/*-------------------------------------------------
フォント
-------------------------------------------------*/
@font-face {
  font-family: "ZenMaruGothic-Light";
  src: url("font/ZenMaruGothic/ZenMaruGothic-Light.woff") format("woff");
  font-display: swap;
}
@font-face {
  font-family: "ZenMaruGothic-Regular";
  src: url("font/ZenMaruGothic/ZenMaruGothic-Regular.woff") format("woff");
  font-display: swap;
}
@font-face {
  font-family: "ZenMaruGothic-Medium";
  src: url("font/ZenMaruGothic/ZenMaruGothic-Medium.woff") format("woff");
  font-display: swap;
}
@font-face {
  font-family: "ZenMaruGothic-Bold";
  src: url("font/ZenMaruGothic/ZenMaruGothic-Bold.woff") format("woff");
  font-display: swap;
}
@font-face {
  font-family: "ZenMaruGothic-Black";
  src: url("font/ZenMaruGothic/ZenMaruGothic-Black.woff") format("woff");
  font-display: swap;
}
/*-------------------------------------------------
見出し・テキスト
-------------------------------------------------*/
body #main_content h1, body #main_content h2, body #main_content h3, body #main_content h4, body #main_content h5, body #main_content h6, body #main_content div, body #main_content p, body #main_content span, body #main_content li, body #main_content th, body #main_content td, body #main_content a {
  color: #403325;
}

#page_headline {
  background: #ff8d06;
}
#page_headline > span {
  color: #fff;
  font-family: "ZenMaruGothic-Regular", sans-serif;
  letter-spacing: 3px;
}
@media screen and (max-width: 1180px) {
  #page_headline > span {
    font-family: "ZenMaruGothic-Medium", sans-serif;
  }
}

.post_content h2 {
  margin: 80px auto;
  font-family: "ZenMaruGothic-Medium", sans-serif;
  font-size: 28px;
  line-height: 180%;
}
@media screen and (max-width: 768px) {
  .post_content h2 {
    margin: 40px auto;
    font-size: 24px;
  }
}
.post_content h2::after {
  display: block;
  margin: 0 auto;
  content: url(images/h2_bg.webp);
  line-height: 100%;
}

.post_content h3 {
  margin: 75px 0 35px;
  padding: 20px 20px 20px 60px;
  position: relative;
  background: #f3efe9;
  border-radius: 15px;
  font-family: "ZenMaruGothic-Medium", sans-serif;
  font-size: 24px;
  text-align: left;
}
@media screen and (max-width: 768px) {
  .post_content h3 {
    margin: 45px auto 20px;
    font-size: 20px;
  }
}
.post_content h3::before {
  width: 19px;
  height: 19px;
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  background: #faae54;
  border-radius: 100%;
  content: "";
}

.post_content h4 {
  margin: 55px 0 25px;
  padding: 20px;
  position: relative;
  font-family: "ZenMaruGothic-Medium", sans-serif;
  font-size: 22px;
}
@media screen and (max-width: 768px) {
  .post_content h4 {
    margin: 25px 0 15px;
    font-size: 18px;
  }
}
.post_content h4::after {
  display: block;
  width: 100%;
  height: 8px;
  margin-top: 20px;
  position: absolute;
  bottom: 0;
  left: 0;
  background: #f3efe9;
  border-radius: 10px;
  content: "";
}

.post_content h5 {
  margin: 55px 0 20px;
  color: #ff8d06;
  font-family: "ZenMaruGothic-Medium", sans-serif;
  font-size: 24px;
  line-height: 42px;
}
@media screen and (max-width: 768px) {
  .post_content h5 {
    margin: 25px 0 15px;
    font-size: 20px;
  }
}

.post_content h6 {
  margin: 30px 0 15px;
  color: #ff8d06;
  font-family: "ZenMaruGothic-Medium", sans-serif;
  font-size: 20px;
  line-height: 36px;
}
@media screen and (max-width: 768px) {
  .post_content h6 {
    margin: 20px 0 10px;
    font-size: 18px;
  }
}

:is(.post_content, .post_content .tcdce-body) p {
  margin-bottom: 15px;
  line-height: 200%;
}
:is(.post_content, .post_content .tcdce-body) p:last-of-type {
  margin-bottom: 0;
}

mark {
  font-style: normal;
}

@media screen and (max-width: 768px) {
  .sp_left {
    text-align: left !important;
  }
}

/*-------------------------------------------------
リンク
-------------------------------------------------*/
.post_content .wp-block-buttons {
  margin: 50px auto;
}
@media screen and (max-width: 768px) {
  .post_content .wp-block-buttons {
    margin: 25px auto;
  }
}
.post_content .wp-block-buttons .wp-block-button {
  min-width: 300px;
  margin: auto;
}
.post_content .wp-block-buttons .wp-block-button__link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 30px;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin: 0;
  padding: 20px 40px;
  background: #f9f6f1;
  border: 1px solid #a79887;
  color: #403325;
  font-size: 16px;
  line-height: 100%;
  -webkit-transition: 0.2s;
  transition: 0.2s;
}
@media screen and (max-width: 768px) {
  .post_content .wp-block-buttons .wp-block-button__link {
    padding: 20px;
    font-size: 14px;
  }
}
.post_content .wp-block-buttons .wp-block-button__link::after {
  width: 10px;
  height: 10px;
  border: 1px solid #403325;
  border-left: 0;
  border-bottom: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  content: "";
  line-height: 100%;
  -webkit-transform: translateY(0%) rotate(45deg);
          transform: translateY(0%) rotate(45deg);
}
.post_content .wp-block-buttons .wp-block-button__link:hover {
  background: #faae54;
  text-decoration: none;
}
.post_content .wp-block-buttons.down .wp-block-button__link::after {
  -webkit-transform: translateY(-25%) rotate(135deg);
          transform: translateY(-25%) rotate(135deg);
}
.post_content .wp-block-buttons.download .wp-block-button__link::after {
  width: 18px;
  height: auto;
  border: none;
  content: url(images/download2.svg);
  line-height: 100%;
  -webkit-transform: unset;
          transform: unset;
}
.post_content .wp-block-buttons.blank .wp-block-button__link::after {
  width: 18px;
  height: auto;
  border: none;
  content: url(images/link_blank.svg);
  line-height: 100%;
  -webkit-transform: unset;
          transform: unset;
}
.post_content a:not([class])::after,
#page_contents a:not([class])::after {
  width: 14px;
  display: inline-block;
  margin-left: 5px;
  content: url(images/right.svg);
  vertical-align: middle;
}
.post_content a:not([class])[href^="tel:"],
#page_contents a:not([class])[href^="tel:"] {
  color: #403325;
}
.post_content a:not([class])[href^="tel:"]::after,
#page_contents a:not([class])[href^="tel:"]::after {
  content: none;
}
.post_content .wp-block-image a:not([class])::after,
#page_contents .wp-block-image a:not([class])::after {
  content: none;
}

a.blank::after {
  width: 14px;
  display: inline-block;
  margin-left: 5px;
  content: url(images/link_blank.svg);
}

a.download::after {
  width: 14px;
  display: inline-block;
  margin-left: 5px;
  content: url(images/download.svg);
  vertical-align: middle;
}

a.download_brown::after {
  width: 14px;
  display: inline-block;
  margin-left: 5px;
  content: url(images/download2.svg);
  vertical-align: middle;
}

a > img {
  -webkit-transition: 0.2s;
  transition: 0.2s;
}
a:hover > img {
  opacity: 0.8;
}

/*-------------------------------------------------
リスト
-------------------------------------------------*/
ul.wp-block-list {
  margin: 30px 0;
  list-style: none;
}
ul.wp-block-list > li {
  padding-left: 20px;
  position: relative;
  line-height: 34px;
}
ul.wp-block-list > li::marker {
  content: none;
}
ul.wp-block-list > li::before {
  position: absolute;
  left: 0;
  color: #faae54;
  content: "●";
  font-size: 8px;
}

h2 + ul.wp-block-list, h3 + ul.wp-block-list, h4 + ul.wp-block-list, h5 + ul.wp-block-list, h6 + ul.wp-block-list {
  margin-top: 0;
}

/*-------------------------------------------------
テーブル（表）
-------------------------------------------------*/
.post_content .wp-block-table > table {
  table-layout: auto !important;
}
.post_content .wp-block-table > table > tbody td {
  position: relative;
  border: none !important;
}
.post_content .wp-block-table > table > tbody td::after {
  width: 100%;
  height: 1px;
  position: absolute;
  bottom: 0;
  left: 0;
  background-image: linear-gradient(to right, #dfd9d5 7px, transparent 7px);
  background-size: 10px 1px;
  background-position: left bottom;
  background-repeat: repeat-x;
  content: "";
}

/*-------------------------------------------------
画像
-------------------------------------------------*/
.wp-block-image {
  margin-top: 15px;
  margin-bottom: 15px;
}
.wp-block-image.is-style-rounded img {
  border-radius: 20px;
}

/*-------------------------------------------------
Snow Monkeyプラグイン関連
-------------------------------------------------*/
.smBox {
  margin: 40px 0;
  padding: 40px;
}
@media screen and (max-width: 768px) {
  .smBox {
    padding: 15px;
  }
}
.smBox--inner {
  padding: 30px;
}
@media screen and (max-width: 768px) {
  .smBox--inner {
    padding: 15px;
  }
}
.smBox--inner + .smBox--inner {
  margin-top: 30px;
}

h2 + .smBox, h2 + .smBox, h3 + .smBox, h5 + .smBox, h6 + .smBox, p + .smBox {
  margin-top: 0;
}

.sme-highlighter {
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(60%, transparent), color-stop(60%, rgb(253, 231, 203))) !important;
  background-image: linear-gradient(transparent 60%, rgb(253, 231, 203) 60%) !important;
}

.smb-step__body::before {
  left: 32.5px;
}
@media screen and (max-width: 768px) {
  .smb-step__body::before {
    left: 20px;
  }
}
@media screen and (max-width: 768px) {
  .smb-step__body .smb-step__item {
    margin-left: 40px;
  }
}
.smb-step__body .smb-step__item__number {
  width: 65px;
  height: 65px;
}
@media screen and (max-width: 768px) {
  .smb-step__body .smb-step__item__number {
    width: 40px;
    height: 40px;
    margin-left: -40px;
  }
}
.smb-step__body .smb-step__item__number::before {
  height: 50px;
  font-family: "ZenMaruGothic-Medium", sans-serif;
  font-size: 28px;
}
@media screen and (max-width: 768px) {
  .smb-step__body .smb-step__item__number::before {
    height: 23px;
    font-size: 20px;
    line-height: 100%;
  }
}
.smb-step__body .smb-step__item__title {
  padding-left: 20px;
  font-size: 24px;
}
.smb-step__body h4 {
  padding: 5px;
  background: #faae54;
  border: 1px solid #a79887;
  border-radius: 25px;
  font-size: 20px;
  text-align: center;
}
.smb-step__body h4::after {
  content: none;
}
.smb-step__body h5 {
  font-size: 20px;
  line-height: 32px;
}
.smb-step__body .wp-block-columns {
  padding-right: 0;
  padding-left: 20px;
}
@media screen and (max-width: 768px) {
  .smb-step__body .wp-block-columns {
    padding-left: 0;
  }
}

/*-------------------------------------------------
ヘッダー
-------------------------------------------------*/
body .header_slider_content .catch {
  font-size: 28px;
  letter-spacing: -3px;
  -webkit-appearance: none;
}
@media screen and (max-width: 540px) {
  body .header_slider_content .catch {
    font-size: 22px;
    letter-spacing: 0;
  }
}
body .header_slider_content .catch span {
  color: #fff;
  font-family: "ZenMaruGothic-Regular", sans-serif;
  -webkit-appearance: none;
}
@media screen and (max-width: 1180px) {
  body .header_slider_content .catch span {
    font-family: "ZenMaruGothic-Medium", sans-serif;
  }
}

@media screen and (max-width: 1470px) {
  #header_tel {
    display: none;
  }
}

/*-------------------------------------------------
トップページ
-------------------------------------------------*/
@media screen and (max-width: 768px) {
  #top_about .desc {
    text-align: left;
  }
}

:is(.post_content, .post_content .tcdce-body) .top--reserve {
  padding: 30px;
  background: #f9f6f1;
  border-radius: 20px;
}
:is(.post_content, .post_content .tcdce-body) .top--reserve-ttl {
  font-size: 18px;
  font-weight: bold;
  line-height: 200%;
  text-align: center;
}
:is(.post_content, .post_content .tcdce-body) .top--reserve p {
  margin-top: 10px;
  padding: 0;
  text-align: center;
}
@media screen and (max-width: 1180px) {
  :is(.post_content, .post_content .tcdce-body) .top--reserve p {
    text-align: left;
  }
}
:is(.post_content, .post_content .tcdce-body) .top--reserve-banner {
  display: block;
  max-width: 600px;
  margin: 10px auto 0;
  padding: 0;
}
@media screen and (max-width: 768px) {
  :is(.post_content, .post_content .tcdce-body) .top--reserve-banner {
    max-width: 430px;
  }
}
:is(.post_content, .post_content .tcdce-body) .top--reserve-banner br {
  display: none;
}

.cb_service_list {
  position: relative;
  background: #f9f6f1 !important;
}
.cb_service_list::before {
  width: clamp(1100px, 68.02vw, 1306px);
  height: min(839px, 51.87vw, 996px);
  position: absolute;
  right: -470px;
  bottom: -70px;
  background: url(images/dog.svg) no-repeat;
  background-size: contain;
  content: "";
}
@media screen and (max-width: 1180px) {
  .cb_service_list::before {
    content: none;
  }
}
.cb_service_list .service_list {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  gap: 30px;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.cb_service_list .service_list .item {
  width: calc(50% - 20px);
  margin: 0 !important;
}
@media screen and (max-width: 600px) {
  .cb_service_list .service_list .item {
    width: 100%;
  }
}

/*-------------------------------------------------
アイキャッチ
-------------------------------------------------*/
#page_header {
  max-width: 1500px;
  margin: 85px auto;
  border-radius: 20px;
}
@media screen and (max-width: 768px) {
  #page_header {
    max-width: 95%;
    margin: 30px auto 50px;
  }
}

/*-------------------------------------------------
固定ページ共通
-------------------------------------------------*/
#page_contents {
  padding-top: 0;
}
@media screen and (max-width: 768px) {
  #page_contents {
    max-width: 95%;
    margin: auto;
    padding: 0;
  }
}

@media screen and (min-width: 769px) {
  .wp-block-columns,
  :is(.post_content, .post_content .tcdce-body) p,
  :is(.post_content, .post_content .tcdce-body) ul.wp-block-list {
    padding-right: 15px;
    padding-left: 15px;
  }
}

:is(.post_content, .post_content .tcdce-body) .wp-block-column p,
:is(.post_content, .post_content .tcdce-body) .wp-block-column ul.wp-block-list,
:is(.post_content, .post_content .tcdce-body) .smBox p,
:is(.post_content, .post_content .tcdce-body) .smBox ul.wp-block-list {
  padding-right: 0;
  padding-left: 0;
}

:is(.post_content, .post_content .tcdce-body) .smBox .wp-block-columns {
  padding-right: 0;
  padding-left: 0;
}

.wp-block-columns > .wp-block-column > .wp-block-columns {
  padding-right: 0;
  padding-left: 0;
}

body.wp-singular #article :is(.post_content, .post_content .tcdce-body) p,
body.wp-singular #article :is(.post_content, .post_content .tcdce-body) ul.wp-block-list {
  padding-right: 0;
  padding-left: 0;
}

.wp-block-columns > .wp-block-column h1:first-of-type, .wp-block-columns > .wp-block-column h2:first-of-type, .wp-block-columns > .wp-block-column h3:first-of-type, .wp-block-columns > .wp-block-column h4:first-of-type, .wp-block-columns > .wp-block-column h5:first-of-type, .wp-block-columns > .wp-block-column h6:first-of-type {
  margin-top: 0;
}

.post_content .aligncenter {
  margin: auto;
}

/*-------------------------------------------------
診療案内ページ > ワクチン・予防接種ページ
-------------------------------------------------*/
.post_content .vaccine--list .wp-block-columns {
  margin-top: 20px;
}
.post_content .vaccine--list .wp-block-buttons {
  margin: 0;
}
.post_content .vaccine--list .wp-block-buttons:not(:first-of-type) {
  margin-top: 10px;
}
@media screen and (max-width: 768px) {
  .post_content .vaccine--filaria-img {
    max-width: 250px;
    margin-right: auto;
    margin-left: auto;
  }
}
@media screen and (max-width: 768px) {
  .post_content .vaccine--rabies-img {
    max-width: 250px;
    margin-right: auto;
    margin-left: auto;
  }
}
@media screen and (max-width: 768px) {
  .post_content .vaccine--tick-img {
    max-width: 250px;
    margin-right: auto;
    margin-left: auto;
  }
}

/*-------------------------------------------------
よくある質問ページ
-------------------------------------------------*/
@media screen and (max-width: 1024px) {
  #category_sort_button ol li:last-of-type {
    border-top: 1px solid #ddd;
  }
}

@media screen and (max-width: 768px) {
  #faq_content_list .faq_content {
    border-top: 0;
  }
}
#faq_content_list .faq_list {
  margin-bottom: 5px;
}
#faq_content_list .faq_list .desc_area .desc {
  background: #f9ede0;
}
#faq_content_list .faq_list .desc_area .desc img {
  max-width: 100%;
}

/*-------------------------------------------------
記事ページ
-------------------------------------------------*/
body.wp-singular #article .wp-block-image {
  margin-top: 40px;
}

/*-------------------------------------------------
サイドボタン
-------------------------------------------------*/
#side_icon_button .item span {
  color: #fff;
}

/*-------------------------------------------------
フッター
-------------------------------------------------*/
@media screen and (max-width: 768px) {
  #footer_banner {
    max-width: 95%;
    margin: 70px auto 0;
  }
}

#footer_info_area {
  background: #ff8d06;
}
#footer_info_area p,
#footer_info_area td {
  color: #fff;
}
#footer_info_area p {
  margin-bottom: 0;
}
#footer_info_area p:not(:first-of-type) {
  margin-top: 5px;
}

#footer_info2 .sc_schedule {
  margin-bottom: 20px;
}
#footer_info2 p {
  padding-right: 0;
  padding-left: 0;
  font-size: 14px;
}

.p-footer-bar--type4 {
  background: #ff8d06;
}

.p-footer-bar__item {
  border-right: 1px solid #fff;
}
.p-footer-bar__item:last-of-type {
  border-right: none;
}

/*-------------------------------------------------
余白
-------------------------------------------------*/
.mt--0 {
  margin-top: 0 !important;
}

.p--0 {
  padding: 0 !important;
}

/*-------------------------------------------------
デバイス
-------------------------------------------------*/
@media screen and (min-width: 1181px) {
  .pc_off {
    display: none !important;
  }
}

@media screen and (max-width: 1180px) and (min-width: 769px) {
  .tab_off {
    display: none !important;
  }
}

@media screen and (max-width: 768px) {
  .sp_off {
    display: none !important;
  }
}