/*
Theme Name: HOLOS Child
Template: holos_tcd108
Description: HOLOS テーマの子テーマ
Version: 1.0.0
*/

/*-----------------------------------
--共通
-----------------------------------*/
.clear {
  clear: both;
}
/*パンくずリスト*/
@media screen and (max-width: 1024px) and (min-width:801px) {
  #bread_crumb {
    margin-bottom: 60px;
  }
}

/*-----------------------------------
--文字装飾
-----------------------------------*/
/*文字を緑（メインカラー）に*/
.font_green {
  color: #0094d8;
}
/*サブタイトル（メインカラーの文字サイズ大きめ）*/
.sub-ttl {
  display: inline-block;
  color: #0094d8;
  font-size: 140%;
}
/*アクセスサブ見出し*/
span.access_traffic {
  display: inline-block;
  margin: 1.5rem 0 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid #0094d8;
  color: #0094d8;
  font-weight: bold;
  line-height: 1.5;
}
/*固定ページのページキャッチ*/
.post_content .page_catch {
  color: #0094d8;
}
.post_content .style2a {
  margin-bottom: 50px !important;
  padding-bottom: 1rem !important;
  color: #0094d8;
  border-bottom: 2px solid #0094d8;
}
.post_content .style2a.under-flow {
  margin-bottom: -60px !important;
}
.post_content .style3b {
  border-top: 3px solid #0094d8;
  color: #0094d8;
}
.post_content .style3a {
  padding-left: 1em !important;
  border-top: 1px solid #0094d8;
  border-bottom: 1px solid #0094d8;
  color: #0094d8;
}
.post_content .style4a {
  border-left: 3px solid #0094d8;
}

/*-----------------------------------
--トップページ
-----------------------------------*/
/*---スライダーのキャッチフレーズ---*/
/*テキストシャド*/
.header_slider_content {
  text-shadow: 1px 1px 4px rgba(0, 0, 0, .6);
}

/*スマホ時のスライダー画像の高さ調整*/
@media screen and (max-width: 782px) {
	#container #header_slider_container {
		height: 400px !important;
	} 
}

/*---チェックボックスのスタイル--*/
.checkbox {
  padding-left: 40px;
}
.checkbox li {
  position: relative;
  margin-bottom: 5px;
  font-size: 18px;
}
.checkbox li::before {
  content: "";
  display: block;
  position: absolute;
  width: 29px;
  height: 29px;
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
  background: url(img/checkbox-i.png) no-repeat;
  background-size: contain;
}

/*---こんなお悩みはありませんか---*/
/*テキスト文*/
p.trouble_lead {
  margin-top: 20px;
}

/*---当院の特徴---*/
/*本文・画像の大枠*/
.feature_contents {
  margin-bottom: 40px;
  line-height: 2;
  overflow: hidden;
}

/*---当院の施術---*/
/*背景を薄緑に*/
#container .cb_blog_list {
  margin: 0 0 100px;
  background: #f8faf8;
}

/*-----------------------------------
--サイドバー
-----------------------------------*/
.widget_content {
  margin-bottom: 0;
}
/*一覧のブロック*/
.wedget_bl {
  margin-bottom: 30px;
  text-align: right;
}
/*一覧のリンク*/
.wedget_bl .widget_link {
  position: relative;
  color: #0094d8;
  font-size: 14px;
  font-weight: bold;
}
.wedget_bl .widget_link::before {
  content: "›";
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  color: #0094d8;
  font-size: 1.2em;
  font-weight: bold;
}
.textwidget .wedget_bl .widget_link:hover {
  opacity: .85;
  text-decoration: none;
}
.textwidget .wedget_bl .widget_link:hover::before {
  opacity: .85;
}
/*---お知らせ---*/
.widget_news_recent_posts .widget_headline {
  margin: 0 0 -1px 0;
  border-radius: 7px 7px 0 0;
}
.widget_news_recent_posts .widget-news-list li {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 15px 20px;
  border: 1px solid #ddd;
  border-bottom: none;
}
.widget_news_recent_posts .widget-news-list li:last-of-type {
  border-bottom: 1px solid #ddd;
}
.widget_news_recent_posts .widget-news-list li a {
  font-size: 14px;
}
/*サイドバー一列で横幅100%*/
@media screen and (max-width: 1000px) {
  #main_content #side_col {
    display: block;
  }
  #main_content #side_col .widget_content {
    width: 100%;
    max-width: 100%;
  }
}

