@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
@import url("https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600;700&family=Open+Sans:wght@300;400;500;700&display=swap");

:root {
  --color-text: #151515;
  --color-text-link: #03a9f4;
  --color-text-second: #7b7b7b;
  --color-primary: #151515 !important;
  --color-secondary: #14126f !important;
  --color-background: #fafafa;
  --color-border: #d8d8d8;
  --color-white: #fff;
  --color-body: #fffdf8;
  --color-main_table: #038abf;
  --color-main_litest: #effbfe;
  --color-main_liter: #d6f4fe;
  --color-main_lite: #8be0fd;
  --color-main: #039fd2;
  --color-main_dark: #028bb4;
  --color-main_darker: #02779b;
  --color-main_darkest: #014055;

  /* --theme-color-lightest: #fbe4eb;
  --theme-color-lighter: #ee8aa8;
  --theme-color-light: #e44877;
  --theme-color: #de1f57;
  --theme-color-dark: #ae1845;
  --theme-color-darker: #811233;
  --theme-color-darkest: #540c21;

  --theme-color-pair-lightest: #dcf5fe;
  --theme-color-pair-lighter: #46cafb;
  --theme-color-pair-light: #04b1ef;
  --theme-color-pair: #038abf;
  --theme-color-pair-dark: #02678b;
  --theme-color-pair-darker: #014259;
  --theme-color-pair-darkest: #013040;
  --theme-color-gray: #e5e4e6;
  */
}

/* -------------------- 共通ルール ------------------------ */
#header,
#header-container:not(.fixed-header) .header-in,
body:not(.single) header.article-header,
body:not(.single) footer.article-footer,
.site-name-text,
.post-update,
.breadcrumb-item .fa-folder,
.breadcrumb-item .fa-file,
.breadcrumb-item .fa-file-o,
.footer-meta {
  display: none;
}

body {
  text-align: justify;
  text-justify: inter-ideograph;
  overflow-x: hidden;
}

/*カラム背景色*/
body,
.main,
.sidebar,
.footer {
  background-color: white;
}

.main {
  padding: 0 29px;
}

.content {
  margin-top: 0;
}

.clear-fix::after {
  clear: both;
}

.d-none {
  display: none;
}

.w-800 {
  max-width: 800px;
}

.w-700 {
  max-width: 700px;
}

.w-600 {
  max-width: 600px;
}

.w-500 {
  max-width: 500px;
}

.block-center {
  display: block;
  margin: 0 auto;
}

.grid-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.d-flex {
  display: flex;
}

.flex-column {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.flex-row-reverse {
  flex-direction: row-reverse;
}

.gap-1 {
  gap: 10px;
}

.gap-2 {
  gap: 15px;
}

.gap-3 {
  gap: 20px;
}

.d-grid {
  display: flex;
}

.flex-center {
  place-items: center;
  place-content: center;
}

/* 見出し リセット */
.article h1,
.article h2,
.article h3,
.article h4,
.article h5,
.article h6,
.sidebar h1,
.sidebar h2,
.sidebar h3,
.sidebar h4,
.sidebar h5,
.sidebar h6 {
  margin-top: 3rem;
  margin-bottom: 1rem;
  font-weight: normal;
  color: #333;
  border-radius: initial;
  background: none;
  border: none;
}

/* サイドバー */
aside .info-list-item-content-link {
  font-weight: bold;
}

/* サイドバー内ウィジェット
治療方針と実績 */
aside#custom_html-2 {
  display: none;
}

/* 治療方針と実績ページでは 新着情報を非表示 */
body.policy-and-achievements aside#info_list-2 {
  /* display: none;*/
}

a body.single .article h1 {
  border-left: 6px solid var(--color-main_darker);
  padding-left: 8px;
  font-weight: bold;
  line-height: 2;
}

body.single .article h2 {
  border-left: 3px solid var(--color-main_darker);
  padding: 8px 12px 0;
  font-weight: bold;
  line-height: 1.5;
}

.article .before-v-bar {
  position: relative;
  padding-top: 0;
  margin-top: 7rem;
}

.before-v-bar::before {
  content: "";
  width: 1px;
  height: 50px;
  background: #aaa;
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  margin: 0 auto 0;
}

p.catch-text {
  color: var(--color-main_dark);
  font-size: 1.4rem;
}

.catch_en {
  display: block;
  font-size: 1rem;
  color: var(--color-main_dark);
}

.catch_jp {
  font-family: "リュウミン R-KL" !important;
  font-size: 2.1rem;
  color: #333;
  margin-top: 20px;
}

.desc {
  font-size: 0.95rem;
}

