@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.2
*/

/************************************
** 共通
************************************/
.article h2 {
  background-color: #86b71b;
  border-radius: 5px;
  color: #fff;
}
.article h3 {
  padding: 1rem 2rem;
  border-left: 5px solid #86b71b;
  background: #f4f4f4;
}
/* インライン化 */
.inline {
  display: inline-block;
}
/* スマホだけ表示する改行 */
.sp_br {
  display: none;
}

/************************************
** 余白
************************************/
/* コースではトップの余白を0 */
body.single-course {
	margin-top: 0;
}

/************************************
** パーツ
************************************/

/* なぜ最短で根本改善へと向かうのか？ */
.article h2.center.nobackground {
  background-color: initial;
  color: initial;
  text-align: center;
}

/* ヘッダー */
#header-container {
  background-image: url(http://renewal.sakonyuki103.com/wp-content/uploads/2020/11/rodion-kutsaev-hv0NXDd_Jww-unsplash-min-1.jpg);
  background-size: cover;

  -moz-box-shadow: 0px 5px 25px -3px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0px 5px 25px -3px rgba(0, 0, 0, 0.2);
  -ms-box-shadow: 0px 5px 25px -3px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 5px 25px -3px rgba(0, 0, 0, 0.2);
}
#header-in {
  position: relative;
}
/* トップメニュー */
#navi {
  background: #ffffff00;
  /* border-bottom: 2px solid #40200c50; */
}
#navi .item-label {
  color: #40200cb0;
  text-shadow: 0 0 1px #40200c88;
}
#navi .item-label:hover {
  background: #ffffff00;
  opacity: 0.7;
}

/* ヘッダー追加コンテンツ */
.add-header-contents {
  position: absolute;
  top: 0;
  right: 0;
}

/* サイドバー, メイン背景色 */
.main,
.sidebar {
  background-color: #f8f6f3;
}

/* サイドバーメニュー */
.sidebar .widget_new_entries,
.sidebar .widget_nav_menu {
  margin-bottom: 1.6rem;
  background-color: #fff;
  border: 1px solid #86b71b; /*#ff8017; #614532;*/
  border-radius: 5px;
  font-weight: 400;
}
.sidebar .widget-sidebar-title.widget-title,
.sidebar .widget_nav_menu .widget-title {
  margin: 0;
  /* background-color:#614532; */
  border-radius: 5px 5px 0 0;
  font-weight: 700;
  color: #86b71b; /*#fff*/
}
.widget-sidebar-title {
  text-align: center;
}
.sidebar .menu {
  padding: 0.7em;
}
.sidebar .menu-item:not(:last-child) {
  border-bottom: 2px dotted #ccc;
}
.sidebar .menu-item a::before {
  padding: 0 0.5em;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f0a9"; /*"\f0da";*/
  color: #ebb30d;
}

/* タイトル（「コース」ページではタイトルを非表示） */
.single-course .entry-title {
	display: none;
}

/* SNSフォローボタン */
.sns-follow {
  margin: 1rem 0 5rem 0;
  padding: 0;
  list-style-type: none;
  text-align: center;
}
.sns-follow li {
  display: inline-block;
  font-size: 1.5rem;
}
.sns-follow .fa-instagram {
  color: #c6529a;
}
.sns-follow .fa-facebook-square {
  color: #3b5998;
}

/* モバイル向け記事トップメニュー */
ul.mobile-menu {
  margin: auto;
  padding: 0;
  list-style-type: none;
  text-align: center;
}
ul.mobile-menu li {
  display: inline;
  margin: auto;
}
ul.mobile-menu img {
 width: 76px;
 height: 76px;
}

/*フロント固定ページのタイトルを非表示*/
.home.page .entry-title {
  display: none;
}

/* ロゴは左寄せ */
.logo {
  text-align: left;
}

/* アピール画像 */
#appeal {
  height: calc(100vw * 0.45);
  max-height: 500px;
  background-size: contain;
}
.n2-section-smartslider {
  margin-bottom: 24px;
}