/*-----------------------------------
--フッター
-----------------------------------*/
.time-table {
  margin-bottom: 10px;
}
.time-table th , .time-table td {
  padding: 8px 4px;
  border: 1px solid #ddd;
}
.time-table th {
  background: #FFFAEC;
  color: #0094d8;
}
.time-table td.time_color {
  color: #0094d8;
  font-weight: bold;
}
.time-table td {
  background: #fff;
  color: #000;
  text-align: center;
}


/*電話とお問い合わせボタン*/
#footer .reserve_widget .reserve_button {
  background: linear-gradient(180deg, #f0f0f0, #cfcfcf);
  border: none;
  border-radius: 50px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  color: #0094d8 !important;
  transition: 0.3s;
}
#footer .reserve_widget .reserve_button:hover {
  background: linear-gradient(180deg, #ffffff, #dcdcdc);
}
@media screen and (max-width:1200px){
  .footer_widget_content {
    padding: 50px;
  }
}

/*-----------------------------------
--お知らせ詳細ページ
-----------------------------------*/
/*アイキャッチ画像非表示*/
.single-news #single_post_header .image {
  display: none;
}


/*-----------------------------------
--当院の施術
-----------------------------------*/
/*---チェックボックスのスタイル---*/
.post_content .checkbox2 {
  margin-bottom: 1.5rem;
  margin-left: 0;
	padding-left: 40px;
  list-style-type: none;
}
.post_content .checkbox2 li {
	position: relative;
  margin-bottom: 1rem;
  font-size: 18px;
  line-height: 1.75;
}
.post_content .checkbox2 li::before {
	content: "";
	display: block;
	position: absolute;
  background: url(img/checkbox-i-red.png) no-repeat;
	background-size: contain;
	width: 29px;
	height: 29px;
	left: -40px;
	top: 50%;
	transform: translateY(-50%);
}

/*画像の親のpタグ*/
@media screen and (min-width:801px) {
  .post_content p:has(img) {
    margin-bottom: 0 !important;
  }
}

/*---Q＆Aのスタイル---*/
.post_content .qa_list {
  margin-bottom: 1.5em;
  margin-left: 0;
  padding-bottom: 1em;
  border-bottom: 1px solid #ddd;
  list-style-type: none;
}
.post_content .qa_list:last-child {
  border: none;
}
.post_content .qa_list .question {
  margin-bottom: 1em;
  position: relative;
  padding-left: 2.8rem;
  font-size: 120%;
}
.post_content .qa_list .question::before {
  content: "Q";
  display: flex;
  width: 32px;
  height: 32px;
  position: absolute;
  top: 2px;
  left: 0;
  justify-content: center;
  align-items: center;
  background-color: #0094d8;
  border-radius: 50px;
  color: #fff;
  font-family: "Hiragino Mincho ProN", "游明朝", "Yu Mincho", "MS PMincho", serif;
  font-size: 110%;
  font-weight: bold;
  line-height: 1;
}
.post_content .qa_list .answer {
  position: relative;
  margin-bottom: 10px;
  padding-left: 2.8rem;
}
.post_content .qa_list .answer::before {
  content: "A";
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 2px;
  left: 0;
  width: 32px;
  height: 32px;
  background-color: #c04000;
  border-radius: 50px;
  color: #fff;
  font-family: "Hiragino Mincho ProN", "游明朝", "Yu Mincho", "MS PMincho", serif;
  font-size: 110%;
  font-weight: bold;
  line-height: 1;
}

/*---数字リストのスタイル---*/
.post_content .q_styled_ol li {
  margin-bottom: 2rem;
  line-height: 1.75;
}
.post_content .q_styled_ol li:before {
  margin-top: 0;
  font-size: 20px;
}

/*---料金表---*/
.post_content .fee th {
  width: 50%;
  background: #ebf7eb;
  text-align: left;
}

/*テキストと画像の大枠（レイアウト崩れ防止用）*/
.txtimg_bl {
  overflow: hidden;
}

/*-----------------------------------
--お悩み施術
-----------------------------------*/
.recommend {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.recommend_item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 8px 1rem;
  padding: 10px 14px;
  border-radius: 10px;
  background: #0094d8;
  box-shadow: 0 6px 18px rgba(130, 118, 99, 0.12);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
}
.recommend_item:last-child {
  margin-bottom: 1rem !important;
}
.recommend_item::before {
  content: "✔";
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  color: #0094d8;
  font-size: 12px;
  text-align: center;
  line-height: 20px;
}