.border-gray {
  border: 1px solid gray;
}

.border-radius {
  border-radius: 10px;
}

.heading-top {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.button {
  display: inline-block;
  min-width: 280px;
  min-height: 60px;
  margin: 30px auto;
  padding: 15px 10px;
  text-decoration: none;
  color: #fff;
  text-align: center;
  background-color: var(--color-main);
  transition-timing-function: cubic-bezier(0.17, 0.84, 0.44, 1);
  transition-duration: 0.5s;
  transition-property: background-color;
}

.button:hover {
  background-color: var(--color-main_dark);
  color: white;
}

a[href$=".pdf"]::before {
  font-family: "Font Awesome 5 Free";
  content: "\f1c1";
  font-size: 1.2rem;
  margin-right: 8px;
  display: inline-block;
}

.rich_font {
  font-family: "リュウミン R-KL" !important;
}

.rich_font_bold {
  font-family: "リュウミン B-KL" !important;
}

.text-center {
  text-align: center;
}

.text-justify {
  text-align: justify;
}

.align-center {
  margin: 0 auto;
}

.text-shadow {
  text-shadow: 0 0 7px black;
}

.sp_show {
  display: none;
}

.text-red {
  color: #ae1845;
}

.bold-red {
  color: #811233;
  font-weight: bold;
}

.full-wide {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  padding: 0;
  margin: 0 -50vw;
  background-repeat: no-repeat;
  background-position: center center;
}

/* h1 ~ h6 装飾 */
.catch_en {
  display: block;
  font-size: 1rem;
  color: var(--color-main_dark);
}

.catch_jp {
  font-size: 2rem;
  color: #333;
}

/* 本文リストを"Font Awesome 5 Free"で飾る */
ul {
  list-style: none;
  padding-left: 1em;
}

ul li::before {
  font-family: "Font Awesome 5 Free";
  font-weight: bold;
  margin-right: 3px;
  color: var(--color-main);
}

ul.check-circle li::before {
  content: "\f058";
  /* アイコンのunicode */
}

ul.check-circle li {
  padding-left: 1em;
  text-indent: -1.1em;
}

/*丸付きナンバーリスト*/
ol.num-list {
  counter-reset: item;
  list-style-type: none;
  padding-left: 0;
}

ol.num-list li {
  margin: 1em 0;
  padding-left: 2.6rem;
  text-indent: -1.9rem;
}

ol.num-list>li::before {
  counter-increment: item;
  content: counter(item) "";
  display: inline-block;
  width: 22px;
  height: 22px;
  line-height: 22px;
  font-size: 16px;
  text-align: center;
  text-indent: 0;
  background: var(--color-main);
  color: white;
  border-radius: 50%;
  margin-right: 0.5em;
}

/* グリッドボックス */
.home .grid-box {
  display: flex;
  gap: 20px;
}

.about .grid-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid-box * {
  flex: 1;
  box-sizing: border-box;
  transition: all 0.35s ease;
}

.grid-box .grid-item {
  position: relative;
  width: auto;
  height: auto;
  overflow: hidden;
  color: #000000;
  background-image: linear-gradient(to bottom, #ffffff 0%, #000000 70%);
}

.grid-box .square-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 正円トリミング */
.circle {
  border-radius: 50%;
}

/* 補足　注意　参考　ポイント */
.hosoku-box {
  position: relative;
  padding: 0.6rem;
  margin: 3rem 0 1rem 0;
  text-indent: 0;
  font-size: 0.9rem;
  line-height: 1.5rem;
  border-radius: 0 0 40px 15px / 0 0 40px 15px;
}

.hosoku-box::after {
  position: absolute;
  font-family: "Font Awesome 5 Free";
  font-weight: bold;
  color: #fff;
  left: 0px;
  bottom: 100%;
  border-radius: 5px 5px 0 0;
  padding: 0.4em 1em 0.4em 0.8em;
  font-size: 0.8rem;
  line-height: 1;
  letter-spacing: 0.05em;
}

.attention,
.shokuiku {
  border-top: solid 2px #a13131;
  background: #ffdede;
}

.attention::after {
  content: "\f06a\ ご注意";
  background: #db4a4a;
}

.shokuiku::after {
  content: "\f06a\ 食育のすすめ";
  background: #db4a4a;
}

.point {
  border-top: solid 2px #ff5b0f;
  background: #ffedde;
}

.point::after {
  content: "\f058\ POINT";
  background: #ff7d49;
}

.hosoku {
  border-top: solid 2px #80c8d1;
  background: #d4f1e9;
}

.hosoku::after {
  content: "\f0eb\ 補足";
  background: #80c8d1;
}

.sanko {
  border-top: solid 2px #363f9e;
  background: #e1ecfc;
}

.sanko::after {
  content: "\f02d\ 参考";
  background: #3558ca;
}

.drop-shadow {
  filter: drop-shadow(2px 2px 2px rgb(0, 0, 0, 0.25));
}

/* ヘッダー（テキスト）jsでページ最上部に移動 */
#header .tagline {
  font-weight: bold;
  margin: 4px 0;
  color: white;
}

/* ナビ メニュー -------------------------------------*/

#navi {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  font-family: Jost;
  font-weight: 300;
  z-index: 99;
}