/* 医療関係者 */
.recommend {
  display: grid;
  grid-template-columns: 25% 25% 25% 25%;
  grid-template-rows: 6em 6em;
  margin-bottom: 1.7rem;
}
.recommend .recommend-profession {
  grid-column: 1 / 4;
  grid-row: 1 / 2;
  height: 100%;
  margin: 0;
  border: initial;
  background-color: #86b71b;
  font-size: 1.8rem;
  color: #fff;
  line-height: 2.5em;
}
.recommend .recommend-name {
  grid-column: 1 / 4;
  grid-row: 2 / 3;
  height: 100%;
  margin: 0;
  border: initial;
  background-color: #daf08c;
  font-size: 1.6rem;
  line-height: 2.5em;
}
.recommend .recommend-photo {
  grid-column: 4 / 5;
  grid-row: 1 / 3;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.recommend .recommend-comment {
  grid-column: 1 / 5;
  grid-row: 3 / 4;
  grid-auto-rows: 1em;
  margin-top: 1rem;
}

/* 診療時間 */
figure.wp-block-table.consultation-hours table {
  width: 100%;
  background-color: #fff;
  border-collapse: collapse;
  border: 1px solid #cccccc;
}
figure.wp-block-table.consultation-hours table th {
  border-width: 1px 0px;
  border-style: solid;
  border-color: #cccccc;
}
figure.wp-block-table.consultation-hours table td {
  border-width: 1px 0px;
  border-style: solid;
  border-color: #cccccc;
}

/* 院情報(サイドバー) */
.store_info {
  border: double 3px #cccccc;
  padding: 0.5rem;
  background: #fff;
}

/* 院長ブログ */
.widget-entry-cards figure {
  width: 80px;
  height: 80px;
}
.widget_new_entries img {
  width: 80px;
  height: 80px;
  object-fit: cover;
}
.widget-entry-card-content {
  margin-left: 88px;
}

/* このような症状でお悩みではありませんか */
.patient-worries .wp-block-cocoon-blocks-iconlist-box {
  margin: 0;
  padding: 0;
}
.patient-worries li::before {
  color: #ebb30d;
}
.patient-worries h4 {
  margin: 1em 0 1em;
}
/* フローチャート */
.article .flow-vertical {
  list-style-type: none;
  counter-reset: index;
  padding-left: 0;
}
.article .flow-vertical li {
  position: relative;
  margin-bottom: 2em;
  padding: 0.8em 0.8em 0.8em 4em;
  background-color: #ffeb6bda;
  font-size: 1.2em;
  font-weight: 500;
  vertical-align: center;
  z-index: 100;
}
.article .flow-vertical li::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 3em;
  height: 100%;
  counter-increment: index;
  content: counter(index);
  background: #ffcd30;
  text-align: center;
  vertical-align: middle;
  line-height: 3.2em;
  font-size: 1.2em;
  z-index: 101;
}
.article .flow-vertical li:not(:last-child)::after {
  position: absolute;
  top: 100%;
  left: 50%;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f103";
}
.article .flow-vertical li:last-child {
  /* background-color: #86b71b77; */
  background-color: #ff89c4b7;
}
.article .flow-vertical li:last-child::before {
  background: #ff52a8;
}

/* 特徴 */
.ability-card {
  position: relative;
  background-color: #ffeb6b;
}
.ability-card .caption-box-label {
  background-color: #ffeb6b;
}
.ability-card .caption-box-label-text {
  padding: 0.5em 0 0 1.5em;
  font-size: 1.8em;
  font-weight: 600;
}