/*-----------------------------------
--初めての方へ
-----------------------------------*/
/*---施術の流れ---*/
.page_beginners .flow_list {
  margin: 0 auto 65px;
}
/*---来院ペース---*/
.post_content .table-flow th {
  width: 200px;
  color: #0094d8;
  font-weight: bold !important;
  text-align: left;
}

/*-----------------------------------
--固定ページ
-----------------------------------*/
/*固定ページ本文横幅*/
@media screen and (min-width:1101px) {
  #body #page_contents .post_content {
    width: 1100px;
  }
}

/*-----------------------------------
--スタッフ紹介
-----------------------------------*/
@media screen and (min-width: 800px) {
  .page_staff .design_content_list .content {
    width: calc(70% - 30px);
  }
  .page_staff .design_content_list .image {
    width: calc(30% - 30px);
  }
  .page_staff .design_content_list .image img {
    max-width: 400px;	
  }
}
/*役職名*/
.page_staff .design_content_list .headline {
  margin-bottom: 10px;
}
/*氏名*/
.page_staff .design_content_list .catch {
  line-height: 1.2;
}
/*フリガナ*/
.furigana {
  font-size: 65%;
  font-weight: normal;
}
/*経歴欄*/
.keireki {
  margin-top: 1rem;
  padding: 1rem 1.5rem;
  background: #e7fbff;
  border-radius: 10px;
}
/*文字左写真右で固定*/
.page_staff .design_content_list .item:nth-child(2n) {
  flex-direction: inherit;
}

/*-----------------------------------
--アクセス
-----------------------------------*/
@media screen and (min-width:768px) {
  #body.page_access #page_contents .post_content {
    width: 100%;
  }
  .map {
    padding: 2rem;
    border: 1px solid #ccc;
  }
}
/*埋め込みgoogleマップの高さ調整*/
.map iframe {
  width: 100%;
  height: 450px;
}

@media screen and (max-width: 767px) {
  .map iframe {
    height: 250px;
  }
}

/*-----------------------------------
--よくある質問
-----------------------------------*/
.page_faq .faq_list .desc {
  background: #e7fbff;
}

/*-----------------------------------
--お問い合わせ
-----------------------------------*/
/* 必須フィールドのラベルスタイル */
.wpcf7-form .required {
  position: relative;
  top: -2px;
  margin-right: 8px;
  padding: 4px 6px;
  background-color: #d32f2f;
  border-radius: 3px;
  color: #ffffff;
  font-size: 0.75em;
  font-weight: normal;
}
/*送信ボタン*/
.wpcf7-form input[type="submit"] {
  background-color: #db880d;
}
.wpcf7-form input[type="submit"]:hover {
  background: #f99e17;
}

/*-----------------------------------
--タブレット指定
-----------------------------------*/
@media screen and (max-width:1024px) and (min-width:768px){
  #main_content .post_content .alignright {
    max-width: 300px;
  }
}

@media screen and (max-width:820px){
  /*テーブル*/
  #container .post_content .table-flow {
    margin-bottom: 30px !important;
  }
}

/*-----------------------------------
--スマホ用
-----------------------------------*/
@media screen and (max-width:767px){
  /*---管理画面上でのスマホ時ヘッダー---*/
  body.admin-bar #header {
    top: 0 !important;
  }
  /*--ハンバーガーメニュー--*/
  #bread_crumb li {
    font-size: 12px;
  }
  #container .cb_blog_list {
    margin-bottom: 40px;
  }
  /*---当院の特徴---*/
  .feature_contents img {
    width: 100%;
    float: none;
    margin : 0 0 1em 0 !important;
  }
  /*---こんなお悩みはありませんか？---*/
  .checkbox li {
    margin-bottom: 1rem;
    font-size: 16px;
    line-height: 1.75;
  }
  /*チェックボックス（白）*/
  .checkbox li::before {
    width: 26px;
    height: 26px;
  }
  /*---下層ページチェックボックス---*/
  .post_content .checkbox2 li {
    font-size: 16px;
  }
  /*チェックボックス（赤）*/
  .post_content .checkbox2 li::before {
    width: 26px;
    height: 26px;
  }
  /*右寄寄せ画像*/
  #main_content .post_content .alignright {
    float: none;
    margin: 0 0 1rem 0;
  }
  /*--見出し--*/
  .post_content .style2a {
    margin-bottom: 30px !important;
  }
  /*--初めての方へ--*/
  .flow_list .headline {
    line-height: 2;
  }
}