body:not(.home).page.is-header-fixed #navi {
  box-shadow: 0 1px 2px -1px rgba(0, 0, 0, 0.1), 0 3px 4px 0 rgba(0, 0, 0, 0.1),
    0 1px 10px 0 rgba(0, 0, 0, 0.1);
}

.home #navi {
  background-color: transparent !important;
}

.is-header-fixed .header-container {
  height: 60px;
}

.header-container-in .header {
  z-index: 6;
}

.header-container-in.hlt-top-menu.wrap {
  margin: 0;
}

.header-container-in.hlt-top-menu .logo-header img {
  position: relative;
  max-width: 40px;
  max-height: 40px;
}

.fixed-header #navi,
body:not(.home) #navi {
  transition: all 0.3s ease 0s, background-color 0.3s ease 0.2s;
}

#navi i {
  opacity: 0.7;
}

#header-container .navi.hide {
  transform: translateY(-100%);
}

#navi .navi-in a,
.navi-footer-in a {
  color: white;
  transition: 1s linear;
}

#navi .navi-in>ul>li>a {
  padding: 0 1em;
}

.navi-in>ul .sub-menu a {
  color: black !important;
  border-bottom: 1px solid var(--color-main_lite);
}

body:not(.home) .navi a,
.fixed-header .navi-in a {
  color: #333 !important;
}

#navi .navi-in a:hover,
#navi-footer .navi-footer-in a:hover {
  font-weight: 500;
  color: white !important;
  background-color: var(--color-main_dark) !important;
  transition: 0.5s ease-in-out;
}

#navi a:hover i,
.navi-footer-in a:hover i {
  color: white;
  opacity: 0.9;
}

/* サイトトップのみ HOME ボタン非表示
サブメニュー(ul.sub-menu)は非表示にしない */
.home .navi-in>ul.menu-top>li:first-child {
  display: none;
}

/* 現在の URL からメニューをハイライト */
/* active クラスは js にて設定 */
body:not(.home) #navi .navi-in a.active {
  background-color: var(--color-main_lighter);
  /*テーマカラーより若干濃く*/
}

.menu-content {
  max-width: 180px;
}

/* footer ---------------------------------------------*/
#footer {
  margin-top: 0;
  padding: 0;
  background-color: var(--color-main_darker);
}

.footer-bottom {
  padding: 0;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin: 24px -50vw 0;
}

.navi-footer {
  background-color: var(--color-main);
}

#footer .copyright {
  color: white;
  padding: 18px 0;
  margin: 0;
}

#footer li {
  margin: 18px 0;
}

#footer a {
  color: white;
  padding: 0 20px;
  transition: 0.5s linear;
}

#footer a:hover {
  transform: scale(1.1);
}

/* -------------------------- アクセス --------------------------- */
.map {
  position: relative;
  padding-top: 300px;
  height: 450px;
  overflow: hidden;
}

.map iframe {
  position: absolute;
  top: -150px;
  left: 0;
  width: 100%;
  height: calc(100% + 150px + 150px);
  pointer-events: none;
}

.map--gray iframe {
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  filter: grayscale(100%);
}

.balloon-pin {
  position: absolute;
  top: calc(50% - 128px);
  left: calc(50% - 55px);
  display: flex;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background-color: var(--color-main);
  font-weight: bold;
  font-size: 0.9rem;
  color: white;
  z-index: 1;
}

.balloon-pin:after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  left: calc(50% - 10px);
  bottom: -20px;
  border-style: solid;
  border-width: 30px 8px 0 8px;
  border-color: var(--color-main) transparent transparent transparent;
}

/* フッター手前の情報ボックス */
.footer-info-box {
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  font-size: 0.95rem;
  font-family: "新ゴ R";
}

.footer-info-box img.footer_logo {
  width: 13vw;
  height: auto;
  margin-bottom: 3px;
}

.footer-info-box .jp {
  font-family: "M pLUS Rounded 1c";
  font-size: 1.6rem;
  color: #4c3733;
}