.ability-card::before {
  content: "";
  top: 0;
  left: 0;
  border-bottom: 5em solid transparent;
  border-left: 5em solid #ffcd30;
  position: absolute;
  z-index: 100;
}
.ability-card.no-1::after {
  position: absolute;
  display: block;
  top: 0.2em;
  left: 0.5em;
  content: "1";
  font-size: 1.8em;
  font-weight: 600;
  color: #fff;
  z-index: 101;
}
.ability-card.no-2::after {
  position: absolute;
  display: block;
  top: 0.2em;
  left: 0.5em;
  content: "2";
  font-size: 1.8em;
  font-weight: 600;
  color: #fff;
  z-index: 101;
}
.ability-card.no-3::after {
  position: absolute;
  display: block;
  top: 0.2em;
  left: 0.5em;
  content: "3";
  font-size: 1.8em;
  font-weight: 600;
  color: #fff;
  z-index: 101;
}
.ability-card.no-4::after {
  position: absolute;
  display: block;
  top: 0.2em;
  left: 0.5em;
  content: "4";
  font-size: 1.8em;
  font-weight: 600;
  color: #fff;
  z-index: 101;
}
.ability-card.no-5::after {
  position: absolute;
  display: block;
  top: 0.2em;
  left: 0.5em;
  content: "5";
  font-size: 1.8em;
  font-weight: 600;
  color: #fff;
  z-index: 101;
}
/* ポイント */
ol.point {
  counter-reset: number; /*数字をリセット*/
  list-style-type: none !important; /*数字を一旦消す*/
  padding: 0.3em 0.2em;
  border: solid 2px #ffb107;
  border-radius: 5px;
  background: #fff8df;
}
ol.point > li {
  border-bottom: dashed 1px orange;
  position: relative;
  padding: 0.5em 0.5em 0.5em 30px;
  line-height: 1.5em;
  font-size: 1.1em;
}
ol.point > li:before {
  /* 以下数字をつける */
  position: absolute;
  counter-increment: number;
  content: counter(number);
  /*数字のデザイン変える*/
  display: inline-block;
  background: #ffb107;
  color: white;
  font-family: "Avenir", "Arial Black", "Arial", sans-serif;
  font-weight: bold;
  font-size: 15px;
  border-radius: 50%;
  left: 0;
  width: 25px;
  height: 25px;
  line-height: 25px;
  text-align: center;
  /*以下 上下中央寄せのため*/
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
ol.point > li:last-of-type {
  border-bottom: none;
}
ol.point > li > ul,
ol.point > li > ol {
  padding: 0.3em 0.5em;
}
ol.point > li > ul > li,
ol.point > li > ol > li {
  list-style-type: none;
  font-size: 0.8em;
}

/* 表 */
.article table {
  background-color: #fff;
  border-collapse: collapse;
  border: 1px solid #ccc;
}
.article table th {
  border-width: 1px 0px;
  border-style: solid;
  border-color: #ccc;
}
.article table td {
  border-width: 1px 1px;
  border-style: solid;
  border-color: #ccc;
}

/* 私にお任せください */
.wp-block-media-text.leave_it_to_me .wp-block-media-text__content {
  padding: 0;
  font-size: 1.1em;
}

/* 吹き出し(上) */
.arrow_box-up {
  position: relative;
  border: 1px solid #ebb30d;
  border-radius: 8px;
  padding: 1em;
  background: #fff3cd;
}
.arrow_box-up::before {
  top: -36px;
  right: 12.5%;
  border: solid transparent;
  content: "";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-color: #fff3cd00;
  border-bottom-color: #ebb30d;
  border-width: 18px;
  margin-left: -18px;
  z-index: 2;
}
.arrow_box-up::after {
  top: -35px;
  right: 12.5%;
  border: solid transparent;
  content: "";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-color: #fff3cd00;
  border-bottom-color: #fff3cd;
  border-width: 18px;
  margin-left: -18px;
  z-index: 2;
}

/* 吹き出し(左／上切り替え) */
.arrow_box-switch {
  position: relative;
  border-radius: 8px;
  padding: 1em;
  background: #ebb30d;
}
.arrow_box-switch:after {
  right: 100%;
  top: 50%;
  border: solid transparent;
  content: "";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-color: rgba(255, 241, 196, 0);
  border-right-color: #ebb30d;
  border-width: 18px;
  margin-top: -18px;
}

/* モバイルフッターボタン共通 */
.mobile-footer-menu-buttons .menu-button {
  display: inline-block;
}

.mobile-footer-menu-buttons .menu-button > a {
  margin: 0.2rem 0.2rem;
  color: #fff;
  font-weight: 900;
  text-align: center;
}
.mobile-footer-menu-buttons .menu-icon,
.mobile-footer-menu-buttons .menu-caption {
  width: auto;
  display: inline-block;
}
.mobile-footer-menu-buttons .menu-caption {
  font-size: 0.9rem;
}
.mobile-footer-menu-buttons .menu-caption i {
  position: absolute;
  top: calc(50% - 0.5em);
  left: 0.5rem;
  font-size: 1.3rem;
}
/* モバイルフッターボタン(電話) */
.mobile-footer-menu-buttons li:nth-child(1) a {
  background-color: #ebb30d;
  /* border-radius: 100vh; */
  line-height: 23px;
}
/* モバイルフッターボタン(LINE) */
.mobile-footer-menu-buttons li:nth-child(2) a {
  background-color: #02b902;
  color: #fff;
  /* border-radius: 100vh; */
  line-height: 44px;
}
.mobile-footer-menu-buttons li:nth-child(2) img.line {
  position: absolute;
  top: calc(50% - 1em);
  left: 0.5rem;
  width: 2rem;
  height: 2rem;
  margin: 0;
  padding: 0;
  background-color: #02b902;
}

/* Q and A */
.q_and_a {
  /* width:650px; */
  /* margin:80px; */
  line-height: 1.8em;
  /* font-size: 1.4em; */
  overflow: hidden;
  /* _zoom: 1; */
}
.q_and_a .answer-2,
.q_and_a .question-2 {
  text-indent: -2.3em;
  padding: 0 0 0 2em;
}
.q_and_a .question-2 {
  margin: 1em 1em 0 0;
  font-weight: 700;
}
.q_and_a .answer-2:first-letter,
.q_and_a .question-2:first-letter {
  /* font-size: 1.6em; */
  font-weight: bold;
  margin-right: 0.5em;
  padding: 0.5em;
  /* font-family: "Nunito", sans-serif; */
}
.q_and_a .answer-2 {
  margin: 0.5em 0 0 1.8em;
  padding-bottom: 1em;
  background-color: #fafbfc;
  border: 1px solid #ccc;
  /* border-bottom: 1px #000 dotted; */
}
.q_and_a .question-2:first-letter {
  color: #0f78e1;
}
.q_and_a .answer-2:first-letter {
  color: #ff6767;
}

/*
 * ボタン
 */
.btn,
a.btn,
button.btn {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 2rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #86b71b;
  border-radius: 0.5rem;
}
.btn-wrap {
  margin: 30px 0;
  text-align: center;
}
/* Read more */
a.btn-border {
  border: 2px solid #86b71b;
  border-radius: 0;
  background: #fff;
  font-size: 1rem;
}
a.btn-border:hover {
  color: #fff;
  background: #86b71b;
}
/* 電話でキャンペーンの予約 */
a.btn-c {
  font-size: 1.4rem;
  position: relative;
  padding: 0.25rem 1rem 1rem 1rem;
  color: #fff;
  background: #e94919;
  -webkit-box-shadow: 0 5px 0 #d44114;
  box-shadow: 0 5px 0 #d44114;
}
a.btn-c span {
  font-size: 0.8rem;
  position: absolute;
  top: -0.75rem;
  left: calc(50% - 150px);
  display: block;
  width: 300px;
  padding: 0.1rem;
  color: #d44114;
  border: 2px solid #d44114;
  border-radius: 100vh;
  background: #fff;
  -webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
}
a.btn-c span:before,
a.btn-c span:after {
  position: absolute;
  left: calc(50% - 10px);
  content: "";
}
a.btn-c span:before {
  bottom: -10px;
  border-width: 10px 10px 0 10px;
  border-style: solid;
  border-color: #d44114 transparent transparent transparent;
}
a.btn-c span:after {
  bottom: -7px;
  border-width: 10px 10px 0 10px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}
a.btn-c i {
  margin-right: 1rem;
}
a.btn-c:hover {
  -webkit-transform: translate(0, 3px);
  transform: translate(0, 3px);
  color: #fff;
  background: #eb5b30;
  -webkit-box-shadow: 0 2px 0 #d44114;
  box-shadow: 0 2px 0 #d44114;
}
/* LINEで予約ボタン */
a.btn.line {
  padding: 1rem;
  background: #00b900;
  color: #fff;
  font-size: 1.4rem;
}
a.btn.line img {
  width: 2.2rem;
  height: 2.2rem;
  margin-right: 2.2rem;
  vertical-align: middle;
}

/* LINE */
.line {
  margin: 0;
  border-radius: 5px;
  padding: 1.5rem;
  background: #00b900;
  color: #fff;
}
.line h1,
.line h2,
.line h3,
.line h4 {
  margin: 1.5rem 0 0 0;
  padding: 0;
  border: initial;
  background: initial;
}
.line h2 {
  font-size: 2rem;
}
.line p {
  padding: 0;
}
.line .friend_button {
  border: 1px solid #fff;
  border-radius: 10px;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/* PCのみ表示 */
.is-pc {
  display: block;
}
/* モバイルのみ表示 */
.is-mobile {
  display: none;
}

/*1023px以下*/
@media screen and (max-width: 1023px) {
}

/*834px以下*/
@media screen and (max-width: 834px) {
  /* PCのみ表示 */
  .is-pc {
    display: none;
  }
  /* モバイルのみ表示 */
  .is-mobile {
    display: block;
  }
  /* PCヘッダー非表示 */
  #header-in {
    display: none;
  }
  /* ロゴ横領域はタブレット以下では表示しない */
  .add-header-contents {
    display: none;
  }
}

/*600px以下*/
@media screen and (max-width: 600px) {
  /* 医療関係者からの推薦 */
  .recommend {
    grid-template-columns: 25% 20% 20% 40%;
  }
  /* 吹き出し(左／上切り替え) */
  .arrow_box-switch {
    position: relative;
    border-radius: 8px;
    padding: 1em;
    background: #ebb30d;
  }
  .arrow_box-switch:after {
    top: -18px;
    left: 50%;
    border: solid transparent;
    content: "";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(255, 241, 196, 0);
    border-bottom-color: #ebb30d;
    border-width: 18px;
    margin-left: -18px;
  }
}

/*480px以下*/
@media screen and (max-width: 480px) {
  /* 2カラムパディング削除 */
  .container .column-wrap > div {
    padding: 0;
  }
  /* スマホだけ特別改行を表示する */
  .sp_br {
    display: inline;
  }
  /* フローチャート */
  .article .flow-vertical li {
    margin-bottom: 2em;
    padding: 0.5em 0.3em 0.5em 2.5em;
  }
  .article .flow-vertical li::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 2em;
    height: 100%;
    counter-increment: index;
    content: counter(index);
    background: #ffcd30;
    text-align: center;
    vertical-align: middle;
    line-height: 3em;
    font-size: 1em;
    z-index: 101;
  }
	
	/* スマホだけ全幅表示(画像, YouTube) */
	.wp-block-image.sp_fullwidth img,
	.wp-block-embed-youtube.sp_fullwidth {
		width: 100vw;
		max-width: 100vw;
		margin-left: calc(((100vw - 100%) / 2)* -1);
		margin-right: calc(((100vw - 100%) / 2)* -1);
	}
	/* スマホだけ全幅表示(リンクのついた画像の場合、リンクのdisplayをblockに変更) */
	.wp-block-image.sp_fullwidth a:has(img) {
		display: block;
	}
}

/* Googleマップ */
.gmaps {
  position: relative;
  padding-bottom: 75%;
  height: 0;
  overflow: hidden;
}
.gmaps iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}
