/*
Theme Name: Subaru2017
Author: masakazu yamasaki
*/

.vl{ display: none; }.site_option{ width: initial; }

.page_subaru .content_sub_nav ul li ul li a{ padding-left: 1rem; background: var(--wp--preset--color--primary) ; line-height: 1; }
.page_subaru #main_visual_page{ background: var(--wp--preset--color--primary-lighten); }
 #main_visual_page h1{ color:#fff; }
.page_subaru .content_sub_nav{ background: var(--wp--preset--color--primary-lighten); }
.page_subaru .bx-wrapper .bx-pager.bx-default-pager a{ background: var(--wp--preset--color--primary-lighten); }
.page_subaru .bx-wrapper .bx-pager.bx-default-pager a:hover, .page_subaru .bx-wrapper .bx-pager.bx-default-pager a.active
{ background: var(--wp--preset--color--primary); }
.page_subaru .bx-caption{ background: var(--wp--preset--color--primary-lighten); color:#fff; padding: 0.4rem; box-sizing: border-box; }
.page_subaru .greeting{ background: #ffaff8; width: 860px; height: 240px; display: flex;font-size: 16px;
 line-height: 160%; margin:3rem 0 0 0; }
.page_subaru .greeting_text{ width: 620px; }
.page_subaru .greeting_photo img{ position: absolute; left: 0; bottom: 0; }
.box_greeding_photo { float: right; margin-left: 2rem; }
.box01 { font-size: 90%; line-height: 160%; margin-bottom: 2rem; }

.page_subaru .entry-title { 
	background-color: var(--wp--preset--color--primary);
	border-radius: 3px;
	color: #fff;
	font-size: 22px;
	font-weight: normal;
	letter-spacing: 2px;
	padding: 0.6rem 1rem;
	margin-top: 0;
	margin-bottom: 1rem;
	}
.panel-primary > .panel-heading{
	background-color: #fff;
	border-color: var(--wp--preset--color--primary);
	padding: 0;
	}
	
.panel-body{ line-height: 180%;
    padding: 1rem 0 0 0;
    }
.panel-title {color: #1F1F2C; font-weight: bold; }
.panel {
    border: none;
    border-radius: 4px;
    box-shadow: none;
    margin-bottom: 1rem;
}
.docter .flexbox{ justify-content: flex-start; }
.docter .flexbox .right{ margin-left:2rem; width:65%; }

.yellow { color: #F8FF00; }
.subaru_concept{ letter-spacing: 2px; margin-top: 2rem; }
.firstvisit dd,.homehelthcare dd{ margin-left: 0; }

.medical-list{ list-style: none; padding:0; }
.medical-table { width: 650px; margin: 16px 0; border-collapse: collapse; }
.medical-table td { text-align: center; font-size: 16px; padding: 6px 0; width: 92px; border: solid 1px #000; }
.bg_cyan { background: #5fbcca; }
.pink { color: #eb9298; }

/* すばるの背景 */
.page-id-276 .content_block,
.page-id-281 .content_block,
.page-id-285 .content_block
 { background: url('images/bg_subaru.png') no-repeat #000; color: #fff; background-size: contain; }

.btn_houmon{ display: block; padding: 0.4rem 0; background: #fff; font-size: 16px; text-align: center;
 border-radius: 3px; margin: 0.8rem 0; font-weight: bold; text-decoration: none; }



 @media screen and (max-width: 1200px) {
  .content_sub_nav{ width: 100% !important; display: none; }
  .gmap{ display: none; }
  .gmap iframe{ width: 100%; }
  .content_block{ width: 100%; padding: 0 1.5rem 1.5rem 1.5rem; overflow: hidden; box-sizing: border-box;
   font-size: 16px; line-height: 180%; }
  .nav_helth,.breadcrumb{ display: none; }
  .box-child,.page_subaru .greeting_text,.page_subaru .greeting,.docter .flexbox .right,
  .medical-table
  { width: initial; }

  .page_houjuen section h1{ font-size: 20px; line-height: 160%; }
  .docter .flexbox .right{ margin: 0; }
  .page_houjuen .entry-title{ font-size: 20px; }
  .page_houjuen .greeting{ width: 100%; height: auto; display: flex; flex-wrap: wrap; font-size: 16px;
   line-height: 160%; margin:3rem 0 0 0; }
  #main_visual_page div h1{ color: #fff !important; padding: 0 1rem; }
  .hvr-border-fade-subaru a,.hvr-border-fade-subaru h1{ width: initial !important; margin:0 0 1rem 0 !important; }
  .greeting_photo{ width: 100%; text-align: center; padding-top:1rem; }
  .greeting_text{ text-align: justify; }
  .footer_telarea{ display: initial; }
  .fb_block,.content_block ul{ padding:0; }
  .docter_box{ flex-wrap: wrap; }
  .page_subaru .greeting_photo img{ position: relative; }

  #group_home .flexbox{ flex-wrap: wrap; }
  .volunteer img,.staff img,#gaiyou_intro div,#taisei div,#madoguchi1 table,#network img,
  #access iframe
  { width: 100%; }
  #gaiyou_intro,#taisei,#madoguchi1,.page_subaru .greeting
  { display: block; }
  .page_subaru .greeting{ height: initial; }
  #network{  }
  .content_block{ padding: 1.5rem; }
  .box_greeding_photo { float: none; margin-left: 2rem; }
  .ad{ display: block; }
}

.breadcrumb{display:none;}

menu_block .child_submenu li {
    padding-left: 2rem;
}
.main_visual_page div h1 a{
	color:#fff;
	text-decoration: none;
}