.footer-info-box .address {
  font-size: 1rem;
  margin: 15px 0;
}

.badge {
  color: black;
  background-color: var(--color-main_liter);
  font-size: 0.9rem;
  border-radius: 10px;
  padding: 3px 8px;
}

.price,
a.phone {
  font-size: 1.6rem;
  font-family: Jost;
  font-weight: 600;
}

a.phone {
  display: block;
  text-decoration: none;
}

/* 本文内 dl */
/*記事内 dl dt dd*/
.article dl {
  background-color: rgba(0, 153, 204, 0.08);
  /*#0099CC*/
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  border-left: 1px solid #ccc;
  margin: 20px 0;
}

.article dt {
  padding: 20px 15px 0 15px;
  border-top: 1px solid #ccc;
  width: 30%;
  float: left;
}

.article dd {
  padding: 20px 15px 0 20px;
  border-top: 1px solid #ccc;
  background: #fff;
  margin-left: 30%;
  padding-bottom: 15px;
  border-left: 1px solid #ccc;
  text-align: left;
}

.article dd::after {
  content: "";
  display: block;
  clear: both;
}

dl,
dt,
dd {
  box-sizing: border-box;
}

dl {
  width: 100%;
}

dt {
  float: left;
}

/* みるくについて > ご利用料金など */
.use-box dt {
  width: 220px;
}

.use-box dd {
  margin-left: 220px;
}

/* タブ付きボックス */
.bb-nenmatu-sinryo .bb-label::after {
  content: "年末診療";
}

.bb-kyusin .bb-label::after {
  content: "休診";
}

.bb-nensi .bb-label::after {
  content: "年始";
}

.blank-box.bb-purple {
  border-color: #8e5adc;
}

/* 先頭へ戻るボタン */
#go-to-top {
  position: fixed;
  display: none;
  right: 0;
  bottom: 0;
}

.go-to-top-button {
  width: 59px;
  height: 59px;
  color: var(--color-main_liter);
  background-color: var(--color-main_darker);
  border-radius: 0;
  transition: 0.5s ease;
}

.go-to-top-button:hover {
  color: white;
  background-color: var(--color-main);
}


/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
@media (max-width: 1400px) {
  .wrap {
    width: auto;
  }
}

@media screen and (max-width: 1333px) {}

/*1023px以下*/
@media screen and (max-width: 1023px) {

  /* 固定頁先頭 */
  #body_top_box {
    margin-top: 0 !important;
  }

  #header-box #header-text-desc {
    font-size: 2vw;
  }
}

/*834px以下*/
@media screen and (max-width: 834px) {
  #title-box #title {
    font-size: 7vw !important;
  }
}

@media screen and (max-width: 640px) {
  main.main {
    padding: 8px 16px;
  }

  #header-box #header-text-desc {
    font-size: 3vw;
    bottom: 1vw;
  }

  #header-box #header-text-milk::before {
    -webkit-text-stroke: 1px #fff;
  }

  .article h2 .catch_jp {
    font-size: 1.4rem;
  }

  .archive-news {
    line-height: 24px;
  }

  .news-item {
    height: 24px;
    padding: 0 15px;
  }

  .sp_hide {
    display: none;
  }

  .sp_show {
    display: block;
  }

  .sp_justify {
    text-align: justify;
  }

  .no_br {
    text-align: justify;
  }

  .no_br br {
    display: none;
  }

  .home .grid-box {
    gap: 1rem;
  }

  #footer-box .item {
    margin-bottom: 1rem;
  }

  #footer-box .item.mifune {
    margin-top: 2rem;
  }

  #footer-box .box {
    flex-direction: column;
  }

  #footer-box .footer-map {
    width: 100vw !important;
  }

  /* お知らせ */
  .news-item {
    padding: 0 30px !important;
  }
}

/*480px以下*/
@media screen and (max-width: 480px) {
  #header-box .character {
    width: 40px !important;
  }

  .no_br br {
    display: none;
  }

  .content-box .title {
    font-size: 1.1rem !important;
  }

  .content-item-box .content-item {
    padding: 18px !important;
  }

  .article .before-v-bar {
    margin-top: 5rem !important;
  }

  /* お知らせ */
  .news-item {
    padding: 0 20px !important;
  }



  /* Prevent Implant の フロー*/
  ol.layout_step_container {
    padding-left: 0 !important;
  }

  .stepbox {
    padding-left: 6px !important;
  }

  .stepbox::before {
    display: none !important;
  }

  .stepbox ul {
    padding-left: 4px !important;
  }

  .stepbox img {
    max-width: 180px !important;
  }
}